/* FINAL OVERRIDES — intentionally loaded after individual game styles */
body.og12-game .op-main{padding-top:11px!important}
body.og12-game .op-breadcrumb{margin:0 0 7px!important}
body.og12-game .og18-game-heading{margin-bottom:8px!important;gap:8px!important}
body.og12-game .og18-game-heading h1{font-size:clamp(28px,3vw,36px)!important;margin:2px 0!important}
body.og12-game .og18-game-surface{padding:clamp(8px,1vw,15px)!important}
body.og12-game .og12-table-options{margin-bottom:5px!important}
body.og12-game .orine-games .og-game-toolbar,body.og12-game .og14-toolbar{margin:0 0 5px!important}
body.og12-game .orine-games .og-status,body.og12-game .og14-status{margin:2px 0 6px!important}
body.og12-game .orine-games .og-board{max-width:880px!important}
body.og12-game .orine-games .og-top-row{margin-bottom:clamp(8px,1.5vw,13px)!important}
body.og12-game .orine-games .og-stats span,body.og12-game .og14-stats span,body.og12-game .or-stat{font-size:14px!important}
body.og12-game .orine-games .og-controls button,body.og12-game .og14-actions button,body.og12-game .or-btn,body.og12-game .or-status,body.og12-game .og14-status,body.og12-game .og-game-rules .og-rules-content,body.og12-game .og-game-rules summary{font-size:14px!important}
body.og12-game .og12-table-label{font-size:14px!important}
body.og12-game .og14-spider-board{--og14-sp-facestep:32px!important;--og14-sp-backstep:17px!important}
body.og12-game .og14-sp-col{min-height:400px}
body.og12-game[data-og-felt=blue] .orine-games .og-table-scroll,
body.og12-game[data-og-felt=blue] .og14-felt{background:radial-gradient(ellipse at 45% 15%,#2c75b6,#154980 60%,#0d2a51)!important;border-color:#15447f!important}
body.og12-game[data-og-felt=red] .orine-games .og-table-scroll,
body.og12-game[data-og-felt=red] .og14-felt{background:radial-gradient(ellipse at 45% 15%,#b93e51,#791d37 60%,#4d1727)!important;border-color:#84243b!important}
body.og12-game .og12-table-picker button[data-og-felt=blue]{background:#155cac!important}
body.og12-game .og12-table-picker button[data-og-felt=red]{background:#a9233c!important}
@media(max-width:650px){body.og12-game .op-main{padding-top:8px!important}body.og12-game .og18-game-heading h1{font-size:29px!important}body.og12-game .og14-sp-col{min-height:300px}}
/* HTML intrinsic width/height must not stretch gallery covers */
body.og18-page .op-card img{display:block;width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important}

/* v24 — эластичное дно пасьянсов: стол увеличивается вместе со столбцами */
body.og12-game .og18-game-surface:has(.og-table-scroll),body.og12-game .og18-game-surface:has(.og14-spider-board){overflow:visible!important;}
body.og12-game .orine-games .og-table-scroll{overflow:visible!important;height:auto!important;max-height:none!important;padding-bottom:clamp(30px,3vw,62px)!important;}
body.og12-game .orine-games .og-board{height:auto!important;min-height:0!important;}
body.og12-game .orine-games .og-pile.og-tableau{height:var(--og-tableau-height)!important;min-height:var(--og-tableau-height)!important;}
body.og12-game .og14-spider-felt{overflow:visible!important;padding-bottom:44px!important;height:auto!important;min-height:0!important;}
body.og12-game .og14-spider-board{height:auto!important;max-height:none!important;min-height:var(--og14-board-height,330px)!important;--og14-sp-facestep:28px;--og14-sp-backstep:14px;}
body.og12-game .og14-sp-col{min-height:0!important;}
body.og12-game .og18-game-surface{isolation:isolate;}
