:root {
    --gaemster-navy: #12205a;
    --gaemster-ink: #17213d;
    --gaemster-cyan: #20c9e8;
    --gaemster-cyan-dark: #078ca7;
    --gaemster-pink: #f53c79;
    --gaemster-yellow: #ffc928;
    --gaemster-purple: #8d45e6;
    --gaemster-line: #dcebf3;
    --gaemster-soft-blue: #f3fbff;
    --gaemster-white: #ffffff;
}

body.gaemster-game-page {
    margin: 0;
    background: var(--gaemster-white);
    color: var(--gaemster-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gaemster-game-page * { box-sizing: border-box; }
.gaemster-game-page a { color: inherit; }
.gaemster-container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.gaemster-wide-container { width: min(1320px, calc(100% - 32px)); margin-inline: auto; }
.gaemster-player-container { width: min(1380px, calc(100% - 28px)); margin-inline: auto; }

.gaemster-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--gaemster-line);
    backdrop-filter: blur(14px);
}

.admin-bar .gaemster-site-header { top: 32px; }

.gaemster-site-header__inner {
    width: min(1460px, calc(100% - 28px));
    min-height: 70px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.gaemster-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 0 0 auto;
}

.gaemster-brand__logo-window {
    position: relative;
    display: block;
    width: 182px;
    height: 52px;
    overflow: hidden;
    flex: 0 0 auto;
}
.gaemster-brand__logo {
    position: absolute;
    display: block;
    width: 540px;
    height: 540px;
    max-width: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.gaemster-brand__meep {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.gaemster-brand__name {
    font-weight: 950;
    letter-spacing: .035em;
    font-size: 1.55rem;
    color: var(--gaemster-navy);
}

.gaemster-main-nav { display: flex; gap: 22px; align-items: center; margin-inline: auto; }
.gaemster-main-nav a { text-decoration: none; font-weight: 800; color: var(--gaemster-navy); }
.gaemster-main-nav a:hover { color: var(--gaemster-cyan-dark); }
.gaemster-header-actions { display: flex; gap: 9px; align-items: center; }
.gaemster-menu-toggle { display: none; }

.gaemster-btn,
.gaemster-icon-btn {
    text-decoration: none;
    border-radius: 10px;
    font-weight: 850;
    border: 1px solid transparent;
    white-space: nowrap;
}

.gaemster-btn { padding: 10px 15px; }
.gaemster-icon-btn {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-color: #cfe1ed;
    background: #fff;
    color: var(--gaemster-navy);
    font-size: 1.4rem;
}
.gaemster-btn--secondary { border-color: var(--gaemster-cyan); color: var(--gaemster-navy); background: #fff; }
.gaemster-btn--plus { background: var(--gaemster-yellow); color: #111827; box-shadow: 0 5px 16px rgba(255,201,40,.25); }

.gaemster-game-intro {
    border-bottom: 1px solid var(--gaemster-line);
    background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.gaemster-game-intro__inner { padding-block: 15px 14px; }
.gaemster-back-link { display: inline-flex; margin-bottom: 8px; text-decoration: none; font-weight: 850; color: var(--gaemster-cyan-dark); }
.gaemster-game-heading-row { display: flex; gap: 32px; justify-content: space-between; align-items: flex-end; }
.gaemster-game-heading-copy { min-width: 0; }
.gaemster-game-heading-row h1 {
    margin: 5px 0 6px;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1;
    letter-spacing: -.035em;
    color: var(--gaemster-navy);
}
.gaemster-game-excerpt { max-width: 820px; font-size: 1rem; line-height: 1.55; color: #4b5563; }
.gaemster-game-excerpt p { margin: 0; }
.gaemster-game-badges { display: flex; gap: 8px; flex-wrap: wrap; }

.gaemster-status,
.gaemster-category-list a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .78rem;
    font-weight: 900;
    text-decoration: none;
}
.gaemster-status--live { background: #e8fff2; color: #087742; }
.gaemster-status--beta { background: #fff7dd; color: #8a5a00; }
.gaemster-status--coming_soon { background: #f3f4f6; color: #4b5563; }
.gaemster-status--challenge { background: #fff0f5; color: #b51d52; }
.gaemster-category-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.gaemster-category-list a { background: #fff; color: var(--gaemster-navy); border: 1px solid var(--gaemster-line); }

.gaemster-player-zone { padding: 18px 0 18px; background: #fff; }
.gaemster-player-shell {
    overflow: hidden;
    border: 1px solid #cfe1ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(18,32,90,.12);
}

.gaemster-player-stage {
    position: relative;
    width: 100%;
    height: var(--gaemster-player-height, 960px);
    min-height: 680px;
    background: #eef8fc;
    overflow: clip;
    transition: height .18s ease;
}
.gaemster-player-shell--portrait .gaemster-player-stage {
    width: min(760px, 100%);
    margin-inline: auto;
}
.gaemster-game-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
    overflow: hidden;
}
.gaemster-player-message {
    min-height: 520px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    text-align: center;
    color: var(--gaemster-navy);
}
.gaemster-player-message strong { font-size: 1.6rem; }

.gaemster-player-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f7fcff;
    border-bottom: 1px solid var(--gaemster-line);
}
.gaemster-player-spacer { flex: 1; }
.gaemster-player-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cfe1ed;
    background: #fff;
    color: var(--gaemster-navy);
    border-radius: 9px;
    padding: 9px 13px;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}
.gaemster-player-action:hover { border-color: var(--gaemster-cyan); }
.gaemster-player-action[aria-pressed="true"] { background: #fff2f7; border-color: #ffb4cd; color: #b51d52; }
.gaemster-player-action--primary { border-color: var(--gaemster-cyan); background: #eafcff; }

.gaemster-player-shell:fullscreen {
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
    background: #08111f;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}
.gaemster-player-shell:fullscreen .gaemster-player-stage {
    width: 100%;
    height: 100%;
    min-height: 0;
}
.gaemster-player-shell:fullscreen .gaemster-player-toolbar {
    border-bottom: 1px solid rgba(18,32,90,.14);
}
.gaemster-player-shell:fullscreen .gaemster-game-frame { background: #fff; }
body.gaemster-fullscreen-active { overflow: hidden; }

.gaemster-ad-slot { padding-block: 8px 28px; text-align: center; }
.gaemster-ad-slot > span { display: block; margin-bottom: 7px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #98a2b3; }
.gaemster-ad-placeholder {
    min-height: 108px;
    display: grid;
    place-items: center;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #fafcff;
    color: #98a2b3;
    padding: 16px;
}
.gaemster-ad-slot--bottom { padding-top: 0; padding-bottom: 42px; }

.gaemster-game-details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
    padding-block: 14px 34px;
}
.gaemster-content-card { border: 1px solid var(--gaemster-line); border-radius: 16px; background: #fff; padding: 26px; }
.gaemster-entry-content > :first-child { margin-top: 0; }
.gaemster-entry-content h2, .gaemster-game-facts h2 { color: var(--gaemster-navy); }
.gaemster-game-facts dl { margin: 0; }
.gaemster-game-facts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #edf2f7; }
.gaemster-game-facts dl div:last-child { border-bottom: 0; }
.gaemster-game-facts dt { font-weight: 850; color: var(--gaemster-navy); }
.gaemster-game-facts dd { margin: 0; text-align: right; color: #667085; }

.gaemster-challenge-card {
    margin-bottom: 34px;
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    overflow: hidden;
    border: 1px solid #e3d1ff;
    border-radius: 18px;
    background: linear-gradient(135deg, #fbf7ff 0%, #f2e8ff 100%);
    padding: 26px 30px;
}
.gaemster-challenge-card__copy { max-width: 720px; }
.gaemster-eyebrow { color: #6f2bc4; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; font-size: .82rem; }
.gaemster-challenge-card h2 { margin: 6px 0 6px; color: var(--gaemster-navy); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.gaemster-challenge-card p { margin: 0 0 16px; color: #596279; }
.gaemster-btn--challenge { display: inline-flex; background: var(--gaemster-purple); color: #fff !important; }
.gaemster-challenge-card__meep { width: 190px; max-height: 190px; object-fit: contain; align-self: flex-end; }

.gaemster-related-games { padding-block: 4px 38px; }
.gaemster-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.gaemster-section-heading h2 { margin: 0; color: var(--gaemster-navy); font-size: 1.8rem; }
.gaemster-section-heading a { text-decoration: none; color: var(--gaemster-cyan-dark); font-weight: 850; }
.gaemster-game-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.gaemster-game-card {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--gaemster-line);
    background: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(18,32,90,.07);
    transition: transform .18s ease, box-shadow .18s ease;
}
.gaemster-game-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(18,32,90,.12); }
.gaemster-game-card__image { display: block; aspect-ratio: 4/3; background: linear-gradient(135deg,#dff8ff,#fff3c8); background-size: cover; background-position: center; }
.gaemster-game-card__body { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 13px; }
.gaemster-game-card__body strong { color: var(--gaemster-navy); }
.gaemster-game-card__body span { color: var(--gaemster-cyan-dark); font-weight: 900; }

.gaemster-site-footer { border-top: 1px solid var(--gaemster-line); background: #f8fcff; }
.gaemster-site-footer__inner { padding-block: 26px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.gaemster-footer-brand { display: flex; align-items: center; gap: 10px; }
.gaemster-footer-brand img { width: 48px; height: 48px; object-fit: contain; }
.gaemster-footer-brand__logo-window { position: relative; display: block; width: 150px; height: 44px; overflow: hidden; flex: 0 0 auto; }
.gaemster-footer-brand .gaemster-footer-brand__logo { position: absolute; width: 470px; height: 470px; max-width: none; left: 50%; top: 50%; transform: translate(-50%, -50%); object-fit: contain; }
.gaemster-site-footer strong { color: var(--gaemster-navy); }
.gaemster-site-footer p { margin: 4px 0 0; color: #667085; }
.gaemster-site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.gaemster-site-footer nav a { text-decoration: none; font-weight: 800; color: #42507b; }

@media (max-width: 1100px) {
    .gaemster-main-nav { display: none; position: absolute; top: calc(100% + 1px); left: 14px; right: 14px; padding: 14px; background: #fff; border: 1px solid var(--gaemster-line); border-radius: 12px; box-shadow: 0 18px 40px rgba(18,32,90,.12); }
    .gaemster-main-nav.is-open { display: grid; gap: 12px; }
    .gaemster-menu-toggle { display: inline-grid; place-items: center; margin-left: auto; width: 42px; height: 42px; border: 1px solid #cfe1ed; background: #fff; border-radius: 10px; color: var(--gaemster-navy); font-size: 1.2rem; }
    .gaemster-header-actions { margin-left: 0; }
    .gaemster-game-details-grid { grid-template-columns: 1fr; }
    .gaemster-game-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 780px) {
    .admin-bar .gaemster-site-header { top: 46px; }
    .gaemster-site-header__inner { min-height: 62px; gap: 9px; }
    .gaemster-brand__logo-window { width: 142px; height: 44px; }
    .gaemster-brand__logo { width: 430px; height: 430px; }
    .gaemster-brand__meep { width: 40px; height: 40px; }
    .gaemster-brand__name { font-size: 1.12rem; }
    .gaemster-btn--secondary, .gaemster-icon-btn { display: none; }
    .gaemster-btn { padding: 8px 9px; font-size: .78rem; }
    .gaemster-game-heading-row { display: block; }
    .gaemster-category-list { justify-content: flex-start; margin-top: 15px; }
    .gaemster-player-container { width: 100%; }
    .gaemster-player-shell { border-radius: 0; border-left: 0; border-right: 0; }
    .gaemster-player-stage { height: var(--gaemster-player-height, 780px); min-height: 540px; }
    .gaemster-player-toolbar { flex-wrap: wrap; padding: 10px; }
    .gaemster-player-spacer { display: none; }
    .gaemster-player-action { flex: 1 1 auto; }
    .gaemster-challenge-card { padding: 22px; }
    .gaemster-challenge-card__meep { width: 130px; max-height: 130px; }
    .gaemster-site-footer__inner { display: block; }
    .gaemster-site-footer nav { margin-top: 20px; }
}

@media (max-width: 560px) {
    .gaemster-game-card-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .gaemster-game-card__body { display: block; }
    .gaemster-game-card__body span { display: block; margin-top: 5px; }
    .gaemster-challenge-card__meep { display: none; }
    .gaemster-player-action--link { display: none; }
}

.screen-reader-text { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

/* ==========================================================
   GAEMSTER HOME — v0.6 VISUAL MATCH
   Bright, high-energy browser-game portal.
   ========================================================== */
body.gaemster-home-page {
    margin: 0;
    background: #fff;
    color: var(--gaemster-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.gaemster-home-page * { box-sizing: border-box; }
.gaemster-home-page a { color: inherit; }
.gaemster-home-container { width: min(1580px, calc(100% - 28px)); margin-inline: auto; }
.gaemster-home-main { overflow: hidden; }

/* Header */
.gaemster-home-header .gaemster-site-header__inner { width: min(1580px, calc(100% - 28px)); min-height: 64px; gap: 26px; }
.gaemster-home-brand { min-width: 250px; }
.gaemster-home-brand__logo { display:block; width: 250px; height: 52px; object-fit: contain; object-position: left center; }
.gaemster-home-header .gaemster-main-nav { gap: 34px; }
.gaemster-home-header .gaemster-main-nav a { font-size: .93rem; text-transform: uppercase; letter-spacing: .015em; font-weight: 950; }
.gaemster-home-header .gaemster-main-nav a.is-active { color: var(--gaemster-cyan-dark); position: relative; }
.gaemster-home-header .gaemster-main-nav a.is-active::after { content:''; position:absolute; left:0; right:0; bottom:-18px; height:3px; border-radius:999px; background:var(--gaemster-cyan); }
.gaemster-home-header .gaemster-btn { padding: 9px 17px; }
.gaemster-home-header .gaemster-icon-btn { width: 40px; height: 40px; }

/* Hero */
.gaemster-home-hero {
    position: relative;
    isolation: isolate;
    width: min(1650px, calc(100% - 22px));
    min-height: 395px;
    margin: 8px auto 0;
    overflow: hidden;
    border: 1px solid #b7e7f3;
    border-radius: 30px;
    background:
        radial-gradient(circle at 16% 15%, rgba(255,255,255,.96) 0 6%, transparent 19%),
        radial-gradient(circle at 72% 9%, rgba(255,255,255,.70) 0 7%, transparent 21%),
        linear-gradient(135deg,#dff8ff 0%,#9ce8ff 46%,#dcf7d1 100%);
    box-shadow: 0 16px 42px rgba(18,32,90,.08);
}
.gaemster-home-hero::before {
    content:'';
    position:absolute;
    inset:0;
    z-index:-2;
    background:
      radial-gradient(circle at 7% 78%, rgba(245,60,121,.18) 0 4%, transparent 15%),
      radial-gradient(circle at 92% 76%, rgba(141,69,230,.16) 0 5%, transparent 18%),
      linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.18));
}
.gaemster-home-hero__scene {
    position:absolute;
    z-index:-1;
    top:0;
    right:0;
    bottom:0;
    width:58%;
    background-image:
        linear-gradient(90deg, rgba(172,237,251,.98) 0%, rgba(172,237,251,.52) 17%, rgba(255,255,255,.02) 47%),
        var(--gaemster-hero-art);
    background-size: cover;
    background-position: center;
    opacity:.94;
    mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 100%);
}
.gaemster-home-hero__inner {
    min-height: 395px;
    position:relative;
    display:flex;
    align-items:center;
    padding: 26px 42% 28px 34px;
}
.gaemster-home-hero__copy { position:relative; z-index:3; width:min(690px,100%); }
.gaemster-home-kicker { color:#e72f6b; font-size:.97rem; letter-spacing:.035em; font-weight:1000; margin-bottom:7px; }
.gaemster-home-hero h1, .gaemster-home-hero .gm-hero-headline {
    margin:0;
    color:#101d56;
    font-size:clamp(3rem,4.5vw,5.55rem);
    line-height:.9;
    letter-spacing:-.055em;
    font-weight:1000;
    text-wrap:balance;
}
.gaemster-home-hero h2 { margin:7px 0 0; color:#f18a00; font-size:clamp(1.5rem,2.2vw,2.45rem); line-height:1; font-weight:1000; }
.gaemster-hero-status-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap:12px; width:min(610px,100%); margin:17px 0 14px; }
.gaemster-reset-card,.gaemster-hero-goals { background:rgba(255,255,255,.88); border:1px solid rgba(18,32,90,.10); border-radius:16px; box-shadow:0 6px 18px rgba(18,32,90,.06); }
.gaemster-reset-card { display:grid; place-items:center; padding:10px 14px; text-align:center; }
.gaemster-reset-card span { color:#4d5b75; font-size:.73rem; font-weight:800; }
.gaemster-reset-card strong { color:#e23872; font-size:1.72rem; letter-spacing:.11em; line-height:1.15; font-variant-numeric:tabular-nums; }
.gaemster-reset-card small { color:#6d7690; font-size:.55rem; font-weight:900; letter-spacing:.06em; }
.gaemster-hero-goals { display:grid; gap:5px; padding:10px 13px; align-content:center; }
.gaemster-hero-goals span { color:#17213d; font-size:.78rem; font-weight:900; text-transform:uppercase; }
.gaemster-home-play-btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-width:235px; min-height:52px; padding:12px 24px; border-radius:12px; text-decoration:none; background:linear-gradient(135deg,#ff477f,#f5236c); color:#fff!important; box-shadow:0 12px 25px rgba(245,60,121,.28); font-size:1rem; font-weight:1000; text-transform:uppercase; transition:.18s ease; }
.gaemster-home-play-btn:hover { transform:translateY(-2px); box-shadow:0 16px 34px rgba(245,60,121,.34); }
.gaemster-home-hero__meep { position:absolute; z-index:2; right:31%; bottom:-18px; width:clamp(210px,21vw,355px); max-height:375px; object-fit:contain; filter:drop-shadow(0 20px 24px rgba(18,32,90,.18)); pointer-events:none; }

/* Discovery: trending + daily challenge */
.gaemster-home-section { padding: 14px 0; }
.gaemster-home-section--discovery { padding-top:14px; }
.gaemster-discovery-grid { display:grid; grid-template-columns:minmax(0,2.4fr) minmax(330px,.92fr); gap:14px; align-items:stretch; }
.gaemster-trending-panel,.gaemster-daily-challenge-card,.gaemster-home-panel { border:1px solid #d7eaf3; border-radius:22px; background:#fff; }
.gaemster-trending-panel { padding:14px; min-width:0; }
.gaemster-section-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:10px; }
.gaemster-section-heading h2 { margin:0; color:var(--gaemster-navy); font-size:clamp(1.18rem,1.8vw,1.7rem); text-transform:uppercase; letter-spacing:-.015em; }
.gaemster-section-heading a { text-decoration:none; color:#087fa1; font-size:.8rem; font-weight:950; text-transform:uppercase; }
.gaemster-home-game-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:11px; }
.gaemster-home-game-card { position:relative; overflow:hidden; min-width:0; border:1px solid #d4eaf3; border-radius:15px; background:#fff; box-shadow:0 7px 18px rgba(18,32,90,.07); transition:.18s ease; }
.gaemster-home-game-card:hover { transform:translateY(-3px); box-shadow:0 14px 28px rgba(18,32,90,.13); }
.gaemster-home-game-card__image { position:relative; display:block; aspect-ratio:.88/1; overflow:hidden; background:linear-gradient(145deg,#e9fbff,#f6ecff); }
.gaemster-home-game-card__image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.gaemster-home-game-card:hover .gaemster-home-game-card__image img { transform:scale(1.035); }
.gaemster-game-card-play-overlay { position:absolute; left:50%; bottom:8px; transform:translateX(-50%); min-width:92px; padding:7px 15px; border-radius:8px; background:rgba(19,36,90,.88); border:1px solid rgba(255,255,255,.78); color:#fff; font-size:.72rem; font-weight:1000; text-align:center; backdrop-filter:blur(4px); }
.gaemster-home-game-card__badges { position:absolute; left:7px; top:7px; display:flex; gap:5px; z-index:2; }
.gaemster-home-game-card__badges span { padding:3px 7px; border-radius:999px; background:#f53c79; color:#fff; font-size:.57rem; font-weight:1000; }
.gaemster-home-game-card__badges span.is-plus { background:#ffc928; color:#332500; }
.gaemster-home-game-card__body { padding:9px 10px 10px; }
.gaemster-home-game-card__body h3 { margin:0; color:var(--gaemster-navy); font-size:.86rem; line-height:1.15; }
.gaemster-home-game-card__body p { display:none; }
.gaemster-home-game-card__body .gaemster-card-play { display:none; }
.gaemster-home-game-grid.is-single { grid-template-columns:1fr; }
.gaemster-home-game-grid.is-single .gaemster-home-game-card { display:grid; grid-template-columns:minmax(240px,1.2fr) minmax(190px,.8fr); min-height:246px; }
.gaemster-home-game-grid.is-single .gaemster-home-game-card__image { aspect-ratio:auto; min-height:246px; }
.gaemster-home-game-grid.is-single .gaemster-home-game-card__body { display:flex; align-items:center; padding:24px; background:linear-gradient(135deg,#f8fdff,#fff); }
.gaemster-home-game-grid.is-single .gaemster-home-game-card__body h3 { font-size:1.4rem; }
.gaemster-home-game-grid.is-single .gaemster-home-game-card__body p { display:block; margin:8px 0 0; color:#667085; line-height:1.45; }
.gaemster-home-game-grid.is-single .gaemster-game-card-play-overlay { min-width:125px; padding:9px 18px; font-size:.84rem; }

.gaemster-daily-challenge-card { display:flex; flex-direction:column; overflow:hidden; background:linear-gradient(145deg,#fff,#f4eaff 70%,#f9f5ff); border-color:#d9c4ff; padding:15px; box-shadow:0 8px 24px rgba(91,46,145,.07); }
.gaemster-panel-kicker { color:var(--gaemster-navy); font-size:.74rem; font-weight:1000; letter-spacing:.045em; text-transform:uppercase; margin-bottom:9px; }
.gaemster-daily-challenge-card__body { position:relative; flex:1; min-height:236px; display:grid; grid-template-columns:minmax(0,1fr) 44%; align-items:center; gap:8px; }
.gaemster-daily-challenge-card__copy { position:relative; z-index:2; }
.gaemster-daily-label { color:#6c3bb2; font-size:.61rem; letter-spacing:.07em; font-weight:1000; }
.gaemster-daily-challenge-card h2 { margin:5px 0 12px; color:var(--gaemster-navy); font-size:clamp(1.45rem,2.3vw,2.35rem); line-height:1; letter-spacing:-.04em; }
.gaemster-daily-challenge-card img { align-self:end; justify-self:end; width:100%; max-width:210px; max-height:220px; object-fit:contain; }
.gaemster-daily-stat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
.gaemster-daily-stat-grid div { min-width:0; padding:8px 5px; border-radius:10px; background:rgba(255,255,255,.78); border:1px solid rgba(141,69,230,.13); text-align:center; }
.gaemster-daily-stat-grid strong { display:block; color:var(--gaemster-purple); font-size:.85rem; }
.gaemster-daily-stat-grid span { display:block; margin-top:2px; color:#686477; font-size:.55rem; font-weight:800; }
.gaemster-daily-play-btn { display:flex; align-items:center; justify-content:center; gap:9px; margin-top:10px; min-height:43px; border-radius:10px; background:linear-gradient(135deg,#9149e8,#742bcf); color:#fff!important; text-decoration:none; font-weight:1000; text-transform:uppercase; box-shadow:0 8px 20px rgba(125,51,205,.18); }

/* Continue + Quick Play */
.gaemster-home-section--return-quick { padding-top:0; }
.gaemster-return-quick-grid { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); gap:14px; }
.gaemster-home-panel { padding:13px; box-shadow:0 6px 20px rgba(18,32,90,.05); }
.gaemster-continue-card { display:grid; grid-template-columns:180px minmax(0,1fr) auto; gap:14px; align-items:center; }
.gaemster-continue-card img { width:180px; height:88px; object-fit:cover; border-radius:12px; }
.gaemster-continue-card__copy { display:grid; gap:3px; }
.gaemster-continue-card__copy strong { color:var(--gaemster-navy); font-size:1rem; }
.gaemster-continue-card__copy span { color:#6b7280; font-size:.75rem; }
.gaemster-continue-progress { height:7px; background:#e6eef3; border-radius:999px; overflow:hidden; margin-top:6px; }
.gaemster-continue-progress i { display:block; width:58%; height:100%; background:linear-gradient(90deg,#61cf36,#9adf34); border-radius:999px; }
.gaemster-card-play { display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:7px 13px; border-radius:9px; text-decoration:none; background:#e9fbff; border:1px solid #8ee7f7; color:var(--gaemster-navy)!important; font-size:.75rem; font-weight:1000; white-space:nowrap; }
.gaemster-card-play--disabled { background:#f4f4f5; border-color:#e4e4e7; color:#71717a!important; }
.gaemster-quick-panel { min-width:0; }
.gaemster-quick-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; }
.gaemster-quick-card { display:grid; place-items:center; gap:5px; min-height:94px; border:1px solid #d7eaf3; border-radius:13px; background:#fbfdff; text-decoration:none; color:var(--gaemster-navy)!important; font-size:.72rem; text-transform:uppercase; font-weight:1000; transition:.18s ease; }
.gaemster-quick-card:hover { transform:translateY(-2px); border-color:#20c9e8; background:#edfbff; }
.gaemster-quick-card__icon { font-size:1.75rem; }

/* Retention strip + Gaemster+ */
.gaemster-home-section--features { padding:0 0 20px; }
.gaemster-feature-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); overflow:hidden; border:1px solid #eadcfb; border-radius:18px; background:linear-gradient(90deg,#fff7fb,#faf7ff); }
.gaemster-feature-strip--five { grid-template-columns:repeat(4,minmax(0,1fr)) minmax(260px,1.15fr); }
.gaemster-feature-strip > div { padding:14px; display:grid; grid-template-columns:auto 1fr; column-gap:9px; align-items:center; border-right:1px solid #eadcfb; }
.gaemster-feature-strip > div span { grid-row:1/3; font-size:1.65rem; }
.gaemster-feature-strip strong { color:var(--gaemster-navy); font-size:.82rem; }
.gaemster-feature-strip small { color:#71717a; font-size:.65rem; }
.gaemster-feature-plus { display:grid; grid-template-columns:auto 1fr; column-gap:10px; align-content:center; padding:12px 17px; text-decoration:none; background:linear-gradient(135deg,#fff9e8,#ffe69a); border-left:1px solid #f0c84d; }
.gaemster-feature-plus > span { grid-row:1/4; align-self:center; font-size:2.2rem; }
.gaemster-feature-plus strong { font-size:.9rem; }
.gaemster-feature-plus small { color:#7c6300; }
.gaemster-feature-plus b { margin-top:4px; color:#3a2a00; font-size:.66rem; text-transform:uppercase; }

/* Footer */
.gaemster-home-footer { margin-top:0; background:#fbfdff; }
.gaemster-home-footer .gaemster-site-footer__inner { width:min(1580px,calc(100% - 28px)); padding-block:18px; }
.gaemster-home-footer__logo { width:120px; height:42px; object-fit:contain; object-position:left center; }
.gaemster-home-footer .gaemster-footer-brand { gap:10px; }
.gaemster-home-footer .gaemster-site-footer nav { gap:15px; }
.gaemster-home-footer .gaemster-site-footer nav a { font-size:.78rem; }
.gaemster-home-empty { padding:30px; border:1px dashed #b9dce9; border-radius:16px; text-align:center; color:#667085; background:#f8fdff; }

@media (max-width: 1260px) {
    .gaemster-home-brand { min-width:210px; }
    .gaemster-home-brand__logo { width:210px; }
    .gaemster-home-header .gaemster-main-nav { gap:20px; }
    .gaemster-home-hero__inner { padding-right:39%; }
    .gaemster-home-hero__meep { right:28%; width:270px; }
    .gaemster-discovery-grid { grid-template-columns:minmax(0,1.85fr) minmax(300px,.9fr); }
    .gaemster-home-game-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .gaemster-feature-strip--five { grid-template-columns:repeat(2,1fr); }
    .gaemster-feature-strip--five .gaemster-feature-plus { grid-column:1/-1; border-left:0; border-top:1px solid #f0c84d; }
}

@media (max-width: 960px) {
    .gaemster-home-brand { min-width:auto; }
    .gaemster-home-brand__logo { width:185px; }
    .gaemster-home-hero { border-radius:22px; min-height:560px; }
    .gaemster-home-hero__scene { width:100%; top:48%; opacity:.72; mask-image:linear-gradient(180deg,transparent 0%,#000 20%,#000 100%); }
    .gaemster-home-hero__inner { min-height:560px; align-items:flex-start; padding:32px 20px 270px; }
    .gaemster-home-hero__meep { right:6%; bottom:-4px; width:245px; }
    .gaemster-discovery-grid,.gaemster-return-quick-grid { grid-template-columns:1fr; }
    .gaemster-home-game-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .gaemster-home-game-grid.is-single .gaemster-home-game-card { grid-template-columns:1fr; }
    .gaemster-home-game-grid.is-single .gaemster-home-game-card__image { min-height:280px; aspect-ratio:16/8; }
    .gaemster-daily-challenge-card__body { min-height:210px; }
}

@media (max-width: 720px) {
    .gaemster-home-container { width:min(100% - 20px,1580px); }
    .gaemster-home-header .gaemster-site-header__inner { width:calc(100% - 20px); min-height:60px; }
    .gaemster-home-brand__logo { width:155px; height:42px; }
    .gaemster-home-header .gaemster-main-nav a.is-active::after { display:none; }
    .gaemster-home-hero { width:calc(100% - 12px); margin-top:6px; }
    .gaemster-home-hero h1, .gaemster-home-hero .gm-hero-headline { font-size:clamp(2.6rem,13vw,4rem); }
    .gaemster-hero-status-grid { grid-template-columns:1fr; }
    .gaemster-hero-goals { grid-template-columns:1fr 1fr; }
    .gaemster-home-hero__meep { width:195px; }
    .gaemster-home-game-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .gaemster-home-game-card__image { aspect-ratio:.9/1; }
    .gaemster-continue-card { grid-template-columns:95px 1fr; }
    .gaemster-continue-card img { width:95px; height:72px; }
    .gaemster-continue-card .gaemster-card-play { grid-column:1/-1; }
    .gaemster-quick-grid { grid-template-columns:repeat(5,minmax(82px,1fr)); overflow-x:auto; padding-bottom:4px; }
    .gaemster-quick-card { min-width:82px; }
    .gaemster-feature-strip--five { grid-template-columns:1fr 1fr; }
    .gaemster-feature-strip > div:nth-child(even) { border-right:0; }
}

@media (max-width: 520px) {
    .gaemster-home-hero { min-height:600px; }
    .gaemster-home-hero__inner { min-height:600px; padding-bottom:245px; }
    .gaemster-home-kicker { font-size:.78rem; }
    .gaemster-home-hero h2 { font-size:1.45rem; }
    .gaemster-home-play-btn { width:100%; }
    .gaemster-home-hero__scene { top:56%; }
    .gaemster-home-hero__meep { width:170px; right:2%; }
    .gaemster-home-game-grid { grid-template-columns:1fr 1fr; gap:8px; }
    .gaemster-home-game-grid.is-single .gaemster-home-game-card__image { min-height:210px; }
    .gaemster-daily-challenge-card__body { grid-template-columns:1fr 38%; }
    .gaemster-daily-stat-grid { grid-template-columns:1fr; }
    .gaemster-feature-strip--five { grid-template-columns:1fr; }
    .gaemster-feature-strip > div { border-right:0; border-bottom:1px solid #eadcfb; }
    .gaemster-feature-plus { grid-column:auto!important; }
}

/* ==========================================================
   GAEMSTER v0.7 — TYPOGRAPHY, ICONS + MEEP POSE SYSTEM
   ========================================================== */
:root {
    --gaemster-display: "Fredoka", system-ui, sans-serif;
    --gaemster-hero-font: "Bowlby One SC", "Fredoka", system-ui, sans-serif;
    --gaemster-body: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --gaemster-lime: #9eea31;
    --gaemster-blue: #1466d8;
}

body.gaemster-home-page,
body.gaemster-game-page {
    font-family: var(--gaemster-body);
}

.gaemster-icon {
    width: 1.15em;
    height: 1.15em;
    display: inline-block;
    flex: 0 0 auto;
    vertical-align: -.18em;
}

/* Shared brand lockup inspired by the approved portal mockup. */
.gaemster-brand-lockup {
    gap: 8px;
    min-width: 235px;
}
.gaemster-brand-lockup__mascot {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(145deg,#e6fbff,#fff);
    box-shadow: 0 5px 14px rgba(18,32,90,.12);
}
.gaemster-brand-lockup__mascot img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    transform: translateY(5px) scale(1.12);
}
.gaemster-brand-lockup__wordmark {
    display: inline-flex;
    align-items: baseline;
    font-family: var(--gaemster-display);
    font-size: 1.72rem;
    line-height: 1;
    letter-spacing: .005em;
    font-weight: 700;
}
.gaemster-brand-lockup__wordmark b { font-weight: 700; }
.gaemster-brand-lockup__wordmark b:first-child { color: var(--gaemster-navy); }
.gaemster-brand-lockup__wordmark b:last-child { color: #72cb20; }

.gaemster-main-nav a,
.gaemster-btn,
.gaemster-player-action,
.gaemster-card-play,
.gaemster-home-play-btn,
.gaemster-daily-play-btn,
.gaemster-game-card-play-overlay {
    font-family: var(--gaemster-display);
}
.gaemster-btn,
.gaemster-player-action,
.gaemster-card-play,
.gaemster-home-play-btn,
.gaemster-daily-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.gaemster-btn .gaemster-icon,
.gaemster-icon-btn .gaemster-icon,
.gaemster-player-action .gaemster-icon,
.gaemster-card-play .gaemster-icon { width: 1.05em; height: 1.05em; }
.gaemster-icon-btn { font-size: 1rem; }

/* Home header */
.gaemster-home-brand { min-width: 235px; }
.gaemster-home-header .gaemster-main-nav a {
    font-family: var(--gaemster-display);
    font-size: .92rem;
    letter-spacing: .005em;
    font-weight: 700;
}
.gaemster-home-header .gaemster-btn { font-weight: 700; }

/* Hero typography and UI */
.gaemster-home-kicker,
.gaemster-panel-kicker,
.gaemster-section-heading h2,
.gaemster-daily-label {
    font-family: var(--gaemster-display);
}
.gaemster-home-kicker,
.gaemster-panel-kicker,
.gaemster-section-heading h2 {
    display: flex;
    align-items: center;
    gap: 7px;
}
.gaemster-home-kicker .gaemster-icon {
    width: 20px;
    height: 20px;
    color: var(--gaemster-pink);
}
.gaemster-home-hero h1, .gaemster-home-hero .gm-hero-headline {
    font-family: var(--gaemster-hero-font);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: .93;
    text-transform: uppercase;
    text-shadow: 0 3px 0 rgba(255,255,255,.82);
}
.gaemster-home-hero h2 {
    font-family: var(--gaemster-display);
    font-weight: 700;
    letter-spacing: -.02em;
}
.gaemster-reset-card strong {
    font-family: var(--gaemster-display);
    font-weight: 600;
}
.gaemster-hero-goals span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--gaemster-display);
    text-transform: none;
    font-size: .84rem;
    letter-spacing: 0;
}
.gaemster-hero-goals .gaemster-icon { width: 17px; height: 17px; }
.gaemster-hero-goals span:nth-child(1) .gaemster-icon { color:#ff5c35; }
.gaemster-hero-goals span:nth-child(2) .gaemster-icon { color:#e4a900; }
.gaemster-hero-goals span:nth-child(3) .gaemster-icon { color:#7c45db; }
.gaemster-home-play-btn {
    font-size: 1rem;
    border-radius: 11px;
    letter-spacing: .02em;
}
.gaemster-home-play-btn .gaemster-icon { width: 18px; height: 18px; fill: currentColor; }
.gaemster-home-hero__meep {
    filter: drop-shadow(0 18px 23px rgba(18,32,90,.20));
}

/* Section headers and view-all links */
.gaemster-section-heading h2 {
    font-weight: 700;
    text-transform: none;
    letter-spacing: -.02em;
}
.gaemster-section-heading h2 .gaemster-icon { color:#ff7039; width:23px; height:23px; }
.gaemster-section-heading a {
    display:inline-flex;
    align-items:center;
    gap:3px;
    font-family:var(--gaemster-display);
    font-weight:700;
}
.gaemster-section-heading a .gaemster-icon { width:14px; height:14px; }
.gaemster-home-game-card__body h3 {
    font-family: var(--gaemster-display);
    font-weight: 600;
}
.gaemster-game-card-play-overlay {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
}
.gaemster-game-card-play-overlay .gaemster-icon { width:12px; height:12px; fill:currentColor; }

/* Daily challenge */
.gaemster-panel-kicker { font-weight:700; letter-spacing:.02em; }
.gaemster-panel-kicker .gaemster-icon { width:17px; height:17px; color:var(--gaemster-purple); }
.gaemster-daily-challenge-card h2 {
    font-family: var(--gaemster-display);
    font-weight: 600;
    letter-spacing: -.025em;
}
.gaemster-daily-stat-grid div {
    display:grid;
    justify-items:center;
    gap:1px;
}
.gaemster-daily-stat-grid .gaemster-icon { width:18px; height:18px; color:var(--gaemster-purple); margin-bottom:2px; }
.gaemster-daily-stat-grid strong { font-family:var(--gaemster-display); font-weight:700; }
.gaemster-daily-play-btn .gaemster-icon { width:16px; height:16px; fill:currentColor; }

/* Continue Playing */
.gaemster-continue-card {
    grid-template-columns: 180px minmax(0,1fr) 68px auto;
    overflow: hidden;
}
.gaemster-continue-card > [data-gaemster-continue-image] {
    width:180px;
    height:88px;
    object-fit:cover;
    border-radius:12px;
}
.gaemster-continue-card__copy strong {
    font-family: var(--gaemster-display);
    font-weight: 600;
}
.gaemster-continue-meep {
    width:68px!important;
    height:76px!important;
    object-fit:contain!important;
    border-radius:0!important;
    align-self:end;
    transform:translateY(8px);
    filter:drop-shadow(0 6px 8px rgba(18,32,90,.12));
}
.gaemster-card-play .gaemster-icon { width:14px; height:14px; }

/* Quick Play icon tiles */
.gaemster-quick-card {
    font-family: var(--gaemster-display);
    font-weight: 600;
    letter-spacing: .01em;
    text-transform: uppercase;
}
.gaemster-quick-card__icon {
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border-radius:15px;
    background:#eefbff;
    color:#1d99ba;
    transition:.18s ease;
}
.gaemster-quick-card:nth-child(1) .gaemster-quick-card__icon { background:#efffe8; color:#57ae25; }
.gaemster-quick-card:nth-child(2) .gaemster-quick-card__icon { background:#f5ecff; color:#8d45e6; }
.gaemster-quick-card:nth-child(3) .gaemster-quick-card__icon { background:#e9f6ff; color:#2479c9; }
.gaemster-quick-card:nth-child(4) .gaemster-quick-card__icon { background:#fff8d9; color:#d49800; }
.gaemster-quick-card:nth-child(5) .gaemster-quick-card__icon { background:#fff0f3; color:#d83b62; }
.gaemster-quick-card__icon .gaemster-icon { width:29px; height:29px; }
.gaemster-quick-card:hover .gaemster-quick-card__icon { transform:scale(1.06) rotate(-2deg); }

/* Retention strip */
.gaemster-feature-strip > div {
    grid-template-columns: 48px 1fr;
    column-gap:10px;
}
.gaemster-feature-icon {
    grid-row:1/3;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:13px;
}
.gaemster-feature-icon .gaemster-icon { width:25px; height:25px; }
.gaemster-feature-icon--community { color:#7141c5; background:#f2eaff; }
.gaemster-feature-icon--challenge { color:#d99b00; background:#fff5cf; }
.gaemster-feature-icon--badges { color:#f0522c; background:#fff0e8; }
.gaemster-feature-icon--rewards { color:#d92c67; background:#ffedf3; }
.gaemster-feature-strip strong { font-family:var(--gaemster-display); font-weight:600; font-size:.86rem; }
.gaemster-feature-plus {
    position:relative;
    grid-template-columns: 50px 1fr 72px;
    column-gap:8px;
    overflow:hidden;
    min-height:82px;
    padding:10px 12px 9px;
}
.gaemster-feature-plus__crown {
    grid-row:1/4;
    width:44px;
    height:44px;
    align-self:center;
    display:grid;
    place-items:center;
    color:#b67b00;
    background:rgba(255,255,255,.55);
    border-radius:14px;
}
.gaemster-feature-plus__crown .gaemster-icon { width:28px; height:28px; }
.gaemster-feature-plus__meep {
    grid-column:3;
    grid-row:1/4;
    width:72px;
    height:78px;
    object-fit:contain;
    align-self:end;
    justify-self:end;
    transform:translateY(7px);
    filter:drop-shadow(0 5px 7px rgba(113,79,0,.12));
}
.gaemster-feature-plus strong,
.gaemster-feature-plus small,
.gaemster-feature-plus b { grid-column:2; }
.gaemster-feature-plus strong { font-family:var(--gaemster-display); font-weight:700; }
.gaemster-feature-plus b { display:inline-flex; align-items:center; gap:3px; font-family:var(--gaemster-display); }
.gaemster-feature-plus b .gaemster-icon { width:12px; height:12px; }

/* Footer pose */
.gaemster-footer-meep {
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    overflow:hidden;
}
.gaemster-footer-meep img { width:55px; height:55px; object-fit:contain; transform:translateY(5px); }
.gaemster-site-footer strong,
.gaemster-site-footer nav a { font-family:var(--gaemster-display); }

/* Game-page visual polish */
.gaemster-game-heading-row h1,
.gaemster-content-card h2,
.gaemster-challenge-card h2,
.gaemster-related-games h2,
.gaemster-game-facts dt {
    font-family:var(--gaemster-display);
}
.gaemster-game-heading-row h1 { font-weight:600; letter-spacing:-.025em; }
.gaemster-back-link { display:inline-flex; align-items:center; gap:4px; font-family:var(--gaemster-display); }
.gaemster-back-link .gaemster-icon--back { transform:rotate(180deg); }
.gaemster-player-action { gap:6px; }
.gaemster-player-action .gaemster-icon { width:16px; height:16px; }
.gaemster-player-action[data-gaemster-favorite][aria-pressed="true"] .gaemster-icon { color:var(--gaemster-pink); fill:rgba(245,60,121,.18); }
.gaemster-eyebrow { display:inline-flex; align-items:center; gap:6px; font-family:var(--gaemster-display); }
.gaemster-eyebrow .gaemster-icon { width:16px; height:16px; color:#ff653b; }
.gaemster-challenge-card__meep { object-fit:contain; }

@media (max-width: 1260px) {
    .gaemster-brand-lockup { min-width:205px; }
    .gaemster-brand-lockup__wordmark { font-size:1.5rem; }
    .gaemster-continue-card { grid-template-columns:145px minmax(0,1fr) 56px auto; }
    .gaemster-continue-card > [data-gaemster-continue-image] { width:145px; }
    .gaemster-continue-meep { width:56px!important; }
}

@media (max-width: 720px) {
    .gaemster-brand-lockup { min-width:auto; }
    .gaemster-brand-lockup__mascot { width:40px; height:40px; }
    .gaemster-brand-lockup__mascot img { width:49px; height:49px; }
    .gaemster-brand-lockup__wordmark { font-size:1.28rem; }
    .gaemster-home-hero h1, .gaemster-home-hero .gm-hero-headline { font-size:clamp(2.45rem,12vw,3.75rem); }
    .gaemster-continue-card { grid-template-columns:88px 1fr 52px; }
    .gaemster-continue-card > [data-gaemster-continue-image] { width:88px; height:70px; }
    .gaemster-continue-meep { width:50px!important; height:65px!important; }
    .gaemster-continue-card .gaemster-card-play { grid-column:1/-1; }
    .gaemster-feature-plus { grid-template-columns:48px 1fr 62px; }
    .gaemster-feature-plus__meep { width:62px; height:68px; }
}

@media (max-width: 520px) {
    .gaemster-brand-lockup__wordmark { display:none; }
    .gaemster-home-header .gaemster-site-header__inner { gap:8px; }
    .gaemster-home-hero h1, .gaemster-home-hero .gm-hero-headline { letter-spacing:-.01em; }
    .gaemster-continue-meep { display:none; }
    .gaemster-continue-card { grid-template-columns:82px 1fr; }
    .gaemster-quick-card__icon { width:42px; height:42px; }
    .gaemster-quick-card__icon .gaemster-icon { width:25px; height:25px; }
}

/* ==========================================================
   GAEMSTER v0.8 — FINAL HOMEPAGE LAYOUT PASS
   Four-game launch grid, tighter challenge balance, and
   stronger mascot / Gaemster+ hierarchy.
   ========================================================== */

/* Slightly stronger brand presence without crowding navigation. */
.gaemster-home-header .gaemster-brand-lockup { min-width: 250px; }
.gaemster-home-header .gaemster-brand-lockup__mascot {
    width: 50px;
    height: 50px;
}
.gaemster-home-header .gaemster-brand-lockup__mascot img {
    width: 61px;
    height: 61px;
}
.gaemster-home-header .gaemster-brand-lockup__wordmark {
    font-size: 1.84rem;
}

/* The portal should fill the Trending panel cleanly whether 2, 3, 4, or 5
   browser-playable games are currently featured. */
.gaemster-home-game-grid.is-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gaemster-home-game-grid.is-count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gaemster-home-game-grid.is-count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gaemster-home-game-grid.is-count-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.gaemster-home-game-grid.is-count-4 .gaemster-home-game-card__image {
    aspect-ratio: 1 / 1.12;
}
.gaemster-home-game-grid.is-count-5 .gaemster-home-game-card__image {
    aspect-ratio: 1 / 1.08;
}
.gaemster-home-game-grid.is-count-4 .gaemster-home-game-card__body,
.gaemster-home-game-grid.is-count-5 .gaemster-home-game-card__body {
    padding: 10px 11px 11px;
}
.gaemster-home-game-grid.is-count-4 .gaemster-home-game-card__body h3 {
    font-size: .92rem;
}
.gaemster-home-game-card {
    box-shadow: 0 8px 20px rgba(18,32,90,.075);
}
.gaemster-game-card-play-overlay {
    bottom: 9px;
    min-width: 96px;
    border-radius: 9px;
    background: rgba(18,32,90,.92);
    box-shadow: 0 5px 15px rgba(18,32,90,.18);
}

/* Daily challenge: move the information to the top instead of vertically
   centering it in a tall card, and let Challenging Meep do more visual work. */
.gaemster-daily-challenge-card {
    background:
        radial-gradient(circle at 88% 24%, rgba(255,255,255,.95) 0 8%, transparent 25%),
        linear-gradient(145deg,#fff 0%,#f6edff 62%,#efe1ff 100%);
}
.gaemster-daily-challenge-card__body {
    min-height: 0;
    flex: 1;
    align-items: start;
    grid-template-columns: minmax(0,1fr) 43%;
    padding-top: 10px;
}
.gaemster-daily-challenge-card__copy {
    align-self: start;
}
.gaemster-daily-challenge-card h2 {
    margin-top: 7px;
    margin-bottom: 15px;
}
.gaemster-daily-challenge-card img {
    align-self: start;
    justify-self: center;
    width: 118%;
    max-width: 245px;
    max-height: 250px;
    margin-top: 8px;
    transform: translateX(3%);
    filter: drop-shadow(0 12px 18px rgba(82,42,135,.14));
}
.gaemster-daily-stat-grid {
    max-width: 280px;
}
.gaemster-daily-play-btn {
    min-height: 47px;
    font-size: .96rem;
}

/* Continue Playing should use Pointing Meep as a recognizable guide, not a
   tiny decorative icon. */
.gaemster-continue-card {
    grid-template-columns: 180px minmax(0,1fr) 86px auto;
}
.gaemster-continue-meep {
    width: 84px!important;
    height: 92px!important;
    transform: translateY(10px);
}

/* Gaemster+ gets the stronger gold treatment shown in the approved concept. */
.gaemster-feature-plus {
    background:
        radial-gradient(circle at 92% 18%, rgba(255,255,255,.72) 0 8%, transparent 25%),
        linear-gradient(135deg,#fff6c7 0%,#ffd969 72%,#ffc928 100%);
    border-left-color: #e8b916;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}
.gaemster-feature-plus__crown {
    width: 48px;
    height: 48px;
    color: #9f6800;
    background: rgba(255,255,255,.70);
    box-shadow: 0 5px 14px rgba(151,101,0,.10);
}
.gaemster-feature-plus__crown .gaemster-icon {
    width: 31px;
    height: 31px;
}
.gaemster-feature-plus__meep {
    width: 78px;
    height: 84px;
}
.gaemster-feature-plus strong {
    font-size: .96rem;
}

/* Keep the four-card launch layout intact longer on medium desktops. */
@media (max-width: 1260px) and (min-width: 961px) {
    .gaemster-home-game-grid.is-count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .gaemster-home-game-grid.is-count-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .gaemster-home-header .gaemster-brand-lockup { min-width: 220px; }
    .gaemster-home-header .gaemster-brand-lockup__wordmark { font-size: 1.58rem; }
    .gaemster-continue-card { grid-template-columns: 145px minmax(0,1fr) 66px auto; }
    .gaemster-continue-card > [data-gaemster-continue-image] { width: 145px; }
    .gaemster-continue-meep { width: 64px!important; height: 78px!important; }
}

@media (max-width: 960px) {
    .gaemster-home-game-grid.is-count-4,
    .gaemster-home-game-grid.is-count-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gaemster-daily-challenge-card__body { min-height: 210px; }
    .gaemster-daily-challenge-card img { width: 100%; max-width: 220px; }
}

@media (max-width: 720px) {
    .gaemster-home-header .gaemster-brand-lockup { min-width: auto; }
    .gaemster-home-header .gaemster-brand-lockup__mascot { width: 40px; height: 40px; }
    .gaemster-home-header .gaemster-brand-lockup__mascot img { width: 49px; height: 49px; }
    .gaemster-home-header .gaemster-brand-lockup__wordmark { font-size: 1.28rem; }
    .gaemster-home-game-grid.is-count-3,
    .gaemster-home-game-grid.is-count-4,
    .gaemster-home-game-grid.is-count-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gaemster-continue-card { grid-template-columns: 88px 1fr 54px; }
    .gaemster-continue-meep { width: 52px!important; height: 68px!important; }
}

/* ==========================================================
   GAEMSTER v0.9 — GAME LIBRARY + TAXONOMY ARCHIVES
   Replaces generic WordPress archives with a browser-first
   arcade library, filters, search, and responsive game cards.
   ========================================================== */

.gaemster-library-page {
    margin:0;
    background:#fff;
    color:var(--gaemster-navy);
    font-family:var(--gaemster-body);
}
.gaemster-library-main { min-height:72vh; padding-bottom:46px; }
.gaemster-library-container { width:min(1320px,calc(100% - 40px)); margin:0 auto; }
.gaemster-library-hero {
    overflow:hidden;
    border-bottom:1px solid #d9edf6;
    background:
        radial-gradient(circle at 80% 25%,rgba(255,255,255,.95),transparent 19%),
        linear-gradient(118deg,#eafcff 0%,#c9f5ff 58%,#f5edff 100%);
}
.gaemster-library-hero__inner {
    min-height:250px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 290px;
    gap:32px;
    align-items:center;
    position:relative;
}
.gaemster-library-hero__copy { padding:44px 0; }
.gaemster-library-hero h1 {
    margin:7px 0 8px;
    font-family:var(--gaemster-display);
    font-size:clamp(2.5rem,5vw,4.65rem);
    line-height:.96;
    letter-spacing:-.035em;
    color:var(--gaemster-navy);
}
.gaemster-library-hero p { max-width:670px; margin:0; font-size:1.08rem; color:#52628a; font-weight:700; }
.gaemster-library-hero__meep { width:250px; height:230px; object-fit:contain; align-self:end; justify-self:center; filter:drop-shadow(0 15px 20px rgba(18,32,90,.14)); }
.gaemster-library-search {
    max-width:900px;
    margin:-25px auto 20px;
    position:relative;
    z-index:4;
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    border:1px solid #cae2ee;
    border-radius:18px;
    background:#fff;
    box-shadow:0 14px 34px rgba(18,32,90,.10);
    overflow:hidden;
}
.gaemster-library-search__icon { display:grid; place-items:center; padding-left:18px; color:#6073a6; }
.gaemster-library-search__icon .gaemster-icon { width:21px; height:21px; }
.gaemster-library-search input {
    min-width:0;
    border:0;
    outline:0;
    padding:17px 14px;
    font:800 1rem var(--gaemster-body);
    color:var(--gaemster-navy);
    background:transparent;
}
.gaemster-library-search input::placeholder { color:#95a2bf; }
.gaemster-library-search button {
    align-self:stretch;
    border:0;
    padding:0 28px;
    cursor:pointer;
    background:linear-gradient(135deg,#20c9e8,#00aee8);
    color:#06285f;
    font:700 .92rem var(--gaemster-display);
}
.gaemster-library-filters {
    display:flex;
    gap:8px;
    align-items:center;
    overflow-x:auto;
    scrollbar-width:none;
    padding:4px 0 20px;
}
.gaemster-library-filters::-webkit-scrollbar { display:none; }
.gaemster-library-filters a {
    flex:0 0 auto;
    text-decoration:none;
    color:#304478;
    border:1px solid #d9e8f0;
    background:#fff;
    border-radius:999px;
    padding:8px 15px;
    font:700 .77rem var(--gaemster-display);
    text-transform:uppercase;
    letter-spacing:.02em;
}
.gaemster-library-filters a:hover,
.gaemster-library-filters a.is-active { color:#fff; background:var(--gaemster-navy); border-color:var(--gaemster-navy); }
.gaemster-library-result-note { margin:0 0 18px; color:#657394; font-size:.95rem; }
.gaemster-library-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:22px;
    margin:8px 0 38px;
}
.gaemster-library-card {
    min-width:0;
    border:1px solid #d8e8f0;
    border-radius:20px;
    background:#fff;
    box-shadow:0 10px 26px rgba(18,32,90,.075);
    overflow:hidden;
    transition:transform .18s ease,box-shadow .18s ease;
}
.gaemster-library-card:hover { transform:translateY(-4px); box-shadow:0 18px 38px rgba(18,32,90,.13); }
.gaemster-library-card__image {
    position:relative;
    display:block;
    aspect-ratio:1/1.05;
    overflow:hidden;
    background:#edf8fb;
}
.gaemster-library-card__image img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .25s ease; }
.gaemster-library-card:hover .gaemster-library-card__image img { transform:scale(1.025); }
.gaemster-library-card__fallback { height:100%; display:grid; place-items:center; color:#20aaca; }
.gaemster-library-card__fallback .gaemster-icon { width:64px; height:64px; }
.gaemster-library-card__badges { position:absolute; z-index:2; top:10px; left:10px; display:flex; gap:6px; }
.gaemster-library-card__badges span { border-radius:999px; padding:4px 8px; font:800 .62rem var(--gaemster-display); color:#fff; background:var(--gaemster-pink); box-shadow:0 3px 9px rgba(0,0,0,.12); }
.gaemster-library-card__badges .is-plus { background:#ffc928; color:#3d2c00; }
.gaemster-library-card__play {
    position:absolute;
    bottom:12px;
    left:50%;
    transform:translateX(-50%);
    min-width:118px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    gap:6px;
    padding:9px 18px;
    border-radius:10px;
    color:#fff;
    background:rgba(18,32,90,.94);
    font:700 .78rem var(--gaemster-display);
    box-shadow:0 7px 18px rgba(18,32,90,.22);
}
.gaemster-library-card__play .gaemster-icon { width:13px; height:13px; }
.gaemster-library-card__body { padding:16px 17px 18px; }
.gaemster-library-card__terms { display:flex; gap:5px; flex-wrap:wrap; margin-bottom:9px; }
.gaemster-library-card__terms a { text-decoration:none; border-radius:999px; background:#eefaff; color:#177895; padding:4px 8px; font:800 .63rem var(--gaemster-body); text-transform:uppercase; letter-spacing:.025em; }
.gaemster-library-card h2 { margin:0 0 7px; font:600 1.18rem/1.15 var(--gaemster-display); }
.gaemster-library-card h2 a { color:var(--gaemster-navy); text-decoration:none; }
.gaemster-library-card p { min-height:3.8em; margin:0 0 14px; color:#667397; font-size:.88rem; line-height:1.45; }
.gaemster-library-card__cta {
    display:inline-flex;
    align-items:center;
    gap:6px;
    text-decoration:none;
    border-radius:10px;
    padding:9px 13px;
    color:#06285f;
    background:#bff5ff;
    border:1px solid #5ddff6;
    font:700 .76rem var(--gaemster-display);
}
.gaemster-library-card__cta .gaemster-icon { width:13px; height:13px; }
.gaemster-library-card__cta.is-disabled { background:#f1f3f7; border-color:#d9dde8; color:#8b92a6; }
.gaemster-library-pagination { margin:4px 0 38px; }
.gaemster-library-pagination .page-numbers { list-style:none; display:flex; gap:7px; justify-content:center; padding:0; margin:0; }
.gaemster-library-pagination a,.gaemster-library-pagination span { min-width:38px; height:38px; display:grid; place-items:center; text-decoration:none; border-radius:10px; border:1px solid #d9e8f0; color:#304478; background:#fff; font-weight:800; }
.gaemster-library-pagination .current { color:#fff; background:var(--gaemster-navy); border-color:var(--gaemster-navy); }
.gaemster-library-empty { min-height:280px; display:grid; grid-template-columns:150px 1fr; gap:28px; align-items:center; max-width:760px; margin:20px auto 42px; padding:30px; border-radius:22px; border:1px solid #e3d7f3; background:#faf5ff; }
.gaemster-library-empty img { width:150px; height:150px; object-fit:contain; }
.gaemster-library-empty h2 { margin:0 0 6px; font-family:var(--gaemster-display); }
.gaemster-library-empty p { color:#667397; }
.gaemster-library-empty a { display:inline-block; margin-top:8px; color:#fff; background:#8d45e6; border-radius:10px; padding:10px 14px; text-decoration:none; font:700 .78rem var(--gaemster-display); }
.gaemster-library-quick { margin-top:4px; padding:24px; border:1px solid #dbeaf2; border-radius:22px; background:linear-gradient(135deg,#f9feff,#f8f4ff); }
.gaemster-library-quick .gaemster-section-heading { margin-bottom:15px; }
.gaemster-library-quick__grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.gaemster-library-quick__item { display:grid; place-items:center; gap:8px; text-decoration:none; color:var(--gaemster-navy); border:1px solid #d9e8f0; border-radius:16px; background:#fff; padding:16px 10px; transition:transform .15s ease,border-color .15s ease; }
.gaemster-library-quick__item:hover { transform:translateY(-2px); border-color:#83dff0; }
.gaemster-library-quick__item span { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; background:#eafaff; color:#08a9ca; }
.gaemster-library-quick__item .gaemster-icon { width:27px; height:27px; }
.gaemster-library-quick__item strong { font:700 .76rem var(--gaemster-display); text-transform:uppercase; }
.gaemster-library-footer { margin-top:0; }

@media (max-width:1100px) {
    .gaemster-library-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .gaemster-library-hero__inner { grid-template-columns:1fr 230px; }
    .gaemster-library-hero__meep { width:215px; height:205px; }
}
@media (max-width:820px) {
    .gaemster-library-container { width:min(100% - 28px,1320px); }
    .gaemster-library-hero__inner { min-height:220px; grid-template-columns:1fr 180px; gap:10px; }
    .gaemster-library-hero__copy { padding:34px 0; }
    .gaemster-library-hero__meep { width:180px; height:175px; }
    .gaemster-library-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
    .gaemster-library-search { margin-top:-20px; }
    .gaemster-library-quick__grid { grid-template-columns:repeat(5,minmax(92px,1fr)); overflow-x:auto; }
}
@media (max-width:560px) {
    .gaemster-library-hero__inner { grid-template-columns:1fr; min-height:0; }
    .gaemster-library-hero__copy { padding:32px 0 8px; }
    .gaemster-library-hero__meep { width:125px; height:115px; justify-self:end; margin-top:-28px; }
    .gaemster-library-hero h1 { font-size:clamp(2.35rem,13vw,3.35rem); }
    .gaemster-library-hero p { font-size:.95rem; }
    .gaemster-library-search { grid-template-columns:auto 1fr; border-radius:14px; }
    .gaemster-library-search button { grid-column:1/-1; min-height:43px; }
    .gaemster-library-grid { grid-template-columns:1fr; }
    .gaemster-library-card__image { aspect-ratio:16/10; }
    .gaemster-library-card p { min-height:0; }
    .gaemster-library-empty { grid-template-columns:1fr; text-align:center; padding:24px 18px; }
    .gaemster-library-empty img { justify-self:center; }
    .gaemster-library-quick { padding:18px 14px; }
}

/* v1.0 Revenue foundation */
.gaemster-adsense-unit {
    width: 100%;
    min-height: 90px;
    border-radius: 14px;
    overflow: hidden;
}
.gaemster-library-ad {
    margin-top: 24px;
    padding-bottom: 24px;
}
@media (max-width: 640px) {
    .gaemster-adsense-unit { min-height: 70px; }
}

/* ==========================================================
   v1.1 Viral sharing + retention loop
   ========================================================== */
.gaemster-viral-loop {
    margin-bottom: 34px;
    min-height: 230px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 210px;
    align-items: center;
    gap: 28px;
    overflow: hidden;
    border: 1px solid #cfe7f4;
    border-radius: 20px;
    background:
        radial-gradient(circle at 86% 20%, rgba(255,255,255,.95), transparent 20%),
        linear-gradient(135deg,#effcff 0%,#f8f2ff 58%,#fff7d9 100%);
    padding: 28px 30px;
    box-shadow: 0 10px 30px rgba(18,32,90,.06);
}
.gaemster-viral-loop.has-result {
    border-color: #f3cf6c;
    background: linear-gradient(135deg,#fffbea 0%,#f6edff 52%,#e9fbff 100%);
}
.gaemster-viral-loop__copy { min-width: 0; }
.gaemster-viral-loop h2 {
    margin: 7px 0 7px;
    color: var(--gaemster-navy);
    font: 600 clamp(1.75rem,3vw,2.55rem)/1.03 var(--gaemster-display);
}
.gaemster-viral-loop p { max-width: 760px; margin: 0 0 17px; color:#5e6885; font-weight:700; }
.gaemster-viral-loop__actions { display:flex; flex-wrap:wrap; gap:9px; }
.gaemster-viral-loop__actions .gaemster-btn {
    border:0;
    min-height:42px;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    text-decoration:none;
    font-family:var(--gaemster-display);
    font-weight:700;
}
.gaemster-viral-loop__actions .gaemster-icon { width:16px; height:16px; }
.gaemster-btn--viral-primary { background:linear-gradient(135deg,#09bfe2,#03a9d1); color:#06285f!important; }
.gaemster-btn--viral-challenge { background:linear-gradient(135deg,#9149e8,#742bcf); color:#fff!important; }
.gaemster-btn--viral-copy { background:#fff; color:var(--gaemster-navy)!important; border:1px solid #cfe1ed!important; }
.gaemster-btn--viral-next { background:#ffd43b; color:#493500!important; }
.gaemster-viral-loop__meep { width:205px; height:205px; object-fit:contain; justify-self:end; filter:drop-shadow(0 12px 18px rgba(18,32,90,.13)); }

.gaemster-challenge-card__actions { display:flex; flex-wrap:wrap; gap:9px; }
.gaemster-btn--challenge-share {
    border:1px solid #d8b9fb;
    background:#fff;
    color:#6f2bc4!important;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:7px;
}
.gaemster-btn--challenge-share .gaemster-icon { width:16px; height:16px; }

.gaemster-daily-card-actions { display:grid; grid-template-columns:minmax(0,1fr); gap:7px; margin-top:10px; }
.gaemster-daily-card-actions .gaemster-daily-play-btn { margin-top:0; }
.gaemster-daily-share-btn {
    min-height:36px;
    border:1px solid #d8c2f7;
    border-radius:10px;
    background:#fff;
    color:#6f2bc4;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    font:700 .72rem var(--gaemster-display);
    text-transform:uppercase;
}
.gaemster-daily-share-btn:hover { background:#fbf7ff; border-color:#b98ce9; }
.gaemster-daily-share-btn .gaemster-icon { width:14px; height:14px; }

.gaemster-toast {
    position:fixed;
    z-index:999999;
    left:50%;
    bottom:28px;
    transform:translate(-50%,18px);
    opacity:0;
    pointer-events:none;
    border-radius:999px;
    background:#12205a;
    color:#fff;
    padding:11px 18px;
    box-shadow:0 12px 30px rgba(18,32,90,.22);
    font:800 .88rem var(--gaemster-body);
    transition:opacity .18s ease,transform .18s ease;
}
.gaemster-toast.is-visible { opacity:1; transform:translate(-50%,0); }

@media (max-width:780px) {
    .gaemster-viral-loop { grid-template-columns:1fr 135px; padding:22px; gap:14px; }
    .gaemster-viral-loop__meep { width:135px; height:135px; }
    .gaemster-viral-loop__actions .gaemster-btn { flex:1 1 190px; }
}
@media (max-width:560px) {
    .gaemster-viral-loop { grid-template-columns:1fr; }
    .gaemster-viral-loop__meep { width:110px; height:110px; justify-self:end; margin-top:-16px; }
    .gaemster-viral-loop__actions { display:grid; grid-template-columns:1fr 1fr; }
    .gaemster-viral-loop__actions .gaemster-btn { width:100%; padding-inline:8px; font-size:.72rem; }
    .gaemster-challenge-card__actions { display:grid; grid-template-columns:1fr; }
    .gaemster-toast { width:max-content; max-width:calc(100% - 28px); text-align:center; }
}

/* ==========================================================
   GAEMSTER v1.2 — PLAYER PROFILES + SCORE LEADERBOARDS
   ========================================================== */
body.gaemster-profile-page,
body.gaemster-leaderboards-page {
    margin:0;
    background:#fff;
    color:var(--gaemster-navy);
    font-family:var(--gaemster-body);
}
.gaemster-profile-page *,
.gaemster-leaderboards-page * { box-sizing:border-box; }
.gaemster-profile-main,
.gaemster-leaderboards-main { min-height:72vh; padding-bottom:48px; }
.gaemster-profile-hero,
.gaemster-leaderboards-hero {
    overflow:hidden;
    border-bottom:1px solid #d9edf6;
    background:linear-gradient(118deg,#eafcff 0%,#c9f5ff 58%,#f5edff 100%);
}
.gaemster-profile-hero__inner,
.gaemster-leaderboards-hero__inner {
    min-height:245px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 300px;
    align-items:center;
    gap:28px;
}
.gaemster-profile-hero h1,
.gaemster-leaderboards-hero h1 {
    margin:7px 0 8px;
    font:700 clamp(2.4rem,5vw,4.6rem)/.97 var(--gaemster-display);
    letter-spacing:-.035em;
    color:var(--gaemster-navy);
}
.gaemster-profile-hero p,
.gaemster-leaderboards-hero p { margin:0; max-width:760px; color:#52628a; font-weight:700; font-size:1.05rem; }
.gaemster-profile-hero__meep,
.gaemster-leaderboards-hero__meep { width:260px; height:225px; object-fit:contain; align-self:end; justify-self:center; filter:drop-shadow(0 15px 20px rgba(18,32,90,.14)); }
.gaemster-profile-id { margin-top:13px; color:#657399; font-weight:800; font-size:.82rem; }
.gaemster-profile-id code { border-radius:7px; background:rgba(255,255,255,.7); padding:4px 7px; color:#29366b; }
.gaemster-profile-layout { display:grid; grid-template-columns:1fr 1fr; gap:18px; padding-top:26px; }
.gaemster-profile-card,
.gaemster-leaderboard-card,
.gaemster-leaderboard-controls {
    border:1px solid #d7e8f2;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 24px rgba(18,32,90,.05);
}
.gaemster-profile-card { padding:22px; }
.gaemster-profile-card--wide { grid-column:1 / -1; }
.gaemster-profile-card h2,
.gaemster-leaderboard-card h2 { margin:0; font:700 1.35rem var(--gaemster-display); color:var(--gaemster-navy); }
.gaemster-profile-card p { color:#697493; font-weight:650; }
.gaemster-profile-name-form label { display:block; margin-bottom:6px; font-weight:850; }
.gaemster-profile-name-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; }
.gaemster-profile-name-row input,
.gaemster-leaderboard-controls select {
    min-height:45px;
    border:1px solid #cfe1ed;
    border-radius:11px;
    background:#fff;
    padding:0 13px;
    color:var(--gaemster-navy);
    font:700 .95rem var(--gaemster-body);
}
.gaemster-btn--primary { border:0; background:linear-gradient(135deg,#11c5e5,#08a8cf); color:#07305d!important; cursor:pointer; }
.gaemster-profile-stats { grid-column:1 / -1; display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.gaemster-profile-stats article { min-height:120px; border:1px solid #e6dafb; border-radius:16px; background:linear-gradient(135deg,#fff,#faf6ff); padding:17px; display:grid; grid-template-columns:auto 1fr; column-gap:11px; align-items:center; }
.gaemster-profile-stats article > span { width:44px; height:44px; border-radius:13px; display:grid; place-items:center; background:#eefcff; color:#0d9dbb; }
.gaemster-profile-stats article > span .gaemster-icon { width:24px; height:24px; }
.gaemster-profile-stats strong { font:700 2rem var(--gaemster-display); color:var(--gaemster-navy); }
.gaemster-profile-stats small { grid-column:2; margin-top:-11px; color:#7a83a0; font-weight:800; }
.gaemster-profile-bests { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:16px; }
.gaemster-profile-best { min-height:90px; border:1px solid #dcebf3; border-radius:13px; padding:14px; text-decoration:none; background:#fbfeff; display:flex; flex-direction:column; justify-content:space-between; }
.gaemster-profile-best span { font-weight:850; color:#34436e; }
.gaemster-profile-best strong { font:700 1.7rem var(--gaemster-display); color:#6f2bc4; }
.gaemster-profile-badges { display:grid; gap:9px; margin-top:15px; }
.gaemster-profile-badges article { border:1px solid #f2df9a; border-radius:12px; background:#fff9df; padding:12px 13px; display:flex; flex-direction:column; gap:3px; }
.gaemster-profile-badges strong { color:#6c4b00; font-family:var(--gaemster-display); }
.gaemster-profile-badges span { color:#8b7543; font-size:.82rem; font-weight:700; }
.gaemster-profile-recent { display:grid; gap:7px; margin-top:15px; }
.gaemster-profile-recent-row { display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid #edf3f7; padding:10px 2px; text-decoration:none; }
.gaemster-profile-recent-row span { font-weight:800; color:#405078; }
.gaemster-profile-recent-row strong { color:#0e97b3; font-family:var(--gaemster-display); }
.gaemster-profile-loading,
.gaemster-profile-empty { border-radius:12px; background:#f7fbfd; color:#77829d; padding:20px; text-align:center; font-weight:750; }
.gaemster-profile-next { min-height:180px; display:grid; grid-template-columns:minmax(0,1fr) 170px; align-items:center; overflow:hidden; background:linear-gradient(120deg,#f3fbff,#f7efff 65%,#fff6d7); }
.gaemster-profile-next h2 { margin:6px 0; font-size:1.8rem; }
.gaemster-profile-next img { width:160px; height:150px; object-fit:contain; justify-self:end; }

.gaemster-leaderboards-shell { padding-top:26px; }
.gaemster-leaderboard-controls { display:grid; grid-template-columns:90px minmax(240px,1fr) auto; gap:12px; align-items:center; padding:14px 16px; margin-bottom:16px; }
.gaemster-leaderboard-controls label { font-family:var(--gaemster-display); font-weight:700; }
.gaemster-leaderboard-periods { display:flex; gap:7px; }
.gaemster-leaderboard-periods button { border:1px solid #d8c9ef; border-radius:10px; background:#fff; min-height:40px; padding:0 13px; color:#6d3bb0; font:700 .82rem var(--gaemster-display); cursor:pointer; }
.gaemster-leaderboard-periods button.is-active { background:#8d45e6; color:#fff; border-color:#8d45e6; }
.gaemster-leaderboard-card { padding:22px; min-height:440px; }
.gaemster-leaderboard-table { margin-top:15px; }
.gaemster-leaderboard-row { min-height:58px; display:grid; grid-template-columns:90px minmax(0,1fr) 190px; align-items:center; gap:12px; border-bottom:1px solid #edf3f7; padding:6px 11px; }
.gaemster-leaderboard-row--head { min-height:42px; background:#f7fbfe; border-radius:10px 10px 0 0; color:#78839d; font-size:.76rem; font-weight:900; text-transform:uppercase; letter-spacing:.04em; }
.gaemster-leaderboard-row.is-you { background:#fff9db; border-radius:10px; border-bottom-color:#f6d75b; }
.gaemster-leaderboard-rank { font:700 1.15rem var(--gaemster-display); color:#6d3bb0; }
.gaemster-leaderboard-player { font-weight:850; color:#34436e; }
.gaemster-leaderboard-player em { display:inline-block; margin-left:7px; padding:2px 7px; border-radius:999px; background:#20c9e8; color:#07305d; font-style:normal; font-size:.68rem; }
.gaemster-leaderboard-row strong { justify-self:end; font:700 1.25rem var(--gaemster-display); color:#12205a; }
.gaemster-leaderboard-empty { min-height:310px; display:grid; grid-template-columns:170px minmax(0,1fr); align-items:center; justify-content:center; gap:18px; max-width:600px; margin:20px auto; border:1px solid #eadcfb; border-radius:18px; background:#faf5ff; padding:24px; }
.gaemster-leaderboard-empty[hidden] { display:none; }
.gaemster-leaderboard-empty img { width:160px; height:160px; object-fit:contain; }
.gaemster-leaderboard-empty h3 { margin:0 0 6px; font:700 1.6rem var(--gaemster-display); }
.gaemster-leaderboard-empty p { color:#746f8d; font-weight:700; }
.gaemster-leaderboard-note { max-width:760px; margin:13px auto 0; color:#8991a7; font-size:.76rem; text-align:center; }

@media (max-width:900px) {
    .gaemster-profile-hero__inner,.gaemster-leaderboards-hero__inner { grid-template-columns:minmax(0,1fr) 190px; }
    .gaemster-profile-hero__meep,.gaemster-leaderboards-hero__meep { width:190px; height:185px; }
    .gaemster-profile-stats { grid-template-columns:1fr 1fr; }
    .gaemster-profile-bests { grid-template-columns:1fr 1fr; }
    .gaemster-leaderboard-controls { grid-template-columns:1fr; }
}
@media (max-width:640px) {
    .gaemster-profile-hero__inner,.gaemster-leaderboards-hero__inner { grid-template-columns:1fr 110px; min-height:190px; }
    .gaemster-profile-hero__meep,.gaemster-leaderboards-hero__meep { width:110px; height:120px; }
    .gaemster-profile-hero h1,.gaemster-leaderboards-hero h1 { font-size:2.35rem; }
    .gaemster-profile-layout { grid-template-columns:1fr; }
    .gaemster-profile-card--wide,.gaemster-profile-stats { grid-column:auto; }
    .gaemster-profile-stats { grid-template-columns:1fr 1fr; }
    .gaemster-profile-bests { grid-template-columns:1fr; }
    .gaemster-profile-name-row { grid-template-columns:1fr; }
    .gaemster-profile-next { grid-template-columns:1fr 100px; }
    .gaemster-profile-next img { width:100px; height:100px; }
    .gaemster-leaderboard-row { grid-template-columns:54px minmax(0,1fr) 105px; font-size:.83rem; }
    .gaemster-leaderboard-row--head { font-size:.65rem; }
    .gaemster-leaderboard-empty { grid-template-columns:100px 1fr; }
    .gaemster-leaderboard-empty img { width:95px; height:95px; }
}

/* ===== Game Universe hub (1.3.0) ===== */
.gaemster-universe-main { --gaemster-universe-accent: #20c9e8; }
.gaemster-universe-hero {
    overflow:hidden;
    border-bottom:1px solid #f1e3d2;
    background:
        radial-gradient(circle at 82% 22%, rgba(255,255,255,.9), transparent 22%),
        radial-gradient(circle at 12% 110%, color-mix(in srgb, var(--gaemster-universe-accent) 26%, transparent), transparent 45%),
        linear-gradient(118deg, #fffaf0 0%, color-mix(in srgb, var(--gaemster-universe-accent) 18%, #fff4df) 60%, #fff 100%);
}
.gaemster-universe-hero__inner {
    min-height:300px;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(260px,420px);
    gap:36px;
    align-items:center;
}
.gaemster-universe-hero__copy { padding:34px 0 40px; }
.gaemster-universe-kicker { color:color-mix(in srgb, var(--gaemster-universe-accent) 82%, #7a1d00); }
.gaemster-universe-hero h1 {
    margin:6px 0 6px;
    font-family:var(--gaemster-display);
    font-size:clamp(2.7rem,6vw,5rem);
    line-height:.95;
    letter-spacing:-.035em;
    color:var(--gaemster-navy);
}
.gaemster-universe-tagline { margin:0 0 10px; font-family:var(--gaemster-display); font-size:clamp(1.15rem,2vw,1.5rem); font-weight:700; color:color-mix(in srgb, var(--gaemster-universe-accent) 70%, #5a1a00); }
.gaemster-universe-intro { max-width:640px; color:#52628a; font-weight:700; font-size:1.02rem; }
.gaemster-universe-intro p { margin:0 0 8px; }
.gaemster-universe-hero__actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px; margin-top:18px; }
.gaemster-universe-cta {
    display:inline-flex; align-items:center; gap:8px;
    padding:13px 22px; border-radius:999px; text-decoration:none;
    font-family:var(--gaemster-display); font-weight:700; font-size:1.05rem; color:#fff;
    background:linear-gradient(90deg, var(--gaemster-universe-accent), color-mix(in srgb, var(--gaemster-universe-accent) 70%, #f53c79));
    box-shadow:0 8px 20px color-mix(in srgb, var(--gaemster-universe-accent) 35%, transparent);
}
.gaemster-universe-cta:hover { filter:brightness(1.05); transform:translateY(-1px); }
.gaemster-universe-count { font-weight:800; color:#6b7897; font-size:.92rem; }
.gaemster-universe-hero__art { align-self:stretch; display:flex; align-items:center; justify-content:center; padding:24px 0; }
.gaemster-universe-hero__image { max-width:100%; max-height:300px; object-fit:contain; filter:drop-shadow(0 16px 24px rgba(18,32,90,.16)); }
.gaemster-universe-hero__meep { width:250px; height:230px; object-fit:contain; }
.gaemster-universe-collage { position:relative; width:100%; max-width:400px; aspect-ratio:4/3; }
.gaemster-universe-collage img {
    position:absolute; width:62%; aspect-ratio:4/3; object-fit:cover;
    border-radius:18px; border:4px solid #fff; box-shadow:0 14px 30px rgba(18,32,90,.18);
}
.gaemster-universe-collage--1 img { width:86%; left:7%; top:8%; }
.gaemster-universe-collage--2 img:nth-child(1) { left:0; top:0; transform:rotate(-4deg); }
.gaemster-universe-collage--2 img:nth-child(2) { right:0; bottom:0; transform:rotate(4deg); }
.gaemster-universe-collage--3 img:nth-child(1) { left:0; top:4%; transform:rotate(-6deg); }
.gaemster-universe-collage--3 img:nth-child(2) { right:0; top:0; transform:rotate(5deg); }
.gaemster-universe-collage--3 img:nth-child(3) { left:19%; bottom:0; transform:rotate(-1deg); z-index:2; }
.gaemster-universe-heading { margin:30px 0 16px; }
.gaemster-universe-grid { margin-bottom:26px; }
.gaemster-library-card__badges span.is-app { background:#12205a; }
.gaemster-universe-more { text-align:center; margin:18px 0 42px; }
.gaemster-universe-more a { display:inline-flex; align-items:center; gap:4px; font-family:var(--gaemster-display); font-weight:700; color:var(--gaemster-cyan-dark); text-decoration:none; }
.gaemster-status--universe { background:#fff1e6; color:#b44a12; text-decoration:none; }
.gaemster-status--universe:hover { background:#ffe3cc; }
@media (max-width: 860px) {
    .gaemster-universe-hero__inner { grid-template-columns:1fr; gap:0; }
    .gaemster-universe-hero__copy { padding-bottom:8px; }
    .gaemster-universe-hero__art { padding:8px 0 28px; }
    .gaemster-universe-collage { max-width:340px; }
}

/* ===== 1.4.0 — Universe discovery, library universes, Passport ===== */
.gaemster-universe-discovery { padding-block: 22px 8px; }
.gaemster-universe-discovery .gaemster-section-heading h2 { color: color-mix(in srgb, var(--gaemster-universe-accent) 60%, var(--gaemster-navy)); }
.gaemster-universe-discovery .gaemster-section-heading a { color: color-mix(in srgb, var(--gaemster-universe-accent) 75%, #5a1a00); }
.gaemster-universe-discovery .gaemster-game-card { border-top: 4px solid var(--gaemster-universe-accent); }

.gaemster-library-universes { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:4px 0 18px; }
.gaemster-library-universes__label { font-family:var(--gaemster-display); font-weight:700; color:#52628a; margin-right:4px; }
.gaemster-library-universes a {
    display:inline-flex; align-items:center; gap:6px; padding:7px 14px; border-radius:999px; text-decoration:none;
    font-family:var(--gaemster-display); font-weight:700; color:var(--gaemster-navy);
    background: color-mix(in srgb, var(--gaemster-universe-accent) 14%, #fff);
    border:1px solid color-mix(in srgb, var(--gaemster-universe-accent) 45%, #fff);
}
.gaemster-library-universes a small { font-size:.72rem; padding:1px 7px; border-radius:999px; background:var(--gaemster-universe-accent); color:#fff; }
.gaemster-library-universes a:hover { background: color-mix(in srgb, var(--gaemster-universe-accent) 24%, #fff); }

.gaemster-passport-universes { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; }
.gaemster-passport-universe {
    display:grid; gap:6px; padding:14px 16px; border-radius:16px; text-decoration:none; color:var(--gaemster-navy);
    background: color-mix(in srgb, var(--gaemster-universe-accent) 10%, #fff);
    border:1px solid color-mix(in srgb, var(--gaemster-universe-accent) 35%, #fff);
}
.gaemster-passport-universe.is-undiscovered { filter:grayscale(.6); opacity:.75; }
.gaemster-passport-universe__name { font-family:var(--gaemster-display); font-weight:700; font-size:1.15rem; }
.gaemster-passport-universe__count { font-weight:800; font-size:.86rem; color:#52628a; }
.gaemster-passport-universe__bar { height:8px; border-radius:99px; background:#e8edf5; overflow:hidden; }
.gaemster-passport-universe__bar i { display:block; height:100%; background:var(--gaemster-universe-accent); border-radius:99px; }
.gaemster-passport-achievements { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:12px; }
.gaemster-passport-game { padding:12px 14px; border-radius:14px; background:#f7fbff; border:1px solid var(--gaemster-line); }
.gaemster-passport-game a { text-decoration:none; color:var(--gaemster-navy); font-family:var(--gaemster-display); }
.gaemster-passport-game small { display:block; margin-top:2px; color:#52628a; font-weight:700; }
.gaemster-passport-game__achs { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.gaemster-passport-game__achs span { font-size:.78rem; font-weight:800; padding:3px 8px; border-radius:99px; background:#fff4d6; color:#7a4b00; }
.gaemster-profile-rank { display:block; font-size:.74rem; font-weight:800; color:var(--gaemster-cyan-dark); }
.gaemster-profile-stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* ===== 1.5.0 — Site pages, shop & blog shell, Daily Challenge, Universes ===== */
.gaemster-shell-main { min-height: 50vh; padding-bottom: 48px; }
.gaemster-shell-container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.gaemster-shell-hero { background: linear-gradient(118deg, #f2fcff 0%, #eef1ff 60%, #fff 100%); border-bottom: 1px solid var(--gaemster-line, #e3e8f2); padding: 34px 0 30px; margin-bottom: 28px; }
.gaemster-shell-kicker { margin: 0 0 6px; font-weight: 800; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--gaemster-cyan-dark, #0a8aa6); }
.gaemster-shell-kicker a { color: inherit; text-decoration: none; }
.gaemster-shell-title { margin: 0; font-family: var(--gaemster-display); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.02; color: var(--gaemster-navy, #12205a); }
.gaemster-shell-lede { max-width: 680px; margin: 10px 0 0; font-size: 1.05rem; font-weight: 600; color: #52628a; }
.gaemster-shell-empty { font-weight: 700; color: #52628a; }

/* Readable pages (About, Books, Support, legal, blog posts) */
.gaemster-prose { max-width: 760px; font-size: 1.06rem; line-height: 1.7; color: #2c3a5f; }
.gaemster-prose h2 { font-family: var(--gaemster-display); font-size: 1.6rem; line-height: 1.2; color: var(--gaemster-navy, #12205a); margin: 34px 0 10px; }
.gaemster-prose h3 { font-family: var(--gaemster-display); font-size: 1.25rem; color: var(--gaemster-navy, #12205a); margin: 24px 0 6px; }
.gaemster-prose p, .gaemster-prose ul, .gaemster-prose ol { margin: 0 0 16px; }
.gaemster-prose ul, .gaemster-prose ol { padding-left: 1.3em; }
.gaemster-prose li { margin-bottom: 8px; }
.gaemster-prose a { color: var(--gaemster-cyan-dark, #0a8aa6); font-weight: 700; }
.gaemster-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.gaemster-prose__hero { display: block; margin: 0 0 22px; }
.gaemster-prose .wp-block-buttons { margin: 18px 0 22px; }
.gaemster-prose .wp-block-button__link { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--gaemster-navy, #12205a); color: #fff; text-decoration: none; font-weight: 800; }
.gaemster-prose .wp-block-button__link:hover { filter: brightness(1.15); }

/* Blog index */
.gaemster-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gaemster-post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gaemster-line, #e3e8f2); border-radius: 18px; overflow: hidden; }
.gaemster-post-card__image { display: block; aspect-ratio: 16/9; background: #eef4ff; }
.gaemster-post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.gaemster-post-card__image span { display: grid; place-items: center; height: 100%; color: #9fb0d6; }
.gaemster-post-card__body { padding: 14px 16px 18px; }
.gaemster-post-card__body time { font-size: .8rem; font-weight: 800; color: #6b7897; }
.gaemster-post-card__body h2 { margin: 4px 0 6px; font-family: var(--gaemster-display); font-size: 1.2rem; line-height: 1.2; }
.gaemster-post-card__body h2 a { color: var(--gaemster-navy, #12205a); text-decoration: none; }
.gaemster-post-card__body p { margin: 0; color: #52628a; }
.gaemster-shell-pagination { margin-top: 26px; }
.gaemster-shell-pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.gaemster-shell-pagination .page-numbers { padding: 8px 13px; border-radius: 10px; border: 1px solid var(--gaemster-line, #e3e8f2); text-decoration: none; font-weight: 800; color: var(--gaemster-navy, #12205a); }
.gaemster-shell-pagination .page-numbers.current { background: var(--gaemster-navy, #12205a); color: #fff; }

/* Daily Challenge + Game of the Day */
.gaemster-daily-hero { background: linear-gradient(118deg, #fffaf0 0%, color-mix(in srgb, var(--gaemster-universe-accent, #20c9e8) 16%, #fff) 70%, #fff 100%); }
.gaemster-gotd-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 18px; background: #fff; border: 1px solid var(--gaemster-line, #e3e8f2); border-radius: 24px; padding: 16px; box-shadow: 0 16px 36px rgba(18, 32, 90, .1); }
.gaemster-gotd-card__image { display: block; aspect-ratio: 16/10; border-radius: 18px; overflow: hidden; background: #eef4ff; }
.gaemster-gotd-card__image img { width: 100%; height: 100%; object-fit: cover; }
.gaemster-gotd-card__body h2, .gaemster-gotd-card__body .gaemster-shell-title { font-family: var(--gaemster-display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--gaemster-navy, #12205a); margin: 10px 0 8px; line-height: 1.05; }
.gaemster-gotd-card__body p { color: #52628a; font-weight: 600; }
.gaemster-streak-line { font-weight: 800; color: #b44a12 !important; }
.gaemster-recent-gotd { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.gaemster-recent-gotd li { display: flex; gap: 12px; align-items: baseline; padding: 10px 14px; border: 1px solid var(--gaemster-line, #e3e8f2); border-radius: 12px; background: #fff; }
.gaemster-recent-gotd time { font-weight: 800; color: #6b7897; min-width: 56px; }
.gaemster-recent-gotd a { font-weight: 800; color: var(--gaemster-navy, #12205a); text-decoration: none; }

/* Universes index */
.gaemster-universe-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.gaemster-universe-tile { display: flex; flex-direction: column; text-decoration: none; border-radius: 22px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--gaemster-universe-accent) 40%, #fff); background: color-mix(in srgb, var(--gaemster-universe-accent) 8%, #fff); color: var(--gaemster-navy, #12205a); transition: transform .15s ease, box-shadow .15s ease; }
.gaemster-universe-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(18, 32, 90, .12); }
.gaemster-universe-tile__art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; height: 130px; background: color-mix(in srgb, var(--gaemster-universe-accent) 30%, #fff); }
.gaemster-universe-tile__art img { width: 100%; height: 100%; object-fit: cover; }
.gaemster-universe-tile__body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.gaemster-universe-tile__body strong { font-family: var(--gaemster-display); font-size: 1.6rem; }
.gaemster-universe-tile__body em { font-style: normal; font-weight: 700; color: color-mix(in srgb, var(--gaemster-universe-accent) 70%, #3a1a00); }
.gaemster-universe-tile__body small { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: #52628a; }

/* Footer legal row */
.gaemster-footer-legal { border-top: 1px solid var(--gaemster-line, #e3e8f2); margin-top: 18px; padding: 14px 0 6px; }
.gaemster-footer-legal__inner { width: min(1120px, calc(100% - 32px)); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; font-size: .85rem; font-weight: 700; color: #6b7897; }
.gaemster-footer-legal nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.gaemster-footer-legal a { color: #52628a; text-decoration: none; }
.gaemster-footer-legal a:hover { color: var(--gaemster-navy, #12205a); }

/* WooCommerce in the Gaemster design */
.gaemster-woo { padding-top: 28px; }
.gaemster-woo .woocommerce-products-header__title, .gaemster-woo .product_title, .gaemster-shell--shop .gaemster-shell-title { font-family: var(--gaemster-display); color: var(--gaemster-navy, #12205a); }
.gaemster-woo ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 18px 0; }
.gaemster-woo ul.products::before, .gaemster-woo ul.products::after { display: none; }
.gaemster-woo ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: #fff; border: 1px solid var(--gaemster-line, #e3e8f2); border-radius: 18px; padding: 12px 12px 16px; }
.gaemster-woo ul.products li.product img { border-radius: 12px; }
.gaemster-woo .woocommerce-loop-product__title { font-family: var(--gaemster-display); font-size: 1.1rem !important; color: var(--gaemster-navy, #12205a); }
.gaemster-woo .price { font-weight: 800; color: var(--gaemster-navy, #12205a) !important; }
.gaemster-woo .button, .gaemster-woo button.button, .gaemster-woo .wc-block-components-button { border-radius: 999px !important; background: var(--gaemster-navy, #12205a) !important; color: #fff !important; font-weight: 800 !important; padding: 11px 20px !important; }
.gaemster-woo .button.alt, .gaemster-woo .single_add_to_cart_button { background: #f5c63c !important; color: var(--gaemster-navy, #12205a) !important; }
.gaemster-woo .woocommerce-breadcrumb { font-size: .9rem; font-weight: 700; color: #6b7897; }
.gaemster-woo .woocommerce-breadcrumb a { color: var(--gaemster-cyan-dark, #0a8aa6); }

@media (max-width: 760px) {
    .gaemster-gotd-card { grid-template-columns: 1fr; }
    .gaemster-shell-hero { padding: 24px 0 20px; }
    .gaemster-footer-legal__inner { flex-direction: column; align-items: flex-start; }
}
body.gaemster-shell-page { margin: 0; background: #fff; color: var(--gaemster-navy); font-family: var(--gaemster-body); }
.gaemster-shell-page * { box-sizing: border-box; }
.gaemster-universe-tile__art { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.gaemster-universe-tile__art { overflow: hidden; }
.gaemster-universe-tile__art img { height: 130px; }

/* ===== 1.5.3 — Designed site pages (gm-*) ===== */
.gm-page { --gm-cyan: var(--gaemster-cyan, #20c9e8); --gm-purple: var(--gaemster-purple, #7c3aed); --gm-pink: var(--gaemster-pink, #ff4f9a); --gm-yellow: var(--gaemster-yellow, #ffc83d); --gm-lime: var(--gaemster-lime, #7ed321); --gm-navy: var(--gaemster-navy, #12205a); --gm-orange: #ff8a3d; color: #2c3a5f; font-size: 1.05rem; line-height: 1.6; overflow-x: clip; }
.gm-page *, .gm-page *::before, .gm-page *::after { box-sizing: border-box; }
.gm-page h1, .gm-page h2, .gm-page h3 { font-family: var(--gaemster-display); color: var(--gm-navy); line-height: 1.1; margin: 0 0 12px; }
.gm-page h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.gm-page h3 { font-size: 1.25rem; }
.gm-page p { margin: 0 0 14px; }
.gm-page a { color: var(--gaemster-cyan-dark, #0a8aa6); font-weight: 800; }
.gm-wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.gm-center { text-align: center; }
.gm-kicker { display: inline-block; margin: 0 0 10px !important; font-weight: 900; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; color: var(--gm-purple); }
.gm-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 600; color: #3d4b72; max-width: 680px; }
.gm-center .gm-lead { margin-left: auto; margin-right: auto; }

/* Hero */
.gm-hero { position: relative; padding: clamp(40px, 7vw, 84px) 0 clamp(36px, 6vw, 70px); overflow: hidden; }
.gm-hero::before, .gm-hero::after { content: ""; position: absolute; border-radius: 50%; opacity: .35; pointer-events: none; }
.gm-hero::before { width: 340px; height: 340px; right: -90px; top: -110px; background: var(--gm-yellow); }
.gm-hero::after { width: 220px; height: 220px; left: -80px; bottom: -110px; background: var(--gm-pink); }
.gm-hero > .gm-wrap { position: relative; z-index: 1; }
.gm-hero--cyan { background: linear-gradient(135deg, #e3fbff 0%, #eef0ff 55%, #fff6dc 100%); }
.gm-hero--purple { background: linear-gradient(135deg, #f1e9ff 0%, #e3fbff 60%, #fff 100%); }
.gm-hero--pink { background: linear-gradient(135deg, #ffe8f3 0%, #f1e9ff 55%, #e3fbff 100%); }
.gm-hero--gold { background: linear-gradient(135deg, #fff3c4 0%, #ffe8f3 55%, #f1e9ff 100%); }
.gm-hero--green { background: linear-gradient(135deg, #eaffd8 0%, #e3fbff 60%, #fff 100%); }
.gm-hero--compact { padding: clamp(32px, 5vw, 56px) 0 clamp(28px, 4vw, 44px); }
.gm-hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 32px; align-items: center; }
.gm-hero__title { font-size: clamp(2.5rem, 7vw, 4.6rem) !important; letter-spacing: -.02em; margin-bottom: 16px !important; }
.gm-hero__title span { background: linear-gradient(90deg, var(--gm-purple), var(--gm-pink) 55%, var(--gm-orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gm-hero__art { display: flex; justify-content: center; }
.gm-hero__art img { width: min(100%, 380px); height: auto; filter: drop-shadow(0 22px 30px rgba(18, 32, 90, .2)); animation: gm-float 5s ease-in-out infinite; }
@keyframes gm-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.gm-updated { font-size: .9rem; font-weight: 800; color: #5b6890; }

/* Buttons & chips */
.gm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.gm-actions--center { justify-content: center; }
.gm-btn { display: inline-flex; align-items: center; gap: 6px; padding: 13px 22px; border-radius: 999px; font-weight: 900 !important; text-decoration: none !important; font-size: 1rem; line-height: 1.1; transition: transform .15s ease, box-shadow .15s ease; }
.gm-btn:hover { transform: translateY(-2px); }
.gm-btn--primary { background: linear-gradient(90deg, var(--gm-purple), var(--gm-pink)); color: #fff !important; box-shadow: 0 10px 22px rgba(124, 58, 237, .28); }
.gm-btn--ghost { background: #fff; color: var(--gm-navy) !important; border: 2px solid rgba(18, 32, 90, .14); }
.gm-btn--light { background: rgba(255, 255, 255, .92); color: var(--gm-navy) !important; }
.gm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.gm-chips--center { justify-content: center; }
.gm-chip { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; border: 2px solid rgba(18, 32, 90, .1); color: var(--gm-navy) !important; font-weight: 800; font-size: .92rem; text-decoration: none !important; }
a.gm-chip:hover { border-color: var(--gm-purple); }
.gm-badge { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--gm-yellow); color: var(--gm-navy); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }

/* Sections */
.gm-section { padding: clamp(44px, 7vw, 80px) 0; }
.gm-section--soft { background: linear-gradient(180deg, #f6f8ff, #fff); }
.gm-section--purple { background: linear-gradient(135deg, #2a1f6b, #5b2bc4 60%, #c0399b); }
.gm-section--purple h2, .gm-section--purple .gm-lead { color: #fff; }
.gm-section--purple .gm-kicker { color: var(--gm-yellow); }
.gm-heading { margin-bottom: 28px; }
.gm-heading p:not(.gm-kicker) { max-width: 720px; color: #4a5880; }
.gm-center .gm-heading p, .gm-heading.gm-center p { margin-left: auto; margin-right: auto; }
.gm-subhead { margin-top: 36px !important; }
.gm-quote { margin: 0 auto; max-width: 860px; font-family: var(--gaemster-display); font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.25; color: #fff; }

/* Tones */
.gm-tone-cyan { --tone: var(--gm-cyan); --tone-soft: #e3fbff; }
.gm-tone-purple { --tone: var(--gm-purple); --tone-soft: #f1e9ff; }
.gm-tone-pink { --tone: var(--gm-pink); --tone-soft: #ffe8f3; }
.gm-tone-yellow { --tone: #f5b400; --tone-soft: #fff6d6; }
.gm-tone-green { --tone: #4caf2a; --tone-soft: #eaffd8; }
.gm-tone-orange { --tone: var(--gm-orange); --tone-soft: #fff0e3; }

/* Cards */
.gm-cards { display: grid; gap: 18px; }
.gm-cards--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.gm-cards--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gm-cards--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.gm-card { display: flex; flex-direction: column; padding: 22px; border-radius: 22px; background: var(--tone-soft, #f6f8ff); border: 2px solid color-mix(in srgb, var(--tone, #c9d3f0) 35%, transparent); color: #2c3a5f; text-decoration: none !important; font-weight: 500; transition: transform .15s ease, box-shadow .15s ease; }
.gm-card h3 { margin-bottom: 6px; }
.gm-card p { margin: 0 0 8px; font-weight: 600; color: #3d4b72; }
.gm-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; font-size: 1.7rem; margin-bottom: 14px; box-shadow: 0 6px 14px rgba(18, 32, 90, .08); }
.gm-card--link:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(18, 32, 90, .12); }
.gm-card__more { margin-top: auto; font-weight: 900; color: var(--tone, var(--gm-purple)); font-size: .95rem; }
.gm-card--soon { background: #fff; border-style: dashed; border-color: #c9d3f0; }

/* Stats */
.gm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.gm-stat { padding: 26px 18px; border-radius: 22px; text-align: center; background: var(--tone-soft); border: 2px solid color-mix(in srgb, var(--tone) 35%, transparent); }
.gm-stat b { display: block; font-family: var(--gaemster-display); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--tone); }
.gm-stat span { font-weight: 800; color: var(--gm-navy); }

/* Founder */
.gm-founder { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.gm-founder__photo { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: 28px; border: 6px solid #fff; box-shadow: 0 20px 40px rgba(18, 32, 90, .16); transform: rotate(-2deg); }
.gm-founder__name { font-size: 1.05rem; color: var(--gm-navy); }

/* Timeline */
.gm-timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; position: relative; }
.gm-timeline::before { content: ""; position: absolute; left: 39px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: linear-gradient(var(--gm-cyan), var(--gm-purple), var(--gm-pink)); }
.gm-timeline li { position: relative; display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 18px; margin-bottom: 22px; }
.gm-timeline__year { position: relative; z-index: 1; display: grid; place-items: center; height: 42px; border-radius: 999px; background: var(--gm-navy); color: #fff; font-weight: 900; }
.gm-timeline li > div { background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 8px 20px rgba(18, 32, 90, .07); }
.gm-timeline h3 { margin-bottom: 4px; }
.gm-timeline p { margin: 0; }

/* Press, facts */
.gm-press { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.gm-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.gm-facts li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: #f6f8ff; }
.gm-facts span { font-size: 1.6rem; }
.gm-facts b { display: block; color: var(--gm-navy); }

/* CTA */
.gm-cta { padding: clamp(48px, 7vw, 84px) 0; background: linear-gradient(120deg, var(--gm-cyan), var(--gm-purple) 55%, var(--gm-pink)); }
.gm-cta h2, .gm-cta .gm-lead { color: #fff; }
.gm-cta .gm-kicker { color: var(--gm-yellow); }
.gm-cta .gm-btn--primary { background: var(--gm-yellow); color: var(--gm-navy) !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }

/* Books */
.gm-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.gm-books--wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.gm-book { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; border: 2px solid color-mix(in srgb, var(--tone) 30%, transparent); box-shadow: 0 10px 26px rgba(18, 32, 90, .07); }
.gm-book__cover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--tone-soft); }
.gm-books--wide .gm-book { flex-direction: row; }
.gm-books--wide .gm-book__cover { width: 42%; aspect-ratio: auto; }
.gm-book__body { display: flex; flex-direction: column; padding: 18px; flex: 1; }
.gm-book__body .gm-actions { margin-top: auto; padding-top: 10px; }
.gm-book__body .gm-btn { padding: 10px 16px; font-size: .92rem; }
.gm-book__tagline { font-style: italic; font-weight: 800 !important; color: var(--tone) !important; }
.gm-book__prices { font-weight: 800 !important; color: var(--gm-navy) !important; }

/* Forms (Jetpack form block) */
.gm-form-wrap { max-width: 760px; }
.gm-form, .gm-waitlist { background: #fff; border-radius: 24px; padding: clamp(18px, 4vw, 30px); box-shadow: 0 14px 34px rgba(18, 32, 90, .1); }
.gm-waitlist { margin-top: 20px; padding: 18px; }
.gm-waitlist__title { font-weight: 900; color: var(--gm-navy); margin-bottom: 8px !important; }
.gm-page .contact-form .wp-block-jetpack-contact-form { display: flex !important; flex-wrap: wrap; gap: 14px; }
.gm-page .contact-form .wp-block-jetpack-contact-form > * { flex: 1 1 100% !important; width: 100% !important; }
.gm-page .contact-form label, .gm-page .grunion-field-label { display: block; font-weight: 800; color: var(--gm-navy); margin-bottom: 6px; }
.gm-page .contact-form input[type=text], .gm-page .contact-form input[type=email], .gm-page .contact-form input[type=tel], .gm-page .contact-form select, .gm-page .contact-form textarea { width: 100%; border: 2px solid #dfe5f5; border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 1rem; background: #fbfcff; }
.gm-page .contact-form input:focus, .gm-page .contact-form select:focus, .gm-page .contact-form textarea:focus { outline: none; border-color: var(--gm-purple); box-shadow: 0 0 0 4px rgba(124, 58, 237, .14); }
.gm-page .contact-form textarea { min-height: 150px; }
.gm-page .contact-form button, .gm-page .contact-form .wp-block-button__link, .gm-page .contact-form input[type=submit] { border: 0; border-radius: 999px !important; padding: 14px 26px !important; background: linear-gradient(90deg, var(--gm-purple), var(--gm-pink)) !important; color: #fff !important; font-weight: 900 !important; font-size: 1rem; cursor: pointer; }

/* FAQ */
.gm-faq { max-width: 820px; margin: 44px auto 0; }
.gm-faq h2 { margin-bottom: 18px !important; }
.gm-faq details { background: #fff; border: 2px solid #e6ebf8; border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
.gm-faq summary { cursor: pointer; font-weight: 900; color: var(--gm-navy); list-style: none; }
.gm-faq summary::-webkit-details-marker { display: none; }
.gm-faq summary::after { content: "+"; float: right; font-size: 1.3rem; line-height: 1; color: var(--gm-purple); }
.gm-faq details[open] summary::after { content: "–"; }
.gm-faq details p { margin: 10px 0 0; }

/* Gaemster+ plans */
.gm-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; align-items: stretch; }
.gm-plan { position: relative; padding: 28px; border-radius: 26px; background: #f6f8ff; border: 2px solid #e1e7f7; }
.gm-plan--plus { background: linear-gradient(160deg, #fff6d6, #ffe8f3 60%, #f1e9ff); border-color: var(--gm-yellow); box-shadow: 0 18px 40px rgba(245, 180, 0, .2); }
.gm-plan .gm-badge { position: absolute; top: -14px; right: 22px; }
.gm-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.gm-list li { font-weight: 700; color: #2c3a5f; }
.gm-note { font-size: .9rem; color: #5b6890; margin-top: 14px !important; }

/* Policy pages */
.gm-policy { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: start; }
.gm-policy__toc { position: sticky; top: 90px; padding: 18px; border-radius: 18px; background: #f6f8ff; }
.gm-policy__toc p { margin: 0 0 8px; font-weight: 900; color: var(--gm-navy); }
.gm-policy__toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .95rem; }
.gm-policy__toc a { text-decoration: none; color: #3d4b72; font-weight: 700; }
.gm-policy__body { max-width: 760px; }
.gm-policy__section { padding: 6px 0 18px; border-bottom: 2px dashed #e6ebf8; margin-bottom: 18px; scroll-margin-top: 90px; }
.gm-policy__section h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.gm-policy__section ul { padding-left: 1.2em; display: grid; gap: 8px; }
.gm-callout { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: #e3fbff; }
.gm-callout span { font-size: 1.4rem; }
.gm-callout p { margin: 0; font-weight: 700; }
.gm-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 10px 0 16px; }
.gm-steps > div { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 16px; background: #f6f8ff; font-weight: 800; color: var(--gm-navy); }
.gm-steps b { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--gm-purple), var(--gm-pink)); color: #fff; }
.gm-table-wrap { overflow-x: auto; margin-bottom: 14px; }
.gm-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; border: 2px solid #e6ebf8; min-width: 480px; }
.gm-table th { background: var(--gm-navy); color: #fff; text-align: left; padding: 12px 14px; font-size: .95rem; }
.gm-table td { padding: 12px 14px; border-top: 1px solid #e6ebf8; background: #fff; }
.gm-table tr:nth-child(even) td { background: #f8faff; }

@media (max-width: 860px) {
    .gm-hero__grid, .gm-founder, .gm-press, .gm-policy { grid-template-columns: 1fr; }
    .gm-hero__art img { width: min(70%, 260px); }
    .gm-founder__photo { max-width: 320px; }
    .gm-policy__toc { position: static; }
    .gm-books--wide .gm-book { flex-direction: column; }
    .gm-books--wide .gm-book__cover { width: 100%; aspect-ratio: 2 / 3; }
}
@media (max-width: 520px) {
    .gm-timeline::before { left: 29px; }
    .gm-timeline li { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; }
    .gm-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .gm-hero__art img { animation: none; } .gm-btn, .gm-card { transition: none; } }
/* 1.5.3 fixes: full-width Jetpack fields, no theme quote marks on gm quotes */
.gm-page .contact-form .grunion-field-wrap, .gm-page .contact-form [class*="grunion-field-"][class*="-wrap"], .gm-page .contact-form .wp-block-jetpack-field-name, .gm-page .contact-form .wp-block-jetpack-field-email, .gm-page .contact-form .wp-block-jetpack-field-telephone, .gm-page .contact-form .wp-block-jetpack-field-select, .gm-page .contact-form .wp-block-jetpack-field-textarea { width: 100% !important; max-width: none !important; flex-basis: 100% !important; }
.gm-page .contact-form input[type=text], .gm-page .contact-form input[type=email], .gm-page .contact-form input[type=tel], .gm-page .contact-form select, .gm-page .contact-form textarea, .gm-page .contact-form .contact-form-dropdown__button { width: 100% !important; max-width: none !important; }
.gm-page blockquote.gm-quote { border: 0; padding: 0; quotes: none; }
.gm-page blockquote.gm-quote::before, .gm-page blockquote.gm-quote::after { content: none !important; display: none !important; }

/* ===== 1.5.5 — App & PC stores, Mobile & PC Games page, 404 ===== */
.gaemster-store-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.gaemster-store-btn { display: inline-flex; flex-direction: column; justify-content: center; min-width: 136px; padding: 8px 16px; border-radius: 12px; background: #111827; color: #fff !important; text-decoration: none !important; font-weight: 800; font-size: 1rem; line-height: 1.15; transition: transform .15s ease; }
.gaemster-store-btn small { font-size: .68rem; font-weight: 600; opacity: .85; text-transform: none; }
.gaemster-store-btn:hover { transform: translateY(-2px); }
.gaemster-store-btn--steam { background: #1b2838; }
.gaemster-store-btn--samsung { background: #1428a0; }
.gaemster-store-btn--amazon { background: #232f3e; }
.gaemster-store-btn--itch { background: #fa5c5c; }
.gaemster-store-btn--microsoft { background: #0067b8; }
.gaemster-store-panel { display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; width: 100%; height: 100%; min-height: 320px; padding: 28px; background: linear-gradient(135deg, #e3fbff, #f1e9ff 60%, #fff6dc); text-align: left; }
.gaemster-store-panel__art { width: min(320px, 80%); border-radius: 20px; box-shadow: 0 16px 34px rgba(18, 32, 90, .18); }
.gaemster-store-panel__body { display: grid; gap: 10px; max-width: 420px; }
.gaemster-store-panel__body strong { font-family: var(--gaemster-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--gaemster-navy); line-height: 1.1; }
.gaemster-store-panel__body span { font-weight: 700; color: #3d4b72; }
.gaemster-also-on { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding-block: 16px 4px; }
.gaemster-also-on strong { font-family: var(--gaemster-display); color: var(--gaemster-navy); }
.gaemster-apps-hero { background: linear-gradient(118deg, #f1e9ff 0%, #e3fbff 60%, #fff 100%); }
.gaemster-app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.gaemster-app-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gaemster-line, #e3e8f2); border-radius: 22px; overflow: hidden; box-shadow: 0 10px 26px rgba(18, 32, 90, .07); }
.gaemster-app-card__image { display: block; aspect-ratio: 16 / 9; background: #eef4ff; }
.gaemster-app-card__image img { width: 100%; height: 100%; object-fit: cover; }
.gaemster-app-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; flex: 1; }
.gaemster-app-card__body h2 { margin: 0; font-family: var(--gaemster-display); font-size: 1.4rem; }
.gaemster-app-card__body h2 a { color: var(--gaemster-navy); text-decoration: none; }
.gaemster-app-card__body p { margin: 0 0 6px; color: #52628a; font-weight: 600; }
.gaemster-app-card__platforms { font-size: .8rem; font-weight: 900 !important; letter-spacing: .05em; text-transform: uppercase; color: var(--gaemster-purple, #8d45e6) !important; }
.gaemster-app-card .gaemster-store-buttons { margin-top: auto; }
.gaemster-404 { padding: clamp(40px, 8vw, 90px) 0; text-align: center; background: radial-gradient(circle at 50% 0%, #f1e9ff, #fff 60%); }
.gaemster-404__meep { width: min(220px, 50%); height: auto; margin-bottom: 10px; }
.gaemster-404 .gaemster-shell-lede { margin-inline: auto; }
.gaemster-404__search { display: flex; gap: 8px; max-width: 460px; margin: 22px auto 18px; }
.gaemster-404__search input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 2px solid #dfe5f5; font: inherit; }
.gaemster-404__search button { padding: 12px 20px; border: 0; border-radius: 999px; background: var(--gaemster-navy); color: #fff; font-weight: 800; cursor: pointer; }
.gaemster-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.gaemster-404__links a { padding: 10px 16px; border-radius: 999px; background: #fff; border: 2px solid #e6ebf8; color: var(--gaemster-navy); font-weight: 800; text-decoration: none; }

/* ===== 1.5.6 — Meep reels (YouTube) ===== */
.gm-page--embed { font-size: 1rem; }
.gm-reels { padding: clamp(36px, 6vw, 64px) 0; background: linear-gradient(135deg, #12205a, #3b1d8f 55%, #8d2d8f); }
.gm-reels h2, .gm-reels__head p:not(.gm-kicker) { color: #fff !important; }
.gm-reels .gm-kicker { color: var(--gm-yellow, #ffc928); }
.gm-reels__head { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.gm-reels__head > div:first-child { max-width: 620px; }
.gm-reels .gm-btn--ghost { background: rgba(255, 255, 255, .12); color: #fff !important; border-color: rgba(255, 255, 255, .35); }
.gm-reels__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gm-reel__play, .gm-reel__frame { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 20px; overflow: hidden; background: #0b0f2a; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.gm-reel__play { cursor: pointer; }
.gm-reel__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gm-reel__play:hover img, .gm-reel__play:focus-visible img { transform: scale(1.05); }
.gm-reel__play:focus-visible { outline: 3px solid var(--gm-yellow, #ffc928); outline-offset: 3px; }
.gm-reel__icon { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #e1306c; font-size: 1.5rem; padding-left: 4px; box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
.gm-reel__title { margin: 10px 2px 0 !important; color: #fff; font-weight: 800; font-size: .95rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 760px) {
    .gm-reels__list { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
    .gm-reel { scroll-snap-align: start; }
}

/* ===== 1.5.8 — footer inside the frame, one-line menu, backup form ===== */
.gaemster-site-footer__inner { width: min(1320px, calc(100% - 40px)); margin-inline: auto; flex-wrap: wrap; }
.gaemster-site-footer__inner > nav { flex: 1 1 420px; min-width: 0; justify-content: flex-end; gap: 10px 20px; }
.gaemster-footer-brand { flex: 0 1 auto; min-width: 0; }
.gaemster-main-nav a { white-space: nowrap; }
@media (max-width: 1400px) { .gaemster-main-nav, .gaemster-home-header .gaemster-main-nav { gap: 18px; } }
@media (max-width: 760px) { .gaemster-site-footer__inner > nav { justify-content: flex-start; } }
.gm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gm-backup-form label span { font-weight: 600; color: #6b7897; }
.gm-form-success { padding: 22px; border-radius: 18px; background: #e6f7ee; color: #1f7a45; text-align: center; font-size: 1.1rem; }
.gm-form-error { padding: 12px 16px; border-radius: 12px; background: #fdecef; color: #a3304a; font-weight: 700; }

/* ===== 1.6.0 — Games. Plugins. Software. ===== */
/* Header: Games dropdown */
.gaemster-nav-group { position: relative; display: inline-flex; }
.gaemster-nav-group__toggle { background: none; border: 0; padding: 0; font: inherit; font-weight: 950; color: var(--gaemster-navy); cursor: pointer; text-transform: inherit; letter-spacing: inherit; font-size: inherit; white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.gaemster-home-header .gaemster-nav-group__toggle { text-transform: uppercase; font-size: .93rem; letter-spacing: .015em; }
.gaemster-nav-group.is-active > .gaemster-nav-group__toggle, .gaemster-main-nav a.is-active { color: var(--gaemster-cyan-dark); }
.gaemster-nav-menu { position: absolute; top: calc(100% + 12px); left: -18px; z-index: 50; min-width: 270px; padding: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--gaemster-line, #e3e8f2); box-shadow: 0 18px 40px rgba(18, 32, 90, .16); display: none; }
.gaemster-nav-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.gaemster-nav-group:hover > .gaemster-nav-menu, .gaemster-nav-group:focus-within > .gaemster-nav-menu, .gaemster-nav-group.is-open > .gaemster-nav-menu { display: grid; gap: 2px; }
.gaemster-nav-menu a { display: grid !important; gap: 1px; padding: 10px 12px; border-radius: 12px; text-transform: none !important; letter-spacing: 0 !important; white-space: normal; }
.gaemster-nav-menu a:hover, .gaemster-nav-menu a:focus-visible { background: #f3f7ff; }
.gaemster-nav-menu strong { font-size: .98rem; color: var(--gaemster-navy); }
.gaemster-nav-menu small { font-size: .8rem; font-weight: 600; color: #6b7897; }
@media (max-width: 900px) {
    .gaemster-nav-group { display: block; }
    .gaemster-nav-menu { position: static; display: grid; box-shadow: none; border: 0; padding: 4px 0 4px 10px; min-width: 0; background: transparent; }
    .gaemster-nav-group__toggle span { display: none; }
}

/* Homepage studio band */
.gaemster-studio-band { padding: clamp(26px, 4vw, 44px) 0 clamp(18px, 3vw, 28px); background: linear-gradient(120deg, #f2fcff, #f4efff 55%, #fff8e6); border-bottom: 1px solid var(--gaemster-line, #e3e8f2); }
.gaemster-studio-band__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 28px; margin-bottom: 18px; }
.gaemster-studio-band__title { margin: 0 !important; font-family: var(--gaemster-display); font-size: clamp(2rem, 5vw, 3.4rem) !important; line-height: 1 !important; color: var(--gaemster-navy) !important; letter-spacing: -.02em; }
.gaemster-studio-band__title span { color: var(--gaemster-purple, #8d45e6); }
.gaemster-studio-band__title em { font-style: normal; background: linear-gradient(90deg, var(--gaemster-pink, #f53c79), #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gaemster-studio-band__head p { margin: 0; max-width: 470px; font-weight: 700; color: #3d4b72; }
.gaemster-studio-band__lanes { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 14px; }
.gaemster-lane { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 12px; align-items: start; padding: 16px 18px; border-radius: 20px; background: #fff; border: 2px solid transparent; text-decoration: none !important; color: #3d4b72; box-shadow: 0 8px 22px rgba(18, 32, 90, .07); transition: transform .15s ease, box-shadow .15s ease; }
a.gaemster-lane:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(18, 32, 90, .12); }
.gaemster-lane__icon { grid-row: span 3; font-size: 1.9rem; line-height: 1; }
.gaemster-lane strong { font-family: var(--gaemster-display); font-size: 1.35rem; color: var(--gaemster-navy); }
.gaemster-lane span:not(.gaemster-lane__icon) { font-weight: 600; font-size: .95rem; }
.gaemster-lane b { margin-top: 6px; font-weight: 900; font-size: .92rem; }
.gaemster-lane--games { border-color: color-mix(in srgb, var(--gaemster-cyan) 45%, transparent); background: linear-gradient(135deg, #fff, #e3fbff); }
.gaemster-lane--games b { color: var(--gaemster-cyan-dark); }
.gaemster-lane--plugins b { color: var(--gaemster-purple, #8d45e6); }
.gaemster-lane--software b { color: #d9480f; }
.gaemster-lane.is-soon { opacity: .9; border: 2px dashed #d6dcf0; box-shadow: none; }
@media (max-width: 860px) { .gaemster-studio-band__lanes { grid-template-columns: 1fr; } }

/* Products */
.gaemster-status-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; background: #fff3c4; color: #8a5a00; }
.gaemster-status-pill.is-beta { background: #e3fbff; color: #076e84; }
.gaemster-status-pill.is-available { background: #e6f7ee; color: #1f7a45; }
.gaemster-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.gaemster-product-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 2px solid #e6ebf8; text-decoration: none !important; color: #3d4b72; transition: transform .15s ease, box-shadow .15s ease; }
.gaemster-product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(18, 32, 90, .12); }
.gaemster-product-card__art { display: grid; place-items: center; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #eaffd8, #e3fbff); font-size: 3rem; }
.gaemster-product-card__art img { width: 100%; height: 100%; object-fit: cover; }
.gaemster-product-card__body { display: grid; gap: 6px; padding: 16px 18px 20px; justify-items: start; }
.gaemster-product-card__body strong { font-family: var(--gaemster-display); font-size: 1.4rem; color: var(--gaemster-navy); }
.gaemster-product-card__body b { color: var(--gaemster-purple, #8d45e6); font-weight: 900; }
.gaemster-product-art span { display: grid; place-items: center; width: min(260px, 70%); aspect-ratio: 1; border-radius: 32px; background: #fff; font-size: 5rem; box-shadow: 0 18px 40px rgba(18, 32, 90, .12); }
.gaemster-product-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.gaemster-product-body h2 { font-size: 1.6rem; margin-top: 24px; }
.gaemster-feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.gaemster-feature-list li { position: relative; padding: 12px 14px 12px 44px; border-radius: 14px; background: #f6f8ff; font-weight: 700; color: var(--gaemster-navy); }
.gaemster-feature-list li::before { content: "✓"; position: absolute; left: 14px; top: 11px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #4caf2a; color: #fff; font-size: .75rem; }
.gaemster-product-facts { padding: 20px; border-radius: 20px; background: #f6f8ff; }
.gaemster-product-facts h2 { margin-top: 0 !important; font-size: 1.2rem !important; }
.gaemster-product-facts dl { margin: 0; display: grid; gap: 4px; }
.gaemster-product-facts dt { font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; color: #6b7897; margin-top: 8px; }
.gaemster-product-facts dd { margin: 0; font-weight: 700; color: var(--gaemster-navy); }
@media (max-width: 860px) { .gaemster-product-body { grid-template-columns: 1fr; } }
/* theme button styles must not leak into the Games menu button */
.gaemster-site-header .gaemster-nav-group__toggle, .gaemster-site-header .gaemster-nav-group__toggle:hover, .gaemster-site-header .gaemster-nav-group__toggle:focus { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; color: var(--gaemster-navy) !important; min-height: 0; line-height: inherit; text-decoration: none; }
.gaemster-site-header .gaemster-nav-group.is-active > .gaemster-nav-group__toggle { color: var(--gaemster-cyan-dark) !important; }
.gaemster-site-header .gaemster-nav-group__toggle:focus-visible { outline: 2px solid var(--gaemster-cyan-dark); outline-offset: 4px; border-radius: 4px; }

/* ===== 1.6.1 — pricing plans, roadmap ===== */
.gaemster-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto 14px; }
.gaemster-plan { display: grid; gap: 6px; padding: 22px 20px; border-radius: 22px; background: #fff; border: 2px solid #e6ebf8; text-align: center; }
.gaemster-plan strong { font-family: var(--gaemster-display); font-size: 1.3rem; color: var(--gaemster-navy); }
.gaemster-plan b { font-size: 1.6rem; font-weight: 900; color: var(--gaemster-purple, #8d45e6); }
.gaemster-plan span { font-weight: 700; color: #52628a; }
.gaemster-plan.is-featured { border-color: var(--gaemster-yellow, #ffc928); box-shadow: 0 16px 34px rgba(245, 180, 0, .18); background: linear-gradient(160deg, #fff, #fff8e0); }
.gaemster-roadmap { margin-top: 40px; padding: 26px; border-radius: 24px; background: #f6f8ff; }
.gaemster-roadmap h2 { margin: 0 0 14px !important; font-size: 1.6rem !important; }
.gaemster-roadmap ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.gaemster-roadmap li { display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: #fff; border: 2px dashed #d6dcf0; }
.gaemster-roadmap li strong { font-family: var(--gaemster-display); font-size: 1.15rem; color: var(--gaemster-navy); }
.gaemster-roadmap li span { font-weight: 600; color: #52628a; font-size: .95rem; }
.gaemster-roadmap .gm-note { margin: 14px 0 0 !important; }

/* Product pages 1.7.0: trust line, callout and FAQ */
.gaemster-prose .gaemster-trust { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; }
.gaemster-prose .gaemster-trust strong { padding: 6px 14px; border-radius: 999px; background: #e3fbff; color: #076e84; font-size: .85rem; font-weight: 800; }
.gaemster-prose .gaemster-callout { margin: 30px 0; padding: 6px 24px 8px; border-radius: 20px; background: #fff8e0; border: 2px solid #ffe08a; }
.gaemster-prose .gaemster-callout h2 { margin-top: 18px; }
.gaemster-faq { max-width: 760px; border-top: 2px solid #e6ebf8; margin-bottom: 8px; }
.gaemster-faq details { border-bottom: 2px solid #e6ebf8; }
.gaemster-faq summary { position: relative; list-style: none; cursor: pointer; min-height: 44px; padding: 16px 36px 16px 0; font-weight: 800; color: var(--gaemster-navy, #12205a); }
.gaemster-faq summary::-webkit-details-marker { display: none; }
.gaemster-faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 1.6rem; font-weight: 400; color: var(--gaemster-purple, #8d45e6); }
.gaemster-faq details[open] summary::after { content: "\2212"; }
.gaemster-faq summary:focus-visible { outline: 3px solid var(--gaemster-cyan, #20c9e8); outline-offset: 2px; border-radius: 6px; }
.gaemster-faq p { margin: 0 0 16px; color: #3d4b72; }
.gaemster-product-banner { margin: 0 0 30px; }
.gaemster-product-banner img { display: block; width: 100%; height: auto; border-radius: 22px; mix-blend-mode: multiply; }

/* Documentation 1.8.0 */
.gm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0 0 14px; font-size: .9rem; font-weight: 700; }
.gm-crumbs a { color: var(--gaemster-cyan-dark, #078ca7); text-decoration: none; }
.gm-crumbs a:hover { text-decoration: underline; }
.gm-crumbs span[aria-hidden] { margin: 0 8px; color: #9aa6c4; }
.gm-crumbs [aria-current] { color: #3d4b72; }
.gm-policy--solo { grid-template-columns: minmax(0, 1fr); }
.gm-docs-side { position: sticky; top: 90px; display: grid; gap: 14px; }
.gm-docs-nav, .gm-docs-toc { padding: 18px; border-radius: 18px; background: #f6f8ff; }
.gm-docs-nav p, .gm-docs-toc p { margin: 0 0 8px; font-weight: 900; color: var(--gm-navy, #12205a); }
.gm-docs-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.gm-docs-nav a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; color: #3d4b72; min-height: 40px; }
.gm-docs-nav a:hover { background: #fff; }
.gm-docs-nav a[aria-current="page"] { background: #fff; color: var(--gm-navy, #12205a); box-shadow: inset 4px 0 0 var(--gm-purple, #8d45e6); }
.gm-docs-toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .95rem; }
.gm-docs-toc a { text-decoration: none; color: #3d4b72; font-weight: 700; }
.gm-docs__body .gm-policy__section ol { padding-left: 1.4em; display: grid; gap: 8px; }
.gm-docs__body code { padding: 2px 6px; border-radius: 6px; background: #f1f4fc; font-size: .92em; }
.gm-docs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 8px 0 18px; }
.gm-docs-card { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 18px; background: #f6f8ff; border: 2px solid #e6ebf8; text-decoration: none !important; color: #3d4b72; transition: transform .15s ease, box-shadow .15s ease; }
.gm-docs-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(18, 32, 90, .1); }
.gm-docs-card span { color: #3d4b72; font-weight: 600; }
.gm-docs-card strong { font-family: var(--gaemster-display); font-size: 1.15rem; color: var(--gm-navy, #12205a); }
.gm-docs-card em { font-style: normal; font-weight: 800; color: var(--gaemster-cyan-dark, #078ca7); }
.gm-table-wrap { overflow-x: auto; margin: 6px 0 16px; border-radius: 14px; border: 2px solid #e6ebf8; }
.gm-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.gm-table th, .gm-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #edf0f8; background: transparent; color: #3d4b72; }
.gm-table thead th { background: #f6f8ff; color: var(--gm-navy, #12205a); font-weight: 900; }
.gm-table tbody th { background: #f6f8ff; }
.gm-table tbody th { width: 34%; color: var(--gm-navy, #12205a); font-weight: 800; }
.gm-table tr:last-child th, .gm-table tr:last-child td { border-bottom: 0; }
.gm-docs-pager { display: flex; justify-content: space-between; gap: 12px; margin: 26px 0 20px; }
.gm-docs-pager a { display: grid; gap: 2px; min-width: 0; flex: 1; padding: 14px 16px; border-radius: 16px; border: 2px solid #e6ebf8; text-decoration: none !important; font-weight: 800; color: var(--gm-navy, #12205a); }
.gm-docs-pager a:hover { border-color: var(--gm-purple, #8d45e6); }
.gm-docs-pager small { font-weight: 700; color: #6b7897; }
.gm-docs-pager__next { text-align: right; }
.gm-docs-pager > span { flex: 1; }
.gm-docs a:focus-visible, .gm-crumbs a:focus-visible { outline: 3px solid var(--gaemster-cyan, #20c9e8); outline-offset: 2px; border-radius: 6px; }
@media (max-width: 860px) {
  .gm-docs .gm-policy { grid-template-columns: minmax(0, 1fr); }
  .gm-docs-side, .gm-docs__body { min-width: 0; }
  .gm-docs-side { position: static; }
  .gm-docs-nav ul { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
  .gm-docs-nav li { flex: none; }
  .gm-docs-toc { display: none; }
}


/* ---------- 1.8.1 polish ---------- */
.gaemster-home-hero .gm-hero-headline { display: block; }
/* Player toolbar: buttons and the Leaderboard link used different browser-default font sizes. */
.gaemster-player-action,
a.gaemster-player-action,
button.gaemster-player-action { font-size: 14px; line-height: 1.2; font-weight: 700; }
/* Full-window fallback when the Fullscreen API isn't available (iPhone Safari). */
.gaemster-player-shell.gaemster-player-shell--pseudo-fs { position: fixed !important; inset: 0 !important; z-index: 1000000; width: 100vw !important; max-width: none !important; height: 100vh; height: 100dvh; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: #08111f; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.gaemster-player-shell--pseudo-fs .gaemster-player-stage { width: 100% !important; height: 100% !important; min-height: 0 !important; }
.gaemster-player-shell--pseudo-fs .gaemster-game-frame { width: 100% !important; height: 100% !important; background: #fff; }
