body.nb-page {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  color: #112538;
  background:
    radial-gradient(circle at 10% 12%, #b5f2ff 0%, transparent 37%),
    radial-gradient(circle at 85% 2%, #f2d8ff 0%, transparent 39%),
    linear-gradient(180deg, #f2fbff 0%, #e8f5ff 100%);
}

* {
  box-sizing: border-box;
}

.nb-header {
  margin: 1rem auto 0;
  width: min(1260px, 95vw);
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 129, 161, 0.25);
  background: rgba(248, 254, 255, 0.86);
  backdrop-filter: blur(7px);
  padding: 0.6rem 0.9rem;
}

.nb-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #0f3a53;
}

.nb-logo strong {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
}

.nb-logo img {
  width: 42px;
  height: 42px;
}

.nb-toggle {
  display: none;
  border: 1px solid #66acc9;
  width: 42px;
  height: 38px;
  border-radius: 11px;
  background: #ffffff;
  padding: 0.5rem;
}

.nb-toggle span {
  display: block;
  height: 3px;
  margin: 4px 0;
  border-radius: 9px;
  background: #327698;
}

.nb-menu {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.nb-menu a {
  text-decoration: none;
  color: #21536f;
  background: #eef9ff;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}

.nb-menu a:hover {
  border-color: #75c8e6;
}

.nb-main {
  width: min(1280px, 96vw);
  margin: 1rem auto 2.4rem;
}

.nb-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.nb-intro > div,
.nb-chip,
.nb-river article,
.nb-doc,
.nb-play {
  border: 1px solid rgba(82, 147, 189, 0.25);
  border-radius: 26px;
  padding: 1.2rem 1.3rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 26px rgba(74, 126, 170, 0.12);
}

.nb-tag {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  color: #2f7ca0;
}

.nb-intro h1,
.nb-game-area h2,
.nb-river h2,
.nb-doc h1,
.nb-doc h2,
.nb-play h1 {
  font-family: "Playfair Display", serif;
}

.nb-game-area {
  margin-top: 1rem;
  border-radius: 26px;
  background: rgba(248, 253, 255, 0.88);
  border: 1px solid rgba(80, 141, 183, 0.28);
  padding: 1rem;
}

.nb-game-area iframe,
.nb-play iframe {
  width: 100%;
  min-height: 660px;
  border: 0;
  border-radius: 16px;
  background: #000;
}

.nb-river {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nb-play,
.nb-doc {
  width: min(1100px, 94vw);
  margin: 1.3rem auto 2rem;
}

.nb-footer {
  padding: 1.3rem 1rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(75, 146, 183, 0.3);
}

.nb-footer div {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nb-footer a {
  color: #2f7090;
}

.nb-verify {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  background: rgba(14, 29, 47, 0.78);
  padding: 1rem;
}

.nb-verify.on {
  display: grid;
}

.nb-verify-card {
  width: min(470px, 95vw);
  border-radius: 20px;
  padding: 1.2rem;
  border: 1px solid #7ac8e9;
  background: #fbfeff;
}

.nb-mini {
  color: #3f7694;
}

.nb-verify-actions {
  display: flex;
  gap: 0.7rem;
}

.nb-verify-actions button {
  flex: 1;
  border: 0;
  border-radius: 11px;
  font-weight: 700;
  padding: 0.62rem;
}

.nb-verify-actions button[data-nb-consent="yes"] {
  background: #63c6ef;
  color: #06314a;
}

.nb-verify-actions button[data-nb-consent="no"] {
  background: #3a6f90;
  color: #eaf7ff;
}

body.nb-lock {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nb-intro,
  .nb-river {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nb-header {
    grid-template-columns: 1fr auto;
    border-radius: 22px;
  }

  .nb-toggle {
    display: block;
  }

  .nb-menu {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
  }

  .nb-menu.expanded {
    display: flex;
  }

  .nb-game-area iframe,
  .nb-play iframe {
    min-height: 520px;
  }
}
