/* site.css */
:root{--bg:#0e1117;--panel:#151a22;--soft:#1b212b;--line:#282f3b;--text:#e9edf4;--muted:#818b9c;--green:#b7ee79;--red:#ef7a86}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:13px 'DM Sans','Noto Sans KR',sans-serif}body.light{--bg:#f3f5f8;--panel:#fff;--soft:#f0f3f7;--line:#dce2e9;--text:#202b3b;--muted:#6b7789;--green:#568623}button,input,select,textarea{font:inherit}button,a{cursor:pointer}button{color:var(--text);background:none;border:0;border-radius:7px;padding:9px 12px}button:hover{background:var(--soft)}a{color:inherit;text-decoration:none}header{height:78px;display:flex;align-items:center;padding:0 35px;border-bottom:1px solid var(--line);gap:70px}.brand{font-size:24px;font-weight:800;letter-spacing:-1px;display:flex;align-items:center;gap:10px}.brand> :first-child{letter-spacing:-1px}.accent{color:var(--green)}.brand small{font-size:9px;border:1px solid var(--line);padding:4px;letter-spacing:1px;color:var(--muted)}nav{display:flex;gap:33px;height:100%;align-items:center}nav a{height:100%;display:flex;align-items:center;color:var(--muted);font-weight:600}nav .active{color:var(--green);border-bottom:2px solid var(--green)}.header-actions{margin-left:auto;display:flex;gap:15px}.primary{background:var(--green);color:#182211;font-weight:700}.ticker{height:44px;display:flex;align-items:center;gap:35px;padding:0 35px;border-bottom:1px solid var(--line);font-size:11px}.ticker>span{display:flex;gap:13px;align-items:center}.ticker>span:first-child{font-size:10px;letter-spacing:1px;color:var(--muted)}i{height:6px;width:6px;background:var(--green);border-radius:50%}em{font-style:normal;color:var(--green);font-size:11px}.red{color:var(--red)}.ticker small{margin-left:auto;color:var(--muted);font-size:10px}main{display:grid;grid-template-columns:310px minmax(0,1fr);gap:26px;max-width:1600px;margin:auto;padding:27px 30px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden}.chat{height:calc(100vh - 176px);min-height:650px;position:sticky;top:20px;display:flex;flex-direction:column}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:22px}.panel-heading h2,h2{font-size:16px;margin:0;font-weight:700}.live{font-size:9px;letter-spacing:.6px;color:var(--green);margin-left:8px}.muted{color:var(--muted)}.chat-tabs{display:flex;border-bottom:1px solid var(--line);padding:0 15px;gap:8px}.chat-tabs button{flex:1;border-radius:0;color:var(--muted);padding:13px 4px;font-size:12px}.chat-tabs .selected{border-bottom:2px solid var(--green);color:var(--text)}.chat-tabs span{background:var(--soft);padding:2px 5px;border-radius:4px;margin-left:6px}.chat-note{margin:15px;background:var(--soft);padding:11px;color:var(--muted);font-size:10px;border-radius:5px}#messages{padding:0 17px;flex:1;overflow:auto}.message{display:flex;gap:10px;margin:20px 0}.avatar{background:#293449;color:#a7b8d4;border-radius:10px;flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:14px;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.message:nth-child(3n) .avatar{background:#343c2c;color:#b8d99b}.message:nth-child(4n) .avatar{background:#3b2f3e;color:#c7a5d2}.message-body{min-width:0;flex:1}.message-meta{display:flex;align-items:center;gap:6px;font-size:10px}.message-meta b{font-weight:600}.message-meta time{margin-left:auto;color:var(--muted);font-size:9px}.verified{color:var(--green)}.message p{margin:7px 0;color:#b8c0cc;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.light .message p{color:#526075}.chat-bottom{padding:16px;border-top:1px solid var(--line)}#identity{font-size:10px;color:var(--green);display:flex;justify-content:space-between;align-items:center}#identity button{color:var(--muted);font-size:10px;padding:4px}form{display:flex;gap:7px;margin-top:12px}input,textarea,select{background:var(--soft);border:1px solid var(--line);padding:11px;border-radius:7px;color:var(--text);min-width:0}input{width:100%}.chat-bottom small{font-size:9px;display:block;margin-top:10px;color:var(--muted)}.intro{height:135px;display:flex;justify-content:space-between;align-items:center;padding:0 5px 17px}.eyebrow{font-size:9px;letter-spacing:2px;color:var(--green);margin-bottom:12px}h1{font-size:27px;letter-spacing:-1px;margin:0 0 11px}.intro p,.panel-heading p{font-size:11px;color:var(--muted);margin:7px 0 0}.intro-symbol{font-size:106px;line-height:1;transform:rotate(-15deg);color:var(--green);opacity:.7;margin-right:25px}.tag{font-weight:400;font-size:9px;color:var(--muted);background:var(--soft);padding:5px 8px;margin-left:9px;border-radius:4px}.subtle{border:1px solid var(--line);font-size:11px}.platforms{display:flex;border-bottom:1px solid var(--line);padding:0 22px;gap:25px}.platforms button{padding:15px 0;border-radius:0;display:flex;gap:9px;align-items:center;color:var(--muted)}.platforms button.selected{color:var(--text);border-bottom:2px solid var(--green)}.platform-icon{width:23px;height:23px;background:#42874c;color:white;display:inline-grid;place-items:center;border-radius:6px;font-size:11px;font-weight:800}.chart-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px}.chart-main{padding:23px 21px 12px}.chart-toolbar{display:flex;justify-content:space-between;align-items:center}.chart-toolbar .muted{font-size:10px}.quote{display:flex;gap:10px;align-items:center;margin-top:7px}.quote strong{font-size:31px;letter-spacing:-1px}.quote em{background:#b7ee7910;padding:5px}.quote small{font-size:9px;color:var(--muted)}.intervals{display:flex;background:var(--bg);border-radius:6px;padding:3px}.intervals button{font-size:10px;padding:7px 9px;color:var(--muted)}.intervals .selected{background:var(--soft);color:var(--text)}.ohlc{font-size:9px;color:var(--muted);margin-top:17px;height:15px}#chart{height:235px;width:100%}#chart svg{width:100%;height:100%;overflow:visible}.chart-footer{font-size:8px;color:var(--muted);display:flex;justify-content:space-between;padding-top:12px;gap:10px}.evidence{border-left:1px solid var(--line);padding:22px 17px}.evidence-title{display:flex;justify-content:space-between;align-items:center}.evidence h3{font-size:12px;margin:0}.evidence-title span{font-size:10px;color:var(--green)}.evidence>p{font-size:9px;color:var(--muted);padding-bottom:13px;border-bottom:1px solid var(--line)}.source{padding:12px 0;border-bottom:1px solid var(--line)}.source small{font-size:9px;color:var(--muted)}.source p{font-size:11px;margin:7px 0;line-height:1.7;overflow-wrap:anywhere}.source label{font-size:8px;background:var(--soft);padding:3px 5px;border-radius:3px;color:var(--green)}.disclaimer{font-size:9px;line-height:1.8;color:var(--muted);margin-top:16px}.community-title{display:flex;align-items:center;gap:14px;margin:28px 0 16px}.community-title span{font-size:10px;color:var(--muted)}.community-title button{margin-left:auto}#board-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.board-head{display:flex;justify-content:space-between;align-items:center;padding:17px 19px;border-bottom:1px solid var(--line)}.board-head h3{font-size:13px;margin:0}.board-head button{font-size:10px;color:var(--muted);padding:0}.post-row{display:flex;align-items:center;width:100%;padding:12px 18px;text-align:left;gap:8px;border-radius:0;border-bottom:1px solid var(--line);font-size:11px}.post-row:last-child{border-bottom:0}.post-row .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post-row em{font-size:9px}.post-row time{margin-left:auto;color:var(--muted);font-size:9px;flex-shrink:0}.post-label{color:var(--green);font-size:8px}footer{display:flex;gap:18px;align-items:center;margin:28px 0 5px;color:var(--muted);font-size:10px}footer .brand{font-size:16px}footer small{margin-left:auto;font-size:8px}dialog{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:14px;width:min(650px,94vw);padding:25px;max-height:85vh}dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}#modal-body p{line-height:1.9;color:var(--muted)}#modal-body label{display:block;margin:15px 0 7px}#modal-body textarea{width:100%;height:140px}.modal-actions{display:flex;justify-content:flex-end;margin-top:20px}.review-row{border-bottom:1px solid var(--line);padding:13px 0;overflow-wrap:anywhere}.review-row small{color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--green);color:#17220e;padding:13px 22px;border-radius:8px;display:none;z-index:10}button:focus-visible,a:focus-visible{outline:2px solid var(--green);outline-offset:3px}@media(min-width:1500px){#chart{height:280px}}@media(max-width:1150px){main{grid-template-columns:270px 1fr;padding:20px;gap:18px}.chart-layout{grid-template-columns:1fr}.evidence{border-left:0;border-top:1px solid var(--line)}#evidence-list{display:flex;gap:18px}.source{flex:1}.disclaimer{margin-top:8px}.ticker{gap:18px}.ticker small{display:none}.intro-symbol{display:none}.platforms{gap:20px}.quote small{display:none}}@media(max-width:1200px){header{padding:0 16px;height:65px;gap:20px}.brand{font-size:19px}.brand small,nav{display:none}.ticker{overflow:auto;white-space:nowrap;padding:0 16px;gap:25px}main{display:flex;flex-direction:column;padding:16px}.content{order:0}.chat{order:1;position:static;height:550px;min-height:0}.intro{height:120px}h1{font-size:24px}.panel-heading{padding:18px}.platforms{padding:0 18px;gap:18px}.platforms button{font-size:11px}.chart-main{padding:18px 12px}.quote strong{font-size:28px}.intervals button{padding:6px}.tag{display:none}#board-grid{grid-template-columns:1fr}.community-title span{display:none}#evidence-list{display:block}.evidence{padding:18px}.source{padding:9px 0}footer>span:not(.brand){display:none}.chart-footer{font-size:7px}}

/* live.css */
/* Center live player with the market on its right. */
.live-player .live-empty h3{color:#e9edf4}
main{grid-template-columns:260px minmax(0,1fr);gap:20px;padding:24px;max-width:1800px}.content{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(350px,.9fr);gap:20px;align-items:start}.intro{grid-column:1/-1;height:110px;padding-bottom:0}.intro-symbol{font-size:85px}.live-panel{grid-column:1;grid-row:2}.market{grid-column:2;grid-row:2/4}.market .chart-layout{display:block}.market .evidence{border-left:0;border-top:1px solid var(--line)}.market #evidence-list{display:block;max-height:280px;overflow:auto}.market #chart{height:245px}.market .chart-main{padding:20px 14px}.market .platforms{gap:17px}.market .platforms button{font-size:11px}.market .panel-heading{gap:10px;flex-wrap:wrap}.market .chart-footer{font-size:8px}.live-player{aspect-ratio:16/9;background:#080b10;display:grid;place-items:center}.live-player iframe{display:block;border:0;width:100%;height:100%}.live-empty{text-align:center;color:var(--muted);padding:25px}.live-empty>span{font-size:40px;color:var(--green)}.live-empty h3{font-size:15px;color:var(--text);margin:14px 0 9px}.live-empty p{font-size:11px;line-height:1.8}.live-now{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px;border-bottom:1px solid var(--line)}.live-now strong{font-size:13px;line-height:1.8}.live-now p{font-size:10px;color:var(--muted);margin:6px 0 0}.live-now>a{white-space:nowrap;font-size:10px;padding:8px}.live-list{max-height:265px;overflow:auto;padding:6px 10px}.live-card{display:flex;gap:12px;align-items:center;width:100%;text-align:left;padding:10px;border:1px solid transparent}.live-card.selected{background:var(--soft);border-color:var(--line)}.live-card img{width:110px;aspect-ratio:16/9;object-fit:cover;border-radius:5px}.live-card>div{min-width:0}.live-card small{color:var(--red);font-size:9px}.live-card strong{display:block;margin:6px 0;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-card p{margin:0;font-size:9px;color:var(--muted)}.live-dot{display:inline-block;background:var(--red);width:5px;height:5px;border-radius:50%}.live-footnote{padding:0 18px 10px;font-size:9px;line-height:1.8;color:var(--muted)}.scam-panel{grid-column:1;grid-row:3}.scam-panel .panel-heading{padding-bottom:12px;gap:8px}.scam-panel .tag{font-size:8px;margin-left:4px}.scam-panel form{padding:0 18px;margin:0 0 12px}.scam-panel form input{font-size:10px}.scam-row{width:100%;display:flex;text-align:left;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);border-radius:0;padding:15px 20px}.scam-row small{font-size:9px;color:var(--red)}.scam-row strong{display:block;margin:6px 0;font-size:12px}.scam-row p{margin:0;color:var(--muted);font-size:10px}.scam-row>span{white-space:nowrap;font-size:9px;color:var(--muted)}.scam-empty{padding:20px;color:var(--muted);font-size:11px}.scam-pagination{display:flex;justify-content:center;align-items:center;gap:8px;padding:10px;border-top:1px solid var(--line);font-size:9px;color:var(--muted)}button:disabled{opacity:.4;cursor:default}.community-title{grid-column:1/-1;margin:4px 0 -4px}#board-grid,footer{grid-column:1/-1}footer{margin:6px 0}.chat{min-height:620px}header{gap:40px}nav{gap:22px}.evidence p{overflow-wrap:anywhere}@media(max-width:1350px){main{grid-template-columns:245px minmax(0,1fr);padding:20px}.content{grid-template-columns:minmax(0,1fr)}.live-panel,.market,.scam-panel{grid-column:1;grid-row:auto}.market .chart-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px}.market .evidence{border-top:0;border-left:1px solid var(--line)}.market #chart{height:260px}.intro{height:105px}nav{gap:16px}header{gap:25px}.live-list{max-height:210px}}@media(max-width:1000px){.market .chart-layout{display:block}.market .evidence{border-left:0;border-top:1px solid var(--line)}.market #evidence-list{display:flex;gap:15px}.market .source{flex:1}}@media(max-width:1200px){main{display:flex;padding:15px}.content{display:grid;width:100%;gap:16px}.intro{height:115px}.chat{width:100%;min-height:0}.live-panel .panel-heading{padding:17px}.live-now{padding:15px}.live-card img{width:95px}.market #evidence-list{display:block}.scam-panel .tag{display:none}.community-title{margin:4px 0}.market .platforms{gap:20px}}

/* community.css */
/* Compact community layout, shared by dark and light mode. */
form button{flex-shrink:0;white-space:nowrap}#scam-search input{flex:1;width:auto}#scam-search button{min-width:47px}
#live-player:has(.live-empty){background:var(--soft)}#live-player .live-empty h3{color:var(--muted)}.message:focus-within .message-time{display:block}
:root{--bg:#14161a;--panel:#1c1f24;--soft:#25292f;--line:#30343b;--text:#e6e8ec;--muted:#9198a4;--green:#70a6ff;--red:#eb7276;--blue:#70a6ff}
body.light{--bg:#f4f5f7;--panel:#fff;--soft:#f4f5f7;--line:#e6e8ec;--text:#24272e;--muted:#8b9099;--green:#2865d5;--red:#e65257;--blue:#2865d5}
body{font:12px Arial,'Malgun Gothic','맑은 고딕',sans-serif;letter-spacing:-.2px}button,input,textarea,select{font:inherit}button{border-radius:3px;padding:6px 10px}button,a,input,select,textarea{transition:background-color .12s}a:hover{color:var(--blue)}.primary{background:var(--blue);color:#fff;font-weight:400}.subtle{font-size:11px;border-color:var(--line);border-radius:3px}input,textarea,select{padding:8px 9px;border-radius:3px;background:var(--panel)}header{height:62px;padding:0 max(22px,calc((100vw - 1556px)/2));gap:40px;background:var(--panel)}.brand{font-size:22px;gap:7px;letter-spacing:-.9px}.brand .accent{color:var(--blue)}nav{gap:24px}nav a{font-size:12px;color:var(--muted);font-weight:600}nav .active{color:var(--text);border-color:var(--blue)}.header-actions{gap:8px}.header-actions .primary{background:var(--panel);border:1px solid var(--line);color:var(--text);font-size:11px;padding:7px 12px}.ticker{height:32px;background:var(--panel);padding:0 max(22px,calc((100vw - 1556px)/2));gap:22px;font-size:10px}.ticker>span:first-child{font-size:9px;letter-spacing:.4px}.ticker small{font-size:9px}i{background:#4cbb82;width:5px;height:5px}main{grid-template-columns:270px minmax(0,1fr);gap:16px;padding:18px 22px;max-width:1600px}.content{grid-template-columns:minmax(0,1.15fr) minmax(350px,.95fr);gap:16px}.page-heading{grid-column:1/-1;height:33px;display:flex;align-items:center;gap:14px;margin:0 0 1px}.page-heading h1{font-size:15px;letter-spacing:-.5px;margin:0;font-weight:700}.page-heading span{font-size:10px;color:var(--muted)}.page-heading>a{font-size:10px;margin-left:auto;color:var(--muted)}.panel{border-radius:6px;box-shadow:none}.panel-heading{padding:15px 17px;min-height:60px}.panel-heading h2,h2{font-size:13px;font-weight:700}.panel-heading p{font-size:10px;line-height:1.5;margin-top:6px}.live{font-size:8px;letter-spacing:.3px;color:#e86467;margin-left:5px}.tag{font-size:9px;padding:0;background:none;border-radius:0;border:0;color:var(--muted);margin-left:7px}.chat{top:14px;height:calc(100vh - 130px);min-height:560px;border-radius:4px;background:var(--panel)}.chat>.panel-heading{padding:13px 14px;min-height:44px}.chat-status{font-size:9px}.chat-tabs{padding:0 12px;gap:18px;border-bottom:1px solid var(--line)}.chat-tabs button{flex:0 0 auto;padding:10px 2px;font-size:11px}.chat-tabs .selected{border-bottom:2px solid var(--red);color:var(--text)}.chat>.chat-note{background:none;border-radius:0;border:0;border-bottom:1px solid var(--line);padding:10px 13px;margin:0;font-size:9px;line-height:1.6;color:var(--muted)}#messages{padding:10px 12px 14px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}#messages::-webkit-scrollbar{width:5px}#messages::-webkit-scrollbar-thumb{background:var(--line);border-radius:4px}.message{display:block;position:relative;margin:0;padding:2px 0;line-height:1.9;font-size:11px;word-break:break-word;overflow-wrap:anywhere}.chat-medal{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:17px;height:17px;margin-right:3px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#f1f1f1,#898d93 60%,#555b64);color:#ffe55b;font-family:Arial,sans-serif;font-size:12px;font-weight:bold;line-height:17px;text-shadow:0 1px #555;box-shadow:inset 0 0 0 1px #92969b;overflow:hidden}.chat-medal img{width:100%;height:100%;object-fit:cover}.message .chat-name{display:inline;padding:0 4px 0 0;border:0;background:none;line-height:inherit;font-size:11px;vertical-align:baseline;font-weight:700;border-radius:0}.message .chat-name:hover{text-decoration:underline}.nick-0{color:#e6ac78}.nick-1{color:#b9a1eb}.nick-2{color:#7bb5e0}.nick-3{color:#e0a2b8}.nick-4{color:#92bd80}.light .nick-0{color:#8b4d14}.light .nick-1{color:#71138b}.light .nick-2{color:#1c58a1}.light .nick-3{color:#9a194f}.light .nick-4{color:#466523}.message-text{color:#b5bac3;white-space:pre-wrap}.light .message-text{color:#8c8e95}.message .verified{font-size:9px;margin-right:3px;color:var(--blue)}.message-time{display:none;position:absolute;right:0;top:0;font-size:8px;color:var(--muted);background:var(--panel);padding-left:5px}.message:hover .message-time{display:block}.chat-empty{padding:25px 2px;line-height:2;color:var(--muted);font-size:10px}.chat-empty strong{display:block;font-weight:400;color:var(--text);margin-bottom:3px}.chat-empty span{display:block}.chat-bottom{padding:11px 12px;border-top:1px solid var(--line)}#identity{color:var(--muted);font-size:9px}#identity button{font-size:9px}.chat-bottom form{gap:5px;margin-top:9px}.chat-bottom input{font-size:11px;padding:8px}.chat-bottom form button{font-size:10px;padding:6px 9px;flex-shrink:0}.chat-bottom small{font-size:8px;line-height:1.6;margin-top:7px;color:var(--muted)}.live-panel{grid-row:2}.market{grid-row:2/4}.live-player{background:#101216}.live-empty{padding:24px;color:#8d949e}.live-empty>span{font-size:31px;color:#646d7a}.live-player .live-empty h3{font-size:12px;font-weight:400;color:#b6bdc7;margin:12px 0 5px}.live-empty p{font-size:10px;color:#737d8b}.live-now{padding:12px 15px;min-height:43px;gap:12px;font-size:10px}.live-now strong{font-size:12px;font-weight:600}.live-now p{font-size:10px}.live-footnote{font-size:8px;padding:0 15px 7px;margin-top:8px}.live-list{padding:2px 5px}.live-card{padding:8px;border-radius:3px;gap:10px}.live-card img{width:92px;border-radius:3px}.live-card strong{font-size:11px;font-weight:400}.live-card small{font-size:8px}.live-card p{font-size:9px}.market .panel-heading{padding:15px 17px;min-height:60px}.platforms{padding:0 15px;background:var(--soft)}.market .platforms{gap:20px}.platforms button{padding:11px 0;font-size:11px}.platforms button.selected{border-color:var(--blue);font-weight:700}.platform-icon{display:none!important}.market .chart-main{padding:16px 14px 10px}.chart-toolbar .muted{font-size:10px}.quote{gap:8px;margin-top:7px}.quote strong{font:700 26px Arial,sans-serif;letter-spacing:-.5px}.quote em{font-size:10px;background:none;padding:0}.quote small{font-size:9px}.intervals{background:var(--soft);border-radius:4px;padding:3px}.intervals button{font-size:10px;padding:5px 8px;border-radius:3px}.intervals .selected{background:var(--panel);box-shadow:0 1px 3px #0001}.ohlc{font-size:8px;margin-top:13px}.market #chart{height:220px}.market .chart-footer{font-size:8px;padding-top:8px}.market .evidence{padding:14px 16px}.evidence h3{font-size:11px}.evidence-title span{font-size:9px}.source{padding:9px 0}.source p{font-size:10px;line-height:1.7;margin:4px 0}.source small{font-size:8px}.source label{font-size:8px;color:var(--blue);padding:2px 4px}.disclaimer{font-size:8px;margin-top:9px}.scam-panel{grid-row:3}.scam-panel .panel-heading{padding:14px 16px 10px;min-height:54px}.scam-panel form{padding:0 15px;gap:5px;margin-bottom:10px}.scam-panel form input{font-size:10px;padding:8px}.scam-row{padding:11px 15px}.scam-row strong{font-size:11px;font-weight:500;margin:4px 0}.scam-row small{font-size:9px}.scam-row p{font-size:9px}.scam-empty{font-size:10px;margin:0;padding:18px 15px}.scam-pagination{padding:5px;font-size:9px}.scam-pagination button{font-size:9px;padding:5px 9px}.community-title{margin:3px 0 -5px;gap:10px}.community-title h2{font-size:13px}.community-title span{font-size:9px}.community-title button{font-size:10px;padding:5px 10px}#board-grid{gap:14px}.board-head{padding:12px 14px;background:var(--panel)}.board-head h3{font-size:12px;letter-spacing:-.3px}.board-head button{font-size:9px}.post-row{padding:10px 14px;font-size:11px;border-color:var(--line);gap:7px}.post-row:hover{background:var(--soft)}.post-row time{font-size:9px}.post-row .post-label{font-size:8px}.post-row em{font-size:9px;color:var(--red)}footer{padding:14px 0;margin:0;border-top:1px solid var(--line);font-size:9px;gap:14px}footer .brand{font-size:12px;letter-spacing:0}footer small{font-size:8px}dialog{border-radius:6px;padding:22px}dialog h2{font-size:15px}dialog::backdrop{backdrop-filter:none;background:#0006}#toast{border-radius:4px;background:var(--text);color:var(--bg);font-size:11px;padding:11px 18px}
@media(max-width:1300px){main{grid-template-columns:250px minmax(0,1fr);gap:14px;padding:16px}.content{grid-template-columns:minmax(0,1fr);gap:14px}.live-panel,.market,.scam-panel{grid-column:1;grid-row:auto}.market .chart-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px}.market .evidence{border-top:0;border-left:1px solid var(--line)}.market #chart{height:240px}.page-heading{height:31px}header{gap:30px;padding:0 18px}nav{gap:18px}.page-heading span{display:none}}
@media(max-width:1000px){.market .chart-layout{display:block}.market .evidence{border-top:1px solid var(--line);border-left:0}.market #evidence-list{display:block}nav{gap:14px}header{gap:22px}}
@media(max-width:1200px){header{height:54px;padding:0 14px;gap:12px}.brand{font-size:20px}nav{display:none}.ticker{padding:0 14px;height:29px;gap:17px}.ticker>span{font-size:9px}main{display:flex;padding:12px;gap:14px}.content{gap:12px}.page-heading{height:27px}.page-heading h1{font-size:13px}.page-heading>a{font-size:9px}.chat{height:490px;min-height:0;position:static}.panel{border-radius:4px}.panel-heading,.market .panel-heading{padding:12px 14px;min-height:55px}.panel-heading h2,h2{font-size:12px}.panel-heading p{font-size:9px}.live-now{padding:11px 13px}.live-footnote{font-size:8px}.live-player .live-empty h3{font-size:11px}.market .platforms{gap:24px}.market #chart{height:220px}.scam-panel .panel-heading{padding:12px 14px 9px}.scam-panel .panel-heading p{font-size:9px}.scam-panel .tag{display:none}#board-grid{grid-template-columns:1fr;gap:12px}.community-title h2{font-size:12px}.community-title span{display:none}.chat-empty{padding:20px 0}footer .brand{font-size:11px}.live-empty{padding:15px}.live-empty p{font-size:9px}}
/* Right workspace: wide chart first, live panel immediately below. */
.content{grid-template-columns:minmax(0,1fr);gap:14px}.page-heading{grid-column:1;grid-row:1}.market{grid-column:1;grid-row:2}.live-panel{grid-column:1;grid-row:3}.scam-panel{grid-column:1;grid-row:4}.community-title{grid-column:1;grid-row:5}#board-grid{grid-column:1;grid-row:6}footer{grid-column:1;grid-row:7}
.market .chart-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px}.market .evidence{border-left:1px solid var(--line);border-top:0}.market #chart{height:220px}.market #evidence-list{max-height:250px;overflow:auto}.market .panel-heading{min-height:53px;padding:12px 16px}.market .platforms{gap:28px}.market .chart-main{padding:14px 16px 9px}.market .chart-footer{padding-top:5px}.market .evidence{padding:15px}.market .disclaimer{font-size:8px}
.live-panel{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:start}.live-panel>.panel-heading{grid-column:1/-1;border-bottom:1px solid var(--line);min-height:49px;padding:11px 16px}.live-panel .panel-heading>div{display:flex;align-items:center;gap:15px}.live-panel .panel-heading p{margin:0;font-size:10px}#live-player{grid-column:1;grid-row:2/5;width:100%;aspect-ratio:16/8.2}.live-now{grid-column:2;grid-row:2;display:block;border-bottom:1px solid var(--line);border-left:1px solid var(--line);width:100%;padding:14px}.live-now>a{display:inline-block;margin-top:10px}.live-list{grid-column:2;grid-row:3;width:100%;max-height:240px}.live-card{gap:8px}.live-card img{width:80px}.live-footnote{grid-column:2;grid-row:4;padding:12px 14px;margin:0;font-size:9px}
.demo-notice{font-weight:400;font-size:10px;color:#b07829;background:#b0782910;border:1px solid #b0782933;padding:4px 7px;border-radius:3px}.demo-video{height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#152629;color:#dce5e6;position:relative;padding:30px 20px 20px;gap:20px}.demo-video-label{position:absolute;top:12px;left:14px;font-size:9px;letter-spacing:.7px;color:#b9cacc}.demo-table{width:82%;height:190px;max-height:60%;border:10px solid #263a3b;border-radius:110px;background:#1e4946;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;box-shadow:inset 0 0 0 1px #56726e}.demo-pot{text-align:center;font-size:13px;letter-spacing:2px;color:#b3cebf}.demo-pot small{font-size:9px;letter-spacing:0;line-height:2}.demo-cards{display:flex;gap:7px}.demo-cards b{display:flex;flex-direction:column;gap:3px;background:#f4f1e8;color:#273236;padding:7px 9px;border-radius:3px;font:bold 16px Georgia,serif;min-width:36px;box-shadow:0 1px 3px #0003}.demo-cards b:nth-child(2),.demo-cards b:nth-child(4){color:#bc5053}.demo-cards span{font-size:17px}.demo-video>p{font-size:9px;color:#a2b8b5;margin:0;text-align:center}
@media(max-width:1000px){.market .chart-layout{grid-template-columns:minmax(0,1fr) 210px}.live-panel{grid-template-columns:minmax(0,1fr) 210px}.demo-notice{font-size:9px}.page-heading>span{display:none}}
@media(max-width:1200px){.page-heading{height:auto;min-height:30px;flex-wrap:wrap;gap:6px}.demo-notice{order:3;flex-basis:100%;padding:4px 6px;font-size:9px}.market .chart-layout{display:block}.market .evidence{border-left:0;border-top:1px solid var(--line)}.market #evidence-list{max-height:150px}.market #chart{height:210px}.live-panel{display:block}.live-panel .panel-heading>div{display:block}.live-panel .panel-heading p{margin-top:5px}#live-player{aspect-ratio:16/10}.live-now{border-left:0}.live-list{max-height:180px}.demo-table{height:145px;width:90%;gap:8px}.demo-pot{font-size:11px}.demo-cards b{font-size:13px;padding:5px 6px;min-width:28px}.demo-cards span{font-size:14px}.demo-video{padding:30px 12px 12px;gap:12px}.demo-video>p{font-size:8px}}
/* Advertising + compact fraud sidebar */
main{grid-template-columns:120px 250px minmax(0,1fr) 235px;grid-template-areas:"wing chat content sidebar";max-width:1840px;padding:16px;gap:12px}.ad-wing{grid-area:wing;position:sticky;top:14px;align-self:start}.chat{grid-area:chat}.content{grid-area:content;gap:12px;min-width:0}.right-sidebar{grid-area:sidebar;display:grid;gap:12px;align-content:start;align-self:start;position:sticky;top:14px;min-width:0}.right-sidebar .scam-panel{grid-column:auto;grid-row:auto}.right-sidebar .scam-panel .panel-heading{padding:12px;min-height:42px}.right-sidebar .scam-panel .panel-heading h2{font-size:12px}.right-sidebar .scam-panel .panel-heading p,.right-sidebar .scam-panel .tag,.right-sidebar .scam-panel .panel-heading>a{display:none}.right-sidebar .scam-panel form{padding:0 10px;gap:4px}.right-sidebar .scam-panel input{width:0;min-width:0;padding:7px;font-size:9px}.right-sidebar .scam-panel form button{min-width:37px;padding:6px;font-size:10px}.right-sidebar .scam-row{padding:12px 10px;gap:7px;align-items:start}.right-sidebar .scam-row strong{font-size:10px;line-height:1.7}.right-sidebar .scam-row p{font-size:8px;line-height:1.6}.right-sidebar .scam-row>span{display:none}.right-sidebar .scam-pagination{font-size:8px;gap:0}.right-sidebar .scam-pagination button{padding:5px;font-size:8px}
.ad-main{grid-column:1;grid-row:1}.market{grid-column:1;grid-row:2}.live-panel{grid-column:1;grid-row:3}.community-title{grid-column:1;grid-row:4}#board-grid{grid-column:1;grid-row:5}footer{grid-column:1;grid-row:6}.market .chart-layout{grid-template-columns:minmax(0,1fr) 200px}.market #chart{height:270px}.market .platforms{padding:0 14px;gap:25px}.market .chart-toolbar{gap:10px}.market .quote strong{font-size:24px}.market .evidence{padding:13px 10px}.market .source small{font-size:8px}.market .source p{font-size:9px}.market .disclaimer{display:none}.market .chart-footer{font-size:8px;gap:8px}.market .chart-footer a{font-size:8px;color:var(--muted)}.live-panel{grid-template-columns:minmax(0,1fr) 200px}.live-panel .panel-heading>div p{display:none}#live-player{max-height:340px}.demo-table{height:160px}.live-now{padding:12px 10px}.live-footnote{font-size:8px;padding:10px}.ad-slot{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:4px;background:var(--panel);min-width:0}.ad-creative{display:block;line-height:0}.ad-creative img{display:block;width:100%;height:100%;object-fit:cover}.ad-main{min-height:78px}.ad-main .ad-creative{height:90px}.ad-wing .ad-creative{height:460px}.ad-sidebar .ad-creative{height:200px}.ad-label{position:absolute;right:5px;bottom:5px;background:#0006;color:#fff;padding:2px 4px;font-size:8px;line-height:1}.ad-apply{position:absolute;right:5px;top:5px;width:22px;height:22px;border:1px solid #ffffff55;background:#0003;color:white;border-radius:3px;padding:0;font-size:18px;line-height:18px}.ad-apply:hover{background:#0007}.ad-vacant{width:100%;height:100%;min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted);border-radius:0;background:var(--soft)}.ad-vacant strong{font:300 28px Arial}.ad-vacant span{font-size:10px}.ad-wing .ad-vacant{height:460px}.ad-main .ad-vacant{height:90px;min-height:0}.ad-sidebar .ad-vacant{height:200px}.ad-consent{display:flex!important;align-items:start;gap:8px;font-size:11px;line-height:1.7}.ad-consent input{width:auto;flex-shrink:0;margin-top:3px}#modal-body .ad-consent{display:flex}#modal-body form .muted{font-size:10px}.market #chart>div{max-width:100%}
@media(max-width:1450px){main{grid-template-columns:240px minmax(0,1fr) 220px;grid-template-areas:"chat content sidebar"}.ad-wing{display:none}.market .chart-layout{grid-template-columns:minmax(0,1fr) 180px}.live-panel{grid-template-columns:minmax(0,1fr) 180px}.market .intervals button{padding:5px 6px}}
@media(max-width:1150px){main{grid-template-columns:230px minmax(0,1fr);grid-template-areas:"chat content" "chat sidebar"}.right-sidebar{position:static;grid-template-columns:1fr 1fr;align-items:start}.market .chart-layout{display:block}.market .evidence{border-left:0;border-top:1px solid var(--line)}.market #evidence-list{display:flex;gap:12px;max-height:150px}.market .source{flex:1}.live-panel{display:block}#live-player{max-height:310px}.live-now{border-left:0}.ad-sidebar .ad-creative{height:230px}}
@media(max-width:1200px){main{display:flex;flex-direction:column;padding:10px;gap:12px}.content{order:0;width:100%}.right-sidebar{order:1;display:grid;grid-template-columns:1fr;width:100%}.chat{order:2;width:100%}.ad-wing{display:block;order:3;position:static;width:100%}.ad-wing .ad-creative,.ad-wing .ad-vacant{height:170px}.ad-wing .ad-creative img{object-fit:contain}.ad-main .ad-creative,.ad-main .ad-vacant{height:73px}.market #chart{height:250px}.market #evidence-list{display:block;max-height:130px}.market .chart-toolbar{flex-wrap:wrap}.market .chart-footer span{display:none}.market .chart-footer a{margin-left:auto}.market .platforms{gap:25px}.ad-sidebar .ad-creative{height:190px}.ad-sidebar .ad-creative img{object-fit:contain}.demo-table{height:140px}.right-sidebar .scam-row strong{font-size:11px}.right-sidebar .scam-row p{font-size:9px}}
/* Left column: account -> wider chat -> former wing advertisement. */
main{grid-template-columns:330px minmax(0,1fr) 235px;grid-template-areas:"left content sidebar";max-width:1760px}.left-column{grid-area:left;min-width:0;display:flex;flex-direction:column;gap:12px;align-self:start}.left-column .chat{grid-area:auto;position:static;top:auto;height:640px;min-height:0;width:100%}.left-column .ad-wing{grid-area:auto;display:block;position:static;width:100%}.left-column .ad-wing .ad-creative{height:310px;background:#162a48}.left-column .ad-wing img{object-fit:contain}.left-column .ad-wing .ad-vacant{height:220px}.account-panel{padding:14px}.account-panel form{display:flex;margin:0;gap:7px}.login-fields{display:grid;gap:5px;flex:1;min-width:0}.login-fields input{font-size:11px;padding:8px 9px;width:100%;height:33px}.account-panel form>.primary{width:65px;font-size:11px;border-radius:3px}.account-links{display:flex;align-items:center;gap:10px;padding-top:10px;font-size:10px;color:var(--muted)}.account-links button{padding:0;font-size:10px;color:var(--muted)}.account-links button:last-child{margin-left:auto}.account-links a{font-size:10px}.account-links>span{font-size:9px}.account-user{display:flex;gap:12px;align-items:center}.account-photo{width:52px;height:52px;padding:0;flex-shrink:0;border-radius:5px;background:var(--soft);border:1px solid var(--line);color:var(--muted);font-size:29px;overflow:hidden;display:grid;place-items:center}.account-photo img{width:100%;height:100%;object-fit:cover}.account-user strong{font-size:12px}.account-user p{font-size:10px;color:var(--muted);margin:9px 0 0}.account-user b{font-size:11px;color:var(--blue);margin-left:5px}#sidebar-login-error{font-size:10px;color:var(--red);line-height:1.6;margin:7px 0 0}#sidebar-login-error:empty{display:none}
@media(max-width:1450px){main{grid-template-columns:310px minmax(0,1fr) 220px;grid-template-areas:"left content sidebar"}.left-column .ad-wing{display:block}}
@media(max-width:1150px){main{grid-template-columns:300px minmax(0,1fr);grid-template-areas:"left content" "left sidebar"}.left-column .chat{height:620px}}
@media(max-width:1200px){main{display:flex}.left-column{order:0;width:100%;display:contents}.account-panel{order:-1;width:100%}.content{order:0}.right-sidebar{order:1}.left-column .chat{order:2;height:480px}.left-column .ad-wing{order:3;width:100%}.left-column .ad-wing .ad-creative{height:220px}.account-panel{padding:12px}.account-panel form>.primary{width:70px}}
/* Expandable 6-max first-in study chart, anchored to the right sidebar. */
.right-sidebar{grid-template-columns:minmax(0,1fr)}.pf-panel{padding:13px;min-width:0;position:relative;z-index:2;overflow:visible}.pf-heading{display:flex;align-items:center;gap:7px}.pf-heading h2{font-size:12px;margin:0}.pf-heading>span{font-size:8px;color:var(--muted);background:var(--soft);padding:3px 5px;border-radius:3px}.pf-heading>button{margin-left:auto;padding:3px 6px;font-size:15px;color:var(--muted)}.pf-subtitle{font-size:9px;color:var(--muted);margin:7px 0 14px}.pf-label{display:block;font-size:10px;color:var(--muted);margin:12px 0 7px}.pf-label small{font-size:8px;margin-left:5px}.pf-options{display:flex;gap:3px;flex-wrap:wrap}.pf-options button{padding:6px 7px;border:1px solid transparent;color:var(--muted);font-size:10px;border-radius:12px}.pf-options .selected{color:var(--text);background:var(--soft);border-color:var(--line)}.pf-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%;margin-top:14px;padding:10px;border:1px solid var(--line);background:var(--soft);text-align:left}.pf-summary>span{font-size:10px}.pf-summary>strong{font-size:15px;color:#74b5a1;margin-left:auto}.light .pf-summary>strong{color:#267761}.pf-summary>small{flex-basis:100%;font-size:9px;color:var(--muted)}.pf-panel.pf-expanded{width:min(590px,calc(100vw - 32px));justify-self:end;z-index:45;box-shadow:0 8px 28px #0003}.pf-legend{display:flex;align-items:center;gap:13px;margin:16px 0 9px;font-size:9px;color:var(--muted)}.pf-legend>span{display:flex;align-items:center;gap:4px}.pf-legend i{width:8px;height:8px;border-radius:1px;background:#3e7563}.pf-legend>span:nth-child(2) i{background:var(--soft);border:1px solid var(--line)}.pf-legend>small{font-size:9px;margin-left:auto}.pf-grid{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:2px}.pf-grid .pf-hand{aspect-ratio:1;min-width:0;padding:0;font:9px Arial,sans-serif;border:1px solid transparent;border-radius:2px;display:grid;place-items:center}.pf-hand.push{background:#396451;color:#edf8f0;font-weight:700}.pf-hand.fold{background:var(--soft);color:var(--muted)}.light .pf-hand.push{background:#c5e4d8;color:#245241}.light .pf-hand.fold{background:#f1f2f4;color:#9a9ca2}.pf-hand:hover,.pf-hand.pf-picked{border-color:var(--blue)}.pf-hand-detail{font-size:10px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--text);min-height:32px;margin:4px 0 0}.pf-range-text{font-size:10px;color:var(--muted);margin:11px 0;line-height:1.8}.pf-range-text summary{cursor:pointer}.pf-range-text p{word-break:break-word}.pf-caveat{font-size:9px;line-height:1.8;color:var(--muted);margin:10px 0 0}[hidden]{display:none!important}
@media(max-width:1150px){.right-sidebar{grid-template-columns:minmax(0,1fr)}.pf-panel.pf-expanded{width:100%}}
@media(max-width:1200px){.pf-panel.pf-expanded{width:100%;justify-self:stretch;box-shadow:none}.pf-grid .pf-hand{font-size:7px}.pf-legend{gap:8px;font-size:8px}.pf-legend>small{font-size:8px}.pf-panel{padding:12px}.pf-caveat{font-size:9px}.pf-options button{font-size:11px;padding:7px 10px}}
.right-sidebar:has(.pf-expanded){z-index:70}.pf-expanded .pf-subtitle{margin:4px 0 8px}.pf-expanded .pf-label{margin:8px 0 4px}.pf-expanded .pf-summary{margin-top:9px;padding:8px}.pf-expanded .pf-summary>small{flex-basis:auto;font-size:9px}.pf-expanded .pf-legend{margin-top:11px}.pf-expanded .pf-options button{padding:5px 8px}
.pf-scenario{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 7px}.pf-scenario label{font-size:9px;color:var(--muted);margin:0;min-width:0}.pf-scenario select{display:block;width:100%;min-width:0;margin-top:5px;padding:6px 4px;font-size:9px}.pf-seat-help{font-size:8px;line-height:1.7;color:var(--muted);margin:8px 0 0}#pf-unavailable{padding:10px;background:var(--soft);border:1px solid var(--line);font-size:10px;line-height:1.8;color:var(--muted)}.pf-hand.unavailable{color:var(--muted);background:var(--soft);opacity:.5}.pf-expanded .pf-scenario{grid-template-columns:repeat(4,minmax(0,1fr))}.pf-expanded .pf-scenario select{font-size:10px;padding:7px 5px}@media(max-width:1200px){.pf-expanded .pf-scenario{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Member summary: compact community-style account card. */
.account-user{padding:2px 0 15px;gap:12px}
.account-photo{width:30px;height:38px;border:0;background:transparent;flex-shrink:0;border-radius:3px}
.account-photo svg{width:25px;height:29px}
.account-photo img{width:36px;height:36px;object-fit:cover;border-radius:50%}
.account-user strong{font-size:14px;font-weight:700}
.account-user .account-tier{font-size:12px;margin:8px 0 0;color:var(--muted)}
.account-tier>span{font-size:20px;vertical-align:-2px;margin-right:4px}
.account-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);padding:17px 0 15px;text-align:center}
.account-stats>div{display:flex;flex-direction:column;gap:6px}
.account-stats b{font-size:19px;line-height:1.2;font-weight:700}
.account-stats span{font-size:11px;color:var(--muted)}
.account-points{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:11px 0 3px;font-size:11px;color:var(--muted)}
.account-points b{font-size:14px;color:var(--text)}
.account-points small{font-size:10px;font-weight:400}
.post-body .pb-strategy-lesson{font-size:15px;line-height:1.9;overflow-wrap:anywhere}.post-body .pb-strategy-lesson>p{margin:0 0 17px}.post-body .pb-strategy-lesson h2{font-size:20px;line-height:1.5;margin:34px 0 14px;color:var(--text)}.post-body .pb-eyebrow{font-size:12px;color:var(--muted);letter-spacing:.03em}.post-body .pb-hand-panel,.post-body .pb-math-panel{padding:22px;margin:24px 0;border:1px solid var(--line);border-radius:14px;background:var(--soft)}.post-body .pb-hand-panel h3{font-size:16px;margin:0 0 18px}.post-body .pb-hand-row{display:flex;flex-wrap:wrap;gap:24px}.post-body .pb-hand-group p,.post-body .pb-board>p{font-size:12px;color:var(--muted);margin:0 0 9px}.post-body .pb-card{display:inline-flex;vertical-align:middle;flex-direction:column;align-items:center;justify-content:center;width:48px;height:66px;box-sizing:border-box;margin:0 5px 5px 0;border-radius:8px;border:1px solid #dbe0e9;background:#f9fbff;color:#242831;box-shadow:0 2px 5px #0002;line-height:1.15}.post-body .pb-card b{font-size:21px}.post-body .pb-card>span{font-size:22px}.post-body .pb-card.pb-heart{color:#c83552}.post-body .pb-card.pb-diamond{color:#2564b8}.post-body .pb-card.pb-club{color:#267344}.post-body .pb-board{margin-top:18px}.post-body .pb-math-panel{border-color:#c7a87370;background:#c7a8730d}.post-body .pb-math-value{font-size:18px;margin:8px 0}.post-body .pb-math-value strong{font-size:36px;color:var(--brand-gold,#c7a873);white-space:nowrap}.post-body .pb-formula{font-size:17px;font-variant-numeric:tabular-nums}.post-body .pb-lesson-note{font-size:12px;line-height:1.75;color:var(--muted);margin-top:14px}.post-body .pb-lesson-takeaway{margin:26px 0;padding:18px 22px;border:0;border-left:3px solid var(--brand-gold,#c7a873);border-radius:0 12px 12px 0;background:var(--soft)}.post-body .pb-lesson-takeaway p{margin:0 0 9px}.post-body .pb-lesson-takeaway p:last-child{margin-bottom:0}@media(max-width:480px){.post-body .pb-strategy-lesson{font-size:14px}.post-body .pb-strategy-lesson h2{font-size:18px}.post-body .pb-hand-panel,.post-body .pb-math-panel{padding:16px}.post-body .pb-card{width:42px;height:59px}.post-body .pb-hand-row{gap:18px}.post-body .pb-math-value strong{font-size:30px}}

/* features.css */

.ad-slot,.ad-main,.ad-sidebar,.left-column .ad-wing .ad-slot{min-height:0;height:38px;background:transparent;border:1px dashed var(--line);display:flex;align-items:center;justify-content:center}
.ad-plus-only{width:100%;height:36px;padding:0;font-size:23px;font-weight:300;color:var(--muted);border-radius:0}
.ad-plus-only:hover{background:var(--soft);color:var(--text)}
.hu-chat-tools{display:flex;gap:4px;border-bottom:1px solid var(--line);padding:5px 8px;justify-content:space-between}
.hu-chat-tools button,#hu-challenge{font-size:10px;padding:5px 6px;color:var(--blue,#8bbaff)}
.dm-search{display:flex;padding:8px;gap:4px}.dm-search input{min-width:0;width:100%;font-size:11px}.dm-search button{font-size:11px;flex-shrink:0}
#board-page{padding:22px;min-height:550px;order:0}#board-page[hidden]{display:none}
.board-screen .content{display:flex;flex-direction:column}.board-screen .content>.live-panel,.board-screen .content>.market,.board-screen .content>.community-title,.board-screen #board-grid{display:none!important}
.board-screen .content>.ad-main{order:-1}.board-nav{display:flex;gap:15px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px;font-size:12px}.board-nav .active{color:var(--blue,#8bbaff)}
.board-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:25px 0 16px}.board-title h1{font-size:20px;margin:0;overflow-wrap:anywhere}.button{padding:9px 14px;border-radius:3px;font-size:12px}
.board-list-head,.board-list-row{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding:15px 6px}.board-list-head{background:var(--soft);color:var(--muted);font-size:11px}.board-list-row{font-size:13px}.board-list-row:hover{background:var(--soft)}.board-list-row>span{overflow-wrap:anywhere}.board-list-row>small{color:var(--muted);font-size:10px;flex-shrink:0}.board-list-row small:first-child{color:var(--blue,#8bbaff)}
.page-actions{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin:22px 0;font-size:12px}.page-empty{padding:65px 10px;text-align:center}.post-meta{color:var(--muted);font-size:11px;padding-bottom:18px;border-bottom:1px solid var(--line)}.post-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:14px;padding:30px 0;min-height:180px}
#page-post-form label{display:block;margin:20px 0 8px}#page-post-form input,#page-post-form textarea,#page-post-form select{width:100%}#page-post-form textarea{height:340px;padding:14px;line-height:1.8}#page-post-form{display:block}
.comments-section{border-top:1px solid var(--line);padding-top:16px}.comments-section textarea{width:100%;min-height:80px;padding:12px}.comments-section form{display:block}.comments-section form>button{display:block;margin:10px 0 0 auto}.comment{padding:16px 0;border-bottom:1px solid var(--line)}.comment strong{font-size:12px}.comment time{font-size:10px;color:var(--muted);margin-left:15px}.comment p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.comment button{padding:0;color:var(--muted);font-size:10px}
.points-summary{display:flex;justify-content:space-between;align-items:center;background:var(--soft);padding:18px}.points-summary strong{font-size:23px}.point-rules>div,.wallet-history>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:10px 0;font-size:12px}.point-rules small,.wallet-history small{font-size:10px;color:var(--muted);display:block;font-weight:400;margin-top:5px}#claim-form{display:block}#claim-form select,#claim-form textarea{width:100%}#claim-form p{font-size:11px}.wallet-history{max-height:280px;overflow:auto}
.game-invite-row{display:flex;justify-content:space-between;width:100%;border-bottom:1px solid var(--line);padding:17px 5px;font-size:12px}.hu-match{display:flex;justify-content:space-between;gap:16px;font-size:12px}.poker-table{margin-top:16px;background:#123d35;border:6px solid #253c38;border-radius:70px;padding:22px 10px;text-align:center;color:#fff}.poker-player{display:flex;flex-direction:column;align-items:center;gap:7px}.poker-player>span{font-size:12px;color:#c4ddd0}.playing-card{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;background:#fff;color:#202832;width:39px;height:55px;margin:3px;border-radius:4px;font-size:19px;box-shadow:0 1px 3px #0006}.playing-card small{font-size:18px}.playing-card.red{color:#c64747}.playing-card.back{background:#2f617f;color:#b7d0df;border:2px solid #81a6bc}.poker-community{min-height:80px;display:flex;justify-content:center;align-items:center;margin:9px 0}.poker-pot{font-size:12px;margin-bottom:16px;color:#c4ddd0}.hu-status{text-align:center}.hu-actions{display:flex;flex-wrap:wrap;gap:5px;align-items:flex-end}.hu-actions>button{background:var(--soft);border:1px solid var(--line);font-size:12px}.hu-actions button:disabled{opacity:.35;cursor:default}.hu-actions label{font-size:10px!important;margin:0!important}.hu-actions input{display:block;width:110px;margin-top:6px}#modal-body .hu-match+p{font-size:12px}
@media(max-width:1200px){#board-page{padding:15px}.board-list-row{flex-direction:column;gap:8px}.board-nav{gap:12px}.board-title h1{font-size:18px}.playing-card{width:33px;height:47px;font-size:17px}.hu-match{flex-direction:column;gap:6px}}
.board-screen .content{align-items:stretch}.board-screen #board-page,.board-screen .content>.ad-main{width:100%}

.comments-section h3{font-size:17px;font-weight:600;margin:0 0 10px}.comments-section h3 span{color:#f47c30;margin-left:5px}
.thread-comment{position:relative;display:grid;grid-template-columns:155px minmax(0,1fr);gap:12px 20px;padding:22px 8px 20px;border-top:1px dashed var(--line);min-height:125px}.comment-author strong{display:block;font-size:13px;font-weight:500}.comment-author time{display:block;font-size:11px;color:var(--muted);margin-top:5px;font-variant-numeric:tabular-nums}.comment-level{display:inline-block;background:var(--soft);border:1px solid var(--line);color:var(--muted);font:10px/13px Arial;min-width:13px;height:14px;text-align:center}.comment-content p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9;margin:0}.comment-actions{grid-column:2;display:flex;gap:16px;justify-content:flex-end;align-items:center;padding-top:14px}.comment-actions button{padding:2px 0;display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--muted)}.comment-actions svg{width:19px;height:19px}.comment-actions .vote-down svg{transform:rotate(180deg)}.comment-actions button.selected{color:var(--blue)}.comment-mention{display:block;color:var(--muted);font-size:12px;margin-bottom:7px}.thread-comment.is-reply{padding-left:31px;grid-template-columns:155px minmax(0,1fr)}.is-reply .comment-content p{color:var(--blue)}.reply-arrow{position:absolute;left:7px;top:23px;color:#f47c30;font-size:20px;font-weight:700}.reply-editor{grid-column:2}.comment-reply-form{display:block}.comment-reply-form>div{display:flex;justify-content:flex-end;gap:8px;margin-top:7px}.comment-reply-form label{font-size:12px;color:var(--muted);display:block;margin:6px 0}.is-deleted{min-height:65px}.is-deleted .comment-content p{color:var(--muted);font-size:12px}
.post-image-link{display:block;margin:18px 0;white-space:normal}.post-image-link img{display:block;max-width:100%;height:auto;border-radius:3px}#post-image-editor[hidden]{display:none}#post-image-editor>p{font-size:12px}#post-image-preview,#existing-post-images{display:flex;gap:12px;flex-wrap:wrap}#post-image-preview figure{margin:10px 0;width:140px}#post-image-preview img,.existing-post-image img{width:140px;height:100px;object-fit:cover;border:1px solid var(--line);border-radius:4px}#post-image-preview figcaption{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.existing-post-image{margin:10px 0!important}.existing-post-image span{display:block;font-size:12px}#page-post-form .existing-post-image input{width:auto}#post-image-error{color:var(--red);font-size:12px}
@media(max-width:1200px){.thread-comment,.thread-comment.is-reply{grid-template-columns:minmax(0,1fr);gap:12px;padding-top:16px}.comment-author strong,.comment-author time{display:inline-block}.comment-author time{margin-left:10px}.comment-actions,.reply-editor{grid-column:1}.comment-content p{font-size:14px}.thread-comment.is-reply{padding-left:27px}.reply-arrow{top:15px}}
.comment-author strong{overflow-wrap:anywhere}.comment-actions button:hover{color:var(--text)}

.hu-round{display:flex;justify-content:space-between;gap:10px;margin-top:14px;font-size:13px}.hu-round span{color:var(--muted)}
.poker-player{position:relative;padding:10px;border:2px solid transparent;border-radius:12px}.poker-player.is-turn{border-color:#d0ad5c;background:#ffffff0c}.poker-player em{font-size:10px;font-style:normal;color:#e5ca87}.turn-label{font-size:11px;color:#f5d98e}.hu-status{padding:10px;border:1px solid var(--line);border-radius:5px;font-weight:700}.hu-status.my-turn{color:#d4b56c;border-color:#9b8249}.hu-history{border:1px solid var(--line);border-radius:5px;margin:12px 0;font-size:12px}.hu-history summary{padding:10px;cursor:pointer;font-weight:700}.hu-history ol{max-height:160px;overflow:auto;margin:0;padding:0 12px 10px;list-style:none}.hu-history li{display:flex;gap:10px;border-top:1px solid var(--line);padding:7px 0;align-items:baseline}.hu-history li small{width:55px;flex-shrink:0;color:var(--muted)}.hu-history li strong{min-width:70px;overflow-wrap:anywhere}.hu-history li span{margin-left:auto;text-align:right}.hu-decision{padding:10px 0;font-size:13px}.hu-actions{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:8px}.hu-actions label{grid-column:3;grid-row:1/3}.hu-actions input{width:100%;font-size:16px;padding:12px}.hu-actions>button{padding:12px 8px;font-size:13px}.hu-actions>button[data-hu-move="resign"]{font-size:11px;color:var(--muted)}.hu-actions>button[data-hu-move="check"],.hu-actions>button[data-hu-move="call"]{border-color:#9b8249;color:var(--text);font-weight:700}.hu-actions>button:disabled{opacity:.3}

.post-editor{border:1px solid var(--border,#444);border-radius:6px;overflow:hidden;background:var(--panel,#121212);min-width:0}.post-editor-toolbar{display:flex;flex-wrap:wrap;gap:3px;padding:6px;border-bottom:1px solid var(--border,#444)}.post-editor-toolbar button{min-width:30px;height:32px;padding:3px 7px;background:transparent;color:inherit;border:0;border-radius:4px;font-size:15px}.post-editor-toolbar button:hover,.post-editor-toolbar button:focus-visible{background:#7774}.post-editor-toolbar input[type=color]{width:30px;height:30px;padding:4px;border:0;background:transparent;cursor:pointer}.post-editor-content{min-height:360px;max-height:750px;overflow:auto;padding:16px;outline:none;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.post-editor-content:focus{box-shadow:inset 0 0 0 1px #b69b67}.post-editor-content:empty:before{content:attr(data-placeholder);color:#888}.post-editor-count{text-align:right;padding:6px 12px;border-top:1px solid var(--border,#444);color:#999;font-size:12px}.post-editor-count.over-limit{color:#ed6767}.rich-post-body{white-space:normal!important;overflow-wrap:anywhere}.rich-post-body p,.rich-post-body div,.post-editor-content p{margin:0 0 .7em}.rich-post-body a,.post-editor-content a{text-decoration:underline;color:#8bb8ee}.rich-post-body h1,.post-editor-content h1{font-size:2em}.rich-post-body h3,.post-editor-content h3{font-size:1.35em}.rich-post-body h6,.post-editor-content h6{font-size:1em}.rich-post-body ul,.rich-post-body ol{padding-left:1.8em}.rich-post-body li{list-style:inherit}@media(max-width:600px){.post-editor-content{min-height:300px;padding:12px}.post-editor-toolbar{gap:2px;padding:4px}.post-editor-toolbar button{min-width:29px}}

#page-post-form .post-editor-toolbar input[type=color]{width:30px;height:30px}.post-editor-content em,.rich-post-body em{font-style:italic;font-size:inherit;color:inherit}.post-editor-content ul,.rich-post-body ul{list-style:disc}.post-editor-content ol,.rich-post-body ol{list-style:decimal}

.post-editor-content i,.rich-post-body i{font-style:italic;background:transparent;width:auto;height:auto;border-radius:0}.post-editor-link:not([hidden]){display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px;border-bottom:1px solid var(--line,#444)}.post-editor-link[hidden]{display:none!important}.post-editor-link input{flex:1 1 150px;min-width:0}.post-editor-link span{flex-basis:100%;font-size:12px;color:#ef7a86}#page-post-form .post-editor-link input,.editor .post-editor-link input{width:auto;margin:0}.post-editor-link button{flex:0 0 auto;padding:6px 10px}

/* Public pages start with their controls/content, without repeated page-name headings. */
.board-title,.mypage-title,.hu-portal-top h1,.level-shop-heading h1,.shop-heading h1{display:none!important}
#page-post-form .post-title-row{display:flex;gap:8px;align-items:center;margin-bottom:12px;min-width:0}
#page-post-form #page-category{flex:0 0 125px;width:125px;margin:0;height:42px;padding:8px 10px}
#page-post-form #page-title{flex:1 1 0;width:0;min-width:0;margin:0;height:42px}
@media(max-width:600px){#page-post-form #page-category{flex-basis:100px;width:100px;padding:8px 6px}.post-title-row{gap:6px}}

/* Inline text size control; headings remain paragraph-level formatting. */
.post-editor-toolbar select.post-editor-font-size{flex:0 0 auto;width:auto;min-width:92px;max-width:120px;height:32px;margin:0;padding:3px 6px;border:1px solid var(--border,#444);border-radius:4px;background:var(--panel,#121212);color:inherit;font:inherit;font-size:14px}

/* One canonical notice: optional cross-board sharing and title color. */
.notice-sharing-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;min-width:0;margin:12px 0;padding:10px;border:1px solid var(--line,#444);border-radius:4px}
.notice-sharing-controls[hidden]{display:none!important}
.notice-sharing-controls legend{padding:0 5px;font-size:12px}
#page-post-form .notice-sharing-controls label,.editor .notice-sharing-controls label{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:12px}
#page-post-form .notice-sharing-controls input[type=checkbox],.editor .notice-sharing-controls input[type=checkbox]{width:auto;margin:0;flex:none}
#page-post-form .notice-sharing-controls select,.editor .notice-sharing-controls select{width:auto;margin:0;padding:5px;max-width:120px}
.notice-sharing-controls small{flex-basis:100%;font-size:11px;color:var(--muted,#888)}

/* readability.css */
/* Readable community typography and themed, independent content scrolling. */
:root{--muted:#adb5c2;--scroll-thumb:#596475;--scroll-hover:#7a879a;--scroll-track:#20252d}
body.light{--text:#202936;--muted:#596577;--scroll-thumb:#a6b1bf;--scroll-hover:#7b899b;--scroll-track:#edf0f4}
body{font-family:"Malgun Gothic","맑은 고딕",Arial,sans-serif;font-size:14px;line-height:1.6;letter-spacing:0;-webkit-font-smoothing:antialiased}
input,textarea,select{color:var(--text)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
nav a{font-size:14px}.header-actions .primary{font-size:12px}.ticker{font-size:12px}.ticker small{font-size:11px}
h2,.panel-heading h2,.board-head h3,.community-title h2{font-size:15px}.panel-heading p,.panel-heading .muted{font-size:12px}
.chat-tabs button{font-size:13px}.message{font-size:13px;line-height:1.85}.chat-name,.message-text{font-size:13px}.chat-name{font-weight:700}.chat-note{font-size:11px;line-height:1.65}.chat-bottom small,#identity,#identity button{font-size:11px}#chat-input{font-size:13px}.hu-chat-tools button,#hu-challenge{font-size:12px}
.account-user strong{font-size:15px}.account-user .account-tier{font-size:13px}.account-stats span,.account-links,.account-links a,.account-links button,.account-points{font-size:12px}.account-links>span{font-size:11px}.login-fields input{font-size:13px}.account-panel form>.primary{font-size:13px}
.platforms button,.market .platforms button{font-size:13px}.market .chart-toolbar .muted{font-size:12px}.market .intervals button{font-size:12px}.market .ohlc{font-size:11px;line-height:1.5;height:auto;min-height:17px}.market .chart-footer,.market .chart-footer a{font-size:11px}.evidence h3{font-size:13px}.evidence-title span,.market .source small,.source small,.source label{font-size:11px}.market .source p,.source p{font-size:12px;line-height:1.8}.evidence>p{font-size:11px}
.post-row{font-size:13px;padding:12px 14px}.post-row time{font-size:11px}.board-head button,.community-title span,.community-title button{font-size:12px}.board-list-row{font-size:14px}.board-list-row>small,.post-meta{font-size:12px}.post-body{font-size:15px;line-height:1.9}.board-list-head,.board-nav{font-size:13px}
.right-sidebar .scam-row strong,.scam-row strong{font-size:13px;line-height:1.7}.right-sidebar .scam-row p,.scam-row p,.scam-row small{font-size:11px;line-height:1.7}.scam-pagination,.scam-pagination button,#scam-search input{font-size:12px}.scam-panel .panel-heading{padding:14px 12px}
.pf-heading h2{font-size:14px}.pf-scenario label,.pf-subtitle,.pf-subtitle span,.pf-label,.pf-explainer{font-size:11px}.pf-scenario select,.pf-positions button,.pf-stacks button{font-size:12px}.pf-summary span{font-size:12px}.pf-summary small{font-size:11px}.pf-hand{font-size:10px}
.live-now,.live-list button,.live-footnote,.live-panel .live-footnote{font-size:11px}.live-empty p{font-size:13px}footer,footer small{font-size:11px}
:where(.content,#messages,#evidence-list,.left-column,.right-sidebar,.wallet-history,dialog,textarea){scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) var(--scroll-track);overscroll-behavior-y:contain}
::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--scroll-track);border-radius:8px}::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border:2px solid var(--scroll-track);border-radius:8px}::-webkit-scrollbar-thumb:hover{background:var(--scroll-hover)}::-webkit-scrollbar-corner{background:transparent}
@media(min-width:1201px){
 .content{display:flex;flex-direction:column;align-items:stretch;max-height:calc(100dvh - 126px);overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;padding-right:8px;align-content:start;min-height:0}
 .content>*{min-width:0;flex-shrink:0;width:100%}.content>.ad-main{order:0}.content>.market{order:1}.content>.live-panel{order:2}.content>.community-title{order:3}.content>#board-grid{order:4}.content>footer{order:5}.board-screen #board-page{order:1}
 .left-column{max-height:calc(100dvh - 126px)}.left-column>.account-panel,.left-column>.ad-wing{flex-shrink:0}.left-column .chat{height:640px;flex:1 1 640px;min-height:300px}
}
@media(max-width:1100px){.content{max-height:none;overflow:visible;padding-right:0}.market .source p{font-size:12px}}
@media(max-width:1200px){body{font-size:14px}.post-row time{font-size:11px}.market .ohlc{font-size:10px}.account-panel form>.primary{font-size:13px}.hu-chat-tools button{font-size:12px}}

/* The expanded solver overlays the content without resizing its sidebar slot. */
html{scrollbar-gutter:stable}
.pf-slot{position:relative;min-width:0;width:100%}
.pf-slot>.pf-panel{width:100%;box-sizing:border-box}
.pf-slot>.pf-panel.pf-expanded{position:absolute;top:0;right:0;width:min(590px,calc(100vw - 32px));max-height:var(--pf-available-height,calc(100dvh - 32px));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;justify-self:auto;box-shadow:0 8px 28px #0003;z-index:75}
.pf-slot .pf-expanded .pf-grid{flex-shrink:0}
@media(max-width:1200px){.pf-slot>.pf-panel.pf-expanded{position:fixed;top:12px;right:12px;width:calc(100% - 24px);max-height:calc(100dvh - 24px);z-index:90}}

/* Shared lower edge for the three desktop columns; footer follows the entire grid. */
.site-footer{width:calc(100% - 32px);max-width:1728px;margin:0 auto;padding:20px 0 24px;border-top:1px solid var(--line);display:flex;align-items:center;gap:20px;flex-wrap:wrap;min-height:72px;font-size:12px}
.site-footer .brand{font-size:16px;gap:0}.site-footer small{margin-left:auto;font-size:11px}.site-footer>a:not(.brand){color:var(--muted)}
@media(min-width:1201px){
 main{height:max(1000px,calc(100dvh - 176px));padding:16px;align-items:stretch;grid-template-rows:minmax(0,1fr)}
 main>.left-column,main>.content,main>.right-sidebar{height:100%;max-height:none;min-height:0;align-self:stretch}
 .left-column .chat{height:auto;min-height:0;flex:1 1 0}.left-column .chat>#messages{min-height:0;flex:1}.left-column .chat>:not(#messages){flex-shrink:0}
 .content{max-height:none;min-height:0}
 .right-sidebar{position:relative;top:auto;display:flex;flex-direction:column;gap:12px}
 .right-sidebar>.pf-slot,.right-sidebar>.ad-sidebar{flex-shrink:0}
 .right-sidebar>.scam-panel{flex:1 1 0;min-height:0;display:flex;flex-direction:column}
 .scam-panel>.panel-heading,.scam-panel>form,.scam-panel>.scam-pagination{flex-shrink:0}
 .scam-panel>#scam-list{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) var(--scroll-track)}
 .right-sidebar>.ad-sidebar{margin-top:auto}
}
@media(max-width:1200px){.site-footer{width:calc(100% - 24px);gap:12px;padding:18px 0}.site-footer>span{display:none}.site-footer small{flex-basis:100%;margin-left:0}.left-column .chat{height:650px}}

/* One document scroll: let all page content determine its natural height. */
@media(min-width:1201px){
 main{height:auto;min-height:0;grid-template-rows:auto;align-items:stretch}
 main>.left-column,main>.content,main>.right-sidebar{height:auto;max-height:none;min-height:0}
 .content{overflow:visible;max-height:none;padding-right:0;scrollbar-gutter:auto;overscroll-behavior-y:auto}
 .left-column .chat{height:auto;min-height:650px;flex:1 1 auto}
 .right-sidebar>.scam-panel{flex:1 1 auto;min-height:0}
 .scam-panel>#scam-list{flex:0 0 auto;overflow:visible;max-height:none}
 .right-sidebar>.ad-sidebar{margin-top:auto}
}

/* Keep chat compact rather than stretching to the full article column. */
@media(min-width:1201px){
 main>.left-column{align-self:start}
 .left-column .chat{height:600px;min-height:0;flex:0 0 auto}
 .left-column .chat>#messages{min-height:0;overflow-y:auto}
}
@media(max-width:1100px){.left-column .chat{height:560px;min-height:0;flex:0 0 auto}}

@media(min-width:1201px){.left-column .chat{height:700px}}

.mobile-tabs,.mobile-more{display:none}
@media(max-width:1200px){
 body[data-mobile-view]{padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))}
 .mobile-tabs{position:fixed;bottom:0;left:0;right:0;z-index:80;height:calc(64px + env(safe-area-inset-bottom,0px));padding:5px 6px calc(5px + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;border-top:1px solid var(--line);background:var(--panel);box-shadow:0 -4px 15px #0001}
 .mobile-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:3px 0;border-radius:5px;color:var(--muted);font-size:11px;line-height:1.2;min-width:0}
 .mobile-tabs button svg{width:22px;height:22px}.mobile-tabs button.active{color:var(--blue);background:var(--soft)}
 body[data-mobile-view] main{min-height:calc(100dvh - 180px)}
 body[data-mobile-view] .left-column,body[data-mobile-view] .right-sidebar{display:contents}
 body[data-mobile-view] .account-panel,body[data-mobile-view] .chat,body[data-mobile-view] .ad-wing,body[data-mobile-view] .content,body[data-mobile-view] .pf-slot,body[data-mobile-view] .scam-panel,body[data-mobile-view] .ad-sidebar,body[data-mobile-view] .site-footer{display:none!important}
 body[data-mobile-view="home"] .account-panel{display:block!important}
 body[data-mobile-view="home"] .content,body[data-mobile-view="boards"] .content,body[data-mobile-view="market"] .content{display:flex!important;flex-direction:column;width:100%;gap:14px}
 body[data-mobile-view] .content>*{display:none!important}
 body[data-mobile-view="home"] .content>.ad-main,body[data-mobile-view="home"] .content>.live-panel{display:grid!important}
 body[data-mobile-view="home"] .content>.ad-main{display:flex!important;order:0}body[data-mobile-view="home"] .content>.live-panel{order:1}
 body[data-mobile-view="chat"] .chat{display:flex!important;width:100%;height:max(540px,calc(100dvh - 175px));min-height:0;flex:none;order:0}
 body[data-mobile-view="boards"]:not(.board-screen) .content>.community-title{display:flex!important}
 body[data-mobile-view="boards"]:not(.board-screen) .content>#board-grid{display:grid!important}
 body[data-mobile-view="boards"].board-screen .content>#board-page{display:block!important}
 body[data-mobile-view="market"] .content>.market{display:block!important}
 body[data-mobile-view="solver"] .pf-slot{display:block!important;width:100%;height:auto!important;order:0}
 body[data-mobile-view="solver"] .pf-slot>.pf-panel.pf-expanded{position:relative;top:auto;right:auto;width:100%;max-height:none;overflow:visible;box-shadow:none}
 body[data-mobile-view="more"] .mobile-more,body[data-mobile-view="more"] .scam-panel{display:block!important;width:100%}
 body[data-mobile-view="more"] .site-footer{display:flex!important}
 .mobile-more{padding:18px;order:-1}.mobile-more h2{margin:0 0 10px}.mobile-more button{display:block;width:100%;text-align:left;padding:13px 4px;border-bottom:1px solid var(--line);font-size:14px}
 #toast{bottom:calc(78px + env(safe-area-inset-bottom,0px))}
}

/* Single-column navigation: each tab owns its content. */
@media(max-width:1200px){
 .mobile-tabs{grid-template-columns:repeat(7,minmax(0,1fr))}
 .mobile-tabs button{font-size:10px}.mobile-tabs button span{max-width:100%;word-break:keep-all;text-align:center}
 body[data-mobile-view] #live.live-panel{display:none!important}
 body[data-mobile-view="home"]:not(.board-screen) #live.live-panel,body[data-mobile-view="live"]:not(.board-screen) #live.live-panel{display:block!important}
 body[data-mobile-view="live"] .content{display:flex!important;flex-direction:column;width:100%;min-width:0}
 body[data-mobile-view] main,body[data-mobile-view] .content,body[data-mobile-view] .content>*{min-width:0;max-width:100%;box-sizing:border-box}
 body[data-mobile-view="boards"] #board-grid{grid-template-columns:minmax(0,1fr);width:100%}
 body[data-mobile-view="boards"] #board-page{width:100%;min-width:0;overflow-wrap:anywhere}
 .board-nav{flex-wrap:wrap;gap:10px}.board-list-row>span,.board-list-row>small{min-width:0;max-width:100%;overflow-wrap:anywhere}
 .board-title{flex-wrap:wrap;gap:10px}.board-title h1{min-width:0;overflow-wrap:anywhere}
 .post-body img,.post-images img{max-width:100%;height:auto}
}

@media(max-width:1200px){
 body[data-mobile-view="market"] .content{align-items:stretch}
 body[data-mobile-view="market"] .content>#market{width:100%!important;max-width:100%;min-width:0;align-self:stretch;flex:0 0 auto}
 body[data-mobile-view="market"] #market .chart-layout,body[data-mobile-view="market"] #market .chart-main,body[data-mobile-view="market"] #market .evidence{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
 body[data-mobile-view="market"] #market .chart-layout{display:block}
 body[data-mobile-view="market"] #market #chart{width:100%;min-width:0;max-width:100%}
 body[data-mobile-view="market"] #market .platforms{display:flex;gap:0;justify-content:space-between;flex-wrap:wrap}
 body[data-mobile-view="market"] #market .chart-toolbar{flex-wrap:wrap;gap:10px}
}

/* email.css */
.email-confirm{display:block!important;width:min(520px,calc(100% - 32px));height:auto!important;min-height:0!important;margin:10vh auto;padding:30px!important}.email-confirm h1{font-size:23px;margin:28px 0 18px}.email-confirm p{font-size:14px;line-height:1.9;color:var(--muted)}.email-confirm form{display:block;margin:24px 0}.email-home{display:block;margin-top:24px;color:var(--blue)}.email-error{color:var(--red)!important}.email-notice{padding:12px;background:var(--soft);font-size:13px;line-height:1.8}#auth-form label,#resend-form label{display:block;margin-top:14px}#auth-form input,#resend-form input{width:100%}#resend-form{display:block}#email-feedback{color:var(--red);font-size:12px;line-height:1.8}

/* brand.css */
.brand{--brand-gold:#efc16c;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;flex-shrink:0;color:var(--text,#e9edf4)}body.light .brand{--brand-gold:#a87009}.brand .brand-chip{display:block;width:30px;height:30px;flex-shrink:0;fill:currentColor;color:var(--brand-gold);letter-spacing:0}.brand .brand-word{font:900 23px/1 Arial,sans-serif;letter-spacing:-.8px}.brand .brand-gold{color:var(--brand-gold)}.site-footer .brand{gap:6px}.site-footer .brand-chip{width:23px;height:23px}.site-footer .brand-word{font-size:17px}.sidebar .brand .brand-word,.login .brand .brand-word{font-size:22px}.sidebar .brand-chip{width:28px;height:28px}@media(max-width:1200px){header>.brand{gap:6px}header>.brand .brand-chip{width:25px;height:25px}header>.brand .brand-word{font-size:20px}}
.brand .brand-word{color:var(--text,#e9edf4)}

/* theme-controls.css */
/* Shared restrained controls: charcoal actions, muted gold selection. */
:root{--blue:#c7a873;--green:#c7a873;--control-bg:#34383f;--control-hover:#434952;--control-border:#555c67;--control-text:#f0f1f3;--selection-bg:#c7a87312}
body.light{--blue:#89682f;--green:#89682f;--control-bg:#34383f;--control-hover:#454b54;--control-border:#34383f;--control-text:#fff;--selection-bg:#89682f0c}
button.primary,a.primary,.button.primary,input[type="submit"],.header-actions .primary{background:var(--control-bg);border:1px solid var(--control-border);color:var(--control-text);font-weight:500;box-shadow:none}
button.primary:hover,a.primary:hover,.button.primary:hover,.header-actions .primary:hover{background:var(--control-hover);border-color:var(--control-hover);color:var(--control-text)}
button.primary:disabled,a.primary[aria-disabled="true"]{opacity:.5;cursor:default}
header nav .active{border-bottom-color:var(--blue);color:var(--text)}
.chat-tabs button.selected{border-bottom-color:var(--blue);color:var(--text)}
.platforms button.selected{border-bottom-color:var(--blue)}
.mobile-tabs button.active{color:var(--blue);background:var(--selection-bg)}
.sidebar nav .active{color:var(--blue);background:var(--selection-bg)}
.subtle,.button:not(.primary){color:var(--muted)}
.subtle:hover,.button:not(.primary):hover{color:var(--text);background:var(--soft,#25292f)}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.pf-options .selected{border-color:var(--line);color:var(--text)}
.hu-chat-tools button,#hu-challenge,.comment-actions button.selected{color:var(--blue)}

/* live-layout.css */
/* Keep the player and its metadata together; playlist cannot stretch the video. */
#live.live-panel{display:block!important;height:auto!important;min-height:0!important}
.live-body{display:flex;align-items:stretch;min-width:0}
.live-primary{flex:1;min-width:0}
#live #live-player{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:16/9;display:block;overflow:hidden}
#live-player iframe{width:100%;height:100%;display:block;border:0}
#live .live-now{display:flex;align-items:center;justify-content:space-between;border-left:0;border-top:1px solid var(--line);border-bottom:0;padding:12px 16px;min-height:0;gap:14px}
#live .live-now>div{min-width:0}
#live .live-now strong{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
#live .live-now p{font-size:12px;margin:5px 0 0;color:var(--muted)}
.live-playlist{width:200px;flex-shrink:0;border-left:1px solid var(--line);position:relative;min-height:0}
#live .live-list{position:absolute;inset:0;height:auto;max-height:none;overflow-y:auto;padding:6px}
#live .live-card{gap:8px;padding:8px;width:100%}
#live .live-card img{width:76px;flex-shrink:0}
#live .live-card strong{font-size:12px;line-height:1.5;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#live .live-card small,#live .live-card p{font-size:10px}
#live .live-footnote{margin:0;padding:9px 16px;border-top:1px solid var(--line);font-size:11px;line-height:1.6}
@media(max-width:1200px){.live-body{display:block}.live-playlist{width:100%;border-left:0;border-top:1px solid var(--line)}#live .live-list{position:static;max-height:220px}#live .live-card img{width:100px}#live .live-now{padding:12px}#live .live-now strong{font-size:13px}}

/* Board routes override the live panel display rule, including mobile layouts. */
body.board-screen #live.live-panel{display:none!important}

@media(max-width:1200px){
 body[data-mobile-view="live"] #live .live-list{position:static;height:auto;max-height:none;overflow:visible}
 body[data-mobile-view="live"] #live .live-playlist{height:auto;max-height:none;overflow:visible}
}

/* color-mood.css */
/* Gamebit neutral charcoal surfaces; community accent colors remain. */
body:not(.light){--bg:#121212;--panel:#1e1e1e;--soft:#2a2a2a;--line:#333333;--text:#dce5f3;--muted:#a1afc5;background:#121212;color:var(--text)}
body:not(.light) header{background:#1e1e1e;border-bottom-color:#333333}body:not(.light) .ticker{background:#1a1a1a;color:#a8b9d3}
body:not(.light) .panel,body:not(.light) .account-panel{background:var(--panel);border-color:var(--line)}
#market .chart-layout{display:block!important;grid-template-columns:minmax(0,1fr)!important}
#market .chart-main{width:100%;min-width:0;box-sizing:border-box}
body:not(.light) .platforms{background:#252526}#market .quote strong{color:#8fd1c1}
body:not(.light) #board-page .board-nav a,body:not(.light) .board-list-row small{color:#a8b9d3}
body:not(.light) .chat-tabs button.selected{color:var(--text);border-bottom-color:var(--blue)}body:not(.light) .message-text{color:#becbdf}
body:not(.light) button.primary,body:not(.light) a.primary{background:#304a51;border-color:#49666c;color:#e1f0ed}body:not(.light) button.primary:hover,body:not(.light) a.primary:hover{background:#3c5d63}
body:not(.light) .live-card.selected{background:#302d43;border-color:#67597c}
@media(max-width:1200px){body:not(.light) .mobile-tabs{background:#1a1a1a}.mobile-tabs button.active{color:var(--blue);background:var(--selection-bg)}}

/* Compact article rows, retaining natural wrapping for long titles. */
.board-list-row{padding:8px 6px;min-height:36px;align-items:center;line-height:1.45;gap:12px}
.board-list-head{padding:8px 6px;line-height:1.4}
.post-row{padding:8px 14px;min-height:34px;line-height:1.4}
@media(max-width:1200px){
 .board-list-row{padding:8px 4px;gap:2px;align-items:stretch;min-height:0}
 .board-list-row>span{line-height:1.45}.board-list-row>small{font-size:11px;line-height:1.35}
 .post-row{padding:8px 12px;gap:6px;min-height:34px}
}

/* Neutral navigation and section names; gold is reserved for selection. */
header nav a{color:var(--muted)}header nav a.active{color:var(--text)}
#live .panel-heading h2,.community-title h2,.board-title h1,#board-page h1,.chat>.panel-heading h2,.scam-panel h2,.pf-panel h2,#board-grid h3{color:var(--text)}
#market .platforms button{color:var(--muted)}#market .platforms button.selected{color:var(--text);border-bottom-color:var(--blue)}
body:not(.light) #board-page .board-nav a{color:var(--muted)}body:not(.light) #board-page .board-nav a.active{color:var(--blue)}
body.light #market .quote strong{color:#286d60}

/* Article lists retain the same appearance on hover. Keyboard focus stays visible. */
body .board-list-row:hover,body .post-row:hover{background:transparent;color:var(--text);text-decoration:none}

@media(min-width:1201px){body[data-page-kind="index.php"] .left-column .chat{height:var(--desktop-chat-height,700px);min-height:0;flex:0 0 auto}}

.hu-chat{margin-top:16px;border:1px solid var(--line);border-radius:6px;overflow:hidden}.hu-chat-heading{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--line);gap:10px}.hu-chat-heading h3{margin:0;font-size:13px}.dm-live-state{font-size:11px;color:var(--muted)}.hu-chat-messages{height:160px;overflow-y:auto;padding:10px 12px;scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) var(--scroll-track)}.hu-chat-line{display:flex;align-items:baseline;gap:7px;padding:4px 0;font-size:12px;line-height:1.6}.hu-chat-line strong{color:var(--blue);flex-shrink:0}.hu-chat-line span{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.hu-chat-line time{font-size:10px;color:var(--muted);margin-left:auto;white-space:nowrap}.hu-chat form{display:flex!important;gap:6px;padding:10px;border-top:1px solid var(--line)}.hu-chat input{min-width:0;flex:1}.hu-chat form button{flex-shrink:0}.hu-chat>small{display:block;padding:0 10px 8px;color:var(--muted);font-size:10px}dialog:has(.hu-chat){width:min(760px,96vw)}

/* Only occupied advertising placements take space. */
[data-ad-slot]:empty,.left-column .ad-wing:has([data-ad-slot]:empty){display:none!important}
[data-ad-slot].has-ad{height:auto;min-height:0;border:0;display:block;background:transparent}
[data-ad-slot].has-ad .ad-creative{display:block;width:100%}
#footer-ad-inquiry{padding:0;border:0;background:none;color:var(--muted);font:inherit;cursor:pointer}
#footer-ad-inquiry:hover{color:var(--text)}

/* sections.css */
/* Independent sections and readable neutral content. */
.section-heading{padding:12px 2px 8px}.section-heading>span{font-size:11px;letter-spacing:1px;color:var(--muted)}.section-heading h1{font-size:25px;margin:10px 0}.section-heading p{font-size:14px;margin:0;line-height:1.6}
.site-footer{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:12px;padding:28px 12px!important;margin:22px auto 0;min-height:120px;width:calc(100% - 32px)}.site-footer strong{font-size:15px;letter-spacing:1px}.site-footer small{margin:0;flex-basis:auto;font-size:12px}
.pf-panel{font-size:13px}.pf-panel :where(p,label,select,button,small){font-size:12px!important;line-height:1.6}.pf-panel .pf-heading h2{font-size:15px!important}.pf-panel .pf-summary strong{font-size:18px!important}.pf-panel .pf-hand{font-size:11px!important;line-height:1;padding:0;min-height:30px}.pf-panel .pf-options{gap:5px}.pf-panel .pf-options button{padding:5px 7px}.pf-panel .pf-controls{gap:9px}.pf-panel .pf-grid{gap:2px}
.popular-panel ol{padding:0 14px;margin:0;list-style:none}.popular-panel li+li{border-top:1px solid var(--line)}.popular-panel li a{display:flex;gap:12px;padding:13px 0;align-items:flex-start}.popular-panel li b{font-size:17px;min-width:16px}.popular-panel li span{min-width:0}.popular-panel li strong{display:block;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.popular-panel li small{display:block;margin-top:5px;font-size:11px}.popular-panel .panel-heading>span{font-size:11px}
body:not([data-section="home"]) .content>#board-grid,body:not([data-section="home"]) #board-page{display:none!important}
body[data-section="market"] .content>#live,body[data-section="scams"] .content>#live,body[data-section="solver"] .content>#live,body[data-section="live"] .content>#market,body[data-section="scams"] .content>#market,body[data-section="solver"] .content>#market{display:none!important}
body:not([data-section="home"]) .content{display:flex!important;flex-direction:column;gap:18px;min-width:0;overflow:visible}
body:not([data-section="home"]) .content>*{order:initial;flex-shrink:0}
body[data-section="live"] #live{display:block!important}body[data-section="live"] .live-body{display:grid;grid-template-columns:minmax(0,1fr) 260px}body[data-section="live"] #live-player{max-height:none;aspect-ratio:16/9}body[data-section="live"] .live-list{max-height:none;height:auto}body[data-section="live"] .live-card strong{font-size:13px}body[data-section="live"] .live-card p{font-size:12px}
.market-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.platform-summary{padding:18px;text-align:left;min-width:0}.platform-summary>span{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:15px}.platform-summary>span small{font-size:11px;font-weight:normal}.platform-summary>strong{display:block;margin:14px 0 9px;font-size:26px}.platform-summary p{font-size:12px;margin:0 0 8px}.platform-summary>small{font-size:11px}
.trend-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:18px;gap:10px}.trend-metrics span{font-size:12px;display:block}.trend-metrics strong{display:block;margin-top:8px;font-size:19px}.trend-table-wrap{overflow-x:auto}.trend-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}.trend-table th,.trend-table td{padding:12px 14px;text-align:right;border-bottom:1px solid var(--line)}.trend-table th:first-child,.trend-table td:first-child{text-align:left}.data-note{font-size:12px;line-height:1.8;padding:5px 18px 15px;margin:0}.empty-state{text-align:center!important;padding:30px!important}
body[data-section="scams"] .content>.scam-panel{display:block!important}body[data-section="scams"] .content .scam-row{padding:20px;font-size:14px}body[data-section="scams"] .content #scam-search{padding:16px;display:flex;gap:10px}body[data-section="scams"] #scam-query{flex:1;min-width:0;font-size:14px}body[data-section="scams"] .scam-row strong{font-size:16px}body[data-section="scams"] .scam-row p{font-size:14px;line-height:1.8}
body[data-section="solver"] .content .pf-panel{width:100%}body[data-section="solver"] .content .pf-controls{grid-template-columns:repeat(4,minmax(0,1fr))}body[data-section="solver"] .content .pf-hand{min-height:38px;font-size:12px!important}
@media(max-width:1100px){body[data-section="live"] .live-body{grid-template-columns:1fr}body[data-section="live"] .live-list{display:grid;grid-template-columns:1fr 1fr}.trend-metrics{grid-template-columns:1fr 1fr}}
@media(max-width:1200px){.section-heading h1{font-size:23px}.section-heading{padding:7px 2px}.market-overview{gap:9px}.platform-summary{padding:14px}.platform-summary>span{font-size:14px}.platform-summary>strong{font-size:23px}.pf-panel .pf-hand{font-size:10px!important;min-height:24px}.popular-panel{display:none}.site-footer{width:calc(100% - 24px)}body[data-mobile-view="more"] .site-footer{display:flex!important}body[data-mobile-view="market"] .content .section-heading,body[data-mobile-view="market"] .market-overview,body[data-mobile-view="market"] .trend-detail,body[data-mobile-view="live"] .content .section-heading,body[data-mobile-view="solver"] .content .section-heading{display:block!important}body[data-mobile-view="market"] .market-overview{display:grid!important}body[data-section="scams"][data-mobile-view="more"] .content{display:flex!important}body[data-section="scams"] .mobile-more{display:none!important}body[data-section="solver"][data-mobile-view="solver"] .content>.pf-slot{display:block!important}body[data-section="solver"] .content .pf-controls{grid-template-columns:1fr 1fr}body[data-section="live"] .live-list{grid-template-columns:1fr}body[data-section="solver"] .content .pf-hand{min-height:24px;font-size:10px!important}}

body:not(.light) .pf-panel .pf-hand.push{background:#285943!important;color:#fff!important}body:not(.light) .pf-panel .pf-hand.fold,body:not(.light) .pf-panel .pf-hand.unavailable{background:#303030!important;color:#fff!important}
@media(max-width:1200px){body[data-mobile-view="chat"] .content,body[data-mobile-view="more"]:not([data-section="scams"]) .content{display:none!important}}

@media(max-width:1200px){body[data-mobile-view] .site-footer{display:flex!important}}

.content .scam-panel .panel-heading>a{display:none}
@media(max-width:1200px){body[data-section="scams"][data-mobile-view="more"] .content>.section-heading{display:block!important}}

@media(min-width:1201px){.right-sidebar>.scam-panel{flex:0 0 auto}.right-sidebar .scam-empty{padding:18px 12px}}

/* Solver typography stays neutral without changing its range colors. */
body:not(.light) .pf-panel{--text:#f0f0f0;--muted:#bdbdbd;--blue:#e5e5e5;color:#f0f0f0}
body:not(.light) .pf-panel :where(h2,h3,label,button,select,input,strong,summary){color:#f0f0f0!important}
body:not(.light) .pf-panel :where(p,small,.pf-context,.pf-label,.pf-caveat,.pf-hand-detail){color:#c4c4c4!important}
body.light .pf-panel{--text:#242424;--muted:#616161;--blue:#333;color:#242424}
body.light .pf-panel :where(h2,h3,label,button,select,input,strong,summary){color:#242424!important}
body.light .pf-panel :where(p,small,.pf-context,.pf-label,.pf-caveat,.pf-hand-detail){color:#616161!important}

/* Shared desktop lower edge, using natural document height rather than frames. */
@media(min-width:1201px){
 main{height:auto;min-height:calc(100dvh - 245px);align-items:stretch;grid-template-rows:auto}
 main>.left-column,main>.content,main>.right-sidebar{align-self:stretch;height:auto;max-height:none;min-height:0}
 main>.left-column{display:flex;flex-direction:column}
 main>.left-column>.chat{height:auto!important;min-height:650px;flex:1 1 auto!important}
 main>.left-column>.account-panel,main>.left-column>.ad-wing{flex:0 0 auto}
 main>.content{display:flex!important;flex-direction:column;overflow:visible;gap:18px}
 main>.content>#board-page:not([hidden]){display:flex;flex-direction:column;flex:1 0 auto}
 #board-page>.page-actions{margin-top:auto;padding-top:22px}
 body[data-section="home"]:not(.board-screen) .content>#board-grid{flex:1 0 auto}
 body[data-section="market"] .content>.trend-detail,body[data-section="live"] .content>#live,body[data-section="scams"] .content>#scams{flex:1 0 auto}
 body[data-section="solver"] .content>.pf-slot{flex:1 0 auto;display:flex;flex-direction:column}
 body[data-section="solver"] .content>.pf-slot>.pf-panel:not(.pf-expanded){flex:1 0 auto}
 main>.right-sidebar>.popular-panel{flex:1 0 auto}
}

/* Chat input stays within a useful desktop height; banner sits directly below. */
.ad-slot>.ad-preview{display:block;width:100%;height:auto;object-fit:contain}
.left-column .ad-wing [data-ad-preview]:not(.has-ad){height:auto;min-height:0;display:block;background:transparent;border:0;border-radius:5px}
@media(min-width:1201px){main>.left-column>.chat{height:clamp(420px,calc(100dvh - 240px),600px)!important;min-height:0!important;max-height:600px;flex:0 0 auto!important}main>.left-column>.ad-wing{flex:0 0 auto}}

/* A narrower shared shell keeps the center column readable. */
@media(min-width:1201px){main{max-width:1520px;margin-inline:auto}body>header{padding-inline:max(16px,calc((100% - 1488px)/2))}.site-footer{max-width:1488px}}

#incoming-alert{width:min(440px,calc(100% - 32px));max-height:80dvh;padding:0;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:8px}#incoming-alert::backdrop{background:#0008}.incoming-body{padding:20px}.incoming-body>p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:35dvh;overflow-y:auto;line-height:1.8}.incoming-body .modal-actions{margin-top:20px}

.pf-calculation{margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:5px;background:var(--soft)}.pf-calculation>label{display:block;margin:12px 0 5px}.pf-calculation :where(input,textarea,select){display:block;width:100%;box-sizing:border-box;min-width:0;margin-top:5px;padding:8px;font-size:12px;line-height:1.6}.pf-calculation textarea{resize:vertical}.pf-calculation .pf-scenario{margin-top:10px}.pf-calculation>button{margin:12px 5px 0 0}.pf-example-label,#pf-seat-order,#pf-progress,#pf-error{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.pf-panel .pf-hand.uncertain{background:#3d3a31!important;outline:1px dashed #b49b62;outline-offset:-2px;color:inherit}.pf-panel .pf-hand.waiting{background:var(--soft)!important;color:var(--muted)!important}.pf-legend{flex-wrap:wrap;gap:8px}
#pf-calculation[hidden],#pf-payout-label[hidden],#pf-opener-label[hidden],#pf-open-label[hidden],#pf-size-label[hidden],#pf-cancel[hidden]{display:none!important}

#pf-input-details[hidden]{display:none!important}#pf-input-details>summary{padding:12px 0;cursor:pointer;font-size:13px}
body[data-section="solver"] .content>.pf-slot{height:auto!important}body[data-section="solver"] .content .pf-panel.pf-expanded{position:relative!important;inset:auto!important;width:100%!important;max-height:none!important;overflow:visible!important;box-shadow:none}

/* Live grid tracks and playlist use the same available width. */
body[data-section="live"] #live{width:100%;min-width:0;container:live-page / inline-size}
body[data-section="live"] .live-body{width:100%;min-width:0;grid-template-columns:minmax(0,1fr) minmax(0,260px)}
body[data-section="live"] .live-primary,body[data-section="live"] .live-playlist{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
body[data-section="live"] .live-card>div{flex:1;min-width:0}
html,.live-list{scrollbar-width:thin;scrollbar-color:var(--scroll-thumb,#666) var(--scroll-track,#202020)}
html::-webkit-scrollbar,.live-list::-webkit-scrollbar{width:8px;height:8px}
html::-webkit-scrollbar-track,.live-list::-webkit-scrollbar-track{background:var(--scroll-track,#202020)}
html::-webkit-scrollbar-thumb,.live-list::-webkit-scrollbar-thumb{background:var(--scroll-thumb,#666);border:2px solid var(--scroll-track,#202020);border-radius:8px}
html::-webkit-scrollbar-thumb:hover,.live-list::-webkit-scrollbar-thumb:hover{background:#888}
@container live-page (max-width:720px){body[data-section="live"] .live-body{display:grid;grid-template-columns:minmax(0,1fr)}body[data-section="live"] .live-playlist{position:static;border-left:0;border-top:1px solid var(--line)}body[data-section="live"] #live .live-list{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;height:auto;max-height:none}}
@media(max-width:1200px){body[data-section="live"] .live-body{grid-template-columns:minmax(0,1fr)}body[data-section="live"] #live .live-list{grid-template-columns:minmax(0,1fr)}}

/* Live page: full-width video, live comments, then channel catalogue. */
body[data-section="live"] #live .live-body{display:grid;grid-template-columns:minmax(0,1fr);width:100%}
body[data-section="live"] #live .live-primary{grid-column:1;width:100%}
body[data-section="live"] #live .live-playlist{grid-column:1;width:100%;position:static;border-left:0;border-top:1px solid var(--line)}
body[data-section="live"] #live .live-list{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:auto;max-height:none;overflow:visible;padding:10px;gap:6px}
body[data-section="live"] #live .live-card img{width:120px;max-width:34%;border-radius:4px}
.live-chat-panel{grid-column:1;width:100%;min-width:0;border-top:1px solid var(--line)}.live-chat-panel .panel-heading{display:flex;justify-content:space-between;align-items:center}.live-chat-panel h3{font-size:14px;margin:0}.live-chat-panel a{font-size:12px}#live-youtube-chat{width:100%;min-width:0}#live-youtube-chat iframe{display:block;width:100%;height:360px;border:0}.live-chat-empty{padding:20px;color:var(--muted)}.live-chat-mobile{display:block;margin:14px;text-align:center}
@media(max-width:1200px){body[data-section="live"] #live .live-list{grid-template-columns:minmax(0,1fr);padding:8px}body[data-section="live"] #live .live-card img{width:110px}.live-chat-panel .panel-heading{padding:12px}}

/* Compact title-only popular posts. */
.popular-panel ul{list-style:none;margin:0;padding:8px 14px 10px}.popular-panel li,.popular-panel li+li{margin:0;padding:0;border:0}.popular-panel li a{display:block;padding:4px 0;font-size:13px;font-weight:400;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text);background:transparent;border:0;box-shadow:none;filter:none;transform:none;transition:none;text-decoration:none}
.popular-panel li a:hover{color:var(--text)!important;background:transparent!important;border:0;box-shadow:none!important;filter:none!important;transform:none!important;text-decoration:underline;text-underline-offset:3px}

/* Home board previews share the compact title-only popular list style. */
body #board-grid .post-row{display:block;padding:4px 14px;min-height:0;font-size:13px;font-weight:400;line-height:1.5;border:0;color:var(--text);background:transparent;box-shadow:none;filter:none;transform:none;transition:none;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body #board-grid .post-row:first-of-type{margin-top:8px}
body #board-grid .post-row:last-child{margin-bottom:10px}
body #board-grid .post-row:hover{color:var(--text)!important;background:transparent!important;box-shadow:none!important;filter:none!important;transform:none!important;text-decoration:underline;text-underline-offset:3px}

/* Community list indicators; visible attachments and comments only. */
body #board-grid .post-row,.popular-panel li a{display:flex;align-items:center;gap:5px}
#board-grid .post-row .title,.popular-panel .post-list-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.post-new,.post-attachment,.post-comment-count{flex:none;display:inline-block;vertical-align:middle;font-size:11px;line-height:1.4;font-weight:400;text-decoration:none}
.post-new{color:#e5b45f;font-weight:700}.post-attachment{color:var(--muted);font-size:10px}.post-comment-count{color:var(--muted)}
.board-list-row>span:first-child{min-width:0;display:flex;align-items:center;gap:5px}
.board-list-row .post-list-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Neutral type hierarchy without a blue cast; retain semantic market/status colors. */
body:not(.light){--text:#e4e4e4;--muted:#aaa;--scroll-thumb:#595959;--scroll-hover:#777;--scroll-track:#202020}
body.light{--text:#292929;--muted:#666;--scroll-thumb:#aaa;--scroll-hover:#888;--scroll-track:#eee}
body:not(.light) .message-text,body:not(.light) .message p{color:#ccc}
body.light .message-text,body.light .message p{color:#555}
body:not(.light) .board-list-row small{color:var(--muted)}
body:not(.light) :is(button.primary,a.primary){color:#eee}
body:not(.light) .live-empty h3{color:var(--text)}
.post-new,.post-attachment{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;flex:0 0 14px}
.post-new svg,.post-attachment svg{display:block;width:14px;height:14px}

/* Underline only the title, never comment counts or status icons. */
body #board-grid .post-row:hover,.popular-panel li a:hover,body .board-list-row:hover{text-decoration:none}
body #board-grid .post-row:hover .title,.popular-panel li a:hover .post-list-title,body .board-list-row:hover .post-list-title{text-decoration:underline;text-underline-offset:3px}

/* Compact forum columns, with a stacked metadata line on narrow phones. */
.board-table{width:100%;min-width:0}.board-table-head,.board-table-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 82px 50px 45px;gap:8px;align-items:center;border-bottom:1px solid var(--line);font-size:12px;line-height:1.5;padding:8px 6px}
.board-table-head{color:var(--muted);background:var(--soft);font-size:11px}.board-table-row> :not(:first-child),.board-table-head> :not(:first-child){text-align:center;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.board-table-row time{font-size:10px;color:var(--muted)}.board-author{font-size:11px;color:var(--text)}.board-table-subject{display:flex;align-items:center;min-width:0;gap:5px;color:var(--text);text-decoration:none}.board-table-subject .post-list-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.board-table-subject:hover{color:var(--text);text-decoration:none}.board-table-subject:hover .post-list-title{text-decoration:underline;text-underline-offset:3px}.board-pinned{font-size:10px;color:var(--brand-gold,#c7a873);flex:none}.board-votes{color:var(--red)}
.icon-action{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:7px!important;box-sizing:border-box;border:1px solid var(--line);border-radius:3px;color:var(--text);background:var(--soft);flex-shrink:0}.icon-action svg{width:18px;height:18px;display:block}.icon-action:hover{color:var(--text);background:var(--control-hover)}
@media(max-width:1200px){.board-table-head{display:none}.board-table-row{grid-template-columns:minmax(0,1fr) 82px 48px 42px;gap:4px;padding:9px 2px}.board-table-subject{grid-column:1/-1;font-size:13px}.board-table-row>.board-author{text-align:left}.board-table-row>span:nth-last-child(2)::before{content:'조회 ';color:var(--muted);font-size:10px}.board-table-row>.board-votes:empty::after{content:'0'}.board-table-row>.board-votes::before{content:'추천 ';color:var(--muted);font-size:10px}}

.post-new{width:15px;height:15px;flex-basis:15px;background:#ed7a24;color:#fff;font:700 10px/15px Arial,sans-serif;border-radius:2px;letter-spacing:0;text-align:center;text-decoration:none}

/* Article detail: compact title/stat line, byline, media, reactions and tools. */
.post-detail>.post-detail-heading{height:auto;padding:12px 0;margin-top:16px;background:none;border:0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:16px;justify-content:space-between;flex-wrap:wrap}
.post-detail-heading h1{font-size:17px;font-weight:500;line-height:1.6;margin:0;overflow-wrap:anywhere;min-width:0;flex:1 1 200px;letter-spacing:0}.post-detail-stats{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.post-detail-stats b{font-weight:400;color:var(--text)}
.post-detail-byline{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;font-size:12px}.post-detail-author{flex-shrink:0}#post-copy-url{display:inline-flex;align-items:center;gap:5px;padding:0;color:var(--muted);font-size:10px;min-width:0}#post-copy-url span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#post-copy-url svg{width:13px;height:13px;flex:none}
.post-detail .post-body{padding:20px 4px 12px;min-height:200px;white-space:normal}.post-body-text{white-space:pre-wrap;overflow-wrap:anywhere}.post-detail .post-image-link{margin:0 0 20px}.post-detail .post-image-link img{border-radius:0}.post-reactions{display:flex;justify-content:center;padding:28px 0 24px}.post-reactions button{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid var(--line);color:var(--muted);background:transparent}.post-reactions svg{width:18px;height:18px}.post-reactions button span{color:var(--red);font-weight:700}.post-reactions button[aria-pressed="true"]{border-color:var(--brand-gold,#c7a873);color:var(--brand-gold,#c7a873)}
.post-attachments{font-size:12px;padding:10px 4px 22px}.post-attachments summary{cursor:pointer;color:var(--muted)}.post-attachments a{display:flex;align-items:center;gap:6px;overflow-wrap:anywhere;margin:8px 0;color:var(--text)}.post-attachments svg{width:14px;height:14px;flex:none}.post-detail-actions{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:22px 0}.post-detail-actions>div{display:flex;gap:8px}.comments-section{border-top:1px solid var(--line);padding-top:22px;margin-top:10px}.comments-section h3{font-size:14px;font-weight:400}.comments-section #comment-count{color:#ed7a24;font-weight:700}
@media(max-width:1200px){.post-detail-heading h1{flex-basis:100%}.post-detail-stats{gap:10px;font-size:10px}.post-detail-byline{align-items:flex-start}.post-detail-author{max-width:45%;overflow-wrap:anywhere;flex-shrink:1}#post-copy-url{max-width:55%}.post-detail .post-body{padding-inline:0}.post-detail>.post-detail-heading{gap:6px}}

/* Board tools: neutral categories, explicit notice colors and author popovers. */
.board-table-row time{font-size:11px}
.post-category{font-size:11px;color:var(--muted);flex:none;max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.post-detail-category{font-size:13px;color:var(--muted);font-weight:400}
.forum-categories{display:flex;flex-wrap:wrap;gap:8px 14px;margin:14px 0;font-size:12px}.forum-categories a{color:var(--muted)}.forum-categories a.active{color:var(--text);text-decoration:underline;text-underline-offset:5px}
.notice-color-orange .post-list-title,body :is(.board-table-row,.home-feed-row).is-notice .notice-color-orange .post-list-title{color:#ed8e3d}.notice-color-pink .post-list-title,body :is(.board-table-row,.home-feed-row).is-notice .notice-color-pink .post-list-title{color:#dc83ba}.notice-color-blue .post-list-title,body :is(.board-table-row,.home-feed-row).is-notice .notice-color-blue .post-list-title{color:#7ca9df}.notice-color-green .post-list-title,body :is(.board-table-row,.home-feed-row).is-notice .notice-color-green .post-list-title{color:#87b882}.notice-color-gold .post-list-title,body :is(.board-table-row,.home-feed-row).is-notice .notice-color-gold .post-list-title{color:#d9b777}
.author-menu{position:relative;min-width:0;font-size:11px;color:var(--text);text-align:left}.board-table-row>.author-menu{overflow:visible;text-align:center;white-space:normal}.author-menu summary{cursor:pointer;list-style:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.author-menu summary::-webkit-details-marker{display:none}.author-menu[open]{z-index:5}.author-menu>div{position:absolute;top:calc(100% + 6px);right:0;z-index:5;padding:8px 10px;border:1px solid var(--line);border-radius:3px;background:var(--panel);box-shadow:0 4px 12px #0004;white-space:nowrap;min-width:95px}.author-menu a{color:var(--text)}.post-detail-byline>.author-menu>div{right:auto;left:0}
.forum-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px;height:auto;margin:24px 0 14px;font-size:12px}.forum-pagination a{display:inline-flex;justify-content:center;align-items:center;min-width:25px;height:26px;color:var(--muted);border:1px solid transparent;border-radius:3px}.forum-pagination a[aria-current]{border-color:var(--line);color:var(--text)}
.forum-search{display:flex;justify-content:center;align-items:center;gap:5px;margin:0 0 12px;font-size:12px;flex-wrap:wrap}.forum-search select{width:auto;padding:6px}.forum-search input:not([type="hidden"]){width:190px;max-width:45%;padding:6px}.forum-search button{height:31px}.forum-search>a{color:var(--muted);padding:4px}.forum-search input[type="hidden"]{display:none}
@media(max-width:1200px){.board-table-row>.author-menu{text-align:left}.post-category{max-width:80px;font-size:10px}.forum-categories{gap:8px 12px;font-size:11px}.forum-pagination{gap:3px}.forum-pagination a{min-width:22px}.forum-search input:not([type="hidden"]){max-width:42%}}

#board-page .board-nav{height:auto;display:flex;align-items:center;justify-content:flex-start;gap:15px;flex-wrap:wrap;padding:0 0 16px;margin:0;border-bottom:1px solid var(--line)}#board-page .board-nav a{height:auto;display:inline-flex;align-items:center}

.post-type{display:inline-flex;align-items:center;justify-content:center;flex:0 0 16px;width:16px;height:16px;color:#999;text-decoration:none}.post-type svg{display:block;width:16px;height:16px}.post-type-image{color:#66b28e}.post-type-notice{color:#b3bd5b}.forum-tabs a{font-size:12px;color:var(--muted)}.forum-tabs a[aria-current]{color:var(--text);text-decoration:underline;text-underline-offset:6px}.forum-total{font-size:12px;margin:14px 0}.board-head>a{font-size:11px;color:var(--muted)}

body[data-section="headsup"] .content>#live,body[data-section="headsup"] .content>#market{display:none!important}.headsup-portal{display:flex;flex-direction:column;gap:14px;width:100%;min-width:0}.hu-portal-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px}.hu-portal-top h1{font-size:20px;margin:0 0 6px}.hu-portal-top span{color:var(--muted);font-size:12px}.hu-portal-buttons{display:flex;gap:8px;flex-wrap:wrap}.hu-portal-buttons a{padding:7px 10px;display:inline-flex;align-items:center}.hu-portal-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hu-portal-summary>div{padding:15px}.hu-portal-summary span{font-size:12px;color:var(--muted)}.hu-portal-summary strong{display:block;margin-top:6px;font-size:23px;font-weight:600}.hu-portal-summary small{font-size:12px;font-weight:400;color:var(--muted)}.hu-my-record{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px}.hu-my-record h2{margin-bottom:8px}.hu-my-record strong{font-size:13px}.hu-my-record p{font-size:12px;color:var(--muted);margin:0}.hu-my-record dl{display:flex;gap:26px;margin:0}.hu-my-record dt{font-size:11px;color:var(--muted)}.hu-my-record dd{margin:5px 0 0;font-size:16px}.hu-opponents form{padding:0 15px 15px;margin:0}.hu-opponents input{min-width:0;flex:1}.hu-opponent{display:flex;justify-content:space-between;align-items:center;padding:10px 15px;border-top:1px solid var(--line);font-size:13px}.hu-rankings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hu-ranking{min-width:0}.hu-ranking .panel-heading{padding:14px 12px;min-height:0}.hu-ranking .panel-heading h2{font-size:13px}.hu-ranking .panel-heading>span{font-size:10px;color:var(--muted)}.hu-ranking ol{list-style:none;padding:0 12px 10px;margin:0}.hu-ranking li{display:flex;align-items:center;gap:8px;padding:10px 0;border-top:1px solid var(--line);font-size:12px}.hu-ranking li>b{color:var(--brand-gold,#c7a873);font-weight:500;min-width:12px}.hu-ranking li>span{min-width:0;flex:1}.hu-ranking li strong{display:block;font-size:11px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hu-ranking li small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.hu-ranking li em{font-size:11px;white-space:nowrap;font-style:normal;color:var(--text)}.hu-ranking .hu-rank-empty{display:block;color:var(--muted);line-height:1.7;min-height:70px;font-size:12px}.hu-result{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 16px;border-top:1px solid var(--line);font-size:12px}.hu-result>div{min-width:0}.hu-result small{font-size:11px;color:var(--muted)}.hu-result>div>small{display:block;margin-top:5px}.hu-result>strong{font-size:12px;color:var(--brand-gold,#c7a873);font-weight:400;flex-shrink:0}.hu-portal-empty{padding:10px 16px 18px;font-size:12px;color:var(--muted)}.hu-portal-rules{padding:15px}.hu-portal-rules summary{cursor:pointer;font-size:12px}.hu-portal-rules p{font-size:12px;line-height:1.8;color:var(--muted)}
@media(max-width:1100px){.hu-rankings{grid-template-columns:1fr}.hu-ranking li strong{font-size:13px}.hu-ranking li small,.hu-ranking li em{font-size:12px}}
@media(max-width:1200px){body[data-mobile-view="headsup"] .headsup-portal{display:flex!important}.hu-portal-top,.hu-my-record{align-items:flex-start;flex-direction:column}.hu-portal-summary{gap:6px}.hu-portal-summary>div{padding:12px 9px}.hu-portal-summary strong{font-size:20px}.hu-my-record dl{gap:24px}.hu-result{align-items:flex-start;flex-direction:column;gap:5px}.headsup-portal .panel-heading{min-height:0}}

/* Plain header account text; no badge, box or colored button surface. */
body>header .header-actions #profile{padding:3px 0;background:none!important;border:0!important;border-radius:0;box-shadow:none!important;color:var(--muted)!important;font-size:12px;font-weight:400;white-space:nowrap;transition:none}
body>header .header-actions #profile:hover{color:var(--text)!important;background:none!important;text-decoration:underline;text-underline-offset:4px}.account-points{background:transparent!important;border-radius:0!important;box-shadow:none!important}

/* Heads-up is a single forum-like surface, separated by rules rather than cards. */
.headsup-portal{gap:0;padding:0 20px;box-sizing:border-box}.hu-portal-top{padding:20px 0 17px}.hu-portal-summary{gap:0;padding:14px 0;border-block:1px solid var(--line)}.hu-portal-summary>div{padding:0 18px;border-left:1px solid var(--line)}.hu-portal-summary>div:first-child{padding-left:0;border-left:0}.hu-portal-summary strong{font-size:20px}.hu-my-record{padding:18px 0;border-bottom:1px solid var(--line)}.hu-opponents{padding:17px 0;border-bottom:1px solid var(--line)}.hu-opponents .panel-heading{padding:0 0 12px;min-height:0}.hu-opponents form{padding:0;max-width:420px}.hu-opponent{padding:10px 0}.hu-rankings{gap:0;padding:20px 0;border-bottom:1px solid var(--line)}.hu-ranking{padding:0 14px;border-left:1px solid var(--line)}.hu-ranking:first-child{padding-left:0;border-left:0}.hu-ranking:last-child{padding-right:0}.hu-ranking .panel-heading{padding:0 0 12px}.hu-ranking ol{padding:0}.hu-ranking li{padding:10px 0}.hu-recent{padding:20px 0}.hu-recent .panel-heading{padding:0 0 12px;min-height:0}.hu-result{padding:12px 0}.hu-portal-rules{border-top:1px solid var(--line);padding:16px 0 20px}.hu-portal-empty{padding:10px 0}.hu-my-record,.hu-opponents,.hu-ranking,.hu-recent,.hu-portal-rules,.hu-portal-top{background:none;border-radius:0;box-shadow:none}
@media(max-width:1100px){.hu-ranking,.hu-ranking:first-child,.hu-ranking:last-child{padding:16px 0;border-left:0;border-top:1px solid var(--line)}.hu-ranking:first-child{padding-top:0;border-top:0}.hu-ranking:last-child{padding-bottom:0}.hu-rankings{padding:18px 0}}
@media(max-width:1200px){.headsup-portal{padding-inline:14px}.hu-portal-summary>div{padding-inline:10px}.hu-portal-summary strong{font-size:18px}}

/* Dedicated number and category columns before the subject. */
.board-table-head,.board-table-row{grid-template-columns:42px 72px minmax(0,1fr) 80px 78px 42px 38px;gap:6px}
.board-table-head>span,.board-table-row>.board-post-number,.board-table-row>.board-category-cell{text-align:center}
.board-table-head>span:nth-child(3){text-align:left}.board-table-row>.board-table-subject{min-width:0;text-align:left;overflow:visible;white-space:normal}.board-post-number{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.board-category-cell{color:var(--muted);font-size:11px}.board-category-cell:hover{color:var(--text);text-decoration:underline;text-underline-offset:3px}
@media(max-width:1200px){.board-table-row{grid-template-columns:34px minmax(0,1fr) 76px 46px 42px;gap:4px}.board-table-row>.board-post-number{grid-column:1;grid-row:1;text-align:left}.board-table-row>.board-category-cell{grid-column:2/-1;grid-row:1;text-align:left;justify-self:start}.board-table-row>.board-table-subject{grid-column:1/-1;grid-row:2}.board-table-row>.author-menu{grid-column:1/3;grid-row:3}.board-table-row>time{grid-column:3;grid-row:3}.board-table-row>span:nth-last-child(2){grid-column:4;grid-row:3}.board-table-row>.board-votes{grid-column:5;grid-row:3}}

.forum-write-actions{display:flex;justify-content:flex-end;margin:14px 0 0}.forum-write-button{display:inline-flex;align-items:center;justify-content:center;padding:7px 15px;font-size:12px;color:var(--text);background:var(--soft);border-radius:3px}.forum-write-button:hover{color:var(--text);background:var(--control-hover)}

/* Pinned notices use ordinary rows; only the title color differs. */
body :is(.board-table-row,.home-feed-row).is-notice .notice-color-default .post-list-title{color:#ffdf8f}
body.light :is(.board-table-row,.home-feed-row).is-notice .notice-color-default .post-list-title{color:#624000}
body.light :is(.board-table-row,.home-feed-row).is-notice .notice-color-orange .post-list-title{color:#9b4010}
body.light :is(.board-table-row,.home-feed-row).is-notice .notice-color-pink .post-list-title{color:#962967}
body.light :is(.board-table-row,.home-feed-row).is-notice .notice-color-blue .post-list-title{color:#205ba0}
body.light :is(.board-table-row,.home-feed-row).is-notice .notice-color-green .post-list-title{color:#28612b}
body.light :is(.board-table-row,.home-feed-row).is-notice .notice-color-gold .post-list-title{color:#765000}
body .board-table-row.is-game-notice.is-notice .notice-color-default .post-list-title{color:#d7bd8b}
body.light .board-table-row.is-game-notice.is-notice .notice-color-default .post-list-title{color:#5a3b0a}

/* Public menu labels with posts published today (KST). */
.menu-category-label{position:relative;display:inline-block;padding-right:7px}
.menu-new-dot{position:absolute;top:-1px;right:0;width:6px;height:6px;border-radius:50%;background:#ef4444;pointer-events:none}

/* Compact platform prices below the market chart. */
.market-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.market-overview .platform-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:4px;background:var(--panel);text-align:left}.market-overview .platform-summary>span{font-size:12px;white-space:nowrap}.market-overview .platform-summary>strong{display:block;margin:0;font-size:15px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.market-overview .platform-summary[aria-pressed=true]{border-color:var(--brand-gold,#c7a873);box-shadow:inset 0 0 0 1px var(--brand-gold,#c7a873)}.market-overview .platform-summary:focus-visible{outline:2px solid var(--brand-gold,#c7a873);outline-offset:2px}@media(max-width:1200px){body[data-mobile-view="market"] .market-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.market-overview .platform-summary{padding:9px}.market-overview .platform-summary>strong{font-size:14px}}

/* Last available market snapshot timestamps */
.trend-metrics .trend-time{grid-column:span 2}.trend-metrics .trend-time strong{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.market .quote{flex-wrap:wrap}.market #change{flex-basis:100%;font-size:11px;line-height:1.6;font-style:normal;color:var(--muted)}.sidebar-market [data-mini-asof]{font-size:10px;line-height:1.6;overflow-wrap:anywhere;margin:4px 0 8px}

.scam-request-form{display:grid!important;gap:12px}.scam-request-form :where(input:not([type=checkbox]),select,textarea),#scam-comment-body{width:100%;box-sizing:border-box;min-width:0;padding:10px}.scam-request-identifiers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scam-request-identifiers input:last-child{grid-column:1/-1}.scam-request-form .scam-consent{display:flex!important;align-items:flex-start;gap:8px}.scam-request-form p{margin:0;font-size:12px}.scam-request-form [role=alert],#scam-comment-error{color:var(--red)}.scam-case-summary,.scam-comment>p{white-space:pre-wrap;overflow-wrap:anywhere}.scam-comments{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.scam-comment{padding:12px 0;border-bottom:1px solid var(--line)}.scam-comment-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.scam-comment-head time,.scam-comment-head small{font-size:11px;color:var(--muted)}.scam-comment-head>span{margin-left:auto;display:flex;gap:6px}.scam-comment-head button{font-size:11px;padding:4px 8px}.scam-comment>p{margin:8px 0;font-size:13px}#scam-comment-form{display:grid;gap:8px}#scam-comment-pages{display:flex;gap:12px;align-items:center;margin:12px 0}#scams .panel-heading{flex-wrap:wrap;gap:10px}

.live-categories{display:flex;gap:6px;flex-wrap:wrap;padding:9px 12px;border-bottom:1px solid var(--line)}
.live-categories button{font:inherit;font-size:12px;padding:5px 10px;border:1px solid var(--line);border-radius:4px;background:transparent;color:var(--muted)}
.live-categories button[aria-pressed="true"]{border-color:var(--gold,#d6b166);color:var(--gold,#d6b166);background:#b69a4f12}
body[data-section="live"] .live-chat-panel{margin-top:0;padding-top:0}

.live-platforms{display:flex;gap:6px;padding:9px 12px 0}
.live-platforms button{font:inherit;font-size:12px;padding:5px 12px;border:1px solid var(--line);border-radius:4px;color:var(--muted);background:transparent}
.live-platforms button[aria-pressed="true"]{border-color:var(--gold,#d6b166);color:var(--gold,#d6b166)}
.external-live-player{width:100%;height:100%;position:absolute;inset:0;display:grid;place-items:center;background:#101214}
.external-live-player img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:.45}
.external-live-player a{position:relative;padding:12px 20px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--text);font-size:14px}
.live-chat-panel[hidden]{display:none!important}

#live .live-card>img{flex-shrink:0}
#live .live-card .live-platform-logo{display:inline-flex;align-items:center;gap:4px;padding:2px 5px;margin-right:6px;border:1px solid #555;border-radius:4px;background:#151719;color:#fff;font-size:10px;font-weight:700;vertical-align:middle;white-space:nowrap;line-height:20px}
#live .live-card .live-platform-logo img{display:block;width:22px!important;height:22px!important;max-width:none!important;max-height:none!important;object-fit:contain;aspect-ratio:1;border-radius:3px}
#live .live-platform-logo[data-platform="youtube"]{border-color:#d24242}
#live .live-platform-logo[data-platform="soop"]{border-color:#09bcd9}
#live .live-platform-logo[data-platform="chzzk"]{border-color:#00ce8a}
#live .live-card small:has(.live-platform-logo){display:flex;align-items:center;flex-wrap:wrap;gap:2px}
@media(max-width:1200px){#live.home-live .live-card small:has(.live-platform-logo){display:flex;font-size:8px}#live.home-live .live-card .live-platform-logo{font-size:9px;padding:1px 3px;line-height:16px}#live.home-live .live-card .live-platform-logo img{width:16px!important;height:16px!important}}

#live-player>.live-inline-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}
.live-player-status{position:absolute;z-index:3;top:12px;left:12px;max-width:calc(100% - 24px);padding:8px 12px;background:#101214e8;color:#fff;border-radius:4px;font-size:12px;line-height:1.5}
.live-player-status[hidden]{display:none}
.live-player-status button{margin-left:8px;padding:4px 8px;font-size:12px}
.live-soop-help{padding:8px 12px;font-size:11px;line-height:1.6;color:var(--muted)}
.live-soop-help summary{cursor:pointer}.live-soop-help p{margin:6px 0}.live-soop-help a{color:var(--text)}

#live .live-card .live-platform-logo{padding:0;margin-right:4px;border:0;border-radius:0;background:transparent;line-height:1}
#live .live-card .live-platform-logo img{width:18px!important;height:18px!important;border-radius:0}
@media(max-width:1200px){#live.home-live .live-card .live-platform-logo{padding:0}#live.home-live .live-card .live-platform-logo img{width:16px!important;height:16px!important}}

/* Absolute video and status must stay inside their own player, not the viewport. */
#live #live-player{position:relative;isolation:isolate;overflow:hidden;contain:layout paint}
#live #live-player>.live-inline-video{position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}

#live-platform-chat{height:360px;overflow-y:auto;padding:12px;scrollbar-width:thin;font-size:12px;line-height:1.65;overflow-wrap:anywhere}.platform-chat-row{padding:3px 0}.platform-chat-name{font-size:12px;margin-right:7px}.platform-chat-message{white-space:pre-wrap}.platform-chat-badge,.platform-chat-emoji{display:inline-block;height:20px;max-width:72px;vertical-align:middle;object-fit:contain;margin-right:3px}.platform-chat-emoji{height:26px}.platform-chat-text-badge{font-size:10px;color:var(--gold);margin-right:4px}.platform-chat-status,.platform-chat-status-sub{color:var(--muted);padding:6px 0}


/* visual-polish.css */
/* Restrained poker identity: illustration, material and type, without extra cards. */
body:not(.light){--panel:#1e201e;--soft:#272a27;--line:#363a35;background:#141614}
body.light{--panel:#fffefa;--soft:#f3f2eb;--line:#dddcd3;background:#f3f2ec}
body>header{border-bottom:1px solid var(--line);box-shadow:0 1px 0 #c7a8730a}body>header .brand-chip{filter:drop-shadow(0 0 5px #c7a87316)}
.panel{border-radius:4px;border-top-color:color-mix(in srgb,var(--line) 70%,#a7a38a 30%)}
.panel-heading h2,.board-head h3,.pf-heading h2{display:flex;align-items:center;gap:8px;letter-spacing:.1px}
.chat>.panel-heading h2:before,.popular-panel h2:before,.pf-heading h2:before,.hu-recent h2:before,.hu-opponents h2:before{content:'';display:inline-block;flex:none;width:14px;height:14px;background:var(--brand-gold,#c7a873);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C9 7 3 10 3 15a5 5 0 0 0 8 4l-2 4h6l-2-4a5 5 0 0 0 8-4c0-5-6-8-9-13z'/%3E%3C/svg%3E") center/contain no-repeat;opacity:.8}
.chat>.panel-heading h2:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M3 4h18v13H9l-6 4V4Z'/%3E%3C/svg%3E") center/contain no-repeat}
.pf-heading h2:before{mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M3 3h18v18H3zM3 9h18M3 15h18M9 3v18M15 3v18'/%3E%3C/svg%3E") center/contain no-repeat}
.board-head{background:linear-gradient(90deg,#c7a87308,transparent);padding-block:13px}.board-head h3:before{content:'♠';font-size:13px;color:var(--brand-gold,#c7a873);font-weight:400}.board-head>a{color:var(--muted)}
#board-page>.board-title{margin-top:12px;margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid var(--line);position:relative}#board-page>.board-title:after{content:'♠  ♥  ♣  ♦';color:var(--muted);opacity:.18;font:22px Georgia,serif;letter-spacing:7px}#board-page>.board-title h1{font-size:21px;font-weight:600;letter-spacing:-.5px}
.forum-tabs a[aria-current]{text-decoration-color:var(--brand-gold,#c7a873);text-decoration-thickness:2px}.board-table-head{background:var(--soft);border-top:1px solid var(--line)}.board-post-number{opacity:.8}.board-table-row .author-menu summary{font-size:11px}.post-type-image{color:#78b998}.post-type-text{color:#969d92}
.post-detail-heading{border-bottom-color:var(--line)}.post-detail-heading h1{font-size:19px;letter-spacing:-.3px}.post-detail-byline{padding-block:13px}.post-detail .post-body{padding-top:24px}.post-reactions button{border-radius:3px}
.headsup-portal .hu-portal-top{min-height:175px;display:block;position:relative;overflow:hidden;padding:29px 0 22px;background:url('/assets/illustrations/headsup-table.svg') right center/310px auto no-repeat}.hu-portal-top h1{font-size:27px;letter-spacing:-.7px;font-weight:600}.hu-portal-top>div{position:relative;z-index:1}.hu-portal-top .hu-portal-buttons{margin-top:22px;max-width:58%;gap:8px}.hu-portal-top .hu-portal-buttons button,.hu-portal-top .hu-portal-buttons a{background:color-mix(in srgb,var(--panel) 94%,transparent)}.hu-portal-summary{padding-block:18px}.hu-portal-summary strong{font-variant-numeric:tabular-nums;font-weight:500;font-size:25px}.hu-portal-summary>div:first-child strong{color:#a1b7a2}.hu-my-record{padding-block:23px}.hu-my-record h2{font-size:14px}.hu-ranking .panel-heading h2{font-size:14px;letter-spacing:-.2px}.hu-ranking li>b{font:italic 17px Georgia,serif;color:var(--muted)}.hu-ranking li:nth-child(1)>b{color:#d4b477}.hu-ranking li:nth-child(2)>b{color:#b8c1b9}.hu-ranking li:nth-child(3)>b{color:#af8c71}.hu-ranking .hu-rank-avatar{width:27px;height:27px;flex:0 0 27px;border-radius:50%;object-fit:cover;overflow:hidden;margin:0}.hu-ranking .hu-rank-initial{display:inline-flex;align-items:center;justify-content:center;background:#77837425;color:var(--text);font-size:11px;font-weight:500;border:1px solid #8a95742b}.hu-ranking li:nth-child(3n+2) .hu-rank-initial{background:#a38b6020}.hu-ranking li strong{font-size:12px}.hu-ranking li em{font-variant-numeric:tabular-nums;font-size:12px}.hu-result>strong:before{content:'♠';margin-right:6px;opacity:.7}.hu-portal-rules{color:var(--muted)}
.platform-summary{position:relative;border-top-width:2px}.platform-summary:nth-child(2n+1){border-top-color:#6f9682}.platform-summary:nth-child(2n){border-top-color:#b39c73}.platform-summary>strong{font-variant-numeric:tabular-nums;font-weight:500}.trend-table th{font-weight:400;color:var(--muted)}
#live .live-card img{border-radius:3px;box-shadow:0 0 0 1px #ffffff0b}.live-card.selected{background:#a38b6012!important;border-color:#a38b6044!important}.live-now{background:linear-gradient(90deg,#7c987508,transparent)}.live-card strong{font-weight:500}.scam-panel form{border-bottom:1px solid var(--line);padding-bottom:18px!important}.scam-row strong{font-weight:500}
.site-footer{position:relative;border-top:1px solid var(--line);padding-top:32px!important}.site-footer:before{content:'♠';position:absolute;top:-11px;left:calc(50% - 14px);width:28px;text-align:center;background:var(--bg,#141614);color:var(--muted);font-size:13px}
body.light .hu-portal-top{background-color:#e8ece2}body.light .hu-portal-summary>div:first-child strong{color:#476e54}body.light .site-footer:before{background:#f3f2ec}
@media(min-width:1201px) and (max-width:1450px){.hu-rankings{grid-template-columns:1fr}.hu-ranking,.hu-ranking:first-child,.hu-ranking:last-child{padding:16px 0;border:0;border-top:1px solid var(--line)}.hu-ranking:first-child{border-top:0;padding-top:0}.hu-ranking:last-child{padding-bottom:0}.hu-ranking li{gap:12px}.hu-ranking li strong{font-size:13px}}
@media(max-width:1200px){.headsup-portal .hu-portal-top{background-size:210px auto;background-position:right -50px center;min-height:165px;padding-top:24px}.hu-portal-top .hu-portal-buttons{max-width:80%;margin-top:18px}.hu-portal-top h1{font-size:24px}.hu-portal-top>div:first-child{max-width:65%}.hu-portal-top>div:first-child>span{font-size:11px}.hu-portal-summary strong{font-size:22px}.board-title:after{font-size:17px!important;letter-spacing:4px!important}.hu-ranking li strong{font-size:13px}.post-detail-heading h1{font-size:17px}}

.pf-heading{gap:6px}.pf-heading h2{font-size:13px!important;white-space:nowrap;gap:6px;flex:1}.pf-heading h2:before{width:12px;height:12px}.pf-heading>span{font-size:9px!important;white-space:nowrap;flex:none}.pf-heading>button{flex:none;padding:2px;width:22px}
.author-menu summary{display:flex;align-items:center;justify-content:center;gap:5px}.forum-author-avatar{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;flex:0 0 17px;object-fit:cover;border-radius:50%;background:#87907722;border:1px solid #87907722;color:var(--muted);font-size:9px}.forum-author-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post-detail-byline .author-menu summary{justify-content:flex-start}.post-detail-byline .forum-author-avatar{width:22px;height:22px;flex-basis:22px;font-size:11px}
@media(max-width:1200px){.board-table-row>.author-menu summary{justify-content:flex-start}}

@media(min-width:1201px){.board-table-head,.board-table-row{grid-template-columns:32px 58px minmax(0,1fr) 80px 78px 42px 38px;gap:5px}.board-category-cell{font-size:10px}}
@media(max-width:1200px){.board-table-row{grid-template-columns:28px minmax(0,1fr) 76px 46px 42px}.board-post-number,.board-category-cell{font-size:10px}}

.post-bottom-list{margin-top:30px;padding-top:22px;border-top:1px solid var(--line);scroll-margin-top:20px}.post-bottom-list>.board-title{margin:0 0 16px}.post-bottom-list>.board-title h2{font-size:16px;font-weight:500}.board-table-row.is-current-post{background:#c7a8730c;box-shadow:inset 2px 0 var(--brand-gold,#c7a873)}.board-table-row.is-current-post .post-list-title{font-weight:600}.post-bottom-list .forum-total{margin-block:12px}

/* headsup-game.css */
/* Heads-up table: player/board/actions stay together; history and chat are secondary. */
#modal.hu-game-dialog{width:min(1020px,calc(100vw - 28px));max-height:96dvh;padding:18px;border-radius:10px;overflow:auto;scrollbar-width:thin;scrollbar-color:#666 #252525}
.hu-game-dialog .modal-head{margin-bottom:10px}.hu-game-dialog #modal-title{font-size:16px}
.hu-game-dialog .hu-match{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin:0 0 12px;font-size:13px}.hu-match strong span{font-weight:400;color:var(--muted)}.hu-game-dialog .hu-match>span{font-size:11px;color:var(--muted)}#hu-sync-state{margin-left:auto;color:var(--muted);font-size:11px}
.hu-game-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:16px}.hu-play-area,.hu-side-area{min-width:0}.hu-side-area{border-left:1px solid var(--line);padding-left:16px;display:flex;flex-direction:column;gap:12px}
.hu-game-dialog .hu-status{margin:0;padding:10px 12px;text-align:left;background:var(--soft);border-radius:5px;font-size:13px}.hu-status>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.hu-game-dialog .hu-status small{display:block;font-size:10px;color:var(--muted);margin-top:5px;font-weight:400}.hu-game-dialog .hu-status.my-turn{background:#aa8c3618;border-color:#ad915a}.hu-time-track{height:4px;background:#ffffff12;margin-top:8px;overflow:hidden;border-radius:4px}#hu-time-fill{display:block;height:100%;background:#c8aa65;transition:width .25s linear}.hu-status.is-urgent #hu-time-fill{background:#dc785d}.hu-status.is-urgent #hu-time-left{color:#ec977e}#hu-time-left{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:16px}
.hu-game-dialog .hu-round{margin:9px 2px 5px;font-size:11px}.hu-game-dialog .poker-table{position:relative;min-height:0;height:304px;margin:0;padding:0;border:0;border-radius:0;background:transparent;overflow:hidden}.hu-game-dialog .poker-table::before{content:"";position:absolute;inset:50px 12px;border:7px solid #343c37;border-radius:110px;background:radial-gradient(ellipse at 50% 45%,#285748,#183c32 70%);box-shadow:inset 0 0 0 1px #ffffff16,0 3px 8px #0003}.hu-game-dialog .poker-table::after{content:"POKERBIT";position:absolute;top:47%;left:50%;transform:translate(-50%,-50%);font-size:32px;letter-spacing:7px;color:#ffffff05;pointer-events:none}
.hu-game-dialog .poker-player{position:absolute;left:50%;transform:translateX(-50%);z-index:2;border:1px solid #606760;background:#242b27;border-radius:7px;padding:6px 10px;min-width:204px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;color:#eee;text-align:left;box-shadow:0 3px 6px #0004}.hu-game-dialog .hu-seat-other{top:3px}.hu-game-dialog .hu-seat-me{bottom:3px}.hu-game-dialog .poker-player.is-turn{border:2px solid #d5b45f;box-shadow:0 0 0 3px #d5b45f18}.hu-seat-info{grid-column:1;display:flex;flex-direction:column;justify-content:center;min-width:0}.hu-seat-info strong{font-size:12px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hu-seat-info strong small{margin-left:5px;color:#b5b8b0;font-size:9px}.hu-seat-info>b{font-size:18px;color:#f0e3b3;font-variant-numeric:tabular-nums}.hu-seat-info>b small{font-size:10px;font-weight:400}.hu-game-dialog .poker-player em{font-size:10px;color:#e2d3a2}.hu-hole-cards{display:flex;grid-column:2;grid-row:1/3;align-items:center}.hu-game-dialog .playing-card{width:33px;height:46px;margin:0 2px;border-radius:3px;font-size:17px;line-height:1.1;box-shadow:0 1px 3px #0005;flex-shrink:0}.hu-game-dialog .playing-card small{font-size:16px}.hu-game-dialog .playing-card.back{background:repeating-linear-gradient(45deg,#444b49,#444b49 3px,#373e3b 3px,#373e3b 6px);border:2px solid #949b91;color:#d4c494}.hu-seat-action{grid-column:1/-1;font-size:10px;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ded8c5}.hu-game-dialog .hu-seat-bet{position:absolute;right:calc(100% + 8px);top:35%;white-space:nowrap;background:#1119;color:#f3e7c3;padding:3px 6px;border-radius:10px;font-size:10px}.hu-game-dialog .hu-seat-other .hu-seat-bet{right:auto;left:calc(100% + 8px)}
.hu-board-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;min-width:240px;text-align:center}.hu-game-dialog .poker-community{display:flex;gap:3px;margin:7px 0 0;min-height:0;justify-content:center}.hu-game-dialog .poker-community .playing-card{width:38px;height:53px;font-size:20px}.hu-empty-card{width:38px;height:53px;border:1px solid #ffffff20;border-radius:3px;background:#071f1425}.hu-game-dialog .poker-pot{margin:0;font-size:10px;color:#e4e5df}.hu-game-dialog .poker-pot strong{display:inline;font-size:16px;color:#f2e2af;margin-left:4px}
.hu-game-dialog .hu-controls{margin-top:6px}.hu-game-dialog .hu-decision{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:2px 0 6px}.hu-decision>span{font-size:10px;color:var(--muted)}.hu-bet-controls{display:flex;align-items:center;gap:5px;margin:0 0 7px}.hu-game-dialog .hu-bet-controls label{font-size:10px;margin:0!important;white-space:nowrap}.hu-bet-controls input{width:80px;padding:7px;font-size:13px}.hu-bet-controls button{padding:7px 9px;font-size:10px;border:1px solid var(--line)}.hu-game-dialog .hu-actions{display:grid;grid-template-columns:1fr 1.3fr 1.2fr .8fr;gap:6px}.hu-game-dialog .hu-actions>button{padding:12px 3px;min-height:42px;font-size:13px;border:1px solid #62605a;border-radius:4px}.hu-game-dialog .hu-actions .hu-call{background:#756446;border-color:#b79e62;color:#fff}.hu-game-dialog .hu-actions>button[data-hu-move="raise"]{background:#344c40;border-color:#657b64}.hu-game-dialog button:disabled{opacity:.35;cursor:not-allowed}.hu-control-footer{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:6px}.hu-control-footer button{font-size:10px;color:var(--muted);padding:3px}.hu-end-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:10px;padding:12px 0}.hu-end-actions small{flex-basis:100%;font-size:10px;text-align:center;color:var(--muted)}.hu-waiting{height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse,#234a3d55,transparent 70%)}.hu-waiting>span{font-size:48px;color:#b69d61}.hu-waiting h3{letter-spacing:4px;color:#c5ad77}.hu-game-dialog #modal-body .hu-waiting p{font-size:12px;margin:3px}
.hu-game-dialog .hu-history{margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0}.hu-game-dialog .hu-history summary{padding:9px 0;font-size:12px}.hu-game-dialog .hu-history ol{padding:0;max-height:170px;scrollbar-width:thin}.hu-game-dialog .hu-history li{font-size:10px;gap:5px;padding:6px 0}.hu-game-dialog .hu-history li small{width:40px;font-size:9px}.hu-game-dialog .hu-history li strong{min-width:0;max-width:85px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.hu-game-dialog .hu-chat{margin:0;border:0;padding:0;flex:1;min-height:0}.hu-game-dialog .hu-chat-heading{padding:0 0 8px}.hu-game-dialog .hu-chat-heading h3{font-size:12px}.hu-game-dialog .dm-live-state{font-size:9px}.hu-game-dialog .hu-chat-messages{height:200px;max-height:32dvh;min-height:0;padding:6px;background:var(--soft);scrollbar-width:thin;scrollbar-color:#666 transparent}.hu-game-dialog .hu-chat-line{font-size:11px;padding:4px 0}.hu-game-dialog #hu-chat-form{margin-top:8px;gap:5px}.hu-game-dialog #hu-chat-input{padding:9px;font-size:12px}.hu-game-dialog #hu-chat-form button{padding:7px;font-size:11px}.hu-game-dialog .hu-chat>small{display:none}.light .hu-game-dialog .poker-table::before{border-color:#75796c}
@media(max-width:1200px){#modal.hu-game-dialog{padding:10px;width:calc(100vw - 14px);max-height:98dvh;margin:auto;border-radius:6px}.hu-game-layout{grid-template-columns:1fr;gap:8px}.hu-game-dialog .modal-head{margin-bottom:5px}.hu-game-dialog .hu-match{font-size:11px;margin-bottom:7px;gap:3px 8px}.hu-game-dialog .hu-match>span{font-size:9px}#hu-sync-state{font-size:9px}.hu-side-area{border:0;border-top:1px solid var(--line);padding:0;gap:5px}.hu-game-dialog .hu-status{padding:7px 9px;font-size:12px}.hu-game-dialog .hu-status small{font-size:9px}.hu-game-dialog .poker-table{height:274px}.hu-game-dialog .poker-table::before{inset:44px 0;border-width:5px}.hu-game-dialog .poker-player{min-width:190px;padding:5px 7px}.hu-game-dialog .hu-seat-bet{right:calc(100% + 3px);font-size:8px;padding:2px}.hu-game-dialog .hu-seat-other .hu-seat-bet{left:calc(100% + 3px)}.hu-game-dialog .hu-actions>button{min-height:40px;padding:10px 2px;font-size:12px}.hu-game-dialog .hu-bet-controls label{font-size:9px}.hu-bet-controls input{width:65px;padding:6px}.hu-bet-controls button{padding:6px}.hu-game-dialog .hu-history summary{padding:5px 0;font-size:11px}.hu-game-dialog .hu-chat-heading{padding:4px 0}.hu-game-dialog .hu-chat-messages{height:62px;max-height:90px}.hu-game-dialog #hu-chat-form{margin-top:4px}.hu-game-dialog #hu-chat-input{padding:7px}.hu-game-dialog .hu-history ol{max-height:100px}.hu-waiting{height:220px}}

#modal.hu-game-dialog{max-width:calc(100vw - 28px)}
.hu-game-dialog .poker-player{line-height:1.25}.hu-seat-info{gap:2px}.hu-seat-info strong{line-height:1.3}.hu-seat-info>b{line-height:1.25}.hu-game-dialog .hu-seat-action{line-height:1.3}.hu-game-dialog .hu-decision .hu-decision-main{font-size:12px;color:var(--text)}
@media(max-width:1200px){#modal.hu-game-dialog{max-width:calc(100vw - 14px)}.hu-game-dialog .hu-match{flex-direction:row;align-items:center}.hu-game-dialog .hu-match>strong{flex-basis:100%} .hu-game-dialog .hu-match #hu-sync-state{margin-left:auto}.hu-game-dialog .hu-match>span{font-size:9px}}

.hu-seat-identity{display:flex;align-items:center;gap:7px;min-width:0}.hu-avatar{width:30px;height:30px;object-fit:cover;border-radius:50%;flex:0 0 30px}.hu-avatar-empty{display:flex;align-items:center;justify-content:center;background:#ffffff12;color:#c9cec9}.hu-avatar-empty svg{width:23px;height:23px}.hu-seat-identity>div{display:flex;flex-direction:column;min-width:0}.hu-seat-level{font-size:10px;line-height:1.3;color:#d3c39f}.hu-seat-identity strong{max-width:130px}#hu-sound-toggle{font-size:11px;padding:4px 7px;white-space:nowrap}.hu-game-dialog .poker-table{height:326px}@media(max-width:1200px){.hu-game-dialog .poker-table{height:300px}.hu-avatar{width:26px;height:26px;flex-basis:26px}.hu-seat-identity{gap:5px}}
.hu-lobby,.hu-spectators{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:12px}
.hu-lobby p,.hu-spectators p{color:var(--muted);font-size:12px;line-height:1.7}
.hu-lobby-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.hu-lobby-controls select{width:auto;min-width:90px}
.hu-rankings{grid-template-columns:repeat(2,minmax(0,1fr))}
.hu-pot-chips{display:flex;justify-content:center;align-items:flex-end;gap:5px;height:58px;max-width:100%;margin:0 auto 4px}
.hu-chip-stack{position:relative;width:34px;height:24px;display:block;margin-top:32px}
.hu-chip-stack img{position:absolute;left:0;bottom:calc(var(--chip-i)*3px);width:34px;height:24px;filter:drop-shadow(0 2px 1px #0008)}
.hu-chip-arrive{animation:hu-chip-arrive .32s cubic-bezier(.2,.7,.3,1) both}
@keyframes hu-chip-arrive{0%{transform:translate(var(--chip-from-x,0px),var(--chip-from-y,0px));opacity:.2}85%{transform:translateY(-2px);opacity:1}100%{transform:translate(0,0);opacity:1}}
.hu-watch-dialog{width:min(850px,96vw);max-width:96vw}
.hu-watch-dialog .poker-table{min-height:480px}
@media(max-width:600px){.hu-rankings{grid-template-columns:1fr}.hu-opponent{gap:8px;flex-wrap:wrap}.hu-lobby,.hu-spectators{padding:10px}.hu-chip-stack{width:27px}.hu-chip-stack img{width:27px;height:20px}}
@media(prefers-reduced-motion:reduce){.hu-chip-arrive{animation:none}}
.hu-game-dialog .poker-table{height:380px}
#modal.hu-watch-dialog{width:min(850px,calc(100vw - 28px))}
.hu-watch-dialog .poker-table{min-height:0}
@media(max-width:1200px){.hu-game-dialog .poker-table{height:350px}#modal.hu-watch-dialog{width:calc(100vw - 14px)}}

/* 2026-10-22: independent rows keep the board visible at every text size. */
.hu-game-dialog .poker-table{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;gap:18px;height:auto;min-height:0;padding:12px 8px;overflow:visible;isolation:isolate}
.hu-game-dialog .poker-table::before{inset:48px 0;border-radius:100px;z-index:-1}.hu-game-dialog .poker-table::after{z-index:-1}
.hu-game-dialog .poker-player{position:relative;left:auto;top:auto;bottom:auto;transform:none;justify-self:center;width:min(100%,310px);min-width:0;padding:9px 12px;gap:4px 10px;margin:0;grid-template-columns:minmax(0,1fr) auto}
.hu-game-dialog .hu-board-center{position:relative;top:auto;left:auto;transform:none;min-width:0;width:100%;padding:5px 0 10px;z-index:1}
.hu-game-dialog .hu-seat-bet,.hu-game-dialog .hu-seat-other .hu-seat-bet{position:static;grid-column:1/-1;justify-self:start;font-size:10px;padding:2px 6px}
.hu-game-dialog .poker-player.is-winner{border:2px solid #efc563;box-shadow:0 0 0 3px #efc56324,0 4px 16px #0004}
.hu-game-dialog .hu-winner-badge{position:static;background:#efc563;color:#332406;border-radius:4px;padding:3px 5px;font-size:10px;letter-spacing:.5px;order:3;margin-left:auto}
.hu-game-dialog .hu-seat-identity{flex-wrap:wrap}.hu-game-dialog .hu-seat-identity>div{flex:1}.hu-game-dialog .hu-seat-identity .hu-winner-badge{flex-basis:100%;text-align:center}
.hu-showdown-result{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:12px;border:1px solid #c5a14c;border-radius:9px;background:#c5a14c12;text-align:center;margin-top:8px}
.hu-showdown-result>span{font-size:11px;font-weight:800;color:#e9bd58}.hu-showdown-result strong{font-size:15px}.hu-showdown-result small{color:var(--muted)}
.hu-game-dialog .hu-actions>button[data-hu-move="raise"]{color:#fff;background:#246248;border-color:#42876a}.hu-game-dialog .hu-bet-controls{flex-wrap:wrap}.hu-game-dialog .hu-bet-controls label{font-size:11px}
.headsup-portal{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;padding:18px!important;background:transparent;border:0;overflow:visible}
.headsup-portal>div,.headsup-portal>section,.headsup-portal>form,.headsup-portal>p,.headsup-portal>details{min-width:0;margin:0}
.headsup-portal .hu-spectators{grid-column:1/-1;grid-row:1;margin:0;background:var(--panel);border-radius:12px;padding:16px}
.headsup-portal .hu-lobby-metrics{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;border:0}
.headsup-portal .hu-lobby-metrics>div{display:flex;gap:7px;align-items:baseline;background:var(--panel);border:1px solid var(--line);padding:13px 16px;border-radius:10px}.hu-lobby-metrics strong{font-size:24px;color:#4d9cff}.hu-lobby-metrics small{color:var(--muted)}
.headsup-portal .hu-lobby{grid-column:1;grid-row:3;position:relative;display:flex;flex-direction:column;gap:12px;min-height:300px;margin:0;padding:22px;background:linear-gradient(135deg,#0745a5,#1779da);color:#fff;border:0;border-radius:14px;overflow:hidden}
.headsup-portal .hu-lobby .panel-heading{padding:0;gap:10px}.headsup-portal .hu-lobby h2{font-size:23px}.headsup-portal .hu-lobby p{color:#e0edff;margin:0;font-size:12px}.headsup-portal .hu-lobby .panel-heading>span{font-size:11px;color:#d8eaff}
.hu-match-art{display:flex;justify-content:center;height:100px;padding-top:5px}.hu-match-art>b{display:flex;flex-direction:column;align-items:center;width:65px;height:92px;padding:8px;background:#fff;color:#ce4141;border-radius:8px;font-size:30px;box-shadow:0 8px 18px #00255770;transform:rotate(-12deg)}.hu-match-art>b+b{color:#192e4e;transform:rotate(12deg);margin-left:5px}.hu-match-art small{font-size:28px}
.headsup-portal .hu-lobby-controls{margin-top:auto;display:grid;grid-template-columns:85px minmax(0,1fr);gap:8px}.hu-lobby-controls #hu-match-buyin{width:100%;min-width:0;background:#083d88;color:#fff;border-color:#ffffff50}.hu-lobby-controls #hu-match-start{background:#fff;color:#06499e;font-size:16px;min-height:46px}.hu-lobby-controls #hu-match-stop,.hu-lobby-controls #hu-match-resume{background:#ffffff20;border-color:#ffffff60;color:#fff}
.headsup-portal .hu-opponents{grid-column:2;grid-row:3;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:22px;margin:0}.headsup-portal .hu-opponents .panel-heading{padding:0}.hu-opponent-intro{color:var(--muted);font-size:12px}.headsup-portal #hu-opponent-search{display:flex;gap:8px}.headsup-portal #hu-opponent-search input{min-width:0;flex:1;width:0}.headsup-portal #hu-opponent-search button{border-color:#347de8;color:#579cff}
.headsup-portal .hu-portal-top,.headsup-portal .hu-my-record,.headsup-portal .hu-rankings,.headsup-portal .hu-recent,.headsup-portal .hu-portal-rules,.headsup-portal .hu-season-picker,.headsup-portal .hu-season-note,.headsup-portal .hu-season-badges{grid-column:1/-1}
.headsup-portal .hu-portal-top{padding:0;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.headsup-portal .hu-portal-summary{display:none}
.headsup-portal .hu-my-record{background:var(--panel);border:1px solid var(--line);padding:18px;border-radius:12px}.headsup-portal .hu-my-record dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;flex:1}.headsup-portal .hu-my-record dd{font-size:22px}.headsup-portal .hu-ranking,.headsup-portal .hu-recent{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px}.headsup-portal .hu-ranking .panel-heading,.headsup-portal .hu-recent .panel-heading{padding:0 0 14px}.headsup-portal .hu-rankings{gap:16px}.headsup-portal .hu-opponent{padding:10px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}.headsup-portal .hu-opponent button{color:#65a5ff;border-color:#357cda;flex-shrink:0;min-height:38px}.headsup-portal .hu-season-note{color:var(--muted);font-size:11px;line-height:1.6}
@media(max-width:1200px){.headsup-portal{grid-template-columns:minmax(0,1fr);padding:0!important;gap:12px}.headsup-portal .hu-lobby{grid-column:1;grid-row:3;padding:18px;min-height:290px}.headsup-portal .hu-opponents{grid-column:1;grid-row:4;padding:18px}.headsup-portal .hu-lobby-metrics{gap:6px}.headsup-portal .hu-lobby-metrics>div{padding:10px 8px;flex-wrap:wrap;gap:4px;font-size:11px}.hu-lobby-metrics strong{font-size:20px}.headsup-portal .hu-my-record{display:block}.headsup-portal .hu-my-record dl{margin-bottom:0}.headsup-portal .hu-my-record dd{font-size:18px}.hu-game-dialog .poker-table{gap:14px;padding:10px 0}.hu-game-dialog .poker-community{gap:3px}.hu-game-dialog .poker-community .playing-card,.hu-game-dialog .hu-empty-card{width:38px;height:53px;flex-shrink:0}.hu-game-dialog .hu-pot-chips{height:40px}.hu-game-dialog .poker-player{width:min(100%,290px)}.hu-game-dialog .hu-showdown-result strong{font-size:13px}}
.headsup-portal .hu-portal-top{min-height:0;background:none;overflow:visible}.headsup-portal .hu-portal-top .hu-portal-buttons{margin-top:0;max-width:none}.headsup-portal .hu-opponents form{max-width:none}.headsup-portal .hu-rankings{padding:0;border:0}.headsup-portal .hu-lobby-metrics strong{margin:0;font-size:24px}.headsup-portal #hu-waiting-list:empty{display:none}
@media(max-width:1200px){body[data-mobile-view="headsup"] .headsup-portal{display:grid!important}.headsup-portal .hu-portal-top{min-height:0;padding:0;background:none}.headsup-portal .hu-portal-top>div:first-child{max-width:none}.headsup-portal .hu-lobby-metrics strong{font-size:20px}}

/* Live street contributions stay in front of each seat until collected. */
.hu-game-dialog .poker-table{grid-template-rows:none;grid-auto-rows:auto;gap:10px}
.hu-table-bet{display:flex;align-items:center;justify-content:center;gap:8px;justify-self:center;min-width:85px;padding:2px 10px;position:relative;z-index:4}
.hu-table-bet .hu-pot-chips{height:28px;margin:0;gap:4px}.hu-table-bet .hu-chip-stack{margin-top:0;width:27px;height:20px}.hu-table-bet .hu-chip-stack img{width:27px;height:20px}
.hu-table-bet>strong{font-size:11px;color:#f2d59b;white-space:nowrap;font-variant-numeric:tabular-nums}
.hu-board-center .hu-pot-chips:empty{visibility:hidden}
@media(max-width:1200px){.hu-game-dialog .poker-table{gap:7px}.hu-table-bet{padding:0 8px}.hu-table-bet .hu-pot-chips{height:24px}.hu-table-bet>strong{font-size:10px}}

/* Dealer/SB marker follows the authoritative button seat, towards the board. */
.hu-game-dialog .hu-dealer-button{position:absolute;right:10px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:2px solid #d6c8a7;background:linear-gradient(145deg,#fffef5,#dfd9c7);box-shadow:0 2px 5px #0006,inset 0 0 0 2px #fff9;color:#332b1d;font:800 13px/1 Arial,sans-serif;z-index:6;pointer-events:none}
.hu-game-dialog .hu-seat-other .hu-dealer-button{bottom:-13px;top:auto}
.hu-game-dialog .hu-seat-me .hu-dealer-button{top:-13px;bottom:auto}
@media(max-width:1200px){.hu-game-dialog .hu-dealer-button{width:23px;height:23px;right:8px;font-size:12px}.hu-game-dialog .hu-seat-other .hu-dealer-button{bottom:-11px}.hu-game-dialog .hu-seat-me .hu-dealer-button{top:-11px}}

/* Keep the same five table rows while street bets appear and are collected. */
.hu-game-dialog .hu-table-bet{height:32px;min-height:32px;box-sizing:border-box}
.hu-game-dialog .hu-table-bet.is-empty{visibility:hidden}
.hu-game-dialog .hu-board-center .hu-pot-chips:empty{display:flex;visibility:hidden}
@media(max-width:1200px){.hu-game-dialog .hu-table-bet{height:28px;min-height:28px}}

/* Game table layout: seats sit on the rail; the board and street bets never reflow. */
#modal.hu-game-dialog{width:min(1120px,calc(100vw - 24px));padding:12px;background:var(--panel)}
.hu-game-dialog .hu-game-layout{grid-template-columns:minmax(0,1fr) 230px;gap:12px}
.hu-game-dialog .hu-side-area{padding-left:12px;gap:12px}
.hu-game-dialog .hu-match{margin-bottom:8px;font-size:12px}
.hu-game-dialog .hu-status{padding:7px 10px;font-size:12px}
.hu-game-dialog .hu-status small{font-size:10px}.hu-game-dialog .hu-round{display:flex;justify-content:space-between;margin:8px 2px;font-size:10px}
.hu-game-dialog .poker-table{display:block;position:relative;isolation:isolate;height:460px;min-height:0;padding:0;overflow:hidden;border-radius:12px;background:url('/assets/hu-game-table.svg') center/100% 100% no-repeat;box-shadow:inset 0 0 30px #0005}
.hu-game-dialog .poker-table::before{display:none}
.hu-game-dialog .poker-table::after{content:'POKERBIT';z-index:0;top:67%;font-size:21px;letter-spacing:6px;color:#d4b77820}
.hu-game-dialog .poker-player{position:absolute;left:50%;top:auto;bottom:auto;transform:translateX(-50%);width:164px;min-width:0;min-height:100px;padding:25px 8px 7px;display:flex;flex-direction:column;align-items:center;gap:2px;border:1px solid #596a74;border-radius:7px;background:linear-gradient(#1b2a34,#0d141d);color:#eef3f7;box-shadow:0 5px 12px #0009;z-index:3;text-align:center}
.hu-game-dialog .hu-seat-other{top:26px}.hu-game-dialog .hu-seat-me{bottom:20px}
.hu-game-dialog .poker-player.is-turn{border:1px solid #e4c46f;box-shadow:0 0 0 2px #cfae4d55,0 4px 18px #0008}
.hu-game-dialog .poker-player.is-winner{border:1px solid #efc563;box-shadow:0 0 0 3px #efc56344}
.hu-game-dialog .hu-seat-info{display:flex;align-items:center;gap:1px;width:100%}
.hu-game-dialog .hu-seat-identity{display:flex;justify-content:center;flex-wrap:nowrap;width:100%;gap:0}
.hu-game-dialog .hu-seat-identity>div{flex:1;min-width:0}.hu-game-dialog .hu-seat-identity strong{display:block;max-width:146px;font-size:12px;line-height:17px;overflow:hidden;text-overflow:ellipsis}
.hu-game-dialog .hu-avatar{position:absolute;top:-25px;left:50%;transform:translateX(-50%);width:48px;height:48px;flex-basis:48px;object-fit:cover;border:2px solid #82919a;background:#1b303b;box-shadow:0 2px 8px #0008}
.hu-game-dialog .hu-avatar-empty{display:grid;place-items:center;border-radius:50%;font-size:27px;color:#c7ae70}
.hu-game-dialog .hu-seat-level{font-size:9px;line-height:13px;color:#a5b1bb}
.hu-game-dialog .hu-seat-info>b{font-size:20px;line-height:24px;color:#8ed9ff}.hu-game-dialog .hu-seat-info>b small{font-size:10px}
.hu-game-dialog .poker-player em{position:absolute;right:6px;top:6px;font-size:9px;color:#b9c5cd;font-style:normal}
.hu-game-dialog .hu-seat-action{font-size:10px;line-height:14px;max-width:148px;color:#d7c696}
.hu-game-dialog .hu-seat-bet{display:none}
.hu-game-dialog .hu-hole-cards{position:absolute;display:flex;align-items:center;gap:0;left:auto;right:-58px;top:-18px;grid-column:auto;grid-row:auto;z-index:4;transform:rotate(6deg)}
.hu-game-dialog .hu-seat-other .hu-hole-cards{right:auto;left:-57px;top:17px;transform:rotate(-7deg)}
.hu-game-dialog .hu-hole-cards .playing-card{width:43px;height:60px;margin:0 0 0 -5px;border:1px solid #d6dce0;border-radius:4px;font-size:22px;box-shadow:0 3px 7px #0006}
.hu-game-dialog .hu-hole-cards .playing-card small{font-size:23px}
.hu-game-dialog .playing-card.back{background:repeating-linear-gradient(45deg,#823945,#823945 3px,#6c2935 3px,#6c2935 6px);border:2px solid #d1b9b7;color:#e7c8bf}
.hu-game-dialog .hu-board-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:auto;min-width:0;padding:0;z-index:1}
.hu-game-dialog .hu-board-center>.hu-pot-chips{height:36px;margin:0 auto 5px}
.hu-game-dialog .poker-pot{display:inline-block;margin:0 0 7px;padding:3px 12px;background:#081723aa;border:1px solid #6c7b8044;border-radius:20px;font-size:10px;color:#d2dbe1}
.hu-game-dialog .poker-pot strong{font-size:14px;color:#efd17d}
.hu-game-dialog .poker-community{gap:4px;margin:0;flex-wrap:nowrap}
.hu-game-dialog .poker-community .playing-card,.hu-game-dialog .hu-empty-card{width:43px;height:61px;margin:0;border-radius:4px;flex-shrink:0}
.hu-game-dialog .hu-empty-card{border:1px solid #a1bdcc36;background:#0d263440}
.hu-game-dialog .hu-table-bet{position:absolute;left:27%;transform:translateX(-50%);height:36px;min-height:36px;padding:0;display:flex;flex-direction:column;gap:1px;z-index:2}
.hu-game-dialog .hu-table-bet-other{top:31%}.hu-game-dialog .hu-table-bet-me{bottom:27%}
.hu-game-dialog .hu-table-bet>strong{font-size:10px;color:#e5edf1}
.hu-game-dialog .hu-dealer-button{right:-30px;width:23px;height:23px;background:#e4c263;border-color:#ffe49c;color:#33280b;font-size:12px}
.hu-game-dialog .hu-seat-other .hu-dealer-button{top:auto;bottom:6px}.hu-game-dialog .hu-seat-me .hu-dealer-button{top:8px;bottom:auto;right:auto;left:-30px}
.hu-game-dialog .hu-winner-badge{position:absolute;top:-10px;left:50%;transform:translateX(-50%);margin:0;white-space:nowrap;z-index:5}
.hu-game-dialog .hu-hand-label{font-size:10px;color:#e6ce93;line-height:14px}
.hu-game-dialog .hu-controls{width:min(100%,490px);margin:8px 0 0 auto}
.hu-game-dialog .hu-bet-controls{justify-content:flex-end;gap:4px;margin-bottom:6px}
.hu-game-dialog .hu-bet-controls label{font-size:10px}.hu-game-dialog .hu-bet-controls input{width:72px;height:30px;padding:4px 6px}
.hu-game-dialog .hu-bet-controls button{height:30px;padding:4px 8px;background:#28333a;border-color:#4a5860;color:#e1e8ec}
.hu-game-dialog .hu-actions{grid-template-columns:1fr 1.25fr 1.1fr .8fr;gap:5px}
.hu-game-dialog .hu-actions>button{min-height:48px;padding:9px 4px;border-radius:6px;font-size:13px;font-weight:600;color:#fff;border:1px solid #9b5156;background:linear-gradient(#a24850,#702932);box-shadow:inset 0 1px #ffffff18,0 2px 4px #0003}
.hu-game-dialog .hu-actions>.hu-call{background:linear-gradient(#397e91,#245366);border-color:#5997a8;color:#fff}
.hu-game-dialog .hu-actions>button[data-hu-move='raise']{background:linear-gradient(#bd5056,#8b303a);border-color:#ce7474;color:#fff}
.hu-game-dialog .hu-actions>button[data-hu-move='allin']{background:linear-gradient(#95713d,#654820);border-color:#b7955f;color:#fff}
.hu-game-dialog .hu-actions>button:not(:disabled):hover{filter:brightness(1.15)}
@media(max-width:1200px){
 #modal.hu-game-dialog{width:calc(100vw - 12px);max-width:calc(100vw - 12px);padding:8px}
 .hu-game-dialog .hu-game-layout{grid-template-columns:minmax(0,1fr);gap:10px}.hu-game-dialog .hu-side-area{padding:0;border-left:0}
 .hu-game-dialog .poker-table{height:420px}.hu-game-dialog .poker-player{width:138px;min-height:96px;padding:24px 6px 6px}
 .hu-game-dialog .hu-seat-identity strong{max-width:124px;font-size:11px}.hu-game-dialog .hu-seat-other{top:26px}.hu-game-dialog .hu-seat-me{bottom:14px}
 .hu-game-dialog .hu-hole-cards{right:-43px;top:-18px}.hu-game-dialog .hu-seat-other .hu-hole-cards{left:-43px;top:22px}
 .hu-game-dialog .hu-hole-cards .playing-card{width:35px;height:51px;font-size:19px}.hu-game-dialog .hu-hole-cards .playing-card small{font-size:20px}
 .hu-game-dialog .poker-community .playing-card,.hu-game-dialog .hu-empty-card{width:36px;height:53px}.hu-game-dialog .poker-community{gap:3px}
 .hu-game-dialog .hu-table-bet{left:23%;min-width:56px}.hu-game-dialog .hu-table-bet-other{top:33%}.hu-game-dialog .hu-table-bet-me{bottom:25%}
 .hu-game-dialog .hu-controls{width:100%;margin-top:8px}.hu-game-dialog .hu-actions>button{min-height:44px;font-size:12px}
 .hu-game-dialog .hu-bet-controls{gap:3px}.hu-game-dialog .hu-bet-controls button{padding:4px 6px}
 .hu-game-dialog .hu-board-center>.hu-pot-chips{height:31px}.hu-game-dialog .hu-status small{line-height:1.4}
}

/* Larger modal while the native dialog keeps the rest of the page inert. */
#modal.hu-game-dialog{width:min(1320px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:98dvh}
.hu-game-dialog .poker-table{height:510px}
#modal.hu-game-dialog::backdrop{background:#02060cd6;backdrop-filter:blur(3px)}
@media(max-width:1200px){#modal.hu-game-dialog{width:calc(100vw - 8px);max-width:calc(100vw - 8px)}.hu-game-dialog .poker-table{height:440px}}

/* Reference-style game screen: full table, plaque seats, overlaid action dock. */
#modal.hu-game-dialog{width:min(1120px,calc(100vw - 20px));padding:8px;background:#10151c;color:#e7edf2;border-color:#35424d;border-radius:7px}
.hu-game-dialog .modal-head{height:25px;margin:0 0 4px;border-bottom:1px solid #33414c}.hu-game-dialog #modal-title{font-size:12px}
.hu-game-dialog .hu-match{gap:4px 10px;margin:0 2px 6px;font-size:11px;color:#d2dce2}.hu-game-dialog .hu-match>span,.hu-game-dialog #hu-sync-state{font-size:9px;color:#91a1ad}
.hu-game-dialog .hu-game-layout{display:block}.hu-game-dialog .hu-play-area{position:relative}
.hu-game-dialog .poker-table{height:clamp(470px,72dvh,680px);border-radius:5px;background-image:url('/assets/hu-game-table.svg?v=20261025reference1');box-shadow:none}
.hu-game-dialog .hu-status{position:absolute;z-index:5;top:12px;left:12px;width:min(245px,30%);padding:6px 8px;border:1px solid #50636b66;border-radius:3px;background:#0c1922bf;font-size:10px;color:#dbe7ec}
.hu-game-dialog .hu-status.my-turn{background:#14252ed9;border-color:#bea25988}.hu-game-dialog .hu-status small{font-size:9px;line-height:12px;color:#8da1ae}.hu-game-dialog .hu-status #hu-time-left{font-size:13px;color:#f2d36e}.hu-game-dialog .hu-time-track{height:3px;margin-top:4px}
.hu-game-dialog .hu-round{position:absolute;top:92px;left:14px;z-index:4;display:flex;flex-direction:column;gap:3px;margin:0;font-size:9px;color:#b7c9d5}
.hu-game-dialog .poker-table::after{top:55%;font-size:24px;letter-spacing:5px;color:#d7be7630}
.hu-game-dialog .poker-player{width:124px;min-height:62px;padding:7px 5px 4px;gap:1px;border:1px solid #3e4d59;border-radius:3px;background:linear-gradient(#18212c,#080d14);box-shadow:0 3px 8px #000a}
.hu-game-dialog .hu-seat-other{top:15%;left:50%}.hu-game-dialog .hu-seat-me{bottom:24px;left:47%}
.hu-game-dialog .hu-avatar{top:-63px;width:68px;height:68px;border:2px solid #9caaae;box-shadow:0 0 0 3px #0b1219,0 3px 9px #0008;z-index:-1}
.hu-game-dialog .hu-avatar-empty{font-size:36px;background:radial-gradient(#2b4c5f,#13212e);color:#d8b96d}
.hu-game-dialog .hu-seat-identity strong{max-width:110px;font-size:11px;line-height:15px}.hu-game-dialog .hu-seat-info>b{font-size:17px;line-height:21px;color:#7fd7ff}.hu-game-dialog .hu-seat-level{position:absolute;left:-6px;top:-13px;max-width:80px;padding:2px 4px;background:#1d2832;border:1px solid #697983;border-radius:2px;color:#ddd;font-size:9px;line-height:11px}
.hu-game-dialog .poker-player em{top:5px;right:4px;font-size:8px;color:#9aa7ae}.hu-game-dialog .hu-seat-action{font-size:9px;line-height:12px;color:#c7b98b}
.hu-game-dialog .hu-hole-cards{right:auto;left:50%;top:-65px;transform:translateX(-50%);gap:2px;z-index:4}
.hu-game-dialog .hu-seat-other .hu-hole-cards{top:-36px;left:-16px;right:auto;transform:rotate(-8deg)}
.hu-game-dialog .hu-hole-cards .playing-card{width:49px;height:70px;margin:0 0 0 -5px;font-size:24px;box-shadow:0 3px 7px #0008}
.hu-game-dialog .hu-hole-cards .playing-card:first-child{transform:rotate(-5deg)}.hu-game-dialog .hu-hole-cards .playing-card:last-child{transform:rotate(5deg)}
.hu-game-dialog .hu-hole-cards .playing-card small{font-size:26px}

.hu-game-dialog .hu-seat-other .hu-hole-cards .playing-card{width:37px;height:53px;font-size:18px}.hu-game-dialog .hu-seat-other .hu-hole-cards .playing-card small{font-size:20px}
.hu-game-dialog .hu-board-center{top:48%}.hu-game-dialog .hu-board-center>.hu-pot-chips{height:32px;margin-bottom:6px}
.hu-game-dialog .poker-pot{font-size:10px;padding:2px 12px;border-radius:12px;background:#0d2737ad;border:0;color:#e5ca72}.hu-game-dialog .poker-pot strong{font-size:12px;color:#ffdc68}
.hu-game-dialog .poker-community{gap:4px;margin-top:9px}.hu-game-dialog .poker-community .playing-card,.hu-game-dialog .hu-empty-card{width:43px;height:61px}
.hu-game-dialog .hu-table-bet{left:35%;flex-direction:column;gap:1px;min-width:50px}.hu-game-dialog .hu-table-bet-other{top:29%}.hu-game-dialog .hu-table-bet-me{bottom:25%}
.hu-game-dialog .hu-table-bet>strong{font-size:10px;color:#edf3f8}.hu-game-dialog .hu-table-bet .hu-chip-stack img{width:24px;height:18px}
.hu-game-dialog .hu-dealer-button{width:21px;height:21px;right:calc(50% - 10px);font-size:11px}.hu-game-dialog .hu-seat-other .hu-dealer-button{bottom:-27px;top:auto}.hu-game-dialog .hu-seat-me .hu-dealer-button{top:-20px;left:-26px;right:auto}
.hu-game-dialog .hu-controls{position:absolute;z-index:5;bottom:12px;right:12px;width:38%;max-width:380px;margin:0}
.hu-game-dialog .hu-decision{font-size:9px;padding:0 0 4px;color:#bbc9d2}.hu-game-dialog .hu-decision .hu-decision-main{font-size:10px;color:#e4ebef}.hu-game-dialog .hu-decision>span:last-child{display:none}
.hu-game-dialog .hu-bet-controls{display:flex;justify-content:flex-end;flex-wrap:nowrap;gap:2px;margin-bottom:5px}
.hu-game-dialog .hu-bet-controls label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.hu-game-dialog .hu-bet-controls input{order:2;min-width:0;width:62px;height:24px;border:1px solid #5e6970;background:#1d2831;color:#e9f0f4;border-radius:2px;font-size:11px;padding:2px 4px}
.hu-game-dialog .hu-bet-controls button{flex:1;min-width:0;height:24px;padding:2px;border-radius:2px;font-size:9px;background:#34414b;color:#dce4ea;border-color:#59656d}
.hu-game-dialog .hu-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.hu-game-dialog .hu-actions>button,.hu-game-dialog .hu-actions>.hu-call,.hu-game-dialog .hu-actions>button[data-hu-move='raise']{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:58px;padding:6px 3px;border:1px solid #b75a60;border-radius:5px;color:#fff;background:linear-gradient(#b94d52 0%,#9b363d 45%,#77242e 100%);box-shadow:inset 0 1px #ffffff30,0 3px 6px #0008;font-size:12px;line-height:15px}
.hu-game-dialog .hu-actions>button strong{font-size:12px;color:inherit;line-height:15px}
.hu-game-dialog .hu-control-footer{font-size:8px;color:#8397a5;margin-top:4px;gap:4px}.hu-game-dialog .hu-control-footer button{font-size:9px;color:#a7b7c0}
.hu-game-dialog .hu-game-extra{margin-top:7px;border-top:1px solid #34434d;color:var(--text)}.hu-game-extra>summary{font-size:11px;cursor:pointer;padding:6px 3px;color:#9babb7}.hu-game-extra .hu-side-area{display:grid;grid-template-columns:1fr 1fr;border:0;padding:8px 4px;gap:14px}.hu-game-extra .hu-chat-messages{height:150px;max-height:180px}
.hu-game-dialog .hu-showdown-result{position:relative;margin-top:5px;font-size:12px}.hu-game-dialog .hu-winner-badge{top:-10px}
@media(max-width:1200px){
 #modal.hu-game-dialog{width:calc(100vw - 8px);max-width:calc(100vw - 8px);padding:6px}
 .hu-game-dialog .poker-table{height:440px}.hu-game-dialog .hu-status{width:31%;left:6px;top:6px;padding:4px;font-size:9px}.hu-game-dialog .hu-status small{display:none}.hu-game-dialog .hu-status #hu-time-left{font-size:11px}.hu-game-dialog .hu-status>div:first-child{gap:3px;flex-wrap:wrap}.hu-game-dialog .hu-round{left:7px;top:68px;font-size:8px}
 .hu-game-dialog .hu-seat-other{top:18%;left:54%}.hu-game-dialog .hu-seat-me{bottom:10px;left:50%}.hu-game-dialog .poker-player{width:112px;min-height:60px}.hu-game-dialog .hu-seat-identity strong{max-width:98px;font-size:10px}
 .hu-game-dialog .hu-avatar{width:57px;height:57px;top:-53px}.hu-game-dialog .hu-seat-me .hu-hole-cards{top:-55px}.hu-game-dialog .hu-hole-cards .playing-card{width:40px;height:58px;font-size:21px}.hu-game-dialog .hu-hole-cards .playing-card small{font-size:23px}
 .hu-game-dialog .hu-seat-other .hu-hole-cards{left:-11px;top:-29px}.hu-game-dialog .hu-seat-other .hu-hole-cards .playing-card{width:30px;height:44px}
 .hu-game-dialog .hu-board-center{top:50%}.hu-game-dialog .poker-community .playing-card,.hu-game-dialog .hu-empty-card{width:34px;height:49px}.hu-game-dialog .hu-table-bet{left:24%}.hu-game-dialog .hu-table-bet-other{top:35%}.hu-game-dialog .hu-table-bet-me{bottom:25%}
 .hu-game-dialog .hu-controls{position:relative;bottom:auto;right:auto;width:100%;max-width:none;margin-top:7px}.hu-game-dialog .hu-actions>button{min-height:50px}.hu-game-dialog .hu-bet-controls button{height:27px;font-size:10px}.hu-game-dialog .hu-bet-controls input{height:27px;width:68px}
 .hu-game-extra .hu-side-area{grid-template-columns:1fr}.hu-game-dialog .hu-control-footer{font-size:9px}
}

.hu-game-dialog .hu-raise-slider{display:block;appearance:none;-webkit-appearance:none;width:100%;height:6px;min-height:0;padding:0;margin:5px 0 12px;border:1px solid #56616a;border-radius:8px;background:linear-gradient(to right,#d0b46e 0 var(--hu-range-fill,0%),#17252f var(--hu-range-fill,0%) 100%);cursor:pointer;touch-action:pan-y;box-shadow:inset 0 1px 3px #0006}
.hu-game-dialog .hu-raise-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:17px;height:17px;border:2px solid #f2dfad;border-radius:50%;background:#bca06b;box-shadow:0 1px 4px #0008;cursor:grab}
.hu-game-dialog .hu-raise-slider::-moz-range-thumb{width:13px;height:13px;border:2px solid #f2dfad;border-radius:50%;background:#bca06b;cursor:grab}
.hu-game-dialog .hu-raise-slider:disabled{opacity:.35;cursor:not-allowed}
@media(max-width:1200px){.hu-game-dialog .hu-raise-slider{margin:8px 0 14px;height:7px}.hu-game-dialog .hu-raise-slider::-webkit-slider-thumb{width:21px;height:21px}.hu-game-dialog .hu-raise-slider::-moz-range-thumb{width:17px;height:17px}}
.hu-game-dialog .hu-bet-controls [data-hu-size].is-selected{color:#ffdf86;border-color:#d4b46b;background:#5d4c2a}
.hu-game-dialog .hu-size-hint{display:block;margin:-6px 0 5px;text-align:right;font-size:9px;line-height:12px;color:#d5bd7e}
.hu-game-dialog .hu-size-hint:empty{display:none}

/* Place each street bet directly in front of its own seat. */
.hu-game-dialog .hu-table-bet-other{left:50%;top:29%}
.hu-game-dialog .hu-table-bet-me{left:47%;bottom:25%}
@media(max-width:1200px){.hu-game-dialog .poker-table{height:480px}.hu-game-dialog .hu-seat-other{top:17%}.hu-game-dialog .hu-board-center{top:51.5%}.hu-game-dialog .hu-table-bet-other{left:54%;top:31%}.hu-game-dialog .hu-table-bet-me{left:50%;bottom:29%}}

/* Four-colour face cards, with corner suit and large lower rank. */
.hu-game-dialog .playing-card.suit-spade{--hu-card-top:#45535c;--hu-card-bottom:#182025}
.hu-game-dialog .playing-card.suit-heart{--hu-card-top:#df3545;--hu-card-bottom:#980f20}
.hu-game-dialog .playing-card.suit-diamond{--hu-card-top:#2d8fd7;--hu-card-bottom:#155397}
.hu-game-dialog .playing-card.suit-club{--hu-card-top:#24ad43;--hu-card-bottom:#087324}
.hu-game-dialog .poker-table .playing-card:not(.back){display:block;position:relative;padding:0;overflow:hidden;background:linear-gradient(135deg,var(--hu-card-top),var(--hu-card-bottom));color:#fff;border:1px solid #ffffff70;box-shadow:inset 0 0 0 2px #ffffff0a,0 3px 5px #0007;text-align:left;font-family:Arial,sans-serif;text-shadow:0 1px 1px #0004}
.hu-game-dialog .playing-card .hu-card-corner{position:absolute;left:4px;top:3px;display:flex;flex-direction:column;align-items:center;gap:1px;line-height:1;font-size:14px;font-weight:700}
.hu-game-dialog .playing-card .hu-card-corner small{display:block;font-size:17px;line-height:1;color:#fff}
.hu-game-dialog .playing-card .hu-card-rank{position:absolute;right:3px;bottom:1px;font-size:36px;line-height:1;letter-spacing:-2px;font-weight:700;color:#fff}
.hu-game-dialog .hu-hole-cards .playing-card .hu-card-rank{font-size:40px}
.hu-game-dialog .hu-seat-other .playing-card .hu-card-rank{font-size:28px}.hu-game-dialog .hu-seat-other .playing-card .hu-card-corner{font-size:11px;left:3px;top:2px}.hu-game-dialog .hu-seat-other .playing-card .hu-card-corner small{font-size:13px}
.hu-game-dialog .hu-seat-clock{position:absolute;left:5px;right:5px;bottom:-7px;height:4px;background:#060c1199;border-radius:1px;overflow:hidden;box-shadow:0 1px 2px #0008}
.hu-game-dialog .hu-seat-clock[hidden]{display:none}
.hu-game-dialog .hu-seat-clock>span{display:block;height:100%;width:100%;background:linear-gradient(90deg,#8bd130,#d5ed66);transition:width .1s linear}
.hu-game-dialog .hu-seat-clock.is-warning>span{background:#e6b847}.hu-game-dialog .hu-seat-clock.is-urgent>span{background:#ee5860}
@media(max-width:1200px){.hu-game-dialog .playing-card .hu-card-corner{font-size:11px;left:3px;top:2px}.hu-game-dialog .playing-card .hu-card-corner small{font-size:13px}.hu-game-dialog .playing-card .hu-card-rank{font-size:28px}.hu-game-dialog .hu-hole-cards .playing-card .hu-card-rank{font-size:33px}.hu-game-dialog .hu-seat-other .playing-card .hu-card-rank{font-size:23px}.hu-game-dialog .hu-seat-other .playing-card .hu-card-corner{font-size:9px}.hu-game-dialog .hu-seat-other .playing-card .hu-card-corner small{font-size:11px}}
@media(prefers-reduced-motion:reduce){.hu-game-dialog .hu-seat-clock>span{transition:none}}

.hu-card-waiting{visibility:hidden!important;animation:none!important}
.hu-game-dialog .poker-community{perspective:800px}
.hu-card-deal{animation:hu-board-deal .42s cubic-bezier(.16,.7,.25,1) both;transform-origin:left center;will-change:transform,opacity}
@keyframes hu-board-deal{0%{opacity:0;transform:translateX(-38px) rotateY(-75deg) scale(.92)}35%{opacity:1}100%{opacity:1;transform:translateX(0) rotateY(0) scale(1)}}
.hu-dealing .hu-seat-clock{visibility:hidden}
@media(prefers-reduced-motion:reduce){.hu-card-deal{animation:none;will-change:auto}}


/* Larger readable cards and deeper, separated bet landing spots. */
.hu-game-dialog .poker-table{height:clamp(560px,76dvh,720px)}
.hu-game-dialog .hu-hole-cards{top:-88px}
.hu-game-dialog .hu-hole-cards .playing-card{width:64px;height:90px}
.hu-game-dialog .hu-seat-other .hu-hole-cards{top:-49px;left:-27px}
.hu-game-dialog .hu-seat-other .hu-hole-cards .playing-card{width:48px;height:68px}
.hu-game-dialog .poker-community{gap:5px}
.hu-game-dialog .poker-community .playing-card,.hu-game-dialog .hu-empty-card{width:60px;height:84px;flex-shrink:0}
.hu-game-dialog .playing-card .hu-card-corner{font-size:19px;left:5px;top:4px}
.hu-game-dialog .playing-card .hu-card-corner small{font-size:25px}
.hu-game-dialog .playing-card .hu-card-rank{font-size:47px;right:4px;bottom:3px}
.hu-game-dialog .hu-hole-cards .playing-card .hu-card-rank{font-size:51px}
.hu-game-dialog .hu-seat-other .playing-card .hu-card-rank{font-size:37px}
.hu-game-dialog .hu-seat-other .playing-card .hu-card-corner{font-size:15px;left:4px;top:3px}
.hu-game-dialog .hu-seat-other .playing-card .hu-card-corner small{font-size:19px}
.hu-game-dialog .hu-table-bet-other{left:66%;top:34%}
.hu-game-dialog .hu-table-bet-me{left:34%;bottom:32%}
.hu-game-dialog .hu-table-bet .hu-chip-stack img{width:29px;height:22px}
.hu-chip-arrive{animation-duration:.46s}
@media(max-width:1200px){
 .hu-game-dialog .poker-table{height:560px}
 .hu-game-dialog .hu-board-center{top:49%}
 .hu-game-dialog .hu-seat-me .hu-hole-cards{top:-72px}
 .hu-game-dialog .hu-hole-cards .playing-card{width:52px;height:74px}
 .hu-game-dialog .hu-seat-other .hu-hole-cards{top:-40px;left:-22px}
 .hu-game-dialog .hu-seat-other .hu-hole-cards .playing-card{width:40px;height:57px}
 .hu-game-dialog .poker-community{gap:4px}
 .hu-game-dialog .poker-community .playing-card,.hu-game-dialog .hu-empty-card{width:46px;height:66px}
 .hu-game-dialog .playing-card .hu-card-corner{font-size:15px;left:4px;top:3px}
 .hu-game-dialog .playing-card .hu-card-corner small{font-size:20px}
 .hu-game-dialog .playing-card .hu-card-rank{font-size:36px;right:3px;bottom:2px}
 .hu-game-dialog .hu-hole-cards .playing-card .hu-card-rank{font-size:41px}
 .hu-game-dialog .hu-seat-other .playing-card .hu-card-rank{font-size:30px}
 .hu-game-dialog .hu-seat-other .playing-card .hu-card-corner{font-size:12px;left:3px;top:2px}
 .hu-game-dialog .hu-seat-other .playing-card .hu-card-corner small{font-size:16px}
 .hu-game-dialog .hu-table-bet-other{left:79%;top:35%}
 .hu-game-dialog .hu-table-bet-me{left:21%;bottom:32%}
}

/* Keep heads-up conversation and hand actions beside the table. */
.hu-game-dialog .hu-game-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:stretch;gap:12px}
.hu-game-dialog .hu-play-area{min-width:0}
.hu-game-dialog .hu-side-area.hu-always-visible{display:flex;flex-direction:column;gap:12px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:5px;background:var(--panel)}
.hu-game-dialog .hu-always-visible .hu-chat{display:flex;flex-direction:column;flex:1;min-height:260px;overflow:hidden}
.hu-game-dialog .hu-always-visible .hu-chat-messages{flex:1;height:300px;min-height:150px;max-height:55dvh;overflow-y:auto}
.hu-game-dialog .hu-always-visible .hu-chat-heading{padding:0 0 8px}
.hu-game-dialog .hu-always-visible .hu-history{flex:0 0 auto;margin:0;border:0;border-top:1px solid var(--line);padding-top:10px}
.hu-game-dialog .hu-always-visible .hu-history h3{font-size:12px;margin:0 0 8px}
.hu-game-dialog .hu-always-visible .hu-history ol{max-height:190px;overflow-y:auto;margin:0;padding:0}
@media(max-width:1200px){.hu-game-dialog .hu-game-layout{grid-template-columns:minmax(0,1fr)}.hu-game-dialog .hu-side-area.hu-always-visible{display:grid;grid-template-columns:minmax(0,1fr);padding:8px}.hu-game-dialog .hu-always-visible .hu-chat-messages{height:180px;max-height:32dvh}.hu-game-dialog .hu-always-visible .hu-history ol{max-height:130px}}

/* Stable chat-style action feed; result controls stay inside its scroll area. */
.hu-game-dialog .hu-always-visible .hu-history ol{height:190px;min-height:190px;max-height:190px;overflow-y:auto;overflow-anchor:none;scrollbar-gutter:stable}
.hu-game-dialog .hu-history .hu-log-hand{color:var(--muted);font-weight:700}
.hu-game-dialog .hu-history .hu-log-result{display:block;color:#f1cf73;background:#c5a14c16;padding:8px 5px}
.hu-game-dialog .hu-history .hu-log-result strong{display:block;max-width:none;white-space:normal;font-weight:700;color:inherit}
.hu-game-dialog .hu-history .hu-log-result span{display:block;text-align:left;margin:4px 0 0}
.hu-game-dialog .hu-history .hu-log-notice{color:#8bc7f4;background:#5da8df12;padding:8px 5px}
.hu-game-dialog .hu-history .hu-log-notice span{margin:0;text-align:left}
.hu-game-dialog .hu-history .hu-log-buttons{flex-wrap:wrap;gap:5px}
.hu-game-dialog .hu-log-buttons button{font-size:11px;padding:6px 8px}
.light .hu-game-dialog .hu-log-result{color:#795600}
.light .hu-game-dialog .hu-log-notice{color:#155d91}
@media(max-width:1200px){
 .hu-game-dialog .hu-always-visible .hu-history ol{height:160px;min-height:160px;max-height:160px}
 .hu-game-dialog .hu-controls{height:188px;min-height:188px;box-sizing:border-box}
}

/* Runout animation may conceal results without collapsing the feed panel. */
.hu-game-dialog .hu-always-visible .hu-history[hidden]{display:block!important}
.hu-game-dialog .hu-always-visible .hu-history[hidden] ol{visibility:hidden}

/* Mobile messages must never resize the game or chain scrolling to its dialog. */
@media(max-width:1200px){
 .hu-game-dialog .hu-always-visible .hu-chat{height:260px;min-height:260px;max-height:260px;min-width:0;box-sizing:border-box}
 .hu-game-dialog .hu-always-visible .hu-chat-heading{flex:0 0 28px;min-height:28px;box-sizing:border-box;overflow:hidden;white-space:nowrap}
 .hu-game-dialog .hu-always-visible .hu-chat-heading h3{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .hu-game-dialog .hu-always-visible .dm-live-state{flex-shrink:0;white-space:nowrap}
 .hu-game-dialog .hu-always-visible .hu-chat-messages{flex:1 1 0;height:0;min-height:0;max-height:none;overflow-y:auto;overflow-wrap:anywhere;overflow-anchor:none;overscroll-behavior-y:contain;scrollbar-gutter:stable}
 .hu-game-dialog .hu-always-visible #hu-chat-form{flex-shrink:0;min-width:0}
 .hu-game-dialog .hu-always-visible .hu-history ol{overscroll-behavior-y:contain}
}

/* Dealt hole cards replace the avatar and sit centrally above the seat. */
.hu-game-dialog .hu-seat-other .hu-hole-cards{left:50%;right:auto;top:-68px;transform:translateX(-50%)}
@media(max-width:1200px){.hu-game-dialog .hu-seat-other .hu-hole-cards{left:50%;right:auto;top:-57px;transform:translateX(-50%)}}

/* Keep identity in the seat and all dealt cards clear of its upper edge. */
.hu-game-dialog .hu-seat-identity>.hu-seat-name{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:4px;min-width:0;width:100%;overflow:hidden}
.hu-game-dialog .hu-seat-name>.hu-seat-level{position:static;inset:auto;display:inline-block;flex:0 0 auto;max-width:none;padding:1px 3px;font-size:9px;line-height:13px;white-space:nowrap}
.hu-game-dialog .hu-seat-name>strong{display:block;flex:0 1 auto;min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hu-game-dialog .poker-player .hu-hole-cards{left:50%;right:auto;top:auto;bottom:calc(100% + 12px);transform:translateX(-50%)}

/* Desktop conversation has a bounded height independent of message count. */
@media(min-width:1201px){
 .hu-game-dialog .hu-always-visible .hu-chat{flex:0 0 auto;height:clamp(260px,50dvh,520px);min-height:0;min-width:0;box-sizing:border-box}
 .hu-game-dialog .hu-always-visible .hu-chat-heading,.hu-game-dialog .hu-always-visible #hu-chat-form{flex-shrink:0}
 .hu-game-dialog .hu-always-visible .hu-chat-messages{flex:1 1 0;height:0;min-height:0;max-height:none;overflow-y:auto;overflow-wrap:anywhere;overflow-anchor:none;overscroll-behavior-y:contain;scrollbar-gutter:stable}
}

/* home-rebalance.css */
/* Natural column heights. Keep a shared starting line, not forced bottom alignment. */
@media(min-width:1201px){main{align-items:start;min-height:calc(100dvh - 245px)}main>.left-column,main>.right-sidebar{align-self:start;height:auto;min-height:0}main>.content{align-self:start;min-height:0;display:flex;flex-direction:column;gap:18px}main>.right-sidebar>.popular-panel{flex:0 0 auto}main>.content>#board-page:not([hidden]){flex:0 0 auto;min-height:520px}body[data-section="home"]:not(.board-screen) .content>#board-grid,body[data-section="market"] .content>.trend-detail,body[data-section="live"] .content>#live,body[data-section="scams"] .content>#scams{flex:0 0 auto}body[data-section="solver"] .content>.pf-slot,body[data-section="solver"] .content>.pf-slot>.pf-panel:not(.pf-expanded){flex:0 0 auto}}
.right-sidebar{gap:14px}.popular-panel{height:auto;min-height:0}.sidebar-solver{padding:0;min-width:0;overflow:visible}.sidebar-solver>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 12px;cursor:pointer;list-style:none}.sidebar-solver>summary::-webkit-details-marker{display:none}.sidebar-solver>summary h2{font-size:13px;margin:0;font-weight:500}.sidebar-solver>summary span{font-size:10px;color:var(--muted)}.sidebar-solver>summary span:after{content:' +';font-size:14px}.sidebar-solver[open]>summary span{font-size:0}.sidebar-solver[open]>summary span:after{content:'−';font-size:15px}.sidebar-solver>.pf-slot>.pf-panel:not(.pf-expanded){padding:0 12px 12px;border:0;background:transparent;box-shadow:none}.sidebar-solver .pf-heading{padding-top:2px}.sidebar-solver-link{display:block;font-size:11px;color:var(--muted);padding:4px 12px 13px}.sidebar-scam-search .panel-heading{padding:13px 12px}.sidebar-scam-search h2{font-size:13px}.sidebar-scam-search form{padding:0 12px;margin:0;gap:5px}.sidebar-scam-search input{padding:8px;font-size:11px;min-width:0;flex:1}.sidebar-scam-search button{padding:7px;font-size:11px}.sidebar-scam-search>a{display:block;font-size:10px;color:var(--muted);padding:10px 12px 13px}.sidebar-scam-search>a:hover,.sidebar-solver-link:hover{text-decoration:underline}
body[data-page-kind="index.php"] #board-grid{display:block;width:100%;margin:0;min-width:0}.home-latest,.home-market{background:var(--panel);padding:0 16px;border-radius:4px;min-width:0}.home-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 0 12px}.home-section-head h2{font-size:16px;font-weight:600;margin:0;color:var(--text);letter-spacing:-.3px}.home-section-head>a{font-size:11px;color:var(--muted);white-space:nowrap}.home-section-head>a:hover{text-decoration:underline}.home-feed-tabs{display:flex!important;gap:14px;flex-wrap:wrap;padding:0 0 12px;height:auto;border-bottom:1px solid var(--line)}.home-feed-tabs a{font-size:11px;color:var(--muted);height:auto}.home-feed-tabs a:first-child{color:var(--text)}.home-feed-tabs a:hover{color:var(--text);text-decoration:underline}.home-feed{min-width:0}.home-feed-row{display:grid;grid-template-columns:58px minmax(0,1fr) 72px 50px;gap:8px;align-items:center;min-height:35px;border-bottom:1px solid var(--line);font-size:12px}.home-feed-category{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-feed-subject{display:flex;align-items:center;gap:5px;min-width:0;color:var(--text);overflow:hidden}.home-feed-subject .post-list-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit}.home-feed-subject:hover .post-list-title{text-decoration:underline;text-underline-offset:3px}.home-feed-subject .post-type{width:14px;flex-basis:14px}.home-feed-subject .post-type svg{width:14px;height:14px}.home-feed-subject .post-new,.home-feed-subject .post-comment-count{flex-shrink:0}.home-feed-author{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-feed-row time{font-size:11px;text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}.home-feed-bottom{display:flex;align-items:center;justify-content:space-between;padding:12px 0;font-size:11px}.home-feed-bottom>a:first-child{color:var(--muted)}.home-feed-bottom .subtle{padding:5px 12px;font-size:11px}.home-featured{display:flex;align-items:flex-start;gap:12px;padding:12px 0 15px;border-top:1px solid var(--line)}.home-featured>span{font-size:10px;color:var(--brand-gold,#c7a873);padding-top:3px;flex:none}.home-featured>div{display:flex;flex-direction:column;gap:6px;min-width:0}.home-featured a{display:flex;align-items:center;gap:5px;font-size:11px;min-width:0}.home-featured .post-list-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-featured a:hover .post-list-title{text-decoration:underline}.home-empty{padding:16px 0;margin:0;color:var(--muted);font-size:12px;line-height:1.7}.home-empty a{margin-left:7px;color:var(--text);font-size:11px}
.market-summary-list{display:flex;flex-direction:column;width:100%;min-width:0}.market-summary-row{display:grid;grid-template-columns:minmax(0,1fr) 85px 96px 65px;align-items:center;gap:14px;padding:12px 0;border-top:1px solid var(--line)}.market-summary-name{font-size:12px;color:var(--text)}.market-summary-name small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.market-summary-row>strong{font-size:15px;font-weight:500;text-align:right;font-variant-numeric:tabular-nums}.market-sparkline{width:96px;height:26px;color:#91a897}.market-summary-change{text-align:right;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.market-summary-note{font-size:10px;color:var(--muted);margin:0;padding:2px 0 13px}.market-overview:has(>.market-empty-compact),.market-overview:has(>.market-summary-list){display:block}.market-overview>.market-summary-list,.market-overview>.market-empty-compact{background:var(--panel);padding:10px 16px;border-radius:4px}
/* A small live stage above the feed: one player and three alternative thumbnails. */
#live.home-live{margin:0;flex:none;min-height:0;border:0;background:var(--panel)}#live.home-live>.panel-heading{padding:13px 16px;min-height:0}#live.home-live h2{font-size:14px}#live.home-live .live-body{display:grid;grid-template-columns:minmax(0,1fr) 166px;gap:0;align-items:start}#live.home-live .live-primary{width:100%;min-width:0}#live.home-live .live-player{width:100%;height:auto;aspect-ratio:16/9;max-height:250px;min-height:0;position:relative}#live.home-live .live-player iframe{position:absolute;inset:0;width:100%;height:100%}#live.home-live .live-now{padding:9px 14px;display:flex;gap:8px;align-items:center;background:transparent}#live.home-live .live-now strong{font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}#live.home-live .live-now p{font-size:10px;margin-top:4px}#live.home-live .live-now>.subtle{font-size:9px;padding:5px;white-space:nowrap}#live.home-live .live-playlist{width:auto;min-width:0;border-left:1px solid var(--line);align-self:stretch}#live.home-live .live-list{position:static;display:flex;flex-direction:column;max-height:none;height:auto;overflow:hidden;padding:6px}#live.home-live .live-card{display:flex;padding:5px;gap:6px;align-items:center;border:0;border-bottom:1px solid var(--line);border-radius:0}#live.home-live .live-card:last-child{border-bottom:0}#live.home-live .live-card img{width:64px;aspect-ratio:16/9;object-fit:cover}#live.home-live .live-card>div{min-width:0}#live.home-live .live-card strong{font-size:10px;line-height:1.4;-webkit-line-clamp:2}#live.home-live .live-card small{font-size:8px}#live.home-live .live-card p{font-size:9px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-live-links{display:flex;gap:10px;align-items:center}.home-live-links>a{font-size:11px;color:var(--muted)}.home-live-links button{font-size:12px;padding:3px 7px}#live.home-live:not(.has-live) .live-body{display:block}#live.home-live:not(.has-live) .live-player{aspect-ratio:auto;height:64px;background:transparent}#live.home-live:not(.has-live) .live-empty{height:64px;min-height:0;display:flex;align-items:center;justify-content:flex-start;padding:12px 16px;gap:10px}#live.home-live:not(.has-live) .live-empty span{font-size:22px;margin:0}#live.home-live:not(.has-live) .live-empty h3{font-size:12px;margin:0;font-weight:400;color:var(--muted)}#live.home-live:not(.has-live) .live-empty p,#live.home-live:not(.has-live) .live-now,#live.home-live:not(.has-live) .live-playlist{display:none}

@media(max-width:1200px){body[data-page-kind="index.php"][data-mobile-view="home"] .content{display:flex!important;flex-direction:column;gap:12px}body[data-page-kind="index.php"][data-mobile-view="home"] .content>#home-market{display:block!important}body[data-page-kind="index.php"][data-mobile-view="home"] .content>#board-grid{display:block!important}.home-latest,.home-market{padding:0 12px}.home-section-head{padding-top:13px}.home-section-head h2{font-size:15px}.home-feed-tabs{gap:9px 13px;padding-bottom:10px}.home-feed-row{grid-template-columns:46px minmax(0,1fr) 40px;gap:5px;min-height:36px}.home-feed-row .home-feed-author{display:none}.home-feed-category{font-size:9px}.home-feed-subject{font-size:12px;gap:4px}.home-feed-row time{font-size:10px}.market-summary-row{grid-template-columns:minmax(0,1fr) 72px 62px 51px;gap:6px}.market-sparkline{width:62px}.market-summary-row>strong{font-size:13px}.market-summary-name{font-size:11px}.market-summary-change{font-size:10px}#live.home-live .live-body{display:block}#live.home-live .live-player{max-height:205px}#live.home-live .live-now{padding:8px 12px}#live.home-live .live-playlist{border-left:0;border-top:1px solid var(--line)}#live.home-live .live-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:5px;gap:4px}#live.home-live .live-card{display:flex;flex-direction:column;align-items:stretch;padding:2px;border:0;gap:3px;text-align:left}#live.home-live .live-card img{width:100%;aspect-ratio:16/9}#live.home-live .live-card strong{-webkit-line-clamp:1;font-size:10px}#live.home-live .live-card small{font-size:8px}#live.home-live .live-card p{display:none}#live.home-live>.panel-heading{padding:11px 12px}.home-featured{padding-bottom:12px}.sidebar-solver,.sidebar-scam-search{display:none}}

body[data-page-kind="index.php"] .content>.ad-main{order:0}body[data-page-kind="index.php"] .content>#live{order:1}body[data-page-kind="index.php"] .content>#board-grid{order:2}body[data-page-kind="index.php"] .content>#home-market{order:3}
.popular-panel h2:before,.chat>.panel-heading h2:before{background:var(--muted);opacity:.65}

#live.home-live #live-player{max-height:250px;aspect-ratio:16/9}#live.home-live:not(.has-live) #live-player{height:64px;aspect-ratio:auto}.sidebar-solver .pf-panel.pf-expanded{position:fixed!important;top:80px!important;right:max(16px,calc((100vw - 1488px)/2));width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 100px)!important;overflow:auto;padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:5px;z-index:75;scrollbar-width:thin}
@media(max-width:1200px){#live.home-live #live-player{max-height:205px}}

body .ad-slot:not(.has-ad):not([data-ad-preview]){display:none!important}
@media(max-width:1200px){#live.home-live #live-player{max-height:170px}#live.home-live .live-card img{height:auto;max-height:54px}#live.home-live .live-card small{display:none}#live.home-live .live-card strong{line-height:1.4}#live.home-live .live-card>div{padding:0}#live.home-live .live-now>.subtle{display:none}}

/* Keep the player exactly 16:9 instead of limiting only its height. */
#live.home-live.has-live .live-body{grid-template-columns:minmax(0,1fr) clamp(230px,35%,310px)}
#live.home-live.has-live #live-player{width:100%;height:auto;max-height:none;aspect-ratio:16/9;padding:0}
#live.home-live.has-live #live-player iframe{inset:0;width:100%;height:100%;border:0}
#live.home-live .live-card img{width:96px;height:auto;aspect-ratio:16/9}
#live.home-live .live-card strong{font-size:11px;-webkit-line-clamp:2}
#live.home-live .live-card small{font-size:9px}
@media(max-width:1200px){#live.home-live.has-live .live-body{display:block}#live.home-live .live-card img{width:100%;max-height:54px}#live.home-live .live-card strong{font-size:10px;-webkit-line-clamp:1}}

/* Mobile account and navigation drawer; desktop account remains in the left column. */
#mobile-menu-toggle{display:none}.mobile-drawer{padding:0;border:0;border-left:1px solid var(--line);margin:0 0 0 auto;width:min(240px,66vw);max-width:66vw;height:100dvh;max-height:100dvh;background:var(--panel,#1e1e1e);color:var(--text,#eee);box-sizing:border-box;overflow:hidden}.mobile-drawer[open]{display:flex;flex-direction:column;animation:drawer-enter .2s ease-out}.mobile-drawer::backdrop{background:#0009}.drawer-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 14px;border-bottom:1px solid var(--line);flex-shrink:0}.drawer-heading h2{margin:0;font-size:16px}.drawer-close{width:36px;height:36px}.drawer-scroll{overflow-y:auto;overscroll-behavior:contain;padding:0 14px max(24px,env(safe-area-inset-bottom));scrollbar-width:thin;scrollbar-color:#666 transparent}.drawer-account #sidebar-account{display:block!important;border:0;border-radius:0;padding:18px 0;margin:0;background:transparent}.drawer-actions,.drawer-categories{display:grid;grid-template-columns:1fr 1fr;gap:0;border-bottom:1px solid var(--line);padding:10px 0}.drawer-actions button,.drawer-extra button{border:0;background:transparent;text-align:left;padding:12px 0;color:inherit;font-size:13px}.drawer-links{display:flex;flex-direction:column;padding:12px 0;border-bottom:1px solid var(--line)}.drawer-links a{padding:11px 0;font-size:14px;color:inherit;text-decoration:none}.drawer-categories a{padding:10px 0;font-size:12px;color:var(--muted,#aaa);text-decoration:none}.drawer-extra{display:flex;flex-direction:column;padding-top:10px}body.drawer-open{overflow:hidden}@keyframes drawer-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(max-width:1200px){header .header-actions #profile,header .header-actions #theme{display:none!important}#mobile-menu-toggle{display:flex;align-items:center;justify-content:center;width:38px;height:38px;padding:8px;background:transparent;border:0;color:inherit}#mobile-menu-toggle svg{width:24px;height:24px}.left-column>#sidebar-account{display:none!important}}
@media(prefers-reduced-motion:reduce){.mobile-drawer[open]{animation:none}}

.mobile-drawer nav{height:auto;align-items:stretch;gap:0}.mobile-drawer nav a{height:auto}.mobile-drawer .drawer-categories{display:grid}.mobile-drawer .drawer-links{display:flex}

/* A single community-style account page, with activity rows rather than nested cards. */
.mypage{padding:22px;min-width:0;width:100%}.mypage-title h1{font-size:20px;margin:0 0 18px}.mypage-tabs{height:auto;display:flex;align-items:stretch;gap:20px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:0;margin-bottom:22px}.mypage-tabs a{height:auto;padding:0 0 12px;font-size:13px;color:var(--muted)}.mypage-tabs a[aria-current]{color:var(--text);border-bottom:2px solid #c4ad72}.mypage h2{font-size:15px;margin:25px 0 12px}.mypage h2 small{color:var(--muted);margin-left:6px;font-weight:400}.mypage h3{font-size:13px}.mypage-summary{display:flex;align-items:center;gap:14px;padding:5px 0 22px;border-bottom:1px solid var(--line)}.mypage-summary strong{font-size:17px}.mypage-summary p{color:var(--muted);margin:7px 0 0}.mypage-summary>a{margin-left:auto;font-size:18px}.mypage-avatar{width:52px;height:52px;display:grid;place-items:center;background:var(--soft);border-radius:50%;overflow:hidden;font-size:26px}.mypage-avatar img{width:100%;height:100%;object-fit:cover}.mypage-counts{display:flex;gap:24px;padding:22px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.mypage-counts b{margin-left:10px}.mypage-counts span{color:var(--muted);margin-left:10px}.mypage-shortcuts{display:grid;grid-template-columns:1fr 1fr;padding:15px 0;gap:0 20px}.mypage-shortcuts>a,.mypage-shortcuts>button{padding:12px 0;text-align:left;font-size:13px}.mypage-posts>div{display:grid;grid-template-columns:minmax(0,1fr) 84px 65px;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}.mypage-posts a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mypage-posts time,.mypage-posts small,.mypage-comment small{color:var(--muted);font-size:11px}.mypage-posts a:hover,.mypage-comment:hover p{text-decoration:underline}.mypage-comment{display:block;padding:15px 0;border-bottom:1px solid var(--line)}.mypage-comment p{margin:0 0 8px;overflow-wrap:anywhere;line-height:1.6}.mypage-pagination{display:flex;height:auto;justify-content:center;gap:20px;padding:25px 0 5px}.mypage-empty{padding:35px 0;color:var(--muted);line-height:1.7}.mypage-info{margin:0}.mypage-info>div{display:flex;padding:13px 0;border-bottom:1px solid var(--line)}.mypage-info dt{width:85px;flex-shrink:0;color:var(--muted)}.mypage-info dd{margin:0;overflow-wrap:anywhere}.mypage-profile{display:block;padding-top:20px;max-width:480px}.mypage-profile label{display:block;margin:0 0 18px}.mypage-profile input{display:block;width:100%;margin-top:9px}.mypage-profile p{color:var(--muted);font-size:12px}.mypage-toolbar{display:flex;gap:10px;padding:12px 0}.mypage-toolbar button{border:1px solid var(--line);border-radius:3px}.mypage-ledger{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.mypage-ledger small{display:block;font-size:11px;color:var(--muted);margin-top:6px;font-weight:400}.mypage-ledger strong{text-align:right;white-space:nowrap}.mypage-dm{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px}.mypage-dm>section{min-width:0}.mypage-dm form{display:flex;gap:6px}.mypage-dm input{min-width:0;width:100%}.mypage-peer{display:flex;justify-content:space-between;gap:8px;width:100%;text-align:left;padding:13px 0;border-bottom:1px solid var(--line);border-radius:0}.mypage-peer span{color:var(--muted);font-size:11px}.mypage-dm-heading{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.mypage-dm-heading span{color:var(--muted);font-size:11px}#mypage-dm-log{height:350px;overflow-y:auto;padding:8px 0;scrollbar-width:thin}.mypage-dm-line{padding:12px 10px;border-bottom:1px solid var(--line)}.mypage-dm-line.mine{background:var(--soft)}.mypage-dm-line p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0;line-height:1.6}.mypage-dm-line strong{font-size:12px}.mypage-dm-line time{font-size:10px;color:var(--muted)}
@media(max-width:1200px){body[data-mobile-view="mypage"] .content{display:flex!important;width:100%}body[data-mobile-view="mypage"] .content>#mypage{display:block!important}.mypage{padding:16px}.mypage-tabs{display:flex!important;gap:14px 18px}.mypage-tabs a{font-size:12px;padding-bottom:10px}.mypage-summary strong{font-size:15px}.mypage-summary>a{font-size:16px}.mypage-counts{gap:15px;font-size:12px}.mypage-shortcuts{grid-template-columns:1fr}.mypage-posts>div{grid-template-columns:minmax(0,1fr) 64px;gap:8px}.mypage-posts small{display:none}.mypage-dm{grid-template-columns:1fr}.mypage-dm #mypage-peers{max-height:180px;overflow:auto}.mypage-dm #mypage-members{max-height:200px;overflow:auto}.mypage-pagination{display:flex!important}.mypage-posts a{font-size:12px}}

.drawer-actions>a{padding:12px 0;font-size:13px;color:inherit}

.level-shop{padding:24px;width:100%;min-width:0}.level-shop-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.level-shop h1{font-size:21px;margin:0}.level-shop-heading>a{font-size:12px;color:var(--muted)}.level-shop h2{font-size:15px;margin:30px 0 15px}.level-progress{display:flex;align-items:center;justify-content:center;gap:45px;padding:28px 0;border-bottom:1px solid var(--line);margin:16px 0}.level-progress>div{display:flex;flex-direction:column;text-align:center;gap:8px}.level-progress strong{font-size:32px}.level-progress small,.level-progress span{color:var(--muted);font-size:12px}.level-progress>span{font-size:24px}.level-quote{margin:18px 0 24px}.level-quote>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0}.level-quote dt{color:var(--muted)}.level-quote dd{margin:0;font-weight:600}.level-shop #level-buy,.level-shop #level-login{width:100%;padding:13px;border-radius:4px}.level-shop button:disabled{opacity:.45;cursor:default}.level-shop-note{font-size:12px;line-height:1.7;color:var(--muted);margin-top:15px}.level-price-row{display:grid;grid-template-columns:65px minmax(70px,1fr) 110px 75px;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.level-price-row.heading{font-size:11px;color:var(--muted);background:var(--soft)}.level-price-row>b{text-align:right}.level-price-row>small{color:var(--muted);text-align:right}.level-price-row.next{background:var(--soft)}.level-pagination{display:flex;justify-content:center;align-items:center;height:auto;gap:20px;margin:24px 0}.level-back{display:inline-block;font-size:12px;color:var(--muted)}
@media(max-width:1200px){body[data-mobile-view="levelshop"] .content{display:flex!important}body[data-mobile-view="levelshop"] #level-shop{display:block!important}.level-shop{padding:16px}.level-shop h1{font-size:19px}.level-progress{gap:35px}.level-price-row{grid-template-columns:50px minmax(50px,1fr) 88px 60px;gap:5px;font-size:11px}.level-price-row.heading{font-size:10px}.level-pagination{display:flex!important}}

/* Level is progression; nickname tint reflects a current leaderboard achievement. */
.member-level{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;min-width:17px;height:16px;padding:0 3px;margin-right:4px;border:1px solid #73736b;background:#73736b20;color:var(--text);font:600 10px/1 Arial,sans-serif;border-radius:2px;flex-shrink:0;font-variant-numeric:tabular-nums}.member-nickname{color:inherit;min-width:0;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.member-nickname.member-rank-points{color:#d8bc78!important}.member-nickname.member-rank-wins{color:#d6a18a!important}.member-nickname.member-rank-rate{color:#8fc9aa!important}.light .member-nickname.member-rank-points{color:#87651c!important}.light .member-nickname.member-rank-wins{color:#a05b3c!important}.light .member-nickname.member-rank-rate{color:#287450!important}.chat-name{color:var(--text)!important;display:inline-flex;align-items:center;gap:0;max-width:180px}.chat-name .member-nickname{white-space:nowrap}.forum-author-label{display:inline-flex;align-items:center;max-width:100%;min-width:0}.board-table-row .forum-author-avatar{display:inline-flex}.board-table-row .author-menu summary{gap:4px}.home-feed-author{display:flex;align-items:center}.comment-author strong{display:flex;align-items:center;gap:0}.hu-chat-line strong,.mypage-dm-line strong{display:inline-flex;align-items:center}.home-feed-author .member-level{height:14px;min-width:15px;font-size:9px}
@media(min-width:1201px){.board-table-head,.board-table-row{grid-template-columns:32px 58px minmax(0,1fr) 110px 78px 42px 38px;gap:5px}.home-feed-row{grid-template-columns:58px minmax(0,1fr) 100px 50px}}

@media(max-width:1200px){.home-feed-row .home-feed-author{display:none}.board-table-row .forum-author-label{max-width:140px}.chat-name{max-width:170px}.member-level{font-size:10px}}

.member-permission-list>div{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:14px 0;font-size:12px}.member-permission-list>div>span{color:var(--muted)}.member-permission-list p{width:100%;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.member-permission-list small{display:block;color:var(--muted);font-size:11px;margin-top:4px}

/* All home broadcasts remain available without increasing the stage height. */
#live.home-live.has-live .live-playlist{position:relative;min-height:0;align-self:stretch}#live.home-live.has-live .live-list{position:absolute;inset:0;height:auto;max-height:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#666 transparent}#live.home-live .live-card{flex:0 0 auto}#live.home-live .live-card.selected{background:var(--soft)}.home-section-head h2>a,.panel-heading h2>a{color:inherit}.home-section-head h2>a:hover,.panel-heading h2>a:hover{text-decoration:underline;text-underline-offset:3px}.chat-tabs #private-chat-open{display:flex;align-items:center;gap:5px;margin-left:auto;padding:9px 12px;position:relative}.chat-tabs #private-chat-open svg{width:19px;height:19px}.private-unread,.pm-unread{display:inline-flex;align-items:center;justify-content:center;background:#ad734b;color:#fff;min-width:16px;height:16px;padding:0 4px;font-size:9px;border-radius:8px}.private-unread[hidden]{display:none}
#private-messenger{width:min(900px,calc(100vw - 28px));max-width:calc(100vw - 28px);height:min(720px,90dvh);max-height:90dvh;padding:0;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:5px;overflow:hidden}#private-messenger::backdrop{background:#0009}.pm-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);height:55px;padding:10px 16px}.pm-heading h2{font-size:16px;margin:0}.pm-close{padding:8px}.pm-layout{display:grid;grid-template-columns:270px minmax(0,1fr);height:calc(100% - 55px);min-height:0}.pm-inbox{display:flex;flex-direction:column;min-height:0;overflow:hidden;border-right:1px solid var(--line);padding:12px}.pm-inbox h3{font-size:12px;color:var(--muted);margin:15px 0 8px}.pm-inbox form{display:flex;gap:5px;flex-shrink:0}.pm-inbox input{min-width:0;width:100%}.pm-inbox form button{flex:none}#pm-peers{overflow-y:auto;min-height:0;flex:1;scrollbar-width:thin;overscroll-behavior:contain}#pm-results{max-height:190px;overflow-y:auto;flex-shrink:0;scrollbar-width:thin}.pm-peer{display:block;width:100%;padding:12px 5px;text-align:left;border-bottom:1px solid var(--line);border-radius:0;min-width:0}.pm-peer>div{display:flex;align-items:center;justify-content:space-between;gap:6px}.pm-peer strong{font-size:12px;display:inline-flex;align-items:center;min-width:0;max-width:100%;overflow:hidden}.pm-peer small{display:block;font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px}.pm-peer time{display:block;font-size:10px;color:var(--muted);margin-top:5px}.pm-peer.selected{background:var(--soft)}.pm-conversation{display:flex;flex-direction:column;min-width:0;min-height:0}.pm-empty{padding:25px 12px;font-size:12px;color:var(--muted);margin:0;line-height:1.7}.pm-conversation-heading{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid var(--line);flex-wrap:wrap}.pm-conversation-heading>strong{font-size:13px;overflow-wrap:anywhere}.pm-conversation-heading .dm-live-state{font-size:10px;color:var(--muted);margin-right:auto}.pm-conversation-heading>button{font-size:11px;border:1px solid var(--line);border-radius:3px;padding:6px 8px}#pm-back{display:none}#pm-log{flex:1;min-height:0;overflow-y:auto;padding:12px;overscroll-behavior:contain;scrollbar-width:thin}.pm-message{padding:12px 10px;border-bottom:1px solid var(--line)}.pm-message.mine{background:var(--soft)}.pm-message strong{display:inline-flex;align-items:center;font-size:12px}.pm-message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:13px;margin:7px 0}.pm-message time{font-size:10px;color:var(--muted)}#pm-send{display:flex;gap:7px;padding:12px;border-top:1px solid var(--line);flex-shrink:0}#pm-input{width:100%;min-width:0}#pm-send>button{flex:none;background:var(--soft);border:1px solid var(--line);border-radius:3px}#pm-error{font-size:11px;line-height:1.5;margin:0;padding:0 12px 5px;color:var(--muted)}#pm-error:empty{display:none}#mypage-private-list .pm-peer{padding:14px 0}.private-messenger button:disabled{opacity:.45;cursor:default}
@media(max-width:1200px){#live.home-live.has-live .live-playlist{position:static;max-height:190px}#live.home-live.has-live .live-list{position:static;max-height:190px;overflow-y:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}#private-messenger{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:94dvh;max-height:94dvh}.pm-layout{display:block;position:relative}.pm-inbox,.pm-conversation{height:100%}.pm-conversation{display:none}.pm-reading .pm-inbox{display:none}.pm-reading .pm-conversation{display:flex}#pm-back{display:block}.pm-conversation-heading{gap:6px}.pm-conversation-heading .dm-live-state{display:none}.pm-conversation-heading>strong{margin-right:auto}#pm-log{padding:8px}.pm-message p{font-size:14px}}

.pm-delete-confirm{padding:12px;border-bottom:1px solid var(--line);background:var(--soft);font-size:12px}.pm-delete-confirm p{margin:0 0 10px;line-height:1.6}.pm-delete-confirm button{border:1px solid var(--line);border-radius:3px;margin-right:8px;padding:6px 12px}

/* Main community summaries */
.home-board-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}.home-board-summary{padding-bottom:12px}.home-board-summary .home-section-head{border-bottom:1px solid var(--line);padding-bottom:11px}.home-board-summary .home-feed-row{grid-template-columns:minmax(0,1fr) 42px;gap:6px;min-height:33px}.home-board-summary .home-feed-row:last-child{border-bottom:0}.home-board-summary .home-feed-subject{font-size:12px}.home-board-summary .home-feed-row time{font-size:11px}.home-board-summary .home-empty{min-height:80px}
@media(max-width:1000px){.home-board-sections{grid-template-columns:minmax(0,1fr);gap:12px}}

/* Member actions in public chat share the forum author menu. */
.chat-author-menu{display:inline-block;vertical-align:baseline;margin-right:4px;max-width:180px}.chat-author-menu summary{justify-content:flex-start;font-size:12px}.chat-author-menu>div{left:0;right:auto;min-width:110px}.author-menu>div>a{display:block}.author-menu[open]{z-index:30}

.chat-author-menu.menu-up>div{top:auto;bottom:calc(100% + 6px)}.author-menu>div>a{padding:5px 0}

/* Right aligned navigation and account entry in the sidebar. */
header>nav{margin-left:auto}header>.header-actions{margin-left:0;flex-shrink:0;align-items:center}.header-settings{position:relative}.header-settings>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;width:34px;height:34px;color:var(--text)}.header-settings>summary::-webkit-details-marker{display:none}.header-settings>summary svg{width:20px;height:20px}.header-settings>div{position:absolute;right:0;top:calc(100% + 8px);z-index:60;white-space:nowrap;background:var(--panel);border:1px solid var(--line);padding:6px}.header-settings #theme{display:block!important;font-size:12px;padding:10px 12px;color:var(--text);background:transparent;border:0}.account-nav{display:flex;justify-content:flex-end;margin:-4px -2px 4px;height:24px}.account-profile-icon{display:flex;align-items:center;justify-content:center;width:26px;height:26px;padding:3px;border:0;background:transparent;color:var(--text)}.account-profile-icon svg{width:20px;height:20px}.account-profile-icon:hover{color:var(--brand-gold,#c7a873)}
@media(max-width:1200px){header>.header-actions{margin-left:auto}.header-settings>summary{width:32px;height:34px}.header-settings>div{right:0}.drawer-account .account-nav{margin-top:0}}

#chat-clean[hidden]{display:none!important}#chat-clean{margin-left:auto;background:transparent;border:0;padding:4px;width:28px;height:28px;color:var(--muted)}#chat-clean svg{width:20px;height:20px}.chat-author-menu>div>button{display:block;width:100%;text-align:left;background:transparent;border:0;padding:5px 0;color:var(--text);font-size:inherit}.chat-moderation-form textarea{min-height:100px}.chat-moderation-form select{width:100%}

/* One-field search across community categories. */
header{gap:24px}.header-search{display:flex;align-items:center;flex:0 1 220px;width:220px;min-width:150px;margin:0;padding:0;border:1px solid var(--line);background:var(--soft);border-radius:3px;height:32px}.header-search input[type=search]{width:100%;min-width:0;height:30px;border:0;background:transparent;padding:5px 9px;color:var(--text);font-size:12px;outline-offset:-2px}.header-search button{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:30px;padding:6px;border:0;background:transparent;color:var(--muted)}.header-search button svg{width:18px;height:18px}.header-search:focus-within{border-color:var(--brand-gold,#c7a873)}

@media(max-width:1200px){header{flex-wrap:wrap;height:auto;min-height:54px;padding:8px 14px;gap:6px 12px}header>.brand{order:0}header>.header-actions{order:1}.header-search{order:2;flex:1 0 100%;width:100%;height:32px;margin:0}header>nav{display:none}}

/* Public member card and private-chat reporting. */
.author-menu>div>button{display:block;width:100%;text-align:left;background:transparent;border:0;color:var(--text);padding:5px 0;font-size:inherit}.member-card{width:min(410px,94vw);padding:22px;border-radius:5px}.member-card-person{display:flex;align-items:center;gap:15px}.member-card-person>img,.member-card-avatar{width:58px;height:58px;object-fit:cover;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--soft);color:var(--brand-gold,#c7a873);font-size:30px}.member-card-person strong{font-size:17px}.member-card-person p{font-size:13px;margin:7px 0;color:var(--text)}.member-card-person small{font-size:11px;color:var(--muted)}.member-card-stats{display:flex;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin:20px 0}.member-card-stats dt{font-size:11px;color:var(--muted)}.member-card-stats dd{margin:7px 0 0;font-size:18px}.member-card h3{font-size:13px}.member-card-achievements{display:flex;flex-wrap:wrap;gap:9px 14px;font-size:12px;color:var(--text)}.member-card-achievements p{color:var(--muted)}.member-card-actions{display:flex;justify-content:flex-end;align-items:center;gap:16px;border-top:1px solid var(--line);margin-top:22px;padding-top:14px;font-size:12px}.member-card-actions button,.pm-member-name{background:transparent;border:0;padding:0;color:var(--text)}.pm-member-name{font-weight:600;text-align:left}.pm-report{font-size:10px;padding:2px 0 2px 8px;background:transparent;border:0;color:var(--muted)}.pm-moderation-note{font-size:10px;color:var(--muted);padding:4px 12px 8px;flex-shrink:0}.pm-conversation-heading .pm-member-name{border:0;padding:0;overflow-wrap:anywhere}

/* Unread messages: color/motion on the icon, red marker on each unread peer. */
.chat-tabs #private-chat-open.has-unread{color:#ef7569}.chat-tabs #private-chat-open.has-unread svg{animation:private-unread-wiggle 3s ease-in-out infinite;transform-origin:50% 50%}.private-unread,.pm-unread{background:#c94c46}.pm-unread-dot{display:inline-block;flex-shrink:0;width:6px;height:6px;border-radius:50%;background:#ef625b;margin-left:7px;vertical-align:middle}.pm-peer>div>strong{display:flex;align-items:center;min-width:0;gap:0}.pm-peer>div>strong .member-nickname{max-width:150px}.drawer-actions [data-drawer-action=dm].has-unread{color:#ef7569}.drawer-actions [data-drawer-action=dm].has-unread::after{content:'';display:inline-block;width:6px;height:6px;background:#ef625b;border-radius:50%;margin-left:7px;vertical-align:middle}@keyframes private-unread-wiggle{0%,40%,100%{transform:rotate(0)}5%,15%,25%{transform:rotate(-12deg)}10%,20%,30%{transform:rotate(12deg)}}@media(prefers-reduced-motion:reduce){.chat-tabs #private-chat-open.has-unread svg{animation:none}}

/* Sidebar search and member heads-up record */
.sidebar-search{display:flex;align-items:center;gap:0;width:100%;min-width:0;margin:0;border:1px solid var(--line);border-radius:3px;background:var(--panel)}.sidebar-search input[type=search]{flex:1;width:0;min-width:0;border:0;background:transparent;padding:10px;color:var(--text);font-size:12px}.sidebar-search button{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;border:0;background:transparent;color:var(--muted);padding:8px}.sidebar-search svg{width:19px;height:19px}.sidebar-search:focus-within{border-color:var(--brand-gold,#c7a873)}.drawer-search{margin-bottom:16px}.member-card{max-height:88dvh;overflow-y:auto}.member-card-headsup{border-bottom:1px solid var(--line);margin-bottom:18px;padding-bottom:10px}.member-card-headsup h3{margin:18px 0 10px}.member-card-headsup p{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:13px;margin:8px 0}.member-card-headsup p>span,.member-card-headsup small{color:var(--muted)}.member-card-headsup small{font-size:11px}.member-card-headsup ul{list-style:none;padding:0;margin:0}.member-card-headsup li{display:flex;justify-content:space-between;gap:12px;padding:6px 0;font-size:12px}.member-card-headsup li button{padding:0;border:0;background:none;color:var(--text)}.member-card-headsup li button:hover{text-decoration:underline}.member-card-empty{color:var(--muted);font-size:12px}

/* Chat: nickname control is for guests only; no identity caption. */
#identity[hidden]{display:none!important}.chat-bottom #identity{justify-content:flex-end}.chat-tabs #chat-clean{margin-left:auto}

.point-shop{padding:22px}.shop-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.shop-heading h1{font-size:20px}.shop-heading>span{color:var(--brand-gold,#c7a873)}.shop-note{font-size:12px;color:var(--muted);line-height:1.8}.shop-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.shop-product{display:flex;flex-direction:column;gap:12px;padding:20px 0;border-bottom:1px solid var(--line);min-width:0}.shop-product h2{font-size:15px;margin:0}.shop-product p{margin:0;color:var(--muted);font-size:12px}.shop-product input,.shop-product select{width:100%;min-width:0}.shop-product button{border:1px solid var(--line);border-radius:3px;margin-top:auto;background:var(--soft);font-size:12px}.shop-product button:disabled{opacity:.4}.shop-color-preview{font-size:14px}.shop-scroll{overflow:auto}.shop-scroll table{width:100%;border-collapse:collapse;font-size:11px;min-width:560px}.shop-scroll th,.shop-scroll td{padding:10px 6px;border-bottom:1px solid var(--line);text-align:left}.shop-active{font-size:12px}.point-shop>h2{font-size:16px;margin-top:25px}#shop-feedback{font-size:13px;color:var(--brand-gold,#c7a873)}@media(max-width:1200px){.point-shop{padding:16px}.shop-products{grid-template-columns:1fr}body[data-section="point-shop"] .content{display:block!important}}

/* Purchased colors take precedence over rank colors; keep light theme legible. */
.light [data-shop-color="#e9edf4"]{--shop-color:#333333}.light [data-shop-color="#e7bb70"]{--shop-color:#85590e}.light [data-shop-color="#f08f91"]{--shop-color:#a83b45}.light [data-shop-color="#ad9be8"]{--shop-color:#6544a0}.light [data-shop-color="#91cbb0"]{--shop-color:#256a4b}.light [data-shop-color="#e4b4cc"]{--shop-color:#925075}.light [data-shop-color="#d3c398"]{--shop-color:#75622e}.light [data-shop-color="#a5bacb"]{--shop-color:#405c71}

@media(max-width:1200px){body[data-section="point-shop"] .content>.point-shop{display:block!important}}

.shop-color-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.shop-color-grid button{display:flex;align-items:center;gap:7px;padding:10px 6px;font-size:12px}.shop-color-grid i{width:16px;height:16px;border-radius:50%;flex-shrink:0}.shop-color-grid [aria-pressed="true"]{outline:2px solid var(--brand-gold,#c7a873)}#shop-dialog-preview{padding:20px 0;font-size:15px}@media(max-width:480px){.shop-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Account login and authenticated shortcuts */
#sidebar-login .login-fields input,#auth-form input{background:#27292b!important;color:#eceae5;border:1px solid #47494a;color-scheme:dark;box-shadow:none}#sidebar-login input::placeholder,#auth-form input::placeholder{color:#a5a29c}#sidebar-login input:focus,#auth-form input:focus{outline:0;border-color:#a28b63}#sidebar-login input:-webkit-autofill,#auth-form input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #27292b inset!important;-webkit-text-fill-color:#eceae5!important;caret-color:#eceae5}#sidebar-login>.primary,#auth-form .primary{background:#49453c!important;border:1px solid #69604e!important;color:#f0e9da!important;box-shadow:none}#sidebar-login>.primary:hover,#auth-form .primary:hover{background:#595244!important}.account-nav{gap:8px;height:28px}#sidebar-account>#private-chat-open:not([hidden]){margin-left:auto;display:flex}#private-chat-open[hidden]{display:none!important}.light #sidebar-login input,.light #auth-form input{background:#eeece7!important;color:#302e2a;border-color:#cfcbc1;color-scheme:light}.light #sidebar-login input:-webkit-autofill,.light #auth-form input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #eeece7 inset!important;-webkit-text-fill-color:#302e2a!important}

/* Keep the signed-in name on the same row as account navigation. */
#sidebar-account:has(.account-user){position:relative}
#sidebar-account .account-nav{position:absolute;top:14px;right:14px;height:26px;margin:0;gap:6px;align-items:center}
#sidebar-account .account-user{align-items:flex-start;padding:0 66px 15px 0;min-width:0}
#sidebar-account .account-user>div{min-width:0;padding-top:0}
#sidebar-account .account-user strong{display:block;line-height:26px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#sidebar-account .account-user .account-tier{margin:2px 0 0;font-size:11px;white-space:nowrap}

/* Right-wing market miniature, platform tabs share the canonical public candle API. */
.sidebar-market{min-width:0;padding:0;overflow:hidden}.sidebar-market .panel-heading{padding:12px}.sidebar-market h2{margin:0;font-size:13px;font-weight:600}.mini-market-more{color:var(--muted);font-size:14px}.mini-market-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:0 8px 10px}.mini-market-tabs button{min-width:0;padding:7px 1px;border:0;border-radius:3px;background:transparent;color:var(--muted);font-size:10px;white-space:nowrap}.mini-market-tabs button[aria-selected=true]{background:var(--line);color:var(--text);font-weight:600}.mini-market-tabs button:focus-visible{outline:2px solid var(--brand-gold,#c7a873);outline-offset:-2px}.mini-market-price{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:1px 12px}.mini-market-price strong{font-size:21px;font-variant-numeric:tabular-nums}.mini-market-price span{font-size:10px;color:var(--muted)}.mini-market-chart{height:164px;min-width:0;margin:4px 6px 0;color:var(--muted);font-size:11px}.mini-market-chart p{display:flex;align-items:center;justify-content:center;height:100%;margin:0}.mini-market-status{min-height:42px;line-height:1.6;overflow-wrap:anywhere;padding:4px 12px 12px;margin:0;font-size:10px;color:var(--muted)}

/* poker-tracker.css */
#poker-tracker{min-width:0}#poker-tracker h2{font-size:18px}#poker-tracker h3{font-size:14px;margin:0 0 14px}.tracker-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 14px}.tracker-heading h2,.tracker-heading h3{margin:0!important}.tracker-heading>span,.tracker-heading h3>span{font-size:11px;color:var(--muted);font-weight:400}.tracker-note{font-size:11px;color:var(--muted);line-height:1.7}.tracker-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 16px;border-block:1px solid var(--line);padding:22px 0;margin:18px 0 10px}.tracker-summary>div{min-width:0}.tracker-summary span{font-size:11px;color:var(--muted);display:block;margin-bottom:9px}.tracker-summary strong{font-size:20px;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.tracker-positive,.tracker-summary .positive,#poker-tracker td.positive{color:#8ac6a2}.tracker-negative,.tracker-summary .negative,#poker-tracker td.negative{color:#e19d86}.light .tracker-summary .positive,.light #poker-tracker td.positive{color:#237644}.light .tracker-summary .negative,.light #poker-tracker td.negative{color:#a44025}
#tracker-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end}#tracker-filters label,.tracker-editor label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--text)}#tracker-filters input,#tracker-filters select,.tracker-editor input,.tracker-editor select,.tracker-editor textarea{width:100%;min-width:0;font-size:12px;padding:8px;box-sizing:border-box}#tracker-filters button{padding:8px 10px;font-size:12px}#tracker-error,#tracker-save-error,#tracker-remove-error{font-size:12px;color:#e19d86;white-space:pre-wrap}.tracker-charts{display:grid;grid-template-columns:3fr 2fr;gap:22px;margin:26px 0}.tracker-charts>section,.tracker-breakdowns>section{min-width:0}.tracker-charts svg{width:100%;height:auto;display:block;overflow:visible}.tracker-charts svg text{fill:var(--muted);font:16px Arial,sans-serif}.chart-grid{stroke:var(--line);stroke-width:1}.chart-zero{stroke:var(--muted);stroke-width:1;stroke-dasharray:4 4;opacity:.6}.tracker-line{stroke:#9cbca5;stroke-width:2}.tracker-line.negative{stroke:#d99d84}.tracker-dot{fill:#b2bb9b}.tracker-bar{fill:#9cbca5}.tracker-bar.negative{fill:#d99d84}.tracker-breakdowns{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-block:1px solid var(--line);padding:20px 0}.tracker-scroll{max-width:100%;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#73736b transparent}.tracker-scroll table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:11px}.tracker-scroll th,.tracker-scroll td{padding:9px 7px;border-bottom:1px solid var(--line);text-align:right;font-weight:400}.tracker-scroll th{color:var(--muted);font-size:10px}.tracker-scroll th:first-child,.tracker-scroll td:first-child{text-align:left}.tracker-history td:first-child{min-width:150px;max-width:230px}.tracker-history strong,.tracker-history small{display:block}.tracker-history strong{font-size:12px;font-weight:400;margin-top:5px}.tracker-history time,.tracker-history small{font-size:10px;color:var(--muted);max-width:210px;overflow:hidden;text-overflow:ellipsis}.tracker-history small{margin-top:5px}.tracker-history .tracker-active{color:var(--brand-gold,#c7a873)}.tracker-history button{padding:4px 6px;font-size:11px;white-space:nowrap}.tracker-empty{font-size:12px;line-height:1.7;color:var(--muted);padding:30px 0}.tracker-pagination{display:flex;justify-content:center;align-items:center;gap:16px;padding:20px 0;font-size:12px}.tracker-pagination button{font-size:12px;padding:6px 10px}
.tracker-editor{width:min(650px,94vw);padding:22px;border-radius:5px;box-sizing:border-box}.tracker-editor [hidden]{display:none!important}.tracker-editor .modal-head h2{font-size:17px}.tracker-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:15px 0}.tracker-editor label small{font-size:10px;color:var(--muted)}.tracker-rebuy{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;gap:9px;align-items:end;margin-bottom:10px}.tracker-rebuy button{padding:8px;font-size:12px}.tracker-total{font-size:13px;padding:16px 0;color:var(--brand-gold,#c7a873);border-bottom:1px solid var(--line);margin-bottom:16px}.tracker-editor label.tracker-finished{display:flex;flex-direction:row;align-items:center;gap:8px;margin:18px 0}.tracker-finished input[type=checkbox]{width:16px;height:16px}.tracker-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.tracker-form-actions button{padding:9px 16px;font-size:12px}
@media(max-width:1150px){.tracker-charts,.tracker-breakdowns{grid-template-columns:minmax(0,1fr)}#tracker-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){#tracker-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tracker-summary{gap:20px 10px}.tracker-summary strong{font-size:16px}.tracker-summary span{font-size:10px}.tracker-charts{gap:20px}.tracker-editor{padding:17px;width:94vw;max-height:92dvh}.tracker-form-grid{gap:12px 10px}.tracker-rebuy{grid-template-columns:minmax(0,1fr) 90px auto;gap:6px}.tracker-rebuy input{padding:8px 4px;font-size:11px}.tracker-heading>button{font-size:12px}#poker-tracker h3{font-size:13px}}

.tracker-sharing{display:flex;align-items:center;flex-wrap:wrap;gap:12px;border-bottom:1px solid var(--line);padding:12px 0 18px;margin-bottom:18px}.tracker-sharing>div{flex:1;min-width:190px}.tracker-sharing strong{font-size:13px}.tracker-sharing small{display:block;margin-top:7px;font-size:11px;line-height:1.7;color:var(--muted)}#tracker-sharing{min-width:66px;border-radius:18px;font-size:12px;color:var(--text)}#tracker-sharing[aria-checked=true]{border-color:var(--brand-gold,#c7a873);color:var(--brand-gold,#c7a873)}#tracker-sharing-status{width:100%;font-size:12px;color:var(--muted)}.member-card-tracker{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:16px}.member-card-tracker>div{padding:8px 0}.member-card-tracker p{font-size:12px;line-height:1.6;margin:5px 0}.member-card-tracker small{font-size:10px;color:var(--muted)}

/* 2026-10-22 bankroll dashboard */
#poker-tracker{--tracker-blue:#378dff}#poker-tracker>.tracker-heading:first-child{margin-top:0}.tracker-top-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tracker-periods{display:flex;padding:3px;background:var(--soft);border-radius:8px}.tracker-periods button{min-height:34px;padding:6px 12px;font-size:12px}.tracker-periods button.selected,#tracker-new{background:#1265ed;color:white}#tracker-new{min-height:40px;border-radius:8px;padding:10px 16px}.tracker-sharing{padding:12px 15px;background:var(--panel);border:1px solid var(--line);border-radius:10px}.tracker-sharing small{font-size:10px}.tracker-filter-details{margin:12px 0}.tracker-filter-details>summary{font-size:12px;color:var(--muted);padding:8px 0;cursor:pointer}
#poker-tracker .tracker-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:0;border:0;margin:18px 0}.tracker-summary .tracker-kpi{border:1px solid var(--line);padding:19px 14px;border-radius:12px;background:var(--panel);display:flex;flex-direction:column;gap:8px;min-width:0}.tracker-summary .tracker-kpi span{font-size:12px;margin:0;color:var(--text)}.tracker-summary .tracker-kpi strong{font-size:21px;letter-spacing:-.6px;line-height:1.4}.tracker-summary .tracker-kpi small{color:var(--muted);font-size:10px;line-height:1.6}.tracker-summary .tracker-kpi-main{background:linear-gradient(120deg,#123da2,#0875c4);border-color:#225bbc}.tracker-summary .tracker-kpi-main span,.tracker-summary .tracker-kpi-main small{color:#e3edff}.tracker-summary .tracker-kpi-main strong{color:#fff}.tracker-summary .tracker-kpi-main strong.positive{color:#82efd6}.tracker-summary .tracker-kpi-main strong.negative{color:#ffd0ca}
.tracker-dashboard{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:14px;margin:20px 0}.tracker-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:20px;min-width:0}.tracker-main-chart{display:flex;flex-direction:column;justify-content:space-between}.tracker-main-chart .tracker-heading{margin:0 0 20px;flex-wrap:wrap}.tracker-card svg{display:block;width:100%;height:auto}.tracker-card svg text{font:14px Arial,sans-serif;fill:var(--muted)}.tracker-line,.tracker-line.positive{stroke:var(--tracker-blue);stroke-width:3}.tracker-dot{fill:var(--tracker-blue)}.tracker-area{fill:#378dff18}.tracker-side-charts{display:grid;gap:14px;align-content:start}.tracker-outcomes{display:flex;align-items:center;gap:20px}.tracker-donut{width:115px;height:115px;flex:0 0 115px;border-radius:50%;background:conic-gradient(#00b899 0 var(--win),#7b879b var(--win) 100%);display:grid;place-items:center}.tracker-donut>div{width:82px;height:82px;border-radius:50%;background:var(--panel);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.tracker-donut strong{font-size:20px}.tracker-donut small{font-size:11px;color:var(--muted)}.tracker-outcome-legend{display:grid;gap:14px;min-width:0;flex:1}.tracker-outcome-legend>span{display:flex;align-items:center;gap:7px;font-size:12px}.tracker-outcome-legend b{margin-left:auto}.tracker-outcome-legend i{background:#00b899;flex:0 0 7px;width:7px;height:7px}.tracker-outcome-legend i.non-win{background:#7b879b}.tracker-platform{display:grid;grid-template-columns:70px minmax(35px,1fr) auto;gap:8px;align-items:center;font-size:11px;margin:13px 0}.tracker-platform>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tracker-platform>b{font-size:11px;font-weight:600}.tracker-meter{height:8px;background:var(--soft);border-radius:5px;overflow:hidden}.tracker-meter i{display:block;height:100%;background:#00b899;border-radius:5px}.tracker-meter i.negative{background:#ed6d73}.tracker-platform .positive{color:#00b899}.tracker-platform .negative{color:#ed6d73}.tracker-more-charts{border:1px solid var(--line);border-radius:10px;padding:15px;margin:16px 0}.tracker-more-charts>summary{cursor:pointer;font-size:12px;color:var(--muted)}.tracker-more-charts>.tracker-card{margin-top:16px}.tracker-more-charts .tracker-breakdowns{border:0;padding-bottom:0}#poker-tracker .tracker-history{font-size:12px}#poker-tracker .tracker-history th{font-size:11px;background:var(--soft)}#poker-tracker .tracker-history td{padding-block:14px}#poker-tracker .tracker-history button{min-height:34px}
@media(max-width:1300px){#poker-tracker .tracker-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.tracker-dashboard{grid-template-columns:minmax(0,1fr)}.tracker-side-charts{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:1200px){#poker-tracker>.tracker-heading:first-child{align-items:flex-start;flex-direction:column;gap:14px}.tracker-top-actions{width:100%;justify-content:space-between;gap:8px}.tracker-periods button{padding:6px 9px}.tracker-summary .tracker-kpi{padding:14px 12px}.tracker-summary .tracker-kpi strong{font-size:18px}#poker-tracker .tracker-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tracker-summary .tracker-kpi-main{grid-column:1/-1}.tracker-summary .tracker-kpi-main strong{font-size:28px}.tracker-side-charts{grid-template-columns:minmax(0,1fr)}.tracker-card{padding:16px}.tracker-outcomes{justify-content:center}.tracker-outcome-legend{max-width:180px}.tracker-card svg text{font-size:16px}.tracker-more-charts{padding:12px}.tracker-sharing{gap:10px}}


/* not-found.css */
.not-found{margin:0;min-height:100svh;box-sizing:border-box;display:flex;flex-direction:column;background:#121512;color:#eeeee8;font-family:Arial,"Malgun Gothic",sans-serif;-webkit-font-smoothing:antialiased}.not-found *{box-sizing:border-box}.not-found a{color:inherit;text-decoration:none}.nf-brand{display:flex;align-items:center;align-self:flex-start;margin:32px 5vw}.nf-brand img{display:block;width:180px;height:30px}.nf-main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 20px 64px}.nf-art{width:310px;height:225px;position:relative;margin-bottom:28px}.nf-card{position:absolute;display:flex;align-items:center;justify-content:center;top:0;left:96px;width:112px;height:156px;border-radius:13px}.nf-card-back{transform:rotate(-18deg) translate(-30px,5px);background:repeating-linear-gradient(45deg,#222b23,#222b23 4px,#293329 4px,#293329 5px);border:1px solid #455043;color:#71816c;font-size:45px;box-shadow:0 15px 35px #0004}.nf-card-front{transform:rotate(12deg);background:#ebe9db;color:#27352b;box-shadow:0 15px 35px #0005}.nf-card-front b{font-size:58px;font-weight:400}.nf-card-front small{position:absolute;left:10px;top:8px;font-size:20px;line-height:1}.nf-card-front small span{display:block;font-size:15px;margin-top:3px}.nf-card-front small:last-child{left:auto;top:auto;right:10px;bottom:8px;transform:rotate(180deg)}.nf-number{position:absolute;bottom:-5px;left:0;width:100%;font-size:100px;font-weight:800;letter-spacing:12px;line-height:1;color:#c9ae73;text-shadow:0 6px 30px #121512}.nf-eyebrow{margin:0 0 16px;color:#aa9a75;font-size:11px;letter-spacing:3px;font-weight:700}.nf-main h1{margin:0;font-size:30px;letter-spacing:-1.1px;line-height:1.4}.nf-description{color:#9ca398;font-size:15px;line-height:1.9;margin:18px 0 30px}.nf-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.nf-actions a{padding:14px 22px;border:1px solid #394136;border-radius:8px;font-size:14px;font-weight:700;transition:background .15s,transform .15s}.nf-actions .nf-primary{background:#c9ae73;border-color:#c9ae73;color:#161c16;min-width:150px;display:flex;justify-content:space-between;gap:24px}.nf-actions a:hover{background:#2c352a;transform:translateY(-2px)}.nf-actions .nf-primary:hover{background:#dec48b}.not-found a:focus-visible{outline:3px solid #eed7a6;outline-offset:5px}.nf-footer{text-align:center;padding:20px;color:#687264;font-size:10px;letter-spacing:2px}@media(max-width:480px){.nf-brand{margin:24px}.nf-brand img{width:156px;height:26px}.nf-main{padding:30px 20px 45px}.nf-art{transform:scale(.86);margin-bottom:5px}.nf-main h1{font-size:24px}.nf-description{font-size:13px}.nf-actions{width:100%;max-width:310px;flex-direction:column}.nf-actions a{padding:14px 18px}.nf-actions .nf-primary{justify-content:center;gap:24px}}

/* ad-placements.css */
body .ad-slot.ad-reserved{display:block!important;width:100%;height:auto;min-height:0;flex-shrink:0;border:1px solid var(--line);border-radius:8px;background:#171c18;overflow:hidden}body .ad-reserved .ad-placeholder{display:block;width:100%;height:100%;padding:0;margin:0;border:0;border-radius:0;background:transparent;cursor:pointer;line-height:0}body .ad-reserved img{display:block;width:100%;height:100%;object-fit:cover}body .ad-reserved.ad-wide{aspect-ratio:6 / 1}body .ad-reserved.ad-box{aspect-ratio:11 / 8}body .ad-reserved .ad-creative{display:block;width:100%;height:100%}body .ad-reserved button:focus-visible{outline:3px solid #efc16c;outline-offset:-4px}body .ad-reserved button:hover{filter:brightness(1.12)}#board-page>.ad-reserved{margin-bottom:22px}#board-page>article+.ad-reserved{margin-top:20px;margin-bottom:22px}body[data-page-kind="index.php"] .content>.ad-reserved{order:2}body[data-page-kind="index.php"] .content>#board-grid{order:3}body[data-page-kind="index.php"] .content>#home-market{order:4}.right-sidebar>.ad-reserved{margin:0}.right-sidebar>.ad-reserved:first-child{grid-column:1 / -1}@media(max-width:1200px){body .ad-reserved.ad-wide{aspect-ratio:5 / 1}body .ad-reserved.ad-wide img{object-fit:fill}#board-page>.ad-reserved{margin-bottom:16px}}

.right-sidebar>.sidebar-bankroll{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 16px;color:var(--text);text-decoration:none}.sidebar-bankroll h2{margin:0;font-size:13px;line-height:1.5}.sidebar-bankroll>span{color:var(--muted);font-size:16px}.sidebar-bankroll:hover{border-color:#ad915b;background:var(--soft)}.sidebar-bankroll:focus-visible{outline:2px solid #efc16c;outline-offset:3px}

/* avatar-picker.css */
.avatar-picker-root{margin:18px 0;padding:18px;border:1px solid var(--line);border-radius:10px;min-width:0}.avatar-picker-intro{display:flex;align-items:center;gap:16px;margin-bottom:16px}.avatar-picker-preview{width:76px;height:76px;flex-shrink:0;border-radius:50%;object-fit:cover;border:2px solid #c7a873}.avatar-picker-preview[hidden]{display:none}.avatar-picker-intro h3{font-size:14px;margin:0 0 7px}.avatar-picker-status{font-size:12px!important;color:var(--muted);margin:0!important;line-height:1.6}.avatar-picker-options{padding:0;margin:0;min-width:0;border:0}.avatar-picker-legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.avatar-picker-keep{display:flex!important;gap:7px;align-items:center;font-size:12px;margin:0 0 14px!important}.avatar-picker-keep input{width:auto!important;margin:0}.avatar-picker-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.avatar-picker-tabs button{padding:7px 14px;font-size:12px;border:1px solid var(--line);border-radius:20px}.avatar-picker-tabs button[aria-pressed=true]{background:#c7a873;color:#171b17;border-color:#c7a873}.avatar-picker-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:12px;max-height:380px;overflow-y:auto;padding:4px}.avatar-picker-choice{position:relative;display:flex!important;flex-direction:column;align-items:center;gap:7px;margin:0!important;padding:5px!important;cursor:pointer;border:2px solid transparent;border-radius:10px;min-width:0}.avatar-picker-choice[hidden]{display:none!important}.avatar-picker-choice>input{position:absolute!important;opacity:0;width:1px!important;height:1px!important;padding:0!important}.avatar-picker-choice>img{display:block;width:min(100%,96px);height:auto;aspect-ratio:1;border-radius:50%;object-fit:cover}.avatar-picker-choice>span{font-size:11px;text-align:center;line-height:1.4}.avatar-picker-choice:has(input:checked){border-color:#c7a873;background:var(--soft)}.avatar-picker-choice:has(input:focus-visible){outline:2px solid #efc16c;outline-offset:2px}.avatar-picker-choice:hover{background:var(--soft)}@media(max-width:480px){.avatar-picker-root{padding:12px}.avatar-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.avatar-picker-preview{width:64px;height:64px}}

.avatar-picker-native-upload{display:none!important}.avatar-picker-upload{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;min-width:0;padding:5px;border:2px solid transparent;border-radius:10px;background:transparent;color:var(--text);cursor:pointer}.avatar-picker-upload-icon{display:flex;align-items:center;justify-content:center;width:min(100%,96px);aspect-ratio:1;border-radius:50%;background:var(--soft);border:1px dashed #c7a873;color:#c7a873;font-size:42px;font-weight:300;line-height:1}.avatar-picker-upload>span:last-child{font-size:11px;line-height:1.4}.avatar-picker-upload:hover{background:var(--soft)}.avatar-picker-upload:focus-visible{outline:2px solid #efc16c;outline-offset:2px}

/* Profile selection spans the available content width. */
.mypage-profile:has(.avatar-picker-root){max-width:1200px;width:100%}#modal:has(.avatar-picker-root){width:min(820px,calc(100vw - 24px));max-width:calc(100vw - 24px)}

/* avatar-profiles.css */
#sidebar-account .account-photo{width:64px;height:64px;border-radius:50%;border:1px solid var(--line);background:var(--soft);overflow:hidden;display:grid;place-items:center}#sidebar-account .account-photo img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}#sidebar-account .account-photo svg{width:36px;height:36px}#sidebar-account .account-user{gap:10px}#sidebar-account .account-user>div{flex:1;min-width:0}.forum-avatar-fallback{display:inline-grid;place-items:center;background:var(--soft);color:var(--muted);flex-shrink:0;border-radius:50%}.board-table-row .forum-author-avatar{flex:0 0 28px;width:28px;height:28px;object-fit:cover;border-radius:50%;flex-shrink:0}.post-detail-byline .author-menu>summary{gap:10px;min-height:52px}.post-detail-byline .forum-author-avatar{flex:0 0 48px;display:block;width:48px;height:48px;border-radius:50%;object-fit:cover;flex-shrink:0}.post-detail-byline .forum-avatar-fallback{display:grid;font-size:24px}.post-author-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;margin:20px 0 0;border:1px solid var(--line);border-radius:10px;background:var(--soft)}.post-author-card-person{display:flex;align-items:center;gap:16px;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left}.post-author-card-person:hover{background:transparent}.post-author-card-photo{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:var(--panel);color:var(--muted);overflow:hidden;flex-shrink:0;font-size:32px}.post-author-card-photo img{width:100%;height:100%;object-fit:cover}.post-author-card-info{display:flex;flex-direction:column;gap:7px;min-width:0}.post-author-card-info>small{font-size:11px;color:var(--muted)}.post-author-card-info>strong{display:flex;align-items:center;font-size:15px;min-width:0}.post-author-card-info>strong .member-nickname{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}.post-author-card-info>span{font-size:11px;color:var(--muted)}.post-author-card-posts{font-size:12px;white-space:nowrap;padding:9px 12px;border:1px solid var(--line);border-radius:6px}.post-author-card-posts:hover{background:var(--panel)}@media(max-width:480px){.post-author-card{padding:14px;gap:10px;flex-wrap:wrap}.post-author-card-photo{width:60px;height:60px}.post-author-card-person{gap:12px;max-width:100%}.post-author-card-info>strong .member-nickname{max-width:170px}.post-author-card-posts{margin-left:72px}.post-detail-byline .forum-author-avatar{flex-basis:44px;width:44px;height:44px}}

/* notifications.css */
.notification-center{position:relative;flex:none}.notification-center[hidden],#notification-box[hidden],#notification-count[hidden],#notification-more[hidden]{display:none!important}
#notification-toggle{position:relative;display:grid;place-items:center;width:38px;height:38px;padding:8px;border:1px solid var(--line,#303640);border-radius:9px;background:transparent;color:inherit;cursor:pointer}#notification-toggle svg{width:21px;height:21px}#notification-count{position:absolute;top:-5px;right:-6px;min-width:17px;height:17px;padding:0 4px;border-radius:10px;background:#d55656;color:#fff;font:700 10px/17px sans-serif;text-align:center}
#notification-box{position:absolute;top:48px;right:0;width:360px;max-width:calc(100vw - 24px);border:1px solid var(--line,#343a45);border-radius:12px;background:#191e27;color:#e9edf4;box-shadow:0 16px 45px #0007;z-index:120;text-align:left;overflow:hidden}.notification-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #ffffff12}.notification-head strong{font-size:15px}.notification-head button,#notification-more{font-size:12px;border:0;background:transparent;color:#d9b56e;cursor:pointer}.notification-head button:disabled{opacity:.4;cursor:default}
#notification-list{margin:0;padding:0;list-style:none;max-height:min(440px,65vh);overflow-y:auto}#notification-list li+li{border-top:1px solid #ffffff0c}#notification-list a{display:block;position:relative;padding:14px 18px;text-decoration:none;color:inherit;white-space:normal;line-height:1.55}#notification-list a:hover{background:#ffffff09}#notification-list a.is-unread{background:#d9b56e0c}#notification-list a.is-unread:before{content:'';position:absolute;left:7px;top:22px;width:5px;height:5px;border-radius:50%;background:#d9b56e}#notification-list strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}#notification-list span{display:block;font-size:12px;color:#aeb7c7;overflow-wrap:anywhere}#notification-list time{display:block;font-size:11px;color:#8993a4;margin-top:5px}#notification-status:empty{display:none}#notification-status{padding:18px;font-size:13px;color:#aeb7c7}#notification-more{display:block;width:100%;padding:12px;border-top:1px solid #ffffff12}
.light #notification-box{background:#fff;color:#222b38}.light #notification-list span{color:#596475}.light .notification-head,.light #notification-list li+li,.light #notification-more{border-color:#0001}.light #notification-list a:hover{background:#00000005}
@media(max-width:700px){#notification-box{position:fixed;top:65px;right:12px;width:360px}#notification-toggle{width:34px;height:34px;padding:6px}}

/* friendly-tools.css */
/* Beginner-friendly study controls and a self-contained record editor. */
.pf-quick-guide{padding:10px 0 12px;border-bottom:1px solid var(--line);margin-bottom:12px}.pf-quick-guide p{font-size:13px;line-height:1.7;margin:0 0 6px}.pf-quick-guide small,.pf-quick-guide details,.pf-model-details{font-size:11px;line-height:1.8;color:var(--muted)}.pf-quick-guide summary,.pf-model-details summary{cursor:pointer;margin-top:8px}.pf-choice-buttons{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.pf-choice-buttons button{font:inherit;font-size:11px;line-height:1.4;padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:var(--soft);color:var(--text);white-space:normal}.pf-choice-buttons button.selected,.tracker-game-choice button.selected{border-color:var(--brand-gold,#c7a873);background:#c7a8731b;color:var(--brand-gold,#c7a873)}#push-fold-panel select[hidden]{display:none!important}#push-fold-panel .pf-scenario{gap:14px}body[data-section="solver"] .pf-scenario{grid-template-columns:1fr 1fr}body[data-section="solver"] .pf-choice-buttons button{font-size:12px;padding:9px 12px}body[data-section="solver"] .pf-quick-guide{padding:14px 0}body[data-section="solver"] .pf-quick-guide>p{font-size:15px}.pf-model-details{padding-top:10px}.pf-model-details p{margin-top:10px}
.tracker-welcome{color:var(--muted);font-size:13px;line-height:1.8;margin:8px 0 18px}.tracker-filter-details{margin:18px 0}.tracker-filter-details>summary{cursor:pointer;color:var(--muted);font-size:12px;margin-bottom:14px}.tracker-sharing small{line-height:1.7}
#tracker-editor{width:min(680px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:92dvh;padding:0;border:1px solid var(--line);border-radius:16px;background:var(--panel,#20201e);color:var(--text);overflow:auto;box-sizing:border-box}#tracker-editor::backdrop{background:#0009;backdrop-filter:blur(3px)}#tracker-editor .modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px 12px;margin:0}#tracker-editor .modal-head h2{font-size:17px;margin:0}#tracker-editor .modal-head button{width:32px;height:32px;padding:0;flex:none}.tracker-editor-intro{font-size:12px;line-height:1.7;color:var(--muted);margin:0;padding:0 24px 16px}#tracker-editor #tracker-edit-form{display:block;width:100%;margin:0;padding:0 24px 20px;box-sizing:border-box}#tracker-editor .tracker-form-section{display:block;min-width:0;margin:0 0 18px;padding:16px;border:1px solid var(--line);border-radius:10px}#tracker-editor .tracker-form-section legend{padding:0 6px;color:var(--text);font-size:12px;font-weight:600}#tracker-editor .tracker-form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin:10px 0}#tracker-editor label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;line-height:1.5}#tracker-editor label small{display:block;font-size:10px;color:var(--muted);line-height:1.6}#tracker-editor input:not([type=checkbox]),#tracker-editor textarea,#tracker-editor select{width:100%;min-width:0;max-width:100%;height:auto;min-height:40px;box-sizing:border-box;padding:10px 11px;border:1px solid var(--line);border-radius:7px;background:var(--soft);color:var(--text);font:inherit;font-size:12px}#tracker-editor input:focus,#tracker-editor textarea:focus{outline:1px solid var(--brand-gold,#c7a873);outline-offset:1px}#tracker-editor input[type=datetime-local]{font-size:11px}#tracker-editor .tracker-place-suggestions{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}#tracker-editor .tracker-place-suggestions button{font-size:10px;padding:5px 8px;border-radius:6px}#tracker-editor .tracker-game-choice{min-width:0;font-size:12px}#tracker-editor .tracker-game-choice>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}#tracker-editor .tracker-game-choice button{font-size:10px;line-height:1.5;padding:7px 9px;flex:1;min-width:0;border:1px solid var(--line);border-radius:6px}#tracker-editor label.tracker-finished{flex-direction:row;align-items:flex-start;margin:18px 0 10px;gap:10px}#tracker-editor .tracker-finished input{width:17px;height:17px;margin:1px 0 0;flex:0 0 17px}#tracker-editor .tracker-extra summary{font-size:12px;cursor:pointer;line-height:1.7;color:var(--muted)}#tracker-editor .tracker-extra>label{margin-top:14px}#tracker-editor .tracker-total{font-size:14px;padding:12px 0;margin:0;border:0}#tracker-editor .tracker-form-actions{position:sticky;bottom:-20px;margin:14px -24px -20px;padding:14px 24px;background:var(--panel,#20201e);border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px;z-index:2}#tracker-editor .tracker-form-actions button{padding:10px 20px;border-radius:8px}#tracker-editor .tracker-rebuy{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;margin:12px 0;gap:8px}#tracker-editor [hidden]{display:none!important}
.hu-season-picker{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 0;font-size:12px}.hu-season-picker input{width:auto;min-width:0}.hu-season-note{font-size:11px;line-height:1.7;color:var(--muted);margin:4px 0 12px}.hu-season-badges{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.hu-season-badges span{font-size:11px;padding:7px 10px;border:1px solid var(--line);border-radius:7px;color:var(--brand-gold,#c7a873)}
@media(max-width:600px){body[data-section="solver"] .pf-scenario{grid-template-columns:1fr}#tracker-editor{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:94dvh;border-radius:12px}#tracker-editor .modal-head{padding:16px 16px 10px}.tracker-editor-intro{padding:0 16px 12px}#tracker-editor #tracker-edit-form{padding:0 16px 16px}#tracker-editor .tracker-form-grid{grid-template-columns:minmax(0,1fr);gap:14px}#tracker-editor .tracker-form-section{padding:12px}#tracker-editor .tracker-form-actions{margin:14px -16px -16px;padding:12px 16px;bottom:-16px}#tracker-editor .tracker-rebuy{grid-template-columns:minmax(0,1fr) minmax(0,.7fr)}#tracker-editor .tracker-rebuy button{grid-column:2;justify-self:end}}

/* Sidebar study: compact shortcuts, with the range in a wide overlay. */
.sidebar-solver>.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:12px;gap:8px}.sidebar-solver>.panel-heading h2{font-size:13px;margin:0}.sidebar-solver .sidebar-solver-link{font-size:11px;padding:0;white-space:nowrap;color:var(--brand-gold,#c7a873)}
.sidebar-solver .pf-quick-guide,.sidebar-solver #pf-context{display:none}.sidebar-solver .pf-panel:not(.pf-expanded)>.pf-heading,.sidebar-solver .pf-panel:not(.pf-expanded)>.pf-scenario,.sidebar-solver .pf-panel:not(.pf-expanded)>.pf-label,.sidebar-solver .pf-panel:not(.pf-expanded)>#pf-input-details{display:none}
.sidebar-solver .pf-panel:not(.pf-expanded){padding:0 12px 12px}.sidebar-solver .pf-options{gap:5px;margin:0 0 8px}.sidebar-solver .pf-options button{font-size:11px;line-height:1.4;padding:6px 7px;border:1px solid var(--line);border-radius:6px}.sidebar-solver #pf-stacks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.sidebar-solver #pf-positions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.sidebar-solver .pf-summary{margin-top:4px;padding:8px;gap:5px}.sidebar-solver .pf-summary>small{font-size:10px}.sidebar-solver .pf-panel.pf-expanded{width:min(760px,calc(100vw - 32px));z-index:90}.sidebar-solver .pf-expanded>.pf-scenario{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important}.sidebar-solver .pf-expanded .pf-choice-buttons{gap:4px}.sidebar-solver .pf-expanded .pf-choice-buttons button{padding:5px 7px;font-size:10px}.sidebar-solver .pf-expanded>.pf-label{margin:8px 0 5px}.sidebar-solver .pf-expanded #pf-stacks,.sidebar-solver .pf-expanded #pf-positions{display:flex}.sidebar-solver .pf-expanded .pf-legend{flex-wrap:wrap;gap:8px}.sidebar-solver .pf-expanded .pf-heading{margin-bottom:8px}

/* Stable shared shell while public content changes. */
html{scrollbar-gutter:stable}.sidebar-solver{min-height:258px}.page-loading body>header{cursor:progress}.page-loading main>.content{cursor:progress}
@media(max-width:1200px){.left-column>#sidebar-account{display:none!important}body[data-section="mypage"]:not([data-mobile-view="chat"]) .content,body[data-section="point-shop"]:not([data-mobile-view="chat"]) .content,body[data-section="level-shop"]:not([data-mobile-view="chat"]) .content{display:flex!important}}

/* Equal-height solver controls and consistent spacing between unlabeled groups. */
#push-fold-panel:not(.pf-compact)>.pf-heading,#push-fold-panel.pf-expanded>.pf-heading{margin-bottom:14px}
#push-fold-panel:not(.pf-compact)>.pf-scenario,#push-fold-panel.pf-expanded>.pf-scenario{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
#push-fold-panel:not(.pf-compact)>.pf-scenario .pf-choice-buttons,#push-fold-panel.pf-expanded>.pf-scenario .pf-choice-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}
#push-fold-panel:not(.pf-compact)>.pf-scenario label:first-child .pf-choice-buttons,#push-fold-panel.pf-expanded>.pf-scenario label:first-child .pf-choice-buttons{grid-template-columns:repeat(8,minmax(0,1fr))}
#push-fold-panel:not(.pf-compact)>.pf-scenario label:nth-child(3) .pf-choice-buttons,#push-fold-panel.pf-expanded>.pf-scenario label:nth-child(3) .pf-choice-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
#push-fold-panel:not(.pf-compact)>.pf-scenario label:nth-child(4) .pf-choice-buttons,#push-fold-panel.pf-expanded>.pf-scenario label:nth-child(4) .pf-choice-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}
#push-fold-panel:not(.pf-compact)>#pf-stacks,#push-fold-panel:not(.pf-compact)>#pf-positions,#push-fold-panel.pf-expanded>#pf-stacks,#push-fold-panel.pf-expanded>#pf-positions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0 0}
#push-fold-panel:not(.pf-compact)>#pf-positions,#push-fold-panel.pf-expanded>#pf-positions{grid-template-columns:repeat(8,minmax(0,1fr))}
#push-fold-panel:not(.pf-compact)>.pf-scenario button,#push-fold-panel:not(.pf-compact)>.pf-options button,#push-fold-panel.pf-expanded>.pf-scenario button,#push-fold-panel.pf-expanded>.pf-options button{display:flex;align-items:center;justify-content:center;width:100%;min-height:38px;margin:0;padding:8px 6px;font-size:12px;line-height:1.35;border:1px solid var(--line);border-radius:7px;background:var(--soft);color:var(--text);box-sizing:border-box}
#push-fold-panel:not(.pf-compact) button.selected,#push-fold-panel.pf-expanded button.selected{border-color:var(--brand-gold,#c7a873);background:#c7a8731b;color:var(--brand-gold,#c7a873)}
#push-fold-panel:not(.pf-compact)>.pf-summary,#push-fold-panel.pf-expanded>.pf-summary{margin-top:14px}
@media(max-width:600px){#push-fold-panel:not(.pf-compact)>.pf-scenario label:nth-child(2) .pf-choice-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}#push-fold-panel:not(.pf-compact)>#pf-positions{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Vector table with native seat buttons: one set of controls on every screen size. */
#push-fold-panel>.pf-position-table .pf-table-art,#push-fold-panel>.pf-position-table .pf-seat-center{display:none}
#push-fold-panel:is(:not(.pf-compact),.pf-expanded)>#pf-positions.pf-position-table{display:block!important;position:relative;isolation:isolate;width:100%;max-width:620px;height:clamp(230px,36vw,300px);min-height:230px;margin:14px auto 0;gap:0}
#push-fold-panel:is(:not(.pf-compact),.pf-expanded)>#pf-positions.pf-position-table>.pf-table-art{display:block;position:absolute;left:9%;top:18%;width:82%;height:64%;object-fit:fill;pointer-events:none;user-select:none;z-index:0}
#push-fold-panel:is(:not(.pf-compact),.pf-expanded)>#pf-positions.pf-position-table>.pf-seat-center{display:flex;position:absolute;inset:0;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:#ddcca7;pointer-events:none;z-index:1}
.pf-seat-center strong{font-size:19px;letter-spacing:1px}.pf-seat-center small{font-size:11px;opacity:.7}
#push-fold-panel:is(:not(.pf-compact),.pf-expanded)>#pf-positions.pf-position-table>.pf-table-seat{position:absolute;left:var(--seat-x);top:var(--seat-y);transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:52px;height:44px;min-height:44px;padding:4px 2px;margin:0;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);font-size:11px;font-weight:600;line-height:1.25;z-index:2;touch-action:manipulation}
#push-fold-panel:is(:not(.pf-compact),.pf-expanded)>#pf-positions.pf-position-table>.pf-table-seat.selected{border:2px solid var(--brand-gold,#c7a873);background:#5a5038;color:#fff1ce;box-shadow:0 0 0 3px #c7a87325}
#push-fold-panel:is(:not(.pf-compact),.pf-expanded)>#pf-positions.pf-position-table>.pf-table-seat:disabled{opacity:.45;cursor:default}.pf-table-seat:focus-visible{outline:2px solid var(--brand-gold,#c7a873);outline-offset:4px}
.pf-table-seat>.pf-dealer{display:none}#push-fold-panel:is(:not(.pf-compact),.pf-expanded) .pf-dealer{display:grid;place-items:center;position:absolute;right:-7px;top:-9px;width:18px;height:18px;border:1px solid #c7a873;border-radius:50%;background:#ece7db;color:#222;font-size:10px;font-style:normal}
#push-fold-panel.pf-compact:not(.pf-expanded) .pf-seat-disabled{display:none}
@media(max-width:600px){#push-fold-panel:is(:not(.pf-compact),.pf-expanded)>#pf-positions.pf-position-table{height:230px}#push-fold-panel:is(:not(.pf-compact),.pf-expanded)>#pf-positions.pf-position-table>.pf-table-seat{width:48px;font-size:10px}}

/* Mobile charts must stay below the persistent bottom navigation. */
@media(max-width:1200px){
 body #push-fold-panel.pf-expanded{z-index:1!important}
 body .sidebar-solver #push-fold-panel.pf-expanded{top:12px!important;max-height:calc(100dvh - 88px - env(safe-area-inset-bottom,0px))!important;overflow-y:auto!important}
 body[data-mobile-view="solver"] .pf-slot>#push-fold-panel.pf-expanded,body[data-section="solver"] .content .pf-slot>#push-fold-panel.pf-expanded{position:relative!important;inset:auto!important;width:100%!important;max-height:none!important;overflow:visible!important;box-shadow:none}
 body[data-mobile-view="solver"] .pf-slot,body[data-section="solver"] .content>.pf-slot{height:auto!important;min-width:0}
}

/* Feedback 2026-10-21: readable header settings and imported notice tables. */
header .header-actions .header-settings #theme{display:block!important;min-width:148px;min-height:40px;white-space:nowrap}
.post-body{min-width:0;overflow-wrap:anywhere}.post-body table{display:block;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-collapse:collapse}.post-body td,.post-body th{overflow-wrap:anywhere;word-break:normal;white-space:normal;vertical-align:top;padding:6px;min-width:60px}.post-body img{max-width:100%;height:auto}
@media(max-width:1200px){.post-body table{font-size:12px;line-height:1.6}.post-body td,.post-body th{padding:5px;min-width:52px}.hu-actions [data-hu-move="raise"]{color:#fff!important}}

.hu-seat-identity{position:relative}.hu-winner-badge{position:absolute;left:0;top:-15px;font-size:10px;font-weight:700;letter-spacing:.6px;color:#241b07;background:#efca76;border-radius:4px;padding:2px 6px}.hu-hand-label{display:block;color:#ead5a6;font-size:12px;font-weight:600;margin:6px 0}.hu-lobby-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:4px 0 22px}.hu-lobby-metrics>div{background:var(--soft);padding:16px;border:1px solid var(--line);border-radius:10px}.hu-lobby-metrics span{display:block;color:var(--muted);font-size:12px}.hu-lobby-metrics strong{display:inline-block;font-size:28px;margin:8px 7px 0 0}.hu-lobby-metrics small{color:var(--muted)}#hu-match-start{padding:12px 20px;font-weight:600}

.experience-progress{display:grid;gap:4px;margin-top:7px;min-width:0}.experience-progress progress{width:100%;height:7px;accent-color:var(--brand-gold,#c7a873)}.experience-progress small{font-size:10px;color:var(--muted);line-height:1.5}.shop-xp-input{display:flex;align-items:center;gap:6px;font-size:12px}.shop-xp-input input{width:90px;min-width:0;padding:7px}

.pf-hand.raise{background:#4c676f;color:#fff;border-color:#78969d}.equity-ranks button:disabled,.equity-suits button:disabled{opacity:.3;cursor:not-allowed;text-decoration:line-through}

@media(max-width:1200px){body[data-section="level-shop"]:not([data-mobile-view="chat"]) .content>.point-shop{display:block!important}}

/* Navigation feedback lives outside the chat and never replaces its nodes. */
.navigation-progress{position:fixed;inset:0 0 auto;height:3px;z-index:10000;overflow:hidden;background:color-mix(in srgb,var(--blue) 18%,transparent);pointer-events:none}
.navigation-progress::after{content:"";display:block;width:36%;height:100%;background:var(--blue);animation:navigation-progress 1s ease-in-out infinite}
@keyframes navigation-progress{from{transform:translateX(-100%)}to{transform:translateX(380%)}}
body>header nav a.navigation-pending{color:var(--blue)}
.tournament-loading{padding:24px 12px;color:var(--muted);min-height:100px}
@media(prefers-reduced-motion:reduce){.navigation-progress::after{animation:none;width:100%}}

/* Full tournament page: a last-row expansion control; the home preview stays unchanged. */
.tournaments .tournament-more-row td{padding:0!important}
.tournaments .tournament-more-row button{display:block;width:100%;min-height:44px;border:0;border-radius:0;background:transparent;color:var(--muted);font:inherit;cursor:pointer;text-align:center}
.tournaments .tournament-more-row button:hover,.tournaments .tournament-more-row button:focus-visible{color:var(--blue);background:var(--panel)}
@media(max-width:1200px){body .tournaments:not(.tournament-home) .tournament-table tbody tr.tournament-more-row{display:block!important;width:100%}body .tournaments:not(.tournament-home) .tournament-table tr.tournament-more-row td{display:block!important;width:100%!important;max-width:none;grid-area:auto;padding:0!important}}

/* shop-auth-equity.css */
/* Point shop cards, persistent login and the compact preflop calculator. */
.point-shop .shop-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}.point-shop form.shop-product{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;aspect-ratio:1/1;min-height:225px;min-width:0;margin:0;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--soft);box-sizing:border-box;gap:7px}.point-shop .shop-product h2{font-size:13px;line-height:1.4;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.point-shop .shop-product>p{font-size:10px;line-height:1.6;color:var(--muted);margin:0;min-height:30px}.point-shop .shop-product>button{margin-top:auto;width:100%;font-size:11px;line-height:1.4;padding:9px 6px;border-radius:7px;white-space:normal}.shop-item-image{height:85px;position:relative;display:flex;align-items:center;justify-content:center;min-width:0}.shop-item-image img{width:100%;height:100%;object-fit:contain}.shop-item-image>span{position:absolute;top:0;right:0;font-size:10px;border:1px solid var(--line);border-radius:5px;padding:3px 6px;color:var(--muted)}.shop-level-history{display:inline-block;font-size:12px;margin:10px 0 22px}.point-shop .shop-note{font-size:12px;line-height:1.8}#shop-rename-form{display:flex;flex-direction:column;gap:12px}#shop-rename-form input{width:100%;box-sizing:border-box}#shop-rename-error{color:#e19d86;font-size:12px}
#sidebar-login{position:relative;padding-bottom:29px!important}#sidebar-login label.remember-login{position:absolute;left:0;bottom:0;display:flex;flex-direction:row;align-items:center;gap:6px;margin:0;font-size:11px;color:var(--muted);line-height:1.5}label.remember-login{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:12px;margin:12px 0;color:var(--muted)}label.remember-login input[type=checkbox]{width:15px;height:15px;min-height:0;flex:0 0 15px;margin:0;padding:0;accent-color:var(--brand-gold,#c7a873)}label.remember-login small{font-size:10px;opacity:.8}
.pf-heading .equity-open{font-size:10px;padding:5px 9px;white-space:nowrap;border:1px solid var(--line);border-radius:6px;margin-left:auto}.pf-heading .equity-open+button{margin-left:0}#modal.equity-dialog{width:min(540px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:94dvh;overflow:auto}.equity-calculator>p{font-size:12px;color:var(--muted);line-height:1.8}.equity-presets{display:flex;gap:7px;margin:14px 0}.equity-presets button{font-size:11px;padding:6px 10px}.equity-hands{display:grid;grid-template-columns:1fr 1fr;gap:12px}.equity-hands section{min-width:0}.equity-hands h3{font-size:12px;margin:0 0 8px;text-align:center}.equity-hands section>div{display:flex;gap:6px;justify-content:center}.equity-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:58px;height:78px;border:2px solid transparent;border-radius:8px;background:#eee;color:#252525;padding:5px;box-sizing:border-box}.equity-card b{font-size:23px;line-height:1.1}.equity-card span{font-size:22px;line-height:1.1}.equity-card.selected{border-color:#e7bb70;outline:2px solid #e7bb7050;outline-offset:2px}.equity-calculator .red{color:#bd4048}.equity-selected{margin:18px 0 8px}.equity-ranks{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.equity-ranks button,.equity-suits button{border:1px solid var(--line);border-radius:6px;font-size:13px;padding:8px 3px}.equity-ranks button[aria-pressed=true],.equity-suits button[aria-pressed=true]{border-color:var(--brand-gold,#c7a873);background:#c7a87325}.equity-suits{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:10px 0 18px}.equity-suits button{font-size:22px;padding:5px}#equity-run{width:100%;padding:10px}#equity-progress{font-size:12px;line-height:1.6}.equity-result-row{display:flex;justify-content:space-between;gap:10px}.equity-result-row strong{display:flex;flex-direction:column;gap:5px;font-size:12px}.equity-result-row b{font-size:22px;color:var(--brand-gold,#c7a873)}.equity-bar{height:9px;background:#7188a0;border-radius:8px;overflow:hidden;margin:12px 0}.equity-bar span{display:block;height:100%;background:#d6b36e}#equity-result p,.equity-note{font-size:10px!important;color:var(--muted);line-height:1.7}
@media(max-width:700px){.point-shop .shop-products{grid-template-columns:repeat(2,minmax(0,1fr))}.point-shop form.shop-product{min-height:185px;padding:10px;gap:5px}.point-shop .shop-product h2{font-size:12px}.point-shop .shop-product>p{font-size:10px;line-height:1.5;min-height:28px}.point-shop .shop-product>button{font-size:10px;padding:8px 3px}.shop-item-image{height:65px}}
.point-shop form.shop-product{width:100%;max-width:100%;justify-self:stretch}

/* Readable shop copy and a header button that overrides the generic 22px icon size. */
#push-fold-panel .pf-heading{flex-wrap:wrap;row-gap:8px}#push-fold-panel .pf-heading .equity-open{width:auto;min-width:68px;flex:0 0 auto;font-size:12px;line-height:1.4;padding:6px 10px;margin-left:0}#push-fold-panel .pf-heading h2{min-width:0}
.point-shop form.shop-product{aspect-ratio:auto;min-height:265px;padding:16px;gap:9px}.point-shop .shop-product h2{font-size:16px;white-space:normal;overflow:visible;text-overflow:clip}.point-shop .shop-product>p{font-size:14px;line-height:1.65;min-height:46px}.point-shop .shop-product>button{font-size:14px;padding:10px 7px}.shop-item-image>span{font-size:12px}.point-shop .shop-note,.shop-level-history{font-size:14px;line-height:1.8}
@media(max-width:700px){.point-shop form.shop-product{min-height:255px;padding:12px;gap:8px}.point-shop .shop-product h2{font-size:15px}.point-shop .shop-product>p{font-size:13px;min-height:44px}.point-shop .shop-product>button{font-size:13px;padding:10px 5px}.shop-item-image{height:70px}}

#sidebar-login .login-footer{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}#sidebar-login .login-footer label.remember-login{position:static;margin:0;white-space:nowrap}#sidebar-login .login-footer #account-register{padding:0;margin:0;border:0;background:transparent;color:var(--muted);font-size:11px;line-height:1.5;min-height:0;white-space:nowrap}#sidebar-login .login-footer #account-register:hover{color:var(--text)}

/* Keep registration and recovery together below the login fields. */
#sidebar-login{display:grid;grid-template-columns:minmax(0,1fr) 70px;gap:7px;padding-bottom:0!important}
#sidebar-login>.primary{grid-column:2;grid-row:1}
#sidebar-login .login-footer{position:static;grid-column:1/-1;flex-wrap:wrap;gap:8px}
#sidebar-login .login-help-links{display:flex;align-items:center;gap:9px;margin-left:auto}
#sidebar-login .login-footer #sidebar-recover{padding:0;margin:0;border:0;background:transparent;color:var(--muted);font-size:11px;line-height:1.5;min-height:0;white-space:nowrap}
#sidebar-login .login-footer #sidebar-recover:hover{color:var(--text)}

/* Override generic dialog input and label layout for the remember checkbox. */
#auth-form label.remember-login{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:7px;width:fit-content;margin:12px 0;line-height:1.5;cursor:pointer}
#auth-form label.remember-login input[type=checkbox]{display:inline-block;width:16px!important;min-width:16px!important;max-width:16px;height:16px!important;min-height:16px;flex:0 0 16px;align-self:center;margin:0!important;padding:0!important;appearance:auto;accent-color:var(--brand-gold,#c7a873)}

.point-shop .shop-heading.shop-balance{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;padding:22px 24px;margin:0 0 18px;border:1px solid var(--line);border-radius:8px;background:var(--soft);box-shadow:inset 3px 0 var(--bit-gold,var(--brand-gold,#c7a873));color:var(--text)}
.shop-balance>span{font-size:13px!important;font-weight:500;color:var(--muted)!important}
.shop-balance>strong{min-width:0;max-width:100%;font-size:30px;line-height:1.25;font-weight:700;letter-spacing:-.6px;font-variant-numeric:tabular-nums;color:var(--bit-gold,var(--brand-gold,#c7a873));overflow-wrap:anywhere}
.point-shop[data-viewer="0"] .shop-balance>strong{font-size:16px;letter-spacing:0;color:var(--text)}
@media(max-width:1200px){.point-shop .shop-heading.shop-balance{padding:18px 16px;gap:8px 14px}.shop-balance>strong{font-size:26px}}
@media(max-width:360px){.point-shop .shop-heading.shop-balance{align-items:flex-start;flex-direction:column}}
.icm-calculator label{display:block;font-size:12px;margin:12px 0}.icm-calculator textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;margin-top:6px}.icm-calculator table{width:100%;font-size:12px;border-collapse:collapse}.icm-calculator th,.icm-calculator td{padding:8px 4px;text-align:right;border-bottom:1px solid var(--line)}.icm-calculator th:first-child,.icm-calculator td:first-child{text-align:left}

/* dashboard-design.css */
/* Heads-up and bankroll: scoped visual system. */
.hu-designed,#poker-tracker.tracker-designed{--du-surface:#1c2430;--du-soft:#232e3d;--du-border:#ffffff12;--du-ink:#eef3fc;--du-muted:#99a9be;--du-blue:#4c9bff;--du-positive:#36d3ae;--du-negative:#ff8b8b;--du-shadow:0 5px 22px #0000000b;color:var(--du-ink)}
.light .hu-designed,.light #poker-tracker.tracker-designed{--du-surface:#fff;--du-soft:#f2f6fd;--du-border:#e7edf6;--du-ink:#17243c;--du-muted:#77849b;--du-blue:#176bf0;--du-positive:#009e81;--du-negative:#e44f66;--du-shadow:0 5px 22px #28427506}
.du-icon{width:22px;height:22px;flex:0 0 22px;vertical-align:middle}.du-icon-tile{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#3c8cff12;color:var(--du-blue);flex:0 0 42px}.du-icon-tile.du-gold{background:#f3b93215;color:#e5af35}.du-icon-tile.du-mint{background:#00b99713;color:var(--du-positive)}.du-icon-tile.du-coral{background:#ff647013;color:var(--du-negative)}
.du-surface{background:var(--du-surface);border:1px solid var(--du-border);border-radius:15px;box-shadow:var(--du-shadow);min-width:0}.du-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:19px 20px 15px}.du-section-head h2{display:flex;align-items:center;gap:8px;font-size:15px;letter-spacing:-.4px;color:var(--du-ink);font-weight:750;margin:0}.du-section-head>span,.du-section-head>a{font-size:11px;color:var(--du-muted)}.du-section-head>a{color:var(--du-blue)}
.headsup-portal.hu-designed{display:block!important;width:100%;padding:0!important;border:0;background:transparent;container:headsuppage / inline-size}.hu-designed button,.hu-designed input,.hu-designed select{font:inherit}.hu-designed button{transition:background .15s,transform .15s}.hu-designed button:active{transform:translateY(1px)}.hu-designed [hidden]{display:none!important}.du-live-section{margin-bottom:17px}.du-live-dot{width:7px;height:7px;background:#16c68d;border-radius:50%;box-shadow:0 0 0 4px #16c68d12}.du-live-counts{display:flex;align-items:center;gap:15px;font-size:11px;color:var(--du-muted)}.du-live-counts b{color:var(--du-ink);font-size:13px;margin-left:4px}.du-live-games{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:10px;padding:0 20px 17px;max-height:240px;overflow:auto}.du-empty-inline{display:flex;align-items:center;justify-content:center;gap:10px;min-height:66px;border:1px dashed var(--du-border);border-radius:10px;color:var(--du-muted);font-size:12px;text-align:center;padding:12px}.du-empty-inline .du-icon{opacity:.65}.du-empty-eye{font-size:22px;color:var(--du-blue)}
.du-live-game{border:1px solid var(--du-border);background:var(--du-soft);border-radius:10px;padding:12px}.du-duel{display:flex;align-items:center;justify-content:space-between;gap:8px}.du-mini-avatar{width:30px;height:30px;flex:0 0 30px;display:inline-grid;place-items:center;font-size:12px;font-weight:700;border-radius:50%;color:#b5a4f7;background:linear-gradient(150deg,#7a62be38,#7a62be18)}.du-mini-blue{color:#69b2e7;background:#59a8df20}.du-duel strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.du-duel small{font-size:9px;color:var(--du-muted)}.du-live-game-foot{display:flex;justify-content:space-between;align-items:center;margin-top:10px;gap:10px;font-size:10px;color:var(--du-muted)}.du-live-game-foot>span{display:flex;align-items:center;gap:5px}.du-live-game-foot i{width:5px;height:5px;background:#18c995}.du-live-game-foot button{background:var(--du-surface);border:1px solid var(--du-border);color:var(--du-blue);font-size:11px;border-radius:6px;padding:6px 10px}
.du-hu-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:16px;align-items:start}.du-hu-main,.du-hu-aside{display:grid;gap:16px;min-width:0}.du-match-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:14px;min-width:0}.du-quick{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 80% 15%,#52b4ff66,transparent 55%),linear-gradient(125deg,#1248ad,#1279d9);border:1px solid #388bea;border-radius:15px;color:#fff;padding:22px;box-shadow:0 10px 22px #005bce14;min-width:0}.du-quick::after{content:"";position:absolute;z-index:-1;width:310px;height:310px;border:1px solid #ffffff0b;border-radius:50%;right:-90px;top:-110px;box-shadow:0 0 0 35px #ffffff03,0 0 0 70px #ffffff03}.du-quick-head{display:flex;align-items:center;gap:10px}.du-quick-head .du-icon-tile{background:#ffffff17;color:#ffe394;border:1px solid #ffffff15;width:38px;height:38px;flex-basis:38px}.du-quick-head h2{font-size:22px;letter-spacing:-.8px;margin:0;font-weight:800}.du-quick-head p{font-size:11px;line-height:1.6;color:#d8eaff;margin:5px 0 0}.du-quick-badge{margin-left:auto;padding:5px 8px;font-size:10px;border:1px solid #ffffff29;border-radius:6px;white-space:nowrap}
.du-deck{position:relative;max-width:290px;width:100%;height:155px;margin:2px auto 8px;isolation:isolate;pointer-events:none}.du-felt{position:absolute;bottom:4px;left:5%;right:5%;height:56px;border-radius:50%;background:radial-gradient(ellipse,#002d7644,#002d7600 70%)}.du-card{position:absolute;top:16px;left:calc(50% - 72px);width:83px;height:118px;background:linear-gradient(135deg,#fff,#e6effc);box-shadow:0 13px 20px #00276e45,inset 0 0 0 1px #ffffffb0;border-radius:9px;padding:8px 10px;transform:rotate(-14deg);display:flex;flex-direction:column;gap:2px;line-height:1}.du-card b{font:700 25px Georgia,serif}.du-card>span{font:49px Georgia,serif;text-align:center}.du-card small{font:700 17px Georgia,serif;align-self:flex-end;transform:rotate(180deg)}.du-card-red{color:#d94858}.du-card-black{top:20px;left:calc(50% - 2px);transform:rotate(14deg);color:#1c314d}.du-chip{position:absolute;display:block;border-radius:50%;width:57px;height:57px;border:7px dashed #a9cfff70;background:#174d9f;box-shadow:inset 0 0 0 2px #1b6bca,0 5px 0 #113e83,0 10px 0 #103b7b;transform:rotate(18deg) scaleY(.7)}.du-chip-one{left:15px;top:64px}.du-chip-two{right:14px;top:40px;width:67px;height:67px;transform:rotate(-30deg) scaleY(.7)}.du-chip-three{right:5px;top:97px;width:42px;height:42px;border-width:5px}.du-deck-spark{position:absolute;right:21%;top:8px;color:#c2eaff9c;font-size:18px}
.du-match-action{display:grid;grid-template-columns:75px minmax(0,1fr);gap:8px}.du-match-action select{width:100%;background:#00439460;color:#fff;border:1px solid #ffffff38;border-radius:8px;padding:10px 8px;font-size:12px}.du-match-action select option{background:#17467f;color:white}.du-match-action #hu-match-start{display:flex;align-items:center;justify-content:center;gap:8px;min-height:47px;padding:10px 8px;color:#124b9c;background:#fff;box-shadow:0 3px 9px #00337626;border-radius:9px;font-size:15px;font-weight:800}.du-match-action #hu-match-start .du-icon{width:18px;height:18px;flex-basis:18px}.du-match-action #hu-match-start:hover{background:#eaf3ff}.du-quick button:disabled{opacity:.55;cursor:wait}.du-quick #hu-match-status{font-size:10px;line-height:1.6;text-align:center;color:#d4e6ff;margin:10px 0}.du-match-secondary{display:flex;justify-content:center;gap:8px}.du-match-secondary button{font-size:11px;margin-top:8px;padding:6px 12px;color:#fff;background:#ffffff15;border:1px solid #ffffff29}.du-quick-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;border-top:1px solid #ffffff20;padding-top:12px}.du-quick-specs span{font-size:9px;line-height:1.4;color:#d3e7ff;text-align:center}.du-quick-specs b{display:block;font-size:11px;color:#fff;margin-top:4px;font-weight:600}.du-quick #hu-waiting-list .hu-portal-empty{display:none}.du-quick #hu-waiting-list .hu-opponent{font-size:10px;padding:8px 0;border-color:#ffffff20;color:#fff;display:flex;gap:8px;justify-content:space-between}.du-quick #hu-waiting-list{max-height:100px;overflow:auto}.du-quick #hu-waiting-list:empty{display:none}
.du-target{display:flex;flex-direction:column;padding:22px;min-width:0}.du-target-heading{display:flex;align-items:center;gap:10px}.du-target-heading h2{font-size:18px;letter-spacing:-.5px;margin:0;color:var(--du-ink)}.du-target-heading p{font-size:11px;color:var(--du-muted);margin:5px 0 0}.du-target #hu-opponent-search{display:flex;align-items:center;margin:21px 0 0;padding:4px 4px 4px 10px;gap:5px;border:1px solid var(--du-border);border-radius:9px;background:var(--du-soft)}.du-target #hu-opponent-search>.du-icon{width:16px;height:16px;flex-basis:16px;color:var(--du-muted)}.du-target #hu-opponent-query{border:0;background:none;box-shadow:none;width:0;flex:1;min-width:0;padding:8px 2px;font-size:12px;color:var(--du-ink)}.du-target #hu-opponent-search>button{font-size:11px;color:var(--du-blue);padding:8px;flex-shrink:0}.du-target-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:27px 0 23px}.du-target-empty strong{font-size:12px;color:var(--du-ink);font-weight:600}.du-target-empty p{color:var(--du-muted);font-size:11px;margin:7px 0 0}.du-people-art{display:flex;align-items:center;justify-content:center;gap:7px;height:78px;margin:0 0 8px}.du-people-art>span{display:grid;place-items:center;width:47px;height:55px;border-radius:10px;color:#6e9fdf;font-size:28px;background:linear-gradient(160deg,#74a7ec28,#74a7ec08);border:1px solid #74a7ec25;transform:rotate(-12deg)}.du-people-art>span:last-child{color:#d8919c;background:linear-gradient(160deg,#d8919c20,#d8919c08);border-color:#d8919c25;transform:rotate(12deg)}.du-people-art>b{font-size:10px;color:var(--du-muted);font-style:italic}.du-inbox-button{margin-top:auto;display:flex;align-items:center;gap:8px;justify-content:center;border:1px solid var(--du-border);border-radius:8px;color:var(--du-blue);background:var(--du-soft);font-size:11px;min-height:39px;padding:8px}.du-inbox-button>.du-icon{width:17px;height:17px;flex-basis:17px}.du-inbox-button>.du-icon:last-child{margin-left:auto}.du-search-player{display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid var(--du-border)}.du-search-player strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.du-search-player button{margin-left:auto;flex-shrink:0;font-size:10px;padding:6px 8px;color:var(--du-blue);border:1px solid #438dfb45;border-radius:6px}.du-target #hu-opponent-results{max-height:240px;overflow:auto}
.du-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:0 16px 17px}.du-stat{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--du-border);border-radius:9px;padding:13px 8px;min-width:0}.du-stat .du-icon-tile{width:33px;height:33px;flex-basis:33px;border-radius:9px}.du-stat .du-icon{width:19px;height:19px;flex-basis:19px}.du-stat strong{display:block;font-size:22px;letter-spacing:-.6px;line-height:1.25}.du-stat small{display:block;color:var(--du-muted);font-size:10px;margin-top:4px}
.du-profile{padding:20px}.du-profile-top{display:flex;align-items:center;gap:11px}.du-profile-top .hu-rank-avatar,.du-guest-avatar{width:49px;height:49px;flex:0 0 49px;border-radius:50%;object-fit:cover;background:linear-gradient(145deg,#3e80c62c,#a67dfc2c);display:inline-grid;place-items:center;font-size:24px;color:var(--du-blue);border:2px solid var(--du-soft)}.du-profile-top>div{min-width:0;display:flex;align-items:flex-start;flex-direction:column;gap:7px}.du-profile-top strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}.du-profile-top span:not(.hu-rank-avatar){font-size:10px;color:var(--du-muted)}.du-profile-top span.du-level{color:#dda640;border:1px solid #dda64025;border-radius:4px;background:#dda6400c;padding:2px 6px;font-weight:600}.du-profile-balance{padding:21px 0 17px}.du-profile-balance>span{color:var(--du-muted);font-size:11px}.du-profile-balance>strong{display:block;font-size:27px;letter-spacing:-.7px;margin-top:6px;font-variant-numeric:tabular-nums}.du-profile-balance small{font-size:12px;font-weight:400;color:var(--du-muted)}.du-profile-foot{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid var(--du-border);padding-top:14px;font-size:10px;color:var(--du-muted)}.du-profile-foot b{display:block;color:var(--du-ink);font-size:14px;margin-top:5px}.du-blue-button{background:#176bf0;color:#fff;border-radius:8px;display:block;width:100%;font-size:12px;padding:10px;margin:20px 0 14px}
.du-ranking .du-section-head{padding-bottom:12px}.du-ranking .du-section-head .du-icon{color:#e0ac41;width:19px;height:19px;flex-basis:19px}.du-rank-tabs{display:flex;background:var(--du-soft);border-radius:7px;padding:3px;margin:0 17px 8px;gap:3px}.du-rank-tabs button{flex:1;min-height:31px;border-radius:5px;font-size:11px;color:var(--du-muted)}.du-rank-tabs button[aria-selected="true"]{background:var(--du-surface);color:var(--du-blue);box-shadow:0 1px 5px #00000009;font-weight:700}.du-rank-list{list-style:none;margin:0;padding:0 17px}.du-rank-list li{display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid var(--du-border);min-width:0}.du-rank-no{width:14px;flex:0 0 14px;text-align:center;color:var(--du-muted);font-size:11px}.du-rank-no.du-place-1{color:#e6ac34;font-size:21px}.du-rank-no.du-place-2{color:#9caebe}.du-rank-no.du-place-3{color:#b58c6b}.du-rank-list .hu-rank-avatar{width:29px;height:29px;border-radius:50%;object-fit:cover;flex:0 0 29px;display:grid;place-items:center;background:var(--du-soft);color:var(--du-blue);font-size:12px}.du-rank-list li>span:not(.hu-rank-avatar){min-width:0;flex:1}.du-rank-list strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:600;max-width:115px}.du-rank-list small{display:block;color:var(--du-muted);font-size:9px;margin-top:4px}.du-rank-list em{font-style:normal;font-size:11px;color:var(--du-ink);white-space:nowrap}.du-rank-list li.du-rank-empty{font-size:11px;line-height:1.8;color:var(--du-muted);padding:35px 4px;justify-content:center;text-align:center}.du-season{display:flex;align-items:center;gap:5px;padding:13px 17px;margin:0}.du-season label{font-size:10px;color:var(--du-muted)}.du-season input{min-width:0;flex:1;width:0;padding:6px;font-size:11px;background:var(--du-soft);border-color:var(--du-border);color:var(--du-ink)}.du-season button{font-size:10px;color:var(--du-blue);padding:6px}.du-season-caption{text-align:center;color:var(--du-muted);font-size:9px;line-height:1.6;margin:0;padding:0 14px 16px}
.du-table-scroll{max-width:100%;overflow:auto;padding:0 18px 15px}.du-games-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:11px;text-align:left}.du-games-table th{font-size:10px;color:var(--du-muted);font-weight:500;background:var(--du-soft);padding:10px}.du-games-table th:first-child{border-radius:6px 0 0 6px}.du-games-table th:last-child{border-radius:0 6px 6px 0}.du-games-table td{padding:13px 10px;border-bottom:1px solid var(--du-border);font-size:10px}.du-games-table td:first-child{font-size:11px}.du-games-table td:first-child strong{font-weight:500}.du-games-table td:first-child small{color:var(--du-muted);padding:0 7px;font-size:9px}.du-games-table td:last-child{color:var(--du-muted)}.du-result-pill{display:inline-block;max-width:110px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;padding:4px 7px;background:#08b99812;color:var(--du-positive);border-radius:5px;font-size:10px}.du-empty-state{min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--du-muted);text-align:center;padding:20px}.du-empty-state .du-icon{color:var(--du-blue);width:34px;height:34px}.du-empty-state strong{font-size:13px;color:var(--du-ink);font-weight:500}.du-empty-state span{font-size:11px}.du-rules{margin-top:18px!important;color:var(--du-muted);font-size:11px;border-top:1px solid var(--du-border);padding:14px 2px}.du-rules summary{cursor:pointer}.du-rules p{font-size:11px;line-height:1.9;max-width:850px}.du-badges{display:flex;flex-wrap:wrap;gap:7px;padding:15px 0}.du-badges span{font-size:10px;color:#d4ad56;background:#d4ad5610;border:1px solid #d4ad5624;padding:6px 9px;border-radius:6px}
@container headsuppage (max-width:850px){.du-hu-layout{grid-template-columns:minmax(0,1fr)}.du-hu-aside{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:start}.du-profile-top strong{max-width:200px}.du-rank-list strong{max-width:100%}.du-rank-list{max-height:300px;overflow:auto}}
@container headsuppage (max-width:550px){.du-match-grid{grid-template-columns:minmax(0,1fr)}.du-quick{padding:22px}.du-deck{height:165px}.du-target{padding:20px}.du-target-empty{padding:18px 0}.du-people-art{height:60px}.du-hu-aside{grid-template-columns:minmax(0,1fr)}.du-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.du-stat{justify-content:flex-start;padding-left:15px}.du-live-section .du-section-head{align-items:flex-start;flex-direction:column;gap:12px}.du-live-counts{width:100%;justify-content:space-between;gap:8px}.du-live-games{padding:0 15px 14px}.du-section-head{padding:17px 16px 14px}.du-hu-layout,.du-hu-main{gap:13px}.du-profile{padding:18px}.du-profile-balance{padding-block:16px}.du-profile-foot{display:flex;gap:25px}.du-profile-foot b{display:inline;margin-left:6px}}
@media(max-width:1200px){body[data-mobile-view="headsup"] .headsup-portal.hu-designed{display:block!important}.hu-designed .du-section-head h2{font-size:14px}.du-quick-head h2{font-size:22px}}
/* Bankroll */
#poker-tracker.tracker-designed{container:trackerpage / inline-size;padding:0;min-width:0}.tracker-designed>.tracker-heading:first-child{align-items:center;margin:0 0 18px}.tracker-designed .tracker-heading h2{font-size:20px!important;letter-spacing:-.7px;color:var(--du-ink)}.tracker-designed #tracker-new{background:#176bf0;color:#fff;border-radius:8px;font-size:12px;box-shadow:0 4px 10px #176bf01a}.tracker-designed .tracker-periods{background:var(--du-soft);border:1px solid var(--du-border)}.tracker-designed .tracker-periods button{color:var(--du-muted);font-size:11px}.tracker-designed .tracker-periods button.selected{background:#176bf0;color:#fff;box-shadow:0 2px 7px #176bf01a}
.tracker-designed .du-tracker-settings{margin:0 0 16px;border:1px solid var(--du-border);border-radius:10px;background:var(--du-surface);padding:0 14px;box-shadow:var(--du-shadow)}.tracker-designed .du-tracker-settings>summary{font-size:11px;color:var(--du-muted);padding:11px 0;cursor:pointer}.du-tracker-settings>summary>span{float:right;font-size:10px;color:var(--du-muted)}.tracker-designed .du-tracker-settings[open]{padding-bottom:13px}.tracker-designed .tracker-sharing{margin:15px 0 0;padding:12px 0 0;border:0;border-top:1px solid var(--du-border);border-radius:0;background:none}.tracker-designed .tracker-sharing strong{font-size:11px}.tracker-designed .tracker-sharing small{font-size:10px;color:var(--du-muted)}.tracker-designed #tracker-sharing{font-size:11px;min-width:62px;background:var(--du-soft);border:1px solid var(--du-border);padding:7px 10px}.tracker-designed #tracker-sharing-status:empty{display:none}.tracker-designed #tracker-filters{margin:7px 0 0}.tracker-designed #tracker-filters input,.tracker-designed #tracker-filters select{background:var(--du-soft);color:var(--du-ink);border-color:var(--du-border)}.tracker-designed #tracker-error:empty{display:none}
#poker-tracker.tracker-designed .tracker-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin:0 0 17px;padding:0;border:0}.tracker-designed .tracker-summary .tracker-kpi{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:32px auto auto;gap:8px 9px;border:1px solid var(--du-border);border-radius:13px;background:var(--du-surface);padding:17px 13px;box-shadow:var(--du-shadow)}.tracker-designed .du-kpi-icon{width:32px;height:32px;border-radius:9px;background:#498ffa0e;display:grid;place-items:center;color:var(--du-blue);margin:0}.du-kpi-icon svg{width:21px;height:21px}.tracker-designed .tracker-summary .tracker-kpi>span:not(.du-kpi-icon){font-size:11px;font-weight:550;line-height:1.6;color:var(--du-ink);margin:0;align-self:center}.tracker-designed .tracker-summary .tracker-kpi>strong{grid-column:1/-1;font-size:22px;line-height:1.4;letter-spacing:-.6px;font-variant-numeric:tabular-nums;color:var(--du-ink)}.tracker-designed .tracker-summary .tracker-kpi>strong.positive{color:var(--du-positive)}.tracker-designed .tracker-summary .tracker-kpi>strong.negative{color:var(--du-negative)}.tracker-designed .tracker-summary .tracker-kpi>small{grid-column:1/-1;color:var(--du-muted);font-size:9px;line-height:1.7}.tracker-designed .tracker-summary .tracker-kpi-main{background:radial-gradient(ellipse at top right,#1584da,#1044b5);border-color:#226bd1}.tracker-designed .tracker-summary .tracker-kpi-main .du-kpi-icon{background:#ffffff15;color:#78e4ef}.tracker-designed .tracker-summary .tracker-kpi-main>span:not(.du-kpi-icon),.tracker-designed .tracker-summary .tracker-kpi-main>small{color:#e0edff}.tracker-designed .tracker-summary .tracker-kpi-main>strong{color:#fff}.tracker-designed .tracker-summary .tracker-kpi-main>strong.positive{color:#80f1cf}.tracker-designed .tracker-summary .tracker-kpi-main>strong.negative{color:#ffd0d0}
.tracker-designed .tracker-dashboard{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(230px,1fr);gap:15px;margin:0 0 19px}.tracker-designed .tracker-card{background:var(--du-surface);border:1px solid var(--du-border);border-radius:13px;box-shadow:var(--du-shadow);padding:20px}.tracker-designed .tracker-main-chart{justify-content:flex-start;min-height:340px}.tracker-designed .tracker-card h3{font-size:14px!important;color:var(--du-ink);font-weight:700;margin:0 0 15px}.du-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}.du-chart-head>div:last-child{display:flex;flex-direction:column;align-items:flex-end;gap:13px}.tracker-designed .du-chart-head h3{font-size:13px!important;color:var(--du-muted);margin:0 0 8px;font-weight:500}.du-chart-head #tracker-chart-total{font-size:23px;line-height:1.5;letter-spacing:-.8px;font-weight:750;font-variant-numeric:tabular-nums}.du-chart-key{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--du-muted)}.du-chart-key::before{content:"";display:block;width:6px;height:6px;background:#3488ff;border-radius:50%}.du-chart-head #tracker-chart-period{font-size:9px;color:var(--du-muted)}.tracker-designed .tracker-main-chart #tracker-profit-chart{margin:auto 0;min-width:0}.tracker-designed .tracker-card svg{overflow:visible}.tracker-designed .tracker-card svg text{font:12px 'Noto Sans KR',Arial,sans-serif;fill:var(--du-muted)}.tracker-designed .chart-grid{stroke:var(--du-border)}.tracker-designed .chart-zero{stroke:var(--du-muted);opacity:.25;stroke-dasharray:3 5}.tracker-designed .tracker-line{stroke:#3e8cff;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}.tracker-designed .tracker-line.negative{stroke:var(--du-negative)}.tracker-designed .tracker-dot{fill:#3e8cff;stroke:var(--du-surface);stroke-width:1.8}.tracker-designed .tracker-area{fill:#3e8cff13}.tracker-designed .tracker-side-charts{gap:15px;grid-template-columns:minmax(0,1fr)}.tracker-designed .tracker-donut{width:109px;height:109px;flex-basis:109px;background:conic-gradient(#08ba99 0 var(--win),#f19b83 var(--win) 100%);box-shadow:inset 0 0 0 1px #ffffff05}.tracker-designed .tracker-donut>div{width:79px;height:79px;background:var(--du-surface)}.tracker-designed .tracker-donut strong{font-size:19px}.tracker-designed .tracker-outcomes{gap:17px}.tracker-designed .tracker-outcome-legend>span{font-size:10px;gap:5px;white-space:nowrap}.tracker-designed .tracker-outcome-legend i.non-win{background:#f19b83}.tracker-designed .tracker-outcome-legend b{font-size:11px}.tracker-designed .tracker-platform{grid-template-columns:55px minmax(30px,1fr) auto;gap:7px;margin:16px 0;font-size:10px}.tracker-designed .tracker-platform>b{font-size:10px}.tracker-designed .tracker-platform .positive{color:var(--du-positive)}.tracker-designed .tracker-platform .negative{color:var(--du-negative)}.tracker-designed .tracker-meter{background:var(--du-soft);height:7px}.tracker-designed .tracker-meter i{background:var(--du-positive)}.tracker-designed .tracker-meter i.negative{background:var(--du-negative)}
.du-empty-chart{position:relative;isolation:isolate;min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;background:linear-gradient(0deg,var(--du-border) 1px,transparent 1px),linear-gradient(90deg,var(--du-border) 1px,transparent 1px);background-size:100% 46px,16.66% 100%;border-radius:9px}.du-empty-chart::after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse,var(--du-surface) 8%,transparent 90%)}.du-empty-chart>span{font-size:34px;color:var(--du-blue);line-height:1}.du-empty-chart>strong{font-size:13px;color:var(--du-ink)}.du-empty-chart>small{font-size:10px;color:var(--du-muted)}.tracker-designed .tracker-empty{padding:22px 0;font-size:11px;color:var(--du-muted)}.tracker-designed .tracker-more-charts{border:1px solid var(--du-border);border-radius:10px;padding:12px 16px;margin:16px 0;background:var(--du-surface)}.tracker-designed .tracker-more-charts>summary{font-size:11px;color:var(--du-muted)}.tracker-designed .du-recent-heading{margin:22px 0 12px}.tracker-designed .du-recent-heading h3{font-size:15px!important;color:var(--du-ink)}.tracker-designed .du-records-card{background:var(--du-surface);border:1px solid var(--du-border);border-radius:13px;padding:8px 15px 12px;box-shadow:var(--du-shadow)}.tracker-designed .du-records-card>.tracker-empty{text-align:center;padding:35px 12px}.tracker-designed .tracker-history{min-width:680px;font-size:11px}.tracker-designed .tracker-history th{font-size:10px;background:var(--du-soft);border:0;padding:10px;color:var(--du-muted)}.tracker-designed .tracker-history th:first-child{border-radius:6px 0 0 6px}.tracker-designed .tracker-history th:last-child{border-radius:0 6px 6px 0}.tracker-designed .tracker-history td{font-size:11px;border-color:var(--du-border);padding:13px 10px}.tracker-designed .tracker-history td.positive{color:var(--du-positive)}.tracker-designed .tracker-history td.negative{color:var(--du-negative)}.tracker-designed .tracker-history td.positive strong,.tracker-designed .tracker-history td.negative strong{font-weight:700;font-size:11px;margin:5px 0 0}.du-record-result{display:inline-block;padding:3px 6px;background:var(--du-soft);color:var(--du-muted);border-radius:5px;font-size:9px}.du-record-result.positive{background:#08ba9912;color:var(--du-positive)}.du-record-result.negative{background:#ed687815;color:var(--du-negative)}.tracker-designed .tracker-history time{font-size:10px;color:var(--du-muted)}.tracker-designed .tracker-history button{color:var(--du-muted);font-size:10px;min-height:30px;padding:5px}.tracker-designed .tracker-pagination{font-size:11px;color:var(--du-muted);padding-bottom:8px}.tracker-designed .tracker-pagination button{color:var(--du-muted);font-size:11px}
@container trackerpage (max-width:900px){#poker-tracker.tracker-designed .tracker-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.tracker-designed .tracker-dashboard{grid-template-columns:minmax(0,1fr)}.tracker-designed .tracker-side-charts{grid-template-columns:1fr 1fr}.tracker-designed .tracker-main-chart{min-height:300px}}
@container trackerpage (max-width:580px){#poker-tracker.tracker-designed .tracker-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.tracker-designed .tracker-summary .tracker-kpi-main{grid-column:1/-1}.tracker-designed .tracker-summary .tracker-kpi-main>strong{font-size:30px}.tracker-designed .tracker-summary .tracker-kpi{padding:15px}.tracker-designed .tracker-summary .tracker-kpi>strong{font-size:21px}.tracker-designed .tracker-side-charts{grid-template-columns:minmax(0,1fr)}.tracker-designed .tracker-card{padding:17px}.tracker-designed .tracker-outcomes{justify-content:center}.tracker-designed .tracker-outcome-legend{max-width:160px}.tracker-designed .tracker-top-actions{width:100%;justify-content:space-between}.tracker-designed>.tracker-heading:first-child{flex-direction:column;align-items:flex-start;gap:14px}.du-chart-head #tracker-chart-total{font-size:21px}.du-chart-head{gap:8px}.tracker-designed .tracker-card svg text{font-size:14px}.du-tracker-settings>summary>span{display:none}.tracker-designed .tracker-main-chart{min-height:270px}.tracker-designed .du-chart-key{font-size:9px}.tracker-designed .du-chart-head #tracker-chart-period{font-size:8px}}
@media(prefers-reduced-motion:reduce){.hu-designed button{transition:none}}

.hu-designed>.du-live-section{margin:0 0 17px}.du-profile-top>div{flex:1}.du-profile-top strong{max-width:100%}.du-profile-top>.du-guest-avatar{font-size:25px;color:var(--du-blue)}.tracker-designed .tracker-summary .tracker-kpi>strong .du-value-unit{display:inline-block;font-size:10px;letter-spacing:0;margin-left:5px;opacity:.8;font-weight:400}.tracker-designed .tracker-summary .tracker-kpi>strong{font-size:clamp(18px,1.8cqw,24px)}
@container trackerpage (max-width:580px){.tracker-designed .tracker-summary .tracker-kpi-main>strong{font-size:30px}}

/* play-experience.css */
/* Dedicated play surfaces: controls, table illustration, chart axes and readable match hierarchy. */
.pf-refined,.hu-arena{--play-surface:#222729;--play-inset:#1a1f21;--play-line:#ffffff13;--play-ink:#eeeae1;--play-muted:#9baba5;--play-accent:#c9b17c;--play-felt:#315748;--play-shadow:0 8px 26px #00000012;color:var(--play-ink)}
.light .pf-refined,.light .hu-arena{--play-surface:#fffefa;--play-inset:#f4f3ee;--play-line:#252d231a;--play-ink:#29352e;--play-muted:#647168;--play-accent:#927640;--play-felt:#d4e3d7;--play-shadow:0 6px 24px #25322b08}
/* Push/fold workspace */
.pf-refined{padding:0!important;border:1px solid var(--play-line);border-radius:12px;background:var(--play-surface);container:shortstack / inline-size;box-shadow:var(--play-shadow)}
.pf-refined .pf-heading{display:flex;gap:10px;align-items:center;margin:0;padding:20px 22px;border-bottom:1px solid var(--play-line)}
.pf-refined .pf-heading h2{font-size:19px!important;font-weight:700;letter-spacing:-.6px;margin:0}
.pf-refined .pf-reference-tag{font-size:10px!important;padding:3px 7px;border:1px solid var(--play-line);border-radius:4px;color:var(--play-muted)}
.pf-refined #pf-expand{margin-left:auto;min-width:30px;min-height:30px;border:1px solid var(--play-line);border-radius:5px;color:var(--play-muted)}
.pf-refined .pf-workspace{display:grid;grid-template-columns:158px minmax(0,1fr);align-items:start;min-width:0}
.pf-refined .pf-settings{padding:22px 16px;display:grid;gap:24px;border-right:1px solid var(--play-line);background:var(--play-inset);align-self:stretch;min-width:0}
.pf-refined .pf-control-label{display:block;margin:0 0 10px;color:var(--play-muted);font-size:10px!important;font-weight:600;letter-spacing:.1px}
.pf-refined .pf-scenario{display:block;margin:0}
.pf-refined #pf-players{width:100%;border:1px solid var(--play-line);border-radius:6px;background:var(--play-surface);color:var(--play-ink);padding:10px 8px;font-size:12px!important}
.pf-refined .pf-options{margin:0;gap:6px}
.pf-refined #pf-stacks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.pf-refined #pf-stacks button{padding:9px 2px;display:flex;flex-direction:column;align-items:center;gap:1px}
.pf-refined #pf-stacks b{font-size:20px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums}
.pf-refined #pf-stacks span{font-size:9px!important;color:var(--play-muted)}
.pf-refined .pf-options button{border:1px solid var(--play-line);border-radius:5px;background:transparent;color:var(--play-muted);transition:border-color .15s,background .15s}
.pf-refined .pf-options button.selected{border-color:var(--play-accent);background:var(--play-surface);color:var(--play-ink);box-shadow:inset 0 -2px var(--play-accent)}
.pf-refined #pf-positions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.pf-refined #pf-positions button{padding:9px 3px;font-size:10px!important}
.pf-refined .pf-table-context{padding:12px 0 0;margin:0;border-top:1px solid var(--play-line);font-size:10px!important;color:var(--play-muted);line-height:1.9!important}
.pf-refined .pf-range-area{padding:20px;min-width:0}
.pf-refined .pf-summary{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;border:0;border-bottom:1px solid var(--play-line);border-radius:0;background:transparent;text-align:left;padding:0 0 14px;margin:0 0 14px}
.pf-refined .pf-summary>span{display:flex;align-items:baseline;gap:9px}
.pf-refined .pf-summary b{font-size:23px;letter-spacing:-.5px}
.pf-refined .pf-summary strong{font-size:12px!important;font-weight:500;color:var(--play-muted)}
.pf-refined .pf-summary small{font-size:10px!important;color:var(--play-muted)}
.pf-refined .pf-legend{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 0 10px}
.pf-refined .pf-legend span{font-size:9px!important;color:var(--play-muted);display:flex;align-items:center;gap:5px}
.pf-refined .pf-legend i{width:8px;height:8px;border-radius:2px;background:var(--play-felt)}
.pf-refined .pf-legend span:nth-child(2) i{background:var(--play-inset);border:1px solid var(--play-line)}
.pf-refined .pf-chart-matrix{display:grid;grid-template-columns:14px minmax(0,1fr);grid-template-rows:14px auto;gap:5px;min-width:0}
.pf-refined .pf-rank-axis{color:var(--play-muted);font-size:9px;line-height:1;display:grid;text-align:center;gap:3px;align-items:center}
.pf-refined .pf-rank-top{grid-column:2;grid-row:1;grid-template-columns:repeat(13,minmax(0,1fr))}
.pf-refined .pf-rank-side{grid-column:1;grid-row:2;grid-template-rows:repeat(13,minmax(0,1fr))}
.pf-refined .pf-grid{grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:3px;padding:0;min-width:0}
.pf-refined .pf-hand,body[data-section="solver"] .content .pf-refined .pf-hand{min-width:0;min-height:0;aspect-ratio:1.06;border:1px solid var(--play-line);border-radius:3px;font-size:clamp(8px,.85vw,11px)!important;line-height:1;padding:0;position:relative;transition:transform .1s,outline .1s}
body:not(.light) .pf-refined .pf-hand.push{background:#345c4a!important;color:#f3f7f0!important;border-color:#5c80634d}
body:not(.light) .pf-refined .pf-hand.fold{background:#1b2022!important;color:#8b9892!important;border-color:#ffffff08}
body.light .pf-refined .pf-hand.push{background:#d1e0d2!important;color:#2c5438!important;border-color:#b0c8b6}
body.light .pf-refined .pf-hand.fold{background:#f0f0e9!important;color:#657067!important;border-color:#e2e4da}
.pf-refined .pf-hand:hover{transform:translateY(-1px);z-index:1;outline:1px solid var(--play-muted)}
.pf-refined .pf-hand.pf-hand-selected{outline:2px solid var(--play-accent);outline-offset:-2px;z-index:2}
.pf-refined .pf-hand:focus-visible,.pf-refined button:focus-visible{outline:2px solid var(--play-accent);outline-offset:2px}
.pf-refined .pf-hand-inspector{display:flex;align-items:center;gap:17px;margin:18px 0 14px;padding:15px;background:var(--play-inset);border:1px solid var(--play-line);border-radius:8px;min-height:91px}
.pf-refined .pf-selected-cards{display:flex;gap:4px;flex-shrink:0}
.pf-refined .pf-card-example{width:39px;height:55px;display:flex;flex-direction:column;justify-content:space-between;padding:6px;background:#f6f4eb;color:#2b4035;border:1px solid #d7d9ce;border-radius:5px;box-shadow:0 3px 6px #0001;transform:rotate(-5deg)}
.pf-refined .pf-card-example:last-child{transform:rotate(5deg);margin-top:2px}
.pf-refined .pf-card-example b{font-family:Georgia,serif;font-size:19px;font-weight:700;line-height:1}
.pf-refined .pf-card-example i{font-size:17px;line-height:1;font-style:normal;align-self:flex-end}
.pf-refined .pf-card-example.pf-card-red{color:#ae5d55}
.pf-refined .pf-hand-inspector .pf-control-label{margin-bottom:4px;font-size:9px!important}
.pf-refined .pf-hand-detail{padding:0;margin:0!important;min-height:0;font-weight:600;font-size:12px!important;color:var(--play-ink)!important}
.pf-refined .pf-hand-inspector small{font-size:9px!important;color:var(--play-muted)}
.pf-refined .pf-range-text{border:0;border-top:1px solid var(--play-line);padding:11px 0 0;margin:0}
.pf-refined .pf-range-text summary{font-size:11px!important;color:var(--play-muted);cursor:pointer}
.pf-refined #pf-notation{font-family:ui-monospace,monospace;line-height:1.9!important;overflow-wrap:anywhere;font-size:10px!important}
.pf-refined .pf-caveat{border:0;padding:12px 0 0;margin:0;font-size:9px!important;line-height:1.9!important;color:var(--play-muted)}
.pf-refined.pf-compact .pf-heading{padding:12px}
.pf-refined.pf-compact .pf-workspace{display:block}
.pf-refined.pf-compact .pf-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:0;border-bottom:1px solid var(--play-line);padding:12px}
.pf-refined.pf-compact .pf-setting-block:nth-child(3),.pf-refined.pf-compact .pf-table-context{grid-column:1/-1}
.pf-refined.pf-compact #pf-positions{grid-template-columns:repeat(4,minmax(0,1fr))}
.pf-refined.pf-compact #pf-positions button{padding:6px 2px}
.pf-refined.pf-compact .pf-control-label{margin-bottom:6px}
.pf-refined.pf-compact .pf-table-context{font-size:9px!important;padding:8px 0 0}
.pf-refined.pf-compact .pf-range-area{padding:12px}
.pf-refined.pf-compact .pf-summary b{font-size:18px}
.pf-refined.pf-compact .pf-summary strong{font-size:10px!important}
.pf-refined.pf-compact .pf-hand{font-size:8px!important;aspect-ratio:.9}
.pf-refined.pf-compact .pf-grid,.pf-refined.pf-compact .pf-rank-axis{gap:2px}
.pf-refined.pf-compact .pf-hand-inspector{gap:10px;padding:10px}
.pf-refined.pf-compact .pf-card-example{width:29px;height:42px;padding:4px}
/* Heads-up lobby: a single primary table, with invitations and rankings in a supporting rail. */
.hu-arena,.light .hu-arena{--du-surface:var(--play-surface);--du-soft:var(--play-inset);--du-border:var(--play-line);--du-ink:var(--play-ink);--du-muted:var(--play-muted);--du-blue:var(--play-accent);--du-shadow:var(--play-shadow)}
.hu-arena .du-hu-layout{display:grid;grid-template-columns:minmax(0,1fr) 242px;grid-template-areas:"match profile" "match invite" "live ranking" "record ranking" "history ranking";gap:16px;align-items:start}
.hu-arena .du-hu-main,.hu-arena .du-hu-aside{display:contents}
.hu-arena .du-match-grid{grid-area:match;display:block}
.hu-arena .du-profile{grid-area:profile}
.hu-arena .du-target{grid-area:invite}
.hu-arena .du-live-section{grid-area:live;margin:0}
.hu-arena .du-record-section{grid-area:record}
.hu-arena .du-ranking{grid-area:ranking}
.hu-arena .du-history-section{grid-area:history}
.hu-arena .du-surface,.hu-arena .du-quick{border:1px solid var(--play-line);border-radius:11px;box-shadow:var(--play-shadow);background:var(--play-surface)}
.hu-arena .du-quick{color:var(--play-ink);padding:24px;min-height:100%;overflow:hidden}
.hu-arena .du-quick::after{display:none}
.hu-arena .du-quick-head{gap:12px}
.hu-arena .du-icon-tile{background:transparent!important;border:1px solid var(--play-line);color:var(--play-muted)!important;border-radius:9px}
.hu-arena .du-quick-head h2{font-size:23px;letter-spacing:-.7px}
.hu-arena .du-quick-head p{font-size:11px;color:var(--play-muted);margin:5px 0 0}
.hu-arena .du-quick-badge{color:var(--play-accent);border:1px solid var(--play-line);padding:7px 10px;border-radius:50%;aspect-ratio:1;display:grid;place-items:center;font-size:10px}
.hu-arena .arena-match-scene{max-width:390px;margin:-3px auto -2px;pointer-events:none}
.hu-arena .arena-match-scene img{width:100%;height:auto;display:block}
.hu-arena .arena-buyin-label{display:flex;align-items:center;justify-content:space-between;margin:2px 0 8px;font-size:11px;font-weight:600}
.hu-arena .arena-buyin-label span{font-size:9px;font-weight:400;color:var(--play-muted)}
.hu-arena .du-match-action{grid-template-columns:88px minmax(0,1fr);gap:8px}
.hu-arena .du-match-action select{background:var(--play-inset);border:1px solid var(--play-line);color:var(--play-ink);font-variant-numeric:tabular-nums;border-radius:6px;padding:12px 8px}
.hu-arena #hu-match-start,.hu-arena .du-blue-button{background:var(--play-accent);border:1px solid var(--play-accent);color:#24271f;box-shadow:none;border-radius:6px;min-height:43px;font-weight:700;font-size:12px;padding:10px}
.hu-arena .du-match-secondary button{background:var(--play-inset);color:var(--play-ink);border:1px solid var(--play-line);border-radius:5px}
.hu-arena .du-quick #hu-match-status{color:var(--play-muted);font-size:10px;text-align:left;min-height:18px;margin:9px 0 16px}
.hu-arena .du-quick-specs{border-color:var(--play-line);padding-top:14px;gap:9px}
.hu-arena .du-quick-specs span{color:var(--play-muted);font-size:9px;text-align:left}
.hu-arena .du-quick-specs b{color:var(--play-ink);font-size:11px;margin-top:5px;font-weight:500}
.hu-arena .du-quick #hu-waiting-list .hu-opponent{border-color:var(--play-line);color:var(--play-ink)}
.hu-arena .du-target{padding:18px;min-height:0}
.hu-arena .du-target-heading h2{font-size:15px;letter-spacing:-.3px}
.hu-arena .du-target-heading p{font-size:10px}
.hu-arena #hu-opponent-search{margin:16px 0 10px;border-radius:6px;background:var(--play-inset);border-color:var(--play-line)}
.hu-arena .du-target-empty{min-height:115px;padding:15px 0}
.hu-arena .du-people-art{display:none}
.hu-arena .du-target-empty strong{font-size:11px;color:var(--play-ink);font-weight:500}
.hu-arena .du-target-empty p{font-size:10px;max-width:190px;margin:6px auto 0;line-height:1.7}
.hu-arena .du-inbox-button{margin-top:13px;border-color:var(--play-line);border-radius:6px;background:transparent;color:var(--play-ink)}
.hu-arena .du-section-head{padding:17px 18px}
.hu-arena .du-section-head h2{font-size:14px;font-weight:600;letter-spacing:-.3px}
.hu-arena .du-live-counts{gap:10px;font-size:9px}
.hu-arena .du-live-counts b{font-size:11px;color:var(--play-ink)}
.hu-arena .du-live-dot{background:#83a98a;box-shadow:none;width:6px;height:6px}
.hu-arena .du-live-games{padding:0 18px 16px}
.hu-arena .du-empty-inline{border:1px dashed var(--play-line);border-radius:6px;min-height:80px;background:var(--play-inset);font-size:11px;color:var(--play-muted)}
.hu-arena .du-stat-grid{gap:0;padding:0 8px 18px}
.hu-arena .du-stat{border:0;border-right:1px solid var(--play-line);border-radius:0;flex-direction:column;gap:8px;padding:0 8px}
.hu-arena .du-stat:last-child{border-right:0}
.hu-arena .du-stat .du-icon-tile{display:none}
.hu-arena .du-stat>div{display:flex;flex-direction:column-reverse;text-align:center;gap:7px}
.hu-arena .du-stat strong{font-size:24px;letter-spacing:-.8px}
.hu-arena .du-stat small{font-size:10px;color:var(--play-muted);margin:0}
.hu-arena .du-profile{padding:18px;background:var(--play-inset);box-shadow:none}
.hu-arena .du-profile-top strong{font-size:13px}
.hu-arena .du-guest-avatar,.hu-arena .du-profile-top .hu-rank-avatar{background:var(--play-surface);border:1px solid var(--play-line);color:var(--play-accent);width:39px;height:39px;flex-basis:39px}
.hu-arena .du-profile-balance{padding:17px 0 14px}
.hu-arena .du-profile-balance>strong{font-size:27px;letter-spacing:-1px}
.hu-arena .du-profile-foot{font-size:9px}
.hu-arena .du-profile-foot b{font-size:13px}
.hu-arena .du-ranking .du-section-head .du-icon{color:var(--play-accent)}
.hu-arena .du-rank-tabs{margin:0 16px 6px;padding:0;border-bottom:1px solid var(--play-line);border-radius:0;background:transparent}
.hu-arena .du-rank-tabs button{border:0;border-radius:0;color:var(--play-muted);padding:9px}
.hu-arena .du-rank-tabs button[aria-selected=true]{box-shadow:inset 0 -2px var(--play-accent);background:transparent;color:var(--play-ink)}
.hu-arena .du-rank-list{padding:0 16px}
.hu-arena .du-rank-list li{padding:13px 0}
.hu-arena .du-rank-no.du-place-1{font-size:16px;color:var(--play-accent)}
.hu-arena .du-rank-list .hu-rank-avatar{background:var(--play-inset);color:var(--play-muted);border:1px solid var(--play-line)}
.hu-arena .du-rank-list li.du-rank-empty{padding:32px 0;min-height:100px}
.hu-arena .du-games-table{font-size:11px}
.hu-arena .du-games-table th{font-weight:400;color:var(--play-muted);font-size:10px;background:transparent;padding-bottom:12px}
.hu-arena .du-result-pill{background:transparent;color:var(--play-ink);border:1px solid var(--play-line);padding:4px 7px}
.hu-arena .du-empty-state{min-height:150px;border-top:1px solid var(--play-line);margin:0 18px;gap:8px;color:var(--play-muted)}
.hu-arena .du-empty-state>.du-icon{width:29px;height:29px;color:var(--play-muted);opacity:.6}
.hu-arena .du-empty-state strong{font-size:12px;font-weight:500;color:var(--play-ink)}
.hu-arena .du-empty-state span{font-size:10px}
.hu-arena .du-rules{border:1px solid var(--play-line);border-radius:8px;padding:13px 16px;margin-top:16px;color:var(--play-muted);background:var(--play-inset)}
.hu-arena .du-rules summary{font-size:11px}
.hu-arena .du-rules p{font-size:11px;line-height:1.9}
/* Keep the actual game focused on the table and current action. */










@container shortstack (max-width:650px){.pf-refined:not(.pf-compact) .pf-workspace{grid-template-columns:1fr}.pf-refined:not(.pf-compact) .pf-settings{grid-template-columns:1fr 1fr;gap:16px;border-right:0;border-bottom:1px solid var(--play-line);padding:16px 18px}.pf-refined:not(.pf-compact) .pf-setting-block:nth-child(3){grid-column:1/-1}.pf-refined:not(.pf-compact) #pf-positions{grid-template-columns:repeat(4,minmax(0,1fr))}.pf-refined:not(.pf-compact) .pf-table-context{grid-column:1/-1;padding:9px 0 0}.pf-refined:not(.pf-compact) .pf-table-context br{display:none}.pf-refined .pf-range-area{padding:16px}.pf-refined .pf-heading{padding:17px}.pf-refined .pf-hand,body[data-section="solver"] .content .pf-refined .pf-hand{font-size:clamp(8px,1.3vw,11px)!important}}
@container headsuppage (max-width:820px){.hu-arena .du-hu-layout{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"match match" "invite profile" "live live" "record record" "history ranking"}.hu-arena .arena-match-scene{max-width:350px;margin:-15px auto -14px}.hu-arena .du-quick{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.85fr);column-gap:24px;align-items:center}.hu-arena .du-quick-head{grid-column:1/-1}.hu-arena .arena-match-scene{grid-column:2;grid-row:2/7;width:100%;margin:0}.hu-arena .arena-buyin-label{margin-top:20px}.hu-arena .du-quick-specs{grid-column:1/-1;margin-top:10px}.hu-arena #hu-waiting-list{grid-column:1/-1}}
@container headsuppage (max-width:550px){.hu-arena .du-hu-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"match" "invite" "live" "record" "profile" "ranking" "history";gap:12px}.hu-arena .du-quick{display:block;padding:20px}.hu-arena .du-quick-head h2{font-size:22px}.hu-arena .arena-match-scene{max-width:300px;margin:-5px auto -10px}.hu-arena .arena-buyin-label{margin-top:0}.hu-arena .du-live-counts{gap:8px}.hu-arena .du-section-head{padding:15px}.hu-arena .du-stat strong{font-size:21px}.hu-arena .du-target-empty{min-height:75px}.hu-arena .du-target{padding:17px}}
@media(max-width:1200px){.pf-refined .pf-heading h2{font-size:17px!important}.pf-refined .pf-heading{gap:7px}.pf-refined .pf-reference-tag{font-size:8px!important}.pf-refined .pf-range-area{padding:12px}.pf-refined .pf-chart-matrix{grid-template-columns:11px minmax(0,1fr);gap:3px}.pf-refined .pf-grid,.pf-refined .pf-rank-axis{gap:2px}.pf-refined .pf-hand,body[data-section="solver"] .content .pf-refined .pf-hand{font-size:8px!important}.pf-refined .pf-summary b{font-size:21px}.pf-refined .pf-hand-inspector{gap:12px;padding:12px}.pf-refined .pf-card-example{width:33px;height:47px}.hu-arena .du-quick-head{gap:10px}}
@media(prefers-reduced-motion:reduce){.pf-refined .pf-hand,.pf-refined .pf-options button{transition:none}}

.sidebar-solver .pf-refined{border:0;border-top:1px solid var(--play-line);border-radius:0 0 10px 10px;box-shadow:none}

.light .hu-arena #hu-match-start,.light .hu-arena .du-blue-button{background:#293e33;border-color:#293e33;color:#fffef7}

/* Compact table seat picker and natural-width condition buttons. */
.pf-refined .pf-workspace{grid-template-columns:226px minmax(0,1fr)}
.pf-refined .pf-settings{padding:18px 12px;gap:18px}
.pf-refined #pf-players{display:flex;flex-wrap:wrap;gap:4px;width:auto;padding:0;border:0;background:transparent}
.pf-refined #pf-players button{flex:0 0 31px;width:31px;height:30px;min-width:0;padding:0;font-size:12px!important}
.pf-refined #pf-stacks{display:flex;flex-wrap:wrap;gap:5px}
.pf-refined #pf-stacks button{flex:0 0 auto;flex-direction:row;gap:3px;padding:7px 10px}
.pf-refined #pf-stacks b{font-size:13px}
.pf-refined #pf-stacks span{font-size:10px!important}
.pf-refined #pf-positions.pf-position-table{display:block;position:relative;isolation:isolate;width:100%;max-width:260px;height:210px;margin:0 auto;padding:0}
.pf-refined #pf-positions .pf-table-art{position:absolute;display:block;left:10%;top:17%;width:80%;height:66%;object-fit:fill;pointer-events:none;z-index:0}
.pf-refined #pf-positions .pf-seat-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;pointer-events:none;color:var(--play-ink);z-index:1}
.pf-refined .pf-seat-center strong{font-size:17px;letter-spacing:1px}
.pf-refined .pf-seat-center small{font-size:9px;color:var(--play-muted)}
.pf-refined #pf-positions button.pf-table-seat{position:absolute;left:var(--seat-x);top:var(--seat-y);transform:translate(-50%,-50%);width:37px;height:32px;padding:0;min-width:0;background:var(--play-surface);font-size:10px!important;z-index:2}
.pf-refined #pf-positions button.selected{border-color:var(--play-accent);color:var(--play-ink)}
.pf-refined #pf-positions button:disabled{opacity:.4;cursor:default;box-shadow:none}
.pf-refined .pf-dealer{position:absolute;right:-6px;bottom:-6px;width:14px;height:14px;display:grid;place-items:center;border-radius:50%;background:#e9e4d6;color:#354036;font-size:8px;font-style:normal;border:1px solid #9e9d8d}
.pf-refined .pf-setting-block{min-width:0}
.pf-refined.pf-compact .pf-settings{grid-template-columns:minmax(0,1fr);align-items:start}
@container shortstack (max-width:650px){.pf-refined:not(.pf-compact) .pf-settings{grid-template-columns:minmax(0,1fr);align-items:start}.pf-refined:not(.pf-compact) .pf-setting-block{grid-column:1/-1}.pf-refined:not(.pf-compact) #pf-players{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));width:100%;gap:4px}.pf-refined:not(.pf-compact) #pf-players button{width:100%;height:34px}.pf-refined:not(.pf-compact) #pf-stacks{display:grid;grid-template-columns:repeat(auto-fit,minmax(60px,1fr));width:100%;gap:5px}.pf-refined:not(.pf-compact) #pf-stacks button{min-width:0;width:100%;justify-content:center;padding:8px 3px}}
@container shortstack (max-width:310px){.pf-refined.pf-compact .pf-settings{grid-template-columns:1fr}.pf-refined .pf-control-label{margin-bottom:6px}}

/* Compact identity card: balance and account actions share one row. */
#sidebar-account .account-nav{position:static;height:28px;margin:0 0 8px;display:flex;align-items:center;justify-content:flex-end;gap:5px}
#sidebar-account .account-balance{margin-right:3px;font-weight:700;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
#sidebar-account .account-balance small{font-size:9px;color:var(--muted)}
#sidebar-account .account-name-edit{display:inline-block;padding:0;text-align:left;border-radius:3px;max-width:100%;color:inherit;background:transparent}
#sidebar-account .account-name-edit:hover{text-decoration:underline;text-underline-offset:3px}
#sidebar-account .account-user{padding-right:0}
#sidebar-account .account-stats{margin-bottom:0;padding-bottom:0;border-bottom:0}
#sidebar-account .account-profile-icon{flex-shrink:0}
.header-settings #header-logout{display:block;width:100%;text-align:left;padding:10px 12px;font-size:12px}
.header-settings #header-logout[hidden]{display:none}
@media(min-width:1201px){main>.left-column>.chat{height:clamp(480px,calc(100dvh - 180px),680px)!important;max-height:680px;min-height:0!important}}

/* Muted live preview below the bankroll shortcut, outside home/live. */
.sidebar-live-video{padding:0;overflow:hidden}
.sidebar-live-link{display:block;position:relative}
.sidebar-live-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:12px}
.sidebar-live-heading strong{font-size:12px}.sidebar-live-heading span{font-size:9px;color:var(--muted)}
.sidebar-live-frame{position:relative;aspect-ratio:16/9;background:#131516;pointer-events:none}
.sidebar-live-frame iframe{display:block;width:100%;height:100%;border:0;pointer-events:none}
.sidebar-live-link::after{content:'';position:absolute;inset:0;z-index:1}
.sidebar-live-link:focus-visible{outline:2px solid var(--brand-gold,#c7a873);outline-offset:-3px}
.sidebar-live-caption{padding:10px 12px 12px;display:grid;gap:5px;min-width:0}
.sidebar-live-caption strong{font-size:11px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sidebar-live-caption small{font-size:10px;color:var(--muted)}
.sidebar-live-empty{padding:14px;font-size:11px;color:var(--muted)}

/* Sidebar chart keeps only compact controls and the seat table when folded. */
.pf-refined.pf-compact .pf-settings .pf-control-label,
.pf-refined.pf-compact .pf-table-context,
.pf-refined.pf-compact #pf-summary,
.pf-refined.pf-compact .pf-reference-tag{display:none}
.pf-refined.pf-compact .pf-heading{padding:2px 8px;border:0;min-height:0}
.pf-refined.pf-compact #pf-expand{min-width:24px;min-height:24px;padding:2px;font-size:13px}
.pf-refined.pf-compact .pf-settings{padding:4px 10px 8px;gap:7px 10px}
.pf-refined.pf-compact #pf-players{gap:3px}
.pf-refined.pf-compact #pf-players button{flex-basis:24px;width:24px;height:25px;font-size:11px!important}
.pf-refined.pf-compact #pf-stacks{gap:3px}
.pf-refined.pf-compact #pf-stacks button{padding:5px 6px;gap:2px}
.pf-refined.pf-compact #pf-stacks b{font-size:11px}
.pf-refined.pf-compact #pf-stacks span{font-size:8px!important}
.pf-refined.pf-compact #pf-positions.pf-position-table{height:174px;max-width:238px}
.pf-refined.pf-compact:not(.pf-expanded) .pf-range-area{display:none}
.pf-refined.pf-compact.pf-expanded .pf-range-area{padding-top:8px}

/* A consistent compact shortcut mark across sidebar cards. */
.right-sidebar .sidebar-shortcut{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;padding:0;font-size:17px!important;line-height:1;color:var(--muted);border:0;background:transparent}
.right-sidebar a.sidebar-shortcut:hover{color:var(--text)}
.right-sidebar .sidebar-live-heading .sidebar-shortcut{font-size:17px!important}
.right-sidebar .sidebar-bankroll{padding:10px 14px;min-height:0;gap:8px}
.right-sidebar .sidebar-bankroll h2{font-size:12px;margin:0;line-height:1.4}

/* Every sidebar menu uses the same gold spade, heading rhythm and shortcut. */
.right-sidebar .panel-heading,.right-sidebar .sidebar-live-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;min-width:0}
.right-sidebar .panel-heading h2,.right-sidebar .sidebar-bankroll h2,.right-sidebar .sidebar-live-heading>strong{display:flex;align-items:center;gap:8px;min-width:0;margin:0;font-size:12px;font-weight:600;line-height:1.5}
.right-sidebar .panel-heading h2::before,.right-sidebar .sidebar-bankroll h2::before,.right-sidebar .sidebar-live-heading>strong::before{content:'';display:inline-block;flex:0 0 13px;width:13px;height:14px;background:#c7a873;opacity:1;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C9 7 3 10 3 15a5 5 0 0 0 8 4l-2 4h6l-2-4a5 5 0 0 0 8-4c0-5-6-8-9-13z'/%3E%3C/svg%3E") center/contain no-repeat}
.right-sidebar .panel-heading h2>a{color:inherit}
.right-sidebar .panel-heading>.sidebar-shortcut{display:inline-flex!important;visibility:visible;opacity:1;margin-left:auto;flex-shrink:0}
.right-sidebar .sidebar-bankroll{padding:8px 14px}
.right-sidebar .sidebar-live-empty{padding:0}.right-sidebar .sidebar-live-empty p{margin:0;padding:0 14px 12px;font-size:11px}

/* Home board headers follow the sidebar menu motif; attachments follow titles. */
.home-board-summary .home-section-head h2{display:flex;align-items:center;gap:8px}
.home-board-summary .home-section-head h2::before{content:'';flex:0 0 13px;width:13px;height:14px;background:#c7a873;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C9 7 3 10 3 15a5 5 0 0 0 8 4l-2 4h6l-2-4a5 5 0 0 0 8-4c0-5-6-8-9-13z'/%3E%3C/svg%3E") center/contain no-repeat}
.home-menu-shortcut{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;font-size:17px!important;color:var(--muted)}
.post-type-attachment{flex-shrink:0;color:var(--muted);width:14px;height:14px;display:inline-flex;align-items:center;justify-content:center;background:transparent!important}
.post-type-attachment svg{width:14px;height:14px}

.test-preview-notice{display:block;text-align:center;padding:5px 12px;background:var(--soft);border-bottom:1px solid var(--line);font-size:10px;line-height:1.4;color:var(--muted)}

/* Tighter sidebar heading rhythm. */
.right-sidebar .panel-heading{padding:6px 12px;margin:0;min-height:36px}
.right-sidebar .popular-panel>ul{margin-top:0;margin-bottom:10px}

/* Mobile tabs own their content: desktop sidebar widgets never fall below it. */
@media(max-width:1200px){
 main>.right-sidebar{display:none!important}
 body[data-mobile-view="chat"] main>.content,
 body[data-mobile-view="chat"] main>.mobile-more,
 body[data-mobile-view="chat"] main>.left-column>.ad-wing,
 body[data-mobile-view="chat"] .site-footer{display:none!important}
 body[data-mobile-view="chat"] main>.left-column{display:block!important}
 body[data-mobile-view="chat"] main>.left-column>.chat{display:flex!important}
}

/* Locally compressed post videos. */
.post-video{margin:0 0 18px}.post-video video{display:block;max-width:100%;width:100%;max-height:75dvh;background:#111;border-radius:5px}.post-video figcaption{font-size:10px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}
#post-video-editor{margin-top:14px}#post-video-editor>.muted{font-size:11px;line-height:1.7}#post-video-preview video,.existing-post-video video{max-width:100%;max-height:240px;background:#111;display:block}.existing-post-video{display:grid;gap:6px;font-size:11px}#post-video-error{font-size:12px;color:var(--muted)}

/* Final review: BIT gold on charcoal; compact mobile community rows. */
:root{--bit-gold:#efc16c;--blue:var(--bit-gold);--green:var(--bit-gold)}
body.light{--bit-gold:#95620c}
body>header .header-actions>button,body>header .header-settings>summary,#notification-toggle,.account-actions a,.account-actions button,.account-mypage,.account-icon{color:var(--bit-gold)}
body>header .header-actions svg,.account-user svg,.account-tools svg,.account-top-actions svg{color:var(--bit-gold)}
#sidebar-account .account-nav svg,#sidebar-account .account-nav .account-balance{color:var(--text)}
.forum-search{border:0;border-radius:0;padding:5px}
.forum-search input{border-color:color-mix(in srgb,var(--bit-gold) 38%,var(--line))}
body .forum-search select{border-color:var(--line)}
.forum-search button,.forum-tabs a[aria-current],.chat-tabs button.selected,.mobile-tabs button.active,header nav a.active{color:var(--bit-gold)}
button.primary,a.primary,.button.primary{border-color:color-mix(in srgb,var(--bit-gold) 65%,var(--line))}
button.primary:hover,a.primary:hover{border-color:var(--bit-gold);color:var(--bit-gold)}
.member-level{border-color:var(--bit-gold);color:var(--bit-gold)}
.avatar-picker-root{border-color:color-mix(in srgb,var(--bit-gold) 55%,var(--line))}
body .message .member-nickname{font-weight:700}
@media(max-width:1200px){
 body .board-table-row{display:grid;grid-template-columns:minmax(0,1fr) 70px 42px;grid-template-rows:auto;gap:5px;min-height:40px;padding:9px 2px}
 body .board-table-row>.board-category-cell,body .board-table-row>.board-post-number,body .board-table-row>span:nth-last-child(2),body .board-table-row>.board-votes{display:none}
 body .board-table-row>.board-table-subject{grid-column:1;grid-row:1;font-size:12px;text-align:left}
 body .board-table-row>.author-menu{grid-column:2;grid-row:1;min-width:0;text-align:left}
 body .board-table-row>.author-menu summary{display:flex;align-items:center;gap:3px;overflow:hidden;font-size:10px}
 body .board-table-row>.author-menu .member-nickname{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body .board-table-row>.author-menu img{display:none}
 body .board-table-row>time{grid-column:3;grid-row:1;font-size:10px;white-space:nowrap}
 .forum-search{max-width:100%;box-sizing:border-box;min-width:0;gap:4px}.forum-search input{min-width:0}
}

.light [data-shop-color="#efc16c"]{--shop-color:#8a5b0b}.light [data-shop-color="#74c7ef"]{--shop-color:#17618a}.light [data-shop-color="#ba91f2"]{--shop-color:#7041a5}.light [data-shop-color="#5ed4bb"]{--shop-color:#126b58}.light [data-shop-color="#f0a66c"]{--shop-color:#95501c}

/* Keep chat anchored across mobile keyboards, delayed images and pane changes. */
#messages,#pm-log,.hu-chat-messages{scroll-behavior:auto;overflow-anchor:none}
html{background:#121212;color-scheme:dark}html.light{background:#f4f5f7;color-scheme:light}
body #incoming-alert{position:fixed;inset:0;margin:max(14px,env(safe-area-inset-top)) auto auto;width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 32px);z-index:10000;border-color:var(--bit-gold);box-shadow:0 16px 60px #0008}
body #incoming-alert::backdrop{background:#0009}
.hu-running-out .poker-community{perspective:700px}
.hu-card-concealed{color:transparent!important;background:repeating-linear-gradient(45deg,#4d3920,#4d3920 4px,#6b512b 4px,#6b512b 8px)!important;border-color:#efc16c!important;box-shadow:inset 0 0 0 3px #241c12!important}
.hu-card-concealed>*{visibility:hidden!important}.hu-card-concealed::before,.hu-card-concealed::after{visibility:hidden!important}
.hu-card-reveal{animation:hu-suspense-reveal .7s ease-out both}
.hu-pot-chips{position:relative;z-index:4;pointer-events:none}
@keyframes hu-suspense-reveal{0%{transform:rotateY(90deg) scale(.94);filter:brightness(.65)}70%{transform:rotateY(-8deg) scale(1.06)}100%{transform:rotateY(0) scale(1);filter:brightness(1)}}
@media(prefers-reduced-motion:reduce){.hu-card-reveal{animation:none}}

.hu-running-out .hu-seat-info>b,.hu-running-out .hu-status small{visibility:hidden}

/* Previous calendar-day closing snapshot, shared by all market summaries. */
.market-daily-change{font-size:11px!important;font-weight:600;line-height:1.5;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--muted)}
.market-daily-change.is-up,body .market #change.is-up{color:#f08f91}.market-daily-change.is-down,body .market #change.is-down{color:#82b8ff}.market-daily-change.is-flat,body .market #change.is-flat{color:var(--text)}
body.light .market-daily-change.is-up,body.light .market #change.is-up{color:#b53140}body.light .market-daily-change.is-down,body.light .market #change.is-down{color:#205fa8}
.market-overview .platform-summary{flex-wrap:wrap}.market-overview .platform-summary>.market-daily-change{flex-basis:100%;text-align:right;font-size:10px!important}
.market #change{flex-basis:auto;background:transparent;padding:0}#market-asof{flex-basis:100%;font-size:10px;color:var(--muted);line-height:1.5}
.mini-market-price{flex-wrap:wrap}.mini-market-price>[data-mini-change]{flex-basis:100%;margin-top:3px}
.market-summary-row>.market-daily-change{text-align:right}
@media(max-width:1200px){.market-overview .platform-summary{gap:4px}.market-summary-row>.market-daily-change{font-size:10px!important}.market #change{font-size:11px!important}}

.market-summary-row{grid-template-columns:minmax(0,1fr) 85px max-content}.market-summary-row>.market-sparkline{display:none}.market-overview .platform-summary>.market-daily-change{display:block}
@media(max-width:1200px){.market-summary-row{grid-template-columns:minmax(0,1fr) 65px max-content;gap:6px}}

/* Public chat names match message text on desktop and mobile. */
body .message .chat-name,body .message .chat-name .member-nickname,body .message .message-text{font-size:13px;line-height:1.45}

/* Post text and original-author comments, shared by desktop and mobile. */
.post-detail .post-body-text{font-size:14px}
.thread-comment:not(.is-deleted) .comment-content p{color:var(--text)}
.thread-comment.is-post-author:not(.is-deleted) .comment-content p{color:var(--bit-gold)}

/* Compact wrapped lines; retain a small gap between separate messages. */
body #messages .message{line-height:1.45;padding:2px 0;margin:0}

/* Slightly tighter board rows, including the list below each post. */
@media(min-width:1201px){body .board-table-row{padding-block:6px}}
@media(max-width:1200px){body .board-table-row{padding-block:7px;min-height:36px}}

/* Bankroll uses the site's charcoal/gold palette without changing the dashboard layout. */
body #poker-tracker.tracker-designed{--du-surface:var(--panel);--du-soft:var(--soft);--du-border:var(--line);--du-ink:var(--text);--du-muted:var(--muted);--du-blue:var(--bit-gold,#c7a873);--tracker-blue:var(--bit-gold,#c7a873);--du-shadow:none}
#poker-tracker.tracker-designed #tracker-new,#poker-tracker.tracker-designed .tracker-periods button.selected{background:var(--du-blue);color:#241e13;box-shadow:none}
#poker-tracker.tracker-designed .tracker-summary .tracker-kpi-main{background:color-mix(in srgb,var(--du-blue) 10%,var(--du-surface));border-color:color-mix(in srgb,var(--du-blue) 48%,var(--du-border))}
#poker-tracker.tracker-designed .du-kpi-icon{background:color-mix(in srgb,var(--du-blue) 10%,transparent);color:var(--du-blue)}
#poker-tracker.tracker-designed .tracker-kpi-main>span:not(.du-kpi-icon){color:var(--du-ink)}
#poker-tracker.tracker-designed .tracker-kpi-main>small{color:var(--du-muted)}
#poker-tracker.tracker-designed .tracker-kpi-main>strong{color:var(--du-blue)}
#poker-tracker.tracker-designed .tracker-kpi-main>strong.positive{color:var(--du-positive)}
#poker-tracker.tracker-designed .tracker-kpi-main>strong.negative{color:var(--du-negative)}
#poker-tracker.tracker-designed .tracker-line{stroke:var(--du-blue)}
#poker-tracker.tracker-designed .tracker-line.negative{stroke:var(--du-negative)}
#poker-tracker.tracker-designed .tracker-dot{fill:var(--du-blue)}
#poker-tracker.tracker-designed .tracker-area{fill:color-mix(in srgb,var(--du-blue) 9%,transparent)}
#poker-tracker.tracker-designed .du-chart-key::before{background:var(--du-blue)}
#poker-tracker.tracker-designed .tracker-donut{background:conic-gradient(var(--du-blue) 0 var(--win),var(--du-soft) var(--win) 100%)}
#poker-tracker.tracker-designed .tracker-outcome-legend i{background:var(--du-blue)}
#poker-tracker.tracker-designed .tracker-outcome-legend i.non-win{background:var(--du-muted)}

/* Sidebar push/fold controls: uniform outline emphasis. */
body .right-sidebar .pf-refined .pf-options button.selected,
body .right-sidebar .pf-refined #pf-positions button.selected{background:var(--play-surface);border:1px solid var(--play-accent);box-shadow:none;color:var(--play-ink)}
body .right-sidebar .pf-refined .pf-options button.selected b,
body .right-sidebar .pf-refined .pf-options button.selected span{color:inherit}

/* A little more room for desktop chat above the restored single ad. */
@media(min-width:1201px){body .left-column .chat{height:760px}body[data-page-kind="index.php"] .left-column .chat{height:calc(var(--desktop-chat-height,700px) + 60px)}}

/* Compact heads-up rows: real profile images and inline match outcomes. */
.hu-arena .du-hu-layout{grid-template-areas:"match invite" "live ranking" "record ranking" "history ranking"}
.hu-arena .du-live-games{grid-template-columns:minmax(0,1fr);gap:0;max-height:400px;overflow:auto;padding:0 14px 12px}
.hu-arena .du-live-game{display:flex;align-items:center;gap:10px;min-width:0;min-height:46px;padding:8px 0;border:0;border-bottom:1px solid var(--play-line);border-radius:0;background:transparent}
.hu-arena .du-live-game:last-child{border-bottom:0}
.hu-arena .du-duel{display:grid;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr);flex:1;min-width:0;gap:6px}
.hu-arena .du-duel>small{text-align:center}
.hu-arena .du-live-player{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden}
.hu-arena .du-live-avatar{width:24px;height:24px;flex:0 0 24px;object-fit:cover;border-radius:50%;background:var(--play-inset)}
.hu-arena .du-live-level{flex:0 0 auto;font-size:9px;line-height:14px;min-width:14px;height:14px;padding:0 2px;text-align:center}
.hu-arena .du-live-player>strong{min-width:0;font-size:11px;font-weight:500}
.hu-arena .du-live-game-foot{flex:0 0 auto;gap:8px;margin:0;white-space:nowrap;font-size:9px}
.hu-arena .du-live-game-foot>span{display:block}
.hu-arena .du-live-game-foot button{padding:5px 7px;font-size:10px;border-radius:4px}
.hu-arena .du-result-duel{display:flex;align-items:center;gap:7px}
.hu-arena .du-result-player{display:inline-flex;align-items:center;gap:4px}
.hu-arena .du-result-mark{font-size:10px;font-weight:600;color:var(--play-accent)}
.hu-arena .du-result-mark.is-left{color:var(--red,#df8585)}
.hu-arena .du-result-duel>small{padding:0!important}
@container headsuppage (max-width:820px){.hu-arena .du-hu-layout{grid-template-areas:"match match" "invite invite" "live live" "record record" "history ranking"}}
@container headsuppage (max-width:550px){.hu-arena .du-hu-layout{grid-template-areas:"match" "invite" "live" "record" "ranking" "history"}.hu-arena .du-live-games{padding:0 10px 10px}.hu-arena .du-live-game{gap:6px;min-height:44px}.hu-arena .du-duel{gap:3px;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr)}.hu-arena .du-live-player{gap:3px}.hu-arena .du-live-avatar{width:20px;height:20px;flex-basis:20px}.hu-arena .du-live-player>strong{font-size:10px}.hu-arena .du-live-game-foot{gap:5px;font-size:8px}.hu-arena .du-live-game-foot button{font-size:9px;padding:5px}.hu-arena .du-duel>small{font-size:8px}}

/* Each column owns its panel stack; shared grid rows must not create blank gaps. */
.hu-arena .du-hu-layout{--hu-panel-gap:16px;display:grid;grid-template-columns:minmax(0,1fr) 242px;grid-template-areas:none;align-items:start;gap:var(--hu-panel-gap)}
.hu-arena .du-hu-main,.hu-arena .du-hu-aside{display:flex;flex-direction:column;align-items:stretch;align-self:start;min-width:0;gap:var(--hu-panel-gap)}
.hu-arena .du-hu-main>*,.hu-arena .du-hu-aside>*{grid-area:auto;margin:0}
.hu-arena .du-match-grid{order:1}.hu-arena .du-target{order:2}.hu-arena .du-live-section{order:3}.hu-arena .du-record-section{order:4}.hu-arena .du-ranking{order:5}.hu-arena .du-history-section{order:6}
.hu-arena>.du-badges{padding:0;margin:16px 0 0}
.hu-arena>.du-rules{margin:16px 0 0!important}
@container headsuppage (max-width:820px){.hu-arena .du-hu-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:none}.hu-arena .du-hu-main,.hu-arena .du-hu-aside{display:contents}}
@container headsuppage (max-width:550px){.hu-arena .du-hu-layout{--hu-panel-gap:12px}.hu-arena>.du-badges{margin-top:12px}.hu-arena>.du-rules{margin-top:12px!important}}

/* One shared panel for matchmaking, direct invitations and live tables. */
.hu-arena .du-play-panel{order:1;min-width:0;overflow:hidden}
.hu-arena .du-play-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,.7fr);align-items:stretch}
.hu-arena .du-play-panel .du-quick,.hu-arena .du-play-panel .du-target,.hu-arena .du-play-panel .du-live-section{grid-area:auto;order:0;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;min-width:0}
.hu-arena .du-play-panel .du-quick{display:block;padding:20px;min-height:0}
.hu-arena .du-play-panel .du-target{padding:20px;border-left:1px solid var(--play-line)}
.hu-arena .du-play-panel .du-live-section{border-top:1px solid var(--play-line)}
.hu-arena .du-play-panel .arena-match-scene{max-width:280px;width:100%;margin:-3px auto -2px}
.hu-arena .du-play-panel .du-target-empty{min-height:120px}
@container headsuppage (max-width:1050px){.hu-arena .du-play-top{grid-template-columns:minmax(0,1fr)}.hu-arena .du-play-panel .du-target{border-left:0;border-top:1px solid var(--play-line)}.hu-arena .du-play-panel .du-target-empty{min-height:65px}}
@container headsuppage (max-width:550px){.hu-arena .du-play-panel .du-quick,.hu-arena .du-play-panel .du-target{padding:16px}.hu-arena .du-play-panel .arena-match-scene{max-width:250px}}

/* No synthetic profile image; give forum author names enough room. */
body .board-table-row>.author-menu summary,body .board-table-row>.author-menu .forum-author-label,body .board-table-row>.author-menu .member-nickname{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;max-width:none}
body .board-table-row>.author-menu .forum-author-label{flex:1;align-items:center}
body .post-author-card-person:not(:has(.post-author-card-photo))+.post-author-card-posts{margin-left:0}
@media(min-width:1201px){body .board-table-head,body .board-table-row{grid-template-columns:32px 58px minmax(0,1fr) 108px 50px 34px 34px;column-gap:4px}}
@media(max-width:1200px){body .board-table-row{grid-template-columns:minmax(0,1fr) 94px 38px}body .board-table-row>.author-menu summary{overflow:visible}}

/* Headsup sections share a compact, keyboard-accessible top navigation. */
.hu-arena .hu-portal-tabs{display:flex;justify-content:flex-start;gap:3px;border-bottom:1px solid var(--play-line);margin:0 0 16px;overflow-x:auto}
.hu-arena .hu-portal-tabs button{flex:0 0 auto;width:auto;min-width:0;white-space:nowrap;padding:8px 11px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--play-muted);font-size:12px}
.hu-arena .hu-portal-tabs button[aria-selected=true]{color:var(--play-accent);border-bottom-color:var(--play-accent)}
.hu-arena .hu-portal-tabs button:focus-visible{outline:2px solid var(--play-accent);outline-offset:-4px}
.hu-arena .hu-page-panel[hidden]{display:none!important}
.hu-arena .hu-page-panel{min-width:0}
.hu-arena .hu-play-stack{display:flex;flex-direction:column;gap:16px}
.hu-arena .hu-page-panel .du-rules{margin:0!important;padding:18px;border:1px solid var(--play-line);border-radius:11px;background:var(--play-surface)}
.hu-arena .hu-page-panel .du-badges{margin:16px 0 0;padding:0}
.hu-arena #hu-page-panel-ranking .du-rank-list strong{max-width:none}
@container headsuppage (max-width:550px){.hu-arena .hu-portal-tabs{margin-bottom:12px}.hu-arena .hu-portal-tabs button{padding:7px 9px;font-size:11px}.hu-arena .hu-play-stack{gap:12px}}

/* Waiting rooms use the same compact gold/charcoal lobby surface. */
.hu-arena .hu-room-section{border-top:1px solid var(--play-line)}
.hu-arena .hu-room-create{position:relative}.hu-arena .hu-room-create summary{cursor:pointer;color:var(--play-accent);font-size:12px}
.hu-arena #hu-room-form{display:flex;flex-wrap:wrap;gap:8px;padding:14px;position:absolute;right:0;top:28px;width:340px;max-width:calc(100vw - 64px);z-index:5;background:var(--play-surface);border:1px solid var(--play-line);border-radius:8px;box-shadow:var(--play-shadow)}
.hu-arena #hu-room-form input{width:100%;min-width:0}.hu-arena #hu-room-form small{flex-basis:100%;color:var(--play-muted);font-size:10px;line-height:1.6}.hu-arena #hu-room-form button{flex:1}
.hu-arena #hu-room-list{padding:0 16px}.hu-arena .hu-room-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid var(--play-line);min-width:0}.hu-arena .hu-room-row>div{flex:1;min-width:0}.hu-arena .hu-room-row strong{display:block;font-size:13px;overflow-wrap:anywhere}.hu-arena .hu-room-row small{display:block;font-size:10px;color:var(--play-muted);margin-top:5px}.hu-arena .hu-room-row button{font-size:11px;flex-shrink:0}.hu-arena .hu-room-row.is-requested{background:color-mix(in srgb,var(--play-accent) 8%,transparent)}
.hu-arena #hu-my-room{margin:0 16px 12px;padding:12px;border:1px solid var(--play-accent);border-radius:6px}.hu-arena #hu-my-room[hidden]{display:none}.hu-arena #hu-my-room strong,.hu-arena #hu-my-room>span{display:block;overflow-wrap:anywhere}.hu-arena #hu-my-room>span{font-size:11px;color:var(--play-muted);margin:6px 0}.hu-arena #hu-my-room>div{display:flex;gap:8px}.hu-arena #hu-room-status{margin:0;padding:0 16px 12px;font-size:11px;color:var(--play-muted);overflow-wrap:anywhere}
.message-text .hu-room-chat-link{color:var(--bit-gold);text-decoration:underline}
@container headsuppage (max-width:550px){.hu-arena .hu-room-row{gap:6px}.hu-arena .hu-room-row small{line-height:1.6}.hu-arena .hu-room-row button{font-size:10px;padding:7px}}

.hu-arena .hu-room-section>.du-section-head{flex-wrap:wrap}
.hu-arena .hu-room-create{margin-left:auto}.hu-arena .hu-room-create[open]{flex-basis:100%;margin-left:0}
.hu-arena #hu-room-form{position:static;width:100%;max-width:none;box-sizing:border-box;margin-top:10px;box-shadow:none}

/* Waiting-room advertisements stand out in both chat themes. */
body .message:has(.hu-room-chat-link){--room-ad-ink:#e6c17e;background:#c7a87314;border-left:0;border-radius:4px;padding:7px 8px;margin-block:3px}
body.light .message:has(.hu-room-chat-link){--room-ad-ink:#805813;background:#c7a87322}
body .message:has(.hu-room-chat-link) .message-text{--shop-color:var(--room-ad-ink)!important;color:var(--room-ad-ink)!important;font-weight:600}
body .message-text .hu-room-chat-link{display:inline-block;color:var(--room-ad-ink,var(--bit-gold));background:#c7a87322;border:1px solid #c7a87360;border-radius:3px;padding:1px 5px;text-decoration:none;font-weight:700}
body .message-text .hu-room-chat-link:hover,body .message-text .hu-room-chat-link:focus-visible{background:#c7a87338;text-decoration:underline}

/* Direct invitations have their own top-level tab. */
.hu-arena .du-play-top{grid-template-columns:minmax(0,1fr)}
.hu-arena #hu-page-panel-target .du-target{margin:0;max-width:none}
.hu-arena #hu-page-panel-target #hu-opponent-search{max-width:540px}

/* Quick Seat inspired arena: tactile chip choices and one clear launch control. */
.hu-arena .du-play-panel .hu-match-arena{position:relative;padding:24px;background:radial-gradient(ellipse at 15% 40%,#b7914215,transparent 55%),var(--play-surface);isolation:isolate}
.hu-quick-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.hu-mode-label{display:block;color:var(--play-accent);font-size:9px;font-weight:600;letter-spacing:2px}
.hu-arena .hu-quick-heading h2{font-size:25px;font-weight:700;letter-spacing:-1px;margin:5px 0 0}
.hu-mode-badge{border:1px solid #c7a87360;border-radius:4px;padding:7px 10px;color:var(--play-accent);font-size:11px;font-weight:700;letter-spacing:1px;background:#c7a8730d}
.hu-quick-body{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:center;margin-top:22px}
.hu-quick-stage{position:relative;min-width:0;text-align:center;padding:22px 0 14px;background:radial-gradient(ellipse,#c7a87310,transparent 70%);border:1px solid #c7a87318;border-radius:100% 100% 12px 12px}
.hu-stage-word{display:block;font-size:clamp(15px,2vw,25px);letter-spacing:5px;font-weight:800;color:var(--play-accent);opacity:.7}
.hu-quick-stage img{display:block;width:100%;height:auto;max-width:400px;margin:-15px auto -3px;filter:drop-shadow(0 14px 16px #0004)}
.hu-stage-caption{display:flex;align-items:center;justify-content:center;gap:12px;font-size:10px;color:var(--play-muted);letter-spacing:1px}.hu-stage-caption>span{color:var(--play-accent);font-size:12px}
.hu-quick-console{min-width:0}
.hu-stake-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:10px}.hu-stake-heading>span{font-size:10px;color:var(--play-muted)}
.hu-stake-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.hu-arena .hu-stake-options button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:98px;padding:10px 3px;border:1px solid var(--play-line);border-radius:8px;background:linear-gradient(160deg,#ffffff05,transparent),var(--play-inset);color:var(--play-muted);transition:border-color .15s,background .15s,transform .15s;box-shadow:inset 0 1px #ffffff08}
.hu-stake-chip{display:grid;place-items:center;width:25px;height:25px;border:2px dashed currentColor;outline:1px solid currentColor;outline-offset:2px;border-radius:50%;font-size:12px;opacity:.65;margin-bottom:3px}
.hu-stake-options strong{font-size:16px;font-weight:750;line-height:1.1;font-variant-numeric:tabular-nums;color:var(--play-ink)}.hu-stake-options small{font-size:9px;letter-spacing:1px}
.hu-arena .hu-stake-options button[aria-pressed=true]{border-color:var(--play-accent);color:var(--play-accent);background:linear-gradient(145deg,#c7a87325,#c7a87308);box-shadow:inset 0 1px #e8c88b40,0 3px 12px #0002}
.hu-stake-options button[aria-pressed=true] .hu-stake-chip{opacity:1}.hu-stake-options button[aria-pressed=true] strong{color:var(--play-accent)}
.hu-arena .hu-stake-options button:hover:not(:disabled){border-color:var(--play-accent);transform:translateY(-2px)}
.hu-arena .hu-stake-options button:focus-visible{outline:2px solid var(--play-accent);outline-offset:3px}
.hu-entry-cost{display:flex;align-items:center;justify-content:space-between;margin:13px 0 11px;font-size:10px;color:var(--play-muted)}.hu-entry-cost strong{color:var(--play-accent);font-size:13px;font-variant-numeric:tabular-nums}
.hu-arena #hu-match-start.hu-match-launch{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:13px;width:100%;min-height:70px;padding:12px 18px;border:1px solid #e9cc92;border-bottom-color:#997643;border-radius:8px;background:linear-gradient(110deg,#d5b77b,#edcf94 52%,#c5a36b);color:#302513;box-shadow:inset 0 1px #fff7,0 4px 0 #73582f,0 8px 18px #0003;transition:filter .15s,transform .15s}
.hu-launch-icon{display:grid;place-items:center;width:35px;height:35px;border:1px solid #6b4e3740;border-radius:50%;flex-shrink:0}.hu-launch-icon svg{width:20px;height:20px}
.hu-launch-copy{text-align:left;flex:1}.hu-launch-copy strong{display:block;font-size:20px;letter-spacing:-.7px;line-height:1.3}.hu-launch-copy small{display:block;font-size:10px;opacity:.75;margin-top:3px;font-weight:500}
.hu-launch-arrow{font-size:26px;font-weight:400}
.hu-arena #hu-match-start.hu-match-launch:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-1px)}
.hu-arena #hu-match-start.hu-match-launch:active:not(:disabled){transform:translateY(3px);box-shadow:inset 0 1px #fff5,0 1px 0 #73582f}
.hu-arena #hu-match-start.hu-match-launch:disabled{opacity:.55;cursor:default}
.hu-arena.is-match-searching #hu-match-start.hu-match-launch{opacity:1;background:linear-gradient(110deg,#a88c5c,#d0b27c);box-shadow:inset 0 1px #fff4,0 3px 0 #73582f}
.hu-arena.is-match-searching .hu-launch-icon{border-style:dashed;animation:hu-search-turn 2s linear infinite}
.hu-arena .hu-match-arena .du-match-secondary{display:flex;gap:8px;margin-top:12px}.hu-arena .hu-match-arena .du-match-secondary button{flex:1;padding:9px;font-size:11px}.hu-arena .hu-match-arena .du-match-secondary button[hidden]{display:none}
.hu-arena .hu-match-arena #hu-match-status{margin:12px 0 0;line-height:1.6;font-size:10px;min-height:0}
.hu-arena .hu-game-specs{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--play-line);padding-top:14px;margin-top:20px}.hu-arena .hu-game-specs span{display:flex;gap:8px;align-items:center;font-size:10px}.hu-arena .hu-game-specs b{margin:0;font-size:10px}
.hu-arena .hu-match-arena #hu-waiting-list:empty{display:none}.hu-arena .hu-match-arena #hu-waiting-list{margin-top:12px}
@keyframes hu-search-turn{to{transform:rotate(360deg)}}
@container headsuppage (max-width:650px){.hu-arena .du-play-panel .hu-match-arena{padding:18px}.hu-quick-body{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:14px}.hu-quick-stage{padding:12px 0 8px;max-height:180px;overflow:hidden;border-radius:10px}.hu-stage-word{font-size:13px;letter-spacing:4px}.hu-quick-stage img{width:250px;margin:-32px auto -24px}.hu-stage-caption{font-size:9px}.hu-arena .hu-stake-options button{min-height:86px}.hu-arena .hu-game-specs{gap:8px;flex-wrap:wrap}.hu-arena .hu-game-specs span{gap:5px;font-size:9px}.hu-arena #hu-match-start.hu-match-launch{min-height:66px}}
@container headsuppage (max-width:380px){.hu-arena .du-play-panel .hu-match-arena{padding:14px}.hu-stake-options{gap:4px}.hu-stake-options strong{font-size:14px}.hu-mode-badge{padding:6px}.hu-arena .hu-quick-heading h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.hu-arena.is-match-searching .hu-launch-icon{animation:none}.hu-arena .hu-stake-options button,.hu-arena #hu-match-start.hu-match-launch{transition:none}}

.hu-arena .hu-history-stack{display:flex;flex-direction:column;align-items:stretch;gap:16px;min-width:0}.hu-arena .hu-history-stack>section{grid-area:auto;order:0;min-width:0;width:100%;box-sizing:border-box;margin:0}.hu-arena .du-my-results .hu-portal-empty{padding:0 16px 16px;margin:0}
@container headsuppage (max-width:550px){.hu-arena .hu-history-stack{gap:12px}}

/* Sidebar chat: readable body contrast with quieter names and compact wrapped lines. */
body #messages .message{font-family:inherit;font-size:12px;line-height:1.55;letter-spacing:0}
body #messages .message .message-text{font-family:inherit;font-size:12px;line-height:inherit;font-weight:400;color:var(--text)}
body #messages .message .chat-name,body #messages .message .chat-name .member-nickname{font-family:inherit;font-size:12px;line-height:inherit;font-weight:600}
body #messages .message:has(.hu-room-chat-link) .message-text{font-weight:600}

/* Public tournament lists */
.tournaments{padding:18px;min-width:0}.tournament-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tournament-filters input[type=search]{flex:1;min-width:140px}.tournament-filters label{display:flex;gap:6px;align-items:center;font-size:12px}.tournament-source{display:flex;gap:8px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--border,#333);font-size:12px}.tournament-source small{width:100%;color:var(--muted,#aaa)}#tournament-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#tournament-list>.data-note{grid-column:1/-1}.tournament-card{padding:14px;border:1px solid var(--border,#333);border-radius:10px;min-width:0;overflow-wrap:anywhere}.tournament-card-head{display:flex;justify-content:space-between;gap:8px;font-size:12px}.tournament-card small{color:var(--muted,#aaa)}.tournament-card small.fresh{color:#6dbb8c}.tournament-card h3{font-size:15px;margin:12px 0}.tournament-times,.tournament-clock{font-size:12px;margin:8px 0}.tournament-clock time{font-variant-numeric:tabular-nums}.tournament-card dl{font-size:12px;margin:12px 0}.tournament-card dl>div{display:flex;justify-content:space-between;gap:8px;margin:8px 0}.tournament-card dt{color:var(--muted,#aaa)}.tournament-card dd{margin:0;text-align:right}.tournament-card p{font-size:12px}@media(max-width:1000px){#tournament-list{grid-template-columns:1fr}}
@media(max-width:1200px){body[data-section="tournaments"][data-mobile-view="tournaments"] .content{display:flex!important}body[data-section="tournaments"][data-mobile-view="tournaments"] .content>.tournaments{display:block!important}body[data-section="tournaments"] .mobile-more{display:none!important}}

/* Central tournament overview directly follows the home video panel. */
.tournaments .tournament-footnote{font-size:11px;color:var(--muted);line-height:1.7;margin:12px 0 0}.tournaments #tournament-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.tournaments .tournament-source{padding:9px;border:1px solid var(--line);border-radius:8px;gap:5px;font-size:11px}.tournaments .tournament-source small{font-size:10px;line-height:1.5}.tournament-badge{display:inline-block;font-size:10px!important;font-weight:400}.tournament-badge.fresh{color:#6dbb8c!important}.tournament-card h3 a{color:inherit}.tournament-observation{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;font-size:11px}.tournament-observation small{display:block}.tournament-back{display:inline-block;font-size:12px;margin-bottom:14px}.tournaments[data-mode="detail"] #tournament-list{display:block}.tournament-detail{padding:22px}.tournament-detail h3{font-size:22px}.tournament-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:4px 24px}.tournament-detail dl>div{border-bottom:1px solid var(--line);padding:8px 0}.tournament-empty{grid-column:1/-1;padding:24px;text-align:center;color:var(--muted)}
body[data-section="home"] .content>.tournament-home{order:2;display:block;width:100%;padding:0;min-width:0}.tournament-home>.panel-heading{padding:0 0 12px}.tournament-home .panel-heading h2{font-size:16px;margin:0}.tournament-home #tournament-list{display:block}.tournament-row{display:grid;grid-template-columns:minmax(150px,2fr) minmax(125px,1.4fr) minmax(65px,.7fr) minmax(85px,1fr) minmax(100px,1.2fr);gap:10px;padding:13px 0;border-bottom:1px solid var(--line);color:var(--text);align-items:center;font-size:12px;min-width:0}.tournament-row:hover{background:var(--panel-hover,rgba(128,128,128,.07))}.tournament-row>div{min-width:0;overflow-wrap:anywhere}.tournament-row small,.tournament-row-name>span{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.tournament-row-name strong{display:block;font-size:12px;line-height:1.5;margin-bottom:4px}.tournament-row-clock{display:block;font-size:10px;color:var(--muted);margin-top:5px}.tournament-row-clock time{font-variant-numeric:tabular-nums;color:var(--text)}.tournament-more{display:block;text-align:center;padding:14px 0 0;font-size:12px}.tournament-home .tournament-filters{gap:8px}.tournament-home .tournament-filters select,.tournament-home .tournament-filters input{padding:7px 9px;font-size:12px;min-height:32px}.tournament-home .tournament-filters select{max-width:140px}
@media(max-width:1250px){.tournament-row{grid-template-columns:minmax(130px,2fr) minmax(115px,1.5fr) minmax(80px,1fr)}.tournament-row>div:nth-child(3){display:none}.tournament-row>div:last-child{grid-column:2/-1;display:flex;gap:8px}.tournament-row>div:last-child small{margin:0}.tournament-row>div:nth-child(4){grid-row:1;grid-column:3}.tournament-detail dl{grid-template-columns:1fr}}
@media(max-width:1200px){body[data-section="home"][data-mobile-view="home"] .content>.tournament-home{display:block!important}.tournaments #tournament-sources{grid-template-columns:1fr;gap:5px}.tournaments .tournament-source{padding:7px 9px;align-items:center}.tournaments .tournament-source small{width:auto;flex:1 1 180px}.tournament-row{grid-template-columns:minmax(130px,1.3fr) minmax(110px,1fr);gap:7px 12px}.tournament-row>div:nth-child(4){grid-row:auto;grid-column:1}.tournament-row>div:last-child{grid-column:2;display:block}.tournament-row-name strong{font-size:13px}.tournament-detail{padding:14px}.tournament-detail h3{font-size:18px}}

/* Two-column tournament lobby: title, urgent clock and prize. */
.tournaments:not([data-mode="detail"]) #tournament-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;min-width:0}
.tournaments .tournament-row{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:10px 12px;min-height:120px;min-width:0;border:1px solid #704523;border-radius:6px;overflow:hidden;background:radial-gradient(ellipse at 90% 90%,#8b490b70,transparent 65%),linear-gradient(110deg,#21160f,#392310);color:#f8eee1}
.tournaments .tournament-row[data-game="pmang"]{background:radial-gradient(ellipse at 90% 90%,#8e2a3960,transparent 65%),linear-gradient(110deg,#211113,#391c24);border-color:#6c343a}
.tournaments .tournament-row[data-game="hangame"]{background:radial-gradient(ellipse at 90% 90%,#17579760,transparent 65%),linear-gradient(110deg,#111922,#1b2b43);border-color:#354b69}
.tournaments .tournament-row:hover{filter:brightness(1.12)}
.tournaments .tournament-row h3{font-size:14px;line-height:1.4;font-weight:650;margin:0;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tournament-row h3 small{font-size:10px;font-weight:500;color:#d5b992;margin-right:8px;white-space:nowrap}
.tournaments .tournament-row .tournament-lobby-main{display:flex;justify-content:space-between;align-items:center;gap:10px;min-width:0}
.tournament-lobby-progress{min-width:0;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.tournament-state{display:inline-block;color:#ff6565;border:1px solid #ed4747;border-radius:4px;padding:3px 7px;font-size:10px;line-height:1.4;margin-bottom:0}
.tournament-banner-clock{font-size:10px;color:#f47d74;line-height:1.5}.tournament-banner-clock time{display:block;font-size:clamp(23px,2.3vw,30px);font-weight:800;color:#ff535b;letter-spacing:1px;line-height:1.25;font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 2px 10px #ff30302b}
.tournament-lobby-rewards{display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:right;min-width:0;font-size:12px}.tournament-lobby-rewards b{font-weight:500}.tournament-banner-prize{color:#ffdc38;font-size:17px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.tournament-lobby-entry{font-size:11px;color:#c8c1ba;margin-top:auto}.tournament-lobby-entry b{font-weight:500;color:#eee1d3}
.tournaments .tournament-row[data-phase="ended"] .tournament-state,.tournaments .tournament-row[data-phase="running"] .tournament-state{color:#d3c4b2;border-color:#82786e}
.tournaments .tournament-more{grid-column:1/-1;text-align:right;font-size:12px;padding-top:4px}.tournament-home .tournament-filters{margin:0 0 12px}.tournament-home #tournament-error:empty{display:none}.tournament-home .tournament-filters input{width:100%;border-radius:5px}
.light .tournaments .tournament-row{color:#35281f;background:linear-gradient(110deg,#faf3e9,#eadac5);border-color:#d0baa1}.light .tournament-row h3 small,.light .tournament-lobby-entry{color:#78604a}.light .tournament-lobby-entry b{color:#3d3027}.light .tournament-banner-prize{color:#8b6000}.light .tournament-banner-clock,.light .tournament-banner-clock time{color:#ce263a}
@media(max-width:1200px){.tournaments:not([data-mode="detail"]) #tournament-list{grid-template-columns:1fr}.tournaments .tournament-row{min-height:116px;padding:10px 12px}.tournament-banner-clock time{font-size:29px}.tournament-banner-prize{font-size:18px}}

.tournaments .tournament-row>.tournament-lobby-entry{display:block;grid-column:auto;grid-row:auto}.tournaments .tournament-row h3 small{display:inline;margin-bottom:0}

/* Compact home tournament heading and right-aligned search. */
.tournament-home-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.tournament-home-heading h2{font-size:16px;font-weight:650;margin:0;white-space:nowrap}.tournament-home-heading h2 a{color:inherit}.tournament-home .tournament-home-heading .tournament-filters{margin:0 0 0 auto;flex:0 1 190px;min-width:0}.tournament-home .tournament-home-heading #tournament-search{flex:none;width:100%;min-width:0;min-height:30px;height:30px;padding:5px 9px;font-size:12px}
@media(max-width:480px){.tournament-home .tournament-home-heading .tournament-filters{flex-basis:150px}}

/* Home tournament cards align directly with the central content edges. */
body[data-section="home"] .content>.tournament-home{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}

/* Search and game filters belong to the full tournament list. */
.tournament-list-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.tournament-game-tabs{display:flex;gap:5px;flex-wrap:wrap}.tournament-game-tabs button{padding:6px 12px;font-size:12px;border:1px solid var(--line);border-radius:5px;color:var(--muted)}.tournament-game-tabs button[aria-pressed="true"]{color:var(--text);background:var(--soft);border-color:var(--muted)}.tournament-list-search{display:flex;align-items:center;gap:10px;margin-left:auto}.tournament-list-search input[type="search"]{width:190px;min-width:0;height:30px;padding:5px 9px;font-size:12px;border-radius:5px}.tournament-list-search label{display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap}@media(max-width:480px){.tournament-list-search{width:100%}.tournament-list-search input[type="search"]{flex:1;width:0}}

/* Stable card slots: long rewards cannot move the status, clock or entry. */
.tournaments .tournament-row{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:20px 64px 14px;gap:4px;height:128px;min-height:128px;max-height:128px;padding:9px 12px;align-content:start;container-type:inline-size}
.tournaments .tournament-row h3{height:20px;line-height:20px;min-width:0;font-size:13px}
.tournaments .tournament-row .tournament-lobby-main{display:grid;grid-template-columns:148px minmax(0,1fr);gap:10px;height:64px;align-items:start;width:100%}
.tournaments .tournament-lobby-progress{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:20px 44px;gap:0;align-items:start;min-width:0;height:64px}
.tournaments .tournament-state{justify-self:start;max-width:100%;height:20px;line-height:14px;padding:2px 6px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}
.tournaments .tournament-banner-clock{height:44px;line-height:14px;font-size:9px;min-width:0;overflow:hidden;white-space:nowrap}
.tournaments .tournament-banner-clock time{font-size:27px;line-height:30px;letter-spacing:.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tournaments .tournament-lobby-rewards{display:grid;grid-template-rows:20px 44px;gap:0;height:64px;min-width:0;width:100%;text-align:right;align-items:start;justify-items:stretch}
.tournaments .tournament-lobby-rewards>span{display:block;min-width:0;line-height:20px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tournaments .tournament-banner-prize{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:40px;line-height:20px;font-size:15px;min-width:0;overflow-wrap:anywhere}
.tournaments .tournament-row>.tournament-lobby-entry{display:block;grid-column:1;grid-row:3;margin:0;line-height:14px;height:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
@container(max-width:300px){.tournaments .tournament-row .tournament-lobby-main{grid-template-columns:128px minmax(0,1fr);gap:6px}.tournaments .tournament-banner-clock time{font-size:23px}.tournaments .tournament-banner-prize{font-size:13px}}

/* Optional compact tournament table, independent of the card layout. */
.tournament-view-switch{display:flex;justify-content:flex-end;gap:3px;margin:0 0 8px}.tournament-view-switch button{font-size:11px;padding:4px 9px;border:1px solid var(--line);border-radius:4px;color:var(--muted)}.tournament-view-switch button[aria-pressed="true"]{background:var(--soft);color:var(--text);border-color:var(--muted)}
.tournaments[data-layout="rows"] #tournament-list{display:block}.tournament-table-scroll{width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:5px}.tournament-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:780px;font-size:11px}.tournament-table .tt-time{width:128px}.tournament-table .tt-state{width:85px}.tournament-table .tt-game{width:68px}.tournament-table .tt-name{width:auto}.tournament-table .tt-buyin{width:94px}.tournament-table .tt-entry{width:85px}.tournament-table .tt-prize{width:146px}.tournament-table th{height:28px;text-align:left;color:var(--muted);font-size:10px;font-weight:500;background:var(--soft)}.tournament-table td{height:34px;border-top:1px solid var(--line);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tournament-table td,.tournament-table th{padding:4px 8px}.tournament-table tbody tr:nth-child(even){background:rgba(128,128,128,.045)}.tournament-table tbody tr:hover{background:var(--soft)}.tournament-table .tt-title a{display:block;overflow:hidden;text-overflow:ellipsis;font-weight:600;line-height:25px}.tournament-table .tt-clock{color:#ee7777;font-size:9px}.tournament-table .tt-clock time{font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;display:block;line-height:14px;letter-spacing:.3px}.tournament-table .tt-award{color:#e6c952;font-weight:600}.tournament-table td:nth-child(n+5),.tournament-table th:nth-child(n+5){text-align:right}.light .tournament-table .tt-award{color:#886000}.light .tournament-table .tt-clock{color:#c52d40}

.tournament-list-search select{height:30px;padding:4px 8px;font-size:12px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--text)}.tournament-list-search{flex-wrap:wrap}

/* Chat composer: keyboard send and local emoji picker. */
.chat .hu-chat-tools[hidden]{display:none!important}.chat .chat-bottom{position:relative;padding:5px 8px}.chat #chat-form{display:flex;align-items:center;gap:0;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--bg);margin:0}.chat #chat-form:focus-within{border-color:var(--muted);box-shadow:0 0 0 2px #88888812}.chat #chat-input{flex:1;min-width:0;width:0;height:30px;padding:6px 8px;background:transparent;border:0;outline:none;box-shadow:none;font-size:12px;border-radius:0;color:var(--text)}.chat #chat-emoji-toggle{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;padding:5px;border-radius:7px;color:var(--muted);background:transparent}.chat #chat-emoji-toggle svg{width:20px;height:20px}.chat #chat-emoji-toggle:hover,.chat #chat-emoji-toggle[aria-expanded="true"]{color:var(--text);background:var(--soft)}.chat-emoji-picker{position:absolute;bottom:calc(100% - 4px);left:10px;right:10px;z-index:20;background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 30px #0004;padding:8px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));max-height:240px;overflow:auto}.chat-emoji-picker[hidden]{display:none}.chat-emoji-picker button{padding:6px 0;font-size:23px;line-height:1.3;min-height:40px;border-radius:7px}

.tournament-registration-buttons{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.tournament-registration-buttons button{padding:6px 12px;font-size:12px;border:1px solid var(--line);border-radius:5px;color:var(--muted);white-space:nowrap}.tournament-registration-buttons button[aria-pressed="true"]{color:var(--text);background:var(--soft);border-color:var(--muted)}

/* Match nickname and message typography on a shared text baseline. */
body #messages .message{font-size:13px;line-height:1.55}body #messages .message .chat-name,body #messages .message .chat-name .member-nickname,body #messages .message .message-text{font-size:13px;font-family:inherit;line-height:inherit;letter-spacing:0;vertical-align:baseline}body #messages .message .chat-author-menu{vertical-align:baseline}body #messages .message .chat-name{display:inline-flex;align-items:baseline;vertical-align:baseline}body #messages .message .chat-name .member-level{align-self:center;vertical-align:baseline}

/* Optical size correction for colored chat nicknames. */
body #messages .message .chat-name,body #messages .message .chat-name .member-nickname{font-size:14px;line-height:20px}body #messages .message .message-text{font-size:13px;line-height:20px}

/* Keep level and nickname closely grouped in public chat. */
body #messages .message .chat-name{gap:0}body #messages .message .chat-name .member-level{margin-right:2px}

/* Keep the home list footprint while scrolling through all open events. */
.tournament-home[data-layout="rows"] .tournament-table-scroll{max-height:330px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}.tournament-home[data-layout="rows"] .tournament-table th{position:sticky;top:0;z-index:1;background:var(--soft)}

/* Portrait list: compact two-line events, no horizontal table scrolling. */
.tournament-mobile-meta{display:none}
@media(max-width:1200px){
 .tournaments[data-layout="rows"] .tournament-table-scroll{overflow-x:hidden}
 .tournaments .tournament-table{display:block;min-width:0;width:100%;table-layout:auto}
 .tournaments .tournament-table colgroup{display:none}
 .tournaments .tournament-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .tournaments .tournament-table tbody{display:block;width:100%}
 .tournaments .tournament-table tbody tr{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 138px;grid-template-rows:22px 32px;grid-template-areas:"name clock" "status prize";gap:2px 8px;height:72px;padding:7px 9px;border-top:1px solid var(--line);box-sizing:border-box}
 .tournaments .tournament-table tbody tr:first-child{border-top:0}
 .tournaments .tournament-table td{display:block;height:auto;min-width:0;padding:0;border:0;text-align:left;line-height:16px}
 .tournaments .tournament-table .tt-company,.tournaments .tournament-table .tt-cost,.tournaments .tournament-table .tt-entrants{display:none}
 .tournaments .tournament-table .tt-title{grid-area:name;align-self:center}
 .tournaments .tournament-table .tt-title a{font-size:12px;line-height:22px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 .tournaments .tournament-table .tt-title a:after{content:"";position:absolute;inset:0}
 .tournaments .tournament-table .tt-title a:focus-visible:after{outline:2px solid var(--green);outline-offset:-2px}
 .tournaments .tournament-table .tt-mobile-game{display:inline;font-size:9px;color:var(--muted);margin-right:5px;font-weight:400}
 .tournaments .tournament-table .tt-clock{grid-area:clock;align-self:center;text-align:right;font-size:10px}
 .tournaments .tournament-table .tt-clock time{font-size:17px;line-height:22px;color:#ff656d}
 .tournaments .tournament-table .tt-clock .tournament-timer-label{display:none}
 .tournaments .tournament-table .tt-status{grid-area:status;font-size:10px;color:var(--muted)}
 .tournaments .tournament-table .tt-status>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:16px}
 .tournaments .tournament-table .tt-award{grid-area:prize;text-align:right;font-size:12px;line-height:16px}
 .tournaments .tournament-table .tt-mobile-buyin{display:block;font-size:10px;color:var(--muted);font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:16px}
 .tournaments .tournament-table .tt-prize-value{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:16px}
 .tournaments .tournament-list-tools{display:block;margin-bottom:10px}
 .tournaments .tournament-game-tabs{margin-bottom:8px}
 .tournaments .tournament-list-search{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%;margin:0}
 .tournaments .tournament-list-search input[type="search"]{flex:none;width:100%;height:34px}
 .tournaments .tournament-registration-buttons{width:100%}
 .tournaments .tournament-game-tabs button,.tournaments .tournament-registration-buttons button{min-height:32px;padding:5px 9px}
 .tournament-home[data-layout="rows"] .tournament-table-scroll{max-height:330px;overflow-y:auto}
 .tournaments[data-mode="list"][data-layout="rows"] .tournament-table-scroll{max-height:none;overflow-y:visible}
 .light .tournaments .tournament-table .tt-clock time{color:#c52d40}
}
@media(max-width:360px){.tournaments .tournament-table tbody tr{grid-template-columns:minmax(0,1fr) 118px;gap:2px 6px;padding-left:7px;padding-right:7px}.tournaments .tournament-table .tt-clock time{font-size:16px}}

/* User preference: equal12px public-chat body and nickname. */
body #messages .message,body #messages .message .chat-name,body #messages .message .chat-name .member-nickname,body #messages .message .message-text{font-size:12px;line-height:16px}

/* Light-theme review: readable public surfaces and dedicated light illustrations. */
body .ad-reserved .ad-preview-light,.pf-refined #pf-positions .pf-table-light{display:none}
body.light .ad-reserved .ad-preview-dark,.light .pf-refined #pf-positions .pf-table-dark{display:none}
body.light .ad-reserved .ad-preview-light,.light .pf-refined #pf-positions .pf-table-light{display:block}
body.light .ad-slot.ad-reserved{background:#f5f0e5;border-color:#d4c7b1}
body.light .tournament-table-scroll{background:#fff;border-color:#d8d4c9}
body.light .tournament-table{color:#30352f}
body.light .tournament-table th,body.light .tournament-home[data-layout="rows"] .tournament-table th{background:#f2f0e9;color:#62675e}
body.light .tournament-table td{border-color:#e2e1d9}
body.light .tournament-table tbody tr:nth-child(even){background:#f7f7f3}
body.light .tournament-table tbody tr:hover{background:#eeede4}
body.light .tournament-table .tt-award{color:#805b08}
body.light .tournament-table .tt-clock,body.light .tournament-table .tt-clock time{color:#bb3040}
body.light .tournament-table .tt-mobile-buyin,body.light .tournament-table .tt-status,body.light .tournament-table .tt-mobile-game{color:#65695f}
body.light .point-shop{background:#fff;color:#30352f;border-color:#ddd9cf}
body.light .point-shop form.shop-product{background:#f8f7f2;border-color:#d8d5c9;color:#30352f}
body.light .point-shop .shop-product>p,body.light .point-shop .shop-note{color:#64685e}
body.light .point-shop .shop-item-image>span{background:#fff;color:#62675e;border-color:#d2cebf}
body.light .point-shop .shop-balance{background:#f5f2e9;border-color:#d8d0be}
body.light .point-shop .shop-balance>strong,body.light .point-shop #shop-feedback{color:#805f21}
body.light .point-shop .shop-product>button.primary{background:#454a41;color:#fff;border-color:#454a41}
body.light .point-shop .shop-product>button.primary:hover{background:#353a31}
body.light .point-shop .shop-product>button:disabled{background:#edece6;color:#707469;border-color:#d8d5c9;opacity:1}
body.light .pf-refined #pf-positions .pf-seat-center{color:#2d4032}
body.light .pf-refined #pf-positions .pf-seat-center small{color:#536957}
main>.left-column>.chat{margin-top:10px}
.sidebar-scam-search form{padding-bottom:14px}

/* Match full-list mobile edges to the home list, keeping common row rules. */
@media(max-width:1200px){body .content>.tournaments[data-mode="list"]{padding:0!important;margin:0;width:100%;min-width:0;border:0;background:transparent!important;box-shadow:none;border-radius:0}.tournaments[data-mode="list"] .tournament-table-scroll,.tournament-home .tournament-table-scroll{border-radius:5px}.tournaments[data-mode="list"] .tournament-table tbody tr,.tournament-home .tournament-table tbody tr{height:72px}}

/* Clickable sorting headers and portrait equivalents. */
.tournament-sort-tools{grid-column:1/-1;margin:0 0 7px;display:flex;gap:6px;flex-wrap:wrap}.tournament-time-modes,.tournament-sort-mobile{display:flex;gap:4px;align-items:center;flex-wrap:wrap}.tournament-time-modes button,.tournament-sort-mobile button{font-size:10px;padding:4px 7px;border:1px solid var(--line);border-radius:4px;color:var(--muted);white-space:nowrap}.tournament-time-modes button[aria-pressed="true"]{background:var(--soft);color:var(--text);border-color:var(--muted)}.tournament-sort-mobile{display:none}.tournament-table th button{display:inline-flex;align-items:center;justify-content:inherit;gap:2px;font-size:10px;line-height:18px;padding:0;border:0;color:inherit;background:transparent;border-radius:0;white-space:nowrap}.tournament-table th button span{font-size:9px;opacity:.7}.tournament-table th[aria-sort="ascending"],.tournament-table th[aria-sort="descending"]{color:var(--text)}.tournaments[data-layout="cards"] .tournament-sort-mobile{display:flex}
@media(max-width:1200px){.tournament-sort-tools{display:block}.tournament-time-modes{margin-bottom:5px}.tournaments .tournament-sort-mobile{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}.tournament-time-modes button,.tournament-sort-mobile button{min-height:28px;padding:4px 7px;flex-shrink:0}}
/* Detail panels stretch to the same mobile content width as the list. */
@media(max-width:1200px){
 body[data-section="tournaments"][data-mobile-view="tournaments"] main>.content{width:100%;max-width:100%;padding-right:0;scrollbar-gutter:auto;align-items:stretch}
 body[data-section="tournaments"] .content>.tournaments[data-mode="detail"]{width:100%;max-width:100%;min-width:0;align-self:stretch;box-sizing:border-box;padding:12px}
 .tournaments[data-mode="detail"] #tournament-list,.tournaments[data-mode="detail"] .tournament-detail{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
 .tournaments[data-mode="detail"] .tournament-detail{padding:12px}
 .tournaments[data-mode="detail"] .tournament-detail dl{grid-template-columns:minmax(0,1fr)}
 .tournaments[data-mode="detail"] .tournament-detail dl>div{min-width:0;gap:12px}
 .tournaments[data-mode="detail"] .tournament-detail dt{flex:0 1 42%;min-width:0}
 .tournaments[data-mode="detail"] .tournament-detail dd{flex:1 1 58%;min-width:0;overflow-wrap:anywhere}
}

/* Keep a top inset visible even when the chat log is scrolled. */
main>.left-column>.chat{padding-top:10px}


/* Member tournament favorites: preserve the existing fixed-width columns. */
.tournament-favorite{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:24px;min-height:0;padding:0!important;margin:0 4px 0 0;border:0!important;background:transparent!important;color:var(--muted)!important;font-size:18px!important;line-height:1;vertical-align:middle;cursor:pointer}
.tournament-favorite[aria-pressed="true"]{color:var(--gold,#dfb85c)!important}.tournament-favorite:focus-visible{outline:2px solid var(--gold,#dfb85c);outline-offset:1px}.tournament-favorite:disabled{opacity:.5}
.tournaments .tournament-table .tt-title{position:relative;padding-left:29px!important}.tournament-table .tt-title>.tournament-favorite{position:absolute;left:3px;top:50%;transform:translateY(-50%)}
.tournament-card-item{position:relative;min-width:0}.tournament-card-item>.tournament-favorite{position:absolute;z-index:1;right:7px;top:7px}.tournament-card-item h3{padding-right:24px}

.tournament-table .tt-title>.tournament-favorite{z-index:2}

.tournament-overlay{display:inline-block;flex:0 0 auto;margin-left:5px;font-size:13px;line-height:1;vertical-align:middle;text-shadow:none}
.tournament-table .tt-title a{display:flex;align-items:center;min-width:0}
.tournament-table .tt-name-text{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

/* Account actions align to identity, balance aligns to the level. */
#sidebar-account .account-user{padding:0 0 15px;align-items:flex-start}
#sidebar-account .account-name-row,#sidebar-account .account-level-row{display:flex;align-items:center;gap:6px;min-width:0;width:100%}
#sidebar-account .account-name-row{min-height:26px}
#sidebar-account .account-name-row .account-name-edit{min-width:0;flex:1;overflow:hidden}
#sidebar-account .account-name-row .account-name-edit strong{font-size:14px;line-height:26px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#sidebar-account .account-name-row .account-nav{position:static;display:flex;flex:0 0 auto;margin:0 0 0 auto;height:26px;gap:3px;align-items:center}
#sidebar-account .account-name-row .account-profile-icon{width:23px;height:25px;padding:3px}
#sidebar-account .account-name-row .account-profile-icon svg{width:18px;height:18px}
#sidebar-account .account-level-row .account-tier{margin:2px 0 0;min-width:0;font-size:11px}
#sidebar-account .account-level-row .account-balance{margin:2px 0 0 auto;font-size:12px;font-weight:700;white-space:nowrap}
#sidebar-account .account-user>div{min-width:0;flex:1}
#sidebar-account>#private-chat-open[hidden]{display:none!important}

/* Home: video title occupies the existing header, with no caption below video. */
#live.home-live.has-live>.panel-heading>div:first-child{display:none}
#live.home-live>.panel-heading #live-now{padding:0;border:0;min-width:0;flex:1;background:transparent}
#live.home-live>.panel-heading #live-now strong{font-size:12px;line-height:15px;-webkit-line-clamp:1}
#live.home-live>.panel-heading #live-now p{font-size:10px;line-height:12px;margin:1px 0 0}
#live.home-live.has-live>.panel-heading{height:40px;min-height:40px;padding:5px 12px;box-sizing:border-box}
#live.home-live .live-primary{line-height:0}

.tournaments[data-mode="list"] .tournament-view-switch{display:flex;grid-column:1/-1;clear:both;width:100%;justify-content:flex-end;align-items:center;gap:4px;margin:0 0 8px}

.tournaments[data-mode="list"] .tournament-sort-tools{display:flex;align-items:center;flex-wrap:wrap;width:100%;gap:6px}
.tournaments[data-mode="list"] .tournament-sort-tools>.tournament-view-switch{width:auto;flex:0 0 auto;margin:0 0 0 auto;clear:none}
.tournaments[data-mode="list"] .tournament-time-modes{margin-bottom:0}
@media(max-width:1200px){.tournaments[data-mode="list"] .tournament-sort-tools>.tournament-sort-mobile{order:3;flex-basis:100%}}

/* Site chat follows the CHZZK/SOOP reader typography and spacing. */
body #messages .message,#live-platform-chat{font-family:inherit;font-size:12px;line-height:1.65;letter-spacing:0}
body #messages .message,.platform-chat-row{padding:3px 0;margin:0}
body #messages .message .chat-name,body #messages .message .chat-name .member-nickname,body #messages .message .message-text{font-size:12px;line-height:inherit;vertical-align:baseline}
body #messages .message .chat-name{padding:0;margin-right:7px;font-weight:700}
body #messages .message .chat-name .member-nickname,.platform-chat-name{font-weight:700}
body #messages .message .message-text,.platform-chat-message{font-weight:400;white-space:pre-wrap}

/* Header navigation remains readable at desktop width. */
body>header nav a{font-size:14px}

/* Inline attachment placement works with tap + caret on narrow screens. */
.post-editor-content img[data-post-image],.rich-post-body .post-inline-image{display:block;max-width:100%;height:auto;margin:12px auto}
.post-editor-content img[data-post-image]{cursor:pointer;max-height:480px;object-fit:contain}
.post-editor-content img.is-selected{outline:2px solid var(--gold,#d6b478);outline-offset:3px}
.post-image-hint{display:block;padding:7px 12px;color:var(--muted,#999);font-size:12px;line-height:1.5}
.shop-product .shop-xp-cost{font-variant-numeric:tabular-nums}
.shop-product .shop-xp-cost-row{display:flex;align-items:center;gap:10px;margin-top:8px}
.shop-product .shop-xp-cost-row label{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.shop-product .shop-xp-cost-row output{flex:1;min-width:0;text-align:right;padding:8px 10px;border:1px solid var(--border,#444);border-radius:5px}
.shop-product .shop-xp-cost-row button{flex:0 0 auto;width:auto;margin:0;padding:8px 15px}

/* Equal-width sidebar selectors keep one- and two-digit stacks aligned. */
#push-fold-panel.pf-refined.pf-compact #pf-players{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%;gap:4px;padding:0;border:0;background:transparent}
#push-fold-panel.pf-refined.pf-compact #pf-stacks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:4px}
#push-fold-panel.pf-refined.pf-compact #pf-players button,
#push-fold-panel.pf-refined.pf-compact #pf-stacks button{display:flex;flex-direction:row;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;width:100%;height:28px;margin:0;padding:4px 2px;gap:2px;white-space:nowrap;font-variant-numeric:tabular-nums}

/* Stack slider: one stable touch target across sidebar and narrow screens. */
#push-fold-panel.pf-refined #pf-stacks,
#push-fold-panel.pf-refined.pf-compact #pf-stacks{display:block;width:100%;min-width:0}
.pf-stack-value{display:flex;justify-content:center;align-items:center;min-height:32px}
#push-fold-panel #pf-stack-value{font-size:20px;font-weight:700;color:var(--play-ink);font-variant-numeric:tabular-nums;line-height:1.3}
#push-fold-panel #pf-stack-slider{display:block;appearance:none;-webkit-appearance:none;box-sizing:border-box;width:100%;min-width:0;height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;touch-action:pan-y}
#pf-stack-slider::-webkit-slider-runnable-track{height:6px;border:1px solid var(--play-line);border-radius:8px;background:linear-gradient(to right,var(--play-accent) 0 var(--pf-range-fill,0%),var(--play-inset) var(--pf-range-fill,0%) 100%)}
#pf-stack-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:26px;height:26px;margin-top:-11px;border:2px solid #ecdbac;border-radius:50%;background:var(--play-accent);box-shadow:0 1px 4px #0005}
#pf-stack-slider::-moz-range-track{height:6px;border:1px solid var(--play-line);border-radius:8px;background:var(--play-inset)}
#pf-stack-slider::-moz-range-progress{height:6px;border-radius:8px;background:var(--play-accent)}
#pf-stack-slider::-moz-range-thumb{width:24px;height:24px;border:2px solid #ecdbac;border-radius:50%;background:var(--play-accent)}
#push-fold-panel #pf-stack-slider:focus-visible{outline:2px solid var(--play-accent);outline-offset:2px;border-radius:5px}
.pf-stack-bounds{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--play-muted);line-height:1.4}

/* Keep player and stack controls compact even when the chart is expanded. */
#push-fold-panel.pf-refined #pf-players,
#push-fold-panel.pf-refined.pf-compact #pf-players{width:100%;max-width:360px;margin-inline:auto;box-sizing:border-box}
#push-fold-panel.pf-refined #pf-stacks,
#push-fold-panel.pf-refined.pf-compact #pf-stacks{width:100%;max-width:320px;margin-inline:auto;box-sizing:border-box}

/* A lighter slider fits the narrow sidebar without dominating the table. */
#push-fold-panel.pf-refined.pf-compact #pf-stacks{max-width:240px}
#push-fold-panel.pf-compact .pf-stack-value{min-height:24px}
#push-fold-panel.pf-compact #pf-stack-value{font-size:16px}
#push-fold-panel.pf-compact #pf-stack-slider{height:30px}
#push-fold-panel.pf-compact #pf-stack-slider::-webkit-slider-runnable-track{height:4px}
#push-fold-panel.pf-compact #pf-stack-slider::-webkit-slider-thumb{width:20px;height:20px;margin-top:-9px}
#push-fold-panel.pf-compact #pf-stack-slider::-moz-range-track,
#push-fold-panel.pf-compact #pf-stack-slider::-moz-range-progress{height:4px}
#push-fold-panel.pf-compact #pf-stack-slider::-moz-range-thumb{width:18px;height:18px}
#push-fold-panel.pf-compact .pf-stack-bounds{font-size:9px}
@media(pointer:coarse){#push-fold-panel.pf-compact #pf-stack-slider{height:44px}}

/* Keep the author and full date together in stable, readable list columns. */
body .board-table-row>.author-menu{min-width:0;text-align:left}
body .board-table-row>.author-menu summary{display:flex;align-items:center;justify-content:flex-end;gap:0;min-width:0;overflow:visible}
body .board-table-row>.author-menu .forum-author-avatar{display:none}
body .board-table-row>.author-menu .forum-author-label{display:flex;flex:0 1 auto;min-width:0;max-width:100%;text-align:left;white-space:nowrap}
body .board-table-row>.author-menu .member-nickname{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal}
body .board-table-row>time{white-space:nowrap;overflow:visible;text-overflow:clip;text-align:left;font-variant-numeric:tabular-nums;font-size:10px}
@media(min-width:1201px){
 body .board-table-head,body .board-table-row{grid-template-columns:32px 58px minmax(0,1fr) 124px 76px 34px 34px;column-gap:8px}
 body .board-table-head>span:nth-child(4){text-align:right}
 body .board-table-head>span:nth-child(5){text-align:left}
 body .board-table:has(.board-author)>.board-table-head,body .board-table-row:has(>.board-author){grid-template-columns:minmax(0,1fr) 124px 76px 34px 34px}
}
@media(max-width:1200px){
 body .board-table-row{grid-template-columns:minmax(0,1fr) 110px 66px;column-gap:8px}
 body .board-table-row>.author-menu,body .board-table-row>.board-author{grid-column:2;grid-row:1;font-size:10px;text-align:left}
 body .board-table-row>time{grid-column:3;grid-row:1}
 body .board-table-row>.board-table-subject .post-list-title{white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
}
@media(max-width:380px){body .board-table-row{grid-template-columns:minmax(0,1fr) 94px 62px;column-gap:6px}}

/* Visible labels for publishing and saving an edited post. */
#page-post-form .post-submit-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:8px 14px;white-space:nowrap}
#page-post-form .post-submit-action svg{display:block;width:18px;height:18px;flex-shrink:0}

.post-linked-video{display:block;width:100%;max-width:720px;margin:16px auto}
.post-linked-video iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:4px;background:#111}
.post-link-preview{padding:0 12px}

.message-text .chat-url-link{color:var(--bit-gold);text-decoration:underline;overflow-wrap:anywhere}

/* Pmang public client flags: SPECIAL title image, tournament type and label. */
.pmang-badges{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-bottom:3px;font-size:10px;line-height:1.4;font-weight:500}
.pmang-event-flag{display:inline-block;padding:1px 7px;border:1px solid #bc397a;border-radius:3px;background:linear-gradient(115deg,#571338,#aa1765);color:#ffe3f1}
.tournament-table tr.pmang-special:not(.tournament-merit),.tournament-card.pmang-special:not(.tournament-merit),.tournament-card-item.pmang-special:not(.tournament-merit){background:linear-gradient(110deg,rgba(112,22,62,.28),rgba(58,27,87,.2))}
.tournament-table tr.pmang-bounty:not(.tournament-merit),.tournament-card.pmang-bounty:not(.tournament-merit),.tournament-card-item.pmang-bounty:not(.tournament-merit){background:linear-gradient(110deg,rgba(108,69,39,.2),rgba(82,33,25,.12))}
.tournament-table tr.pmang-satellite:not(.tournament-merit),.tournament-card.pmang-satellite:not(.tournament-merit),.tournament-card-item.pmang-satellite:not(.tournament-merit){background:linear-gradient(110deg,rgba(112,22,62,.2),rgba(58,27,87,.15))}

/* Hangame satellite highlights and WPL client recommendation pins. */
.tournament-table tr.hangame-highlight-11:not(.tournament-merit),.tournament-table tr.hangame-highlight-12:not(.tournament-merit),.tournament-card[class*="hangame-highlight-"]:not(.tournament-merit),.tournament-card-item[class*="hangame-highlight-"]:not(.tournament-merit){background:linear-gradient(110deg,rgba(127,32,44,.33),rgba(74,28,39,.18));box-shadow:inset 3px 0 #974653}
.wpl-source-pin{display:inline-flex;flex:0 0 14px;width:14px;height:14px;vertical-align:middle;margin-right:5px;align-items:center;justify-content:center}
.wpl-source-pin svg{width:14px;height:14px;transform:rotate(35deg)}
.wpl-pin-1{color:#c8834c}.wpl-pin-2{color:#cdd2d9}.wpl-pin-3{color:#f2cf36}
body.light .wpl-pin-2{color:#747b88}body.light .wpl-pin-3{color:#a07e06}

.tournament-entry-bb{font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--text)}
.tournament-name-line .tournament-entry-bb{font-size:11px;margin-left:6px}
.tournament-table tbody tr[data-tournament-key]{cursor:pointer}
.tournament-detail-dialog{width:min(680px,calc(100vw - 28px));max-height:85dvh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:14px;background:var(--panel,var(--bg));color:var(--text);box-shadow:0 22px 90px #0008}
.tournament-detail-dialog::backdrop{background:#0009}.tournament-detail-close{position:sticky;top:0;float:right;width:32px;height:32px;border:1px solid var(--line);border-radius:50%;background:var(--soft);color:var(--text);font-size:24px;line-height:24px;z-index:1}
.tournament-detail-dialog h2{padding-right:36px;font-size:18px;line-height:1.5;margin:0 0 18px}.tournament-detail-bb{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding:14px;background:var(--soft);border-radius:9px;margin-bottom:16px}.tournament-detail-bb .tournament-entry-bb{font-size:26px}.tournament-detail-bb small{width:100%;color:var(--muted)}
.tournament-detail-fields{margin:0}.tournament-detail-fields>div{display:grid;grid-template-columns:minmax(115px,38%) 1fr;gap:14px;padding:10px 0;border-bottom:1px solid var(--line)}.tournament-detail-fields dt{color:var(--muted);font-size:12px}.tournament-detail-fields dd{margin:0;text-align:right;overflow-wrap:anywhere;white-space:pre-wrap;font-size:13px}
@media(max-width:600px){.tournament-detail-dialog{padding:18px}.tournament-detail-fields>div{grid-template-columns:110px 1fr;gap:10px}}

/* Tournament detail: clear hierarchy and grouped public information. */
.tournament-detail-dialog{width:min(760px,calc(100vw - 28px));padding:0;border:1px solid var(--line);border-radius:20px;box-shadow:0 28px 100px #0008}
.tournament-detail-body{padding:0 26px 26px}.tournament-detail-header{padding:6px 42px 22px 0;border-bottom:1px solid var(--line)}
.tournament-detail-header h2{margin:12px 0 10px;font-size:22px;line-height:1.45;letter-spacing:-.035em}.tournament-detail-header p{margin:0;color:var(--muted);font-size:12px}
.tournament-detail-tags{display:flex;flex-wrap:wrap;gap:7px}.tournament-detail-tags span{padding:5px 10px;border:1px solid var(--line);border-radius:7px;font-size:11px;font-weight:700;background:var(--panel)}
.tournament-detail-hero{display:grid;grid-template-columns:1fr 1.15fr;gap:18px;margin:22px 0;padding:22px;background:linear-gradient(120deg,#c9a25419,transparent);border:1px solid #c9a25455;border-radius:14px}
.tournament-detail-hero .tournament-detail-bb{margin:0;padding:0;border:0;background:none;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.tournament-detail-bb>span:first-child{font-size:12px;color:var(--muted)}
.tournament-detail-hero .tournament-entry-bb{font-size:34px;line-height:1.2;letter-spacing:-.04em;color:#c9a254;font-weight:800}.tournament-detail-bb small{font-size:10px;color:var(--muted);line-height:1.5}
.tournament-detail-summary{display:grid;gap:16px;padding-left:20px;border-left:1px solid #c9a25433}.tournament-detail-summary>div{display:grid;gap:4px}.tournament-detail-summary span,.tournament-detail-summary small{font-size:11px;color:var(--muted)}.tournament-detail-summary strong{font-size:17px;overflow-wrap:anywhere;line-height:1.4}
.tournament-detail-notice{border:1px solid var(--line);background:var(--panel);padding:10px 12px;border-radius:8px;color:var(--muted);font-size:12px}
.tournament-detail-sections{display:grid;gap:22px}.tournament-detail-section h3{margin:0 0 10px;font-size:13px;font-weight:800;letter-spacing:-.02em}.tournament-detail-section .tournament-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;margin:0;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
.tournament-detail-section .tournament-detail-fields>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);min-width:0}.tournament-detail-section dt{font-size:11px;flex-shrink:0;color:var(--muted)}.tournament-detail-section dd{margin:0;font-size:12px;font-weight:600;text-align:right;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.5;min-width:0}
.tournament-detail-close{float:none;z-index:2;top:12px;right:12px;position:sticky;margin:12px 12px -2px auto;display:block;border-radius:50%;width:32px;height:32px;line-height:1;font-size:23px;background:var(--panel);border:1px solid var(--line);cursor:pointer}
@media(max-width:560px){.tournament-detail-dialog{border-radius:14px;max-height:90dvh}.tournament-detail-body{padding:0 16px 20px}.tournament-detail-header h2{font-size:18px}.tournament-detail-hero{padding:16px;gap:12px;grid-template-columns:1fr}.tournament-detail-summary{grid-template-columns:1fr 1fr;border-left:0;border-top:1px solid #c9a25433;padding:14px 0 0}.tournament-detail-section .tournament-detail-fields{grid-template-columns:1fr}.tournament-detail-hero .tournament-entry-bb{font-size:30px}}

/* design-system.css */
/* Public UI tokens. Keep game/table and member identity colors semantic. */
:root,body:not(.light){--ui-text:#e4e4e4;--ui-muted:#a3a3a3;--ui-red:#ed6262;--ui-gold:#d6b36c;--ui-border:#373936;--ui-surface:#1e201d;--ui-control:#252823;--ui-hover:#30342d;--ui-font:'Noto Sans KR','DM Sans',sans-serif;--ui-size:12px;--ui-small:11px;--ui-meta:10px;--ui-heading:14px;--ui-radius:5px;--ui-panel-radius:5px;--text:var(--ui-text);--muted:var(--ui-muted);--red:var(--ui-red);--brand-gold:var(--ui-gold);--blue:var(--ui-gold);--green:var(--ui-gold);--line:var(--ui-border);--panel:var(--ui-surface);--soft:var(--ui-control);--control-bg:var(--ui-control);--control-hover:var(--ui-hover);--control-border:var(--ui-border);--control-text:var(--ui-text);--selection-bg:#d6b36c16}
body.light{--ui-text:#252525;--ui-muted:#707070;--ui-red:#bd3545;--ui-gold:#89631d;--ui-border:#d4d6d0;--ui-surface:#fff;--ui-control:#f2f3ee;--ui-hover:#e8eae3;--text:var(--ui-text);--muted:var(--ui-muted);--red:var(--ui-red);--brand-gold:var(--ui-gold);--blue:var(--ui-gold);--green:var(--ui-gold);--line:var(--ui-border);--panel:var(--ui-surface);--soft:var(--ui-control);--control-bg:var(--ui-control);--control-hover:var(--ui-hover);--control-border:var(--ui-border);--control-text:var(--ui-text);--selection-bg:#89631d12}
body{font-family:var(--ui-font);font-size:var(--ui-size);color:var(--text)}
button,input,select,textarea,table{font-family:inherit}
body .brand{--brand-gold:var(--ui-gold)}
body .panel,body .account-panel{border-color:var(--line);border-radius:var(--ui-panel-radius)}
body header nav a{font-size:14px;color:var(--muted)}body header nav a.active{color:var(--text);border-bottom-color:var(--ui-gold)}
body .panel-heading h2,body #board-grid h3,body .popular-panel h2,body .sidebar-solver h2{font-family:inherit;font-size:var(--ui-heading);font-weight:600;color:var(--text)}
body .muted,body .post-row time,body .board-list-row small,body .right-sidebar .sidebar-shortcut,body .live-card p{color:var(--muted)}
body .post-row,body .popular-panel li,body .live-card strong,body .thread-comment,body .thread-comment p{font-size:var(--ui-size);font-family:inherit;color:var(--text)}
body #live .live-card small,body .live-card small,body .live-dot,body .live,body .market-daily-change.is-up,body .tournament-table .tt-clock,body .tournaments .tournament-banner-clock,body .tournaments .tournament-banner-clock time{color:var(--ui-red)}
body .live-dot{background:var(--ui-red)}
body.light .tournament-table .tt-award,body .tournament-table .tt-award,body .tournaments .tournament-banner-prize,body .panel-heading .accent,body .sidebar-market .quote strong{color:var(--ui-gold)}
body .market-daily-change.is-flat,body .market-daily-change.is-missing{color:var(--muted)}
body:not(.light) button.primary,body.light button.primary,body:not(.light) a.primary,body.light a.primary,body .button.primary,body input[type=submit]{font-family:inherit;font-size:var(--ui-size);font-weight:500;line-height:1.4;padding:7px 11px;min-height:30px;border:1px solid var(--line);border-radius:var(--ui-radius);background:var(--control-bg);color:var(--text);box-shadow:none}
body button.primary:hover,body a.primary:hover{background:var(--control-hover);border-color:var(--ui-gold);color:var(--text)}
body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),body select,body textarea{font-family:inherit;font-size:var(--ui-size);color:var(--text);border-color:var(--line);border-radius:var(--ui-radius)}
body input::placeholder,body textarea::placeholder{color:var(--muted);opacity:1}
body .platforms button,body .sidebar-market-tabs button,body .tournament-game-tabs button,body .tournament-registration-buttons button,body .tournament-view-switch button,body .tournament-time-modes button,body .tournament-sort-mobile button,body .pf-options button{font-family:inherit;font-size:var(--ui-small);line-height:1.4;border:1px solid transparent;border-radius:var(--ui-radius);color:var(--muted);box-shadow:none}
body .platforms button.selected,body [data-tournament-game][aria-pressed=true],body [data-registration][aria-pressed=true],body [data-tournament-layout][aria-pressed=true],body [data-time-mode][aria-pressed=true],body .pf-options button.selected{color:var(--ui-gold);border-color:var(--ui-gold);background:var(--selection-bg)}
body button:focus-visible,body a:focus-visible,body input:focus-visible,body textarea:focus-visible{outline:2px solid var(--ui-gold);outline-offset:2px}
/* Comment and reply pickers share the compact form tokens; Unicode needs no API. */
.comment-composer-field{position:relative;min-width:0;width:100%;grid-column:1/-1;flex:1 1 100%}
body .comment-composer-field textarea{display:block;width:100%;box-sizing:border-box;padding-right:40px}
body .comment-emoji-toggle{position:absolute;right:6px;bottom:6px;display:grid;place-items:center;width:28px;height:28px;padding:4px;border:1px solid var(--line);border-radius:var(--ui-radius);color:var(--muted);background:var(--panel);font-size:18px;line-height:1}
body .comment-emoji-toggle[aria-expanded=true]{color:var(--ui-gold);border-color:var(--ui-gold)}
.comment-emoji-picker{position:absolute;right:0;bottom:calc(100% + 5px);z-index:40;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));width:min(300px,100%);max-height:230px;overflow:auto;padding:6px;border:1px solid var(--line);border-radius:var(--ui-radius);background:var(--panel);box-shadow:0 6px 20px #0003}
.comment-emoji-picker[hidden]{display:none}.comment-emoji-picker button{padding:6px 2px;min-width:0;font-size:22px;line-height:1.2;border-radius:var(--ui-radius)}
@media(max-width:400px){.comment-emoji-picker{grid-template-columns:repeat(6,minmax(0,1fr))}}
/* Shared compact hierarchy for lists, metadata and shortcut controls. */
body .live-card small,body .live-card p,body .post-row time,body .board-list-row small,body .tournament-timer-label,body .tournament-observation{font-size:var(--ui-meta)}
body .tournament-table{font-family:inherit;font-size:var(--ui-small)}
body .tournaments .tournament-row{background:var(--panel);border-color:var(--line);border-radius:var(--ui-panel-radius);color:var(--text)}
body .tournaments .tournament-state{color:var(--ui-red);border-color:var(--ui-red);border-radius:var(--ui-radius)}
body .right-sidebar .sidebar-shortcut{border-radius:var(--ui-radius);color:var(--muted)}
:root{--panel-gap:12px}
/* Shared outer panel rhythm. Keep controls, rows and panel interiors independent. */
body main{gap:var(--panel-gap)!important;padding-block:var(--panel-gap)}
body main>.left-column,body main>.content,body main>.right-sidebar{gap:var(--panel-gap)!important}
body main>.left-column>*,body main>.content>*,body main>.right-sidebar>*{margin-block:0!important}
body main>.content .home-board-sections,body main>.content #board-grid{gap:var(--panel-gap)!important}
body #board-page>.ad-reserved,body #board-page>article+.ad-reserved{margin-block:var(--panel-gap)}

/* Home has only header sorting on desktop; its empty toolbar must not add space. */
@media(min-width:601px){.tournament-home .tournament-sort-tools{display:none}}

/* Main and sidebar panel headings share a compact 36px frame. */
body #live.home-live>.panel-heading,body .home-board-summary>.home-section-head,body .right-sidebar .panel-heading{height:36px;min-height:36px;margin:0;padding:0 12px;display:flex;align-items:center;justify-content:space-between;gap:8px}
body .home-board-summary{padding-inline:12px}
body .home-board-summary>.home-section-head{padding-inline:0}
body #live.home-live>.panel-heading h2,body .home-board-summary>.home-section-head h2,body .right-sidebar .panel-heading h2{margin:0;font-size:12px;line-height:18px;font-weight:600}

/* Full tournament rows and live-aligned sidebar market on the three-column home. */
.tournament-home[data-layout="rows"] .tournament-table-scroll{max-height:350px}
@media(min-width:1201px){
 body #sidebar-market{height:var(--home-market-height,auto);display:flex;flex-direction:column}
 body #mini-market-panel{display:flex;flex-direction:column;flex:1;min-height:0}
 body .mini-market-chart{height:auto;min-height:100px;flex:1}
}

/* Four whole broadcast rows fit the stage; additional broadcasts scroll below. */
@media(min-width:1201px){
 body #live.home-live.has-live .live-list{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:25%;gap:0;padding:0 6px;height:100%}
 body #live.home-live.has-live .live-card{height:100%;min-height:0;overflow:hidden}
}

/* Time basis stays inside the home list header rather than adding a toolbar. */
.tournament-time-heading{display:inline-flex;align-items:center;gap:3px;max-width:100%}
.tournament-time-heading select{width:auto;max-width:105px;height:22px;min-height:0;padding:0 1px;border:0;border-radius:0;background:transparent;color:inherit;font-size:10px;line-height:20px}
.tournament-time-heading select option{background:var(--panel);color:var(--text)}
.tournament-table th .tournament-time-heading button{flex-shrink:0;min-width:16px;height:22px;justify-content:center}

/* Distinguish countdown intent across desktop/mobile list and card views. */
body .tournaments .tournament-timer-start{color:#fff!important;text-shadow:none}
body.light .tournaments .tournament-timer-start{color:var(--text)!important}
body .tournaments .tournament-timer-registration{color:var(--ui-red)!important}

/* Consistent negative daily change across market pages and sidebar. */
body{--ui-market-down:#82b8ff}
body.light{--ui-market-down:#205fa8}
body .market-daily-change.is-down,body .market #change.is-down,body.light .market-daily-change.is-down,body.light .market #change.is-down{color:var(--ui-market-down)}

/* Visible game selector boundaries in the market sidebar. */
body .sidebar-market-tabs button{border-color:var(--line)}
body .sidebar-market-tabs button[aria-selected="true"]{border-color:var(--ui-gold);color:var(--ui-gold);background:var(--selection-bg)}

/* Compact selected-platform money conversion. */
body .market-calculator{padding:13px 16px;margin-bottom:12px;min-width:0}
.market-calc-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}.market-calc-head>strong{font-size:13px}.market-calc-head>span{font-size:11px;color:var(--muted)}
.market-calc-row{display:flex;align-items:center;gap:12px;min-width:0}.market-calc-input{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.market-calc-input input{width:100%;min-width:0;min-height:40px;font-variant-numeric:tabular-nums}.market-calc-input>span{white-space:nowrap;font-size:12px;color:var(--muted)}.market-calc-equals{color:var(--muted)}
#market-calc-result{flex:1;min-width:0;text-align:right;overflow-wrap:anywhere;font-size:20px;font-weight:600;color:var(--ui-gold);font-variant-numeric:tabular-nums}
#market-calc-note{margin:8px 0 0;font-size:10px;line-height:1.6;color:var(--muted)}
@media(max-width:480px){body .market-calculator{padding:12px}.market-calc-row{gap:8px}#market-calc-result{font-size:17px}}

body[data-mobile-view="market"] .content>#market-calculator{display:block!important}

/* Uniform outlines keep solver choices readable without a heavy bottom edge. */
body #push-fold-panel.pf-refined #pf-players button,
body #push-fold-panel.pf-refined #pf-positions button.pf-table-seat{box-sizing:border-box;border:1px solid color-mix(in srgb,var(--play-ink) 24%,var(--play-surface));border-radius:5px;background:var(--play-surface);color:var(--play-ink);box-shadow:none;outline-offset:3px;transition:border-color .15s,background .15s}
body #push-fold-panel.pf-refined #pf-players button{border-radius:5px;background:var(--play-surface)}
body #push-fold-panel.pf-refined #pf-players button.selected,
body #push-fold-panel.pf-refined #pf-positions button.pf-table-seat.selected{border:1px solid var(--play-accent);background:var(--play-surface);color:var(--play-ink);box-shadow:none;font-weight:700}
body.light #push-fold-panel.pf-refined #pf-players button.selected,
body.light #push-fold-panel.pf-refined #pf-positions button.pf-table-seat.selected{color:var(--play-ink)}
@media(hover:hover){body #push-fold-panel.pf-refined #pf-players button:not(.selected):not(:disabled):hover,body #push-fold-panel.pf-refined #pf-positions button.pf-table-seat:not(.selected):not(:disabled):hover{background:color-mix(in srgb,var(--play-accent) 18%,var(--play-surface));color:var(--play-ink)}}
body #push-fold-panel.pf-refined #pf-players button:focus-visible,
body #push-fold-panel.pf-refined #pf-positions button.pf-table-seat:focus-visible{outline:2px solid var(--play-accent)}
@media(prefers-reduced-motion:reduce){body #push-fold-panel.pf-refined #pf-players button,body #push-fold-panel.pf-refined #pf-positions button.pf-table-seat{transition:none}}

/* Emphasize the selected game name above the market quote. */
body #market #pair{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:4px;line-height:1.4}
body #market #pair .market-pair-name{font-size:22px;font-weight:700;color:var(--text)}
body #market #pair .market-pair-unit{font-size:12px;font-weight:400;color:var(--muted)}
@media(max-width:480px){body #market #pair .market-pair-name{font-size:20px}}

/* Keep solver settings grouped even beside a tall chart. */
body #push-fold-panel.pf-refined .pf-settings{row-gap:16px;align-content:start;text-align:center}
body #push-fold-panel.pf-refined .pf-setting-block>.pf-control-label{margin-bottom:8px;text-align:center}
body #push-fold-panel.pf-refined.pf-compact .pf-settings{row-gap:20px}

body #push-fold-panel.pf-refined #pf-players{justify-content:center}
body #push-fold-panel.pf-refined .pf-table-context{text-align:center}

/* Center the complete settings group vertically beside the full-size chart. */
body[data-section="solver"] #push-fold-panel.pf-refined:not(.pf-compact) .pf-settings{align-content:center;row-gap:36px}
@container shortstack (max-width:650px){body[data-section="solver"] #push-fold-panel.pf-refined:not(.pf-compact) .pf-settings{align-content:start}}

/* Independently managed placements; house panels are the empty/failed-ad fallback. */
body .ad-slot.ad-reserved[data-ad-preview]{display:block!important;position:relative;height:auto;min-width:0;flex-shrink:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--panel)}
body .ad-slot.ad-wide{aspect-ratio:auto;min-height:92px}
body .ad-slot.ad-box{aspect-ratio:11 / 8;min-height:140px}
body .ad-slot .ad-house{display:flex;width:100%;height:100%;min-height:inherit;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:18px 12px;border:0;border-radius:0;line-height:1.4;background:radial-gradient(ellipse at top left,#cbb27714,transparent 70%),var(--panel);color:var(--text);cursor:pointer}
body .ad-house-brand{font:700 15px Arial,sans-serif;letter-spacing:2px;color:var(--text)}
body .ad-house-brand>span{color:#cbb277}body .ad-house>strong{font-size:16px;font-weight:600}body .ad-house-action{font-size:11px;color:var(--muted)}
body .ad-wide .ad-house{flex-direction:row;gap:clamp(12px,3vw,36px);min-height:92px}
body .ad-slot.has-ad .ad-creative{height:auto!important;min-height:inherit;display:flex;align-items:center;justify-content:center;background:var(--panel)}
body .ad-slot.has-ad img{width:100%;height:auto;max-height:260px;object-fit:contain}
body .ad-box.has-ad img{max-height:none;aspect-ratio:11 / 8;object-fit:contain}
body[data-page-kind="index.php"] .content>.ad-reserved{order:initial}
body[data-section="home"] .content>[data-ad-slot="main_top"]{order:2}
body[data-section="home"] .content>[data-ad-slot="main_bottom"]{order:5}
body .hu-ad-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 18px 16px;flex-shrink:0}
body #modal:not(.hu-game-dialog)>.hu-ad-panels{display:none}
body .hu-ad-panels .ad-house{min-height:72px;flex-direction:column;gap:4px;padding:10px}
body .hu-ad-panels .ad-wide{min-height:72px}body .hu-ad-panels .ad-house>strong{font-size:13px}
body #ad-inquiry-dialog{width:min(540px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:0;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:10px}
body #ad-inquiry-dialog::backdrop{background:#0009}body .ad-inquiry-body{padding:18px}body .ad-inquiry-body form{display:block}body .ad-inquiry-body label{display:block;margin:12px 0 6px}body .ad-inquiry-body input:not([type="checkbox"]),body .ad-inquiry-body select,body .ad-inquiry-body textarea{width:100%;max-width:100%;box-sizing:border-box}body .ad-inquiry-body textarea{min-height:100px}body .ad-inquiry-body .muted{font-size:11px;line-height:1.7}
@media(max-width:1200px){body .content>.ad-reserved{display:block!important;flex:0 0 auto}body .ad-wide .ad-house{min-height:80px;flex-wrap:wrap;gap:6px 16px;padding:12px}body .ad-house-brand{font-size:12px}body .ad-house>strong{font-size:14px}body .ad-house-action{font-size:10px}body .hu-ad-panels{margin:10px;gap:8px}body .hu-ad-panels .ad-house-brand{font-size:10px}body .hu-ad-panels .ad-house>strong{font-size:12px}}

body .ad-box>.ad-house{position:absolute;inset:0}body #ad-inquiry-dialog>.modal-head{padding:16px 18px 0;margin-bottom:0}

body .content>.ad-reserved[data-ad-slot$="_top"]:not([data-ad-slot="main_top"]){order:-1}
body .content>.ad-reserved[data-ad-slot$="_bottom"]:not([data-ad-slot="main_bottom"]){order:99}

/* Temporary chat health notice stays above the message scroll area. */
body .chat-status-notice{flex:0 0 auto;margin:10px 10px 0;padding:9px 10px;border:1px solid #c99e48;border-radius:6px;background:var(--soft);color:var(--text);font-size:11px;line-height:1.6;overflow-wrap:anywhere}
body .chat-status-notice[hidden]{display:none!important}
body .chat-status-notice[data-state="offline"],body .chat-status-notice[data-state="read-error"],body .chat-status-notice[data-state="send-error"]{border-color:#cf7777}
body .chat-status-notice[data-state="recovered"]{border-color:#75a980}
/* 2026-10-29: compact comments and responsive content widths. */
body .thread-comment,body .thread-comment.is-reply{min-height:0;padding-block:10px;row-gap:5px;align-content:start}
body .comment-actions{padding-top:0;gap:14px}
body .comment-content p{line-height:1.55}
body .reply-editor:empty{display:none}
body .comment-mention{margin-bottom:3px}
body .reply-arrow{top:10px}
body main>.content,body main>.left-column,body main>.right-sidebar,body .content>*{min-width:0;max-width:100%;box-sizing:border-box}
body #board-page>.ad-reserved:first-child{margin-top:0}
body #market-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
body #market-overview .platform-summary{padding:9px 8px}
body #market-overview .platform-summary>span{font-size:11px}
body #market-overview .platform-summary>strong{font-size:16px;margin:4px 0}
body #market-overview .market-daily-change{font-size:10px}
#market-calc-swap{flex:none;border:1px solid var(--line);border-radius:5px;padding:7px 10px;font-size:20px;color:var(--ui-gold);background:var(--soft)}


@media(max-width:1200px){
 body .thread-comment,body .thread-comment.is-reply{row-gap:5px;padding-top:9px;padding-bottom:9px}
 body .comment-author{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
 body .comment-author time{margin:0;font-size:10px}
 body #board-page{padding-top:10px}
 body .board-table-row{grid-template-columns:minmax(0,1fr) 88px 42px;gap:4px}
 body #live.home-live.has-live .live-playlist{height:auto;max-height:none;overflow:visible}
 body #live.home-live.has-live .live-list{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;grid-auto-rows:auto;height:auto;max-height:none;overflow:visible;gap:6px}
 body #live.home-live .live-card:nth-child(n+4){display:none}
 body #live.home-live .live-card{min-width:0;height:auto}
 body #live.home-live .live-card img{width:100%;height:auto;aspect-ratio:16/9}
 body .tournament-home[data-layout="rows"] .tournament-table-scroll{height:auto;max-height:none;overflow:visible;overscroll-behavior:auto}
 body .tournament-home .tournament-sort-tools{display:none}
 body .tournament-home .tournament-table{display:table;min-width:0;width:100%;table-layout:fixed}
 body .tournament-home .tournament-table colgroup{display:table-column-group}
 body .tournament-home .tournament-table .tt-time{width:70px}
 body .tournament-home .tournament-table .tt-game{width:42px}
 body .tournament-home .tournament-table .tt-name{width:auto}
 body .tournament-home .tournament-table .tt-prize{width:64px}
 body .tournament-home .tournament-table .tt-state,body .tournament-home .tournament-table .tt-buyin,body .tournament-home .tournament-table .tt-entry{display:none}
 body .tournament-home .tournament-table thead{display:table-header-group;position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal}
 body .tournament-home .tournament-table tbody{display:table-row-group;width:auto}
 body .tournament-home .tournament-table tbody tr{display:table-row;height:auto;padding:0}
 body .tournament-home .tournament-table td,body .tournament-home .tournament-table th{display:table-cell;height:34px;padding:4px;border-top:1px solid var(--line);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:static}
 body .tournament-home .tournament-table .tt-status,body .tournament-home .tournament-table .tt-cost,body .tournament-home .tournament-table .tt-entrants{display:none}
 body .tournament-home .tournament-table .tt-mobile-game,body .tournament-home .tournament-table .tt-mobile-buyin{display:none}
 body .tournament-home .tournament-table .tt-title a{font-size:11px;line-height:20px}
 body .tournament-home .tournament-table .tt-title a:after{display:none}
 body .tournament-home .tournament-table .tt-clock{text-align:left;font-size:9px}
 body .tournament-home .tournament-table .tt-clock time{font-size:11px;line-height:16px}
 body .tournament-home .tournament-table .tt-clock .tournament-timer-label{display:block;font-size:8px}
 body .tournament-home .tournament-table .tt-award{font-size:10px;text-align:right}
}
body .tournament-home .tournament-table th:nth-child(2){white-space:normal}
@media(max-width:1200px){body .tournament-home .tournament-table th:nth-child(2),body .tournament-home .tournament-table th:nth-child(5),body .tournament-home .tournament-table th:nth-child(6){display:none}}
body #market-overview .platform-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 4px}
body #market-overview .platform-summary .market-daily-change{grid-column:1/-1;justify-self:end}
/* JS measures desktop row heights; mobile must retain natural document height. */
@media(max-width:1200px){body .tournament-home[data-layout="rows"] .tournament-table-scroll{max-height:none!important}}
/* One mobile layout through tablet widths; no intermediate desktop rail. */
@media(max-width:1200px){
 body main{display:flex!important;flex-direction:column!important;padding-inline:10px!important}
 body main>.content{width:100%;margin:0!important;display:flex;flex-direction:column;align-items:stretch}
 body main>.left-column,body main>.right-sidebar{display:none!important}
 body[data-mobile-view="chat"] main>.left-column{display:flex!important;width:100%}
 body #market-overview,body #market-calculator,body #market{width:100%;align-self:stretch}
 body #market-overview{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch}
 body .board-table-row{grid-template-columns:minmax(0,1fr) 76px;grid-template-rows:auto auto;gap:3px 8px}
 body .board-table-row>.board-table-subject{grid-column:1/-1;grid-row:1;font-size:13px}
 body .board-table-row>.author-menu,body .board-table-row>.board-author{grid-column:1;grid-row:2;justify-self:start}
 body .board-table-row>.author-menu summary{justify-content:flex-start}
 body .board-table-row>time{grid-column:2;grid-row:2;width:76px;min-width:76px;overflow:visible;text-overflow:clip;white-space:nowrap;font-size:10px;text-align:right}
 body .tournament-home .tournament-table{table-layout:auto;width:100%}
 body .tournament-home .tournament-table colgroup{display:none}
 body .tournament-home .tournament-table th:nth-child(3),body .tournament-home .tournament-table .tt-company{display:none}
 body .tournament-home .tournament-table th:first-child,body .tournament-home .tournament-table .tt-clock{width:70px}
 body .tournament-home .tournament-table th:last-child,body .tournament-home .tournament-table .tt-award{width:82px;max-width:82px}
 body .tournament-home .tournament-table .tt-title{width:auto;max-width:none;padding-left:25px!important;white-space:normal}
 body .tournament-home .tournament-table .tt-title a{display:block;width:100%;white-space:normal;line-height:1.4}
 body .tournament-home .tournament-table .tt-name-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow:hidden;font-size:12px}
 body .tournament-home .tournament-table td,body .tournament-home .tournament-table th{height:auto;min-height:34px;padding-block:6px}
}
@media(max-width:1200px){body .tournament-home .tournament-table-scroll{max-height:none!important;height:auto;overflow:visible}}

body .ad-slot[hidden]{display:none!important}

/* Tournament merit uses the existing link hover color on event names only. */
body .tournaments .tournament-merit .tournament-event-name{color:var(--blue)}

/* Keep the GTD multiple at the far right of the event name area. */
body .tournaments .tournament-name-line{display:flex;align-items:center;gap:6px;min-width:0;width:100%}
body .tournaments .tournament-name-line .tournament-event-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .tournaments .tournament-gtd-ratio{flex:none;margin-left:auto;text-align:right;white-space:nowrap;font-size:10px;font-weight:500;color:var(--muted)}
body .tournaments .tournament-gtd-ratio[hidden]{display:none}
body .tournaments .tt-name-text{display:block;-webkit-line-clamp:unset;min-width:0}
body .tournaments .tournament-card h3,body .tournaments .tournament-row h3{display:flex;align-items:center;gap:5px;min-width:0}
body .tournaments .tournament-card h3>a{flex:1;min-width:0}
@media(max-width:1200px){body .tournaments .tournament-name-line .tournament-event-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal}}

/* The ratio is a separate flex item at the td content edge, outside title text. */
body .tournaments .tournament-table td.tt-title>a{display:flex;width:100%;min-width:0;align-items:center;gap:6px}
body .tournaments .tournament-table td.tt-title>a>.tt-name-text{display:block;flex:1 1 0;min-width:0;width:0;overflow:hidden;-webkit-line-clamp:unset}
body .tournaments .tournament-table td.tt-title>a>.tournament-gtd-ratio{flex:0 0 auto;margin-left:auto;text-align:right}

/* Narrow fixed time/prize columns and a separate, meaningful ratio column. */
body .tournaments .tournament-table{min-width:700px}
body .tournaments .tournament-table col.tt-time{width:66px}
body .tournaments .tournament-table col.tt-prize{width:64px}
body .tournaments .tournament-table col.tt-ratio{width:62px}
body .tournaments .tournament-table td.tt-clock,body .tournaments .tournament-table th:first-child{padding-inline:4px}
body .tournaments .tournament-table td.tt-clock time{font-size:10px;letter-spacing:0;white-space:normal}
body .tournaments .tournament-table td.tt-award,body .tournaments .tournament-table td.tt-ratio-cell,body .tournaments .tournament-table th.tt-ratio-heading{padding-inline:4px}
body .tournaments .tournament-table td.tt-ratio-cell{text-align:right;font-size:10px;color:var(--muted)}
body .tournaments .tournament-table th.tt-ratio-heading{white-space:normal;line-height:1.2;font-size:9px}
body .tournaments .tournament-table .tournament-prize-viewport{display:block;width:100%;min-width:0;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:clip;outline-offset:-1px}
body .tournaments .tournament-table .tournament-prize-track{display:inline-block;min-width:100%;width:max-content;white-space:nowrap;text-align:right}
body .tournaments .tournament-table .tournament-prize-viewport.is-overflowing .tournament-prize-track{animation:tournament-prize-slide var(--prize-duration,8s) linear infinite alternate}
@keyframes tournament-prize-slide{0%,15%{transform:translateX(0)}85%,100%{transform:translateX(var(--prize-shift,0px))}}
@media(prefers-reduced-motion:reduce){body .tournaments .tournament-table .tournament-prize-viewport{overflow-x:auto;scrollbar-width:thin}body .tournaments .tournament-table .tournament-prize-viewport.is-overflowing .tournament-prize-track{animation:none;transform:none}}
@media(max-width:1200px){
 body .tournaments:not(.tournament-home) .tournament-table{min-width:0}
 body .tournaments:not(.tournament-home) .tournament-table tbody tr{grid-template-columns:minmax(0,1fr) 64px 58px;grid-template-areas:"name clock ratio" "status prize ratio";gap:2px 5px}
 body .tournaments:not(.tournament-home) .tournament-table td.tt-ratio-cell{grid-area:ratio;align-self:center;display:block;text-align:right}
 body .tournaments:not(.tournament-home) .tournament-table .tt-clock time{font-size:10px}
 body .tournaments:not(.tournament-home) .tournament-table .tt-award{font-size:10px}
 body .tournament-home .tournament-table{min-width:0;table-layout:fixed}
 body .tournament-home .tournament-table colgroup{display:table-column-group}
 body .tournament-home .tournament-table col.tt-time{width:58px}
 body .tournament-home .tournament-table col.tt-state,body .tournament-home .tournament-table col.tt-game,body .tournament-home .tournament-table col.tt-buyin,body .tournament-home .tournament-table col.tt-entry{display:none}
 body .tournament-home .tournament-table col.tt-prize{width:60px}
 body .tournament-home .tournament-table col.tt-ratio{width:54px}
 body .tournament-home .tournament-table td.tt-clock,body .tournament-home .tournament-table th:first-child{width:58px;max-width:58px}
 body .tournament-home .tournament-table td.tt-award{width:60px;max-width:60px}
 body .tournament-home .tournament-table td.tt-ratio-cell,body .tournament-home .tournament-table th.tt-ratio-heading{display:table-cell;width:54px;max-width:54px}
 body .tournament-home .tournament-table .tournament-timer-label{font-size:7px}
}

@media(max-width:1200px){body .tournament-home .tournament-table colgroup{display:none}body .tournament-home .tournament-table th:nth-child(7){width:60px;max-width:60px}}

.tournament-alert-preferences{font-size:11px;margin:5px 0 8px;color:var(--muted)}
.tournament-alert-preferences[hidden]{display:none}.tournament-alert-preferences summary{cursor:pointer;padding:5px 0;color:var(--text)}
.tournament-alert-preferences>div{display:flex;flex-wrap:wrap;gap:8px 12px;padding:9px;border:1px solid var(--line);border-radius:5px;background:var(--panel)}
.tournament-alert-preferences label{display:flex;align-items:center;gap:5px}.tournament-alert-preferences input[type=checkbox]{width:auto}.tournament-alert-preferences input[type=number]{width:85px}.tournament-alert-preferences input,.tournament-alert-preferences select{font-size:11px;padding:4px}.tournament-alert-preferences small{flex-basis:100%;font-size:10px;line-height:1.6}
.tournament-event-toasts{position:fixed;right:16px;bottom:18px;z-index:1200;display:flex;flex-direction:column;gap:9px;width:min(280px,calc(100vw - 24px));pointer-events:none}
.tournament-event-toast{position:relative;padding:13px 36px 13px 14px;border:1px solid var(--brand-gold,var(--line));border-radius:7px;background:var(--panel);color:var(--text);box-shadow:0 5px 22px #0005;pointer-events:auto;animation:tournament-toast-enter .2s ease-out}
.tournament-event-toast>a{display:block;font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;color:var(--blue)}.tournament-event-toast>p{font-size:11px;line-height:1.6;margin:5px 0 0;overflow-wrap:anywhere}.tournament-event-toast>button{position:absolute;right:3px;top:3px;padding:5px 8px;font-size:18px;line-height:1}
@keyframes tournament-toast-enter{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:1200px){.tournament-event-toasts{right:10px;bottom:calc(72px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.tournament-event-toast{animation:none}}

/* A little more room for cash prizes and ticket text. */
body .tournaments .tournament-table col.tt-prize{width:82px}
@media(max-width:1200px){
 body .tournaments:not(.tournament-home) .tournament-table tbody tr{grid-template-columns:minmax(0,1fr) 82px 58px}
 body .tournament-home .tournament-table col.tt-prize{width:76px}
 body .tournament-home .tournament-table td.tt-award,body .tournament-home .tournament-table th:nth-child(7){width:76px;max-width:76px}
}

/* Mobile list: keep the prize on the right, move the ratio beside entry metadata. */
.tt-mobile-ratio{display:none}
.tournament-loading{display:flex;justify-content:center;align-items:center;min-height:100px}
.tournament-loading-spinner{display:block;width:26px;height:26px;border:2px solid var(--line);border-top-color:var(--blue);border-radius:50%;animation:tournament-loading-spin .8s linear infinite}
@keyframes tournament-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.tournament-loading-spinner{animation:none;border-style:dotted}}
@media(max-width:1200px){
 body .tournaments:not(.tournament-home) .tournament-table tbody tr{grid-template-columns:minmax(0,1fr) 82px;grid-template-areas:"name clock" "status prize"}
 body .tournaments:not(.tournament-home) .tournament-table td.tt-ratio-cell,body .tournaments:not(.tournament-home) .tournament-table th.tt-ratio-heading,body .tournaments:not(.tournament-home) .tournament-table col.tt-ratio{display:none!important}
 body .tournaments:not(.tournament-home) .tt-mobile-ratio{display:inline-flex;align-items:center;margin-left:6px;vertical-align:baseline;max-width:100%}
 body .tournaments:not(.tournament-home) .tt-mobile-ratio .tournament-gtd-ratio{font-size:9px;line-height:1.3;white-space:nowrap}
 body .tournaments:not(.tournament-home) .tt-status{min-width:0}
}

/* Tournament toast: muted warm-grey surface, charcoal badge and restrained gold action. */
body .tournament-event-toasts{gap:11px}
body .tournament-event-toast{display:flex;flex-direction:column;gap:12px;min-height:170px;padding:17px 16px 14px;border:1px solid #b9b1a3;border-radius:11px;background:linear-gradient(145deg,#e5e0d7 0%,#d7d1c6 100%);color:#2c2b25;box-shadow:inset 0 1px 0 #f2ece0,0 5px 12px #0002,0 18px 40px #0004;font-family:'Noto Sans KR','DM Sans',sans-serif;text-align:left}
body .tournament-toast-meta{display:flex;align-items:center;gap:8px;min-height:22px;padding-right:24px}
body .tournament-toast-kind{display:inline-flex;align-items:center;padding:4px 8px;border:1px solid #4c493f;border-radius:5px;background:#3d3b34;color:#e7d3aa;font-size:10px;font-weight:600;line-height:1.3;letter-spacing:.1px}
body .tournament-toast-game{color:#6c685f;font-size:10px;font-weight:500;line-height:1.4}
body .tournament-event-toast>a:not(.tournament-toast-action){display:block;max-width:100%;color:#2b2a24;font-size:13px;font-weight:700;line-height:1.6;letter-spacing:-.25px;margin:0;text-decoration:none;overflow-wrap:anywhere}
body .tournament-event-toast>a:not(.tournament-toast-action):hover{color:#6b5129;text-decoration:underline;text-underline-offset:3px}
body .tournament-event-toast>p{color:#625e55;font-size:12px;font-weight:400;line-height:1.75;margin:0;padding:0;border:0;overflow-wrap:anywhere}
body .tournament-event-toast>a.tournament-toast-action{display:flex;align-items:center;justify-content:space-between;align-self:stretch;margin-top:2px;padding:9px 11px;border:1px solid #b7a98e;border-radius:6px;background:#cfc3ac;color:#594522;font-size:11px;font-weight:600;line-height:1.4;text-decoration:none;transition:background .15s ease,border-color .15s ease}
body .tournament-event-toast>a.tournament-toast-action:hover{background:#c4b493;border-color:#a58d62;color:#3d2d15}
body .tournament-event-toast>button{display:grid;place-items:center;position:absolute;right:9px;top:12px;width:24px;height:24px;min-height:0;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#827c70;box-shadow:none;font-size:19px;font-weight:400;line-height:1}
body .tournament-event-toast>button:hover{background:#c9c2b5;border-color:#b8ae9d;color:#3b382f}
body .tournament-event-toast a:focus-visible,body .tournament-event-toast button:focus-visible{outline:2px solid #856633;outline-offset:3px}
@media(prefers-reduced-motion:reduce){body .tournament-event-toast>a.tournament-toast-action{transition:none}}

/* Home has a fixed row count and needs no nested scroll container. */
body .tournament-home[data-layout="rows"] .tournament-table-scroll{height:auto;max-height:none!important;overflow:visible;overscroll-behavior:auto}
body .tournament-home .tournament-table{min-width:0;width:100%}

/* Mobile favorite alerts stay compact and centered above the bottom navigation. */
@media(max-width:1200px){
 body .tournament-event-toasts{left:50%;right:auto;bottom:calc(72px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(460px,calc(100vw - 28px));gap:6px}
 body .tournament-event-toast{display:flex;flex-direction:row;align-items:center;gap:7px;min-height:0;padding:9px 30px 9px 11px;border-radius:8px;box-shadow:0 4px 18px #0004}
 body .tournament-event-toast .tournament-toast-meta,body .tournament-event-toast>a.tournament-toast-action{display:none}
 body .tournament-event-toast>a:not(.tournament-toast-action){flex:0 1 36%;min-width:0;font-size:10px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
 body .tournament-event-toast>p{flex:1 1 0;min-width:0;font-size:10px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
 body .tournament-event-toast>button{top:50%;right:3px;transform:translateY(-50%);width:24px;height:28px;font-size:17px}
}

/* Desktop alerts use a single compact horizontal row. */
@media(min-width:1201px){
 body .tournament-event-toasts{width:min(460px,calc(100vw - 32px));gap:7px}
 body .tournament-event-toast{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:0;padding:10px 32px 10px 12px;border-radius:7px;background:#ddd7cc;box-shadow:0 4px 18px #0004}
 body .tournament-event-toast .tournament-toast-meta,body .tournament-event-toast>a.tournament-toast-action{display:none}
 body .tournament-event-toast>a:not(.tournament-toast-action){flex:0 1 40%;min-width:0;font-size:11px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
 body .tournament-event-toast>p{flex:1 1 0;min-width:0;font-size:11px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
 body .tournament-event-toast>button{top:50%;right:4px;transform:translateY(-50%);width:24px;height:28px;font-size:18px}
}


/* Compact mobile forum rows: subject, author, short date/time. */
@media(max-width:1200px){
 body[data-page-kind="board.php"] main{padding-inline:6px!important}
 body[data-page-kind="board.php"] #board-page{padding-inline:8px}
 body #board-page .board-table-row{grid-template-columns:minmax(0,1fr) 76px 38px;grid-template-rows:auto;column-gap:6px;padding-inline:0}
 body #board-page .board-table-row>.board-table-subject{grid-column:1;grid-row:1;min-width:0;font-size:12px}
 body #board-page .board-table-row>.board-table-subject .post-list-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;-webkit-line-clamp:unset}
 body #board-page .board-table-row>.author-menu,body #board-page .board-table-row>.board-author{grid-column:2;grid-row:1;justify-self:stretch;min-width:0;font-size:10px}
 body #board-page .board-table-row>.author-menu summary{justify-content:flex-start;min-width:0;overflow:hidden}
 body #board-page .board-table-row>.author-menu .forum-author-label{min-width:0;max-width:100%;overflow:hidden}
 body #board-page .board-table-row>time{grid-column:3;grid-row:1;width:38px;min-width:0;font-size:10px;text-align:right;white-space:nowrap}
}
@media(max-width:380px){body #board-page .board-table-row{grid-template-columns:minmax(0,1fr) 64px 36px;column-gap:4px}body #board-page .board-table-row>time{width:36px}}

/* 2026-10-31: forum comments, author column and member menu. */
body .thread-comment,body .thread-comment.is-reply{grid-template-columns:100px minmax(0,1fr);column-gap:16px;row-gap:10px;min-height:94px;padding:12px 8px;align-content:space-between;border-top:1px solid var(--line)}
body .thread-comment.is-reply{padding-left:28px}
body .comment-author{display:block;min-width:0;grid-column:1;grid-row:1 / span 2}
body .comment-author time{display:block;margin:4px 0 0;font-size:10px;line-height:1.4;white-space:nowrap}
body .comment-author strong{font-size:12px;font-weight:400;min-width:0}
body .comment-member-menu{display:block;max-width:100%}
body .comment-member-menu summary{padding:0;min-width:0;justify-content:flex-start}
body .comment-member-menu summary strong{display:flex;max-width:100%}
body .comment-member-menu[open]{z-index:8}
body .comment-member-menu>div{left:0;right:auto;min-width:130px;display:flex;flex-direction:column;align-items:stretch;gap:2px}
body .comment-member-menu>div>a,body .comment-member-menu>div>button{text-align:left;font-size:12px;padding:6px 4px;color:var(--text)}
body .comment-content{grid-column:2;grid-row:1;min-width:0}
body .comment-content p{line-height:1.6}
body .comment-actions{grid-column:2;grid-row:2;flex-wrap:wrap;justify-content:flex-end;gap:18px;padding:4px 0 0}
body .comment-actions button{font-size:11px;line-height:1.5;padding:3px 0}
body .comment-actions svg{width:15px;height:15px}
body .reply-editor{grid-column:2;grid-row:3}
body .reply-arrow{top:10px;left:6px;font-size:17px}
@media(max-width:600px){
 body .thread-comment,body .thread-comment.is-reply{grid-template-columns:minmax(0,1fr);min-height:0;row-gap:9px;padding-top:12px;padding-bottom:12px}
 body .comment-author{grid-column:1;grid-row:1;display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}
 body .comment-author time{margin:0}
 body .comment-content{grid-column:1;grid-row:2}
 body .comment-actions{grid-column:1;grid-row:3;gap:16px}
 body .reply-editor{grid-column:1;grid-row:4}
}

/* Deleted parent keeps its author/date and occupies one compact row. */
body .thread-comment.is-deleted{min-height:0;align-content:start;row-gap:0;padding-top:10px;padding-bottom:10px;border-top-style:dashed}
body .thread-comment.is-deleted .comment-author{grid-row:1}
body .thread-comment.is-deleted .comment-content p{font-size:12px;color:var(--muted)}
@media(max-width:600px){body .thread-comment.is-deleted{row-gap:7px}body .thread-comment.is-deleted .comment-content{grid-row:2}}

/* Mobile drawer: a dedicated login page and opt-in member shortcuts. */
.drawer-account{display:none}
.drawer-login{display:block;margin:16px 0;text-align:center;padding:12px}
.drawer-login[hidden],.drawer-member[hidden]{display:none!important}
.drawer-member>summary{padding:16px 0;cursor:pointer;font-weight:600}
.drawer-member .drawer-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.drawer-member .drawer-actions>*{min-width:0;overflow-wrap:anywhere}
.drawer-scroll{min-height:0;min-width:0;overflow-x:hidden}
.login-page{width:100%;max-width:420px;margin:0 auto;box-sizing:border-box}
#page-login{display:flex;flex-direction:column;gap:12px}
#page-login>input{width:100%;min-width:0;box-sizing:border-box}
.login-page-help{display:flex;flex-wrap:wrap;gap:12px}
@media(max-width:1200px){
 body[data-section="login"] main>.content>.login-page{display:block!important}
 body[data-section="login"] main>.content{display:block!important;min-width:0;width:100%}
 body[data-section="tournaments"] main,body[data-section="tournaments"] main>.content{min-width:0;max-width:100%;box-sizing:border-box}
 body .tournaments .tournament-list-tools,body .tournaments .tournament-list-search{min-width:0;max-width:100%;box-sizing:border-box}
 body .tournaments .tournament-sort-tools{min-width:0;max-width:100%}
 body .tournaments .tournament-row{height:auto;min-height:128px;max-height:none;grid-template-rows:auto auto auto;box-sizing:border-box;width:100%}
 body .tournaments .tournament-row h3{height:auto;min-height:20px}
 body .tournaments .tournament-row .tournament-lobby-main{grid-template-columns:minmax(0,1fr);height:auto;gap:6px}
 body .tournaments .tournament-lobby-progress{height:auto;grid-template-rows:20px auto}
 body .tournaments .tournament-banner-clock{height:auto;overflow:visible}
 body .tournaments .tournament-banner-clock time{font-size:clamp(20px,6vw,27px);letter-spacing:0;line-height:1.4;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
 body .tournaments .tournament-lobby-rewards{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:space-between;height:auto;gap:4px 12px;text-align:left}
 body .tournaments .tournament-row>.tournament-lobby-entry{height:auto;white-space:normal}
}

/* Tournament list status sits immediately before entries. */
.tournaments:not(.tournament-home) .tournament-table th:has([data-tournament-sort="status"]),.tournaments:not(.tournament-home) .tournament-table td.tt-status{text-align:left}

/* One segmented view toggle, with status and entries on the same mobile line. */
body .tournaments .tournament-view-switch{gap:0}
body .tournaments .tournament-view-switch button{position:relative;min-width:64px;padding:6px 12px;border:1px solid var(--line);border-radius:0;background:var(--soft);color:var(--muted);transition:background .15s,color .15s,box-shadow .15s}
body .tournaments .tournament-view-switch button:first-child{border-radius:18px 0 0 18px}
body .tournaments .tournament-view-switch button:last-child{margin-left:-1px;border-radius:0 18px 18px 0}
body .tournaments .tournament-view-switch button[aria-pressed="true"]{z-index:1;background:var(--text);color:var(--bg);border-color:var(--text);font-weight:700}
body .tournaments .tournament-view-switch button:focus-visible{z-index:2;outline:2px solid var(--blue);outline-offset:3px}
@media(max-width:1200px){
 body .tournaments:not(.tournament-home) .tournament-table td.tt-status{display:flex;align-items:baseline;gap:6px;flex-wrap:nowrap}
 body .tournaments:not(.tournament-home) .tournament-table td.tt-status>span{display:inline;flex:0 0 auto;max-width:100%;line-height:16px}
 body .tournaments:not(.tournament-home) .tournament-table td.tt-status>span:first-child{flex:0 1 auto;min-width:0}
}

@media(max-width:1200px){
 body .tournaments[data-mode="list"] .tournament-sort-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 6px}
 body .tournaments[data-mode="list"] .tournament-time-modes{grid-column:1;grid-row:1;min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:3px}
 body .tournaments[data-mode="list"] .tournament-time-modes::-webkit-scrollbar{display:none}
 body .tournaments[data-mode="list"] .tournament-time-modes button{font-size:10px;min-height:25px;padding:3px 5px}
 body .tournaments[data-mode="list"] .tournament-sort-tools>.tournament-view-switch{grid-column:2;grid-row:1;margin:0;width:auto}
 body .tournaments[data-mode="list"] .tournament-view-switch button{font-size:10px;min-width:46px;min-height:25px;padding:3px 7px;line-height:17px}
 body .tournaments[data-mode="list"] .tournament-sort-tools>.tournament-sort-mobile{grid-column:1/-1;grid-row:2;min-width:0}
}

/* Compact mobile rows: one-line title with separate, non-overlapping metadata. */
@media(max-width:1200px){
 body .tournaments[data-mode="list"] .tournament-table tbody tr{height:auto;min-height:64px;grid-template-rows:minmax(28px,auto) minmax(26px,auto);row-gap:2px;align-items:start;padding-top:3px;padding-bottom:3px}
 body .tournaments[data-mode="list"] .tournament-table td.tt-title{align-self:start;overflow:hidden}
 body .tournaments[data-mode="list"] .tournament-table td.tt-title a{font-size:11px;line-height:16px;align-items:flex-start}
 body .tournaments[data-mode="list"] .tournament-table .tt-mobile-game{display:block;font-size:8px;line-height:12px;margin:0}
 body .tournaments[data-mode="list"] .tournament-table .tournament-name-line{align-items:flex-start;line-height:16px}
 body .tournaments[data-mode="list"] .tournament-table .tournament-event-name{display:block;white-space:nowrap;line-height:16px;max-height:16px;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:unset}
 body .tournaments[data-mode="list"] .tournament-table td.tt-clock{align-self:start;padding-top:12px}
 body .tournaments[data-mode="list"] .tournament-table td.tt-status{align-self:start;overflow:hidden;line-height:13px;font-size:9px}
 body .tournaments[data-mode="list"] .tournament-table td.tt-status>span{line-height:13px}
 body .tournaments[data-mode="list"] .tournament-table td.tt-award{align-self:start;min-width:0;overflow:hidden;line-height:13px}
 body .tournaments[data-mode="list"] .tournament-table .tt-mobile-buyin,body .tournaments[data-mode="list"] .tournament-table .tt-prize-value{line-height:13px}
}

/* Align buy-in labels and values with the right edge of their field. */
body .tournaments .tournament-table td.tt-cost,
body .tournaments .tournament-table th:has([data-tournament-sort="buyIn"]),
body .tournaments .tournament-table .tt-mobile-buyin{text-align:right}

@media(min-width:1201px){body .tournaments .tournament-table col.tt-buyin{width:70px}}

/* Mobile forum list/detail share one outer gutter instead of a nested panel. */
@media(max-width:1200px){
 body:is([data-page-kind="board.php"],[data-page-kind="post.php"]) main{padding:8px!important}
 body:is([data-page-kind="board.php"],[data-page-kind="post.php"]) #board-page.panel{padding:0;margin:0;min-height:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
 body:is([data-page-kind="board.php"],[data-page-kind="post.php"]) #board-page .board-nav{padding-bottom:10px}
 body[data-page-kind="post.php"] #board-page .post-detail-heading{margin-top:8px;padding-top:8px}
}

/* Give mobile favorite taps room without clipping or a stretched detail link over them. */
@media(max-width:1200px){
 body .tournaments[data-mode="list"] .tournament-table td.tt-title{overflow:visible;padding-left:38px!important}
 body .tournaments[data-mode="list"] .tournament-table td.tt-title>.tournament-favorite{width:36px;height:36px;min-height:36px;left:0;top:50%;transform:translateY(-50%);margin:0;z-index:3;touch-action:manipulation}
 body .tournaments[data-mode="list"] .tournament-table td.tt-title>a:after{content:none}
 body .tournaments .tournament-card-item>.tournament-favorite{width:36px;height:36px;min-height:36px;top:2px;right:2px;touch-action:manipulation}
 body .tournaments .tournament-card-item h3{padding-right:36px}
}

/* post-content.css */
/* Shared typography for authoring and published post content. */
body :is(.post-editor-content,.post-detail .rich-post-body){font-family:'DM Sans','Noto Sans KR',sans-serif;font-size:14px;font-weight:400;font-style:normal;line-height:1.7;letter-spacing:normal;white-space:pre-wrap!important;overflow-wrap:anywhere;word-break:normal;text-align:start;color:var(--text)}
body :is(.post-editor-content,.post-detail .rich-post-body) :is(p,div:not([class])){margin:0;padding:0}
body :is(.post-editor-content,.post-detail .rich-post-body) :is(h1,h2,h3,h4,h5,h6){margin:.6em 0 .3em;padding:0;font-family:inherit;font-weight:700;line-height:1.7;letter-spacing:normal;color:inherit}
body :is(.post-editor-content,.post-detail .rich-post-body) h1{font-size:2em}
body :is(.post-editor-content,.post-detail .rich-post-body) h2{font-size:1.6em}
body :is(.post-editor-content,.post-detail .rich-post-body) h3{font-size:1.35em}
body :is(.post-editor-content,.post-detail .rich-post-body) h4{font-size:1.2em}
body :is(.post-editor-content,.post-detail .rich-post-body) h5{font-size:1.1em}
body :is(.post-editor-content,.post-detail .rich-post-body) h6{font-size:1em}
body :is(.post-editor-content,.post-detail .rich-post-body) :is(ul,ol){margin:0;padding:0 0 0 1.8em}
body :is(.post-editor-content,.post-detail .rich-post-body) ul{list-style:disc}
body :is(.post-editor-content,.post-detail .rich-post-body) ol{list-style:decimal}
body :is(.post-editor-content,.post-detail .rich-post-body) li{display:list-item;margin:0;padding:0;list-style:inherit}
body :is(.post-editor-content,.post-detail .rich-post-body) blockquote:not([class]){margin:0;padding:0 0 0 1em;border-left:3px solid var(--line,#444)}
body :is(.post-editor-content,.post-detail .rich-post-body) :is(b,strong){font-weight:700}
body :is(.post-editor-content,.post-detail .rich-post-body) :is(i,em){font-size:inherit;font-style:italic;color:inherit;background:transparent;width:auto;height:auto;border-radius:0}
body :is(.post-editor-content,.post-detail .rich-post-body) a{color:#8bb8ee;text-decoration:underline}
body :is(.post-editor-content img[data-post-image],.post-detail .rich-post-body img.post-inline-image){display:block;max-width:100%;max-height:none;height:auto;margin:12px auto;object-fit:contain}

/* Mobile authoring uses the same available line width as the published body. */
@media(max-width:1200px){
 body #page-post-form .post-editor{border-inline:0;border-radius:0}
 body #page-post-form .post-editor-content{padding-inline:0;max-height:none;overflow:visible}
 body :is(.post-editor-content,.post-detail .rich-post-body){-webkit-text-size-adjust:100%;text-size-adjust:100%}
}

/* Tables share identical authoring/published styles; narrow screens scroll inside the table. */
body :is(.post-editor-content,.post-detail .rich-post-body) table{display:block;width:100%;max-width:100%;margin:12px 0;overflow-x:auto;overscroll-behavior-x:contain;border-collapse:collapse;white-space:normal;font:inherit;color:inherit;text-align:left}
body :is(.post-editor-content,.post-detail .rich-post-body) :is(td,th){min-width:80px;max-width:360px;padding:9px 10px;border:1px solid var(--line,#444);vertical-align:top;white-space:normal;overflow-wrap:anywhere;word-break:normal;font:inherit;line-height:1.7;text-align:inherit}
body :is(.post-editor-content,.post-detail .rich-post-body) th{font-weight:700;background:var(--soft,#1b212b)}
body :is(.post-editor-content,.post-detail .rich-post-body) caption{text-align:left;font-weight:700;padding:6px 0}

/* Clear boundary between the translated article and its full original. */
body .post-detail .rich-post-body h3.pb-news-original-divider{display:block;margin:64px 0 32px;padding:16px 18px;border-top:4px solid var(--text);border-bottom:1px solid var(--line);background:var(--soft);color:var(--text);font-size:18px;font-weight:800;line-height:1.5;white-space:normal}

/* Unified outline toolbar icons. */
body .post-editor-toolbar button.post-editor-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;min-width:34px;height:34px;padding:7px;border-radius:7px;vertical-align:middle} body .post-editor-icon svg{display:block;flex-shrink:0;pointer-events:none} body .post-editor-toolbar button.post-editor-icon:hover{background:var(--soft,#7773);color:var(--accent,#d6b478)} body .post-editor-toolbar button.post-editor-icon:focus-visible{outline:2px solid var(--accent,#d6b478);outline-offset:-2px}
