/* Batak is the reference for the shared public model-selection frame. */
:is(.batak-selection,.game-model-frame){box-sizing:border-box;display:flex;flex-direction:column;min-height:0;background:#03112b}
:is(.batak-selection,.game-model-frame)>.okey-toolbar{flex:none}
:is(.batak-selection,.game-model-frame) :is(.batak-stage,.game-model-frame__stage){position:relative;min-width:0;min-height:0;flex:1;background:#03112b;border-radius:0 0 13px 13px;isolation:isolate}
:is(.batak-selection,.game-model-frame) :is(.batak-artwork,.game-model-frame__art){display:block;width:100%;pointer-events:none}
:is(.batak-selection,.game-model-frame) :is(.batak-artwork,.game-model-frame__art)>img{display:block;width:100%;height:auto;object-fit:contain;object-position:center}
:is(.batak-selection,.game-model-frame) :is(.batak-artwork-mobile,.game-model-frame__art--mobile){display:none}
:is(.batak-selection,.game-model-frame) :is(.batak-model-groups,.game-model-frame__choices){position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0;z-index:2}
:is(.batak-selection,.game-model-frame) :is(.batak-model-group,.game-model-frame__group){min-width:0;padding-inline:17px}
:is(.batak-selection,.game-model-frame) :is(.batak-group-heading,.game-model-frame__heading){display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 0 12px;min-height:20.8px}
:is(.batak-selection,.game-model-frame) :is(.batak-group-heading,.game-model-frame__heading) h2{margin:0;color:var(--accent-gold-light);font-size:16px;line-height:1.3;letter-spacing:.06em;text-shadow:0 2px 5px #020b1faa}
:is(.batak-selection,.game-model-frame) .batak-group-status{color:#bdc8da;font-size:11px;line-height:1.2;text-align:right}
:is(.batak-selection,.game-model-frame) :is(.batak-model-options,.game-model-frame__options){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
/* Keep the exact shared bright blue base. Disabled options differ semantically,
   through their status/cursor, never by a muted alternate gradient. */
:is(.batak-selection,.game-model-frame) .batak-choice:disabled{opacity:1;cursor:not-allowed}
:is(.batak-selection,.game-model-frame) .batak-choice:disabled:hover,:is(.batak-selection,.game-model-frame) .batak-choice:disabled:active{border-color:var(--accent-blue-alt-end);box-shadow:none}
@media(min-width:1080px){
 :is(.batak-selection,.game-model-frame){height:var(--model-panel-height,var(--batak-panel-height,calc(100dvh - 98px)))}
 :is(.batak-selection,.game-model-frame) :is(.batak-stage,.game-model-frame__stage){min-height:612px}
 :is(.batak-selection,.game-model-frame) :is(.batak-artwork-desktop,.game-model-frame__art--desktop){position:absolute;inset:0;height:100%;border-radius:inherit}
 :is(.batak-selection,.game-model-frame) :is(.batak-artwork-desktop,.game-model-frame__art--desktop)>img{width:100%;height:100%;object-fit:cover;object-position:center top;border-radius:inherit}
 :is(.batak-selection,.game-model-frame) :is(.batak-model-groups,.game-model-frame__choices){position:absolute;inset-inline:24px;bottom:24px}
}
/* The unchanged support launcher intersects the last fee at smaller desktop widths.
   Reserve the selection content on that side; both groups retain equal columns. */
@media(min-width:1080px) and (max-width:1499px){:is(.batak-selection,.game-model-frame) :is(.batak-model-groups,.game-model-frame__choices){inset-inline-end:86px}}
@media(max-width:1079px){
 :is(.batak-selection,.game-model-frame) :is(.batak-artwork-desktop,.game-model-frame__art--desktop){display:none}
 :is(.batak-selection,.game-model-frame) :is(.batak-artwork-mobile,.game-model-frame__art--mobile){display:block}
 :is(.batak-selection,.game-model-frame) :is(.batak-artwork-mobile,.game-model-frame__art--mobile)>img{max-height:350px;object-fit:contain}
 :is(.batak-selection,.game-model-frame) :is(.batak-model-groups,.game-model-frame__choices){padding:14px 16px 18px;gap:24px}
 :is(.batak-selection,.game-model-frame) :is(.batak-model-group,.game-model-frame__group){padding:0}
 :is(.batak-selection,.game-model-frame) :is(.batak-group-heading,.game-model-frame__heading) h2{font-size:17px}
 :is(.batak-selection,.game-model-frame) :is(.batak-model-options,.game-model-frame__options){gap:8px}
}
@media(max-width:767px){
 :is(.batak-selection,.game-model-frame) :is(.batak-model-groups,.game-model-frame__choices){grid-template-columns:minmax(0,1fr);gap:20px}
 :is(.batak-selection,.game-model-frame) :is(.batak-artwork-mobile,.game-model-frame__art--mobile)>img{max-height:280px}
}
@media(max-width:359px){:is(.batak-selection,.game-model-frame) :is(.batak-model-options,.game-model-frame__options){grid-template-columns:repeat(2,minmax(0,1fr))}}

.game-model-frame[hidden], .game-model-frame[hidden] + .game-model-info { display:none; }
.game-model-info { margin:12px auto; padding-inline:16px; text-align:center; font-size:14px; line-height:1.5; }
.game-model-info p { margin:6px 0; }
.game-model-info a { color:var(--accent-gold-light); }
.game-model-frame .okey-mode-choice { position:relative; }
/* Reserve the reference row's localized typographic capacity without changing
   the native game label, link target or accessible name. */
.game-model-frame .okey-mode-choice::before { content:attr(data-frame-capacity); visibility:hidden; }
.game-model-frame .game-model-frame__label {
    position:absolute; inset:0; display:grid; place-content:center;
    padding-inline:4px; text-align:center; overflow-wrap:anywhere;
}
@media (max-width:1079px) {
    .game-model-frame .game-model-frame__art--mobile,
    .game-model-frame .game-model-frame__art--desktop {
        position:relative; overflow:hidden; width:100%; max-height:350px;
        aspect-ratio:324 / 128; border-radius:0;
    }
    .game-model-frame .game-model-frame__art > img {
        position:relative; z-index:1; display:block; width:100%; height:100%;
        object-fit:cover; object-position:center top;
    }
    /* Keep the marked-up crown and game pieces in the reference's shallow
       compact image window. Extend only the outer decorative texture. */
    .game-model-frame .game-model-frame__art--mobile > img {
        box-sizing:border-box; padding-inline:14.9%; object-position:center top;
    }
    @supports (object-view-box:inset(0)) {
        .game-model-frame .game-model-frame__art--mobile > img {
            padding:0; object-view-box:inset(0 -21.19% 25% -21.19%);
        }
    }
    .game-model-frame .game-model-frame__art--mobile::before,
    .game-model-frame .game-model-frame__art--mobile::after {
        content:""; position:absolute; top:0; bottom:0; width:15.1%;
        background-image:var(--model-art-image); background-repeat:no-repeat;
        background-size:1920% 133.333%; transform:scaleX(-1);
    }
    .game-model-frame .game-model-frame__art--mobile::before {left:0; background-position:left top;}
    .game-model-frame .game-model-frame__art--mobile::after {right:0; background-position:right top;}
}
@media (max-width:767px) {
    .game-model-frame > .okey-toolbar { flex-wrap:nowrap; padding-block:4px; }
    .game-model-frame > .okey-toolbar h1 { flex:none; max-width:72%; }
    .game-model-frame > .okey-toolbar .okey-toolbar-caption { min-width:0; line-height:1.2; text-align:end; }
    .game-model-frame .game-model-frame__art--mobile,
    .game-model-frame .game-model-frame__art--desktop {max-height:280px;}
}
@media (max-width:1079px) and (orientation:landscape) {
    .game-model-frame .game-model-frame__art--desktop {display:block;}
    .game-model-frame .game-model-frame__art--mobile {display:none;}
}
