/* Reusable ad strip. Future ad network: target .ad-slot[data-ad-slot]; keep height <= 44px. No animation. */
.ad-slot{flex:none;box-sizing:border-box;width:100%;max-width:100%;height:38px;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:0 max(8px,env(safe-area-inset-right)) 0 max(8px,env(safe-area-inset-left));background:#f3ece1;border-bottom:1px solid #cfa571;font:600 12px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;color:#5a3a30;animation:none!important;transition:none!important;position:relative;z-index:44}
.ad-in{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%;color:inherit;text-decoration:none}
a.ad-in:hover .ad-txt{text-decoration:underline}
.ad-logo{flex:none;display:block;height:26px;width:auto}
.ad-tag{flex:none;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:1px 4px;border:1px solid #cfa571;border-radius:3px;color:#8a6a4c}
.ad-txt{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:420px){.ad-slot{font-size:11px}.ad-in{gap:7px}}

.ad-slot{container-type:inline-size}
@container (max-width:379px){.ad-txt{display:none}}
/* very short landscape phones: game pages need every pixel for play, so the strip folds away there */
@media (max-height:500px) and (orientation:landscape){body.game-page .ad-slot,body.ca-game .ad-slot{display:none}}
