/* Crown badge for Popular games + Preview-only toolbar */
.crown{position:absolute;left:8px;top:8px;width:34px;height:34px;z-index:4;pointer-events:none;display:grid;place-items:center;border-radius:50%;background:#fff;box-shadow:0 4px 12px rgba(20,90,170,.28),0 0 0 2px rgba(79,195,255,.6);transition:transform .55s cubic-bezier(.22,.61,.36,1)}
.crown svg{display:block;width:68%;height:68%}
@media(hover:hover){.card:hover .crown,.tile:hover .crown{transform:scale(1.1) rotate(-8deg)}}
.card .crown{left:10px;top:10px;width:36px;height:36px}
.tile .crown{left:6px;top:6px;width:26px;height:26px}
@media(max-width:700px){.card .crown{left:6px;top:6px;width:28px;height:28px}.tile .crown{left:5px;top:5px;width:22px;height:22px}}

/* Preview mode on the game page: only an eye + PREVIEW text, no plays / like / dislike */
.pvtag{display:none;align-items:center;gap:9px;background:#fff;border-radius:30px;padding:10px 18px;font:800 14px var(--fh,inherit);letter-spacing:.06em;color:var(--navy,#12233d);box-shadow:0 2px 8px rgba(20,90,170,.12)}
.pvtag svg{flex:none}
.tb.pvm .pvtag{display:inline-flex}
.tb.pvm .plays,.tb.pvm .vt{display:none}

/* Icon preview (developer dashboard): small + big icon, both with the crown */
.pv-ic{display:flex;flex-wrap:wrap;gap:22px;justify-content:center;align-items:flex-end;width:100%}
.pv-ic-c{display:grid;gap:8px;justify-items:center}
.pv-ic-c small{font-weight:800;color:#6b7c93;letter-spacing:.06em;text-transform:uppercase;font-size:12px}
.pv-ic-b{position:relative;overflow:hidden;background:#e9f1fb;box-shadow:0 6px 16px rgba(20,90,170,.22)}
.pv-ic-b img{display:block;width:100%;height:100%;object-fit:cover}
.pv-ic-b.sm{width:96px;height:96px;border-radius:20px}
.pv-ic-b.lg{width:min(240px,64vw);height:min(240px,64vw);border-radius:30px}
.pv-ic-b.sm .crown{left:5px;top:5px;width:26px;height:26px}
.pv-ic-b.lg .crown{left:10px;top:10px;width:56px;height:56px}
.pv-ic-n{margin:0;text-align:center;color:#6b7c93;font-weight:700;font-size:14px;max-width:460px}

/* paused game kept alive behind the CONTINUE screen */
.gfr.gp{visibility:hidden}
/* PC: no close button in full screen, press Esc instead (mobile keeps the close button) */
html:not(.mobdev) .stage.fs:not(.pfs) .fsb{display:none!important}
.escn{display:none;position:absolute;left:50%;bottom:8px;transform:translateX(-50%);z-index:6;pointer-events:none;padding:3px 10px;border-radius:99px;background:rgba(0,0,0,.4);color:rgba(255,255,255,.72);font:700 10px/1.4 system-ui,sans-serif;letter-spacing:.1em;white-space:nowrap}
html:not(.mobdev) .stage.fs:not(.pfs) .escn{display:block}
