/* Project Void: story pages, bubbles, and small interactive tools. Vanilla CSS, no libraries. */
.sv{--sv-line:#bed6ee33;--sv-line2:#bed6ee5c;--sv-panel:#0d1220d9;--sv-ink:#f4f7fb;--sv-muted:#b9c6d9;--sv-faint:#8e9bb0;--sv-v:#5eead4;--sv-vs:#0f3a35;--sv-u:#ffd98a;--sv-us:#3a2f12;--sv-n:#ff9fae;--sv-ns:#3a1720;--sv-acc:#a9b4ff;--sv-bub:#131a33}
.sv figure{margin:1.1rem 0}
.sv-fig{border:1px solid var(--sv-line);border-radius:16px;overflow:hidden;background:var(--sv-panel)}
.sv-fig img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.sv-fig figcaption{padding:.55rem .8rem .65rem;font-size:.82rem;line-height:1.45;color:var(--sv-muted);text-transform:none;letter-spacing:normal}
.sv-fig figcaption .cr{display:block;color:var(--sv-faint);font-size:.76rem;margin-top:.15rem}
.sv-pics{display:grid;gap:.8rem;grid-template-columns:1fr}
@media (min-width:720px){.sv-pics{grid-template-columns:1fr 1fr}}
.sv-date{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin:.2rem 0 .8rem}
.sv-chip{font:600 .7rem/1 var(--sans,system-ui);letter-spacing:.08em;text-transform:uppercase;padding:.35rem .55rem;border-radius:999px;border:1px solid var(--sv-line2);color:var(--sv-muted)}
.sv-lab{display:inline-block;font:700 .66rem/1 var(--sans,system-ui);letter-spacing:.07em;padding:.22rem .45rem;border-radius:999px;margin-right:.45rem;vertical-align:2px;white-space:nowrap}
.sv-lab.v{background:var(--sv-vs);color:#bffcf3}.sv-lab.u{background:var(--sv-us);color:#ffe2a6}.sv-lab.n{background:var(--sv-ns);color:#ffc2cc}
.sv-facts{list-style:none;padding:0;margin:.8rem 0;display:grid;gap:.55rem}
.sv-facts li{border:1px solid var(--sv-line);border-radius:14px;padding:.65rem .85rem;background:var(--sv-panel);line-height:1.5}
.sv-facts .src{display:block;font-size:.8rem;color:var(--sv-muted);margin-top:.25rem}
.sv-facts a,.sv-srcs a{word-break:break-word}
.sv-say{margin:1.3rem 0;border:1px dashed #ffd98a88;border-radius:16px;padding:.8rem 1rem;background:#2a220dcc}
.sv-say h2{font-size:1.05rem;margin:.1rem 0 .3rem}
.sv-say p.k{margin:0 0 .5rem;font-size:.82rem;color:#ffe2a6}
.sv-say ul{margin:.3rem 0 0;padding-left:1.1rem}.sv-say li{margin:.3rem 0}
.sv-srcs{font-size:.88rem;line-height:1.55}.sv-srcs li{margin:.2rem 0}
.sv-soon{display:grid;place-items:center;text-align:center;min-height:180px;border:1px dashed var(--sv-line2);border-radius:16px;background:repeating-linear-gradient(135deg,#0d1220 0 12px,#10172a 12px 24px);color:var(--sv-muted);padding:1rem}
.sv-soon b{display:block;color:var(--sv-ink);font-size:1rem;margin-bottom:.25rem}
.sv-art{width:100%;height:auto;display:block}
.sv-panel{border:1px solid var(--sv-line);border-radius:16px;background:var(--sv-panel);padding:.85rem 1rem;margin:1rem 0}
.sv-panel h2,.sv-panel h3{margin-top:.1rem}
.sv-note{font-size:.8rem;color:var(--sv-faint);margin:.4rem 0 0}
/* yields chart */
.yc-ctl{display:flex;flex-wrap:wrap;gap:.4rem .9rem;align-items:center;margin:.3rem 0 .6rem;font-size:.85rem}
.yc-ctl button{font:600 .78rem/1 var(--sans,system-ui);padding:.42rem .65rem;border-radius:999px;border:1px solid var(--sv-line2);background:transparent;color:var(--sv-muted);cursor:pointer}
.yc-ctl button[aria-pressed="true"]{background:#a9b4ff22;color:var(--sv-ink);border-color:var(--sv-acc)}
.yc-ctl label{display:inline-flex;gap:.3rem;align-items:center;cursor:pointer;color:var(--sv-muted)}
.yc-ctl i{display:inline-block;width:14px;height:3px;border-radius:2px}
.yc-svg{width:100%;height:auto;display:block;touch-action:pan-y}
.yc-read{font-size:.92rem;margin:.4rem 0 .2rem;min-height:1.4em}
.yc-read b{font-variant-numeric:tabular-nums}
.yc-scrub{width:100%;margin:.3rem 0}
/* calculators */
.calc-grid{display:grid;gap:.7rem;grid-template-columns:1fr}
@media (min-width:640px){.calc-grid{grid-template-columns:1fr 1fr}}
.calc-grid label{display:block;font-size:.85rem;color:var(--sv-muted)}
.calc-grid input[type=number]{width:100%;margin-top:.25rem;padding:.5rem .6rem;border-radius:10px;border:1px solid var(--sv-line2);background:#0a0e1a;color:var(--sv-ink);font-size:1rem}
.calc-grid input[type=range]{width:100%;margin-top:.45rem}
.calc-out{font-size:1.05rem;margin:.7rem 0 .3rem}.calc-out b{font-size:1.25rem;color:#bffcf3}
.calc-tbl{width:100%;border-collapse:collapse;font-size:.88rem;margin-top:.5rem}
.calc-tbl th,.calc-tbl td{text-align:left;padding:.35rem .4rem;border-bottom:1px solid var(--sv-line)}
.calc-tbl tr.over td{color:#ffc2cc}
.calc-bar{height:10px;border-radius:6px;background:#1a2238;overflow:hidden;margin-top:.25rem}.calc-bar span{display:block;height:100%;background:linear-gradient(90deg,#5eead4,#a9b4ff)}
.calc-tbl tr.over .calc-bar span{background:linear-gradient(90deg,#ff9fae,#ffd98a)}
/* index fund expander */
.ix-list{list-style:none;padding:0;margin:.6rem 0;display:grid;gap:.35rem}
.ix-list button{width:100%;display:grid;grid-template-columns:7.5rem 1fr 3.6rem;gap:.6rem;align-items:center;text-align:left;padding:.45rem .6rem;border-radius:10px;border:1px solid var(--sv-line);background:#0a0e1a;color:var(--sv-ink);cursor:pointer;font:inherit;font-size:.88rem}
.ix-list button:hover,.ix-list button[aria-expanded="true"]{border-color:var(--sv-acc)}
.ix-bar{height:9px;border-radius:5px;background:#1a2238;overflow:hidden}.ix-bar span{display:block;height:100%;background:var(--sv-acc);transition:width .25s}
.ix-pct{text-align:right;font-variant-numeric:tabular-nums}
.ix-more{font-size:.84rem;color:var(--sv-muted);padding:.35rem .6rem .5rem}
/* timeline */
.tl{position:relative;margin:.8rem 0}
.tl-dots{display:flex;flex-wrap:wrap;gap:.4rem}
.tl-dots button{font:600 .76rem/1.1 var(--sans,system-ui);padding:.45rem .6rem;border-radius:999px;border:1px solid var(--sv-line2);background:#0a0e1a;color:var(--sv-muted);cursor:pointer}
.tl-dots button[aria-selected="true"]{border-color:var(--sv-acc);color:var(--sv-ink);background:#a9b4ff22}
.tl-dots button.future{border-style:dashed}
.tl-card{margin-top:.6rem;border:1px solid var(--sv-line);border-radius:12px;padding:.6rem .8rem;background:#0a0e1a;min-height:4.2rem}
/* topic filter */
.tf{display:flex;flex-wrap:wrap;gap:.4rem;margin:1rem 0 .4rem;position:sticky;top:4.35rem;z-index:5;padding:.5rem 0;background:linear-gradient(#070910f2,#070910cc)}
.tf button{font:600 .78rem/1 var(--sans,system-ui);padding:.48rem .75rem;border-radius:999px;border:1px solid var(--sv-line2);background:transparent;color:var(--sv-muted);cursor:pointer}
.tf button[aria-pressed="true"]{background:#a9b4ff22;color:var(--sv-ink);border-color:var(--sv-acc)}
.tf-count{font-size:.8rem;color:var(--sv-faint);align-self:center;margin-left:.3rem}
[data-tf-hidden]{display:none!important}
/* bubble row (same look as the Field Guide home map: dark navy circles with a light periwinkle ring) */
.bub-row{list-style:none;padding:0;margin:1.4rem auto .4rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem .8rem;max-width:980px;justify-items:center}
@media (min-width:760px){.bub-row{grid-template-columns:repeat(4,minmax(0,1fr))}}
.bub-row.five{max-width:1100px}
@media (min-width:900px){.bub-row.five{grid-template-columns:repeat(5,minmax(0,1fr))}}
.bub{display:grid;place-items:center;text-align:center;text-decoration:none;color:#f4f7fb;width:min(100%,170px)}
.bub .c{position:relative;width:min(100%,150px);aspect-ratio:1;border-radius:50%;border:2px solid #a9b4ff;background:#131a33;overflow:hidden;box-shadow:0 0 0 0 #7c8cff00;transition:box-shadow .2s,transform .2s}
.bub .c img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.bub .c span{position:absolute;inset:0;display:grid;place-items:center;padding:16%;font:600 .86rem/1.2 var(--sans,system-ui);text-shadow:0 1px 6px #000,0 0 2px #000}
.bub:hover .c,.bub:focus-visible .c{box-shadow:0 0 0 6px #7c8cff33;transform:translateY(-2px)}
@media (prefers-reduced-motion:reduce){.bub .c{transition:none}.bub:hover .c{transform:none}}
.bub small{display:block;margin-top:.45rem;font-size:.72rem;color:#b9c6d9;letter-spacing:.04em}
.bub-cap{text-align:center;font-size:.82rem;color:#b9c6d9;margin:.2rem 0 1rem}
/* featured slot picture on /home/ */
.top-story .ts-pic{margin:16px auto 6px;max-width:640px;border-radius:16px;overflow:hidden;border:1px solid #bed6ee2e}
.top-story .ts-pic img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.top-story .ts-pic figcaption{font-size:11.5px;color:#8e9bb0;padding:6px 10px;text-align:left}
.top-story .ts-go{display:inline-block;margin-top:14px;padding:10px 16px;border-radius:999px;border:1px solid #a9b4ff;color:#f4f7fb;text-decoration:none;font-weight:600}
.top-story .ts-go:hover{background:#a9b4ff22}
.top-story .ts-uv{font-size:13px;color:#ffe2a6;margin:10px auto 0;max-width:56ch}
.news-item .more{display:inline-block;margin-top:6px;font-weight:600}
/* comments placeholder */
.cm{margin:1.6rem 0;border:1px solid var(--sv-line,#bed6ee33);border-radius:16px;padding:.9rem 1rem;background:var(--sv-panel,#0d1220d9)}
.cm h2{margin:.1rem 0 .3rem;font-size:1.15rem}
.cm .cm-soon{margin:.2rem 0 .7rem}
.cm textarea{width:100%;min-height:5.5rem;border-radius:10px;border:1px solid #bed6ee33;background:#0a0e1a;color:#8e9bb0;padding:.55rem .65rem;font:inherit;resize:vertical}
.cm input[type=text]{width:100%;border-radius:10px;border:1px solid #bed6ee33;background:#0a0e1a;color:#8e9bb0;padding:.5rem .65rem;font:inherit;margin-bottom:.45rem}
.cm button[disabled]{opacity:.65;cursor:not-allowed;margin-top:.45rem;padding:.5rem .9rem;border-radius:999px;border:1px solid #bed6ee5c;background:transparent;color:#b9c6d9;font:600 .85rem/1 var(--sans,system-ui)}
.cm .rules{font-size:.8rem;color:#8e9bb0;margin:.5rem 0 0}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.prose .bub-row{gap:.9rem .6rem}
@media (min-width:640px){.prose .bub-row.five{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (max-width:639px){.prose .bub-row.five{grid-template-columns:repeat(3,minmax(0,1fr))}}
.prose .bub .c span{font-size:.78rem;padding:12%}
.sv-thumbpanel{display:grid;gap:.8rem;grid-template-columns:1fr}@media (min-width:640px){.sv-thumbpanel{grid-template-columns:200px 1fr;align-items:start}}
.sv-thumbpanel img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:12px;border:1px solid #bed6ee2e}
.bub-row>li{width:100%;display:flex;justify-content:center}
.bub{width:100%;max-width:170px}
.bub .c{width:100%;max-width:150px}

/* 2026-11-17: news cards as hover/tap bubbles. No copy changes. Keeps .bub-row.five as is. */
#content>article.wrap.prose:has(.news-card){
  width:min(var(--max),calc(100% - 2rem));
  max-width:var(--max);
}
.news-card{
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
  cursor:pointer;
}
.news-card:hover{
  transform:translateY(-4px);
  border-color:var(--sv-line2,#bed6ee5c);
  box-shadow:0 18px 44px #0000008a,0 0 0 1px #a9b4ff55;
}
.news-card:focus{outline:none}
.news-card:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 0 0 3px #a9b4ffcc,0 12px 32px #0008;
}
@media (prefers-reduced-motion:reduce){
  .news-card,.news-card:hover,.news-card:focus-visible{transition:none;transform:none}
}
@media (min-width:860px){
  #content>article.wrap.prose:has(.news-card){
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1rem 1.1rem;
    align-items:start;
  }
  #content>article.wrap.prose:has(.news-card)>:not(.news-card),
  #content>article.wrap.prose:has(.news-card)>.news-card-lead,
  #content>article.wrap.prose:has(.news-card)>.news-card-wide{
    grid-column:1/-1;
  }
}
@media (max-width:859px){
  .news-card:not(.is-open):not(.news-card-lead)>.sv-facts>li:nth-child(n+2),
  .news-card:not(.is-open):not(.news-card-lead)>.sv-note,
  .news-card:not(.is-open):not(.news-card-lead)>.sv-date,
  .news-card:not(.is-open):not(.news-card-lead)>p.sv-note{display:none}
  .news-card:not(.is-open):not(.news-card-lead)>h2+ul.sv-facts+p{display:none}
  .news-card:not(.is-open):not(.news-card-lead)>h2+p,
  .news-card:not(.is-open):not(.news-card-lead) .sv-thumbpanel>div>p:first-of-type{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
  }
  .news-card:not(.is-open):not(.news-card-lead) .sv-thumbpanel>div>p:not(:first-of-type){display:none}
  .news-card:not(.news-card-lead)::after{
    content:"";
    display:block;
    width:8px;height:8px;
    border-right:2px solid #a9b4ff;
    border-bottom:2px solid #a9b4ff;
    transform:rotate(45deg);
    margin:.55rem auto 0;
    opacity:.8;
  }
  .news-card.is-open:not(.news-card-lead)::after{
    transform:rotate(-135deg);
    margin-top:.65rem;
  }
  @media (prefers-reduced-motion:reduce){
    .news-card:not(.news-card-lead)::after,.news-card.is-open:not(.news-card-lead)::after{transition:none}
  }
}

/* bubble click fix 2026-11-21: whole bubble opens its story; no native image/link drag */
.bub{-webkit-user-drag:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:manipulation;cursor:pointer;-webkit-tap-highlight-color:transparent}
.bub *{pointer-events:none;-webkit-user-drag:none}

/* whole-card tap 2026-11-21: one stretched link or toggle per card; inner links stay clickable above it */
.news-card,.news-item,.top-story,#strip .wf{position:relative}
.card-link{color:inherit;text-decoration:none}
.card-link:hover{text-decoration:underline;text-underline-offset:3px}
.card-link::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit;cursor:pointer}
.card-toggle{background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;line-height:inherit}
.card-toggle-bare{position:absolute;inset:0;width:100%;height:100%;z-index:1}
.card-link:focus{outline:none}
.card-link:focus-visible{outline:2px solid #a9b4ff;outline-offset:3px;border-radius:4px}
.news-card:has(.card-link:focus-visible),.news-item:has(.card-link:focus-visible),#strip .wf:has(.card-link:focus-visible){box-shadow:0 0 0 3px #a9b4ffcc,0 12px 32px #0008}
.news-card a:not(.card-link),.news-card button:not(.card-link),.news-card .term,.news-card input,.news-card label,.news-card summary,
.news-item a:not(.card-link),.news-item button:not(.card-link),
.top-story a:not(.card-link),.top-story button:not(.card-link),
#strip .wf a:not(.card-link),#strip .wf button:not(.card-link){position:relative;z-index:2}
.news-item{cursor:pointer}
.news-item.is-collapsible:not(.is-open) .sources{display:none}
.news-item.is-collapsible:not(.is-open) p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.news-item.is-collapsible h3 .card-toggle::before{content:"";display:inline-block;width:6px;height:6px;border-right:2px solid #a9b4ff;border-bottom:2px solid #a9b4ff;transform:rotate(-45deg);margin:0 .45em .12em 0;transition:transform .15s}
.news-item.is-collapsible.is-open h3 .card-toggle::before{transform:rotate(45deg)}
.sv-upd{margin-top:.5rem}

/* bond seesaw toy 2026-11-21 */
.ssw-svg{display:block;width:100%;height:auto;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none;border-radius:12px}
.ssw-svg:active{cursor:grabbing}
.ssw-svg:focus{outline:none}.ssw-svg:focus-visible{outline:2px solid #a9b4ff;outline-offset:4px}
.ssw-cap{text-align:center;font-weight:700;margin:.4rem 0 0;min-height:1.5em}
.ssw-hint{text-align:center;margin-top:.2rem}
.ssw-why{margin:.6rem .4rem .4rem;font-weight:400;font-size:.98rem}
figure.has-ssw>svg.sv-art{display:none}
.news-card,.news-card a,.sv-srcs a{overflow-wrap:anywhere}
.card-toggle-bare{width:auto!important;height:auto!important;max-width:none!important;min-width:0!important;margin:0!important;border-radius:inherit}

/* site-live-39: story cards with no photo use one full-width column */
.sv-thumbpanel:not(:has(> img)){grid-template-columns:1fr}
