:root {
  --r: 8px;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --num: ui-monospace, "SFMono-Regular", "SF Mono", "Roboto Mono", Consolas, "Liberation Mono", monospace;
  --max: 1180px;
}
[data-theme="dark"] {
  --bg: #0c0e11;
  --card: #14171c;
  --card2: #1b1f26;
  --line: #323842;
  --text: #f4f1ea;
  --soft: #c8bfb0;
  --green: #3dd68c;
  --amber: #ffb020;
  --red: #ff6b6b;
  --blue: #ffb020;
  --chip: #101318;
  --slate: #b7b0a4;
  --on-pill: #1a1200;
  --focus: #fff4d6;
}
[data-theme="light"] {
  --bg: #f6f3ec;
  --card: #ffffff;
  --card2: #f3eee4;
  --line: #ddd4c4;
  --text: #1c1915;
  --soft: #5c5348;
  --green: #146c43;
  --amber: #8a4b08;
  --red: #b42318;
  --blue: #8a4b08;
  --chip: #efe8dc;
  --slate: #5c5348;
  --on-pill: #fff;
  --focus: #1c1915;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.4;
}
.ticker {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.ticker-track { display: flex; gap: 18px; padding: 7px 16px; width: max-content; min-width: 100%; }
.tick { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.tick-k { color: var(--soft); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; }
.tick-v { font-family: var(--num); color: var(--amber); font-weight: 700; font-size: 14px; }
.three { border: 1px solid var(--amber); border-radius: 8px; padding: 12px 14px; margin: 12px 0; background: var(--card); }
.three h2 { margin: 0 0 8px; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--amber); }
.three ol { margin: 0; padding-left: 1.2em; }
.three li { margin: 4px 0; }
.three .note { margin: 8px 0 0; }
a { color: var(--blue); }
a:hover { text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px 48px; }
.top { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; color: var(--amber); text-decoration: none; }
.logo .word { color: var(--text); }
.logo svg, .logo .mark { width: 34px; height: 34px; }
.plain { color: var(--soft); font-size: 15px; margin: 8px 0 0; }
.plain b { display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); margin-bottom: 2px; }
.yield-chart, .yield-history { width: 100%; height: auto; margin-top: 8px; }
.listen-row { margin: 8px 0; }
.archive-search { margin: 12px 0 4px; max-width: 420px; }
.hero .card { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
.when { color: var(--soft); font-size: 15px; }
.sp { flex: 1; }
nav { display: flex; flex-wrap: wrap; gap: 14px; }
nav a { color: var(--text); text-decoration: none; font-weight: 700; padding-bottom: 2px; border-bottom: 2px solid transparent; }
nav a[aria-current="page"] { color: var(--amber); border-color: var(--amber); }
.pill, .btn, .coffee, .theme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.pill { padding: 6px 12px; background: var(--card2); border: 1px solid var(--line); }
.btn, .theme, button.theme {
  border: 0;
  padding: 8px 14px;
  cursor: pointer;
  background: var(--card2);
  color: var(--text);
  border: 1px solid var(--line);
  font: inherit;
  font-weight: 700;
}
.coffee { background: #ffdd00; color: #111; padding: 8px 14px; }
.coffee:hover { text-decoration: none; }
.dot, .imp { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: none; }
.imp { width: 10px; height: 10px; margin-top: 6px; }
.dot.tone-green, .imp.tone-green { background: var(--green); }
.dot.tone-amber, .imp.tone-amber { background: var(--amber); }
.dot.tone-red, .imp.tone-red { background: var(--red); }
.dot.tone-blue, .imp.tone-blue { background: var(--blue); }
.notice, .disclaimer, .banner {
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 14px 0;
  color: var(--soft);
  font-size: 15px;
}
.notice strong, .disclaimer, .banner strong { color: var(--text); }
.banner.warn { border-color: var(--amber); }
.hero, .two { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
  margin: 8px 0;
  overflow-wrap: break-word;
}
.hero .card, .two .card, .num-grid .card, .week .day, .plus { margin: 0; }
.label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.gauge-label, .gauge { text-align: center; }
.gauge svg { width: 100%; max-width: 300px; }
.oneline { font-size: 26px; font-weight: 800; line-height: 1.25; margin: 10px 0 14px; }
.bul { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
.bul li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; }
.bul .ic { font-size: 22px; line-height: 1.2; width: 28px; text-align: center; }
.mood { font-size: 28px; font-weight: 800; margin-top: 4px; }
.moodsub, .src, .spark-note, .note, .meta, .quiet { color: var(--soft); font-size: 15px; }
.ingred { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; text-align: left; }
.ing { background: var(--chip); border-radius: 10px; padding: 8px 10px; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.method { margin-top: 12px; text-align: left; }
.method summary { cursor: pointer; font-weight: 700; }
.method p { margin: 8px 0; color: var(--soft); font-size: 15px; }
h1 { font-size: 22px; line-height: 1.25; margin: 8px 0 4px; }
h2 { font-size: 22px; margin: 28px 0 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
h2 small { font-size: 14px; color: var(--soft); font-weight: 500; }
h3 { font-size: 18px; margin: 0 0 6px; }
.num-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.pair-block { display: grid; gap: 22px; }
.pair h3 { margin: 0 0 8px; }
.pair-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pair-col { display: grid; gap: 12px; align-content: start; }
.place { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.num { display: flex; flex-direction: column; gap: 6px; border-top: 5px solid currentColor; }
.num.tone-green { color: var(--green); }
.num.tone-amber { color: var(--amber); }
.num.tone-red { color: var(--red); }
.num.tone-blue { color: var(--blue); }
.num.tone-slate { color: var(--slate); }
.num .row, .num .name, .num .mean, .num .src, .num .spark-note, .num .missing { color: var(--text); }
.num .big { color: var(--amber); }
.num .src, .num .spark-note { color: var(--soft); }
.num .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.num .name { font-weight: 700; font-size: 17px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tone-word { font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.big { font-family: var(--num); font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.chg { font-weight: 800; font-size: 14px; padding: 4px 10px; border-radius: 999px; color: #fff; white-space: nowrap; }
.chg.tone-green { background: var(--green); color: #fff; }
.chg.tone-amber { background: var(--amber); color: var(--on-pill); }
.chg.tone-red { background: var(--red); color: #fff; }
.chg.tone-blue { background: var(--blue); color: #fff; }
.chg.tone-slate { background: var(--slate); color: #fff; }
.mean { background: var(--chip); border-radius: 10px; padding: 10px 12px; font-size: 16px; }
.mean b { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); margin-bottom: 2px; }
.spark { width: 100%; height: 40px; }
.missing { font-size: 18px; font-weight: 700; }
.week { display: grid; grid-template-columns: 1fr; gap: 12px; }
.day { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.day.today { outline: 3px solid var(--blue); }
.day .d { color: var(--soft); font-size: 14px; margin-bottom: 8px; }
.ev { display: flex; gap: 8px; align-items: flex-start; font-size: 16px; margin-top: 8px; }
.ev .t { font-family: var(--num); font-size: 13px; color: var(--soft); }
.legend { display: flex; gap: 16px; font-size: 14px; color: var(--soft); margin-top: 10px; flex-wrap: wrap; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend .imp { margin: 0; }
.fil { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fil:last-child { border: 0; }
.fic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; flex: none; background: var(--chip); }
.kind-results { background: #16a34a33; }
.kind-insider { background: #0284c733; }
.kind-holder { background: #f5b30133; }
.fil .w { font-weight: 700; }
.fil .s { font-size: 14px; color: var(--soft); }
.more, button.more {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: var(--chip);
  color: var(--text);
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}
.curve svg { width: 100%; height: 150px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--text); background: var(--chip); }
.tag.tone-green { background: #22c55e33; color: var(--green); }
.tag.tone-amber { background: #f5b30133; color: var(--amber); }
.tag.tone-red { background: #ef444433; color: var(--red); }
.plus {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #1e3a8a, #6d28d9);
  color: #fff;
  border: 0;
}
.plus b { font-size: 20px; }
.plus p { opacity: 0.9; font-size: 15px; margin: 4px 0 0; }
.plus-btn, a.plus-btn { background: #fff; color: #1e1b4b; text-decoration: none; }
.foot { margin-top: 28px; color: var(--soft); font-size: 14px; }
.foot-coffee { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.fazier { margin: 14px 0 0; }
.fazier a { display: inline-block; line-height: 0; }
.fazier img { display: block; width: 120px; height: auto; }
[data-theme="dark"] .fazier a { background: #fff; border-radius: 6px; padding: 4px; }
.commentary { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 12px 0; }
.commentary p, .commentary li { margin: 8px 0; }
.comment-label { font-weight: 700; }
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--soft); font-size: 14px; }
.yields { display: flex; flex-wrap: wrap; gap: 8px; }
.yields div { background: var(--chip); border: 1px solid var(--line); border-radius: 10px; min-width: 88px; padding: 8px 10px; }
.yields strong { display: block; font-size: 18px; }
.figures { list-style: none; padding: 0; margin: 8px 0 0; }
.figures li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.event-line { margin: 0 0 8px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 8px 0 18px; }
.subnav a[aria-current="page"] { font-weight: 700; }
details.fold { margin: 8px 0; }
details.fold > summary, details.extra > summary { cursor: pointer; font-size: 20px; font-weight: 700; margin: 18px 0 8px; }
.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  transform: translateY(-150%);
  background: var(--card);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 6;
}
.skip:focus { transform: none; }
.page-nav, .share { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 8px 0; }
.page-nav a, .share a { font-weight: 700; }
.share .btn { margin: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.widget { margin: 8px 0 12px; min-height: 64px; max-width: 100%; overflow: hidden; background: #fff; border-radius: 12px; padding: 8px; }
.widget-tall { min-height: 520px; }
.widget .tradingview-widget-copyright { font-size: 13px; }
form label { display: block; margin: 10px 0 4px; }
input, textarea {
  width: 100%;
  font: inherit;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--chip);
  color: var(--text);
}
textarea { min-height: 88px; }
form button {
  font: inherit;
  background: var(--amber);
  color: var(--on-pill);
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  margin-top: 12px;
  cursor: pointer;
  font-weight: 700;
}
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.explain article { padding: 8px 0 16px; border-bottom: 1px solid var(--line); }
.lead { font-size: 18px; }
.share { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 8px 0; }
.share .btn { margin: 0; }
@media (min-width: 821px) {
  .hero { grid-template-columns: 1.5fr 1fr; }
  .two { grid-template-columns: 1.3fr 1fr; }
  .num-grid { grid-template-columns: repeat(3, 1fr); }
  .pair-grid { grid-template-columns: 1fr 1fr; }
  .week { grid-template-columns: repeat(5, 1fr); }
  .grid { grid-template-columns: 1fr 1fr; }
  .oneline { font-size: 30px; }
  .big { font-size: 44px; }
}
.signup-box { padding: 12px 14px; margin: 10px 0 12px; }
.signup-box h2 { margin: 0 0 4px; font-size: 20px; }
.signup-box p { margin: 0 0 6px; }
.signup-box form label { margin: 2px 0 4px; }
.signup-disclaimer { color: var(--soft); font-size: 15px; }
.signup-row { display: flex; gap: 8px; align-items: center; }
.signup-box .signup-row input { flex: 1 1 auto; width: auto; min-width: 0; }
.signup-box .signup-row button { margin-top: 0; flex: none; }
@media (max-width: 820px) {
  .ticker-track { flex-wrap: wrap; width: auto; row-gap: 4px; }
  .when { width: 100%; order: 5; font-size: 14px; }
  .top .pill { width: 100%; justify-content: center; }
  .logo { font-size: 20px; }
  nav { gap: 10px 12px; }
  nav a { font-size: 15px; }
  .top .coffee span { display: none; }
  h1 { font-size: 20px; }
  h2 { font-size: 20px; }
  main.wrap { overflow-x: auto; }
  .signup-row { flex-direction: column; align-items: stretch; }
  .signup-box .signup-row input,
  .signup-box .signup-row button { width: 100%; flex: none; }
}
