/* Game pages: large real media, a compact play rail, and clear discussion tabs. */
.game-detail{--detail-ink:#233f35;--detail-muted:#52665a;color:var(--detail-ink)}
.game-detail .back{font-size:13px;color:var(--detail-muted);margin-bottom:22px;min-height:24px}
.game-detail .detail-head{padding:0 0 26px;background:none;border:0;border-radius:0;gap:18px;align-items:center;margin:0}
.game-detail .detail-head>.thumb{width:76px;height:76px;border-radius:12px;object-fit:cover;flex:none}
.game-detail .detail-identity{flex:1}.game-detail .detail-identity h1{font-size:32px;line-height:1.2;letter-spacing:-.8px;color:#173f35;margin:0 0 8px;font-weight:800}
.game-detail .detail-identity>p{font-size:15px;color:var(--detail-muted);line-height:1.6;max-width:70ch}
.detail-tags{display:flex;flex-wrap:wrap;gap:7px 16px;margin-top:12px;font-size:12px;color:#52665a}
.detail-tags span+span{position:relative}.detail-tags span+span:before{content:'';position:absolute;left:-9px;top:7px;width:2px;height:2px;background:#819080;border-radius:50%}
.detail-head-actions{display:flex;gap:8px;align-self:flex-start;padding-top:4px}.detail-head-actions .secondary{display:inline-flex;align-items:center;gap:6px;font-size:13px;min-height:42px}
.game-detail svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex:none}
.game-detail .detail-columns{grid-template-columns:minmax(0,1fr) 292px;gap:32px;margin:0;align-items:start}
.game-detail .detail-main{padding:0;border:0;border-radius:0;background:none;min-width:0}
.detail-tabs{display:flex;gap:26px;border-bottom:1px solid #ccd6c8;margin-bottom:24px;overflow:auto;scrollbar-width:thin;scrollbar-color:#bbc9b5 transparent}
.detail-tabs [role=tab]{color:#52665a;font-size:14px;font-weight:650;white-space:nowrap;border-bottom:3px solid transparent;min-height:50px;display:flex;align-items:center;gap:7px;padding:12px 0}
.detail-tabs [role=tab].active{color:#173f35;border-bottom-color:#173f35}.detail-tabs button:hover{color:#173f35}
.detail-tabs button>span{font-size:11px;font-weight:500;border:1px solid #d9e0d2;min-width:21px;padding:0 5px;line-height:20px;border-radius:5px;color:#52665a;text-align:center;font-variant-numeric:tabular-nums}
.game-detail [role=tabpanel]{outline:none;min-width:0}.game-detail :is(button,a,input,textarea,select):focus-visible{outline:2px solid #9b5427;outline-offset:3px}
.detail-media{margin:0}.game-detail .detail-preview,.game-detail .detail-screen,.detail-media-empty{width:100%;height:auto;aspect-ratio:16/10;max-height:none;border-radius:12px;background:#202c29;border:1px solid #cdd7c7;padding:0;overflow:hidden}
.game-detail .detail-preview video{width:100%;height:100%;object-fit:contain;background:#202c29}
.game-detail .detail-preview>button{inset:0;padding:0;border:0;background:none;border-radius:0;width:100%;height:100%;min-height:44px;white-space:normal}
.game-detail .detail-preview .preview-kind{top:16px;left:16px;background:#fffef3;color:#233f35;font-size:11px;padding:5px 9px;border-radius:4px}
.game-detail .detail-preview .preview-mark{width:48px;height:48px;top:auto;right:18px;bottom:18px;border-radius:50%;background:#fffef3;color:#173f35;font-size:19px;display:grid;place-items:center}
.game-detail .detail-preview .preview-hint{left:16px;bottom:18px;padding:8px 12px;font-size:12px;line-height:1.5;background:#173f35;color:#fffef3;border-radius:4px}
.game-detail .detail-preview.playing{outline:0}.detail-media figcaption{font-size:11px;line-height:1.65;color:#52665a;margin:10px 0 0}
.detail-media-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#e5eadf;color:#52665a;gap:8px;text-align:center;padding:24px}.detail-media-empty p{font-size:16px;margin:0}.detail-media-empty span{font-size:12px}
.detail-explainer,.detail-section{margin-top:28px;padding:26px;background:#fffef9;border:1px solid #dbe0d5;border-radius:12px}
#game-detail-panel>.detail-section:first-child{margin-top:0}.detail-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}
.detail-section-heading h2{font-size:20px;line-height:1.4;letter-spacing:-.4px;margin:0;font-weight:750;color:#173f35}.detail-section-heading h2>span{font-size:14px;font-weight:500;color:#52665a;margin-left:6px}
.detail-section-heading p{font-size:13px;line-height:1.7;color:#52665a;margin:7px 0 0}
.detail-text-link{display:inline-flex;align-items:center;gap:3px;font-size:12px;color:#315b45;min-height:40px;white-space:nowrap;text-decoration:underline;text-underline-offset:4px}
.detail-fun{font-size:17px;font-weight:650;line-height:1.7;margin:0 0 12px;color:#233f35;max-width:70ch}
.game-detail .detail-guide{font-size:14px;line-height:1.85;color:#52665a;margin:0 0 20px;max-width:72ch;white-space:pre-line;overflow-wrap:anywhere}
.detail-controls{padding:17px 18px;background:#edf0e5;border-radius:7px}.detail-controls h3{font-size:12px;color:#52665a;margin:0 0 6px;font-weight:600}.detail-controls p{font-size:15px;line-height:1.7;color:#233f35;margin:0;overflow-wrap:anywhere}
.detail-play-row{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:20px}.detail-play-row>span{font-size:12px;color:#52665a}.game-detail .primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;font-size:14px;padding:11px 18px}
.detail-maker{font-size:13px;display:inline-flex;gap:8px;align-items:center;color:#315b45;margin-bottom:15px}.detail-maker span{font-size:10px;background:#e5eedc;padding:3px 7px;border-radius:4px}
.detail-sidebar{display:flex;flex-direction:column;gap:22px;position:sticky;top:104px;min-width:0}
.detail-play-panel{padding:22px;background:#e5ecdc;border:1px solid #d3dfc6;border-radius:12px}.detail-play-panel h2{font-size:17px;line-height:1.5;margin:0 0 10px;letter-spacing:-.3px;overflow-wrap:anywhere}.detail-play-panel>p{font-size:13px;line-height:1.75;color:#435e49;margin:0 0 18px}
.detail-play-panel .detail-actions{display:grid;grid-template-columns:1fr;gap:10px;margin:0}.detail-play-panel .detail-actions>.secondary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:43px;background:#fffef9;color:#31513f;font-size:13px;border-color:#c5d2ba}
.detail-side-actions{display:flex;flex-direction:column;gap:5px;margin-top:14px}.detail-side-actions button{font-size:12px;color:#435e49;text-align:left;padding:8px 0;min-height:34px}.detail-side-actions .secondary{border:0;background:none}.detail-side-actions button:hover{text-decoration:underline;text-underline-offset:4px}
.game-detail .detail-facts{display:block;background:none;border:0;border-radius:0;padding:0 2px;margin:0}.game-detail .detail-facts h2{font-size:15px;margin:0 0 14px}.game-detail .detail-facts dl{margin:0}.game-detail .detail-facts .fact{display:grid;grid-template-columns:86px minmax(0,1fr);gap:10px;padding:8px 0}.game-detail .detail-facts dt,.game-detail .detail-facts dd{font-size:12px;line-height:1.65;margin:0;color:#52665a}.game-detail .detail-facts dd{color:#233f35;overflow-wrap:anywhere}.game-detail .detail-facts dd a{text-decoration:underline;text-underline-offset:3px}
.game-detail .detail-facts .game-quality{padding-top:13px;margin-top:8px;border-top:1px solid #d5ddcd;display:flex;flex-wrap:wrap;gap:8px}.game-detail .detail-edition{font-size:12px;color:#52665a;line-height:1.7;margin:12px 0 0}
.detail-sidebar .next-games{display:block;background:none;border:0;border-radius:0;margin:0;padding:20px 0 0;border-top:1px solid #d5ddcd}.detail-sidebar .next-games .shelf-heading{display:block;margin-bottom:12px}.detail-sidebar .next-games h2{font-size:15px}.detail-sidebar .next-games .shelf-heading>span{display:none}.detail-sidebar .mini-row{display:block;padding:11px 0;border-bottom:1px solid #dbe1d3}.detail-sidebar .mini-row>a:first-child{display:flex;align-items:center;gap:11px}.detail-sidebar .mini-row .thumb{width:50px;height:44px;object-fit:cover;border-radius:5px}.detail-sidebar .mini-row b{font-size:12px}.detail-sidebar .mini-row small{font-size:11px;color:#52665a}.detail-sidebar .mini-play{display:none}
.game-detail .comment-form{background:#f1f3e9;border:1px solid #dce3d3;border-radius:8px;padding:18px;margin:0 0 22px}.game-detail .comment-form textarea{font-size:14px;line-height:1.75;background:#fffef9;min-height:112px}.game-detail .comment-form select{font-size:13px;min-height:38px;background:#fffef9}.game-detail .comment-form .helper{font-size:11px;color:#52665a;line-height:1.7}.game-detail .sentiments label,.game-detail .form-end .check{font-size:12px;color:#435b48}
.game-detail .comment{padding:22px 0;border-color:#dbe2d3}.game-detail .comment:last-child{padding-bottom:0}.game-detail .comment-meta{font-size:12px;color:#52665a}.game-detail .comment-meta b{color:#233f35}.game-detail .comment-meta .avatar{background:#e2e9d7;color:#31513f}.game-detail .comment>p,.game-detail .reply>p{font-size:14px;line-height:1.85;color:#233f35;max-width:72ch}.game-detail .reply{border-left:1px solid #cbd8c3}.game-detail .comment-tools button{font-size:12px;color:#315b45;min-height:34px}.game-detail .comment-tags{color:#52665a;font-size:11px;gap:9px}.game-detail .owner{background:#e5eedc;color:#315b45}.game-detail .empty{background:#f1f3e9;padding:26px 18px;border-radius:7px}.game-detail .empty h3{color:#233f35;font-size:16px}.game-detail .empty p{color:#52665a;font-size:13px;line-height:1.75}
.request-progress{display:flex;gap:18px;padding:14px 0 18px;border-bottom:1px solid #dbe2d3;margin-bottom:18px}.request-progress>span{font-size:12px;color:#52665a;display:flex;align-items:baseline;gap:7px}.request-progress b{font-size:20px;color:#233f35;font-variant-numeric:tabular-nums}.detail-muted{font-size:13px;line-height:1.8;color:#52665a;margin:0}.request-list>div{display:grid;grid-template-columns:66px minmax(0,1fr) auto;gap:12px;align-items:start;padding:13px 0;border-bottom:1px solid #e4e8de}.request-list>div:last-child{border:0;padding-bottom:0}.request-list p{font-size:13px;line-height:1.75;margin:0;color:#233f35;overflow-wrap:anywhere}.request-list small{font-size:11px;color:#52665a}.request-list .status{font-size:10px;white-space:nowrap;text-align:center;padding:3px 5px;border-radius:4px}
.game-detail .status.open{background:#e9eddf;color:#526347}.game-detail .status.planned{background:#f7e7ca;color:#765216}.game-detail .status.done{background:#dcebd7;color:#285b39}
.detail-tips{padding:18px 20px;background:#f3ead7;border-radius:8px;margin:0 0 24px}.detail-tips h3{font-size:14px;margin:0 0 10px;color:#664b26}.detail-tips ul{padding-left:18px;margin:0;color:#624e31;font-size:14px;line-height:1.85}.detail-tips li+li{margin-top:8px}
.game-detail .update{border-color:#dbe2d3}.game-detail .update h3{font-size:19px;color:#173f35}.game-detail .update>p{font-size:14px;line-height:1.85;color:#52665a}.game-detail .update small{color:#52665a}.game-detail .credits{background:#edf1e3;color:#435e49}.game-detail .manage-box{margin-top:24px;border-color:#ccd8c1;background:#f5f6ef}.game-detail .ec-creator-strip{display:block;font-size:12px;padding:14px 0 0;margin:0;border:0;background:none}.game-detail .ec-creator-strip button{display:block;margin-top:8px}.game-detail .return-inline:empty{display:none}.game-detail .return-inline:not(:empty){margin-top:24px}
@media(min-width:1450px){.game-detail .detail-columns{grid-template-columns:minmax(0,1fr) 310px;gap:38px}}
@media(max-width:1050px){.game-detail .detail-columns{grid-template-columns:minmax(0,1fr) 250px;gap:24px}.detail-tabs{gap:19px}.detail-tabs [role=tab]{font-size:13px}.detail-play-panel{padding:18px}.detail-explainer,.detail-section{padding:22px}}
@media(max-width:800px){.game-detail .detail-columns{grid-template-columns:1fr;gap:28px}.detail-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:24px}.detail-sidebar .next-games{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.detail-sidebar .next-games .shelf-heading{grid-column:1/-1;margin-bottom:0}.detail-head-actions{padding-top:0}.game-detail .detail-identity h1{font-size:28px}.game-detail .detail-preview{aspect-ratio:16/10}.game-detail .detail-head{gap:14px}}
@media(max-width:600px){.game-detail .back{font-size:12px;margin-bottom:18px}.game-detail .detail-head{flex-wrap:wrap;padding-bottom:18px;gap:12px}.game-detail .detail-head>.thumb{width:57px;height:57px;border-radius:9px;align-self:flex-start}.game-detail .detail-identity{flex-basis:calc(100% - 70px)}.game-detail .detail-identity h1{font-size:26px;line-height:1.25;margin-bottom:7px}.game-detail .detail-identity>p{font-size:13px}.detail-tags{font-size:11px;gap:6px 14px;margin-top:10px}.detail-head-actions{width:100%;justify-content:flex-end;margin-top:0}.detail-head-actions .secondary{font-size:12px;min-height:40px}.detail-tabs{gap:22px;margin-bottom:18px}.detail-tabs [role=tab]{font-size:13px;min-height:48px}.detail-tabs button>span{font-size:10px;min-width:18px;line-height:18px}.game-detail .detail-preview,.game-detail .detail-screen,.detail-media-empty{aspect-ratio:4/3;border-radius:9px}.game-detail .detail-preview .preview-kind{left:10px;top:10px;font-size:10px}.game-detail .detail-preview .preview-hint{left:10px;bottom:12px;font-size:11px;max-width:calc(100% - 72px)}.game-detail .detail-preview .preview-mark{width:39px;height:39px;right:11px;bottom:12px;font-size:15px}.detail-media figcaption{font-size:10px;margin-top:8px}.detail-explainer,.detail-section{padding:20px 16px;margin-top:22px;border-radius:10px}.detail-section-heading{gap:10px;align-items:flex-start;margin-bottom:17px}.detail-section-heading h2{font-size:18px}.detail-section-heading p{font-size:12px}.detail-text-link{font-size:11px;min-height:28px}.detail-fun{font-size:15px}.game-detail .detail-guide{font-size:13px;line-height:1.85}.detail-controls{padding:14px}.detail-controls p{font-size:13px}.game-detail .primary{font-size:13px;min-height:44px}.game-detail .comment-form{padding:13px}.game-detail .comment-form textarea{font-size:14px}.game-detail .sentiments label{font-size:11px}.game-detail .form-end{align-items:center;flex-wrap:wrap;gap:12px}.game-detail .form-end .check{font-size:11px;max-width:none}.game-detail .comment-meta{flex-wrap:wrap;font-size:11px}.game-detail .comment>p,.game-detail .reply>p{font-size:13px}.detail-sidebar{display:flex;gap:22px}.detail-play-panel{width:100%;padding:20px}.game-detail .detail-facts{width:100%}.detail-sidebar .next-games{display:block;width:100%}.detail-sidebar .mini-row{padding:12px 0}.detail-sidebar .mini-row .thumb{width:60px;height:46px}.detail-sidebar .mini-row b{font-size:13px}.request-progress{gap:14px;flex-wrap:wrap}.request-progress>span{font-size:11px}.request-progress b{font-size:18px}.request-list>div{grid-template-columns:60px minmax(0,1fr);gap:8px}.request-list small{grid-column:2}.detail-tips{padding:16px}.detail-tips ul{font-size:13px}.detail-play-row{gap:12px}.detail-play-row>span{font-size:11px}}

.game-detail .detail-media-empty{aspect-ratio:auto;min-height:190px}.game-detail .comment:focus{outline:2px solid #9b5427;outline-offset:7px;border-radius:4px}@media(max-height:900px){.detail-sidebar{position:static}}

.instant-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0;padding:22px 28px;background:#173f35;color:#fff;border-radius:12px}.instant-entry h2{margin:0 0 6px;font-size:22px}.instant-entry p{margin:0;color:#d5e5dc}.instant-entry .primary{background:#fff;color:#173f35;white-space:nowrap}.embedded-game{margin:20px 0 30px;background:#182521;border-radius:12px;overflow:hidden}.embedded-stage{position:relative;aspect-ratio:16/9;background:#101a17;display:grid;place-items:center}.embedded-stage iframe{width:100%;height:100%;border:0;position:absolute;inset:0}.embedded-start{border:0;border-radius:8px;background:#f7f6ed;color:#173f35;padding:15px 22px;font:inherit;font-weight:700;cursor:pointer}.embedded-start span{margin-right:10px}.embedded-toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;color:#fff}.embedded-toolbar button{background:transparent;border:1px solid #78938a;color:#fff;border-radius:6px;padding:8px 12px;cursor:pointer}@media(max-width:600px){.instant-entry{align-items:flex-start;flex-direction:column;padding:20px}.embedded-stage{min-height:260px;aspect-ratio:auto}}

.embedded-stage{background-size:cover;background-position:center}.embedded-status{font-size:11px;color:#d5e5dc;margin-right:10px}.embedded-toolbar>div{display:flex;align-items:center;gap:8px}.embedded-game iframe:fullscreen{width:100vw;height:100vh;background:#101a17}@media(max-width:740px){.embedded-stage{height:70svh;min-height:360px;max-height:720px}.embedded-toolbar{gap:10px;align-items:flex-start}.embedded-toolbar>div{flex-wrap:wrap;justify-content:flex-end}.embedded-status{width:100%;font-size:10px}.embedded-toolbar button{font-size:11px;padding:7px 8px}}
