/*
Theme Name: Glyph
Theme URI: https://www.glyph.net
Description: www.glyph.net, migrated from Gatsby + Strapi. Renders the imported home page sections (slider, game list, banners), news, articles and pages. Needs the mu-plugin glyph-structure.php; works with Polylang.
Version: 1.2.3
Requires at least: 6.4
Requires PHP: 8.0
Author: gamigo
Text Domain: glyph
License: Proprietary (fonts: Roboto, Apache 2.0, see assets/fonts)
*/

/* ---------- fonts (self-hosted, no requests to Google) ---------- */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/roboto-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/roboto-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/roboto-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 900; font-display: swap; src: url(assets/fonts/roboto-latin-900-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 900; font-display: swap; src: url(assets/fonts/roboto-latin-ext-900-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF; }

/* ---------- tokens (from the old site's CSS) ---------- */
:root {
  --glyph-yellow: #FFCB00;
  --glyph-violet: #2C1F42;      /* hero, page heads, banners */
  --glyph-night: #201630;       /* header, filter bar */
  --glyph-deep: #1F172F;        /* game list, article body, footer */
  --glyph-panel: #140E1F;       /* news rows, cards, banner box */
  --glyph-line: #473F54;
  --glyph-text: #FFFFFF;
  --glyph-muted: #AAAAAA;
  --glyph-faint: #858585;
  --font-body: "Motiva Sans", "Motiva-sans", Arial, Helvetica, sans-serif;
  --font-display: "Roboto", Arial, Helvetica, sans-serif;
  --container: 1120px;
  --header-h: 60px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--glyph-deep); color: var(--glyph-text); font-family: var(--font-body); font-weight: 500; font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--glyph-yellow); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--glyph-yellow); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.glyph-skip:focus { clip: auto; width: auto; height: auto; z-index: 100; top: 8px; left: 8px; padding: 8px 16px; background: var(--glyph-yellow); color: var(--glyph-night); }
.glyph-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.glyph-container--narrow { max-width: 1010px; }
.glyph-main { display: block; }

.glyph-display { color: var(--glyph-text); font-family: var(--font-display); font-weight: 900; text-transform: uppercase; line-height: 1.1; text-shadow: 2px 2px 5px #000; margin: 0; }
.glyph-hero, .glyph-games, .glyph-banner, .glyph-pagehead, .glyph-body, .glyph-newslist, .glyph-footer { color: var(--glyph-text); }
.glyph-main :is(h1, h2, h3, h4, h5, h6) { color: inherit; }
.glyph-section-title { font-family: var(--font-body); font-size: 1.4rem; font-weight: 700; text-transform: uppercase; margin: 0 0 28px; }

.glyph-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.glyph-button { display: inline-block; min-width: 140px; padding: 9px 28px; background: var(--glyph-yellow); color: var(--glyph-night); font-weight: 600; font-size: 14px; text-transform: uppercase; text-align: center; text-decoration: none; border: 2px solid var(--glyph-yellow); }
.glyph-button:hover, .glyph-button:focus-visible { background: transparent; color: var(--glyph-yellow); }
.glyph-tag { display: inline-block; padding: 2px 8px; background: var(--glyph-yellow); color: var(--glyph-night); font-size: 12px; font-weight: 600; text-transform: uppercase; }

/* ---------- header ---------- */
.glyph-header { position: sticky; top: 0; z-index: 50; background: var(--glyph-night); border-bottom: 1px solid rgba(255,255,255,.06); }
.glyph-header__bar { display: flex; align-items: center; height: var(--header-h); padding-left: 54px; }
.glyph-logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.glyph-logo--header .glyph-logo__img { width: 102px; height: auto; }
.glyph-logo__text { font-family: var(--font-display); font-weight: 900; font-size: 24px; color: #fff; text-transform: uppercase; }
.glyph-nav { display: flex; align-items: center; flex: 1; height: 100%; margin-left: 56px; }
.glyph-nav__menu { display: flex; gap: 46px; list-style: none; margin: 0; padding: 0; height: 100%; min-width: 0; }
.glyph-nav__menu > li > a { white-space: nowrap; }
.glyph-nav__menu > li { position: relative; display: flex; align-items: center; }
.glyph-nav__menu a { color: #fff; text-decoration: none; font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.glyph-nav__menu a:hover, .glyph-nav__menu .current-menu-item > a { color: var(--glyph-yellow); }
/* games bar: full width below the header, as on the old site (60px, #2C1F42, items from 186px) */
.glyph-nav__menu > li > a { display: flex; align-items: center; height: 100%; border-bottom: 3px solid transparent; padding-top: 3px; }
.glyph-nav__menu > li.menu-item-has-children > a[href="#"] { cursor: default; }
.glyph-nav__menu .sub-menu { display: none; list-style: none; margin: 0; padding: 0; }
@media (min-width: 1100px) {
  .glyph-nav__menu > li { position: static; }
  .glyph-nav__menu .sub-menu { position: absolute; top: var(--header-h); left: 0; right: 0; z-index: 40; height: 60px; padding-left: 186px; align-items: center; background: var(--glyph-violet); }
  .glyph-nav__menu > li:hover > .sub-menu, .glyph-nav__menu > li:focus-within > .sub-menu, .glyph-nav__menu > li.is-open > .sub-menu { display: flex; }
  .glyph-nav__menu > li:hover > a, .glyph-nav__menu > li:focus-within > a, .glyph-nav__menu > li.is-open > a { border-bottom-color: var(--glyph-yellow); color: #fff; }
  .glyph-nav__menu .sub-menu li { display: flex; height: 100%; }
  .glyph-nav__menu .sub-menu a { display: flex; align-items: center; height: 100%; margin: 0 20px; padding-top: 3px; border-bottom: 3px solid transparent; font-size: 1rem; text-transform: none; letter-spacing: 0; white-space: nowrap; color: #fff; }
  .glyph-nav__menu .sub-menu a[href]:hover, .glyph-nav__menu .sub-menu a[href]:focus-visible { border-bottom-color: var(--glyph-yellow); color: #fff; }
  .glyph-nav__menu .sub-menu a:not([href]) { cursor: default; }
}
.glyph-header__end { display: flex; align-items: center; flex: none; margin-left: auto; padding-left: 32px; height: 100%; }
.glyph-account { display: flex; align-items: center; height: 100%; padding: 0 14px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.glyph-account:hover, .glyph-account:focus-visible { color: var(--glyph-yellow); }
.glyph-lang { position: relative; height: 100%; margin-right: 10px; }
.glyph-lang__current { display: flex; align-items: center; gap: 10px; height: 100%; padding: 0 14px 0 20px; background: none; border: 0; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.glyph-lang__current svg { color: var(--glyph-muted); }
.glyph-lang__current[aria-expanded="true"], .glyph-lang__current:hover { background: var(--glyph-violet); }
.glyph-lang__list { position: absolute; top: var(--header-h); left: 0; right: 0; z-index: 45; display: none; list-style: none; margin: 0; padding: 6px 0; background: var(--glyph-night); box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.glyph-lang.is-open .glyph-lang__list { display: block; }
.glyph-lang__list a { display: block; padding: 12px 0; text-align: center; color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; }
.glyph-lang__list a[aria-current="true"], .glyph-lang__list a:hover, .glyph-lang__list a:focus-visible { color: var(--glyph-yellow); }
.glyph-install { display: inline-flex; align-items: center; gap: 10px; height: 100%; padding: 0 36px; white-space: nowrap; background: var(--glyph-yellow); color: var(--glyph-night); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; text-decoration: none; }
.glyph-install:hover, .glyph-install:focus-visible { background: #fff; color: var(--glyph-night); }
.glyph-header__toggle { display: none; margin-left: auto; width: 60px; height: var(--header-h); background: none; border: 0; cursor: pointer; }
.glyph-burger, .glyph-burger::before, .glyph-burger::after { display: block; width: 24px; height: 2px; margin: 0 auto; background: #fff; position: relative; transition: transform .2s; }
.glyph-burger::before, .glyph-burger::after { content: ""; position: absolute; left: 0; }
.glyph-burger::before { top: -7px; } .glyph-burger::after { top: 7px; }
.glyph-header__toggle[aria-expanded="true"] .glyph-burger { background: transparent; }
.glyph-header__toggle[aria-expanded="true"] .glyph-burger::before { transform: translateY(7px) rotate(45deg); }
.glyph-header__toggle[aria-expanded="true"] .glyph-burger::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero slider ---------- */
.glyph-hero { position: relative; background: var(--glyph-violet); border-bottom: 1px solid var(--glyph-yellow); overflow: hidden; }
.glyph-hero__track { display: grid; }
/* all slides share one grid cell; the active one fades in over the previous one */
.glyph-hero__slide { grid-area: 1 / 1; min-height: min(660px, 78vh); display: flex; align-items: center; background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity var(--hero-fade, .8s) ease, visibility 0s linear var(--hero-fade, .8s); }
.glyph-hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity var(--hero-fade, .8s) ease, visibility 0s; }
.glyph-hero__content { display: flex; flex-direction: column; align-items: flex-end; text-align: right; padding-top: 60px; padding-bottom: 60px; }
.glyph-hero__logo { max-width: 260px; max-height: 120px; width: auto; margin-bottom: 24px; }
.glyph-hero__title { font-size: clamp(2rem, 4vw, 3em); max-width: 14ch; }
.glyph-hero__text { max-width: 46ch; margin: 16px 0 0; font-size: 17px; text-shadow: 1px 1px 3px #000; }
.glyph-hero__arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 30px; height: 60px; background: rgba(0,0,0,.25); border: 1px solid var(--glyph-yellow); color: var(--glyph-yellow); cursor: pointer; }
.glyph-hero__arrow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border: solid currentColor; border-width: 0 0 2px 2px; }
.glyph-hero__arrow--prev { left: 12px; } .glyph-hero__arrow--prev::before { transform: translate(-30%, -50%) rotate(45deg); }
.glyph-hero__arrow--next { right: 12px; } .glyph-hero__arrow--next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.glyph-hero__arrow:hover { background: var(--glyph-yellow); color: var(--glyph-night); }
.glyph-hero__dots { position: absolute; z-index: 3; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; }
.glyph-hero__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #fff; cursor: pointer; }
.glyph-hero__dot[aria-current="true"] { background: var(--glyph-yellow); }

/* ---------- game cards ---------- */
.glyph-games { background: var(--section-bg, var(--glyph-deep)); padding: 56px 0 120px; }
.glyph-games__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.glyph-game { display: flex; flex-direction: column; }
.glyph-game__media { position: relative; aspect-ratio: 4 / 5; background: var(--glyph-panel); overflow: hidden; }
.glyph-game__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glyph-game__img--hover { opacity: 0; transition: opacity .25s; }
.glyph-game__logo { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); max-width: 70%; max-height: 70px; width: auto; }
.glyph-game__action { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .2s; }
.glyph-game__action .glyph-buttons { margin: 0; }
.glyph-game:hover .glyph-game__img--hover, .glyph-game:focus-within .glyph-game__img--hover,
.glyph-game:hover .glyph-game__action, .glyph-game:focus-within .glyph-game__action { opacity: 1; }
.glyph-game__info { background: #000; padding: 12px 16px 14px; }
.glyph-game__name { margin: 0; font-size: 17px; font-weight: 500; }
.glyph-game__genre { margin: 4px 0 0; font-size: 12px; color: var(--glyph-faint); }
.glyph-game__info .glyph-tag { margin-bottom: 6px; }

/* ---------- banners ---------- */
.glyph-banner { background-color: var(--glyph-violet); background-size: cover; background-position: center; border-bottom: 1px solid var(--glyph-line); }
.glyph-banner--boxed { padding: 54px 0; }
.glyph-banner--boxed .glyph-container { display: flex; justify-content: flex-end; }
.glyph-banner__box { width: min(428px, 100%); min-height: 398px; padding: 16px 34px 40px; background: rgba(0, 0, 0, .6);   /* as on the old site */ display: flex; flex-direction: column; align-items: center; text-align: center; }
.glyph-banner__top { display: flex; justify-content: space-between; align-items: center; width: calc(100% + 68px); margin: 0 -34px 26px; padding: 0 16px 0 0; }
.glyph-banner__top .glyph-tag { margin-left: 0; }
.glyph-banner__logo { max-height: 40px; width: auto; margin-left: auto; }
.glyph-banner__box .glyph-banner__title { font-size: clamp(1.8rem, 3vw, 2.4rem); text-shadow: none; }
.glyph-banner__box .glyph-buttons { margin-top: auto; padding-top: 32px; justify-content: center; }
.glyph-banner--wide .glyph-container { display: flex; min-height: 450px; align-items: center; }
.glyph-banner--right .glyph-container { justify-content: flex-end; text-align: right; }
.glyph-banner--wide .glyph-banner__title { font-size: clamp(2rem, 3.6vw, 2.8em); max-width: 13ch; }
.glyph-banner--right .glyph-banner__title { margin-left: auto; }
.glyph-banner__desc { margin: 14px 0 0; max-width: 46ch; }
.glyph-banner--right .glyph-buttons { justify-content: flex-end; }

/* ---------- page head (articles, pages) ---------- */
.glyph-pagehead { background: var(--glyph-violet) center / cover no-repeat; border-bottom: 1px solid var(--glyph-line); padding: 120px 0 140px; min-height: 300px; }
.glyph-pagehead__title { display: inline-block; margin: 0; padding-bottom: 22px; border-bottom: 4px solid var(--glyph-yellow); max-width: 34ch; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; text-shadow: 2px 2px 5px #000; }
.glyph-body { background: var(--glyph-deep); padding: 64px 0 96px; }

/* ---------- article and page text ---------- */
.glyph-prose { max-width: 820px; font-size: 16px; line-height: 1.65; }
.glyph-prose > * { max-width: 72ch; }
.glyph-prose h2, .glyph-prose h3 { font-size: 1.15rem; font-weight: 700; margin: 2em 0 .8em; }
.glyph-prose h1 { font-size: 1.6rem; margin: 0 0 .8em; }
.glyph-prose ul, .glyph-prose ol { padding-left: 1.4em; }
.glyph-prose li + li { margin-top: .3em; }
.glyph-prose img { margin: 1.5em 0; }
.glyph-prose table { border-collapse: collapse; width: 100%; } .glyph-prose td, .glyph-prose th { border: 1px solid var(--glyph-line); padding: 6px 10px; }
.glyph-article__meta { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; max-width: none; }
.glyph-back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 15px; }
.glyph-back::before { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(45deg); }
.glyph-article__info { display: flex; gap: 24px; font-size: 14px; color: var(--glyph-faint); }
.glyph-article__label { text-transform: uppercase; }

/* ---------- news: filter, rows, cards ---------- */
.glyph-filter { background: var(--glyph-night); border-bottom: 1px solid rgba(255,255,255,.06); }
.glyph-filter ul { display: flex; gap: 32px; list-style: none; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; overflow-x: auto; }
.glyph-filter a { color: #fff; text-decoration: none; white-space: nowrap; padding-bottom: 6px; border-bottom: 2px solid transparent; }
.glyph-filter a[aria-current="page"] { color: var(--glyph-yellow); border-bottom-color: var(--glyph-yellow); }
.glyph-filter a:hover { color: var(--glyph-yellow); }
.glyph-newslist { background: var(--glyph-violet); padding: 36px 0 72px; }
.glyph-rows { list-style: none; margin: 0; padding: 0; background: var(--glyph-panel); }
.glyph-row { display: grid; grid-template-columns: 44% 1fr; gap: 36px; padding: 30px 40px 30px 0; border-bottom: 1px solid var(--glyph-line); }
.glyph-row:last-child { border-bottom: 0; }
.glyph-row__media { display: block; aspect-ratio: 210 / 110; background: #0b0811; overflow: hidden; }
.glyph-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.glyph-row:hover .glyph-row__media img { transform: scale(1.03); }
.glyph-row__label { display: block; font-size: 13px; color: var(--glyph-faint); margin-bottom: 6px; }
.glyph-row__title { margin: 0 0 12px; font-size: 18px; font-weight: 500; }
.glyph-row__title a { color: #fff; text-decoration: none; }
.glyph-row__title a:hover { color: var(--glyph-yellow); }
.glyph-row__excerpt p { margin: 0; }
.glyph-row__date { display: block; margin-top: 14px; font-size: 13px; color: var(--glyph-faint); }
.glyph-empty { padding: 40px; background: var(--glyph-panel); }
.navigation.pagination { margin-top: 28px; }
.nav-links { display: flex; justify-content: center; gap: 8px; }
.nav-links .page-numbers { min-width: 40px; padding: 8px 12px; text-align: center; color: #fff; text-decoration: none; background: var(--glyph-panel); }
.nav-links .page-numbers.current { background: var(--glyph-yellow); color: var(--glyph-night); }
.nav-links a.page-numbers:hover { color: var(--glyph-yellow); }

.glyph-related { padding-top: 72px; }
.glyph-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; list-style: none; margin: 0; padding: 0 20px; }
.glyph-card a { display: flex; flex-direction: column; height: 100%; background: var(--glyph-panel); color: #fff; text-decoration: none; }
.glyph-card__media { display: block; aspect-ratio: 300 / 158; background: #0b0811; overflow: hidden; }
.glyph-card__media img { width: 100%; height: 100%; object-fit: cover; }
.glyph-card__meta { display: flex; justify-content: space-between; padding: 12px 20px 0; font-size: 12px; color: var(--glyph-faint); }
.glyph-card__title { padding: 8px 20px 40px; font-size: 17px; }
.glyph-card a:hover .glyph-card__title { color: var(--glyph-yellow); }

/* ---------- footer ---------- */
.glyph-footer { background: var(--glyph-deep); border-top: 1px solid var(--glyph-yellow); }
.glyph-footer__inner { padding: 48px 20px 104px; }   /* room at the bottom for OneTrust's floating cookie icon */
.glyph-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.glyph-logo--footer .glyph-logo__img { width: 160px; height: auto; }
.glyph-social { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.glyph-social a { color: #fff; display: block; }
.glyph-social a:hover { color: var(--glyph-yellow); }
.glyph-footer__legal { max-width: 860px; margin-top: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--glyph-line); overflow: hidden; }
.glyph-footer__menu { display: flex; flex-wrap: wrap; row-gap: 10px; list-style: none; margin: 0 0 0 -11px; padding: 0; }
/* separator = left border of each item; the item that starts a line has its border outside the clipped box */
.glyph-footer__menu li { margin-left: -1px; padding: 0 10px; border-left: 1px solid var(--glyph-faint); line-height: 1.1; }
.glyph-footer__menu a { color: #fff; text-decoration: none; font-size: 13px; text-transform: uppercase; }
.glyph-footer__menu a:hover { color: var(--glyph-yellow); }
.glyph-cookie-settings { margin-top: 20px; padding: 0; background: none; border: 0; color: var(--glyph-muted); font: inherit; font-size: 13px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.glyph-cookie-settings:hover, .glyph-cookie-settings:focus-visible { color: var(--glyph-yellow); }
/* OneTrust styles #ot-sdk-btn; our button only uses its class, keep it in the footer style */
.glyph-footer .ot-sdk-show-settings.glyph-cookie-settings { padding: 0 !important; border: 0 !important; background: none !important; color: var(--glyph-muted) !important; font-size: 13px !important; line-height: 1.5 !important; }
.glyph-footer__copy { margin: 20px 0 0; font-size: 12px; color: var(--glyph-faint); }

/* ---------- responsive (breakpoints of the old site) ---------- */
@media (max-width: 1279px) {
  .glyph-header__bar { padding-left: 24px; }
  .glyph-nav { margin-left: 32px; }
  .glyph-nav__menu { gap: 28px; }
  .glyph-install { padding: 0 22px; }
}
@media (max-width: 1099px) {
  .glyph-header__toggle { display: block; }
  .glyph-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; margin: 0; flex-direction: column; align-items: stretch; height: auto; padding: 16px 24px 32px; background: var(--glyph-night); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s; }
  .glyph-nav.is-open { visibility: visible; opacity: 1; transition: opacity .2s; }
  .glyph-nav__menu { flex-direction: column; gap: 0; height: auto; }
  .glyph-nav__menu > li { display: block; border-bottom: 1px solid var(--glyph-line); }
  .glyph-nav__menu > li > a { display: block; padding: 16px 0; }
  .glyph-nav__menu > li > a { height: auto; border-bottom: 0; }
  .glyph-nav__menu .sub-menu { display: block; padding: 0 0 12px; }
  .glyph-nav__menu .sub-menu a { display: block; padding: 8px 16px; color: var(--glyph-muted); text-decoration: none; text-transform: none; letter-spacing: 0; }
  .glyph-nav__menu .sub-menu a:not([href]) { color: var(--glyph-faint); }
  .glyph-header__end { flex-direction: column; align-items: stretch; height: auto; margin: 24px 0 0; gap: 20px; }
  .glyph-account { height: auto; padding: 4px 0; }
  .glyph-lang { height: auto; margin: 0; }
  .glyph-lang__current { display: none; }
  .glyph-lang__list { position: static; display: flex; gap: 20px; padding: 0; background: none; box-shadow: none; }
  .glyph-lang__list a { padding: 4px 0; color: var(--glyph-muted); }
  .glyph-install { justify-content: center; padding: 14px 20px; }
  .glyph-games__list { grid-template-columns: repeat(2, 1fr); }
  .glyph-cards { grid-template-columns: 1fr 1fr; gap: 24px; padding: 0; }
  body.glyph-menu-open { overflow: hidden; }
}
@media (max-width: 768px) {
  .glyph-hero .glyph-hero__content { align-items: flex-start; text-align: left; padding-left: 56px; padding-right: 56px; }
  .glyph-hero__arrow { width: 26px; height: 48px; }
  .glyph-games { padding: 40px 0 64px; }
  .glyph-banner--boxed .glyph-container { justify-content: center; }
  .glyph-banner--wide .glyph-container { min-height: 360px; }
  .glyph-banner--right .glyph-container { justify-content: flex-start; text-align: left; }
  .glyph-banner--right .glyph-banner__title { margin-left: 0; }
  .glyph-banner--right .glyph-buttons { justify-content: flex-start; }
  .glyph-row { grid-template-columns: 1fr; gap: 0; padding: 0 0 24px; }
  .glyph-row__body { padding: 20px 20px 0; }
  .glyph-pagehead { padding: 72px 0 84px; min-height: 0; }
  .glyph-body { padding: 40px 0 64px; }
}
@media (max-width: 480px) {
  .glyph-games__list, .glyph-cards { grid-template-columns: 1fr; }
  .glyph-game__media { aspect-ratio: 16 / 10; }
  .glyph-footer__top { flex-direction: column; align-items: flex-start; }
  .glyph-social { gap: 16px; }
  .glyph-container { padding: 0 18px; }
  .glyph-hero .glyph-hero__content { padding-left: 50px; padding-right: 50px; }
  .glyph-hero__logo { max-width: 180px; }
  .glyph-article__meta { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
