/* In-flow ad space: never floats above game controls or the bottom navigation. */
.ad-slot{display:none;box-sizing:border-box;max-width:728px;margin:24px auto 0;padding:8px 0 0;border-top:1px solid #ffffff16;text-align:center;clear:both}
.ads-enabled .ad-slot{display:block}
.ad-slot[data-state="unfilled"]{visibility:hidden}
.ad-label{display:block;margin-bottom:6px;font:400 11px/1.2 system-ui,sans-serif;letter-spacing:.06em;color:#929cab;text-transform:uppercase}
.ad-content{height:90px;max-height:90px;overflow:hidden;contain:layout paint}
.ad-slot iframe{max-width:100%;max-height:100%}
.share-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:12px}
.share-actions button{min-height:44px;font-size:14px;padding:0 14px;flex:1}
.share-status{font-size:13px;line-height:1.3;color:#aab6c6;margin:8px 0 0}
.share-status:empty{display:none}
.share-fallback{width:min(440px,calc(100% - 24px));padding:20px;border:1px solid #566071;border-radius:14px;color:#fff;background:#111c2d}
.share-fallback::backdrop{background:#000b}
.share-fallback textarea{box-sizing:border-box;width:100%;height:180px;padding:10px;margin-bottom:12px;font:16px/1.4 system-ui;color:#fff;background:#07090d;border:1px solid #566071;border-radius:8px}
@media(max-width:760px){
 .ad-content{height:50px;max-height:50px}
 .ad-slot{margin-top:18px}
 .ads-enabled #gamesPage>.ad-slot,.ads-enabled #resultScreen>.ad-slot{display:block}
 .result .share-actions{gap:6px}.result .share-actions button{padding:0 10px;font-size:14px}
 .ads-enabled #resultScreen .result-card{padding-top:10px;padding-bottom:10px}
 .ads-enabled #resultScreen .record{margin:6px 0}
}
