:root {
  --bg: #f3f6f1;
  --card: #ffffff;
  --ink: #1d2a1f;
  --muted: #5d6e60;
  --primary: #2f7d4f;
  --primary-dark: #23603c;
  --accent: #d9a441;
  --border: #dce4da;
  --soft: #e6efe8;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

body.is-embed {
  background: var(--bg);
  min-height: 100vh;
}

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

a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-dark);
}

h1,
h2,
h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 16px;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 22px;
}

p {
  margin: 0 0 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--primary);
}

.btn-primary,
.btn-outline,
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 24px;
  border-radius: var(--radius);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff;
}

.btn-outline,
.btn-action {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-outline:hover,
.btn-action:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-action:focus-visible,
.btn-text:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn-text {
  background: transparent;
  border: 0;
  color: var(--primary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 8px;
  cursor: pointer;
}

.hero-stage-section {
  padding: 24px 0 48px;
}

.hero-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 16px;
}

.hero-heading h1 {
  margin: 0;
}

.hero-lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 60ch;
}

.game-shell {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-lg);
}

.game-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 540px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}

.game-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.game-cover,
.game-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-cover-panel {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 440px;
  width: calc(100% - 32px);
}

.cover-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.btn-play-hero {
  min-height: 48px;
  padding: 12px 32px;
  font-size: 18px;
}

.cover-meta {
  font-size: 14px;
  color: var(--muted);
}

.game-loader {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
  text-align: center;
  padding: 24px;
}

.game-stage[data-gf-state="loading"] .game-cover {
  display: none;
}

.game-stage[data-gf-state="loading"] .game-loader {
  display: flex;
}

.game-stage[data-gf-state="playing"] .game-cover,
.game-stage[data-gf-state="playing"] .game-loader {
  display: none;
}

.loader-balloon {
  animation: nuFloat 1.6s ease-in-out infinite;
}

@keyframes nuFloat {
  0%, 100% { transform: translateY(6px); }
  50% { transform: translateY(-10px); }
}

.loader-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  margin: 0;
  color: var(--ink);
}

.loader-sub {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

.stage-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.stage-bar-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.action-count {
  background: var(--soft);
  color: var(--primary-dark);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

[data-gf-like][data-gf-liked],
[data-gf-like][aria-pressed="true"] {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

[data-gf-like][data-gf-liked] .action-count,
[data-gf-like][aria-pressed="true"] .action-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.share-msg,
.comment-msg {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.install-ios-tip {
  margin: 12px 0 0;
  padding: 12px 16px;
  background: var(--soft);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink);
}

.section {
  padding: 48px 0;
}

.section-head {
  margin-bottom: 24px;
}

.section-sub {
  color: var(--muted);
  max-width: 70ch;
  font-size: 18px;
}

.split-asym {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
}

.split-main p {
  max-width: 70ch;
  font-size: 18px;
}

.gameplay-figure {
  margin: 24px 0 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.gameplay-figure figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.altitude-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.badge-accent,
.mode-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  background: var(--soft);
  color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.altitude-ladder {
  list-style: none;
  margin: 16px 0 0;
  padding: 0 0 0 16px;
  border-left: 3px solid var(--primary);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.zone-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--bg);
}

.zone-highlight {
  background: var(--soft);
  border: 1px solid var(--primary);
}

.zone-top {
  border-left: 4px solid var(--accent);
}

.zone-ft {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.zone-info strong {
  display: block;
  font-size: 16px;
}

.zone-info span {
  font-size: 14px;
  color: var(--muted);
}

.steps-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.step-card {
  display: flex;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  flex: 0 0 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body p {
  margin: 0;
  color: var(--muted);
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mode-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.mode-card p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.prose-shell {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.prose-shell h2 {
  font-size: 28px;
  margin-top: 32px;
}

.prose-shell h2:first-child {
  margin-top: 0;
}

.prose-shell h3 {
  font-size: 22px;
  margin-top: 24px;
}

.prose-shell p,
.prose-shell li {
  max-width: 70ch;
  font-size: 16px;
}

.prose-shell ul,
.prose-shell ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.prose-shell li {
  margin-bottom: 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--primary);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.comments-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.reply-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--soft);
  border-radius: var(--radius);
  font-size: 14px;
}

.comment-form[data-gf-replying] .reply-banner {
  display: flex;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
}

.comment-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comments-list:not([data-gf-empty]) .comments-empty {
  display: none;
}

.comments-empty {
  color: var(--muted);
  margin: 0;
}

.comment-card,
.reply-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.comment-card[data-gf-owner],
.reply-card[data-gf-owner] {
  background: var(--soft);
  border-left: 4px solid var(--primary);
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.comment-time,
.reply-target {
  color: var(--muted);
}

.owner-pill {
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.comment-card:not([data-gf-owner]) .owner-pill,
.reply-card:not([data-gf-owner]) .owner-pill {
  display: none;
}

.comment-text {
  margin: 0 0 8px;
  max-width: 70ch;
}

.comment-replies {
  margin-top: 12px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-replies:empty {
  display: none;
}

.inner-page {
  padding: 32px 0 64px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.inner-header {
  margin-bottom: 24px;
}

.inner-lead,
.legal-date {
  color: var(--muted);
  max-width: 70ch;
  font-size: 18px;
}

.inner-cta {
  margin-top: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.inner-cta h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.inner-cta p {
  margin: 0;
  color: var(--muted);
}

.notfound-section {
  padding: 64px 0;
}

.notfound-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  max-width: 640px;
}

.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand-col {
  max-width: 560px;
}

.footer-brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}

.footer-tagline,
.footer-disclaimer,
.footer-copy {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.footer-nav a:hover {
  color: var(--primary);
}


/* Embedded Noillirk Unlimited Game UI */
.nu-app {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nu-topbar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.nu-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nu-title {
  font-size: 22px;
  margin: 0;
}

.nu-zone-pill {
  background: var(--soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
}

.nu-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nu-tab {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.nu-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.nu-pack-select {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.nu-workspace {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 16px;
  flex: 1;
}

.nu-sky-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.nu-sky-stats {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.nu-stat-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.nu-stat-val {
  font-size: 18px;
  color: var(--ink);
}

.nu-sky-canvas {
  position: relative;
  flex: 1;
  min-height: 320px;
  border-radius: var(--radius);
  background: #dfece5;
  border: 1px solid var(--border);
  overflow: hidden;
}

.nu-markers {
  position: absolute;
  top: 12px;
  bottom: 24px;
  left: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  z-index: 2;
}

.nu-cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
}

.nu-cloud-1 {
  width: 84px;
  height: 24px;
  top: 22%;
  right: 16px;
}

.nu-cloud-2 {
  width: 68px;
  height: 20px;
  top: 52%;
  left: 52px;
}

.nu-rainbow {
  position: absolute;
  left: 24px;
  right: -24px;
  top: 38%;
  height: 120px;
  border-top: 8px solid rgba(217, 164, 65, 0.42);
  border-radius: 50%;
}

.nu-balloon-rig {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: bottom 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}

.nu-forest-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  background: var(--primary);
}

.nu-pilot-strip {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}

.nu-pilot-strip strong {
  color: var(--ink);
}

.nu-board-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.nu-prompt-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.nu-cat-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--primary-dark);
}

.nu-timer-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nu-timer-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  min-width: 36px;
  text-align: right;
}

.nu-timer-track {
  width: 112px;
  height: 8px;
  background: var(--bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.nu-timer-bar {
  height: 100%;
  width: 100%;
  background: var(--primary);
  transition: width 0.25s linear;
}

.nu-timer-bar.is-low {
  background: var(--accent);
}

.nu-prompt-text {
  font-size: 28px;
  margin: 0 0 16px;
}

.nu-answer-form {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.nu-input {
  flex: 1;
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
}

.nu-input:focus {
  border-color: var(--primary);
}

.nu-helper-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.nu-mini-btn {
  min-height: 36px;
  padding: 4px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.nu-mini-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.nu-hint-text {
  font-size: 14px;
  color: var(--muted);
  background: var(--bg);
  padding: 6px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.nu-result-banner {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 12px;
  background: var(--soft);
  color: var(--ink);
  border-left: 4px solid var(--primary);
}

.nu-result-banner.is-miss {
  background: #fdf6e6;
  border-left-color: var(--accent);
}

.nu-tally-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.nu-tally-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.nu-tally-note {
  font-size: 12px;
  color: var(--muted);
}

.nu-survey-list,
.nu-board-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nu-survey-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  font-size: 14px;
}

.nu-survey-row.is-picked {
  border-color: var(--primary);
  background: var(--soft);
  font-weight: 700;
}

.nu-survey-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: rgba(47, 125, 79, 0.14);
  z-index: 0;
}

.nu-survey-row.is-picked .nu-survey-fill {
  background: rgba(47, 125, 79, 0.24);
}

.nu-survey-label,
.nu-survey-pct {
  position: relative;
  z-index: 1;
}

.nu-result-actions,
.nu-sum-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.nu-sum-heading {
  font-size: 48px;
  color: var(--primary);
  margin: 8px 0 4px;
}

.nu-sum-sub {
  color: var(--muted);
  margin: 0 0 16px;
}

.nu-sum-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.nu-sum-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}

.nu-sum-stat span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.nu-sum-stat strong {
  font-size: 18px;
}

.nu-sum-log {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}

.nu-sum-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: var(--bg);
  border-radius: 8px;
}

.nu-copy-msg,
.nu-board-me {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin: 8px 0;
}

.nu-board-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.nu-board-head h2 {
  font-size: 28px;
  margin: 0;
}

.nu-board-scopes {
  display: flex;
  gap: 8px;
}

.nu-nick-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.nu-board-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 14px;
}

.nu-board-row.is-me {
  background: var(--soft);
  border-color: var(--primary);
  font-weight: 700;
}

@media (max-width: 820px) {
  .split-asym,
  .steps-timeline,
  .modes-grid,
  .nu-workspace {
    grid-template-columns: 1fr;
  }

  .nu-sky-canvas {
    min-height: 150px;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

  .site-nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .game-shell {
    padding: 8px;
  }

  .game-stage {
    aspect-ratio: auto;
    min-height: 600px;
  }

  .stage-bar-group {
    width: 100%;
  }

  .btn-play-hero,
  .nu-answer-form .btn-primary,
  .inner-cta .btn-primary {
    width: 100%;
  }

  .nu-answer-form,
  .nu-nick-form {
    flex-direction: column;
  }

  .nu-sum-grid {
    grid-template-columns: 1fr;
  }

  .prose-shell,
  .comments-box {
    padding: 24px 16px;
  }
}
