:root {
  --paper: #f8f7f2;
  --panel: #fffefa;
  --ink: #293d34;
  --muted: #748077;
  --green: #284c3f;
  --line: #e2e6dd;
  --sage: #edf0e7;
  --peach: #dba689;
  --radius: 18px;
  font-family: "Aptos", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { border: 0; background: none; color: inherit; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
button:active { transform: translateY(1px); }
button:disabled { cursor: not-allowed; opacity: .48; }
button, a, summary { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid #698675; outline-offset: 4px; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
p, h1, h2, h3 { margin: 0; }
p { line-height: 1.8; }
button svg, [data-icon] svg { width: 19px; height: 19px; flex-shrink: 0; stroke-width: 1.6; }
[data-icon] { display: inline-flex; flex-shrink: 0; }
.hidden, [hidden] { display: none !important; }
.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; }
.tiny-dot { display: inline-block; width: 5px; height: 5px; flex-shrink: 0; background: #7b947c; border-radius: 50%; }
.app-shell { min-height: 100dvh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 10; display: flex; flex-direction: column; width: 192px; padding: 35px 16px 21px; border-right: 1px solid var(--line); background: #f1f3eb; }
.brand { display: flex; align-items: center; gap: 10px; margin: 0 13px; font: 500 27px/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.8px; white-space: nowrap; }
.brand-period { color: #9fae8e; }
.brand-symbol { position: relative; width: 27px; font: 400 40px/1 Georgia, serif; letter-spacing: -6px; color: #48674f; }
.brand-symbol > span { display: inline-block; width: 11px; height: 19px; margin-left: 6px; background: #48674f; border-radius: 8px 8px 8px 1px; transform: translateY(-1px) rotate(8deg); }
.sidebar nav { display: grid; gap: 5px; margin-top: 48px; }
.nav-item { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 13px; border-radius: 8px; color: #74816f; font-size: 12px; text-align: left; white-space: nowrap; }
.nav-item:hover { background: #e9ede2; color: var(--ink); }
.nav-item.active { background: #e0e8d9; color: #35513c; font-weight: 600; }
.nav-item svg { width: 17px; height: 17px; }
.nav-arrow { margin-left: auto; color: #72836b; font-size: 17px; font-weight: 400; }
.sidebar-utility { margin-top: auto; }
.sidebar-bottom { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 13px; margin-bottom: 16px; font-size: 11px; color: #7c8876; }
.sidebar-bottom:hover { color: var(--green); }
.sidebar-bottom svg { width: 15px; height: 15px; }
.sidebar-version { display: flex; align-items: center; gap: 7px; margin: 0 13px; color: #9aa28e; font-size: 8px; letter-spacing: .7px; }
.sidebar-version > span:last-child { margin-left: auto; }
main { width: calc(100% - 192px); max-width: 1600px; margin-left: 192px; padding: 24px 42px 30px; }
.mode-badge { display: flex; align-items: center; justify-self: start; gap: 7px; min-height: 17px; padding: 0; color: #76856d; font-size: 10px; }
.mode-badge:hover { background: var(--sage); }
.mode-badge svg { width: 13px; height: 13px; }
.view { animation: arrive .32s ease-out; }
.page-intro { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 27px; }
.title-panel { position: relative; isolation: isolate; overflow: hidden; min-height: 116px; padding: 20px 28px; border: 1px solid #e1e4d6; border-radius: 20px; background: radial-gradient(ellipse at 85% 0%, #e4cda24a, transparent 62%), linear-gradient(115deg, #eef0e5, #f6efe2 60%, #e9edde); box-shadow: inset 0 1px 0 #ffffffb3; }
.title-panel::before { content: ""; position: absolute; z-index: -1; pointer-events: none; top: -112px; right: 36px; width: 300px; height: 230px; border: 1px solid #8c9b7833; border-radius: 50%; box-shadow: 0 0 0 23px #f9f8ed45, 0 0 0 24px #8c9b7824, 0 0 0 48px #f9f8ed30, 0 0 0 49px #8c9b781c; transform: rotate(-18deg); }
.title-panel::after { content: ""; position: absolute; z-index: -1; pointer-events: none; right: 245px; bottom: -44px; width: 110px; height: 110px; border-radius: 50%; background: linear-gradient(140deg, #d3b58438, #c8d1b630); }
.title-panel > div { min-width: 0; }
.title-panel > .quiet-button { flex-shrink: 0; background: #fffef980; border-color: #d8dfcc; }
.title-panel > .quiet-button:hover { background: #fffefa; }
.title-panel .eyebrow { color: #6d7d60; }
.page-intro h1 { font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif; font-size: 31px; font-weight: 500; letter-spacing: -.6px; line-height: 1.5; }
.serif-question { color: #89977b; }
.page-intro p { margin-top: 7px; color: #6e7e63; font-size: 12px; }
.intro-mark { padding-right: 3px; flex-shrink: 0; font: italic 19px/1.5 Georgia, serif; color: #879276; }
.eyebrow { color: #8a987d; font-size: 10px; letter-spacing: 1px; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) 308px; align-items: start; gap: 25px; }
.room-column { min-width: 0; }
.scene-card { position: relative; isolation: isolate; overflow: hidden; background: #c6c7af; border: 1px solid #586b3f0a; border-radius: var(--radius); }
.room-column > .scene-card { aspect-ratio: 1100 / 760; }
.scene-art { position: absolute; inset: 0; overflow: hidden; }
.scene-art > svg { position: absolute; top: 0; left: 50%; width: auto; height: 100%; min-width: 100%; max-width: none; aspect-ratio: 1100 / 760; transform: translateX(-50%); }
.room-illustration { overflow: hidden; }
.scene-grain { position: absolute; inset: 0; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='130'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.6' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
.scene-top { position: absolute; z-index: 2; top: 17px; left: 17px; right: 17px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.scene-location, .glass-button { display: flex; align-items: center; gap: 6px; min-height: 34px; padding: 8px 11px; border: 1px solid #fff7df36; border-radius: 20px; background: #fbf9eed9; backdrop-filter: blur(12px); color: #52624b; font-size: 10px; line-height: 1.5; }
.scene-location { min-width: 0; max-width: 68%; }
.scene-location > span:last-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.scene-location svg, .glass-button svg { width: 13px; height: 13px; }
.glass-button { flex-shrink: 0; }
.glass-button:hover { background: #fffdf2; }
.scene-count { position: absolute; left: 19px; bottom: 18px; padding: 7px 10px; border-radius: 20px; color: #fdf9e9; background: #334b396e; backdrop-filter: blur(12px); font-size: 10px; line-height: 1.4; }
.inspiration-header { margin: 20px 0 11px; }
.inspiration-header h3 { color: #88957e; font-size: 11px; font-weight: 400; }
.topic-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.topic-card { position: relative; display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 48px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fcfbf6; text-align: left; }
.topic-card:hover { border-color: #a9b59a; background: #f0f3e8; }
.topic-card.selected { border-color: #8d9f80; background: #edf1e4; }
.topic-illustration { display: inline-flex; flex-shrink: 0; color: #8a9b77; }
.topic-illustration svg { width: 18px; height: 18px; stroke-width: 1.3; }
.topic-card strong { font-size: 10px; font-weight: 400; line-height: 1.6; white-space: nowrap; }
.topic-card small, .topic-card .card-arrow { display: none; }
.setup-panel { min-width: 0; padding: 23px 22px 19px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.field-label { display: block; margin-bottom: 10px; color: #617158; font-size: 12px; font-weight: 500; }
.topic-input-wrap { padding: 12px 12px 8px; border: 1px solid #e1e6d8; border-radius: 9px; background: #f6f7ef; }
.topic-input-wrap:focus-within { border-color: #94a486; box-shadow: 0 0 0 3px #90a47e0b; }
.topic-input-wrap textarea { display: block; width: 100%; min-height: 57px; padding: 0; resize: none; border: 0; outline: none; color: #435b38; background: transparent; font-size: 13px; line-height: 1.9; }
.topic-input-wrap textarea::placeholder { color: #a0a98f; }
.topic-input-wrap > span { display: block; text-align: right; color: #79886c; font-size: 9px; line-height: 1.8; font-variant-numeric: tabular-nums; }
.people-label { margin-top: 21px; }
.participant-field { display: flex; align-items: center; gap: 12px; }
.participant-field .segmented { flex: 1; min-width: 0; }
.participant-unit { color: #617158; font-size: 11px; white-space: nowrap; }
.participant-limit { margin: 9px 0 -4px; color: #8b7b5e; font-size: 10px; line-height: 1.7; }
.topic-language { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; }
.topic-language label { color: #7c8f6b; font-size: 10px; }
.topic-language select { max-width: 140px; min-height: 32px; padding: 5px 23px 5px 9px; border: 1px solid #e0e8d5; border-radius: 6px; color: #678052; background: #fbfdf5; font-size: 10px; line-height: 1.7; }
.topic-language select:disabled { color: #a2af91; background: #f7f9f0; }
.language-note { margin: 8px 0 -3px; color: #829372; font-size: 9px; line-height: 1.7; }
.language-note[data-warning="true"] { color: #927654; }
.segmented { display: flex; gap: 4px; padding: 4px; border: 1px solid #e5e9dc; border-radius: 9px; background: #f3f5eb; }
.segmented button { display: flex; flex: 1; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 7px 5px; border-radius: 6px; color: #8b967a; font-size: 12px; }
.segmented button svg { width: 16px; height: 16px; }
.segmented .selected { background: #fffefa; color: #45603b; box-shadow: 0 1px 4px #2f4b3010; }
.friend-stack { display: flex; flex-wrap: wrap; gap: 10px 13px; align-items: center; min-height: 32px; margin: 14px 0 21px; }
.mini-avatar { display: inline-flex; width: 29px; height: 29px; flex-shrink: 0; overflow: hidden; border-radius: 50%; }
.mini-avatar svg { width: 100%; height: 100%; }
.friend-stack > span:not(.friend-chip):last-child { margin-left: 2px; color: #8a987a; font-size: 10px; }
.friend-chip { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.friend-chip > span:last-child { display: grid; gap: 3px; }
.friend-chip strong { color: #627455; font-size: 10px; font-weight: 500; line-height: 1.3; }
.friend-chip small { color: #748367; font-size: 9px; line-height: 1.3; white-space: nowrap; }
#setup-friends[data-count="4"] { --friend-count: 4; }
#setup-friends[data-count="5"] { --friend-count: 5; }
#setup-friends:is([data-count="4"],[data-count="5"]) { display: grid; grid-template-columns: repeat(var(--friend-count),minmax(0,1fr)); gap: 6px; align-items: start; }
#setup-friends:is([data-count="4"],[data-count="5"]) .friend-chip { flex-direction: column; gap: 5px; text-align: center; }
#setup-friends:is([data-count="4"],[data-count="5"]) .mini-avatar { width: 26px; height: 26px; }
#setup-friends:is([data-count="4"],[data-count="5"]) .friend-chip > span:last-child { justify-items: center; gap: 3px; }
#setup-friends:is([data-count="4"],[data-count="5"]) .friend-chip strong { font-size: 10px; }
#setup-friends:is([data-count="4"],[data-count="5"]) .friend-chip small { font-size: 8px; }
.friend-mode-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -11px 0 17px; }
.friend-mode-controls select { min-height: 29px; max-width: 145px; padding: 4px 23px 4px 8px; border: 1px solid #e2e8d9; border-radius: 6px; color: #788d66; background: #fbfdf6; font-size: 10px; }
.friend-picker-toggle { min-height: 30px; padding: 5px 1px; color: #69815a; font-size: 10px; }
.friend-picker-toggle:hover { color: var(--green); }
.friend-picker { margin: -5px 0 18px; padding: 10px; border: 1px solid #e2e8d8; border-radius: 9px; background: #f8faf1; }
.friend-picker-options { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; }
.friend-picker-options button { display: grid; justify-items: center; gap: 6px; min-width: 0; padding: 7px 2px; border: 1px solid transparent; border-radius: 7px; color: #91a080; font-size: 9px; }
.friend-picker-options button > svg { width: 31px; height: 31px; }
.friend-picker-options button[aria-pressed="true"] { border-color: #a2b392; color: #567644; background: #edf4e3; }
.friend-picker-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; color: #7c916a; font-size: 10px; }
.friend-picker-footer .quiet-button { min-height: 31px; padding: 5px 12px; font-size: 10px; }
.saved-scene-unavailable { display: grid; height: 100%; place-items: center; color: #879875; font-size: 11px; }
.mood-selector { display: flex; gap: 7px; }
.mood-selector button { display: flex; flex: 1; align-items: center; justify-content: center; gap: 5px; min-height: 39px; padding: 9px 5px; border: 1px solid #e1e6d7; border-radius: 7px; color: #8f9b7f; font-size: 11px; }
.mood-selector svg { width: 15px; height: 15px; }
.mood-selector button:hover { background: #f4f5ed; }
.mood-selector .selected { border-color: #d7c8a9; background: #f7f1e4; color: #92815a; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 13px 19px; border-radius: 8px; color: #fffdf3; background: var(--green); font-size: 12px; line-height: 1.6; }
.primary-button:hover { background: #365f4c; }
.primary-button > span:last-child { font-size: 19px; line-height: 1; }
.enter-button { display: flex; justify-content: space-between; width: 100%; margin-top: 23px; font-size: 13px; }
.entry-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 11px; color: #748466; font-size: 10px; }
.entry-note svg { width: 12px; height: 12px; }
.connection-settings { margin-top: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.connection-settings > summary { display: flex; align-items: center; gap: 17px; min-height: 55px; padding: 12px 0; cursor: pointer; list-style: none; }
.connection-settings > summary::-webkit-details-marker { display: none; }
.connection-settings-label { flex-shrink: 0; color: #76886b; font-size: 11px; }
.connection-availability { display: flex; align-items: center; gap: 7px; min-width: 0; color: #718262; font-size: 10px; line-height: 1.7; }
.connection-availability .tiny-dot { width: 4px; height: 4px; background: #a1ac90; }
.settings-chevron { flex-shrink: 0; margin-left: auto; color: #92a084; font-size: 16px; line-height: 1; }
.connection-settings[open] > summary .settings-chevron { transform: rotate(45deg); }
.connection-settings-body { display: grid; gap: 14px; padding: 5px 0 18px; min-width: 0; }
.voice-connection { display: flex; align-items: center; gap: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: #f1f4e9; }
.voice-mode-field { display: grid; gap: 8px; min-width: 0; flex: 1; }
.voice-mode-field h3 { font-size: 11px; font-weight: 500; color: #6a7d5e; }
.voice-mode-field select, .dialog-input, #custom-count { display: block; width: 100%; min-width: 0; min-height: 42px; padding: 10px 12px; border: 1px solid #d9e2ce; border-radius: 8px; color: #4e653f; background: #fffef8; font-size: 12px; line-height: 1.7; }
.voice-mode-field small { color: #8d9a7d; font-size: 10px; line-height: 1.7; }
.voice-check-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.voice-check-actions button, .voice-check-actions a { min-height: 40px; padding: 10px 12px; border: 1px solid #d5dfc9; border-radius: 7px; color: #6b825b; background: #fbfdf4; font-size: 11px; }
.voice-check-actions button:hover, .voice-check-actions a:hover { background: #e6eddc; }
.gemini-config { min-width: 0; border: 1px solid var(--line); border-radius: 11px; background: #fdfdf6; }
.gemini-config summary { padding: 15px 18px; color: #708861; font-size: 11px; cursor: pointer; }
.gemini-config summary > span { margin-left: 8px; color: #9aa58b; font-size: 10px; }
.gemini-config form { display: grid; gap: 10px; min-width: 0; padding: 0 18px 18px; }
.gemini-config p { color: #839472; font-size: 11px; line-height: 1.9; overflow-wrap: anywhere; }
.gemini-config a { color: #5d7d4b; text-decoration: underline; text-underline-offset: 3px; }
.gemini-config form > label { color: #7a8c68; font-size: 11px; }
.gemini-config input[type=password] { width: 100%; min-width: 0; min-height: 43px; padding: 10px 12px; border: 1px solid #dce5d0; border-radius: 8px; background: #f5f8ec; color: #4e6c3e; font-size: 13px; }
.provider-config-input { width: 100%; min-width: 0; min-height: 43px; padding: 10px 12px; border: 1px solid #dce5d0; border-radius: 8px; background: #f5f8ec; color: #4e6c3e; font-size: 12px; }
.gemini-confirm { display: flex; align-items: flex-start; gap: 9px; line-height: 1.9; }
.gemini-confirm input { flex-shrink: 0; margin: 4px 0 0; accent-color: #597d46; }
.gemini-config .gemini-config-help { color: #99a38b; font-size: 10px; }
.gemini-config-actions { display: flex; align-items: center; gap: 14px; min-width: 0; }
.gemini-config-actions button { flex-shrink: 0; }
.gemini-config-actions p { font-size: 10px; }
.home-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 18px; color: #a0a88f; font-size: 10px; }
.home-footer button { display: flex; align-items: center; gap: 10px; min-height: 35px; color: #859775; font-size: 10px; }
.home-footer button:hover { color: var(--green); }
.quiet-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 41px; padding: 10px 14px; border: 1px solid #dce3d1; border-radius: 8px; color: #708562; font-size: 11px; line-height: 1.7; white-space: nowrap; }
.quiet-button:hover { background: #edf2e3; }
.quiet-button svg { width: 16px; height: 16px; }
.room-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 23px; }
.room-heading.title-panel { min-height: 100px; padding: 17px 24px; }
.room-heading h1 { margin-top: 7px; font-size: 23px; font-weight: 500; line-height: 1.6; letter-spacing: -.3px; overflow-wrap: anywhere; }
.room-heading > div { min-width: 0; }
.room-heading > .quiet-button { flex-shrink: 0; }
.live-layout { display: grid; grid-template-columns: minmax(0, 1fr) 173px; gap: 25px; }
.live-main { min-width: 0; }
.live-scene-wrap { position: relative; }
.live-scene { aspect-ratio: 1100 / 760; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #7b9869; box-shadow: 0 0 0 3px #7c9f6020; flex-shrink: 0; }
.subtitle { position: absolute; z-index: 3; left: 50%; bottom: 34px; width: max-content; max-width: 88%; padding: 10px 19px; border: 1px solid #fffcf040; border-radius: 11px; color: #4e6242; background: #fbf9eeef; backdrop-filter: blur(12px); transform: translateX(-50%); text-align: center; box-shadow: 0 3px 13px #21351e0c; }
.subtitle > span { display: block; margin-bottom: 3px; color: #98a086; font-size: 9px; letter-spacing: .5px; }
.subtitle p { font-size: 13px; line-height: 1.8; }
.persona-labels { position: absolute; top: 0; left: 50%; width: auto; height: 100%; min-width: 100%; aspect-ratio: 1100 / 760; transform: translateX(-50%); pointer-events: none; }
.persona-tag { position: absolute; top: var(--seat-y); left: var(--seat-x); display: flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 12px; color: #6d7b59; background: #fbf8e8cf; font-size: 9px; line-height: 1.4; white-space: nowrap; transform: translateX(-50%); }
.persona-tag.active { color: #3e6734; background: #fffdee; box-shadow: 0 0 0 3px #fffcec26; }
.persona-tag em { font-size: 7px; font-style: normal; opacity: .5; }
.speak-bars { display: flex; align-items: center; gap: 2px; height: 11px; }
.speak-bars i { width: 2px; height: 4px; border-radius: 2px; background: #829d69; }
.active .speak-bars i { animation: wave .7s ease-in-out infinite alternate; }
.active .speak-bars i:nth-child(2) { animation-delay: .2s; }
.active .speak-bars i:nth-child(3) { animation-delay: .4s; }
.conversation-controls { display: grid; grid-template-columns: auto 1fr 42px; align-items: center; gap: 12px; padding: 17px 15px; margin-top: 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.call-time { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: #748566; font-size: 10px; line-height: 1.7; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.time-divider { width: 1px; height: 11px; background: #dfe4d5; margin: 0 2px; }
.controls-main { display: flex; justify-content: center; align-items: center; gap: 9px; min-width: 0; }
.circle-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; padding: 0; border: 1px solid #e0e7d3; border-radius: 50%; background: #f6f9ed; color: #7d9269; }
.circle-button:hover { background: #e7efdc; }
.circle-button svg { width: 18px; height: 18px; }
.join-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 139px; min-height: 45px; padding: 11px 18px; border-radius: 25px; color: #fffdf0; background: var(--green); font-size: 12px; line-height: 1.7; white-space: nowrap; }
.join-button:hover { background: #3b634b; }
.join-button.mic-active { background: #a3644f; }
.join-button svg { width: 17px; height: 17px; }
.room-bottom-hint { margin-top: 12px; min-height: 20px; color: #7a8d6a; font-size: 10px; line-height: 1.8; text-align: center; }
.room-aside { padding: 13px 0 0 19px; border-left: 1px solid var(--line); }
.room-aside h2 { margin-bottom: 18px; color: #799167; font-size: 12px; font-weight: 400; }
.friend-profile { display: flex; align-items: center; gap: 9px; min-width: 0; margin-bottom: 16px; }
.friend-profile > div:last-child { min-width: 0; }
.friend-profile .avatar { width: 39px; height: 39px; flex-shrink: 0; border: 2px solid #fffdf1; border-radius: 50%; overflow: hidden; }
.friend-profile .avatar svg { width: 100%; height: 100%; }
.friend-profile.active .avatar { outline: 2px solid #99b181; outline-offset: 2px; }
.friend-profile h3 { font-size: 11px; font-weight: 500; white-space: nowrap; }
.friend-profile h3 em { margin-left: 3px; color: #a4b18f; font-size: 8px; font-weight: 400; font-style: normal; }
.friend-profile p { margin-top: 5px; color: #7d8e6d; font-size: 9px; line-height: 1.5; }
#room-friends:is([data-count="4"],[data-count="5"]) .avatar { width: 33px; height: 33px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 40px; padding: 0; color: #80996c; font-size: 11px; }
.text-link:hover { color: var(--green); }
.room-aside .text-link { padding-top: 8px; border-top: 1px solid var(--line); width: 100%; margin-top: 5px; }
.room-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 7px; }
.room-bottom-row .room-bottom-hint { margin: 0; text-align: left; }
.share-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; min-height: 36px; padding: 7px 9px; border-radius: 7px; color: #6c825d; font-size: 11px; }
.share-button svg { width: 15px; height: 15px; }
.share-button:hover { color: var(--green); background: #edf2e4; }
.composer { display: block; margin-top: 10px; padding: 8px; border: 1px solid #d7e2c8; border-radius: 11px; background: #fffef8; }
.composer-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.composer:focus-within { border-color: #96aa80; }
.composer input { flex: 1; min-width: 0; padding: 8px; border: 0; outline: none; color: #536c40; background: transparent; font-size: 13px; line-height: 1.7; }
.composer .circle-button { width: 35px; height: 35px; border: 0; }
.composer .attach-file-button { background: transparent; }
.share-preview { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 2px 3px 8px; padding: 3px 0 10px; border-bottom: 1px solid #e8eddf; }
.share-preview img { width: 64px; height: 54px; flex-shrink: 0; object-fit: cover; border-radius: 6px; background: #eff2e7; }
.share-file-icon { display: flex; align-items: center; justify-content: center; width: 39px; height: 44px; flex-shrink: 0; border-radius: 7px; background: #f0f4e8; color: #8b9c77; }
.share-file-icon svg { width: 20px; height: 20px; }
.share-file-meta { display: grid; gap: 4px; flex: 1; min-width: 0; }
.share-file-meta strong { overflow: hidden; color: #627a51; font-size: 11px; font-weight: 500; line-height: 1.6; white-space: nowrap; text-overflow: ellipsis; }
.share-file-meta > span { color: #879a73; font-size: 10px; line-height: 1.7; overflow-wrap: anywhere; }
.share-status { margin: 5px 5px 3px; color: #869773; font-size: 10px; line-height: 1.8; overflow-wrap: anywhere; }
.share-status.has-error { color: #9b765c; }
.composer[aria-busy=true] .share-file-icon { color: #a8b599; }
.send-button { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 35px; height: 35px; border-radius: 50%; color: #fff; background: #53733e; }
.voice-controls { display: flex; align-items: center; gap: 10px; margin-top: 13px; padding: 12px 15px; border: 1px solid #e7dcc5; border-radius: 11px; background: #fbf6e9; color: #988262; font-size: 12px; }
.voice-controls #voice-status { flex: 1; line-height: 1.7; }
.voice-controls button { min-height: 36px; padding: 7px 10px; font-size: 10px; }
.record-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #ba7d65; animation: fade 1s infinite alternate; }
.library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.saved-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.saved-art { position: relative; height: 160px; overflow: hidden; background: #c6c7af; }
.saved-art > svg { width: 100%; height: 100%; }
.saved-content { padding: 18px; }
.saved-content h3 { font-size: 14px; font-weight: 500; line-height: 1.7; overflow-wrap: anywhere; }
.saved-content p { margin-top: 5px; color: #8da17b; font-size: 11px; }
.saved-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.delete-button { min-height: 40px; padding: 8px 0 8px 10px; color: #b0a88f; font-size: 10px; }
.delete-button:hover { color: #a57d64; }
.empty-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; padding: 65px 25px; border: 1px dashed #dce4cf; border-radius: 15px; text-align: center; }
.empty-state > [data-icon] svg { width: 36px; height: 36px; margin-bottom: 22px; color: #a3b58e; stroke-width: 1.1; }
.empty-state h2 { font-size: 18px; font-weight: 400; line-height: 1.8; }
.empty-state p { margin: 12px 0 24px; color: #94a683; font-size: 12px; line-height: 1.9; }
.reflection-date { margin-bottom: 10px; color: #a4b38e; font-size: 9px; line-height: 1.7; }
dialog { width: 440px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 40px); padding: 24px 28px 27px; overflow: auto; border: 1px solid #e5e9db; border-radius: 17px; color: var(--ink); background: #fffef8; box-shadow: 0 24px 80px #273b252b; }
dialog::backdrop { background: #283d2d61; backdrop-filter: blur(5px); }
.dialog-head { display: flex; justify-content: flex-end; margin: -5px -9px 3px 0; }
.dialog-head .circle-button { width: 31px; height: 31px; border: 0; background: transparent; }
.dialog-head svg { width: 17px; height: 17px; }
dialog h2 { margin-bottom: 17px; font-size: 23px; font-weight: 500; line-height: 1.6; letter-spacing: -.4px; }
#dialog-content p { margin: 12px 0; color: #8a9d78; font-size: 12px; line-height: 1.95; }
#dialog-content strong { color: #657e50; font-weight: 500; }
.dialog-actions { display: flex; gap: 9px; margin-top: 23px; }
.dialog-actions > * { flex: 1; }
.dialog-list { display: grid; gap: 16px; margin: 21px 0; }
.dialog-list > div { display: flex; align-items: flex-start; gap: 14px; }
.dialog-list .step-number { color: #afbf97; font: italic 22px/1.6 Georgia, serif; }
.dialog-list h3 { font-size: 12px; font-weight: 500; line-height: 1.8; }
.dialog-list p { margin: 3px 0 !important; font-size: 11px !important; }
.dialog-notice { padding: 12px 14px; border-radius: 9px; color: #8a9d76; background: #f0f5e6; font-size: 11px; line-height: 1.9; }
.dialog-label { display: block; margin: 18px 0 8px; color: #829b6c; font-size: 11px; }
.dialog-input { resize: vertical; background: #f7f9ef; }
.stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 23px 0; }
.stat { padding: 16px 7px; border: 1px solid #e4ead6; border-radius: 9px; background: #f7f9ed; text-align: center; }
.stat strong { display: block; font: 400 23px/1.5 Georgia, serif; }
.stat span { display: block; margin-top: 5px; color: #a0af8b; font-size: 9px; line-height: 1.6; }
.feedback-box { margin-top: 15px; padding-left: 14px; border-left: 2px solid #bacba1; }
.feedback-box p { font-size: 11px !important; }
.feedback-toggle { padding: 8px 0; color: #869f6d; font-size: 12px; text-align: left; }
.danger-button { color: #a9876c; border-color: #e9ddcc; }
.checkbox-line { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; color: #94a580; font-size: 11px; line-height: 1.9; }
.checkbox-line input { margin-top: 4px; accent-color: #698a4f; }
.toast { position: fixed; z-index: 100; left: calc(50% + 96px); bottom: 24px; width: max-content; max-width: calc(100vw - 40px); padding: 12px 20px; border-radius: 10px; color: #fbfbed; background: #324e37f5; box-shadow: 0 5px 20px #21331d20; font-size: 12px; line-height: 1.8; text-align: center; pointer-events: none; transform: translateX(-50%); }
.character-body { transform-origin: 0 100px; animation: breathe 6s ease-in-out infinite; }
.character-zhou .character-body { animation-delay: -2s; }
.character-tang .character-body { animation-delay: -4s; }
.character-shen .character-body { animation-delay: -1s; }
.character-xu .character-body { animation-delay: -3s; }
.character-head { transform-origin: 0 -35px; }
.eyes { transform-box: fill-box; transform-origin: center; animation: blink 7s infinite; }
.character-zhou .eyes { animation-delay: 2.4s; }
.character-shen .eyes { animation-delay: 4.3s; }
.character-xu .eyes { animation-delay: 1.3s; }
.mouth-talk { display: none; transform-origin: 0 -54px; }
.character.speaking .mouth-rest { display: none; }
.character.speaking .mouth-talk { display: block; animation: talk .25s infinite alternate; }
.character.speaking .character-head { animation: nod 2.2s ease-in-out infinite; }
.steam { animation: fade 3s infinite alternate; }
.miniature .character-body, .miniature .eyes { animation: none; }
@keyframes arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes breathe { 50% { transform: translateY(-2px); } }
@keyframes blink { 0%, 42%, 46%, 100% { transform: scaleY(1); } 44% { transform: scaleY(.1); } }
@keyframes talk { to { transform: scaleY(1.8); } }
@keyframes nod { 50% { transform: rotate(1.4deg); } }
@keyframes fade { to { opacity: .3; } }
@keyframes wave { to { height: 11px; } }
@media (min-width: 1500px) {
  main { padding-right: 58px; padding-left: 58px; }
  .workspace-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; }
  .setup-panel { padding: 27px 25px 22px; }
  .topic-input-wrap textarea { min-height: 75px; }
  .people-label { margin-top: 27px; }
  .friend-stack { margin-bottom: 27px; }
  .enter-button { margin-top: 28px; }
  .topic-card strong { font-size: 11px; }
  .live-layout { grid-template-columns: minmax(0, 1fr) 190px; gap: 30px; }
}
@media (max-width: 1200px) {
  .sidebar { width: 174px; padding-right: 12px; padding-left: 12px; }
  .brand { margin: 0 11px; font-size: 25px; }
  .nav-item { gap: 8px; padding: 0 10px; font-size: 11px; }
  .nav-arrow { display: none; }
  main { width: calc(100% - 174px); margin-left: 174px; padding-right: 28px; padding-left: 28px; }
  .workspace-grid { grid-template-columns: minmax(0, 1fr) 284px; gap: 20px; }
  .setup-panel { padding: 21px 18px 17px; }
  .topic-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-card { min-height: 39px; padding: 8px 10px; }
  .topic-card strong { font-size: 11px; }
  .live-layout { grid-template-columns: minmax(0, 1fr) 153px; gap: 20px; }
  .room-aside { padding-left: 14px; }
  .friend-profile { gap: 8px; }
  .friend-profile .avatar { width: 33px; height: 33px; }
  .conversation-controls { grid-template-columns: 1fr 40px; gap: 10px; padding: 13px; }
  .call-time { grid-column: 1 / -1; justify-content: center; margin-bottom: 2px; }
  .toast { left: calc(50% + 87px); }
}
@media (max-width: 960px) {
  .sidebar { position: relative; inset: auto; flex-direction: row; align-items: center; gap: 24px; width: 100%; padding: 18px 26px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { margin: 0; font-size: 25px; }
  .sidebar nav { display: flex; gap: 3px; margin-top: 0; margin-left: auto; }
  .nav-item { min-height: 39px; padding: 0 11px; font-size: 11px; }
  .sidebar-utility { margin: 0; }
  .sidebar-bottom { margin: 0; padding: 8px 0 8px 8px; }
  .sidebar-bottom > span:last-child, .sidebar-version { display: none; }
  main { width: 100%; margin-left: 0; padding: 18px 27px 26px; }
  .workspace-grid { grid-template-columns: minmax(0, 1fr) 284px; gap: 21px; }
  .page-intro h1 { font-size: 29px; }
  .live-layout { grid-template-columns: minmax(0, 1fr); }
  .room-aside { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 22px; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .room-aside h2 { flex-basis: 100%; margin-bottom: 2px; font-size: 11px; }
  #room-friends { display: flex; flex: 1; flex-wrap: wrap; gap: 15px; }
  #room-friends:is([data-count="4"],[data-count="5"]) { display: grid; flex-basis: 100%; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 13px; }
  #room-friends[data-count="4"] { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .friend-profile { margin: 0; }
  .friend-profile .avatar { width: 35px; height: 35px; }
  .friend-profile p { font-size: 8px; }
  .room-aside .text-link { width: auto; margin: 0; padding: 0; border-top: 0; font-size: 10px; }
  .conversation-controls { grid-template-columns: auto 1fr 40px; padding: 15px; }
  .call-time { grid-column: auto; justify-content: flex-start; margin: 0; }
  .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toast { left: 50%; }
}
@media (max-width: 700px) {
  .sidebar { display: grid; grid-template-columns: 1fr auto; row-gap: 15px; padding: 17px 20px 12px; }
  .brand { font-size: 25px; gap: 8px; }
  .brand-symbol { width: 24px; font-size: 35px; }
  .brand-symbol > span { width: 10px; height: 17px; }
  .sidebar nav { grid-column: 1 / -1; grid-row: 2; justify-content: stretch; width: 100%; margin: 0; gap: 5px; }
  .nav-item { flex: 1; justify-content: center; gap: 7px; min-height: 39px; padding: 8px; border-radius: 7px; font-size: 11px; }
  .nav-item svg { width: 15px; height: 15px; }
  .sidebar-utility { grid-column: 2; grid-row: 1; }
  .sidebar-bottom { min-height: 35px; gap: 6px; padding: 0; font-size: 10px; }
  .sidebar-bottom > span:last-child { display: inline; }
  .sidebar-bottom svg { width: 13px; height: 13px; }
  main { padding: 16px 20px 24px; }
  .title-panel { min-height: 104px; padding: 18px; border-radius: 16px; }
  .title-panel::before { top: -110px; right: -90px; width: 230px; height: 200px; opacity: .7; }
  .title-panel::after { right: 45px; bottom: -65px; }
  .mode-badge { gap: 5px; font-size: 9px; }
  .mode-badge svg { width: 12px; height: 12px; }
  .page-intro { gap: 15px; margin-bottom: 21px; }
  .page-intro h1 { font-size: 27px; letter-spacing: -.8px; }
  .page-intro p { margin-top: 6px; font-size: 11px; }
  .intro-mark { display: none; }
  .workspace-grid { display: flex; flex-direction: column; gap: 18px; }
  .room-column { display: contents; }
  .room-column > .scene-card { order: 0; width: 100%; }
  .setup-panel { order: 1; width: 100%; padding: 20px 20px 18px; }
  .inspiration-header { order: 2; width: 100%; margin: 3px 0 -8px; }
  .topic-cards { order: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 9px; }
  .topic-card { min-height: 43px; padding: 11px 12px; }
  .topic-card strong { font-size: 11px; }
  .field-label { margin-bottom: 10px; font-size: 12px; }
  .topic-input-wrap textarea { min-height: 51px; font-size: 13px; }
  .people-label { margin-top: 19px; }
  .segmented button { min-height: 35px; font-size: 12px; }
  .friend-stack { gap: 10px 20px; margin: 13px 0 19px; }
  .friend-chip { gap: 8px; }
  .friend-chip strong { font-size: 11px; }
  .friend-chip small { font-size: 9px; }
  .mini-avatar { width: 31px; height: 31px; }
  .mood-selector { gap: 8px; }
  .mood-selector button { min-height: 40px; font-size: 11px; }
  .enter-button { min-height: 47px; margin-top: 21px; }
  .entry-note { font-size: 10px; }
  .scene-top { top: 14px; left: 14px; right: 14px; gap: 8px; }
  .scene-location, .glass-button { min-height: 32px; padding: 7px 9px; font-size: 9px; }
  .scene-count { bottom: 15px; left: 15px; font-size: 9px; }
  .connection-settings { margin-top: 24px; }
  .connection-settings > summary { flex-wrap: wrap; gap: 6px 12px; min-height: 62px; padding: 14px 0; }
  .connection-settings-label { font-size: 11px; }
  .connection-availability { order: 2; flex-basis: 100%; gap: 6px; font-size: 9px; }
  .settings-chevron { font-size: 15px; }
  .voice-connection { flex-direction: column; align-items: stretch; gap: 13px; padding: 15px; }
  .voice-mode-field { width: 100%; }
  .voice-check-actions { gap: 8px; }
  .gemini-config-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .gemini-config summary { padding: 14px 15px; }
  .gemini-config form { padding: 0 15px 15px; }
  .home-footer { padding-top: 15px; font-size: 9px; }
  .home-footer button { font-size: 10px; }
  .room-heading { align-items: flex-start; gap: 13px; margin-bottom: 18px; }
  .room-heading.title-panel { min-height: 90px; padding: 16px 18px; }
  .room-heading .eyebrow { font-size: 9px; }
  .room-heading h1 { margin-top: 5px; font-size: 20px; line-height: 1.6; }
  .room-heading > .quiet-button { min-height: 35px; padding: 7px 10px; margin-top: 3px; font-size: 10px; }
  .room-heading > .quiet-button svg { display: none; }
  .live-scene { aspect-ratio: 1.08; }
  .live-scene:is([data-participants="4"],[data-participants="5"]) { aspect-ratio: 1100 / 760; }
  .live-scene-wrap .subtitle { position: relative; left: auto; bottom: auto; width: 100%; max-width: none; margin-top: 8px; padding: 10px 12px; border-radius: 9px; transform: none; text-align: start; }
  .subtitle > span { font-size: 8px; }
  .subtitle p { font-size: 11px; line-height: 1.9; }
  .persona-tag { gap: 4px; padding: 4px 6px; font-size: 8px; }
  .persona-labels[data-count="5"] .persona-tag { padding: 4px 5px; gap: 3px; }
  .persona-labels[data-count="5"] .speak-bars { gap: 1px; }
  .conversation-controls { grid-template-columns: minmax(0, 1fr) 40px; gap: 12px 8px; padding: 13px 12px; }
  .call-time { grid-column: 1 / -1; justify-content: center; gap: 7px; margin: 0 0 1px; font-size: 9px; }
  .controls-main { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 7px; }
  .join-button { min-width: 0; min-height: 43px; padding: 10px 8px; gap: 6px; font-size: 11px; }
  .join-button svg { width: 16px; height: 16px; }
  .circle-button { width: 40px; height: 40px; }
  .room-bottom-hint { margin-top: 10px; font-size: 9px; }
  .live-layout { gap: 18px; }
  .room-aside { gap: 13px 15px; padding-top: 16px; }
  #room-friends { gap: 12px; }
  #room-friends[data-count="4"] { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  #room-friends[data-count="5"] { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 7px; }
  .friend-profile { gap: 7px; }
  .friend-profile .avatar { width: 32px; height: 32px; }
  .friend-profile h3 { font-size: 10px; }
  .friend-profile h3 em { font-size: 7px; }
  .friend-profile p { font-size: 8px; }
  #room-friends:is([data-count="4"],[data-count="5"]) .avatar { width: 28px; height: 28px; }
  #room-friends:is([data-count="4"],[data-count="5"]) .friend-profile { gap: 6px; }
  #room-friends:is([data-count="4"],[data-count="5"]) .friend-profile p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .composer input { padding: 7px 4px; font-size: 12px; }
  .composer-row { gap: 5px; }
  .room-bottom-row { gap: 10px; }
  .share-button { gap: 5px; padding: 7px; font-size: 10px; }
  .share-status { font-size: 9px; }
  .share-file-meta > span { font-size: 9px; }
  .voice-controls { flex-wrap: wrap; gap: 8px; padding: 11px; font-size: 11px; }
  .voice-controls #voice-status { flex-basis: 75%; }
  .voice-controls button { flex: 1; }
  .library-grid { grid-template-columns: 1fr; gap: 16px; }
  .saved-art { height: 200px; }
  .page-intro > .quiet-button { padding: 9px 10px; font-size: 10px; }
  .empty-state { padding: 45px 20px; }
  .empty-state h2 { font-size: 17px; }
  .empty-state p { font-size: 11px; }
  dialog { padding: 20px 22px 23px; }
  dialog h2 { font-size: 21px; }
  .dialog-actions .primary-button, .dialog-actions .quiet-button { padding: 11px 10px; font-size: 11px; }
  .stats-row { gap: 8px; }
  .stat { padding: 14px 5px; }
  .stat strong { font-size: 21px; }
  .toast { bottom: 18px; max-width: calc(100vw - 28px); padding: 11px 15px; font-size: 11px; }
}
@media (max-width: 380px) {
  .sidebar { padding: 15px 16px 10px; }
  main { padding-right: 16px; padding-left: 16px; }
  .nav-item { padding: 8px 5px; font-size: 11px; }
  .nav-item > [data-icon] { display: none; }
  .page-intro h1 { font-size: 25px; }
  .setup-panel { padding: 18px 16px 16px; }
  .friend-stack { gap: 10px 13px; }
  .friend-chip { gap: 6px; }
  .friend-chip small { font-size: 8px; }
  .mini-avatar { width: 28px; height: 28px; }
  .scene-top { top: 11px; right: 11px; left: 11px; }
  .scene-location, .glass-button { font-size: 8px; padding: 7px 8px; gap: 4px; }
  .scene-count { left: 12px; bottom: 12px; font-size: 8px; }
  .topic-card { gap: 6px; padding: 10px; }
  .topic-card strong { font-size: 10px; }
  .conversation-controls { padding: 12px 9px; gap: 10px 6px; }
  .controls-main { gap: 5px; }
  .join-button { gap: 5px; padding-right: 5px; padding-left: 5px; font-size: 10px; }
  .join-button svg { width: 14px; height: 14px; }
  .room-heading h1 { font-size: 18px; }
  .subtitle p { font-size: 10px; }
  #room-friends { flex-basis: 100%; gap: 12px 17px; }
}
main { position: relative; }
.account-bar { position: absolute; top: 34px; right: 62px; z-index: 2; display: flex; justify-content: flex-end; align-items: center; gap: 15px; min-height: 36px; }
.title-panel > .intro-mark, #library-view .title-panel > .quiet-button { align-self: flex-end; }
.title-panel > .intro-mark { font-size: 17px; margin-top: 35px; }
.account-button { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 9px 15px; border: 1px solid #d8dfd1; border-radius: 30px; font-size: 12px; background: #fffefa; }
.account-button:hover { border-color: #8da28d; background: #edf0e7; }
.account-quota { font-size: 11px; color: var(--muted); }
.subscription-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin: 34px 0 17px; }
.subscription-heading h2 { font-size: 15px; font-weight: 500; }
.subscription-heading > span { font-size: 10px; color: var(--muted); }
.subscription-plans { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.plan-card { min-width: 0; padding: 24px 20px 20px; border: 1px solid #e1e3d8; border-radius: 17px; background: var(--panel); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 5px; min-height: 25px; color: #78846f; font-size: 10px; }
.plan-tag { padding: 4px 6px; border-radius: 4px; white-space: nowrap; background: #dce8d2; color: #4b6745; font-size: 9px; }
.plan-card h3 { margin: 17px 0 6px; font: 400 56px/1.1 Georgia,serif; letter-spacing: -2px; }
.plan-card h3 span { margin-left: 6px; font: 11px "Microsoft YaHei",sans-serif; letter-spacing: 0; }
.plan-card > p { font-size: 10px; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 30px 0 21px; }
.plan-price > span { font: 17px Georgia,serif; }
.plan-price strong { font: 400 34px Georgia,serif; }
.plan-price small { color: var(--muted); font-size: 10px; }
.plan-card > button { display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: 11px; padding: 12px 11px; }
.plan-featured { background: #f2f4e9; border-color: #93a883; box-shadow: 0 5px 20px #536e3c08; }
.subscription-notes { margin: 22px 0 0; color: #697260; font-size: 13px; line-height: 1.9; }
.subscription-notes p + p { margin-top: 6px; }
.subscription-notes strong { color: var(--ink); font-weight: 600; }
.order-heading { margin-top: 36px; }
.order-heading button { font-size: 11px; }
.subscription-orders { border-top: 1px solid var(--line); }
.order-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.order-row strong { font-size: 12px; font-weight: 500; }
.order-row strong span { margin-left: 12px; color: var(--muted); }
.order-row small { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.order-row p { font-size: 10px; color: var(--muted); overflow-wrap: anywhere; }
.order-action { display: flex; align-items: flex-end; flex-direction: column; gap: 10px; flex-shrink: 0; }
.order-status { font-size: 10px; color: var(--muted); }
.order-status.submitted { color: #a1743f; }
.order-status.confirmed { color: #476e4f; }
.order-action button { font-size: 10px; }
.orders-empty { color: var(--muted); font-size: 11px; padding: 22px 0; }
.account-dialog-head { display: flex; justify-content: space-between; align-items: center; margin: -8px -8px 12px 0; }
.account-dialog-head .eyebrow { font-size: 9px; letter-spacing: 1.5px; }
.account-dialog-head button { font: 24px Georgia,serif; }
#account-dialog { width: min(430px,calc(100vw - 28px)); }
.auth-tabs { display: flex; gap: 6px; padding: 4px; margin: 23px 0 15px; background: #edf0e8; border-radius: 9px; }
.auth-tabs button { flex: 1; min-height: 37px; font-size: 12px; border-radius: 6px; color: var(--muted); }
.auth-tabs button[aria-pressed="true"] { background: #fffefa; box-shadow: 0 1px 5px #34472a0c; color: var(--ink); }
.auth-intro { font-size: 11px; color: var(--muted); }
.auth-form { display: grid; gap: 9px; margin-top: 20px; }
.auth-form > label { font-size: 11px; margin-top: 4px; }
.auth-form > input { width: 100%; min-width: 0; min-height: 43px; border: 1px solid #dfe3d6; border-radius: 8px; padding: 10px 12px; background: #fffefa; color: var(--ink); font-size: 12px; }
.auth-form > input::placeholder { color: #9ba18f; }
.email-code-row { display: flex; gap: 8px; }
.email-code-row input { width: 100%; min-width: 0; border: 1px solid #dfe3d6; border-radius: 8px; padding: 10px 12px; background: #fffefa; font-size: 12px; }
.email-code-row button { flex-shrink: 0; font-size: 11px; padding: 10px; }
.account-status { min-height: 17px; color: #9c5b42; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.auth-form .primary-button { width: 100%; min-height: 44px; justify-content: center; }
.auth-footnote { color: #8a9283; font-size: 10px; margin-top: 5px; }
.account-welcome { margin: 22px 0 7px; font-size: 20px; overflow-wrap: anywhere; }
.payment-dialog { width: min(750px,calc(100vw - 28px)); max-width: 750px; }
.payment-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 27px; margin-top: 25px; }
.payment-code { text-align: center; }
.payment-code img { display: block; width: 100%; height: auto; border-radius: 12px; }
.payment-code img.alipay-qr { aspect-ratio: 1; max-width: 300px; margin: auto; border-radius: 0; }
.payment-code a { display: inline-block; margin-top: 10px; font-size: 10px; }
.payment-details { min-width: 0; }
.payment-details > .primary-button { margin-top: 16px; }
.payment-amount { margin-top: 6px; font: 40px/1.15 Georgia,serif; }
.payment-details > p { margin-top: 9px; color: var(--muted); font-size: 11px; }
.payment-order { padding: 14px 0; margin: 10px 0; border-bottom: 1px solid var(--line); }
.payment-order span { display: block; color: var(--muted); font-size: 10px; }
.payment-order strong { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.payment-confirm { display: flex; align-items: center; gap: 7px; line-height: 1.6; }
.payment-confirm input { accent-color: var(--green); }
#payment-cancel { margin-top: 6px; font-size: 10px; }
.payment-pending { margin-top: 23px; padding: 15px; background: #f4eedf; border-radius: 9px; }
.payment-pending strong { font-size: 12px; font-weight: 500; }
.payment-pending p { margin-top: 5px; font-size: 10px; overflow-wrap: anywhere; }
@media (max-width: 1150px) {
  .account-bar { right: 46px; }
  .subscription-plans { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 960px) {
  .account-bar { top: 29px; right: 44px; }
  .sidebar { gap: 12px; }
  .sidebar nav { gap: 0; }
  .nav-item { padding-right: 9px; padding-left: 9px; }
}
@media (max-width: 700px) {
  .account-bar { top: 24px; right: 34px; gap: 5px; flex-direction: column-reverse; align-items: flex-end; min-height: 0; }
  .account-button { padding: 7px 9px; font-size: 10px; max-width: 100px; }
  .page-intro.title-panel > div > :is(h1,p,.eyebrow) { padding-right: 93px; }
  #home-view .page-intro h1 { font-size: 25px; }
  .account-quota { font-size: 10px; }
  .nav-item { gap: 4px; padding: 8px 5px; font-size: 10px; }
  .nav-item svg { width: 13px; height: 13px; }
  .subscription-heading { flex-wrap: wrap; gap: 7px; margin-top: 27px; }
  .subscription-heading h2 { font-size: 14px; }
  .subscription-plans { gap: 12px; }
  .plan-card { padding: 17px 14px 14px; border-radius: 12px; }
  .plan-top { flex-wrap: wrap; align-content: start; min-height: 37px; font-size: 9px; }
  .plan-tag { font-size: 8px; padding: 2px 5px; }
  .plan-card h3 { font-size: 45px; margin-top: 6px; }
  .plan-card > p { font-size: 9px; }
  .plan-price { margin: 21px 0 16px; }
  .plan-price strong { font-size: 29px; }
  .plan-card > button { font-size: 10px; padding: 10px 8px; }
  .subscription-notes { font-size: 12px; }
  .order-row { gap: 10px; }
  .order-row strong { font-size: 11px; }
  .order-row strong span { margin-left: 5px; }
  .payment-layout { grid-template-columns: 1fr; gap: 23px; }
  .payment-code { max-width: 260px; margin: auto; }
  .payment-details { padding-bottom: 5px; }
  .payment-dialog { max-height: calc(100dvh - 28px); }
}
@media (max-width:380px) {
  .account-bar { right: 28px; }
  #home-view .page-intro h1 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
