:root {
  --ink: #14383e;
  --ink-soft: #46666c;
  --teal: #0e8c94;
  --teal-deep: #0a6b72;
  --aqua: #49c6cd;
  --mist: #e9f5f5;
  --sand: #f7f0df;
  --dune: #d9c69c;
  --paper: #ffffff;
  --line: #d5e6e7;
  --danger: #b4452c;
  --ok: #1e7d4f;
  --radius: 14px;
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Public Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-deep); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.pill21 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topline {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
  padding: 6px 12px;
}

.topline strong { color: var(--ink); }

.masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.masthead .bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  white-space: nowrap;
}

.brand svg { width: 32px; height: 32px; flex: none; }

.brand .zone { color: var(--teal); }

.mainnav {
  display: flex;
  gap: 22px;
  margin-left: 28px;
  font-weight: 600;
  font-size: 15px;
}

.mainnav a { color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.mainnav a:hover { color: var(--teal-deep); }

.bar .auth {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 10px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--teal-deep); transform: translateY(-1px); }

.btn.big { font-size: 17px; padding: 14px 30px; }

.btn.quiet {
  background: transparent;
  color: var(--teal-deep);
  border: 1.5px solid var(--line);
}

.btn.quiet:hover { background: var(--mist); }

.linklike {
  background: none;
  border: 0;
  color: var(--teal-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.hello {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lake-hero {
  background:
    radial-gradient(1200px 420px at 70% -80px, rgba(73, 198, 205, 0.25), transparent 65%),
    linear-gradient(180deg, var(--mist) 0%, #ffffff 78%);
  border-bottom: 1px solid var(--line);
}

.lake-hero .inner {
  padding-top: 46px;
  padding-bottom: 30px;
  text-align: center;
}

.hero-flag {
  display: inline-block;
  background: var(--sand);
  border: 1px solid var(--dune);
  color: #7a5f2a;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  margin-bottom: 16px;
}

.lake-hero h1 {
  font-size: clamp(30px, 5.4vw, 52px);
  letter-spacing: -0.02em;
}

.lake-hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.lake-hero .sub {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 2.4vw, 18px);
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-legal {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.section { padding: 40px 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.section-head h2 { font-size: clamp(22px, 3.4vw, 30px); }

.section-head .count { color: var(--ink-soft); font-size: 14px; font-weight: 600; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.game-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(14, 140, 148, 0.18);
}

.game-card .shot { display: block; position: relative; aspect-ratio: 1 / 1; background: var(--mist); }

.game-card .shot img { display: block; width: 100%; height: 100%; object-fit: cover; }

.game-card .shot .go {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 58, 64, 0.45);
  opacity: 0;
  transition: opacity 0.15s ease;
  color: #fff;
  font-weight: 700;
}

.game-card:hover .shot .go { opacity: 1; }

.game-card .meta { display: block; padding: 10px 12px; }

.game-card .meta .title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card .meta .tag { display: block; color: var(--ink-soft); font-size: 12px; margin-top: 2px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.step .num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.step h3 { font-size: 17px; margin-bottom: 6px; }

.step p { color: var(--ink-soft); font-size: 14.5px; }

.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 17px;
  margin: 9px 0;
  background: #fff;
}

.faq summary { font-weight: 700; cursor: pointer; }

.faq details p { margin-top: 9px; color: var(--ink-soft); font-size: 14.5px; }

.law-note {
  background: var(--sand);
  border: 1px solid var(--dune);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 13.5px;
  color: #5c4d28;
}

.law-note strong { color: #463a1d; }

.page-body { padding-top: 36px; padding-bottom: 50px; max-width: 760px; }

.page-body h1 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 6px; }

.page-body .updated { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 22px; }

.page-body h2 { font-size: 20px; margin: 26px 0 8px; }

.page-body p, .page-body li { color: #2c4a50; font-size: 15.5px; }

.page-body ul { padding-left: 22px; margin: 8px 0; }

.page-body li { margin: 4px 0; }

footer {
  background: var(--ink);
  color: #bcd6d9;
  margin-top: 30px;
  font-size: 13.5px;
}

footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding: 34px 0 20px;
}

footer h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }

footer a { color: #bcd6d9; text-decoration: none; display: block; margin: 5px 0; }

footer a:hover { color: #fff; text-decoration: underline; }

footer .fine {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 0 26px;
  font-size: 12.5px;
  color: #93b4b8;
}

footer .fine p { margin: 6px 0; }

.join-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  padding-top: 30px;
  padding-bottom: 50px;
}

.join-pitch h1 { font-size: clamp(24px, 3.6vw, 34px); }

.join-pitch .sub { color: var(--ink-soft); margin-top: 10px; }

.cover-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.cover-strip img {
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
}

.join-perks { margin-top: 18px; list-style: none; }

.join-perks li {
  padding-left: 26px;
  position: relative;
  margin: 8px 0;
  color: #2c4a50;
  font-size: 15px;
}

.join-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--aqua);
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M6.5 12.2 2.3 8l1.4-1.4 2.8 2.8 5.8-5.8L13.7 5z"/></svg>') center / contain no-repeat;
}

.join-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(20, 56, 62, 0.08);
  padding: 24px;
}

.mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--mist);
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 18px;
}

.mode-tabs button {
  border: 0;
  border-radius: 8px;
  padding: 9px 6px;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
}

.mode-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(20, 56, 62, 0.12); }

.field { margin-bottom: 14px; }

.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 5px; }

.field input[type="text"],
.field input[type="email"],
.field input[type="password"] {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
  color: var(--ink);
  background: #fdfefe;
}

.field input:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(73, 198, 205, 0.25);
}

.agree {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 14px 0;
}

.agree input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--teal); }

.form-alert {
  display: none;
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 14px;
  margin-bottom: 14px;
  background: #faeae5;
  border: 1px solid #e5b8a9;
  color: var(--danger);
}

.form-alert.show { display: block; }

.inbox-note { text-align: center; padding: 12px 4px; }

.inbox-note .art {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
}

.inbox-note h2 { font-size: 22px; margin-bottom: 8px; }

.inbox-note p { color: var(--ink-soft); font-size: 14.5px; margin: 6px 0; }

.stage {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #06181b;
  display: none;
  flex-direction: column;
}

.stage.open { display: flex; }

.stage .stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  color: #cfe8ea;
  font-size: 14px;
  gap: 10px;
}

.stage .stage-bar .name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.stage iframe { flex: 1; width: 100%; border: 0; background: #000; }

.stage .shut {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 6px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  flex: none;
}

.stage .shut:hover { background: rgba(255, 255, 255, 0.12); }

.gz-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gz-modal.open { display: flex; }

.gz-modal-veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 34, 38, 0.5);
  backdrop-filter: blur(3px);
}

.gz-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(6, 24, 27, 0.35);
  padding: 26px 24px 24px;
  animation: gzpop 0.16s ease;
}

@keyframes gzpop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.gz-modal-x {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 2px 6px;
}

.gz-modal-x:hover { color: var(--ink); }

.gz-modal-card .inbox-note { padding: 6px 4px; }

dialog.gate {
  border: 0;
  border-radius: var(--radius);
  padding: 26px;
  max-width: 380px;
  width: calc(100vw - 40px);
  box-shadow: 0 24px 60px rgba(6, 24, 27, 0.35);
}

dialog.gate::backdrop { background: rgba(10, 34, 38, 0.5); }

dialog.gate h3 { font-size: 20px; margin-bottom: 8px; }

dialog.gate p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 16px; }

dialog.gate .row { display: flex; gap: 10px; flex-wrap: wrap; }

.notice-page {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 20px 70px;
}

.notice-page .glyph {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mist);
}

.notice-page h1 { font-size: 28px; margin-bottom: 10px; }

.notice-page p { color: var(--ink-soft); margin: 8px 0; }

.notice-page .btn { margin-top: 18px; }

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: var(--mist);
}

.contact-card h3 { font-size: 16px; margin-bottom: 6px; }

.contact-card a { font-weight: 700; }

.help-line {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 18px 0;
}

@media (max-width: 860px) {
  footer .cols { grid-template-columns: 1fr 1fr; }
  .join-layout { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; }
  .join-pitch .sub { display: none; }
  .join-perks { display: none; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .mainnav { display: none; }
  .brand { font-size: 18px; }
  .brand svg { width: 26px; height: 26px; }
  .bar .auth { gap: 8px; }
  .btn { padding: 8px 14px; font-size: 13.5px; }
  .btn.big { font-size: 15px; padding: 12px 22px; }
  .hello { display: none; }
  .lake-hero .inner { padding-top: 28px; padding-bottom: 18px; }
  .lake-hero h1 { font-size: 26px; }
  .lake-hero .sub { font-size: 14.5px; margin-top: 10px; }
  .hero-flag { margin-bottom: 10px; font-size: 12px; padding: 4px 11px; }
  .hero-actions { margin-top: 14px; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-legal { margin-top: 10px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section { padding: 28px 0; }
  .join-pitch h1 { font-size: 22px; }
  .cover-strip { margin-top: 12px; gap: 6px; }
  .join-card { padding: 18px; }
  .contact-cards { grid-template-columns: 1fr; }
  .topline { font-size: 11.5px; padding: 5px 10px; }
}
