/* Chapter 3 — a quiet zine spread */
.spread { margin-top: 20px; display: flex; flex-wrap: wrap; background: var(--sheet); box-shadow: 0 2px 0 rgba(30,42,110,.15), 14px 16px 0 rgba(30,42,110,.08); }
.spread > * { min-width: 0; padding: clamp(28px, 5vw, 64px) clamp(20px, 4.5vw, 56px); }
.spread article { flex: 1 1 440px; border-right: 2px dashed rgba(30,42,110,.25); display: flex; flex-direction: column; gap: 22px; }
.spread .seven { flex: 1 1 520px; display: flex; flex-direction: column; gap: 20px; }
.chap { font: 800 15px var(--pop); letter-spacing: .2em; }
.ch3 h1 { font-size: clamp(44px, 5vw, 76px); letter-spacing: -.03em; line-height: 1.1; }
.ch3 article p { max-width: 27em; line-height: 1.9; }
html[data-lang="en"] .ch3 article p { line-height: 1.7; }
.boxed { padding: 14px 18px; border: 3px solid var(--ink); border-radius: 6px; font-size: 15px; }
.seven h2 { font-size: clamp(26px, 2.6vw, 34px); }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(4px, 1vw, 8px); }
.days button { min-height: 54px; border-radius: 10px; border: 3px solid var(--ink); background: var(--sheet); font: 800 20px var(--pop); position: relative; }
.days button[aria-pressed="true"] { background: var(--ink); color: var(--yel); }
.days button.has::after { content: ""; position: absolute; right: 5px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); }
.daycard { border: 4px solid var(--ink); border-radius: 6px; padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 14px; background: var(--sheet); box-shadow: 8px 8px 0 var(--yel), 8px 8px 0 4px var(--ink); transform: rotate(-.6deg); }
.daycard .hd { display: flex; justify-content: space-between; font-family: var(--display); font-weight: 900; font-size: 15px; }
.daycard .task { font-family: var(--display); font-weight: 900; font-size: clamp(19px, 2vw, 24px); line-height: 1.45; }
.daycard label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 15px; }
.daycard textarea { font: 400 17px/1.6 var(--body); color: var(--ink); border: 0; border-bottom: 3px solid var(--ink); background: transparent; padding: 4px 2px; resize: vertical; border-radius: 0; }
.save-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.saved { font-size: 14px; }

.opts4 { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 40px; border-top: 3px solid var(--ink); }
.opts4 li { padding: 18px 0; border-bottom: 3px solid var(--ink); display: flex; gap: 14px; font-size: 17px; }
.opts4 li b:first-child { font: 800 34px/1 var(--pop); color: var(--red-text); }
.adults { background: var(--sheet); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
.adults .cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.adults .cols > div { flex: 1 1 380px; min-width: 0; }
.adults h3 { font-size: 22px; margin-bottom: 12px; }
.adults ul { padding-left: 1.2em; display: grid; gap: 8px; font-size: 17px; }

#printSheet { display: none; }
@media print {
  body.ch3 > *:not(#printSheet) { display: none !important; }
  #printSheet { display: block; font-size: 12pt; color: #000; padding: 0; }
  #printSheet h1 { font-size: 20pt; margin-bottom: 4pt; }
  #printSheet .d { break-inside: avoid; border-top: 1.5pt solid #000; padding: 8pt 0 10pt; }
  #printSheet .d b { display: block; }
  #printSheet .lines { min-height: 46pt; border-bottom: 1pt dotted #000; white-space: pre-wrap; margin-top: 4pt; }
}

/* v2: three moves, check-in board, games, plan */
.spread .board { flex: 1 1 440px; display: flex; flex-direction: column; gap: 18px; }
.board h2 { font-size: clamp(26px, 2.6vw, 34px); }
.moves { list-style: none; counter-reset: mv; display: grid; gap: 18px; }
.moves li { counter-increment: mv; position: relative; padding-left: 58px; font-size: 17px; line-height: 1.7; }
.moves li::before { content: counter(mv); position: absolute; left: 0; top: -4px; font: 800 44px/1 var(--pop); color: var(--red-text); }
.moves b { display: block; font-family: var(--display); font-weight: 900; font-size: 21px; }
.moves a { font-weight: 700; white-space: nowrap; }
.streak { display: flex; align-items: baseline; gap: 12px; font-family: var(--display); font-weight: 900; font-size: 20px; }
.streak b { font: 800 clamp(64px, 8vw, 96px)/1 var(--pop); color: var(--blue); text-shadow: 5px 4px 0 rgba(255,72,176,.8); }
.grid28 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.grid28 span { aspect-ratio: 1; border-radius: 50%; border: 3px dashed rgba(30,42,110,.45); display: grid; place-items: center; font: 800 14px var(--pop); color: rgba(30,42,110,.75); }
.grid28 span.on { background: var(--red); border: 3px solid var(--ink); color: var(--ink); transform: rotate(-8deg); }
.grid28 span.today { box-shadow: 0 0 0 4px var(--yel), 0 0 0 7px var(--ink); }
.gtabs { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.gbox { margin-top: 20px; padding: clamp(20px, 4vw, 40px); background: var(--sheet); border: 4px solid var(--ink); border-radius: 10px; box-shadow: 10px 10px 0 var(--pink); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-height: 340px; max-width: 760px; }
.gbox h3 { font-size: 28px; }
.gbox p { max-width: 36em; }
.gbox.live { background: var(--ink); color: var(--sheet); align-items: center; text-align: center; box-shadow: 10px 10px 0 var(--yel); }
.gbox.live.calm { background: var(--blue); }
.gbox .bar { width: 100%; height: 10px; border-radius: 5px; background: rgba(255,255,255,.25); overflow: hidden; }
.gbox .bar i { display: block; height: 100%; width: 0; background: var(--yel); transition: width .25s linear; }
.stim { width: 170px; height: 170px; display: grid; place-items: center; }
.stim svg { width: 100%; height: 100%; background: var(--sheet); border-radius: 24px; padding: 14px; box-sizing: border-box; }
.stim.oops svg { background: var(--red); }
.stim.word { width: auto; height: 150px; font-family: var(--display); font-weight: 900; font-size: clamp(64px, 12vw, 110px); line-height: 1; }
.tap { width: 150px; height: 150px; border-radius: 50%; border: 0; background: var(--yel); color: var(--ink); font: 900 34px var(--display); touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform .08s; }
.tap.hit, .tap:active { transform: scale(.92); }
.tap.small { width: 132px; height: 132px; font-size: 24px; }
.tap.nine { background: var(--pink); }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(100%, 420px); }
.cols button { min-height: 58px; border-radius: 14px; border: 3px solid var(--sheet); background: transparent; color: var(--sheet); font: 900 20px var(--display); display: flex; align-items: center; justify-content: center; gap: 12px; touch-action: manipulation; }
.cols button i { width: 26px; height: 26px; border-radius: 50%; }
.cols button:active { background: rgba(255,255,255,.2); }
.breath { width: 170px; height: 170px; display: grid; place-items: center; }
.breath i { width: 70px; height: 70px; border-radius: 50%; background: var(--sheet); animation: breathe 5s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(1) } to { transform: scale(2.3) } }
.save-row.center { justify-content: center; gap: 24px; }
.gbox .result { font-family: var(--display); font-weight: 900; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.5; }
.gbox .prev { padding: 6px 12px; background: var(--tint-yel); border-radius: 6px; }
.gbox.live .note { color: var(--sheet); opacity: .85; }
.honest { margin-top: 22px; max-width: 46em; padding: 14px 18px; border: 3px solid var(--ink); border-radius: 6px; font-size: 15px; }
.ifthen { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px 48px; }
.ifthen h3 { font-size: 24px; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips .pill-btn { font-size: 16px; min-height: 46px; padding: 0 18px; font-weight: 700; }
.plancard { margin-top: 28px; padding: clamp(20px, 3vw, 32px); border: 4px dashed var(--ink); border-radius: 6px; font-size: 17px; max-width: 760px; }
.plancard.on { border-style: solid; background: var(--yel); font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.8vw, 34px); line-height: 1.45; transform: rotate(-.6deg); box-shadow: 8px 8px 0 var(--ink); }
.plancard.on b { color: var(--blue); }
#seven .seven { margin-top: 24px; max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.brain { padding: 14px 18px; background: var(--tint-blue); border-left: 8px solid var(--blue); font-size: 16px; line-height: 1.7; }
.brain b { display: block; font-family: var(--display); font-weight: 900; font-size: 17px; margin-bottom: 2px; }
.plancard .pill-btn { display: flex; margin-top: 18px; font-size: 16px; min-height: 46px; }
.slow { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 15px; cursor: pointer; }
.slow input { width: 22px; height: 22px; accent-color: var(--ink); }
