/* Reader styles — 2026-11-19.
   A style changes shape, typography treatment and decoration. It never hard-codes a color or a font family:
   colors come from the contrast-checked tokens of appearance.js and fonts from --font-display / --font-body,
   so every style stays combinable with every color world, own colors, base tone, font and background.
   This file is loaded last. Card frames keep their meaning in every style: width and dash pattern show the
   content type, a missing frame marks a seen article (reader.css). Styles only set --card-line, --frame-solid
   and --frame-strong for them. Tokens that appearance.js writes on the root element are overridden on body. */

/* ---------- 1. Font metrics by font kind (set by appearance.js) ---------- */
:root[data-font-single]{font-synthesis-weight:none}
:root:not([data-font-kind=sans]) :is(.results-heading h2,.popover-heading strong,.design-panel-heading h2,.footer-logo,.issue-date strong,.card-quote,.sources-inner h3,.detail-inner h3,.info-dialog h2,.community-dialog h2,.share-dialog h2,.newsletter-invitation h2,.empty-state h2,.wordmark){letter-spacing:0}
:root[data-font-kind=serif] :is(.card-title,.card-quote){letter-spacing:-.35px}
:root[data-font-kind=serif] h1{letter-spacing:-1.1px}
:root[data-font-kind=heavy] .card-title{letter-spacing:-.4px;line-height:1.22}
:root[data-font-kind=heavy] h1{letter-spacing:-1.2px}
:root[data-font-kind=mono] .card-title{font-size:20px;letter-spacing:-.7px;line-height:1.4}
:root[data-font-kind=mono] h1{font-size:clamp(26px,3.5vw,41px);letter-spacing:-1.8px}
:root[data-font-kind=mono] .wordmark{font-size:25px;letter-spacing:-1px}
:root[data-font-kind=condensed] .card-title{font-size:28px;letter-spacing:0;line-height:1.14}
:root[data-font-kind=condensed] h1{font-size:clamp(36px,5vw,60px);letter-spacing:0;line-height:1.05}
:root[data-font-kind=wide] .card-title{font-size:18px;letter-spacing:.2px;line-height:1.42}
:root[data-font-kind=wide] h1{font-size:clamp(24px,3.3vw,38px);letter-spacing:.5px}
:root[data-font-kind=wide] .wordmark{font-size:23px}
:root[data-font-kind=pixel] .card-title{font-size:31px;letter-spacing:0;line-height:1.04}
:root[data-font-kind=pixel] h1{font-size:clamp(40px,5.6vw,66px);letter-spacing:0;line-height:1}
:root[data-font-kind=hand] .card-title{font-size:32px;letter-spacing:0;line-height:1.08}
:root[data-font-kind=hand] h1{font-size:clamp(42px,5.8vw,68px);letter-spacing:0;line-height:1}
:root[data-font-kind=marker] .card-title{font-size:22px;letter-spacing:0;line-height:1.32}
:root[data-font-kind=marker] h1{font-size:clamp(29px,4vw,46px);letter-spacing:0}
/* Small display headings of fonts with a low x-height are scaled to the same optical size. */
:root:is([data-font-kind=hand],[data-font-kind=pixel]) :is(.results-heading h2,.popover-heading strong,.format-popover>strong,.design-panel-heading h2,.footer-logo,.issue-date strong,.card-quote,.sources-inner h3,.detail-inner h3,.info-dialog h2,.community-dialog h2,.share-dialog h2,.newsletter-invitation h2,.empty-state h2,.mobile-lane-heading,.wordmark,.stat-item strong){font-size-adjust:.5}

/* ---------- 2. Shared shape tokens (every style except Studio, which keeps its original geometry) ---------- */
:root{--r-ctl:12px;--r-chip:8px;--r-pill:20px;--r-pop:18px;--r-round:50%}
:where(:root:not([data-style=studio])) :is(.search-box,.filter-button,.edition-switch,.primary-button,.compose-button,.danger-hub,.danger-hub-link,.reading-mode,.evidence-option,.detail-takeaway,.community-notice,.community-profile,.community-post-item,.upload-control,.composer-labels,.share-warning,.legal-note,.workflow-graphic,.palette-option,.font-option,.background-option,.style-option,.layout-switch,.lane-arrow,.language-search,.share-url,.palette-search,.palette-groups,.design-tabs,.design-mode,.design-reset,.color-field,.newsletter-kind-picker,.newsletter-invitation){border-radius:var(--r-ctl)}
:where(:root:not([data-style=studio])) :is(.sources-list a,.date-fields input,.community-form textarea,.community-form select,.saved-list-tools select,.media-carousel-controls button){border-radius:var(--r-ctl)}
:where(:root:not([data-style=studio])) .community-form input:not([type=checkbox]):not([type=file]){border-radius:var(--r-ctl)}
:where(:root:not([data-style=studio])) :is(.category-chip,.mini-chip,.tag,.reset-button,.saved-count,.format-option,.language-option,.kind-symbol,.evidence-level-icon,.danger-hub-icon,.sources-count,.content-warning,.media-tag,.video-duration,.mix-thumb,.mix-segments,.custom-clear){border-radius:var(--r-chip)}
:where(:root:not([data-style=studio])) :is(kbd,.column-guide>span,.mix-heading>button,.mix-mode button,.format-choice>button,.saved-list-tools>button,.share-actions button,.community-tabs button,.card-stamp .bookmark,.card-indicators .meta-icon,.palette-groups button,.design-tabs button,.design-mode button,.layout-switch .icon-button,.mix-values input,.read-timer-setting input){border-radius:var(--r-chip)}
:where(:root:not([data-style=studio])) :is(.language-toggle,.design-toggle,.evidence-badge,.audio-button){border-radius:var(--r-pill)}
:where(:root:not([data-style=studio])) :is(.icon-button,.bookmark,.play-circle){border-radius:var(--r-round)}
:where(:root:not([data-style=studio])) .read-more .read-icon{border-radius:var(--r-round)}
:where(:root:not([data-style=studio])) :is(.filter-popover,.design-panel,.info-dialog,.community-dialog,.share-dialog,.audio-dock,.toast,.card-metadata-tooltip){border-radius:var(--r-pop)}
.card-media img{transition:transform .75s var(--ease),filter .4s}

/* ---------- 3. Zeitung (press): broadsheet — serif headlines, double rules, black-and-white photos ---------- */
:root[data-style=press] body{--radius:0px;--r-ctl:0px;--r-chip:0px;--r-pill:0px;--r-pop:0px;--r-round:0px;--card-line:var(--ink);--shadow:none;--shadow-hover:none;--rule:3px double var(--ink)}
:root[data-style=press] .app-header{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:var(--rule)}
:root[data-style=press] .wordmark{font-weight:900}
:root[data-style=press] .wordmark-light{font-family:inherit;font-weight:inherit;font-style:italic}
:root[data-style=press] .nav-button{font-family:var(--font-body);font-size:16px;font-variant-caps:all-small-caps;letter-spacing:.09em}
:root[data-style=press] .nav-button.active:after{height:3px;border-radius:0;background:var(--ink)}
:root[data-style=press] :is(.language-toggle,.design-toggle,.search-box,.filter-button,.edition-switch,.compose-button,.layout-switch),:root[data-style=press] .header-actions .icon-button{border-color:var(--ink);background:transparent}
:root[data-style=press] .intro{border-bottom:1px solid var(--ink)}
:root[data-style=press] .eyebrow{font-variant-caps:all-small-caps;font-size:13px;letter-spacing:.14em}
:root[data-style=press] h1{font-weight:900;font-size:clamp(34px,5vw,62px);line-height:1.06}
:root[data-style=press] h1>span{background:none;color:var(--accent-text);font-style:italic}
:root[data-style=press] h1>span:after{display:none}
:root[data-style=press] .intro p{font-style:italic;font-size:17px}
:root[data-style=press] .issue-date{border-left:var(--rule)}
:root[data-style=press] .issue-date strong{font-style:italic}
:root[data-style=press] .control-deck{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;border-top:0;border-bottom:var(--rule)}
:root[data-style=press] :is(.filter-button,.edition-switch,.category-chip,.compose-button){font-variant-caps:all-small-caps;letter-spacing:.06em;font-size:14px}
:root[data-style=press] .category-chip.active{background:var(--ink);color:var(--bg)}
:root[data-style=press] .results-heading h2{font-size:22px;font-style:italic}
:root[data-style=press] .section-marker{width:22px;height:3px;border-radius:0;background:var(--ink)}
:root[data-style=press] .column-guide>span{border:0;border-top:3px solid var(--ink);border-bottom:1px solid var(--ink);background:transparent}
:root[data-style=press] .news-card .card-surface{-webkit-backdrop-filter:none;backdrop-filter:none}
:root[data-style=press] .card-title{line-height:1.2}
:root[data-style=press] .card-excerpt{font-size:14.5px;line-height:1.62;color:var(--ink);hyphens:auto}
:root[data-style=press] .news-card.feature .card-excerpt:first-of-type::first-letter{float:left;font:900 3.3em/.82 var(--font-display);padding:4px 7px 0 0;color:var(--accent-text)}
:root[data-style=press] .card-category{font-variant-caps:all-small-caps;font-size:13px;letter-spacing:.08em}
:root[data-style=press] .card-media img{filter:grayscale(1) contrast(1.06)}
:root[data-style=press] .news-card:is(:hover,.expanded,:focus-within) .card-media img{filter:none}
:root[data-style=press] .tag{background:transparent;border:1px solid var(--line);font-style:italic;font-size:11px}
:root[data-style=press] .read-more{font-family:var(--font-display);font-style:italic;font-size:13px}
:root[data-style=press] .read-more .read-icon{background:transparent;border:1px solid var(--ink)}
:root[data-style=press] .primary-button{background:var(--ink);color:var(--bg);font-variant-caps:all-small-caps;letter-spacing:.08em;font-size:15px}
:root[data-style=press] .design-tabs button[aria-pressed=true]{background:var(--ink);color:var(--bg)}
:root[data-style=press] :is(.filter-popover,.design-panel,.info-dialog,.community-dialog,.share-dialog,.audio-dock,.card-metadata-tooltip){border-color:var(--ink);box-shadow:7px 7px 0 color-mix(in srgb,var(--ink) 16%,transparent)}
:root[data-style=press] .newsletter-invitation{background:transparent;border:0;border-block:var(--rule)}
:root[data-style=press] .newsletter-invitation h2{font-style:italic;font-size:30px}
:root[data-style=press] .app-footer{border-top:var(--rule)}
:root[data-style=press] .end-line{background:var(--ink)}

/* ---------- 4. Magazin (magazine): large light headlines, white space, hairlines, pill controls ---------- */
:root[data-style=magazine] body{--radius:3px;--r-ctl:999px;--r-chip:999px;--r-pill:999px;--r-pop:8px;--card-line:color-mix(in srgb,var(--line) 75%,transparent);--shadow:none;--shadow-hover:0 30px 60px -38px color-mix(in srgb,var(--ink) 55%,transparent)}
:root[data-style=magazine] :is(.reading-mode,.evidence-option,.detail-takeaway,.community-notice,.community-profile,.community-post-item,.upload-control,.composer-labels,.share-warning,.legal-note,.palette-option,.font-option,.background-option,.style-option,.newsletter-kind-picker,.newsletter-invitation,.danger-hub,.color-field,.share-url,.community-form textarea){border-radius:8px}
:root[data-style=magazine] .app-header{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:0}
:root[data-style=magazine] .wordmark{font-weight:500}
:root[data-style=magazine] .wordmark-light{font-family:inherit;font-style:italic;font-weight:300}
:root[data-style=magazine] .nav-button{font-size:11px;text-transform:uppercase;letter-spacing:.18em;font-weight:500}
:root[data-style=magazine] .nav-button.active:after{height:1px}
:root[data-style=magazine] .intro{padding:74px 0 60px}
:root[data-style=magazine] .eyebrow{letter-spacing:.32em}
:root[data-style=magazine] h1{font-weight:400;font-size:clamp(38px,6vw,76px);line-height:1.03;letter-spacing:-.03em}
:root[data-style=magazine] h1>span{background:none;color:var(--accent-text);font-style:italic;font-weight:300}
:root[data-style=magazine] h1>span:after{display:none}
:root[data-style=magazine] .intro p{font-size:17px}
:root[data-style=magazine] .issue-date{border-left:0;font-style:italic}
:root[data-style=magazine] .control-deck{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none}
:root[data-style=magazine] :is(.search-box,.filter-button,.edition-switch){background:transparent}
:root[data-style=magazine] .filter-button{padding-inline:17px}
:root[data-style=magazine] .category-chip{text-transform:uppercase;letter-spacing:.14em;font-size:10px;font-weight:500}
:root[data-style=magazine] .category-chip.active{background:var(--ink);color:var(--bg)}
:root[data-style=magazine] .results-heading h2{font-size:24px;font-weight:400;font-style:italic}
:root[data-style=magazine] .section-marker{display:none}
:root[data-style=magazine] .news-card .card-surface{-webkit-backdrop-filter:none;backdrop-filter:none}
:root[data-style=magazine] .card-content{padding:30px 30px 24px}
:root[data-style=magazine] .card-media{margin:14px 14px 0;border-radius:2px}
:root[data-style=magazine] .card-title{line-height:1.16}
:root[data-style=magazine] .news-card .card-title[data-importance=low]{font-weight:300}
:root[data-style=magazine] .news-card .card-title:is([data-importance=medium],[data-importance=high]){font-weight:500}
:root[data-style=magazine] .card-category{text-transform:uppercase;letter-spacing:.16em;font-size:9px}
:root[data-style=magazine] .card-excerpt{font-size:14px;line-height:1.8}
:root[data-style=magazine] .tag{background:transparent;border:1px solid var(--line);text-transform:uppercase;letter-spacing:.12em;font-size:8px;padding:5px 9px}
:root[data-style=magazine] .primary-button{background:var(--ink);color:var(--bg);text-transform:uppercase;letter-spacing:.16em;font-size:10px;padding:15px 22px}
:root[data-style=magazine] .design-tabs button[aria-pressed=true]{background:var(--ink);color:var(--bg)}
:root[data-style=magazine] .newsletter-invitation{background:transparent;border:0;border-block:1px solid var(--line);border-radius:0;padding-block:54px}
:root[data-style=magazine] .newsletter-invitation h2{font-size:36px;font-weight:400;font-style:italic}
:root[data-style=magazine] .app-footer{border-top:0}

/* ---------- 5. Minimal: lines, text and nothing else ---------- */
:root[data-style=minimal] body{--radius:2px;--r-ctl:2px;--r-chip:2px;--r-pill:2px;--r-pop:3px;--r-round:2px;--shadow:none;--shadow-hover:none}
:root[data-style=minimal] :is(.app-header,.control-deck){background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none}
:root[data-style=minimal] .wordmark{font-weight:600;font-size:24px;letter-spacing:-.04em}
:root[data-style=minimal] .brand-mark{width:24px;height:24px}
:root[data-style=minimal] .nav-button{font-weight:500;font-size:13px}
:root[data-style=minimal] .nav-button.active:after{bottom:0;left:0;right:0;border-radius:0;background:var(--ink)}
:root[data-style=minimal] h1{font-weight:600;letter-spacing:-.04em}
:root[data-style=minimal] h1>span{background:none;color:var(--muted)}
:root[data-style=minimal] h1>span:after{display:none}
:root[data-style=minimal] :is(.eyebrow,.card-category){text-transform:uppercase;letter-spacing:.12em}
:root[data-style=minimal] .status-dot{box-shadow:none}
:root[data-style=minimal] :is(.search-box,.filter-button,.edition-switch,.language-toggle,.design-toggle,.compose-button),:root[data-style=minimal] .header-actions .icon-button{background:transparent}
:root[data-style=minimal] :is(.filter-button,.edition-switch,.language-toggle,.design-toggle,.compose-button):hover,:root[data-style=minimal] .header-actions .icon-button:hover{border-color:var(--ink);background:transparent;box-shadow:none}
:root[data-style=minimal] .category-chip{padding-inline:3px;margin-right:13px}
:root[data-style=minimal] .category-chip:hover{background:transparent}
:root[data-style=minimal] .category-chip.active{background:transparent;color:var(--ink);box-shadow:inset 0 -2px 0 var(--ink)}
:root[data-style=minimal] .news-card .card-surface{-webkit-backdrop-filter:none;backdrop-filter:none}
:root[data-style=minimal] .news-card:not(.expanded):hover{transform:none}
:root[data-style=minimal] .news-card:hover{--card-line:var(--ink)}
:root[data-style=minimal] .news-card:hover .card-media img{transform:none}
:root[data-style=minimal] .card-title{line-height:1.25}
:root[data-style=minimal] .tag{background:transparent;border:1px solid var(--line)}
:root[data-style=minimal] .read-more .read-icon{background:transparent}
:root[data-style=minimal] .primary-button{background:var(--ink);color:var(--bg)}
:root[data-style=minimal] .design-tabs button[aria-pressed=true]{background:var(--ink);color:var(--bg)}
:root[data-style=minimal] :is(.filter-popover,.design-panel,.info-dialog,.community-dialog,.share-dialog,.audio-dock,.card-metadata-tooltip){box-shadow:0 24px 48px -30px color-mix(in srgb,var(--ink) 50%,transparent)}
:root[data-style=minimal] .newsletter-invitation{background:transparent}

/* ---------- 6. Glas (glass): real glass over the colored page background ---------- */
/* Package 92 (2026-11-26): glass.js draws the panes with WebGL (refraction at the bevelled edge, frost, rim light) and sets [data-glass=live] on the root element while it
   runs; the rules for that state are at the end of this section. The rules up to there are the look without WebGL: blurred translucent panes. The style "Transparenz"
   (clear, styles-more.css) keeps that former look of this style for readers who prefer it. */
:root[data-style=glass] body{--radius:28px;--r-ctl:16px;--r-chip:999px;--r-pill:999px;--r-pop:24px;--glass:color-mix(in srgb,var(--surface) 46%,transparent);--glass-line:color-mix(in srgb,var(--ink) 16%,transparent);--sheen:inset 0 1px 0 color-mix(in srgb,#fff 24%,transparent);--card-line:var(--glass-line);--shadow:var(--sheen),0 24px 50px -30px #000a;--shadow-hover:var(--sheen),0 34px 70px -30px #000c,0 0 0 1px color-mix(in srgb,var(--accent-key) 35%,transparent)}
:root[data-style=glass] .app-header{background:color-mix(in srgb,var(--bg) 52%,transparent);-webkit-backdrop-filter:blur(28px) saturate(1.6);backdrop-filter:blur(28px) saturate(1.6);border-bottom-color:var(--glass-line)}
:root[data-style=glass] .control-deck{background:color-mix(in srgb,var(--bg) 48%,transparent);-webkit-backdrop-filter:blur(28px) saturate(1.6);backdrop-filter:blur(28px) saturate(1.6);border-color:var(--glass-line);border-radius:0 0 24px 24px}
:root[data-style=glass] :is(.search-box,.filter-button,.edition-switch,.language-toggle,.design-toggle,.compose-button,.column-guide>span),:root[data-style=glass] .header-actions .icon-button,:root[data-style=glass] .back-to-top{background:var(--glass);border-color:var(--glass-line);box-shadow:var(--sheen)}
:root[data-style=glass] .news-card .card-surface{background:color-mix(in srgb,var(--surface) calc(var(--card-opacity,1)*50%),transparent);-webkit-backdrop-filter:blur(24px) saturate(1.55);backdrop-filter:blur(24px) saturate(1.55)}
:root[data-style=glass] .news-card.spotlight .card-surface{background:color-mix(in srgb,var(--tint-strong) calc(var(--card-opacity,1)*55%),transparent)}
:root[data-style=glass] .card-media{margin:8px 8px 0;border-radius:21px}
:root[data-style=glass] .tag{background:color-mix(in srgb,var(--ink) 9%,transparent)}
:root[data-style=glass] .primary-button{box-shadow:var(--sheen),0 10px 26px -10px var(--accent-key)}
:root[data-style=glass] .category-chip.active{box-shadow:var(--sheen),0 8px 20px -10px var(--accent-key)}
/* Popovers sit inside blurred bars, where a nested blur cannot see the page; they stay almost opaque. */
:root[data-style=glass] :is(.filter-popover,.design-panel,.info-dialog,.community-dialog,.share-dialog,.audio-dock,.card-metadata-tooltip){background:color-mix(in srgb,var(--surface) 94%,transparent);border-color:var(--glass-line);box-shadow:var(--sheen),0 30px 80px -20px #000b}
:root[data-style=glass] .newsletter-invitation{background:var(--glass);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border-color:var(--glass-line);border-radius:28px;box-shadow:var(--sheen)}
@media(prefers-reduced-transparency:reduce){
  :root[data-style=glass] .news-card .card-surface{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none}
  :root[data-style=glass] .news-card.spotlight .card-surface{background:var(--tint)}
  :root[data-style=glass] :is(.app-header,.control-deck){background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none}
  :root[data-style=glass] .newsletter-invitation{background:var(--surface)}
}
/* While the WebGL glass runs, a pane is the glass drawn behind it plus a thin veil of the surface color; a blur of its own would only smear the drawn glass. The bars keep
   their blur: cards scroll underneath them. The filter deck is square in this state because a lens has one corner radius. */
:root[data-style=glass][data-glass=live] body{--glass-line:color-mix(in srgb,var(--ink) 26%,transparent);--sheen:inset 0 1px 0 color-mix(in srgb,#fff 34%,transparent),inset 0 -1px 0 color-mix(in srgb,#000 22%,transparent)}
:root[data-style=glass][data-glass=live] .news-card:not(.wide)>.card-surface{background:color-mix(in srgb,var(--surface) calc(var(--card-opacity,1)*32%),transparent);-webkit-backdrop-filter:none;backdrop-filter:none}
:root[data-style=glass][data-glass=live] .news-card.spotlight:not(.wide)>.card-surface{background:color-mix(in srgb,var(--tint-strong) calc(var(--card-opacity,1)*36%),transparent)}
:root[data-style=glass][data-glass=live] :is(.column-guide>span,.newsletter-invitation,.intro-stamp .analog-clock){background:color-mix(in srgb,var(--surface) 26%,transparent);-webkit-backdrop-filter:none;backdrop-filter:none}
:root[data-style=glass][data-glass=live] :is(.app-header,.control-deck){background:color-mix(in srgb,var(--bg) 34%,transparent);-webkit-backdrop-filter:blur(22px) saturate(1.7);backdrop-filter:blur(22px) saturate(1.7);box-shadow:var(--sheen)}

/* ---------- 7. Brutal: thick frames, hard offset shadows, loud capitals ---------- */
:root[data-style=brutal] body{--radius:0px;--r-ctl:0px;--r-chip:0px;--r-pill:0px;--r-pop:0px;--r-round:0px;--card-line:var(--ink);--frame-solid:6px;--frame-strong:8px;--dash-scale:3;--bw:3px solid var(--ink);--hard:4px 4px 0 var(--ink);--shadow:7px 7px 0 var(--ink);--shadow-hover:11px 11px 0 var(--ink)}
:root[data-style=brutal] .app-header{background:var(--action-start);color:var(--button-ink);-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:var(--bw)}
:root[data-style=brutal] .wordmark{font-weight:900;text-transform:uppercase}
:root[data-style=brutal] .wordmark-light{font-family:inherit;font-weight:inherit}
:root[data-style=brutal] :is(.brand-period,.wordmark-hyphen){color:inherit}
:root[data-style=brutal] .brand-mark{stroke:currentColor}
:root[data-style=brutal] .nav-button{height:auto;padding:9px 10px;color:inherit;text-transform:uppercase;font-weight:800;font-size:13px}
:root[data-style=brutal] .nav-button.active{background:var(--button-ink);color:var(--action-start)}
:root[data-style=brutal] .nav-button.active:after{display:none}
:root[data-style=brutal] :is(.search-box,.filter-button,.edition-switch,.compose-button,.primary-button,.category-chip,.layout-switch,.design-reset,.color-field),:root[data-style=brutal] .back-to-top{border:var(--bw);box-shadow:var(--hard)}
:root[data-style=brutal] .header-actions :is(.language-toggle,.design-toggle,.icon-button){background:var(--surface);color:var(--ink);border:var(--bw);box-shadow:var(--hard)}
:root[data-style=brutal] :is(.filter-button,.edition-switch,.compose-button,.category-chip,.primary-button,.design-reset){text-transform:uppercase;font-weight:800;transition:transform .12s,box-shadow .12s}
:root[data-style=brutal] :is(.filter-button,.edition-switch,.compose-button,.category-chip,.primary-button,.language-toggle,.design-toggle,.design-reset):hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--ink);filter:none}
:root[data-style=brutal] :is(.filter-button,.edition-switch,.compose-button,.category-chip,.primary-button,.language-toggle,.design-toggle,.design-reset):active{transform:translate(4px,4px);box-shadow:0 0 0 var(--ink)}
:root[data-style=brutal] .category-chip{background:var(--surface);color:var(--ink)}
:root[data-style=brutal] .category-chip.active{background:var(--accent-fill);color:var(--button-ink)}
:root[data-style=brutal] .category-row{gap:11px;padding-bottom:13px;padding-inline:3px 8px}
:root[data-style=brutal] .eyebrow{font-weight:800;color:var(--ink)}
:root[data-style=brutal] .status-dot{width:11px;height:11px;border-radius:0;border:2px solid var(--ink);box-shadow:none}
:root[data-style=brutal] h1{text-transform:uppercase;font-weight:900;font-size:clamp(34px,6.2vw,84px);line-height:.98;letter-spacing:-.03em}
:root[data-style=brutal] h1>span{display:inline-block;background:var(--accent-fill);-webkit-background-clip:border-box;background-clip:border-box;color:var(--button-ink);padding:.02em .16em .06em;border:var(--bw);box-shadow:var(--hard);transform:rotate(-1.6deg)}
:root[data-style=brutal] h1>span:after{display:none}
:root[data-style=brutal] .issue-date{border:var(--bw);padding:10px 14px;background:var(--surface);box-shadow:var(--hard)}
:root[data-style=brutal] .control-deck{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;border-top:var(--bw);border-bottom:var(--bw)}
:root[data-style=brutal] .search-box{background:var(--surface)}
:root[data-style=brutal] .search-box:focus-within{border-color:var(--ink);box-shadow:6px 6px 0 var(--accent-key)}
:root[data-style=brutal] .results-heading h2{text-transform:uppercase;font-weight:900;font-size:20px}
:root[data-style=brutal] .section-marker{width:14px;height:14px;border:2px solid var(--ink);border-radius:0}
:root[data-style=brutal] .column-guide>span{border:var(--bw);background:var(--surface)}
:root[data-style=brutal] .news-card .card-surface{-webkit-backdrop-filter:none;backdrop-filter:none}
:root[data-style=brutal] .news-card:not(.expanded):hover{transform:translate(-3px,-3px)}
:root[data-style=brutal] .news-card[data-seen=true]>.card-surface{box-shadow:none}
:root[data-style=brutal] .card-media{border-bottom:var(--bw)}
:root[data-style=brutal] .card-category{text-transform:uppercase;font-weight:800}
:root[data-style=brutal] .tag{border:2px solid var(--ink);background:var(--tint-strong);color:var(--ink);text-transform:uppercase;font-weight:700}
:root[data-style=brutal] .read-more .read-icon{border:2px solid var(--ink);background:var(--action-start);color:var(--button-ink)}
:root[data-style=brutal] :is(.filter-popover,.design-panel,.info-dialog,.community-dialog,.share-dialog,.audio-dock,.card-metadata-tooltip,.toast){border:var(--bw);box-shadow:9px 9px 0 var(--ink)}
:root[data-style=brutal] .newsletter-invitation{border:var(--bw);background:var(--tint-strong);box-shadow:var(--shadow)}
:root[data-style=brutal] .newsletter-invitation h2{text-transform:uppercase;font-weight:900}
:root[data-style=brutal] .app-footer{border-top:var(--bw)}
:root[data-style=brutal] .switch-track{border:2px solid var(--ink)}
:root[data-style=brutal] :is(.switch-track,.switch-track:after){border-radius:0}
:root[data-style=brutal] :is(.palette-option,.font-option,.background-option,.style-option,.reading-mode,.evidence-option){border:2px solid var(--ink)}
:root[data-style=brutal] :is(.palette-option,.font-option,.background-option,.style-option,.reading-mode)[aria-pressed=true]{box-shadow:var(--hard)}

/* ---------- 8. Comic: round shapes, ink outlines and buttons with a pressed lip ---------- */
:root[data-style=comic] body{--radius:22px;--r-ctl:14px;--r-chip:999px;--r-pill:999px;--r-pop:20px;--card-line:var(--ink);--frame-solid:5px;--frame-strong:6px;--dash-scale:2.5;--bw:2.5px solid var(--ink);--lip:0 4px 0 var(--ink);--shadow:0 6px 0 var(--ink);--shadow-hover:0 10px 0 var(--ink)}
:root[data-style=comic] .app-header{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:3px solid var(--ink)}
:root[data-style=comic] .wordmark-light{font-family:inherit;font-weight:inherit}
:root[data-style=comic] .nav-button{height:auto;padding:7px 14px;border-radius:999px;border:2.5px solid transparent;font-weight:800}
:root[data-style=comic] .nav-button.active{background:var(--accent-fill);color:var(--button-ink);border-color:var(--ink);box-shadow:var(--lip)}
:root[data-style=comic] .nav-button.active:after{display:none}
:root[data-style=comic] :is(.language-toggle,.design-toggle,.search-box,.filter-button,.edition-switch,.compose-button,.primary-button,.category-chip,.layout-switch,.design-reset,.color-field),:root[data-style=comic] .header-actions .icon-button,:root[data-style=comic] .back-to-top{border:var(--bw);box-shadow:var(--lip)}
:root[data-style=comic] :is(.filter-button,.edition-switch,.compose-button,.category-chip,.primary-button,.design-reset){font-weight:800;transition:transform .12s,box-shadow .12s}
:root[data-style=comic] :is(.filter-button,.edition-switch,.compose-button,.category-chip,.primary-button,.language-toggle,.design-toggle,.design-reset):hover{transform:translateY(-2px);box-shadow:0 6px 0 var(--ink);filter:none}
:root[data-style=comic] :is(.filter-button,.edition-switch,.compose-button,.category-chip,.primary-button,.language-toggle,.design-toggle,.design-reset):active{transform:translateY(4px);box-shadow:0 0 0 var(--ink)}
:root[data-style=comic] .category-chip{background:var(--surface);color:var(--ink)}
:root[data-style=comic] .category-chip.active{background:var(--accent-fill);color:var(--button-ink)}
:root[data-style=comic] .category-row{gap:9px;padding-bottom:14px;padding-inline:2px}
:root[data-style=comic] .eyebrow{font-weight:800}
:root[data-style=comic] .status-dot{width:11px;height:11px;border:2px solid var(--ink);box-shadow:none}
:root[data-style=comic] h1{font-size:clamp(36px,5.6vw,72px);line-height:1.04}
:root[data-style=comic] h1>span{background:none;color:var(--accent-key-2);-webkit-text-stroke:2.5px var(--ink);paint-order:stroke fill;text-shadow:0 4px 0 var(--ink)}
:root[data-style=comic] h1>span:after{display:none}
:root[data-style=comic] .issue-date{border:var(--bw);border-radius:16px;padding:10px 16px;background:var(--surface);box-shadow:var(--lip);transform:rotate(1.5deg)}
:root[data-style=comic] .control-deck{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;border-top:0;border-bottom:3px solid var(--ink)}
:root[data-style=comic] .search-box{background:var(--surface)}
:root[data-style=comic] .search-box:focus-within{border-color:var(--ink);box-shadow:0 5px 0 var(--accent-key)}
:root[data-style=comic] .section-marker{width:13px;height:13px;border-radius:50%;border:2px solid var(--ink)}
:root[data-style=comic] .column-guide>span{border:var(--bw);border-radius:999px;background:var(--surface)}
:root[data-style=comic] .news-card .card-surface{-webkit-backdrop-filter:none;backdrop-filter:none}
:root[data-style=comic] .news-card[data-seen=true]>.card-surface{box-shadow:none}
:root[data-style=comic] .card-media{border-bottom:var(--bw)}
:root[data-style=comic] .tag{border:2px solid var(--ink);background:var(--tint-strong);color:var(--ink);font-weight:700;padding:4px 9px}
:root[data-style=comic] .read-more .read-icon{border:2px solid var(--ink);background:var(--accent-fill);color:var(--button-ink)}
:root[data-style=comic] :is(.filter-popover,.design-panel,.info-dialog,.community-dialog,.share-dialog,.audio-dock,.card-metadata-tooltip,.toast){border:3px solid var(--ink);box-shadow:0 8px 0 var(--ink)}
:root[data-style=comic] .newsletter-invitation{border:var(--bw);border-radius:26px;background:var(--tint-strong);box-shadow:var(--shadow)}
:root[data-style=comic] .app-footer{border-top:3px solid var(--ink)}
:root[data-style=comic] .switch-track{border:2px solid var(--ink)}

/* ---------- 9. Skizze (sketch): pen outlines with a hand-drawn wobble, highlighter and tape ---------- */
:root[data-style=sketch] body{--wobble:255px 15px 225px 15px/15px 225px 15px 255px;--wobble-2:18px 6px 22px 8px/8px 20px 6px 18px;--radius:14px;--r-ctl:var(--wobble);--r-chip:var(--wobble);--r-pill:var(--wobble);--r-pop:var(--wobble-2);--r-round:50% 44% 54% 46%/46% 54% 44% 52%;--card-line:var(--ink);--frame-solid:4px;--frame-strong:5px;--dash-scale:2;--pen:2px solid var(--ink);--pencil:2px dashed color-mix(in srgb,var(--ink) 40%,transparent);--shadow:3px 4px 0 color-mix(in srgb,var(--ink) 20%,transparent);--shadow-hover:5px 7px 0 color-mix(in srgb,var(--ink) 26%,transparent)}
:root[data-style=sketch] :is(.card-surface,.reading-mode,.evidence-option,.detail-takeaway,.community-notice,.community-profile,.community-post-item,.upload-control,.composer-labels,.share-warning,.legal-note,.palette-option,.font-option,.background-option,.style-option,.newsletter-kind-picker,.newsletter-invitation,.danger-hub,.color-field,.community-form textarea){border-radius:var(--wobble-2)}
:root[data-style=sketch] .app-header{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:2.5px solid var(--ink)}
:root[data-style=sketch] .wordmark-light{font-family:inherit}
:root[data-style=sketch] .nav-button{font-family:var(--font-display)}
:root[data-style=sketch][data-font-kind=hand] .nav-button{font-size:22px;font-weight:700}
:root[data-style=sketch] .nav-button.active:after{height:3px;border-radius:var(--wobble);background:var(--accent-key);transform:rotate(-1.2deg)}
:root[data-style=sketch] :is(.language-toggle,.design-toggle,.search-box,.filter-button,.edition-switch,.compose-button,.primary-button,.category-chip,.layout-switch,.design-reset,.color-field),:root[data-style=sketch] .header-actions .icon-button,:root[data-style=sketch] .back-to-top{border:var(--pen)}
:root[data-style=sketch] :is(.filter-button,.edition-switch,.compose-button,.primary-button):hover{box-shadow:2px 3px 0 var(--ink);transform:rotate(-.6deg);filter:none}
:root[data-style=sketch] .primary-button{box-shadow:2px 3px 0 var(--ink)}
:root[data-style=sketch] .category-chip{background:transparent;color:var(--ink)}
:root[data-style=sketch] .category-chip:nth-child(odd){transform:rotate(-.8deg)}
:root[data-style=sketch] .category-chip:nth-child(even){transform:rotate(.7deg)}
:root[data-style=sketch] .category-chip.active{background:var(--accent-fill);color:var(--button-ink)}
:root[data-style=sketch] .category-row{padding-inline:2px;padding-bottom:10px}
:root[data-style=sketch] .eyebrow{font-family:var(--font-display);letter-spacing:.04em}
:root[data-style=sketch][data-font-kind=hand] .eyebrow{font-size:18px}
:root[data-style=sketch] h1>span{background:linear-gradient(transparent 52%,color-mix(in srgb,var(--accent-key-2) 42%,transparent) 52% 92%,transparent 92%);-webkit-background-clip:border-box;background-clip:border-box;color:var(--ink);padding:0 .12em}
:root[data-style=sketch] h1>span:after{height:3px;bottom:-7px;background:var(--ink);border-radius:var(--wobble);transform:rotate(-1.4deg);opacity:.75}
:root[data-style=sketch] .issue-date{border:var(--pen);border-radius:var(--wobble-2);padding:10px 15px;background:var(--tint-strong);transform:rotate(2deg);box-shadow:var(--shadow)}
:root[data-style=sketch] .control-deck{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;border-top:var(--pencil);border-bottom:var(--pencil)}
:root[data-style=sketch] .section-marker{width:12px;height:12px;border-radius:var(--r-round);background:var(--accent-key);transform:rotate(8deg)}
:root[data-style=sketch] .column-guide>span{border:var(--pen);background:transparent}
:root[data-style=sketch] .news-card .card-surface{-webkit-backdrop-filter:none;backdrop-filter:none}
:root[data-style=sketch] .card-surface::before{content:'';position:absolute;z-index:2;top:-7px;left:50%;width:86px;height:23px;transform:translateX(-50%) rotate(-2.2deg);background:color-mix(in srgb,var(--accent-key-2) 34%,color-mix(in srgb,var(--surface) 72%,transparent));border-inline:1px dashed color-mix(in srgb,var(--ink) 28%,transparent);pointer-events:none}
:root[data-style=sketch][data-font-kind=hand] .card-category{font-family:var(--font-display);font-size:17px}
:root[data-style=sketch] .card-media{border-bottom:var(--pen)}
:root[data-style=sketch] .tag{border:1.5px solid var(--ink);background:var(--tint-strong);color:var(--ink)}
:root[data-style=sketch] .tag:nth-child(odd){transform:rotate(-1.6deg)}
:root[data-style=sketch] .tag:nth-child(even){transform:rotate(1.2deg)}
:root[data-style=sketch] .read-more .read-icon{border:1.5px solid var(--ink);background:transparent}
:root[data-style=sketch] .detail-takeaway{border:1.5px dashed var(--ink)}
:root[data-style=sketch] :is(.filter-popover,.design-panel,.info-dialog,.community-dialog,.share-dialog,.audio-dock,.card-metadata-tooltip,.toast){border:var(--pen);box-shadow:5px 6px 0 color-mix(in srgb,var(--ink) 22%,transparent)}
:root[data-style=sketch] .newsletter-invitation{border:var(--pen);background:var(--tint-strong);box-shadow:var(--shadow)}
:root[data-style=sketch] .app-footer{border-top:var(--pencil)}
:root[data-style=sketch] .switch-track{border:2px solid var(--ink)}

/* ---------- 10. Blaupause (blueprint): technical drawing — linework, registration marks, dimension lines ---------- */
:root[data-style=blueprint] body{--radius:0px;--r-ctl:0px;--r-chip:0px;--r-pill:0px;--r-pop:0px;--r-round:0px;--draw:color-mix(in srgb,var(--ink) 62%,transparent);--draw-soft:color-mix(in srgb,var(--ink) 30%,transparent);--card-line:var(--draw);--shadow:none;--shadow-hover:0 0 0 4px color-mix(in srgb,var(--ink) 12%,transparent)}
:root[data-style=blueprint] .app-header{background:color-mix(in srgb,var(--bg) 90%,transparent);border-bottom:1px solid var(--draw)}
:root[data-style=blueprint] .wordmark{text-transform:uppercase;letter-spacing:.04em}
:root[data-style=blueprint] .wordmark-light{font-family:inherit;font-weight:500}
:root[data-style=blueprint] :is(.nav-button,.filter-button,.edition-switch,.category-chip,.compose-button,.eyebrow,.card-category,.column-guide-label,.primary-button,.tag,.read-more),:root[data-style=blueprint] .results-heading h2{text-transform:uppercase;letter-spacing:.09em}
:root[data-style=blueprint] .nav-button.active:after{height:1px;border-radius:0;background:var(--ink);box-shadow:0 3px 0 var(--ink)}
:root[data-style=blueprint] :is(.language-toggle,.design-toggle,.search-box,.filter-button,.edition-switch,.compose-button,.layout-switch),:root[data-style=blueprint] .header-actions .icon-button{border-color:var(--draw);background:color-mix(in srgb,var(--surface) 35%,transparent)}
:root[data-style=blueprint] h1{text-transform:uppercase;line-height:1.02}
:root[data-style=blueprint] h1>span{background:none;color:transparent;-webkit-text-stroke:1.5px var(--ink)}
:root[data-style=blueprint] h1>span:after{height:9px;bottom:-13px;background:linear-gradient(var(--ink),var(--ink)) center/100% 1px no-repeat;border-inline:1px solid var(--ink);transform:none}
:root[data-style=blueprint] .issue-date{border:1px solid var(--draw);padding:10px 14px;outline:1px solid var(--draw-soft);outline-offset:3px}
:root[data-style=blueprint] .control-deck{background:color-mix(in srgb,var(--bg) 88%,transparent);border-color:var(--draw)}
:root[data-style=blueprint] .category-chip{border:1px solid transparent}
:root[data-style=blueprint] .category-chip:hover{border-color:var(--draw);background:transparent}
:root[data-style=blueprint] .category-chip.active{background:var(--ink);color:var(--bg)}
:root[data-style=blueprint] .section-marker{width:11px;height:11px;border-radius:50%;background:none;border:1px solid var(--ink)}
:root[data-style=blueprint] .column-guide>span{border:1px solid var(--draw);background:transparent}
:root[data-style=blueprint] .news-card .card-surface{background:color-mix(in srgb,var(--surface) calc(var(--card-opacity,1)*38%),transparent);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
:root[data-style=blueprint] .news-card.spotlight .card-surface{background:color-mix(in srgb,var(--tint-strong) calc(var(--card-opacity,1)*45%),transparent)}
:root[data-style=blueprint] .news-card::before,:root[data-style=blueprint] .news-card::after{content:'';position:absolute;z-index:2;width:13px;height:13px;pointer-events:none}
:root[data-style=blueprint] .news-card::before{top:-5px;left:-5px;border-top:2px solid var(--accent-key);border-left:2px solid var(--accent-key)}
:root[data-style=blueprint] .news-card::after{right:-5px;bottom:-5px;border-right:2px solid var(--accent-key);border-bottom:2px solid var(--accent-key)}
:root[data-style=blueprint] .card-media{border-bottom:1px solid var(--draw)}
:root[data-style=blueprint] .card-media img{filter:saturate(.75)}
:root[data-style=blueprint] .news-card:is(:hover,.expanded,:focus-within) .card-media img{filter:none}
:root[data-style=blueprint] .tag{background:transparent;border:1px dashed var(--draw);font-size:8px}
:root[data-style=blueprint] .read-more .read-icon{background:transparent;border:1px solid var(--draw);border-radius:50%}
:root[data-style=blueprint] .detail-takeaway{background:transparent;border:1px dashed var(--draw)}
:root[data-style=blueprint] .primary-button{border:1px solid var(--ink);outline:1px solid var(--draw-soft);outline-offset:3px}
:root[data-style=blueprint] :is(.filter-popover,.design-panel,.info-dialog,.community-dialog,.share-dialog,.audio-dock,.card-metadata-tooltip){border-color:var(--draw);outline:1px solid var(--draw-soft);outline-offset:4px;box-shadow:0 30px 60px -30px #000a}
:root[data-style=blueprint] .newsletter-invitation{background:transparent;border:1px solid var(--draw);outline:1px solid var(--draw-soft);outline-offset:5px}
:root[data-style=blueprint] .app-footer{border-top:1px solid var(--draw)}
@media(prefers-reduced-transparency:reduce){
  :root[data-style=blueprint] .news-card .card-surface{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none}
  :root[data-style=blueprint] .news-card.spotlight .card-surface{background:var(--tint)}
}

/* ---------- 11. Terminal: prompt characters, dashed rules and a block cursor ---------- */
:root[data-style=terminal] body{--radius:0px;--r-ctl:0px;--r-chip:0px;--r-pill:0px;--r-pop:0px;--r-round:0px;--crt:color-mix(in srgb,var(--accent-key) 50%,var(--line));--card-line:var(--crt);--shadow:none;--shadow-hover:0 0 26px -6px var(--accent-key)}
:root[data-style=terminal] .app-header{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:1px dashed var(--crt)}
:root[data-style=terminal] .wordmark-light{font-family:inherit;font-weight:inherit}
:root[data-style=terminal] .wordmark>span::before{content:'~/';color:var(--accent-text);font-weight:400}
:root[data-style=terminal] .nav-button{text-transform:lowercase;font-weight:500}
:root[data-style=terminal] .nav-button::before{content:'./';margin-right:-8px;color:var(--muted)}
:root[data-style=terminal] .nav-button.active{color:var(--accent-text)}
:root[data-style=terminal] .nav-button.active:after{display:none}
:root[data-style=terminal] :is(.language-toggle,.design-toggle,.search-box,.filter-button,.edition-switch,.compose-button,.layout-switch),:root[data-style=terminal] .header-actions .icon-button{border-color:var(--crt);background:transparent}
:root[data-style=terminal] :is(.filter-button,.edition-switch,.language-toggle,.design-toggle,.compose-button):hover{border-color:var(--accent-text);color:var(--accent-text);background:transparent;box-shadow:0 0 14px -4px var(--accent-key)}
:root[data-style=terminal] .eyebrow{text-transform:lowercase;letter-spacing:0;font-size:11px}
:root[data-style=terminal] .eyebrow::before{content:'#';color:var(--accent-text)}
:root[data-style=terminal] .status-dot{display:none}
:root[data-style=terminal] h1::before{content:'$ ';color:var(--muted);font-weight:400}
:root[data-style=terminal] h1>span{background:none;color:var(--accent-text)}
:root[data-style=terminal] h1>span:after{position:static;display:inline-block;width:.5em;height:.95em;margin-left:.12em;vertical-align:-.1em;background:var(--accent-key);transform:none;animation:terminal-cursor 1.1s steps(1) infinite}
@keyframes terminal-cursor{50%{opacity:0}}
@media(prefers-reduced-motion:reduce){:root[data-style=terminal] h1>span:after{animation:none}}
:root[data-style=terminal] .issue-date{border-left:1px dashed var(--crt)}
:root[data-style=terminal] .control-deck{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;border-top:1px dashed var(--crt);border-bottom:1px dashed var(--crt)}
:root[data-style=terminal] .category-chip{border:1px dashed transparent;text-transform:lowercase}
:root[data-style=terminal] .category-chip:hover{background:transparent;border-color:var(--crt)}
:root[data-style=terminal] .category-chip.active{background:var(--accent-text);color:var(--bg)}
:root[data-style=terminal] .results-heading h2::before{content:'> ';color:var(--accent-text)}
:root[data-style=terminal] .section-marker{display:none}
:root[data-style=terminal] .column-guide>span{border:1px dashed var(--crt);background:transparent}
:root[data-style=terminal] .news-card .card-surface{-webkit-backdrop-filter:none;backdrop-filter:none}
:root[data-style=terminal] .card-title::before{content:'> ';color:var(--accent-text)}
:root[data-style=terminal] .card-category>span::before{content:'['}
:root[data-style=terminal] .card-category>span::after{content:']'}
:root[data-style=terminal] .card-media{border-bottom:1px dashed var(--crt)}
:root[data-style=terminal] .card-media img{filter:saturate(.55) contrast(1.08)}
:root[data-style=terminal] .news-card:is(:hover,.expanded,:focus-within) .card-media img{filter:none}
:root[data-style=terminal] .tag{background:transparent;border:1px solid var(--crt);color:var(--accent-text)}
:root[data-style=terminal] .tag::before{content:'#'}
:root[data-style=terminal] .read-more .read-icon{background:transparent;border:1px solid var(--crt)}
:root[data-style=terminal] .detail-takeaway{background:transparent;border-left:2px solid var(--accent-text)}
:root[data-style=terminal] .primary-button{background:transparent;color:var(--accent-text);border:1px solid var(--accent-text);text-transform:uppercase}
:root[data-style=terminal] .primary-button:hover{background:var(--accent-text);color:var(--bg);filter:none;box-shadow:0 0 22px -4px var(--accent-key)}
:root[data-style=terminal] .design-tabs button[aria-pressed=true]{background:var(--accent-text);color:var(--bg)}
:root[data-style=terminal] :is(.filter-popover,.design-panel,.info-dialog,.community-dialog,.share-dialog,.audio-dock,.card-metadata-tooltip){border-color:var(--accent-text);box-shadow:0 0 0 1px color-mix(in srgb,var(--accent-key) 25%,transparent),0 0 40px -10px var(--accent-key)}
:root[data-style=terminal] .newsletter-invitation{background:transparent;border:1px dashed var(--crt)}
:root[data-style=terminal] .app-footer{border-top:1px dashed var(--crt)}
:root[data-style=terminal] :is(.switch-track,.switch-track:after){border-radius:0}
:root[data-style=terminal][data-theme=dark] :is(h1,.card-title,.wordmark){text-shadow:0 0 14px color-mix(in srgb,var(--accent-key) 38%,transparent)}

/* ---------- 12. Synthwave: neon outlines, chrome headline and glow ---------- */
:root[data-style=synthwave] body{--radius:6px;--r-ctl:4px;--r-chip:4px;--r-pill:4px;--r-pop:8px;--neon:color-mix(in srgb,var(--accent-key-2) 55%,transparent);--neon-soft:color-mix(in srgb,var(--accent-key) 45%,transparent);--card-line:var(--neon);--shadow:0 0 30px -10px var(--accent-key-2);--shadow-hover:0 0 44px -8px var(--accent-key-2),0 0 80px -30px var(--accent-key)}
:root[data-style=synthwave] .app-header{background:color-mix(in srgb,var(--bg) 82%,transparent);border-bottom:1px solid var(--neon-soft);box-shadow:0 0 28px -8px var(--accent-key)}
:root[data-style=synthwave] .wordmark{text-transform:uppercase;letter-spacing:.04em;text-shadow:0 0 12px var(--neon-soft)}
:root[data-style=synthwave] .wordmark-light{font-family:inherit;font-weight:inherit}
:root[data-style=synthwave] :is(.nav-button,.filter-button,.edition-switch,.category-chip,.compose-button,.eyebrow,.card-category,.primary-button,.tag),:root[data-style=synthwave] .results-heading h2{text-transform:uppercase;letter-spacing:.1em}
:root[data-style=synthwave] .nav-button{font-size:12px}
:root[data-style=synthwave] .nav-button.active{text-shadow:0 0 10px var(--accent-key)}
:root[data-style=synthwave] .nav-button.active:after{border-radius:0;background:linear-gradient(90deg,var(--accent-key),var(--accent-key-2));box-shadow:0 0 12px var(--accent-key)}
:root[data-style=synthwave] :is(.language-toggle,.design-toggle,.search-box,.filter-button,.edition-switch,.compose-button,.layout-switch),:root[data-style=synthwave] .header-actions .icon-button{border-color:var(--neon);background:color-mix(in srgb,var(--surface) 55%,transparent)}
:root[data-style=synthwave] :is(.filter-button,.edition-switch,.language-toggle,.design-toggle,.compose-button):hover{border-color:var(--accent-key-2);background:color-mix(in srgb,var(--surface) 70%,transparent);box-shadow:0 0 18px -4px var(--accent-key-2)}
:root[data-style=synthwave] h1{text-transform:uppercase;background:linear-gradient(180deg,var(--ink) 0%,var(--ink) 38%,var(--accent-secondary) 52%,var(--accent-text) 66%,var(--ink) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 16px var(--neon-soft))}
:root[data-style=synthwave] h1>span{background:none;color:var(--accent-text);-webkit-text-fill-color:var(--accent-text);text-shadow:0 0 10px var(--accent-key),0 0 34px var(--accent-key)}
:root[data-style=synthwave] h1>span:after{display:none}
:root[data-style=synthwave] .issue-date{border-left:1px solid var(--neon-soft)}
:root[data-style=synthwave] .control-deck{background:color-mix(in srgb,var(--bg) 78%,transparent);border-color:var(--neon-soft)}
:root[data-style=synthwave] .category-chip.active{box-shadow:0 0 20px -4px var(--accent-key)}
:root[data-style=synthwave] .section-marker{transform:rotate(45deg);box-shadow:0 0 10px var(--accent-key)}
:root[data-style=synthwave] .column-guide>span{border-color:var(--neon);background:color-mix(in srgb,var(--surface) 55%,transparent)}
:root[data-style=synthwave] .news-card .card-surface{background:color-mix(in srgb,var(--surface) calc(var(--card-opacity,1)*74%),transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
:root[data-style=synthwave] .news-card[data-seen=true]>.card-surface{box-shadow:none}
:root[data-style=synthwave] .card-media{border-bottom:1px solid var(--neon-soft)}
:root[data-style=synthwave] .card-media img{filter:saturate(1.2) contrast(1.05)}
:root[data-style=synthwave] .tag{background:transparent;border:1px solid var(--neon-soft);color:var(--accent-text);font-size:8px}
:root[data-style=synthwave] .read-more .read-icon{background:transparent;border:1px solid var(--neon)}
:root[data-style=synthwave] .primary-button{box-shadow:0 0 24px -4px var(--accent-key)}
:root[data-style=synthwave] :is(.filter-popover,.design-panel,.info-dialog,.community-dialog,.share-dialog,.audio-dock,.card-metadata-tooltip){border-color:var(--neon-soft);box-shadow:0 0 0 1px color-mix(in srgb,var(--accent-key) 20%,transparent),0 0 50px -12px var(--accent-key),0 30px 70px -30px #000}
:root[data-style=synthwave] .newsletter-invitation{border-color:var(--neon-soft);box-shadow:var(--shadow)}
:root[data-style=synthwave] .app-footer{border-top-color:var(--neon-soft)}
:root[data-style=synthwave][data-theme=dark] .card-title{text-shadow:0 0 18px color-mix(in srgb,var(--accent-key) 30%,transparent)}
@media(prefers-reduced-transparency:reduce){:root[data-style=synthwave] .news-card .card-surface{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none}}

/* ---------- 13. Shared corrections ---------- */
/* Capitalised, letter-spaced filter labels must not squeeze the search field. */
:root:is([data-style=brutal],[data-style=blueprint],[data-style=synthwave],[data-style=press]) .filter-button{padding-inline:10px;letter-spacing:.04em}
:root:is([data-style=brutal],[data-style=blueprint],[data-style=synthwave]) .filter-button{font-size:11px}
:root:is([data-style=brutal],[data-style=blueprint],[data-style=synthwave],[data-style=terminal]) .filter-actions{gap:7px}
@media(max-width:760px){
  :root:is([data-style=brutal],[data-style=comic]) .nav-button{padding:4px 7px;font-size:11px}
  :root:is([data-style=brutal],[data-style=comic],[data-style=blueprint],[data-style=synthwave],[data-style=magazine]) .main-nav{gap:5px;justify-content:space-between}
  :root:is([data-style=blueprint],[data-style=synthwave],[data-style=magazine]) .nav-button{font-size:10px;letter-spacing:.04em}
  :root:is([data-style=brutal],[data-style=blueprint],[data-style=synthwave],[data-style=press]) .filter-button{font-size:10px;letter-spacing:0;padding-inline:7px}
  :root[data-style=magazine] .intro{padding:40px 0 34px}
  :root[data-style=magazine] .card-content{padding:24px 22px 20px}
  :root[data-style=terminal] .nav-button::before{content:none}
}

/* ---------- 14. Glowing frames (reader 0.14.5) ---------- */
/* A frame that glows is the card's own frame lit up: same colour, same width, same dashing. No ring is laid over it (the shadows of Terminal and Synthwave have none any more),
   and the glow takes the colour of the frame: --frame-glow is set by the spoken-edition and game frames, otherwise the style's own colour. The width and the dashing of a frame
   belong to reader.css; it also sets --halo:none on a dashed frame, which is an SVG in the article. That frame glows along its dashes (drop-shadow) and has no rectangular halo. */
.news-card[data-speech=ready]{--frame-glow:var(--speech-frame)}
.news-card[data-game=ready]{--frame-glow:var(--game-glow)}
:root[data-style=terminal] .news-card:not(.wide):hover>.card-surface,:root[data-style=terminal] .news-card[data-seen=true].expanded:not(.wide)>.card-surface{box-shadow:var(--halo,0 0 26px -6px var(--frame-glow,var(--accent-key)))}
:root[data-style=synthwave] .news-card:not([data-seen=true]):not(.wide)>.card-surface{box-shadow:var(--halo,0 0 30px -10px var(--frame-glow,var(--accent-key-2)))}
:root[data-style=synthwave] .news-card:not([data-seen=true]):not(.wide):hover>.card-surface,:root[data-style=synthwave] .news-card:not([data-seen=true]):not(.wide):focus-within>.card-surface{box-shadow:var(--halo,0 0 44px -8px var(--frame-glow,var(--accent-key-2)),0 0 80px -30px var(--accent-key))}
:root[data-style=terminal] .news-card:hover>.card-outline{filter:drop-shadow(0 0 4px var(--frame-glow,var(--accent-key)))}
:root[data-style=synthwave] .news-card:not([data-seen=true])>.card-outline{filter:drop-shadow(0 0 6px var(--frame-glow,var(--accent-key-2)))}
@media(forced-colors:active){:root:is([data-style=terminal],[data-style=synthwave]) .news-card>.card-outline{filter:none}}
