:root {
  --paper: #f5f3ec;
  --surface: #fffefb;
  --ink: #243e33;
  --green: #254d40;
  --green-dark: #183a30;
  --muted: #7c847b;
  --line: #e5e7dd;
  --lime: #e1eab8;
  --coral: #b86e50;
  --serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius: 20px;
}
* {
  box-sizing: border-box;
}
html {
  min-width: 320px;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
[hidden] {
  display: none !important;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #a2b97d;
  outline-offset: 4px;
}
svg.icon {
  display: block;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.app-body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 100% 0%, #e9eddf90, transparent 45%),
    radial-gradient(ellipse at 0 100%, #eee6d590, transparent 50%), var(--paper);
}
.site-shell {
  max-width: 1328px;
  padding: 0 52px;
  margin: auto;
}
.site-header {
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dce0d4;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: 3px;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font: 8px var(--sans);
  letter-spacing: 2.1px;
  margin-top: 5px;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 45px;
  height: 45px;
  background: var(--green);
  color: var(--lime);
  border-radius: 15px;
  transform: rotate(-5deg);
}
.brand-mark i {
  width: 3px;
  height: 14px;
  background: currentColor;
  border-radius: 3px;
}
.brand-mark i:nth-child(2) {
  height: 27px;
}
.brand-mark i:nth-child(3) {
  height: 20px;
}
.brand-mark i:nth-child(4) {
  height: 9px;
}
.header-caption {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
}
.quiet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 8px;
  background: transparent;
  border-radius: 7px;
  color: #6d786c;
  font-size: 12px;
  white-space: nowrap;
  transition:
    background 0.18s,
    color 0.18s;
}
.quiet-button:hover:not(:disabled) {
  color: var(--green);
  background: #e9eddf;
}
.quiet-button .icon {
  width: 16px;
  height: 16px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 43px 0 34px;
  animation: arrive 0.55s ease both;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: 2px;
  margin: 0 0 15px;
  color: #728069;
}
.eyebrow > span {
  width: 6px;
  height: 6px;
  background: #809566;
  border-radius: 50%;
}
.page-heading h1 {
  font: 500 clamp(30px, 3.2vw, 44px)/1.45 var(--serif);
  letter-spacing: -1px;
  margin: 0;
}
.page-heading h1 em {
  font-style: normal;
  color: #6f8363;
}
.page-intro {
  color: var(--muted);
  font-size: 13px;
  margin: 11px 0 0;
}
.heading-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-left: 1px solid #d6ddcb;
  padding-left: 26px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
}
.note-number {
  font:
    italic 34px Georgia,
    serif;
  letter-spacing: -1px;
  color: #54684d;
}
.heading-note > span:last-child > span {
  margin-left: 20px;
}
.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  animation: arrive 0.6s 0.05s ease both;
}
.section-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.section-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  color: #53674b;
  font-size: 14px;
}
.section-nav a[aria-current="page"] {
  background: var(--green);
  color: #fffef5;
}
.section-nav a:not([aria-current]):hover { background: #e8eddf; }
.section-nav a span { font-size: 12px; opacity: 0.8; }
.translation-controls { display: flex; align-items: end; gap: 16px; margin-bottom: 20px; }
.translation-controls label { display: grid; gap: 9px; font-size: 14px; flex: 1; max-width: 280px; }
.translation-controls select, .translation-audio select { width: 100%; min-height: 44px; font-size: 16px; padding: 8px 12px; }
.translation-controls button { min-height: 44px; }
.translation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.translation-output { min-height: 260px; padding: 24px 28px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; font-size: 18px; flex: 1; }
.translation-output.is-stale { color: #8b6748; }
.translation-audio { padding: 16px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.translation-audio label { font-size: 14px; }
.translation-audio-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.translation-audio audio { width: 100%; }
.translation-submit { display: grid; gap: 12px; padding: 18px 24px; border-top: 1px solid var(--line); }
.translation-submit > button { width: 100%; }
.translation-submit .status { font-size: 14px; color: #53674b; }
.translation-note { font-size: 13px; color: #66745e; line-height: 1.8; margin: 20px 0; }
.translation-help { border-top: 1px solid var(--line); padding: 18px 0; font-size: 14px; line-height: 1.8; }
.translation-help summary { cursor: pointer; color: #53674b; }
.translation-help a { color: var(--green); text-decoration: underline; }
.editor-card,
.settings-card,
.player-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 5px 16px #243e3303;
}
.editor-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.editor-card:focus-within {
  border-color: #a9b694;
  box-shadow: 0 0 0 3px #dce6c52b;
}
.card-heading {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 26px;
  border-bottom: 1px solid #eceee5;
}
h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.step-number {
  font:
    italic 13px Georgia,
    serif;
  color: #9aa58d;
  letter-spacing: 0;
}
.editor-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tool-divider {
  height: 12px;
  width: 1px;
  background: var(--line);
  margin: 0 3px;
}
textarea {
  width: 100%;
  min-height: 295px;
  flex: 1;
  resize: vertical;
  padding: 24px 28px 12px;
  border: 0;
  outline: none;
  background: transparent;
  color: #354338;
  font-size: 16px;
  line-height: 1.95;
  border-radius: 0;
}
textarea::placeholder {
  color: #a2a89c;
  font-size: 15px;
  line-height: 2.05;
}
.editor-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 28px;
  color: #92998c;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.editor-footer strong {
  font-weight: 500;
  color: #53674b;
}
.editor-footer .near-limit,
.editor-footer .near-limit strong {
  color: var(--coral);
}
.editor-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 26px;
  background: #f7f8f1;
  border-top: 1px solid #e9eddf;
  color: #84907a;
  font-size: 11px;
}
.editor-hint .icon {
  width: 15px;
  height: 15px;
}
.editor-hint kbd {
  margin-left: auto;
  flex-shrink: 0;
  font: 10px var(--sans);
  border: 1px solid #dee3d6;
  border-radius: 4px;
  padding: 3px 6px;
  color: #8a9480;
  box-shadow: 0 1px 1px #ddd;
}
.settings-card {
  background: #eff2e7;
  padding: 25px 24px 19px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  align-content: start;
  position: relative;
  overflow: hidden;
}
.settings-top {
  grid-column: 1/-1;
  margin-bottom: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.settings-top h2 {
  font-size: 13px;
  gap: 9px;
}
.small-label {
  color: #7c896f;
  font-size: 9px;
  border: 1px solid #dce2d0;
  padding: 4px 6px;
  border-radius: 5px;
}
.voice-portrait {
  position: relative;
  width: 50px;
  height: 50px;
  margin: 0;
  grid-column: 1;
  grid-row: 2;
}
.voice-portrait > svg {
  position: relative;
  display: block;
  background: #e5e2d0;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  border: 2px solid #f7f8f0;
}
.portrait-halo {
  position: absolute;
  inset: -4px;
  border: 1px solid #d7dfc9;
  border-radius: 50%;
}
.voice-badge {
  position: absolute;
  right: -5px;
  bottom: 1px;
  border: 3px solid #eff2e7;
  background: var(--green);
  color: var(--lime);
  border-radius: 50%;
  padding: 4px;
}
.voice-badge .icon {
  width: 11px;
  height: 11px;
}
.voice-name {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  text-align: left;
}
.voice-name h3 {
  font: 600 24px var(--serif);
  margin: 0;
}
.voice-name h3 b {
  font-weight: inherit;
  overflow-wrap: anywhere;
}
.voice-picker {
  grid-column: 1/-1;
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 20px 0;
}
.voice-picker label {
  font-size: 14px;
  color: #4c6044;
}
.voice-picker select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 10px;
  font-size: 16px;
  color: var(--ink);
  background: #fafbf6;
}
.voice-picker label:not(:first-child) {
  margin-top: 7px;
}
.voice-picker p {
  font-size: 12px;
  line-height: 1.7;
  color: #63745b;
  margin: 0;
}
.voice-picker #language-hint {
  padding-top: 7px;
  border-top: 1px solid #dce2d2;
}
.voice-picker #catalog-status.is-error {
  color: #a64436;
}
.voice-name h3 span {
  font: 10px var(--sans);
  padding: 4px 7px;
  background: #e0e7d4;
  color: #75856a;
  border-radius: 5px;
  vertical-align: middle;
  margin-left: 7px;
}
.voice-name p {
  margin: 7px 0 0;
  font-size: 11px;
  color: #87907e;
}
.voice-details {
  grid-column: 1/-1;
  width: 100%;
  margin: 0 0 23px;
  padding: 14px 0;
  border-top: 1px solid #dce2d2;
  border-bottom: 1px solid #dce2d2;
  font-size: 11px;
  display: grid;
  gap: 14px;
}
.voice-details > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.voice-details dt {
  color: #89917f;
}
.voice-details dd {
  margin: 0;
  color: #4c6044;
}
.voice-details dd span {
  font-size: 10px;
  color: #8b967f;
  margin-left: 6px;
}
#reading-speed {
  min-height: 36px;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid #d7dfcc;
  border-radius: 7px;
  background: var(--surface);
  color: var(--green);
  font-size: 16px;
  cursor: pointer;
}
.generate-area {
  grid-column: 1/-1;
  width: 100%;
  margin-top: auto;
}
.primary-button {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 20px;
  border-radius: 11px;
  background: var(--green);
  color: #fffef5;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 5px 12px #254d4012;
  transition:
    background 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
.primary-button:hover:not(:disabled) {
  background: var(--green-dark);
  box-shadow: 0 7px 16px #254d4024;
  transform: translateY(-1px);
}
.primary-button:active:not(:disabled) {
  transform: translateY(0);
}
.primary-button:disabled {
  opacity: 0.65;
}
.button-arrow {
  margin-left: auto;
  font-size: 18px;
  color: #bfcdad;
}
.generate-area > p {
  font-size: 10px;
  text-align: center;
  color: #909a85;
  margin: 12px 0 0;
}
.player-panel {
  grid-column: 1/-1;
  padding: 23px 27px 26px;
}
.player-heading,
.player-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.player-heading {
  justify-content: space-between;
  min-height: 30px;
  gap: 16px;
}
.audio-meta {
  font-size: 10px;
  background: #f1f3eb;
  color: #8e9881;
  border-radius: 4px;
  padding: 4px 8px;
}
.download-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #edf2e4;
  border: 1px solid #dde5d0;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 11px;
  color: #4c6841;
  white-space: nowrap;
}
.download-button:hover {
  background: #e4edda;
}
.download-button .icon {
  width: 15px;
  height: 15px;
}
.player-body {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 18px;
}
.sound-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 110px;
  height: 69px;
  background: #f2f4ec;
  border: 1px solid #e6eadf;
  border-radius: 12px;
}
.sound-art i {
  height: 15px;
  width: 3px;
  background: #c4d1b6;
  border-radius: 4px;
  transform-origin: center;
}
.sound-art i:nth-child(3n) {
  height: 33px;
}
.sound-art i:nth-child(3n + 1) {
  height: 22px;
}
.sound-art i:nth-child(4n) {
  height: 43px;
}
.sound-art i:first-child,
.sound-art i:last-child {
  height: 10px;
}
.sound-art.playing i {
  background: #89a16d;
  animation: wave 1s ease-in-out infinite alternate;
}
.sound-art.playing i:nth-child(3n) {
  animation-delay: -0.4s;
}
.sound-art.playing i:nth-child(2n) {
  animation-delay: -0.7s;
}
.player-content {
  min-width: 0;
  flex: 1;
}
.status {
  color: #929a8b;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
}
.status.is-error {
  color: #a64436;
}
.playback-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: var(--green);
  color: white;
  border-radius: 50%;
  padding: 7px;
}
.play-button .icon {
  width: 19px;
  height: 19px;
}
.time-label {
  color: #849078;
  font-size: 10px;
  min-width: 32px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
input[type="range"] {
  --progress: 0%;
  appearance: none;
  -webkit-appearance: none;
  flex: 1;
  min-width: 0;
  height: 24px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    #66834f var(--progress),
    #e7ebdf var(--progress)
  );
}
input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: #e7ebdf;
}
input[type="range"]::-moz-range-progress {
  height: 4px;
  background: #66834f;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  background: #65834d;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #ccd6c0;
}
input[type="range"]::-moz-range-thumb {
  width: 9px;
  height: 9px;
  background: #65834d;
  border: 2px solid white;
  border-radius: 50%;
}
input[type="range"]:disabled {
  opacity: 0.5;
  cursor: default;
}
select {
  color: #66775b;
  background: #f5f7f0;
  border: 1px solid #e4e9da;
  border-radius: 6px;
  padding: 6px 4px;
  font-size: 10px;
  cursor: pointer;
}
select:disabled {
  opacity: 0.6;
}
.player-panel[data-state="loading"] .sound-art {
  background: #eef2e1;
}
.player-panel[data-state="loading"] .sound-art i {
  animation: wave 1.2s ease-in-out infinite alternate;
}
.player-panel[data-state="loading"] .sound-art i:nth-child(2n) {
  animation-delay: -0.6s;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 30px;
  color: #919988;
  font-size: 10px;
  letter-spacing: 0.6px;
}
.footer-dot {
  padding: 0 9px;
  color: #b5bda8;
}
.auth-body {
  display: grid;
  place-items: center;
  padding: 40px 24px;
  min-height: 100svh;
}
.auth-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(980px, 100%);
  min-height: 650px;
  background: var(--surface);
  border: 1px solid #e0e4d7;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 80px #25372b0c;
  animation: arrive 0.6s ease both;
}
.auth-visual {
  padding: 36px 42px 28px;
  background:
    radial-gradient(ellipse at 80% 60%, #3d6041, transparent 65%), #254838;
  color: #fbf7e9;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.auth-visual .brand {
  font-size: 23px;
}
.auth-visual .brand-mark {
  background: #dee8b5;
  color: #35503d;
}
.auth-copy {
  margin-top: 46px;
  position: relative;
  z-index: 1;
}
.auth-copy .eyebrow {
  color: #afc19c;
  font-size: 10px;
  letter-spacing: 3px;
}
.auth-copy h1 {
  font: 500 46px/1.45 var(--serif);
  margin: 0;
  letter-spacing: 1px;
}
.auth-copy h1 em {
  color: #dbe8ae;
  font-style: normal;
}
.auth-copy > p:last-child {
  color: #abbba3;
  font-size: 12px;
  line-height: 1.9;
  margin: 16px 0 0;
}
.record-art {
  position: relative;
  flex: 1;
  min-height: 205px;
  margin-top: 20px;
}
.record-disc {
  width: 245px;
  height: 245px;
  position: absolute;
  right: 1px;
  top: 0;
  background: repeating-radial-gradient(
    circle at center,
    #23392e 0 2px,
    #2e4536 3px 4px
  );
  border-radius: 50%;
  box-shadow: 10px 18px 30px #10241970;
  border: 1px solid #5c70514d;
  transform: rotate(-15deg);
}
.record-disc:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    transparent 0deg,
    #adbb9820 55deg,
    transparent 100deg,
    transparent 180deg,
    #adbb9820 235deg,
    transparent 280deg
  );
}
.record-label {
  position: absolute;
  inset: 72px;
  background: #dfe6bb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #354b35;
}
.record-label:after {
  content: "";
  position: absolute;
  top: 48%;
  left: 48%;
  width: 5px;
  height: 5px;
  background: #293f32;
  border-radius: 50%;
}
.record-label > span {
  font: 32px var(--serif);
  margin-top: -19px;
}
.record-label > small {
  font-size: 5px;
  letter-spacing: 1.4px;
  margin-top: 19px;
}
.record-caption {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  justify-content: space-between;
  color: #c3ceac;
  font-size: 9px;
  letter-spacing: 2px;
  z-index: 1;
}
.auth-features {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #ffffff1c;
  padding-top: 18px;
  font-size: 10px;
  color: #c1ccb5;
  background: #25483835;
  z-index: 1;
}
.login-card {
  padding: 43px 54px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-index {
  font:
    9px Georgia,
    serif;
  letter-spacing: 2px;
  color: #a5ad98;
  margin-bottom: auto;
  padding-bottom: 55px;
}
.login-heading .eyebrow {
  font-size: 10px;
  letter-spacing: 1px;
}
.login-heading h2 {
  font: 500 35px var(--serif);
  margin: 0 0 15px;
}
.login-heading > p:last-child {
  font-size: 11px;
  line-height: 1.9;
  color: #92998c;
  margin: 0;
}
.login-form {
  display: grid;
  gap: 21px;
  margin-top: 31px;
}
.field-group {
  display: grid;
  gap: 9px;
}
.field-group > label {
  font-size: 12px;
  color: #5b6952;
}
.field-group input {
  width: 100%;
  min-width: 0;
  height: 49px;
  padding: 12px 14px;
  border: 1px solid #e2e7d9;
  border-radius: 8px;
  background: #fafbf6;
  color: var(--ink);
  font-size: 13px;
}
.field-group input::placeholder {
  color: #a5ad9a;
  font-size: 12px;
}
.field-group input:focus {
  border-color: #a1b084;
  outline: 2px solid #dfe8d3;
  outline-offset: 1px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 50px;
}
.password-field button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #97a28b;
  border-radius: 5px;
}
.password-field button[aria-pressed="true"] {
  color: var(--green);
  background: #e9efdf;
}
.login-form .primary-button {
  justify-content: space-between;
  margin-top: 5px;
}
.login-status {
  min-height: 23px;
  margin-top: 12px;
  font-size: 11px;
}
.session-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #9aa58c;
  font-size: 10px;
  margin: 8px 0 40px;
}
.session-note .icon {
  width: 13px;
  height: 13px;
}
.login-footer {
  text-align: center;
  color: #afb5a6;
  font-size: 10px;
  letter-spacing: 1px;
  margin: auto 0 0;
  padding-top: 26px;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes wave {
  from {
    transform: scaleY(0.45);
  }
  to {
    transform: scaleY(1);
  }
}
@media (min-width: 1450px) {
  .site-shell {
    padding: 0 40px;
  }
  .page-heading {
    padding-top: 49px;
    padding-bottom: 39px;
  }
  textarea {
    min-height: 330px;
  }
}
@media (max-width: 1000px) {
  .site-shell {
    padding: 0 28px;
  }
  .workbench {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 16px;
  }
  .card-heading {
    padding: 15px 20px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .settings-card {
    padding: 23px 19px 19px;
  }
  .editor-tools {
    margin-left: auto;
  }
  .header-caption {
    font-size: 10px;
  }
  .auth-shell {
    min-height: 620px;
  }
  .auth-visual {
    padding: 32px;
  }
  .login-card {
    padding: 36px;
  }
  .auth-copy h1 {
    font-size: 39px;
  }
  .record-disc {
    right: -8px;
  }
}
@media (max-width: 720px) {
  .translation-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .translation-controls { gap: 8px; }
  .translation-controls label { min-width: 0; }
  .translation-controls button { padding: 6px; }
  .translation-submit { flex-direction: column; align-items: stretch; gap: 12px; }
  .translation-grid textarea { min-height: 200px; }
  .translation-output { min-height: 200px; padding: 20px; }
  .section-nav a { padding: 10px 12px; }
  .site-shell {
    padding: 0 20px;
  }
  .site-header {
    height: 80px;
  }
  .brand {
    font-size: 22px;
    gap: 10px;
  }
  .brand-mark {
    width: 39px;
    height: 39px;
  }
  .brand small {
    font-size: 7px;
  }
  .header-caption {
    display: none;
  }
  .page-heading {
    padding: 30px 0 25px;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .page-intro {
    font-size: 11px;
  }
  .heading-note {
    display: none;
  }
  .workbench {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card-heading {
    min-height: 63px;
    padding: 13px 18px;
  }
  h2 {
    font-size: 13px;
    gap: 8px;
  }
  .editor-tools {
    gap: 0;
  }
  .quiet-button {
    font-size: 11px;
  }
  .tool-divider {
    margin: 0 2px;
  }
  textarea {
    min-height: 290px;
    padding: 20px;
    font-size: 16px;
  }
  .editor-footer {
    padding: 15px 20px;
    font-size: 10px;
  }
  .editor-hint {
    padding: 13px 18px;
    font-size: 10px;
  }
  .editor-hint kbd {
    display: none;
  }
  .settings-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    column-gap: 17px;
    padding: 19px;
  }
  .settings-top {
    grid-column: 1/-1;
    margin-bottom: 18px;
  }
  .voice-portrait {
    width: 55px;
    height: 55px;
    margin: 0 0 0 3px;
    grid-column: 1;
    grid-row: 2;
  }
  .portrait-halo {
    inset: -4px;
  }
  .voice-portrait > svg {
    border-width: 2px;
  }
  .voice-badge {
    padding: 4px;
    right: -8px;
    bottom: -2px;
    border-width: 2px;
  }
  .voice-badge .icon {
    width: 11px;
    height: 11px;
  }
  .voice-name {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }
  .voice-name h3 {
    font-size: 22px;
  }
  .voice-name p {
    margin: 7px 0 0;
  }
  .voice-details {
    grid-column: 1/-1;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    border: 0;
    margin: 20px 0;
    padding: 0;
  }
  .voice-picker {
    grid-column: 1/-1;
    margin: 20px 0 0;
  }
  .voice-details > div {
    gap: 9px;
  }
  .generate-area {
    grid-column: 1/-1;
  }
  .generate-area > p {
    font-size: 10px;
  }
  .button-arrow {
    margin-left: 0;
  }
  .player-panel {
    padding: 18px;
  }
  .player-heading {
    gap: 8px;
    align-items: flex-start;
  }
  .player-heading > div {
    gap: 7px;
    flex-wrap: wrap;
  }
  .player-heading h2 {
    font-size: 13px;
  }
  .audio-meta {
    font-size: 9px;
  }
  .player-body {
    gap: 12px;
    margin-top: 16px;
  }
  .sound-art {
    min-width: 52px;
    width: 52px;
    height: 62px;
    gap: 2px;
    padding: 7px;
  }
  .sound-art i {
    width: 2px;
  }
  .sound-art i:nth-child(n + 10) {
    display: none;
  }
  .playback-controls {
    gap: 7px;
    flex-wrap: wrap;
  }
  .play-button {
    width: 30px;
    height: 30px;
  }
  .time-label {
    min-width: 27px;
    font-size: 9px;
  }
  .playback-controls select {
    font-size: 9px;
    padding: 5px 1px;
  }
  .status {
    font-size: 11px;
  }
  .download-button {
    font-size: 10px;
    padding: 6px 8px;
    gap: 4px;
  }
  .download-button .icon {
    width: 13px;
    height: 13px;
  }
  .site-footer {
    font-size: 9px;
    gap: 10px;
    line-height: 1.8;
    padding: 20px 0;
  }
  .footer-dot {
    padding: 0 3px;
  }
  .auth-body {
    padding: 24px 18px;
  }
  .auth-shell {
    grid-template-columns: 1fr;
    max-width: 430px;
    min-height: 0;
    border-radius: 20px;
  }
  .auth-visual {
    padding: 25px 28px 24px;
  }
  .auth-copy {
    margin-top: 27px;
  }
  .auth-copy .eyebrow {
    font-size: 9px;
    margin-bottom: 10px;
  }
  .auth-copy h1 {
    font-size: 33px;
    line-height: 1.4;
  }
  .auth-copy > p:last-child {
    font-size: 10px;
    margin-top: 12px;
  }
  .record-art {
    position: absolute;
    right: -65px;
    bottom: -10px;
    width: 210px;
    height: 210px;
    min-height: 0;
    margin: 0;
    opacity: 0.7;
  }
  .record-disc {
    width: 210px;
    height: 210px;
  }
  .record-label {
    inset: 60px;
  }
  .record-label > span {
    font-size: 26px;
  }
  .record-label > small {
    font-size: 4px;
  }
  .record-caption,
  .auth-features {
    display: none;
  }
  .login-card {
    padding: 29px 28px 25px;
  }
  .login-index {
    display: none;
  }
  .login-heading .eyebrow {
    display: none;
  }
  .login-heading h2 {
    font-size: 28px;
    margin-bottom: 11px;
  }
  .login-form {
    margin-top: 24px;
    gap: 18px;
  }
  .session-note {
    margin: 3px 0 14px;
  }
  .login-footer {
    padding-top: 13px;
  }
  .field-group input {
    font-size: 16px;
  }
}
@media (max-width: 380px) {
  .site-shell {
    padding: 0 14px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .sound-art {
    display: none;
  }
  .card-heading {
    padding: 12px 14px;
  }
  .editor-tools .quiet-button {
    padding: 5px;
  }
  .site-footer {
    flex-direction: column;
    gap: 3px;
  }
  .audio-meta {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
