@font-face { font-family: Manrope; src: url('fonts/manrope-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url('fonts/manrope-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Manrope; src: url('fonts/manrope-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url('fonts/manrope-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Manrope; src: url('fonts/manrope-800.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #10130f;
  --surface: #191e17;
  --surface-hover: #242c20;
  --line: #343e2e;
  --text: #f4f4e9;
  --muted: #b3bdab;
  --accent: #e8cc69;
  --accent-solid: #e8cc69;
  --radius: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
html { scroll-padding-top: 150px; scrollbar-color: #68765a var(--bg); }
body.rook-store { margin: 0; background: var(--bg); color: var(--text); font-family: Manrope, sans-serif; font-size: 15px; line-height: 1.65; }
::selection { background: var(--accent); color: #171c13; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
input, textarea { caret-color: var(--accent); }
.rook-store h1, .rook-store h2, .rook-store h3 { font-family: Manrope, sans-serif; text-wrap: balance; }
.rook-store h1 { font-size: 44px; line-height: 1.12; font-weight: 800; letter-spacing: -.035em; }
.rook-store h2 { font-weight: 700; letter-spacing: -.025em; }
.rook-store a { text-underline-offset: 4px; }
.rook-store p, .rook-store .muted { color: var(--muted); }
.rook-store .container { width: min(1280px, calc(100% - 64px)); max-width: 1280px; margin-inline: auto; padding-inline: 0; }
.rook-store .icon { flex-shrink: 0; }
.rook-store .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.rook-store .button { min-height: 48px; padding: 12px 20px; border-radius: 9px; font-size: 14px; font-weight: 700; gap: 10px; }
.rook-store .button.primary { background: var(--accent); color: #1b2114; border: 1px solid var(--accent); }
.rook-store .button.primary:hover { background: #f4d983; color: #1b2114; transform: none; box-shadow: none; }
.rook-store .button.secondary { background: transparent; border: 1px solid #59634f; color: var(--text); }
.rook-store .button.secondary:hover { border-color: var(--accent); background: #252d1f; transform: none; }
.rook-store .button.quiet { color: var(--muted); }
.rook-store .button:disabled { opacity: .6; cursor: not-allowed; }
.rook-store .text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 14px; font-weight: 600; color: var(--accent); }
.rook-store .text-link:hover { color: #f5df97; }
.rook-store .preview-notice { margin: 22px 0; padding: 12px 18px; border: 1px solid #554d2a; border-radius: 8px; background: #28271a; color: #dfd6b7; font-size: 13px; line-height: 1.7; }
.rook-store .page-error { margin: 24px auto; padding: 16px; background: #34291e; color: #ffe0ad; }

/* Rook is part of the store identity, not a live chat control. */
.store-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.rook-store .header-main { display: grid; grid-template-columns: 230px 126px minmax(140px, 1fr) auto; gap: 22px; align-items: center; height: 86px; min-height: 86px; }
.rook-store .brand { display: inline-flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-size: 22px; line-height: 1.05; letter-spacing: -.025em; font-weight: 800; white-space: nowrap; }
.rook-store .brand-rook { width: 52px; height: 58px; object-fit: contain; flex-shrink: 0; }
.rook-store .brand-word { display: flex; flex-direction: column; gap: 7px; color: var(--text); }
.rook-store .brand-word > span { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .015em; }
.catalog-menu { position: static; }
.catalog-trigger { list-style: none; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 13px; border: 1px solid #505b43; border-radius: 9px; font-size: 14px; font-weight: 700; cursor: pointer; }
.catalog-trigger::-webkit-details-marker { display: none; }
.catalog-trigger > .icon { width: 16px; height: 16px; }
.catalog-trigger > .icon:last-child { width: 12px; height: 12px; transition: transform 180ms var(--ease); }
.catalog-menu[open] .catalog-trigger { background: var(--surface-hover); border-color: var(--accent); }
.catalog-menu[open] .catalog-trigger > .icon:last-child { transform: rotate(180deg); }
.mega-menu { position: absolute; inset: 86px 0 auto; background: #191e17; border-block: 1px solid var(--line); box-shadow: 0 22px 36px #0006; }
.mega-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; padding-block: 32px 38px; }
.mega-inner > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.mega-inner h2 { margin: 0 0 10px; font-size: 16px; color: var(--accent); }
.mega-inner a { display: inline-flex; min-height: 32px; align-items: center; font-size: 14px; }
.mega-inner a:hover { color: var(--accent); }
.mega-inner button { padding: 8px 0; margin-top: 10px; }
.store-search { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 46px; padding: 0 7px 0 15px; border: 1px solid #45503b; border-radius: 9px; background: #1c2219; }
.store-search > .icon { width: 19px; height: 19px; color: #a6b29a; }
.store-search input { min-width: 0; width: 100%; padding: 9px 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 14px; }
.store-search input::placeholder { color: #b3bdab; opacity: 1; }
.store-search:focus-within { border-color: var(--accent); outline: 2px solid #e8cc6938; }
.store-search button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 6px; background: #313c27; color: var(--text); flex-shrink: 0; }
.rook-store .header-actions { display: flex; align-items: center; gap: 9px; margin: 0; }
.rook-store .header-control { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; height: 44px; padding: 9px 11px; border: 0; border-radius: 9px; background: transparent; color: var(--text); font-size: 13px; font-weight: 600; position: relative; }
.rook-store .header-control:hover { background: #293322; }
.rook-store .header-control .icon { width: 21px; height: 21px; }
.rook-store .cart-button { background: #2a341f; }
.rook-store .cart-count, .rook-store .count-badge { position: absolute; inset: -3px -3px auto auto; width: 19px; height: 19px; padding: 0; display: grid; place-items: center; background: var(--accent); color: #1c2216; border: 2px solid var(--bg); border-radius: 50%; font-size: 10px; }
.rook-store .cart-count[data-empty] { display: none; }
.store-nav { border-top: 1px solid #252d20; }
.store-nav > div { display: flex; align-items: center; gap: 28px; min-height: 43px; }
.store-nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; font-size: 13px; color: #c9d0c1; white-space: nowrap; }
.store-nav a:first-child { color: var(--text); font-weight: 700; }
.store-nav a:hover { color: var(--accent); }
.store-nav .icon { width: 16px; height: 16px; }
.store-nav .nav-help { margin-left: auto; color: var(--accent); }
.mobile-bottom-nav { display: none; }

/* Compact first screen: the character and a real game offer share the stage. */
.rook-store .home-main { width: 100%; }
.rook-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 70px; align-items: center; padding-block: 34px 16px; }
.rook-store .hero-copy h1 { margin: 0 0 22px; color: var(--text); font-size: clamp(52px, 5vw, 72px); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; }
.hero-copy h1 span { color: var(--accent); }
.rook-store .hero-copy > p { max-width: 43ch; font-size: 17px; line-height: 1.8; margin: 0 0 30px; color: #bdc7b3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-help-link { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; margin-top: 18px; font-size: 12px; color: var(--muted); }
.hero-help-link .icon { width: 14px; height: 14px; }
.hero-help-link:hover { color: var(--accent); }
.rook-stage { position: relative; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; min-height: 470px; padding: 18px 22px 22px; margin: 0; border-radius: 24px; background: #252e1e; }
.rook-stage figcaption { position: absolute; top: 26px; left: 28px; display: flex; flex-direction: column; gap: 4px; z-index: 1; }
.rook-stage figcaption strong { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.rook-stage figcaption span { font-size: 11px; color: #bdc8b1; }
.rook-hero-art { display: block; width: 360px; height: 350px; max-width: 88%; object-fit: contain; object-position: right bottom; }
.hero-game { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 15px; border-radius: 12px; background: #eeefdf; color: #1d2617; }
.hero-game > img { width: 49px; height: 73px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }
.hero-game > span { display: flex; flex-direction: column; min-width: 0; gap: 4px; flex: 1; }
.hero-game strong { font-size: 14px; line-height: 1.45; }
.hero-game > span > span { font-size: 11px; color: #46513c; }
.hero-game > .icon { width: 19px; height: 19px; }
.hero-game .hero-game-price { color: #1d2617; font-size: 18px; font-weight: 800; }
.hero-game-price small { font-size: 10px; font-weight: 500; }
.hero-game:hover { background: #fbfbe9; }
.home-collections { padding-block: 24px 35px; }
.collection-heading, .rook-store .section-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 0 0 22px; }
.collection-heading h2 { font-size: 21px; margin: 0; }
.rook-store .section-head h2 { font-size: 29px; line-height: 1.25; margin: 0; }
.rook-store .section-head p { margin-top: 7px; font-size: 14px; }
.genre-links { display: flex; border-block: 1px solid var(--line); }
.genre-links a { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; min-height: 66px; font-size: 16px; font-weight: 600; }
.genre-links a + a { border-left: 1px solid var(--line); }
.genre-links .icon { width: 16px; height: 16px; color: var(--accent); }
.genre-links a:hover { background: #1e2719; color: var(--accent); }
.rook-store .home-games { padding-block: 14px 44px; }
.rook-store .game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; }
.rook-store .game-card { min-width: 0; }
.rook-store .game-art { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border: 0; border-radius: 12px; background: #22291e; }
.rook-store .game-art > a { display: block; width: 100%; height: 100%; }
.rook-store .game-art > a img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2 / 3; transition: transform 220ms var(--ease), filter 220ms var(--ease); }
.rook-store .game-card:hover .game-art > a img { transform: scale(1.025); filter: brightness(1.06); }
.rook-store .game-art::after { display: none; }
.rook-store .save-button { position: absolute; inset: 12px 12px auto auto; width: 40px; height: 40px; opacity: 1; transform: none; display: grid; place-items: center; background: #12170ee8; color: #ecf0e2; border: 1px solid #606d50; border-radius: 9px; }
.rook-store .save-button .icon { width: 19px; height: 19px; }
.rook-store .save-button:hover, .rook-store .save-button[aria-pressed=true] { background: #3d4826; color: var(--accent); border-color: var(--accent); }
.rook-store .cover-caption { position: static; padding: 13px 0 0; background: none; }
.rook-store .cover-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 3px 8px; font-size: 11px; line-height: 1.5; color: #b4bfa8; margin-bottom: 7px; }
.rook-store .cover-meta span:last-child { color: #d4dabf; }
.rook-store .cover-caption h3 { font-size: 16px; font-weight: 700; letter-spacing: -.015em; line-height: 1.4; min-height: 45px; margin: 0 0 5px; }
.rook-store .cover-caption h3 a:hover { color: var(--accent); }
.rook-store .card-region { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.4; color: var(--muted); margin: 0 0 9px; }
.card-region .icon { width: 13px; height: 13px; }
.rook-store .cover-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; }
.cover-price > div { display: flex; align-items: baseline; gap: 7px; }
.rook-store .cover-price strong { font-size: 21px; line-height: 1.3; font-weight: 800; letter-spacing: -.025em; font-variant-numeric: tabular-nums; color: var(--text); }
.rook-store .estimate { color: var(--muted); font-size: 11px; }
.check-price { font-size: 12px; color: var(--muted); }
.card-add { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 8px; border: 1px solid #526043; border-radius: 9px; background: #222c1b; color: var(--accent); }
.card-add:hover { background: var(--accent); border-color: var(--accent); color: #202818; }
.card-add .icon { width: 20px; height: 20px; }
.world-section { padding-block: 20px 44px; }
.world-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.world-feature { position: relative; min-height: 245px; overflow: hidden; border-radius: 14px; background: #252e1e; }
.world-feature > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.world-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 15%, #0b1009e8); }
.world-feature > span { position: absolute; inset: auto 24px 24px; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.world-feature strong { font-size: 27px; line-height: 1.2; }
.world-feature > span > span { display: flex; align-items: center; gap: 8px; color: #e8eddc; font-size: 13px; }
.world-feature .icon { width: 16px; height: 16px; }
.rook-store .rook-guide { display: flex; align-items: center; gap: 44px; min-height: 260px; margin: 18px auto 60px; padding: 28px 52px; border-radius: 18px; background: #20291a; }
.rook-guide-avatar { width: 180px; height: 180px; object-fit: contain; flex-shrink: 0; }
.rook-store .rook-guide h2 { font-size: 32px; line-height: 1.2; margin: 0 0 13px; }
.rook-store .rook-guide p { max-width: 60ch; margin: 0 0 14px; font-size: 15px; }

/* Functional shopping pages share clear controls and the same identity. */
.rook-store .page-intro { padding-top: 36px; margin-bottom: 32px; }
.rook-store .page-intro h1 { margin-top: 9px; font-size: 42px; line-height: 1.15; }
.rook-store .page-intro h1 > span { color: var(--accent); }
.rook-store .page-intro p { font-size: 15px; margin-top: 11px; }
.rook-store .breadcrumb { display: flex; flex-wrap: wrap; font-size: 12px; min-height: 28px; }
.rook-store .catalog-intro { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.catalog-rook { width: 154px; height: 154px; object-fit: contain; flex-shrink: 0; }
.rook-store .catalog-layout { display: grid; grid-template-columns: 245px minmax(0,1fr); gap: 30px; align-items: start; margin-bottom: 52px; }
.filter-disclosure { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: #171d14; }
.filter-disclosure > summary { display: none; }
.rook-store .filters { padding: 22px 20px; background: transparent; border-radius: 12px; }
.rook-store .filter-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.rook-store .filter-heading h2 { font-size: 17px; letter-spacing: -.015em; margin: 0; }
.rook-store .filter-heading a { display: inline-flex; align-items: center; min-height: 32px; font-size: 12px; color: var(--accent); }
.rook-store .field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 600; line-height: 1.5; }
.rook-store .field input, .rook-store .field select, .rook-store .field textarea { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #526046; border-radius: 8px; background: #20291a; color: var(--text); font-family: inherit; font-size: 14px; resize: vertical; }
.rook-store .field input::placeholder, .rook-store .field textarea::placeholder { color: #b2bea4; opacity: 1; }
.rook-store .field input:focus, .rook-store .field select:focus, .rook-store .field textarea:focus { border-color: var(--accent); }
.rook-store .filters > .button { width: 100%; font-size: 13px; min-height: 46px; padding-inline: 12px; }
.filter-rook-note { margin-top: 25px; border-top: 1px solid var(--line); padding-top: 22px; }
.filter-rook-note img { width: 92px; height: 92px; object-fit: contain; margin: 0 auto 13px; }
.filter-rook-note p { font-size: 12px; line-height: 1.8; }
.filter-rook-note a { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; color: var(--accent); font-size: 12px; }
.filter-rook-note .icon { width: 14px; height: 14px; }
.rook-store .results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 46px; margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.rook-store .results-toolbar label { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.rook-store .results-toolbar select { min-height: 44px; padding: 9px 12px; border: 1px solid #526046; border-radius: 8px; background: #20291a; color: var(--text); font-size: 13px; }
.rook-store .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px 22px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 22px; }
.active-filters a { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 6px 10px; border: 1px solid #596547; border-radius: 7px; color: #e1e8d3; font-size: 12px; overflow-wrap: anywhere; }
.active-filters .icon { width: 14px; height: 14px; }
.active-filters a:hover { border-color: var(--accent); }
.rook-store .pagination { display: flex; justify-content: center; gap: 9px; margin-top: 35px; }
.rook-store .pagination a { min-width: 44px; height: 44px; padding: 10px; border-radius: 9px; background: #232d1c; color: var(--text); font-size: 14px; }
.rook-store .pagination a[aria-current=page] { background: var(--accent); color: #1d2515; font-weight: 800; }
.rook-store .catalog-note { font-size: 13px; line-height: 1.8; margin-top: 27px; }
.rook-store .product-layout { grid-template-columns: minmax(0,1fr) 340px; gap: 36px; }
.rook-store .product-heading h1 { font-size: 38px; line-height: 1.15; }
.rook-store .product-tags { color: #c6d1b9; font-size: 12px; }
.rook-store .product-heading > p { font-size: 14px; }
.rook-store .product-about > p { font-size: 15px; line-height: 1.9; }
.rook-store .product-specs { gap: 18px; }
.rook-store .product-specs dt { font-size: 12px; }
.rook-store .product-specs dd { font-size: 14px; }
.rook-store .purchase-panel, .rook-store .checkout-panel, .rook-store .account-section, .rook-store .account-sidebar, .rook-store .activation-guide, .rook-store .order-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.rook-store .purchase-panel { position: sticky; top: 154px; padding: 24px; }
.rook-store .purchase-cover strong { font-size: 15px; }
.rook-store .purchase-cover small, .rook-store .purchase-cover > div > span { font-size: 12px; color: var(--muted); }
.rook-store .purchase-price strong { font-size: 36px; }
.rook-store .purchase-price > span, .rook-store .availability { font-size: 12px; }
.rook-store .purchase-panel > .button { font-size: 14px; }
.rook-store .purchase-notes p, .rook-store .purchase-notes > a { font-size: 12px; }
.rook-store .purchase-notes .icon { color: var(--accent); }
.rook-store .activation-guide p { font-size: 14px; }
.rook-store .activation-guide p > span { background: #364526; color: #f0dd99; }
.rook-store .activation-guide .text-link { font-size: 13px; }
.rook-store .shelf-section { margin-block: 44px; }
.rook-store .shelf-section .game-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.rook-store .shelf-section .game-card:nth-child(n+5) { display: none; }
.rook-store .cart-drawer { width: min(470px,100%); background: #191e17; color: var(--text); padding: 26px; border-left: 1px solid var(--line); }
.rook-store .cart-drawer::backdrop { background: #080c07b8; backdrop-filter: blur(2px); }
.rook-store .drawer-heading h2 { font-size: 22px; }
.rook-store .drawer-heading h2 > span { background: #364326; color: var(--accent); }
.rook-store .cart-item { gap: 14px; }
.rook-store .cart-item h3 { font-size: 14px; }
.rook-store .cart-item p { font-size: 12px; }
.rook-store .quantity-control button { min-width: 28px; min-height: 28px; }
.rook-store .cart-remove { width: 36px; height: 36px; }
.rook-store .drawer-bottom > p { font-size: 12px; }
.rook-store .drawer-bottom > .button { font-size: 14px; }
.rook-store .subtotal { font-size: 14px; }
.rook-store .subtotal strong { font-size: 24px; }
.rook-store .checkout-layout { grid-template-columns: minmax(0,1fr) 370px; gap: 52px; }
.rook-store .checkout-panel > .muted { font-size: 13px; }
.rook-store .checkout-panel form > .button { font-size: 14px; }
.rook-store .checkbox-field { font-size: 13px; line-height: 1.8; }
.rook-store .form-message { color: #ffd1aa; font-size: 13px; line-height: 1.8; }
.rook-store .form-message.success { color: #c1dca8; }
.rook-store .toast { padding: 14px 21px; border-radius: 10px; background: #e8d78d; color: #1a2313; font-size: 14px; }
.rook-store .empty-state { padding: 42px 22px; }
.rook-store .empty-state h2 { font-size: 27px; }
.rook-store .empty-state p { max-width: 40ch; font-size: 14px; }
.rook-store .rook-empty { display: block; width: 180px; height: 180px; object-fit: contain; margin: 0 auto 24px; }
.rook-store .cart-drawer .empty-state { padding: 22px 4px; }
.rook-store .cart-drawer .empty-state h2 { font-size: 24px; }
.rook-store .auth-layout { margin-block: 36px 54px; border: 1px solid var(--line); border-radius: 16px; }
.rook-store .auth-story::after { background: linear-gradient(0deg, #10170cec, #17220e33); }
.rook-store .auth-story h1 { font-size: 42px; }
.rook-store .auth-story p { color: #edf2df; font-size: 16px; }
.rook-store .auth-panel { background: var(--surface); }
.rook-store .auth-tabs button { font-size: 15px; min-height: 44px; }
.rook-store .auth-tabs button.selected { color: var(--accent); border-color: var(--accent); }
.rook-store .auth-panel h2 { font-size: 27px; }
.rook-store .auth-panel > p, .rook-store .auth-help { font-size: 14px; }
.rook-store .profile-banner { display: flex; align-items: center; gap: 22px; padding: 28px; background: #1f2819; border: 1px solid var(--line); border-radius: 14px; }
.rook-store .profile-banner .avatar { width: 68px; height: 68px; margin: 0; background: #394629; border: 1px solid #738352; color: var(--accent); font-size: 25px; flex-shrink: 0; }
.profile-identity { flex: 1; min-width: 0; }
.profile-identity h2 { margin: 0 0 5px; font-size: 23px; }
.profile-identity p { font-size: 14px; overflow-wrap: anywhere; }
.profile-identity > span { color: var(--accent); font-size: 12px; }
.profile-tabs { display: flex; gap: 30px; margin-block: 28px; border-bottom: 1px solid var(--line); }
.profile-tabs a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-bottom: 12px; font-size: 14px; }
.profile-tabs a:first-child { border-bottom: 2px solid var(--accent); color: var(--accent); }
.profile-tabs .icon { width: 15px; height: 15px; }
.profile-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: 28px; margin-bottom: 28px; }
.profile-layout .account-section { margin-bottom: 0; }
.profile-saved { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.profile-saved h2 { font-size: 24px; }
.profile-saved p { font-size: 14px; }
.profile-saved .button { width: 100%; }
.profile-orders { margin-bottom: 48px; }
.rook-store .order-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 18px; padding-block: 18px; font-size: 14px; }
.order-row strong { overflow-wrap: anywhere; }
.rook-store .help-intro { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.rook-store .help-rook { width: 210px; height: 210px; object-fit: contain; flex-shrink: 0; }
.rook-store .help-content { background: transparent; }
.rook-store .help-nav a { font-size: 13px; min-height: 44px; }
.rook-store .help-group h2 { font-size: 25px; }
.rook-store .help-group summary { font-size: 15px; min-height: 52px; }
.rook-store .help-group p { font-size: 14px; line-height: 1.9; }
.rook-store .contact-panel { background: var(--surface); border-radius: 12px; }
.rook-store .giftcards-visual, .rook-store .steam-story, .rook-store .steam-panel { background: #20291a; }
.rook-store .giftcards-visual h2, .rook-store .steam-story h2 { font-size: 32px; }

.rook-store .site-footer { background: #131910; border: 0; margin: 0; }
.rook-store .footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 42px; padding-block: 48px 36px; border-top: 1px solid #405032; }
.rook-store .footer-brand { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.rook-store .footer-brand .brand { font-size: 22px; }
.rook-store .footer-brand p { font-size: 13px; line-height: 1.9; margin-block: 20px 14px; }
.rook-store .footer-top h2 { margin: 4px 0 18px; font-size: 14px; font-weight: 700; color: #e0e6d4; letter-spacing: -.01em; }
.rook-store .footer-top > div > a:not(.brand) { display: flex; align-items: center; min-height: 32px; font-size: 13px; margin-bottom: 7px; color: var(--muted); }
.rook-store .footer-top > div > a:hover { color: var(--accent); }
.rook-store .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

@media (max-width: 1199px) {
  .rook-store .header-main { grid-template-columns: 210px 114px minmax(130px,1fr) auto; gap: 14px; }
  .rook-store .header-actions { gap: 4px; }
  .rook-store .header-control { padding-inline: 8px; }
  .rook-store .header-control .control-label { display: none; }
  .rook-hero { gap: 40px; }
  .rook-stage { min-height: 445px; padding-inline: 18px; }
  .rook-stage figcaption { left: 22px; }
  .rook-hero-art { width: 330px; height: 325px; max-width: 90%; }
  .rook-store .hero-copy h1 { font-size: 58px; }
  .rook-store .game-grid { gap: 28px 20px; }
  .rook-store .catalog-layout { grid-template-columns: 220px minmax(0,1fr); gap: 24px; }
  .rook-store .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 18px; }
  .rook-store .cover-caption h3 { font-size: 14px; min-height: 42px; }
  .rook-store .cover-price strong { font-size: 20px; }
  .rook-store .cover-meta { font-size: 10px; }
}
@media (max-width: 899px) {
  .rook-store .container { width: calc(100% - 40px); }
  .rook-store .header-main { grid-template-columns: 210px 110px minmax(100px,1fr) auto; gap: 10px; }
  .rook-store .brand { font-size: 20px; gap: 7px; }
  .rook-store .brand-rook { width: 44px; height: 52px; }
  .rook-store .header-saved { display: none; }
  .catalog-trigger { padding-inline: 10px; gap: 6px; font-size: 13px; }
  .rook-store .header-control { min-width: 40px; padding-inline: 8px; }
  .store-search { padding-left: 11px; gap: 8px; }
  .store-search input { font-size: 12px; }
  .store-nav > div { gap: 22px; }
  .store-nav .nav-help { display: none; }
  .rook-hero { gap: 24px; padding-top: 26px; }
  .rook-store .hero-copy h1 { font-size: 49px; }
  .rook-store .hero-copy > p { font-size: 15px; margin-bottom: 23px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { font-size: 13px; padding-inline: 14px; }
  .rook-stage { min-height: 415px; padding-inline: 14px; }
  .rook-stage figcaption { left: 18px; top: 20px; }
  .rook-stage figcaption strong { font-size: 20px; }
  .rook-stage figcaption span { font-size: 10px; }
  .rook-hero-art { width: 285px; height: 305px; max-width: 92%; }
  .hero-game { padding: 10px; gap: 10px; }
  .hero-game strong { font-size: 12px; }
  .hero-game > img { width: 40px; height: 60px; }
  .hero-game .hero-game-price { font-size: 17px; }
  .hero-help-link { font-size: 11px; }
  .collection-heading h2 { font-size: 19px; }
  .genre-links a { padding-inline: 15px; font-size: 14px; }
  .rook-store .game-grid, .rook-store .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rook-store .catalog-layout { grid-template-columns: 210px minmax(0,1fr); gap: 22px; }
  .rook-store .product-layout { grid-template-columns: minmax(0,1fr) 290px; gap: 24px; }
  .rook-store .purchase-panel { padding: 20px; }
  .rook-store .shelf-section .game-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .rook-store .shelf-section .game-card:nth-child(4) { display: none; }
  .rook-store .rook-guide { gap: 28px; padding-inline: 32px; }
  .rook-guide-avatar { width: 150px; height: 150px; }
  .rook-store .rook-guide h2 { font-size: 28px; }
  .rook-store .footer-top { gap: 28px; grid-template-columns: 1.4fr 1fr 1fr; }
  .rook-store .footer-top > div:last-child { grid-column: 2 / -1; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 170px; }
  body.rook-store { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .rook-store .container { width: calc(100% - 32px); }
  .rook-store .header-main { grid-template-columns: minmax(0,1fr) auto; gap: 10px 12px; height: auto; min-height: 124px; padding-block: 10px 12px; }
  .rook-store .header-main .brand { grid-column: 1; grid-row: 1; }
  .rook-store .header-actions { grid-column: 2; grid-row: 1; }
  .rook-store .header-control { min-width: 44px; }
  .catalog-menu { grid-row: 2; grid-column: 1; width: 114px; }
  .catalog-trigger { min-height: 42px; font-size: 13px; padding: 9px 11px; gap: 7px; }
  .store-search { grid-column: 1 / -1; grid-row: 2; margin-left: 126px; min-height: 42px; }
  .store-search input { font-size: 13px; }
  .store-search > .icon { display: none; }
  .store-search button { width: 30px; height: 30px; }
  .mega-menu { top: 124px; max-height: calc(100dvh - 190px); overflow: auto; }
  .mega-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; padding-block: 26px; }
  .mega-inner h2 { font-size: 15px; }
  .mega-inner a { font-size: 13px; min-height: 32px; }
  .store-nav > div { gap: 24px; min-height: 39px; overflow-x: auto; scrollbar-width: none; }
  .store-nav a { min-height: 38px; font-size: 12px; }
  .store-nav > div::-webkit-scrollbar { display: none; }
  .mobile-bottom-nav { position: fixed; inset: auto 0 0; z-index: 45; display: grid; grid-template-columns: repeat(4,1fr); padding: 7px 10px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid #415334; background: #171f12; }
  .mobile-bottom-nav > a, .mobile-bottom-nav > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 48px; position: relative; background: transparent; border: 0; color: #bcc8ae; font-size: 10px; font-weight: 600; }
  .mobile-bottom-nav .icon { width: 21px; height: 21px; }
  .mobile-bottom-nav > a[aria-current=page] { color: var(--accent); }
  .mobile-cart-count { position: absolute; left: calc(50% + 7px); top: 0; display: grid; place-items: center; width: 16px; height: 16px; background: var(--accent); border-radius: 50%; color: #1b2512; font-size: 9px; }
  .rook-hero { grid-template-columns: 1fr; gap: 25px; padding-block: 28px 14px; }
  .rook-store .hero-copy h1 { font-size: clamp(42px, 9vw, 60px); margin-bottom: 16px; }
  .rook-store .hero-copy > p { max-width: 45ch; font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
  .hero-actions .button { min-height: 46px; padding-inline: 18px; font-size: 13px; }
  .hero-help-link { margin-top: 9px; min-height: 36px; font-size: 12px; }
  .rook-stage { min-height: 390px; padding: 16px; }
  .rook-stage figcaption { left: 22px; top: 24px; }
  .rook-stage figcaption strong { font-size: 25px; }
  .rook-stage figcaption span { font-size: 11px; }
  .rook-hero-art { width: 280px; height: 280px; max-width: 85%; margin-right: 6px; }
  .hero-game { padding: 10px 13px; }
  .hero-game strong { font-size: 13px; }
  .hero-game > img { width: 44px; height: 66px; }
  .hero-game .hero-game-price { font-size: 18px; }
  .home-collections { padding-block: 20px 27px; }
  .collection-heading { gap: 12px; align-items: flex-start; margin-bottom: 16px; }
  .collection-heading h2 { font-size: 20px; }
  .collection-heading > .text-link { font-size: 12px; flex-shrink: 0; }
  .genre-links { overflow-x: auto; scrollbar-width: none; }
  .genre-links a { flex: 0 0 auto; min-width: 118px; padding: 14px 16px; font-size: 14px; min-height: 56px; }
  .rook-store .section-head { gap: 14px; margin-bottom: 21px; }
  .rook-store .section-head h2 { font-size: 25px; }
  .rook-store .section-head p { font-size: 13px; }
  .rook-store .section-head > .text-link { font-size: 12px; flex-shrink: 0; }
  .rook-store .home-games { padding-block: 6px 30px; }
  .rook-store .game-grid, .rook-store .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 14px; }
  .rook-store .game-art { border-radius: 9px; }
  .rook-store .save-button { inset: 9px 9px auto auto; width: 34px; height: 34px; border-radius: 8px; }
  .rook-store .save-button .icon { width: 17px; height: 17px; }
  .rook-store .cover-caption { padding-top: 11px; }
  .rook-store .cover-caption h3 { font-size: 13px; min-height: 38px; margin-bottom: 6px; line-height: 1.45; }
  .rook-store .cover-meta { font-size: 10px; margin-bottom: 6px; }
  .rook-store .card-region { font-size: 11px; margin-bottom: 8px; }
  .rook-store .cover-price { gap: 5px; }
  .rook-store .cover-price strong { font-size: 19px; }
  .cover-price > div { gap: 5px; flex-wrap: wrap; }
  .rook-store .estimate { font-size: 10px; }
  .card-add { min-width: 36px; min-height: 36px; padding: 7px; }
  .card-add .icon { width: 17px; height: 17px; }
  .world-section { padding-block: 15px 32px; }
  .world-grid { grid-template-columns: 1fr; gap: 16px; }
  .world-feature { min-height: 220px; }
  .world-feature strong { font-size: 25px; }
  .rook-store .rook-guide { padding: 23px 20px; gap: 18px; align-items: center; min-height: 220px; margin-block: 12px 38px; border-radius: 14px; }
  .rook-guide-avatar { width: 95px; height: 120px; }
  .rook-store .rook-guide h2 { font-size: 23px; margin-bottom: 11px; }
  .rook-store .rook-guide p { font-size: 13px; line-height: 1.75; margin-bottom: 10px; }
  .rook-store .rook-guide .text-link { font-size: 12px; }
  .rook-store .page-intro { padding-top: 26px; margin-bottom: 26px; }
  .rook-store .page-intro h1 { font-size: 32px; }
  .rook-store .page-intro p { font-size: 14px; line-height: 1.8; }
  .rook-store .catalog-intro { gap: 18px; }
  .catalog-rook { width: 98px; height: 124px; }
  .rook-store .catalog-layout { display: flex; flex-direction: column; gap: 22px; }
  .filter-disclosure { width: 100%; }
  .filter-disclosure > summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; min-height: 54px; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
  .filter-disclosure > summary::-webkit-details-marker { display: none; }
  .filter-disclosure > summary > span { color: var(--muted); font-size: 11px; font-weight: 400; margin-left: auto; }
  .filter-disclosure > summary .icon { width: 16px; height: 16px; }
  .filter-disclosure[open] > summary .icon { transform: rotate(180deg); }
  .rook-store .filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px; padding: 10px 18px 18px; }
  .rook-store .filter-heading { grid-column: 1 / -1; margin-bottom: 16px; }
  .rook-store .filter-heading h2 { font-size: 15px; }
  .rook-store .filters .field { font-size: 12px; margin-bottom: 14px; }
  .rook-store .filters .field input, .rook-store .filters .field select { font-size: 12px; padding-inline: 9px; }
  .rook-store .filters > .button { align-self: end; margin-bottom: 14px; }
  .filter-rook-note { grid-column: 1 / -1; margin-top: 8px; display: grid; grid-template-columns: 65px 1fr; gap: 4px 13px; padding-top: 15px; }
  .filter-rook-note img { grid-row: 1 / 3; width: 65px; height: 75px; margin: 0; }
  .filter-rook-note p { font-size: 11px; }
  .filter-rook-note a { font-size: 11px; min-height: 32px; }
  .rook-store .catalog-results { width: 100%; }
  .rook-store .results-toolbar { font-size: 12px; min-height: 44px; margin-bottom: 20px; }
  .rook-store .results-toolbar select { font-size: 12px; max-width: 150px; }
  .rook-store .results-toolbar label { gap: 7px; }
  .rook-store .active-filters { margin-top: -4px; gap: 7px; }
  .rook-store .active-filters a { font-size: 11px; }
  .rook-store .product-layout { display: flex; flex-direction: column; gap: 26px; }
  .rook-store .product-main, .rook-store .purchase-panel { width: 100%; }
  .rook-store .purchase-panel { position: static; padding: 23px; }
  .rook-store .product-heading h1 { font-size: 31px; }
  .rook-store .product-specs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rook-store .shelf-section .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rook-store .shelf-section .game-card:nth-child(4) { display: block; }
  .rook-store .checkout-layout { display: flex; flex-direction: column; gap: 30px; }
  .rook-store .checkout-layout > section, .rook-store .checkout-panel { width: 100%; }
  .rook-store .field-row { grid-template-columns: 1fr; gap: 0; }
  .rook-store .auth-layout { display: flex; flex-direction: column; margin-block: 26px 40px; }
  .rook-store .auth-story { min-height: 210px; max-height: 210px; }
  .rook-store .auth-story > div { padding: 28px; }
  .rook-store .auth-story .brand, .rook-store .auth-story p { display: none; }
  .rook-store .auth-story h1 { font-size: 32px; }
  .rook-store .auth-panel { padding: 28px 22px; }
  .rook-store .auth-panel h2 { font-size: 25px; }
  .rook-store .profile-banner { flex-wrap: wrap; gap: 16px; padding: 23px; }
  .rook-store .profile-banner .avatar { width: 52px; height: 52px; font-size: 20px; }
  .profile-identity { flex-basis: calc(100% - 68px); }
  .profile-identity h2 { font-size: 19px; }
  .profile-tabs { gap: 20px; }
  .profile-tabs a { font-size: 12px; }
  .profile-layout { grid-template-columns: 1fr; gap: 20px; }
  .rook-store .order-row { grid-template-columns: minmax(0,1fr) auto; gap: 10px; font-size: 12px; }
  .rook-store .order-row strong { grid-column: 1 / -1; }
  .rook-store .help-intro { gap: 18px; }
  .rook-store .help-rook { width: 118px; height: 145px; }
  .rook-store .help-group h2 { font-size: 24px; }
  .rook-store .help-group summary { font-size: 14px; }
  .rook-store .footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 22px; padding-block: 35px; }
  .rook-store .footer-brand { grid-column: 1 / -1; }
  .rook-store .footer-top > div:last-child { grid-column: auto; }
  .rook-store .footer-bottom { flex-direction: column; justify-content: center; gap: 8px; text-align: center; padding-block: 20px; font-size: 11px; }
  .rook-store .cart-drawer { padding: 24px 21px; }
  .rook-store .toast { bottom: calc(85px + env(safe-area-inset-bottom)); font-size: 13px; }
}
@media (max-width: 359px) {
  .rook-store .brand { font-size: 18px; gap: 5px; }
  .rook-store .brand-rook { width: 39px; height: 48px; }
  .rook-store .brand-word > span { font-size: 9px; }
  .rook-store .hero-copy h1 { font-size: 42px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding-inline: 13px; font-size: 12px; }
  .rook-stage figcaption { left: 18px; }
  .rook-stage figcaption span { font-size: 10px; }
  .rook-hero-art { max-width: 88%; }
  .hero-game { gap: 9px; padding-inline: 10px; }
  .hero-game strong { font-size: 12px; }
  .hero-game > .icon { width: 15px; }
  .rook-store .cover-price strong { font-size: 17px; }
  .rook-store .estimate { font-size: 9px; }
  .card-add { min-width: 32px; min-height: 34px; }
  .rook-store .cover-meta { font-size: 9px; }
  .rook-store .cover-caption h3 { font-size: 12px; min-height: 36px; }
  .rook-store .rook-guide { gap: 12px; padding-inline: 17px; }
  .rook-guide-avatar { width: 76px; height: 100px; }
  .rook-store .rook-guide h2 { font-size: 22px; }
  .catalog-rook { width: 82px; height: 108px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .rook-store .game-card:hover .game-art > a img { transform: none; }
}
