/* Story details and audio controls share the site's selected high-contrast theme. */
.story-page{--story-bg:#0f1920;--story-raised:#152229;--story-line:#30443d;--story-hover:#20352d;max-width:1400px;margin:auto;padding:36px 32px 64px;color:var(--readable-text)}
html.light .story-page{--story-bg:#fff;--story-raised:#f1f6f3;--story-line:#cbded2;--story-hover:#e3f1e9}
.story-page svg{width:20px;height:20px;flex-shrink:0}.story-page button,.story-page a{touch-action:manipulation}.story-breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;line-height:1.7;color:var(--readable-muted);margin-bottom:30px}.story-breadcrumb>a{flex-shrink:0}.story-breadcrumb>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-breadcrumb a:hover{color:var(--accent)}
.story-page-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--story-line);border-radius:24px;margin-bottom:48px;background:var(--story-bg)}.story-page-hero .story-hero-background{position:absolute;inset:0;z-index:-1}.story-page-hero .story-hero-background>img{height:100%;width:100%;object-fit:cover;opacity:.5;filter:blur(4px)}.story-page-hero .story-hero-background>div{position:absolute;inset:0}.story-page-hero .story-hero-content{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:48px!important;min-height:380px!important}.story-status{display:inline-block;font-size:11px;font-weight:750;background:#1d4ed8;color:#fff;border-radius:4px;padding:4px 10px;margin-bottom:16px}.story-page .story-detail-title{max-width:1000px!important;margin-bottom:20px!important;font-size:clamp(23px,3vw,38px)!important;line-height:1.5!important}.story-meta{display:flex;flex-wrap:wrap;gap:12px 20px;margin-bottom:24px}.story-meta>span{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:4px 12px;border:1px solid var(--story-line);border-radius:999px;background:var(--story-bg);font-size:12px;color:var(--readable-text)}.story-meta svg{width:15px;height:15px}.story-rating-meta svg{color:#fbbf24;fill:#fbbf24}.story-meta small{font-size:11px;color:var(--readable-muted)}.story-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}.story-tags a{border:1px solid var(--story-line);padding:4px 10px;border-radius:4px;font-size:11px;color:var(--readable-muted);background:var(--story-bg)}.story-tags a:hover{border-color:var(--accent-edge);color:var(--accent)}.story-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.story-primary,.story-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:11px;padding:11px 20px;font-size:14px;font-weight:700;line-height:1.5;transition:background .18s,transform .18s;white-space:nowrap}.story-page .story-primary{color:#fff;background:var(--accent-ink,#08734f);border:1px solid #ffffff18;box-shadow:0 5px 16px #08734f26}.story-primary:hover{background:#065f46}.story-secondary{background:var(--story-bg);color:var(--readable-text);border:1px solid var(--story-line)}.story-secondary:hover,.story-secondary[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent-edge);color:var(--accent)}.story-primary svg{width:17px;height:17px;color:#fff}.story-share{padding:11px 15px}.story-no-audio{font-size:13px;color:var(--readable-muted)}
.story-detail-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(0,1fr);gap:40px;align-items:start}.story-detail-main,.story-detail-sidebar{min-width:0;display:flex;flex-direction:column;gap:32px}.story-panel{background:var(--story-bg);border:1px solid var(--story-line);border-radius:18px;padding:30px;min-width:0}.story-panel h2{margin:0 0 20px;font-size:20px;font-weight:750;line-height:1.5;color:var(--readable-text)}.story-summary{font-size:14px;line-height:1.9;color:var(--readable-muted);white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.story-summary.is-expanded{display:block}.story-summary-toggle{display:inline-flex;align-items:center;gap:7px;margin-top:12px;color:var(--accent);font-size:13px;font-weight:650}.story-summary-panel h2{margin-bottom:16px}#player-slot:empty{display:none}
.chapter-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.chapter-heading h2{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0}.chapter-count{font-size:11px;line-height:1.6;font-weight:650;color:var(--accent);background:var(--accent-soft);border:1px solid var(--accent-edge);padding:2px 7px;border-radius:999px;white-space:nowrap}.chapter-tools{display:flex;align-items:center;gap:10px;flex-shrink:0;max-width:100%}.chapter-search{position:relative;display:flex;align-items:center;width:210px;max-width:100%;height:42px;border:1px solid var(--story-line);border-radius:9px;background:var(--story-raised)}.chapter-search>svg{position:absolute;left:11px;width:16px;height:16px;color:var(--readable-muted)}.chapter-search input{width:100%;min-width:0;height:100%;background:transparent;border:0;outline:0;padding:10px 30px 10px 34px;font-size:12px;color:var(--readable-text)}.chapter-search:focus-within{border-color:var(--accent-edge);box-shadow:0 0 0 1px var(--accent-edge)}.chapter-search button{position:absolute;right:5px;padding:5px;color:var(--readable-muted)}.chapter-search button svg{width:13px;height:13px}.chapter-sort{height:42px;width:42px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border:1px solid var(--story-line);border-radius:9px;background:var(--story-raised);color:var(--readable-muted)}.chapter-sort[aria-pressed=true] svg{transform:rotate(180deg)}
.chapter-list{height:500px;overflow-y:auto;overscroll-behavior:contain;padding-right:5px;margin-right:-5px;scrollbar-width:thin;scrollbar-color:var(--story-line) transparent}.chapter-row{display:flex;align-items:center;gap:12px;padding:11px 14px;min-height:70px;border:1px solid transparent;border-radius:12px;background:var(--story-raised);margin-bottom:8px;transition:background .15s,border-color .15s}.chapter-row:focus-within,.chapter-row:hover{background:var(--story-hover)!important;border-color:var(--accent-edge)}.chapter-play{display:flex;align-items:center;gap:12px;text-align:left;min-width:0;flex:1;align-self:stretch;color:var(--readable-text)}.chapter-play-icon{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:#ffffff0b;color:#a9bcb3}.chapter-play-icon>svg{width:15px;height:15px;margin-left:2px}.chapter-info{display:flex;flex-direction:column;gap:5px;min-width:0}.chapter-info strong{font-size:13px;line-height:1.6;font-weight:650;overflow-wrap:anywhere}.chapter-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.chapter-premium,.chapter-free{font-size:9px;line-height:1.5;font-weight:750;border-radius:999px;padding:1px 7px;border:1px solid #e5ac2345;background:#b57c001c;color:#fcd34d}.chapter-free{color:var(--accent);border-color:var(--accent-edge);background:var(--accent-soft)}.chapter-heard{display:inline-flex;align-items:center;gap:3px;color:#6ee7b7;font-size:9px;font-weight:650}.chapter-heard svg{width:12px;height:12px}.chapter-duration{font:11px ui-monospace,monospace;white-space:nowrap;color:var(--readable-muted)}.chapter-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;opacity:0;transition:opacity .15s}.chapter-row:is(:hover,:focus-within) .chapter-actions{opacity:1}.chapter-actions>a,.chapter-actions>button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:30px;padding:4px 6px;border-radius:6px;font-size:10px;white-space:nowrap}.chapter-actions svg{width:13px;height:13px}.chapter-download{color:#6ee7b7;background:#065f462c;border:1px solid #16836455}.chapter-report{color:var(--readable-muted)}.chapter-report:hover{color:#fbbf24;background:#854d0e22}.chapter-row.is-active{background:var(--accent-soft);border-color:var(--accent-edge)}.chapter-row.is-active .chapter-play-icon{background:var(--accent-ink);color:#fff}.chapter-row.is-active .chapter-info strong{color:var(--accent)}.chapter-empty{font-size:13px;text-align:center;line-height:1.9;color:var(--readable-muted);padding:48px 14px}.chapter-equalizer{display:none;align-items:flex-end;justify-content:center;gap:2px;height:13px}.chapter-equalizer i{width:3px;background:currentColor;border-radius:1px;animation:story-equalizer .8s ease-in-out infinite alternate}.chapter-equalizer i:nth-child(2){animation-delay:.25s}.chapter-equalizer i:nth-child(3){animation-delay:.5s}.chapter-row.is-playing .chapter-equalizer{display:flex}.chapter-row.is-playing .chapter-play-icon>svg{display:none}@keyframes story-equalizer{from{height:4px}to{height:13px}}
.story-rating{display:flex;align-items:center;justify-content:space-between;gap:20px}.story-rating-intro{min-width:0}.story-rating h2{margin-bottom:8px}.story-rating h2>span{color:#fbbf24}.story-rating p{font-size:12px;line-height:1.8;color:var(--readable-muted)}.story-rating-controls{flex-shrink:0}.story-rating-stars{display:flex;gap:6px}.story-rating-stars button{height:42px;width:42px;display:flex;align-items:center;justify-content:center;border:1px solid var(--story-line);border-radius:11px;background:var(--story-raised);color:var(--readable-muted);transition:color .15s,border-color .15s}.story-rating-stars button svg{width:23px;height:23px}.story-rating-stars button.is-selected,.story-rating-stars button.is-hovered{color:#fbbf24;border-color:#bc912b}.story-rating-stars button:is(.is-selected,.is-hovered) svg{fill:currentColor}.story-rating-total{display:flex;align-items:center;justify-content:flex-end;gap:10px;font-size:11px;color:var(--readable-muted);margin-top:10px}.story-rating-total strong{display:inline-flex;gap:4px;padding:3px 10px;border-radius:999px;border:1px solid #a97e253d;background:#a97e251c;color:#fcd34d;font-size:12px}.story-page .story-social-status:empty{display:none}.story-page .story-social-status{font-size:12px;line-height:1.7;color:var(--accent);margin-top:10px}.story-page .story-social-status.is-error{color:#fda4af}
.story-comment-count{font-size:17px;font-weight:500;color:var(--readable-muted)}.story-comment-form{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;margin:24px 0 30px}.story-avatar{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;flex-shrink:0;background:var(--accent-ink);color:#fff;font-size:14px;font-weight:750;overflow:hidden}.story-avatar img{width:100%;height:100%;object-fit:cover}.story-comment-composer{position:relative;min-width:0}.story-comment-composer textarea{display:block;resize:vertical;min-height:90px;max-height:320px;width:100%;padding:13px 14px 45px;background:var(--story-raised);color:var(--readable-text);border:1px solid var(--story-line);border-radius:12px;font-size:13px;line-height:1.7}.story-comment-composer textarea:focus{outline:1px solid var(--accent-edge);border-color:var(--accent-edge)}.story-comment-composer button{position:absolute;bottom:10px;right:10px;min-height:32px;padding:5px 16px;font-size:12px;border-radius:8px}.story-comment-form [data-comment-status]{grid-column:2}.story-comment-empty{padding:34px 12px;text-align:center;color:var(--readable-muted);font-size:14px;line-height:1.7}.story-comment-empty>span{display:block;font-size:34px;margin-bottom:12px}.story-comment{display:flex;gap:14px;padding-top:20px;margin-top:20px;border-top:1px solid var(--story-line)}.story-comment:first-child{margin-top:0}.story-comment>div{min-width:0;flex:1}.story-comment-author{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-bottom:6px}.story-comment-author strong{font-size:13px;font-weight:700;color:var(--readable-text)}.story-comment-author time{font-size:11px;color:var(--readable-muted)}.story-comment p{font-size:13px;line-height:1.9;color:var(--readable-text);white-space:pre-wrap;overflow-wrap:anywhere}.story-login-prompt{font-size:13px;color:var(--readable-muted);line-height:1.8}.story-login-prompt a{color:var(--accent);text-decoration:underline}
.story-sidebar-panel{padding:24px}.story-sidebar-panel h2{position:relative;padding-left:12px;margin-bottom:18px;font-size:17px}.story-sidebar-panel h2:before{content:'';position:absolute;left:0;top:4px;bottom:4px;width:4px;border-radius:4px;background:var(--accent-ink)}.story-side-row{display:flex;align-items:center;gap:10px;border-radius:10px;padding:6px 0;min-width:0}.story-side-row:hover{background:var(--story-hover)}.story-side-cover{position:relative;display:block;flex-shrink:0;width:96px;height:62px;border-radius:7px;overflow:hidden}.story-side-cover img{width:100%;height:100%;object-fit:cover}.story-side-cover b{position:absolute;top:0;left:0;padding:1px 6px;color:#fff;background:#030712a8;font-size:12px}.story-side-info{min-width:0;flex:1}.story-side-info strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6;font-size:12px;font-weight:650}.story-side-info>span{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:10px;color:var(--readable-muted);margin-top:4px}.story-side-info svg{width:12px;height:12px}.story-side-info em{font-style:normal;font-size:9px;padding:1px 5px;border-radius:3px;color:#a7f3d0;background:#065f46}.story-side-rank{width:26px;flex-shrink:0;color:var(--accent);font-size:19px;font-weight:800;text-align:center}.story-weekly-stories{background:linear-gradient(130deg,var(--accent-soft),var(--story-bg))}.story-weekly-stories .story-side-row{padding:13px 0;border-bottom:1px solid var(--story-line)}.story-weekly-stories .story-side-row:last-child{border:0}
.story-resume{display:flex;align-items:center;gap:14px;padding:14px 18px;margin-bottom:28px;background:var(--accent-soft);border:1px solid var(--accent-edge);border-radius:14px}.story-resume-cover{height:48px;width:48px;flex-shrink:0;border-radius:9px;overflow:hidden}.story-resume-cover img{height:100%;width:100%;object-fit:cover}.story-resume>div{flex:1;min-width:0;display:grid;gap:3px}.story-resume small{font-size:9px;font-weight:750;color:var(--accent)}.story-resume strong{font-size:13px;overflow-wrap:anywhere}.story-resume [data-resume-time]{font-size:11px;color:var(--readable-muted)}.story-resume button{min-height:38px;font-size:12px;padding:8px 14px}
.story-report-dialog{padding:24px;border-radius:18px;border:1px solid var(--accent-edge);background:#102019;color:var(--readable-text);width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto}.story-report-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.story-report-heading h2{font-size:20px;font-weight:750}.story-report-heading button{padding:7px}.story-report-dialog [data-report-context]{font-size:13px;line-height:1.7;color:var(--readable-muted);margin:14px 0 20px}.story-report-dialog label{display:block;font-size:13px;font-weight:600}.story-report-dialog textarea{display:block;width:100%;min-width:0;margin-top:8px;padding:12px;border:1px solid var(--accent-edge);border-radius:10px;background:#172d22;color:var(--readable-text);font-size:13px;line-height:1.8;resize:vertical}.story-report-dialog [data-report-status]{font-size:12px;line-height:1.7;color:var(--accent);margin:14px 0}.story-report-dialog .story-primary{width:100%}
/* Keep main transport controls separate from auxiliary speed, timer and volume. */
#player{--player-bg:#0f1920;--player-head:#0b141a;--player-line:#30443d;--player-muted:#b2c9be;color:var(--readable-text);background:var(--player-bg)!important;border-color:var(--player-line)!important}html.light #player{--player-bg:#fff;--player-head:#f2f7f4;--player-line:#cbded2;--player-muted:#415c4b}.audio-player-header{display:flex;align-items:center;gap:16px;padding:16px 24px;border-bottom:1px solid var(--player-line);background:var(--player-head);border-radius:16px 16px 0 0}.audio-player-cover{width:56px;height:56px;flex-shrink:0;position:relative}.audio-player-cover img{width:100%;height:100%;object-fit:cover;border-radius:11px}.audio-player-info{flex:1;min-width:0}#player-story{font-size:12px;font-weight:500;color:var(--accent);margin-bottom:4px}#player-chapter{font-size:14px;font-weight:750;color:var(--readable-text)}#player-rate-label{font-size:11px;font-weight:750;border:1px solid var(--player-line);background:var(--player-bg);border-radius:5px;padding:4px 7px;color:var(--accent);flex-shrink:0}#player-close{color:var(--player-muted);padding:6px;border-radius:7px;flex-shrink:0}#player-close:hover{background:var(--accent-soft);color:var(--accent)}#player-close svg{height:16px;width:16px}.audio-player-body{padding:20px 24px;max-width:1400px;margin:auto}.audio-player-times{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0 14px;color:var(--player-muted);font:11px ui-monospace,monospace}#player-loading{color:var(--accent)}.audio-player-main-controls{display:flex;align-items:center;justify-content:center;gap:16px}.audio-player-main-controls>button{width:40px;height:40px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:0;border-radius:50%;padding:10px;color:var(--player-muted);background:transparent}.audio-player-main-controls>button:hover{background:#ffffff0b;color:var(--readable-text)}.audio-player-main-controls>button:disabled{opacity:.35;cursor:not-allowed}.audio-player-main-controls svg{width:20px;height:20px;flex-shrink:0}.audio-player-main-controls #player-toggle{width:56px;height:56px;padding:0;background:var(--accent-ink)!important;color:#fff!important;box-shadow:0 0 24px #168c5550!important;transition:transform .15s,background .15s}.audio-player-main-controls #player-toggle:hover{transform:scale(1.05);background:#0b8059!important}.audio-player-main-controls #player-toggle:active{transform:scale(.95)}#player-toggle svg{width:24px;height:24px;color:#fff!important;fill:currentColor!important}#player-toggle .audio-play-icon{margin-left:3px}#player-toggle .audio-pause-icon,#player-toggle .audio-loading-icon{display:none}#player-toggle[data-state=playing] .audio-play-icon,#player-toggle[data-state=loading] .audio-play-icon{display:none}#player-toggle[data-state=playing] .audio-pause-icon{display:block}#player-toggle[data-state=loading] .audio-loading-icon{display:block;animation:audio-spinner .9s linear infinite}#player-toggle .audio-loading-icon{fill:none!important}@keyframes audio-spinner{to{transform:rotate(360deg)}}
.audio-player-aux{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;margin-top:16px}.audio-player-speed{position:relative;justify-self:start}#player-speed-toggle,#player-sleep{display:flex;align-items:center;justify-content:center;gap:6px;min-height:32px;font-size:11px;font-weight:750;padding:6px 12px;border:1px solid var(--player-line);border-radius:8px;background:var(--player-head);color:var(--player-muted)}#player-sleep svg{width:16px;height:16px}#player-speed-toggle:hover,#player-sleep:hover{color:var(--accent);border-color:var(--accent-edge)}#player-speed-menu{position:absolute;left:0;bottom:calc(100% + 10px);z-index:70;width:280px;max-width:calc(100vw - 48px);padding:16px;border-radius:16px;border:1px solid var(--player-line);background:var(--player-bg)!important;box-shadow:0 8px 28px #0004;color:var(--readable-text)}.audio-speed-heading{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:750;margin-bottom:14px}.audio-speed-heading strong{font-size:18px;color:var(--accent)}.audio-speed-stepper{display:flex;align-items:center;gap:12px}.audio-speed-stepper button{height:36px;width:36px;flex-shrink:0;border-radius:50%;font-size:20px;font-weight:750;background:var(--accent-soft);color:var(--readable-text)}.audio-speed-stepper #player-speed-range{flex:1;min-width:0;width:100%}.audio-speed-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:16px}.audio-speed-presets button{padding:9px 2px;background:var(--player-head);border-radius:10px;border:1px solid var(--player-line);font-size:11px;font-weight:750}.audio-speed-presets button[aria-pressed=true]{background:var(--accent-ink);color:#fff;border-color:var(--accent-ink)}.audio-player-volume{display:flex;align-items:center;gap:8px;justify-self:end;color:var(--player-muted)}#player-mute{padding:3px;display:flex;align-items:center;justify-content:center}#player-mute svg{width:17px;height:17px}#player-volume{width:80px;max-width:100%}#player-download{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:6px;border:1px solid var(--player-line);border-radius:7px;color:var(--accent);flex-shrink:0}#player-download svg{width:16px;height:16px}#player[data-docked="0"]{border:1px solid var(--player-line);border-radius:17px;position:relative}#player[data-docked="1"]{position:fixed;bottom:0;left:0;right:0;z-index:65;border-top:1px solid var(--player-line);box-shadow:0 -4px 30px #0005}#player[data-docked="1"] .audio-player-header{max-width:1400px;margin:auto;border-radius:0}#player[data-docked="1"] #player-story{max-height:36px;overflow:hidden!important}#player[data-docked="1"] .audio-player-cover{width:40px;height:40px}#player[data-docked="1"] .audio-player-body{padding-top:12px;padding-bottom:12px}body:has(#player[data-docked="1"]:not([hidden])){padding-bottom:310px!important}body:has(#player[data-docked="1"]:not([hidden])) .contact-shortcuts{bottom:330px!important}
#player input[type=range]{--range-fill:var(--accent-ink,#08734f);--range-track:#3f4d48;appearance:none;-webkit-appearance:none;display:block;height:6px;border:0;border-radius:999px;background:linear-gradient(to right,var(--range-fill) 0%,var(--range-fill) var(--progress,0%),var(--range-track) var(--progress,0%),var(--range-track) 100%);cursor:pointer;accent-color:var(--accent-ink)}html.light #player input[type=range]{--range-track:#b9cfc0}#player input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:14px;height:14px;border:0;border-radius:50%;background:var(--accent);box-shadow:0 0 6px #168c5540}#player input[type=range]::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:var(--accent)}#player-progress{width:100%}
html.light .chapter-premium{color:#854d0e;background:#fef3c7;border-color:#e9c87e}html.light .chapter-heard,html.light .chapter-download{color:#065f46}html.light .story-rating-total strong{color:#854d0e;background:#fffbeb;border-color:#ecd79a}html.light .story-rating-stars button:is(.is-selected,.is-hovered){color:#a16207}html.light .story-social-status.is-error{color:#9f1239}
@media(max-width:1199px){.story-detail-grid{gap:26px}.story-panel{padding:24px}.chapter-heading{flex-wrap:wrap}.chapter-tools{flex:1;justify-content:flex-end}.story-rating{flex-wrap:wrap}.story-rating-controls{margin-left:auto}.story-side-cover{width:76px;height:56px}.story-sidebar-panel{padding:20px}.chapter-actions span{display:none}}
@media(max-width:1023px){.story-detail-grid{grid-template-columns:minmax(0,1fr)}.story-detail-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.chapter-heading{flex-wrap:nowrap}.story-page-hero .story-hero-content{padding:32px!important}.chapter-actions span{display:inline}.chapter-actions{opacity:1}.story-rating{flex-wrap:nowrap}}
@media(max-width:639px){.story-page{padding:24px 16px 48px}.story-breadcrumb{gap:7px;margin-bottom:22px}.story-breadcrumb>a:nth-of-type(2){max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-page-hero{margin-bottom:28px;border-radius:18px}.story-page-hero .story-hero-content{padding:24px!important;min-height:0!important}.story-page .story-detail-title{font-size:23px!important}.story-meta{gap:8px;margin-bottom:18px}.story-meta>span{padding:4px 8px;font-size:10px;gap:5px}.story-meta small{font-size:10px}.story-tags{margin-bottom:22px}.story-actions{gap:9px}.story-primary,.story-secondary{font-size:12px;padding:10px 13px;min-height:42px}.story-actions .story-primary{flex-basis:100%}.story-actions .story-secondary:not(.story-share){flex:1}.story-panel{padding:20px;border-radius:16px}.story-panel h2{font-size:18px}.story-detail-main{gap:24px}.chapter-heading{align-items:flex-start;flex-direction:column;gap:16px}.chapter-tools{width:100%;justify-content:stretch}.chapter-search{width:auto;flex:1}.chapter-row{gap:8px;padding:10px;min-height:74px}.chapter-play{gap:8px}.chapter-info strong{font-size:12px}.chapter-duration{font-size:9px}.chapter-actions{gap:2px}.chapter-actions span{display:none}.chapter-actions>a,.chapter-actions>button{min-width:29px;min-height:34px;padding:5px}.chapter-list{height:450px}.story-rating{flex-direction:column;align-items:flex-start;gap:16px}.story-rating-controls{margin-left:0;align-self:flex-end;max-width:100%}.story-rating-stars button{width:40px;height:40px}.story-comment-form{grid-template-columns:32px minmax(0,1fr);gap:10px}.story-avatar{width:32px;height:32px;font-size:12px}.story-comment-empty{font-size:12px}.story-detail-sidebar{grid-template-columns:minmax(0,1fr)}.story-side-cover{width:96px;height:62px}.story-resume{padding:12px;gap:10px}.story-resume button{font-size:11px;padding:8px 10px}.story-resume-cover{width:40px;height:40px}.audio-player-header{padding:14px 16px;gap:11px}.audio-player-cover{width:44px;height:44px}#player-story{font-size:10px}#player-chapter{font-size:13px}#player-rate-label{display:none}.audio-player-body{padding:18px 16px}.audio-player-main-controls{gap:10px}.audio-player-aux{gap:8px}#player-speed-toggle,#player-sleep{padding:6px 9px;font-size:10px}.audio-player-volume{gap:4px}#player-volume{width:56px}.story-resume strong{font-size:12px}#player-download{width:28px;height:28px}body:has(#player[data-docked="1"]:not([hidden])){padding-bottom:350px!important}body:has(#player[data-docked="1"]:not([hidden])) .contact-shortcuts{bottom:360px!important}}
@media(prefers-reduced-motion:reduce){.chapter-equalizer i{animation:none;height:9px}#player-toggle .audio-loading-icon{animation:none}}
.story-side-info strong{display:block;-webkit-line-clamp:unset;overflow:visible;overflow-wrap:anywhere}.story-page button:disabled{cursor:not-allowed}
@media(max-width:639px){body:has(.story-page) .contact-shortcuts{right:10px;gap:6px}body:has(.story-page) .contact-shortcuts .site-icon-link{width:34px;height:34px}body:has(.story-page textarea:focus) .contact-shortcuts{display:none}}
@media(max-width:1023px){#player[data-docked="1"]{bottom:60px}body:has(#player[data-docked="1"]:not([hidden])){padding-bottom:370px!important}body:has(#player[data-docked="1"]:not([hidden])) .contact-shortcuts{bottom:390px!important}}
.audio-sleep-dialog{width:min(384px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:18px;border:1px solid #374b41;border-radius:17px;background:#0f1920;color:var(--readable-text);box-shadow:0 15px 60px #0006}.audio-sleep-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.audio-sleep-heading h2{font-size:17px;font-weight:750;line-height:1.5}.audio-sleep-heading p{font-size:11px;color:var(--readable-muted);line-height:1.7}.audio-sleep-heading>button{font-size:22px;line-height:1;padding:4px;color:var(--readable-muted)}.audio-sleep-off{display:block;width:100%;text-align:left;padding:10px 12px;border:1px solid #374b41;border-radius:10px;font-size:13px;font-weight:650;margin-bottom:10px}.audio-sleep-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.audio-sleep-options button{padding:11px 7px;border-radius:10px;background:#23312d;font-size:12px;font-weight:650}.audio-sleep-options button:hover{background:var(--accent-soft);color:var(--accent)}.audio-sleep-chapter{display:block;width:100%;text-align:left;padding:10px 12px;margin-top:10px;border-radius:10px;background:var(--accent-soft);color:var(--accent);font-size:12px;font-weight:650}.audio-sleep-custom{display:flex;gap:9px;margin-top:14px;padding-top:12px;border-top:1px solid #374b41}.audio-sleep-custom input{width:100%;min-width:0;border:1px solid #374b41;border-radius:10px;background:#0b141a;color:var(--readable-text);font-size:13px;padding:10px 12px}.audio-sleep-custom button{padding:9px 15px;border-radius:10px;background:var(--accent-ink);color:#fff;font-size:13px;font-weight:750}html.light .audio-sleep-dialog{background:#fff!important;color:var(--readable-text)!important;border-color:#cbded2}html.light .audio-sleep-options button{background:#edf4ef}html.light .audio-sleep-custom input{background:#f7faf8;border-color:#b4cdbd}
