:root{color-scheme:dark;--bg:#0b0e20;--panel:#15192e;--line:#30344f;--text:#f5f3ff;--muted:#a7adc8;--violet:#b29aff}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 95% 0,#39226455,transparent 42%),var(--bg);color:var(--text);font-family:Pretendard,'Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif;min-height:100dvh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}button:focus-visible,a:focus-visible{outline:3px solid #d7c6ff;outline-offset:5px}button{touch-action:manipulation}.masthead{height:88px;max-width:1120px;margin:auto;padding:0 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff12}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)}.brand strong{font-size:34px;letter-spacing:-2px;font-weight:900}.brand>span{font-size:12px;font-weight:700;padding:5px 12px;background:linear-gradient(100deg,#343dab,#6740a9);border:1px solid #ab8ee1;border-radius:18px;box-shadow:inset 0 1px 5px #ffffff33}.live{font-size:10px;letter-spacing:2px;color:#c1addf;display:flex;gap:7px;align-items:center}.live i{width:5px;height:5px;border-radius:50%;background:#da97d7;box-shadow:0 0 10px #da97d7}
main{max-width:960px;margin:auto;padding:0 32px}.intro{padding:60px 0 38px;position:relative}.eyebrow{font-size:12px;letter-spacing:.16em;color:#bea2f5;margin:0 0 18px;font-weight:600}h1{font-size:clamp(30px,5vw,50px);line-height:1.28;letter-spacing:-.055em;margin:0;font-weight:800}h1 span{color:#bfa6ff}.lead{font-size:16px;line-height:1.8;color:var(--muted);margin:22px 0 26px}.event-line{display:flex;align-items:center;gap:12px;font-size:12px;color:#a7adc8}.team-total{border-left:1px solid #56526c;padding-left:12px;color:#eee7ff}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.section-head h2{font-size:18px;letter-spacing:-.02em;margin:0}.section-head>span{font-size:12px;color:var(--muted)}.teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.team{position:relative;border:1px solid var(--line);border-radius:16px;background:linear-gradient(120deg,#181c34,#12172a);display:flex;align-items:center;gap:14px;padding:19px;min-width:0;transition:border-color .2s,background .2s}.team.supported{background:linear-gradient(120deg,#282041,#18192f);border-color:#706091}.monogram{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;border:1px solid #726098;border-radius:50%;background:linear-gradient(135deg,#6c5390,#222841);color:#f4eaff;font-size:20px;font-weight:700}.team-info{min-width:0;flex:1}.team h3{font-size:16px;line-height:1.35;margin:0 0 7px;overflow-wrap:anywhere;letter-spacing:-.02em}.count{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.count b{color:#d7c8ff;font-weight:600}.cheer-button{flex-shrink:0;min-width:78px;min-height:54px;display:flex;align-items:center;justify-content:center;gap:6px;flex-direction:column;border:1px solid #8063b2;background:#392a58;color:#f0e7ff;border-radius:11px;cursor:pointer;font-size:11px;font-weight:700;transition:transform .15s,background .2s}.cheer-button .heart{font-size:20px;line-height:1}.cheer-button:hover:not(:disabled){background:#573d7f;transform:translateY(-2px)}.cheer-button:active:not(:disabled){transform:scale(.96)}.cheer-button:disabled{cursor:default}.supported .cheer-button{background:#2a2340;border-color:#615077;color:#cdb1ff}.team.celebrate .heart{animation:pop .6s ease-out}@keyframes pop{0%,100%{transform:scale(1)}40%{transform:scale(1.6)}65%{transform:scale(.9)}}
.note{display:flex;align-items:center;gap:12px;margin:32px 0 48px;color:var(--muted);font-size:12px;line-height:1.8}.note>span{font-size:30px;color:#9986b8}.note p{margin:0}footer{border-top:1px solid #ffffff10;max-width:1120px;margin:auto;padding:24px 32px 32px;display:flex;justify-content:space-between;gap:12px;color:#767e9b;font-size:10px;line-height:1.7}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;max-width:calc(100vw - 32px);width:max-content;padding:14px 22px;background:#e8ddff;color:#2a183f;font-size:14px;font-weight:700;border-radius:14px;box-shadow:0 10px 50px #0008;transition:opacity .2s,transform .2s;z-index:5}.toast.show{opacity:1;transform:translate(-50%,0)}#status{color:var(--muted);font-size:14px;line-height:1.7;margin:16px 0}#status:empty{display:none}#retry{margin-bottom:20px;padding:12px 20px;border:1px solid #9a80bb;border-radius:10px;background:#392a58;color:#fff;cursor:pointer}.preview{font-size:12px;background:#39263e;color:#e4bedb;padding:10px 14px;border-radius:8px;margin:0 0 16px}[hidden]{display:none!important}
@media(max-width:600px){.masthead{height:74px;padding:0 22px}.brand strong{font-size:29px}.brand>span{font-size:10px;padding:5px 10px}main{padding:0 22px}.intro{padding:36px 0 30px}h1{font-size:31px}.lead{font-size:14px;margin:18px 0 23px}.teams{grid-template-columns:1fr;gap:10px}.team{padding:16px;gap:12px}.team h3{font-size:16px}.monogram{width:42px;height:42px}.cheer-button{min-width:76px}.note{font-size:11px;margin-bottom:30px}footer{padding:20px 22px 26px;flex-direction:column;gap:4px}.toast{bottom:20px;font-size:13px}.event-line{font-size:11px}.section-head h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.write-message{display:block;margin:9px 0 0;border:0;background:none;color:#d5baff;font-size:12px;padding:4px 0;cursor:pointer;text-align:left}.write-message:hover{color:white}dialog{color:#f4efff;background:#171a30;border:1px solid #78658f;border-radius:22px;width:min(480px,calc(100vw - 32px));max-height:90dvh;padding:28px;box-shadow:0 24px 100px #0009}dialog::backdrop{background:#070815bb;backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.dialog-head .eyebrow{margin:0}.dialog-head button{border:0;background:none;color:#b9aec9;font-size:28px;cursor:pointer;padding:0 5px}dialog h2{font-size:26px;letter-spacing:-.04em;margin:12px 0 26px;overflow-wrap:anywhere}dialog label{display:block;font-size:13px;color:#c8c2d9;margin:18px 0 10px}dialog label small{color:#8c899f;margin-left:6px;font-size:11px}dialog input,dialog textarea{width:100%;border:1px solid #5e5172;border-radius:10px;background:#101426;color:white;font:inherit;font-size:15px;padding:13px;line-height:1.6}dialog textarea{resize:vertical;min-height:120px}dialog input:focus,dialog textarea:focus{outline:2px solid #ab89dd;outline-offset:2px}.message-hint{display:flex;justify-content:space-between;color:#9a96ae;font-size:11px;margin-top:8px}#message-error{color:#ffa8bd;font-size:13px;line-height:1.5}.send-message{width:100%;border:1px solid #b091e2;border-radius:11px;background:linear-gradient(120deg,#69509b,#57387d);color:white;min-height:48px;font-size:15px;font-weight:700;cursor:pointer}.send-message:disabled{opacity:.5;cursor:wait}.dialog-note{font-size:11px;line-height:1.7;color:#9993ad;margin:14px 0 0}

/* Keep the two actions distinct: writing is the primary action. */
.team{flex-wrap:wrap}.team-actions{flex:0 0 100%;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:10px;margin-top:4px}.write-message{display:flex;align-items:center;justify-content:center;margin:0;padding:12px 16px;min-height:48px;border:1px solid #b695ef;border-radius:11px;background:linear-gradient(120deg,#7251ae,#583986);color:#fff;font-size:15px;font-weight:700;cursor:pointer;text-align:center}.write-message:hover{background:#7853b4}.cheer-button{min-width:0;min-height:48px;flex-direction:row;gap:8px;font-size:13px;background:#231e37;border-color:#66517f}.wall-link{margin:24px 0 0;font-size:14px}.wall-link a{color:#d2b9ff;text-underline-offset:5px}@media(max-width:600px){.section-head{align-items:flex-start;gap:12px}.section-head>span{font-size:11px;padding-top:3px}.team-actions{gap:8px}.write-message{font-size:14px}.cheer-button{font-size:12px}}
