:root {
  color-scheme: dark;
  --bg: #060b16;
  --bg-deep: #040812;
  --surface: #0f172a;
  --surface-2: #111c31;
  --surface-3: #17233a;
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(14, 165, 233, 0.34);
  --text: #e5eefb;
  --text-soft: #94a3b8;
  --muted: #64748b;
  --blue: #0ea5e9;
  --blue-bright: #38bdf8;
  --blue-dark: #0284c7;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #f59e0b;
  --danger: #fb7185;
  --shadow: 0 24px 70px rgba(1, 8, 22, 0.36);
  --radius: 18px;
  --header-h: 74px;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f7fb;
  --bg-deep: #e9f0f7;
  --surface: #ffffff;
  --surface-2: #f8fbfe;
  --surface-3: #eaf2f9;
  --line: rgba(30, 64, 100, 0.14);
  --line-strong: rgba(2, 132, 199, 0.28);
  --text: #0f172a;
  --text-soft: #475569;
  --muted: #64748b;
  --shadow: 0 20px 55px rgba(46, 83, 120, 0.12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 2%, rgba(14, 165, 233, 0.09), transparent 27rem),
    var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Loading */
.page-loader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: #060b16; color: #7dd3fc; letter-spacing: .18em; font: 700 10px/1.2 ui-monospace, monospace;
  transition: opacity .35s ease, visibility .35s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-core { position: relative; display: flex; align-items: end; gap: 5px; width: 58px; height: 46px; padding: 7px; border: 1px solid rgba(56, 189, 248, .28); }
.loader-core::before, .loader-core::after { content: ""; position: absolute; width: 9px; height: 9px; border-color: #0ea5e9; }
.loader-core::before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.loader-core::after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.loader-core i { flex: 1; height: 25%; background: #0ea5e9; box-shadow: 0 0 12px #0ea5e9; animation: signal 1s ease-in-out infinite alternate; }
.loader-core i:nth-child(2) { animation-delay: .18s; }.loader-core i:nth-child(3) { animation-delay: .36s; }
@keyframes signal { to { height: 100%; background: #22d3ee; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 80; height: var(--header-h);
  border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(18px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  position: relative; width: 39px; height: 39px; flex: 0 0 auto; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue), #0369a1); color: white; box-shadow: 0 0 25px rgba(14, 165, 233, .28);
  clip-path: polygon(15% 0, 85% 0, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0 85%, 0 15%);
}
.brand-mark::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255,255,255,.28); }
.brand-mark b { position: relative; z-index: 1; font-size: 20px; line-height: 1; }
.brand-mark.has-logo { overflow: hidden; clip-path: none; border: 1px solid var(--line-strong); border-radius: 8px; background: white; }
.brand-mark.has-logo::after { display: none; }
.brand-mark.has-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { font-size: 15px; letter-spacing: .02em; }
.brand small { margin-top: 5px; color: var(--muted); font: 600 8px/1 ui-monospace, monospace; letter-spacing: .16em; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.public-nav { display: flex; align-items: center; gap: 25px; }
.nav-link { position: relative; padding: 25px 0 23px; color: var(--text-soft); font-size: 13px; font-weight: 700; }
.nav-link::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; transform: scaleX(0); background: var(--blue); transition: transform .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link.is-active::after { transform: scaleX(1); }
.admin-entry { padding: 5px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 10px; font-weight: 700; }
.admin-entry:hover { border-color: var(--line-strong); color: var(--blue); }
.public-menu-button { display: none; width: 39px; height: 39px; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); cursor: pointer; }
.theme-toggle { position: relative; width: 46px; height: 25px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface-2); cursor: pointer; }
.theme-toggle span { position: absolute; top: 4px; left: 5px; width: 15px; height: 15px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 12px rgba(14,165,233,.6); transition: transform .25s; }
:root[data-theme="light"] .theme-toggle span { transform: translateX(19px); background: var(--amber); box-shadow: 0 0 10px rgba(245,158,11,.35); }

/* Buttons and form controls */
.button {
  min-height: 46px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 9px; cursor: pointer; font-size: 13px; font-weight: 800; letter-spacing: .02em;
  transition: transform .18s, border-color .18s, background .18s, box-shadow .18s;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .48; cursor: not-allowed; transform: none; }
.button.primary { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: white; box-shadow: 0 9px 26px rgba(14,165,233,.2); }
.button.primary:hover { box-shadow: 0 10px 30px rgba(14,165,233,.34); }
.button.ghost { border-color: var(--line); background: var(--surface-2); color: var(--text-soft); }
.button.danger { border-color: rgba(251,113,133,.32); background: rgba(251,113,133,.08); color: var(--danger); }
.button.success { border-color: rgba(52,211,153,.25); background: rgba(52,211,153,.1); color: var(--green); }
.button.compact { min-height: 42px; padding-inline: 16px; }
.icon-button { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); cursor: pointer; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; outline: none;
  background: var(--surface-2); color: var(--text); transition: border-color .18s, box-shadow .18s;
}
input, select { min-height: 44px; padding: 0 13px; }
textarea { min-height: 110px; padding: 12px 13px; resize: vertical; }
input:focus, select:focus, textarea:focus, [contenteditable="true"]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14,165,233,.1); }
select { cursor: pointer; }

/* Home hero */
.hero { position: relative; min-height: 0; aspect-ratio: 8 / 3; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.hero::before, .hero::after { display: none; }
.hero-background { position: absolute; inset: 0; z-index: 0; }
.hero-background img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-grid { display: none; }
.hero-inner { position: relative; z-index: 2; display: block; padding-block: 84px; }
.hero-copy { max-width: 760px; }
.eyebrow, .section-index { color: var(--blue-bright); font: 700 10px/1.2 ui-monospace, monospace; letter-spacing: .17em; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.eyebrow span { width: 26px; height: 1px; background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.hero h1 { margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.17; letter-spacing: -.05em; font-weight: 760; }
.hero h1 em { color: var(--blue-bright); font-style: normal; text-shadow: 0 0 35px rgba(14,165,233,.18); }
.hero-copy > p { max-width: 660px; margin: 24px 0 30px; color: var(--text-soft); font-size: 16px; line-height: 1.9; }
.hero.has-banner-image .hero-copy > p { color: #cbd5e1; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero.has-banner-image h1 { color: #f8fafc; text-shadow: 0 3px 24px rgba(0,0,0,.55); }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.banner-contact { border: 1px solid rgba(255,255,255,.3); background: rgba(3,9,20,.32); color: white; backdrop-filter: blur(8px); }
.carousel-hero::after { display: none; }
.banner-slide { position: absolute; inset: 0; z-index: 0; opacity: 0; visibility: hidden; pointer-events: none; background: none; transition: opacity .65s ease, visibility .65s ease; }
.banner-slide::after { display: none; }
.banner-slide.is-active { z-index: 2; opacity: 1; visibility: visible; pointer-events: auto; }
.banner-slide .hero-background { z-index: 0; }.banner-slide .hero-inner { z-index: 2; }
.banner-slide-link { position: absolute; inset: 0; z-index: 1; display: block; cursor: pointer; }
.banner-slide-link:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: -6px; }
.banner-slide-link .hero-background { position: absolute; inset: 0; }
.carousel-hero .hero-grid { z-index: 3; pointer-events: none; }
.carousel-controls { position: absolute; z-index: 5; right: 0; bottom: 25px; left: 0; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.carousel-dots, .carousel-arrows { display: flex; align-items: center; gap: 8px; pointer-events: auto; }
.carousel-dots button { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 99px; background: rgba(148,163,184,.35); cursor: pointer; transition: width .2s, background .2s; }
.carousel-dots button.is-active { width: 52px; background: var(--blue-bright); box-shadow: 0 0 12px rgba(56,189,248,.45); }
.carousel-arrows button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(3,9,20,.5); color: white; cursor: pointer; backdrop-filter: blur(8px); }
.carousel-arrows button:hover { border-color: var(--blue-bright); color: var(--blue-bright); }
.status-indicator { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); font: 700 11px/1 ui-monospace, monospace; letter-spacing: .08em; }
.status-indicator i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(52,211,153,.08), 0 0 12px var(--green); }
.hero-panel { position: relative; height: 384px; padding: 22px; border: 1px solid var(--line-strong); border-radius: 4px 28px 4px 28px; background: linear-gradient(155deg, rgba(14,165,233,.1), transparent 50%), color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: var(--shadow), inset 0 0 40px rgba(14,165,233,.03); }
.hero-panel::before, .hero-panel::after { content: ""; position: absolute; width: 56px; height: 2px; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.hero-panel::before { top: -1px; left: 32px; }.hero-panel::after { right: 32px; bottom: -1px; }
.panel-head { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--text-soft); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .12em; }
.panel-head b { color: var(--green); }
.matrix-core { position: relative; height: 238px; display: grid; place-items: center; overflow: hidden; }
.orbit { position: absolute; border: 1px solid rgba(14,165,233,.24); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; top: 50%; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.orbit-a { width: 218px; height: 218px; animation: rotate 12s linear infinite; }
.orbit-b { width: 164px; height: 164px; border-style: dashed; animation: rotate 8s linear reverse infinite; }
.matrix-core::before, .matrix-core::after { content: ""; position: absolute; background: linear-gradient(90deg, transparent, rgba(14,165,233,.24), transparent); }
.matrix-core::before { width: 100%; height: 1px; }.matrix-core::after { height: 100%; width: 1px; }
.matrix-center { position: relative; z-index: 2; width: 124px; height: 124px; display: grid; place-content: center; justify-items: center; border: 1px solid rgba(14,165,233,.32); border-radius: 50%; background: var(--surface); box-shadow: 0 0 35px rgba(14,165,233,.11); }
.matrix-center strong { color: var(--blue-bright); font: 700 28px/1 ui-monospace, monospace; }.matrix-center span { margin-top: 10px; color: var(--muted); font-size: 10px; }
.matrix-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.matrix-stats div { padding-top: 16px; display: flex; align-items: baseline; gap: 7px; }
.matrix-stats strong { font: 700 18px/1 ui-monospace, monospace; }.matrix-stats span { color: var(--muted); font-size: 10px; }
@keyframes rotate { to { transform: rotate(360deg); } }

/* Library and cards */
.library-section { padding: 86px 0 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading h2, .process-copy h2 { margin: 10px 0 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; line-height: 1.25; }
.section-heading p { margin: 0 0 5px; color: var(--text-soft); }
.filter-bar { display: grid; grid-template-columns: minmax(260px, 1fr) 220px auto auto; gap: 10px; padding: 13px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.search-field { position: relative; }
.search-field i { position: absolute; left: 16px; top: 14px; width: 14px; height: 14px; border: 2px solid var(--muted); border-radius: 50%; pointer-events: none; }
.search-field i::after { content: ""; position: absolute; width: 6px; height: 2px; right: -5px; bottom: -2px; background: var(--muted); transform: rotate(45deg); }
.search-field input { padding-left: 43px; }
.results-meta { display: flex; justify-content: space-between; gap: 20px; margin: 24px 3px 15px; color: var(--muted); font: 600 11px/1.4 ui-monospace, monospace; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; transition: opacity .2s; }
.case-grid.is-loading { opacity: .45; }
.case-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 14px 40px rgba(1,8,20,.13); transition: transform .22s, border-color .22s, box-shadow .22s; }
.case-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 22px 55px rgba(1,8,20,.22), 0 0 28px rgba(14,165,233,.07); }
.case-card.is-pinned { border-color: rgba(14,165,233,.3); }
.case-cover { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-deep); }
.case-cover > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover .case-cover > img { transform: scale(1.035); }
.case-card-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 12px; }
.pin-badge, .medium-badge { display: inline-flex; align-items: center; min-height: 27px; padding: 5px 9px; border-radius: 6px; color: white; font-size: 10px; font-weight: 800; line-height: 1.2; }
.pin-badge { background: rgba(2,132,199,.92); box-shadow: 0 0 18px rgba(14,165,233,.18); }
.medium-badge { border: 1px solid var(--line-strong); background: var(--surface-3); color: var(--text-soft); }
.data-visual { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(14,165,233,.15), transparent 33%), linear-gradient(135deg, #081120, #0c192b); }
.data-visual::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(56,189,248,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(56,189,248,.15) 1px, transparent 1px); background-size: 26px 26px; transform: perspective(270px) rotateX(55deg) scale(1.5) translateY(35px); }
.data-visual::after { content: ""; position: absolute; width: 150%; height: 1px; background: linear-gradient(90deg, transparent, #0ea5e9, transparent); box-shadow: 0 0 16px #0ea5e9; animation: scan 3.6s linear infinite; }
.disk-ring { position: relative; z-index: 1; width: 92px; height: 92px; border: 2px solid rgba(56,189,248,.52); border-radius: 50%; box-shadow: inset 0 0 22px rgba(14,165,233,.13), 0 0 25px rgba(14,165,233,.09); }
.disk-ring::before { content: ""; position: absolute; inset: 18px; border: 1px dashed rgba(56,189,248,.5); border-radius: 50%; }.disk-ring::after { content: ""; position: absolute; inset: 37px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.signal-bars { position: absolute; z-index: 2; top: 24px; right: 27px; display: flex; align-items: end; gap: 3px; height: 19px; }.signal-bars i { width: 3px; background: var(--blue); }.signal-bars i:nth-child(1){height:30%}.signal-bars i:nth-child(2){height:70%}.signal-bars i:nth-child(3){height:45%}.signal-bars i:nth-child(4){height:100%}.signal-bars i:nth-child(5){height:60%}
.data-visual > span { position: absolute; z-index: 2; bottom: 18px; left: 21px; color: rgba(125,211,252,.62); font: 700 8px/1 ui-monospace, monospace; letter-spacing: .22em; }
@keyframes scan { from { top: -10%; } to { top: 110%; } }
.case-card-body { padding: 21px 21px 18px; }
.case-code { margin-bottom: 9px; color: var(--blue); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .12em; }
.case-card h3 { min-height: 50px; margin: 0 0 15px; font-size: 17px; line-height: 1.55; letter-spacing: -.015em; }
.case-card h3 a:hover { color: var(--blue-bright); }
.case-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 17px; }
.case-tags span { padding: 4px 8px; border-radius: 5px; background: var(--surface-3); color: var(--text-soft); font-size: 10px; }
.case-tags .fault-tag { background: rgba(245,158,11,.08); color: var(--amber); }
.case-facts { display: grid; gap: 8px; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-facts div { display: grid; grid-template-columns: 65px 1fr; gap: 8px; }.case-facts dt { color: var(--muted); font-size: 11px; }.case-facts dd { margin: 0; text-align: right; color: var(--text); font-size: 11px; font-weight: 650; overflow-wrap: anywhere; }
.case-card-footer { display: flex; align-items: center; gap: 12px; margin-top: 14px; color: var(--muted); font-size: 9px; }.case-card-footer span:last-child { margin-left: auto; }
.case-cover-admin-preview { position: relative; display: grid; place-items: center; min-height: 150px; margin-top: 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-deep); color: var(--muted); text-align: center; }.case-cover-admin-preview img { width: min(100%, 540px); aspect-ratio: 3 / 2; object-fit: cover; }.case-cover-admin-preview small { position: absolute; right: 8px; bottom: 8px; padding: 5px 7px; border-radius: 5px; background: rgba(2,6,15,.78); color: white; font-size: 8px; }
.empty-state { padding: 80px 20px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.empty-state h3 { margin: 18px 0 5px; }.empty-state p { margin: 0; color: var(--text-soft); }
.empty-radar { width: 72px; height: 72px; margin: auto; border: 1px solid var(--line-strong); border-radius: 50%; background: conic-gradient(from 0deg, rgba(14,165,233,.4), transparent 25%); animation: rotate 2s linear infinite; }
.pagination { display: flex; justify-content: center; gap: 7px; margin-top: 35px; }
.pagination button { min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; }
.pagination button.is-current { border-color: var(--blue); background: var(--blue); color: white; }.pagination button:disabled { opacity: .35; cursor: not-allowed; }
.pagination span { display: grid; place-items: center; width: 30px; color: var(--muted); }
.inline-error { grid-column: 1 / -1; padding: 30px; border: 1px solid rgba(251,113,133,.25); color: var(--danger); background: rgba(251,113,133,.06); }
.testimonial-section { padding: 86px 0 96px; border-top: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(14,165,233,.035), transparent 45%), var(--surface-2); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.testimonial-card { position: relative; min-height: 235px; padding: 28px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 18px 42px rgba(2,8,23,.12); }
.testimonial-card::after { content: ""; position: absolute; right: -40px; bottom: -55px; width: 140px; height: 140px; border: 1px solid rgba(14,165,233,.12); border-radius: 50%; }
.testimonial-quote { position: relative; z-index: 1; height: 38px; color: var(--blue-bright); font: 800 50px/.8 Georgia, serif; text-shadow: 0 0 20px rgba(14,165,233,.2); }
.testimonial-card > p { position: relative; z-index: 1; flex: 1; margin: 14px 0 25px; color: var(--text-soft); font-size: 13px; line-height: 1.95; }
.testimonial-card footer { position: relative; z-index: 1; padding-top: 17px; display: flex; align-items: end; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); }
.testimonial-card footer div { display: flex; flex-direction: column; gap: 5px; }.testimonial-card footer strong { font-size: 12px; }.testimonial-card footer span { color: var(--muted); font-size: 9px; }.testimonial-card footer a { color: var(--blue-bright); font-size: 9px; white-space: nowrap; }
.testimonial-empty { padding: 55px 20px; border: 1px dashed var(--line); border-radius: 13px; color: var(--muted); text-align: center; font-size: 11px; }

/* Process and footer */
.process-section { padding: 90px 0; border-top: 1px solid var(--line); background: var(--bg-deep); }
.process-section, .solution-section, .library-section, .about-section, .contact-section { scroll-margin-top: var(--header-h); }
.process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.process-copy p { margin: 21px 0 0; color: var(--text-soft); line-height: 1.9; }
.process-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.process-list li { display: flex; align-items: center; gap: 15px; min-height: 100px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.process-list b { color: var(--blue); font: 700 12px/1 ui-monospace, monospace; }.process-list div { display: flex; flex-direction: column; }.process-list strong { font-size: 14px; }.process-list span { margin-top: 5px; color: var(--muted); font-size: 11px; }
.solution-section { padding: 90px 0; border-top: 1px solid var(--line); background: var(--bg); }
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.solution-grid article { position: relative; min-height: 245px; padding: 23px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(150deg, rgba(14,165,233,.07), transparent 55%), var(--surface); transition: transform .2s, border-color .2s; }
.solution-grid article:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.solution-grid article > span { color: var(--blue); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .12em; }
.solution-grid article > b { position: absolute; right: 17px; top: 13px; color: color-mix(in srgb, var(--text) 7%, transparent); font: 800 58px/1 ui-monospace, monospace; }
.solution-grid h3 { position: relative; margin: 64px 0 12px; font-size: 17px; }
.solution-grid p { min-height: 58px; margin: 0 0 20px; color: var(--text-soft); font-size: 11px; line-height: 1.8; }
.solution-grid a { color: var(--blue-bright); font-size: 10px; font-weight: 750; }
.about-section { padding: 86px 0; border-top: 1px solid var(--line); background: var(--surface); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.about-grid h2 { max-width: 520px; margin: 12px 0 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.35; letter-spacing: -.04em; }
.about-grid p { margin: 0; color: var(--text-soft); font-size: 15px; line-height: 2; }
.about-grid ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; margin: 24px 0 0; list-style: none; }
.about-grid li { padding: 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--text-soft); text-align: center; font-size: 10px; }
.contact-section { padding: 78px 0; border-top: 1px solid var(--line-strong); background: radial-gradient(circle at 15% 40%, rgba(14,165,233,.13), transparent 33%), var(--bg-deep); }
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: center; }
.contact-layout h2 { margin: 13px 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.35; letter-spacing: -.04em; }
.contact-layout > div:first-child p { margin: 0; color: var(--muted); font-size: 11px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.contact-grid > * { min-height: 82px; padding: 15px 17px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.contact-grid a:hover { border-color: var(--line-strong); }
.contact-grid span { margin-bottom: 5px; color: var(--muted); font-size: 9px; }
.contact-grid strong { font-size: 13px; overflow-wrap: anywhere; }
.contact-grid .contact-empty { grid-column: 1 / -1; }
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-inner { min-height: 110px; display: grid; grid-template-columns: 1fr 1.3fr auto; align-items: center; gap: 35px; color: var(--muted); font-size: 10px; }
.footer-inner > div { display: flex; flex-direction: column; }.footer-inner strong { color: var(--text); font-size: 12px; }.footer-inner p { margin: 0; }
.extended-footer { padding-top: 58px; }
.footer-main-grid { display: grid; grid-template-columns: 1.05fr 1.35fr .8fr; gap: 55px; padding-bottom: 44px; }
.footer-main-grid h3 { margin: 0 0 18px; color: var(--text); font-size: 13px; }
.footer-brand-block > p { max-width: 320px; margin: 20px 0 0; color: var(--muted); font-size: 11px; }
.footer-contact-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.footer-contact-list > * { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.footer-contact-list span { display: block; color: var(--muted); font-size: 9px; }.footer-contact-list strong { display: block; margin-top: 4px; color: var(--text-soft); font-size: 11px; overflow-wrap: anywhere; }
.footer-contact-list a:hover { border-color: var(--line-strong); }
.wechat-qr-contact { width: fit-content; max-width: 100%; margin-top: 20px; padding: 10px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(14,165,233,.34); border-radius: 11px; background: linear-gradient(135deg, rgba(14,165,233,.11), var(--surface)); box-shadow: 0 8px 24px rgba(2,132,199,.08); }
.wechat-qr-contact[hidden] { display: none; }
.wechat-qr-contact img { width: 92px; height: 92px; flex: 0 0 92px; padding: 4px; object-fit: contain; border-radius: 8px; background: #fff; }
.wechat-qr-contact span { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.wechat-qr-contact strong { color: var(--text); font-size: 13px; }
.wechat-qr-contact small { color: var(--muted); font-size: 9px; line-height: 1.55; overflow-wrap: anywhere; }
.friend-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }.friend-links a, .friend-links span { color: var(--text-soft); font-size: 11px; }.friend-links a:hover { color: var(--blue-bright); }
.site-counter-strip { padding-block: 18px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; border-top: 1px solid var(--line); }
.site-counter-strip > div { min-height: 76px; padding: 15px 18px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(120deg, rgba(14,165,233,.075), transparent 64%), var(--surface); }
.site-counter-strip span { margin-bottom: 6px; color: var(--muted); font-size: 9px; letter-spacing: .07em; }.site-counter-strip strong { color: var(--text-soft); font-size: 12px; font-weight: 650; }.site-counter-strip b { color: var(--blue-bright); font: 800 18px/1 ui-monospace, monospace; }
.footer-bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }.footer-bottom p { margin: 0; }

/* Secondary public pages */
.inner-hero { position: relative; overflow: hidden; padding: 88px 0 82px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 30%, rgba(14,165,233,.14), transparent 27rem), var(--bg-deep); }
.inner-hero::after { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, black 48%, transparent); }
.inner-hero .container { position: relative; z-index: 1; }.inner-hero h1 { max-width: 780px; margin: 16px 0 17px; white-space: pre-line; font-size: clamp(38px, 5vw, 60px); line-height: 1.18; letter-spacing: -.05em; }.inner-hero p { max-width: 680px; margin: 0; color: var(--text-soft); font-size: 15px; line-height: 1.9; }
.inner-page-section { padding: 90px 0; border-top: 1px solid var(--line); background: var(--bg); }
.service-detail-grid, .value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.service-detail-grid article, .value-grid article { min-height: 190px; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.service-detail-grid b { color: var(--blue); font: 700 11px/1 ui-monospace, monospace; }.service-detail-grid h3 { margin: 45px 0 10px; font-size: 16px; }.service-detail-grid p, .value-grid p { margin: 0; color: var(--text-soft); font-size: 11px; line-height: 1.8; }
.secondary-page-media-section { padding: 82px 0; border-top: 1px solid var(--line); background: var(--surface-2); }.secondary-page-media-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }.secondary-page-media-item { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: 13px; background: var(--bg-deep); box-shadow: var(--shadow); }.secondary-page-media-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }.secondary-page-media-item:hover img { transform: scale(1.025); }.secondary-page-media-item.video { grid-column: span 2; aspect-ratio: auto; }.secondary-page-media-item video { width: 100%; max-height: 520px; background: #000; }
.secondary-shared-banner { border-bottom: 1px solid var(--line-strong); }
.service-page-intro { max-width: 860px; margin-bottom: 62px; padding: 0 0 34px; border-bottom: 1px solid var(--line); }
.service-page-intro h1 { max-width: 820px; margin: 12px 0 16px; font-size: clamp(32px,5vw,58px); line-height: 1.12; letter-spacing: -.045em; }
.service-page-intro > p { max-width: 760px; margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.9; }
.service-page-note { margin-top: 20px; padding: 13px 16px; border-left: 3px solid var(--green); border-radius: 0 8px 8px 0; background: rgba(52,211,153,.07); color: var(--text-soft); font-size: 11px; line-height: 1.8; }.service-page-note strong { color: var(--green); }
.capability-showcase-section .service-detail-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.capability-showcase-section .service-detail-grid article { min-height: 0; padding: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr; border-color: var(--line-strong); box-shadow: 0 18px 42px rgba(2,8,23,.16); }
.capability-visual, .process-step-visual { overflow: hidden; background: var(--bg-deep); }
.capability-visual { aspect-ratio: 16 / 9; }
.capability-visual img, .process-step-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.capability-showcase-card:hover .capability-visual img, .process-showcase-card:hover .process-step-visual img { transform: scale(1.035); }
.capability-card-copy { position: relative; padding: 25px 26px 28px; }
.capability-card-copy b { display: block; margin-bottom: 30px; color: var(--blue); font: 700 11px/1 ui-monospace, monospace; }
.capability-showcase-section .service-detail-grid h3 { margin: 0 0 11px; font-size: 19px; }
.capability-showcase-section .service-detail-grid p { font-size: 12px; line-height: 1.85; }
.service-visual-placeholder { min-height: 100%; }
.secondary-inline-media { margin-top: 65px; padding-top: 45px; border-top: 1px solid var(--line); }.secondary-inline-media .section-heading.compact { margin-bottom: 22px; }
.process-showcase-section .section-heading { margin-bottom: 34px; }
.process-showcase-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.process-showcase-grid .process-showcase-card { min-height: 0; padding: 0; display: grid; grid-template-columns: 185px 1fr; align-items: stretch; overflow: hidden; border-color: var(--line-strong); }
.process-step-visual { min-height: 0; aspect-ratio: 4 / 3; }
.process-step-copy { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.process-step-copy b { margin-bottom: 24px; }.process-step-copy strong { font-size: 16px; }.process-step-copy span { margin-top: 8px; font-size: 11px; line-height: 1.75; }
.process-flow-image { margin-top: 26px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--bg-deep); box-shadow: 0 22px 54px rgba(2,8,23,.2), 0 0 30px rgba(14,165,233,.06); }
.process-flow-image a { display: block; }
.process-flow-image img { display: block; width: 100%; height: auto; }
.process-flow-empty { min-height: 240px; display: grid; place-items: center; color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.secondary-case-section { border-top: 1px solid var(--line-strong); }
.secondary-case-actions { margin-top: 28px; display: flex; justify-content: center; }
.value-grid article { min-height: 150px; }.value-grid strong { display: block; margin-bottom: 15px; color: var(--blue-bright); font-size: 15px; }
.alert-strip { padding: 17px 0; border-bottom: 1px solid rgba(245,158,11,.2); background: rgba(245,158,11,.07); }
.alert-strip .container { display: flex; align-items: flex-start; gap: 9px; color: var(--text-soft); font-size: 11px; }.alert-strip strong { flex: 0 0 auto; color: var(--amber); }
.alert-strip.authorization { border-color: rgba(14,165,233,.22); background: rgba(14,165,233,.07); }.alert-strip.authorization strong { color: var(--blue-bright); }
.safety-list.large { padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }.safety-list.large li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }.safety-list.large li:last-child { border-bottom: 0; }

/* Case detail */
.detail-hero { padding: 54px 0 43px; border-bottom: 1px solid var(--line); background: linear-gradient(130deg, rgba(14,165,233,.08), transparent 45%); }
.breadcrumbs { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }.breadcrumbs a:hover { color: var(--blue); }
.detail-title-row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: 29px; }
.detail-title-row h1 { max-width: 850px; margin: 12px 0 0; font-size: clamp(28px, 4.5vw, 48px); line-height: 1.28; letter-spacing: -.045em; }
.detail-status { display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(52,211,153,.22); border-radius: 8px; background: rgba(52,211,153,.06); color: var(--green); font-size: 11px; font-weight: 700; }
.detail-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 325px; gap: 30px; padding-block: 42px 90px; align-items: start; }
.detail-main { min-width: 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 28px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.info-grid div { min-width: 0; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.info-grid div:nth-child(3n) { border-right: 0; }.info-grid div:nth-last-child(-n+3) { border-bottom: 0; }
.info-grid dt { margin-bottom: 7px; color: var(--muted); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .09em; }.info-grid dd { margin: 0; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }.info-grid .result-value { color: var(--green); }
.content-panel { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.content-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }.content-panel-head h2 { margin: 0; font-size: 20px; }.content-panel-head span { color: var(--muted); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .12em; }
.rich-content { color: var(--text-soft); font-size: 15px; line-height: 2; overflow-wrap: anywhere; }.rich-content h2, .rich-content h3 { margin: 34px 0 11px; color: var(--text); line-height: 1.4; }.rich-content h2 { padding-left: 13px; border-left: 3px solid var(--blue); font-size: 20px; }.rich-content h3 { font-size: 17px; }.rich-content p { margin: 0 0 16px; }.rich-content blockquote { margin: 24px 0; padding: 17px 20px; border-left: 3px solid var(--cyan); background: var(--surface-2); color: var(--text); }.rich-content img { margin: 24px auto; border-radius: 12px; border: 1px solid var(--line); }.rich-content a { color: var(--blue); text-decoration: underline; }
.media-section, .comments-section { margin-top: 28px; }
.subsection-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 15px; }.subsection-heading h2 { margin: 0; font-size: 20px; }.subsection-heading span { color: var(--muted); font-size: 10px; }
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.media-item { position: relative; overflow: hidden; min-height: 230px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); cursor: zoom-in; }.media-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }.media-item:hover img { transform: scale(1.025); }.media-item.video { grid-column: 1 / -1; cursor: default; }.media-item video { width: 100%; max-height: 520px; background: #000; }
.media-item.bilibili-video { grid-column: 1 / -1; min-height: 0; cursor: default; background: #070b16; }.bilibili-video-head { min-height: 64px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); background: linear-gradient(115deg,rgba(0,174,236,.12),transparent 58%); }.bilibili-video-head > div { min-width: 0; }.bilibili-video-head span { display: block; margin-bottom: 5px; color: #00aeec; font: 700 8px/1 var(--mono); letter-spacing: .08em; }.bilibili-video-head strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.bilibili-video-head a { flex: 0 0 auto; color: #7dd3fc; font-size: 9px; }.bilibili-player-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }.bilibili-player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.no-media { min-height: 220px; border-radius: 13px; overflow: hidden; }
.detail-sidebar { position: sticky; top: calc(var(--header-h) + 22px); display: grid; gap: 18px; }
.side-card { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }.side-card h3 { margin: 0 0 16px; font-size: 14px; }.side-card > p { color: var(--text-soft); font-size: 12px; }
.metrics-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 16px; }.metrics-list div { text-align: center; border-right: 1px solid var(--line); }.metrics-list div:last-child { border: 0; }.metrics-list strong { display: block; color: var(--blue-bright); font: 700 18px/1 ui-monospace, monospace; }.metrics-list span { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; }
.interaction-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.interaction-buttons .button { padding: 0 10px; }.interaction-buttons .button.is-liked { border-color: var(--blue); color: var(--blue); background: rgba(14,165,233,.08); }
.share-notice { min-height: 16px; margin: 9px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; text-align: center; }.share-notice[data-tone="success"] { color: var(--green); }.share-notice[data-tone="warning"] { color: #fbbf24; }.share-notice[data-tone="danger"] { color: var(--danger); }
.case-interaction-footer { display: grid; grid-template-columns: minmax(0,1fr) 315px; align-items: center; gap: 28px; margin-top: 28px; padding: 26px 28px; border: 1px solid rgba(14,165,233,.3); border-radius: 15px; background: linear-gradient(125deg,rgba(14,165,233,.11),var(--surface) 62%); box-shadow: var(--shadow); }.interaction-footer-copy > span { color: var(--blue); font: 700 9px/1 var(--mono); letter-spacing: .13em; }.interaction-footer-copy h2 { margin: 9px 0 7px; font-size: 20px; }.interaction-footer-copy p { margin: 0; color: var(--text-soft); font-size: 11px; }.interaction-footer-panel .metrics-list { margin-bottom: 13px; }
.related-side-card { padding: 18px; }.related-side-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }.related-side-heading span { display: block; margin-bottom: 6px; color: var(--blue); font: 700 8px/1 var(--mono); letter-spacing: .12em; }.related-side-heading h3 { margin: 0; }.related-side-heading a { color: var(--blue); font-size: 9px; }.sidebar-related-list { display: grid; gap: 9px; }.sidebar-related-card { display: grid; grid-template-columns: 108px minmax(0,1fr); min-height: 72px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); transition: transform .2s,border-color .2s,box-shadow .2s; }.sidebar-related-card:hover { transform: translateY(-2px); border-color: rgba(14,165,233,.42); box-shadow: 0 10px 26px rgba(14,165,233,.09); }.sidebar-related-cover { min-height: 72px; aspect-ratio: 3 / 2; overflow: hidden; background: #07111f; }.sidebar-related-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }.sidebar-related-card:hover img { transform: scale(1.04); }.related-cover-placeholder { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 72px; overflow: hidden; color: rgba(125,211,252,.78); font: 700 7px/1.35 var(--mono); letter-spacing: .08em; text-align: center; background: radial-gradient(circle at 50% 45%,rgba(14,165,233,.22),transparent 48%),#07111f; }.related-cover-placeholder i { position: absolute; width: 42px; height: 42px; border: 1px solid rgba(14,165,233,.3); border-radius: 50%; box-shadow: 0 0 18px rgba(14,165,233,.1); }.related-cover-placeholder span { position: relative; }.sidebar-related-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 9px 10px; }.sidebar-related-copy > span { align-self: flex-start; display: block; padding: 3px 6px; border-radius: 4px; background: rgba(14,165,233,.08); color: var(--blue); font-size: 8px; font-weight: 700; line-height: 1.25; }.sidebar-related-copy h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin: 6px 0 0; font-size: 11px; line-height: 1.45; }
.comment-form { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }.comment-form-grid { display: grid; grid-template-columns: 180px minmax(0,1fr) 150px; grid-template-rows: auto auto; gap: 10px; align-items: stretch; }.comment-form label > span:first-child { display: block; margin-bottom: 6px; color: var(--muted); font-size: 10px; }.comment-nickname-field { grid-column: 1; grid-row: 1; }.comment-captcha-field { grid-column: 1; grid-row: 2; }.comment-content-field { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; }.comment-form textarea { flex: 1; min-height: 116px; }.comment-form .button { grid-column: 3; grid-row: 1 / 3; min-height: 100%; }.captcha-control { display: grid !important; grid-template-columns: minmax(65px,1fr) 104px; gap: 7px; margin: 0 !important; }.captcha-control input { min-width: 0; height: 58px; padding-inline: 9px; text-align: center; text-transform: uppercase; letter-spacing: .08em; }.captcha-control button { position: relative; height: 58px; padding: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: #071426; cursor: pointer; }.captcha-control button:disabled { opacity: .6; cursor: wait; }.captcha-control img { display: block; width: 100%; height: 41px; object-fit: cover; }.captcha-control small { display: block; height: 16px; color: #bae6fd; font-size: 8px; line-height: 16px; background: rgba(14,165,233,.16); }.comment-notice { margin: 10px 0 0; color: var(--muted); font-size: 10px; }
.comment-list { display: grid; gap: 10px; margin-top: 13px; }.comment-item { padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }.comment-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }.comment-meta strong { font-size: 12px; }.comment-meta time { color: var(--muted); font-size: 9px; }.comment-item > p { margin: 0; color: var(--text-soft); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }.comment-admin-reply { margin-top: 15px; padding: 14px 15px; border-left: 3px solid var(--blue); border-radius: 0 9px 9px 0; background: linear-gradient(100deg,rgba(14,165,233,.1),var(--surface-2)); }.comment-admin-reply > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 7px; }.comment-admin-reply strong { color: var(--blue-bright); font-size: 10px; }.comment-admin-reply time { color: var(--muted); font-size: 8px; }.comment-admin-reply p { margin: 0; color: var(--text-soft); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; line-height: 1.75; }.comment-empty { padding: 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
.lightbox { width: min(1000px, calc(100% - 30px)); padding: 0; border: 0; border-radius: 14px; background: #030712; box-shadow: 0 30px 100px rgba(0,0,0,.7); }.lightbox::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(6px); }.lightbox img { width: 100%; max-height: 85vh; object-fit: contain; }.lightbox button { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(0,0,0,.58); color: white; cursor: pointer; font-size: 20px; }
.share-dialog { width: min(540px, calc(100% - 28px)); padding: 0; border: 1px solid rgba(14,165,233,.34); border-radius: 15px; background: var(--surface); color: var(--text); box-shadow: 0 28px 90px rgba(0,0,0,.5); }.share-dialog::backdrop { background: rgba(2,6,23,.78); backdrop-filter: blur(6px); }.share-dialog-card { padding: 28px; }.share-dialog-card > span { color: var(--blue); font: 700 9px/1 var(--mono); letter-spacing: .13em; }.share-dialog-card h2 { margin: 10px 0 8px; font-size: 22px; }.share-dialog-card > p { margin: 0 0 20px; color: var(--text-soft); font-size: 11px; line-height: 1.8; }.share-dialog-card label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; }.share-dialog-card input { width: 100%; }.share-dialog-card .share-dialog-notice { min-height: 18px; margin: 9px 0 0; color: var(--muted); font-size: 10px; }.share-dialog-card .share-dialog-notice[data-tone="success"] { color: var(--green); }.share-dialog-card .share-dialog-notice[data-tone="danger"] { color: var(--danger); }.share-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 18px; }
.share-wechat-layout { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 18px; align-items: center; margin-bottom: 20px; padding: 16px; border: 1px solid rgba(14,165,233,.24); border-radius: 12px; background: linear-gradient(135deg,rgba(14,165,233,.08),var(--surface-2)); }.share-wechat-qr { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; padding: 9px; border-radius: 10px; background: white; }.share-wechat-qr img { display: block; width: 100%; height: 100%; object-fit: contain; }.share-wechat-qr > span { position: absolute; inset: 9px; display: grid; place-items: center; color: #475569; font-size: 10px; text-align: center; background: rgba(255,255,255,.94); }.share-wechat-qr.is-ready > span { display: none; }.share-wechat-qr.is-error > span { color: #be123c; }.share-wechat-guide strong { display: block; margin-bottom: 10px; font-size: 13px; }.share-wechat-guide ol { margin: 0; padding-left: 18px; color: var(--text-soft); font-size: 11px; line-height: 2; }.share-dialog[data-mode="wechat"] .share-wechat-layout { grid-template-columns: 1fr; }.share-dialog[data-mode="wechat"] .share-wechat-qr { display: none; }.share-dialog[data-mode="wechat"] .share-wechat-guide { padding: 18px; border: 1px solid rgba(34,197,94,.3); border-radius: 10px; background: rgba(34,197,94,.08); }
@media (max-width: 520px) { .share-dialog-card { padding: 22px 18px; }.share-wechat-layout { grid-template-columns: 1fr; }.share-wechat-qr { width: min(240px,100%); margin-inline: auto; }.share-dialog-actions { grid-template-columns: 1fr; } }
.detail-contact-bar { padding: 23px 0; border-top: 1px solid var(--line-strong); background: rgba(14,165,233,.07); }
.detail-contact-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.detail-contact-bar strong { font-size: 13px; }.detail-contact-bar .container > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; color: var(--text-soft); font-size: 11px; }.detail-contact-bar a:hover { color: var(--blue); }

/* 全站快捷咨询：桌面端悬浮在右侧，移动端固定在底部拇指可达区域。 */
.contact-dock { position: fixed; right: 10px; bottom: 24px; z-index: 70; width: 64px; overflow: hidden; border: 1px solid rgba(14,165,233,.42); border-radius: 13px; background: rgba(8,20,38,.94); box-shadow: 0 16px 48px rgba(2,8,23,.34), 0 0 26px rgba(14,165,233,.12); backdrop-filter: blur(16px); transition: width .22s ease; }
.contact-dock:hover,.contact-dock:focus-within { width: 196px; }
[data-theme="light"] .contact-dock { background: rgba(255,255,255,.96); }
.contact-dock a,.contact-dock button { width: 100%; min-height: 58px; padding: 11px 14px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; border: 0; color: var(--text); text-align: left; background: transparent; cursor: pointer; }
.contact-dock a + button,.contact-dock button + a { border-top: 1px solid var(--line); }
.contact-dock a:hover,.contact-dock button:hover { background: rgba(14,165,233,.12); }
.contact-dock small { color: var(--blue-bright); font-size: 9px; letter-spacing: .08em; white-space: nowrap; }.contact-dock strong { display: none; font-size: 11px; overflow-wrap: anywhere; }.contact-dock:hover strong,.contact-dock:focus-within strong { display: block; }
.contact-dialog { width: min(440px,calc(100vw - 30px)); padding: 0; border: 1px solid rgba(14,165,233,.35); border-radius: 16px; color: var(--text); background: var(--surface); box-shadow: 0 24px 80px rgba(2,8,23,.5); }
.contact-dialog::backdrop { background: rgba(2,8,23,.72); backdrop-filter: blur(5px); }.contact-dialog-card { position: relative; padding: 32px; text-align: center; }.contact-dialog-card h2 { margin: 10px 0 20px; font-size: 20px; }.contact-dialog-card img { width: min(260px,100%); aspect-ratio: 1; padding: 8px; object-fit: contain; border-radius: 12px; background: #fff; }.contact-dialog-card p { margin: 16px 0 7px; color: var(--text-soft); }.contact-dialog-card small { color: var(--muted); line-height: 1.7; }.contact-dialog-close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border: 0; color: var(--muted); font-size: 26px; background: transparent; cursor: pointer; }

/* Admin */
.admin-body { min-height: 100vh; background: var(--bg-deep); }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.login-visual { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 58px; background: linear-gradient(145deg, #06101f, #0c2137); color: #e5eefb; }
.login-visual::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(56,189,248,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(56,189,248,.2) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(135deg, black, transparent 75%); }
.login-brand, .login-hero, .login-foot { position: relative; z-index: 1; }.login-hero { max-width: 600px; }.login-hero h1 { margin: 17px 0; font-size: clamp(36px, 5vw, 60px); line-height: 1.13; letter-spacing: -.05em; }.login-hero h1 span { color: #38bdf8; }.login-hero p { max-width: 520px; color: #94a3b8; font-size: 15px; }.login-foot { color: #64748b; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .15em; }
.login-panel { display: grid; place-items: center; padding: 35px; background: var(--bg); }.login-card { width: min(410px, 100%); }.login-card h2 { margin: 22px 0 5px; font-size: 28px; }.login-card > p { margin: 0 0 27px; color: var(--text-soft); }.form-stack { display: grid; gap: 16px; }.form-stack label > span, .field > span { display: block; margin-bottom: 7px; color: var(--text-soft); font-size: 11px; font-weight: 650; }.login-card .button { width: 100%; margin-top: 5px; }.login-tip { margin-top: 20px; padding: 12px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: 10px; }.login-error { min-height: 22px; margin: 7px 0 0; color: var(--danger); font-size: 11px; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 245px 1fr; }
.admin-sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: 245px; padding: 24px 16px; border-right: 1px solid var(--line); background: var(--surface); }
.admin-brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 24px; border-bottom: 1px solid var(--line); }.admin-brand span:last-child { display: flex; flex-direction: column; line-height: 1.3; }.admin-brand strong { font-size: 13px; }.admin-brand small { margin-top: 3px; color: var(--muted); font-size: 8px; letter-spacing: .1em; }
.admin-nav { display: grid; gap: 6px; margin-top: 23px; }.admin-nav button { min-height: 45px; padding: 0 13px; display: flex; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--text-soft); cursor: pointer; text-align: left; font-size: 12px; font-weight: 700; }.admin-nav button b { width: 23px; color: var(--muted); font: 700 10px/1 ui-monospace, monospace; }.admin-nav button:hover { background: var(--surface-2); color: var(--text); }.admin-nav button.is-active { border-color: rgba(14,165,233,.2); background: rgba(14,165,233,.08); color: var(--blue-bright); }.admin-nav button.is-active b { color: var(--blue); }
.admin-sidebar-foot { position: absolute; right: 16px; bottom: 21px; left: 16px; }.admin-sidebar-foot a, .admin-sidebar-foot button { width: 100%; min-height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--text-soft); cursor: pointer; font-size: 10px; }.admin-sidebar-foot button { margin-top: 7px; }
.admin-main { grid-column: 2; min-width: 0; }.admin-topbar { position: sticky; top: 0; z-index: 30; height: 70px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg-deep) 86%, transparent); backdrop-filter: blur(15px); }.admin-topbar h1 { margin: 0; font-size: 16px; }.admin-user { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: 11px; }.user-dot { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(14,165,233,.08); color: var(--blue); font-weight: 800; }
.mobile-menu { display: none; }
.admin-content { padding: 30px; }.admin-section { display: none; }.admin-section.is-active { display: block; animation: reveal .22s ease; } @keyframes reveal { from { opacity: 0; transform: translateY(4px); } }
.admin-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }.admin-section-head h2 { margin: 0; font-size: 24px; }.admin-section-head p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }.stat-card { position: relative; overflow: hidden; min-height: 132px; padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }.stat-card::after { content: ""; position: absolute; right: -20px; bottom: -45px; width: 105px; height: 105px; border: 1px solid rgba(14,165,233,.13); border-radius: 50%; }.stat-card span { color: var(--muted); font-size: 10px; }.stat-card strong { display: block; margin: 15px 0 5px; font: 700 30px/1 ui-monospace, monospace; }.stat-card small { color: var(--green); font-size: 9px; }
.admin-panel { margin-top: 18px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: var(--surface); }.admin-panel-head { min-height: 56px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.admin-panel-head h3 { margin: 0; font-size: 13px; }.admin-panel-head span { color: var(--muted); font-size: 9px; }
.table-wrap { width: 100%; overflow-x: auto; }.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; }.data-table th { padding: 12px 15px; border-bottom: 1px solid var(--line); background: var(--surface-2); color: var(--muted); text-align: left; font-size: 9px; letter-spacing: .05em; }.data-table td { padding: 14px 15px; border-bottom: 1px solid var(--line); color: var(--text-soft); font-size: 11px; }.data-table tr:last-child td { border-bottom: 0; }.data-table td.title-cell { max-width: 340px; white-space: normal; color: var(--text); font-weight: 650; }.table-actions { display: flex; gap: 5px; }.table-actions button { min-height: 29px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); color: var(--text-soft); cursor: pointer; font-size: 9px; }.table-actions button:hover { border-color: var(--blue); color: var(--blue); }.table-actions button.danger-text:hover { border-color: var(--danger); color: var(--danger); }
.status-badge { display: inline-flex; padding: 4px 7px; border-radius: 99px; font-size: 9px; font-weight: 700; }.status-badge.pending { background: rgba(245,158,11,.1); color: var(--amber); }.status-badge.approved, .status-badge.active { background: rgba(52,211,153,.1); color: var(--green); }.status-badge.rejected, .status-badge.inactive { background: rgba(251,113,133,.1); color: var(--danger); }.status-badge.pinned { background: rgba(14,165,233,.1); color: var(--blue); }
.dictionary-category-form { margin-bottom: 18px; padding: 20px; border: 1px solid rgba(14,165,233,.26); border-radius: 13px; background: linear-gradient(135deg, rgba(14,165,233,.07), var(--surface) 58%); box-shadow: inset 0 1px rgba(255,255,255,.025); }.dictionary-category-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }.dictionary-category-head h3 { margin: 0 0 7px; font-size: 15px; }.dictionary-category-head p { max-width: 860px; margin: 0; color: var(--text-soft); font-size: 11px; line-height: 1.7; }.dictionary-category-head .button { flex: 0 0 auto; }.dictionary-category-add { display: grid; grid-template-columns: minmax(210px,.8fr) minmax(300px,1fr) auto; align-items: end; gap: 12px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }.dictionary-category-add .button { min-height: 42px; }.dictionary-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }.dictionary-category-item { display: grid; grid-template-columns: minmax(0,1fr) 90px; gap: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }.category-service-scopes { grid-column: 1 / -1; }.category-service-scopes > span { display: block; margin-bottom: 7px; color: var(--text-soft); font-size: 11px; font-weight: 650; }.dictionary-category-item .category-item-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; color: var(--text-soft); font-size: 10px; }.dictionary-category-item .category-item-actions { grid-column: 1 / -1; display: flex; gap: 8px; }.dictionary-category-item .category-item-actions .button { flex: 1; min-height: 36px; }.dictionary-category-archived { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }.dictionary-category-archived h4 { margin: 0 0 10px; color: var(--text-soft); font-size: 11px; }.dictionary-category-archived > div { display: flex; flex-wrap: wrap; gap: 8px; }.dictionary-category-archived-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 11px; }.dictionary-category-archived-item small { color: var(--muted); }.dictionary-category-archived-item button { border: 0; background: transparent; color: var(--blue); cursor: pointer; }.case-dictionary-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }.dictionary-waiting-note { grid-column: 1 / -1; }
.dictionary-layout { display: grid; grid-template-columns: 260px 1fr; gap: 18px; }.dictionary-form { padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); align-self: start; }.dictionary-form h3 { margin: 0 0 17px; font-size: 14px; }.dictionary-form .button { width: 100%; margin-top: 14px; }.dictionary-tabs, .comment-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }.dictionary-tabs button, .comment-filters button { min-height: 35px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text-soft); cursor: pointer; font-size: 10px; }.dictionary-tabs button small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 8px; }.dictionary-tabs button.is-active, .comment-filters button.is-active { border-color: var(--blue); background: rgba(14,165,233,.08); color: var(--blue); }.dictionary-tabs button.is-active small { color: var(--blue); }
.primary-dictionary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }.primary-dictionary-grid article { min-height: 112px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg,rgba(14,165,233,.08),var(--surface) 68%); }.primary-dictionary-grid span { display: block; color: var(--blue); font: 700 9px/1.4 var(--mono); letter-spacing: .12em; }.primary-dictionary-grid strong { display: block; margin: 10px 0 7px; font-size: 14px; }.primary-dictionary-grid small { display: block; color: var(--text-soft); font-size: 10px; line-height: 1.6; }.secondary-choice-panel { grid-column: 1 / -1; overflow: hidden; border: 1px solid rgba(14,165,233,.28); border-radius: 12px; background: var(--surface); }.secondary-choice-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(14,165,233,.055); }.secondary-choice-head strong,.secondary-choice-head small { display: block; }.secondary-choice-head strong { font-size: 12px; }.secondary-choice-head small { margin-top: 4px; color: var(--text-soft); font-size: 9px; }.secondary-choice-head > span { padding: 6px 9px; border: 1px solid rgba(14,165,233,.32); border-radius: 999px; color: var(--blue); font-size: 9px; }.secondary-option-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; padding: 14px; }.secondary-option { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); cursor: pointer; transition: border-color .2s,background .2s; }.secondary-option:hover { border-color: rgba(14,165,233,.45); background: rgba(14,165,233,.05); }.secondary-option input { width: 17px; height: 17px; accent-color: var(--blue); }.secondary-option span { font-size: 11px; }
.testimonial-admin-layout { display: grid; grid-template-columns: 310px minmax(0,1fr); gap: 18px; align-items: start; }.testimonial-table-panel { margin-top: 0; }.testimonial-content-cell { min-width: 280px; max-width: 460px; white-space: normal !important; line-height: 1.65; }.testimonial-form textarea { min-height: 140px; }
.comment-content-cell { min-width: 240px; max-width: 370px; white-space: normal; line-height: 1.65; }.comment-author { color: var(--text); font-weight: 700; }.comment-reply-cell { min-width: 230px; max-width: 340px; white-space: normal !important; line-height: 1.55; }.comment-reply-cell strong,.comment-reply-cell small { display: block; }.comment-reply-cell strong { color: var(--text); font-weight: 600; }.comment-reply-cell small { margin-top: 6px; color: var(--muted); font-size: 8px; }.comment-reply-cell > span { color: var(--muted); }.comment-reply-modal { width: min(680px,calc(100% - 24px)); }.reply-original-comment { margin-bottom: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }.reply-original-comment > span { display: block; margin-bottom: 7px; color: var(--blue); font: 700 8px/1 var(--mono); letter-spacing: .1em; }.reply-original-comment strong { display: block; margin-bottom: 7px; font-size: 12px; }.reply-original-comment p { margin: 0; color: var(--text-soft); white-space: pre-wrap; font-size: 11px; line-height: 1.7; }.comment-reply-modal textarea { min-height: 180px; }.modal-action-spacer { flex: 1; }.reply-delete-button { color: var(--danger) !important; }
.settings-form { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.settings-logo-card { padding: 24px; display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: center; border-bottom: 1px solid var(--line); background: linear-gradient(120deg, rgba(14,165,233,.07), transparent 50%); }
.settings-logo-preview { width: 130px; height: 130px; display: grid; place-items: center; overflow: hidden; border: 1px dashed var(--line-strong); border-radius: 18px; background: var(--surface-2); color: var(--blue); font-size: 42px; font-weight: 800; }
.settings-logo-preview img { width: 100%; height: 100%; object-fit: contain; background: white; }
.settings-qr-card { background: linear-gradient(120deg, rgba(34,197,94,.06), transparent 52%); }
.settings-qr-preview { background: #fff; color: #475569; font-size: 11px; text-align: center; }
.settings-logo-card h3 { margin: 0 0 5px; font-size: 15px; }.settings-logo-card p { margin: 0 0 15px; color: var(--muted); font-size: 10px; }
.settings-upload-button { position: relative; overflow: hidden; margin-right: 7px; }.settings-upload-button input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.settings-banner-section { padding: 24px; border-bottom: 1px solid var(--line); }
.settings-block-title { margin-bottom: 17px; }.settings-block-title h3 { margin: 0 0 4px; font-size: 15px; }.settings-block-title p { margin: 0; color: var(--muted); font-size: 10px; }
.settings-banner-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 15px; }
.banner-setting-card { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); }
.banner-preview { margin-bottom: 12px; display: grid; place-items: center; overflow: hidden; border: 1px dashed var(--line-strong); border-radius: 8px; background: var(--bg-deep); color: var(--muted); font-size: 10px; }
.banner-preview.desktop { aspect-ratio: 8 / 3; }.banner-preview.mobile { aspect-ratio: 5 / 6; max-height: 225px; }
.banner-preview img { width: 100%; height: 100%; object-fit: cover; }
.banner-setting-card > strong, .banner-setting-card > small { display: block; }.banner-setting-card > strong { font-size: 12px; }.banner-setting-card > small { min-height: 31px; margin: 3px 0 10px; color: var(--muted); font-size: 9px; }
.banner-copy-fields { display: grid; grid-template-columns: .8fr 1.2fr; gap: 15px; margin-top: 17px; }.banner-copy-fields textarea { min-height: 85px; }
.settings-fields { padding: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }.settings-fields .full { grid-column: 1 / -1; }
.settings-counter-block { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }.settings-counter-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }.settings-counter-grid .checkbox-field { align-self: end; min-height: 42px; }
.field-help { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; }
.settings-actions { padding: 17px 24px; display: flex; gap: 9px; justify-content: flex-end; border-top: 1px solid var(--line); background: var(--surface-2); }
.secondary-page-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }.secondary-page-tabs button { min-height: 40px; padding: 0 17px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text-soft); cursor: pointer; font-size: 11px; font-weight: 700; }.secondary-page-tabs button:hover, .secondary-page-tabs button.is-active { border-color: var(--blue); background: rgba(14,165,233,.08); color: var(--blue-bright); }
.secondary-page-form { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }.secondary-page-form.is-loading { opacity: .65; pointer-events: none; }.page-editor-block { padding: 24px; border-bottom: 1px solid var(--line); }.page-editor-intro { background: linear-gradient(120deg, rgba(14,165,233,.06), transparent 55%); }.page-editor-fields { display: grid; grid-template-columns: .8fr 1.2fr; gap: 16px; }.page-editor-fields textarea { min-height: 92px; }.page-editor-section-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }.page-editor-section-head h3 { margin: 0 0 4px; font-size: 15px; }.page-editor-section-head p { margin: 0; color: var(--muted); font-size: 10px; }.section-copy-fields { margin-bottom: 17px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.page-item-list { display: grid; gap: 10px; }.page-item-editor { display: grid; grid-template-columns: 46px minmax(160px,.7fr) minmax(260px,1.3fr) 52px; gap: 11px; align-items: end; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }.page-item-number { align-self: stretch; display: grid; place-items: center; border: 1px solid rgba(14,165,233,.16); border-radius: 8px; background: rgba(14,165,233,.06); color: var(--blue); font: 700 12px/1 ui-monospace, monospace; }.page-item-editor textarea { min-height: 62px; }.page-item-remove { min-height: 40px; margin-bottom: 1px; border: 1px solid rgba(251,113,133,.25); border-radius: 7px; background: rgba(251,113,133,.06); color: var(--danger); cursor: pointer; font-size: 9px; }.page-item-remove:hover { border-color: var(--danger); }
.page-item-editor { grid-template-columns: 46px 150px minmax(150px,.72fr) minmax(240px,1.28fr) 52px; }
.page-item-image-editor { align-self: stretch; display: flex; flex-direction: column; gap: 7px; }
.page-item-image-preview { min-height: 88px; flex: 1; display: grid; place-items: center; overflow: hidden; border: 1px dashed var(--line-strong); border-radius: 8px; background: var(--bg-deep); color: var(--muted); font-size: 9px; }
.page-item-image-preview img { width: 100%; height: 100%; min-height: 88px; object-fit: cover; }
.page-item-image-editor > div:last-child { display: flex; flex-wrap: wrap; gap: 5px; }.page-item-image-editor .button { flex: 1; }.page-item-image-editor .danger { padding-inline: 8px; }
.item-dimension-hint { flex-basis: 100%; display: block; margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.process-flow-image-editor { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 18px; align-items: center; margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--surface) 82%, transparent); }
.process-flow-image-preview { aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg-deep); color: var(--muted); font-size: 11px; }
.process-flow-image-preview img { width: 100%; height: 100%; object-fit: contain; }
.process-flow-image-actions { display: flex; flex-direction: column; gap: 10px; }
.process-flow-image-actions .button { width: 100%; margin: 0; }
.process-flow-image-actions small { color: var(--muted); font-size: 9px; line-height: 1.65; }
.secondary-media-upload-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }.secondary-media-preview { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; margin-top: 14px; }.secondary-media-empty { grid-column: 1 / -1; padding: 25px; border: 1px dashed var(--line); border-radius: 9px; color: var(--muted); text-align: center; font-size: 10px; }.secondary-media-card { position: relative; overflow: hidden; aspect-ratio: 1.25; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-deep); }.secondary-media-card img, .secondary-media-card video { width: 100%; height: 100%; object-fit: cover; }.secondary-media-card > span { position: absolute; left: 6px; bottom: 6px; padding: 4px 6px; border-radius: 4px; background: rgba(2,6,15,.72); color: white; font-size: 8px; }.secondary-media-card > button { position: absolute; z-index: 2; top: 5px; right: 5px; width: 27px; height: 27px; border: 0; border-radius: 50%; background: rgba(2,6,15,.8); color: white; cursor: pointer; }.secondary-media-card.is-new { border-color: rgba(14,165,233,.35); }.secondary-media-card.is-removed { opacity: .35; }.secondary-media-card.is-removed::after { content: "保存后删除"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(251,113,133,.28); color: white; font-size: 10px; font-weight: 700; }

/* Admin case dialog/editor */
.modal { width: min(930px, calc(100% - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: 0 35px 100px rgba(0,0,0,.55); }.modal::backdrop { background: rgba(2,6,15,.8); backdrop-filter: blur(6px); }.modal-head { position: sticky; top: 0; z-index: 2; min-height: 66px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--surface); }.modal-head h2 { margin: 0; font-size: 17px; }.modal-close { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-2); color: var(--text-soft); cursor: pointer; font-size: 18px; }.modal-body { padding: 24px; }.modal-actions { position: sticky; bottom: 0; z-index: 2; padding: 15px 24px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); background: var(--surface); }
.case-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }.field.full { grid-column: 1 / -1; }.field.checkbox-field { display: flex; align-items: center; gap: 9px; }.field.checkbox-field input { width: 17px; min-height: 17px; }.field.checkbox-field span { margin: 0; }
.editor-shell { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }.editor-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); background: var(--surface-2); }.editor-toolbar button { min-width: 32px; height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--text-soft); cursor: pointer; font-size: 10px; font-weight: 700; }.editor-toolbar button:hover { border-color: var(--blue); color: var(--blue); }.rich-editor { min-height: 260px; max-height: 500px; padding: 18px; overflow-y: auto; outline: none; line-height: 1.9; }.rich-editor:empty::before { content: attr(data-placeholder); color: var(--muted); pointer-events: none; }.rich-editor h2 { font-size: 20px; }.rich-editor img { max-width: 100%; margin: 15px 0; border-radius: 8px; }
.upload-zone { position: relative; min-height: 110px; padding: 20px; display: grid; place-content: center; justify-items: center; border: 1px dashed var(--line-strong); border-radius: 9px; background: rgba(14,165,233,.025); text-align: center; cursor: pointer; }.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }.upload-zone strong { font-size: 12px; }.upload-zone small { margin-top: 4px; color: var(--muted); font-size: 9px; }.media-preview-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 9px; }.media-preview { position: relative; aspect-ratio: 1.2; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--bg-deep); }.media-preview img, .media-preview video { width: 100%; height: 100%; object-fit: cover; }.media-preview button { position: absolute; top: 4px; right: 4px; width: 25px; height: 25px; border: 0; border-radius: 50%; background: rgba(2,6,15,.78); color: white; cursor: pointer; }.media-preview.is-removed { opacity: .3; }.media-preview.is-removed::after { content: "待删除"; position: absolute; inset: 0; display: grid; place-items: center; color: white; background: rgba(251,113,133,.35); font-size: 10px; }
.sortable-media-list { counter-reset: case-image; }.sortable-media-card { cursor: grab; border-color: rgba(14,165,233,.28); transition: border-color .2s, opacity .2s, transform .2s; }.sortable-media-card:hover { border-color: var(--accent); }.sortable-media-card.is-dragging { opacity: .45; transform: scale(.97); }.sortable-media-card:active { cursor: grabbing; }.media-order-badge { position: absolute; z-index: 2; top: 7px; left: 7px; padding: 5px 8px; border-radius: 999px; background: rgba(2,6,23,.84); color: #e0f2fe; font-size: 8px; font-weight: 700; box-shadow: 0 0 0 1px rgba(14,165,233,.32); }.media-preview .media-order-actions { position: absolute; z-index: 3; right: 7px; bottom: 7px; left: 7px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }.media-preview .media-order-actions button { position: static; width: auto; height: 27px; padding: 0 5px; border-radius: 5px; background: rgba(2,6,23,.86); color: #e0f2fe; font-size: 8px; font-weight: 700; box-shadow: 0 0 0 1px rgba(125,211,252,.22); }.media-preview .media-order-actions button:hover:not(:disabled) { background: var(--accent); color: #fff; }.media-preview .media-order-actions button:disabled { opacity: .32; cursor: not-allowed; }.media-preview .media-remove-button { z-index: 4; }.sortable-media-card.is-removed { cursor: default; }.sortable-media-card.is-removed::after { content: none; }
.bilibili-admin-section { padding: 18px; border: 1px solid rgba(0,174,236,.26); border-radius: 11px; background: linear-gradient(135deg,rgba(0,174,236,.07),var(--surface) 55%); }.bilibili-admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 14px; }.bilibili-admin-head > div > span { display: block; font-size: 12px; font-weight: 700; }.bilibili-admin-head .field-help { max-width: 650px; }.bilibili-admin-head .button { flex: 0 0 auto; }.bilibili-video-editors { display: grid; gap: 9px; }.bilibili-video-empty { padding: 22px 14px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); text-align: center; font-size: 10px; }.bilibili-video-editor { display: grid; grid-template-columns: 68px minmax(230px,1.3fr) minmax(180px,1fr) 72px 66px; align-items: end; gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); }.bilibili-video-editor-number { align-self: stretch; display: grid; place-content: center; border-right: 1px solid var(--line); color: #00aeec; text-align: center; }.bilibili-video-editor-number strong { font: 800 19px/1 var(--mono); }.bilibili-video-editor-number span { margin-top: 6px; font: 700 7px/1 var(--mono); letter-spacing: .08em; }.bilibili-video-editor .field > span { font-size: 9px; }.bilibili-remove-button { min-height: 42px; padding-inline: 8px; color: var(--red); }
.toast-stack { position: fixed; z-index: 10000; top: 18px; right: 18px; display: grid; gap: 8px; }.toast { min-width: 250px; max-width: 360px; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); box-shadow: var(--shadow); color: var(--text); font-size: 11px; animation: toastIn .24s ease; }.toast.error { border-color: rgba(251,113,133,.4); color: var(--danger); }.toast.success { border-color: rgba(52,211,153,.4); color: var(--green); } @keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } }
.loading-row { padding: 30px !important; text-align: center !important; color: var(--muted) !important; }

/* 404 */
.error-page { min-height: 100vh; display: grid; place-content: center; justify-items: center; padding: 30px; text-align: center; }.error-code { color: var(--blue); font: 800 clamp(80px, 18vw, 180px)/.9 ui-monospace, monospace; text-shadow: 0 0 45px rgba(14,165,233,.2); }.error-page h1 { margin: 20px 0 7px; }.error-page p { margin: 0 0 25px; color: var(--text-soft); }

@media (max-width: 1000px) {
  .hero-panel { height: 350px; }.matrix-core { height: 205px; }.orbit-a { width: 188px; height: 188px; }.orbit-b { width: 142px; height: 142px; }
  .filter-bar { grid-template-columns: 1fr 1fr 1fr; }.filter-bar .search-field { grid-column: 1 / -1; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { gap: 45px; }
  .detail-layout { grid-template-columns: minmax(0,1fr) 285px; }.comment-form-grid { grid-template-columns: 180px 1fr; }.comment-content-field { grid-column: 2; grid-row: 1 / 3; }.comment-form .button { grid-column: 1 / -1; grid-row: 3; min-height: 44px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .public-nav { gap: 15px; }.header-actions { gap: 13px; }.solution-grid { grid-template-columns: repeat(2, 1fr); }.testimonial-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .public-nav .nav-link { font-size: 11px; }.brand strong { max-width: 215px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.footer-main-grid { grid-template-columns: 1fr 1.4fr; }.footer-links-block { grid-column: 1 / -1; }.friend-links { flex-direction: row; flex-wrap: wrap; }
  .service-detail-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .secondary-page-media-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dictionary-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }.container { width: min(100% - 28px, 1180px); }
  .brand strong { font-size: 12px; }.brand small { display: none; }.brand-mark { width: 34px; height: 34px; }.brand-mark b { font-size: 17px; }
  .header-inner { position: relative; }.header-actions { position: static; gap: 10px; }.public-nav { position: absolute; right: 0; top: calc(100% + 1px); left: 0; display: none; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 8px 10px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; background: color-mix(in srgb, var(--surface) 96%, transparent); box-shadow: var(--shadow); backdrop-filter: blur(18px); }.site-header.menu-open .public-nav { display: grid; }.public-nav .nav-link { display: block; padding: 12px 4px; text-align: center; font-size: 11px; }.public-nav .nav-link::after { bottom: 2px; left: 25%; right: 25%; }.admin-entry { display: block; }.public-menu-button { display: grid; }.theme-toggle { width: 43px; }
  .hero { min-height: 0; aspect-ratio: 5 / 6; }.hero-panel { height: 335px; }
  .library-section, .testimonial-section { padding: 64px 0 70px; }.section-heading { align-items: start; flex-direction: column; gap: 9px; }.section-heading p { font-size: 12px; }
  .filter-bar { grid-template-columns: 1fr 1fr; padding: 10px; }.filter-bar .search-field { grid-column: 1 / -1; }.filter-bar label:nth-child(2), .filter-bar label:nth-child(3) { grid-column: auto; }
  .case-grid, .testimonial-grid { grid-template-columns: 1fr; }.results-meta { align-items: start; flex-direction: column; gap: 6px; }
  .process-section, .solution-section, .about-section, .contact-section, .secondary-page-media-section { padding: 65px 0; }.process-grid, .about-grid, .contact-layout { grid-template-columns: 1fr; gap: 30px; }.process-list { grid-template-columns: 1fr; }.process-list li { min-height: 84px; }.about-grid ul { grid-template-columns: 1fr 1fr 1fr; }
  .inner-hero { padding: 64px 0 60px; }.inner-page-section { padding: 65px 0; }
  .service-page-intro { margin-bottom: 42px; padding-bottom: 26px; }.service-page-intro h1 { font-size: 36px; }.service-page-intro > p { font-size: 12px; }
  .capability-showcase-section .service-detail-grid, .process-showcase-grid { grid-template-columns: 1fr; }
  .capability-showcase-section .service-detail-grid article { grid-template-rows: auto 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 8px; padding-block: 28px; }.footer-inner p { max-width: 420px; }
  .extended-footer { padding-top: 45px; }.footer-main-grid, .site-counter-strip { grid-template-columns: 1fr; gap: 32px; padding-bottom: 34px; }.site-counter-strip { gap: 9px; padding-block: 16px; }.footer-links-block { grid-column: auto; }.footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; padding-block: 18px; }
  .detail-hero { padding: 36px 0; }.detail-title-row { grid-template-columns: 1fr; gap: 20px; }.detail-status { justify-self: start; }.detail-layout { grid-template-columns: 1fr; padding-block: 28px 65px; }.detail-sidebar { position: static; }.sidebar-related-list { grid-template-columns: repeat(2,minmax(0,1fr)); }.case-interaction-footer { grid-template-columns: 1fr; }.info-grid { grid-template-columns: repeat(2, 1fr); }.info-grid div:nth-child(3n) { border-right: 1px solid var(--line); }.info-grid div:nth-child(2n) { border-right: 0; }.info-grid div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }.info-grid div:nth-last-child(-n+2) { border-bottom: 0; }.content-panel { padding: 22px 18px; }.media-grid { grid-template-columns: 1fr; }.media-item.video { grid-column: auto; }.comment-form-grid { grid-template-columns: 1fr; grid-template-rows: auto; }.comment-nickname-field,.comment-content-field,.comment-captcha-field,.comment-form .button { grid-column: 1; grid-row: auto; }.comment-form .button { min-height: 48px; }.comment-form textarea { min-height: 100px; }.comment-admin-reply > div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .detail-contact-bar .container { align-items: flex-start; flex-direction: column; }.detail-contact-bar .container > div { justify-content: flex-start; }
  .login-shell { grid-template-columns: 1fr; }.login-visual { min-height: 320px; padding: 32px 25px; }.login-hero h1 { font-size: 38px; }.login-panel { padding: 45px 22px; }
  .admin-shell { display: block; }.admin-sidebar { width: min(280px, 84vw); transform: translateX(-105%); transition: transform .25s; box-shadow: 30px 0 80px rgba(0,0,0,.35); }.admin-shell.nav-open .admin-sidebar { transform: translateX(0); }.admin-main { width: 100%; }.admin-topbar { padding: 0 16px; }.mobile-menu { display: grid; place-items: center; width: 38px; height: 38px; margin-right: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }.admin-topbar > div:first-child { display: flex; align-items: center; }.admin-content { padding: 20px 14px; }.admin-section-head { align-items: start; }.stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.stat-card { min-height: 115px; padding: 16px; }.stat-card strong { font-size: 24px; }.primary-dictionary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.dictionary-layout, .testimonial-admin-layout, .dictionary-category-grid, .case-dictionary-fields { grid-template-columns: 1fr; }.secondary-option-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.dictionary-category-head { align-items: stretch; flex-direction: column; }.dictionary-category-head .button { width: 100%; }.dictionary-category-add { grid-template-columns: 1fr; }.dictionary-category-add .button { width: 100%; }.case-form-grid { grid-template-columns: 1fr; }.field.full { grid-column: auto; }.media-preview-list { grid-template-columns: repeat(2, 1fr); }.modal-body { padding: 18px; }.modal-head, .modal-actions { padding-inline: 18px; }
  .bilibili-admin-head { align-items: stretch; flex-direction: column; }.bilibili-admin-head .button { width: 100%; }.bilibili-video-editor { grid-template-columns: 56px minmax(0,1fr); }.bilibili-video-editor-number { grid-row: 1 / span 4; }.bilibili-video-editor .field, .bilibili-remove-button { grid-column: 2; }.bilibili-remove-button { width: 100%; }
  .settings-logo-card { grid-template-columns: 95px 1fr; padding: 18px; }.settings-logo-preview { width: 95px; height: 95px; }.settings-banner-section { padding: 18px; }.settings-banner-grid, .banner-copy-fields { grid-template-columns: 1fr; }.banner-preview.mobile { max-height: 360px; }.settings-fields, .settings-counter-grid { grid-template-columns: 1fr; padding: 18px; }.settings-counter-grid { padding: 0; }.settings-fields .full { grid-column: auto; }.settings-actions { padding: 14px 18px; }.page-editor-block { padding: 18px; }.page-editor-fields, .secondary-media-upload-grid, .process-flow-image-editor { grid-template-columns: 1fr; }.page-editor-section-head { align-items: stretch; flex-direction: column; }.page-editor-section-head .button { width: 100%; }.page-item-editor { grid-template-columns: 42px 1fr; align-items: start; }.page-item-editor .field, .page-item-image-editor { grid-column: 2; }.page-item-number { grid-row: 1 / span 4; }.page-item-remove { grid-column: 2; width: 100%; }.secondary-media-preview { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.has-contact-dock { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .contact-dock { right: 0; bottom: 0; left: 0; width: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-width: 1px 0 0; border-radius: 0; padding-bottom: env(safe-area-inset-bottom); }
  .contact-dock:hover,.contact-dock:focus-within { width: auto; }
  .contact-dock a,.contact-dock button { min-height: 62px; align-items: center; text-align: center; }
  .contact-dock strong { display: block; }
  .contact-dock a + button,.contact-dock button + a { border-top: 0; border-left: 1px solid var(--line); }
  .contact-dialog-card { padding: 30px 20px 24px; }
}

@media (max-width: 450px) {
  .brand strong { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.admin-entry { display: none; }
  .hero { min-height: 0; aspect-ratio: 5 / 6; }.hero-background img { object-position: center; }.status-indicator { width: 100%; }.hero-panel { height: 310px; padding: 17px; }.matrix-core { height: 190px; }.matrix-stats div { align-items: start; flex-direction: column; gap: 5px; }
  .carousel-controls { bottom: 18px; }.carousel-arrows { display: none; }.carousel-dots button { width: 22px; }.carousel-dots button.is-active { width: 40px; }
  .filter-bar { grid-template-columns: 1fr; }.filter-bar label:nth-child(2), .filter-bar label:nth-child(3) { grid-column: 1; }.filter-bar .button { width: 100%; }
  .solution-grid, .contact-grid { grid-template-columns: 1fr; }.solution-grid article { min-height: 220px; }.about-grid ul { grid-template-columns: 1fr; }.contact-grid .contact-empty { grid-column: auto; }
  .service-detail-grid, .value-grid { grid-template-columns: 1fr; }.service-detail-grid article, .value-grid article { min-height: auto; }.service-detail-grid h3 { margin-top: 28px; }
  .secondary-page-media-grid { grid-template-columns: 1fr; }.secondary-page-media-item.video { grid-column: auto; }
  .process-showcase-grid .process-showcase-card { grid-template-columns: 1fr; }.process-step-visual { min-height: 0; aspect-ratio: 4 / 3; }.process-step-copy { padding: 21px; }
  .footer-contact-list { grid-template-columns: 1fr; }
  .wechat-qr-contact { width: 100%; max-width: 280px; }
  .wechat-qr-contact img { width: 84px; height: 84px; flex-basis: 84px; }
  .case-card-body { padding: 18px 17px; }.pagination { flex-wrap: wrap; }
  .info-grid { grid-template-columns: 1fr; }.info-grid div, .info-grid div:nth-child(2n), .info-grid div:nth-child(3n), .info-grid div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }.info-grid div:last-child { border-bottom: 0; }
  .content-panel-head { align-items: start; flex-direction: column; gap: 6px; }.metrics-list strong { font-size: 16px; }
  .bilibili-video-head { align-items: flex-start; flex-direction: column; gap: 9px; }.bilibili-video-head strong { white-space: normal; }.bilibili-player-frame { aspect-ratio: 16 / 10; }
  .case-interaction-footer { padding: 21px 18px; }.sidebar-related-list { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }.admin-section-head { flex-direction: column; }.admin-section-head .button { width: 100%; }
  .primary-dictionary-grid, .secondary-option-grid { grid-template-columns: 1fr; }.secondary-choice-head { align-items: flex-start; flex-direction: column; }
}

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