
.listen-surface { text-align:left;gap:12px; padding:18px; border-color:var(--gl-rule); }
.listen-surface .listen-surface__heading { display:flex;align-items:center;gap:12px;margin:0;padding:0 0 10px;border-bottom:1px solid var(--gl-rule); }
.listen-surface__heading h2 {font-size:21px;margin:0;}
.listen-surface__heading > div {flex:1;min-width:0;}
.listen-surface__title {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--gl-muted);font-size:12px;margin-top:3px;}
.listen-surface .reader__panel-note {margin:6px 0;line-height:1.45;}
.listen-surface .listen-surface__audio > .reader__panel-row--name {display:none;}
.listen-surface__primary {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start;}
.listen-surface__primary .reader__panel-row {display:grid;gap:5px;min-width:0;}
.listen-surface select {max-width:100%;min-width:0;}
.listen-surface__primary select {width:100%;}
.listen-surface details {border:1px solid var(--gl-rule);border-radius:10px;padding:0 12px;background:var(--gl-shelf);}
.listen-surface summary {cursor:pointer;padding:10px 0;line-height:1.4;font-weight:600;}
.listen-surface details[open] > summary {margin-bottom:8px;border-bottom:1px solid var(--gl-rule);}
.listen-surface details > .listen-surface__options {display:grid;gap:10px;padding-bottom:12px;}
.listen-surface__audio {display:grid;gap:10px;}
.listen-surface__choices {display:grid;gap:10px;padding-bottom:12px;}
.listen-surface__choices .listen__modes {margin:0;}
.listen-surface .listen-surface__options .listen__fields {margin:0;}
.listen-surface__downloads {font-size:12px;}
.listen-surface__actions {display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;}
.listen-surface__actions .gl-btn {min-height:40px;}
.listen-surface__options .reader__panel-row {gap:6px;}
.listen-surface__versions {border-top:1px solid var(--gl-rule);padding-top:10px;}
.listen-player {position:fixed;z-index:90;bottom:16px;right:16px;width:min(380px,calc(100% - 32px));box-sizing:border-box;padding:16px;background:var(--gl-shelf);color:var(--gl-text);border:1px solid var(--gl-rule);border-radius:18px;box-shadow:var(--gl-shadow-frame);font-family:var(--gl-ui);font-size:14px;}
.listen-player__header {display:flex;align-items:center;gap:10px;}
.listen-player__identity {flex:1;min-width:0;}
.listen-player__identity strong {display:block;font-family:var(--gl-display);font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.listen-player__identity span {display:block;color:var(--gl-muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;}
.listen-player__icon {width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;}
.listen-player__button {display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:44px;min-height:44px;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer;font:inherit;padding:6px;}
.listen-player__button:hover {background:var(--gl-hover, #9874ba18);}
.listen-player__button:focus-visible {outline:2px solid var(--gl-purple, #8764a6);outline-offset:2px;}
.listen-player__button:disabled {opacity:.35;cursor:default;}
.listen-player__button--play {background:var(--gl-lamp, #e6bd64);color:var(--gl-shelf);width:52px;height:52px;box-shadow:0 3px 10px #0001;}
.listen-player__button--play:hover {background:var(--gl-lamp, #e6bd64);filter:brightness(.96);}
.listen-player__transport {display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 0 6px;}
.listen-player__seek {appearance:none;width:100%;height:28px;margin:0;background:transparent;cursor:pointer;}
.listen-player__seek::-webkit-slider-runnable-track {height:5px;border-radius:5px;background:linear-gradient(to right,var(--gl-purple,#8764a6) var(--listen-progress),var(--gl-rule) var(--listen-progress));}
.listen-player__seek::-moz-range-track {height:5px;border-radius:5px;background:var(--gl-rule);}
.listen-player__seek::-moz-range-progress {height:5px;border-radius:5px;background:var(--gl-purple,#8764a6);}
.listen-player__seek::-webkit-slider-thumb {appearance:none;width:16px;height:16px;border:0;border-radius:50%;background:var(--gl-purple,#8764a6);margin-top:-5.5px;}
.listen-player__seek::-moz-range-thumb {width:16px;height:16px;border:0;border-radius:50%;background:var(--gl-purple,#8764a6);}
.listen-player__seek:focus-visible {outline:2px solid var(--gl-purple,#8764a6);outline-offset:2px;border-radius:5px;}
.listen-player__times {display:flex;justify-content:space-between;gap:8px;font-variant-numeric:tabular-nums;color:var(--gl-muted);font-size:12px;margin-bottom:12px;}
.listen-player__footer {display:flex;align-items:center;gap:12px;justify-content:space-between;border-top:1px solid var(--gl-rule);padding-top:10px;font-size:12px;}
.listen-player__footer select {width:78px;min-height:36px;padding:4px 8px;font-size:13px;}
.listen-player__footer a {white-space:nowrap;}
.listen-player__notice {font-size:12px;line-height:1.4;margin:10px 0 0;color:var(--gl-muted);}
.listen-player__return {display:block;margin-top:8px;font-size:12px;}
@media (max-width:420px) {.listen-surface {padding:14px;}.reader__panel--side.listen-surface {position:fixed;top:16px;bottom:auto;left:16px;right:16px;width:auto;max-height:calc(100dvh - 32px)!important;z-index:100;}.listen-surface__primary {gap:8px;grid-template-columns:1fr;}.listen-player {right:10px;bottom:10px;width:calc(100% - 20px);padding:14px;}.listen-player__transport {gap:8px;}}
.reader__audio.listen-reader-player {display:grid;justify-content:stretch;gap:8px;width:min(520px,calc(100% - 24px));max-width:none;padding:12px 16px;border-radius:16px;}
.listen-reader-player__heading {display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.listen-reader-player .reader__audio-title {font-size:14px;font-weight:600;max-width:none;}
.listen-reader-player .reader__audio-time {display:block;font-size:12px;}
.listen-reader-player .reader__audio-follow {margin-left:auto;min-height:36px;}
.listen-reader-player__transport {display:flex;align-items:center;justify-content:center;gap:10px;}
.listen-reader-player__transport > .reader__audio-toggle {order:2;width:48px;height:48px;background:var(--gl-lamp);color:var(--gl-shelf);border:0;font-size:17px;}
.listen-reader-player__transport > [aria-label="Back 15 seconds"] {order:1;}
.listen-reader-player__transport > [aria-label="Forward 15 seconds"] {order:3;}
.listen-reader-player .reader__audio-step {min-height:36px;min-width:36px;border:0;background:transparent;}
.listen-reader-player__transport > .reader__audio-step {min-height:44px;min-width:44px;}
.listen-reader-player .reader__audio-speed {order:4;margin-left:auto;gap:0;border:1px solid var(--gl-rule);border-radius:24px;}
.listen-reader-player .reader__audio-rate {min-width:3em;}
.listen-reader-player .listen-player__seek {height:20px;}
@media(max-width:420px) {.reader__audio.listen-reader-player {padding:10px 12px;}.listen-reader-player__heading{gap:6px;}.listen-reader-player .reader__audio-follow {font-size:12px;}.listen-reader-player__transport{gap:5px;}}




/* Listen request and progressive player use the same compact rhythm in the work sheet and page. */
.listen-page.gl-page { max-width: 960px; gap: 20px; padding-block: 28px 40px; }
.listen-page > .gl-section { gap: 14px; }
.listen-page .gl-h1 { margin: 0; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.15; overflow-wrap: anywhere; }
.listen-page p, .listen-request p, .listen-stream p { margin: 0; }
.listen-page :is(.gl-section, .site-stack) { min-width: 0; }
.listen-request { gap: 12px; line-height: 1.55; }
.listen-request > [role="status"] { font-weight: 600; }
.listen-request__notice { font-size: 13px; }
.listen-stream.site-panel { padding: 18px 20px; border-color: var(--gl-rule-strong); border-radius: 16px; gap: 12px; }
.listen-stream__heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.listen-stream__heading > strong { font-size: 18px; color: var(--gl-text); }
.listen-stream__state { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--gl-wash); color: var(--gl-amethyst); }
.listen-stream__metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-block: 4px; }
.listen-stream__metrics > div { display: grid; gap: 2px; min-width: 0; }
.listen-stream__metrics strong { font-size: 28px; font-weight: 650; line-height: 1.2; font-variant-numeric: tabular-nums; }
.listen-stream__metrics span { font-size: 13px; color: var(--gl-muted); }
.listen-stream .site-inline-actions { gap: 8px 12px; }
.listen-stream .gl-btn { min-height: 44px; }
.listen-stream__details { font-size: 13px; color: var(--gl-muted); border-top: 1px solid var(--gl-rule-soft); padding-top: 10px; }
.listen-stream__details summary { cursor: pointer; width: fit-content; padding: 3px 0; }
.listen-stream__details[open] p { margin-top: 8px; }
@media (max-width: 639.98px) {
  .listen-page.gl-page { padding: 20px 16px 28px; }
  .listen-stream.site-panel { padding: 16px; }
  .listen-stream .site-inline-actions > .gl-btn { flex: 1 1 128px; padding-inline: 12px; }
}
.listen-request > .site-inline-actions:empty { display: none; }
.listen-request__details { color: var(--gl-muted); font-size: 13px; }
.listen-request__details > summary { cursor: pointer; padding: 6px 0; width: fit-content; }
.listen-request__details[open] { display: block; }
.listen-request__details[open] > :not(summary) { margin-top: 10px; }
