﻿:root {
  /* Windows 11-inspired: neutral surfaces, Fluent blue accent, restrained depth. */
  --bg: #f3f3f3;
  --surface: #ffffff;
  --surface-soft: #f5f5f5;
  --text: #1f1f1f;
  --muted: #616161;
  --line: #e2e2e2;
  --brand: #0078d4;
  --brand-dark: #005fb8;
  --brand-soft: #e8f3ff;
  --link: #005fb8;
  --warning: #9d5d00;
  --sidebar-width: 282px;
  --outline-width: 226px;
  --radius: 8px;
  --shadow: 0 1.6px 3.6px rgba(0, 0, 0, .10), 0 0.3px .9px rgba(0, 0, 0, .08);
}

:root[data-theme="dark"] {
  --bg: #202020;
  --surface: #292929;
  --surface-soft: #323232;
  --text: #f5f5f5;
  --muted: #c6c6c6;
  --line: #444444;
  --brand: #60cdff;
  --brand-dark: #8edcff;
  --brand-soft: #153e5c;
  --link: #8edcff;
  --warning: #f6c344;
  --shadow: 0 1.6px 4px rgba(0, 0, 0, .32), 0 0.3px 1px rgba(0, 0, 0, .26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.76;
}
button, input { font: inherit; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-shell { min-height: 100vh; }
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 30; height: 64px;
  display: flex; align-items: center; gap: 14px; padding: 0 24px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.liquid-glass-layer {
  position: fixed;
  inset: 0 0 auto;
  z-index: 29;
  width: 100%;
  height: 70px;
  border-bottom: 1px solid var(--line-bright);
  border-radius: 0 0 8px 8px;
  pointer-events: none;
}

.liquid-gl-ready .topbar {
  background: color-mix(in srgb, var(--glass) 18%, transparent);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); white-space: nowrap; min-width: 225px; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--brand); color: white; font-size: 18px; font-weight: 800; box-shadow: 0 1.6px 3.6px rgba(0, 0, 0, .18); }
.brand strong { display: block; font-size: 14px; line-height: 1.25; letter-spacing: .02em; }
.brand small { display: block; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .12em; line-height: 1.2; }
.icon-button { display: none; border: 0; color: var(--text); background: transparent; cursor: pointer; border-radius: 8px; padding: 8px; }
.icon-button:hover { background: var(--surface-soft); }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu-button span { display: block; width: 19px; height: 1.7px; margin: 3.5px 0; background: currentColor; border-radius: 2px; }
.search-box { width: min(500px, 45vw); margin-inline: auto; position: relative; display: flex; align-items: center; gap: 9px; min-height: 37px; padding: 0 9px; background: var(--surface-soft); color: var(--muted); border: 1px solid transparent; border-radius: 6px; cursor: text; }
.search-box:focus-within { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); background: var(--surface); }
.search-box svg, .dialog-search svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.search-box input { width: 100%; min-width: 0; color: var(--text); border: 0; outline: 0; background: transparent; font-size: 13px; }
kbd { padding: 1px 5px; color: var(--muted); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; font-size: 10px; line-height: 1.5; white-space: nowrap; }
.theme-button { display: inline-grid; place-items: center; }

.sidebar { position: fixed; inset: 64px auto 0 0; z-index: 20; width: var(--sidebar-width); overflow-y: auto; padding: 25px 16px 22px; background: var(--surface); border-right: 1px solid var(--line); }
.nav-label { margin: 0 10px 7px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.nav-group-link{display:flex;align-items:center;justify-content:space-between;padding:5px 10px;margin:0 0 3px;border-radius:6px}.nav-group-link:hover{color:var(--brand-dark);background:var(--surface-soft);text-decoration:none}.nav-group-link span{font-size:13px}
.nav-group { margin: 0 0 20px; }
.nav-link { display: block; padding: 6px 10px; border-radius: 7px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.nav-link:hover { background: var(--surface-soft); color: var(--text); text-decoration: none; }
.nav-link.active { color: var(--brand-dark); background: var(--brand-soft); font-weight: 700; }
.nav-link.home-link { display: flex; align-items: center; gap: 7px; margin-bottom: 17px; color: var(--text); font-weight: 700; }
.nav-link.home-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nav-link .dot { display: inline-block; width: 5px; height: 5px; margin-right: 7px; vertical-align: 2px; border-radius: 50%; background: #a8b3aa; }
.nav-link.active .dot { background: var(--brand); }
.sidebar-footer { margin: 35px 8px 0; padding: 15px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.sidebar-footer p { margin: 0 0 8px; }
.sidebar-footer a { font-weight: 700; color: var(--brand-dark); }
.sidebar-footer span { font-size: 16px; }
.sidebar-footer .powered-by { margin-top: 18px; color: var(--muted); font-size: 11px; letter-spacing: .02em; }

.main-content { position: relative; min-height: 100vh; margin-left: var(--sidebar-width); padding: 110px calc(var(--outline-width) + 60px) 90px min(7vw, 105px); }
.article { max-width: 820px; min-height: 440px; }
.reading-progress { position: fixed; top: 63px; left: var(--sidebar-width); right: 0; z-index: 40; height: 2px; background: transparent; }
.reading-progress i { display: block; width: 0; height: 100%; background: var(--brand); transition: width .08s linear; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 16px; color: var(--muted); font-size: 13px; }
.breadcrumbs span { color: var(--line); }
.article h1 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 43px); letter-spacing: -.035em; line-height: 1.2; }
.article h2 { margin: 54px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 24px; letter-spacing: -.02em; line-height: 1.35; scroll-margin-top: 90px; }
.article h3 { margin: 34px 0 12px; font-size: 18px; scroll-margin-top: 90px; }
.article h2 .heading-anchor, .article h3 .heading-anchor { color: transparent; margin-left: 8px; font-weight: 500; }
.article h2:hover .heading-anchor, .article h3:hover .heading-anchor { color: var(--muted); text-decoration: none; }
.article p { margin: 0 0 18px; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.article ul, .article ol { padding-left: 24px; margin: 0 0 18px; }
.article li { margin: 5px 0; }
.article blockquote { margin: 18px 0 24px; padding: 12px 15px; border-left: 3px solid var(--brand); background: var(--brand-soft); color: var(--text); border-radius: 0 8px 8px 0; }
.article blockquote p { margin: 0; }
.article code { padding: 2px 5px; background: var(--surface-soft); border-radius: 4px; font-family: "Cascadia Code", Consolas, monospace; font-size: .86em; }
.article pre { overflow-x: auto; margin: 20px 0; padding: 16px; background: #152119; color: #e7f1e9; border-radius: 10px; line-height: 1.6; }
.article pre code { padding: 0; background: transparent; color: inherit; }
.article table { width: 100%; overflow: hidden; margin: 20px 0 25px; border: 1px solid var(--line); border-radius: 9px; border-spacing: 0; border-collapse: separate; font-size: 13px; }
.article th, .article td { padding: 10px 12px; text-align: left; vertical-align: top; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article th:last-child, .article td:last-child { border-right: 0; }
.article tr:last-child td { border-bottom: 0; }
.article th { background: var(--surface-soft); font-size: 12px; }
.article details { margin: 20px 0; padding: 0 14px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 9px; }
.article summary { padding: 12px 0; cursor: pointer; font-weight: 700; }
.article details > :not(summary) { margin-bottom: 15px; }
.article .meta-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 24px 0 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.meta-row { min-height: 61px; padding: 10px 13px; background: var(--surface); }
.meta-row small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; font-weight: 700; }
.meta-row strong { display: block; font-size: 13px; font-weight: 650; line-height: 1.45; }
.status { display: inline-block; padding: 2px 8px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-dark); font-size: 12px; font-weight: 800; line-height: 1.55; }
.status.uncertain { background: color-mix(in srgb, var(--warning) 13%, var(--surface)); color: var(--warning); }

.home-hero { padding: 12px 0 34px; }
.home-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 17px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .11em; }
.home-eyebrow::before { width: 23px; height: 2px; content: ""; background: currentColor; }
.home-hero h1 { max-width: 700px; margin-bottom: 18px; font-size: clamp(37px, 5vw, 54px); }
.home-hero > p { max-width: 680px; color: var(--muted); font-size: 17px; }
.home-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); font-size: 13px; font-weight: 750; }
.button.primary { border-color: var(--brand); background: var(--brand); color: white; }
.button:hover { text-decoration: none; filter: brightness(.97); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 44px; }
.stat { padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.stat strong { display: block; font-size: 25px; line-height: 1.1; }
.stat small { color: var(--muted); font-size: 12px; }
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 17px 0 30px; }
.collection-card { display: flex; flex-direction: column; min-height: 178px; padding: 19px; color: var(--text); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease; }
.collection-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: var(--shadow); text-decoration: none; }
.collection-card .card-count { color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.collection-card h3 { margin: 10px 0 8px; font-size: 20px; }
.collection-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.collection-card .card-arrow { margin-top: auto; padding-top: 12px; color: var(--brand-dark); font-weight: 800; }
.callout { display: flex; gap: 14px; margin: 28px 0; padding: 17px 18px; border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); border-radius: 8px; background: var(--brand-soft); }
.callout-badge { display: grid; flex: 0 0 auto; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--brand); color: white; font-weight: 850; }
.callout p { margin: 0; font-size: 13px; }

.outline { position: fixed; top: 105px; right: 28px; width: calc(var(--outline-width) - 25px); max-height: calc(100vh - 135px); overflow: auto; padding-left: 15px; border-left: 1px solid var(--line); }
.outline-label { margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.outline a { display: block; padding: 4px 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.outline a.level-3 { padding-left: 11px; font-size: 11px; }
.outline a:hover, .outline a.active { color: var(--brand-dark); text-decoration: none; }
.home-notice{padding:20px 18px;background:var(--glass-strong);border:1px solid var(--line-bright);border-radius:8px;box-shadow:var(--shadow);backdrop-filter:blur(18px)}.home-notice .outline-label{font-size:12px}.home-notice strong,.home-notice span,.home-notice small,.home-notice em{display:block}.home-notice strong{margin:9px 0 15px;font-size:16px;line-height:1.55}.home-notice span{color:var(--muted);font-size:13px;line-height:1.7}.home-notice span b{color:var(--brand-dark);font-size:15px}.home-notice hr{margin:17px 0;border:0;border-top:1px solid var(--line)}.home-notice small{color:var(--brand);font-size:12px;font-weight:800}.home-notice em{margin-top:7px;font-size:14px;font-style:normal;line-height:1.6}.mobile-home-notice{display:none}

.search-panel { position: fixed; inset: 0; z-index: 100; }
.submission-panel{position:fixed;inset:0;z-index:110}.submission-backdrop{position:absolute;inset:0;width:100%;border:0;background:rgba(24,38,52,.42);backdrop-filter:blur(5px)}.submission-dialog{position:relative;width:min(720px,calc(100vw - 28px));max-height:calc(100vh - 40px);overflow:auto;margin:20px auto;padding:24px;background:var(--surface-solid);border:1px solid var(--line-bright);border-radius:8px;box-shadow:0 25px 70px rgba(20,34,48,.25)}.submission-intro{color:var(--muted)}.submission-dialog label{display:grid;gap:6px;margin:12px 0;font-size:13px;font-weight:700}.submission-dialog input,.submission-dialog select,.submission-dialog textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:7px;background:var(--surface-soft);color:var(--text);font:inherit}.submission-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.message{color:var(--accent-mint);font-size:13px}@media(max-width:590px){.submission-grid{grid-template-columns:1fr}.submission-dialog{padding:18px}}
.search-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(13, 22, 15, .48); cursor: default; }
.search-dialog { position: relative; width: min(650px, calc(100vw - 32px)); max-height: min(600px, calc(100vh - 60px)); overflow: auto; margin: 12vh auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.dialog-search { display: flex; align-items: center; gap: 10px; padding: 14px 15px; border-bottom: 1px solid var(--line); color: var(--muted); }
.dialog-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 15px; }
.search-results { padding: 8px; }
.search-result { display: block; padding: 12px; border-radius: 8px; color: var(--text); }
.search-result:hover, .search-result.selected { background: var(--surface-soft); text-decoration: none; }
.search-result small { display: block; color: var(--brand); font-size: 11px; font-weight: 800; }
.search-result strong { display: block; margin: 2px 0; font-size: 14px; }
.search-result p { overflow: hidden; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.empty-result { padding: 23px 12px; color: var(--muted); text-align: center; font-size: 13px; }

@media (max-width: 1180px) {
  :root { --outline-width: 0px; }
  .outline { display: none; }
  .main-content { padding-right: min(7vw, 80px); }
  .mobile-home-notice{display:block;margin:0 0 24px;padding:15px;background:var(--glass-strong);border:1px solid var(--line-bright);border-radius:8px;box-shadow:var(--shadow)}.mobile-home-notice p,.mobile-home-notice strong,.mobile-home-notice span,.mobile-home-notice small,.mobile-home-notice b{display:block}.mobile-home-notice p{margin:0 0 5px;color:var(--brand);font-size:10px;font-weight:800}.mobile-home-notice strong{font-size:14px}.mobile-home-notice span{margin-top:5px;color:var(--muted);font-size:12px}.mobile-home-notice hr{border:0;border-top:1px solid var(--line);margin:12px 0}.mobile-home-notice small{color:var(--brand);font-size:10px}.mobile-home-notice b{margin-top:4px;font-size:12px}
}
@media (max-width: 820px) {
  :root { --sidebar-width: 0px; }
  .topbar { height: 57px; padding: 0 13px; gap: 8px; }
  .brand { min-width: auto; }
  .brand strong { font-size: 13px; }
  .brand small { display: none; }
  .menu-button { display: block; }
  .theme-button { margin-left: auto; }
  .search-box { width: auto; flex: 1; margin: 0; }
  .search-box kbd { display: none; }
  .sidebar { transform: translateX(-100%); top: 57px; width: min(300px, 86vw); box-shadow: var(--shadow); transition: transform .22s ease; }
  body.sidebar-open { overflow: hidden; }
  body.sidebar-open .sidebar { transform: translateX(0); }
  body.sidebar-open::after { position: fixed; z-index: 15; inset: 57px 0 0; content: ""; background: rgba(0, 0, 0, .28); }
  .main-content { margin-left: 0; padding: 86px 19px 60px; }
  .reading-progress { top: 56px; left: 0; }
  .article h2 { margin-top: 38px; }
  .article .meta-card { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: 1fr; }
  .stats { gap: 8px; }
  .stat { padding: 11px; }
  .stat strong { font-size: 20px; }
}
@media (max-width: 490px) {
  .brand-mark { width: 30px; height: 30px; border-radius: 8px; font-size: 16px; }
  .brand strong { max-width: 124px; overflow: hidden; text-overflow: ellipsis; }
  .search-box input { font-size: 12px; }
  .search-box { padding: 0 7px; }
  .article h1 { font-size: 31px; }
  .article table { display: block; overflow-x: auto; }
}

/* Fluent structure with restrained Liquid Glass materials. */
:root {
  --bg: #eef4fa;
  --surface: rgba(255, 255, 255, .72);
  --surface-solid: #ffffff;
  --surface-soft: rgba(244, 248, 252, .82);
  --glass: rgba(255, 255, 255, .46);
  --glass-strong: rgba(255, 255, 255, .62);
  --line: rgba(64, 91, 117, .16);
  --line-bright: rgba(255, 255, 255, .86);
  --brand: #137ad1;
  --brand-dark: #075fa9;
  --brand-soft: rgba(214, 235, 252, .72);
  --accent-mint: #1b9a83;
  --accent-coral: #d9615b;
  --shadow: 0 14px 36px rgba(54, 79, 104, .12), 0 2px 7px rgba(54, 79, 104, .07);
}

:root[data-theme="dark"] {
  --bg: #151a20;
  --surface: rgba(35, 42, 50, .76);
  --surface-solid: #232a32;
  --surface-soft: rgba(45, 54, 64, .76);
  --glass: rgba(31, 39, 47, .48);
  --glass-strong: rgba(35, 43, 52, .66);
  --line: rgba(208, 225, 241, .14);
  --line-bright: rgba(255, 255, 255, .14);
  --brand: #6cb8f4;
  --brand-dark: #98cff8;
  --brand-soft: rgba(37, 91, 132, .45);
  --accent-mint: #67d3bd;
  --accent-coral: #f08b85;
}

body {
  min-width: 320px;
  background-color: var(--bg);
  letter-spacing: 0;
}

.site-shell { position: relative; isolation: isolate; }
.site-shell::before,
.site-shell::after {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  content: "";
}

/* Large translucent planes provide a backdrop for the glass, without decorative blobs. */
.site-shell::before {
  inset: 70px 0 0 var(--sidebar-width);
  background: #d5ebff;
  clip-path: polygon(47% 0, 100% 0, 100% 62%, 68% 84%, 43% 62%);
  opacity: .72;
}

.site-shell::after {
  inset: 42% 12% 0 var(--sidebar-width);
  background: #ddf6ed;
  clip-path: polygon(0 12%, 41% 0, 76% 28%, 100% 78%, 57% 100%, 12% 79%);
  opacity: .52;
}

:root[data-theme="dark"] .site-shell::before { background: #174767; opacity: .58; }
:root[data-theme="dark"] .site-shell::after { background: #1b4d45; opacity: .48; }

.topbar {
  height: 70px;
  padding-inline: 20px;
  background: color-mix(in srgb, var(--glass) 88%, transparent);
  border-color: var(--line-bright);
  box-shadow: 0 1px 0 var(--line), 0 9px 28px rgba(46, 72, 96, .07);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
}

.brand-mark {
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 5px 14px rgba(0, 120, 212, .22);
}

.brand strong,
.brand small,
.nav-label,
.home-eyebrow,
.collection-card .card-count,
.section-heading p,
.outline-label { letter-spacing: 0; }

.search-box {
  min-height: 42px;
  padding-inline: 12px;
  background: var(--glass-strong);
  border: 1px solid var(--line-bright);
  border-bottom-color: color-mix(in srgb, var(--brand) 38%, var(--line));
  border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .52), 0 3px 13px rgba(54, 79, 104, .07);
}

.search-box:focus-within {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.icon-button {
  width: 38px;
  height: 38px;
  padding: 9px;
  border: 1px solid transparent;
}

.icon-button:hover {
  background: var(--glass-strong);
  border-color: var(--line-bright);
  text-decoration: none;
}

.admin-button { display: inline-grid; place-items: center; }

.sidebar {
  inset-block-start: 70px;
  padding-top: 27px;
  background: var(--glass-strong);
  border-color: var(--line-bright);
  box-shadow: 1px 0 0 var(--line);
  backdrop-filter: blur(28px) saturate(135%);
  -webkit-backdrop-filter: blur(28px) saturate(135%);
}

.nav-link { padding: 7px 10px; }
.nav-link.active {
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line-bright));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42);
}

.main-content { padding-top: 116px; }
.reading-progress { top: 69px; }
.article h1,
.article h2 { letter-spacing: 0; }

.home-page { max-width: 980px; }
.home-page .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: 52px;
  padding: 35px 0 46px;
}

.home-page .home-hero h1 {
  max-width: 760px;
  margin-bottom: 19px;
  font-size: clamp(38px, 5vw, 57px);
  line-height: 1.12;
}

.home-page .home-hero h1 span { color: var(--brand-dark); }
.home-page .home-hero > div > p { max-width: 650px; }

.hero-status {
  position: relative;
  min-height: 225px;
  padding: 22px;
  overflow: hidden;
  background: color-mix(in srgb, var(--glass) 76%, transparent);
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .55);
  backdrop-filter: blur(22px) saturate(140%);
}

.hero-status::after {
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  content: "";
  background: var(--accent-mint);
}

.hero-status .live-dot {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-mint);
  font-size: 11px;
  font-weight: 750;
}

.hero-status .live-dot::before {
  width: 7px;
  height: 7px;
  content: "";
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 13%, transparent);
}

.hero-status > strong { display: block; margin-top: 24px; font-size: 54px; line-height: 1; }
.hero-status > small { color: var(--muted); font-size: 12px; }
.hero-status > p { margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.home-actions { margin-top: 28px; }
.button {
  min-height: 40px;
  padding: 9px 15px;
  background: var(--glass);
  border-color: var(--line-bright);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), 0 2px 7px rgba(54, 79, 104, .06);
}

.button.primary {
  border-color: color-mix(in srgb, var(--brand) 72%, white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 7px 16px rgba(19, 122, 209, .2);
}

.stats { gap: 10px; margin: 0 0 52px; }
.stat {
  display: grid;
  grid-template-columns: 30px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  padding: 14px 15px;
  background: color-mix(in srgb, var(--glass) 76%, transparent);
  border-color: var(--line-bright);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 4px 16px rgba(54, 79, 104, .06);
  backdrop-filter: blur(18px);
}

.stat-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 7px;
  font-weight: 800;
}

.stat strong { font-size: 20px; }
.stat small { line-height: 1.3; }
.home-section { margin-block: 0 52px; }
.home-powered { margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; letter-spacing: .03em; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.section-heading p { margin: 0 0 3px; color: var(--brand); font-size: 10px; font-weight: 800; }
.section-heading h2 { margin: 0; padding: 0; border: 0; font-size: 24px; }
.section-heading > span,
.section-heading > a { color: var(--muted); font-size: 12px; }

.collection-grid { gap: 12px; margin: 0; }
.collection-card {
  min-height: 205px;
  padding: 20px;
  background: color-mix(in srgb, var(--glass) 74%, transparent);
  border-color: var(--line-bright);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 6px 20px rgba(54, 79, 104, .06);
  backdrop-filter: blur(18px) saturate(130%);
}

.collection-card:nth-child(2) .card-count { color: var(--accent-mint); }
.collection-card:nth-child(3) .card-count { color: var(--accent-coral); }
.collection-card h3 { font-size: 18px; }
.collection-card:hover { transform: translateY(-2px); background: var(--glass-strong); }
.collection-card-static:hover{transform:none;background:color-mix(in srgb,var(--glass) 74%,transparent);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 6px 20px rgba(54,79,104,.06)}.creator-more{margin-top:13px}.creator-grid-full{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:22px}.page-lead{color:var(--muted)}@media(max-width:820px){.creator-grid-full{grid-template-columns:1fr}}
.creator-directory-section h2{margin:30px 0 0;padding-top:20px;border-top:1px solid var(--line);font-size:20px}

.home-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, .8fr);
  gap: 14px;
}

.updates-panel,
.home-bottom-grid .callout {
  margin: 0;
  padding: 19px;
  background: color-mix(in srgb, var(--glass) 76%, transparent);
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 20px rgba(54, 79, 104, .06);
}

.section-heading.compact { align-items: center; margin-bottom: 10px; }
.section-heading.compact h2 { font-size: 18px; }
.update-row {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 7px;
  color: var(--text);
  border-top: 1px solid var(--line);
}

.update-row:hover { color: var(--brand-dark); text-decoration: none; }
.update-dot { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }
.update-row small { display: block; color: var(--muted); font-size: 10px; }
.update-row strong { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.update-arrow { color: var(--muted); }
.home-bottom-grid .callout { display: block; }
.home-bottom-grid .callout-badge { margin-bottom: 17px; }
.home-bottom-grid .callout strong { display: block; margin-bottom: 7px; }

.outline { top: 112px; }
.search-backdrop { background: rgba(26, 39, 52, .38); backdrop-filter: blur(5px); }
.search-dialog {
  background: var(--glass-strong);
  border-color: var(--line-bright);
  box-shadow: 0 24px 70px rgba(20, 34, 48, .24), inset 0 1px 0 rgba(255, 255, 255, .55);
  backdrop-filter: blur(32px) saturate(150%);
}

@media (max-width: 820px) {
  .topbar { height: 60px; z-index: 50; }
  .liquid-glass-layer { display: none; }
  .sidebar {
    position: fixed;
    inset: 60px 0 auto;
    z-index: 45;
    width: 100%;
    max-height: min(72vh, 560px);
    padding: 14px 18px 18px;
    overflow-y: auto;
    background: var(--surface-solid);
    border: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(30, 53, 72, .18);
    transform: translateY(-110%);
    transition: transform .2s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .menu-button { display: block !important; position: relative; z-index: 51; min-width: 38px; min-height: 38px; }
  .menu-button span { pointer-events: none; }
  body.sidebar-open::after { display: none; }
  body.sidebar-open .sidebar { transform: translateY(0) !important; }
  .reading-progress { top: 59px; }
  .main-content { padding-top: 91px; }
  .site-shell::before { inset: 60px 0 0; }
  .site-shell::after { inset: 46% 0 0; }
  .home-page .home-hero { grid-template-columns: 1fr; gap: 22px; padding-top: 17px; }
  .hero-status { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; min-height: auto; gap: 2px 14px; padding: 17px; }
  .hero-status .live-dot { grid-column: 1 / 3; margin-bottom: 8px; }
  .hero-status > strong { grid-row: 2 / 4; margin: 0; font-size: 42px; }
  .hero-status > p { display: none; }
  .home-bottom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 590px) {
  .brand span:last-child { display: none; }
  .search-box { min-width: 0; }
  .stats { grid-template-columns: 1fr; }
  .section-heading > span { display: none; }
  .home-page .home-hero h1 { font-size: 38px; }
}

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

.creator-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.creator-card{display:flex;gap:13px;min-height:145px;padding:16px;color:var(--text);background:color-mix(in srgb,var(--glass) 74%,transparent);border:1px solid var(--line-bright);border-radius:8px;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 6px 20px rgba(54,79,104,.06)}.creator-card:hover{text-decoration:none;background:var(--glass-strong)}.creator-avatar{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;overflow:hidden;background:var(--brand-soft);border-radius:8px}.creator-avatar img{width:100%;height:100%;object-fit:cover}.creator-initial{font-size:19px;font-weight:800;color:var(--brand-dark)}.creator-card small{color:var(--brand);font-size:10px;font-weight:800}.creator-card h3{margin:3px 0;font-size:16px}.creator-card p{margin:0;color:var(--muted);font-size:11px}.creator-works{display:flex;flex-wrap:wrap;gap:4px;margin-top:9px}.creator-works span{padding:2px 5px;background:var(--brand-soft);border-radius:4px;color:var(--brand-dark);font-size:10px}@media(max-width:820px){.creator-grid{grid-template-columns:1fr}} 

:root{--creator-group-text:var(--brand-dark)}
.submission-content-fields{margin-top:4px;padding-top:7px;border-top:1px solid var(--line)}
