@font-face {
  font-family: 'Barlow Condensed Fallback';
  src: local('Helvetica Neue Bold'), local('Helvetica Neue'), local('Arial Bold'), local('Arial');
  font-weight: 700 800;
  size-adjust: 78%;
  ascent-override: 118%;
  descent-override: 26%;
  line-gap-override: 0%;
}

:root {
  --font-display: 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif;
  --bg: #0A090F;
  --surface: #14121D;
  --surface-2: #1D192A;
  --text: #F2EFF7;
  --muted: #A19AB0;
  --primary: #CC2463;
  --primary-hover: #B31D55;
  --accent: #FBBF49;
  --border: rgba(242, 239, 247, 0.11);
  --border-strong: rgba(242, 239, 247, 0.22);
  --radius-lg: 8px;
  --radius-md: 6px;
  --radius-sm: 4px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.42);
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 10px;
}

h1, .page-title {
  font-size: clamp(34px, 4.4vw, 50px);
  letter-spacing: -0.02em;
}
h2, .section-title {
  font-size: clamp(24px, 2.6vw, 32px);
}
h3, .card-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
.subsection-title {
  font-size: 24px;
  font-weight: 700;
  margin: 28px 0 14px;
}

p { margin: 0 0 14px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

code {
  font-size: 13px;
  color: var(--accent);
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(251, 191, 73, 0.25);
}

.tabular-num, .code-digits, .hero-stat-primary, .engage-count {
  font-variant-numeric: tabular-nums;
}

.sr-only, .skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--primary);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-md);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-container {
  padding-top: 28px;
  padding-bottom: 64px;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex;
  align-items: center;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-tag {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  padding: 2px 0 2px 8px;
  border-left: 1px solid var(--border-strong);
  align-self: flex-end;
  margin-bottom: 2px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-link {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-md);
}
.nav-link[aria-current="page"], .nav-link:hover {
  color: var(--text);
  background: var(--surface-2);
  text-decoration: none;
}

.nav-dropdown { position: relative; }
.nav-dropdown-trigger { list-style: none; cursor: pointer; }
.nav-dropdown-trigger::-webkit-details-marker { display: none; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  min-width: 240px;
  margin-top: 6px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-menu-link {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.nav-menu-link[aria-current="page"], .nav-menu-link:hover {
  background: var(--surface-2);
  color: var(--text);
  text-decoration: none;
}

.mobile-menu {
  display: none;
  position: relative;
}
.mobile-menu-btn {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}
.mobile-menu-btn::-webkit-details-marker { display: none; }
.mobile-menu[open] .mobile-menu-btn {
  border-color: var(--primary);
  color: var(--accent);
}
.mobile-menu-panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 60;
  width: min(280px, calc(100vw - 32px));
  margin-top: 8px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu-sep {
  display: block;
  height: 1px;
  margin: 6px 4px;
  background: var(--border);
}

.ios-install-tip {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 14px;
  color: var(--accent);
}

/* Breadcrumbs — Single-Line Clean Ellipsis */
.breadcrumbs { margin-bottom: 14px; }
.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
}
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.breadcrumb-item:last-child {
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}
.breadcrumb-item:last-child > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 6px;
  color: var(--muted);
  flex-shrink: 0;
}

/* Hero — H1 First, Clean Status Strip */
.page-hero {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.page-lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 68ch;
  margin: 0;
}
.hero-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 13px;
}
.hero-stat-primary {
  color: var(--accent);
  font-weight: 600;
}
.hero-stat-date {
  color: var(--muted);
}

/* Sticky Tool Controls */
.tool-shell { margin-bottom: 48px; }
.tool-controls {
  background: rgba(20, 18, 29, 0.94);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.tool-controls-sticky {
  position: sticky;
  top: 8px;
  z-index: 30;
  backdrop-filter: blur(10px);
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.search-wrap { flex: 1 1 280px; }

.input-control {
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
}
.input-control::placeholder { color: var(--muted); }
.input-control:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.platform-group, .cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-pills-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.trigger-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
}
.trigger-arrow { color: var(--muted); }
.shoulder-inline {
  font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}
.filter-right-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Progress Bar (Safes) */
.checker-heading { font-size: 22px; margin-bottom: 8px; }
.progress-bar-row { margin-bottom: 14px; }
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  font-size: 14px;
}
.muted-small, .legal-updated { font-size: 13px; color: var(--muted); }
.progress-track {
  height: 6px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.progress-fill { height: 100%; background: var(--accent); }

/* Buttons */
.btn-primary, .btn-outline, .btn-ghost, .btn-tab, .pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  text-decoration: none;
}
.btn-outline, .btn-tab, .pill-btn {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover, .btn-tab:hover, .pill-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--surface-2);
  text-decoration: none;
}
.btn-tab.is-active, .pill-btn.is-active, [data-gf-liked] {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.btn-tab-tba:not(.is-active) {
  color: var(--muted);
  border-style: dashed;
}
.btn-sm {
  min-height: 30px;
  padding: 4px 10px;
  font-size: 12px;
}
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  padding: 0 6px;
  font-size: 15px;
  line-height: 1;
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.btn-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-icon[aria-pressed="true"] {
  background: rgba(251, 191, 73, 0.14);
  border-color: var(--accent);
  color: var(--accent);
}
.card-title-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(251, 191, 73, 0.45);
  text-underline-offset: 4px;
}
.card-title-link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.btn-text {
  background: none;
  border: 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  padding: 4px 8px;
  cursor: pointer;
}
.toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}
.toggle-label input { accent-color: var(--primary); }

/* Notices */
.pc-notice, .verdict-box {
  padding: 14px 16px;
  margin-bottom: 16px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.verdict-box strong {
  display: block;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 4px;
}
.verdict-box p { margin: 0; }

/* Cheat & Safe Grids */
.cheat-grid, .safe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.systems-grid, .hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.checker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.cheat-card, .safe-card, .panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.cheat-card, .safe-card {
  display: flex;
  flex-direction: column;
}
.cheat-card.is-unlocked, .safe-card.is-unlocked {
  border-color: var(--accent);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 32px;
  gap: 10px;
  margin-bottom: 10px;
}
.card-meta-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.seq-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Borderless Status Tags */
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.status-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
.status-verified { color: var(--accent); }
.status-verified::before { background: var(--accent); }
.status-needs_confirmation { color: #FF75A6; }
.status-needs_confirmation::before { background: var(--primary); }
.status-code_pending { color: var(--muted); }
.status-code_pending::before { background: rgba(161, 154, 176, 0.45); }

.region-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.card-effect {
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  margin: 0 0 8px;
}
.card-unlock {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 0 12px;
}
.unlock-k {
  color: var(--text);
  font-weight: 600;
}
.card-note {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  margin: 10px 0 0;
}

/* Hero Element: Tactile D-Pad Keycap Strip */
.dpad-strip {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  min-height: 52px;
  padding: 10px 12px;
  margin-top: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.dpad-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 37px;
  height: 30px;
  gap: 3px;
  font-size: 12px;
  font-weight: 700;
  padding: 0 6px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid rgba(251, 191, 73, 0.36);
  border-bottom: 2px solid rgba(251, 191, 73, 0.65);
  color: var(--accent);
}
.dpad-pill[data-dir="UP"] {
  color: #FBBF49;
  border-color: rgba(251, 191, 73, 0.38);
  border-bottom-color: rgba(251, 191, 73, 0.72);
}
.dpad-pill[data-dir="DOWN"] {
  color: #FF75A6;
  border-color: rgba(255, 117, 166, 0.36);
  border-bottom-color: rgba(255, 117, 166, 0.68);
}
.dpad-pill[data-dir="LEFT"] {
  color: #7DD3FC;
  border-color: rgba(125, 211, 252, 0.36);
  border-bottom-color: rgba(125, 211, 252, 0.68);
}
.dpad-pill[data-dir="RIGHT"] {
  color: #6EE7B7;
  border-color: rgba(110, 231, 183, 0.36);
  border-bottom-color: rgba(110, 231, 183, 0.68);
}
.dpad-letter {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.72;
}
@media (min-width: 641px) {
  .dpad-strip:has(.dpad-pill:nth-child(9)) .dpad-pill:nth-child(5),
  .dpad-strip:not(:has(.dpad-pill:nth-child(9))) .dpad-pill:nth-child(4) {
    margin-right: 10px;
  }
  .detail-hero-card .dpad-strip:has(.dpad-pill:nth-child(9)) .dpad-pill:nth-child(5),
  .detail-hero-card .dpad-strip:not(:has(.dpad-pill:nth-child(9))) .dpad-pill:nth-child(4) {
    margin-right: 16px;
  }
}

.seq-pending-mini {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin: auto 0 0;
  padding: 10px 14px;
  background: rgba(10, 9, 15, 0.55);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* Compact Code Pending Rows (Category Pages) */
.pending-block {
  margin-top: 32px;
}
.pending-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.pending-head .subsection-title { margin: 0; }
.pending-list {
  border-top: 1px solid var(--border-strong);
}
.pending-row {
  display: grid;
  grid-template-columns: minmax(200px, 1.3fr) minmax(220px, 1.4fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
}
.pending-row:hover {
  background: rgba(20, 18, 29, 0.65);
}
.pending-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--text);
}
.pending-effect {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.pending-unlock {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.pending-row-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* Category Preview Blocks (Home) */
.cat-preview-block { margin-bottom: 32px; }
.cat-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.cat-section-head .subsection-title { margin: 0; }
.cat-more-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* Safe Code Box */
.code-box, .seq-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.seq-stack {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.seq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.seq-controls, .code-digits-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.shoulder-pill {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(204, 36, 99, 0.14);
  color: #FF8FB8;
  border: 1px solid rgba(204, 36, 99, 0.45);
}
.code-digits {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  background: transparent;
  border: 0;
  padding: 0;
}
.check-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.check-pill:hover { border-color: var(--accent); }
.check-pill[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* Detail Page */
.detail-hero-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.detail-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-title-row .subsection-title {
  margin: 0;
}
.seq-foot {
  display: flex;
  justify-content: flex-start;
  padding-top: 6px;
}
.detail-hero-card .dpad-strip {
  background: transparent;
  border: 0;
  padding: 6px 0 2px;
  gap: 8px;
}
.detail-hero-card .dpad-pill {
  min-width: 56px;
  height: 44px;
  gap: 6px;
  padding: 0 12px;
  border-radius: var(--radius-md);
}
.detail-hero-card .dpad-ico {
  width: 17px;
  height: 17px;
}
.detail-hero-card .dpad-letter {
  font-size: 14px;
}
.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.choice-opt {
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.choice-opt-warn {
  background: linear-gradient(135deg, rgba(204, 36, 99, 0.12), rgba(10, 9, 15, 0.92));
  border-color: rgba(204, 36, 99, 0.4);
  border-left: 3px solid var(--primary);
}
.warn-title {
  color: #FF8FB8;
}

/* Verification Record & Log */
.verify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.verify-head .section-title {
  margin: 0;
}
.verify-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 16px;
  align-items: start;
}
.verify-table {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.verify-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.verify-row:last-child {
  border-bottom: 0;
}
.verify-row dt {
  color: var(--muted);
  font-weight: 600;
}
.verify-row dd {
  margin: 0;
  color: var(--text);
}
.verify-log-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}
.verify-log-title {
  font-size: 19px;
  margin: 0 0 12px;
}
.verify-log-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.verify-log-list li {
  padding-left: 12px;
  border-left: 2px solid var(--accent);
  font-size: 14px;
  line-height: 1.5;
}
.verify-log-date {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2px;
}
.verify-log-text {
  color: var(--muted);
}

/* Verification Record & Log */
.verify-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 16px 0 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.verify-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 16px;
  background: var(--surface);
  font-size: 14px;
}
.verify-row dt {
  color: var(--muted);
  font-weight: 600;
}
.verify-row dd {
  margin: 0;
  color: var(--text);
}
.verify-log-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.verify-log-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.verify-log-date {
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}
.verify-log-note {
  color: var(--muted);
}
.choice-recommended { border-color: var(--accent); }
.choice-opt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Open Below-the-Fold Rhythm (Breaking Card Fatigue) */
.section-block {
  margin-top: 44px;
  margin-bottom: 44px;
}
.open-section {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.split-two-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.split-main, .warning-rail {
  padding: 0;
}
.split-main .section-title,
.warning-rail .section-title {
  font-size: clamp(24px, 2.6vw, 30px);
  margin: 0 0 14px;
}
.panel-intro {
  color: var(--muted);
  max-width: 78ch;
  margin-bottom: 16px;
}
.step-list, .rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.step-list:has(> li:nth-child(3):last-child),
.rule-list:has(> li:nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.step-list {
  counter-reset: howto-step;
}
.step-list li {
  counter-increment: howto-step;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 42px 18px 16px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.step-list li::before {
  content: "0" counter(howto-step);
  position: absolute;
  top: 14px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.rule-list li {
  background: linear-gradient(135deg, rgba(204, 36, 99, 0.11), rgba(20, 18, 29, 0.92));
  border: 1px solid rgba(204, 36, 99, 0.28);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.step-list li strong, .rule-list li strong {
  color: var(--text);
}

/* Hub Links */
.hub-card {
  display: block;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
}
.hub-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}
.hub-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.hub-card span {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

/* Editorial Prose — Full-Width Flush Grid Sections */
.prose-block p {
  max-width: 78ch;
  color: var(--muted);
}
.prose-block p strong, .prose-block li strong { color: var(--text); }
.prose-block h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  margin: 0 0 12px;
}
.prose-block h3 {
  font-size: 19px;
  margin-top: 20px;
  margin-bottom: 8px;
}
.guide-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.guide-card {
  padding: 0;
}
.guide-card + .guide-card {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.guide-card > *:last-child { margin-bottom: 0; }
.guide-card ul, .guide-card ol {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.guide-card ul:has(> li:nth-child(3):last-child),
.guide-card ol:has(> li:nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.guide-card ul > li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(251, 191, 73, 0.65);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.guide-card ol {
  counter-reset: dossier-step;
}
.guide-card ol > li {
  counter-increment: dossier-step;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 42px 18px 16px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.guide-card ol > li::before {
  content: "0" counter(dossier-step);
  position: absolute;
  top: 14px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.legal-prose ul, .legal-prose ol {
  padding-left: 20px;
  margin: 12px 0;
  max-width: 68ch;
}
.legal-prose li {
  margin-bottom: 8px;
  color: var(--muted);
}

@media (min-width: 769px) {
  .cheat-card .card-effect {
    min-height: 2.9em;
  }
  .safe-card .card-top {
    min-height: 48px;
    align-items: flex-start;
  }
}

/* FAQ — Clean Open Accordion */
.faq-section {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.faq-list {
  display: flex;
  flex-direction: column;
  max-width: 780px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq-question {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--text);
}
.faq-answer {
  margin-top: 10px;
  color: var(--muted);
  max-width: 68ch;
}
.faq-answer p { margin: 0; }

/* Engage & Comments — Constrained Reading Width */
.engage-section {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 780px;
}
.engage-bar {
  margin-bottom: 24px;
}
.comment-form, .comment-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 14px;
}
.engage-actions, .form-row, .form-footer, .comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.engage-note {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-grow { flex: 1 1 300px; }
.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.owner-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #ffffff;
}
.comment-time, .comment-to, .comments-empty-hint, .share-feedback, .comment-msg, .empty-msg {
  font-size: 13px;
  color: var(--muted);
}
.comment-replies {
  margin-top: 10px;
  padding-left: 14px;
  border-left: 2px solid var(--border-strong);
}

/* Endings Spoiler */
.options-stack { display: flex; flex-direction: column; gap: 8px; }
.spoiler-details {
  margin-top: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.spoiler-summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.spoiler-body { margin: 10px 0 0; font-size: 14px; }

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: 40px;
  padding-bottom: 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-heading { font-size: 18px; margin-bottom: 10px; }
.footer-desc, .footer-meta { font-size: 14px; color: var(--muted); max-width: 65ch; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

[hidden] { display: none !important; }

@media (max-width: 960px) {
  .systems-grid, .hub-grid, .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split-two-col, .guide-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pending-row {
    grid-template-columns: 1fr auto;
  }
  .pending-unlock {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .primary-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .cheat-grid, .safe-grid, .checker-grid, .detail-meta-grid, .verify-grid, .verify-table,
  .guide-card ul, .guide-card ol,
  .guide-card ul:has(> li:nth-child(3):last-child),
  .guide-card ol:has(> li:nth-child(3):last-child),
  .step-list, .rule-list,
  .step-list:has(> li:nth-child(3):last-child),
  .rule-list:has(> li:nth-child(3):last-child) {
    grid-template-columns: 1fr;
  }
  .tool-controls-sticky {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-container {
    padding-top: 18px;
    padding-bottom: 48px;
  }
  .breadcrumbs {
    margin-bottom: 16px;
  }
  .breadcrumb-list {
    font-size: 12px;
  }
  .breadcrumb-item:nth-child(2) {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }
  .breadcrumb-item:nth-child(2) > a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .systems-grid, .hub-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn-primary, .search-wrap, .field-group {
    width: 100%;
  }
  .tool-controls, .cheat-card, .safe-card, .panel-card {
    padding: 14px 16px;
  }
  .pending-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .verify-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .verify-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .verify-log-item {
    flex-direction: column;
    gap: 4px;
  }
  .dpad-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .dpad-strip:has(.dpad-pill:nth-child(9)) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .dpad-pill, .detail-hero-card .dpad-pill {
    min-width: 0;
    height: 36px;
    padding: 0;
  }
  .dpad-strip .dpad-pill:nth-child(4),
  .dpad-strip .dpad-pill:nth-child(5),
  .detail-hero-card .dpad-strip .dpad-pill:nth-child(4),
  .detail-hero-card .dpad-strip .dpad-pill:nth-child(5) {
    margin-right: 0;
  }
  .dpad-letter {
    display: none;
  }
  .dpad-ico {
    width: 16px;
    height: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}