@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Malayalam:wght@400;500;600;700&family=Noto+Serif+Malayalam:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --paper: #f7f3ec;
  --paper-light: #fdfbf7;
  --ink: #312722;
  --ink-soft: #746b62;
  --ink-faint: #a9a095;
  --plum: #603546;
  --plum-dark: #4b2737;
  --plum-pale: #f4eaf0;
  --gold: #b98743;
  --gold-light: #e8d4b1;
  --line: #ece5db;
  --green: #6f8064;
  --serif: 'Noto Serif Malayalam', Georgia, serif;
  --sans: 'Noto Sans Malayalam', Arial, sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); color: var(--ink); }
button, textarea, select, input { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, textarea:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #b9874380; outline-offset: 3px; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.page-wash { position: fixed; z-index: -1; inset: 0 0 auto 76px; height: 560px; pointer-events: none; background: radial-gradient(ellipse at 74% 8%, #efe5d5 0, #f4eee4a8 25%, transparent 61%); }
.app-shell { min-height: 100vh; }
.side-rail { position: fixed; z-index: 5; inset: 0 auto 0 0; width: 76px; padding: 24px 0 22px; display: flex; flex-direction: column; align-items: center; background: #f2ece2; border-right: 1px solid #ebe3d7; }
.brand-mark { width: 47px; height: 47px; color: var(--plum); display: grid; place-items: center; text-decoration: none; }
.brand-mark svg { width: 40px; height: 40px; stroke-width: 1.35; fill: #eadcc7; }
.brand-mark .brand-spark { fill: none; stroke: var(--gold); stroke-width: 1.7; }
.rail-item { margin-top: 64px; height: 42px; width: 42px; display: grid; place-items: center; border-radius: 14px; color: #8e8274; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.rail-item svg { width: 22px; height: 22px; }
.rail-item:hover { background: #e8ded0; transform: translateY(-1px); }
.rail-item-active { background: var(--plum); color: #fff9f0; box-shadow: 0 5px 14px #60354620; }
.rail-item-active svg { fill: #f1e7d5; }
.rail-bottom { margin-top: auto; height: 8px; width: 8px; border: 1px solid #9b8c79; display: grid; place-items: center; border-radius: 50%; }
.rail-dot { height: 3px; width: 3px; border-radius: 50%; background: var(--green); }
.main-frame { margin-left: 76px; }
.topbar { max-width: 1440px; height: 83px; margin: 0 auto; padding: 0 6.1%; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eae3d9; }
.wordmark { display: flex; align-items: baseline; gap: 10px; color: var(--plum); }
.wordmark-malayalam { font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: -.4px; }
.wordmark-latin { font: 600 9px/1 var(--sans); letter-spacing: 2.1px; color: #a5896c; }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.local-pill { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; color: #776f62; }
.local-dot { height: 7px; width: 7px; border-radius: 100%; background: #77896a; box-shadow: 0 0 0 3px #77896a1c; }
.help-button { display: grid; place-items: center; height: 31px; width: 31px; border: 1px solid #e7ded3; border-radius: 50%; background: #fbf8f3; color: #74695d; font: 500 14px/1 Georgia, serif; cursor: pointer; transition: background .2s, color .2s; }
.help-button:hover { background: var(--plum); color: white; }
.workspace { max-width: 1440px; padding: 0 6.1%; margin: 0 auto; }
.welcome-band { min-height: 267px; padding: 38px 0 28px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; position: relative; border-bottom: 1px solid #eae3d9; }
.welcome-copy { z-index: 1; padding: 4px 0 7px; max-width: 56%; }
.eyebrow, .section-kicker { font-size: 11px; font-weight: 500; color: #92765c; letter-spacing: .25px; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow-line { width: 21px; height: 1px; background: var(--gold); }
h1, h2, p { margin: 0; }
.welcome-copy h1 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.38; font-weight: 500; letter-spacing: -.6px; margin: 11px 0 9px; color: #382c2b; }
.welcome-copy h1 span { color: var(--plum); }
.welcome-copy > p { font-family: var(--serif); font-size: 14px; line-height: 1.9; color: #796e64; }
.welcome-note { margin-top: 15px; font-size: 10px; color: #988b7c; display: flex; gap: 8px; align-items: center; }
.note-star { color: var(--gold); font-size: 13px; }
.hero-art { position: absolute; width: 48%; right: -4%; top: 7px; bottom: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-art img { position: relative; z-index: 1; width: min(100%, 550px); height: 236px; object-fit: contain; object-position: center; border-radius: 30%; mix-blend-mode: multiply; filter: saturate(.78) contrast(.95); -webkit-mask-image: linear-gradient(90deg, transparent 0, black 18%, black 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, black 18%, black 94%, transparent 100%); }
.art-glow { position: absolute; width: 61%; aspect-ratio: 1; top: 4%; right: 5%; border-radius: 50%; background: radial-gradient(circle, #eddbbb75, #ede1d025 62%, transparent 68%); }
.hero-orbit { position: absolute; border: 1px solid #cbb38f35; border-radius: 50%; transform: rotate(-18deg); }
.orbit-one { width: 370px; height: 116px; right: -2%; top: 39%; }
.orbit-two { width: 434px; height: 146px; right: -9%; top: 33%; }
.art-caption { position: absolute; right: 6%; bottom: 20px; z-index: 2; font-family: var(--serif); font-size: 10px; color: #9a8364; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(295px, 342px); gap: clamp(26px, 4vw, 58px); padding-top: 31px; align-items: start; }
.story-panel { min-width: 0; }
.panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.panel-heading h2 { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-top: 4px; letter-spacing: -.2px; }
.text-button { padding: 6px 0; color: #8c7358; border: 0; background: none; cursor: pointer; font-size: 10px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: color .18s; }
.text-button svg { width: 15px; height: 15px; }
.text-button:hover { color: var(--plum); }
.editor-card { min-height: 263px; position: relative; border: 1px solid #e5ddd2; background: #fffdf9d9; border-radius: 8px; box-shadow: 0 8px 25px #48372808; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, background .2s; }
.editor-card:focus-within, .editor-card.drag-over { border-color: #b99975; box-shadow: 0 0 0 3px #b999751a; background: white; }
.editor-card.drag-over { outline: 2px dashed #b99975; outline-offset: -8px; }
#storyInput { flex: 1; width: 100%; min-height: 210px; resize: vertical; border: 0; border-radius: 8px 8px 0 0; padding: 23px 24px 20px; color: #443a34; background: transparent; font-family: var(--serif); font-size: 15px; line-height: 2.05; caret-color: var(--plum); }
#storyInput::placeholder { color: #b7ada0; opacity: 1; }
#storyInput:focus-visible { outline: none; }
.editor-footer { min-height: 51px; padding: 10px 15px 10px 22px; border-top: 1px solid #efe9e0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.editor-meta { display: flex; align-items: center; min-width: 0; gap: 8px; font-size: 9px; color: #9b9084; white-space: nowrap; }
.meta-separator { color: #d0c6ba; }
.file-chip { min-width: 0; max-width: 145px; overflow: hidden; text-overflow: ellipsis; display: inline-block; padding: 4px 8px; background: #f3ece1; border-radius: 20px; color: #76634d; }
.editor-actions { flex-shrink: 0; display: flex; align-items: center; gap: 9px; }
.upload-button { min-height: 31px; padding: 0 12px; display: inline-flex; gap: 6px; align-items: center; border-radius: 5px; color: var(--plum); background: #f3eaee; border: 1px solid #eee1e7; font-size: 10px; font-weight: 500; cursor: pointer; transition: .2s ease; }
.upload-button svg { width: 15px; height: 15px; }
.upload-button:hover { background: #ebdce4; border-color: #deccd6; }
.clear-button { border: 0; background: transparent; height: 30px; width: 30px; display: grid; place-items: center; color: #aa9f92; cursor: pointer; border-radius: 5px; }
.clear-button svg { width: 17px; height: 17px; }
.clear-button:hover { background: #f3e9e6; color: #8d5145; }
.editor-hint { display: flex; gap: 6px; align-items: center; margin: 11px 0 0 3px; color: #968a7d; font-size: 9px; }
.editor-hint svg { height: 13px; width: 13px; color: #b29270; flex: 0 0 auto; }
.status-message { padding: 10px 13px; margin-top: 13px; border: 1px solid #e9dfd0; border-radius: 5px; color: #6e5d4c; background: #f9f3e9; font-size: 10px; line-height: 1.8; }
.status-message[data-kind="error"] { border-color: #eed6cf; color: #8a4c43; background: #fbefeb; }
.status-message[data-kind="success"] { border-color: #dbe5d3; color: #617452; background: #f1f5ed; }
.story-bottom { padding: 21px 0 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.privacy-note { display: inline-flex; align-items: center; gap: 7px; font-size: 9px; color: #988d81; }
.privacy-note svg { width: 13px; height: 13px; color: #8a9877; }
.read-button { border: 0; min-height: 42px; padding: 0 15px 0 9px; display: flex; align-items: center; gap: 9px; border-radius: 6px; background: var(--plum); box-shadow: 0 5px 13px #60354621; color: #fffaf3; cursor: pointer; font-size: 11px; font-weight: 500; transition: background .18s ease, transform .18s ease, opacity .18s; }
.read-button:hover:not(:disabled) { background: var(--plum-dark); transform: translateY(-1px); }
.read-button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.read-button-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 4px; background: #ffffff23; }
.read-button-icon svg { width: 17px; height: 17px; fill: #fffaf3; stroke-width: 1.2; }
.read-button-arrow { margin-left: 3px; color: #efca89; font: 12px/1 Georgia, serif; }
.listening-panel { display: flex; flex-direction: column; gap: 14px; margin-top: -2px; }
.settings-card { padding: 18px 19px 18px; background: #fbf8f2; border: 1px solid #eae2d7; border-radius: 7px; }
.settings-heading { display: flex; align-items: center; gap: 10px; }
.settings-heading h2 { margin-top: 4px; font: 500 15px/1.45 var(--serif); }
.settings-icon { display: grid; place-items: center; height: 34px; width: 34px; border-radius: 50%; color: var(--plum); background: #f1e6ea; }
.settings-icon svg { height: 20px; width: 20px; }
.mood-fieldset { padding: 0; margin: 17px 0 0; border: 0; }
.mood-fieldset legend, .range-heading, .voice-row { margin-bottom: 9px; color: #776c60; font-size: 10px; }
.mood-options { display: flex; flex-wrap: wrap; gap: 6px; }
.mood-chip { min-height: 29px; padding: 4px 9px; border: 1px solid #e9e0d4; border-radius: 20px; color: #75695e; background: #fdfaf6; font-size: 9px; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: .17s ease; }
.mood-chip span { color: #ae8557; padding-right: 3px; }
.mood-chip:hover { border-color: #ccb69a; background: #fffaf1; }
.mood-selected, .mood-selected:hover { color: var(--plum); border-color: #d9c3cd; background: #f3e9ee; box-shadow: 0 1px 3px #60354608; }
.setting-divider { height: 1px; margin: 17px 0 13px; background: #ece4d8; }
.range-heading, .voice-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.range-value { padding: 3px 7px; border: 1px solid #ebe0d2; border-radius: 4px; color: #897356; background: #fbf6ed; font-size: 9px; font-variant-numeric: tabular-nums; }
.range-control, .progress-range { display: block; width: 100%; appearance: none; height: 4px; border: 0; border-radius: 3px; background: linear-gradient(to right, #b78b5d 0%, #b78b5d 42%, #e8dfd4 42%, #e8dfd4 100%); cursor: pointer; }
.range-control::-webkit-slider-thumb, .progress-range::-webkit-slider-thumb { appearance: none; height: 12px; width: 12px; border: 2px solid #fffaf3; border-radius: 50%; background: var(--plum); box-shadow: 0 1px 4px #35221c45; }
.range-control::-moz-range-thumb, .progress-range::-moz-range-thumb { height: 9px; width: 9px; border: 2px solid #fffaf3; border-radius: 50%; background: var(--plum); box-shadow: 0 1px 4px #35221c45; }
.range-scale { display: flex; justify-content: space-between; margin-top: 7px; color: #a59a8e; font-size: 8px; }
.setting-divider-small { margin: 13px 0 12px; }
.voice-row { margin-bottom: 7px; }
.voice-ready { color: #849072; font-size: 8px; display: inline-flex; gap: 5px; align-items: center; }
.voice-status-dot { width: 5px; height: 5px; background: #889675; border-radius: 50%; }
.voice-ready.voice-missing { color: #a9664f; }
.voice-missing .voice-status-dot { background: #bf775a; }
.voice-select { appearance: none; width: 100%; padding: 8px 30px 8px 10px; border: 1px solid #ebe3d8; border-radius: 5px; color: #53483d; background: #fdfbf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' fill='none' stroke='%238c7b69' viewBox='0 0 24 24'%3E%3Cpath stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; font-size: 9px; }
.voice-select:disabled { color: #aa9f92; cursor: not-allowed; opacity: .82; }
.voice-notice { min-height: 30px; margin-top: 7px; color: #9a8e81; font-size: 8px; line-height: 1.7; }
.voice-notice[data-kind="error"] { color: #965643; }
.player-card { padding: 15px 17px 12px; color: #f9f2e8; background: linear-gradient(152deg, #6d4052 0%, #543245 65%, #4c2c3b 100%); border-radius: 7px; box-shadow: 0 8px 20px #5532471a; overflow: hidden; position: relative; }
.player-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -97px; bottom: 39px; border: 1px solid #ffffff12; border-radius: 50%; box-shadow: 0 0 0 20px #ffffff06, 0 0 0 39px #ffffff04; pointer-events: none; }
.player-card-top { display: flex; justify-content: space-between; align-items: center; }
.player-overline { text-transform: uppercase; letter-spacing: 1px; font-size: 8px; color: #e6cfb5; display: flex; align-items: center; gap: 7px; }
.player-dot { height: 5px; width: 5px; border-radius: 50%; background: #ddbf82; box-shadow: 0 0 0 3px #ddbf8226; }
.headphone-mark { height: 28px; width: 28px; display: grid; place-items: center; border: 1px solid #ffffff24; border-radius: 50%; color: #eddbc3; }
.headphone-mark svg { height: 17px; width: 17px; }
.track-title { min-width: 0; display: flex; align-items: center; gap: 10px; margin-top: 11px; }
.track-cover { display: grid; flex: 0 0 auto; place-items: center; height: 39px; width: 39px; color: #6a4251; background: linear-gradient(135deg,#e8cfaa,#c8a77b); border-radius: 5px; box-shadow: inset 0 0 0 1px #fff3dd6e; }
.track-cover svg { width: 25px; height: 25px; stroke-width: 1.25; fill: #b38b5e36; }
.track-copy { min-width: 0; }
.track-copy h2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 12px/1.8 var(--serif); color: #fff8eb; }
.track-copy p { margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; color: #deccbc; }
.progress-wrap { margin-top: 13px; }
.progress-range { height: 3px; background: linear-gradient(to right, #dfc395 0%, #dfc395 0%, #ffffff36 0%, #ffffff36 100%); }
.progress-range:disabled { opacity: .5; cursor: not-allowed; }
.progress-range::-webkit-slider-thumb { height: 9px; width: 9px; border-width: 1px; background: #e6c891; }
.progress-range::-moz-range-thumb { height: 6px; width: 6px; border-width: 1px; background: #e6c891; }
.time-row { display: flex; justify-content: space-between; color: #dfcbba; font: 8px/1.6 var(--sans); margin-top: 3px; font-variant-numeric: tabular-nums; }
.player-controls { display: flex; align-items: center; justify-content: center; gap: 17px; margin: 9px auto 11px; }
.player-control, .play-main { display: grid; place-items: center; cursor: pointer; transition: .18s; }
.player-control { width: 31px; height: 31px; border: 0; background: none; color: #f2e2cf; border-radius: 50%; }
.player-control svg { width: 19px; height: 19px; stroke-width: 1.5; }
.player-control:hover:not(:disabled) { background: #ffffff18; color: white; }
.player-control:disabled { opacity: .4; cursor: not-allowed; }
.play-main { height: 43px; width: 43px; color: var(--plum); border: 0; border-radius: 50%; background: #f0d9b8; box-shadow: 0 4px 12px #28152122; }
.play-main:hover:not(:disabled) { transform: scale(1.06); background: #fae8cc; }
.play-main:disabled { opacity: .48; cursor: not-allowed; }
.play-main svg { width: 21px; height: 21px; fill: currentColor; stroke-width: 1.1; }
.speed-control { margin-left: 8px; display: flex; align-items: center; gap: 5px; color: #dfccbb; font-size: 8px; }
.speed-control select { border: 0; background: transparent; color: #f8e6d1; font: 500 9px var(--sans); cursor: pointer; }
.speed-control select option { color: #433639; }
.player-footnote { position: relative; z-index: 1; border-top: 1px solid #ffffff1e; padding-top: 9px; display: flex; align-items: center; gap: 7px; color: #e0cdb9; font-size: 8px; }
.duration-label { margin-left: auto; color: #ccb7a6; }
.sound-wave { height: 12px; display: inline-flex; align-items: center; gap: 2px; }
.sound-wave i { display: block; width: 2px; height: 4px; border-radius: 3px; background: #d5b98d; }
.sound-wave i:nth-child(2), .sound-wave i:nth-child(4) { height: 9px; }
.sound-wave i:nth-child(3) { height: 6px; }
.is-playing .sound-wave i { animation: sound-breathe .8s ease-in-out infinite alternate; }
.is-playing .sound-wave i:nth-child(2) { animation-delay: -.55s; }
.is-playing .sound-wave i:nth-child(3) { animation-delay: -.2s; }
.is-playing .sound-wave i:nth-child(4) { animation-delay: -.62s; }
.is-playing .sound-wave i:nth-child(5) { animation-delay: -.35s; }
@keyframes sound-breathe { to { transform: scaleY(.35); opacity: .65; } }
.aside-quote { position: relative; padding: 10px 12px 10px 22px; color: #8d7c68; border-left: 1px solid #d6c2a8; margin: 2px 0 0 3px; }
.aside-quote > span { position: absolute; left: 4px; top: -3px; color: #b99569; font: 22px Georgia, serif; }
.aside-quote p { font: 10px/1.9 var(--serif); color: #877868; }
.aside-quote i { position: absolute; right: 3px; bottom: 7px; width: 19px; border-top: 1px solid #c9ad83; }
.page-footer { display: flex; justify-content: space-between; padding: 36px 0 20px; color: #9b8e7f; font-size: 9px; }
.footer-separator { padding: 0 4px; color: #c8ad88; }
.footer-right { color: #a3988d; }
.about-dialog { width: min(430px, calc(100vw - 32px)); padding: 33px 34px 28px; border: 1px solid #e6dacc; border-radius: 9px; background: var(--paper-light); color: var(--ink); box-shadow: 0 25px 90px #39253630; }
.about-dialog::backdrop { background: #38272c65; backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; color: #85786d; font: 24px/1 Georgia, serif; cursor: pointer; }
.about-dialog h2 { margin-top: 7px; font: 500 24px/1.65 var(--serif); color: var(--plum); }
.about-dialog p { margin-top: 10px; font: 12px/2 var(--serif); color: #73695f; }
.dialog-done { margin-top: 18px; padding: 10px 16px; border: 0; border-radius: 5px; color: #fff9f1; background: var(--plum); font-size: 11px; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (min-width: 1400px) { .welcome-band { min-height: 290px; } .content-layout { padding-top: 37px; } }
@media (max-width: 1100px) { .topbar, .workspace { padding-left: 4.2%; padding-right: 4.2%; } .content-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 310px); gap: 28px; } .hero-art { width: 47%; right: -2%; } .welcome-copy { max-width: 59%; } }
@media (max-width: 800px) { .side-rail { width: 58px; padding-top: 16px; } .main-frame { margin-left: 58px; } .page-wash { left: 58px; } .topbar { height: 70px; } .welcome-band { min-height: 245px; } .welcome-copy { max-width: 67%; } .welcome-copy h1 { font-size: 34px; } .hero-art { width: 48%; right: -8%; opacity: .84; } .hero-art img { height: 193px; } .content-layout { grid-template-columns: 1fr; gap: 27px; } .listening-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: start; } .settings-card { grid-row: span 2; } .aside-quote { display: none; } .player-card { position: relative; } }
@media (max-width: 570px) { .side-rail { width: 47px; } .main-frame { margin-left: 47px; } .page-wash { left: 47px; } .topbar, .workspace { padding-left: 17px; padding-right: 17px; } .topbar { height: 61px; } .wordmark-malayalam { font-size: 19px; } .wordmark-latin { font-size: 8px; letter-spacing: 1.6px; } .topbar-right { gap: 10px; } .local-pill { font-size: 8px; gap: 6px; } .help-button { width: 28px; height: 28px; }
.welcome-band { min-height: 222px; align-items: flex-start; padding-top: 27px; } .welcome-copy { max-width: 87%; } .welcome-copy h1 { font-size: clamp(29px, 8.2vw, 38px); margin-top: 7px; } .welcome-copy > p { max-width: 86%; font-size: 11px; line-height: 1.8; } .welcome-note { font-size: 8px; margin-top: 11px; } .hero-art { width: 57%; height: 133px; top: auto; bottom: 0; right: -20%; opacity: .53; } .hero-art img { height: 143px; } .art-caption { display: none; } .content-layout { padding-top: 23px; gap: 23px; } .panel-heading { align-items: flex-end; } .panel-heading h2 { font-size: 17px; } .panel-heading .section-kicker { font-size: 9px; } .text-button { font-size: 8px; gap: 4px; } .text-button svg { width: 13px; height: 13px; } .editor-card { min-height: 254px; } #storyInput { min-height: 204px; padding: 18px 16px; font-size: 13px; } .editor-footer { padding-left: 13px; padding-right: 10px; gap: 6px; } .editor-meta { font-size: 8px; gap: 5px; } .editor-actions { gap: 4px; } .upload-button { padding: 0 8px; font-size: 8px; } .clear-button { width: 27px; }
.editor-hint { font-size: 8px; line-height: 1.6; align-items: flex-start; } .editor-hint svg { margin-top: 2px; } .story-bottom { align-items: flex-start; flex-direction: column; padding-top: 17px; } .read-button { align-self: stretch; justify-content: center; }
.listening-panel { display: flex; gap: 12px; } .settings-card { padding: 16px; } .player-card { padding: 15px 15px 12px; } .player-controls { gap: 22px; } .page-footer { padding: 26px 0 16px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

.voice-help { margin-top: 4px; padding: 9px 10px; border: 1px solid #ead6cd; border-radius: 5px; background: #fbf1ed; color: #80564c; font-size: 9px; line-height: 1.8; }
.voice-help[hidden] { display: none; }
.voice-help summary { cursor: pointer; color: #824d43; font-weight: 600; }
.voice-help ol { padding-left: 19px; margin: 8px 0; }
.voice-help li + li { margin-top: 5px; }
.voice-help strong { font-weight: 600; color: #59423c; }
.voice-recheck { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ddc4b8; border-radius: 4px; padding: 6px 9px; background: #fffaf6; color: #70463e; font-size: 9px; cursor: pointer; }
.voice-recheck:hover { background: #f5e4dc; }
.voice-recheck span { font: 14px/1 Arial, sans-serif; }
