.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[hidden]{display:none!important}
.floating-listener{position:fixed;z-index:20;right:max(24px,calc((100vw - 1120px)/2 + 24px));bottom:max(28px,env(safe-area-inset-bottom));font-family:'Courier New',Courier,monospace;max-width:calc(100vw - 40px)}
.floating-listener.on-left{right:auto;left:max(24px,calc((100vw - 1120px)/2 + 24px))}
.floating-listener button,.floating-listener select{font:inherit;cursor:pointer;border-radius:0}.floating-listener button:focus-visible,.floating-listener select:focus-visible,.floating-listener input:focus-visible{outline:3px solid var(--gold);outline-offset:5px}
.listen-launch{display:flex;align-items:center;gap:18px;min-width:182px;min-height:76px;padding:16px 21px;border:3px solid var(--ink);background:var(--teal);color:var(--ink);box-shadow:5px 5px 0 var(--pink),0 0 0 1px var(--teal);text-align:left}
.listen-launch:hover{background:#77e0d6;box-shadow:3px 3px 0 var(--pink),0 0 0 1px var(--teal);transform:translate(2px,2px)}
.listen-play{font-size:25px;line-height:1}.listen-copy strong{display:block;font:11px/1.7 Pixel,monospace;font-weight:400}.listen-copy small{display:block;font:11px/1.5 'Courier New',monospace;margin-top:5px}
.article-reader{width:244px;max-width:calc(100vw - 44px)}.reader-character{position:relative;width:164px;height:181px;margin:0 0 0 auto;text-align:center;pointer-events:none}
.reader-character img{display:block;width:164px;height:164px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(2px 3px 0 rgba(8,17,31,.3))}.reader-character>span{display:inline-block;position:relative;top:-5px;padding:5px 9px;background:var(--ink);border-bottom:2px solid var(--pink);color:var(--cream);font:7px/1.5 Pixel,monospace}
.reader-panel{border:2px solid var(--teal);background:var(--night);color:var(--cream);box-shadow:5px 5px 0 var(--pink);padding:11px 12px 10px}.reader-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.reader-top>span{font:7px/1.8 Pixel,monospace;color:var(--teal)}.reader-top button{padding:0;border:0;background:transparent;color:var(--cream);width:24px;height:24px;line-height:1;font-size:23px}
.reader-status{margin:5px 0 12px;font:11px/1.5 'Courier New',monospace;color:#d5ded8;min-height:16px}.reader-transport{display:flex;align-items:center;gap:10px}.reader-toggle{display:grid;place-items:center;flex-shrink:0;width:39px;height:36px;background:var(--teal);color:var(--ink);border:1px solid var(--teal);box-shadow:2px 2px 0 var(--pink)}.reader-toggle:disabled{opacity:.5;cursor:default}.reader-toggle>span{font-size:17px}.reader-progress{flex:1;min-width:0}.reader-progress input{display:block;width:100%;height:14px;margin:0;accent-color:var(--teal);cursor:pointer}.reader-progress>div{display:flex;justify-content:space-between;font:10px/1.5 'Courier New',monospace;color:#c2d1cd;margin-top:3px}.reader-transport select{width:45px;padding:4px 0;background:var(--night);border:0;color:var(--cream);font-size:11px}.reader-transport select:disabled{opacity:.5}.reader-options{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #34505d;margin-top:12px;padding-top:6px}.reader-options button{padding:5px 0;background:transparent;color:var(--teal);border:0;font-size:10px;min-height:29px}.reader-options button:hover,.reader-top button:hover{color:var(--pink)}.reader-options button[aria-pressed=true]{color:var(--gold)}.reader-options button:last-child{width:26px;font-size:20px}.reader-caption{font:15px/1.5 Georgia,serif;color:var(--cream);margin:10px 0 2px;padding-top:10px;border-top:1px solid #34505d;max-height:125px;overflow:auto}.reader-caption b{color:var(--gold);font:11px/1.5 'Courier New',monospace;display:block;margin-bottom:4px}
@media(max-width:650px){.floating-listener{right:18px;bottom:max(18px,env(safe-area-inset-bottom))}.floating-listener.on-left{left:18px}.listen-launch{min-width:157px;min-height:66px;gap:14px;padding:12px 16px}.listen-copy strong{font-size:10px}.listen-copy small{font-size:10px}.listen-play{font-size:22px}.article-reader{width:218px}.reader-character{width:134px;height:151px}.reader-character img{width:134px;height:134px}.reader-top>span{font-size:6px}.reader-panel{padding-inline:10px}.reader-options button{font-size:10px;min-height:32px}}
@media print{.floating-listener{display:none}}
.pixel-play-icon{display:inline-block;flex-shrink:0;width:16px;height:20px;background:currentColor;clip-path:polygon(0 0,4px 0,4px 3px,8px 3px,8px 6px,12px 6px,12px 8px,16px 8px,16px 12px,12px 12px,12px 14px,8px 14px,8px 17px,4px 17px,4px 20px,0 20px)}
.pixel-pause-icon{display:block;width:18px;height:20px;background:linear-gradient(to right,currentColor 0 6px,transparent 6px 12px,currentColor 12px 18px)}
.pixel-minimize-icon{display:block;width:12px;height:3px;background:currentColor;margin:auto}
.reader-window-actions{display:flex;gap:2px;align-items:center}
button.reader-character{display:block;padding:0;border:0;background:transparent;color:var(--cream);pointer-events:auto;cursor:pointer}
.reader-menu-dots{display:none;vertical-align:middle;width:10px;height:2px;margin-left:7px;background:linear-gradient(to right,var(--teal) 0 2px,transparent 2px 4px,var(--teal) 4px 6px,transparent 6px 8px,var(--teal) 8px 10px)}
.controls-hidden .reader-menu-dots{display:inline-block}
.reader-character:hover>span{border-color:var(--teal)}
.reader-back{display:block;width:100%;padding:10px 0 2px;margin-top:8px;border:0;border-top:1px solid #34505d;background:transparent;color:var(--gold);font-size:11px!important;text-align:left}
.short-answer-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:-5px 0 12px}.short-answer-heading .pixel-label{margin:0}
.captain-summary-button{position:relative;display:block;width:48px;height:48px;flex-shrink:0;padding:0;border:2px solid #234d53;border-radius:0;background:#152b42;box-shadow:3px 3px 0 #cda658;cursor:pointer}
.captain-summary-button:hover{background:#24465b;box-shadow:2px 2px 0 var(--pink);transform:translate(1px,1px)}
.captain-summary-button:focus-visible{outline:3px solid #9b4664;outline-offset:4px}
.captain-summary-button[aria-pressed=true]{border-color:#9d6523;box-shadow:3px 3px 0 var(--pink)}
.captain-summary-icon{position:relative;display:block;width:44px;height:44px;overflow:hidden}.captain-summary-icon img{position:absolute;max-width:none;width:128px;height:128px;left:-44px;top:-2px;image-rendering:pixelated}
.captain-play-badge{position:absolute;display:grid;place-items:center;right:-6px;bottom:-5px;width:20px;height:20px;background:var(--gold);color:var(--ink);border:2px solid var(--ink)}
.captain-play-badge .pixel-play-icon{transform:scale(.5);transform-origin:center}
.captain-summary-icon img{width:256px;height:256px;left:-94px;top:-105px}
.reader-follow{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:8px;border-top:1px solid #34505d;color:#c2d1cd;font-size:10px}
.reader-follow select{max-width:146px;color:var(--teal);background:var(--night);border:0;padding:6px 0;font:11px/1.5 'Courier New',monospace}
.reader-timing-note{margin:3px 0 0;color:#a9bcb8;font:10px/1.4 'Courier New',monospace}
.article-body section{position:relative;isolation:isolate}
.article-body section::before{position:absolute;z-index:-1;content:'';inset:-14px -18px;background:rgba(240,107,141,.065);opacity:0;pointer-events:none;clip-path:polygon(4px 0,calc(100% - 4px) 0,calc(100% - 4px) 4px,100% 4px,100% calc(100% - 4px),calc(100% - 4px) calc(100% - 4px),calc(100% - 4px) 100%,4px 100%,4px calc(100% - 4px),0 calc(100% - 4px),0 4px,4px 4px);transition:opacity .18s ease}
.article-body section.reading-section-active::before{opacity:1}
.short-answer{transition:background-color .18s ease,box-shadow .18s ease}
.short-answer.reading-section-active{background:#e1e8cb;box-shadow:0 0 0 4px rgba(77,210,200,.13)}
.reading-word-active{background:rgba(247,185,85,.4);box-shadow:2px 0 rgba(247,185,85,.4),-2px 0 rgba(247,185,85,.4);border-radius:1px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
@media(max-width:650px){.article-body section::before{inset:-12px -12px}}
@media(prefers-reduced-motion:reduce){.article-body section::before,.short-answer{transition:none}}

.reader-launchers { position: relative; display: inline-flex; align-items: center; gap: 1px; }
/* Keep the same live buttons centered beneath the current host in either reading mode. */
.article-reader > .reader-launchers {
  display: flex; width: 164px; margin: 5px 0 7px auto; justify-content: center;
}
.article-reader .reader-launchers .explainer-action { width: 48px; height: 48px; }
.article-reader .reader-launchers .explainer-action img { width: 43px; height: 43px; }
.article-reader .reader-launchers #explainer-share img { width: 35px; height: 35px; }
.article-reader .reader-panel { max-height: max(100px,calc(100dvh - 290px)); overflow-y: auto; }
@media(max-width:650px) {
  .article-reader > .reader-launchers { width: 134px; }
}
@media(max-height:500px) {
  .article-reader .reader-character { height: 99px; }
  .article-reader .reader-character img { width: 80px; height: 80px; margin: auto; }
  .article-reader .reader-panel { max-height: max(80px,calc(100dvh - 202px)); }
}
.explainer-action {
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; width: 48px; height: 62px; padding: 0;
  appearance: none; border: 0; background: transparent; box-shadow: none; cursor: pointer;
}
.explainer-action img {
  width: 58px; height: 58px; object-fit: contain; image-rendering: pixelated;
  filter: drop-shadow(0 1px 1px rgb(8 17 31 / .35));
}
.explainer-action:hover img { filter: drop-shadow(0 2px 2px rgb(8 17 31 / .52)) brightness(1.1); }
.floating-listener .explainer-action:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
@media(max-width:650px) {
  .explainer-action { height: 54px; }
  .explainer-action img { width: 50px; height: 50px; }
}

#explainer-share img { width: 42px; height: 42px; }
.share-notice {
  position: absolute; left: 0; bottom: calc(100% + 8px);
  padding: 5px 8px; color: var(--cream); background: var(--night);
  font: 12px/1.4 'Courier New',monospace;
}
.share-notice:empty { padding: 0; }
@media(max-width:650px) { #explainer-share img { width: 36px; height: 36px; } }
