:root {
  --ink: #2a1d12;
  --ink-soft: #5a4330;
  --cream: #e8dcc0;
  --paper: #f4e4c2;
  --gold: #f4b728;
  --yolk: #e2b84a;
  --yolk-deep: #c4922c;
  --wattle: #b43328;
  --kraft: #c49a62;
  --kraft-deep: #8d6840;
  --paper-old: #ead2a8;
  --paper-light: #f4e4c2;
  --hole: #1a120c;
  --wait: #cbb892;
  --wait-ink: #6a5640;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body.home,
body.play {
  overflow-x: hidden;
}

a {
  color: var(--ink);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 40;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  flex-wrap: wrap;
  padding: 6px 14px;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}

.brand {
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  transform: rotate(-2deg);
}

.tagline {
  font-family: "Klee One", serif;
  font-size: 12px;
  color: var(--ink-soft);
  transform: rotate(1deg);
}

.topbar nav {
  display: flex;
  gap: 12px;
  font-family: "Klee One", serif;
  font-size: 14px;
}

.topbar nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.home .topbar nav a[href="#paper"],
.topbar nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
}

.wl-btn {
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--ink);
  padding: 5px 14px 4px;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
}

.wl-btn.closed {
  background: var(--wait);
  color: var(--wait-ink);
  box-shadow: none;
}

.wl-btn.wobble {
  animation: wob 1.6s ease-in-out infinite;
}

@keyframes wob {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

.page {
  max-width: 820px;
  margin: 0 auto;
  padding: 30px 18px 70px;
}

#hero-title {
  margin: 0;
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: clamp(40px, 8vw, 74px);
  line-height: 0.94;
  transform: rotate(-1.5deg);
}

.hero-row {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.portrait {
  margin: 0;
  background: var(--paper);
  border: 3px solid var(--ink);
  padding: 8px;
  transform: rotate(-2deg);
  box-shadow: 6px 6px 0 rgba(42, 29, 18, 0.3);
}

.portrait svg {
  width: 200px;
  height: auto;
  overflow: visible;
  display: block;
}

.portrait figcaption {
  margin: 6px 0 0;
  font-family: "Klee One", serif;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
}

.pitch {
  flex: 1;
  min-width: 280px;
}

.pitch p {
  margin: 0 0 14px;
  font-family: "Klee One", serif;
  font-size: 20px;
  line-height: 1.5;
  transform: rotate(0.5deg);
}

.punch {
  color: var(--wattle);
}

.hero-wl {
  display: block;
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: clamp(26px, 4.5vw, 38px);
  text-align: center;
  color: var(--ink);
  background: var(--gold);
  border: 4px solid var(--ink);
  padding: 22px 10px 17px;
  text-decoration: none;
  box-shadow: 9px 9px 0 var(--ink);
  transform: rotate(-1deg);
}

.pitch .hero-note {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
  text-align: center;
  transform: none;
}

.hero-note .seat-line {
  display: block;
  margin-top: 4px;
}

.cut {
  margin-top: 44px;
  border-top: 4px dashed var(--ink);
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  scroll-margin-top: 90px;
  font-family: "Klee One", serif;
  font-size: 14px;
  color: var(--ink-soft);
}

.whitepaper {
  background: var(--paper);
  border: 3px solid var(--ink);
  padding: clamp(18px, 4vw, 28px);
  margin-top: 20px;
  transform: rotate(-0.4deg);
  box-shadow: 8px 8px 0 rgba(42, 29, 18, 0.25);
}

.whitepaper h2 {
  margin: 0;
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: clamp(28px, 6vw, 40px);
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

.whitepaper p {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.75;
  text-wrap: pretty;
}

.whitepaper p + p {
  margin-top: 14px;
}

.loop {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  flex-wrap: wrap;
}

.loop span {
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: 22px;
  background: var(--yolk);
  border: 3px solid var(--ink);
  padding: 10px 18px 8px;
}

.loop span:nth-child(1) {
  transform: rotate(-2deg);
}

.loop span:nth-child(3) {
  transform: rotate(1.5deg);
}

.loop span:nth-child(5) {
  transform: rotate(-1deg);
}

.loop b {
  font-size: 26px;
  font-weight: 400;
}

.loop i {
  font-family: "Klee One", serif;
  font-size: 16px;
  font-style: normal;
  color: var(--wattle);
  transform: rotate(2deg);
}

.zec {
  background: var(--gold);
  padding: 0 4px;
}

.paper-end {
  margin: 20px 0 0;
  font-family: "Klee One", serif;
  font-size: 15px;
  color: var(--ink-soft);
}

.board {
  margin-top: 36px;
  background: var(--ink);
  border: 4px solid var(--ink);
  padding: clamp(20px, 4vw, 30px);
  transform: rotate(0.6deg);
  scroll-margin-top: 100px;
}

.board h2 {
  margin: 0;
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: clamp(26px, 5vw, 34px);
  color: var(--paper);
}

.board-lead {
  margin: 6px 0 0;
  font-family: "Klee One", serif;
  font-size: 16px;
  color: #e0c79c;
}

.steps {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.card {
  flex: 1;
  min-width: 280px;
  background: var(--paper);
  border: 3px solid var(--paper);
  padding: 18px;
}

.tilt-left {
  transform: rotate(-0.8deg);
}

.tilt-right {
  transform: rotate(0.7deg);
}

.step-mark {
  margin: 0;
  font-family: "Klee One", serif;
  font-size: 14px;
  color: var(--ink-soft);
}

.card h3 {
  margin: 2px 0 0;
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: 24px;
}

.card p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.tasks {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.tasks label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid var(--ink);
  padding: 11px 12px;
  font-family: "Klee One", serif;
  font-size: 16px;
  cursor: pointer;
  color: var(--ink);
}

.tasks input {
  width: 20px;
  height: 20px;
  accent-color: var(--wattle);
}

#write-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.handle {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--ink);
}

.handle span {
  padding: 0 10px;
  font-family: "Klee One", serif;
  font-size: 20px;
  color: var(--ink-soft);
}

.handle input {
  flex: 1;
  min-width: 0;
  font: 17px "Zen Kaku Gothic New", sans-serif;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
  padding: 12px 12px 12px 0;
}

.handle.pale {
  border-color: var(--paper);
  background: var(--paper);
}

.handle.pale span {
  padding: 0 8px;
  font-size: 17px;
}

.handle.pale input {
  width: 150px;
  flex: 0 1 150px;
  font-size: 16px;
  padding: 9px 10px 9px 0;
}

#write-btn {
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: 22px;
  border: 3px solid var(--ink);
  padding: 15px 10px 12px;
  text-align: center;
  color: var(--wait-ink);
  background: var(--wait);
  box-shadow: none;
  cursor: not-allowed;
}

#write-btn.ready {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
}

.write-msg {
  margin: 0;
  font-family: "Klee One", serif;
  font-size: 16px;
  color: var(--wattle);
  min-height: 22px;
}

.lookup {
  margin-top: 20px;
  background: #3a2718;
  border: 2px dashed #bfa07a;
  padding: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.lookup p {
  margin: 0;
  font-family: "Klee One", serif;
  font-size: 17px;
  color: var(--paper);
}

.lookup button {
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  background: var(--yolk);
  border: 2px solid var(--ink);
  padding: 10px 18px 8px;
  box-shadow: 3px 3px 0 #bfa07a;
  cursor: pointer;
}

.check-msg {
  margin: 0;
  font-family: "Klee One", serif;
  font-size: 16px;
  color: var(--yolk);
}

.colophon {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 4px dashed var(--ink);
  padding-top: 10px;
  font-family: "Klee One", serif;
  font-size: 14px;
  color: var(--ink-soft);
}

.play .yard {
  display: grid;
  place-items: center;
  padding: 16px 12px 40px;
}

.sheet {
  width: min(420px, 100%);
  background:
    linear-gradient(90deg, rgba(80, 48, 20, 0.18), transparent 8% 92%, rgba(80, 48, 20, 0.16)),
    repeating-linear-gradient(
      180deg,
      transparent,
      transparent 13px,
      rgba(90, 58, 28, 0.07) 13px,
      rgba(90, 58, 28, 0.07) 14px
    ),
    #c9a36c;
  border: 2px solid #4a3018;
  clip-path: polygon(3% 0, 97% 1%, 100% 4%, 99% 97%, 96% 100%, 4% 99%, 0 96%, 1% 3%);
  box-shadow: 0 22px 0 -14px #1a1008;
  padding: 18px 20px 16px;
  position: relative;
}

.sheet::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(42, 29, 18, 0.22);
  pointer-events: none;
}

.mast {
  text-align: center;
  padding: 0 8px 8px;
}

.mast-mark {
  margin: 0;
  font-family: "Klee One", serif;
  font-size: 13px;
  color: var(--ink-soft);
}

.sheet h1 {
  margin: 2px 0 0;
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: 42px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.mast-line {
  margin: 10px auto 0;
  max-width: 22em;
  color: var(--ink-soft);
  font-size: 15px;
}

.coop {
  margin: 8px 0 4px;
  text-align: center;
}

.chikn {
  width: min(260px, 78%);
  height: auto;
  overflow: visible;
}

.shadow {
  fill: rgba(42, 29, 18, 0.28);
}

.legs path {
  fill: none;
  stroke: #c4782a;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.body {
  fill: var(--yolk);
  stroke: var(--ink);
  stroke-width: 3;
}

.wing {
  fill: var(--yolk-deep);
  stroke: var(--ink);
  stroke-width: 3;
}

.tail {
  fill: #d9a33a;
  stroke: var(--ink);
  stroke-width: 3;
}

.tuft path {
  fill: none;
  stroke: var(--yolk-deep);
  stroke-width: 4;
  stroke-linecap: round;
}

.bag-body {
  fill: #b78a4e;
  stroke: var(--ink);
  stroke-width: 3.4;
}

.bag-rim,
.bag-side {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
}

.bag-side {
  fill: #9a703c;
}

.hole {
  fill: var(--hole);
}

.rip {
  fill: #d7b27a;
  stroke: var(--ink);
  stroke-width: 2.4;
}

.pupil {
  fill: #f0d9a4;
}

.beak {
  fill: #e0872a;
  stroke: var(--ink);
  stroke-width: 2.2;
}

.scribble {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  opacity: 0.35;
}

.name-tag {
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  margin-top: -6px;
  padding: 6px 14px 7px;
  background: var(--paper-light);
  border: 1px solid var(--ink);
  font-family: "Klee One", serif;
  transform: rotate(-1.5deg);
  box-shadow: 2px 3px 0 var(--ink);
}

.name-tag #chikn-id {
  color: var(--ink-soft);
}

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

.stat {
  background: var(--paper-light);
  border: 1px solid rgba(42, 29, 18, 0.55);
  padding: 10px 12px 8px;
}

.stat.wide {
  grid-column: span 2;
}

.stat span {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
}

.stat strong {
  display: block;
  margin-top: 2px;
  font-family: "Klee One", serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
}

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

.actions button {
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  background: #e6c36a;
  border: 1px solid var(--ink);
  padding: 13px 10px 11px;
  cursor: pointer;
  box-shadow: 2px 3px 0 var(--ink);
  transform: rotate(-0.6deg);
}

.actions button + button {
  transform: rotate(0.8deg);
  background: #efd8a0;
}

.actions button:hover {
  background: #f0cc72;
}

.actions button:disabled {
  cursor: not-allowed;
  background: var(--wait);
  color: var(--wait-ink);
  box-shadow: none;
}

.hint {
  margin: 10px 8px 0;
  min-height: 1.55em;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.sheet.claimed .bag-body {
  fill: #c9a06a;
}

.sheet.grown .name-tag {
  box-shadow: 3px 4px 0 var(--wattle);
}

.roost-mark {
  margin: 20px 4px 0;
  font-family: "Klee One", serif;
  font-size: 13px;
  color: var(--ink-soft);
}

.roost-mark + .ledger {
  margin-top: 8px;
}

/* ---------- whitepaper page ---------- */

body.paper {
  background: var(--cream);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", system-ui, sans-serif;
  overflow-x: hidden;
}

.paper-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 26px 16px 70px;
}

.doc {
  background: var(--paper);
  border: 3px solid var(--ink);
  padding: clamp(18px, 4vw, 34px);
  box-shadow: 8px 8px 0 rgba(42, 29, 18, 0.25);
  transform: rotate(-0.3deg);
  scroll-margin-top: 64px;
}

.doc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 3px dashed var(--ink);
}

.doc-kicker {
  margin: 0;
  font-family: "Klee One", serif;
  font-size: 15px;
  color: var(--ink-soft);
  transform: rotate(-1deg);
}

.doc h1 {
  margin: 0;
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: clamp(40px, 8vw, 64px);
  line-height: 0.95;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  transform: rotate(-1.2deg);
}

.doc-meta {
  margin: 14px 0 0;
  font-family: "Klee One", serif;
  font-size: 14px;
  color: var(--ink-soft);
}

.stamp {
  flex: none;
  width: 92px;
  height: auto;
  overflow: visible;
  transform: rotate(6deg);
}

.doc section {
  margin-top: 34px;
  scroll-margin-top: 70px;
}

.doc h2 {
  margin: 0;
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: clamp(24px, 5vw, 32px);
  line-height: 1.1;
}

.doc h2 .num {
  display: inline-block;
  min-width: 2.1em;
  color: var(--wattle);
  transform: rotate(-3deg);
}

.doc h3 {
  margin: 20px 0 0;
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: 20px;
}

.doc p,
.doc li {
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}

.doc p {
  margin: 12px 0 0;
}

.doc .lead {
  font-family: "Klee One", serif;
  font-size: 22px;
  line-height: 1.45;
  transform: rotate(0.3deg);
}

.doc ul,
.doc ol {
  margin: 12px 0 0;
  padding-left: 1.3em;
}

.doc li + li {
  margin-top: 6px;
}

.doc code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  background: var(--paper-old);
  padding: 1px 5px;
  border: 1px solid rgba(42, 29, 18, 0.35);
}

.formula {
  margin: 12px 0 0;
  padding: 12px 16px;
  overflow-x: auto;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 15px;
  line-height: 1.6;
  background: var(--paper-old);
  border: 2px dashed var(--ink);
  transform: rotate(-0.4deg);
}

.wp-figure {
  margin: 26px 0 0;
}

.wp-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(42, 29, 18, 0.25);
  transform: rotate(0.4deg);
}

.wp-figure figcaption {
  margin: 12px 0 0;
  font-family: "Klee One", serif;
  font-size: 15px;
  color: var(--ink-soft);
  text-align: center;
}

.grid {
  width: 100%;
  margin: 14px 0 0;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
  border: 2px solid var(--ink);
}

.grid th,
.grid td {
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(42, 29, 18, 0.35);
  line-height: 1.5;
}

.grid th {
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: 15px;
  background: var(--yolk);
  border-bottom: 2px solid var(--ink);
}

.grid td + td,
.grid th + th {
  border-left: 1px solid rgba(42, 29, 18, 0.25);
}

.grid tbody tr:last-child td {
  border-bottom: 0;
}

.doc .note {
  font-family: "Klee One", serif;
  font-size: 15px;
  color: var(--ink-soft);
}

.rules {
  list-style: none;
  padding: 0;
  counter-reset: rule;
  display: grid;
  gap: 12px;
}

.rules li {
  counter-increment: rule;
  position: relative;
  padding: 14px 16px 12px 62px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.rules li:nth-child(odd) {
  transform: rotate(-0.5deg);
}

.rules li:nth-child(even) {
  transform: rotate(0.5deg);
}

.rules li::before {
  content: counter(rule);
  position: absolute;
  left: 14px;
  top: 10px;
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  color: var(--wattle);
  transform: rotate(-6deg);
}

.rules strong {
  display: block;
  font-family: "Klee One", serif;
  font-size: 18px;
  margin-bottom: 2px;
}

.cross {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cross li {
  margin: 0 !important;
  padding: 6px 12px 5px;
  font-family: "Klee One", serif;
  font-size: 16px;
  background: #fff;
  border: 2px solid var(--ink);
  text-decoration: line-through;
  text-decoration-color: var(--wattle);
  text-decoration-thickness: 2px;
}

.cross li:nth-child(odd) {
  transform: rotate(-1.5deg);
}

.cross li:nth-child(even) {
  transform: rotate(1.2deg);
}

.paper-cta {
  display: inline-block;
  margin-top: 6px;
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid var(--ink);
  padding: 12px 22px 10px;
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-1deg);
}

.paper-cta:hover {
  color: var(--ink);
  background: #f0cc72;
}

.doc-foot {
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 3px dashed var(--ink);
  padding-top: 10px;
  font-family: "Klee One", serif;
  font-size: 14px;
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .page {
    padding: 24px 16px 56px;
  }

  .doc-head {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .stamp {
    width: 72px;
    align-self: flex-end;
    margin-bottom: -40px;
  }

  .rules li {
    padding-left: 52px;
  }

  .rules li::before {
    left: 12px;
    font-size: 26px;
  }

  .wl-btn {
    text-align: center;
  }

  .hero-wl {
    width: auto;
    max-width: 100%;
    font-size: 22px;
    box-shadow: 6px 6px 0 var(--ink);
    padding: 16px 8px 13px;
  }

  .pitch .hero-note {
    font-size: 13px;
  }

  .portrait {
    margin-right: 8px;
  }
}

@media (max-width: 420px) {
  .sheet h1 {
    font-size: 36px;
  }

  .stat strong {
    font-size: 24px;
  }

  .actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wl-btn.wobble {
    animation: none;
  }

  .sheet.claimed .bag-body,
  .sheet.grown .name-tag {
    transition: none;
  }
}

/* ---------- Bag Job paper (night street, kraft sheet) ---------- */

body.paper.job {
  --ink: #1c1612;
  --ink-soft: #6a5340;
  --paper: #ead6b0;
  --cream: #1c1612;
  --gold: #e2a326;
  --yolk: #e2a326;
  --wattle: #a33b28;
  --hole: #140f0c;
  background: #1c1612;
}

body.paper.job .topbar {
  background: #ead6b0;
}

body.paper.job a:hover {
  color: #e2a326;
}

body.paper.job .topbar a:hover,
body.paper.job .paper-cta:hover {
  color: var(--ink);
}

body.paper.job .paper-cta:hover {
  background: #f0b84a;
}

body.paper.job .wl-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  body.paper.job .tagline {
    display: none;
  }

  body.paper.job .wl-btn {
    flex: 1 0 100%;
    text-align: center;
  }
}

/* Keep the actual play loop within reach on small screens. */
.cluck-game .game-guide { text-align:center; font-size:14px; margin:14px 0 8px; }
.cluck-game .other-games { display:block; text-align:center; padding:16px; }
.cluck-game .actions { position:sticky; bottom:8px; z-index:5; padding:10px; background:#f8e9c8f5; border:2px solid #76502d; border-radius:12px; }
.cluck-game .actions button { min-height:48px; }
@media (max-width:600px) {
  .cluck-game .coop { margin:0; }
  .cluck-game .chikn { width:140px; height:175px; }
  .cluck-game .mast h1 { font-size:28px; margin:0; }
  .cluck-game .name-tag { font-size:12px; padding:6px; }
  .cluck-game .ledger { gap:6px; }
  .cluck-game .stat { padding:8px 10px; }
  .cluck-game .stat strong { font-size:20px; }
  .cluck-game .actions { grid-template-columns:1fr 1fr; gap:6px; }
  .cluck-game .actions button { flex:1; font-size:14px; padding:8px; }
}
