:root {
  --bg: #1a4d92;
  --bg2: #163f78;
  --panel: #2460ad;
  --panel2: #1b4f96;
  --ink: #ffffff;
  --soft: #e7f2ff;
  --line: rgba(255, 255, 255, 0.22);
  --coral: #ff5b45;
  --gold: #ffc44d;
  --aqua: #3ee0c5;
  --header: 64px;
  --anj: 48px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.hold {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}
html.hold body {
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  overscroll-behavior: none;
}
body {
  background: linear-gradient(165deg, #4b8fe0 0%, #1a4d92 46%, #0c2f62 100%);
  color: var(--ink);
  font-family: "Nunito", "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: calc(var(--anj) + env(safe-area-inset-bottom));
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header);
  background: rgba(14, 42, 86, 0.96);
  border-bottom: 1px solid var(--line);
  z-index: 80;
}
.hbar {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 16px;
}
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a {
  color: var(--soft);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
}
.menu a.active,
.menu a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; text-decoration: none; }
.hright { display: flex; align-items: center; gap: 10px; }
.lang {
  border: 1px solid var(--line);
  color: var(--soft);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
}
.login {
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
}
.login:hover { text-decoration: none; filter: brightness(1.06); }
.layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  padding-top: var(--header);
  min-height: 100vh;
}
.mob { display: none; }
.side {
  grid-column: 1;
  position: sticky;
  top: var(--header);
  height: calc(100vh - var(--header));
  padding: 22px 12px;
  background: rgba(10, 32, 68, 0.35);
  border-right: 1px solid var(--line);
}
.side a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soft);
  font-weight: 700;
  padding: 12px 12px;
  border-radius: 12px;
  margin-bottom: 4px;
}
.side a.active,
.side a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; text-decoration: none; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aqua);
  flex: 0 0 auto;
}
html.hold { overscroll-behavior: none; }
.lic { color: var(--gold); font-weight: 800; font-size: 13px; margin: -4px 0 8px; letter-spacing: 0.2px; }
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--coral);
  padding: 12px 10px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.burger i { display: block; height: 2px; border-radius: 2px; background: #fff; }
main { grid-column: 2; padding: 28px 22px 36px; }
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 440px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 54px 40px;
  background: linear-gradient(90deg, rgba(10, 36, 78, 0.88) 0%, rgba(10, 36, 78, 0.55) 62%, rgba(10, 36, 78, 0.05) 100%);
  min-height: 440px;
}
.tag {
  display: inline-block;
  background: var(--gold);
  color: #1a2d4d;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
h1, h2, h3, h4, button { font-family: "Nunito", "Segoe UI", sans-serif; font-weight: 800; color: #fff; }
h1 { font-size: 44px; line-height: 1.12; margin-bottom: 12px; }
h2 { font-size: 32px; margin-bottom: 8px; }
h3 { font-size: 22px; margin-bottom: 8px; }
.hero p, .lead, .mod p, .content p, .fcol p, td, .sheet p, .note p {
  color: var(--soft);
}
.hero p { font-size: 18px; max-width: 560px; margin-bottom: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.btn {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn.alt {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.notice {
  background: rgba(8, 28, 62, 0.55);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font-size: 15px;
}
.notice a { font-weight: 800; }
.grid12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin: 16px 0 28px;
}
.mod {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  min-height: 180px;
}
.span3 { grid-column: span 3; }
.span4 { grid-column: span 4; }
.span6 { grid-column: span 6; }
.span8 { grid-column: span 8; }
.span12 { grid-column: span 12; }
.markico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: #fff;
}
.markico svg { width: 26px; height: 26px; display: block; }
.cardpic {
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  display: block;
}
.markico.a { background: #ff5b45; }
.markico.b { background: #12315f; color: #3ee0c5; }
.markico.c { background: #ffc44d; color: #1a2d4d; }
.markico.d { background: #1a4d92; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.story h2 { margin-top: 28px; }
.story h2:first-child { margin-top: 0; }
main ul, main ol { margin: 8px 0 14px 18px; color: var(--soft); }
main li { margin-bottom: 6px; }
.stars { color: var(--gold); font-weight: 800; letter-spacing: 1px; margin-bottom: 8px; }
.stars span { color: #fff; letter-spacing: 0; margin-left: 6px; }
.mod .btn { margin-top: 12px; }
.lead { margin-bottom: 8px; font-size: 17px; }
section { margin-bottom: 12px; }
.duo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: center;
  margin: 8px 0 26px;
}
.shot {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.scroll { overflow-x: auto; margin: 14px 0 22px; }
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(8, 30, 66, 0.35);
  border-radius: 14px;
  overflow: hidden;
}
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: #fff; font-size: 13px; letter-spacing: 0.4px; text-transform: uppercase; background: rgba(0, 0, 0, 0.18); }
td { font-size: 15px; }
td strong, .content strong { color: #fff; }
.content ul, .mod ul { margin: 8px 0 0 18px; color: var(--soft); }
.content li, .mod li { margin-bottom: 6px; }
footer { background: #102c56; border-top: 1px solid var(--line); }
.story p { margin: 0 0 14px; font-size: 17px; }
.fgrid { display: grid; grid-template-columns: 1.3fr 0.9fr 1fr 1.15fr 0.9fr; gap: 18px; padding-top: 28px; padding-bottom: 28px; }
.fcol h4 { margin-bottom: 8px; font-size: 16px; }
.fcol a, .fcol li, .fcol p { color: var(--soft); font-size: 15px; }
.fcol ul { list-style: none; }
.fcol li { margin-bottom: 6px; }
.flegal {
  background: var(--gold);
  color: #1a2b4a;
  padding: 18px 22px;
}
.flegal p { color: #1a2b4a; font-size: 15px; font-weight: 800; line-height: 1.5; text-align: center; }
.flegal p + p { margin-top: 10px; font-weight: 700; }
.fcopy { text-align: center; color: var(--soft); padding: 14px 18px; font-size: 14px; line-height: 1.5; }
.rg {
  background: rgba(8, 28, 62, 0.55);
  border: 1px solid var(--line);
  border-left: 5px solid var(--coral);
  border-radius: 16px;
  padding: 16px 16px 8px;
  margin: 8px 0 22px;
}
.rg h2 { font-size: 26px; }
.anj {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #071a38;
  color: #fff;
  border-top: 3px solid var(--gold);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.35);
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  font-size: 13px;
  line-height: 1.25;
}
.anj .age {
  flex: 0 0 auto;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
  border-radius: 8px;
  padding: 4px 7px;
  font-size: 13px;
}
.anj p { color: #fff; margin: 0; }
.anj a { color: var(--gold); font-weight: 800; }
.anj-warn { display: inline; }
.veil {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  display: none;
  width: 100%;
  height: calc(100vh - var(--anj));
  height: calc(100dvh - var(--anj));
  padding: max(16px, env(safe-area-inset-top)) 16px 16px;
  background: rgba(6, 18, 40, 0.78);
  overflow: hidden;
  overscroll-behavior: none;
  box-sizing: border-box;
}
html.hold:not([data-age="oui"]) #gate,
html.hold[data-age="oui"]:not([data-ck]) #cookies {
  display: grid;
  place-items: center;
}
.sheet {
  width: min(520px, 100%);
  max-height: 100%;
  margin: 0;
  justify-self: center;
  align-self: center;
  overflow: auto;
  background: #18488a;
  color: #fff;
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 22px 18px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  touch-action: manipulation;
}
.sheet h2 { font-size: 28px; margin-bottom: 8px; }
#gate .choice,
#cookies .choice {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 16px;
}
#gate .choice button,
#cookies .choice button {
  display: block;
  width: 100%;
  min-height: 56px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  touch-action: manipulation;
}
.choice .yes { background: var(--coral); color: #fff; border: 0; }
.choice .no { background: #0e2f5c; color: #fff; border: 2px solid #b9d7ff; }
@media (max-width: 1000px) {
  .menu, .side { display: none; }
  .burger { display: flex; }
  .layout { grid-template-columns: 1fr; }
  .side { display: none; }
  main { grid-column: 1; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .mob {
    display: none;
    position: fixed;
    top: calc(var(--header) + 6px);
    left: 10px;
    right: 10px;
    z-index: 90;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: #102c56;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
  }
  .mob.open { display: flex; }
  .mob a {
    color: #fff;
    background: #1d4f96;
    border-radius: 10px;
    padding: 12px;
    font-weight: 800;
    font-size: 15px;
  }
  .mob a.active { background: var(--coral); }
  .span3, .span4, .span6, .span8, .span12 { grid-column: span 12; }
  .duo, .fgrid { grid-template-columns: 1fr; }
  .grid12 { gap: 8px; margin: 8px 0 12px; }
  .mod { padding: 12px; min-height: 0; }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .hero { margin-bottom: 12px; }
  .hero, .hero-copy { min-height: 0; }
  .hero-copy { padding: 14px 12px; background: linear-gradient(180deg, rgba(10, 36, 78, 0.28), rgba(10, 36, 78, 0.82)); }
  main { padding: 8px 10px 16px; }
  .fgrid { padding-top: 20px; padding-bottom: 22px; gap: 16px; }
  .fcol h4 { margin-bottom: 8px; }
  .fcol li { margin-bottom: 8px; }
  .flegal { padding: 16px 18px; }
  .fcopy { padding: 14px 18px; }
  .anj {
    align-items: flex-start;
    gap: 8px;
    padding: 7px 14px calc(7px + env(safe-area-inset-bottom));
    font-size: 12.5px;
  }
  .anj-warn { display: block; }
  .anj .age { margin-top: 1px; }
  .shot { height: 160px; }
  th, td { padding: 8px 10px; }
  .notice { padding: 10px 12px; }
  :root { --anj: 74px; }
}
@media (max-width: 420px) {
  :root { --header: 56px; --anj: 86px; }
  .logo { font-size: 12px; gap: 6px; }
  .logo img { width: 30px; height: 30px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .anj { font-size: 12px; padding: 6px 12px calc(6px + env(safe-area-inset-bottom)); }
  .sheet { padding: 18px 16px 16px; }
  .sheet h2 { font-size: 22px; }
  .choice button { min-height: 52px; font-size: 16px; }
}
