@charset "UTF-8";

:root {
  color-scheme: light;
  --background: oklch(0.983 0.004 85);
  --surface: oklch(1 0 0);
  --foreground: oklch(0.232 0.009 65);
  --muted: oklch(0.956 0.005 85);
  --muted-foreground: oklch(0.475 0.012 60);
  --subtle-foreground: oklch(0.525 0.009 65);
  --primary: oklch(0.528 0.178 29);
  --primary-hover: oklch(0.45 0.16 29);
  --primary-foreground: oklch(1 0 0);
  --share: #2c6a53;
  --share-hover: #235542;
  --share-foreground: #ffffff;
  --accent: oklch(0.962 0.015 37);
  --border: oklch(0.886 0.009 75);
  --soft-border: oklch(0.933 0.005 75);
  --art-line: oklch(0.74 0.035 43);
  --shadow: 0 12px 36px oklch(0.25 0.02 30 / 0.045);
  --dialog-shadow: 0 24px 100px oklch(0.2 0.02 30 / 0.2);
  --backdrop: oklch(0.2 0.005 40 / 0.5);
  --ring: var(--primary);
  --radius: 0.75rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--font);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --background: oklch(0.19 0.005 65);
  --surface: oklch(0.222 0.007 65);
  --foreground: oklch(0.952 0.006 85);
  --muted: oklch(0.26 0.009 65);
  --muted-foreground: oklch(0.768 0.014 75);
  --subtle-foreground: oklch(0.7 0.012 75);
  --primary: oklch(0.748 0.13 29);
  --primary-hover: oklch(0.81 0.11 29);
  --primary-foreground: oklch(0.19 0.02 29);
  --share: #76b293;
  --share-hover: #89bfa3;
  --share-foreground: #13251c;
  --accent: oklch(0.265 0.025 29);
  --border: oklch(0.37 0.012 65);
  --soft-border: oklch(0.30 0.01 65);
  --art-line: oklch(0.55 0.04 43);
  --shadow: none;
  --backdrop: oklch(0 0 0 / 0.7);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--background); color: var(--foreground); }
button, input, select { font: inherit; color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button, select { cursor: pointer; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
h1, h2, h3, h4, p { margin: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--ring); outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { background: var(--primary); color: var(--primary-foreground); }
.container { width: min(1280px, calc(100% - 96px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 16px; left: 20px; z-index: 100; max-width: calc(100% - 40px); padding: 14px 20px; border-radius: 8px; color: var(--primary-foreground); background: var(--primary); transform: translateY(calc(-100% - 16px)); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--background); background: color-mix(in oklch, var(--background) 91%, transparent); border-bottom: 1px solid var(--border); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; width: min(1440px, calc(100% - 96px)); min-height: 76px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 29px; font-weight: 750; letter-spacing: -1.6px; line-height: 1; }
.brand-symbol { color: var(--primary); margin-bottom: 9px; flex-shrink: 0; }
.brand-end { font-weight: 400; }
.brand-caption { display: block; margin-top: 9px; font-family: var(--mono); font-size: 6.5px; letter-spacing: .8px; font-weight: 500; color: var(--muted-foreground); }
.header-nav, .header-actions { display: flex; align-items: center; gap: 28px; }
.header-nav { margin-left: 60px; }
.header-link { background: none; padding: 12px 0; font-size: 13px; font-weight: 500; color: var(--muted-foreground); transition: color .2s ease-out; }
.header-link:first-child { color: var(--foreground); }
.header-link:hover { color: var(--primary); }
.header-actions { gap: 16px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 8px; flex-shrink: 0; background: transparent; color: var(--muted-foreground); border-radius: 8px; }
.icon-button:hover { color: var(--primary); background: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 47px; padding: 12px 20px; border-radius: 8px; font-size: 13px; font-weight: 550; line-height: 1.5; transition: background .2s ease-out, transform .2s ease-out; }
.button:active { transform: translateY(1px); }
.button-primary { color: var(--primary-foreground); background: var(--primary); }
.button-primary:hover { background: var(--primary-hover); }
.button-small { min-height: 40px; padding: 10px 16px; font-size: 12px; gap: 16px; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 70px; padding: 64px 0 62px; }
.hero-copy { min-width: 0; }
.eyebrow, .aside-kicker, .detail-kicker { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 10px; font-weight: 500; line-height: 1.5; text-transform: uppercase; letter-spacing: 1.1px; color: var(--primary); }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--accent); }
h1 { margin-top: 20px; font-size: clamp(46px, 5.1vw, 74px); font-weight: 550; line-height: 1.12; letter-spacing: -4px; overflow-wrap: anywhere; }
h1 > span { color: var(--primary); }
.selection-brand { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; padding: .14em .36em .18em; border: 1px solid color-mix(in oklch, var(--primary) 22%, var(--border)); border-radius: .35em; background: transparent; color: var(--foreground); font-size: 1.04em; font-weight: 750; line-height: 1; letter-spacing: -.04em; vertical-align: .04em; white-space: nowrap; }
h1 .selection-brand, #about-title .selection-brand { color: var(--foreground); font-size: .70em; vertical-align: .14em; }
.heading-period { margin-left: 2px; }
.hero-description { margin-top: 20px; color: var(--muted-foreground); font-size: 17px; font-weight: 400; line-height: 1.7; letter-spacing: -.2px; }
.hero-bottom { display: flex; align-items: center; gap: 30px; margin-top: 28px; }
.hero-link { display: inline-flex; gap: 16px; align-items: center; font-size: 12px; font-weight: 600; }
.hero-link span { color: var(--primary); font-size: 17px; }
.hero-link:hover { color: var(--primary); }
.hero-art { position: relative; min-width: 0; padding: 10px 0 4px; }
.art-topline, .art-bottomline { display: flex; justify-content: space-between; gap: 10px; color: var(--subtle-foreground); font-family: var(--mono); font-size: 8px; line-height: 1.5; letter-spacing: .8px; }
.art-topline { padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.art-bottomline { padding-top: 10px; border-top: 1px solid var(--border); }
.science-art { width: 100%; height: 235px; padding: 2px 0; }
.orbit-lines { color: var(--art-line); }
.art-core, .art-label-lines { color: var(--primary); }
.feed-section { padding-top: 21px; border-top: 1px solid var(--border); }
.feed-section.container { width: min(1280px, calc(100% - 64px)); }
.feed-topline { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 22px; }
.feed-topline h2 { font-size: 23px; font-weight: 550; letter-spacing: -.7px; }
.feed-topline { padding-bottom: 25px; }
.preview-label { display: flex; align-items: center; gap: 7px; color: var(--subtle-foreground); font-family: var(--mono); font-size: 8px; line-height: 1.6; }
.preview-label > span { width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: var(--subtle-foreground); }
.feed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 265px; gap: 36px; align-items: start; }
.feed-main { min-width: 0; }
.filter-toolbar { display: flex; align-items: center; gap: 12px; }
.search-form { position: relative; display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; min-height: 45px; padding: 0 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--muted-foreground); }
.search-form:focus-within { border-color: var(--primary); }
.search-form svg { flex-shrink: 0; }
.search-form input { min-width: 0; width: 100%; padding: 13px 0; border: 0; outline: 0; background: transparent; font-size: 12px; }
.search-form input::placeholder { color: var(--subtle-foreground); opacity: 1; }
.search-form input:focus-visible { outline: none; }
kbd { display: flex; align-items: center; justify-content: center; width: 20px; height: 22px; flex-shrink: 0; border: 1px solid var(--soft-border); border-radius: 3px; font-size: 10px; color: var(--subtle-foreground); }
.specialty-select-wrap { position: relative; min-width: 145px; max-width: 210px; }
.specialty-select-wrap:has(.specialty-trigger[aria-expanded="true"]) { z-index: 20; }
.specialty-trigger { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 45px; padding: 12px 13px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--foreground); font-size: 12px; text-align: left; }
.specialty-trigger:hover, .specialty-trigger[aria-expanded="true"] { border-color: var(--primary); }
.specialty-trigger > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.specialty-trigger-chevron { flex-shrink: 0; color: var(--muted-foreground); transition: transform .2s ease-out; }
.specialty-trigger[aria-expanded="true"] .specialty-trigger-chevron { transform: rotate(180deg); }
.specialty-menu { position: absolute; top: calc(100% + 7px); right: 0; z-index: 20; width: max(100%, 280px); max-width: min(350px, calc(100vw - 40px)); max-height: var(--specialty-menu-max-height, 320px); padding: 6px; overflow: hidden; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); box-shadow: 0 12px 40px color-mix(in oklch, var(--foreground) 12%, transparent); }
.specialty-select-wrap.opens-up .specialty-menu { top: auto; bottom: calc(100% + 7px); }
.specialty-menu-search { display: flex; align-items: center; gap: 8px; margin: 4px 4px 9px; padding: 0 10px; border: 1px solid var(--border); border-radius: 7px; background: var(--background); color: var(--muted-foreground); }
.specialty-menu-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 2px var(--accent); }
.specialty-menu-search > svg { flex-shrink: 0; }
.specialty-menu-search input { min-width: 0; width: 100%; min-height: 40px; padding: 10px 0; border: 0; outline: none; background: transparent; color: var(--foreground); font-size: 11px; }
.specialty-menu-search input:focus-visible { outline: none; }
.specialty-menu-search input::placeholder { color: var(--subtle-foreground); opacity: 1; }
.specialty-options { max-height: max(0px, calc(var(--specialty-menu-max-height, 320px) - 74px)); margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; scrollbar-width: thin; scrollbar-color: var(--border) transparent; scroll-behavior: auto; }
.specialty-empty { margin: 0; padding: 13px 11px 17px; color: var(--muted-foreground); font-size: 11px; line-height: 1.8; }
.specialty-option { display: grid; grid-template-columns: minmax(0, 1fr) 15px; align-items: center; gap: 12px; min-height: 42px; padding: 10px 11px; border-radius: 6px; color: var(--foreground); font-size: 12px; line-height: 1.6; cursor: pointer; overflow-wrap: anywhere; }
.specialty-option.is-active { background: var(--muted); }
.specialty-option[aria-selected="true"] { color: var(--primary); background: var(--accent); font-weight: 550; }
.specialty-option[aria-selected="true"].is-active { box-shadow: inset 0 0 0 1px var(--border); }
.specialty-option-check { opacity: 0; color: var(--primary); }
.specialty-option[aria-selected="true"] .specialty-option-check { opacity: 1; }
.results-bar { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 0; border-top: 1px solid var(--soft-border); color: var(--subtle-foreground); font-family: var(--mono); font-size: 9px; }
.results-bar > p { margin-right: auto; }
.results-caption { color: var(--subtle-foreground); white-space: nowrap; }
.reset-button { padding: 5px 0; background: transparent; color: var(--primary); font-family: var(--font); font-size: 10px; }
.reset-button span { padding-left: 5px; }
.article-list { display: flex; flex-direction: column; gap: 14px; }
.article-card { position: relative; padding: 25px 20px 0; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; transition: border-color .2s ease-out, box-shadow .2s ease-out; animation: card-enter .35s cubic-bezier(.22, 1, .36, 1) both; }
.article-card:hover { border-color: color-mix(in oklch, var(--primary) 45%, var(--border)); box-shadow: var(--shadow); }
.article-card.is-featured { padding: 29px 22px 0; border-top: 2px solid var(--primary); background: var(--accent); }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-right: 40px; font-family: var(--mono); font-size: 9px; line-height: 1.5; }
.article-bookmark { position: absolute; top: 14px; right: 14px; color: var(--muted-foreground); }
.article-bookmark:hover { color: var(--primary); }
.detail-bookmark { top: 12px; right: 60px; }
.specialty-tag { display: inline-flex; align-items: center; gap: 7px; color: var(--primary); font-weight: 500; }
.specialty-tag::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.tag-divider { color: var(--subtle-foreground); opacity: .65; }
.type-tag { color: var(--muted-foreground); }
.featured-label { margin-left: auto; color: var(--primary); font-size: 8px; letter-spacing: .65px; }
.article-card h3 { margin-top: 17px; font-size: 19px; line-height: 1.4; letter-spacing: -.45px; font-weight: 550; overflow-wrap: anywhere; }
.article-card.is-featured h3 { margin-top: 18px; font-size: 23px; line-height: 1.35; letter-spacing: -.65px; }
.article-title-button { display: block; padding: 0; border: 0; background: transparent; text-align: left; font: inherit; letter-spacing: inherit; }
.article-title-button:hover { color: var(--primary); }
.article-summary { margin-top: 13px; max-width: 740px; color: var(--muted-foreground); font-size: 12px; line-height: 1.85; overflow-wrap: anywhere; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 20px; padding-bottom: 20px; color: var(--subtle-foreground); font-family: var(--mono); font-size: 9px; line-height: 1.6; }
.meta-dash { opacity: .6; }
.article-topic { border: 1px solid var(--border); border-radius: 4px; padding: 3px 7px; margin-left: auto; font-family: var(--font); font-size: 9px; }
.article-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 55px; padding: 6px 0; border-top: 1px solid var(--soft-border); }
.article-card.is-featured .article-actions { border-color: var(--border); }
.article-read { display: inline-flex; align-items: center; gap: 13px; min-height: 42px; padding: 9px 0; background: transparent; color: var(--primary); font-size: 11px; font-weight: 600; }
.article-read svg { transition: transform .2s ease-out; }
.article-read:hover svg { transform: translateX(3px); }
.source-link { display: inline-flex; align-items: center; gap: 6px; padding: 12px 0 12px 10px; color: var(--subtle-foreground); font-size: 10px; }
.source-link:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.member-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; padding: 14px 0 17px; border-top: 1px solid var(--soft-border); }
.member-card-actions { display: block; padding-top: 8px; padding-bottom: 10px; }
.member-card-actions .member-secondary-actions { justify-content: flex-end; }
.member-main-actions, .member-rating-actions, .member-secondary-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.member-action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 35px; padding: 8px 11px; border: 1px solid var(--border); border-radius: 6px; background: transparent; color: var(--muted-foreground); font-size: 10px; line-height: 1.5; text-align: left; transition: background .2s ease-out, color .2s ease-out, border-color .2s ease-out; }
.member-action:hover { background: var(--muted); border-color: var(--primary); color: var(--primary); }
.member-action[data-member-action="read"] { padding: 8px 0; border: 0; background: transparent; color: var(--primary); box-shadow: none; }
.member-action[data-member-action="read"]:hover { border: 0; background: transparent; color: var(--primary-hover); text-decoration: underline; text-underline-offset: 4px; }
.member-action svg { flex-shrink: 0; }
.member-save { color: var(--foreground); }
.member-rating-actions { gap: 6px; }
.member-rating-actions > span { color: var(--muted-foreground); font-size: 9px; margin-right: 4px; }
.member-rating { padding: 8px 10px; }
.member-secondary-actions { grid-column: 1 / -1; column-gap: 22px; row-gap: 3px; }
.member-text-action { min-height: 30px; padding: 5px 0; border-color: transparent; border-radius: 3px; font-size: 10px; }
.member-text-action:hover { border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.member-share, .share-button { border: 0; background: transparent; color: var(--share); box-shadow: none; padding-left: 2px; padding-right: 2px; }
.member-share { min-height: 40px; padding: 8px 2px; font-weight: 600; }
.member-share:hover, .share-button:hover { border: 0; background: transparent; color: var(--share-hover); box-shadow: none; }
.source-action { min-height: 40px; padding: 8px 0; color: var(--muted-foreground); border: 0; background: transparent; box-shadow: none; white-space: nowrap; }
.source-action:hover { color: var(--foreground); }
.member-action:disabled, .share-dialog button:disabled { cursor: wait; opacity: .7; }
.detail-member-actions { margin-top: 28px; }
.member-fulltext { min-height: 44px; padding: 8px 12px; border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); font-weight: 600; scroll-margin-top: 24px; }
.member-fulltext:hover { border-color: var(--primary-hover); background: var(--primary-hover); color: var(--primary-foreground); }
.feed-aside { padding-top: 0; }
.focus-card { position: relative; padding: 23px 22px 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--muted); }
.aside-kicker { color: var(--muted-foreground); font-size: 8px; letter-spacing: .8px; }
.focus-art { margin-top: 24px; color: var(--primary); }
.focus-art-circle { fill: var(--muted); }
.focus-card h2 { margin-top: 15px; font-size: 29px; line-height: 1.16; letter-spacing: -1px; font-weight: 500; }
.focus-card p { margin-top: 13px; font-size: 12px; color: var(--muted-foreground); line-height: 1.8; }
.aside-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 22px; padding: 17px 0; border-top: 1px solid var(--border); background: transparent; color: var(--primary); font-size: 10px; font-weight: 600; text-align: left; }
.aside-link:hover { color: var(--primary-hover); }
.selection-note { margin-top: 31px; padding: 0 1px; }
.selection-mark { color: var(--primary); font-size: 28px; }
.selection-note h2 { margin-top: 12px; font-size: 13px; font-weight: 600; }
.selection-note p { margin-top: 8px; font-size: 11px; line-height: 1.85; color: var(--muted-foreground); }
.selection-link { display: inline-flex; gap: 12px; padding: 12px 0; color: var(--primary); font-size: 10px; background: transparent; }
.selection-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.end-note { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 42px 0 5px; color: var(--subtle-foreground); font-size: 10px; text-align: center; }
.end-note > span { color: var(--primary); font-size: 24px; font-weight: 400; }
.empty-state { padding: 60px 30px; border: 1px dashed var(--border); border-radius: 12px; text-align: center; }
.empty-state > svg { margin: 0 auto 20px; color: var(--primary); }
.empty-state h3 { font-size: 22px; font-weight: 500; letter-spacing: -.4px; }
.empty-state p { max-width: 390px; margin: 12px auto 22px; color: var(--muted-foreground); font-size: 12px; line-height: 1.8; }
.empty-state .button { min-height: 42px; font-size: 11px; }
.loading-card { padding: 30px; border: 1px solid var(--border); border-radius: 12px; }
.loading-line { display: block; height: 16px; margin-bottom: 16px; border-radius: 4px; background: var(--muted); }
.loading-line:nth-child(1) { width: 35%; height: 10px; }
.loading-line:nth-child(3) { width: 70%; margin-bottom: 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px 0 36px; margin-top: 60px; border-top: 1px solid var(--border); }
.site-footer > div { display: flex; flex-direction: column; gap: 9px; }
.footer-brand { font-size: 22px; letter-spacing: -1px; font-weight: 550; }
.footer-caption { color: var(--subtle-foreground); font-family: var(--mono); font-size: 7px; letter-spacing: .4px; }
.site-footer > p { margin-right: auto; color: var(--subtle-foreground); font-size: 9px; line-height: 1.85; }
.back-top { position: fixed; right: max(24px, env(safe-area-inset-right, 0px)); bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 12px)); z-index: 15; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 10px; border: 0; border-radius: 50%; background: var(--surface); background: color-mix(in oklch, var(--surface) 88%, transparent); color: var(--muted-foreground); backdrop-filter: blur(8px); }
.back-top:hover { color: var(--primary); }
.detail-dialog { width: min(730px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 48px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); color: var(--foreground); box-shadow: var(--dialog-shadow); overflow-x: hidden; }
.detail-dialog::backdrop { background: var(--backdrop); backdrop-filter: blur(4px); }
.detail-dialog[open] { animation: modal-enter .3s cubic-bezier(.22, 1, .36, 1) both; }
.dialog-close { position: absolute; top: 12px; right: 12px; }
.detail-kicker { margin-right: 12px; font-size: 9px; }
#article-dialog { width: min(730px, calc(100% - 24px)); max-width: none; padding-top: 12px; padding-right: 24px; padding-bottom: max(64px, calc(env(safe-area-inset-bottom, 0px) + 60px)); padding-left: 24px; }
#article-dialog h2 { font-size: 30px; }
.article-back-top { position: absolute; right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 10px; border: 0; border-radius: 50%; background: var(--surface); background: color-mix(in oklch, var(--surface) 88%, transparent); color: var(--muted-foreground); transform: translateY(var(--article-return-scroll, 0px)); backdrop-filter: blur(8px); }
.article-back-top:hover { color: var(--primary); }
.article-detail-kicker { min-height: 40px; align-items: center; align-content: center; flex-wrap: wrap; column-gap: 8px; row-gap: 2px; padding-right: 80px; }
.detail-dialog h2 { margin-top: 18px; font-size: 34px; font-weight: 500; line-height: 1.28; letter-spacing: -1px; overflow-wrap: anywhere; }
.detail-dialog h2 > span { color: var(--primary); }
.detail-english { margin-top: 15px; color: var(--subtle-foreground); font-size: 12px; line-height: 1.8; }
.detail-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 21px; padding-bottom: 24px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 10px; color: var(--muted-foreground); line-height: 1.7; }
.detail-section { margin-top: 26px; }
.detail-section h3 { margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.detail-section p, .about-intro { color: var(--muted-foreground); font-size: 14px; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }
.detail-section p + p { margin-top: 12px; }
.discussion-section { margin-top: 32px; padding-top: 27px; border-top: 1px solid var(--border); scroll-margin-top: 20px; }
.discussion-section h3 { display: flex; align-items: center; gap: 10px; }
.demo-badge { padding: 3px 5px; border: 1px solid var(--border); border-radius: 3px; color: var(--subtle-foreground); font-family: var(--mono); font-size: 7px; font-weight: 400; }
.discussion-section .discussion-caption { font-size: 11px; line-height: 1.8; }
.demo-comment { display: flex; align-items: flex-start; gap: 13px; margin-top: 13px; padding: 17px 19px; border: 1px solid var(--soft-border); border-radius: 8px; background: var(--background); }
.comment-mark { color: var(--primary); font-size: 29px; line-height: 1.2; font-family: Georgia, serif; }
.demo-comment > p { font-size: 12px; line-height: 1.85; }
.detail-actions { margin-top: 28px; }
.demo-note { margin-top: 26px; padding: 14px 16px; border-radius: 8px; background: var(--muted); font-size: 10px; line-height: 1.8; color: var(--muted-foreground); }
.about-intro { margin-top: 20px; }
.selection-rules { margin-top: 27px; }
.selection-rules > div { display: flex; gap: 19px; padding: 19px 0; border-top: 1px solid var(--border); }
.selection-rules > div > span { margin-top: 3px; font-family: var(--mono); font-size: 10px; color: var(--primary); }
.selection-rules p { font-size: 12px; line-height: 1.8; color: var(--muted-foreground); }
.selection-rules strong { display: block; margin-bottom: 5px; color: var(--foreground); font-size: 13px; font-weight: 600; }
.about-dialog > .button { margin-top: 22px; }
.share-dialog { width: min(580px, calc(100% - 32px)); }
.share-description { margin-top: 18px; color: var(--muted-foreground); font-size: 13px; line-height: 1.85; }
.share-dialog .detail-kicker { color: var(--share); }
.share-dialog h2 > span { color: var(--share); }
.share-article-title { margin-top: 21px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--background); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.share-input-label { display: block; margin-top: 24px; margin-bottom: 9px; color: var(--muted-foreground); font-size: 11px; }
.share-link-input { width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: 7px; background: var(--background); font-family: var(--mono); font-size: 11px; line-height: 1.8; }
.share-dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 15px; }
.share-button { font-size: 11px; min-height: 42px; }
.share-select-button { min-height: 40px; padding: 8px 0; color: var(--muted-foreground); background: none; font-size: 11px; }
.share-select-button:hover { color: var(--share); text-decoration: underline; text-underline-offset: 4px; }
.share-copy-status { margin-top: 18px; color: var(--muted-foreground); font-size: 10px; line-height: 1.85; }
.share-toast { position: fixed; left: 50%; bottom: 24px; z-index: 20; transform: translateX(-50%); padding: 14px 22px; border: 1px solid var(--share); border-radius: 9px; background: var(--surface); color: var(--share); font-size: 12px; line-height: 1.7; box-shadow: var(--shadow); }
@keyframes card-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modal-enter { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (min-width: 1500px) { .hero { padding-top: 74px; padding-bottom: 74px; } }
@media (max-width: 1100px) {
  .container, .header-inner { width: calc(100% - 64px); }
  .feed-section.container { width: calc(100% - 48px); }
  .hero { gap: 32px; grid-template-columns: 1.15fr 1fr; padding-top: 52px; padding-bottom: 52px; }
  h1 { font-size: clamp(42px, 5.1vw, 65px); letter-spacing: -2.8px; }
  .hero-description { font-size: 15px; }
  .hero-bottom { gap: 20px; }
  .hero-link { font-size: 11px; gap: 10px; }
  .feed-layout { grid-template-columns: minmax(0, 1fr) 235px; gap: 24px; }
  .feed-topline h2 { font-size: 22px; }
  .preview-label { font-size: 7px; }
  .specialty-select-wrap { min-width: 125px; max-width: 155px; }
  .article-card { padding: 22px 18px 0; }
  .article-card.is-featured { padding: 25px 20px 0; }
  .article-card.is-featured h3 { font-size: 21px; }
  .article-card h3 { font-size: 18px; }
  .member-actions { grid-template-columns: 1fr; }
  .member-rating-actions { gap: 7px; }
  .focus-card { padding: 21px 20px 0; }
  .focus-card h2 { font-size: 27px; }
  .header-nav { margin-left: 0; }
}
@media (max-width: 820px) {
  .header-inner { min-height: 68px; }
  .header-nav { display: none; }
  .hero { gap: 22px; padding: 43px 0 45px; }
  h1 { font-size: 50px; letter-spacing: -2.4px; }
  .eyebrow { font-size: 8px; letter-spacing: .8px; }
  .hero-description { font-size: 13px; margin-top: 16px; }
  .hero-bottom { flex-wrap: wrap; gap: 14px; margin-top: 22px; }
  .science-art { height: 202px; }
  .art-topline, .art-bottomline { font-size: 6px; }
  .feed-layout { grid-template-columns: minmax(0, 1fr); }
  .feed-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 16px; border-top: 1px solid var(--border); }
  .focus-card { grid-row: span 2; }
  .selection-note { margin-top: 0; }
  .selection-mark { display: none; }
  .selection-note h2 { margin-top: 0; }
  .focus-art { margin-top: 20px; }
  .focus-card h2 { font-size: 27px; }
  .focus-card p { max-width: 230px; }
  .feed-topline { align-items: flex-start; }
  .preview-label { max-width: 190px; text-align: right; font-size: 7px; }
  .preview-label > span { display: none; }
  .article-card.is-featured h3 { font-size: 23px; }
  .article-summary { font-size: 13px; }
  .article-card h3 { font-size: 20px; }
  .specialty-select-wrap { max-width: 190px; min-width: 160px; }
  .site-footer { margin-top: 40px; }
}
@media (max-width: 560px) {
  :root { scroll-padding-top: 74px; }
  .container, .header-inner { width: calc(100% - 40px); }
  .feed-section.container { width: calc(100% - 24px); }
  .header-inner { min-height: 62px; flex-wrap: wrap; gap: 8px 12px; padding-block: 10px; }
  .brand { font-size: 25px; gap: 6px; letter-spacing: -1.4px; }
  .brand-symbol { width: 25px; height: 28px; margin-bottom: 7px; }
  .brand-caption { font-size: 5.5px; margin-top: 7px; letter-spacing: .6px; }
  .header-actions { gap: 4px; }
  .theme-toggle { width: 33px; }
  .button-small { font-size: 10px; min-height: 36px; padding: 9px 11px; gap: 8px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 38px; padding-bottom: 33px; }
  .eyebrow { font-size: 8px; }
  h1 { font-size: clamp(40px, 10.8vw, 58px); line-height: 1.15; letter-spacing: -2.5px; margin-top: 18px; }
  .hero h1 { font-size: clamp(34px, 10.25vw, 58px); }
  .hero-description { margin-top: 16px; font-size: 14px; line-height: 1.75; }
  .hero-bottom { flex-wrap: nowrap; justify-content: space-between; margin-top: 23px; gap: 14px; }
  .hero-link { font-size: 10px; gap: 10px; }
  .hero-art { display: none; }
  .feed-section { padding-top: 20px; }
  .feed-topline { display: block; padding-bottom: 20px; }
  .feed-topline h2 { font-size: 21px; }
  .preview-label { display: flex; max-width: none; text-align: left; margin-top: 10px; font-size: 7px; }
  .preview-label > span { display: inline-block; width: 4px; height: 4px; }
  .filter-toolbar { flex-wrap: wrap; gap: 10px; }
  .search-form { min-width: 100%; min-height: 44px; padding: 0 12px; }
  .search-form input { font-size: 12px; }
  .search-form kbd { display: none; }
  .specialty-select-wrap { min-width: 100%; max-width: 100%; }
  .specialty-trigger { min-height: 40px; padding: 10px 12px; background: var(--background); font-size: 10px; }
  .specialty-menu { left: 0; right: 0; width: 100%; max-width: 100%; }
  .specialty-option { font-size: 11px; }
  .results-bar { font-size: 8px; min-height: 44px; gap: 8px; }
  .reset-button { font-size: 9px; }
  .results-bar:has(.reset-button:not([hidden])) .results-caption { display: none; }
  .article-list { gap: 12px; }
  .article-card, .article-card.is-featured { padding: 21px 14px 0; border-radius: 10px; }
  .article-bookmark { top: 12px; right: 10px; }
  .detail-bookmark { top: 12px; right: 60px; }
  .article-tags { font-size: 8px; gap: 7px; }
  .featured-label { display: none; }
  .article-card h3, .article-card.is-featured h3 { font-size: 19px; margin-top: 14px; letter-spacing: -.5px; line-height: 1.4; }
  .article-summary { margin-top: 12px; font-size: 12px; line-height: 1.85; }
  .article-meta { gap: 6px; margin-top: 17px; padding-bottom: 17px; font-size: 8px; }
  .article-topic { margin-left: 0; font-size: 8px; padding: 2px 6px; }
  .article-meta .meta-dash { display: none; }
  .article-meta .article-journal { flex-basis: calc(100% - 40px); }
  .article-read { font-size: 10px; gap: 10px; }
  .source-link { font-size: 9px; }
  .article-actions { min-height: 53px; }
  .member-actions { padding-top: 12px; padding-bottom: 14px; gap: 11px; }
  .member-card-actions { padding-top: 6px; padding-bottom: 8px; }
  .member-action { min-height: 36px; font-size: 9px; padding: 8px 10px; }
  .member-action svg { width: 14px; height: 14px; }
  .member-main-actions { gap: 7px; }
  .member-rating-actions { gap: 6px; }
  .member-rating-actions > span { font-size: 9px; margin-right: auto; }
  .member-rating { padding: 8px 9px; }
  .member-secondary-actions { justify-content: space-between; gap: 8px; }
  .member-text-action { min-height: 31px; padding: 5px 0; font-size: 10px; }
  .member-share { min-height: 40px; padding: 8px 2px; font-size: 10px; }
  .source-action { min-height: 40px; padding: 8px 0; font-size: 10px; }
  .end-note { padding: 30px 0 16px; font-size: 9px; }
  .feed-aside { display: block; padding-top: 22px; }
  .focus-card { display: none; }
  .selection-note { margin-top: 23px; }
  .selection-note p { max-width: 310px; }
  .selection-note h2 { font-size: 12px; }
  .selection-link { padding-bottom: 0; }
  .site-footer { display: grid; grid-template-columns: 1fr auto; gap: 20px; margin-top: 30px; padding: 25px 0; }
  .footer-brand { font-size: 20px; }
  .footer-caption { font-size: 6px; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; font-size: 8px; }
  .back-top { right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 8px)); width: 40px; height: 40px; padding: 10px; }
  .detail-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 44px 24px 28px; border-radius: 14px; }
  #article-dialog { width: calc(100% - 12px); padding-right: 12px; padding-left: 12px; }
  .detail-kicker { font-size: 8px; line-height: 1.7; }
  .detail-dialog h2 { font-size: 27px; letter-spacing: -.75px; }
  #article-dialog h2 { font-size: 24px; }
  .detail-section p, .about-intro { font-size: 13px; line-height: 1.85; }
  .detail-meta { font-size: 9px; }
  .detail-english { font-size: 11px; }
  .detail-actions .button { width: 100%; font-size: 12px; }
  .demo-note { font-size: 9px; padding: 12px; }
  .selection-rules > div { gap: 14px; }
  .selection-rules p { font-size: 11px; }
  .selection-rules strong { font-size: 12px; }
  .empty-state { padding: 40px 20px; }
  .share-dialog { width: calc(100% - 24px); }
  .share-description { font-size: 12px; margin-top: 16px; }
  .share-article-title { font-size: 11px; }
  .share-link-input { font-size: 10px; }
  .share-dialog-actions { gap: 8px 16px; }
  .share-button { font-size: 10px; }
  .share-select-button { font-size: 10px; }
  .share-copy-status { font-size: 9px; }
  .share-toast { bottom: 18px; max-width: calc(100% - 32px); padding: 12px 18px; font-size: 11px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Readable metadata and the same compact reader actions as the account feed. */
.article-tags, .article-meta, .article-topic, .detail-kicker { font-size: 10px; }
.detail-meta, .source-link, .member-action, .member-text-action, .member-share, .reset-button { font-size: 11px; }
.article-read { font-size: 12px; }
.results-bar, .results-caption { font-size: 10px; }
.specialty-trigger, .specialty-option, .specialty-menu-search input { font-size: 12px; }
.member-detail-actions { grid-template-columns: minmax(0, 1fr); }
.member-detail-actions .member-main-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 12px; }
.member-detail-actions .member-main-actions > button { min-height: 44px; max-width: 100%; text-align: center; line-height: 1.35; white-space: nowrap; }
.public-more { width: 100%; margin-top: 18px; }
.public-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 22px; color: var(--muted-foreground); font-size: 13px; }
.public-pagination a { display: inline-flex; align-items: center; min-height: 42px; color: var(--primary); }
.public-pagination a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media(max-width:560px) {
  .member-detail-actions .member-secondary-actions { justify-content: space-between; gap: 10px; }
}
