/* Lucky Monk additions on top of Igor's stylesheets (styles.css, home.css, footer.css, more.css,
   casino-review.css), which stay byte-identical to his files so his updates can be dropped in. */

/* Password reset form (uses the prototype's tokens and button styles) */
.auth-field{display:block;font-size:13px;font-weight:700;color:var(--muted)}
.auth-field .share-url{color:var(--text);margin:6px 0 4px}
.password-reset .apply-button{margin-top:8px}
.password-reset .apply-button:disabled{opacity:.6}

/* Casinos page */
.games-content .casino-list,.free-play-over .casino-list{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));padding:0 var(--content-inset)}
.casino-card:has(>.casino-brand){display:flex;flex-direction:column;gap:12px;background:var(--surface);border:1px solid #ffffff0a;border-radius:18px;padding:18px}
.casino-brand{display:flex;align-items:center;gap:12px}
.casino-brand h2{font-size:18px;margin:0 0 6px}
.casino-brand .casino-logo{flex:none;display:grid;place-items:center;width:56px;height:56px;border-radius:14px;background:var(--background);color:var(--accent);font-weight:700;overflow:hidden}
.casino-brand .casino-logo img{width:100%;height:100%;object-fit:contain}
.casino-offer{margin:0;padding:12px 14px;border-radius:14px;background:var(--active);color:var(--accent);font-weight:700}
.casino-summary,.casino-licenses{margin:0;color:var(--muted)}
.casino-licenses{font-size:13px}
.casino-card .casino-points{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.casino-card .casino-points ul{list-style:none;margin:0;padding:0;display:grid;gap:6px;align-content:start;font-size:14px}
.casino-pros li::before{content:"+ ";color:#3fbe48;font-weight:700}
.casino-cons li::before{content:"– ";color:#ff6b6b;font-weight:700}
.casino-card:has(>.casino-brand) .casino-cta{margin-top:auto;text-decoration:none}
.games-content .casino-disclaimer{margin:20px var(--content-inset) 0;color:var(--muted);font-size:12px;text-align:center}

/* Free-play funnel on game pages */
.free-spins-left{display:none}
/* Phones: the counter gets its own row so the real-money button and icons keep theirs. */
@media(max-width:767px){.player-toolbar{flex-wrap:wrap}.free-spins-left{order:3;flex-basis:100%}}
.free-play-over{position:absolute;inset:0;overflow:auto;display:flex;flex-direction:column;align-items:center;gap:14px;padding:28px 20px;text-align:center;background:#1d2027}
.free-play-over h2{margin:0;font-size:clamp(22px,3vw,30px)}
.free-play-over>p{margin:0;color:var(--muted)}
.free-play-over .casino-list{width:100%;max-width:1100px;padding:0;text-align:left}
.free-play-over .casino-disclaimer{margin:4px 0 0}

/* Forgot / reset password and short notices */
.password-reset{max-width:420px;margin:0 var(--content-inset);background:var(--surface);border:1px solid #ffffff0a;border-radius:18px;padding:18px}
.password-reset .auth-error{color:#ff6b6b;font-size:13px;margin:0 0 10px}
.password-reset .auth-note{color:var(--muted);margin:0;line-height:1.6}
.password-reset [data-email]{margin:0 0 12px;color:var(--text);font-weight:700}

/* Server-rendered navigation uses links instead of buttons. */
a.tab,a.brand{text-decoration:none}

/* Server-rendered pages: headings follow one H1 per page, so some prototype h1/h2 became h2/h3 with the same look. */
.section-heading h2{display:flex;align-items:center;gap:9px;font-size:21px;margin:0}
.section-heading h2 .asset-icon{color:var(--accent);width:27px;height:27px}
.game-details h3{font-size:13px;line-height:1.3;margin:0 0 5px}
@media(min-width:768px){.section-heading h2{font-size:26px}}
@media(min-width:768px){.game-details h3{font-size:clamp(11px,1.05vw,17px)}}
.related-games .section-heading h2{display:block;font-size:24px;line-height:1.4}
.related-games .section-heading h2>span{color:var(--accent)}
.related-games .section-heading h2{margin:0}
@media(max-width:767px){.related-games .section-heading h2{font-size:21px}}
.casino-brand h3{font-size:18px;margin:0 0 6px}
/* Links that replace the prototype's buttons keep the button look. */
:where(a.category-button,a.open-game,a.category-back,a.desktop-category-back,a.play-money,a.category-view-all,a.view-all){color:inherit;text-decoration:none}
:where(a.view-all){display:inline-block}
.game-details h3 a,.casino-brand h2 a,.casino-brand h3 a,.review-subject a{color:inherit;text-decoration:none}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* Home intro above the category menu. */
.site-intro{padding:0 var(--content-inset) 18px}
.site-intro h1{font-size:21px;margin:0 0 6px}
.site-intro p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
@media(min-width:768px){.site-intro h1{font-size:26px}.site-intro p{font-size:15px}}
.casino-brand .player-rating{color:var(--muted);font-weight:400;margin-left:4px}
/* Casino review page and player reviews. */
.player-reviews{padding-bottom:12px}
.review-stars{margin:0 0 6px;color:var(--accent);letter-spacing:2px}
.review-stars span{color:#454b5b}
.review-subject{margin:0 0 4px;font-weight:700}
.review-rating{display:flex;gap:4px;margin:0 0 12px}
.review-rating label{cursor:pointer;font-size:28px;line-height:1;color:var(--muted)}
.review-rating input{position:absolute;opacity:0;width:1px;height:1px}
.review-rating label.active,.review-rating label:hover{color:var(--accent)}
.review-rating input:focus-visible+span{outline:2px solid var(--accent);outline-offset:3px}
/* Comment and review form messages. */
.comment-form-note,.review-composer .auth-error{color:#ff6b6b;font-size:13px;margin:10px 0 0}
.comment-form-note .auth-link{background:none;color:var(--accent);font-weight:700;padding:0;margin-left:6px;font-size:13px}
/* WebP thumbnails: <picture> wraps the prototype's <img>, keeping its sizing. */
.game-art>picture,.game-loading>picture{display:contents}
.game-art>picture>img{width:100%;height:100%;object-fit:cover;display:block}
/* Branded 404 page. */
.not-found-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.comment-meta .comment-delete{margin-left:0}
/* Game FAQ (visible twin of the FAQPage JSON-LD); native <details>, no JS. */
.game-faq{margin:36px 30px 32px}
@media(max-width:767px){.game-faq{margin:28px 20px 28px}}
.game-faq h2{font-size:24px;margin:0 0 20px}
.faq-item{background:var(--surface);border-radius:14px;margin:0 0 10px}
.faq-item summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;font-weight:700;font-size:15px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";color:var(--accent);font-size:22px;line-height:1;flex-shrink:0}
.faq-item[open] summary::after{content:"−"}
.faq-item p{margin:0;padding:0 20px 18px;color:var(--muted);line-height:1.6;font-size:15px}

/* Site search (header suggestions, results page) and casino bonuses */
.header-search{position:relative;flex:1;max-width:520px;margin:0 auto}
.search-field{display:flex;align-items:center;gap:10px;height:44px;padding:0 16px;background:var(--surface);border-radius:24px;color:var(--muted)}
.search-field:focus-within{box-shadow:0 0 0 2px var(--accent)}
.search-field input{flex:1;min-width:0;height:100%;border:0;background:none;color:var(--text);font:inherit;font-size:14px;outline:none}
.search-field input::placeholder{color:var(--muted)}
.search-suggestions{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);width:min(980px,calc(100vw - 48px));max-height:min(78vh,680px);overflow:auto;overscroll-behavior:contain;background:var(--surface);border-radius:20px;box-shadow:0 24px 60px rgba(0,0,0,.55);z-index:60;color:var(--text);text-align:left}
.sp-body{display:grid;grid-template-columns:250px minmax(0,1fr)}
.sp-body.sp-single{grid-template-columns:minmax(0,1fr)}
.sp-side{display:flex;flex-direction:column;gap:20px;padding:20px 16px;border-right:1px solid rgba(255,255,255,.06)}
.sp-main{display:flex;flex-direction:column;gap:22px;min-width:0;padding:20px 22px}
.sp-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 10px}
.sp-title{margin:0;color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.sp-more,.sp-clear{padding:0;border:0;background:none;color:var(--accent);font:inherit;font-size:13px;font-weight:700;text-decoration:none;cursor:pointer}
.sp-term,.sp-link{display:flex;align-items:center;gap:10px;margin:0 -6px;padding:9px 10px;border-radius:12px;color:var(--text);font-size:14px;text-decoration:none}
.sp-term>svg{flex:0 0 auto;color:var(--muted)}
.sp-term span,.sp-link span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sp-term em,.sp-link em{margin-left:auto;padding-left:8px;color:var(--muted);font-size:12px;font-style:normal}
.sp-link img{flex:0 0 auto;width:28px;height:28px;border-radius:8px;object-fit:contain;background:#1d2027}
.sp-chips{display:flex;flex-wrap:wrap;gap:8px}
.sp-chip-wrap{display:inline-flex;align-items:center;border-radius:16px;background:#1d2027}
.sp-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;height:32px;padding:0 12px;border-radius:16px;background:#1d2027;color:var(--text);font-size:13px;text-decoration:none}
.sp-chip svg{flex:0 0 auto;color:var(--muted)}
.sp-chip span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sp-chip-wrap .sp-chip{padding-right:4px}
.sp-chip-remove{width:28px;height:32px;padding:0;border:0;border-radius:0 16px 16px 0;background:none;color:var(--muted);font-size:16px;line-height:1;cursor:pointer}
.sp-chip-remove:hover{color:var(--text)}
.sp-games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.sp-game{display:flex;flex-direction:column;gap:6px;min-width:0;padding:6px;border-radius:16px;color:var(--text);text-decoration:none}
.sp-art{display:block;aspect-ratio:1;border-radius:14px;overflow:hidden;background:#1d2027}
.sp-art img{display:block;width:100%;height:100%;object-fit:cover}
.sp-game strong{display:-webkit-box;overflow:hidden;font-size:13px;line-height:1.3;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.sp-game>span:last-child{overflow:hidden;color:var(--muted);font-size:12px;white-space:nowrap;text-overflow:ellipsis}
.sp-casinos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sp-casino{display:flex;align-items:center;gap:12px;min-width:0;padding:10px;border-radius:16px;background:#1d2027;color:var(--text);text-decoration:none}
.sp-logo{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;overflow:hidden;background:var(--background);color:var(--accent);font-size:13px;font-weight:800}
.sp-logo img{width:100%;height:100%;object-fit:contain}
.sp-casino-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.sp-casino-text strong{overflow:hidden;font-size:14px;white-space:nowrap;text-overflow:ellipsis}
.sp-casino-text span{overflow:hidden;color:var(--muted);font-size:12px;white-space:nowrap;text-overflow:ellipsis}
.sp-term:hover,.sp-term.active,.sp-link:hover,.sp-link.active,.sp-game:hover,.sp-game.active,.sp-casino:hover,.sp-casino.active,.sp-chip:hover,.sp-chip.active{background:var(--active)}
.sp-chip-wrap:has(.sp-chip:hover,.sp-chip.active){background:var(--active)}
.sp-chip-wrap .sp-chip:hover,.sp-chip-wrap .sp-chip.active{background:none}
.search-suggestions mark{background:none;color:var(--accent)}
.sp-note,.sp-none{margin:0;color:var(--muted);font-size:14px}
.search-result a{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:12px;color:var(--text);text-decoration:none}
.search-result a:hover{background:var(--active)}
.search-result-art{flex:0 0 auto;width:40px;height:40px;border-radius:10px;overflow:hidden;background:#1d2027}
.search-result-art img{width:100%;height:100%;object-fit:cover;display:block}
.search-result-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.search-result-text strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-result-text span{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-all{display:block;padding:14px;border-top:1px solid rgba(255,255,255,.06);text-align:center;color:var(--accent);font-weight:700;text-decoration:none}
.search-all:hover,.search-all.active{background:var(--active)}
@media(max-width:1023px){.sp-games{grid-template-columns:repeat(3,minmax(0,1fr))}.sp-casinos{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767px){.search-page-form{position:relative}.search-page-form .search-suggestions{left:0;right:0;transform:none;width:auto;max-height:72vh}.sp-body{grid-template-columns:minmax(0,1fr)}.sp-side{gap:16px;padding:16px;border-right:0;border-bottom:1px solid rgba(255,255,255,.06)}.sp-main{gap:18px;padding:16px}.sp-games{gap:8px}}
.search-link{display:none;width:44px;height:44px;align-items:center;justify-content:center;background:var(--surface);border-radius:50%;color:var(--text)}
@media(max-width:767px){.header-search{display:none}.search-link{display:flex}.category-page .search-link{display:none}}
.search-page-form{display:flex;gap:10px;max-width:640px;margin:0 var(--content-inset) 28px}
.search-page-form .search-field{flex:1}
.search-page-form .apply-button{flex:0 0 auto;width:auto;padding:0 22px}
.search-section{margin:0 0 28px}
.search-section h2{margin:0 var(--content-inset) 12px;font-size:20px}
.search-results{list-style:none;margin:0;padding:0 var(--content-inset);display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}
.search-result a{background:var(--surface)}
.search-result .search-result-art{width:56px;height:56px}
.bonuses-intro{max-width:760px;margin:0 var(--content-inset) 20px;color:var(--muted);line-height:1.5}
.bonuses-more{margin:14px var(--content-inset) 0;text-align:center}
.bonuses-more a{color:var(--accent);font-weight:700}
.home-casinos{margin:8px 0 32px}
.home-casinos .category-count a{color:var(--accent);font-weight:700}

/* Legal & trust pages */
.legal-content .category-count{margin-left:0;color:var(--muted)}
.legal-content .section-heading h1{font-size:clamp(24px,3vw,32px);line-height:1.2}
.legal-page{max-width:calc(860px + 2 * var(--content-inset));margin-top:8px;padding:8px var(--content-inset) 40px}
.legal-page>:first-child{margin-top:0}
.legal-page h2{color:var(--accent);font-size:clamp(20px,2.4vw,24px);line-height:1.3;margin:36px 0 12px}
.legal-page h3{color:var(--text);font-size:18px;line-height:1.35;margin:26px 0 10px}
.legal-page a{color:var(--accent);text-underline-offset:3px}
.legal-page strong{color:var(--text)}
.casino-byline{max-width:760px;margin:16px var(--content-inset) 0;padding:14px 18px;background:var(--surface);border-radius:16px}
.casino-byline a,.author-reviews a{color:var(--accent);text-decoration:none}
.casino-byline a:hover,.author-reviews a:hover{text-decoration:underline}
.author-avatar{border-radius:50%;object-fit:cover;flex-shrink:0}
.author-initials{display:grid;place-items:center;background:var(--active);color:var(--accent);font-size:20px;font-weight:700}
.author-list{list-style:none;margin:0;padding:0 var(--content-inset);display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:12px}
.author-card{display:flex;align-items:center;gap:14px;padding:16px;background:var(--surface);border-radius:16px}
.author-card h2{margin:0;font-size:17px}
.author-card h2 a{color:var(--text);text-decoration:none}
.author-card h2 a:hover{color:var(--accent)}
.author-card .author-position{margin:3px 0 0}
.author-hero{display:flex;align-items:center;gap:18px;padding:0 var(--content-inset)}
.author-hero h1{margin:0;font-size:clamp(24px,3vw,32px);line-height:1.2}
.author-hero .author-position{display:block;margin:4px 0 0;font-size:14px}
.author-profiles{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0}
.author-profiles a{display:inline-block;padding:6px 12px;background:var(--surface);border-radius:20px;color:var(--text);font-size:13px;text-decoration:none}
.author-review-rating{color:var(--muted);font-size:14px;white-space:nowrap}

.comment-removed-text{color:var(--muted);font-style:italic}

/* Comments: languages & spam protection */
.other-languages .other-language-list{margin-top:8px}
.comment-language{align-self:flex-start;font-size:11px;font-weight:700;line-height:1.4;color:var(--muted);background:#2a2e37;border-radius:999px;padding:2px 8px}
.form-trap{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.form-challenge{max-width:100%}
.form-challenge iframe{max-width:100%}

/* Igor's shell: the language options are real links, and the welcome title is not a second page h1. */
a.select-option{color:var(--text);text-decoration:none}
@media(min-width:768px){.footer-bottom p{flex:none}.footer-legal{justify-content:flex-end}}
.welcome-modal h2{font-size:27px;line-height:1.15;margin:0 auto 14px;max-width:340px;text-align:center}
@media(max-height:580px){.welcome-modal h2{font-size:23px;margin-bottom:10px}}

/* Sign-in dialog: Igor's title is an h1 in his markup; here it is an h2, so a page keeps one h1. */
#login-dialog h2#auth-title{font-size:28px;margin:22px 0 20px}
/* Signed in: no flash of "Login" before the avatar appears (app.js removes the class at once). */
html.signed-in #login-toggle{visibility:hidden}
/* The header search is ours; Igor's profile page has none. */
.profile-page .header-search,.profile-page .search-link{display:none}

/* Profile additions in Igor's style: email not verified yet, and the password when deleting. */
.profile-verify{margin:12px auto 0;max-width:420px;color:var(--muted);font-size:13px;line-height:1.5;text-align:center}
.profile-verify button{display:inline;margin-left:4px;padding:0;background:none;color:var(--accent);font:inherit;font-weight:700}
.profile-verify button:hover{text-decoration:underline}
.profile-delete-password{width:100%;height:46px;margin:0 0 12px;border:1px solid #454b5b;border-radius:13px;background:var(--background);color:var(--text);padding:11px 13px;font:inherit;font-size:16px;outline:none}
.profile-delete-password:focus{border-color:#929bab}
.profile-delete-error{margin:0 0 12px;color:#ff8a80;font-size:13px;line-height:1.4}
.profile-account-menu{display:flex;flex-direction:column}
/* Short messages use Igor's snackbar in a neutral colour, and may wrap on phones. */
.site-snackbar{background:var(--surface);color:var(--text);border:1px solid #454b5b;border-radius:20px;white-space:normal;width:max-content;max-width:calc(100vw - 32px);text-align:center}

/* Home page: rows have h2 headings where Igor's markup has h1, with the same look. */
.home-content .category-heading-text h2{display:flex;align-items:center;gap:9px;font-size:21px;line-height:1.3;font-weight:700;margin:0}
@media(min-width:768px){.home-content .category-heading-text h2{font-size:26px}}
.home-content .category-heading-text h2 .flag{display:inline-flex;width:21px;height:21px;vertical-align:-3px;margin-left:3px}
.home-content .home-provider-image img[src*="pragmatic-play"]{mix-blend-mode:lighten;padding:14px}
.home-content .home-extra-rail .home-empty{margin:0;padding:8px 0}
/* Rows with too few cards to scroll have no arrows. */
.no-scroll>.row-arrow{display:none!important}

/* Game page: the h1 sits in the review heading, which stays visible once the game has loaded. It looks like Igor's h2 there, and his loading title keeps his h1 look. */
.review-heading h1{font-size:clamp(23px,3vw,30px);line-height:1.2;margin:0}
.game-loading-title{font-size:clamp(22px,3vw,36px);font-weight:700;margin:4px 0 0}
.casino-rail-cards{display:contents}
.casino-rail .casino-country{display:none}
.casino-country-label .flag{display:inline-flex;width:18px;height:18px;vertical-align:-3px;margin-right:4px}
.real-money-casinos .casino-disclaimer{padding:12px var(--casino-inset) 0;margin:0;color:var(--muted);font-size:12px}
.casino-rail .home-empty{margin:0;padding:8px 0;color:var(--muted)}
.author-name a{color:inherit;text-decoration:none}
.author-name a:hover{color:var(--accent)}
.comment-name-country .flag{margin-left:6px}
/* "Visit casino" is a tracked link here; Igor's button rules apply to it too. */
.casino-card a.casino-visit{width:100%;min-height:46px;border:0;border-radius:28px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;padding:10px 8px;transition:background .18s,transform .18s;color:white;text-decoration:none;box-sizing:border-box}
.casino-card a.casino-visit svg{width:23px;height:23px;fill:currentColor;flex-shrink:0}

/* Casinos list and review: the card and its links are real links here; hidden cards wait for "Show more". */
.casino-list-card[hidden]{display:none}
.casino-directory .casino-disclaimer,.cr-side-card .casino-disclaimer{margin:18px 0 0;color:var(--muted);font-size:12px;text-align:center}
.cr-side-card .casino-disclaimer{margin-top:12px}
.casino-list-card .listing-logo{display:block}
.casino-list-card h2 a,.casino-list-card .listing-read,.casino-list-card .listing-expert,.casino-list-card .listing-visit{text-decoration:none;color:inherit}
.casino-list-card .listing-country .flag,.directory-country .flag,.cr-browsing-country .flag{display:inline-flex;vertical-align:-3px;margin-right:4px}
a.cr-visit,a.cr-visit:visited{cursor:pointer;color:#fff}
a.cr-visit:hover{background:#59ad00}
.cr-panel .casino-byline{margin:20px 0 0;padding:0;background:transparent;max-width:none}

/* Chat rooms: the back buttons are real links here, and there is no room for search in the phone header. */
.room-mobile-title .room-back{display:flex;align-items:center;justify-content:center;color:inherit;text-decoration:none}
.room-desktop-back{text-decoration:none}
@media(max-width:767px){.chat-detail-page .search-link{display:none}}

/* More, Hall of fame, providers and Game reviews: Show more reveals what is already in the HTML. */
.more-provider-card[hidden],.review-card[hidden]{display:none}
.more-back,.more-title-link{text-decoration:none}
.hall-winner-avatar .monk-avatar-frame{margin:auto}

/* Search results: a subpage with a back button in the phone header, like the other subpages, and one
   search box: the header's on wider screens (as on every page), the page's own on phones, which have none in the header. */
@media(max-width:767px){.search-page .brand,.search-page .search-link{display:none}.search-page .header{gap:8px}.search-page .mobile-category-heading{flex:1 1 0;min-width:0}.search-page .header-actions{gap:6px}.search-page .locale-button{padding:0 8px;gap:5px}.search-page .locale-button svg{display:none}.search-page .login-button{padding:0 14px}}
@media(min-width:768px){.search-page .search-page-form{display:none}}
/* Game trailer while the demo loads: icon and spinner first, then the muted trailer fills the stage
   with the spinner and "Loading game" over a shade along its lower edge. */
.game-loading .game-trailer{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .4s ease;pointer-events:none}
.game-loading>:not(.game-trailer){position:relative;z-index:2}
.game-loading.trailer-playing{justify-content:flex-end;padding-bottom:28px}
.game-loading.trailer-playing::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(0,0,0,.7),transparent 45%);pointer-events:none}
.game-loading.trailer-playing .game-trailer{opacity:1}
.game-loading.trailer-playing>img,.game-loading.trailer-playing>picture,.game-loading.trailer-playing .game-loading-title,.game-loading.trailer-playing>p{display:none}
@media(prefers-reduced-motion:reduce){.game-loading .game-trailer{transition:none}}
/* Game preview window: the game's picture as large as on its tile (up to 232 px), scaled to fit the
   16:9 preview area on narrow screens; very short screens keep Igor's small icon. */
.game-modal .preview-game-icon{width:min(232px,42%);height:auto;aspect-ratio:1;border-radius:16px}
@media(max-height:450px){.game-modal .preview-game-icon{width:48px;border-radius:12px}}
