/* MMOTIMES design system — financial-news editorial */
:root {
  --paper: #FAF9F6;
  --paper-2: #F2F0EA;
  --card: #FFFFFF;
  --ink: #151515;
  --ink-2: #3A3A3A;
  --muted: #686868;
  --rule: #DEDAD0;
  --rule-strong: #151515;
  --red: #B71927;
  --red-ink: #8E101C;
  --green: #1F7A4A;
  --amber: #A86A00;
  --night: #121417;
  --night-2: #1C2025;
  --serif-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1280px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 17px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:hover .hl, a.hl:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sans { font-family: var(--sans); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- utility bar ---- */
.utility { font-family: var(--sans); font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--rule); }
.utility .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 6px; vertical-align: 1px; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

/* ---- masthead ---- */
.masthead .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding-top: 20px; padding-bottom: 18px; }
.logo { font-family: var(--serif-display); font-weight: 900; font-size: 54px; letter-spacing: -1.5px; line-height: 1; }
.logo .t { color: var(--red); }
.logo sup { font-family: var(--sans); font-size: 12px; font-weight: 500; vertical-align: 30px; margin-left: 2px; }
.tagline { border-left: 1px solid var(--rule-strong); padding-left: 24px; }
.tagline b { display: block; font-family: var(--serif-display); font-size: 21px; letter-spacing: .5px; font-weight: 700; }
.tagline span { font-family: var(--sans); font-size: 13.5px; color: var(--ink-2); }
.mast-actions { display: flex; gap: 10px; align-items: center; font-family: var(--sans); font-size: 14px; }
.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 6px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-ink); }
.btn-ghost { border-color: transparent; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--paper-2); }

/* ---- nav ---- */
.nav { border-top: 1px solid var(--rule-strong); border-bottom: 3px double var(--rule-strong); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.nav .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav .wrap::-webkit-scrollbar { display: none; }
.nav a { font-family: var(--sans); font-size: 14px; font-weight: 600; padding: 12px 13px; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.nav a:hover, .nav a.on { border-bottom-color: var(--red); color: var(--red); }

/* ---- ticker ---- */
.ticker { background: var(--ink); color: #fff; font-family: var(--sans); font-size: 13px; }
.ticker .wrap { display: flex; gap: 14px; align-items: center; padding-top: 8px; padding-bottom: 8px; overflow: hidden; }
.ticker .lbl { background: var(--red); padding: 3px 8px; font-weight: 700; letter-spacing: .6px; font-size: 11px; flex: none; }
.ticker .items { display: flex; gap: 32px; white-space: nowrap; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.ticker .items a { opacity: .9 } .ticker .items a:hover { opacity: 1; text-decoration: underline; }
.ticker time { color: #ff8b95; margin-right: 6px; font-weight: 600; }

/* ---- shared typography ---- */
.kicker { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: var(--red); }
.meta { font-family: var(--sans); font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.meta .sep { width: 1px; height: 11px; background: var(--rule); }
.hl { font-family: var(--serif-display); font-weight: 700; line-height: 1.12; letter-spacing: -.2px; margin: 4px 0 6px; }
.dek { color: var(--ink-2); font-size: 16px; margin: 0 0 8px; }
.section-head { display: flex; justify-content: space-between; align-items: end; border-bottom: 1px solid var(--rule-strong); margin: 40px 0 18px; padding-bottom: 8px; }
.section-head h2 { font-family: var(--serif-display); font-size: 30px; margin: 0; position: relative; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 56px; height: 3px; background: var(--red); }
.section-head a { font-family: var(--sans); font-size: 13.5px; font-weight: 600; }

/* tier + desk badges */
.badge { display: inline-flex; align-items: center; gap: 5px; font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; border: 1px solid currentColor; }
.badge.ai { color: #4B4FA8; }
.badge.wire { color: var(--muted); }
.badge.reviewed { color: var(--green); }
.badge.analysis { color: var(--amber); }
.badge.disclosure { color: var(--red); }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-family: var(--sans); font-size: 10.5px; font-weight: 800; color: #fff; flex: none; }

/* ---- generated cover art (no unlicensed images) ---- */
.art { position: relative; overflow: hidden; background: var(--night); aspect-ratio: 16/9; }
.art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.art .glyph { position: absolute; right: 14px; bottom: 10px; font-family: var(--sans); font-weight: 800; font-size: 11px; letter-spacing: 1.2px; color: rgba(255,255,255,.75); text-transform: uppercase; }
.art.c-econ { background: radial-gradient(120% 90% at 85% 10%, #3a6b4f 0%, #12241b 55%, #0b120e 100%); }
.art.c-ai { background: radial-gradient(120% 90% at 80% 20%, #4c4fa8 0%, #1a1b3d 55%, #0d0d1c 100%); }
.art.c-gaming { background: radial-gradient(120% 90% at 20% 20%, #8a3d9e 0%, #2a1236 55%, #12081a 100%); }
.art.c-work { background: radial-gradient(120% 90% at 80% 80%, #b57a22 0%, #3d2a10 55%, #1a1207 100%); }
.art.c-markets { background: radial-gradient(120% 90% at 50% 0%, #1f5f86 0%, #0f2a3b 55%, #07131b 100%); }
.art.c-convergence { background: radial-gradient(120% 90% at 30% 70%, #B71927 0%, #3d0a10 55%, #160406 100%); }
.art.c-intel { background: radial-gradient(120% 90% at 70% 30%, #6d6d6d 0%, #262626 55%, #111 100%); }

/* ---- homepage grid ---- */
.top-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) 330px; gap: 28px; margin-top: 26px; }
.lead .art { aspect-ratio: auto; min-height: 500px; border-radius: 4px; display: flex; flex-direction: column; justify-content: flex-end; }
.lead .over { position: relative; padding: 90px 28px 22px; background: linear-gradient(transparent, rgba(0,0,0,.82) 38%); color: #fff; }
.lead .over .hl { font-size: 40px; color: #fff; }
.lead .over .dek { color: rgba(255,255,255,.88); font-size: 17px; }
.lead .over .meta { color: rgba(255,255,255,.8); }
.lead .flag { position: absolute; top: 18px; left: 18px; background: var(--red); color: #fff; font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: .8px; padding: 6px 10px; text-transform: uppercase; z-index: 2; }
.stack { display: flex; flex-direction: column; }
.stack article { display: grid; grid-template-columns: 128px 1fr; gap: 14px; padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--rule); }
.stack article:last-child { border-bottom: 0; margin-bottom: 0; }
.stack .art { aspect-ratio: 1/1; border-radius: 3px; }
.stack .hl { font-size: 18.5px; }

/* wire panel */
.wire { background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--ink); padding: 16px 18px 6px; align-self: start; }
.wire h3 { font-family: var(--serif-display); font-size: 22px; margin: 0 0 2px; display: flex; justify-content: space-between; align-items: center; }
.wire .sub { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.wire ol { list-style: none; margin: 0; padding: 0; }
.wire li { display: grid; grid-template-columns: 46px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--rule); }
.wire time { font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--red); padding-top: 2px; }
.wire .t { font-size: 15px; line-height: 1.3; font-weight: 600; }
.wire .src { font-family: var(--sans); font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.wire .more { display: block; text-align: center; font-family: var(--sans); font-size: 13px; font-weight: 600; padding: 12px 0; border-top: 1px solid var(--rule); }

/* convergence panel */
.convergence { background: var(--night); color: #EDEBE5; margin-top: 40px; }
.convergence .wrap { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding-top: 36px; padding-bottom: 36px; }
.convergence .kicker { color: #ff6b78; }
.convergence h2 { font-family: var(--serif-display); font-size: 34px; line-height: 1.1; margin: 8px 0 12px; }
.convergence p { color: #B9B6AE; font-size: 15.5px; }
.conv-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.conv-nodes { display: flex; flex-direction: column; gap: 10px; position: relative; }
.conv-node { background: var(--night-2); border: 1px solid #2E333A; padding: 11px 13px; border-radius: 4px; font-size: 14.5px; line-height: 1.35; }
.conv-node .src { display: block; font-family: var(--sans); font-size: 11px; color: #8D8A83; margin-top: 4px; }
.conv-node .kicker { font-size: 10px; }
.conv-body .hl { font-size: 26px; color: #fff; }
.conv-body dl { margin: 14px 0 0; font-family: var(--sans); font-size: 13.5px; display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; }
.conv-body dt { color: #8D8A83; font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: .7px; padding-top: 2px; }
.conv-body dd { margin: 0; color: #DAD7CF; }
.confidence { display: inline-flex; gap: 3px; vertical-align: middle; margin-right: 6px; }
.confidence i { width: 14px; height: 6px; background: #3A3F46; border-radius: 1px; }
.confidence i.on { background: #ff6b78; }

/* latest grid */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.card .art { border-radius: 3px; margin-bottom: 12px; }
.card .hl { font-size: 20px; }
.card .dek { font-size: 15px; }

/* beats */
.beats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 32px; }
.beat { border-top: 2px solid var(--ink); padding-top: 12px; margin-bottom: 26px; }
.beat h3 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .9px; font-size: 13px; margin: 0 0 10px; display: flex; justify-content: space-between; }
.beat h3 a { color: var(--red); }
.beat article { padding: 10px 0; border-top: 1px solid var(--rule); }
.beat article:first-of-type { border-top: 0; padding-top: 0; }
.beat .hl { font-size: 17.5px; }

/* desk */
.desk { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 14px; }
.desk-card { background: var(--card); border: 1px solid var(--rule); padding: 14px; border-radius: 4px; }
.desk-card .avatar { width: 40px; height: 40px; font-size: 14px; margin-bottom: 10px; }
.desk-card b { display: block; font-family: var(--serif-display); font-size: 16.5px; line-height: 1.15; }
.desk-card span { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 3px; }
.desk-card .st { font-family: var(--sans); font-size: 11.5px; margin-top: 10px; color: var(--green); font-weight: 600; }

/* intelligence + briefing */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; margin-top: 40px; }
.panel { background: var(--card); border: 1px solid var(--rule); padding: 24px; border-radius: 4px; }
.panel h3 { font-family: var(--serif-display); font-size: 26px; margin: 4px 0 8px; }
.panel p { margin: 0 0 12px; color: var(--ink-2); font-size: 15.5px; }
.status-pill { display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; background: #FFF4DD; color: var(--amber); padding: 4px 9px; border-radius: 99px; }
.method { font-family: var(--sans); font-size: 13.5px; margin: 10px 0 0; padding: 0; list-style: none; }
.method li { padding: 8px 0; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; }
.method li span:last-child { color: var(--muted); }
.signup { display: flex; gap: 8px; margin: 14px 0 10px; }
.signup input { flex: 1; min-width: 0; padding: 11px 12px; font-family: var(--sans); font-size: 14px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); }
.checks { font-family: var(--sans); font-size: 13.5px; list-style: none; margin: 0; padding: 0; }
.checks li { padding: 4px 0 4px 22px; position: relative; } .checks li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* footer */
footer.site { margin-top: 56px; background: var(--ink); color: #CFCBC2; font-family: var(--sans); font-size: 13.5px; }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 28px; }
footer.site .logo { color: #fff; font-size: 34px; }
footer.site h4 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin: 4px 0 10px; }
footer.site a { display: block; padding: 3px 0; } footer.site a:hover { color: #fff; }
footer.site .fine { grid-column: 1/-1; border-top: 1px solid #333; padding-top: 16px; font-size: 12px; color: #8F8B83; }

/* ---- article page ---- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: 56px; justify-content: center; margin-top: 34px; }
.article h1 { font-family: var(--serif-display); font-size: 46px; line-height: 1.08; letter-spacing: -.5px; margin: 10px 0 14px; }
.article .dek { font-size: 20px; line-height: 1.45; color: var(--ink-2); margin-bottom: 20px; }
.byline { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: 13.5px; }
.byline .avatar { width: 42px; height: 42px; font-size: 14px; }
.byline .who b { display: block; font-size: 14.5px; }
.byline .who span { color: var(--muted); font-size: 12.5px; }
.byline .badges { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: end; }
.article .art { margin: 22px 0 6px; border-radius: 4px; }
.caption { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.body p { margin: 0 0 18px; font-size: 19px; line-height: 1.62; }
.body h2 { font-family: var(--serif-display); font-size: 25px; margin: 30px 0 10px; }
.body sup a { color: var(--red); font-family: var(--sans); font-size: 11px; font-weight: 700; padding: 0 1px; }
.body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--red); font-size: 21px; font-style: italic; }
.box { border: 1px solid var(--rule); background: var(--card); padding: 18px 20px; margin: 26px 0; border-radius: 4px; }
.box h3 { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .9px; margin: 0 0 10px; }
.box.uncertain { border-left: 4px solid var(--amber); }
.box.disclose { border-left: 4px solid var(--red); font-family: var(--sans); font-size: 14px; color: var(--ink-2); }
.box ul, .box ol { margin: 0; padding-left: 20px; font-size: 16px; }
.box li { margin-bottom: 6px; }
.sources ol { font-family: var(--sans); font-size: 13.5px; }
.sources li { margin-bottom: 9px; }
.sources li b { display: block; font-weight: 600; }
.sources li span { color: var(--muted); }
.sources li a { color: var(--red); word-break: break-all; }
.trail { font-family: var(--sans); font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; }
.trail div { padding: 2px 0; }
aside.rail .panel { padding: 18px; margin-bottom: 22px; }
aside.rail h4 { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .9px; margin: 0 0 10px; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.timeline li { padding: 0 0 14px 14px; position: relative; font-size: 15px; line-height: 1.35; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--red); }
.timeline time { display: block; font-family: var(--sans); font-size: 11.5px; color: var(--muted); font-weight: 600; }

/* desk colors */
.d-me { background: #151515; } .d-marcus { background: #1F7A4A; } .d-ada { background: #4B4FA8; } .d-jax { background: #8A3D9E; }
.d-maya { background: #A86A00; } .d-nova { background: #B71927; } .d-skeptic { background: #5A5A5A; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .tagline { display: none; }
  .masthead .wrap { grid-template-columns: 1fr auto; }
  .convergence .wrap { grid-template-columns: 1fr; gap: 20px; }
  .beats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .top-grid { grid-template-columns: 1fr 1fr; }
  .wire { grid-column: 1 / -1; }
  .desk { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  aside.rail { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .masthead .wrap { grid-template-columns: 1fr auto; gap: 12px; padding-top: 14px; padding-bottom: 12px; }
  .logo { font-size: 36px; }
  .tagline { display: none; }
  .mast-actions .btn:not(.btn-red), .mast-actions .hide-m { display: none; }
  .top-grid, .cards, .beats, .split, .conv-card, .convergence .wrap { grid-template-columns: 1fr; }
  .lead .over .hl { font-size: 27px; }
  .lead .over .dek { display: none; }
  .lead .art { aspect-ratio: 4/5; }
  .stack article { grid-template-columns: 96px 1fr; }
  .desk { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cards .card { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
  .cards .card .art { aspect-ratio: 1/1; margin: 0; }
  .cards .card .dek { display: none; }
  .cards .card .hl { font-size: 17px; }
  .article h1 { font-size: 32px; }
  .article .dek { font-size: 18px; }
  .body p { font-size: 18px; }
  .byline .badges { display: none; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
  footer.site .wrap > div:first-child { grid-column: 1/-1; }
  .utility .upd { display: none; }
}
.lead { align-self: start; min-width: 0; }
body { overflow-x: hidden; }
