:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-deep:#10131a;--ink:#eef2f7;--muted:#8b95a5;--line:#eef2f71f;--accent:#3dd6c6;--accent-2:#5b8cff;--ok:#7dcea0;--err:#ff8a7a;--panel:#161b24e0;--display:"Sora", "Source Han Sans SC", "Noto Sans SC", sans-serif;--body:"Sora", "Source Han Sans SC", "Noto Sans SC", sans-serif;font-family:var(--body);color:var(--ink);background:var(--bg-deep);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-weight:400;line-height:1.5}*{box-sizing:border-box}body{background:radial-gradient(800px 420px at 15% -5%,#5b8cff2e,#0000 55%),radial-gradient(700px 420px at 90% 0,#3dd6c61f,#0000 50%),linear-gradient(#121722 0%,#0d1017 100%);min-height:100vh;margin:0}button,input{font:inherit}.stage{flex-direction:column;width:min(1180px,100% - 2rem);min-height:100vh;margin:0 auto;padding:2rem 0 3.5rem;display:flex;position:relative}.stage-glow{pointer-events:none;filter:blur(12px);background:radial-gradient(#5b8cff1f,#0000 70%);height:28vh;position:fixed;inset:-10% 20% auto}.stage-grid{display:none}.topbar{flex-shrink:0;margin-bottom:1.25rem;animation:.55s both rise;position:relative}.topbar-main{align-items:center;gap:.85rem;display:flex}.zion-logo{border-radius:12px;flex-shrink:0;width:44px;height:44px;box-shadow:0 6px 18px #00000047}.brand-lockup{flex-direction:column;gap:.15rem;min-width:0;display:flex}.brand-mark{letter-spacing:.08em;color:var(--accent);margin:0;font-size:.82rem;font-weight:600}.brand-title{font-family:var(--display);letter-spacing:-.03em;color:var(--ink);margin:0;font-size:clamp(2rem,5vw,2.8rem);font-weight:700;line-height:1.05}.brand-sub{max-width:32rem;color:var(--muted);margin:.55rem 0 0;font-size:.98rem}.topbar-copy{gap:.35rem;min-width:0;display:grid}.topbar-copy .brand-sub{margin:0}.zion-credit{color:var(--muted);letter-spacing:.01em;margin:0;font-size:.84rem;line-height:1.45}.zion-credit span{color:var(--accent);font-weight:600}.zion-credit--footer{text-align:center;margin-top:.85rem}.submit-card .zion-credit{margin:-.1rem 0 .15rem}.topbar-row{justify-content:space-between;align-items:flex-start;gap:1rem;margin-top:.55rem;display:flex}.topbar-row .brand-sub{margin:0}.admin-entry{color:var(--muted);border:1px solid var(--line);border-radius:999px;flex-shrink:0;padding:.35rem .75rem;font-size:.88rem;text-decoration:none}.admin-entry:hover{color:var(--ink);border-color:#3dd6c673}.auth-chip{color:var(--muted);flex-shrink:0;align-items:center;gap:.55rem;font-size:.88rem;display:flex}.ghost-link{appearance:none;color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;padding:0}.ghost-link:hover{color:var(--ink)}.auth-switch{appearance:none;color:var(--accent);cursor:pointer;font:inherit;background:0 0;border:0;margin-top:.35rem;padding:0}.admin-page{width:min(560px,100% - 2rem);min-height:100vh;margin:0 auto;padding:1.25rem 0 3rem}.admin-top{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.admin-top h1{letter-spacing:-.03em;margin:.2rem 0 0;font-size:1.7rem}.admin-meta{color:var(--muted);margin:.35rem 0 0;font-size:.88rem}.admin-top .ghost{appearance:none;border:1px solid var(--line);color:var(--ink);cursor:pointer;background:0 0;border-radius:999px;padding:.45rem .85rem}.admin-list{gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.admin-item{border:1px solid var(--line);background:var(--panel);border-radius:16px;padding:1rem}.admin-actions{grid-template-columns:1fr .7fr;gap:.55rem;margin-top:.85rem;display:grid}.admin-actions .draw-btn{width:100%;min-width:0;padding:.7rem .8rem;font-size:.92rem}.admin-actions .danger{appearance:none;color:var(--err);cursor:pointer;background:0 0;border:1px solid #ff8a7a73;border-radius:12px;font-weight:600}.admin-home{margin-top:1.25rem;display:inline-block}.layout{flex:1;grid-template-columns:minmax(280px,.9fr) minmax(0,1.25fr);align-items:stretch;gap:1.25rem;min-height:0;animation:.65s both rise;display:grid;position:relative}.hero-draw{border:1px solid var(--line);background:linear-gradient(#ffffff09,#ffffff03);border-radius:22px;align-content:start;justify-items:stretch;gap:1rem;height:calc(100vh - 9.5rem);min-height:0;max-height:calc(100vh - 9.5rem);margin:0;padding:1.5rem 1.25rem;display:grid;position:relative;overflow:auto}.hero-draw .draw-btn,.hero-draw .guest-hint{justify-self:center}.hero-draw>.qr-card{justify-self:center;width:min(100%,280px);max-width:280px}.hero-draw--guest{align-content:center;justify-items:center}.hero-draw--guest>.spotlight{width:min(100%,420px)}.hero-draw--guest>.qr-card{width:min(100%,280px)}.hero-admin-tools{grid-template-columns:minmax(0,1.2fr) minmax(140px,.8fr);align-items:stretch;gap:.85rem;width:100%;display:grid}.hero-admin-tools .hero-form{min-width:0}.hero-admin-tools .qr-card{flex-direction:column;justify-content:center;margin-top:0;padding:.85rem .75rem;display:flex}.hero-admin-tools .qr-image{width:120px;height:120px;margin:0 auto}.hero-admin-tools .qr-url{font-size:.68rem}.hero-form{border:1px solid var(--line);background:#00000024;border-radius:16px;width:100%;margin:0;padding:1rem 1.05rem 1.1rem}.hero-form-title{color:var(--ink);margin:0 0 .15rem;font-size:.95rem;font-weight:600}.hero-form .form-actions{margin-top:.15rem}.hero-form .form-actions button{flex:1}.spotlight{border:1px solid var(--line);text-align:center;background:#0000001f;border-radius:18px;width:100%;min-height:200px;padding:1.6rem 1.35rem;transition:border-color .3s,background .3s}.spotlight.is-spinning{background:linear-gradient(#3dd6c614,#ffffff05);border-color:#3dd6c666}.spotlight.is-revealed{background:linear-gradient(#5b8cff1a,#ffffff05);border-color:#5b8cff73}.spotlight-label{letter-spacing:.06em;color:var(--accent);margin:0 0 .6rem;font-size:.8rem;font-weight:600}.spotlight-text{font-family:var(--display);letter-spacing:-.02em;place-items:center;min-height:2.6em;margin:0;font-size:clamp(1.35rem,2.8vw,2rem);font-weight:600;line-height:1.3;display:grid}.spotlight-text.slam{animation:.45s cubic-bezier(.2,1.2,.3,1) both slam}.spotlight-meta{color:var(--muted);margin:.75rem 0 0;font-size:.92rem}.draw-btn{appearance:none;cursor:pointer;color:#07131a;letter-spacing:.02em;background:linear-gradient(135deg, var(--accent), #2bb8c4 55%, var(--accent-2));border:0;border-radius:12px;min-width:200px;padding:.9rem 1.4rem;font-weight:700;transition:transform .16s,filter .16s,opacity .16s;box-shadow:0 10px 28px #3dd6c638}.draw-btn:hover:not(:disabled){filter:brightness(1.04);transform:translateY(-1px)}.draw-btn:active:not(:disabled){transform:translateY(0)}.draw-btn:disabled{opacity:.65;cursor:wait}.qr-card{border:1px dashed var(--line);text-align:center;background:#0000001f;border-radius:16px;width:100%;margin-top:.35rem;padding:1rem}.qr-label{color:var(--accent);margin:0 0 .7rem;font-size:.85rem;font-weight:600}.qr-zoom-btn{appearance:none;cursor:zoom-in;color:inherit;background:0 0;border:0;justify-items:center;gap:.4rem;padding:0;display:grid}.qr-zoom-btn:focus-visible{outline-offset:4px;border-radius:12px;outline:2px solid #3dd6c68c}.qr-zoom-hint{color:var(--muted);font-size:.72rem}.qr-image{background:#fff;border-radius:12px;width:148px;height:148px;padding:8px;transition:transform .16s}.qr-zoom-btn:hover .qr-image{transform:scale(1.03)}.qr-url{color:var(--muted);word-break:break-all;margin:.65rem 0 0;font-size:.75rem}.qr-hint{color:#f0c674;margin:.45rem 0 0;font-size:.78rem;line-height:1.4}.qr-lightbox{z-index:80;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#040a10c7;place-items:center;padding:1.25rem;animation:.18s both rise;display:grid;position:fixed;inset:0}.qr-lightbox-panel{border:1px solid var(--line);background:#0c161ef5;border-radius:20px;justify-items:center;gap:.85rem;max-width:min(92vw,420px);padding:1.25rem 1.15rem 1.1rem;animation:.22s both rise;display:grid;box-shadow:0 24px 60px #00000073}.qr-lightbox-image{aspect-ratio:1;background:#fff;border-radius:16px;width:min(70vw,360px);height:auto;padding:14px}.qr-lightbox-url{color:var(--muted);word-break:break-all;text-align:center;margin:0;font-size:.8rem}.qr-lightbox-close{appearance:none;border:1px solid var(--line);cursor:pointer;color:var(--ink);background:0 0;border-radius:12px;padding:.55rem 1.15rem;font-weight:600}.qr-lightbox-close:hover{border-color:#3dd6c673}.submit-page{place-items:center;min-height:100vh;padding:1.5rem;display:grid}.submit-card{border:1px solid var(--line);background:var(--panel);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:22px;justify-items:start;gap:.7rem;width:min(560px,100%);padding:1.75rem 1.5rem 1.85rem;animation:.45s both rise;display:grid}.submit-card .pool-form{gap:1rem;width:100%;margin-bottom:.35rem}.submit-card .pool-form label{gap:.5rem}.submit-card .pool-form span{letter-spacing:.02em;font-size:.92rem}.submit-card .pool-form textarea{border-radius:14px;min-height:9.5rem;padding:1rem 1.05rem;font-size:1.05rem;line-height:1.55}.submit-card .pool-form input{border-radius:14px;min-height:3.15rem;padding:.95rem 1.05rem;font-size:1.05rem}.submit-card .zion-logo{margin-bottom:.2rem}.submit-card h1{letter-spacing:-.03em;margin:0;font-size:1.7rem}.submit-lede{color:var(--muted);margin:0 0 .4rem}.submit-card.success{text-align:center;justify-items:center}.submit-card.success p{color:var(--muted);margin:0 0 .8rem}.submit-btn{width:100%;margin-top:.25rem}.submit-back{color:var(--muted);margin-top:.4rem;font-size:.9rem;text-decoration:none}.submit-back:hover{color:var(--ink)}.pool-form textarea{border:1px solid var(--line);width:100%;color:var(--ink);resize:vertical;min-height:5.5rem;font:inherit;background:#ffffff08;border-radius:12px;outline:none;padding:.85rem .95rem;font-size:1rem;line-height:1.5}.pool-form textarea:focus{border-color:#3dd6c680;box-shadow:0 0 0 3px #3dd6c61f}.pool{border:1px solid var(--line);background:var(--panel);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:22px;flex-direction:column;height:calc(100vh - 9.5rem);min-height:0;max-height:calc(100vh - 9.5rem);padding:1.15rem 1.1rem 1.2rem;display:flex;position:relative}.pool--guest .pool-head{margin-bottom:.75rem}.guest-hint{color:var(--muted);text-align:center;margin:0;font-size:.92rem;line-height:1.45}.pool-head{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.pool-head-left{flex-wrap:wrap;align-items:baseline;gap:.75rem;display:flex}.pool-head h2{font-family:var(--display);letter-spacing:-.02em;margin:0;font-size:1.35rem;font-weight:700}.pool-head span{color:var(--muted);font-size:.9rem}.pool-head .clear-all{appearance:none;cursor:pointer;color:var(--err);background:0 0;border:1px solid #ff8a7a73;border-radius:999px;padding:.45rem .9rem;font-size:.88rem;font-weight:600}.pool-head .clear-all:disabled{opacity:.4;cursor:not-allowed}.pool-form{flex-shrink:0;gap:.85rem;margin-bottom:.9rem;display:grid}.pool-form label{gap:.45rem;display:grid}.pool-form span{color:var(--muted);letter-spacing:.03em;font-size:.86rem}.pool-form input{border:1px solid var(--line);width:100%;min-height:2.85rem;color:var(--ink);background:#ffffff08;border-radius:12px;outline:none;padding:.85rem .95rem;font-size:1rem}.pool-form input:focus{border-color:#3dd6c680;box-shadow:0 0 0 3px #3dd6c61f}.form-actions{flex-wrap:wrap;gap:.6rem;display:flex}.form-actions button,.pool-actions button,.modal .form-actions button{appearance:none;cursor:pointer;background:linear-gradient(135deg, var(--accent), var(--accent-2));color:#07131a;border:1px solid #0000;border-radius:12px;padding:.55rem 1rem;font-weight:600}.form-actions .ghost,.pool-actions .ghost,.modal .ghost{border-color:var(--line);color:var(--ink);background:0 0}.form-actions .danger,.pool-actions .danger,.modal .danger{color:var(--err);background:0 0;border-color:#ff8a7a73}.state{color:var(--muted);margin:.5rem 0 1rem}.state.err{color:var(--err)}.state.empty{border:1px dashed var(--line);text-align:center;border-radius:14px;padding:1rem}.pool-list{gap:.65rem;margin:0;padding:0;list-style:none;display:grid}.pool-list--static{flex:1;align-content:start;min-height:0;padding-right:.15rem;overflow-y:auto}.pool-marquee{flex:1;min-height:0;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#0000 0%,#000 10% 90%,#0000 100%);mask-image:linear-gradient(#0000 0%,#000 10% 90%,#0000 100%)}.pool-marquee-track{will-change:transform;flex-direction:column;gap:.65rem;animation-name:pool-marquee-y;animation-timing-function:linear;animation-iteration-count:infinite;display:flex}.pool-marquee:hover .pool-marquee-track,.pool-marquee:focus-within .pool-marquee-track{animation-play-state:paused}.pool-list--marquee{flex-shrink:0}@keyframes pool-marquee-y{0%{transform:translateY(0)}to{transform:translateY(calc(-50% - .325rem))}}@media (prefers-reduced-motion:reduce){.pool-marquee-track{animation:none}.pool-marquee{overflow-y:auto;-webkit-mask-image:none;mask-image:none}}.pool-item{border:1px solid var(--line);background:#ffffff05;border-radius:16px;justify-content:space-between;align-items:flex-start;gap:.85rem;padding:.9rem 1rem;display:flex}.pool-item.enter{animation:.45s both card-in}.pool-item.status-drawn{background:#3dd6c60f;border-color:#3dd6c647}.pool-content{margin:0 0 .4rem;font-size:1.02rem}.pool-meta{color:var(--muted);flex-wrap:wrap;gap:.55rem;margin:0;font-size:.85rem;display:flex}.tag{border:1px solid var(--line);border-radius:999px;align-items:center;padding:.1rem .45rem;display:inline-flex}.tag.pending{color:#c9d4ff;border-color:#aabeff59}.tag.drawn{color:var(--accent);border-color:#3dd6c666}.pool-actions{flex-shrink:0;gap:.4rem;display:flex}.pool-actions button{padding:.4rem .75rem;font-size:.85rem}.modal-backdrop{z-index:40;background:#040508b8;place-items:center;padding:1rem;animation:.2s both fade;display:grid;position:fixed;inset:0}.modal{border:1px solid var(--line);background:#151821;border-radius:18px;width:min(420px,100%);padding:1.25rem;box-shadow:0 24px 80px #00000073}.modal h3{font-family:var(--display);letter-spacing:-.02em;margin:0 0 .4rem;font-size:1.25rem;font-weight:700}.modal p{color:var(--muted);margin:0 0 1rem}.toast{z-index:50;border:1px solid var(--line);background:#171a24;border-radius:999px;padding:.7rem 1.1rem;animation:.28s both toast-in;position:fixed;bottom:1.4rem;left:50%;transform:translate(-50%);box-shadow:0 12px 40px #00000059}.toast.ok{color:var(--ok);border-color:#7dcea073}.toast.err{color:var(--err);border-color:#ff8a7a73}@keyframes rise{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@keyframes card-in{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes slam{0%{opacity:.35;transform:scale(1.06)}to{opacity:1;transform:scale(1)}}@keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%)}}@media (width<=900px){.layout{grid-template-columns:1fr}.hero-draw{align-content:start;height:auto;min-height:0;max-height:none}.hero-admin-tools{grid-template-columns:1fr}.pool{height:min(60vh,520px);max-height:min(60vh,520px)}}@media (width<=640px){.stage{padding-top:1.5rem}.pool-item{flex-direction:column}.pool-actions{width:100%}.pool-actions button{flex:1}}
