:root {
  color-scheme: dark;
  --bg: #120f10;
  --surface: #191516;
  --surface-2: #211b1d;
  --paper: #e8e0d3;
  --paper-muted: #a69c91;
  --ink: #141113;
  --line: rgba(232, 224, 211, .14);
  --line-strong: rgba(232, 224, 211, .28);
  --accent: #df4d3f;
  --accent-soft: rgba(223, 77, 63, .13);
  --lime: #bdca85;
  --shadow: 0 30px 80px rgba(0,0,0,.36);
  --serif: "Iowan Old Style", "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.light {
  color-scheme: light;
  --bg: #eee8dd;
  --surface: #e4ddd1;
  --surface-2: #d8d0c3;
  --paper: #171315;
  --paper-muted: #6e655f;
  --ink: #f4eee6;
  --line: rgba(23, 19, 21, .14);
  --line-strong: rgba(23, 19, 21, .28);
  --shadow: 0 30px 80px rgba(69, 53, 43, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--paper); font-family: var(--sans); transition: background .3s ease, color .3s ease; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1200; background: var(--accent); color: white; padding: 12px 18px; text-decoration: none; }
.skip-link:focus { top: 16px; }
.page-shell { width: min(1380px, calc(100% - 64px)); margin: 0 auto; }

.site-header { height: 80px; padding: 0 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; width: fit-content; }
.brand-mark { position: relative; width: 29px; height: 29px; display: inline-block; }
.brand-mark i { position: absolute; bottom: 3px; width: 6px; border: 1px solid currentColor; transform: skew(-12deg); }
.brand-mark i:nth-child(1) { height: 17px; left: 2px; }
.brand-mark i:nth-child(2) { height: 24px; left: 11px; background: var(--accent); border-color: var(--accent); }
.brand-mark i:nth-child(3) { height: 12px; left: 20px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy b { letter-spacing: .22em; font-size: 14px; }
.brand-copy small { margin-top: 6px; color: var(--paper-muted); font-size: 9px; letter-spacing: .08em; }
.main-nav { display: flex; align-items: center; height: 100%; gap: 34px; }
.main-nav a, .nav-link { height: 100%; display: flex; align-items: center; position: relative; border: 0; background: transparent; color: var(--paper-muted); font-size: 13px; text-decoration: none; cursor: pointer; }
.main-nav a::after, .nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover, .main-nav a.active, .nav-link:hover, .nav-link.active { color: var(--paper); }
.main-nav a.active::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link span { margin-left: 6px; min-width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: var(--bg); background: var(--paper); font-size: 9px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.icon-button { height: 38px; border: 1px solid var(--line); background: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; transition: .2s ease; }
.icon-button:hover { border-color: var(--line-strong); background: var(--surface); }
.search-trigger { padding: 0 11px; font-size: 11px; color: var(--paper-muted); }
kbd { border: 1px solid var(--line-strong); border-radius: 3px; padding: 2px 5px; font: 9px var(--sans); color: var(--paper-muted); background: var(--surface); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }
.theme-toggle { width: 38px; }
.install-app { display: none; padding: 0 11px; color: var(--paper-muted); font-size: 10px; }
.install-app.ready { display: inline-flex; }
.install-app svg { width: 16px; }

.hero { min-height: 650px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 110px; align-items: center; padding-top: 88px; padding-bottom: 90px; }
.hero-copy { max-width: 810px; }
.eyebrow, .section-kicker { color: var(--paper-muted); letter-spacing: .18em; font-size: 10px; font-weight: 700; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.hero h1 { margin: 25px 0 24px; max-width: 800px; font: 400 clamp(56px, 6.7vw, 104px)/.97 var(--serif); letter-spacing: -.065em; }
.hero h1 em { font-style: italic; color: var(--accent); position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 3%; right: -2%; bottom: 2px; height: 5px; background: var(--accent); opacity: .32; transform: rotate(-1deg); }
.hero-intro { width: min(590px, 100%); margin: 0 0 33px; color: var(--paper-muted); font-size: 15px; line-height: 1.9; }
.hero-search { width: min(650px, 100%); height: 64px; border: 1px solid var(--line-strong); background: var(--surface); display: flex; align-items: center; padding: 0 18px; gap: 14px; transition: border-color .2s, box-shadow .2s; }
.hero-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hero-search svg { color: var(--paper-muted); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--paper); font-size: 13px; }
.hero-search input::placeholder { color: var(--paper-muted); opacity: .75; }
.hero-search > span { font-size: 8px; letter-spacing: .15em; color: var(--paper-muted); }
.quick-tags { margin-top: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 13px; color: var(--paper-muted); font-size: 10px; }
.quick-tags > span { text-transform: uppercase; letter-spacing: .12em; }
.quick-tags button { border: 0; padding: 0; background: none; color: var(--paper-muted); cursor: pointer; font-size: 10px; }
.quick-tags button:hover { color: var(--accent); }

.daily-brief { align-self: center; min-height: 434px; border: 1px solid var(--line); background: var(--surface); padding: 26px; position: relative; box-shadow: var(--shadow); }
.daily-brief::before { content: ""; position: absolute; width: 10px; height: 10px; left: -5px; top: -5px; border: 1px solid var(--paper-muted); background: var(--bg); }
.brief-topline { display: flex; justify-content: space-between; color: var(--paper-muted); font-size: 9px; letter-spacing: .16em; }
.sync-state { color: var(--lime); letter-spacing: .08em; }
.sync-state i { display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.sync-state.syncing { color: #dca75a; }.sync-state.syncing i { background: #dca75a; box-shadow: 0 0 8px #dca75a; animation: syncPulse 1s infinite alternate; }
.sync-state.error { color: var(--accent); }.sync-state.error i { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
@keyframes syncPulse { to { opacity: .25; } }
.brief-date { min-height: 115px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.brief-date > b { font: 400 66px/1 var(--serif); letter-spacing: -.06em; }
.brief-date > span { display: flex; flex-direction: column; gap: 3px; }
.brief-date > span strong { font-size: 12px; letter-spacing: .12em; }
.brief-date small { color: var(--paper-muted); font-size: 9px; letter-spacing: .08em; }
.brief-date p { margin: 0; padding-left: 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.brief-date p strong { color: var(--accent); font: 400 28px var(--serif); }
.signal-chart { height: 145px; border-bottom: 1px solid var(--line); position: relative; display: flex; align-items: flex-end; gap: 7px; padding: 26px 5px 0; overflow: hidden; }
.signal-chart::before, .signal-chart::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }
.signal-chart::before { top: 42px; }.signal-chart::after { top: 83px; }
.signal-chart > span:not(.chart-line) { flex: 1; height: var(--h); min-height: 15px; background: linear-gradient(to top, rgba(223,77,63,.07), rgba(223,77,63,.55)); border-top: 1px solid var(--accent); z-index: 1; }
.chart-line { position: absolute; left: 4px; right: 4px; top: 67px; height: 1px; background: var(--lime); transform: rotate(-8deg); opacity: .75; }
.brief-insight { padding-top: 19px; }
.brief-insight > span { display: block; margin-bottom: 10px; color: var(--paper-muted); font-size: 9px; letter-spacing: .15em; }
.brief-insight b { display: flex; justify-content: space-between; font: 400 17px var(--serif); }
.brief-insight b i { font: 700 11px var(--sans); color: var(--lime); }
.brief-insight p { margin: 8px 0 0; color: var(--paper-muted); font-size: 9px; }

.section-block { padding-top: 90px; padding-bottom: 90px; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 38px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.section-heading h2 { margin: 10px 0 0; font: 400 clamp(34px, 4vw, 54px)/1 var(--serif); letter-spacing: -.035em; }
.mood-selector { display: flex; gap: 5px; padding: 5px; border: 1px solid var(--line); background: var(--surface); }
.mood { border: 0; background: transparent; color: var(--paper-muted); font-size: 11px; padding: 10px 15px; cursor: pointer; }
.mood.active { background: var(--paper); color: var(--bg); }

.spotlight { min-height: 520px; display: grid; grid-template-columns: .83fr 1.17fr; background: #d8cbb8; color: var(--ink); position: relative; overflow: hidden; }
.spotlight-art { min-height: 520px; }
.spotlight-image { display: none; position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: contain; background: #0a0809; }
.spotlight-art.has-image .spotlight-image { display: block; }
.spotlight-art.has-image::before, .spotlight-art.has-image::after, .spotlight-art.has-image .cover-type { display: none; }
.spotlight-art.has-image .cover-code { padding: 7px 9px; background: rgba(10,8,9,.72); backdrop-filter: blur(8px); }
.cover-art { position: relative; overflow: hidden; isolation: isolate; }
.cover-art::before, .cover-art::after { content: ""; position: absolute; inset: auto; z-index: -1; }
.cover-ember { background: #63291f; color: #eadbc9; }
.cover-ember::before { width: 71%; height: 110%; right: -14%; top: -8%; border-radius: 48% 35% 50% 36%; background: #d24a38; transform: rotate(18deg); }
.cover-ember::after { width: 45%; height: 85%; left: 15%; top: 18%; border-radius: 48% 48% 10% 10%; background: linear-gradient(95deg, rgba(20,11,13,.95), rgba(61,24,24,.2)); transform: rotate(-11deg); }
.cover-grain { position: absolute; inset: 0; z-index: 5; opacity: .18; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='x'%3E%3CfeTurbulence baseFrequency='.65' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23x)'/%3E%3C/svg%3E"); }
.cover-seal { position: absolute; left: 28px; top: 28px; z-index: 6; border: 1px solid currentColor; padding: 6px 8px; font-size: 8px; letter-spacing: .15em; }
.cover-type { position: absolute; right: 12%; top: 12%; z-index: 6; display: flex; flex-direction: column; align-items: flex-end; }
.cover-type small { margin-bottom: 15px; font-size: 7px; letter-spacing: .2em; }
.cover-type b { font: 400 32px/1.15 var(--serif); }
.cover-code { position: absolute; left: 28px; bottom: 28px; z-index: 6; font: 10px var(--sans); letter-spacing: .24em; }
.spotlight-copy { padding: clamp(42px, 6vw, 82px); align-self: center; }
.spotlight-meta { display: flex; align-items: center; gap: 12px; color: rgba(20,17,19,.6); font-size: 9px; letter-spacing: .12em; }
.spotlight-meta span { color: var(--accent); font-weight: 700; }
.spotlight-meta i { width: 20px; height: 1px; background: rgba(20,17,19,.25); }
.spotlight-copy h3 { max-width: 610px; margin: 18px 0 18px; font: 400 clamp(31px, 3.8vw, 50px)/1.16 var(--serif); letter-spacing: -.04em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.spotlight-copy > p { max-width: 600px; margin: 0; color: rgba(20,17,19,.68); font-size: 13px; line-height: 1.9; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 23px; }
.tag-row span { padding: 7px 10px; border: 1px solid rgba(20,17,19,.18); color: rgba(20,17,19,.68); font-size: 9px; }
.match-reason { display: flex; align-items: center; gap: 15px; margin: 29px 0; padding-top: 25px; border-top: 1px solid rgba(20,17,19,.15); }
.match-score { font: 400 30px var(--serif); color: var(--accent); }
.match-score small { font-size: 12px; }
.match-reason div { display: flex; flex-direction: column; gap: 5px; }
.match-reason b { font-size: 11px; }.match-reason small { color: rgba(20,17,19,.5); font-size: 9px; }
.spotlight-actions { display: flex; gap: 10px; }
.primary-button, .secondary-button { height: 48px; padding: 0 19px; border: 1px solid var(--ink); cursor: pointer; font-size: 11px; transition: .2s; }
.primary-button { background: var(--ink); color: #eee7dd; }
.primary-button:hover { background: var(--accent); border-color: var(--accent); }
.primary-button span { margin-left: 18px; }
.secondary-button { display: flex; align-items: center; gap: 9px; background: transparent; color: var(--ink); }
.secondary-button:hover { background: rgba(20,17,19,.08); }
.secondary-button svg { width: 16px; }
.spotlight-index { position: absolute; right: 25px; top: 25px; display: flex; flex-direction: column; align-items: flex-end; }
.spotlight-index span { font-size: 7px; letter-spacing: .14em; opacity: .5; }.spotlight-index b { font: 400 18px var(--serif); }

.section-heading.compact { margin-bottom: 27px; }
.text-button { border: 0; background: none; padding: 8px 0; color: var(--paper-muted); font-size: 10px; cursor: pointer; }
.text-button span { margin-left: 9px; color: var(--accent); }
.performer-list { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.performer { min-height: 132px; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; transition: background .2s, color .2s; text-align: left; }
.performer:hover, .performer.active { background: var(--paper); color: var(--bg); }
.performer-top { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--avatar); color: #f3e8dc; font: italic 16px var(--serif); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset; }
.performer-top small { font: 9px var(--sans); color: var(--paper-muted); }
.performer:hover .performer-top small, .performer.active .performer-top small { color: currentColor; opacity: .55; }
.performer b { font: 400 16px var(--serif); }
.performer > span:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.performer > span:last-child small { color: var(--paper-muted); font-size: 9px; }
.performer:hover > span:last-child small, .performer.active > span:last-child small { color: currentColor; opacity: .6; }

.source-heading-note { max-width: 330px; margin: 0 0 3px; color: var(--paper-muted); font-size: 10px; line-height: 1.7; text-align: right; }
.source-overview { min-height: 420px; display: grid; grid-template-columns: .85fr 1.15fr; border: 1px solid var(--line); background: var(--surface); }
.source-overview-copy { padding: clamp(38px, 5vw, 70px); border-right: 1px solid var(--line); position: relative; overflow: hidden; }
.source-overview-copy::after { content: "SOURCE"; position: absolute; right: -16px; bottom: -30px; color: var(--paper); opacity: .018; font: 700 92px var(--sans); letter-spacing: -.07em; }
.source-verified { color: var(--lime); font-size: 8px; letter-spacing: .16em; }
.source-verified i { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.source-overview-copy h3 { margin: 28px 0 20px; font: 400 clamp(36px, 4.2vw, 59px)/1.08 var(--serif); letter-spacing: -.045em; }
.source-overview-copy h3 em { color: var(--accent); font-style: italic; }
.source-overview-copy > p { max-width: 510px; margin: 0; color: var(--paper-muted); font-size: 11px; line-height: 1.9; }
.source-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 42px; background: var(--line); border: 1px solid var(--line); }
.source-stats span { min-height: 75px; padding: 13px 15px; display: flex; flex-direction: column; justify-content: center; gap: 5px; background: var(--surface); }
.source-stats b { font: 400 24px var(--serif); }.source-stats small { color: var(--paper-muted); font-size: 8px; }
.source-pipeline { padding: clamp(38px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 42px 42px; background-position: -1px -1px; }
.pipeline-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 37px; }
.pipeline-label span { font-size: 9px; letter-spacing: .18em; }.pipeline-label small { color: var(--paper-muted); font-size: 8px; }
.pipeline-flow { display: grid; grid-template-columns: 1fr 44px 1fr 44px 1fr; align-items: center; gap: 10px; }
.pipeline-flow > svg { width: 100%; color: var(--paper-muted); opacity: .5; }
.pipeline-node { min-height: 96px; padding: 15px; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--surface) 92%, transparent); display: flex; flex-direction: column; justify-content: space-between; }
.pipeline-node > i { color: var(--paper-muted); font: 8px var(--sans); }.pipeline-node span { display: flex; flex-direction: column; gap: 4px; }.pipeline-node b { font: 400 14px var(--serif); }.pipeline-node small { color: var(--paper-muted); font-size: 8px; }
.pipeline-node.accent { border-color: var(--accent); background: var(--accent-soft); }.pipeline-node.accent > i, .pipeline-node.accent b { color: var(--accent); }
.source-rules { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.source-rules span { padding: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--paper-muted); font-size: 7px; white-space: nowrap; }.source-rules i { margin-right: 4px; color: var(--accent); font-style: normal; }
.source-health { margin-top: 27px; border-top: 1px solid var(--line); }
.source-health div { min-height: 37px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 8px; }.source-health div > span { color: var(--paper-muted); }.source-health b { font-weight: 500; }.source-health b i { display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--paper-muted); }.source-health b i.online { background: var(--lime); }.source-health b i.partial { background: #dca75a; }
.source-lookup { min-height: 112px; margin-top: 16px; padding: 20px 22px; display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; gap: 24px; border: 1px solid var(--line); background: var(--surface); }
.source-lookup-copy > span { color: var(--accent); font-size: 7px; letter-spacing: .15em; }.source-lookup-copy h3 { margin: 6px 0 4px; font: 400 18px var(--serif); }.source-lookup-copy p { margin: 0; color: var(--paper-muted); font-size: 8px; }
.source-lookup-input { height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line-strong); background: var(--bg); }.source-lookup-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }.source-lookup-input svg { width: 17px; color: var(--paper-muted); }.source-lookup-input input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--paper); font-size: 11px; text-transform: uppercase; }.source-lookup-input input::placeholder { color: var(--paper-muted); text-transform: none; }
.source-lookup-actions { display: flex; gap: 6px; }.source-lookup-actions button { height: 48px; padding: 0 14px; border: 1px solid var(--line); background: transparent; color: var(--paper-muted); font-size: 9px; cursor: pointer; }.source-lookup-actions button:hover { border-color: var(--accent); color: var(--paper); background: var(--accent-soft); }.source-lookup-actions i { margin-left: 6px; color: var(--accent); font-style: normal; }
.source-toolbar { min-height: 62px; margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.source-tabs { align-self: stretch; display: flex; gap: 4px; align-items: center; }
.source-tabs button { height: 42px; padding: 0 15px; border: 0; background: transparent; color: var(--paper-muted); font-size: 9px; cursor: pointer; }.source-tabs button.active { background: var(--paper); color: var(--bg); }.source-tabs button i { margin-left: 5px; font-style: normal; opacity: .6; }
.source-legend { color: var(--paper-muted); font-size: 8px; }.source-legend i { display: inline-block; width: 5px; height: 5px; margin: 0 6px 1px 12px; border-radius: 50%; background: var(--lime); }.source-legend i:nth-child(2) { background: #dca75a; }
.source-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 1px solid var(--line); }
.source-card { min-height: 242px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; display: flex; flex-direction: column; transition: background .2s; }
.source-card:hover { background: var(--surface); }
.source-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.source-card-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--paper); font: 700 10px var(--sans); letter-spacing: .06em; }
.source-status { display: inline-flex; align-items: center; color: var(--paper-muted); font-size: 7px; letter-spacing: .06em; }.source-status i { width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: var(--lime); }.source-status.browser i, .source-status.restricted i { background: #dca75a; }
.source-card h3 { margin: 22px 0 5px; font: 400 20px var(--serif); }.source-card-role { color: var(--accent); font-size: 8px; letter-spacing: .08em; }.source-card > p { min-height: 42px; margin: 13px 0 15px; color: var(--paper-muted); font-size: 9px; line-height: 1.7; }
.source-card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 19px; }.source-card-tags span { color: var(--paper-muted); font-size: 7px; padding: 4px 6px; background: var(--surface-2); }
.source-card-bottom { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.source-card-bottom small { color: var(--paper-muted); font-size: 7px; }.source-open { border: 0; background: transparent; color: var(--paper); padding: 5px 0; font-size: 8px; cursor: pointer; }.source-open span { display: inline-block; margin-left: 8px; color: var(--accent); transition: transform .2s; }.source-open:hover span { transform: translate(2px, -2px); }

.result-summary { margin: 0 0 3px; color: var(--paper-muted); font-size: 10px; }
.result-summary strong { color: var(--accent); font: 400 21px var(--serif); }
.library-toolbar { min-height: 59px; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.view-tabs { align-self: stretch; display: flex; align-items: center; gap: 5px; }
.view-tabs button { height: 100%; padding: 0 17px; border: 0; background: transparent; color: var(--paper-muted); cursor: pointer; font-size: 10px; }
.view-tabs button.active { background: var(--paper); color: var(--bg); }
.view-tabs i { margin-left: 5px; font-style: normal; color: var(--accent); }
.toolbar-actions { display: flex; align-items: center; gap: 18px; }
.filter-toggle { display: none; border: 1px solid var(--line); background: none; padding: 9px 12px; font-size: 10px; }
.filter-toggle svg { width: 15px; vertical-align: middle; margin-right: 6px; }
.sort-select { color: var(--paper-muted); font-size: 9px; }
.sort-select select { margin-left: 8px; border: 0; outline: 0; background: var(--bg); color: var(--paper); font-size: 10px; cursor: pointer; }
.library-layout { display: grid; grid-template-columns: 220px 1fr; gap: 44px; padding-top: 32px; }
.filters { border-right: 1px solid var(--line); padding-right: 27px; }
.filter-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.filter-head b { font-size: 11px; }.filter-head button { border: 0; background: none; color: var(--paper-muted); font-size: 9px; cursor: pointer; }
.filter-head button:hover { color: var(--accent); }
.filter-group { padding: 0 0 23px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.filter-group > span { display: block; margin-bottom: 13px; color: var(--paper-muted); font-size: 8px; letter-spacing: .16em; }
.filter-options { display: flex; flex-direction: column; gap: 5px; }
.filter-options button { display: flex; justify-content: space-between; width: 100%; border: 0; padding: 7px 8px; background: transparent; color: var(--paper-muted); text-align: left; font-size: 10px; cursor: pointer; }
.filter-options button:hover { color: var(--paper); background: var(--surface); }
.filter-options button.active { color: var(--paper); background: var(--accent-soft); box-shadow: -2px 0 var(--accent); }
.filter-options i { font-style: normal; opacity: .55; font-size: 8px; }
.filter-note { padding: 15px; background: var(--surface); border: 1px solid var(--line); }
.filter-note span { color: var(--lime); font-size: 7px; letter-spacing: .14em; }.filter-note p { margin: 8px 0 0; color: var(--paper-muted); font-size: 8px; line-height: 1.65; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; min-height: 0; margin-bottom: 0; }
.active-filters:not(:empty) { min-height: 31px; margin-bottom: 16px; }
.active-filters button { border: 1px solid var(--line); background: var(--surface); color: var(--paper-muted); padding: 6px 9px; font-size: 9px; cursor: pointer; }
.active-filters button:hover { border-color: var(--accent); color: var(--paper); }
.catalog-status { min-height: 44px; margin-bottom: 16px; padding: 0 13px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--paper-muted); font-size: 9px; }
.catalog-status i { width: 6px; height: 6px; border-radius: 50%; background: #dca75a; animation: syncPulse 1s infinite alternate; }
.catalog-status.live i { background: var(--lime); animation: none; }.catalog-status.stale i { background: #dca75a; animation: none; }.catalog-status.error i { background: var(--accent); animation: none; }
.catalog-status button { margin-left: auto; border: 0; background: transparent; color: var(--accent); font-size: 9px; cursor: pointer; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px 18px; }
.catalog-card { position: relative; min-width: 0; }
.card-cover { aspect-ratio: 4 / 5.2; margin-bottom: 15px; background: var(--card-bg); color: var(--card-ink, #eee7dd); cursor: pointer; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.card-cover:hover { transform: translateY(-6px); box-shadow: 0 24px 55px rgba(0,0,0,.3); }
.card-cover::before { width: 72%; height: 95%; border-radius: 48% 36% 45% 18%; right: -17%; bottom: -16%; background: var(--shape-1); transform: rotate(-18deg); }
.card-cover::after { width: 43%; height: 82%; border-radius: 45% 45% 10% 10%; left: 17%; bottom: -10%; background: var(--shape-2); transform: rotate(7deg); }
.card-cover .cover-seal { left: 17px; top: 17px; font-size: 6px; padding: 5px 6px; }
.card-cover.real-cover { aspect-ratio: 1.416 / 1; background: #0b090a; }
.card-cover.real-cover::before, .card-cover.real-cover::after { display: none; }
.card-cover-image { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; background: #0b090a; }
.card-cover-overlay { position: absolute; inset: 0; z-index: 4; background: linear-gradient(to bottom, rgba(7,5,6,.04) 40%, rgba(7,5,6,.78) 100%); pointer-events: none; }
.card-cover.image-failed .card-cover-image { display: none; }.card-cover.image-failed { background: radial-gradient(circle at 75% 25%, #6e2b39, transparent 44%), linear-gradient(135deg, #27181d, #100d0e); }
.card-source-badge { position: absolute; z-index: 6; right: 14px; top: 14px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.3); background: rgba(8,6,7,.5); color: #eee7dd; font-size: 6px; letter-spacing: .12em; backdrop-filter: blur(8px); }
.card-number { position: absolute; right: 16px; top: 15px; z-index: 6; font: 400 10px var(--serif); opacity: .65; }
.card-jp { position: absolute; right: 14%; top: 21%; z-index: 6; font: 400 clamp(20px, 2.2vw, 29px)/1.2 var(--serif); writing-mode: vertical-rl; letter-spacing: .14em; }
.card-code-art { position: absolute; left: 17px; bottom: 17px; z-index: 6; font-size: 7px; letter-spacing: .19em; }
.favorite-button { position: absolute; top: 12px; left: 12px; z-index: 10; width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(15,12,13,.34); color: white; opacity: 0; transform: translateY(5px); cursor: pointer; backdrop-filter: blur(8px); transition: .2s; }
.catalog-card:hover .favorite-button, .favorite-button.saved { opacity: 1; transform: none; }
.favorite-button svg { width: 15px; fill: transparent; }
.favorite-button.saved svg { fill: currentColor; color: #ffc867; }
.card-info { cursor: pointer; }
.card-meta { display: flex; align-items: center; gap: 8px; color: var(--paper-muted); font-size: 8px; letter-spacing: .08em; }
.card-meta .new-badge { color: var(--accent); }.card-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.card-info h3 { min-height: 44px; margin: 8px 0 7px; overflow: hidden; font: 400 16px/1.38 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card-info > p { margin: 0 0 10px; color: var(--paper-muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.copy-code { display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 3px 5px; background: var(--surface); color: var(--paper); cursor: pointer; font-size: 8px; letter-spacing: .06em; }.copy-code:hover { color: var(--accent); }.copy-code svg { width: 12px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.card-tags span { padding: 4px 6px; background: var(--surface); color: var(--paper-muted); font-size: 8px; }
.empty-state { text-align: center; padding: 90px 20px; border: 1px solid var(--line); }
.empty-state span { color: var(--accent); font-size: 9px; letter-spacing: .18em; }.empty-state h3 { font: 400 29px var(--serif); }.empty-state p { color: var(--paper-muted); font-size: 11px; }.empty-state button { border: 1px solid var(--line-strong); background: transparent; padding: 10px 15px; cursor: pointer; }
.load-more { width: 100%; height: 56px; margin-top: 45px; border: 1px solid var(--line); background: transparent; color: var(--paper-muted); cursor: pointer; position: relative; overflow: hidden; }
.load-more::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: translateY(102%); transition: transform .25s; }.load-more:hover::before { transform: none; }.load-more:hover { color: var(--bg); }
.load-more span { position: relative; z-index: 1; font-size: 10px; letter-spacing: .1em; }.load-more i { position: relative; z-index: 1; display: inline-block; width: 26px; height: 1px; margin: 0 0 3px 12px; background: currentColor; }

.site-footer { border-top: 1px solid var(--line); padding: 45px 0; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; gap: 60px; }
.footer-brand { display: flex; gap: 12px; align-items: center; }.footer-brand > div { display: flex; flex-direction: column; gap: 5px; }.footer-brand b { font-size: 11px; letter-spacing: .15em; }.footer-brand small { color: var(--paper-muted); font-size: 8px; }
.footer-grid > p { color: var(--paper-muted); font-size: 9px; line-height: 1.75; }
.footer-meta { justify-self: end; display: flex; gap: 14px; color: var(--paper-muted); font-size: 7px; letter-spacing: .12em; }

.search-overlay, .detail-drawer { position: fixed; inset: 0; z-index: 1000; visibility: hidden; pointer-events: none; }
.search-overlay.open, .detail-drawer.open { visibility: visible; pointer-events: auto; }
.overlay-backdrop, .drawer-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(7,5,6,.8); opacity: 0; backdrop-filter: blur(8px); transition: opacity .25s; }
.open .overlay-backdrop, .open .drawer-backdrop { opacity: 1; }
.search-panel { position: relative; width: min(720px, calc(100% - 32px)); margin: 12vh auto 0; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); transform: translateY(-18px); opacity: 0; transition: .25s ease; }
.open .search-panel { transform: none; opacity: 1; }
.search-panel-input { height: 76px; display: flex; align-items: center; gap: 15px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.search-panel-input input { min-width: 0; flex: 1; border: 0; outline: 0; background: none; color: var(--paper); font: 400 18px var(--serif); }
.search-suggestions { padding: 22px 12px 10px; }
.search-suggestions > span { display: block; padding: 0 10px 10px; color: var(--paper-muted); font-size: 8px; letter-spacing: .14em; }
.search-suggestions button { width: 100%; height: 49px; display: grid; grid-template-columns: 35px 1fr auto; align-items: center; border: 0; background: transparent; color: var(--paper); text-align: left; cursor: pointer; }
.search-suggestions button:hover { background: var(--surface-2); }
.search-suggestions i { color: var(--paper-muted); font: 9px var(--sans); }.search-suggestions b { font: 400 13px var(--serif); }.search-suggestions small { color: var(--paper-muted); font-size: 8px; }
.search-hint { margin: 0; padding: 13px 22px; border-top: 1px solid var(--line); color: var(--paper-muted); font-size: 8px; }.search-hint span { margin: 0 4px; color: var(--paper); }

.age-gate { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; background: rgba(7,5,6,.94); backdrop-filter: blur(18px); transition: opacity .25s; }
.age-gate.open { visibility: visible; opacity: 1; }
.age-gate-card { width: min(470px, 100%); padding: 46px; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow); text-align: center; position: relative; overflow: hidden; }
.age-gate-card::before { content: "18"; position: absolute; right: -12px; bottom: -45px; color: var(--paper); opacity: .025; font: 700 180px var(--serif); }
.age-gate-mark { width: 70px; height: 70px; margin: 0 auto 25px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font: italic 25px var(--serif); }
.age-gate-card h2 { margin: 14px 0; font: 400 33px var(--serif); }.age-gate-card p { margin: 0 auto 25px; max-width: 340px; color: var(--paper-muted); font-size: 11px; line-height: 1.9; }.age-gate-card .primary-button { width: 100%; border-color: var(--paper); background: var(--paper); color: var(--bg); }.age-gate-card > a { display: inline-block; margin: 18px 0 11px; color: var(--paper-muted); font-size: 9px; }.age-gate-card > small { display: block; color: var(--paper-muted); opacity: .6; font-size: 8px; }

.drawer-panel { position: absolute; top: 0; bottom: 0; right: 0; width: min(520px, 100%); overflow-y: auto; background: var(--surface); border-left: 1px solid var(--line); transform: translateX(102%); transition: transform .35s cubic-bezier(.2,.7,.2,1); box-shadow: var(--shadow); }
.open .drawer-panel { transform: none; }
.drawer-close { position: absolute; right: 16px; top: 16px; z-index: 10; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(10,7,8,.25); color: white; font-size: 22px; cursor: pointer; backdrop-filter: blur(6px); }
.drawer-cover { aspect-ratio: 16 / 10; color: #eee7dd; background: var(--card-bg); }
.drawer-cover > img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #0b090a; }
.drawer-cover.has-image::before, .drawer-cover.has-image::after { display: none; }
.drawer-cover::before { width: 75%; height: 140%; right: -15%; top: -25%; border-radius: 48%; background: var(--shape-1); transform: rotate(-15deg); }.drawer-cover::after { width: 38%; height: 110%; left: 21%; top: 8%; border-radius: 45% 45% 12% 12%; background: var(--shape-2); transform: rotate(8deg); }
.drawer-cover-code { position: absolute; z-index: 7; left: 28px; bottom: 25px; font-size: 10px; letter-spacing: .18em; }
.drawer-content { padding: 38px 36px 50px; }
.drawer-eyebrow { display: flex; justify-content: space-between; align-items: center; color: var(--paper-muted); font-size: 9px; letter-spacing: .1em; }.drawer-eyebrow span { color: var(--accent); }.drawer-eyebrow b { font-weight: 500; }
.drawer-code-button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); padding: 6px 8px; background: transparent; color: var(--paper); cursor: pointer; }.drawer-code-button:hover { border-color: var(--accent); color: var(--accent); }.drawer-code-button svg { width: 13px; }
.drawer-content h2 { margin: 18px 0 14px; font: 400 37px/1.16 var(--serif); letter-spacing: -.03em; }.drawer-content > p { color: var(--paper-muted); font-size: 11px; line-height: 1.85; }
.metadata-list { margin: 28px 0; border-top: 1px solid var(--line); }
.metadata-list div { min-height: 52px; padding: 12px 0; display: grid; grid-template-columns: 85px 1fr; align-items: center; border-bottom: 1px solid var(--line); }.metadata-list dt { color: var(--paper-muted); font-size: 9px; }.metadata-list dd { margin: 0; font: 400 12px var(--serif); line-height: 1.6; }
.drawer-notice { margin-bottom: 20px; padding: 13px; border: 1px solid var(--line); background: var(--surface-2); color: var(--paper-muted); font-size: 8px; line-height: 1.6; }
.drawer-source-lookup { margin: 0 0 20px; }
.drawer-source-lookup > div:first-child { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }.drawer-source-lookup > div:first-child span { font-size: 8px; letter-spacing: .14em; }.drawer-source-lookup > div:first-child small { color: var(--paper-muted); font-size: 8px; }
.drawer-source-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.drawer-source-links button { min-height: 44px; border: 1px solid var(--line); background: transparent; color: var(--paper); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 9px; }.drawer-source-links button:hover { border-color: var(--accent); background: var(--accent-soft); }.drawer-source-links i { color: var(--accent); font-style: normal; font-size: 8px; }
.drawer-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }.drawer-official { display: flex; align-items: center; justify-content: center; text-decoration: none; }.drawer-save { padding: 0 18px; background: transparent; color: var(--paper); border-color: var(--line-strong); }

.toast { position: fixed; z-index: 1200; left: 50%; bottom: 30px; padding: 11px 16px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--bg); font-size: 10px; box-shadow: var(--shadow); transform: translate(-50%, 25px); opacity: 0; pointer-events: none; transition: .25s; }.toast.show { transform: translate(-50%, 0); opacity: 1; }
.reveal { animation: reveal .65s both; }.delay-1 { animation-delay: .12s; }
@keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .hero { gap: 50px; grid-template-columns: 1.15fr .85fr; }
  .performer-list { grid-template-columns: repeat(3, 1fr); }
  .source-overview { grid-template-columns: 1fr; }.source-overview-copy { border-right: 0; border-bottom: 1px solid var(--line); }.source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1.3fr; }.footer-meta { display: none; }
}

@media (max-width: 780px) {
  .page-shell { width: min(100% - 32px, 1380px); }
  .site-header { height: 65px; padding: 0 16px; grid-template-columns: 1fr auto; }
  .main-nav { display: none; }.search-trigger span, .search-trigger kbd, .install-app span { display: none; }.search-trigger, .install-app { width: 38px; padding: 0; }
  .brand-copy small { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 65px; padding-bottom: 65px; gap: 48px; }
  .hero h1 { max-width: 100%; font-size: clamp(42px, 11.5vw, 50px); letter-spacing: -.075em; }.hero-intro { font-size: 13px; }
  .daily-brief { min-height: 390px; }
  .section-block { padding-top: 64px; padding-bottom: 64px; }
  .section-heading { align-items: flex-start; flex-direction: column; }.section-heading.compact { flex-direction: row; align-items: flex-end; }
  .mood-selector { width: 100%; overflow-x: auto; }.mood { flex: 0 0 auto; }
  .spotlight { grid-template-columns: 1fr; }.spotlight-art { min-height: 390px; }.spotlight-copy { padding: 37px 25px 45px; }.spotlight-copy h3 { font-size: 38px; }
  .performer-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }.performer { flex: 0 0 170px; scroll-snap-align: start; }
  .source-heading-note { text-align: left; }.source-overview-copy, .source-pipeline { padding: 30px 23px; }.pipeline-flow { grid-template-columns: 1fr 25px 1fr 25px 1fr; gap: 5px; }.pipeline-node { min-height: 86px; padding: 10px; }.source-rules { grid-template-columns: repeat(2, 1fr); }.source-lookup { grid-template-columns: 1fr; gap: 15px; }.source-lookup-actions button { flex: 1; }.source-toolbar { align-items: flex-start; flex-direction: column; padding: 10px 0; }.source-tabs { width: 100%; min-height: 43px; overflow-x: auto; }.source-tabs button { flex: 0 0 auto; }.source-legend { padding: 0 4px 5px; }.source-grid { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .result-summary { display: none; }
  .library-toolbar { gap: 12px; align-items: stretch; flex-direction: column; padding: 10px 0; }.view-tabs { overflow-x: auto; min-height: 43px; }.view-tabs button { flex: 0 0 auto; }.toolbar-actions { justify-content: space-between; }
  .filter-toggle { display: block; }.library-layout { grid-template-columns: 1fr; padding-top: 20px; }
  .filters { display: none; padding: 18px; border: 1px solid var(--line); background: var(--surface); }.filters.mobile-open { display: block; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }.card-info h3 { font-size: 15px; }.favorite-button { opacity: 1; transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }.footer-grid > p { max-width: 560px; }
}

@media (max-width: 450px) {
  .hero-search { height: 58px; }.hero-search > span { display: none; }
  .quick-tags { gap: 9px; }.quick-tags > span { width: 100%; }
  .brief-date { grid-template-columns: auto 1fr; }.brief-date p { display: none; }
  .spotlight-art { min-height: 330px; }.spotlight-actions { align-items: stretch; flex-direction: column; }.primary-button, .secondary-button { justify-content: center; }
  .source-stats { grid-template-columns: 1fr; }.source-stats span { min-height: 60px; }.pipeline-flow { grid-template-columns: 1fr; }.pipeline-flow > svg { width: 28px; justify-self: center; transform: rotate(90deg); }.pipeline-node { min-height: 72px; }.source-health div { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding: 8px 0; }.drawer-source-links { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }.card-cover { aspect-ratio: 4 / 4.8; }.card-jp { font-size: 28px; }
  .drawer-content { padding: 30px 22px 45px; }
  .drawer-actions { grid-template-columns: 1fr; }
  .age-gate-card { padding: 32px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
