:root {
  --ink: #17231f;
  --ink-soft: #34443e;
  --green: #173f35;
  --green-deep: #102f28;
  --green-light: #2f5b4e;
  --orange: #ed6a45;
  --orange-dark: #d95634;
  --cream: #f5f2ea;
  --paper: #fdfcf8;
  --white: #ffffff;
  --sage: #dce6d7;
  --line: #dcded6;
  --line-dark: rgba(255,255,255,0.16);
  --muted: #7b837e;
  --danger: #c44335;
  --success: #28745c;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 70px rgba(23,35,31,0.09);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Songti SC", "STSong", "SimSun", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
svg { display: block; }
::selection { background: var(--orange); color: var(--white); }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* Brand and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 82px;
  background: rgba(253,252,248,0.92);
  border-bottom: 1px solid rgba(23,35,31,0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--cream);
  border-radius: 50%;
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-type { display: flex; flex-direction: column; line-height: 1.1; }
.brand-type strong { font-size: 17px; font-weight: 750; letter-spacing: 0.04em; }
.brand-type small { margin-top: 6px; font-size: 8px; font-weight: 650; letter-spacing: 0.13em; color: var(--muted); }
.header-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.header-nav a { position: relative; padding: 29px 0 27px; color: #59645f; font-size: 13px; font-weight: 550; white-space: nowrap; transition: color 0.2s; }
.header-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 19px; height: 2px; background: var(--orange); transition: right 0.2s; }
.header-nav a:hover, .header-nav a.active { color: var(--ink); }
.header-nav a:hover::after, .header-nav a.active::after { right: 0; }
.user-bar { display: flex; align-items: center; gap: 14px; padding-left: 26px; border-left: 1px solid var(--line); }
.user-account { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.35; }
.user-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 650; }
.user-sub { margin-top: 3px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.btn-login {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border: 1px solid var(--green);
  border-radius: 100px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-login svg { width: 16px; height: 16px; }
.btn-login:hover { background: var(--green-light); transform: translateY(-1px); }
.btn-logout { padding: 7px 12px; border: 1px solid var(--line); border-radius: 100px; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.btn-logout:hover { color: var(--danger); border-color: var(--danger); }

/* Shared type and buttons */
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 700; letter-spacing: 0.17em; }
.eyebrow > span { width: 22px; height: 2px; background: var(--orange); }
.section-kicker { color: var(--green-light); }
.section-kicker > span { color: var(--orange); letter-spacing: 0; font-size: 12px; }
.section-kicker.light { color: #9fb9ae; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 34px; }
.section-heading h2 { margin-top: 12px; font-family: var(--font-serif); font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; line-height: 1.3; letter-spacing: -0.04em; }
.section-heading > p { padding-bottom: 4px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 52px;
  padding: 0 24px;
  background: var(--orange);
  color: var(--white);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 650;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(237,106,69,0.22); }
.btn-primary svg { width: 19px; height: 19px; }

/* Hero */
.hero { position: relative; min-height: calc(100vh - 82px); display: grid; align-items: center; padding: 72px 0 88px; background: var(--cream); overflow: hidden; }
.hero::before { content: ""; position: absolute; left: -140px; top: 90px; width: 320px; height: 320px; border: 1px solid rgba(23,63,53,0.08); border-radius: 50%; }
.hero::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 54px; background: rgba(23,63,53,0.14); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 80px; }
.hero-copy { position: relative; z-index: 2; padding: 20px 0; }
.hero-copy .eyebrow { color: var(--green-light); }
.hero h1 { margin-top: 25px; font-family: var(--font-serif); font-size: clamp(60px, 6.4vw, 88px); font-weight: 700; line-height: 1.12; letter-spacing: -0.065em; }
.hero h1 em { position: relative; color: var(--green); font-style: normal; }
.hero h1 em::after { content: ""; position: absolute; left: 3px; right: -6px; bottom: 1px; height: 9px; background: var(--orange); opacity: 0.85; z-index: -1; transform: rotate(-1deg); }
.hero-lead { margin-top: 28px; color: #5f6c66; font-size: 16px; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.hero-cta { min-width: 158px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.text-link span { color: var(--orange); font-size: 18px; transition: transform 0.2s; }
.text-link:hover span { transform: translate(3px,3px); }
.hero-facts { display: flex; gap: 0; margin-top: 48px; }
.hero-facts > div { display: flex; flex-direction: column; padding: 0 26px; border-left: 1px solid #cfd3ca; }
.hero-facts > div:first-child { padding-left: 0; border-left: 0; }
.hero-facts strong { font-family: Georgia, serif; font-size: 20px; font-weight: 500; line-height: 1.2; }
.hero-facts span { margin-top: 7px; color: var(--muted); font-size: 11px; }
.hero-visual { position: relative; width: 100%; max-width: 480px; justify-self: end; padding: 24px 20px 36px 0; }
.visual-note { display: flex; justify-content: space-between; margin: 0 0 12px 44px; color: var(--green-light); font-size: 8px; font-weight: 700; letter-spacing: 0.18em; }
.sound-poster { position: relative; min-height: 456px; display: flex; flex-direction: column; padding: 28px 32px 26px; background: var(--green); color: var(--cream); box-shadow: 24px 28px 0 #dfe3d7; transform: rotate(1.5deg); }
.sound-poster::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(245,242,234,0.12); pointer-events: none; }
.poster-top { display: flex; justify-content: space-between; position: relative; font-size: 9px; letter-spacing: 0.12em; color: #b7c8c0; }
.poster-title { position: relative; margin-top: 48px; font-family: var(--font-serif); font-size: 51px; font-weight: 700; line-height: 1.24; letter-spacing: 0.04em; }
.poster-title span { color: var(--orange); }
.waveform { height: 84px; display: flex; align-items: center; gap: 7px; margin-top: auto; padding: 0 2px; }
.waveform i { width: 3px; height: var(--h); display: block; background: var(--orange); border-radius: 4px; transform-origin: center; animation: soundwave 2.8s ease-in-out infinite alternate; }
.waveform i:nth-child(3n) { animation-delay: -0.8s; }
.waveform i:nth-child(4n) { animation-delay: -1.5s; }
@keyframes soundwave { from { transform: scaleY(0.65); opacity: 0.65; } to { transform: scaleY(1); opacity: 1; } }
.poster-bottom { position: relative; display: flex; justify-content: space-between; align-items: flex-end; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(245,242,234,0.2); color: #b7c8c0; font-size: 8px; letter-spacing: 0.17em; }
.poster-disc { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(245,242,234,0.35); border-radius: 50%; }
.poster-disc::before { content: ""; position: absolute; width: 30px; height: 30px; border: 1px solid rgba(245,242,234,0.2); border-radius: 50%; }
.poster-disc i { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
.visual-stamp { position: absolute; right: -20px; top: 42%; width: 112px; height: 112px; display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--orange); color: var(--white); border-radius: 50%; box-shadow: 0 10px 30px rgba(23,35,31,0.16); transform: rotate(9deg); }
.visual-stamp > span { font-family: var(--font-serif); font-size: 44px; line-height: 1; }
.visual-stamp small { font-size: 7px; line-height: 1.7; letter-spacing: 0.12em; }
.visual-caption { position: absolute; left: 0; right: 20px; bottom: 0; display: flex; gap: 12px; color: var(--muted); font-size: 11px; }
.visual-caption span { color: var(--orange); font-family: Georgia, serif; }

/* Voice workspace */
.workspace-section { padding: 100px 0 88px; background: var(--paper); }
.workspace-heading { margin-bottom: 38px; }
.notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 16px auto 18px;
  padding: 12px 18px;
  border: 1px solid rgba(237, 106, 69, 0.24);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fff8f2, #fdeee6);
  color: #965038;
  font-size: 13px;
  font-weight: 550;
  box-shadow: 0 12px 34px rgba(237, 106, 69, 0.1);
  animation: notice-in 0.35s ease;
}
.notice-ic { width: 17px; height: 17px; flex-shrink: 0; color: var(--orange); }
.notice strong { color: var(--orange-dark); font-weight: 700; }
@keyframes notice-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
.studio-shell { scroll-margin-top: 12px; background: var(--white); border: 1px solid #dfe2da; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.studio-bar { min-height: 62px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 28px; background: #fafbf7; border-bottom: 1px solid #e6e8e1; }
.studio-name { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.studio-icon { width: 28px; height: 28px; display: grid; place-items: center; background: var(--green); color: var(--white); border-radius: 50%; }
.studio-icon svg { width: 17px; height: 17px; }
.studio-status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.studio-status i { width: 6px; height: 6px; background: #46a276; border-radius: 50%; box-shadow: 0 0 0 4px rgba(70,162,118,0.1); }
.studio-status span { color: #c2c8c3; }
.studio-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; }
.script-panel, .settings-panel { padding: 30px; }
.script-panel { border-right: 1px solid #e6e8e1; }
.panel-title { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.panel-title > span { padding-top: 3px; color: var(--orange); font-family: Georgia, serif; font-size: 11px; }
.panel-title h3 { font-size: 15px; font-weight: 700; }
.panel-title p { margin-top: 3px; color: var(--muted); font-size: 11px; }
.preset-status { margin-left: auto; padding-top: 3px; color: var(--muted); font-size: 9px; white-space: nowrap; }
.preset-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: -6px 0 18px; padding: 11px 13px; border: 1px solid #e0e5dc; border-radius: 10px; background: #f7f9f4; }
.preset-copy { display: flex; flex-direction: column; gap: 3px; min-width: 110px; }
.preset-copy strong { color: var(--green); font-size: 11px; }
.preset-copy small { color: var(--muted); font-size: 9px; }
.preset-controls { display: flex; align-items: center; gap: 7px; }
.preset-select-wrap { position: relative; min-width: 145px; }
.preset-select-wrap select { width: 100%; height: 32px; padding: 0 27px 0 10px; appearance: none; -webkit-appearance: none; border: 1px solid #d5ddd3; border-radius: 7px; outline: 0; background: var(--white); color: var(--ink); font-size: 10px; cursor: pointer; text-overflow: ellipsis; }
.preset-select-wrap > span { position: absolute; right: 10px; top: 50%; color: var(--muted); font-size: 13px; pointer-events: none; transform: translateY(-55%); }
.preset-btn { height: 32px; padding: 0 11px; border: 1px solid #cfd7d0; border-radius: 7px; background: transparent; color: var(--green-light); font-size: 10px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.preset-btn:hover:not(:disabled) { border-color: var(--green-light); background: #edf3ec; }
.preset-btn.primary { border-color: var(--green); background: var(--green); color: var(--white); }
.preset-btn.primary:hover:not(:disabled) { background: var(--green-light); }
.preset-btn.danger:hover:not(:disabled) { border-color: var(--danger); background: #fff2ef; color: var(--danger); }
.preset-btn:disabled { opacity: 0.42; cursor: not-allowed; }
.preset-editor { margin: -6px 0 14px; padding: 12px 13px; border: 1px solid #d5ddd3; border-radius: 10px; background: var(--white); }
.preset-editor[hidden] { display: none; }
.preset-editor label { display: block; color: var(--green); font-size: 10px; font-weight: 650; }
.preset-editor-row { display: flex; gap: 7px; margin-top: 7px; }
.preset-editor-row input { flex: 1; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid #d5ddd3; border-radius: 7px; outline: 0; background: #fafbf7; color: var(--ink); font-size: 11px; }
.preset-editor-row input:focus { border-color: var(--green-light); background: var(--white); }
.preset-msg { min-height: 16px; margin: -8px 0 12px; text-align: left; }
.script-input-wrap { border: 1px solid #dfe3da; border-radius: 12px; background: #fafbf7; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.script-input-wrap:focus-within { border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(47,91,78,0.08); }
textarea#text { width: 100%; height: 398px; display: block; padding: 22px; border: 0; outline: 0; resize: vertical; background: transparent; color: var(--ink); font-size: 15px; line-height: 2; }
textarea#text::placeholder { color: #a0a8a2; }
.script-input-footer { height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-top: 1px solid #e6e8e1; color: #9aa29d; font-size: 8px; letter-spacing: 0.12em; }
.script-input-footer > span:first-child { display: flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: 0; }
.script-input-footer i { width: 5px; height: 5px; background: #97a69e; border-radius: 50%; }
.script-input-footer .char-counter { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.char-counter b { color: var(--green); font-weight: 650; }
.char-counter.warn, .char-counter.warn b { color: var(--orange-dark); }
.voice-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.voice-field { grid-column: 1 / -1; min-width: 0; }
.voice-select-row { width: 100%; min-width: 0; display: flex; align-items: center; gap: 8px; }
.voice-select-row .select-wrap { flex: 1 1 calc(100% - 80px); width: calc(100% - 80px); min-width: 0; }
.voice-preview-btn { height: 44px; width: 72px; min-width: 72px; flex-shrink: 0; border: 1px solid var(--green); border-radius: 8px; background: transparent; color: var(--green); font-size: 11px; font-weight: 650; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.voice-preview-btn:hover:not(:disabled) { background: var(--green); color: var(--white); }
.voice-preview-btn.playing { border-color: var(--orange); background: var(--orange); color: var(--white); }
.voice-preview-btn:disabled { border-color: #d5ddd3; color: #a0a8a2; cursor: not-allowed; }
.field label { display: block; margin-bottom: 7px; color: #65716b; font-size: 11px; font-weight: 600; }
.select-wrap { position: relative; }
.select-wrap > span { position: absolute; right: 13px; top: 50%; color: var(--muted); font-size: 16px; pointer-events: none; transform: translateY(-57%); }
.field select { width: 100%; height: 44px; padding: 0 34px 0 13px; appearance: none; -webkit-appearance: none; border: 1px solid #dfe3da; border-radius: 8px; outline: 0; background: #fafbf7; color: var(--ink); font-size: 12px; cursor: pointer; text-overflow: ellipsis; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.field select:hover { background: var(--white); border-color: #b9c3bc; }
.field select:focus { background: var(--white); border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(47,91,78,0.08); }
.text-input { width: 100%; height: 44px; padding: 0 13px; border: 1px solid #dfe3da; border-radius: 8px; outline: 0; background: #fafbf7; color: var(--ink); font-family: var(--font-sans); font-size: 12px; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.text-input::placeholder { color: #a0a8a2; }
.text-input:hover { background: var(--white); border-color: #b9c3bc; }
.text-input:focus { background: var(--white); border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(47,91,78,0.08); }
.tuning-section { margin-top: 25px; padding-top: 21px; border-top: 1px solid #e6e8e1; }
.tuning-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tuning-title > span { color: var(--orange); font-family: Georgia, serif; font-size: 11px; }
.tuning-title h3 { font-size: 13px; font-weight: 700; }
.tuning-field { margin-top: 13px; }
.tuning-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3px; }
.tuning-label label { color: #65716b; font-size: 11px; }
.tuning-label .val { min-width: 42px; text-align: right; color: var(--green); font-family: Georgia, serif; font-size: 11px; font-variant-numeric: tabular-nums; }
.slider-row { display: flex; align-items: center; gap: 10px; }
.slider-row > span { color: #a0a8a2; font-size: 9px; }
.slider-row input[type="range"] { --fill: 50%; width: 100%; height: 16px; appearance: none; -webkit-appearance: none; background: transparent; outline: none; cursor: pointer; }
.slider-row input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 4px; background: #dce2dc; }
.slider-row input[type="range"]::-webkit-slider-thumb { width: 14px; height: 14px; margin-top: -5.5px; appearance: none; -webkit-appearance: none; border: 3px solid var(--white); border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 2px 5px rgba(23,35,31,0.16); }
.slider-row input[type="range"]::-moz-range-track { height: 3px; border-radius: 4px; background: #dce2dc; }
.slider-row input[type="range"]::-moz-range-thumb { width: 9px; height: 9px; border: 3px solid var(--white); border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.slider-row input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(237,106,69,0.2); }
.studio-actions { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 28px; background: #fafbf7; border-top: 1px solid #e6e8e1; }
.studio-actions > p { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.studio-actions > p svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-synth { min-width: 238px; height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 0; border-radius: 7px; background: var(--green); color: var(--white); font-size: 14px; font-weight: 650; cursor: pointer; box-shadow: 0 8px 20px rgba(23,63,53,0.16); transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn-synth svg { width: 18px; height: 18px; }
.btn-synth > span { margin-left: 12px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,0.25); color: #aac1b8; font-size: 8px; letter-spacing: 0.12em; }
.btn-synth:hover { background: var(--green-light); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(23,63,53,0.22); }
.btn-synth:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.msg { min-height: 18px; color: var(--muted); font-size: 12px; text-align: center; }
#synthMsg { padding: 0 20px 10px; background: #fafbf7; }
#synthMsg:not(:empty) { padding-top: 10px; }
.msg.err { color: var(--danger); }
.msg.ok { color: var(--success); }
.msg-login-btn {
  display: inline-block;
  height: 24px;
  padding: 0 12px;
  margin-left: 4px;
  border: 1px solid var(--green);
  border-radius: 12px;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 650;
  line-height: 22px;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.msg-login-btn:hover { background: var(--green-light); transform: translateY(-1px); }
.player { margin: 0 28px 28px; padding: 20px 22px; border: 1px solid #d8e2d8; border-radius: 12px; background: #f2f7f0; }
.player-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.player-heading > span { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 13px; font-weight: 700; }
.player-heading i { width: 7px; height: 7px; background: #46a276; border-radius: 50%; }
.player-heading small { color: var(--muted); font-size: 10px; }
.player-content { display: flex; align-items: center; gap: 18px; }
.player audio { width: 100%; height: 40px; flex: 1; }
.btn-download { height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 0 17px; flex-shrink: 0; border: 1px solid var(--green); border-radius: 6px; color: var(--green); font-size: 12px; font-weight: 650; transition: background 0.2s, color 0.2s; }
.btn-download svg { width: 16px; height: 16px; }
.btn-download:hover { background: var(--green); color: var(--white); }
.workspace-footnotes { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 34px; margin-top: 26px; color: var(--muted); font-size: 11px; }
.workspace-footnotes > span { display: flex; align-items: center; gap: 7px; }
.workspace-footnotes i { width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid #bdc9c0; border-radius: 50%; color: var(--green-light); font-size: 9px; font-style: normal; }
.usage-panel { display: grid; grid-template-columns: 0.85fr 1fr 1fr; gap: 0; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 12px; background: #fafbf7; overflow: hidden; }
.usage-title { display: flex; flex-direction: column; justify-content: center; padding: 22px 24px; }
.usage-title > span { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 12px; font-weight: 700; }
.usage-title i { width: 6px; height: 6px; background: #46a276; border-radius: 50%; box-shadow: 0 0 0 4px rgba(70,162,118,0.1); }
.usage-title small { margin-top: 6px; color: var(--muted); font-size: 9px; }
.usage-period { display: grid; grid-template-columns: 0.55fr 1fr 1fr; align-items: center; gap: 12px; padding: 18px 22px; border-left: 1px solid var(--line); }
.usage-period h3 { color: var(--ink-soft); font-family: var(--font-serif); font-size: 18px; }
.usage-metric > span { display: block; color: var(--muted); font-size: 9px; }
.usage-metric p { margin-top: 3px; color: var(--muted); font-size: 9px; white-space: nowrap; }
.usage-metric strong { margin-right: 3px; color: var(--green); font-family: Georgia, serif; font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; }

/* Creation scenes */
.scenes-section { padding: 96px 0 108px; background: var(--cream); }
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scene-card { min-height: 350px; display: flex; flex-direction: column; padding: 26px; border: 1px solid rgba(23,35,31,0.08); border-radius: 14px; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.scene-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(23,35,31,0.08); }
.scene-video { background: #e4eadb; }
.scene-story { background: #f3dfd2; }
.scene-brand { background: #e1e8e8; }
.scene-top { display: flex; justify-content: space-between; align-items: flex-start; }
.scene-number { font-family: Georgia, serif; font-size: 12px; color: var(--ink-soft); }
.scene-icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(23,35,31,0.16); border-radius: 50%; transition: background 0.25s, color 0.25s; }
.scene-card:hover .scene-icon { background: var(--green); color: var(--white); }
.scene-icon svg { width: 30px; height: 30px; }
.scene-copy { margin-top: 55px; }
.scene-copy > span { color: #68766e; font-size: 8px; font-weight: 700; letter-spacing: 0.17em; }
.scene-copy h3 { margin-top: 9px; font-family: var(--font-serif); font-size: 24px; line-height: 1.4; letter-spacing: -0.03em; }
.scene-copy p { margin-top: 13px; color: #5b6861; font-size: 12px; line-height: 1.9; }
.scene-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 24px; }
.scene-tags span { padding: 4px 9px; border: 1px solid rgba(23,35,31,0.14); border-radius: 100px; color: #59655e; font-size: 9px; }

/* Guide */
.guide-section { position: relative; padding: 106px 0; background: var(--green); color: var(--cream); overflow: hidden; }
.guide-section::after { content: "声"; position: absolute; left: -20px; bottom: -190px; color: rgba(255,255,255,0.025); font-family: var(--font-serif); font-size: 480px; line-height: 1; pointer-events: none; }
.guide-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 110px; }
.guide-intro h2 { margin-top: 19px; font-family: var(--font-serif); font-size: clamp(38px, 4vw, 52px); line-height: 1.35; letter-spacing: -0.04em; }
.guide-intro > p { max-width: 310px; margin-top: 24px; color: #a9bdb4; font-size: 13px; line-height: 1.9; }
.guide-link { display: inline-flex; align-items: center; gap: 38px; margin-top: 38px; padding-bottom: 8px; border-bottom: 1px solid #718e81; color: var(--cream); font-size: 13px; }
.guide-link span { color: var(--orange); font-size: 18px; }
.guide-steps { list-style: none; }
.guide-steps li { position: relative; display: grid; grid-template-columns: 46px 1fr auto; gap: 20px; align-items: start; padding: 27px 0; border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.guide-steps li:first-child { padding-top: 4px; }
.step-no { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #668579; border-radius: 50%; color: #bfd0c8; font-family: Georgia, serif; font-size: 10px; }
.guide-steps h3 { padding-top: 3px; font-size: 16px; font-weight: 600; }
.guide-steps p { margin-top: 7px; color: #9fb5ab; font-size: 12px; line-height: 1.8; }
.step-mark { align-self: center; color: rgba(255,255,255,0.07); font-family: Georgia, serif; font-size: 33px; font-style: italic; }

/* Mini program */
.miniapp-section { padding: 72px 0; background: var(--paper); }
.miniapp-card { display: grid; grid-template-columns: 142px 1fr auto; align-items: center; gap: 36px; padding: 30px 38px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.miniapp-code { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.miniapp-code img { width: 118px; height: 118px; padding: 5px; object-fit: cover; border: 1px solid var(--line); border-radius: 9px; }
.miniapp-code > span { color: var(--muted); font-size: 9px; }
.miniapp-copy h2 { margin-top: 9px; font-family: var(--font-serif); font-size: 27px; line-height: 1.4; letter-spacing: -0.03em; }
.miniapp-copy > p { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.miniapp-action { display: flex; align-items: center; gap: 22px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; white-space: nowrap; }
.miniapp-action span { color: var(--orange); font-size: 17px; }

/* FAQ */
.faq-section { padding: 72px 0 116px; background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 100px; }
.faq-intro h2 { margin-top: 18px; font-family: var(--font-serif); font-size: 39px; line-height: 1.4; letter-spacing: -0.04em; }
.faq-intro > p { margin-top: 18px; color: var(--muted); font-size: 12px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 28px 1fr 18px; gap: 14px; align-items: center; padding: 22px 0; list-style: none; font-size: 14px; font-weight: 650; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span { color: var(--orange); font-family: Georgia, serif; font-size: 10px; font-weight: 400; }
.faq-item summary i { position: relative; width: 16px; height: 16px; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 2px; right: 2px; top: 7px; height: 1px; background: var(--ink); transition: transform 0.2s; }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-item p { padding: 0 32px 23px 42px; color: var(--muted); font-size: 12px; line-height: 1.9; }

/* Closing and footer */
.closing-section { padding: 96px 0 104px; background: var(--orange); color: var(--white); text-align: center; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing-wave { height: 34px; display: flex; align-items: center; gap: 5px; margin-bottom: 24px; }
.closing-wave i { width: 2px; height: 12px; background: rgba(255,255,255,0.8); }
.closing-wave i:nth-child(2), .closing-wave i:nth-child(8) { height: 24px; }
.closing-wave i:nth-child(3), .closing-wave i:nth-child(7) { height: 34px; }
.closing-wave i:nth-child(4), .closing-wave i:nth-child(6) { height: 20px; }
.closing-wave i:nth-child(5) { height: 28px; }
.closing-inner > p { font-size: 9px; font-weight: 700; letter-spacing: 0.22em; opacity: 0.8; }
.closing-inner h2 { margin-top: 18px; font-family: var(--font-serif); font-size: clamp(40px, 5vw, 58px); line-height: 1.35; letter-spacing: -0.04em; }
.closing-inner .btn-primary { margin-top: 32px; min-width: 164px; background: var(--green); }
.closing-inner .btn-primary:hover { background: var(--green-deep); box-shadow: 0 10px 24px rgba(23,63,53,0.22); }
.site-footer { padding: 62px 0 0; background: var(--green-deep); color: #dce6e0; }
.footer-main { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; padding-bottom: 54px; }
.footer-brand .brand-mark { background: var(--cream); color: var(--green); }
.footer-brand .brand-type small { color: #779288; }
.footer-brand > p { margin-top: 22px; color: #8da49b; font-size: 12px; line-height: 1.9; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h3 { margin-bottom: 7px; color: var(--cream); font-size: 12px; font-weight: 650; }
.footer-col a, .footer-col span { color: #849e93; font-size: 11px; line-height: 1.7; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,0.09); color: #657f74; font-size: 10px; }
.footer-bottom .icp { color: #849e93; }

/* Login dialog */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.show { display: block; }
.modal-mask { position: absolute; inset: 0; background: rgba(10,25,20,0.72); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.modal-box { position: relative; width: min(680px, calc(100% - 32px)); max-height: 92vh; margin: 4vh auto 0; border-radius: 20px; background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,0.3); overflow-y: auto; animation: modalIn 0.25s ease-out; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 26px 30px 22px; border-bottom: 1px solid var(--line); }
.modal-eyebrow { color: var(--orange); font-size: 8px; font-weight: 700; letter-spacing: 0.17em; }
.modal-head h2 { margin-top: 6px; font-family: var(--font-serif); font-size: 25px; line-height: 1.3; }
.modal-close { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; transition: color 0.2s, border-color 0.2s, transform 0.2s; }
.modal-close:hover { color: var(--ink); border-color: var(--ink); transform: rotate(90deg); }
.modal-body { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; gap: 10px; padding: 30px; }
.qr-step { text-align: center; }
.qr-step-title { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; text-align: left; }
.qr-step-title > i { width: 25px; height: 25px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: var(--green); color: var(--white); font-family: Georgia, serif; font-size: 10px; font-style: normal; }
.qr-step-title > div { display: flex; flex-direction: column; }
.qr-step-title strong { font-size: 13px; }
.qr-step-title span { margin-top: 2px; color: var(--muted); font-size: 9px; }
.qr-image-wrap { width: 194px; height: 194px; display: grid; place-items: center; margin: 0 auto; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.mp-qr { width: 172px; height: 172px; display: block; object-fit: cover; border-radius: 6px; }
#qrcode { width: 172px; height: 172px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
#qrcode img, #qrcode canvas { width: 172px !important; height: 172px !important; }
.qr-connector { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--orange); }
.qr-connector span { width: 1px; height: 50px; background: var(--line); }
.qr-connector svg { width: 20px; height: 20px; transform: rotate(90deg); }
.qr-tip { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.qr-tip b { color: var(--green); }
.qr-arrow { display: flex; justify-content: center; padding: 12px; color: var(--orange); }
.modal-foot { padding: 15px 30px 18px; border-top: 1px solid var(--line); text-align: center; }
.modal-foot > span { color: var(--muted); font-size: 10px; }
.modal-foot .msg:not(:empty) { margin-top: 6px; }

/* Responsive */
@media (max-width: 1100px) {
  .header-inner { gap: 24px; }
  .header-nav { gap: 20px; }
  .header-nav a { font-size: 12px; }
  .user-bar { padding-left: 18px; }
  .user-account { display: none; }
  .hero-grid { gap: 45px; }
  .hero h1 { font-size: 68px; }
  .visual-stamp { right: -8px; width: 96px; height: 96px; }
  .visual-stamp > span { font-size: 38px; }
  .guide-grid { gap: 65px; }
  .faq-grid { gap: 65px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 72px; }
  .site-header { height: 72px; }
  .header-nav { display: none; }
  .user-bar { margin-left: auto; padding-left: 0; border-left: 0; }
  .user-account { display: flex; }
  .hero { min-height: calc(100vh - 72px); padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr 0.8fr; gap: 32px; }
  .hero h1 { font-size: 57px; }
  .hero-lead { font-size: 14px; }
  .hero-facts > div { padding: 0 16px; }
  .sound-poster { min-height: 410px; padding: 24px; }
  .poster-title { font-size: 40px; }
  .waveform { gap: 4px; }
  .visual-stamp { right: -4px; width: 82px; height: 82px; }
  .visual-stamp small { display: none; }
  .studio-grid { grid-template-columns: 1fr; }
  .script-panel { border-right: 0; border-bottom: 1px solid #e6e8e1; }
  textarea#text { height: 280px; }
  .scene-card { padding: 22px; }
  .scene-copy h3 { font-size: 21px; }
  .guide-grid { grid-template-columns: 0.8fr 1.2fr; gap: 40px; }
  .miniapp-card { grid-template-columns: 125px 1fr; gap: 26px; }
  .miniapp-action { display: none; }
  .footer-main { grid-template-columns: 0.8fr 1.7fr; gap: 40px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, 560px); }
  .brand-mark { width: 37px; height: 37px; }
  .brand-mark svg { width: 25px; height: 25px; }
  .brand-type strong { font-size: 15px; }
  .brand-type small { font-size: 7px; }
  .user-account { display: none; }
  .btn-login { height: 35px; padding: 0 12px; }
  .hero { min-height: calc(100vh - 72px); padding: 48px 0 64px; }
  .hero::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { padding: 0; }
  .hero h1 { margin-top: 20px; font-size: clamp(51px, 15vw, 72px); }
  .hero-lead { margin-top: 22px; font-size: 14px; }
  .hero-lead br { display: none; }
  .hero-actions { margin-top: 28px; }
  .hero-facts { margin-top: 38px; }
  .hero-facts > div { flex: 1; padding: 0 14px; }
  .hero-facts strong { font-size: 18px; }
  .hero-facts span { font-size: 10px; }
  .hero-visual { width: calc(100% - 18px); max-width: 430px; justify-self: start; padding-right: 0; }
  .sound-poster { min-height: 390px; box-shadow: 18px 20px 0 #dfe3d7; }
  .poster-title { font-size: 44px; }
  .visual-stamp { right: -16px; }
  .visual-note { margin-left: 0; }
  .visual-caption { right: 0; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading h2 { font-size: 31px; }
  .section-heading > p { margin-top: 14px; }
  .section-heading > p br { display: none; }
  .workspace-section { padding: 72px 0 64px; }
  .studio-shell { border-radius: 16px; }
  .studio-bar { min-height: 56px; padding: 0 18px; }
  .studio-status { font-size: 0; gap: 0; }
  .studio-status i { margin-right: 2px; }
  .studio-status span { display: none; }
  .script-panel, .settings-panel { padding: 22px 18px; }
  .preset-bar { align-items: stretch; flex-direction: column; gap: 10px; }
  .preset-controls { display: grid; grid-template-columns: 1fr 1fr; }
  .preset-select-wrap { min-width: 0; grid-column: 1 / -1; }
  .preset-btn { width: 100%; }
  .preset-editor-row { flex-wrap: wrap; }
  .preset-editor-row input { flex-basis: 100%; }
  textarea#text { height: 250px; padding: 17px; font-size: 14px; }
  .voice-fields { gap: 14px 10px; }
  .studio-actions { flex-direction: column-reverse; align-items: stretch; gap: 14px; padding: 20px 18px; }
  .studio-actions > p { justify-content: center; text-align: center; font-size: 10px; }
  .btn-synth { width: 100%; min-width: 0; }
  .player { margin: 0 18px 20px; padding: 17px; }
  .player-heading { align-items: flex-start; }
  .player-heading small { max-width: 130px; text-align: right; }
  .player-content { flex-direction: column; }
  .player audio { width: 100%; }
  .btn-download { width: 100%; justify-content: center; }
  .workspace-footnotes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; justify-content: start; font-size: 10px; }
  .usage-panel { grid-template-columns: 1fr; }
  .usage-title { padding: 16px 18px; }
  .usage-period { padding: 16px 18px; border-left: 0; border-top: 1px solid var(--line); }
  .usage-period h3 { font-size: 17px; }
  .scenes-section { padding: 70px 0 76px; }
  .scene-grid { grid-template-columns: 1fr; }
  .scene-card { min-height: 290px; }
  .scene-copy { margin-top: 32px; }
  .scene-copy h3 { font-size: 24px; }
  .guide-section { padding: 74px 0; }
  .guide-grid { grid-template-columns: 1fr; gap: 50px; }
  .guide-intro h2 { font-size: 41px; }
  .guide-intro > p { max-width: none; }
  .guide-link { margin-top: 25px; }
  .guide-steps li { grid-template-columns: 40px 1fr; gap: 14px; }
  .step-mark { display: none; }
  .miniapp-section { padding: 48px 0; }
  .miniapp-card { grid-template-columns: 94px 1fr; gap: 18px; padding: 22px 18px; }
  .miniapp-code img { width: 90px; height: 90px; }
  .miniapp-code > span { font-size: 8px; text-align: center; }
  .miniapp-copy .section-kicker { font-size: 7px; }
  .miniapp-copy h2 { font-size: 21px; }
  .miniapp-copy > p { font-size: 10px; }
  .miniapp-copy > p br { display: none; }
  .faq-section { padding: 40px 0 76px; }
  .faq-grid { grid-template-columns: 1fr; gap: 38px; }
  .faq-intro h2 { font-size: 34px; }
  .faq-intro h2 br { display: none; }
  .faq-item summary { grid-template-columns: 24px 1fr 18px; gap: 9px; font-size: 13px; }
  .faq-item p { padding-left: 33px; padding-right: 16px; }
  .closing-section { padding: 74px 0 80px; }
  .closing-inner h2 { font-size: 40px; }
  .site-footer { padding-top: 48px; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer-links { gap: 18px; }
  .footer-col h3 { font-size: 11px; }
  .footer-col a, .footer-col span { font-size: 10px; }
  .footer-bottom { min-height: 76px; flex-direction: column; justify-content: center; gap: 4px; text-align: center; }
  .modal-box { margin-top: 3vh; max-height: 94vh; }
  .modal-head { padding: 22px 20px 18px; }
  .modal-head h2 { font-size: 22px; }
  .modal-body { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .qr-step-title { max-width: 230px; margin: 0 auto 15px; }
  .qr-image-wrap { width: 180px; height: 180px; }
  .mp-qr, #qrcode, #qrcode img, #qrcode canvas { width: 158px !important; height: 158px !important; }
  .qr-connector { flex-direction: row; justify-content: center; }
  .qr-connector span { width: 60px; height: 1px; }
  .qr-connector svg { transform: none; }
  .modal-foot { padding: 14px 20px; }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 26px); }
  .brand-type small { display: none; }
  .hero h1 { font-size: 50px; }
  .hero-actions { gap: 20px; }
  .hero-cta { min-width: 140px; gap: 18px; }
  .hero-facts > div { padding: 0 10px; }
  .voice-fields { grid-template-columns: 1fr; }
  .workspace-footnotes { grid-template-columns: 1fr; }
  .miniapp-card { grid-template-columns: 1fr; text-align: center; }
  .miniapp-copy .section-kicker { justify-content: center; }
  .footer-links { grid-template-columns: 1fr 1fr; row-gap: 30px; }
}

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

/* ================= 子页面（多人对话 / 批量生成 / 字幕生成） ================= */
.page-hero { position: relative; padding: 84px 0 62px; background: var(--cream); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -120px; top: -70px; width: 290px; height: 290px; border: 1px solid rgba(23,63,53,0.08); border-radius: 50%; }
.page-hero h1 { margin-top: 18px; font-family: var(--font-serif); font-size: clamp(40px, 4.6vw, 58px); font-weight: 700; line-height: 1.2; letter-spacing: -0.045em; }
.page-hero-lead { margin-top: 18px; color: #5f6c66; font-size: 14px; line-height: 2; }

.tool-section { padding: 60px 0 96px; background: var(--paper); }
.tool-section .studio-shell { margin-bottom: 56px; }
.studio-actions + .msg { padding: 14px 28px 0; }

/* ---------- 工具栏 ---------- */
.dlg-toolbar { display: flex; align-items: flex-end; gap: 12px; padding: 22px 28px 0; flex-wrap: wrap; }
.dlg-toolbar .field { min-width: 200px; }
.dlg-toolbar .field.voice-field { min-width: 250px; }
.dlg-toolbar-spacer { flex: 1; }
.tool-btn { height: 44px; padding: 0 16px; border: 1px solid #cfd7d0; border-radius: 8px; background: var(--white); color: var(--ink-soft); font-family: var(--font-sans); font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.tool-btn:hover { border-color: var(--green-light); background: #f2f7f0; color: var(--green); }
.tool-btn.primary { border-color: var(--green); background: var(--green); color: var(--white); }
.tool-btn.primary:hover { background: var(--green-light); color: var(--white); }
.tool-btn.danger { border-color: #e5c2bc; color: var(--danger); }
.tool-btn.danger:hover { border-color: var(--danger); background: #fff2ef; }
.tool-btn.as-select { appearance: none; -webkit-appearance: none; }

/* ---------- 长文本拆分 ---------- */
.split-box { margin: 16px 28px 0; padding: 16px; border: 1px dashed #c5cfc3; border-radius: 12px; background: #f7faf5; }
.split-box[hidden] { display: none; }
.split-box textarea { width: 100%; min-height: 120px; padding: 12px; border: 1px solid #dfe3da; border-radius: 8px; outline: 0; background: var(--white); font-family: var(--font-sans); font-size: 12px; line-height: 1.8; resize: vertical; transition: border-color 0.2s; }
.split-box textarea:focus { border-color: var(--green-light); }
.split-box-foot { display: flex; align-items: center; gap: 18px; margin-top: 12px; flex-wrap: wrap; }
.split-mode { display: flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 12px; cursor: pointer; }
.split-mode input { accent-color: var(--green); }

/* ---------- 段落行（对话 / 批量共用） ---------- */
.dlg-rows { display: flex; flex-direction: column; gap: 12px; max-height: 560px; overflow-y: auto; padding: 18px 28px 6px; }
.dlg-row { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid #e3e7de; border-radius: 12px; background: #fafbf7; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.dlg-row:focus-within { border-color: #b9c6bd; background: var(--white); box-shadow: 0 4px 14px rgba(23,35,31,0.05); }
.dlg-head { display: flex; align-items: center; gap: 10px; }
.dlg-idx { flex-shrink: 0; width: 26px; color: var(--orange); font-family: Georgia, serif; font-size: 11px; text-align: center; }
.dlg-text-wrap { position: relative; }
.dlg-text { width: 100%; min-height: 66px; padding: 10px 12px 24px; border: 1px solid #dfe3da; border-radius: 8px; outline: 0; background: var(--white); font-family: var(--font-sans); font-size: 13px; line-height: 1.7; resize: vertical; transition: border-color 0.2s; }
.dlg-text:focus { border-color: var(--green-light); }
.dlg-chars { position: absolute; right: 10px; bottom: 8px; color: var(--muted); font-size: 10px; }
.dlg-role-wrap { flex: 1; min-width: 0; max-width: 280px; }
.dlg-role-wrap select { width: 100%; height: 36px; padding: 0 30px 0 10px; appearance: none; -webkit-appearance: none; border: 1px solid #dfe3da; border-radius: 8px; outline: 0; background: var(--white); color: var(--ink); font-size: 11px; cursor: pointer; text-overflow: ellipsis; transition: border-color 0.2s; }
.dlg-role-wrap select:hover { border-color: #b9c3bc; }
.dlg-role-wrap > span { right: 10px; font-size: 13px; }
.b-row-name { flex: 1.4; min-width: 0; width: auto; height: 36px; font-size: 12px; }
.dlg-ops { display: flex; gap: 6px; flex-shrink: 0; }
.dlg-op { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #dfe3da; border-radius: 7px; background: var(--white); color: var(--muted); cursor: pointer; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.dlg-op svg { width: 13px; height: 13px; }
.dlg-op:hover { color: var(--green); border-color: var(--green-light); background: #f2f7f0; }
.dlg-op.del:hover { color: var(--danger); border-color: var(--danger); background: #fff2ef; }

/* ---------- 计数条 ---------- */
.dlg-counter { display: flex; align-items: center; gap: 26px; padding: 16px 28px 4px; color: var(--muted); font-size: 11px; }
.dlg-counter b { color: var(--green); font-family: Georgia, serif; font-weight: 500; font-size: 13px; font-variant-numeric: tabular-nums; }
.dlg-tuning { margin: 10px 28px 0; }
.b-daily { color: var(--green); font-size: 11px; font-weight: 600; }

/* ---------- 批量任务历史 ---------- */
.batch-history .section-heading { align-items: center; }
.b-empty { padding: 44px 20px; border: 1px dashed #d9ded4; border-radius: 12px; color: var(--muted); font-size: 12px; text-align: center; }
.b-task { margin-bottom: 14px; padding: 18px 22px; border: 1px solid #e3e7de; border-radius: 14px; background: var(--white); }
.b-task.done { border-color: #cfe3d6; background: #f6fbf6; }
.b-task.failed { border-color: #ecd2cd; background: #fffaf9; }
.b-task-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.b-task-head b { font-size: 13px; }
.b-task-meta { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.b-task-status { flex-shrink: 0; padding: 4px 12px; border-radius: 100px; font-size: 10px; font-weight: 650; }
.b-task-status.st-Running { color: #9a6b1f; background: #fdf3dd; }
.b-task-status.st-Succeeded { color: var(--success); background: #e3f1e9; }
.b-task-status.st-Failed { color: var(--danger); background: #fdeae7; }
.b-task-tip { margin-top: 10px; color: var(--muted); font-size: 11px; }
.b-files { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.b-file { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid #e6ebe2; border-radius: 9px; background: #fafbf7; }
.b-file-no { color: var(--orange); font-family: Georgia, serif; font-size: 12px; }
.b-file audio { width: 100%; height: 34px; }
.b-file-dl { padding: 6px 14px; border: 1px solid #cfd7d0; border-radius: 7px; color: var(--green); font-size: 11px; font-weight: 600; text-decoration: none; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.b-file-dl:hover { border-color: var(--green); background: var(--green); color: var(--white); }
.b-task-foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 14px; }
.b-task-foot .tool-btn { display: inline-flex; align-items: center; text-decoration: none; }
.b-task-del { height: 32px; padding: 0 12px; border: 1px solid #dfe3da; border-radius: 8px; background: var(--white); color: var(--muted); font-size: 12px; cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.b-task-del:hover { color: var(--danger); border-color: var(--danger); background: #fff2ef; }
.batch-history.collapsed #bTasks,
.batch-history.collapsed #bPager { display: none; }

/* 批量任务区折叠头部：整条可点，箭头旋转指示 */
.b-history-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 20px; border: 1px solid #e3e7de; border-radius: 14px; background: var(--white); cursor: pointer; user-select: none; transition: border-color 0.2s, background 0.2s; }
.b-history-head:hover { border-color: #c9d6c8; background: #fafdf8; }
.b-history-title { font-family: var(--font-serif); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.b-history-ops { display: flex; align-items: center; gap: 8px; }
.b-history-ops .tool-btn { height: 34px; padding: 0 13px; border-radius: 8px; }
.b-arrow { display: inline-block; margin-right: 5px; font-size: 11px; transition: transform 0.25s; }
.batch-history.collapsed .b-arrow { transform: rotate(-90deg); }
.b-history-head + #bTasks { margin-top: 14px; }
.b-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 10px; background: #eaf1e8; color: var(--green); font-family: var(--font-sans); font-size: 12px; font-weight: 700; vertical-align: 2px; }
.b-pager { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 0 2px; }
.b-pager span { color: var(--muted); font-size: 13px; min-width: 52px; text-align: center; }
.b-pager .tool-btn:disabled { opacity: 0.4; cursor: default; }

/* 播放器区「生成字幕」按钮与 SRT 结果块 */
.btn-srt { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 1px solid var(--line, #dfe3da); border-radius: 10px; background: var(--white, #fff); color: var(--ink, #232a20); font-size: 13px; cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.btn-srt:hover { border-color: var(--brand, #3f6f3f); color: var(--brand, #3f6f3f); }
.btn-srt:disabled { opacity: 0.55; cursor: default; }
.btn-srt svg { width: 16px; height: 16px; }
.srt-box { margin-top: 14px; border: 1px solid var(--line, #dfe3da); border-radius: 12px; background: var(--white, #fff); overflow: hidden; }
.srt-box-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: var(--soft, #f6f8f4); border-bottom: 1px solid var(--line, #dfe3da); }
.srt-box-head > span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink, #232a20); }
.srt-box-head > span i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand, #3f6f3f); display: inline-block; }
.srt-box-ops { display: flex; align-items: center; gap: 8px; }
.srt-box-ops .tool-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 7px; font-size: 12px; text-decoration: none; }
.srt-box textarea { display: block; width: 100%; min-height: 180px; max-height: 320px; padding: 12px 14px; border: 0; background: var(--white, #fff); color: var(--ink, #232a20); font-family: var(--font-mono, Consolas, monospace); font-size: 12px; line-height: 1.7; resize: vertical; outline: none; }

/* ---------- 字幕生成页 ---------- */
.z-upload { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 20px 28px 0; padding: 38px 20px 32px; border: 1.5px dashed #c5cfc3; border-radius: 14px; background: #f8faf6; text-align: center; cursor: pointer; outline: none; transition: border-color 0.2s, background 0.2s; }
.z-upload:hover, .z-upload:focus-visible, .z-upload.drag { border-color: var(--green-light); background: #eef4ec; }
.z-upload.has-file { border-color: var(--green); border-style: solid; background: #f0f7f0; }
.z-upload-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 50%; background: var(--green); color: var(--white); }
.z-upload-icon svg { width: 22px; height: 22px; }
.z-upload-title { color: var(--ink); font-size: 13px; font-weight: 650; word-break: break-all; }
.z-upload-hint { color: var(--muted); font-size: 10px; }
.z-toolbar { align-items: center; padding-top: 20px; }
.z-toolbar .field { min-width: 230px; }
.z-result { margin: 18px 28px 26px; }
.z-result[hidden] { display: none; }
.z-result-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.z-tab { padding: 8px 18px; border: 1px solid #dfe3da; border-radius: 100px; background: var(--white); color: var(--muted); font-family: var(--font-sans); font-size: 12px; font-weight: 600; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.z-tab:hover { border-color: var(--green-light); color: var(--green); }
.z-tab.active { border-color: var(--green); background: var(--green); color: var(--white); }
.z-pane textarea { width: 100%; min-height: 300px; padding: 14px; border: 1px solid #dfe3da; border-radius: 10px; outline: 0; background: #fafbf7; font-family: ui-monospace, SFMono-Regular, Consolas, Menlo, monospace; font-size: 12px; line-height: 1.8; color: var(--ink-soft); resize: vertical; transition: border-color 0.2s, background 0.2s; }
.z-pane textarea:focus { border-color: var(--green-light); background: var(--white); }
.z-pane-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.btn-synth-sm { min-width: 0; height: 44px; padding: 0 18px; font-size: 13px; }
.btn-synth-sm > span { display: none; }

/* ---------- 无保存角色引导（对话 / 批量页共用） ---------- */
.no-role-hint { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 20px 28px 8px; padding: 40px 24px; border: 1px solid #e3e7de; border-radius: 14px; background: #fafbf7; text-align: center; }
.no-role-hint[hidden] { display: none; }
.nr-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #eef4ec; color: var(--green); }
.nr-icon svg { width: 26px; height: 26px; }
.nr-title { color: var(--ink); font-size: 15px; font-weight: 700; }
.nr-text { color: var(--muted); font-size: 12px; line-height: 2.1; }
.no-role-hint .tool-btn { display: inline-flex; align-items: center; margin-top: 8px; text-decoration: none; }

/* 尚未保存角色时隐藏编辑器，仅显示引导 */
.studio-shell.role-gated .dlg-toolbar,
.studio-shell.role-gated .dlg-rows,
.studio-shell.role-gated .dlg-counter,
.studio-shell.role-gated .dlg-tuning,
.studio-shell.role-gated .studio-actions,
.studio-shell.role-gated .split-box,
.studio-shell.role-gated .player,
.studio-shell.role-gated .msg { display: none; }

.page-faq { margin-top: 56px; }

@media (max-width: 720px) {
  .no-role-hint { margin-left: 16px; margin-right: 16px; padding: 32px 16px; }
}

@media (max-width: 900px) {
  .dlg-head { flex-wrap: wrap; }
  .dlg-role-wrap { flex: 1 1 200px; max-width: none; }
  .dlg-ops { margin-left: auto; }
}

@media (max-width: 720px) {
  .page-hero { padding: 52px 0 44px; }
  .tool-section { padding: 44px 0 72px; }
  .tool-section .studio-shell { margin-bottom: 44px; }
  .dlg-toolbar { padding: 18px 16px 0; }
  .dlg-toolbar .field, .dlg-toolbar .field.voice-field { flex: 1 1 100%; min-width: 0; }
  .split-box, .dlg-tuning, .z-upload, .z-result { margin-left: 16px; margin-right: 16px; }
  .dlg-rows { padding: 14px 16px 4px; }
  .dlg-counter { flex-wrap: wrap; gap: 12px; padding: 14px 16px 0; }
  .z-toolbar { padding-top: 16px; }
  .z-toolbar .field { flex: 1 1 100%; min-width: 0; }
  .b-file { grid-template-columns: 26px 1fr; }
  .b-file-dl { grid-column: 2; justify-self: start; }
  .b-task { padding: 14px 16px; }
}

/* ---------- 用户中心（签到日历 + 邀请拉新） ---------- */
.uc-gate { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 10px 0 40px; padding: 56px 24px; border: 1px solid #e3e7de; border-radius: 16px; background: var(--white); text-align: center; }
.uc-gate[hidden] { display: none; }
.uc-gate-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #eef4ec; color: var(--green); }
.uc-gate-icon svg { width: 26px; height: 26px; }
.uc-gate-title { color: var(--ink); font-size: 15px; font-weight: 700; }
.uc-gate-text { color: var(--muted); font-size: 12px; }
.uc-gate .btn-primary { margin-top: 12px; }

.uc-overview { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 14px; margin-bottom: 56px; }
.uc-card { border: 1px solid #e3e7de; border-radius: 14px; background: var(--white); }
.uc-me { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.uc-avatar { width: 46px; height: 46px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: var(--green); color: var(--cream); font-family: var(--font-serif); font-size: 20px; }
.uc-me-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.uc-me-info strong { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-me-info small { color: var(--muted); font-size: 11px; }
.uc-vip-badge { margin-left: auto; flex-shrink: 0; padding: 4px 10px; border-radius: 100px; background: linear-gradient(120deg, #ed6a45, #f0a04b); color: var(--white); font-family: Georgia, serif; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; }
.uc-stat { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 18px 20px; }
.uc-stat strong { font-family: Georgia, serif; font-size: 24px; font-weight: 500; color: var(--green); font-variant-numeric: tabular-nums; line-height: 1; }
.uc-stat strong i { margin-left: 3px; color: var(--muted); font-family: var(--font-sans); font-size: 11px; font-style: normal; }
.uc-stat > span { color: var(--muted); font-size: 11px; }

.uc-heading { margin-bottom: 26px; }
.uc-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; margin-bottom: 72px; align-items: stretch; }

/* 日历 */
.uc-cal { padding: 20px 22px 18px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.cal-title { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cal-title strong { font-family: var(--font-serif); font-size: 18px; letter-spacing: -0.02em; }
.cal-title small { color: var(--muted); font-size: 11px; }
.cal-nav { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #dfe3da; border-radius: 50%; background: var(--white); color: var(--ink-soft); cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.cal-nav svg { width: 15px; height: 15px; }
.cal-nav:hover:not(:disabled) { border-color: var(--green-light); background: #f2f7f0; color: var(--green); }
.cal-nav:disabled { opacity: 0.35; cursor: default; }
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 6px; }
.cal-week span { padding: 6px 0; color: var(--muted); font-size: 11px; text-align: center; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-cell { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; border-radius: 10px; background: #f7f9f4; font-size: 12px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.cal-cell.empty { background: transparent; }
.cal-cell.done { background: var(--green); color: var(--cream); font-weight: 700; }
.cal-cell.done::after { content: ""; position: absolute; right: 5px; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.cal-cell.today { box-shadow: inset 0 0 0 2px var(--orange); font-weight: 700; color: var(--orange-dark); }
.cal-cell.done.today { color: var(--cream); }
.cal-legend { display: flex; gap: 18px; margin-top: 14px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 4px; }
.cal-legend .lg-done { background: var(--green); }
.cal-legend .lg-today { background: var(--white); box-shadow: inset 0 0 0 2px var(--orange); }

/* 签到卡 */
.uc-sign { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px 24px; text-align: center; background: linear-gradient(160deg, #f2f7ee, var(--white) 55%); }
.uc-sign-badge { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; border: 2px dashed #c8d6c2; background: var(--white); color: #b7c6b4; transition: all 0.25s; }
.uc-sign-badge svg { width: 28px; height: 28px; opacity: 0; transform: scale(0.5); transition: all 0.25s; }
.uc-sign-badge.done { border: 2px solid var(--green); background: var(--green); color: var(--cream); }
.uc-sign-badge.done svg { opacity: 1; transform: scale(1); }
.uc-sign-state { font-family: var(--font-serif); font-size: 19px; }
.uc-sign-tip { color: var(--muted); font-size: 12px; }
.uc-sign-btn { margin-top: 10px; min-width: 172px; }
.uc-sign-btn:disabled { opacity: 0.55; transform: none; box-shadow: none; cursor: default; }
.uc-sign .msg:not(:empty) { margin-top: 2px; }

/* 邀请拉新 */
.uc-invite { padding: 26px 28px 24px; }
.inv-stats { display: flex; align-items: center; gap: 34px; margin-bottom: 24px; padding: 16px 24px; border-radius: 12px; background: #f4f8f1; }
.inv-stats > div:not(.inv-divider) { display: flex; flex-direction: column; gap: 3px; }
.inv-stats strong { font-family: Georgia, serif; font-size: 24px; font-weight: 500; color: var(--green); font-variant-numeric: tabular-nums; line-height: 1; }
.inv-stats > div:not(.inv-divider) > span { color: var(--muted); font-size: 11px; }
.inv-divider { width: 1px; height: 34px; background: #dfe6da; }
.inv-field { margin-bottom: 16px; }
.inv-field label { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.inv-row { display: flex; gap: 10px; }
.inv-row-top { align-items: stretch; }
.inv-row input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid #dfe3da; border-radius: 8px; outline: 0; background: #fafbf7; color: var(--green); font-family: ui-monospace, Consolas, monospace; font-size: 12px; cursor: text; }
.inv-row textarea { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid #dfe3da; border-radius: 8px; outline: 0; background: #fafbf7; color: var(--ink-soft); font-family: var(--font-sans); font-size: 12px; line-height: 1.9; resize: vertical; }
.inv-row input:focus, .inv-row textarea:focus { border-color: var(--green-light); background: var(--white); }
.inv-copy { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex-shrink: 0; height: 44px; padding: 0 18px; border: 1px solid var(--green); border-radius: 8px; background: var(--white); color: var(--green); font-family: var(--font-sans); font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: all 0.2s; }
.inv-copy svg { width: 15px; height: 15px; }
.inv-copy:hover { background: #f2f7f0; transform: translateY(-1px); }
.inv-copy.primary { background: var(--orange); border-color: var(--orange); color: var(--white); }
.inv-copy.primary:hover { background: var(--orange-dark); box-shadow: 0 8px 20px rgba(237,106,69,0.24); }
.inv-copy.copied { background: var(--success); border-color: var(--success); color: var(--white); }
.uc-invite .msg { margin-bottom: 6px; text-align: left; }
.inv-rules { margin-top: 14px; padding: 16px 20px; border-radius: 12px; background: #fbf7f0; }
.inv-rules h3 { font-family: var(--font-serif); font-size: 13px; margin-bottom: 8px; }
.inv-rules ol { padding-left: 18px; color: var(--muted); font-size: 11px; line-height: 2; }
.inv-rules b { color: var(--orange-dark); }
.inv-recent { margin-top: 14px; }
.inv-recent h3 { font-family: var(--font-serif); font-size: 13px; margin-bottom: 8px; }
.inv-recent ul { list-style: none; border-top: 1px solid var(--line); }
.inv-recent li { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid #eceee8; font-size: 12px; }
.inv-recent li span { font-weight: 600; color: var(--ink-soft); }
.inv-recent li em { margin-left: auto; color: var(--muted); font-style: normal; font-size: 11px; }
.inv-recent li time { color: var(--success); font-size: 11px; font-weight: 700; }

@media (max-width: 1020px) {
  .uc-overview { grid-template-columns: 1fr 1fr; }
  .uc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .uc-overview { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 40px; }
  .uc-me { grid-column: 1 / -1; }
  .uc-grid { margin-bottom: 52px; }
  .uc-cal { padding: 16px 14px; }
  .cal-days { gap: 4px; }
  .cal-cell { border-radius: 8px; font-size: 11px; }
  .uc-invite { padding: 20px 16px; }
  .inv-stats { flex-wrap: wrap; gap: 14px 22px; padding: 14px 16px; }
  .inv-divider { display: none; }
  .inv-row { flex-direction: column; }
  .inv-copy { width: 100%; }
}
