:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#fff;background:#222b41}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at top,#35405d 0,#222b41 60%)}main{max-width:1080px;margin:auto;padding:32px 18px 80px}h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.15;margin:10px 0}h2{margin:0 0 14px}p{line-height:1.65}.hero{text-align:center;padding:28px 12px 20px}.subtitle{max-width:760px;margin:18px auto;color:#e7e9f0}.tag{color:#f7d28b;letter-spacing:.12em;font-size:.8rem;font-weight:800}.panel{background:#ffffff12;border:1px solid #ffffff2a;border-radius:18px;padding:24px;margin:20px 0;box-shadow:0 8px 30px #0002}.row{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}.controls{display:flex;gap:12px;flex-wrap:wrap;align-items:center}button,input,select,textarea{font:inherit}button{border:0;border-radius:10px;background:#f2c76c;color:#222b41;font-weight:750;padding:12px 17px;cursor:pointer}button:hover{filter:brightness(1.08)}button:disabled{opacity:.45;cursor:not-allowed}button.secondary{background:#ffffff25;color:white}input,select,textarea{width:100%;padding:12px;border-radius:10px;border:1px solid #ffffff60;background:#182137;color:#fff}select{color-scheme:dark;font-size:1.05rem;cursor:pointer}option{background:#182137;color:#fff;padding:8px}option:checked,option:hover{background:#f2c76c;color:#222b41}textarea{min-height:125px;resize:vertical}label{display:block;font-weight:650;margin:12px 0 6px}.form{max-width:480px;margin:20px auto}.grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin-top:22px}.gift{position:relative;aspect-ratio:1;min-width:0;padding:0;border:0;border-radius:10px;background:var(--gift);color:white;overflow:hidden;box-shadow:0 8px 0 #0003,0 13px 17px #0002;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}.gift:before{content:'';position:absolute;left:41%;width:18%;height:100%;background:var(--ribbon)}.gift:after{content:'';position:absolute;top:36%;height:18%;width:100%;background:var(--ribbon)}.gift .num{position:relative;z-index:1;background:#fff8e9;color:#222b41;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;font-size:1.35rem;font-weight:900;box-shadow:0 2px 6px #0003}.gift .state{position:absolute;z-index:2;bottom:4px;left:3px;right:3px;font-size:.69rem;background:#182137db;border-radius:6px;padding:4px 2px;text-align:center}.gift.locked{filter:brightness(.55)}.gift.closed{--gift:#777d87!important;--ribbon:#b5b7bc!important;cursor:not-allowed}.gift.done{outline:4px solid #89e7b2}.gift:disabled{cursor:not-allowed}.progress{height:12px;border-radius:20px;background:#ffffff30;overflow:hidden}.progress span{display:block;background:#73d9a0;height:100%}.muted{color:#c7cbd6}.message{margin-top:14px;padding:12px;border-radius:8px;background:#2b664d}.error{background:#8d3443}.challenge{font-size:1.15rem;background:#ffffff12;padding:18px;border-radius:12px}.checkline{display:flex;gap:10px;align-items:center;font-weight:750}.checkline input{width:22px;height:22px;accent-color:#5edc9b}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:12px;border-bottom:1px solid #ffffff25}tr:hover{background:#ffffff0a}.tiny{font-size:.82rem}.pill{background:#ffffff25;border-radius:20px;padding:5px 10px}.adminnav{display:flex;gap:8px;flex-wrap:wrap}.hidden{display:none}a{color:#f8d38e}footer{text-align:center;color:#b8bdcb;font-size:.8rem;margin-top:40px}@media(max-width:700px){.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.gift .num{width:34px;height:34px;font-size:1.05rem}.panel{padding:16px}main{padding:16px 12px}.gift .state{font-size:.57rem}}
