/* Design refresh 2026-10-15: calmer type scale, consistent poster frames, tighter rhythm.
   Loaded last so it overrides the earlier per-breakpoint sizes in one place. */
:root{
 --fs-display:clamp(34px,1.9vw + 24px,56px);
 --fs-h1:clamp(30px,1.3vw + 22px,44px);
 --fs-h2:clamp(23px,.8vw + 17px,31px);
 --fs-h3:clamp(17px,.3vw + 15px,20px);
 --fs-body:clamp(15px,.15vw + 14px,16px);
 --fs-small:13px;
 --section-space:clamp(56px,6vw,96px);
}
body{font-size:var(--fs-body);line-height:1.85}
h1,h2,h3{letter-spacing:0;line-height:1.4}
h1,.page-heading h1,.detail-layout h1,.not-found h1{font-size:var(--fs-h1);line-height:1.35;margin-top:0}
.hero h1{font-size:var(--fs-display);line-height:1.3;letter-spacing:0;margin:10px 0 18px}
h2,.section-heading h2,.studio-teaser h2,.contact-banner h2,.contact-intro h2,.message-form h2,.prose-page h2,.team-placeholder h2,.quest-details h2{font-size:var(--fs-h2);line-height:1.45}
h3,.card-title h3,.feature-caption h3,.principles h3,.empty-state h3,.team-member h2,.ar-experience h3{font-size:var(--fs-h3);line-height:1.5}
.quest-card h3{font-size:clamp(24px,1vw + 18px,30px)}
p{font-size:inherit}
.hero-description,.page-heading>p:last-child,.detail-description{font-size:var(--fs-body);line-height:1.95}
.studio-teaser p:not(.eyebrow),.section-note,.quest-card p,.principles p,.ar-related-card p{font-size:var(--fs-small)}
.eyebrow{font-size:11px;letter-spacing:.06em}
/* The stroked Arabic word renders broken joins; use a solid accent instead. */
.outline-word,.accent-outline{color:var(--accent);-webkit-text-stroke:0}
.section{padding-block:var(--section-space)}
.page-heading{padding-block:clamp(44px,5vw,72px) clamp(28px,3vw,44px)}
.hero{min-height:0;padding-block:clamp(40px,6vw,84px)}
.brand-scene{height:clamp(300px,32vw,460px)}
.button{min-height:48px;font-size:14px;gap:18px}

/* Poster cards: one 4:5 frame for every game. The whole artwork is kept (contain);
   a blurred copy of the same art fills the frame instead of dark empty bands. */
.project-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.project-card{border-radius:18px;background:var(--surface)}
.project-cover{aspect-ratio:4/5;background:#081327}
.project-cover::before{inset:-40px;filter:blur(28px) saturate(1.25);opacity:.85;transform:scale(1.1)}
.project-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0b173000 55%,#0b1730b3);z-index:0;pointer-events:none}
.project-cover img{z-index:0;filter:drop-shadow(0 10px 24px #02081a80);transition:transform .5s var(--ease)}
.project-card:hover .project-cover img{transform:scale(1.035)}
.project-copy{padding:16px 18px 10px}
.card-title h3{font-size:18px}
.project-english{font-size:10px;margin-top:2px}
.project-copy p{font-size:13px;line-height:1.85;margin-top:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.project-launch{margin-inline:18px;padding-block:12px}
.platform-label{font-size:11px}

/* Detail page: full artwork inside the same framed, blurred backdrop. */
.detail-art{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--line);border-radius:22px;aspect-ratio:4/5;max-height:620px;width:100%;background:#081327}
.detail-art::before{content:"";position:absolute;inset:-40px;background-image:var(--project-art);background-size:cover;background-position:center;filter:blur(30px) saturate(1.2);opacity:.8;z-index:-1}
.detail-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 14px 30px #02081a99)}
.detail-layout{grid-template-columns:1.1fr .9fr;gap:clamp(32px,5vw,72px);align-items:center}
.detail-layout>div:first-child{max-width:560px}

/* Home: family illustration in the "behind the play" teaser. */
.studio-teaser.has-art{grid-template-columns:1fr 1fr;align-items:center;gap:clamp(28px,5vw,64px);border-bottom:0}
.teaser-art{margin:0;border-radius:20px;overflow:hidden;border:1px solid var(--line)}
.teaser-art img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}

/* Story and team */
.story{gap:clamp(32px,5vw,64px);padding-block:20px var(--section-space)}
.story-copy p:not(.eyebrow){font-size:var(--fs-body);line-height:2;margin-bottom:12px}
.family-photo img{image-rendering:auto}
.team-initial{width:44px;height:44px;font-size:20px}

@media(max-width:1150px){.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){
 .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .detail-layout{grid-template-columns:1fr}
 .detail-art{max-height:520px;aspect-ratio:4/5;margin-inline:auto;max-width:420px}
 .studio-teaser.has-art{grid-template-columns:1fr}
}
/* Phones: compact list rows — poster thumbnail beside the text. */
@media(max-width:600px){
 .project-grid{grid-template-columns:1fr;gap:12px}
 .project-card{border-radius:14px}
 .project-card .card-main{display:grid;grid-template-columns:104px 1fr;align-items:stretch}
 .project-cover{aspect-ratio:4/5;height:100%}
 .project-category{display:none}
 .project-copy{padding:12px 14px 8px}
 .card-title h3{font-size:17px}
 .project-copy p{font-size:12.5px;margin-top:4px}
 .project-launch{margin-inline:14px;padding-block:9px}
 .hero h1{font-size:clamp(32px,9vw,40px)}
 .section-heading h2{font-size:var(--fs-h2)}
}
@media print{.project-cover::before,.detail-art::before{display:none}}

/* Sand bands: warm light sections that break up the all-navy page. */
:root{--sand:#f5eee4;--sand-2:#ece2d4;--sand-ink:#0b1730;--sand-muted:#4f5b72;--sand-line:#0b17301f}
.band-sand{background:var(--sand);color:var(--sand-ink)}
.band-sand.bleed{box-shadow:0 0 0 100vmax var(--sand);clip-path:inset(0 -100vmax)}
.band-sand h2,.band-sand h3,.band-sand strong{color:var(--sand-ink)}
.band-sand p,.band-sand .section-note,.band-sand .subtle-note{color:var(--sand-muted)}
.band-sand .eyebrow{color:#a2501a}
.band-sand .text-link{color:var(--sand-ink)}
.band-sand .accent-text,.band-sand .story-quote{color:#d4621a}
.band-sand .story-copy p:not(.eyebrow){color:#34405a}
.band-sand .story-end{color:var(--sand-ink)!important;border-color:#d4621a}
.band-sand .family-photo{border-color:var(--sand-line);background:#fff;box-shadow:0 24px 60px #0b173026}
.band-sand .family-photo figcaption{color:var(--sand-muted)}
/* Cards stay dark: posters on a light wall. */
.band-sand .project-card{color:#fff;border-color:transparent;box-shadow:0 18px 40px #0b173033}
.band-sand .project-card h3{color:#fff}
.band-sand .project-card p{color:#b3bfd3}
.band-sand .project-card .text-link,.band-sand .card-play{color:var(--accent)}
.band-sand .mobile-game{background:#fff;border-color:var(--sand-line);color:var(--sand-ink)}
.band-sand .mobile-game small{color:var(--sand-muted)}
.band-sand .ar-experience{background:#fff;border-color:var(--sand-line);box-shadow:0 8px 24px #0b173014}
.band-sand .ar-experience h3{color:var(--sand-ink)}
.band-sand .ar-index{color:#d4621a}
.band-sand .support-tip{background:var(--sand-2);border-color:var(--sand-line)}
.band-sand .tag{color:var(--sand-ink);border-color:var(--sand-line)}
.ar-band{padding-block:clamp(40px,5vw,72px);margin-top:clamp(48px,6vw,90px)}
.ar-band .ar-list-heading{margin-top:0}
.story.band-sand{padding-block:clamp(48px,6vw,88px);margin-block:10px 40px}
/* Detail frame follows the artwork's own shape (landscape or portrait). */
.detail-art{aspect-ratio:auto;max-height:none;display:flex;align-items:center;justify-content:center}
.detail-art img{width:100%;height:auto;max-height:640px;object-fit:contain}
/* AR lab: poster column sized to the 4:5 artwork. */
.ar-lab{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);align-items:center}
.ar-lab>img{height:auto;aspect-ratio:4/5;object-fit:cover}
@media(max-width:860px){.ar-lab{grid-template-columns:1fr}.ar-lab>img{max-height:480px;object-fit:contain;background:#0b1730}}
/* Team: each member's full card from the owner's illustration, frame and details intact, shown small. */
.team-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.team-member.has-photo{padding:0;background:none;border:0;border-radius:0;overflow:visible;display:block;text-align:center}
.team-photo{height:clamp(170px,15vw,220px);width:auto;max-width:100%;aspect-ratio:auto;object-fit:contain;display:block;margin-inline:auto;background:none;filter:drop-shadow(0 12px 22px #02081a66)}
.team-member .team-body{padding:12px 8px 0}
.team-member .team-body h2{font-size:18px}
.team-member .team-body p{font-size:13px;margin:0}
.team-member .team-role{margin-bottom:4px}
@media(max-width:1150px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.team-grid{grid-template-columns:1fr}}

/* AR lab experiences: one card each, designed art + mobile-only badge. */

.ar-exp{background:#fff;border:1px solid var(--sand-line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 10px 28px #0b173014}
.ar-exp-art img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block;transition:transform .4s var(--ease)}
.ar-exp:hover .ar-exp-art img{transform:scale(1.03)}
.ar-exp-art{overflow:hidden;display:block}
.ar-exp-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.ar-exp-tags{display:flex;gap:8px;flex-wrap:wrap}
.ar-exp-status,.ar-exp-device{font-size:11px;font-weight:700;border-radius:20px;padding:2px 10px;display:inline-flex;align-items:center;gap:5px}
.ar-exp-status{background:#ff8a3d1f;color:#b4501a}
.ar-exp-device{background:#0b17300d;color:var(--sand-ink)}
.ar-exp-device .icon{width:14px;height:14px}
.ar-exp h3{color:var(--sand-ink);font-size:18px;margin-top:4px}
.ar-exp p{color:var(--sand-muted)!important;font-size:13px;line-height:1.85;flex:1}
.ar-exp-open{align-self:flex-start;margin-top:8px;display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:13px;padding:8px 14px;border-radius:9px;background:var(--sand-ink);color:#fff}
.ar-exp-open .icon{width:16px;height:16px}
.ar-exp-open:hover{background:#ff8a3d;color:#1a0f05}
.band-sand .section-note .icon{width:16px;height:16px}
@media(max-width:1000px){.ar-exps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ar-exps{grid-template-columns:1fr}}

/* Tools strip on the studio page */
.tools{padding-block:var(--section-space) 10px}
.tool-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.tool{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.tool img,.tool-mono{width:34px;height:34px;flex:none}
.tool-mono{display:grid;place-items:center;border-radius:10px;background:#ffffff14;color:#fff;font-weight:700;font-size:18px;font-family:Cairo,sans-serif}
.tool strong{display:block;font-size:16px;color:#fff;text-align:right}
.tool small{display:block;font-size:12px;color:var(--muted);line-height:1.6}
@media(max-width:1150px){.tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool{padding:14px;gap:10px}}
.contact-intro .text-link{display:flex;width:fit-content}
.contact-intro .contact-email{margin-block:22px 4px;font-size:16px;color:var(--accent);gap:10px}
.contact-intro .contact-email .icon{width:20px;height:20px}

/* Owner-supplied character cut-outs, one per page, beside the page heading. */
.char{display:block;height:auto;max-width:none;pointer-events:none;user-select:none}
.heading-with-char{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:clamp(16px,4vw,48px)}
.heading-with-char .page-heading{max-width:none}
.heading-with-char .char{width:clamp(150px,19vw,260px);margin-bottom:clamp(-30px,-2vw,-10px)}
.section-heading.has-char{position:relative;align-items:flex-end}
.section-heading.has-char .char{width:clamp(130px,15vw,210px);margin-bottom:clamp(-90px,-6vw,-40px);position:relative;z-index:2;order:3}
@media(max-width:600px){
 .heading-with-char{grid-template-columns:minmax(0,1fr) 108px;gap:10px}
 .heading-with-char .char{width:108px;margin-bottom:24px}
 .section-heading.has-char .char{position:absolute;left:0;top:-10px;width:96px;margin:0}
 .section-heading.has-char .section-note{display:none}
}
@media(prefers-reduced-motion:no-preference){.char{animation:char-in .7s var(--ease) both}@keyframes char-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}}

/* Contact: plain email card instead of a form (owner request). */
.email-card{border:1px solid var(--line);border-radius:20px;background:var(--surface);padding:clamp(24px,4vw,40px)}
.email-card h2{margin-bottom:12px}
.email-card p:not(.eyebrow){font-size:var(--fs-body);line-height:2}
.email-address{display:inline-block;margin-block:22px 10px;padding:12px 20px;border-radius:12px;background:#ff8a3d1f;border:1px solid #ff8a3d66;color:var(--accent);font-weight:700;font-size:clamp(17px,1vw + 13px,22px);user-select:all;word-break:break-all}
.email-address:hover{background:var(--accent);color:#1a0f05}
.support-game{margin-top:14px;font-weight:700;color:var(--soft)!important}
/* Home hero: Aboden's character beside the headline, same pattern as the other pages. */
.hero-char{display:flex;justify-content:center;align-items:flex-end;align-self:end}
.hero-char .char{width:clamp(220px,26vw,360px)}
@media(max-width:860px){.hero{display:grid;grid-template-columns:minmax(0,1fr) 170px;align-items:start;gap:12px}.hero-char{align-self:start;margin-top:30px}.hero-char .char{width:170px}}
@media(max-width:600px){.hero{grid-template-columns:minmax(0,1fr) 108px}.hero-char .char{width:108px}}
/* AR experiences use the game-card style; their designed art fills the frame. */
.ar-cover img{object-fit:cover;filter:none}
.ar-cover::before{display:none}
.ar-card .project-copy p{-webkit-line-clamp:2}

/* Language switch + English (LTR) edition. */
.lang-switch{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:40px;padding:6px 12px;border:1px solid #ff8a3d80;border-radius:9px;color:#ffd2b3;font-weight:700;font-size:13px;letter-spacing:.04em}
.lang-switch:hover{background:var(--accent);color:#1a0f05}
.header-actions{display:flex;align-items:center;gap:10px}
html[dir=ltr] .icon:has(use[href="#i-arrow"]){scale:-1 1}
html[dir=ltr] .text-link:hover .icon,html[dir=ltr] .header-cta:hover .icon{transform:translateX(5px)}
html[dir=ltr] .project-english,html[dir=ltr] .tool strong{text-align:left}
html[dir=ltr] .project-category{right:auto;left:12px}
html[dir=ltr] .skip-link{right:auto;left:20px}
html[dir=ltr] .desktop-nav a[aria-current]:after{right:auto;left:50%}
html[lang=en] body{letter-spacing:0}
.quest-presskit{margin:clamp(40px,5vw,72px) 0 var(--section-space);border-radius:20px;overflow:hidden;border:1px solid var(--line)}
.quest-presskit img{width:100%;height:auto;display:block}
.quest-hero{width:100%;height:auto;border-radius:20px}

/* Play page: the game runs inside the studio site (abodengames.com/play/…). */
body.is-play .site-footer{display:none}
.play-page{display:flex;flex-direction:column;height:calc(100dvh - var(--header-h,97px));min-height:420px;background:#050c1c}
.play-bar{display:flex;align-items:center;gap:16px;padding:8px clamp(12px,3vw,32px);border-bottom:1px solid var(--line)}
.play-bar .text-link{margin:0;font-size:13px;white-space:nowrap}
.play-bar h1{font-size:16px;margin:0;flex:1;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.play-bar h1 span{color:var(--muted);font-size:12px;font-weight:500;margin-inline-start:6px}
.play-fullscreen{width:38px;height:38px}
.play-frame{flex:1;width:100%;border:0;display:block;background:#000}
.play-page:fullscreen .play-bar{display:none}
.play-forward{text-align:center;display:grid;justify-items:center;gap:16px}
@media(max-width:860px){.play-page{height:calc(100dvh - 80px)}.play-bar h1 span{display:none}}

/* Brand Kit v1 touches: the symbol pattern as a faint texture on navy blocks, and the kit's 1.8 icon stroke. */
.icon{stroke-width:1.8}
.site-footer,.platform-strip,.contact-banner,.play-bar{position:relative;isolation:isolate}
.site-footer::after,.platform-strip::after,.contact-banner::after,.play-bar::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:#fff;opacity:.035;-webkit-mask:url('/assets/brand/pattern.svg') 0 0/220px 220px repeat;mask:url('/assets/brand/pattern.svg') 0 0/220px 220px repeat}
.contact-banner{border-radius:22px;padding-inline:clamp(24px,4vw,48px);background:#0e1d38}

/* Meta Quest list (more than one game) and the Mafateeh screenshot gallery */
.quest-list{display:grid;gap:24px}
.quest-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:clamp(30px,4vw,56px) 0 var(--section-space)}
.quest-gallery img{width:100%;height:auto;border-radius:16px;border:1px solid var(--line)}
.quest-gallery img:first-child{grid-column:1/-1}
@media(max-width:600px){.quest-gallery{grid-template-columns:1fr}.quest-gallery img{border-radius:12px}}
.quest-card .release-date{display:flex;align-items:center;gap:8px;font-size:12px;color:#c6d3e7;margin-block:-10px 22px}
.quest-card .release-date .icon{width:16px;height:16px}
.quest-about{max-width:860px;border-top:1px solid var(--line);padding-top:clamp(32px,4vw,56px)}
.quest-about h2{margin-bottom:22px}
.quest-about p:not(.eyebrow){font-size:15px;line-height:2.15;margin-bottom:16px}
.feature-next{margin-top:0}
.feature-divider{border:0;border-top:1px solid var(--line);margin:clamp(48px,6vw,88px) 0}
.feature-badge{position:absolute;bottom:30px;right:24px;background:var(--accent,#ff8a3d);color:#0b1730;font-weight:700;font-size:13px;padding:6px 16px;border-radius:30px}
@media(max-width:600px){.feature-badge{bottom:16px;right:12px;font-size:11px;padding:4px 12px}}

/* Roblox section */
.roblox-soon{margin-bottom:40px;padding:36px 22px}
.roblox-soon p{margin:14px 0 0}
.roblox-note{margin-bottom:var(--section-space,90px)}
.roblox-list{margin-bottom:56px}
.roblox-card>img{object-fit:cover}
/* Mafateeh in the browser (2026-10-21): two links under its feature, the play button and its note */
.feature-links{display:flex;flex-wrap:wrap;align-items:center;gap:10px 28px}
.quest-details .button-accent+.web-note{font-size:13px;line-height:1.9;margin-block:12px 22px}

/* Battleship (owner, 2026-10-21): the featured web-game card and its page — the owner's portrait poster kept whole */
.feature-game{display:grid;grid-template-columns:minmax(0,300px) 1fr;align-items:center;gap:0;background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden;margin-bottom:34px;transition:border-color .3s,transform .3s}
.feature-game:hover{border-color:#9cb6df55;transform:translateY(-4px)}
.feature-game>img{width:100%;height:100%;max-height:440px;object-fit:cover;object-position:center 32%;background:#081327}
.feature-game>div{padding:clamp(24px,3vw,44px)}
.feature-game h3{font-size:clamp(26px,1.4vw + 20px,36px);margin-block:16px 10px}
.feature-game h3 .project-english{display:inline;margin-inline-start:10px;font-size:12px}
.feature-game p{font-size:var(--fs-small);margin-bottom:22px;max-width:520px}
.battleship-hero{display:grid;grid-template-columns:minmax(0,380px) 1fr;gap:clamp(28px,5vw,70px);align-items:start;margin-bottom:clamp(30px,4vw,56px)}
.battleship-poster{width:100%;height:auto;border-radius:20px;border:1px solid var(--line)}
.battleship-info h2{margin-block:20px 24px}
.battleship-info h3{font-size:20px;margin-top:30px}
.battleship-info .howto{color:var(--white);font-size:15px;margin-block:10px}
.battleship-info p{font-size:14px;line-height:2.05}
@media(max-width:700px){.feature-game{grid-template-columns:1fr}.feature-game>img{max-height:300px}.battleship-hero{grid-template-columns:1fr}.battleship-poster{max-width:360px;margin-inline:auto;border-radius:14px}}
/* Home «جديد» bar: latest additions right under the header (src/data/news.json, rotated by app.js) */
.news-bar{position:relative;background:linear-gradient(90deg,rgba(255,138,61,.14),rgba(11,23,48,.95) 40%,rgba(11,23,48,.95) 60%,rgba(255,138,61,.1));border-bottom:1px solid rgba(255,138,61,.22);font-size:.88rem}
.news-inner{display:flex;align-items:center;gap:14px;min-height:52px}
.news-badge{display:inline-flex;align-items:center;gap:7px;flex:none;padding:4px 12px;border-radius:999px;background:var(--accent,#ff8a3d);color:#1a0d02;font-weight:800;font-size:.8rem;box-shadow:0 0 18px rgba(255,138,61,.35)}
.news-badge i{width:7px;height:7px;border-radius:50%;background:#1a0d02}
@media(prefers-reduced-motion:no-preference){.news-badge i{animation:news-pulse 1.8s ease-in-out infinite}@keyframes news-pulse{50%{opacity:.25;transform:scale(.7)}}.news-item.is-active{animation:news-in .5s var(--ease,ease) both}@keyframes news-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
.news-track{flex:1;min-width:0;touch-action:pan-y}
.news-item{display:none;align-items:center;gap:10px;min-width:0;color:#fff;text-decoration:none}
.news-item.is-active{display:flex}
.news-item img{width:32px;height:32px;flex:none;border-radius:50%;object-fit:cover;border:2px solid rgba(255,138,61,.7)}
.news-item strong{flex:none;font-weight:800}
.news-item span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:rgba(255,255,255,.72)}
.news-item span:before{content:"— ";color:rgba(255,138,61,.8)}
.news-item .icon{flex:none;width:16px;height:16px;color:var(--accent,#ff8a3d);transition:transform .2s}
.news-item:hover strong,.news-item:focus-visible strong{color:var(--accent,#ff8a3d)}
.news-item:hover .icon{transform:translateX(-4px)}
html[dir=ltr] .news-item:hover .icon{transform:translateX(4px)}
.news-nav{display:flex;align-items:center;gap:4px;flex:none;color:rgba(255,255,255,.6);font-size:.78rem}
.news-nav button{width:28px;height:28px;border-radius:50%;border:1px solid rgba(255,255,255,.16);background:transparent;color:#fff;font-size:1.1rem;line-height:1;cursor:pointer}
.news-nav button:hover{border-color:var(--accent,#ff8a3d);color:var(--accent,#ff8a3d)}
html[dir=ltr] .news-nav button{transform:scaleX(-1)}
@media(max-width:640px){.news-inner{gap:10px;min-height:56px}.news-item{display:none;grid-template-columns:auto 1fr auto;column-gap:9px;row-gap:1px}.news-item.is-active{display:grid}.news-item img{grid-row:span 2}.news-item .icon{grid-row:span 2;grid-column:3}.news-item strong{font-size:.85rem;line-height:1.3}.news-item span{grid-column:2;white-space:normal;font-size:.72rem;line-height:1.35}.news-item span:before{content:none}.news-nav button{display:none}.news-badge{padding:3px 10px}}
/* Roblox: the owner's extra images for an experience, under its card, uncropped */
.roblox-gallery{display:grid;grid-template-columns:16fr 9fr;gap:16px;align-items:start;margin-top:-8px}
.roblox-gallery img{width:100%;height:auto;border-radius:16px;border:1px solid var(--line)}
@media(max-width:640px){.roblox-gallery{grid-template-columns:1fr}.roblox-gallery img{border-radius:12px}}
/* Home spotlight: a tall poster shown whole, centred on a blurred copy of itself in the wide frame */
.feature-poster{aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;isolation:isolate}
.feature-poster::before{content:"";position:absolute;inset:-40px;background:var(--feature-art) center/cover;filter:blur(30px) saturate(1.2);opacity:.8;z-index:-1}
.feature-poster img{width:auto;height:100%;max-width:100%;object-fit:contain;filter:drop-shadow(0 14px 30px #02081a99)}
@media(max-width:640px){.feature-poster{aspect-ratio:1/1}}
/* Game page offers (free trial, time-limited codes) */
.promo-list{display:grid;gap:12px;margin:18px 0 22px}
.promo{border:1px solid rgba(255,138,61,.35);background:rgba(255,138,61,.08);border-radius:14px;padding:14px 18px}
.promo h3{font-size:1rem;margin:0 0 4px;color:#fff}
.promo p{margin:2px 0 0;font-size:.9rem}
.promo-code{display:inline-block;padding:1px 10px;border-radius:8px;background:var(--accent,#ff8a3d);color:#1a0d02;font-weight:800;letter-spacing:.06em}
/* Gallery: an even count leaves the last image alone in its row; let it span the full width like the first */
.quest-gallery img:nth-child(even):last-child{grid-column:1/-1}
/* phone-portrait games (e.g. Saqr): screenshots side by side, none stretched to the full width */
.quest-gallery.is-tall{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.quest-gallery.is-tall img:first-child,.quest-gallery.is-tall img:nth-child(even):last-child{grid-column:auto}
/* Web game with landscape key art: the art takes the full width above the info (game page) or half the card (featured card) */
.battleship-hero.is-wide{grid-template-columns:1fr}
.battleship-hero.is-wide .battleship-poster{max-width:100%}
.feature-game.is-wide{grid-template-columns:minmax(0,1.15fr) 1fr}
.feature-game.is-wide>img{height:100%;max-height:none;aspect-ratio:16/9;object-position:center}
@media(max-width:700px){.feature-game.is-wide{grid-template-columns:1fr}.feature-game.is-wide>img{height:auto}}
/* Studio game page: the owner's dedication, right above the poster. */
.game-dedication{margin:0 auto 18px;width:fit-content;max-width:100%;padding:10px 20px;border-radius:22px;background:color-mix(in srgb,var(--accent) 14%,transparent);border:1px solid color-mix(in srgb,var(--accent) 40%,transparent);font-weight:700;text-align:center;line-height:1.7}
