:root {
  --bg: #fff8ea;
  --card: #ffffff;
  --text: #2b1e1a;
  --muted: #6b554b;
  --primary: #d6285a;
  --primary-dark: #a81c45;
  --mint: #167954;
  --mint-light: #167954;
  --mint-soft: #e6faf1;
  --sunny: #ffc42e;
  --sunny-soft: #fff5cc;
  --sky: #167954;
  --sky-soft: #e8f7ff;
  --pink-soft: #fff0f4;
  --ink: #2b1e1a;
  --radius: 16px;
  --shadow-1: 0 4px 0 rgba(43, 30, 26, .14);
  --shadow-2: 0 8px 24px rgba(43, 30, 26, .12);
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(43, 30, 26, .06) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

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

a {
  color: var(--mint);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
[data-gf-frame]:focus-visible {
  outline: 3px solid var(--sunny);
  outline-offset: 2px;
}

[hidden] { display: none !important; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

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

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-block: 8px;
}

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

.brand:hover { color: var(--primary); }
.brand-mark { flex: none; line-height: 0; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
}

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

.site-nav > a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 12px;
  transition: background .15s ease;
}

.site-nav > a:hover {
  background: var(--sunny-soft);
  color: var(--ink);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 12px;
  margin-left: 4px;
}

.lang-pill {
  padding: 4px 10px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);

  text-decoration: none;
}

.lang-pill.is-active {
  background: var(--sunny);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

/* First Screen Hero */
.first-screen {
  padding-top: 24px;
  padding-bottom: 32px;
}

.hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.play-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.2;
  color: var(--ink);
}

.play-tag {
  margin: 0;
  max-width: 70ch;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}

.lang-banner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--card);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 3px 0 var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.lang-banner:hover {
  background: var(--sunny);
  color: var(--ink);
  transform: translateY(-1px);
}

/* Game Stage + Desk */
.play-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: stretch;
}

.stage-shell {
  background: var(--mint-light);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-2);
}

.stage-lintel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 10px;
}

.lintel-awning {
  width: 56px;
  height: 16px;
  border-radius: 6px;
  border: 2px solid var(--ink);
  background: repeating-linear-gradient(
    90deg,
    var(--primary) 0 8px,
    #ffffff 8px 16px
  );
}

.lintel-sign {
  padding: 2px 14px;
  background: var(--sunny);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.lintel-lights {
  display: flex;
  gap: 6px;
}

.lintel-lights i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--sunny);
}

.lintel-lights i:nth-child(2) { background: var(--sky); }
.lintel-lights i:nth-child(3) { background: var(--primary); }

.stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
}

.stage iframe,
.cover,
.loader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cover {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
}

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

.cover-cta {

  position: relative;
  z-index: 1;
}

/* Tactile Cartoon Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 14px;
  border: 2.5px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: transform .1s ease, box-shadow .1s ease, background .15s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }

.btn-play {
  min-height: 52px;
  padding: 12px 32px;
  font-size: 20px;
  background: var(--primary);
  color: #ffffff;
}

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

.play-tri {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sunny);
  color: var(--ink);
  font-size: 12px;
  border: 2px solid var(--ink);
}

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

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

.btn-mint {
  background: var(--mint);
  color: #ffffff;
}

.btn-mint:hover { background: var(--ink); color: #ffffff; }

.btn-sunny {
  background: var(--sunny);
  color: var(--ink);
}

.btn-sunny:hover { background: var(--sunny); color: var(--ink); }

.btn-sky {
  background: var(--sky-soft);
  color: var(--ink);
}

.btn-sky:hover { background: var(--sunny-soft); color: var(--ink); }

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

.btn-text {
  background: none;
  border: 0;
  padding: 6px 0;
  color: var(--mint);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

/* Loader */
.loader {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--mint);
  color: #ffffff;
  text-align: center;
  padding: 24px;
}

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

.loader p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}

.loader-house {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.loader-sign {
  width: 36px;
  height: 12px;
  border-radius: 4px;
  background: var(--sunny);
  border: 2px solid var(--ink);
  animation: bob 1s ease-in-out infinite;
}

.loader-floor {
  display: block;
  height: 16px;
  border-radius: 6px;
  background: #fff8ea;

  border: 2px solid var(--ink);
  animation: floor-pop 1.1s ease-in-out infinite;
}

.loader-floor:nth-child(2) { width: 48px; animation-delay: 0s; }
.loader-floor:nth-child(3) { width: 60px; animation-delay: .15s; }
.loader-floor:nth-child(4) { width: 72px; animation-delay: .3s; }

@keyframes floor-pop {
  0%, 100% { opacity: .55; transform: scaleX(.95); }
  50% { opacity: 1; transform: scaleX(1.03); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Front Desk Sidebar */
.desk {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.desk-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: var(--sunny);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
}

.desk-lead {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.desk-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.desk-facts li {
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  background: var(--mint-soft);
}

.desk-facts li:nth-child(2) { background: var(--sky-soft); }
.desk-facts li:nth-child(3) { background: var(--pink-soft); }

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.actions > .btn { width: 100%; }

.actions-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.share-msg {
  font-size: 14px;
  font-weight: 700;
  color: var(--mint);
}

/* Quick Jump Pill Bar */
.quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.q-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 3px 0 rgba(43, 30, 26, .16);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.q-pill:hover { transform: translateY(-1px); color: var(--ink); }
.q-tone-mint { background: var(--mint-soft); }
.q-tone-sunny { background: var(--sunny-soft); }
.q-tone-sky { background: var(--sky-soft); }
.q-tone-pink { background: var(--pink-soft); }

/* Content Sections */
.doc { padding-block: 32px 48px; }
.block { margin-bottom: 48px; }
.block:last-child { margin-bottom: 0; }

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

.pill-tag {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 8px;
  border: 2px solid var(--ink);

  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.tag-mint { background: var(--mint-soft); }
.tag-sunny { background: var(--sunny); }
.tag-sky { background: var(--sky-soft); }
.tag-pink { background: var(--pink-soft); }

.doc h1,
.doc h2,
.doc h3,
.doc h4,
.empty-room h1 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.doc h1, .empty-room h1 { font-size: 36px; margin: 0 0 16px; }
.doc h2 { font-size: 28px; margin: 0 0 12px; }
.doc h3 { font-size: 22px; margin: 0 0 8px; }
.doc h4 { font-size: 18px; margin: 0 0 6px; }

.doc p,
.doc li {
  max-width: 70ch;
  margin: 0 0 14px;
}

/* Guide Cards Grid */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  color: var(--ink);
  text-decoration: none;
  transition: transform .12s ease;
}

.guide-card:hover { transform: translateY(-3px); color: var(--ink); }
.guide-card.tone-mint { background: var(--mint-soft); }
.guide-card.tone-sunny { background: var(--sunny-soft); }
.guide-card.tone-sky { background: var(--sky-soft); }
.guide-card.tone-pink { background: var(--pink-soft); }

.guide-ico { font-size: 28px; line-height: 1; }
.guide-card h3 { font-size: 18px; margin: 0; }
.guide-card p { font-size: 14px; color: var(--muted); margin: 0; max-width: none; }
.guide-go { margin-top: auto; font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--primary); }

/* Interactive Desk Bento */
.ref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.ref-card {
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 20px;
}

.ref-card.tone-sunny { background: var(--sunny-soft); }
.ref-card.tone-mint { background: var(--mint-soft); }
.ref-card.tone-sky { background: var(--sky-soft); }

.field {
  display: grid;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 10px 14px;
  font: 600 16px/1.5 var(--font-body);
  color: var(--ink);
  background: #ffffff;
}

.calc-out {
  margin-top: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
}

.card-foot-link { margin: 12px 0 0; font-size: 14px; }

.miles {
  margin: 0;
  padding-left: 20px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.miles li {
  max-width: none;
  margin: 0;
  font-size: 14px;
}

/* Glossary Compact 3-col Grid */
.gloss-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.gloss-head p { margin: 0; }
.gloss-filter { min-width: 240px; flex: 0 1 320px; }

.gloss-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.term-card {
  background: #ffffff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
}

.term-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.term-card h4 { font-size: 16px; margin: 0; color: var(--ink); }

.term-aka {
  padding: 2px 8px;
  background: var(--sunny-soft);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.term-card p { margin: 0; font-size: 14px; color: var(--muted); max-width: none; }
.gloss-empty { margin: 12px 0 0; font-weight: 700; color: var(--primary); }

/* About Split Band */
.about-band {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 28px;
}

.about-split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: start;
}

.callout-box {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--pink-soft);
  border: 2px solid var(--ink);
  border-radius: 14px;
}

.callout-box h2 { font-size: 20px; margin: 0 0 8px; }
.callout-box p { margin: 0; font-size: 15px; }

.shot { margin: 0 0 16px; }
.shot img {
  width: 100%;
  border-radius: 14px;
  border: 2.5px solid var(--ink);
}

.dossier {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.dossier div {
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 10px 12px;
}

.dossier dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  color: var(--mint);
  margin: 0 0 2px;
}

.dossier dd { margin: 0; font-size: 14px; font-weight: 700; }

/* How to Play 2x2 Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  counter-reset: step;
}

.steps li {
  max-width: none;
  margin: 0;
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 20px 20px 20px 68px;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 12px;

  border: 2px solid var(--ink);
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li:nth-child(2)::before { background: var(--sunny); color: var(--ink); }
.steps li:nth-child(3)::before { background: var(--mint); color: #ffffff; }
.steps li:nth-child(4)::before { background: var(--sky); color: #ffffff; }

.steps p { margin: 0; font-size: 15px; }
.section-close { font-weight: 600; }

/* Tables */
.tables-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.table-card {
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 20px;
}

.table-wrap {
  overflow-x: auto;
  margin: 12px 0 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #ffffff;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1.5px solid rgba(43, 30, 26, .16);
  vertical-align: top;
}

.table-wrap .num { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }

.table-wrap thead th {
  background: var(--sunny-soft);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}

.table-wrap tbody tr:nth-child(even) { background: rgba(255, 248, 234, .55); }
.table-wrap tr:last-child th,
.table-wrap tr:last-child td { border-bottom: 0; }

.payback-chip {
  display: inline-block;
  padding: 2px 10px;
  background: var(--mint-soft);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.section-note { margin: 16px 0 32px; font-size: 15px; color: var(--muted); }
.sub-head { margin-bottom: 16px; }

/* Tips Bento */
.tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.tip-card {
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-top: 6px solid var(--mint);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 18px;
}

.tip-card:nth-child(2n) { border-top-color: var(--primary); }
.tip-card:nth-child(3n) { border-top-color: var(--sunny); }
.tip-card:nth-child(4n) { border-top-color: var(--sky); }
.tip-card p { margin: 0; font-size: 15px; max-width: none; }

.controls-banner {
  background: var(--sky-soft);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px;
}

.controls-banner p:last-child { margin-bottom: 0; }

/* FAQ Accordions */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq details,
.prose-body details {
  background: var(--card);
  border: 2.5px solid var(--ink);

  border-radius: var(--radius);
  box-shadow: 0 3px 0 rgba(43, 30, 26, .12);
  padding: 16px 20px;
  margin-bottom: 10px;
}

.faq summary,
.prose-body summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
}

.faq details p,
.prose-body details p {
  margin: 10px 0 0;
  font-size: 15px;
}

/* Comments Bulletin Board */
.board { padding-bottom: 56px; }

.board-shell {
  background: var(--sunny-soft);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 28px;
}

.board-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.note-form {
  display: grid;
  gap: 14px;
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px;
}

.form-msg { margin: 0; font-size: 14px; font-weight: 700; color: var(--mint); }
.note-list { display: grid; gap: 14px; }

.note-list[data-gf-empty]::before {
  content: "The notice board is open! Leave the first landlord note.";
  display: block;
  padding: 20px;
  background: var(--card);
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 600;
}

.note {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 16px;
}

.note[data-gf-owner] { background: var(--mint-soft); }

.note-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  margin-bottom: 6px;
  font-size: 14px;
}

.note-head time { color: var(--muted); }

.note-owner {
  display: none;
  background: var(--mint);
  color: #ffffff;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 800;
}

[data-gf-owner] > .note-head .note-owner,
.note-head [data-gf-c-owner]:not(:empty) { display: inline-block; }

.note p { margin: 0 0 8px; }
.note-reply { margin-top: 10px; background: var(--bg); }
.note-replies { margin-top: 8px; }

/* Inner Article Page */
.page-sheet {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 32px;
  margin-block: 24px 48px;
}

.page-hero {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 2.5px dashed rgba(43, 30, 26, .2);
}

.page-lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 16px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.crumbs > * + *::before {
  content: "›";
  margin-right: 6px;
  color: var(--primary);
}

.prose-body h2 {
  margin: 32px 0 12px;
  padding-top: 16px;
  border-top: 2px solid var(--bg);
}

.prose-body h3 {
  margin: 22px 0 8px;
  color: var(--mint);
}

.prose-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  border: 2px solid var(--ink);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.prose-body th,
.prose-body td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1.5px solid rgba(43, 30, 26, .16);
}

.prose-body thead th {
  background: var(--sunny-soft);
  font-family: var(--font-display);
  font-weight: 800;
}

.prose-body blockquote {
  margin: 16px 0;
  padding: 14px 18px;
  background: var(--mint-soft);
  border: 2px solid var(--ink);
  border-left: 6px solid var(--mint);
  border-radius: 12px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--mint);
  color: #ffffff;
  border-top: 3px solid var(--ink);
  padding: 40px 0;
}

.foot-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.foot-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  color: var(--sunny);
}

.foot-tag,
.foot-copy {
  margin: 0;
  font-size: 14px;
  color: var(--mint-soft);
  max-width: 70ch;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.foot-nav a {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.foot-nav a:hover { color: var(--sunny); }

.empty-room { padding-block: 64px; }

/* Responsive */
@media (max-width: 960px) {
  .play-grid,
  .about-split,
  .board-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .gloss-grid,
  .tips { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 24px); }
  .play-title, .doc h1, .empty-room h1 { font-size: 28px; }
  .head-row { flex-wrap: wrap; }
  .ref-grid,
  .gloss-grid,
  .steps,
  .tips,
  .guide-grid,
  .miles,
  .dossier { grid-template-columns: 1fr; }
  .stage { aspect-ratio: 4 / 3; }
  .btn-play { width: 100%; font-size: 18px; padding: 12px 20px; }
  .first-screen { padding-top: 16px; }
  .about-band, .board-shell, .page-sheet { padding: 18px; }
  .prose-body table { display: block; overflow-x: auto; }
}


.stage-col { display: flex; flex-direction: column; gap: 8px; }
.stage-attrib { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.stage-attrib a { color: var(--mint); }
.cheat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.foot-id { padding-top: 8px; border-top: 1px dashed rgba(255,255,255,.35); }
.foot-label { font-family: var(--font-display); font-weight: 800; color: var(--sunny); }
@media (max-width: 960px) { .cheat-grid { grid-template-columns: 1fr; } }


/* 4-Tab Kost Companion & Kalkulator */
.tool-shell, .kalk-box {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 20px;
}
.tool-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 2.5px dashed rgba(43,30,26,.18);
}
.tab-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tab-btn {
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}
.tab-btn.is-active { background: var(--sunny); box-shadow: 0 3px 0 var(--ink); }
.cash-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--mint-soft);
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
}
.cash-pill input {
  width: 120px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 4px 8px;
  font: 700 14px var(--font-body);
  background: #ffffff;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.panel-desc { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip-btn {
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--sky-soft);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.chip-btn:hover { background: var(--sunny-soft); }
.nb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nb-card {
  background: var(--bg);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nb-card.is-best { background: var(--mint-soft); box-shadow: 0 4px 0 var(--ink); }
.nb-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; }
.nb-badge { padding: 2px 8px; background: var(--sunny); border: 1.5px solid var(--ink); border-radius: 8px; }
.nb-pay { font-variant-numeric: tabular-nums; color: var(--muted); }
.nb-card h4 { margin: 0; font-size: 18px; }
.nb-kv { margin: 0; display: grid; gap: 4px; font-size: 14px; font-variant-numeric: tabular-nums; }
.nb-kv > div { display: flex; justify-content: space-between; gap: 8px; }
.nb-kv dt { color: var(--muted); font-weight: 600; }
.nb-kv dd { margin: 0; font-weight: 800; }
.nb-note { margin: 0; font-size: 13px; color: var(--muted); }
.nb-foot { margin-top: auto; padding-top: 8px; border-top: 1.5px dashed rgba(43,30,26,.2); font-family: var(--font-display); font-size: 14px; font-weight: 800; }
.nb-foot.is-ok, .ok-txt { color: var(--mint); font-style: normal; }
.nb-foot.is-wait { color: var(--muted); }
.roi-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.roi-inputs .calc-out { grid-column: 1 / -1; margin-top: 0; }
.miles-check { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mile-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; background: var(--bg); border: 2px solid var(--ink); border-radius: 12px; cursor: pointer; font-size: 14px; }
.mile-row input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--mint); }
.nb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.nb-col { padding: 16px; border: 2px solid var(--ink); border-radius: 14px; background: var(--bg); }
.nb-col-ok { background: var(--mint-soft); }
.nb-col h4 { margin: 0 0 10px; }
.nb-row { padding: 8px 0; border-bottom: 1px dashed rgba(43,30,26,.18); font-size: 14px; }
.nb-row:last-child { border-bottom: 0; }
.nb-meta { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .nb-grid, .roi-inputs, .miles-check, .nb-split { grid-template-columns: 1fr; } }
