:root {
  color-scheme: dark;
  --bg: #0b0e16;
  --panel: #151a28;
  --panel2: #1b2133;
  --line: #272f44;
  --muted: #929db6;
  --text: #f5f7ff;
  --blue: #2589ff;
  --cyan: #70dcff;
  --sidebar: 238px;
  --header: 72px;
  font-family:
    ui-rounded,
    "SF Pro Rounded",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  border: 0;
  cursor: pointer;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
svg {
  width: 23px;
  height: 23px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 15px;
  top: -60px;
  z-index: 100;
  background: var(--blue);
  padding: 12px;
  border-radius: 9px;
}
.skip:focus {
  top: 10px;
}
.topbar {
  height: var(--header);
  position: fixed;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px 0 16px;
  background: #1a1e2e;
  border-bottom: 1px solid #252b3d;
  z-index: 30;
}
.icon-button {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #2b344b;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 166px;
  line-height: 0.86;
  letter-spacing: -0.6px;
  font-weight: 950;
  font-size: 20px;
}
.brand img {
  border-radius: 12px;
}
.brand small {
  display: block;
  font-size: 17px;
  letter-spacing: 3px;
  margin-top: 5px;
}
.search {
  max-width: 620px;
  min-width: 140px;
  flex: 1;
  margin: auto;
  position: relative;
}
.search > span {
  position: absolute;
  left: 17px;
  top: 12px;
  color: #a4aec3;
}
.search input {
  border: 1px solid transparent;
  border-radius: 28px;
  background: #30374d;
  color: white;
  height: 45px;
  width: 100%;
  padding: 0 45px 0 48px;
  outline: none;
}
.search input:focus {
  border-color: var(--blue);
  background: #252d41;
}
.search input::placeholder {
  color: #aab3c9;
}
.search kbd {
  position: absolute;
  right: 17px;
  top: 12px;
  background: #3e475e;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 13px;
  color: #b8c3d7;
}
.header-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}
.header-actions > .icon-button {
  background: #272e41;
}
.profile-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  padding: 11px 17px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 14px;
}
.profile-button:hover,
.primary:hover {
  background: #48a0ff;
}
.sidebar {
  position: fixed;
  left: 0;
  top: var(--header);
  bottom: 0;
  width: var(--sidebar);
  padding: 14px 10px 25px;
  background: #0d101a;
  border-right: 1px solid var(--line);
  overflow-y: auto;
  z-index: 20;
  scrollbar-width: thin;
  scrollbar-color: #29334a transparent;
}
.nav-group {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.nav-link {
  position: relative;
  display: flex;
  gap: 15px;
  align-items: center;
  min-height: 43px;
  border-radius: 9px;
  padding: 9px 13px;
  font-weight: 650;
  font-size: 15px;
  color: #e2e7f5;
}
.nav-link svg {
  color: #80aefe;
  width: 23px;
  flex-shrink: 0;
}
.nav-link:hover {
  background: #1a243a;
}
.nav-link.active {
  background: #193051;
  color: #7fc8ff;
}
.nav-link.active:before {
  content: "";
  position: absolute;
  left: -10px;
  height: 26px;
  width: 4px;
  border-radius: 0 3px 3px 0;
  background: var(--blue);
}
.nav-link .count {
  margin-left: auto;
  color: #79879f;
  font-size: 11px;
}
.sidebar-bottom {
  display: grid;
  gap: 12px;
  padding: 4px 13px;
  color: var(--muted);
  font-size: 13px;
}
.sidebar-bottom span {
  font-size: 11px;
  margin-top: 8px;
}
main {
  margin: var(--header) 0 0 var(--sidebar);
  padding: 25px 28px 40px;
  max-width: 1900px;
  min-height: calc(100vh - var(--header));
  outline: none;
}
.sidebar-collapsed {
  --sidebar: 72px;
}
.sidebar-collapsed .nav-link {
  justify-content: center;
  padding: 10px;
}
.sidebar-collapsed .nav-link .label,
.sidebar-collapsed .count,
.sidebar-collapsed .sidebar-bottom {
  display: none;
}
.intent-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 31px;
}
.intent {
  position: relative;
  min-height: 126px;
  padding: 22px;
  border-radius: 19px;
  overflow: hidden;
  border: 1px solid #ffffff06;
  background: linear-gradient(110deg, #113b55, #181e2e);
  display: flex;
  align-items: flex-end;
  font-size: 18px;
  font-weight: 800;
  color: #70d8ff;
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.intent:nth-child(2) {
  background: linear-gradient(110deg, #153b37, #171f2b);
  color: #7ae4c0;
}
.intent:nth-child(3) {
  background: linear-gradient(110deg, #263151, #1a2133);
  color: #a6caff;
}
.intent:hover {
  transform: translateY(-3px);
  border-color: #408fea;
}
.intent svg {
  position: absolute;
  right: 26px;
  top: 20px;
  width: 49px;
  height: 49px;
  stroke-width: 1.5;
  transform: rotate(8deg);
  opacity: 0.9;
}
.section-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 25px 0 16px;
}
.section-title h1,
.section-title h2 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin: 0;
  font-weight: 800;
}
.section-title a {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: #a2b4cf;
}
.section-title a svg {
  width: 16px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, 0.8fr);
  gap: 16px;
}
.hero-card {
  display: block;
  position: relative;
  min-height: 370px;
  background: #133e59;
  border: 2px solid #338bff;
  border-radius: 21px;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px #147cf329;
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #0c2869 0%, #0d3572aa 20%, transparent 55%);
}
.hero-label {
  padding: 22px 25px;
  position: absolute;
  inset: auto 0 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  background: #228cff;
  box-shadow: 0 3px 9px #03183330;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.hero-label h2 {
  font-size: 31px;
  letter-spacing: -0.8px;
  margin: 11px 0 8px;
}
.hero-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: #d4e7ff;
}
.hero-meta svg {
  height: 15px;
  width: 15px;
}
.play-float {
  position: absolute;
  right: 22px;
  bottom: 25px;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f2f7ff;
  color: #1c64d1;
  box-shadow: 0 3px 20px #0003;
}
.play-float svg {
  fill: currentColor;
  margin-left: 3px;
  width: 22px;
}
.feature-side {
  display: grid;
  gap: 16px;
}
.feature-story {
  min-height: 175px;
  border-radius: 19px;
  background: linear-gradient(140deg, #1c3760, #19243a);
  padding: 23px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.feature-story:nth-child(2) {
  background: linear-gradient(140deg, #173c41, #142a32);
}
.feature-story > svg {
  position: absolute;
  right: 22px;
  top: 27px;
  width: 57px;
  height: 57px;
  color: #69b8ff;
  opacity: 0.45;
  transform: rotate(-10deg);
}
.feature-story > span {
  color: #9ab3d8;
  font-size: 11px;
  letter-spacing: 1.3px;
  font-weight: 700;
}
.feature-story h3 {
  font-size: 22px;
  margin: 16px 0 5px;
  position: relative;
  max-width: 200px;
}
.feature-story p {
  margin: 0;
  color: #a3b6d1;
  font-size: 13px;
  max-width: 210px;
  line-height: 1.5;
}
.feature-story:hover {
  box-shadow: inset 0 0 0 1px #5b95d2;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 18px;
}
.game-card {
  border-radius: 16px;
  position: relative;
  background: #151b29;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  max-width: 360px;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px #2589ff;
}
.game-card .cover {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  object-fit: cover;
}
.game-card .card-copy {
  padding: 13px 15px 15px;
}
.card-copy strong {
  font-size: 16px;
  display: block;
}
.card-copy small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.favorite {
  position: absolute;
  right: 10px;
  top: 10px;
  background: #071322bb;
  color: #fff;
  z-index: 1;
  height: 32px;
  width: 32px;
}
.favorite.active {
  color: #74c2ff;
}
.favorite.active svg {
  fill: #2589ff;
}
.favorite svg {
  height: 18px;
  width: 18px;
}
.card-label {
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 9px;
  padding: 4px 7px;
  background: #2589ff;
  border-radius: 5px;
  font-weight: 800;
  letter-spacing: 1px;
}
.explore-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(0, 1.8fr);
  gap: 20px;
}
.explore-panel {
  padding: 23px 26px;
  background: #141a28;
  border: 1px solid #252e43;
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.explore-panel h3 {
  font-size: 20px;
  margin: 0 0 10px;
}
.explore-panel p {
  color: #93a1ba;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #202b42;
  border: 1px solid #31405c;
  padding: 9px 15px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  color: #c5d7ee;
}
.chip:hover {
  border-color: var(--blue);
  color: #fff;
}
.chip svg {
  width: 16px;
  height: 16px;
}
.ad-placement { container: ad-space / inline-size; }
.advertisement[hidden],
.advertisement:empty {
  display: none !important;
}
.advertisement {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin: 20px auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.advertisement-label {
  color: #758398;
  font-size: 10px;
  line-height: 16px;
  margin-bottom: 5px;
  letter-spacing: .4px;
}
.advertisement-creative {
  flex: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-reserve-surface { width: 320px; height: 100px; background: #111720; }
[data-ad-slot="game-side"] .ad-reserve-surface { width: 300px; height: 250px; }
@container ad-space (min-width: 728px) {
  [data-ad-slot="game-bottom"] .ad-reserve-surface,
  [data-ad-slot="home-inline"] .ad-reserve-surface { width: 728px; height: 90px; }
}
@container ad-space (min-width: 970px) {
  [data-ad-slot="home-inline"] .ad-reserve-surface { width: 970px; height: 90px; }
}
@container ad-space (max-width: 319px) {
  .advertisement:not([data-ad-slot="game-side"]) { display: none; }
}
.ad-creative-content { flex: none; overflow: hidden; }
.ad-creative-content > iframe { width: 100%; height: 100%; border: 0; }
.advertisement-creative[data-ad-size="970x90"],
.ad-creative-content[data-ad-size="970x90"] { width: 970px; height: 90px; }
.advertisement-creative[data-ad-size="728x90"],
.ad-creative-content[data-ad-size="728x90"] { width: 728px; height: 90px; }
.advertisement-creative[data-ad-size="320x50"],
.ad-creative-content[data-ad-size="320x50"] { width: 320px; height: 50px; }
.advertisement-creative[data-ad-size="320x100"],
.ad-creative-content[data-ad-size="320x100"] { width: 320px; height: 100px; }
.advertisement-creative[data-ad-size="300x250"],
.ad-creative-content[data-ad-size="300x250"] { width: 300px; height: 250px; }
.mini-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid #26374f;
  border-radius: 17px;
  background: linear-gradient(115deg, #112136, #14283e);
}
.mini-note strong {
  font-size: 18px;
}
.mini-note p {
  color: #a1b4cf;
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0 0;
}
.mini-note img {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  transform: rotate(7deg);
}
.page-header {
  margin: 7px 0 27px;
}
.eyebrow {
  color: #73b9ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.page-header h1 {
  font-size: 34px;
  letter-spacing: -1px;
  margin: 10px 0;
}
.page-header p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.empty-state {
  text-align: center;
  padding: 65px 20px;
  background: #121826;
  border: 1px solid #242d42;
  border-radius: 20px;
  max-width: 850px;
}
.empty-state > svg {
  color: #438fe9;
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
}
.empty-state h2 {
  font-size: 23px;
  margin: 10px 0;
}
.empty-state p {
  color: #94a3bc;
  font-size: 14px;
  max-width: 420px;
  margin: 0 auto 25px;
  line-height: 1.7;
}
.primary,
.secondary {
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  padding: 12px 22px;
  background: var(--blue);
  font-size: 14px;
  font-weight: 750;
}
.secondary {
  background: #25324b;
  color: #c9dcf3;
}
.primary svg,
.secondary svg {
  width: 18px;
}
.secondary:hover {
  background: #314565;
}
.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}
.catalog-tools select {
  background: #192237;
  color: #d9e7ff;
  border: 1px solid #2a3b58;
  padding: 9px 12px;
  border-radius: 9px;
}
.footer {
  padding-top: 32px;
  margin-top: 36px;
  border-top: 1px solid #232b3b;
  color: #75859e;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer nav {
  display: flex;
  gap: 22px;
}
.footer a:hover {
  color: #b5d6ff;
}
.prose {
  max-width: 850px;
  line-height: 1.8;
  font-size: 15px;
  color: #a9b6cd;
}
.prose h2 {
  color: white;
  font-size: 22px;
  margin-top: 35px;
}
.prose a {
  color: #78bdff;
}
.prose p {
  margin: 13px 0;
}
.prose li {
  margin: 10px 0;
}
.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  gap: 22px;
}
.player {
  border: 1px solid #304467;
  border-radius: 19px;
  overflow: hidden;
  background: #020b13;
  position: relative;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.player:fullscreen {
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
}
.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.player-intro {
  position: relative;
  text-align: center;
  padding: 30px;
  background: radial-gradient(ellipse, #04172abf, transparent 70%);
  width: 100%;
}
.player-intro h1 {
  font-size: 32px;
  letter-spacing: -0.7px;
  margin: 15px 0;
}
.player-intro p {
  color: #d2e9ff;
  margin-bottom: 23px;
}
.player iframe {
  height: 100%;
  width: 100%;
  border: 0;
  background: #000;
}
.player-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #192235;
  padding: 10px 14px;
  border-radius: 0 0 14px 14px;
  margin-top: -8px;
}
.player-tools strong {
  font-size: 14px;
  margin-right: auto;
}
.player-tools .icon-button {
  height: 36px;
  width: 36px;
}
.player-tools svg {
  width: 19px;
  height: 19px;
}
.game-info {
  padding: 22px 0;
}
.game-info h2 {
  font-size: 24px;
}
.game-info p {
  color: #a5b4cb;
  font-size: 14px;
  line-height: 1.8;
}
.game-info details {
  border-top: 1px solid #29334a;
  padding: 17px 0;
}
.game-info summary {
  cursor: pointer;
  font-weight: 700;
}
.game-aside .advertisement { margin-top: 0; }
.game-layout:has([data-ad-slot="game-side"]:not([hidden])) {
  grid-template-columns: minmax(0, 1fr) 300px;
}
.game-aside h3 {
  font-size: 17px;
}
.game-facts {
  background: #151e2e;
  border: 1px solid #26374f;
  border-radius: 15px;
  padding: 20px;
  font-size: 13px;
}
.game-facts dl {
  margin: 0;
}
.game-facts dt {
  color: #8da1bd;
  margin-top: 16px;
}
.game-facts dt:first-child {
  margin-top: 0;
}
.game-facts dd {
  margin: 5px 0 0;
  color: #e6f2ff;
}
.theater .game-layout,
.theater .game-layout:has([data-ad-slot="game-side"]:not([hidden])) {
  grid-template-columns: 1fr;
}
.theater .game-aside {
  display: none;
}
.theater .player {
  max-height: calc(100vh - 160px);
  width: 100%;
}
.ranking-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  max-width: 900px;
}
.ranking-table th {
  color: #8d9db7;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 18px;
  text-align: left;
}
.ranking-table td {
  padding: 18px;
  background: #182338;
}
.ranking-table td:first-child {
  border-radius: 12px 0 0 12px;
  width: 70px;
  color: #76beff;
  font-size: 20px;
  font-weight: 800;
}
.ranking-table td:last-child {
  border-radius: 0 12px 12px 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ranking-table th:last-child {
  text-align: right;
}
.rank-avatar {
  display: inline-grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #263c5f;
  vertical-align: middle;
  margin-right: 12px;
  color: #8dd6ff;
}
.rank-avatar svg {
  width: 20px;
}
.rank-desc {
  color: #8fa4c1;
  font-size: 13px;
  margin: 5px 0 20px;
}
.loading {
  padding: 50px;
  text-align: center;
  color: #82bfff;
}
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid #345270;
  border-top-color: #5ab5ff;
  border-radius: 50%;
  display: block;
  animation: spin 0.8s linear infinite;
  margin: 10px auto;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  padding: 14px 24px;
  border-radius: 30px;
  background: #2b8aec;
  color: white;
  box-shadow: 0 5px 30px #0009;
  font-size: 14px;
  z-index: 90;
}
dialog {
  color: #fff;
  background: #1b263a;
  border: 1px solid #42638b;
  border-radius: 22px;
  width: min(500px, calc(100% - 30px));
  padding: 30px;
}
dialog::backdrop {
  background: #000b;
}
dialog .close-dialog {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 28px;
}
dialog h2 {
  font-size: 24px;
  padding-right: 20px;
}
dialog p {
  line-height: 1.8;
  color: #a6b9d3;
}
#search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: 53px;
  padding: 12px;
  background: #1e293e;
  border: 1px solid #395073;
  border-radius: 14px;
  box-shadow: 0 14px 35px #0007;
  max-height: 450px;
  overflow: auto;
}
#search-results > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
}
#search-results > a:hover {
  background: #2c4264;
}
#search-results img {
  width: 65px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
}
#search-results small {
  display: block;
  color: #a3b3cc;
  margin-top: 4px;
}
#search-results .search-category {
  font-size: 13px;
  color: #a6ceff;
}
#search-results p {
  font-size: 13px;
  color: #c0cfe5;
  padding: 5px;
}
.backdrop {
  position: fixed;
  inset: 72px 0 0;
  background: #0009;
  z-index: 19;
}
.tag-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px 0 50px;
}
.tags-count {
  font-size: 11px;
  background: #334b6d;
  border-radius: 6px;
  padding: 2px 5px;
  color: #a8c6e8;
}
.breadcrumb {
  font-size: 12px;
  color: #8ca5c6;
  margin: 0 0 20px;
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb span {
  margin: 0 8px;
}
@media (min-width: 1700px) {
  main {
    padding: 30px 38px;
  }
  .hero-card {
    min-height: 450px;
  }
}
@media (max-width: 1150px) {
  :root {
    --sidebar: 72px;
  }
  .nav-link {
    justify-content: center;
    padding: 10px;
  }
  .nav-link .label,
  .count,
  .sidebar-bottom {
    display: none;
  }
  .sidebar-expanded {
    --sidebar: 238px;
  }
  .sidebar-expanded .nav-link {
    justify-content: flex-start;
    padding: 9px 13px;
  }
  .sidebar-expanded .label,
  .sidebar-expanded .count,
  .sidebar-expanded .sidebar-bottom {
    display: block;
  }
  .topbar {
    gap: 12px;
  }
  .brand {
    min-width: 145px;
    font-size: 18px;
  }
  .brand small {
    font-size: 15px;
  }
  .header-actions > .icon-button:first-child {
    display: none;
  }
  .hero-card {
    min-height: 350px;
  }
  .game-layout,
  .game-layout:has([data-ad-slot="game-side"]:not([hidden])) {
    grid-template-columns: 1fr;
  }
  .game-aside {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    --header: 66px;
    --sidebar: 0px;
  }
  .topbar {
    height: 66px;
    padding: 0 12px;
    gap: 7px;
  }
  .brand {
    min-width: 0;
    font-size: 15px;
    gap: 6px;
  }
  .brand small {
    font-size: 12px;
    letter-spacing: 2px;
  }
  .brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .menu-toggle {
    width: 32px;
    height: 38px;
  }
  .header-actions {
    display: none;
  }
  .search {
    margin-left: auto;
    max-width: 320px;
    min-width: 0;
  }
  .search input {
    height: 38px;
    font-size: 12px;
    padding-left: 34px;
    padding-right: 10px;
  }
  .search > span {
    left: 10px;
    top: 10px;
  }
  .search > span svg {
    width: 17px;
    height: 17px;
  }
  .search kbd {
    display: none;
  }
  .sidebar {
    width: 240px;
    transform: translateX(-100%);
    top: 66px;
  }
  .sidebar-expanded .sidebar {
    transform: translateX(0);
  }
  .sidebar-expanded {
    --sidebar: 0px;
  }
  .sidebar .nav-link {
    justify-content: flex-start;
    padding: 9px 13px;
  }
  .sidebar .label,
  .sidebar .count,
  .sidebar .sidebar-bottom {
    display: block;
  }
  .backdrop {
    top: 66px;
  }
  .sidebar-expanded main {
    margin-left: 0;
  }
  main {
    margin-left: 0;
    padding: 18px 16px 30px;
  }
  .intent-row {
    gap: 10px;
    display: flex;
    overflow-x: auto;
    margin-bottom: 24px;
    scroll-snap-type: x mandatory;
    padding-bottom: 3px;
    scrollbar-width: none;
  }
  .intent {
    min-width: 178px;
    min-height: 106px;
    padding: 15px;
    font-size: 15px;
    border-radius: 15px;
    scroll-snap-align: start;
  }
  .intent svg {
    right: 18px;
    top: 15px;
    width: 35px;
    height: 35px;
  }
  .section-title {
    margin: 20px 0 13px;
  }
  .section-title h1,
  .section-title h2 {
    font-size: 22px;
  }
  .section-title a {
    font-size: 11px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .hero-card {
    min-height: 290px;
  }
  .hero-label {
    padding: 20px;
  }
  .hero-label h2 {
    font-size: 27px;
  }
  .hero-meta {
    font-size: 11px;
    gap: 9px;
  }
  .feature-side {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .feature-story {
    padding: 17px;
    min-height: 160px;
    border-radius: 15px;
  }
  .feature-story > svg {
    width: 34px;
    height: 34px;
    right: 14px;
    top: 19px;
  }
  .feature-story h3 {
    font-size: 18px;
    max-width: 120px;
    margin-top: 25px;
  }
  .feature-story p {
    font-size: 11px;
  }
  .feature-story > span {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .explore-layout {
    grid-template-columns: 1fr;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .game-card {
    max-width: none;
  }
  .explore-layout > .game-card {
    max-width: 420px;
  }
  .card-copy strong {
    font-size: 14px;
  }
  .card-copy small {
    font-size: 11px;
  }
  .mini-note img {
    width: 64px;
    height: 64px;
    margin-left: 20px;
  }
  .mini-note {
    padding: 20px;
  }
  .mini-note strong {
    font-size: 16px;
  }
  .mini-note p {
    font-size: 12px;
  }
  .page-header h1 {
    font-size: 29px;
  }
  .page-header p {
    font-size: 13px;
  }
  .player {
    aspect-ratio: 4/3;
  }
  .player-intro h1 {
    font-size: 26px;
  }
  .player-intro p {
    font-size: 13px;
  }
  .player-tools strong {
    font-size: 12px;
  }
  .player-tools {
    padding: 9px;
  }
  .player-tools .icon-button {
    width: 30px;
  }
  .empty-state {
    padding: 45px 18px;
  }
  .ranking-table th,
  .ranking-table td {
    padding: 14px 10px;
  }
  .ranking-table td:first-child {
    width: 45px;
  }
  .rank-avatar {
    display: none;
  }
  .footer {
    font-size: 11px;
  }
  .catalog-tools {
    font-size: 12px;
  }
  .prose {
    font-size: 14px;
  }
  #search-results {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 61px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.leaderboard-link {
  margin-top: 16px;
}

.player {
  scroll-margin-top: 90px;
}

.fullscreen-exit {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #07182be6;
  color: white;
  font-size: 30px;
  z-index: 50;
  border: 1px solid #557da8;
}

.account-panel { max-width: 400px; padding: 16px; text-align: center; }
.account-panel h2 { margin: 16px 0; }
.account-panel p { color: var(--muted); line-height: 1.6; }
.account-note { font-size: 13px; }
.apple-signin { width:100%; display:flex; align-items:center; justify-content:center; gap:8px; border:1px solid #999; border-radius:8px; background:#fff; color:#111; font:600 17px system-ui,sans-serif; min-height:48px; margin:24px 0 12px; cursor:pointer; }
.apple-signin svg { width:24px; height:24px; }
.apple-signin:disabled { opacity:.45; cursor:default; }
#account-label { max-width:130px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.developer-guide { max-width: 1000px; margin-inline: auto; }
.developer-guide h1 { max-width: 800px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.04em; }
.guide-lead { max-width: 710px; font-size: 1.15rem; color: var(--muted); line-height: 1.6; }
.guide-status { background: #11283e; border: 1px solid #225580; border-radius: 16px; padding: 22px 26px; margin: 28px 0; }
.guide-status p { margin: 8px 0 0; line-height: 1.6; }
.guide-status a { color: #78c5ff; }
.guide-contents { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; }
.guide-contents a { background: #172230; border: 1px solid #2a3b4e; border-radius: 9px; padding: 10px 14px; color: #a6d8ff; text-decoration: none; }
.developer-guide .prose { max-width: none; margin: 0; }
.developer-guide section { scroll-margin-top: 96px; }
.developer-guide code { overflow-wrap: anywhere; color: #a6d8ff; font-size: .9em; }
.developer-guide pre { overflow-x: auto; white-space: pre; background: #0c121b; border: 1px solid #283849; border-radius: 12px; padding: 18px; line-height: 1.7; }
.developer-guide pre code { overflow-wrap: normal; }
.developer-guide details { border: 1px solid #283849; border-radius: 12px; padding: 16px; margin-block: 20px; }
.developer-guide summary { cursor: pointer; color: #a6d8ff; font-weight: 700; }
.guide-table-wrap { overflow-x: auto; }
.guide-table-wrap table { width: 100%; border-collapse: collapse; margin-block: 18px; }
.guide-table-wrap caption { text-align: left; font-weight: 700; margin-bottom: 12px; }
.guide-table-wrap th, .guide-table-wrap td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #283849; }
.guide-table-wrap th { background: #152130; }

.player-update-notice { margin: 12px 0; padding: 12px 16px; color: #c1dcf7; background: #142336; border-radius: 8px; font-size: 14px; line-height: 1.5; }
/* App shell: transient expansion overlays content; the game never reflows on hover. */
body { --sidebar: 76px; }
body main { margin-left:76px; }
body .sidebar { width:76px; padding:14px 10px 24px; overscroll-behavior:contain; overflow-x:hidden; transition:width .16s ease; }
body .sidebar .nav-link {justify-content:flex-start;padding:11px 15px;min-height:48px;white-space:nowrap;gap:21px;}
body .sidebar .nav-link svg {width:24px;min-width:24px;}
body .sidebar .label,body .sidebar .count,body .sidebar .sidebar-bottom {display:none;}
body.nav-hover .sidebar,body.nav-pinned .sidebar {width:264px;box-shadow:12px 0 24px #0004;}
body.nav-hover .sidebar .label,body.nav-pinned .sidebar .label,body.nav-hover .sidebar .count,body.nav-pinned .sidebar .count {display:block;}
body.nav-hover .sidebar .sidebar-bottom,body.nav-pinned .sidebar .sidebar-bottom {display:grid;}
body.nav-pinned main {margin-left:264px;}
body .sidebar .nav-link.active{background:transparent;color:#66b7ff;}
.sidebar .nav-link:hover{background:#172337;}
[hidden] {display:none !important;}
#search-results [aria-selected=true]{background:#203d61;outline:2px solid #66b7ff;outline-offset:-2px;}
#search-results{max-height:65vh;overflow:auto;}
#search-results a{min-height:52px;}
#search-results small{display:block;color:var(--muted);font-size:12px;}
.intent-row{display:flex;overflow-x:auto;gap:16px;scroll-snap-type:x proximity;}
.intent-row .intent{flex:0 0 260px;scroll-snap-align:start;min-height:142px;}
.pagination,.related-categories,.tag-alphabet,.panel-tabs{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:24px 0;}
.pagination a,.tag-alphabet a,.panel-tabs button{padding:10px 16px;border-radius:22px;background:var(--panel2);}
.pagination [aria-current=page],.panel-tabs [aria-selected=true]{background:var(--blue);color:white;}
.tag-search{display:flex;gap:10px;max-width:520px;margin:22px 0;}
.tag-search input,#profile-name{padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);width:100%;}
.tag-group{scroll-margin-top:100px;margin:32px 0;}
.tag-group h2{color:var(--cyan);}
.tag-group .tag-grid,.tags-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.tag-group a{padding:16px;background:var(--panel);border-radius:8px;display:flex;justify-content:space-between;}
.muted{color:var(--muted);line-height:1.6;}
dialog.drawer{position:fixed;inset:72px 0 0 auto;margin:0;width:min(480px,100%);height:calc(100dvh - 72px);max-height:none;border-radius:20px 0 0 0;overflow:auto;border:1px solid var(--line);}
.panel-tabs{border-bottom:1px solid var(--line);padding-bottom:18px;}
.personal-list article{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0;}
.personal-list article a{display:flex;gap:14px;align-items:center;}
.personal-list img{width:110px;aspect-ratio:16/9;object-fit:cover;border-radius:12px;}
.subtle{padding:12px 18px;background:var(--panel2);border-radius:20px;}
#profile-form{display:grid;gap:12px;margin:24px 0;}
.rank-game{border-radius:16px;background:var(--panel);padding:16px;display:grid;gap:16px;}
.rank-game>img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;}
.rank-fish{width:32px;height:32px;border-radius:50%;vertical-align:middle;margin-right:8px;}
.ranking-table td{overflow-wrap:anywhere;}
.notification{padding:16px 0;border-bottom:1px solid var(--line);}
.notification button{padding:8px 12px;background:var(--blue);border-radius:12px;}
#player{position:relative;}
.player-loading{position:absolute;inset:0;display:flex;flex-direction:column;gap:20px;justify-content:center;align-items:center;background:#08121bf0;z-index:2;}
.player-tools [aria-pressed=true]{color:var(--cyan);background:#17466c;}
.player-tools{flex-wrap:wrap;}
body.theater #game-surface .game-layout{grid-template-columns:1fr;}
@media(max-width:760px){
 body main,body.nav-pinned main{margin-left:0;}
 body .sidebar{width:264px;transform:translateX(-100%);transition:transform .18s ease;}
 body.nav-mobile{overflow:hidden;}
 body.nav-mobile .sidebar{transform:translateX(0);}
 body .sidebar .label,body .sidebar .count{display:block;}
 body .sidebar .sidebar-bottom{display:grid;}
 .header-actions{gap:2px;}.header-actions .icon-button{width:34px;height:34px;}
 .header-actions .profile-button{padding:9px;}#account-label{max-width:75px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
 .tag-group .tag-grid,.tags-grid{grid-template-columns:1fr;}
 .intent-row .intent{flex-basis:225px;min-height:120px;}
 dialog.drawer{top:var(--header);height:calc(100dvh - var(--header));}
}
@media(prefers-reduced-motion:reduce){body .sidebar{transition:none;}}

.game-rail{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:260px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding-bottom:12px}.game-rail .game-card{scroll-snap-align:start}.home-grid--mixed{grid-template-columns:repeat(4,minmax(0,1fr))}.home-grid--mixed>.game-card:first-child{grid-column:span 2;grid-row:span 2}.home-grid--mixed>.game-card:first-child>a{height:100%}.home-grid--mixed>.game-card:first-child .cover{height:100%;object-fit:cover}.home-section{margin-bottom:30px}.intent small{display:block}@media(max-width:850px){.home-grid--mixed{grid-template-columns:repeat(3,minmax(0,1fr))}.game-rail{grid-auto-columns:220px}}@media(max-width:560px){.home-grid--mixed{grid-template-columns:repeat(2,minmax(0,1fr))}.home-grid--mixed>.game-card:first-child{grid-column:span 2;grid-row:auto}.game-rail{grid-auto-columns:210px}.intent-row{overflow-x:auto;display:flex}.intent{min-width:220px}.section-title h1,.section-title h2{font-size:23px}}
.profile-fish{width:96px;height:96px;border-radius:50%}.profile-stats{display:flex;gap:24px}.season-row{display:block;padding:15px;margin:12px 0;background:var(--panel2);border-radius:10px;width:100%}.my-rank{padding:16px;background:#174068;border-radius:12px}
#player {scroll-margin-top:calc(var(--header) + 16px);}
html {scroll-padding-top:calc(var(--header) + 16px);}
@media(max-width:760px){
 :root{--header:112px;}
 .topbar{height:var(--header);display:grid;grid-template-columns:32px minmax(0,1fr) auto;grid-template-rows:56px 44px;column-gap:8px;row-gap:0;align-items:center;padding:0 12px 12px;}
 .topbar .search{grid-row:2;grid-column:1/-1;width:100%;max-width:none;margin:0;}
 .topbar .header-actions{display:flex;grid-column:3;grid-row:1;}
 .topbar .brand{grid-column:2;grid-row:1;}
 .topbar .header-actions .profile-button svg{display:none;}
 .topbar .header-actions .profile-button{font-size:12px;}
 body .sidebar,.backdrop{top:var(--header);}
}
@media(max-width:350px){.brand>span{font-size:12px}.brand small{font-size:10px}.brand img{width:28px;height:28px}.topbar{gap:4px;padding-left:8px;padding-right:8px}.topbar .header-actions .icon-button{width:31px;}}

@media (max-width: 700px) { .topbar .header-actions > .icon-button { display: inline-flex; } }

.ranking-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end;margin:24px 0}.podium-player{display:flex;min-width:0;flex-direction:column;align-items:center;gap:8px;text-decoration:none;background:#182033;border-radius:16px;padding:18px 6px 0}.podium-player img{width:42px;height:42px;border-radius:12px}.podium-player strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.podium-player b{display:block;text-align:center;padding:12px;background:#29364e;width:100%;border-radius:8px 8px 0 0}.podium-1 b{padding-top:30px;background:#365884}.podium-3 b{padding-top:6px}.google-signin{margin-top:12px;width:100%}#account-social{margin-top:24px}

/* Editorial content is rendered identically in static pages and client routes. */
.editorial{margin:36px 0;max-width:880px}.editorial section{margin:32px 0}.editorial h2{font-size:clamp(21px,2.2vw,28px);line-height:1.3}.editorial p,.editorial li{line-height:1.75}.editorial ul,.editorial ol{padding-left:24px}.editorial li+li{margin-top:10px}.editorial figure{margin:26px 0}.editorial figure img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;border:1px solid var(--line);border-radius:14px;background:#07130e}.editorial figcaption{color:var(--muted);font-size:14px;line-height:1.6;margin-top:10px}.editorial-faq details{padding:14px 0;border-bottom:1px solid var(--line)}.editorial-faq summary{cursor:pointer;font-weight:650;line-height:1.6}.editorial-links a,.editorial a,.guide-byline a{color:var(--cyan)}.guide-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:24px;max-width:1120px}.guide-card{border:1px solid var(--line);border-radius:18px;background:var(--panel);overflow:hidden}.guide-card>a{display:block;height:100%;text-decoration:none}.guide-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#07130e;display:block}.guide-card a>div{padding:22px}.guide-card h2{font-size:25px;margin:0 0 12px}.guide-card p{color:var(--muted);line-height:1.7}.guide-card span{display:flex;align-items:center;gap:8px;color:var(--cyan)}.guide-card svg{width:18px;height:18px}.guide-article{max-width:960px}.guide-article .page-header{margin-bottom:16px}.guide-article .breadcrumb{flex-wrap:wrap}.guide-byline{color:var(--muted);font-size:14px;line-height:1.6}.guide-toc{padding:20px 24px;margin:28px 0;background:var(--panel);border:1px solid var(--line);border-radius:14px;max-width:880px}.guide-toc ul{display:flex;flex-wrap:wrap;gap:12px 28px;padding-left:18px;margin-bottom:0}.guide-toc a{color:var(--cyan)}.editorial section[id]{scroll-margin-top:calc(var(--header) + 20px)}
