*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:Be Vietnam Pro,system-ui,sans-serif}body[data-route=stage]{background:0 0;overflow:hidden}.sr-only{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.stage-viewport{width:100vw;height:100vh;position:relative;overflow:hidden}.stage{transform-origin:0 0;width:1920px;height:1080px;color:var(--text);font-family:var(--font);background-position:50%;background-size:cover;flex-direction:column;justify-content:space-between;gap:40px;padding:64px 96px;display:flex;position:absolute;top:0;left:0;overflow:hidden}.deco{border:2px solid var(--deco);pointer-events:none;border-radius:50%;position:absolute}.deco-1{width:900px;height:900px;top:-260px;right:-260px}.deco-2{width:620px;height:620px;top:-120px;right:-120px}.deco-bar{background:var(--accent);width:100%;height:12px;position:absolute;bottom:0;left:0}.stage-head{justify-content:space-between;align-items:center;display:flex;position:relative}.logo-slot{justify-content:flex-start;align-items:center;width:260px;height:80px;display:flex}.logo-slot span{letter-spacing:2px;background:#00000026;border:2px dashed #fff9;border-radius:12px;justify-content:center;align-items:center;width:100%;height:100%;font-size:18px;font-weight:600;display:flex}.logo-slot img{max-width:260px;max-height:80px}.stage-title{flex-direction:column;align-items:center;gap:4px;display:flex}.kicker{letter-spacing:6px;color:var(--highlight);font-size:22px;font-weight:600}.title{letter-spacing:2px;font-size:56px;font-weight:800}.head-right{justify-content:flex-end;width:260px;display:flex}.pill-accent{background:var(--accent);color:#fff;border-radius:999px;padding:12px 24px;font-size:20px;font-weight:700}.single{flex-direction:column;align-items:center;gap:24px;display:flex;position:relative}.prize-pill{background:var(--highlight);color:var(--card-text);border-radius:999px;padding:10px 40px;font-size:30px;font-weight:800}.result-box{background:var(--card);width:1180px;color:var(--card-text);border:6px solid var(--highlight);border-radius:32px;flex-direction:column;align-items:center;gap:20px;padding:36px 72px;display:flex}.result-box .label{letter-spacing:4px;color:var(--muted);font-size:24px;font-weight:600}.result-box .code{letter-spacing:8px;color:var(--accent);font-variant-numeric:tabular-nums;font-size:132px;font-weight:800;line-height:1}.result-box .rule{background:#00000014;width:100%;height:2px}.result-box .name{min-height:68px;font-size:56px;font-weight:700}.result-box .contact{color:var(--muted);gap:48px;min-height:40px;font-size:32px;font-weight:500;display:flex}.result-box.spinning .code,.result-box.spinning .name{filter:blur(1.5px);opacity:.85}.result-box.landed{animation:.5s ease-out pop}@keyframes pop{0%{transform:scale(.96)}60%{transform:scale(1.03)}to{transform:scale(1)}}.grid{flex-grow:1;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:1fr;gap:24px;display:grid;position:relative}.card{background:var(--card);color:var(--card-text);border:4px solid var(--highlight);border-radius:24px;flex-direction:column;gap:10px;padding:24px;display:flex}.card.empty{opacity:.55}.card.empty .card-name{color:var(--muted);font-size:22px;font-weight:600}.card.spinning .card-code{filter:blur(1.5px)}.card.landed{animation:.45s ease-out pop}.card-prize{background:var(--bg);color:var(--highlight);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;align-self:flex-start;max-width:100%;padding:6px 16px;font-size:18px;font-weight:700;overflow:hidden}.card-code{letter-spacing:1px;color:var(--accent);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:46px;font-weight:800;line-height:1.05}.card-name{font-size:28px;font-weight:700;line-height:1.2}.card-phone{color:var(--muted);font-size:20px;font-weight:500}.stage-draw{flex-direction:column;align-items:center;gap:8px;display:flex;position:relative}.draw-btn{border:4px solid var(--highlight);background:var(--accent);color:#fff;min-width:420px;height:88px;font:inherit;letter-spacing:4px;cursor:pointer;border-radius:999px;padding:0 56px;font-size:38px;font-weight:800;transition:transform 80ms,box-shadow 80ms;box-shadow:0 10px #00000040}.draw-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px #00000040}.draw-btn:active:not(:disabled){transform:translateY(6px);box-shadow:0 4px #00000040}.draw-btn:focus-visible{outline-offset:4px;outline:4px solid #fff}.draw-btn:disabled{cursor:default;opacity:.6;box-shadow:none}.draw-btn.busy{opacity:1;animation:.8s ease-in-out infinite pulse}@keyframes pulse{50%{transform:scale(1.04)}}.stage-error{background:#0006;border-radius:8px;padding:4px 14px;font-size:20px}.rail{grid-template-columns:repeat(10,1fr);gap:12px;width:1600px;margin:0;padding:0;list-style:none;display:grid}.chip{border:3px solid var(--highlight);background:#0000002e;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:2px;height:72px;display:flex}.chip-n{letter-spacing:1px;color:var(--highlight);font-size:15px;font-weight:600}.chip-code{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:20px;font-weight:800}.chip.next{background:var(--highlight);color:var(--card-text)}.chip.next .chip-n{color:var(--card-text)}.chip.won{background:var(--card);color:var(--accent);animation:.45s ease-out pop}.chip.won .chip-n{color:var(--muted)}.stage-foot{opacity:.85;justify-content:space-between;font-size:20px;display:flex;position:relative}.host{color:#fff;background:#0f172a;min-height:100%;padding:32px}.host h1{margin:0 0 24px;font-size:36px}.host ol{flex-direction:column;gap:16px;margin:0;padding:0;list-style:none;display:flex}.host li{border-bottom:1px solid #334155;grid-template-columns:220px 220px 1fr;align-items:baseline;gap:16px;padding:16px 0;font-size:32px;display:grid}.host-prize{color:#fde68a;font-size:22px}.host-code{color:#fca5a5;font-weight:800}.host-name{font-weight:700}.host-empty{color:#94a3b8;font-size:24px}.admin{color:#111827;background:#f4f5f7;flex-direction:column;min-height:100%;font-size:14px;display:flex}.admin-head{color:#fff;background:#111827;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;min-height:64px;padding:8px 24px;display:flex}.admin-head .dim{color:#9ca3af}.admin-head select{color:#fff;height:36px;font:inherit;background:#1f2937;border:1px solid #374151;border-radius:8px;padding:0 12px}.btn-dark{color:#fff;background:#1f2937;border:1px solid #374151;border-radius:8px;align-items:center;height:36px;padding:0 14px;text-decoration:none;display:inline-flex}.saved{color:#d1fae5;background:#065f46;border-radius:999px;padding:6px 12px;font-weight:600}.error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin:12px 24px 0;padding:12px 16px}.admin-body{flex-wrap:wrap;flex-grow:1;gap:20px;padding:20px 24px;display:flex}.col-left{flex-direction:column;flex:340px;gap:20px;max-width:420px;display:flex}.col-mid{flex-direction:column;flex:999 480px;gap:20px;min-width:0;display:flex}.col-right{flex-direction:column;flex:340px;gap:12px;max-width:420px;display:flex}.panel{background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;gap:12px;padding:20px;display:flex}.panel h2{margin:0;font-size:16px}.grow{flex-grow:1}.row{align-items:center;gap:10px;display:flex}.row.between{justify-content:space-between}.row.wrap{flex-wrap:wrap}.dim{color:#4b5563}.strong{font-weight:600}.note{color:#4b5563;margin:0;font-size:12px}.warn{color:#92400e;font-size:12px}.drop{color:#4b5563;border:2px dashed #d1d5db;border-radius:10px;flex-direction:column;gap:10px;padding:14px;display:flex}textarea,.prizes input{width:100%;font:inherit;border:1px solid #d1d5db;border-radius:8px;padding:8px}.stats{text-align:center;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.stats div{background:#f9fafb;border-radius:8px;flex-direction:column;padding:8px;display:flex}.stats b{font-size:20px}.stats span{color:#4b5563;font-size:12px}.report{flex-direction:column;gap:10px;display:flex}.btn{min-height:44px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:0 16px;font-weight:600}.btn.small{align-self:flex-end;min-height:32px;font-size:12px}.btn.danger{color:#b91c1c;border-color:#fca5a5}.btn:disabled,.draw:disabled{opacity:.5;cursor:not-allowed}.link{color:#b91c1c;cursor:pointer;font:inherit;background:0 0;border:0;min-height:32px}.link.sample{color:#1d4ed8;text-align:left;padding:0;text-decoration:underline}.prizes{border-collapse:collapse;width:100%}.prizes th{text-align:left;color:#4b5563;padding:4px;font-size:12px}.prizes td{padding:4px}.prizes td:nth-child(2),.prizes td:nth-child(3){width:72px}.seg{border:1px solid #d1d5db;border-radius:8px;display:flex;overflow:hidden}.seg button{min-height:40px;font:inherit;cursor:pointer;background:#fff;border:0;padding:0 14px}.seg button+button{border-left:1px solid #d1d5db}.seg button[aria-pressed=true]{color:#fff;background:#111827;font-weight:600}.draw-buttons{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;display:grid}.draw{color:#fff;height:132px;font:inherit;cursor:pointer;border:0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.draw span{font-size:28px;font-weight:700}.draw small{opacity:.9;font-size:14px}.draw-one{background:#e3262e}.draw-all{background:#0b2f7a}.winners{flex-direction:column;flex-grow:1;gap:10px;max-height:60vh;display:flex;overflow:auto}.winner{border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;gap:4px;padding:12px;font-size:13px;display:flex}.winner .code{color:#b91c1c;font-size:15px}.winner.invalid{opacity:.6;text-decoration:line-through}.home{max-width:640px;margin:64px auto;padding:0 24px;font-size:18px}
