/* Journeys (a test behind #/journeys). Tokens only, so every look works. */
.jy-shelf { display:flex; flex-direction:column; gap:28px; }
.jy-continue { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:0; overflow:hidden; }
.jy-continue .jy-art { min-height:220px; }
.jy-continue .jy-body { padding:22px 24px; display:flex; flex-direction:column; gap:8px; }
.jy-art { background:var(--surface2); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.jy-art img { width:100%; height:100%; object-fit:cover; display:block; }
.jy-art svg { width:60%; max-width:260px; height:auto; color:var(--ink3); }
.jy-kicker { font-size:.85rem; font-weight:700; color:var(--accent); margin:0; }
.jy-title { font-family:var(--font-serif); font-size:1.75rem; line-height:1.15; margin:0; }
.jy-sub { color:var(--ink2); margin:0; }
.jy-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:14px; }
.jy-card { display:flex; flex-direction:column; border-radius:var(--radius-card); border:1px solid var(--line); background:var(--surface); color:var(--ink); text-decoration:none; overflow:hidden; }
.jy-card:hover { border-color:var(--accent); }
.jy-card .jy-art { height:120px; }
.jy-card .jy-cardbody { padding:12px 14px 14px; display:flex; flex-direction:column; gap:4px; }
.jy-card b { font-family:var(--font-serif); font-size:1.1rem; }
.jy-card .jy-meta { font-size:.85rem; color:var(--ink2); }
.jy-optional { font-size:.8rem; color:var(--ink3); }
.jy-steps { list-style:none; margin:0; padding:0; }
.jy-steps li { display:flex; gap:12px; align-items:flex-start; padding:10px 0; border-top:1px solid var(--line); }
.jy-steps li:first-child { border-top:0; }
.jy-dot { flex:none; width:26px; height:26px; border-radius:50%; border:1.5px solid var(--accent); display:flex; align-items:center; justify-content:center; font-size:.8rem; font-weight:700; color:var(--accent); background:var(--surface); }
.jy-dot.done { background:var(--accent); color:var(--accent-ink); }
.jy-dot.next { background:var(--wash); }
.jy-steps a { color:var(--ink); text-decoration:none; display:flex; flex-direction:column; gap:1px; min-width:0; }
.jy-steps a:hover b { text-decoration:underline; }
.jy-steps .jy-when { font-size:.82rem; color:var(--ink2); }
.jy-steps .jy-kind { font-size:.8rem; color:var(--ink3); }
.jy-step { display:flex; flex-direction:column; gap:18px; }
.jy-stepart { border-radius:var(--radius-card); overflow:hidden; border:1px solid var(--line); aspect-ratio:16/7; max-height:300px; }
.jy-stepart .jy-art, .jy-card .jy-art, .jy-continue .jy-art { height:100%; }
.jy-story { font-family:var(--font-serif); font-size:1.1rem; line-height:1.55; margin:0; }
.jy-expect { display:flex; flex-direction:column; gap:6px; padding:14px 16px; border-radius:var(--radius-card); border:1px solid var(--line); background:var(--surface); }
.jy-expect .lbl { margin:0; }
.jy-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; }
.jy-pair { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:14px; }
.jy-pair .card { margin:0; }
.jy-heavy { margin:0; color:var(--ink2); }
.jy-enough { margin:6px 0 0; }
.jy-wrap { border-top:1px solid var(--line); padding-top:18px; }
.jy-donebar { display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; padding:16px 18px; border-radius:var(--radius-card); background:var(--wash); margin-top:18px; }
.jy-donebar p { margin:0; }
.jy-choices { display:flex; flex-wrap:wrap; gap:8px; }
/* Doubled class outranks app.css's .btn:not(...) chain. */
.jy-choices button.btn.btn[aria-pressed="true"], .jy-choices button.btn.btn[aria-pressed="true"]:hover { background:var(--accent); color:var(--accent-ink); border-color:var(--accent); }
.jy-skip { color:var(--ink2); }
/* In-story guide and script steps. */
.jy-guidesteps, .jy-lines { margin:0; padding-left:20px; display:flex; flex-direction:column; gap:8px; }
.jy-lines li { font-weight:600; }
/* Rule tags: a word and a shape, so they read in every look and without color. */
.jy-rules { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.jy-rules li { display:flex; gap:10px; align-items:flex-start; }
.jy-tag { flex:none; display:inline-flex; align-items:center; gap:6px; font-size:.78rem; font-weight:700; padding:2px 8px; border-radius:var(--radius-chip); border:1.5px solid var(--ink2); color:var(--ink); background:var(--surface); white-space:nowrap; }
.jy-tag::before { content:""; width:9px; height:9px; display:inline-block; background:currentColor; }
.jy-tag.firm { border-style:solid; color:var(--accent-ink); background:var(--accent); border-color:var(--accent); }
.jy-tag.usually { border-style:dashed; }
.jy-tag.usually::before { border-radius:50%; }
.jy-tag.depends { border-style:dotted; }
.jy-tag.depends::before { background:none; border:2px solid currentColor; transform:rotate(45deg); width:7px; height:7px; }
.jy-tag.your-call { border-style:double; border-width:3px; }
.jy-tag.your-call::before { background:none; border:2px solid currentColor; border-radius:50%; width:7px; height:7px; }
/* The skill deck: card tiles, fit tags, stamps. */
.jy-check { display:flex; align-items:center; gap:8px; font-weight:700; }
.jy-tiles { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:12px; margin-top:6px; }
.jy-cardtile { display:flex; flex-direction:column; gap:6px; padding:12px 14px; border-radius:var(--radius-card); border:1px solid var(--line); background:var(--surface); }
.jy-cardtile.inhand { border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); }
.jy-cardtile b { font-family:var(--font-serif); font-size:1.05rem; }
.jy-cardline { margin:0; font-weight:600; }
.jy-cardtile .btn.small { align-self:flex-start; margin-top:4px; }
.jy-fit { align-self:flex-start; font-size:.78rem; font-weight:700; padding:2px 8px; border-radius:var(--radius-chip); border:1.5px solid var(--ink2); }
.jy-fit.well { background:var(--accent); color:var(--accent-ink); border-color:var(--accent); }
.jy-fit.partly { border-style:dashed; }
.jy-fit.not-here { border-style:dotted; color:var(--ink2); }
.jy-stamps { margin:0; font-size:.85rem; color:var(--ink2); }
.replychip b { font-weight:700; }
/* Kingdom twin layout: the real place is the larger panel. */
.jy-twin { display:grid; grid-template-columns:2fr 1fr; gap:14px; }
.jy-twin .jy-art { border-radius:var(--radius-card); border:1px solid var(--line); min-height:180px; }
.jy-twin figcaption { font-size:.85rem; color:var(--ink2); margin-top:6px; }
/* Tour: three captioned pictures. */
.jy-tour { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:12px; }
.jy-tour figure { margin:0; }
.jy-tour .jy-art { border-radius:var(--radius-card); border:1px solid var(--line); aspect-ratio:4/3; }
.jy-tour figcaption { font-size:.9rem; margin-top:6px; }
.jy-testnote { font-size:.85rem; color:var(--ink3); }
@media (max-width: 480px) {
  .jy-rules li { flex-direction:column; gap:4px; }
}
@media (max-width: 760px) {
  .jy-continue { grid-template-columns:1fr; }
  .jy-continue .jy-art { min-height:150px; }
  .jy-twin { grid-template-columns:1fr; }
  .jy-stepart { aspect-ratio:16/9; }
}
