:root {
  --h11a-bg: #f6f8fb;
  --h11a-surface: #ffffff;
  --h11a-soft: #eef7f4;
  --h11a-ink: #102a43;
  --h11a-muted: #486581;
  --h11a-line: #d9e2ec;
  --h11a-emerald: #0b3b36;
  --h11a-emerald-hover: #082d29;
  --h11a-coral: #c9400e;
  --h11a-coral-hover: #a83308;
  --h11a-radius: 14px;
  --h11a-max: 780px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--h11a-bg);
  color: var(--h11a-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--h11a-bg);
  color: var(--h11a-ink);
  overflow-x: hidden;
}

a { color: var(--h11a-emerald); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--h11a-coral); }
img { max-width: 100%; height: auto; display: block; }

.h11a-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: var(--h11a-emerald);
  color: #fff;
  font-weight: 700;
  z-index: 200;
}
.h11a-skip:focus { left: 12px; top: 12px; border-radius: 8px; }

.h11a-hd {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--h11a-surface);
  border-bottom: 1px solid var(--h11a-line);
}

.h11a-hd-in {
  max-width: var(--h11a-max);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
}

.h11a-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--h11a-ink);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.h11a-brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
}

.h11a-hd-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.h11a-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.h11a-nav-link {
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--h11a-muted);
  text-decoration: none;
  white-space: nowrap;
}

.h11a-nav-link:hover,
.h11a-nav-link[aria-current="page"] {
  background: var(--h11a-soft);
  color: var(--h11a-emerald);
}

.h11a-dl-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 9px;
  background: var(--h11a-coral);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.h11a-dl-top:hover { background: var(--h11a-coral-hover); color: #ffffff; }

.h11a-burger {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 9px;
  border: 1px solid var(--h11a-line);
  background: var(--h11a-surface);
  color: var(--h11a-ink);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.h11a-drawer {
  display: none;
  border-top: 1px solid var(--h11a-line);
  background: var(--h11a-surface);
  padding: 10px 16px 14px;
}

.h11a-drawer[data-h11a-open="true"] { display: block; }

.h11a-drawer-list {
  max-width: var(--h11a-max);
  margin: 0 auto;
  display: grid;
  gap: 6px;
}

.h11a-drawer-link {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--h11a-bg);
  color: var(--h11a-ink);
  font-weight: 600;
  text-decoration: none;
}

.h11a-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--h11a-max);
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.h11a-hero {
  background: var(--h11a-surface);
  border: 1px solid var(--h11a-line);
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  margin-bottom: 22px;
}

.h11a-title {
  margin: 0 0 18px;
  font-size: clamp(1.48rem, 3.8vw, 2.08rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--h11a-ink);
}

.h11a-icon-link {
  display: inline-block;
  margin: 0 auto 18px;
  width: clamp(164px, 43vw, 188px);
  text-decoration: none;
}

.h11a-icon-link img {
  width: 100%;
  height: auto;
  border-radius: 22%;
  box-shadow: 0 10px 24px rgba(11, 59, 54, 0.14);
}

.h11a-lead {
  margin: 0 auto 20px;
  max-width: 640px;
  font-size: 1.02rem;
  color: var(--h11a-muted);
}

.h11a-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.h11a-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 13px 22px;
  border-radius: 11px;
  background: var(--h11a-emerald);
  border: 2px solid var(--h11a-emerald);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.h11a-cta-btn:hover {
  background: var(--h11a-emerald-hover);
  border-color: var(--h11a-emerald-hover);
  color: #ffffff;
}

.h11a-ios-note {
  margin: 12px auto 0;
  max-width: 560px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--h11a-soft);
  border: 1px solid #cce3dc;
  color: var(--h11a-emerald);
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 600;
  text-align: center;
}

.h11a-shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.h11a-shot-card {
  background: var(--h11a-surface);
  border: 1px solid var(--h11a-line);
  border-radius: var(--h11a-radius);
  padding: 8px;
  margin: 0;
}

.h11a-shot-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.h11a-shot-cap {
  margin: 7px 2px 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--h11a-muted);
  text-align: center;
}

.h11a-box {
  background: var(--h11a-surface);
  border: 1px solid var(--h11a-line);
  border-radius: var(--h11a-radius);
  padding: 20px;
  margin-bottom: 20px;
}

.h11a-box-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--h11a-ink);
}

.h11a-spec-wrap {
  width: 100%;
  overflow-x: auto;
}

.h11a-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.h11a-spec-table th,
.h11a-spec-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--h11a-line);
  text-align: left;
  vertical-align: top;
}

.h11a-spec-table tr:last-child th,
.h11a-spec-table tr:last-child td { border-bottom: 0; }

.h11a-spec-table th {
  width: 34%;
  font-weight: 700;
  color: var(--h11a-ink);
  background: #f9fbfd;
}

.h11a-spec-table thead + tbody th,
.h11a-spec-table thead th {
  width: auto;
}

.h11a-toc-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  font-size: 0.93rem;
}

.h11a-sec {
  background: var(--h11a-surface);
  border: 1px solid var(--h11a-line);
  border-radius: var(--h11a-radius);
  padding: 22px;
  margin-bottom: 18px;
}

.h11a-sec h2 {
  margin: 0 0 12px;
  font-size: 1.32rem;
  line-height: 1.28;
  font-weight: 800;
  color: var(--h11a-emerald);
}

.h11a-sec h3 {
  margin: 18px 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--h11a-ink);
}

.h11a-sec p { margin: 0 0 12px; }
.h11a-sec p:last-child { margin-bottom: 0; }

.h11a-ul {
  margin: 8px 0 14px;
  padding-left: 20px;
}
.h11a-ul li { margin-bottom: 6px; }

.h11a-media-fig {
  margin: 14px 0 16px;
  background: #f8fafc;
  border: 1px solid var(--h11a-line);
  border-radius: 12px;
  padding: 10px;
}

.h11a-media-fig img {
  border-radius: 8px;
  margin: 0 auto;
}

.h11a-media-fig figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--h11a-muted);
  text-align: center;
}

.h11a-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}

.h11a-filter-btn {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--h11a-line);
  background: var(--h11a-bg);
  color: var(--h11a-ink);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.h11a-filter-btn[data-h11a-active="true"] {
  background: var(--h11a-emerald);
  border-color: var(--h11a-emerald);
  color: #ffffff;
}

.h11a-games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.h11a-game-card {
  background: var(--h11a-bg);
  border: 1px solid var(--h11a-line);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.h11a-game-card[hidden] { display: none; }

.h11a-game-card img {
  width: 100%;
  aspect-ratio: 260 / 342;
  object-fit: cover;
  border-radius: 9px;
}

.h11a-game-name {
  margin: 8px 0 2px;
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--h11a-ink);
}

.h11a-game-meta {
  font-size: 0.8rem;
  color: var(--h11a-muted);
}

.h11a-faq-item {
  border-top: 1px solid var(--h11a-line);
  padding: 14px 0;
}
.h11a-faq-item:first-of-type { border-top: 0; padding-top: 4px; }

.h11a-faq-q {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--h11a-ink);
}

.h11a-ft {
  background: var(--h11a-surface);
  border-top: 1px solid var(--h11a-line);
  padding: 26px 16px 32px;
}

.h11a-ft-in {
  max-width: var(--h11a-max);
  margin: 0 auto;
  display: grid;
  gap: 16px;
  text-align: center;
}

.h11a-ft-nav,
.h11a-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}

.h11a-ft-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--h11a-muted);
  text-decoration: none;
}
.h11a-ft-nav a:hover { color: var(--h11a-emerald); text-decoration: underline; }

.h11a-social-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--h11a-line);
  background: var(--h11a-bg);
  color: var(--h11a-ink);
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
}
.h11a-social-link:hover {
  border-color: var(--h11a-emerald);
  background: var(--h11a-soft);
}

.h11a-copy {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--h11a-muted);
}

@media (max-width: 780px) {
  .h11a-nav { display: none; }
  .h11a-burger { display: inline-flex; }
  .h11a-toc-list { grid-template-columns: 1fr; }
  .h11a-shots {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 4px;
  }
  .h11a-shot-card {
    flex: 0 0 68%;
    scroll-snap-align: start;
  }
  .h11a-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .h11a-hd-in {
    min-height: 52px;
    padding: 8px 14px;
  }
  .h11a-main {
    padding: 12px 14px 32px;
  }
  .h11a-hero {
    padding: 16px 14px;
    margin-bottom: 16px;
    border-radius: 15px;
  }
  .h11a-title {
    margin-bottom: 10px;
    font-size: clamp(1.36rem, 5.2vw, 1.62rem);
  }
  .h11a-icon-link {
    width: clamp(150px, 42vw, 168px);
    margin-bottom: 10px;
  }
  .h11a-lead {
    margin-bottom: 12px;
    font-size: 0.94rem;
    line-height: 1.48;
  }
  .h11a-cta-row {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .h11a-cta-btn {
    width: 100%;
    max-width: 310px;
    padding: 11px 16px;
    min-height: 44px;
    font-size: 0.94rem;
  }
  .h11a-spec-table th { width: 42%; }
}
