/* ---------- question page: literature, datasets, evidence cards ---------- */
.ic { flex: none; display: block; }

/* block heading: icon, title + summary, headline numbers */
.rx-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 18px; align-items: start; padding-top: 18px; border-top: 2px solid var(--ink); }
.rx-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--pine); background: var(--pine-wash); border: 1px solid var(--pine-soft); }
.rx-title h2 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.rx-title p { margin-top: 5px; font-size: 0.86rem; color: var(--sub); max-width: 62ch; }
.rx-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2px 0 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.rx-facts div { display: flex; align-items: baseline; gap: 8px; padding: 11px 16px; border-left: 1px solid var(--line); }
.rx-facts div:first-child { border-left: 0; }
.rx-facts dt { font: 600 1.25rem/1.1 var(--serif); color: var(--pine-deep); font-variant-numeric: tabular-nums; }
.rx-facts dd { margin: 0; font-size: 0.76rem; line-height: 1.25; color: var(--sub); }
@media (max-width: 860px) { .rx-head { grid-template-columns: auto minmax(0, 1fr); } .rx-facts { grid-column: 1 / -1; } }

/* papers */
.rx .rs-papers { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; }
.rx .rs-paper { display: grid; grid-template-columns: 34px minmax(0, 1fr) 20px; gap: 14px; align-items: start; padding: 15px 18px; border-top: 1px solid var(--line-2); transition: background 0.2s var(--ease); }
.rx .rs-paper:first-child { border-top: 0; }
.rx .rs-paper:hover { background: var(--pine-wash); }
.rs-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 600 0.86rem/1 var(--serif); color: var(--pine-deep); background: var(--pine-soft); }
.rs-body { display: grid; gap: 7px; min-width: 0; }
.rx .rs-title { font: 600 1rem/1.4 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.rx .rs-title:hover { color: var(--pine); text-decoration: none; }
.rx .rs-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 0.78rem; color: var(--sub); }
.rs-year { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rs-cited { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; color: var(--brass-ink); }
.rs-cited.none { color: var(--faint); }
.rs-cbar { display: inline-block; width: 60px; height: 4px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.rs-cbar i { display: block; height: 100%; background: var(--brass); }
.rx .rs-open { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font: 600 0.68rem/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--pine-deep); background: var(--pine-soft); }
.rs-go { color: var(--faint); font-size: 0.95rem; transition: color 0.2s var(--ease), transform 0.2s var(--ease); }
.rs-paper:hover .rs-go, .rs-source:hover .rs-go { color: var(--pine); transform: translate(2px, -2px); }

/* datasets */
.dx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dx-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 96px; gap: 16px; align-items: start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 6px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.dx-row:hover { border-color: var(--line-strong); box-shadow: var(--sh); }
.dx-row.strong { border-left: 3px solid var(--pine); }
.dx-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #3f6f8f; background: #eef3f7; border: 1px solid #dbe6ee; }
.dx-row.strong .dx-icon { color: var(--pine); background: var(--pine-wash); border-color: var(--pine-soft); }
.dx-body { display: grid; gap: 7px; min-width: 0; }
.dx-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dx-tag { font: 600 0.66rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; color: #3f6f8f; background: #eef3f7; }
.dx-tag.strong { color: var(--pine-deep); background: var(--pine-soft); }
.dx-org { font-size: 0.76rem; font-style: italic; color: var(--sub); }
.dx-title { font: 600 1rem/1.4 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
a.dx-title:hover { color: var(--pine); text-decoration: none; }
.dx-terms { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.dx-terms small { font-size: 0.72rem; color: var(--faint); margin-right: 3px; }
.dx-terms span { font-size: 0.74rem; padding: 2px 7px; border-radius: 4px; color: var(--ink-2); background: var(--line-2); border: 1px solid var(--line); }
.dx-n { display: grid; justify-items: end; text-align: right; padding-left: 14px; border-left: 1px solid var(--line-2); align-self: stretch; align-content: center; }
.dx-n b { font: 600 1.35rem/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.dx-n small { font-size: 0.72rem; color: var(--sub); }
@media (max-width: 640px) { .dx-row { grid-template-columns: 42px minmax(0, 1fr); } .dx-n { grid-column: 2; justify-items: start; text-align: left; border: 0; padding: 0; } }

/* evidence cards */
.rx .rs-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.rx .rs-card { display: grid; gap: 14px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--pine); border-radius: 6px; box-shadow: 0 1px 2px rgba(20, 40, 59, 0.04); }
.rs-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; font-size: 0.8rem; color: var(--sub); }
.rs-by { display: inline-flex; align-items: center; gap: 7px; }
.rs-by .glyph { border-radius: 4px; }
.rs-by b { color: var(--ink); }
.rs-check { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font: 600 0.7rem/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--pine-deep); background: var(--pine-soft); }
.rs-check.full { color: #fff; background: var(--pine); }
.rx .rs-claim { font: 600 1.12rem/1.45 var(--serif); color: var(--ink); margin: 0; }
.rx .rs-card blockquote { position: relative; margin: 0; padding: 14px 18px 14px 50px; font: 400 0.98rem/1.65 var(--serif-text); color: var(--ink-2); background: var(--paper); border: 1px solid var(--line-2); border-radius: 4px; }
.rs-qmark { position: absolute; left: 16px; top: 14px; color: var(--pine-2); opacity: 0.7; }
.rx .rs-measures { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rx .rs-measures li { display: grid; grid-template-columns: 110px 96px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 0.84rem; }
.rs-mbar { height: 8px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.rs-mbar i { display: block; height: 100%; border-radius: 4px; background: var(--pine-2); }
.rs-mbar.blank { background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
.rx .rs-measures b { font-variant-numeric: tabular-nums; color: var(--pine-deep); white-space: nowrap; }
.rs-mwho { display: grid; color: var(--ink-2); min-width: 0; }
.rs-mwho small { font-size: 0.76rem; color: var(--sub); }
.rx .rs-source { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 4px; background: var(--pine-wash); color: var(--pine-deep); }
.rx .rs-source:hover { text-decoration: none; background: var(--pine-soft); }
.rs-source > span:nth-child(2) { display: grid; gap: 2px; font: 600 0.88rem/1.35 var(--serif); min-width: 0; overflow-wrap: anywhere; }
.rs-source small { font: 400 0.74rem/1.3 var(--sans); color: var(--sub); }
/* folding long lists and quotes */
.rx-fold { display: grid; gap: 12px; }
.rx-folded { display: none !important; }
.rx-open > .rx-folded { display: grid !important; }
.rx-more { justify-self: center; padding: 9px 18px; border-radius: 999px; font: 600 0.84rem/1 var(--sans); color: var(--pine-deep); background: #fff; border: 1px solid var(--line-strong); cursor: pointer; transition: all 0.2s var(--ease); }
.rx-more:hover { background: var(--pine); border-color: var(--pine); color: #fff; }
.rs-qtext { display: block; }
.rx .rs-card blockquote.clamp .rs-qtext { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rs-qmore { margin-top: 6px; padding: 0; border: 0; background: none; font: 600 0.78rem/1.2 var(--sans); color: var(--pine); cursor: pointer; }

/* the tabbed evidence panel */
.rx-tabbed { display: grid; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; box-shadow: var(--sh); overflow: hidden; scroll-margin-top: 150px; }
.rx-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); background: var(--paper); border-bottom: 1px solid var(--line-strong); }
.rx-tabs button { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 16px 13px; text-align: left; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--sub); cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.rx-tabs button:first-child { border-left: 0; }
.rx-tabs button:hover { background: var(--pine-wash); color: var(--ink); }
.rx-tabs button.on { background: #fff; color: var(--ink); }
.rx-tabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--pine); }
.rx-tabs button.on::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #fff; }
.rx-tab-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; color: var(--sub); background: var(--line-2); transition: all 0.2s var(--ease); }
.rx-tabs button.on .rx-tab-ic { color: #fff; background: var(--pine); }
.rx-tab-txt { display: grid; gap: 2px; min-width: 0; }
.rx-tab-txt b { display: flex; align-items: center; gap: 6px; font: 600 0.98rem/1.2 var(--serif); }
.rx-tab-txt b small { padding: 2px 7px; border-radius: 999px; font: 600 0.68rem/1.2 var(--sans); background: var(--line-2); color: var(--sub); font-variant-numeric: tabular-nums; }
.rx-tabs button.on .rx-tab-txt b small { background: var(--pine-soft); color: var(--pine-deep); }
.rx-tab-txt > span { font-size: 0.7rem; line-height: 1.25; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx-panels { padding: 22px 24px 26px; }
.rx-panels > [hidden] { display: none !important; }
.rx-panels .rx-head { border-top: 0; padding-top: 0; grid-template-columns: minmax(0, 1fr); }
.rx-panels .rx-icon { display: none; }
@media (max-width: 760px) {
  .rx-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rx-tabs button:nth-child(3) { border-left: 0; }
  .rx-tabs button:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rx-tab-txt > span { display: none; }
  .rx-panels { padding: 18px 16px 20px; }
}

/* paper timeline */
.rx-time { margin: 0; padding: 14px 18px 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.rx-time-svg { display: block; width: 100%; height: auto; overflow: visible; }
.rx-axis { stroke: var(--line-strong); stroke-width: 1; }
.rx-tick { font: 500 11px var(--sans); fill: var(--sub); }
.rx-dot circle { fill: #fff; stroke: var(--brass); stroke-width: 1.6; }
.rx-dot.open circle { fill: var(--pine-2); stroke: var(--pine); }
.rx-dot text { font: 600 9.5px var(--sans); fill: var(--brass-ink); pointer-events: none; }
.rx-dot.open text { fill: #fff; }
.rx-time figcaption { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px; font-size: 0.74rem; color: var(--sub); }
.rx-time figcaption span { display: inline-flex; align-items: center; gap: 6px; }
.rx-time figcaption i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--brass); background: #fff; }
.rx-time figcaption i.open { background: var(--pine-2); border-color: var(--pine); }

/* results at a glance */
.rx-glance { margin: 0; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--pine); border-radius: 6px; display: grid; gap: 14px; }
.rx-glance figcaption { display: grid; gap: 3px; }
.rx-glance figcaption b { font: 600 1.08rem/1.3 var(--serif); }
.rx-glance figcaption span { font-size: 0.8rem; color: var(--sub); }
.rx-glance ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.rx-glance li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 42px; gap: 12px; align-items: center; }
.g-studies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .g-studies { grid-template-columns: minmax(0, 1fr); } }
.g-study { display: grid; gap: 8px; align-content: start; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--paper); }
.g-title { display: flex; justify-content: space-between; gap: 10px; margin: 0; font-size: 0.78rem; }
.g-title b { font: 600 0.84rem/1.3 var(--serif); color: var(--ink); }
.g-title span { flex: none; color: var(--sub); font-variant-numeric: tabular-nums; }
.g-study li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px !important; gap: 10px !important; }
.g-who { display: grid; min-width: 0; }
.g-who b { font: 600 0.84rem/1.3 var(--sans); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-who small { font-size: 0.7rem; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-bar { height: 12px; border-radius: 3px; background: var(--line-2); overflow: hidden; background-image: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), #fff calc(25% - 1px) 25%); }
.g-bar i { display: block; height: 100%; border-radius: 3px; background: var(--pine-2); }
.rx-glance li.ctl .g-bar i { background: #b7c4c0; }
.rx-glance li.ctl b { color: var(--sub); font-weight: 500; }
.g-val { font: 600 0.88rem/1 var(--serif); text-align: right; color: var(--pine-deep); font-variant-numeric: tabular-nums; }
.rx-glance li.ctl .g-val { color: var(--sub); }
.g-key { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 0.74rem; color: var(--sub); }
.g-key span { display: inline-flex; align-items: center; gap: 6px; }
.g-key i { width: 14px; height: 8px; border-radius: 2px; background: var(--pine-2); }
.g-key i.ctl { background: #b7c4c0; }

@media (max-width: 640px) { .rx .rs-measures li { grid-template-columns: 70px minmax(0, 1fr); } .rs-mwho { grid-column: 1 / -1; } }

/* ---------- Lend your AI: one panel, three ways in, live checks (parts.js contributeBox) ---------- */
.ct-wrap { display: grid; gap: 18px; margin-top: 26px; scroll-margin-top: 150px; }
.ct-wrap:has(.wn) .ct-ready { display: none; }
.ct { border-radius: 18px; background: #fff; border: 1px solid #0d5a43; box-shadow: 0 2px 4px rgba(11, 74, 55, 0.08), 0 24px 56px rgba(11, 74, 55, 0.16); overflow: hidden; scroll-margin-top: 150px; }
.ct-band { position: relative; padding: 30px 32px 0; background: var(--pine-deep); color: #fff; }
.ct-band::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.025), 0 0 0 70px rgba(255, 255, 255, 0.02); pointer-events: none; }
.ct-band-top { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 30px; align-items: center; }
.ct-intro h3 { margin: 0 0 8px; font: 600 clamp(1.6rem, 2.5vw, 2rem)/1.15 var(--serif); color: #fff; letter-spacing: -0.005em; }
.ct-intro p { margin: 0; font-size: 0.97rem; line-height: 1.6; color: rgba(255, 255, 255, 0.82); max-width: 52ch; }
.ct-prize { display: flex; align-items: center; gap: 13px; padding: 12px 18px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); max-width: 250px; }
.ct-prize b { display: block; font: 600 0.98rem/1.25 var(--serif); color: #f3dfae; }
.ct-prize small { display: block; margin-top: 4px; font-size: 0.76rem; line-height: 1.35; color: rgba(255, 255, 255, 0.7); }
.ct-coin { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font: 700 1.3rem/1 var(--serif); color: #fff; background: var(--brass); border: 3px solid #e6cd8f; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3), 0 4px 14px rgba(0, 0, 0, 0.25); font-variant-numeric: tabular-nums; }

/* you, in the band */
.ct-you { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(180px, 240px); gap: 12px 16px; align-items: center; margin-top: 20px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); }
.ct-you[hidden] { display: none; }
.ct-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 700; font-family: var(--serif); line-height: 1; color: var(--pine-deep); background: #fff; }
.ct-you-text { display: grid; gap: 2px; min-width: 0; font-size: 0.86rem; color: rgba(255, 255, 255, 0.78); }
.ct-you-text b { font: 600 1.02rem/1.25 var(--serif); color: #fff; }
.ct-you-text strong { color: #f3dfae; }
.ct-you-level { display: grid; gap: 5px; color: rgba(255, 255, 255, 0.8); font-size: 0.8rem; text-decoration: none; }
.ct-you-level:hover { text-decoration: none; color: #fff; }
.ct-you-level b { font-family: var(--serif); color: #fff; }
.ct-you-bar { display: block; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.ct-you-bar i { display: block; height: 100%; border-radius: 999px; background: #e6cd8f; }
.ct-you-level small { font-size: 0.72rem; color: rgba(255, 255, 255, 0.62); }

/* the three ways, as folder tabs that open into the white body */
.ct-tabs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
.ct-tabs button { display: flex; align-items: flex-start; gap: 11px; padding: 14px 16px 16px; text-align: left; border: 0; border-radius: 14px 14px 0 0; background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.86); cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.ct-tabs button:hover { background: rgba(255, 255, 255, 0.13); }
.ct-tabs button.on { background: #fff; color: var(--ink); }
.ct-tab-n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; font: 700 0.78rem/1 var(--serif); color: rgba(255, 255, 255, 0.9); border: 1.5px solid rgba(255, 255, 255, 0.4); }
.ct-tabs button.on .ct-tab-n { color: #fff; background: var(--pine); border-color: var(--pine); }
.ct-tab-txt { display: grid; gap: 3px; min-width: 0; }
.ct-tab-txt b { font: 600 1.02rem/1.25 var(--serif); }
.ct-tab-txt small { font-size: 0.76rem; line-height: 1.3; opacity: 0.75; }
.ct-tabs button.on small { color: var(--sub); opacity: 1; }
.ct-short { display: none; }
.ct-tabs button:focus-visible { outline: 2px solid #e6cd8f; outline-offset: -2px; }

.ct-body { display: grid; gap: 20px; padding: 28px 32px 32px; }
.ct-panel { min-width: 0; }

/* the module reward, when every step is done */
.ct-ready { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 16px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--brass-soft); border: 1px solid #e3cf9d; }
.ct-ready[hidden] { display: none; }
.ct-ready-coin { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font: 700 1.1rem/1 var(--serif); color: #fff; background: var(--brass); border: 3px solid #e6cd8f; }
.ct-ready b { display: block; font: 600 1.06rem/1.3 var(--serif); color: var(--ink); }
.ct-ready p { margin: 4px 0 0; font-size: 0.88rem; line-height: 1.5; color: var(--ink-2); }
.ct-gold, .wn-move.gold .btn-primary { background: var(--brass); border-color: var(--brass); box-shadow: 0 1px 2px rgba(80, 55, 10, 0.3), 0 8px 20px rgba(169, 123, 31, 0.25); }
.ct-gold:hover, .wn-move.gold .btn-primary:hover { background: #8f6716; border-color: #8f6716; }
.ct-ready-go { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }

/* numbered steps inside a way */
.ct-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.ct-step { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding-bottom: 26px; }
.ct-step:last-child { padding-bottom: 0; }
.ct-step:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--line); }
.ct-step.done:not(:last-child)::before { background: var(--pine-soft); }
.ct-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 700 1rem/1 var(--serif); color: var(--pine-deep); background: #fff; border: 2px solid var(--pine); transition: all 0.3s var(--ease); }
.ct-step.done .ct-n { color: #fff; background: var(--pine); }
.ct-step.now .ct-n { box-shadow: 0 0 0 5px var(--pine-soft); }
.ct-step-body { display: grid; gap: 10px; align-content: start; min-width: 0; padding-top: 6px; }
.ct-step-title { font: 600 1.1rem/1.3 var(--serif); color: var(--ink); }
.ct-name { color: var(--pine-deep); }
.ct-hint { margin: 0; font-size: 0.88rem; line-height: 1.55; color: var(--sub); }
.ct-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ct-row input, .sd-who input { flex: 1 1 200px; min-width: 0; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: 12px; font: inherit; background: #fff; color: var(--ink); }
.ct-row input:focus, .sd-who input:focus, .ct-area:focus { outline: 3px solid var(--pine-soft); border-color: var(--pine); }
.ct-big { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 15px 26px; font-size: 1.05rem; border-radius: 14px; }
.ct-big-ic { font-size: 1.15rem; line-height: 1; opacity: 0.85; }
.ct-big.done { background: var(--pine-deep); }
.ct-actions { gap: 12px 22px; }
.ct-field { display: flex; align-items: stretch; min-width: 0; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; overflow: hidden; }
.ct-field code { flex: 1 1 auto; min-width: 0; padding: 12px 15px; font: 600 0.95rem/1.4 var(--mono); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: none; }
.ct-copy { flex: none; padding: 0 20px; min-height: 44px; border: 0; border-left: 1px solid var(--line-strong); background: var(--pine-wash); font: 600 0.88rem/1 var(--sans); color: var(--pine-deep); cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.ct-copy:hover { background: var(--pine-soft); }
.ct-copy.done { background: var(--pine); color: #fff; }
.ct-seg { display: inline-flex; justify-self: start; padding: 3px; border-radius: 11px; background: var(--line-2); border: 1px solid var(--line); }
.ct-seg button { padding: 7px 16px; border: 0; border-radius: 8px; background: transparent; font: 600 0.88rem/1.2 var(--sans); color: var(--sub); cursor: pointer; }
.ct-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20, 40, 59, 0.12); }
.ct-path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.ct-crumb { padding: 5px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line-strong); font: 600 0.85rem/1.2 var(--sans); color: var(--ink); }
.ct-crumb.last { background: var(--pine-wash); border-color: var(--pine-soft); color: var(--pine-deep); }
.ct-sep { color: var(--faint); }
.ct-say { display: flex; align-items: stretch; border-radius: 12px; border: 1px solid var(--pine-soft); background: var(--pine-wash); overflow: hidden; }
.ct-say q { flex: 1 1 auto; min-width: 0; padding: 13px 16px; font: 600 1.02rem/1.4 var(--serif); color: var(--pine-deep); overflow-wrap: anywhere; }
.ct-say .ct-copy { border-left-color: var(--pine-soft); background: #fff; }
.ct-link { padding: 0; border: 0; background: none; font: 600 0.9rem/1.3 var(--sans); color: var(--pine); cursor: pointer; text-decoration: none; }
.ct-link:hover { text-decoration: underline; }
.ct-link.light { color: var(--brass-ink); }
.ct-who { font-size: 0.92rem; color: var(--ink-2); }
.ct-brief { margin: 0; max-height: 300px; overflow: auto; padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font: 0.78rem/1.5 var(--mono); white-space: pre-wrap; color: var(--ink-2); }
.ct-brief[hidden] { display: none; }
.ct-adv { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.ct-adv summary { cursor: pointer; font-size: 0.86rem; color: var(--sub); }
.ct-adv summary:hover { color: var(--ink); }
.ct-adv-body { display: grid; gap: 10px; margin-top: 12px; }
.ct-adv-body p { margin: 0; font-size: 0.84rem; line-height: 1.5; color: var(--sub); }
.ct-lead { margin: 0 0 14px; font-size: 0.95rem; line-height: 1.6; color: var(--ink-2); }
.ct-area { display: block; width: 100%; box-sizing: border-box; margin: 0 0 12px; padding: 13px 15px; font: 0.84rem/1.5 var(--mono); border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper); resize: vertical; color: var(--ink); }
.ct-warn { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--brass-soft); color: var(--brass-ink); font-size: 0.9rem; font-weight: 600; }
.ct-again { margin-top: 14px; }
.ct-again[hidden] { display: none; }
.ct-nudge { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 12px; background: var(--pine-wash); border: 1px solid var(--pine-soft); }
.ct-nudge p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }
.ct-nudge b { font-family: var(--serif); color: var(--ink); }
.ct-nudge strong { color: var(--brass-ink); }

/* the challenge and bounty pages use the message way on its own; a bare paste box has no band */
.ct-solo { display: grid; margin-top: 0; padding: 0; background: none; border: 0; box-shadow: none; gap: 14px; overflow: visible; border-radius: 0; }
.ct-solo h3 { margin: 0; font: 600 1.2rem/1.25 var(--serif); }
.ct-plain { border-color: var(--line-strong); box-shadow: var(--sh); }

/* each card as it is checked, then its verdict */
.ct-cards { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.ct-cards:empty { display: none; }
.ct-card { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); animation: ct-in 0.35s var(--ease) both; }
.ct-mark { display: grid; place-items: center; width: 30px; height: 30px; box-sizing: border-box; border-radius: 50%; font: 700 0.9rem/1 var(--sans); }
.is-checking .ct-mark { border: 3px solid var(--pine-soft); border-top-color: var(--pine); animation: ct-spin 0.9s linear infinite; }
.is-ok .ct-mark { color: #fff; background: var(--pine); animation: ct-pop 0.45s var(--ease) both; }
.is-no .ct-mark { color: #fff; background: var(--brass); }
.is-wait .ct-mark { color: var(--sub); background: var(--line-2); }
.ct-card.is-ok { border-color: var(--pine-soft); background: var(--pine-wash); }
.ct-card.is-no { border-color: #ead9b0; background: #fffaf0; }
.ct-card-body { display: grid; gap: 6px; min-width: 0; }
.ct-claim { margin: 0; font: 600 1rem/1.45 var(--serif); color: var(--ink); }
.ct-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 0.82rem; color: var(--sub); min-width: 0; }
.ct-meta b { color: var(--pine-deep); }
.ct-meta a { color: var(--sub); overflow-wrap: anywhere; }
.ct-stage { font-weight: 600; color: var(--pine); }
.ct-clock { font-variant-numeric: tabular-nums; }
.ct-dotsep { color: var(--faint); }
.ct-bar { height: 4px; border-radius: 999px; background: var(--pine-soft); overflow: hidden; }
.ct-bar i { display: block; width: 35%; height: 100%; border-radius: 999px; background: var(--pine); animation: ct-slide 1.6s ease-in-out infinite; }
.ct-why { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--ink-2); }
.ct-why b { color: var(--brass-ink); }
.ct-gain { align-self: center; padding: 6px 12px; border-radius: 999px; font: 700 0.9rem/1 var(--serif); color: #fff; background: var(--brass); white-space: nowrap; animation: ct-pop 0.5s var(--ease) both; }
.ct-gain[hidden] { display: none; }
.ct-note:empty { display: none; }
.ct-tally { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 0.86rem; color: var(--sub); }
.ct-tally b { color: var(--ink); font-family: var(--serif); font-size: 0.98rem; }
.ct-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--pine); animation: ct-blink 1.2s ease-in-out infinite; }
.ct-pulse.off { animation: none; }
.ct-tally-pts { margin-left: auto; padding: 5px 12px; border-radius: 999px; font: 700 0.92rem/1 var(--serif); color: var(--sub); background: var(--line-2); transition: all 0.3s var(--ease); }
.ct-tally-pts.on { color: #fff; background: var(--brass); }

/* ---------- the thank-you and what comes next (js/wins.js) ---------- */
.ct-wins { display: grid; gap: 12px; }
.ct-wins:empty, .ct-live:empty { display: none; }
.wn { display: grid; gap: 0; margin-top: 14px; border-radius: 18px; background: #fff; border: 1px solid #0d5a43; box-shadow: 0 2px 4px rgba(11, 74, 55, 0.08), 0 22px 50px rgba(11, 74, 55, 0.18); overflow: hidden; animation: ct-in 0.5s var(--ease) both; outline: none; }
.ct-wins .wn { margin-top: 0; }
.wn-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; padding: 24px 26px 22px; background: var(--pine-deep); color: #fff; }
.wn-say h4 { margin: 0 0 6px; font: 600 clamp(1.4rem, 2.4vw, 1.75rem)/1.15 var(--serif); color: #fff; }
.wn-say p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: rgba(255, 255, 255, 0.85); }
.wn-say .wn-capped { margin-top: 8px; font-size: 0.84rem; color: #f3dfae; }
.wn-coin { position: relative; width: 92px; height: 92px; }
.wn-face { position: relative; z-index: 1; display: grid; place-items: center; align-content: center; width: 92px; height: 92px; box-sizing: border-box; border-radius: 50%; color: #fff; background: var(--brass); border: 4px solid #e6cd8f; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.28), 0 6px 20px rgba(0, 0, 0, 0.3); font: 700 1.8rem/1 var(--serif); animation: ct-pop 0.7s 0.1s var(--ease) both; }
.wn-face b { font-variant-numeric: tabular-nums; }
.wn-face small { margin-top: 3px; font: 600 0.62rem/1 var(--sans); letter-spacing: 0.04em; opacity: 0.9; }
.wn-coin.none .wn-face { background: var(--pine-2); border-color: var(--pine-soft); }
.wn-burst { position: absolute; inset: 0; pointer-events: none; }
.wn-burst i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: #e6cd8f; transform: rotate(var(--a)) translateY(0); opacity: 0; animation: wn-burst 1.1s 0.35s var(--ease) both; }
.wn-burst i:nth-child(even) { width: 5px; height: 5px; margin: -2.5px; background: #8fd1b4; }
.wn.big .wn-top { padding-block: 30px 26px; }
.wn.none { border-color: #ead9b0; box-shadow: none; }
.wn.none .wn-say { padding: 20px 22px; }
.wn.none h4 { color: var(--ink); }
.wn.none p { color: var(--ink-2); }

/* the five steps as a path, the ones just cleared struck in brass */
.wn-path { list-style: none; margin: 0; padding: 22px 26px 18px; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 0; background: var(--paper); border-bottom: 1px solid var(--line-2); }
.wn-path li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; min-width: 0; padding: 0 4px; }
.wn-path li::before, .wn-path li::after { content: ""; position: absolute; top: 16px; left: calc(-50% + 18px); height: 3px; border-radius: 3px; }
.wn-path li::before { right: calc(50% + 18px); background: var(--line); }
.wn-path li::after { width: calc((100% - 36px) * var(--k)); background: var(--pine); }
.wn-path li:first-child::before, .wn-path li:first-child::after { display: none; }
.wn-node { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; box-sizing: border-box; border-radius: 50%; font: 700 0.9rem/1 var(--serif); color: var(--sub); background: #fff; border: 2px solid var(--line-strong); }
.wn-path li.done .wn-node { color: #fff; background: var(--pine); border-color: var(--pine); }
.wn-path li.now .wn-node { color: var(--pine-deep); border-color: var(--pine); box-shadow: 0 0 0 5px var(--pine-soft); }
.wn-path li.just .wn-node { background: var(--brass); border-color: #e6cd8f; box-shadow: 0 0 0 5px var(--brass-soft); animation: ct-pop 0.7s 0.6s var(--ease) both; }
.wn-step { display: grid; gap: 3px; font-size: 0.76rem; line-height: 1.3; font-weight: 600; color: var(--ink-2); }
.wn-path li:not(.done):not(.now) .wn-step { color: var(--faint); font-weight: 500; }
.wn-step em { font-style: normal; white-space: nowrap; justify-self: center; padding: 2px 8px; border-radius: 999px; font-size: 0.66rem; font-weight: 700; color: #fff; background: var(--brass); }
.wn-step small { font-size: 0.7rem; font-weight: 500; color: var(--sub); }

.wn-level { display: grid; gap: 6px; padding: 18px 26px; border-bottom: 1px solid var(--line-2); }
.wn-level-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 0.85rem; color: var(--sub); }
.wn-level-top b { font: 600 1.02rem/1.2 var(--serif); color: var(--pine-deep); }
.wn-level-bar { height: 10px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.wn-level-bar i { display: block; height: 100%; border-radius: 999px; background: var(--pine); transition: width 1.4s 0.4s var(--ease); }
.wn-level small { font-size: 0.76rem; color: var(--sub); }
.wn-up { margin-left: 8px; padding: 2px 8px; border-radius: 999px; font: 700 0.66rem/1.4 var(--sans); color: #fff; background: var(--brass); vertical-align: 2px; animation: ct-pop 0.6s 0.9s var(--ease) both; }

.wn-next { display: grid; gap: 10px; padding: 20px 26px 22px; }
.wn-next h5 { margin: 0; font: 600 1.05rem/1.3 var(--serif); color: var(--ink); }
.wn-move { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 18px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--pine-wash); border: 1px solid var(--pine-soft); }
.wn-move b { display: block; font: 600 1rem/1.3 var(--serif); color: var(--ink); }
.wn-move p { margin: 4px 0 0; font-size: 0.86rem; line-height: 1.5; color: var(--ink-2); }
.wn-move.gold { background: var(--brass-soft); border-color: #e3cf9d; }
.wn-move-go { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.wn-links { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 4px; }
.wn-link { padding: 0; border: 0; background: none; font: 600 0.88rem/1.3 var(--sans); color: var(--pine); cursor: pointer; text-decoration: none; }
.wn-link:hover { text-decoration: underline; }

/* watching while the AI works */
.wn-live { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: var(--pine-wash); border: 1px dashed var(--pine-2); }
.wn-live b { display: block; font: 600 1rem/1.3 var(--serif); color: var(--pine-deep); }
.wn-live span { font-size: 0.86rem; color: var(--ink-2); }
.wn-pulse { flex: none; position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--pine); }
.wn-pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--pine-2); animation: wn-ring 1.6s ease-out infinite; }

/* the corner card */
.wn-pop { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; width: min(380px, calc(100vw - 32px)); box-sizing: border-box; padding: 14px 14px 14px 16px; border-radius: 16px; background: var(--pine-deep); color: #fff; box-shadow: 0 20px 50px rgba(11, 40, 30, 0.35); animation: wn-slide 0.5s var(--ease) both; }
.wn-pop.out { animation: wn-slide-out 0.5s var(--ease) both; }
.wn-pop b { display: block; font: 600 0.98rem/1.35 var(--serif); }
.wn-pop .wn-link { margin-top: 4px; color: #f3dfae; }
.wn-pop-coin { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font: 700 1rem/1 var(--serif); color: #fff; background: var(--brass); border: 3px solid #e6cd8f; animation: ct-pop 0.6s 0.2s var(--ease) both; }
.wn-pop-x { align-self: start; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }

@keyframes ct-spin { to { transform: rotate(360deg); } }
@keyframes ct-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
@keyframes ct-blink { 50% { opacity: 0.3; } }
@keyframes ct-pop { 0% { transform: scale(0.4); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
@keyframes ct-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes wn-burst { 0% { opacity: 0; transform: rotate(var(--a)) translateY(0); } 25% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-74px); } }
@keyframes wn-ring { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes wn-slide { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes wn-slide-out { to { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  .ct-card, .wn, .wn-face, .wn-burst i, .ct-gain, .is-ok .ct-mark, .is-checking .ct-mark, .ct-bar i, .ct-pulse, .wn-pulse::after, .md-live .ct-pulse::after, .wn-pop, .wn-pop-coin, .wn-path li.just .wn-node, .wn-up { animation: none; }
  .wn-burst { display: none; }
}

/* the one-click page (#/send/...) */
.sd { max-width: 820px; display: grid; gap: 16px; }
.sd-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; padding: 30px 32px; border-radius: 18px; background: var(--pine-deep); color: #fff; box-shadow: 0 20px 50px rgba(11, 40, 30, 0.22); }
.sd-head { margin: 0; font: 600 clamp(1.7rem, 3.2vw, 2.4rem)/1.15 var(--serif); color: #fff; }
.sd-q { margin: 10px 0 0; font: 400 1.05rem/1.45 var(--serif-text); color: rgba(255, 255, 255, 0.78); }
.sd-q a { font-family: var(--serif); font-weight: 600; color: #f3dfae; }
.sd-could { display: grid; justify-items: center; gap: 8px; text-align: center; max-width: 130px; }
.sd-could .ct-coin { width: 74px; height: 74px; font-size: 1.6rem; }
.sd-could small { font-size: 0.78rem; line-height: 1.3; color: rgba(255, 255, 255, 0.78); }
.sd-lede { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.sd-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.sd-list[hidden] { display: none; }
.sd-card { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--pine); border-radius: 12px; }
.sd-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 700 0.9rem/1 var(--serif); color: var(--pine-deep); background: var(--pine-soft); }
.sd-body { display: grid; gap: 10px; min-width: 0; }
.sd-claim { margin: 0; font: 600 1.1rem/1.45 var(--serif); color: var(--ink); }
.sd-card blockquote { margin: 0; padding: 12px 16px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line-2); font: 400 0.95rem/1.6 var(--serif-text); color: var(--ink-2); }
.sd-card blockquote.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sd-card .ct-link { justify-self: start; font-size: 0.82rem; }
.sd-doi { font-size: 0.8rem; color: var(--sub); overflow-wrap: anywhere; }
.sd-bar { position: sticky; bottom: 14px; z-index: 5; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; padding: 18px 22px; border-radius: 16px; background: var(--pine-deep); color: #fff; box-shadow: 0 20px 50px rgba(11, 40, 30, 0.3); }
.sd-bar[hidden] { display: none; }
.sd-bar-text { display: grid; gap: 6px; flex: 1 1 280px; min-width: 0; }
.sd-bar-text small { font-size: 0.84rem; color: rgba(255, 255, 255, 0.78); }
.sd-bar-text strong { color: #f3dfae; }
.sd-bar .btn-primary { background: var(--brass); border-color: var(--brass); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.sd-bar .btn-primary:hover { background: #8f6716; border-color: #8f6716; }
.sd-who { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.sd-who b { font-family: var(--serif); color: #fff; }
.sd-who > span:not(.ct-avatar) { font-weight: 600; color: #fff; }

@media (max-width: 760px) {
  .ct { border-radius: 16px; }
  .ct-wrap { margin-inline: -4px; }
  .ct-band { padding: 22px 16px 0; }
  .ct-band-top { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ct-prize { max-width: none; padding: 10px 14px 10px 10px; }
  .ct-coin { width: 46px; height: 46px; font-size: 1.1rem; }
  .ct-you { grid-template-columns: auto minmax(0, 1fr); padding: 12px 14px; margin-top: 14px; }
  .ct-you-level { grid-column: 1 / -1; }
  .ct-tabs { gap: 5px; margin-top: 18px; }
  .ct-tabs button { align-items: center; justify-content: center; gap: 7px; padding: 12px 6px 13px; border-radius: 12px 12px 0 0; }
  .ct-tab-n { width: 21px; height: 21px; font-size: 0.7rem; margin-top: 0; }
  .ct-tab-txt b { font-size: 0.92rem; line-height: 1.2; }
  .ct-full { display: none; }
  .ct-short { display: inline; }
  .ct-tab-txt small { display: none; }
  .ct-body { padding: 20px 16px 22px; gap: 16px; }
  .ct-ready { grid-template-columns: minmax(0, 1fr); }
  .ct-ready-go { grid-column: 1; }
  .ct-step { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding-bottom: 22px; }
  .ct-n { width: 30px; height: 30px; font-size: 0.88rem; }
  .ct-step:not(:last-child)::before { left: 14px; top: 34px; }
  .ct-field { flex-direction: column; }
  .ct-field code { white-space: normal; overflow-wrap: anywhere; font-size: 0.85rem; padding: 10px 12px; }
  .ct-field .ct-copy { border-left: 0; border-top: 1px solid var(--line-strong); min-height: 40px; }
  .ct-say { flex-direction: column; }
  .ct-say .ct-copy { border-left: 0; border-top: 1px solid var(--pine-soft); min-height: 40px; }
  .ct-big { width: 100%; justify-content: center; }
  .ct-card { grid-template-columns: 28px minmax(0, 1fr); padding: 12px 14px; }
  .ct-gain { grid-column: 2; justify-self: start; }
  .wn-top { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 16px; padding: 20px 18px; }
  .wn-path { padding: 18px 8px 14px; }
  .wn-path li { padding: 0 1px; }
  .wn-step { font-size: 0.64rem; }
  .wn-step small { display: none; }
  .wn-step em { padding: 2px 6px; font-size: 0.58rem; }
  .wn-coin, .wn-face { width: 76px; height: 76px; }
  .wn-face { font-size: 1.5rem; }
  .wn-node { width: 28px; height: 28px; font-size: 0.8rem; }
  .wn-path li::before, .wn-path li::after { top: 13px; left: calc(-50% + 15px); }
  .wn-path li::before { right: calc(50% + 15px); }
  .wn-path li::after { width: calc((100% - 30px) * var(--k)); }
  .wn-level, .wn-next { padding-inline: 18px; }
  .wn-move { grid-template-columns: minmax(0, 1fr); }
  .wn-move-go { justify-content: flex-start; }
  .wn-pop { right: 12px; bottom: 12px; left: 12px; width: auto; }
  .sd-hero { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
  .sd-could { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; max-width: none; align-items: center; }
  .sd-could .ct-coin { width: 52px; height: 52px; font-size: 1.15rem; }
  .sd-card { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .sd-num { display: none; }
  .sd-bar { bottom: 8px; padding: 14px; }
  .sd-bar .btn { width: 100%; }
}

/* ---------- "Your AI can fix this": one button, one note, never an error (parts.js fixForAI, send.js, module.js) ---------- */
.fx { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 18px; align-items: center; padding: 20px 22px; border-radius: 16px; background: var(--pine-wash); border: 1px solid var(--pine-soft); }
.fx::before { content: "↻"; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font: 700 1.35rem/1 var(--sans); color: var(--pine); background: #fff; border: 2px solid var(--pine-soft); }
.fx-say { display: grid; gap: 4px; min-width: 0; }
.fx-say b { font: 600 1.12rem/1.3 var(--serif); color: var(--ink); }
.fx-say p { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--ink-2); }
.fx-copy { justify-self: start; white-space: nowrap; min-height: 50px; padding: 13px 22px; border-radius: 14px; }
.fx-text { grid-column: 1 / -1; margin: 0; max-height: 260px; overflow: auto; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font: 0.8rem/1.55 var(--mono); white-space: pre-wrap; color: var(--ink-2); user-select: all; }
.fx-text[hidden] { display: none; }
/* inside a verdict it sits as the panel's last row, not a box in a box */
.wn .fx { margin: 0; border-radius: 0; border: 0; border-top: 1px solid var(--pine-soft); padding: 20px 26px 22px; }
.ct-note > .fx { margin-top: 14px; }
/* "didn't hold up yet": soft cream, a gentle sign, nothing red */
.wn.none { border-color: #e8dcc0; background: var(--cream); box-shadow: none; }
.wn.none > .wn-say { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; padding: 22px 26px; }
.wn.none > .wn-say::before { content: "♡"; grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font: 400 1.4rem/1 var(--serif); color: var(--brass); background: #fff; border: 2px solid #ead9b0; }
.wn.none h4 { color: var(--ink); }
.wn.none p { color: var(--ink-2); }
.wn.none .fx { background: #fff; border-top-color: #ead9b0; }
/* the broken-link page: the box gets room to breathe */
.phead + .wrap > .fx { max-width: 760px; margin-top: 8px; padding: 26px 28px; box-shadow: var(--sh); }
.phead + .wrap > .fx::before { width: 56px; height: 56px; font-size: 1.6rem; }
.phead + .wrap > .fx .fx-say b { font-size: 1.22rem; }

/* ---------- Send the module your AI built (#/module/<bounty>) ---------- */
.md .sd-hero { margin-bottom: 4px; }
.sd > .sd-head { color: var(--ink); }
.sd > .sd-q { margin-top: -4px; color: var(--sub); }
.sd > .sd-q a { color: var(--pine-deep); }
.md-steps { list-style: none; counter-reset: md; margin: 6px 0 2px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.md-steps li { counter-increment: md; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 0.94rem; line-height: 1.5; color: var(--ink-2); }
.md-steps li::before { content: counter(md); display: grid; place-items: center; width: 30px; height: 30px; margin-top: -3px; border-radius: 50%; font: 700 0.98rem/1 var(--serif); color: var(--pine-deep); background: var(--pine-soft); }
.md-steps li:nth-child(2)::before { color: #fff; background: var(--pine); }
.md-form { display: grid; gap: 14px; }
.md-form[hidden] { display: none; }

/* the file card: big, friendly, the whole thing is the button (drop works too) */
.md-drop { position: relative; display: grid; justify-items: center; gap: 8px; padding: 40px 24px 34px; text-align: center; border-radius: 20px; background: var(--pine-wash); border: 2px dashed var(--pine-2); cursor: pointer; transition: background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.md-drop::before { content: "⇪"; display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 6px; border-radius: 50%; font: 400 2rem/1 var(--sans); color: #fff; background: var(--pine); box-shadow: 0 8px 22px rgba(18, 107, 80, 0.28); transition: transform 0.25s var(--ease); }
.md-drop:hover { background: #fff; border-color: var(--pine); box-shadow: var(--sh); }
.md-drop:hover::before { transform: translateY(-3px); }
.md-drop:focus-within { outline: 3px solid var(--pine-soft); outline-offset: 3px; border-color: var(--pine); }
.md-drop b { font: 600 clamp(1.2rem, 2.2vw, 1.45rem)/1.25 var(--serif); color: var(--ink); }
.md-drop small { font-size: 0.9rem; color: var(--sub); }
.md-file { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.md-picked { margin-top: 8px; padding: 8px 16px; border-radius: 999px; font: 600 0.9rem/1.3 var(--sans); color: var(--sub); background: #fff; border: 1px solid var(--line-strong); max-width: 100%; overflow-wrap: anywhere; }
.md-form:has(.btn-primary:not([disabled])) .md-picked { color: #fff; background: var(--pine); border-color: var(--pine); }
.md-form:has(.btn-primary:not([disabled])) .md-picked::before { content: "✓  "; }
.md-form:has(.btn-primary:not([disabled])) .md-drop { border-style: solid; border-color: var(--pine); background: #fff; }
.md-form:has(.btn-primary:not([disabled])) .md-drop::before { content: "✓"; background: var(--brass); box-shadow: 0 8px 22px rgba(169, 123, 31, 0.3); }
.md .sd-bar .btn-primary[disabled] { background: rgba(255, 255, 255, 0.14); border-color: transparent; color: rgba(255, 255, 255, 0.7); box-shadow: none; }

/* judging, live */
.md-live { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 20px; align-items: center; padding: 30px 30px 28px; border-radius: 18px; background: #fff; border: 1px solid #0d5a43; box-shadow: 0 2px 4px rgba(11, 74, 55, 0.08), 0 22px 50px rgba(11, 74, 55, 0.14); }
.md-live[hidden] { display: none; }
.md-live .ct-pulse { position: relative; width: 18px; height: 18px; margin: 0 6px; animation: none; }
.md-live .ct-pulse::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--pine-2); animation: wn-ring 1.6s ease-out infinite; }
.md-stage { margin: 0; font: 600 clamp(1.2rem, 2.2vw, 1.45rem)/1.3 var(--serif); color: var(--ink); }
.md-clock { display: block; margin-top: 4px; font-size: 0.84rem; line-height: 1.5; color: var(--sub); font-variant-numeric: tabular-nums; }
.md-bar { grid-column: 1 / -1; height: 8px; margin-top: 8px; }

/* the verdict */
.md .wn { margin-top: 0; }
.md-win > .wn-say, .md-practice > .wn-say { padding: 26px 28px 22px; }
.md-win > .wn-say, .md-practice > .wn-say { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; align-items: center; }
.md-win > .wn-say::before, .md-practice > .wn-say::before { grid-row: span 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font: 700 1.6rem/1 var(--serif); color: #fff; background: var(--brass); border: 3px solid #e6cd8f; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); animation: ct-pop 0.7s 0.1s var(--ease) both; }
.md-win > .wn-say::before { content: "✓"; width: 84px; height: 84px; font-size: 2.2rem; }
.md-practice > .wn-say::before { content: "★"; }
.md-win > .wn-say h4 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.md-win > .wn-say { background: var(--pine-deep); }
.md-win > .wn-say h4 { color: #fff; }
.md-win > .wn-say p { color: rgba(255, 255, 255, 0.85); }
.md-win > .btn { justify-self: start; margin: 20px 28px 24px; }
.md-practice { border-color: #e3cf9d; }
.md-practice > .wn-say { background: var(--brass-soft); }
.md-practice > .wn-say h4 { color: var(--ink); }
.md-practice > .wn-say p { color: var(--ink-2); }
.md-reasons { list-style: none; counter-reset: rs; margin: 0; padding: 18px 26px 20px; display: grid; gap: 8px; background: #fff; }
.md-reasons li { counter-increment: rs; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.md-reasons li::before { content: counter(rs); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 700 0.8rem/1 var(--serif); color: var(--brass-ink); background: var(--brass-soft); }

/* the way in from the question's bounty panels */
.md-send-link { background: #fff; border: 1.5px solid var(--pine); color: var(--pine-deep); font-weight: 600; }
.md-send-link:hover { background: var(--pine-wash); color: var(--pine-deep); }
.wn-move-go .wn-link { flex-basis: 100%; text-align: right; font-size: 0.84rem; }
.wn-move.gold .wn-link { color: var(--brass-ink); }
.ct-ready-go .ct-link.light { font-weight: 600; }

@media (max-width: 760px) {
  .fx { grid-template-columns: auto minmax(0, 1fr); padding: 18px 16px; }
  .fx::before { width: 40px; height: 40px; font-size: 1.15rem; }
  .fx-copy { grid-column: 1 / -1; width: 100%; white-space: normal; }
  .fx:not(:has(.fx-say))::before { display: none; }
  .wn .fx { padding: 18px; }
  .wn.none > .wn-say { padding: 20px 18px; }
  .md-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .md-steps li { align-items: center; padding: 12px 14px; }
  .md-drop { padding: 30px 16px 26px; }
  .md-drop::before { width: 58px; height: 58px; font-size: 1.7rem; }
  .md-live { padding: 18px 16px; }
  .md-win > .wn-say, .md-practice > .wn-say { padding: 22px 18px 18px; }
  .md-win > .btn { margin: 16px 18px 20px; }
  .md-reasons { padding: 14px 14px 16px; }
  .wn-move-go .wn-link { text-align: left; }
}

/* ---------- pass 4: calmer, clearer, easier on a phone ---------- */
/* the old pale wrapper (visual.css .rs-brief) put the panel in a box inside a box */
.ct-wrap.rs-brief { margin-top: 26px; padding: 0; background: none; border-radius: 0; }
.ct-actions .ct-link { display: inline-flex; align-items: center; min-height: 44px; }
.ct-tabs button { min-height: 48px; }

/* the five steps: the step being worked on says the plain next move and points at the panel */
.ul-do a { font-weight: 700; color: var(--pine); white-space: nowrap; }
.ul-shape-fold { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.ul-shape-fold summary { cursor: pointer; font-size: 0.88rem; font-weight: 600; color: var(--sub); min-height: 32px; display: flex; align-items: center; gap: 6px; }
.ul-shape-fold summary:hover { color: var(--ink); }
.ul-shape-fold p { margin: 8px 0 0; }

/* the bar at the foot of a phone screen that takes people to the panel */
.ct-dock { display: none; }
@media (max-width: 760px) {
  .ct-dock { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 55; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 10px 10px 12px; border-radius: 18px; background: var(--pine-deep); color: #fff; box-shadow: 0 16px 40px rgba(11, 40, 30, 0.35); transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
  .ct-dock.on { transform: none; opacity: 1; pointer-events: auto; }
  .ct-dock .ct-coin { width: 44px; height: 44px; font-size: 1rem; border-width: 2px; }
  .ct-dock-txt { display: grid; gap: 1px; min-width: 0; }
  .ct-dock-txt b { font: 600 1.02rem/1.25 var(--serif); }
  .ct-dock-txt small { font-size: 0.78rem; color: rgba(255, 255, 255, 0.75); }
  .ct-dock .btn { min-height: 46px; padding: 10px 20px; border-radius: 13px; background: var(--brass); border-color: var(--brass); }
  body:has(.wn-pop) .ct-dock { opacity: 0; pointer-events: none; transform: translateY(140%); }

  /* the panel takes the card's full width instead of sitting inside its padding */
  .ul > .ct-wrap { margin-inline: calc(-1 * clamp(20px, 2.4vw, 30px) + 6px); }
  /* 16px text in every field, so a phone never zooms in when it is tapped */
  .ct-row input, .sd-who input, .ct-area { font-size: 16px; }
  /* bigger, easier words where people act */
  .ct-hint { font-size: 0.95rem; }
  .ct-step-title { font-size: 1.14rem; }
  .ct-intro p { font-size: 1rem; }
  .ct-row .btn { min-height: 48px; }
  .ct-row input { min-height: 48px; }
  .ct-row input + .btn { flex: 1 1 100%; }
  .ct-actions { justify-content: center; }
  /* finished steps keep their tick and number; their long sentence waits on bigger screens */
  .ul-step.done .ul-say, .ul-step.ahead .ul-say { display: none; }
  /* the header gets to the choice faster: prize as one line, you as one line */
  .ct-band { padding-top: 20px; }
  .ct-intro h3 { font-size: 1.55rem; margin-bottom: 6px; }
  .ct-prize { gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; justify-self: start; }
  .ct-prize .ct-coin { width: 36px; height: 36px; font-size: 0.88rem; border-width: 2px; }
  .ct-prize b { font-size: 0.92rem; }
  .ct-prize small { display: none; }
  .ct-you { grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 10px 12px; margin-top: 12px; }
  .ct-you .ct-avatar { width: 34px !important; height: 34px !important; grid-row: span 2; }
  .ct-you-level { grid-column: 2; display: flex; gap: 8px; align-items: center; font-size: 0.78rem; }
  .ct-you-level small { display: none; }
  .ct-you-bar { flex: 1 1 auto; max-width: 120px; }
  .ul-step { padding: 9px 0 11px; }
  /* the reward panel above: a smaller badge beside the title instead of 110px of empty space over it */
  .oracle-panel.gap { padding: 20px 18px; }
  .oracle-panel.gap .bounty-badge { top: 16px; right: 14px; width: 60px; height: 60px; }
  .oracle-panel.gap .bounty-badge b { font-size: 1.2rem; }
  .oracle-panel.gap .bounty-badge small { font-size: 0.5rem; }
  .oracle-panel.gap > h3 { padding-right: 70px; }
  .ul-banner { font-size: 0.98rem; }
}
@media (prefers-reduced-motion: reduce) { .ct-dock { transition: none; } }

/* ---------- pass 5: the rest of the question page on a phone ---------- */
.rx-glance .rx-fold { gap: 14px; }
@media (max-width: 760px) {
  /* headline numbers: label words never break mid-word */
  .rx-facts div { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; }
  .rx-facts dd { overflow-wrap: normal; word-break: normal; hyphens: none; }
  /* results at a glance: each group's name on its own line, then its bar */
  .rx-glance { padding: 16px 14px; }
  .g-study { padding: 12px; }
  .g-study li { grid-template-columns: minmax(0, 1fr) 40px !important; row-gap: 4px !important; }
  .g-who { grid-column: 1 / -1; }
  .g-who b { white-space: normal; overflow: visible; font-size: 0.86rem; }
  /* evidence cards: the quote uses the whole width */
  .rx .rs-card { padding: 16px 16px 18px; gap: 12px; }
  .rx .rs-claim { font-size: 1.06rem; }
  .rx .rs-card blockquote { padding: 12px 14px; border-left: 3px solid var(--pine-soft); }
  .rs-qmark { display: none; }
  .rx .rs-source { padding: 10px 12px; text-align: left; }
  .rs-source > span:nth-child(2) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-align: left; }
  .rx-panels { padding: 16px 14px 20px; }
  /* the reward panel above repeats the five steps shown just below it; on a phone the steps are shown once */
  .oracle-panel .lock-strip { display: none; }
}

/* ---------- after a module is accepted: where it is, and what it says (question.js modulePanel, module.js .md-next) ---------- */
.oracle-panel.mj { display: grid; gap: 18px; padding: 26px 28px; border: 1px solid #0d5a43; border-left: 1px solid #0d5a43; border-radius: 20px; background: #fff; box-shadow: 0 2px 4px rgba(11, 74, 55, 0.06), 0 20px 46px rgba(11, 74, 55, 0.12); }
.oracle-panel.mj > h3 { margin: 0; padding-right: 100px; font: 600 clamp(1.3rem, 2.2vw, 1.6rem)/1.25 var(--serif); color: var(--ink); }
.oracle-panel.mj .bounty-badge { top: 20px; right: 22px; }

/* the journey: a vertical path, done in green, the step happening now gently alive, what's ahead quiet */
.mj-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.mj-step { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding-bottom: 20px; }
.mj-step:last-child { padding-bottom: 0; }
.mj-step:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--line); }
.mj-step.done:not(:last-child)::before { background: var(--pine-2); }
.mj-step > i { position: relative; display: grid; place-items: center; width: 34px; height: 34px; box-sizing: border-box; border-radius: 50%; font: 700 0.95rem/1 var(--sans); font-style: normal; color: var(--sub); background: #fff; border: 2px solid var(--line-strong); }
.mj-step.done > i { color: #fff; background: var(--pine); border-color: var(--pine); }
.mj-step.now > i { border-color: var(--pine); background: var(--pine-wash); }
.mj-step.now > i::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pine); }
.mj-step.now > i::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--pine-2); animation: wn-ring 1.8s ease-out infinite; }
.mj-step.stop > i { color: #fff; background: var(--brass); border-color: #e6cd8f; }
.mj-step > div { display: grid; gap: 3px; padding-top: 6px; min-width: 0; }
.mj-step b { font: 600 1.04rem/1.3 var(--serif); color: var(--ink); }
.mj-step p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.mj-step:not(.done):not(.now):not(.stop) b { color: var(--sub); }
.mj-step:not(.done):not(.now):not(.stop) p { color: var(--sub); }
.mj-step.now b { color: var(--pine-deep); }
.mj-step.stop b { color: var(--brass-ink); }

/* the module's answer: the hero of the panel when it has one */
.mj-answer { display: grid; gap: 8px; padding: 20px 22px; border-radius: 16px; }
.mj-answer h4 { margin: 0; font: 600 1.06rem/1.35 var(--serif); }
.mj-answer p { margin: 0; line-height: 1.55; }
.mj-answer.ok { background: var(--pine-deep); color: #fff; }
.mj-answer.ok h4 { color: rgba(255, 255, 255, 0.82); }
.mj-answer.ok .mj-said { font: 600 clamp(1.2rem, 2.2vw, 1.45rem)/1.4 var(--serif); color: #fff; }
.mj-answer.ok .small, .mj-answer.ok .sub { color: rgba(255, 255, 255, 0.72); }
.mj-answer.gap { position: relative; padding-left: 64px; background: var(--cream); border: 1px solid #e8dcc0; color: var(--ink-2); }
.mj-answer.gap::before { content: "◎"; position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 400 1.05rem/1 var(--sans); color: var(--brass); background: #fff; border: 2px solid #ead9b0; }
.mj-answer.gap h4 { color: var(--ink); }
.mj-answer.wait { display: flex; align-items: center; gap: 14px; background: var(--pine-wash); border: 1px dashed var(--pine-2); color: var(--ink-2); }
.mj-answer.wait .st-pulse { margin: 0 4px; }
.mj-answer.wait p { font-size: 0.95rem; }

/* on the module page, after ACCEPTED */
.md-next { display: grid; gap: 16px; padding: 24px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--sh); }
.md-next h5 { margin: 0; font: 600 1.2rem/1.3 var(--serif); color: var(--ink); }
.md-next > .btn { justify-self: start; }
.wn .md-next { border: 0; border-radius: 0; box-shadow: none; padding: 22px 28px 26px; }

@media (max-width: 760px) {
  .oracle-panel.mj { padding: 20px 18px; gap: 16px; }
  .oracle-panel.mj .bounty-badge { top: 16px; right: 14px; width: 60px; height: 60px; }
  .oracle-panel.mj .bounty-badge b { font-size: 1.2rem; }
  .oracle-panel.mj .bounty-badge small { font-size: 0.5rem; }
  .oracle-panel.mj > h3 { padding-right: 70px; font-size: 1.25rem; }
  .mj-step { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding-bottom: 16px; }
  .mj-step > i { width: 30px; height: 30px; font-size: 0.85rem; }
  .mj-step:not(:last-child)::before { left: 14px; top: 34px; }
  .mj-answer { padding: 16px; }
  .mj-answer.gap { padding-left: 56px; }
  .mj-answer.gap::before { left: 14px; top: 16px; width: 28px; height: 28px; }
  .md-next { padding: 18px 16px; }
  .md-next > .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .mj-step.now > i::after { animation: none; } }

/* the module on real data from the Oracle's own collection (question.js lakeAnswers): an asset, not a log */
.mj-lake { display: grid; gap: 10px; padding: 18px 20px 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.mj-lake > h4 { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 1.06rem/1.3 var(--serif); color: var(--ink); }
.mj-lake > h4::before { content: "▦"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font: 400 0.95rem/1 var(--sans); color: var(--pine); background: var(--pine-soft); }
.mj-lake > p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.mj-lake-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.mj-lake-row { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: start; padding: 11px 14px 12px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); }
.mj-lake-row::before { grid-row: 1 / span 3; align-self: start; display: grid; place-items: center; width: 28px; height: 28px; box-sizing: border-box; border-radius: 50%; font: 700 0.8rem/1 var(--sans); }
.mj-lake-row > b { grid-column: 2; font: 600 0.72rem/1.3 var(--mono); letter-spacing: 0.01em; color: var(--sub); }
.mj-lake-row > .sub { grid-column: 2; display: block; font: 600 0.92rem/1.4 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.mj-lake-row > .small:last-child { grid-column: 2; display: block; margin-top: 2px; line-height: 1.45; color: var(--ink-2); }
.mj-lake-need { margin: 2px 0 0; padding: 10px 14px; border-radius: 10px; background: #fff; border: 1px dashed var(--line-strong); color: var(--ink-2); line-height: 1.5; }
.mj-lake-more summary { display: inline-flex; align-items: center; min-height: 36px; cursor: pointer; font: 600 0.9rem/1.3 var(--sans); color: var(--pine); }
.mj-lake-more[open] summary { margin-bottom: 8px; }
/* answered: the good news, clearly */
.mj-lake-row.answered { background: var(--pine-wash); border-color: var(--pine-soft); }
.mj-lake-row.answered::before { content: "✓"; color: #fff; background: var(--pine); }
.mj-lake-row.answered > .small:last-child { font-weight: 600; color: var(--pine-deep); }
/* not the kind of data it reads: calm and quiet */
.mj-lake-row.not_applicable::before { content: "–"; color: var(--faint); background: #fff; border: 2px solid var(--line); }
.mj-lake-row.not_applicable > .sub { color: var(--ink-2); font-weight: 500; }
.mj-lake-row.not_applicable > .small:last-child { color: var(--sub); }
/* still arriving: gently alive */
.mj-lake-row.not_fetched_yet::before { content: "…"; color: var(--pine); background: var(--pine-wash); border: 2px solid var(--pine-soft); }
/* could not run: amber, never red */
.mj-lake-row.error { background: #fffaf0; border-color: #ead9b0; }
.mj-lake-row.error::before { content: "!"; color: #fff; background: var(--brass); }
@media (max-width: 760px) {
  .mj-lake { padding: 16px 14px; }
  .mj-lake-row { grid-template-columns: 24px minmax(0, 1fr); column-gap: 10px; padding: 10px 12px 11px 10px; }
  .mj-lake-row::before { width: 24px; height: 24px; font-size: 0.72rem; }
}

/* the points badge never sits under the module's answer: the heading keeps its row clear */
.oracle-panel.mj > h3 { min-height: 70px; padding-right: 104px; }
.oracle-panel.mj .bounty-badge { z-index: 1; }
@media (max-width: 640px) { .oracle-panel.mj > h3 { min-height: 56px; padding-right: 74px; } }
