:root{color-scheme:dark;--bg:#111116;--muted:#9e9da9;--text:#f7f6fa;--accent:#ffcf42;--pink:#ff557f;--line:#303039}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% -12%,#393040 0,transparent 48%),var(--bg);color:var(--text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.shell{width:min(100%,560px);margin:0 auto;padding:calc(25px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom));min-height:100vh}.brand{font-size:11px;font-weight:800;letter-spacing:.16em;color:#c3c0cd;display:flex;align-items:center;gap:9px;margin:0 0 54px}.brand-mark{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:var(--accent);color:#17151b;font-size:18px;letter-spacing:0}.screen{animation:appear .25s ease both}.hidden{display:none!important}.eyebrow{font-size:10px;letter-spacing:.2em;color:var(--accent);font-weight:800;margin:0 0 13px}h1{font-size:clamp(42px,12vw,62px);line-height:.98;letter-spacing:-.065em;margin:0 0 20px;font-weight:800}.intro{color:#c3c0ca;font-size:15px;line-height:1.65;margin:0 0 29px;max-width:440px}.card{background:linear-gradient(145deg,#222229,#19191f);border:1px solid var(--line);border-radius:22px;box-shadow:0 18px 45px #0003}.form-card{padding:23px;display:flex;flex-direction:column;gap:11px}.form-card label{font-weight:700;font-size:13px;margin-top:3px}.form-card input:not([type=file]){width:100%;height:52px;border:1px solid #383842;border-radius:13px;background:#121217;color:white;padding:0 15px;font:inherit;font-size:15px;outline:none}.form-card input:focus{border-color:var(--accent)}input[type=file]{width:100%;font:inherit;font-size:12px;color:var(--muted);border:1px dashed #4a4853;border-radius:13px;padding:13px;background:#121217}input[type=file]::file-selector-button{border:0;border-radius:8px;background:#33313b;color:#fff;padding:9px 12px;font:inherit;font-weight:700;margin-right:12px}.photo-label{margin-top:7px!important}.privacy,.footer-note{color:var(--muted);font-size:11px;line-height:1.55}.privacy{margin:2px 0 6px}.button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:54px;border:0;border-radius:14px;padding:0 18px;font:inherit;font-weight:800;font-size:14px;cursor:pointer;transition:transform .15s,opacity .15s}.button:active{transform:scale(.98)}.button:disabled{opacity:.55;cursor:wait}.button span{font-size:19px}.primary{background:var(--accent);color:#1b1913}.secondary{background:#2a2932;color:#fff}.error{color:#ff768e;font-size:12px;min-height:16px;margin:0}.footer-note{text-align:center;margin:18px 0 0}.preview-wrap{width:90px;height:90px;border-radius:18px;overflow:hidden;border:1px solid #45434e}.preview-wrap img{width:100%;height:100%;object-fit:cover}.pulse{font-size:10px;font-weight:800;letter-spacing:.14em;color:#c4ff9e}.pulse:before{content:'';display:inline-block;width:7px;height:7px;background:#9af06c;border-radius:50%;margin-right:8px;box-shadow:0 0 12px #9af06c}.waiting-card{padding:25px;margin-top:28px}.waiting-card h2{font-size:21px;letter-spacing:-.04em;margin:16px 0 8px}.waiting-card>p{font-size:13px;color:var(--muted);line-height:1.6;margin:0 0 25px}.loader{height:4px;width:100%;border-radius:4px;background:linear-gradient(90deg,var(--accent) 35%,#383741 35%);background-size:220% 100%;animation:loading 1.5s linear infinite}.count-line{border-top:1px solid var(--line);padding-top:17px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}.count-line strong{font-size:18px;color:white}.count-line small{font-size:12px;color:var(--muted);font-weight:500}.mission-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.round{font-size:12px;color:var(--muted);font-weight:700}.mission-card{overflow:hidden}.target-photo{height:min(74vw,365px);position:relative;background:#292831}.target-photo img{width:100%;height:100%;object-fit:cover}.target-tag{position:absolute;bottom:13px;left:13px;background:#111d;color:white;padding:9px 12px;border-radius:9px;font-size:9px;letter-spacing:.14em;font-weight:800;backdrop-filter:blur(12px)}.mission-copy{padding:22px 22px 12px}.mission-copy h2{font-size:26px;line-height:1.18;letter-spacing:-.05em;margin:0 0 14px}.target-name{margin:0;color:var(--muted);font-size:12px}.target-name strong{color:#fff}.mission-card>.button{width:calc(100% - 44px);margin:10px 22px 22px}.admin-shell .brand{margin-bottom:60px}.dash-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:23px}.dash-head h1{font-size:40px;margin-bottom:0}.count-bubble{flex:none;width:68px;height:68px;border-radius:20px;background:#24232b;display:flex;flex-direction:column;align-items:center;justify-content:center}.count-bubble strong{font-size:19px;line-height:1}.count-bubble span{font-size:9px;color:var(--muted);margin-top:4px}.roster{max-height:45vh;overflow:auto;padding:7px 15px}.roster-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.roster-row:last-child{border:0}.roster-row img{width:42px;height:42px;border-radius:12px;object-fit:cover;background:#333}.roster-row span{font-size:13px;font-weight:700;flex:1}.roster-row small{color:var(--muted);font-size:10px}.empty-roster{padding:30px 8px;text-align:center;color:var(--muted);font-size:13px}.join-card{padding:17px;display:grid;grid-template-columns:1fr 112px;gap:14px;align-items:center;margin-bottom:14px}.join-card .eyebrow{margin-bottom:6px}.guest-url{font-size:11px;line-height:1.4;color:#ddd;overflow-wrap:anywhere;margin:0}.qr-box{grid-column:2;grid-row:1 / span 2;width:112px;height:112px;padding:7px;background:#fff;border-radius:11px;display:grid;place-items:center}.qr-box img,.qr-box canvas{max-width:100%;max-height:100%}.qr-box:empty:after{content:'QR';color:#555;font-size:15px;font-weight:800}.join-card .button{grid-column:1;grid-row:2;min-height:38px;font-size:11px;justify-content:center;padding:0 10px}.admin-actions{display:grid;gap:10px;margin-top:17px}.admin-actions .secondary{justify-content:center;font-size:12px;min-height:44px}.admin-actions .primary{min-height:58px}.admin-actions .primary span{margin-left:auto}.dashboard-running{color:var(--pink)}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes loading{to{background-position:-220% 0}}@media(min-width:600px){.shell{padding-top:40px}.brand{margin-bottom:62px}.target-photo{height:350px}}
.join-card #copyUrl{grid-row:2}.join-card a.button{grid-row:3;text-decoration:none}
