:root {
  color-scheme: light;
  --focus-ring: #0b7185;
  --shell-ink: #080a20;
  --control-ink: #38332c;
  --control-ink-strong: #563a0c;
  --control-border: #968d7d;
  --control-border-soft: rgba(150, 141, 125, .34);
  --control-border-strong: #817767;
  --control-border-selected: #8b744d;
  --control-focus: #7b602a;
  --control-glass: rgba(255, 253, 248, .9);
  --control-glass-hover: rgba(255, 252, 245, .97);
  --control-glass-active: rgba(226, 204, 156, .74);
  --control-glass-selected: rgba(239, 221, 177, .58);
  --control-glass-disabled: rgba(245, 241, 232, .9);
  --control-disabled-ink: #514a42;
  --control-shadow:
    0 6px 18px rgba(57, 45, 27, .1),
    inset 0 1px rgba(255, 255, 255, .9);
  --safe-top: max(18px, env(safe-area-inset-top));
  --safe-right: max(18px, env(safe-area-inset-right));
  --safe-bottom: max(18px, env(safe-area-inset-bottom));
  --safe-left: max(18px, env(safe-area-inset-left));
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "Microsoft YaHei", serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--shell-ink);
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  color: #f4dfbd;
  background: var(--shell-ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: rgba(11, 113, 133, .18);
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

main :where(h1, h2, h3, h4) {
  scroll-margin-block-start: 96px;
  text-wrap: balance;
}

main :where(p, li) {
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.app-shell:focus-visible {
  outline-offset: -3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #13100d;
  background: #fff0ca;
  transform: translateY(-160%);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.browser-compat-notice {
  position: fixed;
  z-index: 950;
  top: 16px;
  left: 50%;
  width: calc(100% - 32px);
  max-width: 760px;
  padding: 14px 16px;
  border: 1px solid #d9a84f;
  border-radius: 12px;
  color: #3f2b14;
  background: #fff8e8;
  box-shadow: 0 10px 32px rgba(44, 29, 13, .2);
  transform: translateX(-50%);
}

.browser-compat-notice[hidden] {
  display: none !important;
}

.browser-compat-notice strong,
.browser-compat-notice span {
  display: block;
}

.browser-compat-notice span,
.browser-compat-notice nav {
  margin-top: 8px;
}

.browser-compat-notice a {
  display: inline-block;
  min-height: 44px;
  margin-right: 12px;
  padding-block: 10px;
  color: #70430f;
  font-weight: 700;
}

.browser-compat-notice a:hover {
  color: #4f2f0b;
  text-decoration-thickness: 2px;
}

.browser-compat-notice a:active {
  color: #352008;
}

.scene-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

noscript {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 32px;
  color: #f8e2bb;
  background: var(--shell-ink);
  text-align: center;
}

@media (max-width: 560px) {
  input,
  select {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}
:root {
  --panel-ink: #15202A;
  --panel-paper: #F8F6EF;
  --panel-paper-soft: #FFFDF8;
  --panel-gold: #E8C982;
  --panel-gold-strong: #F1D99C;
  --panel-cyan: #4DB6C8;
  --panel-muted: #53616D;
  --panel-line: rgba(163, 132, 68, .24);
  --card-surface: rgba(255, 255, 255, .20);
  --panel-glass: rgba(255, 253, 248, .78);
  --glass-surface: rgba(255, 253, 248, .72);
  --glass-surface-strong: rgba(255, 253, 248, .92);
  --glass-border: rgba(180, 146, 76, .28);
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  position: fixed;
  inset: 0;
}

[hidden] {
  display: none !important;
}

.app-shell,
.route-panel {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.app-shell {
  z-index: 1;
  overflow: hidden;
  isolation: isolate;
}

.route-panel {
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.route-panel.is-active {
  z-index: 3;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.home-panel.is-home-backdrop {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  pointer-events: none;
}

.content-panel.is-transition-target {
  z-index: 2;
  visibility: visible;
  opacity: var(--content-reveal);
  transform: translate3d(var(--content-shift), 0, 0);
  pointer-events: none;
}

body[data-route="home"] .content-panel.is-transition-target {
  z-index: 4;
}

body[data-route="home"] .personal-tools-panel.is-transition-target {
  opacity: var(--forest-route-progress);
}

body[data-route-phase="returning"] .content-panel.is-active {
  opacity: var(--content-reveal);
  transform: translate3d(var(--content-shift), 0, 0);
  pointer-events: none;
}

.home-panel,
.home-viewport {
  overflow: hidden;
  background: #100d0c;
}

.home-viewport {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 430px;
  isolation: isolate;
}

.home-viewport::before {
  position: absolute;
  z-index: 80;
  inset: 0;
  content: "";
  pointer-events: none;
}

.home-viewport::before {
  box-shadow: inset 0 0 clamp(30px, 7vw, 130px) rgba(7, 4, 3, .32);
}
/* 内容路由保持静态；首页氛围由场景运行时按设备能力控制。 */
.content-panel {
  overflow: hidden;
  color: var(--panel-ink);
  background: transparent;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  transition: opacity .18s linear, transform .3s cubic-bezier(.2, .8, .2, 1);
}

body.is-route-transitioning .content-panel {
  transition: none;
  will-change: opacity, transform;
}

body:not(.is-route-transitioning) .content-panel {
  will-change: auto;
}

.content-panel::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  opacity: .18;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 244, 210, .76), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, .2), transparent 42%);
  pointer-events: none;
}

.content-panel::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(8, 11, 15, .04), transparent 24%, rgba(8, 11, 15, .08));
  pointer-events: none;
}

.home-viewport::after {
  animation: none !important;
  filter: none;
  transform: none;
  will-change: auto;
}

.scene-ambient-field,
.menu-ginkgo-leaves,
.aurora-field,
.content-particles,
.global-particles {
  display: none !important;
}

.scene-backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent center / cover no-repeat;
}

.scene-backdrop::before,
.scene-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.scene-backdrop::before {
  background: linear-gradient(
    180deg,
    rgba(18, 13, 9, .1),
    transparent 36%,
    transparent 70%,
    rgba(18, 13, 9, .16)
  );
}

.scene-backdrop::after {
  box-shadow: inset 0 -90px 120px rgba(75, 48, 18, .07);
}

.scene-backdrop-ai[data-outdoor-source="first-act"] {
  background-image: none !important;
}

html[data-cafe-theme="cream"] .scene-backdrop-ai::before {
  background: linear-gradient(180deg, rgba(35, 52, 57, .08), transparent 42%, rgba(35, 45, 56, .12));
}

html[data-cafe-theme="teahouse"] .scene-backdrop-ai::before {
  background: linear-gradient(180deg, rgba(30, 38, 27, .09), transparent 42%, rgba(34, 43, 30, .14));
}

@media (prefers-reduced-motion: reduce) {
  .content-panel {
    transition: none;
  }
}
.content-scroller {
  position: absolute;
  z-index: 5;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(163, 132, 68, .68) transparent;
  scrollbar-width: thin;
}

.scene-content {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(48px, 7vh, 82px) 0 max(112px, calc(86px + env(safe-area-inset-bottom)));
}

.content-card {
  position: relative;
  margin-top: 28px;
  padding: clamp(20px, 3.4vw, 38px);
  border: 1px solid rgba(163, 132, 68, .34);
  border-radius: 24px;
  background: var(--card-surface);
  box-shadow: 0 20px 54px rgba(47, 53, 58, .14);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.ai-tools-panel .scene-content,
.personal-tools-panel .scene-content,
.disclaimer-panel .scene-content {
  padding-top: clamp(34px, 5vh, 58px);
}

.ai-tools-panel .catalog-section,
.personal-tools-panel .owner-catalog-section {
  margin-top: 0;
}

.scene-step-nav {
  position: fixed;
  z-index: 220;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  max-width: calc(100vw - 24px);
  min-height: 52px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 16px;
  background: var(--control-glass);
  box-shadow:
    0 12px 34px rgba(45, 37, 24, .15),
    inset 0 0 0 1px var(--control-border-soft),
    inset 0 1px rgba(255, 255, 255, .96);
  transform: translateX(-50%);
  scrollbar-width: none;
}

.scene-step-nav::-webkit-scrollbar {
  display: none;
}

.scene-step-nav a,
.scene-step-nav .scene-step-legal {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #5b5038;
  background: transparent;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}

.scene-step-nav span,
.scene-step-nav .scene-step-legal span {
  position: static;
  min-width: 0;
  padding: 0;
  opacity: 1;
  visibility: visible;
  color: inherit;
  background: transparent;
  transform: none;
}

.scene-step-nav a:hover,
.scene-step-nav a:focus-visible {
  border-color: transparent;
  color: var(--control-ink-strong);
  background: rgba(255, 255, 255, .66);
}

.scene-step-nav a:focus-visible {
  outline: 2px solid var(--control-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 252, 241, .94);
}

.scene-step-nav a.is-current {
  border-color: transparent;
  color: var(--control-ink-strong);
  background: var(--control-glass-selected);
  box-shadow: none;
}

.scene-step-nav a.is-current::after {
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #ad8130;
  content: "";
  transform: translateX(-50%);
}

.scene-step-nav a:active {
  border-color: transparent;
  background: var(--control-glass-active);
}

.scene-step-nav a.is-pending:not(.is-current) {
  color: var(--control-ink-strong);
  background: rgba(239, 221, 177, .28);
}

@media (max-width: 520px) {
  .scene-step-nav a,
  .scene-step-nav .scene-step-legal {
    min-width: 60px;
    padding-inline: 9px;
    font-size: 12px;
  }
}

@media (forced-colors: active) {
  .scene-step-nav {
    border: 2px solid CanvasText;
    background: Canvas;
  }

  .scene-step-nav a {
    color: CanvasText;
  }

  .scene-step-nav a.is-current {
    border-color: Highlight;
    color: HighlightText;
    background: Highlight;
  }

  .scene-step-nav a.is-current::after {
    background: HighlightText;
  }
}
.content-card::before {
  position: absolute;
  top: 0;
  right: 7%;
  left: 7%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(232, 201, 130, .74), rgba(255, 255, 255, .94), transparent);
  pointer-events: none;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(163, 132, 68, .18);
}

.section-heading span,
.section-heading time,
.section-heading output {
  color: #46545f;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  letter-spacing: .1em;
}

.section-heading :is(h2, h3) {
  margin: 5px 0 0;
  color: var(--panel-ink);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
  text-wrap: balance;
}

.section-heading h2[data-route-focus]:focus-visible {
  outline: 3px solid #0b7185;
  outline-offset: 4px;
  border-radius: 4px;
}

.section-summary {
  max-width: 660px;
  margin: 9px 0 0;
  color: var(--panel-muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.65;
}

.catalog-heading output {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid rgba(77, 182, 200, .22);
  border-radius: 999px;
  background: rgba(77, 182, 200, .065);
  white-space: nowrap;
}

.tool-grid {
  display: grid;
  gap: 14px;
}

.tool-grid,
.owner-tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(var(--card-surface), var(--card-surface)) padding-box,
    linear-gradient(
      135deg,
      rgba(232, 201, 130, .54),
      rgba(255, 255, 255, .86) 38%,
      rgba(191, 201, 204, .5) 70%,
      rgba(77, 182, 200, .22)
    ) border-box;
  box-shadow:
    0 16px 36px rgba(73, 77, 80, .11),
    inset 0 1px rgba(255, 255, 255, .82);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.tool-card {
  display: flex;
  min-height: 0;
  padding: 19px;
  flex-direction: column;
}

.owner-tool-grid .tool-card {
  min-height: 220px;
}

.tool-card::before {
  content: none;
}

.tool-card::after {
  content: none;
}

.tool-card > * {
  position: relative;
  z-index: 2;
}

.tool-meta {
  color: #176f7e;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
}

.tool-card :is(h3, h4) {
  margin: 10px 0 8px;
  color: var(--panel-ink);
  font-size: 18px;
  line-height: 1.38;
  text-wrap: balance;
}

.tool-card p {
  margin: 0;
  color: var(--panel-muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.72;
  text-wrap: pretty;
}

.tool-card .tool-description {
  margin-bottom: 15px;
}

.tool-heading-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.tool-heading-row h3 {
  min-width: 0;
}

.tool-strengths,
.tool-best-for {
  padding-top: 13px;
  border-top: 1px solid rgba(163, 132, 68, .16);
}

.tool-strengths ul {
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
  padding: 0 0 0 18px;
  color: #42515d;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.58;
}

.tool-strengths li::marker {
  color: #1590a6;
}

.tool-card .tool-section-label {
  color: #765617;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.tool-best-for {
  margin-top: 13px;
}

.tool-best-for p:last-child {
  margin-top: 6px;
  color: #354550;
  font-size: 13px;
}

.tool-card .tool-access-note {
  margin-top: 12px;
  padding: 9px 11px;
  border-radius: 10px;
  color: #5f4a1c;
  background: rgba(232, 201, 130, .15);
  font-size: 12px;
  line-height: 1.55;
}

.tool-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  min-height: 44px;
  margin-top: 17px;
  padding: 8px 12px;
  border: 1px solid rgba(163, 132, 68, .28);
  border-radius: 11px;
  color: #765617;
  background: rgba(232, 201, 130, .13);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.tool-card > a {
  margin-top: auto;
  top: 17px;
  margin-bottom: 17px;
}

.tool-card a:hover,
.tool-card a:focus-visible {
  border-color: rgba(163, 132, 68, .58);
  color: #49350c;
  background: rgba(241, 217, 156, .34);
  text-decoration: none;
  transform: translateX(2px);
}

.tool-card a:focus-visible {
  outline: 3px solid rgba(77, 182, 200, .22);
  outline-offset: 3px;
}

.tool-card:focus-within {
  box-shadow:
    0 18px 46px rgba(129, 110, 71, .16),
    0 0 0 1px rgba(77, 182, 200, .32),
    inset 0 1px rgba(255, 255, 255, .9);
}

@media (hover: hover) and (pointer: fine) {
  .tool-card:hover {
    border-color: rgba(163, 132, 68, .58);
    box-shadow:
      0 18px 42px rgba(95, 91, 79, .15),
      0 0 0 1px rgba(232, 201, 130, .48),
      inset 0 1px rgba(255, 255, 255, .96);
  }
}

.tool-filters {
  position: sticky;
  z-index: 8;
  top: 78px;
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(130px, 1fr)) auto;
  gap: 12px;
  margin: 0 0 26px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: var(--card-surface);
  box-shadow:
    0 18px 44px rgba(70, 75, 78, .13),
    inset 0 1px rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.tool-filters label {
  display: grid;
  gap: 8px;
  min-width: 0;
  min-height: 72px;
  padding: 10px;
  border: 1px solid rgba(163, 132, 68, .14);
  border-radius: 13px;
  color: #43515d;
  background: rgba(255, 255, 255, .5);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.tool-filters label:focus-within {
  border-color: rgba(77, 182, 200, .4);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 0 0 3px rgba(77, 182, 200, .1);
}

.tool-filters input,
.tool-filters select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(135, 142, 147, .24);
  border-radius: 11px;
  color: var(--panel-ink);
  background: rgba(255, 253, 248, .9);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  transition: border-color .2s ease, background .2s ease;
}

.tool-filters input::placeholder {
  color: #65727c;
}

.tool-filters input:focus,
.tool-filters select:focus {
  border-color: rgba(77, 182, 200, .5);
  background: #FFFDF8;
}

.tool-filters input:focus-visible,
.tool-filters select:focus-visible {
  outline: 3px solid rgba(11, 113, 133, .78);
  outline-offset: 2px;
}

.tool-filters option {
  color: var(--panel-ink);
  background: #FFFDF8;
}

.clear-filters,
.catalog-pagination button,
.category-filters button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--panel-ink);
  background:
    linear-gradient(rgba(255, 253, 248, .94), rgba(245, 244, 239, .9)) padding-box,
    linear-gradient(120deg, rgba(232, 201, 130, .58), rgba(255, 255, 255, .9), rgba(77, 182, 200, .24)) border-box;
  box-shadow: 0 8px 20px rgba(70, 75, 78, .1);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  cursor: pointer;
  transition: transform .2s ease, color .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.clear-filters {
  align-self: end;
  padding: 0 15px;
}

.clear-filters:hover:not(:disabled),
.clear-filters:focus-visible,
.catalog-pagination button:hover:not(:disabled),
.catalog-pagination button:focus-visible,
.category-filters button:hover,
.category-filters button:focus-visible,
.category-filters button.is-active {
  border-color: transparent;
  color: #3c2a08;
  background:
    linear-gradient(rgba(255, 249, 231, .98), rgba(247, 238, 211, .94)) padding-box,
    linear-gradient(120deg, var(--panel-gold), var(--panel-gold-strong), var(--panel-cyan)) border-box;
  box-shadow: 0 12px 30px rgba(155, 128, 72, .16);
  transform: translateY(-1px);
}

.clear-filters:focus-visible,
.catalog-pagination button:focus-visible,
.category-filters button:focus-visible {
  outline: 3px solid rgba(77, 182, 200, .22);
  outline-offset: 3px;
}

.clear-filters:disabled {
  opacity: .38;
  cursor: not-allowed;
  box-shadow: none;
}

.empty-state {
  margin: 0;
  padding: 38px 18px;
  border: 1px dashed rgba(163, 132, 68, .36);
  border-radius: 16px;
  color: rgba(83, 97, 109, .8);
  background: var(--card-surface);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.catalog-pagination button {
  min-width: 88px;
  padding: 0 13px;
}

.catalog-pagination button:disabled {
  opacity: .32;
  cursor: not-allowed;
}

.catalog-pagination span {
  min-width: 100px;
  color: #4b5964;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  text-align: center;
}

.category-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.category-filters button {
  flex: 0 0 auto;
  padding: 0 16px;
  border-radius: 999px;
}

.category-filters button.is-active {
  box-shadow:
    0 12px 30px rgba(155, 128, 72, .16),
    inset 0 -2px rgba(77, 182, 200, .54);
}

.tool-file {
  display: block;
  margin-top: 12px;
  color: #53616d;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  word-break: break-all;
}

.owner-kind-filters {
  gap: 12px;
  margin-bottom: 30px;
}

.owner-kind-filters button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 132px;
  justify-content: space-between;
}

.owner-filter-count {
  display: inline-grid;
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  place-items: center;
  border: 1px solid rgba(77, 182, 200, .22);
  border-radius: 999px;
  color: #176f7e;
  background: rgba(255, 255, 255, .64);
  font-size: 11px;
  line-height: 1;
}

.owner-kind-filters button.is-active .owner-filter-count {
  border-color: rgba(163, 132, 68, .28);
  color: #5f4511;
  background: rgba(255, 255, 255, .82);
}

.owner-tool-groups {
  display: grid;
  gap: 34px;
}

.owner-tool-group {
  position: relative;
}

.owner-tool-group + .owner-tool-group {
  padding-top: 30px;
  border-top: 1px solid rgba(163, 132, 68, .22);
}

.owner-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.owner-group-heading h3 {
  margin: 0;
  color: var(--panel-ink);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.3;
}

.owner-group-heading p {
  max-width: 660px;
  margin: 6px 0 0;
  color: var(--panel-muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.owner-group-heading > span {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid rgba(163, 132, 68, .2);
  border-radius: 999px;
  color: #6c521d;
  background: rgba(255, 250, 237, .58);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 11px;
  letter-spacing: .08em;
}

.owner-tool-grid-software {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.owner-tool-grid-knowledge {
  grid-template-columns: minmax(0, 1fr);
}

.owner-tool-grid .owner-software-card {
  min-height: 500px;
  padding: 24px;
  background:
    linear-gradient(var(--card-surface), var(--card-surface)) padding-box,
    linear-gradient(135deg, rgba(194, 153, 65, .76), rgba(255, 255, 255, .9) 42%, rgba(77, 182, 200, .38)) border-box;
  box-shadow:
    0 22px 52px rgba(70, 68, 58, .15),
    inset 0 1px rgba(255, 255, 255, .94);
}

.owner-tool-grid .owner-knowledge-card {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(190px, 230px);
  gap: 24px;
  align-items: stretch;
  min-height: 0;
  padding: 22px;
  background:
    linear-gradient(var(--card-surface), var(--card-surface)) padding-box,
    linear-gradient(135deg, rgba(112, 183, 132, .66), rgba(255, 255, 255, .9) 46%, rgba(163, 132, 68, .42)) border-box;
  box-shadow:
    0 22px 52px rgba(70, 83, 66, .14),
    inset 0 1px rgba(255, 255, 255, .94);
}

.owner-knowledge-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.owner-knowledge-card .tool-description {
  max-width: 540px;
  margin-top: 14px;
  color: #344d41;
  font-size: 15px;
}

.owner-knowledge-card .owner-privacy-note {
  margin-top: 11px;
}

.owner-knowledge-card h4 {
  overflow-wrap: anywhere;
}

.owner-knowledge-qr-figure {
  grid-column: 2;
  width: min(100%, 230px);
  margin: 0;
  justify-self: end;
  align-self: start;
  padding: 7px;
  border: 1px solid rgba(93, 146, 100, .28);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 44px rgba(58, 78, 57, .13);
}

.owner-knowledge-qr {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.owner-knowledge-qr-figure figcaption {
  margin-top: 7px;
  color: #52635a;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  text-align: center;
  letter-spacing: .06em;
}

.owner-knowledge-copy > .owner-knowledge-link {
  top: auto;
  margin-top: auto;
  padding-top: 11px;
  margin-bottom: 0;
  border-color: rgba(76, 143, 93, .32);
  color: #245f3b;
  background: rgba(100, 180, 117, .12);
}

.owner-knowledge-copy > .owner-knowledge-link::after {
  content: "↗";
  font-size: 14px;
}

.owner-card-identity {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.owner-product-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 5px;
  border: 1px solid rgba(163, 132, 68, .2);
  border-radius: 18px;
  object-fit: contain;
  background: rgba(255, 255, 255, .72);
  box-shadow:
    0 10px 26px rgba(80, 72, 54, .12),
    inset 0 1px rgba(255, 255, 255, .9);
}

.owner-card-title {
  min-width: 0;
}

.owner-card-kicker {
  color: #176f7e;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
}

.owner-card-title h3,
.owner-tool-card .owner-card-identity h3 {
  margin: 5px 0 0;
}

.owner-release-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}

.owner-release-status.is-ready {
  color: #1e6559;
  background: rgba(54, 145, 119, .12);
}

.owner-release-status.is-preview {
  color: #7f4c10;
  background: rgba(218, 151, 49, .17);
}

.owner-software-card .tool-description {
  margin-top: 18px;
  color: #344550;
  font-size: 14px;
}

.owner-feature-section,
.owner-best-for {
  padding-top: 14px;
  border-top: 1px solid rgba(163, 132, 68, .17);
}

.owner-feature-list {
  display: grid;
  gap: 8px;
  margin: 9px 0 0;
  padding: 0 0 0 18px;
  color: #42515d;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.58;
}

.owner-feature-list li::marker {
  color: #b6872e;
}

.owner-best-for {
  margin-top: 14px;
}

.owner-best-for p:last-child {
  margin-top: 6px;
  color: #354550;
  font-size: 13px;
}

.tool-card .owner-privacy-note {
  margin-top: 13px;
  padding: 10px 12px;
  border-left: 3px solid rgba(77, 182, 200, .46);
  border-radius: 0 10px 10px 0;
  color: #40515b;
  background: rgba(77, 182, 200, .07);
  font-size: 12px;
  line-height: 1.6;
}

.owner-tool-card > .owner-download-link {
  top: auto;
  margin-top: 18px;
  margin-bottom: 0;
}

.owner-tool-card > .owner-download-link::after {
  content: "↓";
  font-size: 15px;
  line-height: 1;
}

.owner-tool-card > .is-preview-download {
  border-style: dashed;
  color: #76470e;
  background: rgba(232, 190, 111, .18);
}

.owner-download-unavailable {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  margin-top: 18px;
  padding: 9px 14px;
  border: 1px dashed rgba(111, 122, 130, .36);
  border-radius: 999px;
  color: #67737b;
  background: rgba(255, 255, 255, .46);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.owner-download-integrity {
  margin-top: 13px;
  color: #53616d;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 11px;
}

.owner-download-integrity summary {
  width: fit-content;
  min-height: 32px;
  padding: 7px 0;
  color: #53616d;
  cursor: pointer;
}

.owner-download-integrity summary:focus-visible {
  outline: 3px solid rgba(77, 182, 200, .22);
  outline-offset: 3px;
}

.owner-download-integrity code {
  display: block;
  margin-top: 5px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #43515b;
  background: rgba(57, 66, 72, .065);
  font-family: Consolas, "Microsoft YaHei", monospace;
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  user-select: all;
}

.disclaimer-content {
  display: grid;
  gap: 28px;
  width: min(980px, calc(100% - 44px));
}

.author-contact-card {
  display: block;
}

.author-contact-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 260px);
  gap: clamp(26px, 5vw, 52px);
  align-items: center;
}

.author-contact-copy {
  min-width: 0;
}

.author-contact-copy > p {
  max-width: 540px;
  margin: 0;
  color: var(--panel-muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.78;
  text-wrap: pretty;
}

.author-contact-details {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.author-contact-details > div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.author-contact-details dt,
.author-contact-details dd {
  margin: 0;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.author-contact-details dt {
  color: #6a756f;
}

.author-contact-details dd {
  color: #31463a;
  font-weight: 700;
}

.author-contact-details code {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(70, 145, 99, .2);
  border-radius: 9px;
  color: #236143;
  background: rgba(102, 183, 128, .1);
  font-family: Consolas, "Microsoft YaHei", monospace;
  font-size: 15px;
  letter-spacing: .035em;
  user-select: all;
}

.author-contact-qr-figure {
  width: min(100%, 260px);
  margin: 0;
  justify-self: end;
}

.author-contact-qr {
  display: block;
  width: 100%;
  height: auto;
  padding: 8px;
  border: 1px solid rgba(65, 137, 184, .2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 44px rgba(47, 78, 99, .12);
}

.author-contact-qr-figure figcaption {
  margin-top: 9px;
  color: #52635a;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  text-align: center;
  letter-spacing: .08em;
}

.disclaimer-paper {
  margin-top: 0;
  color: var(--panel-ink);
  border-color: transparent;
  background:
    linear-gradient(var(--card-surface), var(--card-surface)) padding-box,
    linear-gradient(125deg, rgba(232, 201, 130, .7), rgba(255, 255, 255, .94), rgba(77, 182, 200, .22)) border-box;
  box-shadow:
    0 34px 100px rgba(67, 73, 78, .16),
    inset 0 1px rgba(255, 255, 255, .92);
}

.disclaimer-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.disclaimer-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(163, 132, 68, .17);
}

.disclaimer-list li > span {
  color: #a47d29;
  font-size: 23px;
  font-style: italic;
  line-height: 1;
}

.disclaimer-list h3 {
  margin: 0 0 8px;
  color: var(--panel-ink);
  font-size: 18px;
}

.disclaimer-list p {
  margin: 0;
  color: var(--panel-muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.82;
  text-wrap: pretty;
}

.disclaimer-foot {
  display: grid;
  gap: 12px;
  padding-top: 24px;
  color: #4b5964;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
}

.disclaimer-foot-meta,
.disclaimer-records,
.disclaimer-police-record {
  display: flex;
  align-items: center;
}

.disclaimer-foot-meta {
  justify-content: space-between;
  gap: 20px;
}

.disclaimer-records {
  gap: 9px;
  flex-wrap: wrap;
}

.disclaimer-records a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 10px;
  color: inherit;
  text-underline-offset: 3px;
}

.disclaimer-records a:hover,
.disclaimer-records a:focus-visible {
  color: #765617;
}

.disclaimer-police-record {
  gap: 5px;
}

.disclaimer-police-record img {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

@media (max-width: 680px) {
  .disclaimer-content {
    gap: 18px;
  }

  .author-contact-card {
    display: block;
  }

  .author-contact-body {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .author-contact-qr-figure {
    width: min(100%, 310px);
    justify-self: center;
  }
}
.content-card,
.tool-filters,
.disclaimer-paper {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body:not([data-route="home"]) .content-panel *,
body:not([data-route="home"]) .content-panel *::before,
body:not([data-route="home"]) .content-panel *::after {
  animation: none !important;
}

@media (max-width: 980px) {
  .tool-filters,
  .tool-grid,
  .owner-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .owner-tool-grid-knowledge {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .scene-content,
  .disclaimer-content {
    width: min(calc(100% - 24px), 620px);
    padding-top: 36px;
  }

  .content-card {
    padding: 17px;
    border-radius: 19px;
  }

  .section-heading {
    align-items: start;
    margin-bottom: 18px;
    flex-direction: column;
    gap: 8px;
  }

  .tool-grid,
  .owner-tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-card,
  .owner-tool-grid .tool-card {
    min-height: 0;
  }

  .owner-group-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .owner-tool-grid .owner-software-card,
  .owner-tool-grid .owner-knowledge-card {
    min-height: 0;
    padding: 19px;
  }

  .owner-tool-grid .owner-knowledge-card {
    grid-template-columns: 1fr;
  }

  .owner-knowledge-qr-figure {
    grid-column: 1;
    width: min(100%, 280px);
    margin-top: 4px;
    justify-self: center;
  }

  .owner-product-icon {
    width: 56px;
    height: 56px;
    border-radius: 15px;
  }

  .owner-kind-filters button {
    min-width: 142px;
  }

  .tool-filters {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .tool-filters label {
    min-height: 0;
  }

  .tool-filters input,
  .tool-filters select {
    font-size: 16px;
  }

  .category-filters {
    margin-right: -17px;
    margin-left: -17px;
    padding: 2px 17px 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .category-filters::-webkit-scrollbar {
    display: none;
  }

  .category-filters button {
    scroll-snap-align: start;
  }

  .catalog-pagination {
    gap: 8px;
  }

  .catalog-pagination button {
    min-width: 76px;
  }

  .disclaimer-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .disclaimer-list li > span {
    font-size: 18px;
  }

  .disclaimer-foot-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .scene-content {
    padding-top: 28px;
  }

  .tool-filters {
    top: 68px;
  }
}

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

  .tool-card,
  .content-panel,
  .scene-step-nav,
  .scene-step-nav a,
  .clear-filters,
  .catalog-pagination button,
  .category-filters button {
    transition: none !important;
  }
}
:root {
  --switch-bg: rgba(23, 16, 12, .84);
  --switch-border: rgba(241, 196, 120, .48);
  --switch-ink: #fff1d3;
  --switch-muted: #d1b78d;
  --switch-accent: #e9ae58;
  --scene-mask-start: #21140f;
  --scene-mask-end: #6a3c22;
  --sign-neon-a: #ffe3a2;
  --sign-neon-b: #f1a844;
  --sign-neon-core: #fff9e8;
  --explore-progress: 0;
  --sky-pan-x: 0px;
  --cloud-pan-x: 0px;
  --city-pan-x: 0px;
  --scene-foreground-x: 0px;
  --scene-foreground-opacity: 1;
  --scene-tree-x: 0px;
  --scene-tree-opacity: 1;
  --content-reveal: 0;
  --card-reveal: 0;
  --content-shift: 11vw;
  --card-shift-y: 22px;
  --filter-shift-x: 28px;
  --forest-route-progress: 0;
  --forest-route-x: 100%;
  --city-route-opacity: 1;
  --forest-seam-position: 100%;
  --forest-city-solid-end: 100%;
  --forest-city-blend-mid: 100%;
  --forest-city-fade-end: 100%;
  --forest-route-feather-mid: 0%;
  --forest-route-feather-end: 0%;
  --forest-route-overlap-x: 0%;
  --forest-seam-tree-opacity: 0;
  --forest-seam-tree-scale: .96;
}

.wide-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background: #15100c;
}

.wide-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.683vh);
  height: max(100vh, 56.28vw);
  overflow: hidden;
  background: #16100d;
  transform: translate(-50%, -50%);
  transform-origin: center;
}

.wide-layer-stack,
.scene-art-layer,
.scene-route-layer,
.scene-route-seam {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wide-layer-stack {
  overflow: hidden;
  isolation: isolate;
}

.scene-art-layer,
.scene-object-image,
.scene-full-image,
.scene-panorama-image,
.scene-route-image,
.wide-tree-image,
.wide-leaf-sprite,
.foreground-plant-image {
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.scene-art-sky {
  z-index: 1;
}

.scene-route-forest-sky {
  z-index: 1;
}

.scene-art-clouds {
  z-index: 2;
  overflow: hidden;
}

.scene-art-city {
  z-index: 3;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0,
    #000 var(--forest-city-solid-end),
    rgba(0, 0, 0, .46) var(--forest-city-blend-mid),
    transparent var(--forest-city-fade-end),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0,
    #000 var(--forest-city-solid-end),
    rgba(0, 0, 0, .46) var(--forest-city-blend-mid),
    transparent var(--forest-city-fade-end),
    transparent 100%
  );
}

.wide-scene[data-forest-blend-state="street"] .scene-art-city {
  -webkit-mask-image: none;
  mask-image: none;
}

.wide-scene[data-forest-blend-state="street"]
  :is(.scene-route-forest-sky, .scene-route-forest-grove, .scene-route-seam) {
  visibility: hidden;
}

.wide-scene[data-forest-blend-state="forest"] .scene-art-city {
  opacity: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

.wide-scene[data-forest-blend-state="forest"]
  :is(.scene-route-forest-sky, .scene-route-forest-grove) {
  -webkit-mask-image: none;
  mask-image: none;
}

.wide-scene[data-forest-blend-state="forest"] .scene-route-seam {
  visibility: hidden;
}

.scene-route-forest-grove {
  z-index: 3;
}

.scene-route-seam {
  z-index: 4;
}

.scene-art-trees {
  z-index: 4;
}

.scene-art-interior {
  z-index: 5;
}

.scene-art-sign {
  z-index: 6;
}

.scene-art-desk {
  z-index: 8;
}

.scene-art-monitor {
  z-index: 9;
}

.scene-art-keyboard {
  z-index: 10;
}

.scene-art-lamp {
  z-index: 11;
}

.scene-art-cup {
  z-index: 12;
}

.scene-art-notebook {
  z-index: 13;
}

.scene-art-foreground {
  z-index: 14;
}

/* 拾光咖啡的前景植物继续保持替换预览，中央树已恢复为正式素材。 */
.wide-scene[data-scene-theme="warm"][data-warm-preview="asset-replacement"] :is(
  .scene-art-foreground
) {
  display: none;
}
.scene-panorama-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  object-fit: fill;
  max-width: none;
  backface-visibility: hidden;
}

.future-light-field {
  position: absolute;
  inset: 0;
  display: none;
  width: 200%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transform-origin: 0 0;
}

.wide-scene[data-scene-theme="future"] .future-light-field {
  display: block;
}

.future-sky-light-field {
  transform: translate3d(var(--sky-pan-x), 0, 0);
}

.future-city-light-field {
  transform: translate3d(var(--city-pan-x), 0, 0);
}

.future-route-light-field {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.wide-scene[data-scene-theme="future"] .future-route-light-field {
  display: block;
}

.future-light-field::before,
.future-route-light-field::before {
  position: absolute;
  inset: 0;
  content: "";
  background-repeat: no-repeat;
  mix-blend-mode: screen;
}

.future-sky-light-field::before {
  opacity: .74;
  background:
    radial-gradient(circle at 43.8% 20.2%, rgba(255, 255, 239, .98) 0 .7%, rgba(255, 204, 86, .42) 1.8%, transparent 4.2%),
    radial-gradient(circle at 7.3% 9.7%, rgba(255, 249, 205, .9) 0 .12%, transparent .7%),
    radial-gradient(circle at 19.2% 16.5%, rgba(255, 249, 205, .86) 0 .1%, transparent .62%),
    radial-gradient(circle at 35.5% 13.4%, rgba(255, 249, 205, .88) 0 .12%, transparent .68%),
    radial-gradient(circle at 47.3% 32.8%, rgba(255, 249, 205, .82) 0 .1%, transparent .58%),
    radial-gradient(circle at 12.3% 31.3%, rgba(255, 249, 205, .78) 0 .1%, transparent .54%);
}

.future-city-light-field::before {
  opacity: .68;
  background:
    radial-gradient(circle at 45.9% 51%, rgba(255, 250, 220, .96) 0 .35%, rgba(255, 164, 46, .34) 1.3%, transparent 3.2%),
    radial-gradient(circle at 38.4% 64%, rgba(255, 250, 220, .9) 0 .28%, rgba(255, 151, 34, .3) 1.1%, transparent 2.7%),
    radial-gradient(circle at 35.4% 70.6%, rgba(255, 244, 204, .84) 0 .2%, rgba(255, 139, 24, .25) .8%, transparent 2.1%),
    radial-gradient(circle at 29.6% 68.4%, rgba(255, 244, 204, .82) 0 .2%, rgba(255, 139, 24, .24) .8%, transparent 2%);
}

.future-route-light-field::before {
  opacity: .7;
  background:
    radial-gradient(circle at 72.7% 17.6%, rgba(255, 255, 239, .98) 0 1.3%, rgba(255, 204, 86, .4) 3.4%, transparent 7.8%),
    radial-gradient(circle at 7.7% 3.6%, rgba(255, 249, 205, .9) 0 .18%, transparent 1.1%),
    radial-gradient(circle at 42.1% 2.9%, rgba(255, 249, 205, .86) 0 .16%, transparent 1%),
    radial-gradient(circle at 63.6% 6.7%, rgba(255, 249, 205, .84) 0 .16%, transparent 1%),
    radial-gradient(circle at 49% 14.5%, rgba(255, 249, 205, .8) 0 .18%, transparent 1.1%);
}

.future-point-light {
  display: none !important;
}

.wide-scene[data-scene-theme="teahouse"] .scene-art-city {
  -webkit-mask-image: none;
  mask-image: none;
}

.wide-scene[data-scene-theme="teahouse"] .scene-art-sign {
  display: none;
}

.wide-scene[data-scene-theme="teahouse"] .scene-art-city::before,
.wide-scene[data-scene-theme="teahouse"] .scene-art-city::after {
  position: absolute;
  inset: 32% -28% 5% -12%;
  z-index: 1;
  content: "";
  pointer-events: none;
  background-repeat: repeat-x;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, .72) 12%,
    #000 24%,
    #000 80%,
    rgba(0, 0, 0, .68) 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, .72) 12%,
    #000 24%,
    #000 80%,
    rgba(0, 0, 0, .68) 90%,
    transparent 100%
  );
  contain: paint;
  backface-visibility: hidden;
  transform-origin: center;
}

.wide-scene[data-scene-theme="teahouse"] .scene-art-city::before {
  background-image:
    radial-gradient(
      ellipse 52% 28% at 50% 52%,
      rgba(252, 249, 239, .96) 0,
      rgba(244, 243, 231, .78) 38%,
      rgba(221, 230, 219, .26) 66%,
      transparent 84%
    ),
    radial-gradient(
      ellipse 58% 30% at 50% 50%,
      rgba(244, 246, 236, .9) 0,
      rgba(232, 238, 226, .62) 44%,
      rgba(212, 224, 214, .2) 68%,
      transparent 84%
    ),
    radial-gradient(
      ellipse 48% 26% at 50% 54%,
      rgba(255, 251, 239, .94) 0,
      rgba(240, 241, 228, .68) 42%,
      rgba(218, 228, 217, .22) 68%,
      transparent 85%
    ),
    radial-gradient(
      ellipse 54% 28% at 50% 50%,
      rgba(247, 246, 235, .88) 0,
      rgba(228, 236, 224, .54) 46%,
      rgba(210, 223, 211, .18) 70%,
      transparent 86%
    );
  background-size:
    680px 250px,
    920px 310px,
    560px 210px,
    800px 280px;
  background-position:
    -80px 10px,
    220px 95px,
    420px 220px,
    -260px 300px;
  filter: blur(14px) saturate(.72);
  opacity: .6;
}

.wide-scene[data-scene-theme="teahouse"] .scene-art-city::after {
  background-image:
    radial-gradient(
      ellipse 58% 30% at 50% 52%,
      rgba(249, 248, 236, .88) 0,
      rgba(232, 238, 226, .6) 44%,
      rgba(211, 224, 212, .2) 70%,
      transparent 86%
    ),
    radial-gradient(
      ellipse 50% 27% at 50% 50%,
      rgba(254, 250, 238, .9) 0,
      rgba(239, 240, 227, .62) 46%,
      rgba(219, 229, 218, .2) 70%,
      transparent 85%
    ),
    radial-gradient(
      ellipse 56% 29% at 50% 54%,
      rgba(243, 245, 233, .82) 0,
      rgba(225, 234, 222, .56) 48%,
      rgba(207, 222, 210, .18) 72%,
      transparent 87%
    ),
    radial-gradient(
      ellipse 48% 25% at 50% 50%,
      rgba(251, 248, 236, .86) 0,
      rgba(235, 238, 225, .58) 46%,
      rgba(215, 226, 214, .18) 70%,
      transparent 85%
    );
  background-size:
    1160px 360px,
    780px 260px,
    980px 320px,
    620px 240px;
  background-position:
    -340px -40px,
    90px 80px,
    520px 190px,
    -180px 300px;
  filter: blur(22px) saturate(.68);
  opacity: .44;
}

.wide-scene[data-scene-theme="cream"] .scene-art-city::after {
  position: absolute;
  inset: 38% -22% 7% -16%;
  z-index: 1;
  content: "";
  pointer-events: none;
  background-image:
    radial-gradient(
      ellipse 62% 30% at 50% 52%,
      rgba(248, 244, 228, .76) 0,
      rgba(218, 226, 214, .42) 43%,
      rgba(190, 207, 202, .14) 70%,
      transparent 86%
    ),
    radial-gradient(
      ellipse 54% 27% at 50% 50%,
      rgba(236, 239, 228, .68) 0,
      rgba(205, 219, 211, .36) 46%,
      rgba(177, 198, 199, .12) 72%,
      transparent 87%
    ),
    radial-gradient(
      ellipse 58% 29% at 50% 54%,
      rgba(239, 235, 229, .64) 0,
      rgba(211, 215, 216, .34) 46%,
      rgba(185, 195, 207, .1) 72%,
      transparent 88%
    );
  background-repeat: repeat-x;
  background-size:
    1100px 310px,
    760px 240px,
    980px 285px;
  background-position:
    -260px 8px,
    410px 118px,
    -40px 248px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, .68) 16%,
    #000 34%,
    #000 76%,
    rgba(0, 0, 0, .52) 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, .68) 16%,
    #000 34%,
    #000 76%,
    rgba(0, 0, 0, .52) 90%,
    transparent 100%
  );
  filter: blur(20px) saturate(.7);
  opacity: .24;
  contain: paint;
  backface-visibility: hidden;
  transform-origin: center;
}

.wide-scene[data-scene-theme="teahouse"] .scene-route-forest-grove {
  background: #d9ddcd;
}

.wide-scene[data-scene-theme="teahouse"] .scene-route-seam {
  display: none;
}

.wide-scene[data-scene-theme="future"] .scene-route-seam {
  display: none;
}

.wide-scene[data-scene-theme="cream"] .scene-route-seam {
  display: none;
}

.wide-scene[data-scene-theme="cream"] :is(
  .scene-art-lamp,
  .scene-art-cup,
  .scene-art-notebook,
  .scene-art-foreground
) {
  display: none;
}

#sceneSky {
  transform: translate3d(var(--sky-pan-x), 0, 0);
}

#sceneCity {
  transform: translate3d(var(--city-pan-x), 0, 0);
  opacity: var(--city-route-opacity);
}

.scene-route-layer {
  overflow: hidden;
  transform: translate3d(
    calc(var(--forest-route-x) - var(--forest-route-overlap-x)),
    0,
    0
  );
}

.scene-route-forest-sky,
.scene-route-forest-grove {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0, 0, 0, .42) var(--forest-route-feather-mid),
    #000 var(--forest-route-feather-end),
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0, 0, 0, .42) var(--forest-route-feather-mid),
    #000 var(--forest-route-feather-end),
    #000 100%
  );
}

.scene-route-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  max-width: none;
  backface-visibility: hidden;
}

.scene-route-seam {
  overflow: visible;
  opacity: var(--forest-seam-tree-opacity);
  transform: translate3d(var(--forest-route-x), 0, 0);
}

body:is(
  .is-route-transitioning,
  [data-route-phase="home-scrub"],
  [data-route-phase="committing"],
  [data-route-phase="returning"]
) :is(
  #sceneSky,
  #sceneCity,
  .scene-route-layer,
  .scene-route-seam,
  .scene-cloud-pan,
  .future-light-field
) {
  will-change: transform, opacity;
}

.scene-route-seam::before {
  position: absolute;
  top: -8%;
  bottom: -8%;
  left: -18%;
  width: 36%;
  content: "";
  opacity: .28;
  background:
    radial-gradient(
      ellipse at 50% 48%,
      rgba(255, 243, 195, .64) 0,
      rgba(240, 200, 111, .2) 40%,
      transparent 72%
    );
  filter: none;
  mix-blend-mode: normal;
}

.scene-route-seam-tree {
  position: absolute;
  bottom: -3.5%;
  left: -15.5%;
  display: block;
  width: 31%;
  height: 112%;
  object-fit: contain;
  object-position: 50% 100%;
  filter:
    saturate(.92)
    drop-shadow(0 5px 14px rgba(104, 68, 17, .18))
    drop-shadow(0 0 20px rgba(255, 220, 126, .2));
  transform: scale(var(--forest-seam-tree-scale)) rotate(-.12deg);
  transform-origin: 50% 100%;
  animation: forest-seam-tree-breeze 6.8s ease-in-out infinite alternate;
  animation-play-state: paused;
}

body:is(
  [data-route-phase="committing"],
  [data-route-phase="returning"]
) .scene-route-seam-tree {
  animation-play-state: running;
  will-change: transform;
}

.scene-cloud-pan,
.scene-cloud-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.scene-cloud-pan {
  width: 100%;
  transform: translate3d(var(--cloud-pan-x), 0, 0);
}

body:is(
  .is-cloud-paused,
  .is-route-transitioning,
  [data-route-phase="home-scrub"],
  [data-route-phase="committing"],
  [data-route-phase="returning"]
) .scene-cloud-track {
  animation-play-state: paused !important;
  will-change: auto;
}

body[data-route="home"]:not(.is-cloud-paused) .scene-cloud-track {
  will-change: transform;
}

body:is(.is-scene-paused, .is-scene-static) .wide-leaf-field {
  display: none;
}

body:is(.is-scene-paused, .is-scene-static) .wide-leaf-particle {
  opacity: 0 !important;
  animation: none !important;
  transform: translate3d(0, 0, 0) rotate(0deg) !important;
  will-change: auto;
}

body.is-scene-paused .wide-wall-sign-copy {
  color: var(--sign-neon-core);
  opacity: 1;
  filter: brightness(1);
  animation: none !important;
}

.scene-cloud-track {
  display: flex;
  width: 400%;
  animation: scene-cloud-drift var(--cloud-period, 94s) linear infinite;
}

.scene-cloud-image {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  object-fit: fill;
  max-width: none;
}

.scene-cloud-set {
  position: relative;
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.scene-cloud-sprite {
  position: absolute;
  display: block;
  overflow: visible;
  opacity: var(--cloud-opacity, .72);
}

.scene-cloud-atlas-image {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: fill;
  transform-origin: center;
  user-select: none;
  pointer-events: none;
}

.scene-cloud-crop {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  transform-origin: center;
}

.scene-cloud-crop.is-flipped {
  transform: scaleX(-1);
}

.scene-art-trees,
.wide-leaf-field {
  overflow: visible;
}

.scene-art-trees {
  opacity: var(--scene-tree-opacity);
  translate: var(--scene-tree-x) 0;
}

.wide-tree-instance {
  position: absolute;
  overflow: visible;
  pointer-events: none;
}

.wide-scene[data-scene-theme="warm"]
  .wide-tree-instance[data-tree-id="warm-ginkgo-center"] {
  left: calc(28.469% + 50vw) !important;
}

.wide-tree-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translate3d(0, 0, 0);
  transform-origin: var(--tree-pivot-x, 50%) var(--tree-pivot-y, 100%);
  backface-visibility: hidden;
}

.wide-scene[data-scene-theme="teahouse"]
  .wide-tree-instance[data-tree-id^="teahouse-bamboo-"] {
  opacity: .86;
  mix-blend-mode: multiply;
}

.wide-scene[data-scene-theme="teahouse"]
  .wide-tree-instance[data-tree-id^="teahouse-bamboo-"]
  .wide-tree-image {
  filter: saturate(.7) contrast(.92) brightness(1.03);
}

.wide-scene[data-scene-theme="cream"]
  .wide-tree-instance[data-tree-id="garden-wisteria-window-top"]
  .wide-tree-image {
  filter: saturate(.9) contrast(.96) brightness(1.02);
}

.wide-leaf-field {
  position: absolute;
  inset: 0;
  contain: layout paint;
  pointer-events: none;
}

.wide-leaf-particle {
  position: absolute;
  top: var(--leaf-origin-y);
  left: var(--leaf-origin-x);
  width: var(--leaf-size);
  height: var(--leaf-size);
  opacity: 0;
  object-fit: contain;
  transform-origin: 50% 72%;
  animation: scene-leaf-fall var(--leaf-duration) linear var(--leaf-delay) infinite;
}

body[data-route="home"]:not(.is-scene-static, .is-scene-paused) .wide-leaf-particle {
  will-change: transform, opacity;
}

.wide-leaf-particle[data-leaf-layer="small"] {
  filter: blur(.16px) saturate(.92);
}

.wide-leaf-particle[data-leaf-layer="large"] {
  filter: drop-shadow(0 1px 2px rgba(154, 94, 18, .18));
}

.wide-scene[data-scene-theme="teahouse"] .wide-leaf-sprite {
  filter: saturate(.66) contrast(.9);
}

.wide-scene[data-scene-theme="cream"] .wide-leaf-sprite {
  filter: drop-shadow(0 1px 2px rgba(92, 76, 132, .16)) saturate(.92);
}

.scene-full-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.scene-art-interior,
.scene-art-sign,
.scene-art-desk,
.scene-art-monitor,
.scene-art-keyboard,
.scene-art-lamp,
.scene-art-cup,
.scene-art-notebook,
.scene-art-foreground {
  opacity: var(--scene-foreground-opacity);
}

.scene-art-interior,
.scene-art-desk,
.scene-art-monitor,
.scene-art-keyboard,
.scene-art-lamp,
.scene-art-cup,
.scene-art-notebook,
.scene-art-foreground {
  translate: var(--scene-foreground-x) 0;
}

.scene-object-image,
.foreground-plant-image {
  position: absolute;
  object-fit: fill;
  pointer-events: none;
}

.scene-parallax-image {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
}

body.is-scene-interacting .scene-parallax-image {
  will-change: transform;
}

.foreground-plant-instance {
  position: absolute;
  pointer-events: none;
}

.scene-art-sign {
  transform: none !important;
  translate: none !important;
}

.wide-wall-sign-copy {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 0 2%;
  color: var(--sign-neon-core);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.7vw, 46px);
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .018em;
  paint-order: stroke fill;
  -webkit-text-stroke: .45px var(--sign-neon-b);
  white-space: nowrap;
  filter: brightness(1);
  text-shadow:
    0 0 1px var(--sign-neon-core),
    0 0 5px var(--sign-neon-core),
    0 0 12px var(--sign-neon-a),
    0 0 24px var(--sign-neon-a),
    0 0 42px var(--sign-neon-b);
  pointer-events: none;
}

.wide-scene[data-scene-theme="warm"] .wide-wall-sign-copy {
  overflow: hidden;
  padding-inline: 0;
  font-size: clamp(54px, 4.3vw, 58px);
  letter-spacing: .012em;
  text-shadow:
    0 0 1px var(--sign-neon-core),
    0 0 4px var(--sign-neon-core),
    0 0 8px var(--sign-neon-a),
    0 0 12px var(--sign-neon-b);
}
/* 手动主题选择器与场景遮罩已移除；页面导航统一由常显底部导航承担。 */
@keyframes scene-cloud-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes scene-leaf-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -8px, 0) rotate(var(--leaf-spin-start, 0deg));
  }

  10%,
  72% {
    opacity: var(--leaf-opacity, .72);
  }

  46% {
    transform: translate3d(var(--leaf-mid-x), var(--leaf-mid-y), 0)
      rotate(var(--leaf-spin-mid, 150deg));
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--leaf-end-x), var(--leaf-end-y), 0)
      rotate(var(--leaf-spin-end, 340deg));
  }
}

/* 仅在路线过场的短暂提交阶段运行，不属于页面常驻动画。 */
@keyframes forest-seam-tree-breeze {
  from {
    transform: scale(var(--forest-seam-tree-scale)) rotate(-.22deg) translateX(-.5px);
  }

  to {
    transform: scale(var(--forest-seam-tree-scale)) rotate(.28deg) translateX(.8px);
  }
}
@media (prefers-reduced-motion: reduce), (max-width: 820px) {
  .scene-cloud-track,
  .wide-leaf-particle,
  .scene-route-seam-tree {
    animation: none !important;
    will-change: auto !important;
  }

  .wide-leaf-field {
    display: none;
  }

  .wide-tree-image,
  .scene-parallax-image {
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  .scene-panorama-image,
  .scene-route-layer,
  .scene-cloud-pan,
  .scene-route-seam {
    transition: none !important;
    will-change: auto !important;
  }
}
:root {
  --intro-ink: #17242d;
  --intro-cyan: #0b7185;
  --intro-cord-gold: #d7a84d;
}

.home-intro {
  --intro-panel-width: clamp(500px, 43vw, 610px);
  --intro-panel-left: max(76px, calc(38.2vw - 18px - var(--intro-panel-width)));
  --intro-card-top: clamp(104px, 15vh, 144px);
  --intro-cord-inset: clamp(76px, 7vw, 106px);
  position: absolute;
  z-index: 190;
  inset: 0;
  pointer-events: none;
}

.home-intro[hidden] {
  display: none;
}

.home-intro::before,
.home-intro::after {
  position: absolute;
  top: 0;
  width: 2px;
  height: calc(var(--intro-card-top) + 5px);
  content: "";
  background: linear-gradient(180deg, rgba(255, 233, 171, .5), var(--intro-cord-gold));
  box-shadow: 0 0 4px rgba(215, 168, 77, .26);
  transform: translateX(-50%);
  pointer-events: none;
}

.home-intro::before {
  left: calc(var(--intro-panel-left) + var(--intro-cord-inset));
}

.home-intro::after {
  left: calc(var(--intro-panel-left) + var(--intro-panel-width) - var(--intro-cord-inset));
}

.home-intro-notebook {
  position: absolute;
  top: var(--intro-card-top);
  left: var(--intro-panel-left);
  width: var(--intro-panel-width);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 26px;
  color: var(--intro-ink);
  background: var(--card-surface);
  box-shadow: 0 20px 50px rgba(7, 16, 22, .2);
  pointer-events: auto;
  transition: opacity .2s ease, transform .2s ease;
}

.home-intro-notebook::before {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  content: "";
  background: linear-gradient(116deg, rgba(255, 255, 255, .4), transparent 40%);
  pointer-events: none;
}

.home-intro-notebook-page {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 30px 34px 29px;
}

.home-intro-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.home-intro-logo-frame {
  display: grid;
  flex: 0 0 58px;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 18px;
  background: #17252e;
  box-shadow: 0 8px 22px rgba(12, 22, 28, .16);
}

.home-intro-logo {
  display: block;
  width: 39px;
  height: auto;
}

.home-intro-kicker {
  margin: 0;
  color: #26343d;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .17em;
}

.home-intro-notebook h2 {
  margin: 0;
  color: #17252e;
  font-size: clamp(31px, 2.7vw, 40px);
  font-weight: 720;
  line-height: 1.2;
}

.home-intro-copy {
  margin: 15px 0 21px;
  color: #35444c;
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 500;
  line-height: 1.72;
}

.home-intro-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 4px;
  border: 1px solid var(--control-border-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, .34);
  box-shadow: inset 0 1px rgba(255, 255, 255, .78);
}

.home-intro-actions a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  color: var(--control-ink);
  background: transparent;
  box-shadow: none;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.home-intro-actions a:first-child {
  color: var(--control-ink-strong);
  background: rgba(239, 221, 177, .34);
  box-shadow: inset 0 0 0 1px rgba(139, 116, 77, .28);
}

.home-intro-actions a:not(:last-child)::after {
  position: absolute;
  top: 12px;
  right: 0;
  width: 1px;
  height: 20px;
  background: var(--control-border-soft);
  content: "";
}

.home-intro-actions a:hover,
.home-intro-actions a:focus-visible {
  color: var(--control-ink-strong);
  background: var(--control-glass-hover);
  box-shadow: inset 0 0 0 1px var(--control-border-soft);
}

.home-intro-actions a:active {
  background: var(--control-glass-active);
}

.home-intro-actions a:focus-visible {
  outline: 2px solid var(--control-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .92);
}

.home-intro.is-entering .home-intro-notebook {
  animation: home-intro-arrive .46s .06s cubic-bezier(.2, .78, .22, 1) both;
}

.home-intro.is-hidden .home-intro-notebook {
  opacity: 0;
  transform: translateX(-24px);
}

.home-intro.is-hidden::before,
.home-intro.is-hidden::after {
  opacity: 0;
}

@keyframes home-intro-arrive {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 680px) {
  .home-intro {
    --intro-panel-left: 16px;
    --intro-panel-width: calc(100% - 32px);
    --intro-card-top: calc(var(--safe-top) + 132px);
    --intro-cord-inset: 54px;
  }

  .home-intro-notebook {
    border-radius: 22px;
  }

  .home-intro-notebook-page {
    padding: 21px 19px;
  }

  .home-intro-logo-frame {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .home-intro-logo {
    width: 33px;
  }

  .home-intro-notebook h2 {
    font-size: 26px;
  }

  .home-intro-copy {
    margin: 11px 0 17px;
    font-size: 16px;
  }

  .home-intro-actions {
    gap: 0;
  }

  .home-intro-actions a {
    min-height: 46px;
    padding-inline: 7px;
    font-size: 12px;
  }
}

@media (orientation: landscape) and (max-height: 620px) {
  .home-intro {
    --intro-panel-left: max(76px, calc(env(safe-area-inset-left) + 66px));
    --intro-panel-width: min(420px, calc(100vw - var(--intro-panel-left) - 80px));
    --intro-card-top: max(54px, calc(16px + env(safe-area-inset-top)));
  }

  .home-intro-notebook-page {
    max-height: calc(100dvh - var(--intro-card-top) - 78px);
    padding: 16px 18px 15px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .home-intro-brand {
    margin-bottom: 5px;
  }

  .home-intro-logo-frame {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .home-intro-logo {
    width: 27px;
  }

  .home-intro-notebook h2 {
    font-size: 19px;
  }

  .home-intro-copy {
    margin: 7px 0 10px;
    font-size: 14px;
    line-height: 1.5;
  }
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .home-intro.is-entering .home-intro-notebook {
    animation: none;
  }

  .home-intro-notebook,
  .home-intro-actions a,
  .home-intro-toggle {
    transition: none;
  }
}
.scene-utility-controls {
  position: absolute;
  z-index: 245;
  top: var(--safe-top);
  left: var(--safe-left);
  display: flex;
  gap: 10px;
}

body:not([data-route="home"]) .scene-utility-controls,
body[data-route-target]:not([data-route-target="home"]) .scene-utility-controls {
  display: none;
}

.home-intro-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--control-border);
  border-radius: 11px;
  color: var(--control-ink);
  background: var(--control-glass);
  box-shadow:
    0 8px 24px rgba(57, 45, 27, .12),
    inset 0 1px rgba(255, 255, 255, .94);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: .015em;
  cursor: pointer;
}

.home-intro-toggle:hover {
  border-color: var(--control-border-strong);
  color: var(--control-ink);
  background: var(--control-glass-hover);
  box-shadow:
    0 10px 26px rgba(57, 45, 27, .14),
    inset 0 1px rgba(255, 255, 255, .98);
}

.home-intro-toggle[aria-expanded="false"],
.home-intro-toggle[aria-pressed="true"] {
  border-color: var(--control-border-strong);
  color: var(--control-ink-strong);
  background: var(--control-glass-selected);
}

.home-intro-toggle:active {
  border-color: var(--control-border-strong);
  background: var(--control-glass-active);
}

.home-intro-toggle:disabled {
  border-color: #b8b1a5;
  color: var(--control-disabled-ink);
  background: var(--control-glass-disabled);
  box-shadow: none;
  cursor: not-allowed;
}

.home-intro-toggle:focus-visible {
  outline: 2px solid var(--control-focus);
  outline-offset: 3px;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, .92),
    var(--control-shadow);
}

.scene-motion-toggle[hidden] {
  display: none;
}

@media (max-width: 820px), (prefers-reduced-motion: reduce) {
  .home-intro-toggle.scene-motion-toggle {
    display: none;
  }
}

@media (max-width: 680px) {
  .scene-utility-controls {
    top: calc(var(--safe-top) + 66px);
  }

  .home-intro-toggle {
    min-width: 88px;
    padding-inline: 12px;
  }
}

@media (forced-colors: active) {
  .home-intro-toggle {
    border: 2px solid ButtonText;
    color: ButtonText;
    background: ButtonFace;
  }
}
