/* Content pages under between-stars/ (loaded after style.css): reading layout,
   the four call-to-action touchpoints and the playable line puzzles. */
.breadcrumb { font-size: 14px; color: var(--muted); margin: 28px 0 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 6px; opacity: 0.6; }
article { padding: 20px 0 8px; }
article h1 { font-size: clamp(36px, 6vw, 54px); margin-top: 12px; }
article h2 { font-size: clamp(26px, 3.6vw, 32px); margin-top: 56px; }
article h3 { margin-top: 28px; }
article p, article li, article td, article th { color: var(--muted); }
article strong, article b { color: var(--ink); }
article .lede { color: var(--muted); }
article ol, article ul { padding-left: 22px; }
article li { margin: 6px 0; }
.byline { font-size: 14px; color: var(--muted); margin: -8px 0 24px; }
.pull-quote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-size: 19px; color: var(--ink); font-style: italic; }
.pull-quote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 600; }
td.num, th.num { text-align: right; white-space: nowrap; }
.count-row td { color: var(--ink); font-weight: 600; }
.rule-box { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin: 24px 0; }
.rule-box p { margin: 6px 0; }

/* Touchpoint 1: compact line under the lede */
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 28px 0 8px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.cta-inline p { margin: 0; flex: 1 1 240px; font-size: 16px; }
.cta-inline .button { min-height: 44px; font-size: 15px; }
.cta-inline .store-badge { height: 44px; }
/* Touchpoint 2: mid-article note */
.cta-mid { margin: 40px 0; padding: 18px 22px; border-left: 3px solid var(--gold); background: rgba(255, 214, 140, 0.07); border-radius: 0 18px 18px 0; }
.cta-mid p { margin: 0 0 14px; color: var(--ink); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
/* Touchpoint 3: big box before the FAQ */
.cta-box { margin: 56px 0 8px; padding: 28px; border: 1px solid rgba(255, 214, 140, 0.45); background: rgba(255, 214, 140, 0.07); border-radius: 22px; }
.cta-box h2 { margin-top: 0; }
.cta-box p { margin: 0 0 18px; }
.cta-box .store-note { margin-top: 14px; }
/* Touchpoint 4: sticky bar, shown once the top line has scrolled away */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 52px 12px 16px; background: rgba(5, 6, 31, 0.94); border-top: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transform: translateY(110%); transition: transform 0.3s ease; }
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta p { margin: 0; font-size: 15px; color: var(--ink); }
.sticky-cta .button { min-height: 40px; font-size: 15px; padding: 0 16px; }
.sticky-cta .store-badge { height: 40px; }
.sticky-cta .dismiss { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: var(--muted); font-size: 24px; cursor: pointer; }
.sticky-cta .dismiss:hover { color: #fff; }
@media (max-width: 560px) { .sticky-cta p { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
.site-footer { padding-bottom: 96px; }

/* The playable puzzle */
.puzzle { margin: 24px 0; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; }
.puzzle svg { display: block; width: 100%; height: auto; touch-action: manipulation; }
.puzzle .river { fill: none; stroke: rgba(140, 217, 255, 0.10); stroke-width: 46; stroke-linecap: round; stroke-linejoin: round; }
.puzzle .bridge { fill: none; stroke: rgba(201, 166, 255, 0.55); stroke-width: 5; stroke-linecap: round; }
.puzzle .bridge.extra { stroke-dasharray: 10 8; }
.puzzle .bridge.used { stroke: var(--gold); stroke-width: 6; }
.puzzle .bridge.open { stroke: var(--cyan); }
.puzzle .hit { fill: none; stroke: transparent; stroke-width: 28; cursor: pointer; }
.puzzle .land { cursor: pointer; outline: none; }
.puzzle .land .dot { fill: #141a6e; stroke: rgba(255, 255, 255, 0.35); stroke-width: 2; }
.puzzle .land.current .dot { fill: var(--gold); stroke: #fff; }
.puzzle .land:focus-visible .dot { stroke: var(--cyan); stroke-width: 4; }
.puzzle .land .target { fill: transparent; stroke: none; }
.puzzle .land text { fill: var(--ink); font-size: 19px; text-anchor: middle; pointer-events: none; }
.puzzle .land .letter { font-weight: 700; font-size: 21px; }
.puzzle .land.current .letter { fill: #120f2a; }
.puzzle-status { min-height: 3.2em; margin: 12px 0; color: var(--ink); }
.puzzle-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.puzzle-controls .button { min-height: 40px; font-size: 15px; padding: 0 16px; cursor: pointer; font-family: inherit; }
.puzzle-controls label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); cursor: pointer; }
.puzzle-count { margin-left: auto; font-size: 15px; color: var(--muted); }

/* Figure picker for pages with several puzzles (line-puzzle.js) */
.puzzle-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.puzzle-tabs button { font: inherit; font-size: 15px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; }
.puzzle-tabs button[aria-pressed="true"] { border-color: var(--gold); color: var(--ink); background: rgba(255, 214, 140, 0.08); }
.puzzle .note { font-size: 15px; color: var(--muted); margin: 0 0 8px; }
.puzzle .land.visited .dot { fill: rgba(255, 214, 140, 0.55); stroke: var(--gold); }
.puzzle .land.current .dot { fill: var(--gold); stroke: #fff; }
