@font-face{font-family:CikadaSans;src:url('/assets/cikada/fonts/inter-latin-300-normal.woff2') format('woff2');font-weight:300;font-display:swap}
:root{--paper:#f6f5f0;--ink:#24453d;--line:#d8ded5;--muted:#6c7973}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:300 15px/1.65 CikadaSans,"Helvetica Neue",Arial,"Malgun Gothic",sans-serif}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #52766b;outline-offset:4px}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:26px 5%;border-bottom:1px solid var(--line)}.chat-brand{font-size:24px;letter-spacing:.15em}.chat-header nav{display:flex;gap:16px;align-items:center;font-size:13px}.chat-header button{border:0;background:none;padding:6px}.chat-header button[aria-pressed=true]{border-bottom:1px solid}.chat-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,1.7fr);gap:7%;max-width:1280px;margin:58px auto;padding:0 5%}.chat-kicker{font-size:11px;letter-spacing:.2em;color:var(--muted)}h1{font-size:clamp(28px,3.4vw,44px);font-weight:300;letter-spacing:-.04em;line-height:1.35;margin:18px 0}#chat-description{max-width:330px;color:var(--muted);line-height:1.9}.room-label{display:block;margin:30px 0 7px;font-size:12px}select{width:100%;padding:12px;border:1px solid var(--line);border-radius:4px;background:#fffefa;max-width:100%}.room-score{font-size:22px;font-weight:300;margin:20px 0 5px}.room-note{font-size:12px;color:var(--muted)}#room-detail{font-size:13px}.chat-panel{border:1px solid var(--line);border-radius:8px;background:#fffefa;overflow:hidden;position:relative}.chat-panel-head{padding:15px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;font-size:12px}.chat-service-label{font-size:10px;letter-spacing:.15em;color:var(--muted)}#connection[data-connected=true]:before{content:'';display:inline-block;width:6px;height:6px;background:#497861;border-radius:50%;margin-right:8px}#chat-messages{height:390px;overflow:auto;padding:16px 20px;scroll-behavior:smooth;overflow-wrap:anywhere}.chat-message{margin:0 0 17px}.chat-message-head{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}.chat-message-head strong{font-weight:400;color:var(--ink)}.chat-message-head time{font-size:10px}.chat-message-head button{margin-left:auto;border:0;background:none;font-size:10px;color:var(--muted);padding:3px 6px}.chat-message p{white-space:pre-wrap;margin:4px 0;font-size:14px;line-height:1.7}.chat-message[data-deleted=true] p{color:var(--muted);font-size:12px}.chat-empty{padding:80px 15px;text-align:center;color:var(--muted);font-size:14px}#chat-form{border-top:1px solid var(--line);padding:15px 20px 5px}#nick-label{font-size:11px;margin-right:12px}#chat-nick{border:0;border-bottom:1px solid var(--line);width:170px;padding:5px;background:transparent;font-size:13px}#chat-nick:read-only{color:var(--muted)}.chat-compose{display:flex;gap:10px;margin-top:12px}textarea{resize:vertical;width:100%;min-height:63px;max-height:180px;border:1px solid var(--line);border-radius:4px;background:transparent;padding:10px;font-size:14px}.chat-compose button{border:1px solid var(--ink);border-radius:4px;background:var(--ink);color:white;padding:8px 15px;white-space:nowrap;font-size:13px}.chat-compose button:disabled{opacity:.4;cursor:default}#chat-feedback{font-size:12px;min-height:19px;margin:5px 0;color:#835040}.chat-small{font-size:10px;line-height:1.7;color:var(--muted);padding:0 20px 12px;margin:0}#new-messages{position:absolute;right:22px;top:390px;background:var(--ink);color:white;border:0;border-radius:20px;padding:7px 13px;font-size:12px}footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:22px 5%;font-size:11px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:760px){.chat-header{padding:18px 5%}.chat-brand{font-size:19px}.chat-header nav{gap:8px;font-size:11px}.chat-layout{grid-template-columns:1fr;gap:22px;margin:24px auto}.chat-intro h1{font-size:29px;margin:10px 0}.chat-kicker{margin:0}#chat-description{max-width:none;margin:5px 0;font-size:13px}.room-label{margin-top:17px}.room-score{font-size:19px;margin-top:12px}#chat-messages{height:360px}.chat-panel-head,#chat-messages,#chat-form{padding-left:15px;padding-right:15px}#new-messages{top:355px}footer span{font-size:9px}}

/* Game room: a quiet match canvas beside a compact, independently scrolling chat. */
.game-chat-page .chat-header{padding:19px 4%}
.game-chat-page .chat-brand{font-size:21px}
.game-chat-page .chat-layout{grid-template-columns:minmax(0,1fr) 370px;align-items:start;gap:24px;max-width:1440px;padding:0 4%;margin:28px auto}
.game-chat-page .chat-intro{min-width:0}
.room-toolbar{display:flex;align-items:center;gap:16px;margin-bottom:16px}
.room-toolbar label{flex-shrink:0;font-size:12px;color:var(--muted)}
.room-toolbar select{padding:9px 12px;font-size:13px;min-width:0}
.game-stage{position:relative;min-height:280px;aspect-ratio:1.95;background:#314c40;border-radius:7px;overflow:hidden;display:flex;align-items:flex-end;color:#fffdf6;isolation:isolate}
.stadium-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 55%;z-index:-2}
.game-stage:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(12,29,22,.88),rgba(12,29,22,.06) 80%);z-index:-1;pointer-events:none}
.stage-caption{padding:26px;max-width:100%}
.stadium-credit{font-size:10px;color:var(--muted);margin:7px 2px 0;line-height:1.6;overflow-wrap:anywhere}
.stadium-credit a{text-decoration:underline;text-underline-offset:2px}
.game-chat-page .chat-kicker{color:#e0e6dc;font-size:10px;margin:0}
.game-chat-page h1{font-size:30px;line-height:1.4;margin:12px 0;font-weight:300}
.game-chat-page #chat-description{font-size:13px;color:#e3e6df;max-width:310px;line-height:1.8;margin:0}
.stage-photo-note{position:absolute;right:12px;top:10px;font-size:10px;color:#fffdf6;text-shadow:0 1px 4px #22372f}
.game-summary{padding:20px 22px;background:#fffefa;border:1px solid var(--line);border-radius:7px;margin-top:16px}
.game-summary-top{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}
#room-status[data-live=true]{color:#526f56}
#room-status[data-live=true]:before{content:'';display:inline-block;width:6px;height:6px;background:#688468;border-radius:50%;margin-right:7px}
.room-matchup{display:flex;justify-content:center;align-items:center;gap:36px;padding:19px 0}
.room-team{display:flex;align-items:center;gap:12px;min-width:85px;font-size:15px}
.room-team img{width:48px;height:48px;object-fit:contain}
.game-chat-page .room-score{font-size:28px;letter-spacing:.06em;margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.game-summary-bottom{display:flex;gap:18px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px}
.game-chat-page .room-note{font-size:11px;line-height:1.7;margin:0;max-width:330px}
.game-chat-page #room-detail{white-space:nowrap;font-size:12px}
.game-chat-page .chat-panel{display:flex;flex-direction:column;height:clamp(540px,calc(100dvh - 150px),760px);min-height:0;border-radius:7px}
.game-chat-page .chat-panel-head{padding:14px 16px;align-items:center;gap:12px;flex-shrink:0}
.chat-panel-head h2{font-size:14px;font-weight:400;margin:0}
.game-chat-page #connection{font-size:10px;color:var(--muted);text-align:right;max-width:180px}
.chat-stream{position:relative;flex:1;min-height:120px;display:flex}
.game-chat-page #chat-messages{flex:1;min-width:0;height:auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px 10px;scroll-behavior:auto;scrollbar-width:thin}
.game-chat-page .chat-message{display:flex;align-items:flex-start;gap:8px;padding:4px 5px;margin:0;border-radius:4px;font-size:13px;line-height:1.65}
.game-chat-page .chat-message:hover,.game-chat-page .chat-message:focus-within{background:#f1f3ed}
.chat-avatar{flex:0 0 23px;width:23px;height:23px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px;margin-top:1px;color:#3c5950;background:#e3ebe2;user-select:none}
.chat-avatar[data-tone='1']{background:#ece5db;color:#756046}.chat-avatar[data-tone='2']{background:#e1e8ee;color:#506573}.chat-avatar[data-tone='3']{background:#e9e3eb;color:#77607b}
.chat-message-content{min-width:0;flex:1;overflow-wrap:anywhere}
.chat-message-nick{font-size:12px;color:var(--muted);font-weight:400;margin-right:8px}
.chat-message-body{white-space:pre-wrap}
.game-chat-page .chat-message[data-deleted=true] .chat-message-body{color:var(--muted);font-size:12px}
.chat-report{flex:0 0 24px;width:24px;height:24px;padding:0;border:0;border-radius:3px;background:none;font-size:14px;color:var(--muted);opacity:0}
.chat-message:hover .chat-report,.chat-message:focus-within .chat-report{opacity:1}
.chat-report:disabled{opacity:.35;cursor:default}
.game-chat-page .chat-empty{padding:65px 24px;font-size:13px;line-height:1.9}
.game-chat-page #new-messages{top:auto;bottom:10px;right:50%;transform:translateX(50%);white-space:nowrap;font-size:11px;padding:6px 12px;box-shadow:0 2px 8px #24453d22}
.game-chat-page #chat-form{flex-shrink:0;padding:10px 14px 4px}
.chat-identity{display:flex;align-items:center;gap:8px;font-size:11px}
.game-chat-page #nick-label{margin:0;white-space:nowrap}
.game-chat-page #chat-nick{min-width:0;flex:1;width:auto;font-size:12px;padding:4px}
#guest-label{font-size:10px;color:var(--muted);white-space:nowrap}
.game-chat-page .chat-compose{margin-top:10px;gap:7px;align-items:flex-end}
.game-chat-page textarea{font-size:13px;min-height:56px;height:56px;max-height:100px;resize:none;line-height:1.5;padding:8px 10px}
.game-chat-page .chat-compose button{font-size:12px;padding:8px 11px;height:36px;flex-shrink:0}
.game-chat-page #chat-feedback{font-size:11px;min-height:0;margin:4px 0}
.game-chat-page #chat-feedback:empty{display:none}
.chat-guidelines{flex-shrink:0;font-size:10px;color:var(--muted);padding:5px 14px 10px;max-height:120px;overflow:auto}
.chat-guidelines summary{cursor:pointer;width:fit-content}
.game-chat-page .chat-small{padding:7px 0 0;line-height:1.7}
.game-chat-page footer{padding:15px 4%}
@media(hover:none){.chat-report{opacity:.6}}
@media(max-width:1000px) and (min-width:761px){.game-chat-page .chat-layout{grid-template-columns:minmax(0,1fr) 340px;gap:18px}.stage-caption{padding:22px}.room-matchup{gap:20px}.room-team{flex-direction:column;gap:3px;min-width:0}.game-summary-bottom{flex-wrap:wrap;gap:8px}}
@media(max-width:760px){
 .game-chat-page .chat-header{padding:13px 4%}.game-chat-page .chat-brand{font-size:18px}
 .game-chat-page .chat-layout{grid-template-columns:minmax(0,1fr);padding:0 4%;margin:14px auto 18px;gap:14px}
 .room-toolbar{gap:12px;margin-bottom:10px}.room-toolbar select{padding:8px;font-size:12px}
 .game-stage{aspect-ratio:auto;min-height:115px}.stage-caption{padding:18px}.game-chat-page h1{font-size:22px;margin:5px 0 0}.game-chat-page #chat-description{display:none}
 .game-summary{padding:12px 14px;margin-top:10px}.game-summary-top{font-size:10px}.room-matchup{gap:25px;padding:10px 0}.room-team{min-width:0;gap:7px;font-size:13px}.room-team img{width:34px;height:34px}.game-chat-page .room-score{font-size:23px}
 .game-summary-bottom{gap:12px;padding-top:8px}.game-chat-page .room-note{font-size:10px}.game-chat-page #room-detail{font-size:11px}
 .game-chat-page .chat-panel{height:clamp(420px,68dvh,650px)}
 .game-chat-page .chat-panel-head{padding:12px 14px}.game-chat-page #chat-messages{padding:10px 8px}.game-chat-page #chat-form{padding:10px 12px 4px}
 .game-chat-page footer{font-size:10px}
}
.official-watch{display:flex;align-items:center;gap:10px 20px;flex-wrap:wrap;border-top:1px solid var(--line,#d9dfd3);margin-top:12px;padding-top:12px;font-size:12px}.official-watch a{text-decoration:underline;text-underline-offset:4px}.official-watch small{width:100%;font-size:10px;line-height:1.6;color:#657873}
