/* Production news desk, adapted to the theme component containers. */
.af-scope {
  --af-surface: var(--main-bg-color, #fff);
  --af-soft: var(--muted-bg-color, #f4f4f5);
  --af-text: var(--main-color, #24262b);
  --af-secondary: var(--muted-color, #62666f);
  --af-muted: var(--muted-2-color, #767b84);
  --af-accent: var(--focus-color, #d95d24);
  --af-line: var(--main-border-color, rgba(127,127,127,.16));
  --af-radius: var(--main-radius, 8px);
  color: var(--af-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  text-align: left;
  min-width: 0;
}
.af-scope *, .af-scope *::before, .af-scope *::after { box-sizing: border-box; }
.af-scope [hidden] { display: none !important; }
.af-scope a { color: inherit; text-decoration: none; }
.af-scope a:hover { color: var(--af-accent); }
.af-scope :focus-visible { outline: 2px solid var(--af-accent); outline-offset: 3px; }
.af-scope button, .af-scope input, .af-scope select { font: inherit; }
.af-scope button { cursor: pointer; }
.af-scope button:disabled { cursor: wait; opacity: .6; }
.af-scope h1, .af-scope h2, .af-scope h3 { color: var(--af-text); line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.af-scope img { max-width: 100%; }
.af-muted, .af-summary { color: var(--af-secondary); }
.af-scope .fa { width: 1em; text-align: center; flex-shrink: 0; }
.af-component { min-width: 0; background: var(--bg-color-white,var(--main-bg-color,#fff)); border: 1px solid var(--main-border-color,rgba(50,50,50,.06)); border-radius: var(--main-radius,14px); }
.af-component-mast { border: 0; border-radius: 18px; }
.dark-theme .af-component { background: var(--bg-color-dark,var(--main-bg-color,#1b1b20)); }
.af-component > .box-body.notop { padding: 16px 16px 10px; }
.af-component-popular > .box-body .title-theme, .af-component-brief > .box-body .title-theme, .af-component-categories > .box-body .title-theme { padding: 0; margin: 0; border: 0; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.af-component-brief > .box-body.notop { padding: 16px 20px 12px; }
.af-component-brief > .box-body .title-theme { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.af-component-brief > .widget-content { padding: 0 20px 16px; }
.af-component-events > .box-body .title-theme { padding: 0; margin: 0; border: 0; font-size: 16px; font-weight: 600; }
.af-component-events > .box-body .pull-right { font-size: 11px; font-weight: 400; }
.af-component > .box-body .title-theme::before { display: none; }
.sidebar .af-component > .widget-content { padding: 0 16px 16px; }
.sidebar .af-component > .widget-content:first-child { padding-top: 16px; }
body.astral-flash-v2 .sidebar .widget_custom_html { padding: 16px; border-radius: var(--main-radius,12px); background: var(--main-bg-color,#fff); }
body.astral-flash-v2 .sidebar .widget_custom_html h3 { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
body.astral-flash-v2 .sidebar .widget_custom_html p { font-size: 11px; line-height: 1.6; margin: 0; }
.af-v2-mast-inner { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; position: relative; overflow: hidden; padding: 0 24px; border: 1px solid var(--main-border-color,rgba(0,0,0,.06)); border-radius: 18px; line-height: 20px; }
.af-v2-mast-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--af-line); }
.af-v2-brand { font-size: 20px; line-height: 1.428571; font-weight: 800; letter-spacing: -.03em; color: var(--af-secondary); }
.af-v2-brand b { color: var(--af-accent); }
.af-v2-live { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .1em; }
.af-v2-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--af-accent); }
.af-v2-mast-main { position: relative; z-index: 1; max-width: 640px; padding: 8px 0 6px; }
.af-scope .af-v2-mast-main h1 { font-size: 36px; line-height: 1.05; letter-spacing: -.04em; margin: 0 0 8px; font-weight: 700; }
.af-v2-mast-main p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--af-secondary); }
.af-v2-art { position: absolute; inset: 0; pointer-events: none; }
.af-v2-art .dots { position: absolute; right: 0; top: 0; width: 50%; height: 100%; background-image: radial-gradient(circle,color-mix(in srgb,var(--af-accent) 22%,transparent) 1px,transparent 1px); background-size: 14px 14px; mask-image: linear-gradient(90deg,transparent,#000 35%); }
.af-v2-art b { position: absolute; right: 16px; bottom: 2px; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb,var(--af-accent) 16%,transparent); font-size: 56px; line-height: 1; letter-spacing: -.06em; font-weight: 800; }
.af-v2-art .ring { position: absolute; border: 1px solid color-mix(in srgb,var(--af-accent) 13%,transparent); border-radius: 50%; }
.af-v2-art .r1 { width: 240px; height: 240px; right: 90px; top: -110px; }
.af-v2-art .r2 { width: 360px; height: 360px; right: 30px; top: -170px; }
.af-component-more { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; margin-top: 12px; border-top: 1px solid var(--af-line); color: var(--af-secondary) !important; font-size: 13px; }
.af-component-more:hover { color: var(--af-accent) !important; }
.af-panel { background: var(--af-surface); border: 1px solid var(--af-line); border-radius: var(--af-radius); }
.af-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.af-section-heading h2 { font-size: 20px; margin: 0; }
.af-section-heading > a { color: var(--af-secondary); font-size: 13px; flex-shrink: 0; }
.af-button, .af-button-secondary, .af-scope button[type="submit"] { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--af-line); border-radius: 6px; background: var(--af-soft); color: var(--af-text); line-height: 1.4; font-weight: 500; font-size: 13px; }
.af-button:hover, .af-button-secondary:hover { border-color: var(--af-accent); color: var(--af-accent); }
.af-button-primary, .af-scope button[type="submit"] { background: var(--af-text); border-color: var(--af-text); color: var(--af-surface); }
.af-scope .af-reset, .af-scope .af-filter-reset { display: inline-flex; min-height: 40px; align-items: center; color: var(--af-secondary); font-size: 13px; }
.af-wire { container-type: inline-size; padding: 0 17px; border-radius: 18px; }
.af-filters { margin: 0 0 24px; padding: 0 0 20px; border-bottom: 1px solid var(--af-line); }
.af-wire-filters { margin: 0 0 0 -8px; padding: 8px 0 8px; min-height: 57px; border: 0; }
.af-wire-controls, .af-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.af-wire-controls label, .af-filters label { margin: 0; font-weight: 400; min-width: 0; }
.af-wire-controls label > span:first-child:not(.fa), .af-filters label > span:not(.fa):not(.screen-reader-text) { display: block; font-size: 12px; color: var(--af-secondary); margin-bottom: 4px; }
.af-search, .af-wire-search, .af-v2-search { display: flex; align-items: center; gap: 8px; flex: 1 1 200px; min-width: 0; min-height: 34px; padding: 0 12px; border: 1px solid var(--af-line); border-radius: 6px; background: transparent; color: var(--af-secondary); }
.af-search input, .af-wire-search input, .af-v2-search input { width: 100%; min-width: 0; height: 32px; padding: 6px 0; font-size: 13px; border: 0; background: transparent; box-shadow: none; outline: 0; color: var(--af-text); }
.af-wire-filters select, .af-wire-filters input[type="date"], .af-filters select, .af-filters input[type="date"], .af-filters input[type="search"] { max-width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--af-line); border-radius: 6px; background: var(--af-soft); color: var(--af-text); box-shadow: none; font-size: 13px; }
.af-wire-filters select { max-width: 180px; height: 34px; min-height: 34px; padding: 0 8px; background: transparent; font-size: 11.5px; }
.af-wire-filters select[name="af_category"] { width: 92px; }
.af-wire-filters select[name="af_date"] { width: 82px; }
.af-wire-filters select[name="af_zone"] { width: 98px; }
.af-wire-filters.af-js-enabled .af-button[type="submit"], .af-wire-filters.af-js-enabled .af-filter-reset { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.af-wire-filters.af-js-enabled .af-button[type="submit"]:focus-visible, .af-wire-filters.af-js-enabled .af-filter-reset:focus-visible { position: static; width: auto; height: 34px; margin: 0; padding: 4px 8px; clip-path: none; }
.af-wire-important, .af-v2-important, .af-checkbox { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; white-space: nowrap; color: var(--af-secondary); font-size: 13px; }
.af-wire-important input, .af-v2-important input, .af-checkbox input { margin: 0; accent-color: var(--af-accent); width: 16px; height: 16px; }
.af-wire-important { min-height: 34px; gap: 5px; font-size: 10.5px; font-weight: 600 !important; }
.af-wire-important input { width: 12px; height: 12px; }
.af-date-range, .af-wire-date-range { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.af-wire-date-range label { font-size: 12px; color: var(--af-secondary); font-weight: 400; }
.af-wire-summary { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.af-mobile-filter-toggle { display: none; }
.af-wire-filter-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--af-secondary); font-size: 12px; margin-top: 12px; }
.af-scope .af-wire-day { line-height: 1.65; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0 7px; margin: 0; border-bottom: 1px solid var(--af-line); font-size: 13px; }
.af-wire-day > time { font-weight: 700; }
.af-wire-day > span { font-size: 11.5px; font-weight: 400; color: var(--af-secondary); text-align: right; }
.af-wire-day:not(:first-child) { margin-top: 20px; }
.af-wire-item { position: relative; display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--af-line); }
.af-wire-item:has(> .af-wire-actions) { grid-template-columns: 56px minmax(0,1fr); }
.af-wire-item.af-without-time { grid-template-columns: minmax(0,1fr); }
.af-wire-item.af-without-time:has(> .af-wire-actions) { grid-template-columns: minmax(0,1fr); }
.af-wire-item > .af-wire-actions { position: absolute; top: 18px; right: 0; padding: 0; z-index: 3; }
.af-wire-item:last-child { border-bottom: 0; }
.af-wire-time { padding-top: 3px; color: var(--af-secondary); font: 11.5px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.af-wire-body { min-width: 0; }
.af-wire-meta { line-height: 1.65; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 22.1484px; padding-right: 34px; margin-bottom: 0; font-size: 11px; color: var(--af-secondary); }
.af-scope .af-category { color: var(--af-accent); background: color-mix(in srgb,var(--af-accent) 8%,transparent); border-radius: 4px; padding: 2px 6px; font-size: 11px; font-weight: 600; }
.af-wire-views { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 999px; background: color-mix(in srgb,var(--af-accent) 10%,var(--af-surface)); color: var(--af-accent); font-size: 10px; font-weight: 600; line-height: 1.5; }
.af-scope.af-wire .af-wire-item h3, .af-scope.af-wire .af-wire-item h2 { font-family: var(--serif,Georgia,"Times New Roman",serif); font-size: 21px; line-height: 1.3; letter-spacing: -.012em; margin: 7px 0; font-weight: 600; }
.af-wire-item h3 a, .af-wire-item h2 a { text-decoration: none; }
.af-wire-text { max-width: 70ch; font-size: 13.5px; line-height: 1.62; margin-bottom: 9px; color: var(--af-secondary); overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--af-brief-lines,3); overflow: hidden; }
.af-scope.af-wire .af-wire-text p { margin: 0; }
.af-wire-full { font-size: 15px; line-height: 1.85; margin: 16px 0; overflow-wrap: anywhere; }
.af-wire-full p { margin: 0 0 16px; }
.af-wire-full img { height: auto; border-radius: 6px; }
.af-wire-full a { color: var(--af-accent); text-decoration: underline; text-underline-offset: 3px; }
.af-wire-full iframe { max-width: 100%; }
.af-wire-full pre { overflow: auto; }
.af-wire-expand { margin-top: 8px; padding: 4px 0; background: transparent; border: 0; font-size: 12px !important; color: var(--af-accent); min-height: 32px; }
.af-wire-source { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 9px; font-size: 11px; color: var(--af-secondary); }
.af-wire-source a { color: var(--af-secondary); }
.af-wire-source .af-event-link { color: var(--af-accent); }
.af-event-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.af-wire-metrics { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.af-wire-thumb, .af-v2-thumb { display: block; float: right; width: 128px; margin: 0 0 12px 20px; }
.af-wire-thumb img, .af-v2-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.af-wire-item.af-media-wide .af-wire-thumb { float: none; width: 100%; margin: 0 0 16px; }
.af-wire-item.af-media-wide .af-wire-thumb img { aspect-ratio: 16/9; max-height: 360px; }
.af-wire-body::after { display: table; clear: both; content: ''; }
.af-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 4px; background: var(--af-soft); color: var(--af-secondary); font-size: 11px; font-weight: 500; }
.af-important { color: var(--af-accent); border-left: 2px solid currentColor; border-radius: 0; background: transparent; padding-left: 6px; }
.af-status-developing { color: var(--af-accent); background: color-mix(in srgb,var(--af-accent) 10%, transparent); }
.af-status-watching { color: var(--af-secondary); border: 1px solid var(--af-line); }
.af-status-closed { color: var(--af-secondary); }
.af-wire-actions { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; clear: both; padding-top: 16px; font-size: 12px; color: var(--af-secondary); }
.af-wire-actions > button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 0; border: 0; background: transparent; color: var(--af-secondary); font-size: 12px; }
.af-wire-actions > a, .af-native-favorite, .af-native-share { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: 12px; }
.af-wire-actions .icon, .af-preview-native-actions .icon { width: 14px; height: 14px; }
.af-wire-actions count:empty, .af-preview-native-actions count:empty { display: none; }
.af-native-favorite.actived { color: var(--af-accent); }
.af-wire-actions .af-expand-story { color: var(--af-accent); }
.af-story-permalink { margin-left: auto; }
.af-wire-actions .pr-act-btn { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; min-width: 28px; min-height: 28px; padding: 0; background: transparent; border: 1px solid #e7e3ea; color: var(--muted-3-color,#b1b1b1); border-radius: 7px; font-size: 16px !important; line-height: 1; }
.pr-act-btn:hover, .pr-act-btn[aria-expanded="true"] { background: var(--af-soft); border-color: var(--af-line); }
.pr-act-panel { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 180px; padding: 4px; border: 1px solid var(--af-line); border-radius: 6px; background: var(--af-surface); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.pr-act-panel > button, .pr-act-panel > a { width: 100%; display: block; text-align: left; padding: 7px 9px; border: 0; border-radius: 6px; background: transparent; color: var(--af-secondary); font-size: 11px; line-height: 1.4; }
.pr-act-panel > button:hover, .pr-act-panel > a:hover { background: var(--af-soft); }
.af-new-updates { width: 100%; margin: 0 0 16px; border-color: color-mix(in srgb,var(--af-accent) 30%, var(--af-line)); color: var(--af-accent); background: color-mix(in srgb,var(--af-accent) 6%, var(--af-surface)); }
.af-wire-loader { padding-bottom: 16px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; }
.af-feed-status { display: block; width: 100%; text-align: center; color: var(--af-secondary); font-size: 13px; }
.af-wire[aria-busy="true"] .af-wire-items { opacity: .5; transition: opacity .16s ease; }
.af-wire-item.is-new { animation: af-highlight 1.2s ease-out; }
.af-density-compact .af-wire-item { padding: 16px 0; gap: 16px; }
.af-scope.af-density-compact .af-wire-item h3, .af-scope.af-density-compact .af-wire-item h2 { font-size: 18px; margin-bottom: 8px; }
.af-density-compact .af-wire-text { font-size: 13px; }
.af-hide-source .af-wire-source > span:first-child, .af-hide-time .af-wire-time, .af-hide-views .af-wire-metrics, .af-hide-actions .af-wire-actions, .af-hide-event .af-event-link, .af-hide-categories .af-wire-meta > .af-category, .af-hide-summary .af-wire-text { display: none; }
.af-hide-time .af-wire-item { grid-template-columns: minmax(0,1fr); }
/* Compact lists and topic navigation share the same editorial rhythm. */
.af-brief ol.af-brief-list { padding: 0; margin: 0; list-style: none; }
.af-brief-list > li { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--af-line); }
.af-brief-list > li:first-child { padding-top: 0; }
.af-brief-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.af-rank { width: 20px; padding-top: 2px; color: var(--af-muted); font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; flex-shrink: 0; }
.af-brief-body { min-width: 0; }
.af-brief-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; transition: color .18s ease; }
.af-brief-body p { margin: 6px 0 0; font-size: 12.6px; line-height: 1.6; color: var(--af-secondary); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.af-brief-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--af-secondary); font-size: 11px; margin-top: 8px; }
.af-density-compact .af-brief-list > li { padding: 8px 0; }
.af-density-compact .af-brief-meta { font-size: 11px; margin-top: 8px; color: var(--af-secondary); font-variant-numeric: tabular-nums; }
.af-brief .af-card-meta { margin-bottom: 6px; }
.af-brief .af-category { font-size: 11px; line-height: 1.5; padding: 2px 6px; }
.af-brief-columns-2.af-brief-list > ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 28px; }
.af-brief-columns-2.af-brief-list > ol > li { padding: 12px 0; min-width: 0; }
.af-brief-columns-2.af-brief-list > ol > li:nth-child(-n+2) { padding-top: 0; }
.af-brief-columns-2.af-brief-list > ol > li:last-child { padding-bottom: 12px; }
.af-brief > .af-component-more { margin-top: 12px; padding-top: 12px; font-size: 12px; }
.sidebar .af-brief-columns-2.af-brief-list > ol { grid-template-columns: minmax(0,1fr); }
.sidebar .af-brief-columns-2.af-brief-list > ol > li:nth-child(2) { padding-top: 12px; }
@media (max-width:767px) {
  .af-component-brief > .box-body.notop { padding: 16px 16px 12px; }
  .af-component-brief > .widget-content { padding: 0 16px 16px; }
  .af-brief-columns-2.af-brief-list > ol { grid-template-columns: minmax(0,1fr); }
  .af-brief-columns-2.af-brief-list > ol > li:nth-child(2) { padding-top: 12px; }
}
.af-brief-ticker .af-brief-list { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 24px; padding: 4px 0 12px; }
.af-brief-ticker .af-brief-list > li { min-width: 260px; max-width: 320px; flex: 1 0 260px; padding: 0 24px 0 0; border: 0; border-right: 1px solid var(--af-line); scroll-snap-align: start; }
.af-category-nav { display: flex; gap: 0; }
.af-nav-list { flex-direction: column; }
.af-category-nav > a { display: flex; align-items: center; gap: 12px; min-height: 28px; padding: 6px 0; border-radius: 4px; font-size: 11px; }
.af-category-nav > a > span { flex: 1; }
.af-category-nav small { font-size: 12px; color: var(--af-secondary); font-variant-numeric: tabular-nums; }
.af-category-nav > a:hover { background: var(--af-soft); }
.af-category-nav > a[aria-current] { color: var(--af-accent); background: color-mix(in srgb,var(--af-accent) 8%, transparent); }
.af-category-nav > a.af-child-topic { padding-left: 32px; }
.af-nav-chips { flex-wrap: wrap; gap: 8px; }
.af-nav-chips > a { border: 1px solid var(--af-line); }
/* Event coverage is composed from independently editable theme widgets. */
.af-event-library { container-type: inline-size; }
.af-component-events:has(.af-event-library) { border: 0; background: transparent; }
.dark-theme .af-component-events:has(.af-event-library) { background: transparent; }
.af-library-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding: 24px 0 32px; margin-bottom: 28px; border-bottom: 1px solid var(--af-line); }
.af-library-intro { max-width: 680px; }
.af-scope .af-library-heading h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px,4.6vw,54px); font-weight: 500; letter-spacing: -.045em; line-height: 1.12; margin: 0 0 16px; }
.af-library-heading p { margin: 0; max-width: 560px; font-size: 16px; line-height: 1.7; color: var(--af-secondary); }
.af-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--af-secondary); font-size: 12px; }
.af-breadcrumb > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52ch; }
.af-library-stats { display: flex; gap: 36px; padding: 0 0 4px 32px; margin: 0; flex-shrink: 0; border-left: 1px solid var(--af-line); }
.af-library-stats > div { display: flex; flex-direction: column-reverse; gap: 4px; }
.af-library-stats dt { color: var(--af-secondary); font-size: 12px; font-weight: 400; }
.af-library-stats dd { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.af-event-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.af-event-tabs a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 14px; border: 1px solid transparent; border-radius: 8px; color: var(--af-secondary); font-size: 13px; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.af-event-tabs a:hover { background: var(--af-surface); border-color: var(--af-line); }
.af-event-tabs a[aria-current] { color: var(--af-surface); background: var(--af-text); font-weight: 600; border-color: var(--af-text); }
.af-event-tabs a > span { opacity: .65; font-size: 11px; font-variant-numeric: tabular-nums; }
.af-event-tabs .af-archive-link { margin-left: auto; }
.af-event-filters { background: var(--af-surface); border: 1px solid var(--af-line); border-radius: 12px; padding: 12px; margin-bottom: 20px; gap: 8px; }
.af-event-filters .af-search { flex: 1 1 220px; border: 0; padding-left: 8px; }
.af-event-filters select { background: transparent; border-color: transparent; }
.af-event-filters .af-reset { padding: 0 8px; }
.af-event-library .af-result-count { margin: 0 0 16px; font-size: 12px; color: var(--af-secondary); }
.af-event-grid { display: grid; grid-template-columns: repeat(var(--af-columns,2),minmax(0,1fr)); gap: 24px; }
.af-event-card { display: flex; flex-direction: column; position: relative; overflow: hidden; min-width: 0; border: 1px solid var(--af-line); border-radius: 12px; background: var(--af-surface); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.af-event-card:hover, .af-event-card:focus-within { border-color: color-mix(in srgb,var(--af-accent) 45%,var(--af-line)); box-shadow: 0 8px 24px rgba(0,0,0,.035); transform: translateY(-2px); }
.af-event-image { display: block; aspect-ratio: 16/9; overflow: hidden; }
.af-event-image img { width: 100%; height: 100%; object-fit: cover; }
.af-event-card-body { display: flex; flex-direction: column; padding: 28px; flex: 1; }
.af-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; color: var(--af-secondary); }
.af-event-card .af-card-meta { margin-bottom: 20px; }
.af-event-card .af-card-meta .af-category, .af-event-overview .af-card-meta .af-category { background: transparent; padding: 0; color: var(--af-secondary); font-size: 11px; font-weight: 500; }
.af-event-card .af-card-meta .af-badge, .af-event-overview .af-card-meta .af-badge { border-radius: 4px; font-size: 10px; padding: 3px 8px; }
.af-status-developing::before, .af-status-watching::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.af-event-card h2, .af-event-card h3 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 26px; letter-spacing: -.02em; line-height: 1.28; }
.af-event-card p { font-size: 14px; margin: 0 0 24px; line-height: 1.75; }
.af-event-latest { display: block; position: relative; margin-top: auto; padding: 16px 28px 16px 16px; background: var(--af-soft); border-radius: 8px; transition: background .18s ease; }
.af-event-latest:hover { background: color-mix(in srgb,var(--af-accent) 5%,var(--af-soft)); }
.af-event-latest > span { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 10px; color: var(--af-secondary); margin-bottom: 8px; }
.af-event-latest > span > i { width: 5px; height: 5px; border-radius: 50%; background: var(--af-accent); }
.af-event-latest time { margin-left: auto; font-variant-numeric: tabular-nums; }
.af-event-latest strong { display: block; font-weight: 500; font-size: 14px; line-height: 1.55; }
.af-event-latest > .fa { position: absolute; right: 12px; top: 50%; }
.af-event-dates { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 20px; color: var(--af-secondary); font-size: 11px; font-variant-numeric: tabular-nums; }
.af-event-dates > span { display: inline-flex; align-items: center; gap: 6px; }
.af-card-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; color: var(--af-secondary); font-size: 11px; padding-top: 16px; }
.af-card-footer > a:last-child { color: var(--af-text); margin-left: auto; font-weight: 600; }
.af-card-footer > a:last-child > .fa { margin-left: 4px; transition: transform .18s ease; }
.af-card-footer > a:last-child:hover > .fa { transform: translateX(3px); }
.af-event-featured { grid-column: 1 / -1; }
.af-event-featured .af-event-card-body { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); column-gap: 48px; padding: 36px; }
.af-event-featured .af-card-meta, .af-event-featured h2, .af-event-featured .af-summary { grid-column: 1; }
.af-event-featured h2 { font-size: 34px; max-width: 24ch; }
.af-event-featured .af-summary { margin-bottom: 0; }
.af-event-featured .af-event-latest { grid-column: 2; grid-row: 1 / 4; margin: 0; align-self: center; padding: 24px 36px 24px 24px; border-left: 2px solid var(--af-accent); }
.af-event-featured .af-event-latest strong { font-size: 18px; line-height: 1.5; }
.af-event-featured .af-event-dates, .af-event-featured .af-card-footer { grid-column: 1 / -1; }
.af-event-featured .af-card-footer { margin-top: 16px; border-top: 1px solid var(--af-line); }
.af-event-featured > .af-event-image { max-height: 300px; }
.af-event-compact { display: grid; }
.af-event-compact .af-event-card { border: 0; border-radius: 0; background: transparent; border-bottom: 1px solid var(--af-line); transform: none; box-shadow: none; }
.af-event-compact .af-event-card:last-child { border-bottom: 0; }
.af-event-compact .af-event-card-body { padding: 16px 0; }
.af-event-compact .af-event-card:first-child .af-event-card-body { padding-top: 0; }
.af-event-compact .af-event-card h2 { font: 600 15px/1.5 Inter,system-ui,sans-serif; margin-bottom: 8px; letter-spacing: 0; }
.af-event-compact .af-event-image { margin-top: 16px; }
.af-event-compact .af-summary { font-size: 12px; }
.af-event-compact .af-card-meta { margin-bottom: 12px; }
.af-event-compact .af-card-footer { margin-top: 12px; padding-top: 0; border-top: 0; }
.af-density-compact .af-event-card-body { padding: 16px; }
.af-density-compact .af-event-compact .af-event-card-body { padding: 12px 0; }
.af-event-layout-list { grid-template-columns: minmax(0,1fr); }
.af-event-top { clear: both; }
.af-event-detail .af-component > .widget-content { padding: 28px; }
.af-event-detail .af-component > .box-body.notop { padding: 24px 24px 0; }
.af-event-detail .af-component > .box-body.notop + .widget-content { padding: 20px 24px 24px; }
.af-event-detail .af-component > .box-body .title-theme { font-size: 16px; font-weight: 600; padding: 0; margin: 0; border: 0; }
.af-event-top .af-component-event_overview:has(.af-event-overview) { overflow: hidden; }
.af-event-top .af-component-event_overview:has(.af-event-overview) > .widget-content { padding: 0; }
.af-event-overview { display: flex; gap: 40px; padding: 40px; position: relative; }
.af-event-intro { flex: 1; min-width: 0; }
.af-event-overview .af-card-meta { margin-bottom: 20px; }
.af-scope .af-event-overview h1 { max-width: 28ch; font: 500 clamp(30px,3.8vw,46px)/1.12 Georgia,"Times New Roman",serif; letter-spacing: -.035em; margin: 0 0 20px; }
.af-event-overview .af-summary { max-width: 72ch; font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
.af-event-overview-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; color: var(--af-secondary); font-size: 11px; margin: 0 0 16px; }
.af-event-overview .af-event-subjects { font-size: 12px; margin: 0; }
.af-event-overview .af-story-actions { margin-top: 24px; padding-top: 16px; gap: 16px; }
.af-event-overview .af-story-actions > button { min-height: 34px; border-radius: 6px; padding: 6px 12px; font-size: 12px; border: 1px solid var(--af-line); background: transparent; }
.af-event-overview .af-cover { flex: 0 0 28%; align-self: center; margin: 0; }
.af-event-overview .af-cover img { width: 100%; border-radius: 8px; }
.af-event-background h2, .af-event-facts-section > h2, .af-event-sources > h2 { font-size: 20px; margin: 0 0 20px; }
.af-event-background .af-content { font-size: 15px; line-height: 1.9; }
.af-event-background .af-content > :last-child { margin-bottom: 0; }
.af-event-facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 0 24px; padding: 0; margin: 0; }
.af-event-facts > div { padding: 12px 0; border-bottom: 1px solid var(--af-line); }
.af-event-facts > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
.af-event-facts dt { font-size: 11px; color: var(--af-secondary); font-weight: 400; margin-bottom: 6px; }
.af-event-facts dd { font-size: 14px; line-height: 1.6; font-weight: 500; margin: 0; overflow-wrap: anywhere; }
.af-event-facts-section > h3 { font-size: 14px; margin: 24px 0 12px; }
.af-takeaways { margin: 0; padding-left: 16px; color: var(--af-secondary); font-size: 13px; line-height: 1.8; }
.af-takeaways li + li { margin-top: 8px; }
.af-event-tracker { scroll-margin-top: 88px; }
.af-event-tracker .af-section-heading { margin-bottom: 24px; }
.af-event-tracker .af-section-heading h2 { font-size: 22px; font-family: Georgia,"Times New Roman",serif; font-weight: 500; }
.af-event-tracker .af-section-heading > span { font-size: 11px; }
.af-timeline-filters { gap: 8px; margin-bottom: 28px; padding-bottom: 20px; }
.af-timeline-filters .af-search { flex-basis: 100%; min-height: 40px; }
.af-timeline-filters .af-search input { height: 38px; }
.af-timeline-filters select { background: transparent; font-size: 12px; }
.af-timeline-filters button[type="submit"] { margin-left: auto; font-size: 12px; }
.af-timeline-dates { position: relative; font-size: 12px; }
.af-timeline-dates summary { cursor: pointer; display: flex; align-items: center; gap: 6px; border: 1px solid var(--af-line); border-radius: 6px; min-height: 40px; padding: 8px 12px; list-style: none; }
.af-timeline-dates summary::-webkit-details-marker { display: none; }
.af-timeline-dates[open] summary { border-color: var(--af-accent); color: var(--af-accent); }
.af-timeline-dates > div { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px; margin-top: 8px; background: var(--af-soft); border-radius: 8px; position: absolute; top: 100%; left: 0; z-index: 4; width: 280px; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.af-timeline-dates label { display: grid; gap: 4px; width: 100%; color: var(--af-secondary); font-size: 11px; }
.af-timeline-dates input { width: 100%; }
.af-event-nodes { list-style: none; margin: 0; padding: 0; }
.af-event-node { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 24px; position: relative; padding: 0 0 32px; scroll-margin-top: 88px; }
.af-node-date { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 2px; font-size: 13px; font-weight: 500; }
.af-node-date small { font-size: 10px; color: var(--af-secondary); font-weight: 400; font-variant-numeric: tabular-nums; }
.af-node-content { position: relative; padding: 0 0 0 24px; border-left: 1px solid var(--af-line); }
.af-event-node:not(:last-child) .af-node-content::after { content: ''; position: absolute; left: -1px; bottom: -32px; height: 32px; border-left: 1px solid var(--af-line); }
.af-node-content::before { content: ''; position: absolute; left: -4px; top: 6px; width: 7px; height: 7px; border-radius: 50%; border: 2px solid var(--af-secondary); background: var(--af-surface); }
.af-node-milestone .af-node-content::before { border-color: var(--af-accent); background: var(--af-accent); }
.af-event-node:last-child { padding-bottom: 0; }
.af-node-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 20px; color: var(--af-secondary); font-size: 10px; margin-bottom: 8px; }
.af-node-type { display: inline-flex; gap: 6px; align-items: center; }
.af-scope .af-event-node h3 { margin: 0 0 12px; font-size: 17px; line-height: 1.45; font-weight: 600; }
.af-event-node p { margin: 0 0 12px; color: var(--af-secondary); font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.af-event-node .af-node-content > .af-muted { font-size: 10px; }
.af-event-sort { display: flex; gap: 4px; font-size: 12px; }
.af-event-sort a { padding: 8px; border-radius: 4px; }
.af-event-sort a[aria-current] { background: var(--af-soft); }
.af-related-line { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--af-line); font-size: 14px; }
.af-related-line time { color: var(--af-secondary); font-size: 12px; flex-shrink: 0; }
.af-related-line span { flex: 1; overflow-wrap: anywhere; }
.af-source-list { list-style: none; margin: 0; padding: 0; }
.af-source-list li { padding: 12px 0; border-bottom: 1px solid var(--af-line); }
.af-source-list li a { font-weight: 500; }
.af-source-list li small { display: block; margin-top: 4px; font-size: 12px; color: var(--af-secondary); }
.af-source-facts, .af-story-provenance { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px; background: var(--af-soft); border-radius: 6px; font-size: 13px; margin: 20px 0; }
.af-correction { border-left: 2px solid var(--af-accent); padding: 12px 20px; margin: 24px 0; background: var(--af-soft); }
.af-pagination { padding-top: 24px; }
.af-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.af-pagination .page-numbers { display: inline-flex; min-width: 36px; min-height: 36px; align-items: center; justify-content: center; padding: 6px 10px; border: 1px solid var(--af-line); border-radius: 4px; color: var(--af-secondary); }
.af-pagination .current { background: var(--af-soft); color: var(--af-text); }
.af-empty { display: flex; flex-direction: column; align-items: center; padding: 56px 24px; text-align: center; color: var(--af-secondary); }
.af-empty > .fa { font-size: 24px; margin-bottom: 16px; }
.af-empty h2 { font-size: 20px; margin: 0 0 8px; }
.af-empty p { margin: 0; font-size: 14px; }
.af-small-empty { padding: 8px 0; margin: 0; font-size: 13px; }
/* One shared full-story dialog, with native theme actions. */
.af-overlay { font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", -apple-system, system-ui, "Segoe UI", sans-serif; --af-text: #333b36; --af-secondary: #3d463f; --af-line: #d6d9d5; width: min(640px,calc(100% - 28px)); max-height: 90dvh; padding: 0; border: 1px solid var(--af-line); border-radius: 20px; background: var(--af-surface); color: var(--af-text); overflow: auto; box-shadow: 0 24px 80px rgba(0,0,0,.22); }
.af-overlay::backdrop { background: rgba(32,36,34,.35); backdrop-filter: blur(4px); animation: af-fade-in .18s ease; }
.af-preview-inner { padding: 26px 34px 20px; position: relative; }
.af-dialog-close { position: absolute; right: 14px; top: 12px; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--af-muted); font-size: 19px !important; transition: color .18s,transform .18s,background .18s; }
.af-dialog-close:hover { transform: rotate(90deg); color: var(--af-accent); background: var(--af-soft); }
.pr-modal-brandband { display: flex; flex-direction: column; align-items: center; gap: 7px; margin: -28px -34px 18px; padding: 21px 60px 15px; border-bottom: 1px solid var(--af-line); background: radial-gradient(120% 110px at 50% -40%,color-mix(in srgb,var(--af-accent) 14%,var(--af-surface)),transparent 78%); }
.brand-logo-pair { width: 260px; height: 38px; display: flex; align-items: center; justify-content: center; }
.brand-logo-pair img { max-width: 100%; height: 30px; width: auto; object-fit: contain; }
.brand-logo-pair .brand-logo-dark { display: none; }
.dark-theme .brand-logo-pair .brand-logo-light { display: none; }
.dark-theme .brand-logo-pair .brand-logo-dark { display: block; }
.bb-slogan { display: flex; align-items: center; gap: 12px; font: 10.5px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .16em; color: var(--af-muted); white-space: nowrap; }
.bb-slogan::before,.bb-slogan::after { content: ''; width: 38px; height: 1px; background: var(--af-line); }
.af-scope .af-preview-title { font-family: var(--serif,Georgia,"Times New Roman",serif); font-size: 29px; font-weight: 900; line-height: 1.5; letter-spacing: .01em; text-wrap: balance; margin: 0; color: var(--af-text); }
.af-preview-content { color: var(--af-secondary); margin-top: 13px; font-size: 14.5px; line-height: 1.85; overflow-wrap: anywhere; }
.af-preview-content p { margin: 0 0 16px; }
.af-preview-content p:last-child { margin-bottom: 0; }
.af-preview-content a { color: var(--af-accent); text-decoration: underline; }
.af-preview-content pre { overflow: auto; }
.af-preview-content img,.af-preview-media img { max-width: 100%; height: auto; border-radius: 6px; }
.af-preview-media { margin-bottom: 16px; }
.af-preview-media img { display: block; margin: auto; max-height: 40dvh; object-fit: contain; }
.af-preview-native-actions { display: inline-flex; align-items: center; gap: 8px; }
.af-preview-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--af-secondary); font-size: 10px; margin-bottom: 12px; }
.af-preview-meta { position: relative; height: 3px; overflow: hidden; }
.af-preview-meta > * { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.af-preview-meta .tag { background: color-mix(in srgb,var(--af-accent) 8%,transparent); color: var(--af-accent); padding: 1px 6px; border-radius: 4px; }
.af-preview-source { margin: 14px 0 0; color: var(--af-secondary); font-size: 10.5px; }
.af-preview-source:empty { display: none; }
.af-preview-event { display: block; margin: 16px 0; padding: 10px 14px; background: var(--af-soft); border-radius: 8px; }
.af-preview-actions,.af-story-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 16px; border-top: 1px solid var(--af-line); margin-top: 20px; }
.af-preview-actions > a,.af-preview-actions > button,.af-preview-native-actions > a,.af-preview-native-actions > button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 14px; border: 1px solid var(--af-line); border-radius: 6px; background: transparent; color: #4a534e; font-size: 12px; line-height: 1.65; }
.af-preview-native-actions svg,.af-preview-native-actions count { display: none; }
.af-preview-actions .af-preview-full { font-weight: 700; margin-left: auto; border-color: var(--af-accent); color: var(--af-accent); }
.af-preview-actions a:hover,.af-preview-actions button:hover { background: var(--af-soft); transform: translateY(-1px); }
.af-overlay[open] .af-preview-inner { animation: af-dialog-in .22s cubic-bezier(.2,.7,.3,1); }
.af-wire-item { animation: af-row-in .36s cubic-bezier(.2,.7,.3,1) both; }
.af-wire-item:nth-of-type(2) { animation-delay: .03s; }
.af-wire-item:nth-of-type(3) { animation-delay: .06s; }
.af-wire-item::before { content: ''; position: absolute; inset: 0 -17px; pointer-events: none; border-radius: 10px; background: color-mix(in srgb,var(--af-accent) 3%,var(--af-surface)); opacity: 0; transition: opacity .18s; }
.af-wire-item:hover::before { opacity: 1; }
.af-wire-item > * { position: relative; }
.af-wire-item > .af-wire-actions { position: absolute; }
.pr-act-panel { animation: af-menu-in .14s ease both; }
.af-wire-full { animation: af-row-in .2s ease; }
@keyframes af-row-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes af-dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes af-menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes af-fade-in { from { opacity: 0; } to { opacity: 1; } }
.af-toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 999999; max-width: calc(100vw - 32px); background: var(--main-color,#24262b); color: var(--main-bg-color,#fff); border-radius: 6px; padding: 12px 20px; box-shadow: 0 8px 24px rgba(0,0,0,.15); font-size: 13px; }
.af-modal-open { overflow: hidden; }
.af-inline-error { padding: 16px; background: var(--af-soft); border-radius: 6px; font-size: 13px; }
@keyframes af-highlight { from { background: color-mix(in srgb,var(--af-accent) 12%,transparent); } to { background: transparent; } }
@media(max-width: 991px) {
  .af-library-heading { flex-direction: column; gap: 24px; }
  .af-library-stats { gap: 32px; }
  .af-event-grid { gap: 16px; }
  .af-event-card-body { padding: 20px; }
}
@container(max-width: 680px) {
  .af-wire-controls { gap: 8px; }
  .af-wire-search, .af-v2-search { flex-basis: 100%; }
  .af-wire-item { grid-template-columns: 44px minmax(0,1fr); gap: 12px; padding: 20px 0; }
  .af-scope.af-wire .af-wire-item h3, .af-scope.af-wire .af-wire-item h2 { font-size: 18px; }
  .af-wire-item.has-thumb .af-wire-thumb, .af-wire-item.has-thumb .af-v2-thumb { width: 96px; }
  .af-scope .af-wire-day { line-height: 1.65; align-items: baseline; }
}
@media(max-width: 600px) {
  .af-wire-filters, .af-filters { margin-bottom: 16px; padding-bottom: 16px; }
  .af-wire-filters select { max-width: 100%; }
  .af-wire-controls > select { flex: 1 1 calc(50% - 8px); }
  .af-wire-controls > label:not(.af-wire-search):not(.af-v2-search) { flex: 1 1 auto; }
  .af-mobile-filter-toggle { display: inline-flex; margin-bottom: 12px; }
  .af-wire-filters.af-filters-collapsed { min-height: 0; padding-bottom: 0; margin-bottom: 0; }
  .af-wire-filters.af-filters-collapsed .af-mobile-filter-toggle { margin-bottom: 0; }
  .af-wire-filters.af-filters-collapsed .af-wire-controls { display: none; }
  .af-wire-item { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .af-wire-item:has(> .af-wire-actions) { grid-template-columns: minmax(0,1fr); }
  .af-wire-time { grid-column: 1; padding: 0; font-size: 11px; }
  .af-wire-item > .af-wire-actions { top: 16px; right: 0; }
  .af-wire-item:has(> .af-wire-time) > .af-wire-body { grid-column: 1 / -1; grid-row: 2; }
  .af-wire-item.has-thumb .af-wire-thumb, .af-wire-item.has-thumb .af-v2-thumb { width: 88px; margin-left: 12px; }
  .af-wire-item.af-media-wide .af-wire-thumb { width: 100%; margin-left: 0; }
  .af-scope.af-wire .af-wire-item h3, .af-scope.af-wire .af-wire-item h2 { font-size: 18px; }
  .af-wire-meta { gap: 6px; margin-bottom: 8px; }
  .af-scope .af-wire-day { line-height: 1.65; flex-wrap: wrap; gap: 4px 12px; }
  .af-wire-day > span { font-size: 11px; }
  .af-wire-source { font-size: 11px; }
  .af-event-grid { grid-template-columns: minmax(0,1fr); }
  .af-library-heading h1 { font-size: 28px; }
  .af-library-stats { gap: 24px; }
  .af-library-stats dd { font-size: 22px; }
  .af-event-tabs { gap: 4px; }
  .af-event-tabs .af-archive-link { margin-left: 0; }
  .af-event-card-body { padding: 20px; }
  .af-event-card h2 { font-size: 20px; }
  .af-event-facts { grid-template-columns: 1fr; gap: 20px; }
  .af-section-heading { align-items: start; flex-wrap: wrap; gap: 12px; }
  .af-event-nodes { padding-left: 4px; }
  .af-event-node { padding-left: 20px; }
  .af-related-line { gap: 12px; font-size: 13px; }
  .af-overlay { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 8px; }
  .af-dialog-inner, .af-preview-inner, .pr-modal-in { padding: 24px 20px; }
  .af-preview-title { font-size: 24px; }
  .af-preview-body, .af-preview-content, .pr-modal-bd { font-size: 15px; }
  .af-preview-actions .af-preview-full { font-weight: 700; margin-left: auto; }
  .af-v2-mast-inner { padding: 0 16px; }
  .af-scope .af-v2-mast-main h1 { font-size: 30px; }
  .af-v2-mast-main p { font-size: 12.5px; }
  .af-v2-art b { font-size: 46px; }
  .pr-modal-brandband { margin: -24px -20px 18px; padding: 21px 36px 15px; }
  .bb-slogan { font-size: 9px; gap: 8px; letter-spacing: .1em; }
  .bb-slogan::before,.bb-slogan::after { width: 20px; }
  .af-scope .af-preview-title { font-size: 24px; }
  .af-wire { padding: 0 12px; }
  .af-wire-item { padding-right: 32px; }
  .af-toast { bottom: 20px; }
}
@media(prefers-reduced-motion: reduce) {
  .af-scope *, .af-scope *::before, .af-scope *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Preserve the native page/sidebar structure while matching the approved desk proportions. */
@media (min-width: 992px) {
  body.astral-wire-landing main.container { padding-left: 26px; padding-right: 26px; }
  body.astral-wire-landing .fluid-widget-wrap .widget-container:has(.af-component-mast) { padding-left: 26px; padding-right: 26px; }
  body.astral-wire-landing.site-layout-2 .content-layout { margin-right: 318px; }
  body.astral-wire-landing.site-layout-2 main > .sidebar { width: 300px; margin-left: -300px; }
}
.dark-theme .af-overlay { --af-text: #efefef; --af-secondary: #c2c4c2; --af-line: #444847; }
.dark-theme .af-preview-actions > a, .dark-theme .af-preview-actions > button, .dark-theme .af-preview-native-actions > a { color: var(--af-text); }

/* Responsive event components retain their theme widget placement. */
@media (max-width: 991px) {
  .af-event-overview { padding: 32px; }
  .af-library-heading { gap: 24px; }
  .af-event-featured .af-event-card-body { gap: 0 28px; padding: 28px; }
}
@media (max-width: 767px) {
  .af-library-heading { align-items: flex-start; flex-direction: column; padding-top: 16px; margin-bottom: 20px; }
  .af-library-stats { padding: 0; border: 0; gap: 32px; }
  .af-library-stats > div { flex-direction: row-reverse; align-items: baseline; gap: 8px; }
  .af-library-stats dd { font-size: 24px; }
  .af-library-heading p { font-size: 14px; }
  .af-event-filters { gap: 8px; padding: 12px; }
  .af-event-filters .af-search { flex-basis: 100%; border-bottom: 1px solid var(--af-line); border-radius: 0; padding-bottom: 8px; }
  .af-event-filters > label:not(.af-search) { flex: 1 1 calc(50% - 8px); }
  .af-event-filters select { width: 100%; padding-left: 4px; font-size: 12px; }
  .af-event-filters > button { flex: 1; }
  .af-event-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .af-event-featured .af-event-card-body { display: flex; padding: 24px; }
  .af-event-featured h2 { font-size: 28px; }
  .af-event-featured .af-summary { margin-bottom: 24px; }
  .af-event-featured .af-event-latest { padding: 20px; align-self: stretch; }
  .af-event-featured .af-event-latest strong { font-size: 15px; }
  .af-event-featured .af-card-footer { margin-top: 0; border-top: 0; }
  .af-event-tabs { gap: 4px; }
  .af-event-tabs a { padding: 8px 10px; gap: 6px; font-size: 12px; }
  .af-event-tabs a > span { font-size: 10px; }
  .af-event-overview { padding: 24px; flex-direction: column; gap: 24px; }
  .af-event-overview .af-summary { font-size: 14px; line-height: 1.8; }
  .af-event-overview-meta { gap: 8px 12px; }
  .af-event-overview .af-cover { width: 100%; flex-basis: auto; }
  .af-event-detail .af-component > .widget-content { padding: 24px 20px; }
  .af-event-detail .af-component > .box-body.notop { padding: 20px 20px 0; }
  .af-event-detail .af-component > .box-body.notop + .widget-content { padding: 16px 20px 20px; }
  .af-breadcrumb { font-size: 10px; margin-bottom: 20px; }
  .af-event-node { grid-template-columns: 1fr; gap: 12px; padding-bottom: 28px; }
  .af-node-date { flex-direction: row; align-items: baseline; gap: 8px; padding-left: 24px; }
  .af-node-content { padding-left: 24px; }
  .af-event-node:not(:last-child) .af-node-content::after { height: 66px; bottom: -66px; }
  .af-timeline-filters { gap: 8px; }
  .af-timeline-filters > label:not(.af-search) { flex: 1 1 calc(50% - 8px); }
  .af-timeline-filters select { width: 100%; }
  .af-timeline-filters .af-timeline-dates { flex: 1; }
  .af-timeline-filters button[type="submit"] { margin-left: 0; }
  .af-timeline-dates > div { width: min(280px,calc(100vw - 96px)); }
  .af-event-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; }
}

.af-event-featured-brief .af-event-card-body { display: flex; }
.af-event-featured-brief h2 { max-width: 36ch; }
.af-event-detail-sidebar .af-event-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
.af-event-detail-sidebar .af-source-list li { padding: 16px 0; }
.af-event-detail-sidebar .af-source-list li:first-child { padding-top: 0; }
.af-event-detail-sidebar .af-source-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.af-event-detail-sidebar .af-source-list a { font-size: 13px; line-height: 1.6; }
.af-event-detail-sidebar .af-source-list small { font-size: 10px; }
.af-event-filters input[type="search"], .af-timeline-filters input[type="search"] { background: transparent; }
.af-event-detail .af-content p { margin-bottom: 20px; }
.af-event-detail .af-content p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .af-event-top, .af-library-heading { animation: af-row-in .3s ease both; }
  .af-event-node:target .af-node-content { animation: af-highlight 1.4s ease; }
}

.af-event-comments { clear: both; }
@media (max-width: 991px) {
  .af-event-detail > .af-event-detail-sidebar { display: block; float: none; width: auto; margin: 0; clear: both; }
  .af-event-detail > .af-event-detail-sidebar > .zib-widget-wrap { width: 100%; }
}

.af-event-filters button[type="submit"] { white-space: nowrap; }
@media (max-width: 767px) {
  .af-event-filters > label:last-of-type { flex-basis: 100%; }
  .af-event-filters > button { flex: 1 1 calc(100% - 64px); }
}
