:root {
  --bg: #D2D6DC;
  --bg2: #C7CCD3;
  --card: #E2E5EA;
  --text: #171B21;
  --muted: #3A4350;
  --accent: #8A3B12;
  --detail: #1F3B57;
  --line: #A3AAB4;
  --dark: #1E2630;
  --dark-text: #ECEFF3;
  --radius: 12px;
  --gap: 12px;
  --container: 1240px;
  --ease: 200ms ease-out;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Rubik', sans-serif;
  font-weight: 400;
  font-size: 17.5px;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--detail); }
a:hover { color: var(--accent); }
h1, h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.18; margin: 0 0 12px; }
h3 { font-family: 'Rubik', sans-serif; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; margin: 0 0 10px; }
h1 { font-size: 42px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }
ul { margin: 0 0 14px 20px; padding: 0; }
li { margin-bottom: 8px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }

.site-header {
  height: 56px;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--detail); }
.age-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font: 700 14px 'Rubik', sans-serif;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}
.age-foot {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 6px;
  border-radius: 4px;
  background: #fff;
  color: var(--dark);
  font: 700 13px 'Rubik', sans-serif;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle-box {
  width: 18px;
  height: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle-box span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--text);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.menu-contact { display: none; }
.segmented-wrap { flex: 1; display: flex; justify-content: center; min-width: 0; }
.segmented {
  position: relative;
  display: inline-flex;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 100%;
}
.segmented::-webkit-scrollbar { display: none; }
.seg-slider {
  position: absolute;
  top: 4px; left: 4px;
  height: calc(100% - 8px);
  background: var(--detail);
  border-radius: 999px;
  transition: transform var(--ease), width var(--ease);
  z-index: 0;
}
.seg-btn {
  position: relative;
  z-index: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font: 500 15.5px 'Rubik', sans-serif;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
a.seg-btn,
a.seg-btn:hover,
a.seg-btn:visited,
a.seg-btn:focus {
  color: var(--text);
  text-decoration: none;
}
.seg-btn.active, .seg-btn[aria-selected="true"] { color: #fff; }
a.seg-btn.active,
a.seg-btn.active:hover,
a.seg-btn[aria-selected="true"] { color: #fff; }
.seg-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font: 500 16px 'Rubik', sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--detail); color: #fff; }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: var(--detail); color: var(--detail); }
.header-cta { white-space: nowrap; }

main { padding: 20px 0 24px; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.panel-intro { color: var(--muted); margin-bottom: 16px; font-size: 1.08em; line-height: 1.75; }
.section-view { display: none; }
.section-view.active { display: block; animation: fadeUp var(--ease); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  height: 100%;
}
.mini-card .icon { font-size: 20px; margin-bottom: 6px; }
.mini-card p { margin: 0 0 10px; color: var(--muted); font-size: 1em; line-height: 1.72; }
.mini-card p:last-child { margin-bottom: 0; }
.mini-card h2 { font-size: 25px; margin-bottom: 8px; }

.warning-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--dark);
  color: var(--dark-text);
  border-radius: 10px;
  margin-bottom: 16px;
}
.warning-bar img { height: 28px; width: auto; }
.warning-bar p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--dark-text); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.age-gate {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px;
  margin-bottom: 16px;
  background: var(--dark);
  color: var(--dark-text);
  border-radius: 10px;
}
.age-mark {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}
.age-gate p { margin: 0 0 12px; color: var(--dark-text); font-size: 17px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.trust-list li { display: flex; align-items: center; gap: 10px; color: var(--dark-text); }
.trust-list img { height: 34px; width: auto; background: #fff; border-radius: 4px; padding: 2px; }

.operator-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.op-head { display: flex; align-items: center; gap: 12px; }
.op-logo { width: 120px; height: 60px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); padding: 4px; }
.op-meta { font-size: 15px; line-height: 1.55; color: var(--muted); }
.rating { font-weight: 700; color: var(--detail); }
.op-card-actions { margin-top: auto; }
.op-card-actions .btn { width: 100%; }

.next-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.next-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--detail);
  font-weight: 500;
  text-decoration: none;
}
.next-link:hover { color: var(--accent); }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.info-list li:last-child { border-bottom: none; }
.info-list strong { color: var(--text); }

.resources a { word-break: break-word; }

.status-footer {
  position: static;
  height: auto;
  background: var(--dark);
  color: var(--dark-text);
  font-size: 13.5px;
  border-top: 1px solid #11161d;
  margin-top: 28px;
}
.status-inner {
  height: auto;
  min-height: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 8px 0 10px;
}
.status-resources {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  line-height: 1.45;
}
.status-left, .status-right { white-space: nowrap; }
.status-center {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.status-center::-webkit-scrollbar { display: none; }
.status-footer a { color: #cfe0f5; text-decoration: none; }
.status-footer a:hover { color: #fff; text-decoration: underline; }
.top-btn {
  background: transparent;
  color: #cfe0f5;
  border: 1px solid #445264;
  border-radius: 6px;
  height: 28px;
  padding: 0 10px;
  font: 500 13px 'Rubik', sans-serif;
  cursor: pointer;
}
.top-btn:hover { color: #fff; border-color: #7b93ad; }

.page-wrap { padding: 20px 0 28px; }
.page-card { margin-top: 16px; }
.notice {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg2);
  color: var(--muted);
}
.notice strong { color: var(--text); }
.legal-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 4px solid var(--accent);
  background: #ece6df;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}
.topic-figure {
  margin: 0 auto 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.topic-photo {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 68vh;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.table-wrap { overflow-x: auto; margin: 0 0 18px; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98em;
  line-height: 1.55;
}
.data-table th,
.data-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.data-table th {
  background: var(--bg2);
  color: var(--text);
  font-weight: 500;
}
.data-table td { background: var(--bg); color: var(--muted); }
.topic-caption { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; text-align: center; max-width: 720px; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .segmented-wrap {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 8px 16px 14px;
    background: var(--bg2);
    border-bottom: 1px solid var(--line);
  }
  .site-header.is-open .segmented-wrap { display: block; }
  .segmented {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    border-radius: 12px;
  }
  .seg-slider { display: none; }
  .seg-btn {
    width: 100%;
    justify-content: flex-start;
    border-radius: 8px;
    padding: 12px 14px;
  }
  .seg-btn.active,
  .seg-btn[aria-selected="true"] { background: var(--detail); }
  .menu-contact {
    display: flex;
    align-items: center;
    margin-top: 6px;
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font: 500 16px 'Rubik', sans-serif;
    text-decoration: none;
  }
  .menu-contact:hover { background: var(--detail); color: #fff; }
}
@media (max-width: 640px) {
  h1 { font-size: 33px; }
  h2 { font-size: 24px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .header-inner { gap: 8px; }
  .logo { font-size: 19px; }
  .segmented-wrap { justify-content: flex-start; }
  .status-center { flex-wrap: wrap; }
  .op-head { flex-direction: column; align-items: flex-start; }
  .op-logo { width: 140px; height: 70px; }
  .age-gate { grid-template-columns: 1fr; }
}