/* TechBites game page (new UI, "B · Tabs", PlayStation-Store style). Everything is scoped under .tgp.
   Markup: assets/game-page-view.js. Behaviour: assets/game-page.js. */
@property --tgp-sweep { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.tgp {
  --bg: #0B0B0D; --s1: #151518; --s2: #1A1A1E; --s3: #232329; --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --brand: #F39125; --brand2: #FFAB40; --green: #19E68C; --cyan: #22D3EE; --steam: #66C0F4; --red: #FF4D5E; --gold: #FFC857; --violet: #C084FC;
  --tx: #F4F4F5; --tx2: #B9B9C2; --tx3: #8A8A94;
  --ar: 'Cairo', sans-serif; --lat: 'Outfit', 'Cairo', sans-serif; --mono: 'JetBrains Mono', 'SF Mono', monospace;
  --spring: cubic-bezier(.34,1.56,.64,1); --ease: cubic-bezier(.22,1,.36,1);
  --pad: max(16px, calc((100vw - 1240px) / 2));
  color: var(--tx); font-family: var(--ar); line-height: 1.6; text-align: right;
}
.tgp *, .tgp *::before, .tgp *::after { box-sizing: border-box; }
.tgp a { color: inherit; text-decoration: none; }
.tgp button { font: inherit; color: inherit; }
.tgp h1, .tgp h2, .tgp h3, .tgp p, .tgp ol, .tgp dl, .tgp dd { margin: 0; }
.tgp img { display: block; max-width: 100%; }
.tgp .ico { width: 1em; height: 1em; flex: none; }
.tgp .num { font-family: var(--mono); font-weight: 800; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.tgp .lat { font-family: var(--lat); direction: ltr; unicode-bidi: isolate; }
.tgp :focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 10px; }

/* ---------- hero ---------- */
.tgp-hero { position: relative; min-height: min(640px, 80vh); display: flex; align-items: flex-end; padding: 104px var(--pad) 40px; overflow: hidden; isolation: isolate; }
.tgp-bg { position: absolute; inset: 0; z-index: -2; background: var(--s1); }
.tgp-bg img, .tgp-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.tgp-bg img { animation: tgp-kb 22s ease-out both; }
.tgp-bg video { opacity: 0; transition: opacity 1.2s var(--ease); }
.tgp-bg video.on { opacity: 1; }
@keyframes tgp-kb { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.tgp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(to left, rgba(11,11,13,.96) 0%, rgba(11,11,13,.82) 30%, rgba(11,11,13,.25) 62%, rgba(11,11,13,.1) 100%),
  linear-gradient(to top, var(--bg) 0%, rgba(11,11,13,0) 35%), linear-gradient(to bottom, rgba(11,11,13,.6), transparent 22%); }
.tgp-in { width: min(520px, 100%); display: grid; gap: 16px; }
.tgp-in > * { animation: tgp-rise .7s var(--ease) both; }
.tgp-in > *:nth-child(2) { animation-delay: .06s; } .tgp-in > *:nth-child(3) { animation-delay: .12s; } .tgp-in > *:nth-child(4) { animation-delay: .18s; }
@keyframes tgp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tgp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--tx3); }
.tgp-crumbs a:hover { color: var(--tx); }
.tgp-crumbs .ico { width: 11px; height: 11px; opacity: .6; transform: scaleX(-1); }
.tgp-title { font-family: var(--lat); font-weight: 900; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -.02em; text-shadow: 0 6px 30px rgba(0,0,0,.6); overflow-wrap: anywhere; }
.tgp-title .tgp-ttl { display: block; text-align: right; }
.tgp-logo { max-width: min(420px, 100%); max-height: 150px; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 8px 30px rgba(0,0,0,.7)); margin-inline-start: 0; }
.tgp-title.has-logo .tgp-ttl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tgp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13.5px; font-weight: 700; color: var(--tx2); }
.tgp-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.tgp-meta .ico { width: 15px; height: 15px; }
.tgp-meta .stm { color: var(--steam); }
.tgp-meta .star { color: var(--brand); } .tgp-meta .star .cnt { color: var(--tx2); }
.tgp-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--tx3); opacity: .6; }

/* ---------- buy box: tabs + tiles ---------- */
.tgp-buy { display: grid; gap: 16px; }
.tgp-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(11,11,13,.6); backdrop-filter: blur(14px); border: 1px solid var(--line2); overflow-x: auto; scrollbar-width: none; }
.tgp-tabs::-webkit-scrollbar { display: none; }
.tgp-tab { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: none; cursor: pointer; font-weight: 800; font-size: 13.5px; color: var(--tx2); white-space: nowrap; transition: background .2s, color .2s, box-shadow .25s; }
.tgp-tab .ico { width: 15px; height: 15px; }
.tgp-tab:hover { color: var(--tx); }
.tgp-tab[aria-selected="true"] { background: var(--brand); color: #0b0b0d; box-shadow: 0 8px 22px -8px rgba(243,145,37,.7); }
.tgp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.tgp-tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 8px; align-items: center; min-height: 56px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(11,11,13,.55); backdrop-filter: blur(14px); cursor: pointer; text-align: right; transition: border-color .2s, background .2s, box-shadow .25s; }
.tgp-tile:hover { border-color: rgba(255,255,255,.3); }
.tgp-tile .rp { grid-column: 2; }
.tgp-tile[aria-checked="true"] { border-color: var(--brand); background: rgba(243,145,37,.12); box-shadow: 0 8px 24px -10px rgba(243,145,37,.6); }
.tgp-tile[aria-disabled="true"] { opacity: .55; }
.tgp-tile .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--tx3); display: grid; place-items: center; transition: border-color .2s; }
.tgp-tile .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); transform: scale(0); transition: transform .25s var(--spring); }
.tgp-tile[aria-checked="true"] .dot { border-color: var(--brand); }
.tgp-tile[aria-checked="true"] .dot::after { transform: scale(1); }
.tgp-tile .rl { font-weight: 800; font-size: 14px; line-height: 1.3; }
.tgp-tile .rl.lat { text-align: right; }
.tgp-tile .rl small { display: block; font: 700 11.5px var(--ar); color: var(--red); }
.tgp .rp { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.tgp .rp s { font-size: 11.5px; color: var(--tx3); font-weight: 700; }
.tgp .mini { font: 800 11px var(--mono); color: #04190f; background: var(--green); padding: 0 6px; border-radius: 6px; direction: ltr; }
.tgp-one { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14.5px; color: var(--tx2); }
.tgp-one .ico { width: 16px; height: 16px; color: var(--green); }

.tgp-price { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tgp-price .pct { font: 800 15px var(--mono); color: #0b0b0d; background: var(--green); padding: 4px 10px; border-radius: 10px; direction: ltr; box-shadow: 0 6px 20px -6px rgba(25,230,140,.6); }
.tgp-price .now { font: 800 clamp(34px, 3.4vw, 42px)/1 var(--mono); letter-spacing: -.03em; direction: ltr; unicode-bidi: isolate; }
.tgp-price .cur { font-size: 15px; font-weight: 800; color: var(--tx2); }
.tgp-price .old { font: 700 15px var(--mono); color: var(--tx3); text-decoration: line-through; direction: ltr; unicode-bidi: isolate; }
.tgp-price .per { font-size: 13px; font-weight: 800; color: var(--tx3); }
.tgp-ends { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; color: var(--green); margin-top: 6px; }
.tgp-ends .ico { width: 14px; height: 14px; }

.tgp-buyrow { display: flex; gap: 10px; align-items: center; }
.tgp-btn { position: relative; flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; font: 900 17px var(--ar); background: linear-gradient(180deg, #FFA43D, var(--brand)); color: #0b0b0d !important; box-shadow: 0 14px 34px -10px rgba(243,145,37,.75), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .25s var(--spring), box-shadow .25s; overflow: hidden; }
.tgp-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(120%); animation: tgp-shine 1.1s .9s var(--ease) both; pointer-events: none; }
.tgp-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(243,145,37,.9), inset 0 1px 0 rgba(255,255,255,.35); }
.tgp-btn:hover::after { animation: tgp-shine .9s var(--ease); }
.tgp-btn:active { transform: scale(.97); }
.tgp-btn .ico { width: 20px; height: 20px; position: relative; z-index: 1; } .tgp-btn span { position: relative; z-index: 1; }
.tgp-btn.done { background: linear-gradient(180deg, #4DF0A8, var(--green)); box-shadow: 0 14px 34px -10px rgba(25,230,140,.6); }
.tgp-btn[disabled] { background: var(--s3); color: var(--tx3) !important; box-shadow: none; cursor: not-allowed; }
.tgp-btn[disabled]::after { display: none; }
@keyframes tgp-shine { from { transform: translateX(120%); } to { transform: translateX(-120%); } }
.tgp-wish { display: inline-grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; border: 1px solid var(--line2); background: rgba(11,11,13,.5); backdrop-filter: blur(10px); cursor: pointer; color: var(--tx); transition: border-color .2s, color .2s, transform .25s var(--spring); }
.tgp-wish:hover { border-color: rgba(255,77,94,.6); color: var(--red); transform: scale(1.06); }
.tgp-wish[aria-pressed="true"] { color: var(--red); border-color: rgba(255,77,94,.6); background: rgba(255,77,94,.12); }
.tgp-wish[aria-pressed="true"] svg { fill: currentColor; animation: tgp-pop .4s var(--spring); }
.tgp-wish .ico { width: 22px; height: 22px; }
@keyframes tgp-pop { 0% { transform: scale(.5); } 100% { transform: scale(1); } }

.tgp-note { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: 14px; background: rgba(102,192,244,.09); border: 1px solid rgba(102,192,244,.28); font-size: 13.5px; font-weight: 700; color: #d6ecfb; line-height: 1.6; backdrop-filter: blur(10px); }
.tgp-note .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--steam); }
.tgp-note-account, .tgp-note-key { background: rgba(34,211,238,.08); border-color: rgba(34,211,238,.25); color: #d4f6fb; }
.tgp-note-account .ico, .tgp-note-key .ico { color: var(--cyan); }
.tgp-note-rent { background: rgba(192,132,252,.09); border-color: rgba(192,132,252,.3); color: #efe3fd; } .tgp-note-rent .ico { color: var(--violet); }
.tgp-note-plus { background: rgba(255,200,87,.08); border-color: rgba(255,200,87,.3); color: #fdf0d2; } .tgp-note-plus .ico { color: var(--gold); }
.tgp-pays { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; font-weight: 700; color: var(--tx3); }
.tgp-pays b { color: var(--tx2); font-weight: 800; padding: 1px 9px; border-radius: 8px; border: 1px solid var(--line2); background: rgba(11,11,13,.4); }

.tgp-vctl { position: absolute; left: var(--pad); bottom: 40px; display: flex; gap: 8px; }
.tgp-vctl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(11,11,13,.55); backdrop-filter: blur(10px); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.tgp-vctl button:hover { background: rgba(255,255,255,.14); }
.tgp-vctl .ico { width: 18px; height: 18px; }

/* ---------- sections ---------- */
.tgp-sec { padding: 0 var(--pad); margin-top: 44px; }
.tgp-h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 20px; font-weight: 900; margin-bottom: 14px; }
.tgp-h2 small { font-size: 13px; color: var(--tx3); font-weight: 700; }
.tgp-shead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tgp-shead .tgp-h2 { margin-bottom: 0; }
.tgp-snav { display: flex; gap: 8px; }
.tgp-snav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: var(--s1); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
.tgp-snav button:hover:not([disabled]) { background: var(--brand); border-color: var(--brand); color: #0b0b0d; }
.tgp-snav button[disabled] { opacity: .35; cursor: default; }
.tgp-snav .ico { width: 18px; height: 18px; }
.tgp-snav [data-sn="1"] .ico { transform: scaleX(-1); }
.tgp-snav[hidden] { display: none; }
@media (hover: none), (pointer: coarse) { .tgp-snav { display: none; } }
.tgp-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px var(--pad) 10px; margin: 0 calc(-1 * var(--pad)); scroll-padding: 0 var(--pad); }
.tgp-strip::-webkit-scrollbar { display: none; }
.tgp-tile-m { position: relative; flex: none; width: clamp(240px, 26vw, 340px); aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; border: 0; padding: 0; background: var(--s2); cursor: pointer; scroll-snap-align: start; transition: transform .35s var(--ease), box-shadow .35s; }
.tgp-tile-m img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tgp-tile-m::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .3s; }
.tgp-tile-m:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -16px rgba(243,145,37,.55); }
.tgp-tile-m:hover::after { box-shadow: inset 0 0 0 2px var(--brand); }
.tgp-tile-m:hover img { transform: scale(1.06); }
.tgp-tile-m .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.1)); }
.tgp-tile-m .play span { width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: #000; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(243,145,37,.25); transition: transform .3s var(--spring); }
.tgp-tile-m:hover .play span { transform: scale(1.1); }
.tgp-tile-m .play .ico { width: 20px; height: 20px; margin-inline-start: -3px; transform: scaleX(-1); }
.tgp-tile-m .lbl { position: absolute; bottom: 10px; right: 12px; font-size: 13px; font-weight: 800; text-shadow: 0 2px 8px #000; }

.tgp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.tgp-panel { padding: 22px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); }
.tgp-steps { list-style: none; padding: 0; display: grid; counter-reset: tgps; }
.tgp-steps li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding-bottom: 16px; }
.tgp-steps li:last-child { padding-bottom: 0; }
.tgp-steps li::before { counter-increment: tgps; content: counter(tgps); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 800 14px var(--mono); background: rgba(243,145,37,.12); border: 1px solid rgba(243,145,37,.35); color: var(--brand); }
.tgp-steps li:not(:last-child)::after { content: ""; position: absolute; right: 17.5px; top: 40px; bottom: 2px; width: 1px; background: linear-gradient(rgba(243,145,37,.35), transparent); }
.tgp-steps b { display: block; font-size: 15px; font-weight: 800; line-height: 1.45; padding-top: 5px; }
.tgp-steps span { font-size: 13px; color: var(--tx3); font-weight: 600; }
.tgp-help { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 800; color: #25D366 !important; }
.tgp-help .ico { width: 18px; height: 18px; } .tgp-help:hover { text-decoration: underline; }
.tgp-genres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.tgp-gtag { font-size: 13.5px; font-weight: 800; padding: 5px 14px; border-radius: 999px; color: var(--brand2); background: rgba(243,145,37,.1); border: 1px solid rgba(243,145,37,.3); }
.tgp-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.tgp-kv div { padding: 11px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.tgp-kv dt { color: var(--tx3); font-weight: 700; font-size: 12.5px; }
.tgp-kv dd { font-weight: 800; font-size: 14.5px; overflow-wrap: anywhere; }
.tgp-kv dd.lat, .tgp-kv dd.num { text-align: right; }
.tgp-kv a { color: var(--brand) !important; display: inline-flex; gap: 6px; align-items: center; } .tgp-kv a:hover { text-decoration: underline; }
.tgp-kv a .ico { width: 13px; height: 13px; }

.tgp-rv { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.tgp-rv-sum { padding: 20px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); text-align: center; }
.tgp-rv-sum .big { font: 800 48px/1 var(--mono); }
.tgp .stars { color: var(--brand); letter-spacing: 2px; direction: ltr; } .tgp .stars .off { opacity: .25; }
.tgp-rv-sum .stars { font-size: 18px; letter-spacing: 3px; margin: 6px 0 2px; }
.tgp-rv-sum small { color: var(--tx3); font-weight: 700; font-size: 13px; }
.tgp-rv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.tgp-rev { padding: 16px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); }
.tgp-rev .who { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; }
.tgp-rev .who img, .tgp-rev .av0 { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.tgp-rev .av0 { display: grid; place-items: center; background: rgba(243,145,37,.15); color: var(--brand); font-weight: 900; }
.tgp-rev .nm { flex: 1; min-width: 0; line-height: 1.3; } .tgp-rev .nm small { display: block; font-size: 12px; color: var(--tx3); font-weight: 700; }
.tgp-rev .stars { font-size: 13px; }
.tgp-rev p { color: var(--tx2); font-size: 14.5px; margin-top: 10px; }
.tgp-rv-empty { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 18px; background: var(--s1); border: 1px dashed var(--line2); color: var(--tx3); font-weight: 700; font-size: 14px; }
.tgp-rv-empty .ico { width: 22px; height: 22px; }

.tgp-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tgp-rel { display: grid; gap: 6px; padding-bottom: 10px; border-radius: 16px; overflow: hidden; background: var(--s1); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.tgp-rel:hover { transform: translateY(-3px); border-color: rgba(243,145,37,.5); }
.tgp-rel img { width: 100%; aspect-ratio: 460/215; object-fit: cover; }
.tgp-rel span { padding: 0 12px; font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.tgp-rel b { padding: 0 12px; font-size: 15px; } .tgp-rel b small { font: 700 12px var(--ar); color: var(--tx3); }

/* ---------- lightbox ---------- */
.tgp-lb { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(5,5,7,.92); backdrop-filter: blur(16px); animation: tgp-fade .25s var(--ease); }
.tgp-lb[hidden] { display: none; }
@keyframes tgp-fade { from { opacity: 0; } }
.tgp-lb .stage { position: relative; width: min(1200px, 100%); aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(0,0,0,.7); }
.tgp-lb .stage img, .tgp-lb .stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tgp-lb .x, .tgp-lb .nv { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(21,21,24,.8); display: grid; place-items: center; cursor: pointer; }
.tgp-lb .x { top: 18px; left: 18px; } .tgp-lb .nv.p { right: 18px; top: 50%; transform: translateY(-50%); } .tgp-lb .nv.n { left: 18px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.tgp-lb .ico { width: 20px; height: 20px; }
.tgp-lb .cnt { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font: 800 13px var(--mono); color: var(--tx2); direction: ltr; }

/* ---------- phone buy bar ---------- */
.tgp-mbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: none; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(15,15,18,.95); backdrop-filter: blur(18px); border-top: 1px solid var(--line2); transform: translateY(110%); transition: transform .35s var(--ease); }
.tgp-mbar.show { transform: none; }
.tgp-mbar .t { flex: 1; min-width: 0; line-height: 1.25; }
.tgp-mbar .t small { display: block; color: var(--tx3); font-weight: 700; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgp-mbar .t small.cur { display: inline; }
.tgp-mbar .t .num { font-size: 19px; }
.tgp-mbar .tgp-btn { flex: none; min-height: 48px; font-size: 15px; padding: 0 20px; }

@media (max-width: 900px) {
  .tgp-hero { min-height: 0; display: block; padding: 0; }
  .tgp-bg { position: relative; inset: auto; aspect-ratio: 4/3; }
  .tgp-hero::before { background: linear-gradient(to top, var(--bg) 0%, rgba(11,11,13,0) 38%), linear-gradient(to bottom, rgba(11,11,13,.7), transparent 30%); height: calc(100vw * 3 / 4 + 2px); bottom: auto; }
  .tgp-in { width: auto; padding: 0 16px; margin-top: -64px; position: relative; }
  .tgp-crumbs { display: none; }
  .tgp-logo { max-height: 110px; max-width: 72%; }
  .tgp-vctl { top: 86px; bottom: auto; left: 14px; }
  .tgp-two, .tgp-rv { grid-template-columns: 1fr; }
  .tgp-related { grid-template-columns: repeat(2, 1fr); }
  .tgp-sec { margin-top: 36px; }
}
@media (max-width: 767px) {
  .tgp-mbar { display: flex; }
  .tgp-tile-m { width: 78vw; }
  .tgp-kv { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .tgp *, .tgp *::before, .tgp *::after { animation: none !important; transition: none !important; }
}

/* Page frame: the game page is full-bleed (the hero sits under the floating header). */
main.tgp-main { padding: 0 0 96px; max-width: none; }
main.tgp-main #game-details-container { min-height: 640px; }
main.tgp-main #recently-viewed-wrap { max-width: 1240px; margin: 48px auto 0; padding: 40px 16px 0; }
@media (max-width: 767px) { main.tgp-main { padding-bottom: 120px; } }
