:root {
  --view13f7d-ink: #fffeba;
  --view13f7d-paper: #fff7d1;
  --view13f7d-night: #24121d;
  --view13f7d-plum: #4c1235;
  --view13f7d-wine: #880e4f;
  --view13f7d-rose: #ad1457;
  --view13f7d-copper: #a0522d;
  --view13f7d-line: rgba(255, 254, 186, .18);
  --view13f7d-muted: #dfc9bd;
  --view13f7d-shadow: 0 16px 35px rgba(10, 4, 9, .28);
  --view13f7d-radius: 14px;
  --view13f7d-max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--view13f7d-ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(173, 20, 87, .33), transparent 30rem),
    radial-gradient(circle at 95% 35%, rgba(160, 82, 45, .2), transparent 28rem),
    linear-gradient(155deg, #22111b 0%, #32132a 48%, #1d1019 100%);
  font-family: "Nirmala UI", "Segoe UI", sans-serif;
  line-height: 1.7;
  min-width: 320px;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
a { color: var(--view13f7d-ink); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: #fff; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.view13f7d-page {
  width: min(100%, var(--view13f7d-max));
  margin: 0 auto;
  padding-bottom: 112px;
  position: relative;
}
.view13f7d-skip {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 12px;
  padding: 10px 14px;
  color: #2a101e;
  background: var(--view13f7d-ink);
  border-radius: 8px;
}
.view13f7d-skip:focus { top: 12px; }
.view13f7d-topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  padding: 12px clamp(12px, 3vw, 26px);
  background: rgba(37, 15, 29, .94);
  border-bottom: 1px solid var(--view13f7d-line);
  backdrop-filter: blur(16px);
}
.view13f7d-topinner {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.view13f7d-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--view13f7d-ink);
  text-decoration: none;
  font-family: "Trebuchet MS", "Nirmala UI", sans-serif;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 1.18rem;
}
.view13f7d-brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255,254,186,.62);
  box-shadow: 0 5px 15px rgba(0,0,0,.25);
}
.view13f7d-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.view13f7d-action {
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid rgba(255,254,186,.28);
  border-radius: 10px;
  color: var(--view13f7d-ink);
  background: rgba(136,14,79,.34);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
}
.view13f7d-action:hover, .view13f7d-action:focus-visible { background: var(--view13f7d-rose); }
.view13f7d-menu-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: var(--view13f7d-ink);
  background: var(--view13f7d-copper);
  cursor: pointer;
}
.view13f7d-menu-button span, .view13f7d-menu-button::before, .view13f7d-menu-button::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .2s ease;
}
.view13f7d-menu-button[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.view13f7d-menu-button[aria-expanded="true"] span { opacity: 0; }
.view13f7d-menu-button[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
.view13f7d-menu {
  display: none;
  position: absolute;
  z-index: 49;
  top: 82px;
  left: 10px;
  right: 10px;
  max-height: calc(100vh - 100px);
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(255,254,186,.2);
  border-radius: 18px;
  background: rgba(49, 15, 39, .98);
  box-shadow: var(--view13f7d-shadow);
}
.view13f7d-menu[data-open="true"] { display: block; animation: view13f7d-rise .2s ease both; }
.view13f7d-menu-title { margin: 0 0 10px; color: #f4c2d9; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.view13f7d-menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.view13f7d-menu-list a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,254,186,.08);
  text-decoration: none;
  font-size: .85rem;
}
.view13f7d-menu-list a:hover, .view13f7d-menu-list a:focus-visible { background: var(--view13f7d-rose); }

.view13f7d-main { padding: 22px clamp(12px, 3vw, 26px) 0; }
.view13f7d-hero {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 5vw, 42px) 0 26px;
}
.view13f7d-hero-copy { max-width: 720px; }
.view13f7d-kicker {
  margin: 0 0 8px;
  color: #f0b4cf;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin-top: 0;
  color: var(--view13f7d-ink);
  font-family: "Trebuchet MS", "Nirmala UI", sans-serif;
  line-height: 1.2;
}
h1 { margin-bottom: 14px; font-size: clamp(2rem, 8vw, 4.5rem); letter-spacing: -.04em; }
h2 { margin-bottom: 10px; font-size: clamp(1.35rem, 4vw, 2.3rem); }
h3 { margin-bottom: 7px; font-size: 1.03rem; }
p { margin: 0 0 14px; color: var(--view13f7d-muted); }
.view13f7d-lead { max-width: 680px; font-size: 1.02rem; color: #fff4dd; }
.view13f7d-hero-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.view13f7d-hero-poster {
  position: relative;
  min-height: 152px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,254,186,.25);
  background: var(--view13f7d-plum);
  cursor: pointer;
  box-shadow: var(--view13f7d-shadow);
}
.view13f7d-hero-poster img { width: 100%; height: 100%; min-height: 152px; display: block; object-fit: cover; opacity: .74; transition: transform .25s ease, opacity .25s ease; }
.view13f7d-hero-poster:hover img, .view13f7d-hero-poster:focus-visible img { transform: scale(1.06); opacity: 1; }
.view13f7d-hero-poster span { position: absolute; left: 9px; right: 9px; bottom: 9px; color: #fff; font-size: .76rem; font-weight: 800; text-shadow: 0 2px 5px #160812; }
.view13f7d-cta-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.view13f7d-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #2b101f;
  background: var(--view13f7d-ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.view13f7d-cta:hover, .view13f7d-cta:focus-visible { color: #fff; background: var(--view13f7d-rose); border-color: var(--view13f7d-ink); }
.view13f7d-cta-quiet { color: var(--view13f7d-ink); background: transparent; border-color: rgba(255,254,186,.42); }
.view13f7d-cta-quiet:hover, .view13f7d-cta-quiet:focus-visible { background: rgba(173,20,87,.45); }

.view13f7d-section { margin: 28px 0; scroll-margin-top: 90px; }
.view13f7d-section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.view13f7d-section-head p { margin: 0; font-size: .8rem; text-align: right; }
.view13f7d-category {
  padding: 16px 0 20px;
  border-top: 1px solid var(--view13f7d-line);
}
.view13f7d-category-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.view13f7d-category-head h2 { margin: 0; }
.view13f7d-category-links { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.view13f7d-category-links a { padding: 5px 8px; border: 1px solid rgba(255,254,186,.3); border-radius: 8px; font-size: .72rem; text-decoration: none; }
.view13f7d-category-links a:hover, .view13f7d-category-links a:focus-visible { background: var(--view13f7d-copper); }
.view13f7d-game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.view13f7d-game {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,254,186,.15);
  border-radius: 11px;
  color: var(--view13f7d-ink);
  background: rgba(255,255,255,.07);
  cursor: pointer;
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.view13f7d-game:hover, .view13f7d-game:focus-visible { transform: translateY(-3px); border-color: var(--view13f7d-ink); background: rgba(173,20,87,.38); }
.view13f7d-game img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--view13f7d-plum); }
.view13f7d-game span { display: -webkit-box; min-height: 42px; padding: 6px 6px 8px; overflow: hidden; color: #fff8dc; font-size: .72rem; font-weight: 700; line-height: 1.28; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.view13f7d-note { padding: 13px 14px; border-left: 3px solid var(--view13f7d-copper); border-radius: 0 12px 12px 0; background: rgba(160,82,45,.14); color: #f7dfd2; font-size: .9rem; }

.view13f7d-story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.view13f7d-story {
  min-height: 100%;
  padding: 17px;
  border: 1px solid rgba(255,254,186,.17);
  border-radius: var(--view13f7d-radius);
  background: linear-gradient(145deg, rgba(136,14,79,.48), rgba(75,18,53,.55));
}
.view13f7d-story-wide { grid-column: 1 / -1; }
.view13f7d-story h3 { color: #ffe5a6; }
.view13f7d-story p:last-child { margin-bottom: 0; }
.view13f7d-points { margin: 0; padding-left: 19px; color: var(--view13f7d-muted); }
.view13f7d-points li { padding: 3px 0; }
.view13f7d-step-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: view13f7d-step; }
.view13f7d-step-list li { counter-increment: view13f7d-step; display: grid; grid-template-columns: 34px 1fr; gap: 11px; align-items: start; padding: 12px; border-radius: 12px; background: rgba(255,254,186,.07); color: var(--view13f7d-muted); }
.view13f7d-step-list li::before { content: counter(view13f7d-step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #2d101f; background: var(--view13f7d-ink); font-weight: 900; }
.view13f7d-step-list strong { display: block; color: #fff0c5; }
.view13f7d-promo-band { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; align-items: center; padding: 20px; border-radius: 17px; background: linear-gradient(112deg, var(--view13f7d-wine), var(--view13f7d-copper)); box-shadow: var(--view13f7d-shadow); }
.view13f7d-promo-band h2 { margin-bottom: 7px; }
.view13f7d-promo-band p { color: #fff0dd; }
.view13f7d-promo-actions { display: grid; gap: 8px; }
.view13f7d-promo-actions .view13f7d-cta { width: 100%; }

.view13f7d-directory { padding: 23px 0 6px; border-top: 1px solid var(--view13f7d-line); }
.view13f7d-directory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.view13f7d-directory h2 { font-size: 1.3rem; }
.view13f7d-link-list { margin: 0; padding: 0; list-style: none; }
.view13f7d-link-list li { border-bottom: 1px solid rgba(255,254,186,.12); }
.view13f7d-link-list a { display: block; padding: 8px 0; color: #ffe4b6; font-size: .86rem; }
.view13f7d-disclaimer { margin-top: 17px; padding: 13px; border-radius: 10px; color: #e2cfc5; background: rgba(0,0,0,.18); font-size: .78rem; }
.view13f7d-footer { padding: 20px clamp(12px, 3vw, 26px) 12px; border-top: 1px solid var(--view13f7d-line); }
.view13f7d-footer p { font-size: .78rem; }
.view13f7d-footer-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; }
.view13f7d-footer-nav a { font-size: .78rem; color: #f3c8d9; }

.view13f7d-bottom {
  position: fixed;
  z-index: 45;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, var(--view13f7d-max));
  margin: 0 auto;
  padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
  border: 1px solid rgba(255,254,186,.18);
  border-bottom: 0;
  border-radius: 17px 17px 0 0;
  background: rgba(47, 14, 37, .97);
  box-shadow: 0 -12px 30px rgba(10,4,9,.3);
  backdrop-filter: blur(14px);
}
.view13f7d-bottom a, .view13f7d-bottom button { min-width: 0; min-height: 53px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border: 0; border-radius: 11px; color: #e8c4d0; background: transparent; text-decoration: none; cursor: pointer; font-size: .66rem; line-height: 1.2; }
.view13f7d-bottom a:hover, .view13f7d-bottom a:focus-visible, .view13f7d-bottom button:hover, .view13f7d-bottom button:focus-visible, .view13f7d-bottom .view13f7d-active { color: #2b101f; background: var(--view13f7d-ink); }
.view13f7d-bottom-icon { display: block; font-size: 1.24rem; line-height: 1; }

.view13f7d-faq-list { display: grid; gap: 8px; }
.view13f7d-faq-list details { border: 1px solid rgba(255,254,186,.17); border-radius: 12px; background: rgba(255,255,255,.06); }
.view13f7d-faq-list summary { min-height: 48px; display: flex; align-items: center; padding: 10px 14px; color: #fff0c5; font-weight: 800; cursor: pointer; }
.view13f7d-faq-list details p { padding: 0 14px 13px; margin: 0; }
.view13f7d-alert { padding: 15px; border-radius: 13px; background: rgba(255,254,186,.1); border: 1px solid rgba(255,254,186,.24); }
.view13f7d-table-wrap { overflow-x: auto; border: 1px solid var(--view13f7d-line); border-radius: 12px; }
.view13f7d-table { width: 100%; min-width: 500px; border-collapse: collapse; color: var(--view13f7d-muted); font-size: .84rem; }
.view13f7d-table th, .view13f7d-table td { padding: 10px; border-bottom: 1px solid rgba(255,254,186,.14); text-align: left; vertical-align: top; }
.view13f7d-table th { color: #fff0c5; background: rgba(173,20,87,.3); }
.view13f7d-breadcrumb { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0 0; color: #ddb8c7; font-size: .76rem; }
.view13f7d-breadcrumb a { color: #ffe5ad; }
.view13f7d-article { max-width: 820px; }
.view13f7d-article h2 { padding-top: 12px; }
.view13f7d-article h3 { margin-top: 18px; color: #ffe5ad; }
.view13f7d-article ul, .view13f7d-article ol { color: var(--view13f7d-muted); }
.view13f7d-article li { margin: 6px 0; }
.view13f7d-callout { margin: 15px 0; padding: 17px; border-radius: 14px; border: 1px solid rgba(255,254,186,.24); background: linear-gradient(135deg, rgba(160,82,45,.28), rgba(136,14,79,.35)); }
.view13f7d-callout strong { color: #fff0b4; }

@keyframes view13f7d-rise { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 430px) {
  .view13f7d-game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 640px) {
  .view13f7d-hero { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .view13f7d-hero-rail { min-height: 220px; }
  .view13f7d-hero-poster, .view13f7d-hero-poster img { min-height: 220px; }
  .view13f7d-game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .view13f7d-main { padding-top: 28px; }
}
@media (max-width: 480px) {
  .view13f7d-topbar { padding-inline: 10px; }
  .view13f7d-brand { font-size: 1rem; }
  .view13f7d-brand img { width: 38px; height: 38px; flex-basis: 38px; }
  .view13f7d-action { padding-inline: 8px; font-size: .75rem; }
  .view13f7d-menu { top: 78px; }
  .view13f7d-category-head { align-items: flex-start; flex-direction: column; }
  .view13f7d-category-links { justify-content: flex-start; }
  .view13f7d-promo-band, .view13f7d-directory-grid { grid-template-columns: 1fr; }
}
@media (max-width: 350px) {
  .view13f7d-game-grid { gap: 6px; }
  .view13f7d-game span { padding-inline: 4px; font-size: .66rem; }
  .view13f7d-hero-rail { gap: 5px; }
  .view13f7d-hero-poster, .view13f7d-hero-poster img { min-height: 120px; }
  .view13f7d-action { padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
