/* ======================================================================================================================
   GAME PAGE (game.php) - one stylesheet, written once.

   1  tokens + page            5  tabs                    9  reviews
   2  hero (banner)            6  headings + shared bits  10 store
   3  buttons + menus          7  About                   11 windows (compare, collection, top players) + lightbox
   4  toast                    8  achievements            12 narrow screens

   Rules of the page: dark navy, no framed sections (the elements stand on the page), flat framed items (cards, rows, chips),
   white primary button, grey/white decorations, one blue-violet gradient for the active tab line only.
   ====================================================================================================================== */

/* ---------------------------------------------------------------- 1  tokens + page */
html:has(body.game-body) { background: #050a18 !important; }
body.game-body {
    --gp-accent: #4aa8ff !important; --gp-accent-rgb: 74, 168, 255 !important;
    --gp-line: rgba(255, 255, 255, .1); --gp-line-strong: rgba(255, 255, 255, .16);
    --gp-text: #e6edf7; --gp-body: #cfd8e6; --gp-muted: #8d9ab0; --gp-dim: #6f7c92;
    --gp-green: #34d399; --gp-red: #fb7185; --gp-surface: rgba(255, 255, 255, .03);
    --gp-ease: cubic-bezier(.2, .9, .25, 1); --gp-pad: clamp(14px, 2vw, 34px);
    background: transparent !important;
}
body.game-body .site-background { display: none; }
html body.game-body::before { content: ''; position: fixed; z-index: -1; inset: 0; pointer-events: none; filter: none; background: radial-gradient(900px 520px at 72% -8%, rgba(78, 110, 220, .2), transparent 62%), radial-gradient(700px 480px at 6% 4%, rgba(40, 120, 220, .14), transparent 60%), #050a18; }
html body.game-body::after { display: none; }
.gp-page svg, .gp-modal svg, .gp-lightbox svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gp-page [hidden], .gp-modal[hidden], .gp-lightbox[hidden] { display: none !important; }
body.game-body .container.gp-page { position: relative; z-index: 1; width: 100%; max-width: none; margin: 0; padding: 0; box-sizing: border-box; background: none; color: var(--gp-text); }
.gp-body { position: relative; z-index: 1; max-width: 1560px; margin: -14px auto 0; padding: 0 var(--gp-pad) 56px; }
.gp-pane { animation: gp-in .45s var(--gp-ease) both; }
.gp-pane[hidden] { display: none; }
.gp-panel { position: relative; min-width: 0; padding: 0; border: 0; background: none; }
.gp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 3vw, 48px); align-items: start; }
.gp-main, .gp-side { display: flex; flex-direction: column; gap: 38px; min-width: 0; }
.gp-muted { margin: 0; color: var(--gp-muted); font-size: 14px; line-height: 1.55; }
.gp-loading::before { content: ''; display: inline-block; width: 13px; height: 13px; margin-right: 9px; vertical-align: -2px; border: 2px solid rgba(255, 255, 255, .15); border-top-color: rgba(255, 255, 255, .7); border-radius: 50%; animation: gp-spin .8s linear infinite; }
.gp-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 18px; border: 1px dashed var(--gp-line-strong); border-radius: 12px; color: var(--gp-muted); font-size: 14px; text-align: center; }
.gp-empty strong { color: #fff; font-size: 15px; }
.gp-empty a, .gp-link { color: #dbe5f5; text-decoration: underline; text-underline-offset: 3px; }
.is-up { color: #4ade9b; } .is-down { color: var(--gp-red); }
.is-common { --tier: #8b98ad; } .is-uncommon { --tier: #4ade9b; } .is-rare { --tier: #4aa8ff; } .is-epic { --tier: #b9a6ff; } .is-legendary { --tier: #fbbf24; } .is-mythic { --tier: #f472b6; }
@keyframes gp-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes gp-spin { to { transform: rotate(360deg); } }
@keyframes gp-ping { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
@keyframes gp-pop { 40% { transform: scale(1.18) rotate(-6deg); } }
@keyframes gp-marquee { 0%, 14% { transform: translateX(0); } 46%, 60% { transform: translateX(var(--gp-shift, 0)); } 92%, 100% { transform: translateX(0); } }
@property --gp-fill { syntax: '<number>'; inherits: false; initial-value: 0; }
@keyframes gp-gauge { to { --gp-fill: var(--gp-to); } }

/* ---------------------------------------------------------------- 2  hero: the whole width, every edge of the picture melts into the page */
.gp-hero { position: relative; z-index: 30; display: block; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; animation: none; }
.gp-hero-img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; border-radius: 0; opacity: .75; cursor: default; animation: none; transform: none; transition: none; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 62%, transparent 100%), linear-gradient(to right, transparent 0, #000 12%, #000 86%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 62%, transparent 100%), linear-gradient(to right, transparent 0, #000 12%, #000 86%, transparent 100%); mask-composite: intersect; }
.gp-hero-shade { position: absolute; z-index: 1; inset: 0; border-radius: 0; background: linear-gradient(90deg, rgba(5, 10, 24, .7) 0%, rgba(5, 10, 24, .3) 45%, transparent 80%); }
.gp-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: clamp(16px, 2vw, 28px); max-width: 1560px; min-height: clamp(290px, 24vw, 340px); margin: 0 auto; padding: 72px var(--gp-pad) 40px; }
.gp-icon { position: static; width: clamp(104px, 10.5vw, 146px); height: clamp(104px, 10.5vw, 146px); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; background: #0b1018; object-fit: cover; box-shadow: 0 24px 50px -24px #000; animation: none; }
.gp-hero-main { min-width: 0; padding-bottom: 4px; }
.gp-title { overflow: hidden; margin: 0; color: #fff; font-size: clamp(24px, 2.6vw, 36px); font-weight: 830; letter-spacing: -.035em; line-height: 1.08; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.gp-title-wrap { display: block; overflow: hidden; white-space: nowrap; }
.gp-title-text { display: inline-block; will-change: transform; }
.gp-title-wrap.is-scroll .gp-title-text { animation: gp-marquee 12s ease-in-out infinite; }
.gp-by { margin: 7px 0 0; color: #c3cddb; font-size: 14px; }
.gp-by b, .gp-creator-inline { color: #fff; font-weight: 700; text-decoration: none; }
.gp-creator-inline:hover b { text-decoration: underline; text-underline-offset: 3px; }
.gp-tagline { max-width: 560px; margin: 7px 0 0; color: #aebbd0; font-size: 14px; line-height: 1.45; }
.gp-hstats { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 14px; }
.gp-hstats > div { display: flex; align-items: center; gap: 11px; }
.gp-hstats > div + div { margin-left: 18px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
.gp-hstats svg { width: 20px; height: 20px; color: #a9bbd3; }
.gp-hstats span { display: flex; flex-direction: column; gap: 3px; }
.gp-hstats b { color: #fff; font-size: 16px; font-weight: 650; letter-spacing: -.02em; line-height: 1; }
.gp-hstats small { color: #98a8bf; font-size: 11.5px; }
.gp-hero-cta { position: relative; display: flex; align-items: center; gap: 10px; padding-bottom: 2px; }
.gp-more-wrap { position: relative; }

/* ---------------------------------------------------------------- 3  buttons + menus */
.game-play-group { position: relative; display: inline-flex; align-items: stretch; }
.gp-play { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; min-width: 128px; padding: 0 22px; border: 0; border-radius: 10px; background: #f2f6fc; color: #05070b; font: 800 15.5px/1 Inter, sans-serif; letter-spacing: .01em; text-decoration: none; cursor: pointer; box-shadow: none; transition: background .2s ease, transform .15s ease; }
.gp-play:hover { background: #fff; }
.gp-play:active { transform: scale(.97); }
.gp-play.is-loading { cursor: progress; opacity: .85; }
.gp-play .game-play-icon svg { display: block; width: 15px; height: 15px; fill: currentColor; stroke: none; }
.game-play-group:has(.game-launch:not([hidden])) .gp-play { min-width: 0; border-radius: 10px 0 0 10px; }
.game-launch { position: relative; display: inline-flex; }
.gp-launch-toggle { display: inline-grid; place-items: center; width: 38px; border: 0; border-left: 1px solid rgba(5, 7, 11, .2); border-radius: 0 10px 10px 0; background: #f2f6fc; color: #05070b; cursor: pointer; transition: background .2s ease; }
.gp-launch-toggle:hover { background: #fff; }
.gp-launch-toggle svg { width: 18px; height: 18px; stroke-width: 2.6; transition: transform .3s var(--gp-ease); }
.gp-launch-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.gp-more-btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; background: rgba(5, 10, 24, .45); backdrop-filter: blur(10px); color: #fff; cursor: pointer; transition: background .2s ease; }
.gp-more-btn svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.gp-more-btn:hover, .gp-more-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
.gp-menu, .game-launch-menu { position: absolute; z-index: 60; right: 0; top: calc(100% + 10px); width: 280px; padding: 6px; border: 1px solid var(--gp-line-strong); border-radius: 12px; background: rgba(9, 14, 28, .97); backdrop-filter: blur(16px); box-shadow: 0 26px 54px -20px rgba(0, 0, 0, .95); animation: gp-in .25s var(--gp-ease) both; }
.gp-menu-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 8px; background: transparent; color: #dbe5f3; font: 650 14px/1.2 Inter, sans-serif; text-align: left; text-decoration: none; cursor: pointer; transition: background .15s ease, color .15s ease; }
.gp-menu-item:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.gp-menu-item svg { flex: none; width: 19px; height: 19px; color: #9fb3cc; }
.gp-menu-item.is-on svg { color: #fbbf24; fill: rgba(251, 191, 36, .25); }
#gameCollectionToggle.gp-menu-item.is-on svg { color: #7cc4ff; fill: rgba(124, 196, 255, .22); }
.gp-menu-item .gp-mi-on { display: none; }
.gp-menu-item.is-on .gp-mi-on { display: inline; } .gp-menu-item.is-on .gp-mi-off { display: none; }
.gp-menu-item.is-error { color: #fca5a5; }
#favoriteToggle.is-on, #gameCollectionToggle.is-on { border: 0; background: transparent; color: #fff; }
.game-launch-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: inherit; text-align: left; cursor: pointer; transition: background .15s ease; }
.game-launch-menu button:hover { background: rgba(255, 255, 255, .07); }
.game-launch-menu strong { display: block; color: #fff; font-size: 13.5px; }
.game-launch-menu small { display: block; margin-top: 2px; color: var(--gp-muted); font-size: 12px; }
.game-launch-check { flex: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .3); border-radius: 50%; }
.game-launch-menu [aria-checked="true"] .game-launch-check { border-color: #f2f6fc; background: radial-gradient(circle, #f2f6fc 45%, transparent 50%); }
.gp-icon-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--gp-line-strong); border-radius: 8px; background: transparent; color: #e6edf7; text-decoration: none; cursor: pointer; transition: background .2s ease; }
.gp-icon-btn svg { width: 20px; height: 20px; }
.gp-icon-btn:hover { background: rgba(255, 255, 255, .07); }
.gp-icon-btn.is-pop { animation: gp-pop .45s var(--gp-ease); }
.gp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border: 1px solid var(--gp-line-strong); border-radius: 8px; background: transparent; color: #e6edf7; font: 650 14px/1 Inter, sans-serif; text-decoration: none; cursor: pointer; transition: background .2s ease, transform .15s ease; }
.gp-btn:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.gp-btn:active { transform: scale(.97); }
.gp-btn-primary { border-color: transparent; background: #f2f6fc; color: #05070b; font-weight: 750; }
.gp-btn-primary:hover { background: #fff; color: #05070b; }
.gp-pill-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--gp-line-strong); border-radius: 8px; background: transparent; color: #fff; font-size: 13.5px; font-weight: 650; text-decoration: none; transition: background .2s ease; }
.gp-pill-btn:hover { background: rgba(255, 255, 255, .07); }
.gp-showmore, .gp-more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; margin-top: 14px; padding: 0 16px; border: 1px solid var(--gp-line-strong); border-radius: 8px; background: transparent; color: #dbe5f5; font: 650 13.5px/1 Inter, sans-serif; cursor: pointer; transition: background .2s ease; }
.gp-showmore:hover, .gp-more:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.gp-showmore svg { width: 16px; height: 16px; }
.gp-seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--gp-line-strong); border-radius: 9px; background: transparent; }
.gp-seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 6px; background: transparent; color: var(--gp-muted); font: 650 13px/1 Inter, sans-serif; cursor: pointer; transition: background .2s ease, color .2s ease; }
.gp-seg button:hover { color: #fff; }
.gp-seg button.is-on { background: rgba(255, 255, 255, .13); color: #fff; }

/* ---------------------------------------------------------------- 4  toast */
.game-random-toast { position: fixed; left: 50%; bottom: 32px; z-index: 10050; max-width: min(460px, calc(100vw - 32px)); padding: 11px 18px; transform: translate(-50%, 12px); border: 1px solid var(--gp-line-strong); border-radius: 10px; background: rgba(9, 14, 28, .95); color: #e2e8f0; font-size: 13px; font-weight: 600; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.game-random-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- 5  tabs: large, readable, a bar of the whole width */
.gp-tabs { display: flex; gap: 6px; margin: 0 0 34px; padding: 0; overflow-x: auto; overflow-y: hidden; border: 0; border-radius: 0; background: none; box-shadow: inset 0 -1px 0 var(--gp-line); scrollbar-width: none; }
.gp-tabs::-webkit-scrollbar { display: none; }
.gp-tabs button { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border: 0; border-radius: 10px 10px 0 0; background: transparent; color: var(--gp-muted); font: 650 15px/1 Inter, sans-serif; white-space: nowrap; cursor: pointer; transition: color .2s ease, background .2s ease; }
.gp-tabs button svg { width: 19px; height: 19px; }
.gp-tabs button b { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .09); color: #c9d3e3; font-size: 12px; font-weight: 700; }
.gp-tabs button:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.gp-tabs button.is-on { background: linear-gradient(0deg, rgba(255, 255, 255, .05), transparent); color: #fff; }
.gp-tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, #4aa8ff, #8f6bff); transform: scaleX(0); transition: transform .35s var(--gp-ease); }
.gp-tabs button.is-on::after { transform: scaleX(1); }

/* ---------------------------------------------------------------- 6  headings + shared bits */
.gp-h2 { position: relative; display: flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 0 0 13px 15px; border-bottom: 1px solid var(--gp-line); color: #fff; font-size: 17px; font-weight: 750; letter-spacing: -.01em; line-height: 1.3; }
.gp-h2::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 16px; width: 3px; border-radius: 2px; background: rgba(255, 255, 255, .42); }
.gp-h2 > svg { display: none; }
.gp-h2-link { margin-left: auto; padding: 0; border: 0; background: none; color: #aab6ca; font: 650 13.5px/1 Inter, sans-serif; text-decoration: none; cursor: pointer; }
.gp-h2-link:hover { color: #fff; }
.gp-count { padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .09); color: #c9d3e3; font-size: 12px; font-weight: 700; }
.gp-desc { margin: 0; color: var(--gp-body); font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.gp-desc.is-folded { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 8; }

/* ---------------------------------------------------------------- 7  About */
.gp-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.gp-about-text { min-width: 0; }
.gp-about-pic { position: relative; min-height: 220px; overflow: hidden; border: 1px solid var(--gp-line); border-radius: 12px; background: #0a0e18; }
.gp-about-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: opacity .3s ease, transform .8s var(--gp-ease); }
.gp-about-pic:hover img { transform: scale(1.03); }
.gp-about-pic img.is-swap { opacity: 0; }

.gp-mine-time { margin: 0 0 6px; color: #fff; font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.gp-mine-time a { color: #dbe5f5; font-size: 15px; font-weight: 650; }
.gp-top { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }

.gp-strip-wrap { position: relative; }
.gp-strip { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none !important; -ms-overflow-style: none; cursor: grab; }
@media (hover: none) { .gp-strip { scroll-snap-type: x mandatory; } }
.gp-strip::-webkit-scrollbar { display: none; }
.gp-strip.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.gp-strip-shot { flex: 0 0 calc((100% - 36px) / 4); aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 1px solid var(--gp-line); border-radius: 10px; background: #0a0e18; cursor: zoom-in; scroll-snap-align: start; transition: border-color .2s ease, transform .3s var(--gp-ease); }
.gp-strip-shot img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; transition: transform .6s var(--gp-ease); }
.gp-strip-shot:hover { border-color: rgba(255, 255, 255, .4); transform: translateY(-3px); }
.gp-strip-shot:hover img { transform: scale(1.05); }
.gp-strip-nav { position: absolute; top: 0; bottom: 0; display: grid; place-items: center; width: 30px; height: 100%; padding: 0; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .05); color: #cfd8e6; cursor: pointer; transition: background .2s ease, color .2s ease; }
.gp-strip-nav:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.gp-strip-nav svg { width: 18px; height: 18px; stroke-width: 2.4; }
.gp-strip-nav.is-prev { left: 0; } .gp-strip-nav.is-next { right: 0; }

.gp-creator-row { display: flex; align-items: center; gap: 14px; }
.gp-creator-main { display: flex; flex: 1; align-items: center; gap: 14px; min-width: 0; color: inherit; text-decoration: none; }
.gp-creator-avatar { display: grid; flex: none; place-items: center; width: 48px; height: 48px; overflow: hidden; border: 1px solid var(--gp-line); border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fff; font-size: 19px; font-weight: 800; }
.gp-creator-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gp-creator-name { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.gp-creator-name strong { overflow: hidden; color: #fff; font-size: 15.5px; text-overflow: ellipsis; white-space: nowrap; }
.gp-creator-name small { color: var(--gp-muted); font-size: 12.5px; }
.gp-creator-main:hover strong { text-decoration: underline; text-underline-offset: 3px; }

.gp-sim-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gp-sim-tile { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: #dbe5f3; font-size: 12.5px; font-weight: 650; text-decoration: none; }
.gp-sim-tile img { display: block; width: 100%; aspect-ratio: 1; border: 1px solid var(--gp-line); border-radius: 12px; object-fit: cover; background: #0b1018; transition: transform .35s var(--gp-ease), border-color .2s ease; }
.gp-sim-tile:hover img { transform: translateY(-4px); border-color: rgba(255, 255, 255, .4); }
.gp-sim-tile span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.gp-facts4 { margin: 0; }
.gp-facts4 > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--gp-line); }
.gp-facts4 > div:first-child { padding-top: 0; }
.gp-facts4 > div:last-child { padding-bottom: 0; border-bottom: 0; }
.gp-facts4 dt { color: var(--gp-muted); font-size: 13.5px; }
.gp-facts4 dd { margin: 0; overflow: hidden; color: #fff; font-size: 14px; font-weight: 650; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.gp-facts4 .is-cats { align-items: flex-start; }
.gp-facts4 .is-cats dt { padding-top: 4px; }
.gp-cat-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 70%; white-space: normal !important; overflow: visible !important; }
.gp-cat-chips span { padding: 4px 12px; border: 1px solid var(--gp-line-strong); border-radius: 999px; background: var(--gp-surface); color: #dbe5f5; font-size: 12.5px; font-weight: 600; }

/* ---------------------------------------------------------------- 8  achievements */
.gp-ach-top { display: flex; align-items: center; gap: 34px; margin: 0 0 22px; }
.gp-ach-progress { display: flex; flex: none; align-items: center; gap: 20px; }
.gp-ach-ring { position: relative; display: grid; place-items: center; width: 72px; height: 72px; }
.gp-ach-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.gp-ach-ring circle { fill: none; stroke-width: 6; }
.gp-ach-ring .bg { stroke: rgba(255, 255, 255, .1); }
.gp-ach-ring .fg { stroke: #f2f6fc; stroke-linecap: round; transition: stroke-dasharray 1s var(--gp-ease); }
.gp-ach-ring b { color: #fff; font-size: 15px; font-weight: 750; }
.gp-ach-progress strong { display: block; color: #fff; font-size: 30px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.gp-ach-progress strong small { color: var(--gp-muted); font-size: 17px; font-weight: 650; }
.gp-ach-progress div > span { display: block; margin-top: 6px; color: var(--gp-muted); font-size: 13.5px; }
.gp-ach-progress em { display: block; margin-top: 4px; color: var(--gp-dim); font-size: 12.5px; font-style: normal; }
.gp-ach-progress em a { color: #dbe5f5; }
.gp-ach-dist { flex: 1; min-width: 0; }
.gp-dist { display: flex; gap: 4px; height: 10px; }
.gp-dist i { min-width: 8px; border-radius: 5px; background: var(--tier); }
.gp-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.gp-legend button { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px; border: 1px solid var(--gp-line); border-radius: 999px; background: var(--gp-surface); color: #c9d3e3; font: 650 12.5px/1 Inter, sans-serif; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.gp-legend button i { width: 9px; height: 9px; border-radius: 50%; background: var(--tier); }
.gp-legend button b { color: var(--tier); }
.gp-legend button:hover { background: rgba(255, 255, 255, .08); }
.gp-legend button.is-on { border-color: color-mix(in srgb, var(--tier) 70%, transparent); background: color-mix(in srgb, var(--tier) 16%, transparent); color: #fff; }
.gp-ach-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.gp-ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; max-height: 640px; padding: 2px 6px 6px 2px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .16) transparent; }
.gp-ach { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px 16px 16px; overflow: hidden; border: 1px solid var(--gp-line); border-radius: 12px; background: var(--gp-surface); color: #fff; text-decoration: none; transition: transform .3s var(--gp-ease), border-color .2s ease, background .2s ease; }
.gp-ach:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tier) 60%, transparent); background: rgba(255, 255, 255, .05); }
.gp-ach-img { position: relative; display: block; flex: none; width: 54px; height: 54px; border: 2px solid color-mix(in srgb, var(--tier) 75%, transparent); border-radius: 14px; background: #0b1018; }
.gp-ach-img img { display: block; width: 100%; height: 100%; border-radius: 11px; object-fit: cover; }
.gp-ach.is-locked .gp-ach-img img { filter: grayscale(1) brightness(.6); }
.gp-ach.is-locked strong { color: #c3cddb; }
.gp-ach-check { position: absolute; right: -8px; bottom: -8px; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid #09101e; border-radius: 50%; background: var(--gp-green); color: #04281b; }
.gp-ach-check svg { width: 13px; height: 13px; stroke-width: 3.4; }
.gp-ach-body { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.gp-ach-body strong { overflow: hidden; font-size: 14.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.gp-ach-body small { display: -webkit-box; overflow: hidden; color: var(--gp-muted); font-size: 12.5px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.gp-ach-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 2px; color: var(--gp-dim); font-size: 12px; }
.gp-ach-meta b { color: var(--tier); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.gp-ach-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--gp-dim); }
.gp-ach-meta u { color: var(--gp-green); text-decoration: none; }
.gp-ach-rank { position: absolute; left: 0; bottom: 0; width: var(--r, 20%); height: 3px; border-radius: 0 3px 0 0; background: var(--tier); }
.gp-ach-none { grid-column: 1 / -1; padding: 30px 0; text-align: center; }

/* ---------------------------------------------------------------- 9  reviews */
.gp-review-form { margin: 0; }
.gp-rate { display: flex; gap: 10px; margin-bottom: 14px; }
.gp-rate label { position: relative; cursor: pointer; }
.gp-rate input { position: absolute; opacity: 0; }
.gp-rate span { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border: 1px solid var(--gp-line-strong); border-radius: 8px; color: var(--gp-muted); font-size: 14px; font-weight: 700; white-space: nowrap; user-select: none; -webkit-tap-highlight-color: transparent; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.gp-rate span svg { width: 18px; height: 18px; }
.gp-rate label:hover span { background: rgba(255, 255, 255, .05); color: #fff; }
.gp-rate input:checked + span.is-up { border-color: rgba(74, 222, 155, .55); background: rgba(74, 222, 155, .13); color: #bbf7d0; }
.gp-rate input:checked + span.is-down { border-color: rgba(251, 113, 133, .55); background: rgba(251, 113, 133, .13); color: #fecdd3; }
.gp-rate input:focus + span, .gp-rate input:focus-visible + span { outline: none; box-shadow: none; }
#reviewContentTextarea, .gp-compose textarea { display: block; flex: 1; min-width: 0; min-height: 46px !important; max-height: 160px; margin: 0 !important; scrollbar-width: none !important; overflow: hidden !important; padding: 12px 14px !important; overflow-y: auto; resize: none; border: 1px solid var(--gp-line-strong) !important; border-radius: 10px !important; background: rgba(255, 255, 255, .04) !important; box-sizing: border-box; color: #fff !important; -webkit-text-fill-color: #fff; caret-color: #fff; font: 500 14.5px/1.55 Inter, sans-serif; outline: none; transition: border-color .2s ease, background .2s ease; }
#reviewContentTextarea:focus { border-color: rgba(255, 255, 255, .45) !important; background: rgba(255, 255, 255, .06) !important; box-shadow: none !important; }
#reviewContentTextarea::placeholder { color: rgba(255, 255, 255, .42) !important; -webkit-text-fill-color: rgba(255, 255, 255, .42); }
.gp-compose-foot { display: flex; justify-content: flex-end; }
.gp-compose-foot .gp-btn { height: 42px; padding: 0 26px; }
.gp-reviews { display: flex; flex-direction: column; gap: 12px; }
.gp-review { position: relative; display: flex; gap: 16px; padding: 18px 20px; overflow: hidden; border: 1px solid var(--gp-line); border-radius: 12px; background: var(--gp-surface); transition: background .2s ease; animation: gp-in .5s var(--gp-ease) both; }
.gp-review::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gp-green); }
.gp-review.is-neg::before { background: var(--gp-red); }
.gp-review:hover { background: rgba(255, 255, 255, .05); }
.gp-review-who { display: block; flex: none; width: 44px; }
.gp-review-who img { display: block; width: 44px; height: 44px; border: 1px solid var(--gp-line-strong); border-radius: 50%; object-fit: cover; }
.gp-review-main { flex: 1; min-width: 0; }
.gp-review-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.gp-review-name { color: #fff; font-size: 14.5px; font-weight: 750; text-decoration: none; }
.gp-review-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.gp-rating { padding: 3px 11px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.gp-rating.is-up { background: rgba(74, 222, 155, .14); } .gp-rating.is-down { background: rgba(251, 113, 133, .14); }
.gp-review-date { margin-left: auto; color: var(--gp-dim); font-size: 12.5px; }
.gp-review-main p { margin: 8px 0 14px; color: #d4deec; font-size: 14.5px; line-height: 1.65; overflow-wrap: anywhere; }
.gp-votes { display: flex; align-items: center; gap: 8px; margin: 0; }
.gp-vote { height: 30px; padding: 0 13px; border: 1px solid var(--gp-line); border-radius: 8px; background: transparent; color: var(--gp-muted); font: 700 12.5px/1 Inter, sans-serif; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease; }
.gp-vote:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.gp-vote:active { transform: scale(.94); }
.gp-vote.is-on { border-color: rgba(74, 222, 155, .5); background: rgba(74, 222, 155, .13); color: #bbf7d0; }
.gp-vote.is-minus.is-on { border-color: rgba(251, 113, 133, .5); background: rgba(251, 113, 133, .13); color: #fecdd3; }
.gp-link-danger { margin-left: auto; padding: 0; border: 0; background: none; color: #fda4af; font: 650 12.5px/1 Inter, sans-serif; cursor: pointer; }
.gp-verdict-top { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.gp-verdict-top strong { display: block; color: #fff; font-size: 16px; }
.gp-verdict-top small { display: block; margin-top: 4px; color: var(--gp-muted); font-size: 13px; }
.gp-gauge { position: relative; flex: none; display: grid; place-items: center; width: 96px; height: 96px; }
.gp-gauge::before { content: ''; position: absolute; inset: 0; border-radius: 50%; --gp-fill: 0; background: conic-gradient(var(--gp-green) calc(var(--gp-fill) * 1%), rgba(251, 113, 133, .45) 0); -webkit-mask: radial-gradient(farthest-side, transparent 70%, #000 72%); mask: radial-gradient(farthest-side, transparent 70%, #000 72%); animation: gp-gauge 1.6s var(--gp-ease) .3s forwards; }
.gp-gauge em { position: relative; color: #fff; font-size: 21px; font-style: normal; font-weight: 750; letter-spacing: -.03em; }
.gp-verdict-bars { display: flex; flex-direction: column; gap: 14px; }
.gp-verdict-bars > div { display: grid; grid-template-columns: 112px minmax(0, 1fr) 34px; align-items: center; gap: 12px; }
.gp-verdict-bars span { color: var(--gp-muted); font-size: 13.5px; }
.gp-verdict-bars i { display: block; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.gp-verdict-bars b { display: block; height: 100%; border-radius: inherit; background: var(--gp-green); }
.gp-verdict-bars b.is-down { background: var(--gp-red); }
.gp-verdict-bars em { color: #fff; font-size: 14px; font-style: normal; font-weight: 700; text-align: right; }

/* ---------------------------------------------------------------- 10 store */
.gp-store-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; padding-bottom: 13px; border-bottom: 1px solid var(--gp-line); }
.gp-store-head .gp-h2 { margin: 0; padding-bottom: 0; border: 0; }
.gp-store-head .gp-h2::before { bottom: 3px; }
.gp-store-group + .gp-store-group { margin-top: 32px; }
.gp-store-group .gp-h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: #fff; font-size: 15px; font-weight: 700; }
.gp-store-group .gp-h3 b { padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .09); color: #c9d3e3; font-size: 11px; }
.gp-store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.gp-store-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 12px; border: 1px solid var(--gp-line); border-radius: 12px; background: var(--gp-surface); color: #fff; text-decoration: none; transition: transform .3s var(--gp-ease), border-color .2s ease, background .2s ease; }
.gp-store-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .05); }
.gp-store-pic { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 9px; background: rgba(255, 255, 255, .05); }
.gp-store-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gp-store-name { display: -webkit-box; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.gp-store-desc { display: -webkit-box; overflow: hidden; color: var(--gp-muted); font-size: 12.5px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.gp-store-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.gp-store-foot em { color: #aab6ca; font-size: 12.5px; font-style: normal; font-weight: 650; }
.gp-price { display: inline-flex; align-items: center; gap: 6px; color: #3ddc97; font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.gp-price svg { width: 17px; height: 17px; stroke-width: 2.2; }

/* ---------------------------------------------------------------- 11 windows + lightbox */
.gp-rank-row { display: grid; grid-template-columns: 28px 34px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 7px 8px; border-radius: 12px; color: #e5eefb; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.gp-rank-row:hover { background: rgba(255, 255, 255, .07); transform: translateX(2px); }
.gp-rank-row b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #c3cddb; font-size: 12px; font-weight: 800; }
.gp-rank-row.is-first b { background: rgba(251, 191, 36, .22); color: #fcd34d; } .gp-rank-row.is-second b { background: rgba(203, 213, 225, .2); color: #e2e8f0; } .gp-rank-row.is-third b { background: rgba(251, 146, 60, .2); color: #fdba74; }
.gp-rank-row img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #0b1018; }
.gp-rank-row span { overflow: hidden; font-size: 13.5px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.gp-rank-row em { color: #a9cfff; font-size: 12px; font-style: normal; font-weight: 700; }
.gp-facts { margin: 0; }
.gp-facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--gp-line); }
.gp-modal { position: fixed; z-index: 10020; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(4, 6, 10, .72); backdrop-filter: blur(8px); opacity: 0; transition: opacity .24s ease; }
.gp-modal.is-open { opacity: 1; }
.gp-modal-box { display: flex; flex-direction: column; width: min(640px, 100%); max-height: min(780px, 90vh); padding: 22px; overflow: hidden; border: 1px solid var(--gp-line-strong); border-radius: 22px; background: #0e131b; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .95); transform: translateY(16px) scale(.97); transition: transform .4s var(--gp-ease); }
.gp-modal.is-open .gp-modal-box { transform: none; }
.gp-modal-box.is-narrow { width: min(460px, 100%); }
.gp-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.gp-modal-head h2 { margin: 0; color: #fff; font-size: 20px; font-weight: 780; letter-spacing: -.02em; }
.gp-modal-head p { margin: 6px 0 0; color: var(--gp-muted); font-size: 13px; }
.gp-x { position: relative; flex: none; width: 34px; height: 34px; padding: 0; border: 1px solid var(--gp-line); border-radius: 50%; background: rgba(255, 255, 255, .05); color: #cbd5e1; cursor: pointer; transition: background .2s ease, color .2s ease, transform .25s ease; }
.gp-x::before, .gp-x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; margin: -1px 0 0 -6.5px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.gp-x::after { transform: rotate(-45deg); }
.gp-x:hover { background: rgba(255, 255, 255, .12); color: #fff; transform: rotate(90deg); }
.gp-search { display: flex; align-items: center; height: 44px; margin-bottom: 12px; padding: 0 14px; border: 1px solid var(--gp-line-strong); border-radius: 12px; background: rgba(255, 255, 255, .05); transition: border-color .2s ease, box-shadow .2s ease; }
.gp-search:focus-within { border-color: rgba(96, 175, 255, .6); box-shadow: 0 0 0 3px rgba(64, 162, 250, .14); }
.gp-search svg { flex: none; width: 17px; height: 17px; color: #8d9ab0; }
#gpPage ~ .gp-modal .gp-search input, .gp-modal .gp-search input[type="search"] { flex: 1; min-width: 0; height: 100% !important; padding: 0 10px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0 !important; color: #fff; font: 600 14px/1 Inter, sans-serif; }
.gp-modal-list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .16) transparent; }
.gp-modal-list form { margin: 0; }
.gp-pickrow { display: flex; align-items: center; gap: 13px; padding: 9px 12px; border: 1px solid var(--gp-line); border-radius: 14px; background: rgba(255, 255, 255, .035); color: #fff; text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.gp-pickrow[hidden] { display: none; }
.gp-pickrow:hover { background: rgba(255, 255, 255, .08); border-color: rgba(120, 190, 255, .4); transform: translateX(3px); }
.gp-pickrow img { flex: none; width: 46px; height: 46px; border-radius: 11px; object-fit: cover; }
.gp-pickrow span { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
.gp-pickrow strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.gp-pickrow small { color: var(--gp-muted); font-size: 12px; }
.gp-pickrow em { padding: 3px 9px; border-radius: 999px; background: rgba(74, 168, 255, .16); color: #9fd0ff; font-size: 11px; font-style: normal; font-weight: 800; }
.gp-colrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 13px 15px; border: 1px solid var(--gp-line); border-radius: 14px; background: rgba(255, 255, 255, .035); color: #fff; font: 650 14px/1 Inter, sans-serif; text-align: left; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.gp-colrow:hover { background: rgba(255, 255, 255, .08); }
.gp-colrow.is-on { border-color: rgba(96, 175, 255, .55); background: rgba(74, 168, 255, .14); }
.gp-col-name em { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--gp-muted); font-size: 10.5px; font-style: normal; }
.collection-toggle-status { color: var(--gp-muted); font-size: 12.5px; font-weight: 700; }
.gp-colrow.is-on .collection-toggle-status { color: var(--gp-green); }
.gp-rank-result { display: none; margin-bottom: 12px; padding: 12px 14px; border: 1px solid rgba(120, 190, 255, .3); border-radius: 12px; background: rgba(74, 168, 255, .1); color: #cfe6ff; font-size: 13.5px; }
.gp-rank-result.has-message { display: block; }
.gp-rank-result strong { color: #fff; }
.gp-modal .gp-rank-row { grid-template-columns: 34px 40px minmax(0, 1fr) auto; padding: 10px 12px; border: 1px solid var(--gp-line); background: rgba(255, 255, 255, .03); }
.gp-lightbox { position: fixed; z-index: 10030; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(3, 5, 9, .92); backdrop-filter: blur(10px); opacity: 0; transition: opacity .24s ease; }
.gp-lightbox.is-open { opacity: 1; }
.gp-lightbox img { max-width: min(92vw, 1400px); max-height: 84vh; border-radius: 14px; box-shadow: 0 40px 90px -30px #000; animation: gp-in .35s var(--gp-ease) both; }
.gp-lb-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; }
.gp-lb-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--gp-line-strong); border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transform: translateY(-50%); transition: background .2s ease, transform .2s ease; }
.gp-lb-nav:hover { background: rgba(255, 255, 255, .18); }
.gp-lb-nav svg { width: 22px; height: 22px; }
.gp-lb-nav.is-prev { left: 22px; } .gp-lb-nav.is-next { right: 22px; }
.gp-lb-count { position: absolute; bottom: 22px; left: 50%; padding: 5px 13px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #dbe5f3; font-size: 12.5px; font-weight: 650; transform: translateX(-50%); }
body.gp-modal-open { overflow: hidden; }
/* the site's global input look would show through: the ids win */
#compareSearchInput, #playtimeRankSearch, #compareSearchInput:focus, #playtimeRankSearch:focus { background: transparent !important; background-color: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; outline: 0 !important; height: 100% !important; min-height: 0 !important; padding: 0 10px !important; }


.gp-modal-box.gw { width: min(660px, 100%); padding: 0; gap: 0; border-radius: 24px; background: linear-gradient(180deg, #131b2a 0%, #0c111b 45%); }
.gp-modal-box.gw.is-narrow { width: min(480px, 100%); }
.gp-modal-box.gw.is-top { width: min(560px, 100%); }
.gw-head { display: flex; align-items: center; gap: 14px; padding: 20px 20px 16px; }
.gw-badge { display: grid; flex: none; place-items: center; width: 48px; height: 48px; border-radius: 15px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 12px 24px -12px var(--gw-glow); background: linear-gradient(145deg, var(--gw-a), var(--gw-b)); }
.gp-modal .gw-badge svg { width: 24px; height: 24px; stroke: #fff; stroke-width: 2; }
.gw-badge.is-blue { --gw-a: #52b4ff; --gw-b: #3566e8; --gw-glow: #3f86f0; }
.gw-badge.is-violet { --gw-a: #bda4ff; --gw-b: #6f4ce0; --gw-glow: #8f6cf0; }
.gw-badge.is-gold { --gw-a: #ffd25a; --gw-b: #e07d12; --gw-glow: #f0a11f; }
.gw-title { flex: 1; min-width: 0; }
.gw-title h2 { margin: 0; color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.gw-title p { margin: 4px 0 0; color: #8d9ab0; font-size: 13px; line-height: 1.4; }
.gw-head .gp-x { align-self: flex-start; }
.gp-modal .gw .gp-search { flex: none; margin: 0 20px 12px; height: 46px; border-radius: 14px; }
.gw .gp-rank-result { margin: 0 20px 12px; }
.gw .gp-modal-list { padding: 2px 20px 20px; }
.gw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- nothing to show */
.gw-none { display: grid; justify-items: center; gap: 6px; padding: 30px 20px; border: 1px dashed rgba(255, 255, 255, .14); border-radius: 18px; text-align: center; }
.gw-none > span { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 6px; border-radius: 50%; background: rgba(255, 255, 255, .06); color: #8d9ab0; }
.gp-modal .gw-none svg { width: 25px; height: 25px; }
.gw-none strong { color: #fff; font-size: 15px; }
.gw-none small { max-width: 300px; color: #8d9ab0; font-size: 12.5px; line-height: 1.5; }

/* ---- Add to collection */
.gp-modal .gw-collections { gap: 8px; }
.gw-col { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 14px 10px 10px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: rgba(255, 255, 255, .03); color: #fff; font-family: inherit; text-align: left; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.gw-col:hover { background: rgba(255, 255, 255, .065); border-color: rgba(120, 190, 255, .34); transform: translateY(-1px); }
.gw-col.is-on { border-color: rgba(74, 168, 255, .6); background: linear-gradient(90deg, rgba(74, 168, 255, .17), rgba(74, 168, 255, .05)); }
.gw-col:disabled { opacity: .65; cursor: progress; }
.gw-cover { display: grid; flex: none; place-items: center; width: 54px; height: 54px; overflow: hidden; border-radius: 13px; background: rgba(255, 255, 255, .06); color: #7f93b4; }
.gw-cover img { width: 100%; height: 100%; object-fit: cover; }
.gw-cover.is-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
.gw-cover.is-grid img { min-width: 0; min-height: 0; }
.gp-modal .gw-cover svg { width: 23px; height: 23px; }
.gw-col-text { display: grid; flex: 1; gap: 5px; min-width: 0; }
.gw-col-text strong { overflow: hidden; font-size: 14.5px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.gw-col-text small { display: flex; align-items: center; gap: 8px; color: #8d9ab0; font-size: 12px; }
.gw-col-text em { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .09); color: #b7c2d6; font-size: 10.5px; font-style: normal; font-weight: 700; }
.gw-check { position: relative; flex: none; width: 34px; height: 34px; border: 1.500px solid rgba(255, 255, 255, .2); border-radius: 50%; transition: background .25s ease, border-color .25s ease; }
.gp-modal .gw-check svg { position: absolute; left: 50%; top: 50%; width: 17px; height: 17px; stroke-width: 2.8; transform: translate(-50%, -50%); transition: opacity .2s ease, transform .3s cubic-bezier(.2, 1.6, .4, 1); }
.gp-modal .gw-check .is-tick { opacity: 0; transform: translate(-50%, -50%) scale(.3) rotate(-40deg); stroke: #04131f; }
.gw-col.is-on .gw-check { border-color: #5cb8ff; background: #5cb8ff; }
.gp-modal .gw-col.is-on .gw-check .is-tick { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
.gp-modal .gw-col.is-on .gw-check .is-plus { opacity: 0; transform: translate(-50%, -50%) scale(.3) rotate(90deg); }
.gw-foot { display: flex; flex: none; align-items: center; justify-content: center; gap: 9px; margin: 0; padding: 16px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); color: #9fd0ff; font-size: 13.5px; font-weight: 750; text-decoration: none; transition: background .2s ease, color .2s ease; }
.gw-foot:hover { background: rgba(74, 168, 255, .12); color: #fff; }
.gp-modal .gw-foot svg { width: 17px; height: 17px; stroke-width: 2.4; }

/* ---- Compare with another game */
.gw-duel { display: grid; flex: none; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin: 0 20px 14px; padding: 16px 14px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; background: linear-gradient(90deg, rgba(74, 168, 255, .15), rgba(255, 255, 255, .02) 42%, rgba(255, 255, 255, .02) 58%, rgba(167, 139, 250, .17)); }
.gw-fighter { display: grid; justify-items: center; gap: 4px; min-width: 0; text-align: center; }
.gw-fighter img, .gw-slot { width: 62px; height: 62px; margin-bottom: 4px; border-radius: 17px; object-fit: cover; box-shadow: 0 0 0 2px rgba(74, 168, 255, .75), 0 14px 26px -12px #000; }
.gw-fighter + .gw-vs + .gw-fighter img { box-shadow: 0 0 0 2px rgba(167, 139, 250, .85), 0 14px 26px -12px #000; }
.gw-slot { display: grid; place-items: center; border: 2px dashed rgba(167, 139, 250, .6); box-sizing: border-box; box-shadow: none; color: #c4b5fd; font-size: 24px; font-weight: 800; }
.gw-fighter:not(.is-empty) .gw-slot { display: none; }
.gw-fighter strong { max-width: 100%; overflow: hidden; color: #fff; font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
.gw-fighter small { color: #8d9ab0; font-size: 11.5px; }
.gw-vs { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; background: #0c111b; color: #fff; font-size: 12.5px; font-weight: 900; font-style: italic; }
.gp-modal .gw-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 8px; }
.gw-game { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 9px 10px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; background: rgba(255, 255, 255, .03); color: #fff; text-decoration: none; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.gw-game[hidden] { display: none !important; }
.gw-game:hover, .gw-game:focus-visible { border-color: rgba(167, 139, 250, .65); background: rgba(167, 139, 250, .13); outline: 0; transform: translateY(-2px); }
.gw-game img { flex: none; width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.gw-game > span { display: grid; flex: 1; gap: 4px; min-width: 0; }
.gw-game strong { overflow: hidden; font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
.gw-game small { display: flex; align-items: center; gap: 5px; overflow: hidden; color: #8d9ab0; font-size: 11.5px; white-space: nowrap; }
.gw-game small i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #34d399; }
.gw-game small em { margin-left: 4px; font-style: normal; }
.gw-game b { flex: none; color: #5d6b83; transition: color .18s ease, transform .18s ease; }
.gp-modal .gw-game b svg { display: block; width: 16px; height: 16px; stroke-width: 2.6; }
.gw-game:hover b { color: #d6c8ff; transform: translateX(2px); }
.gw-pick > .gp-empty { grid-column: 1 / -1; }

/* ---- Top players */
.gw-podium { display: grid; flex: none; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 8px; margin-bottom: 8px; }
.gw-step { --m: #cbd5e1; display: grid; justify-items: center; gap: 4px; min-width: 0; padding: 14px 8px 12px; border: 1px solid color-mix(in srgb, var(--m) 28%, transparent); border-radius: 18px; background: linear-gradient(180deg, color-mix(in srgb, var(--m) 17%, transparent), rgba(255, 255, 255, .02)); color: #fff; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
a.gw-step:hover { border-color: color-mix(in srgb, var(--m) 65%, transparent); transform: translateY(-3px); }
.gw-step.is-first { --m: #fbbf24; padding-top: 22px; padding-bottom: 20px; }
.gw-step.is-third { --m: #fb923c; }
.gw-face { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 8px; border-radius: 50%; box-shadow: 0 0 0 3px var(--m), 0 0 22px -4px var(--m); }
.gw-step.is-first .gw-face { width: 74px; height: 74px; }
.gw-face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #0b1018; }
.gw-face i { color: var(--m); font-size: 22px; font-style: normal; font-weight: 800; }
.gw-face b { position: absolute; bottom: -9px; left: 50%; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid #101725; border-radius: 50%; background: var(--m); color: #14100a; font-size: 11.5px; font-weight: 900; transform: translateX(-50%); }
.gw-step strong { max-width: 100%; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.gw-step em { color: var(--m); font-size: 12.5px; font-style: normal; font-weight: 800; }
.gw-step.is-vacant { opacity: .45; }
.gw-rank { display: grid; flex: none; grid-template-columns: 26px 36px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 8px 12px 8px 8px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px; background: rgba(255, 255, 255, .028); color: #e5eefb; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.gw-rank:hover { background: rgba(255, 255, 255, .065); border-color: rgba(120, 190, 255, .34); }
.gw-rank b { color: #8d9ab0; font-size: 13px; font-weight: 800; text-align: center; }
.gw-rank img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #0b1018; }
.gw-rank > span { display: grid; gap: 6px; min-width: 0; }
.gw-rank strong { overflow: hidden; font-size: 13.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
/* how close the player is to the leader */
.gw-rank i { position: relative; height: 4px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.gw-rank i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w, 4%); border-radius: inherit; background: linear-gradient(90deg, #4aa8ff, #8f9bff); }
.gw-rank em { color: #cfe3ff; font-size: 12.5px; font-style: normal; font-weight: 800; white-space: nowrap; }
/* in the short list on the page the first three keep their medal colours */
.gp-top .gw-rank:nth-child(-n+3) b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #14100a; }
.gp-top .gw-rank:nth-child(1) b { background: #fbbf24; } .gp-top .gw-rank:nth-child(2) b { background: #cbd5e1; } .gp-top .gw-rank:nth-child(3) b { background: #fb923c; }
.gp-top { gap: 6px; }

@media (max-width: 600px) {
    .gw-head { padding: 16px 14px 12px; gap: 11px; }
    .gw-badge { width: 42px; height: 42px; border-radius: 13px; }
    .gw-title h2 { font-size: 16.5px; }
    .gw-title p { font-size: 12px; }
    .gp-modal .gw .gp-search, .gw .gp-rank-result { margin-left: 14px; margin-right: 14px; }
    .gw .gp-modal-list { padding: 2px 14px 14px; }
    .gw-duel { margin: 0 14px 12px; padding: 12px 8px; gap: 8px; }
    .gw-fighter img, .gw-slot { width: 50px; height: 50px; border-radius: 14px; }
    .gp-modal .gw-pick { grid-template-columns: minmax(0, 1fr); }
    .gw-step { padding: 12px 4px 10px; }
    .gw-face { width: 48px; height: 48px; }
    .gw-step.is-first .gw-face { width: 60px; height: 60px; }
}

/* ---------------------------------------------------------------- 12 narrower screens */
@media (max-width: 1180px) {
    .gp-hero-inner { grid-template-columns: auto minmax(0, 1fr); min-height: 0; }
    .gp-hero-cta { grid-column: 1 / -1; }
    .gp-ach-top { flex-direction: column; align-items: stretch; gap: 22px; }
}
@media (max-width: 1100px) {
    .gp-grid { grid-template-columns: minmax(0, 1fr); }
    .gp-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; }
}
@media (max-width: 760px) {
    .gp-body { margin-top: -10px; padding-left: 12px; padding-right: 12px; }
    .gp-grid, .gp-main { gap: 28px; }
    .gp-side { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .gp-about { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .gp-about-pic { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
    .gp-desc { font-size: 14.5px; }
    .gp-showmore { width: 100%; }
    .gp-h2 { margin-bottom: 16px; font-size: 16px; }
    .gp-strip-shot { flex: 0 0 62%; }
    .gp-strip-nav { display: none; }
    .gp-sim-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
    .gp-sim-row::-webkit-scrollbar { display: none; }
    .gp-sim-tile { flex: 0 0 104px; }
    .gp-facts4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .gp-facts4 > div, .gp-facts4 > div:first-child, .gp-facts4 > div:last-child { flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 12px; border: 1px solid var(--gp-line); border-radius: 10px; background: var(--gp-surface); }
    .gp-facts4 .is-cats { grid-column: 1 / -1; }
    .gp-facts4 dd { max-width: 100%; text-align: left; }
    .gp-tabs { position: sticky; top: 58px; z-index: 40; justify-content: space-between; gap: 0; margin-bottom: 26px; overflow: visible; background: rgba(5, 10, 24, .92); backdrop-filter: blur(14px); }
    .gp-tabs button { flex: 1 1 auto; height: 46px; min-width: 0; padding: 0 6px; gap: 6px; font-size: 13.5px; }
    .gp-tabs button svg { display: none; }
    .gp-tabs button b { padding: 2px 6px; font-size: 10.5px; }
    .gp-ach-grid { grid-template-columns: minmax(0, 1fr); max-height: none; }
    .gp-ach-top { gap: 16px; }
    .gp-rate { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .gp-rate span { justify-content: center; padding: 10px; font-size: 13px; }
    .gp-compose-foot .gp-btn { width: 100%; }
    .gp-verdict-top { flex-wrap: wrap; gap: 14px; }
    .gp-verdict-bars > div { grid-template-columns: 96px minmax(0, 1fr) 30px; }
    .gp-review { gap: 12px; padding: 14px; }
    .gp-review-who, .gp-review-who img { width: 36px; }
    .gp-review-who img { height: 36px; }
    .gp-store-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .gp-store-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "pic name" "pic desc" "pic foot"; column-gap: 12px; row-gap: 3px; align-items: start; padding: 10px; }
    .gp-store-card:hover { transform: none; }
    .gp-store-pic { grid-area: pic; width: 64px; align-self: center; }
    .gp-store-name { grid-area: name; }
    .gp-store-desc { grid-area: desc; -webkit-line-clamp: 1; }
    .gp-store-foot { grid-area: foot; margin-top: 2px; }
}
@media (max-width: 700px) {
    .gp-hero-inner { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "icon title" "icon by" "stats stats" "cta cta"; align-items: center; gap: 4px 14px; min-height: 0; padding: 18px 14px 26px; }
    .gp-hero-main { display: contents; }
    .gp-icon { grid-area: icon; width: 72px; height: 72px; border-radius: 14px; align-self: start; }
    .gp-title { grid-area: title; align-self: end; font-size: 22px; line-height: 1.15; }
    .gp-by { grid-area: by; align-self: start; margin: 2px 0 0; font-size: 13px; }
    .gp-tagline { display: none; }
    .gp-hstats { grid-area: stats; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 12px 0 0; padding: 9px 2px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: rgba(5, 10, 24, .5); backdrop-filter: blur(10px); }
    .gp-hstats > div, .gp-hstats > div + div { flex-direction: column; align-items: center; gap: 0; margin: 0; padding: 0 2px; border: 0; text-align: center; }
    .gp-hstats > div + div { border-left: 1px solid rgba(255, 255, 255, .1); }
    .gp-hstats svg { display: none; }
    .gp-hstats span { align-items: center; gap: 4px; }
    .gp-hstats b { font-size: 13.5px; }
    .gp-hstats small { font-size: 9.5px; line-height: 1.2; }
    .gp-hero-cta { grid-area: cta; margin-top: 14px; padding: 0; }
    .gp-hero-cta .game-play-group { flex: 1; display: flex; min-width: 0; }
    .gp-play { flex: 1; min-width: 0; height: 48px; }
    .gp-more-btn { flex: 0 0 48px; width: 48px; height: 48px; }
    .gp-menu, .game-launch-menu { width: min(280px, calc(100vw - 40px)); }
}
@media (prefers-reduced-motion: reduce) {
    .gp-pane, .gp-review, .gp-title-wrap.is-scroll .gp-title-text { animation: none; }
}

.gp-compose textarea::-webkit-scrollbar, #reviewContentTextarea::-webkit-scrollbar { display: none; }
.gp-compose-line { display: flex; align-items: flex-end; gap: 10px; }
.gp-compose-line .gp-btn { flex: none; height: 46px; padding: 0 22px; }
@media (max-width: 760px) { .gp-compose-line { flex-direction: column; align-items: stretch; } .gp-compose-line .gp-btn { width: 100%; } .gp-strip-wrap { padding: 0; } }

#reviewContentTextarea::-webkit-scrollbar { display: none !important; width: 0 !important; }
.gp-store-head { justify-content: flex-end; }
.gp-store-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 20px; }

.gp-strip::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }

.gp-facts4 + .gp-top { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gp-line); }
.gp-facts4 #your-playtime a { color: #dbe5f5; }
