/*
 * My2Game — Premium Dark v1
 * Storefront presentation layer. Backend, admin, orders and payment logic unchanged.
 * Loaded after legacy site.css; homepage rules are intentionally scoped.
 */

:root {
  --premium-ink: #080d16;
  --premium-panel: #101722;
  --premium-panel-light: #172130;
  --premium-ice: #ecf4ff;
  --premium-muted: #97a9be;
  --premium-blue: #86afff;
  --premium-blue-strong: #467cf2;
  --premium-line: rgba(174, 198, 233, .12);
}

body {
  --bg-page: #080d16;
  --bg-page-alt: #0b111b;
  --bg-card: #111a26;
  --bg-elevated: #172232;
  --bg-input: #131e2c;
  --text-main: #edf3fe;
  --text-muted: #a1aec2;
  --text-soft: #8795aa;
  --brand: #86afff;
  --brand-hover: #6897ff;
  --accent: #7ddbd8;
  --accent-hover: #66bfba;
  --border: rgba(174, 198, 233, .12);
  --border-strong: rgba(174, 198, 233, .27);
  --radius-xl: 10px;
  --radius-lg: 10px;
  --radius-md: 10px;
  --radius-sm: 10px;
  background: #080d16;
  color: var(--premium-ice);
  letter-spacing: -.007em;
}

body .container { width: min(1360px, calc(100% - 72px)); }
body .narrow { width: min(760px, calc(100% - 72px)); }

.site-header {
  background: rgba(8, 13, 22, .94);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(174, 198, 233, .105);
  box-shadow: none;
}
.header-row { min-height: 86px; padding: 14px 0; gap: 32px; }
.premium-brand,
.premium-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: 1;
  color: #f3f7ff;
  background: none;
  -webkit-text-fill-color: currentColor;
  flex: 0 0 auto;
}
.premium-brand-word span,
.premium-footer-brand > span:not(.premium-footer-dot) { color: #86afff; }
.premium-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(132, 175, 255, .28);
  border-radius: 10px;
  color: #b4ceff;
  background: linear-gradient(145deg, #273e67, #101b30);
  box-shadow: none;
}
.premium-brand-mark svg { width: 28px; height: 28px; }
.header-actions { flex: 1; gap: 13px; flex-wrap: nowrap; }
.site-nav,
.account-nav,
.locale-nav {
  flex-wrap: nowrap;
  padding: 0;
  gap: 1px;
  border: 0;
  border-radius: 10px;
  background: transparent;
}
.site-nav { margin-right: auto; }
.site-link,
.account-link {
  min-height: 42px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  color: #b2bfce;
  white-space: nowrap;
}
.site-link:hover,
.account-link:hover,
.site-link.is-active,
.account-link.is-active {
  color: #fff;
  border-color: transparent;
  background: rgba(132, 175, 255, .105);
  box-shadow: none;
}
.site-link.is-active { color: #b4cfff; }
.account-nav { margin-left: 0; }
.account-link {
  min-height: 42px;
  border: 1px solid rgba(132, 175, 255, .23);
  background: rgba(132, 175, 255, .085);
  color: #e2ecff;
  padding: 0 19px;
}
.premium-header-search,
.locale-trigger {
  display: inline-grid;
  place-items: center;
  width: 42px;
  min-height: 42px;
  border: 1px solid rgba(174, 198, 233, .17);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
  color: #cfdaea;
}
.premium-header-search svg { width: 19px; height: 19px; flex: 0 0 auto; }
.premium-header-search-label { display: none; }
.premium-header-search:hover,
.premium-header-search:focus-visible,
.locale-trigger:hover,
.locale-trigger:focus-visible {
  color: white;
  background: rgba(132, 175, 255, .12);
  border-color: rgba(132, 175, 255, .4);

}
:where(html:not(.storefront-no-outline)) .premium-header-search:hover,
:where(html:not(.storefront-no-outline)) .premium-header-search:focus-visible,
:where(html:not(.storefront-no-outline)) .locale-trigger:hover,
:where(html:not(.storefront-no-outline)) .locale-trigger:focus-visible {
  outline: none;
}
.locale-trigger svg { width: 18px; height: 18px; }
.locale-menu {
  border-color: var(--premium-line);
  border-radius: 10px;
  background: #121c2b;
  padding: 7px;
}
.locale-link { min-height: 34px; border-radius: 10px; }
.locale-link.is-active { border: 0; color: #dce9ff; background: rgba(132, 175, 255, .17); }
.menu-toggle { color: #ebf3ff; border-color: rgba(132, 175, 255, .22); border-radius: 10px; }
.site-main { min-width: 0; }
body:not(.premium-home) .site-main > .section:first-child { padding-top: var(--m2-fixed-premium-dark-1, max(38px, min(5vw, 72px))); }

/* Homepage hero */
.premium-home .premium-hero {
  position: relative;
  isolation: isolate;
  min-height: 0;
  display: block;
  padding: 64px 0 56px;
  overflow: hidden;
  background: radial-gradient(ellipse at 24% 28%, rgba(33, 69, 134, .27), transparent 44%), #080d16;
}
.premium-home .premium-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  content: "";
  background-image: radial-gradient(rgba(138, 179, 248, .17) .7px, transparent .7px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to right, transparent, #000 42%, transparent);
  opacity: .27;
  pointer-events: none;
}
.premium-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: 40px;
}
.premium-hero-copy { min-width: 0; }
.premium-eyebrow,
.premium-section-kicker,
.premium-feature-overline,
.premium-shortcut-number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.premium-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #a7c4ff;
}
.premium-eyebrow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background: #80e0cf;
  box-shadow: none;
}
.premium-home .premium-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 42px;
  line-height: .995;
  letter-spacing: -.065em;
  font-weight: 800;
  text-align: left;
  text-wrap: balance;
}
.premium-home .premium-hero h1 em {
  font-style: normal;
  background: linear-gradient(105deg, #94beff 12%, #8dede4 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.premium-hero-lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: #a8b7cb;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}
.premium-hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 33px; }
.premium-button-primary,
.premium-button-secondary,
.premium-feature-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 750;
  transition: background-color .2s ease, border-color .2s ease;
}
.premium-button-primary {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 10px;
  color: #06101d;
  background: #a1c5ff;
  box-shadow: none;
}
.premium-button-primary svg { width: 19px; height: 19px; }
.premium-button-primary:hover,
.premium-button-primary:focus-visible {
  color: #06101d;
  background: #c0dbff;
}
.premium-button-secondary {
  min-height: 56px;
  border: 1px solid rgba(191, 210, 245, .19);
  padding: 0 22px;
  border-radius: 10px;
  color: #e8effe;
  background: rgba(255,255,255,.025);
}
.premium-button-secondary:hover,
.premium-button-secondary:focus-visible {
  background: rgba(132, 175, 255, .1);
  border-color: rgba(132, 175, 255, .38);
}
.premium-search-wrap { margin-top: 34px; max-width: 590px; }
.premium-home .hero-search {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 62px;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(176, 197, 224, .19);
  border-radius: 10px;
  background: #131e2d;
  box-shadow: none;
}
.premium-home .hero-search-field {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding-left: 14px;
}
.premium-home .hero-search-field svg { width: 20px; height: 20px; flex: 0 0 auto; color: #8294ad; }
.premium-home .hero-search input {
  border: 0;
  border-radius: 10px;
  background: transparent;
  min-width: 0;
  width: 100%;
  color: #eff5ff;
  padding: 0;
  font-size: 14px;
}
.premium-home .hero-search input:focus {  box-shadow: none; }
.premium-home .hero-search .primary-button {
  min-height: 46px;
  padding: 0 24px;
  border-radius: 10px;
  color: white;
  background: #356fea;
  border: 1px solid rgba(157, 194, 255, .25);
  box-shadow: none;
  font-weight: 750;
}
.premium-home .hero-search .primary-button:hover { background: #4e85fb; }
.premium-hero-note { margin: 10px 0 0; color: #71839c; font-size: 12px; }
.premium-home .hero-search-results {
  z-index: 15;
  border: 1px solid rgba(132, 175, 255, .22);
  background: #121e2d;
}

/* Hero editorial visual uses the existing local placeholder art until a curated game is selected. */
.premium-feature {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 560px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(193, 213, 241, .15);
  border-radius: 10px;
  background: linear-gradient(155deg, #1b2c46, #0b131e);
  box-shadow: none;
}
.premium-feature::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, rgba(6, 12, 22, .98) 0%, rgba(8, 17, 29, .36) 50%, rgba(12, 25, 44, .22) 100%);
}
.premium-feature-scene {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("../img/home-hero-placeholder.webp") center / cover no-repeat;
  transform: scale(1.04);
  filter: saturate(.75) contrast(1.08);
}
.premium-feature-top,
.premium-feature-bottom { position: relative; z-index: 2; }
.premium-feature-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.premium-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(211, 228, 255, .26);
  border-radius: 10px;
  color: #e9f2ff;
  background: rgba(7, 16, 31, .42);
  backdrop-filter: blur(14px);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
}
.premium-feature-chip span { color: #b4d6ff; font-size: 16px; }
.premium-feature-index { color: #d7e2f3; font-size: 12px; font-weight: 650; letter-spacing: .11em; }
.premium-feature-overline { margin: 0 0 13px; color: #b2d1ff; }
.premium-feature-title {
  max-width: 450px;
  margin: 0;
  color: #f5f8ff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.premium-feature-title em { font-style: normal; color: #bbd5ff; }
.premium-feature-link {
  margin-top: 22px;
  min-height: 40px;
  justify-content: flex-start;
  gap: 18px;
  color: #e6f0ff;
  font-size: 13px;
  border-bottom: 1px solid rgba(198, 223, 255, .4);
}
.premium-feature-link:hover { color: #97c5ff; }

/* Value proposition strip */
.premium-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 22px 0;
  border-top: 1px solid var(--premium-line);
  border-bottom: 1px solid var(--premium-line);
}
.premium-benefit { display: flex; align-items: center; min-width: 0; gap: 16px; padding: 14px 28px; }
.premium-benefit:first-child { padding-left: 0; }
.premium-benefit:not(:last-child) { border-right: 1px solid rgba(174, 198, 233, .1); }
.premium-benefit-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 10px;
  color: #9fbfff;
  background: rgba(91, 137, 220, .105);
  font-size: 24px;
}
.premium-benefit strong,
.premium-benefit small { display: block; }
.premium-benefit strong { font-size: 13px; letter-spacing: -.01em; }
.premium-benefit small { margin-top: 4px; color: #8494ac; font-size: 12px; }

/* Sections and product cards */
.premium-home .home-game-section,
.premium-home .home-category-section,
.premium-home #faq { padding: 54px 0 0; }
.premium-home #faq { padding-bottom: 64px; }
.premium-home .home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.premium-section-label { display: grid; gap: 12px; }
.premium-section-kicker { color: #7899d5; }
.premium-home .home-section-head h2 {
  max-width: none;
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -.04em;
  font-weight: 750;
}
.premium-home .home-show-more-top,
.premium-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-height: 40px;
  padding: 0 var(--m2-space-control-inline, 14px);
  color: #b4cdfa;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.premium-home .home-show-more-top:hover,
.premium-inline-link:hover { color: #f6faff; }
.premium-inline-link span { font-size: 18px; line-height: 1; }
.premium-home .home-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.premium-home .home-game-card:not(.home-carousel-slide) {
  min-width: 0;
  border: 1px solid rgba(174, 198, 233, .11);
  border-radius: 10px;
  background: #111923;
  box-shadow: none;
  overflow: hidden;
}
.premium-home .home-game-card:not(.home-carousel-slide):hover {
  border-color: var(--m2-card-hover-border);
  box-shadow: none;
}
.premium-home .home-game-card .game-card-media { overflow: hidden; }
.premium-home .home-game-card:not(.home-carousel-slide) .game-card-media {
  aspect-ratio: 460 / 215;
  background: #1d2a3d;
}
.premium-home .home-game-card:not(.home-carousel-slide) .game-card-media img { width: 100%; height: 100%; object-fit: contain; }
.premium-home .home-game-card:not(.home-carousel-slide) .game-card-body { padding: 18px; gap: 12px; }
.premium-home .home-game-card h3 { color: #edf4ff; font-size: 14px; min-height: 2.6em; }
.premium-home .home-card-actions .game-buy-button {
  min-height: 44px;
  border-radius: 10px;
  border-color: rgba(125, 169, 250, .21);
  color: #dbeaff;
  background: #1d304c;
  box-shadow: none;
}
.premium-home .home-card-actions .game-buy-button:hover { background: #3169ce; color: white; }
.premium-home .home-card-actions .game-buy-button::after { content: "VIEW"; font-size: 12px; }
.premium-home .home-carousel-section { padding-top: 54px; }
.premium-home .home-carousel-slide { border-radius: 10px; border: 1px solid rgba(166, 195, 245, .15); }

/* Intentionally helpful, not fictitious catalog data */
.premium-home .premium-empty {
  min-height: 176px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 28px 32px;
  text-align: left;
  border: 1px dashed rgba(157, 185, 229, .24);
  border-radius: 10px;
  background: linear-gradient(110deg, rgba(31,47,69,.55), rgba(16,24,36,.82));
  box-shadow: none;
}
.premium-empty-symbol {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  color: #a9c6f9;
  border: 1px solid rgba(132, 175, 255, .17);
  border-radius: 10px;
  background: rgba(132, 175, 255, .08);
  font-size: 28px;
}
.premium-empty-copy strong { display: block; font-size: 16px; }
.premium-home .premium-empty-copy p { margin-top: 6px; color: #889bb2; font-size: 14px; }
.premium-home .home-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.premium-home .home-category-card {
  display: grid;
  position: relative;
  justify-items: start;
  align-content: space-between;
  min-height: 184px;
  padding: 24px;
  gap: 13px;
  border: 1px solid var(--premium-line);
  border-radius: 10px;
  text-align: left;
  background: linear-gradient(145deg, #182437, #101924);
  box-shadow: none;
}
.premium-home .home-category-card:hover {
  border-color: var(--m2-card-hover-border);
  background: linear-gradient(145deg, #213552, #122235);
}
.premium-home .home-category-card strong { font-size: 18px; line-height: 1.2; font-weight: 750; }
.premium-shortcut-number { color: #8399b7; font-size: 9px; }
.premium-home .home-category-count {
  justify-items: start;
  text-align: left;
}
.premium-home .home-category-count b { font-size: 1.2rem; }
.premium-home .home-category-count small { font-size: 10px; }
.premium-home .faq-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.premium-home .faq-item { align-self: start; border: 1px solid var(--premium-line); border-radius: 10px; background: #111a26; box-shadow: none; }
.premium-home .faq-item summary { color: #e6f0ff; font-size: 14px; font-weight: 650; }
.premium-home .faq-item:hover { border-color: rgba(132, 175, 255, .28); }

/* Inner-page baseline stays compatible with current PHP views. */
.premium-inner .panel-card,
.premium-inner .state-card,
.premium-inner .game-card { background-color: #111a26; border-color: var(--premium-line); border-radius: 10px; }
.premium-inner .section-head h1 { letter-spacing: -.045em; }
.premium-inner .game-buy-button { box-shadow: none; }
/* Branded footer */
.site-footer {
  margin-top: 80px;
  background: #0a101a;
  border-top: 1px solid var(--premium-line);
  box-shadow: none;
}
.premium-home .site-footer { margin-top: 0; }
.footer-premium {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-top: 53px;
  padding-bottom: 44px;
}
.premium-footer-brand { font-size: 23px; }
.premium-footer-dot { color: #8ac4f7; }
.footer-premium p { max-width: 330px; margin: 18px 0 0; color: #8595a9; font-size: 13px; line-height: 1.6; }
.premium-footer-links { display: flex; gap: 33px; flex-wrap: wrap; }
.premium-footer-links a { color: #adbbcf; font-size: 13px; font-weight: 600; }
.premium-footer-links a:hover { color: #f3f8ff; }
.premium-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0 24px;
  border-top: 1px solid rgba(174, 198, 233, .08);
  color: #718298;
  font-size: 12px;
}
:where(html:not(.storefront-no-outline)) :where(.premium-button-primary, .premium-button-secondary, .premium-feature-link, .premium-inline-link, .premium-header-search, .premium-footer-links a, .premium-brand, .premium-shortcut, .premium-home .home-show-more-top):focus-visible {
  outline: 2px solid #a1c8ff;
  outline-offset: 3px;
}
:where(html.storefront-no-outline) :where(.premium-button-primary, .premium-button-secondary, .premium-feature-link, .premium-inline-link, .premium-header-search, .premium-footer-links a, .premium-brand, .premium-shortcut, .premium-home .home-show-more-top):focus-visible {
  border-color: #a1c8ff;
}

@media (max-width: 1250px) {
  .header-row { gap: 16px; }
  .header-actions { gap: 7px; }
  :where(html:not(.storefront-no-outline)) .site-link { padding: 0 10px; font-size: 12px;}
  .premium-hero-grid { gap: 36px; }
  .premium-feature { min-height: 510px; }
}

@media (max-width: 1120px) {
  .premium-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); }
  .premium-feature { min-height: 450px; }
  .premium-benefit { padding: 14px 16px; }
  .premium-home .home-card-grid,
  .premium-home .home-category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 860px) {
  body .container, body .narrow { width: calc(100% - 42px); }
  .header-row { min-height: 74px; gap: 10px; }
  :where(html:not(.storefront-no-outline)) .premium-brand { font-size: 19px;}
  .premium-brand-mark { width: 40px; height: 40px; }
  .header-actions {
    display: none;
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--premium-line);
    border-radius: 10px;
    background: #111c2c;
  }
  .header-actions.is-open { display: grid; }
  .site-nav,
  .account-nav { display: flex; flex-wrap: wrap; margin: 0; border: 0; background: transparent; }
  .site-link { flex: 1 1 calc(50% - 6px); }
  :where(html:not(.storefront-no-outline)) .site-link { min-height: 42px; padding: 0 10px; font-size: 13px;}
  .account-link { flex: 1; }
  .premium-header-search { display: inline-flex; width: 100%; min-height: 44px; gap: 10px; justify-content: center; padding: 0 14px; }
  .premium-header-search-label { display: inline; font-size: 13px; font-weight: 650; }
  .locale-dropdown { display: block; }
  .locale-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    display: flex;
    box-shadow: none;
  }
  .locale-menu .locale-link { flex: 1; }
  .locale-trigger { display: none; }
  .premium-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  
  .premium-home .premium-hero h1 { max-width: 720px; }
  .premium-hero-lead { max-width: 680px; }
  .premium-feature { min-height: 430px; }
  .premium-benefits { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .premium-benefit { align-items: flex-start; gap: 10px; padding: 11px 12px; }
  .premium-benefit-icon { width: 33px; height: 33px; border-radius: 10px; font-size: 19px; }
  .premium-benefit strong { font-size: 12px; }
  .premium-benefit small { font-size: 11px; }
}

@media (max-width: 640px) {
  body .container, body .narrow { width: calc(100% - 32px); }
  .header-row { padding: 13px 0; min-height: 68px; }
  :where(html:not(.storefront-no-outline)) .premium-brand { font-size: 19px;}
  .premium-brand-mark { width: 38px; height: 38px; }
  .premium-home .premium-hero { min-height: 0; }
  
  .premium-eyebrow { margin-bottom: 20px; font-size: 10px; }
  .premium-hero-lead { margin-top: 21px; line-height: 1.65; }
  :where(html:not(.storefront-no-outline)) .premium-hero-lead {font-size:15px;}
  .premium-hero-cta { gap: 10px; margin-top: 26px; }
  :where(html:not(.storefront-no-outline)) .premium-button-primary,
  :where(html:not(.storefront-no-outline)) .premium-button-secondary { min-height: 50px; padding: 0 16px; font-size: 13px;}
  .premium-search-wrap { margin-top: 25px; }
  .premium-home .hero-search { display: grid; grid-template-columns: minmax(0,1fr) auto; }
  
  .premium-home .hero-search-field svg { width: 17px; height: 17px; }
  
  .premium-home .hero-search .primary-button { width: auto; }
  .premium-feature { min-height: 390px; padding: 23px; border-radius: 10px; }
  .premium-feature-overline { font-size: 9px; }
  .premium-benefits { grid-template-columns: 1fr; padding: 6px 0; }
  .premium-benefit, .premium-benefit:first-child { padding: 14px 4px; align-items: center; gap: 14px; }
  .premium-benefit:not(:last-child) { border-right: 0; border-bottom: 1px solid rgba(174,198,233,.1); }
  .premium-benefit-icon { width: 41px; height: 41px; }
  
  .premium-home .home-section-head { align-items: flex-start; }
  
  .premium-home .home-card-grid,
  .premium-home .home-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .premium-home .home-category-card { min-height: 150px; }
  .premium-shortcut-number { font-size: 8px; }
  .premium-home .premium-empty { display: grid; grid-template-columns: auto 1fr; min-height: 0; }
  .premium-empty-symbol { border-radius: 10px; }
  :where(html:not(.storefront-no-outline)) .premium-empty-symbol { width: 44px; height: 44px;}
  .premium-empty-copy strong { font-size: 13px; }
  
  .premium-home .premium-empty .premium-inline-link { grid-column: 2; }
  .premium-home .faq-list { grid-template-columns: 1fr; }
  .footer-premium { flex-direction: column; }
  :where(html:not(.storefront-no-outline)) .footer-premium { padding-top: 42px; padding-bottom: 32px; gap: 30px;}
  :where(html:not(.storefront-no-outline)) .premium-footer-links { gap: 20px;}
}

@media (max-width: 420px) {
  body .container, body .narrow { width: calc(100% - 28px); }
  .premium-home .home-section-head { flex-wrap: wrap; }
  
  .premium-home .home-card-grid { grid-template-columns: 1fr; }
  .premium-home .home-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .premium-feature { min-height: 355px; }
  .premium-feature-chip { font-size: 9px; }
  .premium-footer-bottom { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .premium-button-primary, .premium-button-secondary, .premium-feature-link,
  .premium-header-search, .premium-home .home-game-card { transition: none; }
}

/* Optional live Steam description, safely rendered as plain text. */
.game-description-live-text { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.75; }
.game-description-live-status { color: var(--text-muted, #aabbd0); line-height: 1.6; }
