.pw-language-bar{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 12px;padding:5px 3%;border-top:1px solid #cda75d29;color:#d1d6ce;font:12px/1.45 Arial,sans-serif;background:#071111bf;min-height:36px;box-sizing:border-box}
.pw-language-bar label{display:flex;align-items:center;gap:7px;color:#dfbf79}.pw-language-bar select,.pw-language-bar button{font:inherit;color:#f3ead7;background:linear-gradient(120deg,#d6c68e14,#34575f24);border:1px solid #9c885c88;border-radius:6px;padding:5px 9px;min-height:30px;max-width:230px}.pw-language-bar button{cursor:pointer}.pw-language-bar select option{color:#eee;background:#10201f}.pw-language-bar button:focus-visible,.pw-language-bar select:focus-visible{outline:2px solid #e5be6f;outline-offset:3px}.pw-language-bar [role=status]{max-width:580px;font-size:11px;color:#bdc4bf}.pw-language-bar .pw-language-more{color:#d6ba7f;text-decoration:underline;text-underline-offset:3px}
.pw-language-notice{margin:15px 0 0;padding:10px 14px;border-left:2px solid #bfa264;background:linear-gradient(90deg,#122e2ba3,transparent);color:#d5ddd6;font-size:13px;line-height:1.55;max-width:540px}.pw-language-notice a,.book-language-notice a{color:#e1bd75;text-decoration:underline;text-underline-offset:4px}.book-language-notice{border:1px solid #af945b88;background:linear-gradient(110deg,#0b2827db,#07121add);padding:13px 18px;border-radius:8px;display:flex;gap:12px;align-items:center;margin:16px 0 20px;color:#e4e4da;font-size:14px}.book-language-notice strong{color:#e7c281}.book-language-notice svg{width:28px;height:28px;flex:none;color:#d9b573}
.reader-translation-controls{flex:none;display:flex;gap:8px 16px;align-items:center;flex-wrap:wrap;padding:10px 24px;background:linear-gradient(110deg,#183533,#101d29);border-top:1px solid #b69a60;border-bottom:1px solid #b69a6090;color:#f1e9d6;font-size:12px}.reader-translation-controls .translation-intro{margin:0;flex:1 1 200px}.reader-translation-controls .translation-intro strong{display:block;font-size:14px;color:#f0cf8a;margin-bottom:3px}.reader-translation-controls label{display:flex;gap:8px;align-items:center}.reader-translation-controls select{background:#071b1b;color:#f7edd5;border:1px solid #bfa268;padding:8px;border-radius:6px;max-width:220px}.reader-translation-controls button{font-size:12px;min-height:34px;padding:7px 12px;border:1px solid #bd9d5e;border-radius:6px;color:#ffe6ac;background:#cbb27915;cursor:pointer}.reader-translation-controls button:focus-visible,.reader-translation-controls select:focus-visible{outline:2px solid #ffe6ac;outline-offset:2px}.reader-translation-controls #reader-translation-status{flex:1 1 100%;font-size:11px;line-height:1.5;color:#c6d4d0;margin:0}.reader-translation-controls #reader-original-toggle{white-space:nowrap;font-size:11px}
.reader-stage.with-translation #page-wrap{display:none}.reader-stage.with-translation #reader-state:not([hidden]){display:flex}.reader-stage.with-translation.translation-with-original{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px}.reader-stage.with-translation.translation-with-original #page-wrap:not([hidden]){display:flex;max-width:100%;overflow:auto}.reader-translation-panel{width:min(760px,100%);margin:0 auto;border:1px solid #b49d70;background:#f4efdf;color:#292d29;padding:clamp(18px,3vw,36px);box-sizing:border-box;box-shadow:0 12px 38px #0003;border-radius:5px}.reader-translation-panel h3{font:600 14px/1.4 Arial,sans-serif;border-bottom:1px solid #a79876;padding-bottom:12px;margin:0 0 18px;color:#5b4a28}.reader-translated-text{font:clamp(17px,1.5vw,21px)/1.8 Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}.reader-translation-panel[hidden]{display:none!important}.reader-dialog[data-theme=dark] .reader-translation-panel{color:#e9e6d8;background:#101a1c}.reader-dialog[data-theme=dark] .reader-translation-panel h3{color:#dcc28d}
@media(max-width:650px){.pw-language-bar{justify-content:flex-start;padding:6px 14px}.pw-language-bar [role=status]{flex-basis:100%}.pw-language-bar label{font-size:11px}.reader-translation-controls{padding:8px 12px;gap:7px 10px}.reader-translation-controls .translation-intro{flex-basis:100%}.reader-translation-controls .translation-intro span{display:none}.reader-translation-controls select{max-width:170px}.reader-stage.with-translation.translation-with-original{grid-template-columns:1fr}.reader-translated-text{font-size:18px}.book-language-notice{font-size:12px}}

.reader-focus-start{border:1px solid #ba9d60;border-radius:6px;padding:8px 12px;min-height:38px;color:#f0d18e;background:linear-gradient(120deg,#cab8861b,#28464322);font:12px/1.3 Arial,sans-serif;cursor:pointer}.reader-focus-start:focus-visible{outline:2px solid #f7db9c;outline-offset:3px}.reader-focus-exit{display:none}.reader-dialog.reader-focus-mode{position:fixed!important;inset:0!important;margin:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;padding:0!important;overflow:hidden!important;background:#050b0b}.reader-focus-mode .reader-head,.reader-focus-mode .reader-toolbar,.reader-focus-mode .reader-translation-controls,.reader-focus-mode .reader-speech-details,.reader-focus-mode .reader-foot{display:none!important}.reader-focus-mode #reader-stage{padding:8px;min-height:0;width:100%;height:100%;box-sizing:border-box;background:#050b0b;display:flex;align-items:center;justify-content:center}.reader-focus-mode #page-wrap:not([hidden]){flex:none;margin:auto;box-shadow:none}.reader-focus-mode #reader-stage.with-translation{display:block}.reader-focus-mode #reader-stage.with-translation.translation-with-original{display:grid;align-items:start}.reader-focus-mode .reader-translation-panel{min-height:100%;box-shadow:none}.reader-focus-mode .reader-translation-panel h3{display:none}.reader-focus-mode .reader-focus-exit{display:block;position:fixed;bottom:16px;right:18px;z-index:30;opacity:0;border:1px solid #d9c79d85;border-radius:30px;padding:9px 15px;background:#07100ec7;color:#eee3c7;backdrop-filter:blur(10px);font:12px/1.4 Arial,sans-serif;cursor:pointer;transition:opacity .25s}.reader-focus-mode.reader-focus-controls-visible .reader-focus-exit,.reader-focus-mode .reader-focus-exit:hover,.reader-focus-mode .reader-focus-exit:focus-visible{opacity:.8}.reader-focus-exit:focus-visible{outline:2px solid #eed59a;outline-offset:3px}@media(prefers-reduced-motion:reduce){.reader-focus-mode .reader-focus-exit{transition:none}}

html.pw-reading-focus,html.pw-reading-focus body{overflow:hidden!important}.reader-focus-mode:not(.reader-focus-controls-visible) .reader-page-zone{opacity:0!important}

/* Compact reader controls and language row in the available header space. */
@media(min-width:901px){
 .onepage-header .onepage-header-inner{grid-template-rows:auto auto;row-gap:0;padding-block:4px}
 .onepage-header .onepage-brand{grid-row:1/3;align-self:center}
 .onepage-header .artist-navigation{grid-row:1;align-self:end}
 .onepage-header .pw-language-bar{grid-column:2;grid-row:2;align-self:start;width:auto;min-height:28px;justify-content:flex-start;gap:5px 10px;padding:5px 0 2px clamp(18px,2.5vw,48px);border:0;background:transparent;font-size:11px}
 .onepage-header .pw-language-bar [role=status]{font-size:10px;max-width:none}
 .onepage-header .pw-language-bar select{min-height:26px;padding:3px 8px;max-width:170px}
}
.reader-head{padding:9px 18px 8px;gap:12px}.reader-label{font-size:8px;letter-spacing:.12em}.reader-head h2{font-size:20px;margin-top:2px}.reader-head p{font-size:10px;margin-top:2px}
.reader-toolbar{padding:7px 18px;gap:7px 12px}.reader-controls{gap:7px 12px;justify-content:flex-start}.reader-navigation{gap:7px}.reader-navigation form{gap:6px}.reader-navigation input{height:34px;width:55px;font-size:14px}.reader-toolbar .icon-button{height:34px;width:34px}.reader-appearance select,.reader-zoom select{height:34px;font-size:12px;padding:5px 24px 5px 8px}.reader-zoom{gap:8px;flex-wrap:wrap}.reader-zoom input[type=range]{width:140px;accent-color:#d3b37b;min-height:28px}.reader-zoom output{min-width:72px;font-size:11px;font-variant-numeric:tabular-nums;color:#ebd5a2}.reader-color input{width:34px;height:34px}.reader-brightness input{width:80px}.reader-focus-start{min-height:34px;padding:6px 9px}.reader-translation-controls{padding:7px 18px;gap:5px 12px}.reader-translation-controls .translation-intro{flex:1 1 180px}.reader-translation-controls .translation-intro strong{font-size:12px;margin:0}.reader-translation-controls .translation-intro span{display:none}.reader-translation-controls select{padding:6px;max-width:160px}.reader-translation-controls button{min-height:30px;padding:5px 9px}.reader-translation-controls #reader-translation-status{font-size:10px}.reader-speech-details summary{padding-block:5px}.reader-stage{padding:16px}.reader-foot{padding-block:5px;font-size:10px}
.reader-translated-text{font-size:calc(19px * var(--reader-text-zoom,1));line-height:1.75}
.reader-focus-tools{display:none}
.reader-dialog.reader-focus-mode #reader-stage{display:block;overflow:auto;padding:8px;height:100%;width:100%;align-content:normal}
.reader-focus-mode #page-wrap:not([hidden]){margin:auto;flex:none;max-width:none}
.reader-focus-mode .reader-focus-tools{display:flex;position:fixed;bottom:14px;left:50%;transform:translateX(-50%);z-index:50;align-items:center;justify-content:center;gap:8px;padding:8px 10px;border:1px solid #c7ad7166;border-radius:12px;background:#07120fee;color:#eadbbe;backdrop-filter:blur(14px);box-shadow:0 6px 24px #0008;max-width:calc(100vw - 24px);width:max-content;opacity:0;pointer-events:none;transition:opacity .2s;flex-wrap:wrap;font:12px/1.3 Arial,sans-serif}
.reader-focus-mode.reader-focus-controls-visible .reader-focus-tools,.reader-focus-mode .reader-focus-tools:focus-within,.reader-focus-mode .reader-focus-tools:hover{opacity:.95;pointer-events:auto}
.reader-focus-tools label{display:flex;align-items:center;gap:6px}.reader-focus-tools button,.reader-focus-tools select{font:inherit;background:#22312a;color:#f1e6cd;border:1px solid #bba47477;border-radius:6px;padding:6px 9px;min-height:32px}.reader-focus-tools input[type=range]{width:140px;accent-color:#d3b37b;min-height:28px}.reader-focus-tools output{font-size:11px;font-variant-numeric:tabular-nums;min-width:46px}.reader-focus-tools #focus-page-status{min-width:75px}.reader-focus-tools #reader-focus-exit{display:block;position:static;opacity:1;border-radius:6px;backdrop-filter:none;padding:6px 9px}.reader-focus-tools :focus-visible{outline:2px solid #f1cd83;outline-offset:2px}
@media(max-width:900px){.pw-language-bar{gap:4px 8px;padding:4px 14px;min-height:32px}.pw-language-bar [role=status]{font-size:10px}.reader-toolbar{padding:7px 10px}.reader-controls{justify-content:flex-start}.reader-translation-controls{padding:6px 10px}.reader-head{padding:8px 12px}.reader-zoom{flex:none}.reader-brightness{order:0;flex:none}.reader-stage{padding:12px}.reader-color{display:none}}
@media(max-width:600px){.pw-language-bar .pw-language-more{display:none}.reader-head h2{font-size:16px}.reader-head p,.reader-label{display:none}.reader-navigation{flex:1 1 auto}.reader-controls{gap:5px 8px}.reader-appearance label,.reader-zoom>label{display:none}.reader-zoom input[type=range]{width:100px}.reader-zoom select{max-width:125px}.reader-layout select{max-width:148px}.reader-brightness{display:none}.reader-translation-controls .translation-intro{flex-basis:100%}.reader-translation-controls #reader-translation-status{max-height:3em;overflow:auto}.reader-focus-mode .reader-focus-tools{gap:5px;padding:6px;bottom:8px}.reader-focus-tools label{font-size:0}.reader-focus-tools select{max-width:120px}.reader-focus-tools input[type=range]{width:100px}.reader-foot span:nth-child(2){display:none}}
@media(prefers-reduced-motion:reduce){.reader-focus-mode .reader-focus-tools{transition:none}}
.reader-toolbar .reader-controls{flex:1 1 auto;justify-content:flex-end;flex-wrap:wrap}.reader-toolbar .reader-navigation{margin:0;flex:0 0 auto}.reader-layout select{max-width:185px}.reader-zoom select{max-width:160px}.reader-zoom input[type=range]{width:110px}.reader-appearance-details{position:relative;font:12px/1.4 Arial,sans-serif;flex:none}.reader-appearance-details summary{cursor:pointer;list-style:none;min-height:34px;display:flex;align-items:center;gap:7px;border:1px solid #676b5080;border-radius:5px;background:#192019;padding:6px 10px;color:#ddd7c8}.reader-appearance-details summary:after{content:'⌄';color:#d3b37b}.reader-appearance-details summary::-webkit-details-marker{display:none}.reader-appearance-options{position:absolute;right:0;top:calc(100% + 8px);z-index:60;display:grid;gap:14px;width:260px;padding:15px;background:#0d1916;border:1px solid #a68b57;border-radius:8px;box-shadow:0 12px 30px #0009}.reader-appearance-options .reader-brightness{display:flex;flex:none}.reader-appearance-options .reader-color{display:flex}.reader-appearance-options .reader-appearance{justify-content:space-between}.reader-appearance-options .reader-brightness input{width:90px}.reader-focus-mode .reader-appearance-details{display:none}
@media(max-width:1100px){.reader-toolbar .reader-controls{flex:1 1 100%;justify-content:center}.reader-toolbar .reader-navigation{margin:auto}}
@media(max-width:600px){.reader-toolbar .reader-controls{justify-content:center;gap:6px}.reader-zoom{gap:5px}.reader-zoom select{max-width:120px}.reader-zoom input[type=range]{width:90px}.reader-appearance-options{right:-60px;width:240px}.reader-appearance-options label{display:block}.reader-focus-start{font-size:11px}}
@media(min-width:1101px){.reader-toolbar .reader-controls{flex:1 1 800px;min-width:0;justify-content:flex-end;gap:7px 10px}.reader-layout select{max-width:155px}.reader-zoom>label{display:none}.reader-zoom select{max-width:145px}.reader-zoom input[type=range]{width:100px}.reader-zoom output{min-width:64px}.reader-zoom{gap:6px}.reader-toolbar{column-gap:10px}}

/* Language menu stays immediately beside Contact in the navigation. */
.pw-contact-language{display:flex;align-items:center;gap:6px;flex:none;min-width:0}
.pw-contact-language .pw-language-bar{position:relative;display:block;grid-column:auto;grid-row:auto;align-self:center;justify-content:normal;width:auto;min-height:0;padding:0;margin:0;border:0;background:none;font:inherit;box-sizing:border-box}
.pw-language-trigger{display:flex;align-items:center;justify-content:center;min-height:38px;padding:9px 12px;border:1px solid #c4b99a3d;border-radius:5px;color:#e7e6db;background:linear-gradient(125deg,#d6d4c616,#8e9c9710 37%,#b58c4a0a 60%,#e3d3ae14);box-shadow:inset 0 1px #f6edcd25,inset 0 -1px #080e0c80,0 3px 10px #0002;font:12px/1.3 Arial,sans-serif;white-space:nowrap;cursor:pointer;list-style:none}
.pw-language-trigger::-webkit-details-marker{display:none}.pw-language-trigger:after{content:'⌄';margin-left:7px;color:#c9af75}.pw-language-trigger:hover,.pw-language-bar[open] .pw-language-trigger{border-color:#d6ba6d99;color:#efd18e}.pw-language-trigger:focus-visible{outline:2px solid #e5be6f;outline-offset:3px}
.pw-language-popover{position:absolute;right:0;top:calc(100% + 9px);z-index:100;width:min(330px,calc(100vw - 32px));padding:16px;display:grid;gap:12px;border:1px solid #b49b6380;border-radius:8px;background:#081614fa;box-shadow:0 14px 40px #0009;color:#e7e6db;backdrop-filter:blur(18px);font:12px/1.5 Arial,sans-serif}
.pw-language-bar:not([open]) .pw-language-popover{display:none}.pw-language-popover label{display:grid;gap:7px;color:#d9bd7b}.pw-language-popover select{width:100%;max-width:none;min-height:36px;padding:7px 10px;font-size:13px}.pw-language-popover [role=status]{font-size:11px;max-width:none;line-height:1.6}.pw-language-popover .pw-language-more{display:inline;color:#d6ba7f!important;font:11px/1.5 Arial,sans-serif!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:0!important;justify-content:flex-start!important;text-decoration:underline;backdrop-filter:none!important}
@media(min-width:901px){.onepage-header .onepage-header-inner{grid-template-rows:1fr;row-gap:0}.onepage-header .onepage-brand{grid-row:1}.onepage-header .artist-navigation{grid-row:1;align-self:center}.onepage-header .pw-contact-language .pw-language-bar{padding:0;min-height:0;grid-column:auto;grid-row:auto;align-self:center;font:inherit}.onepage-header .pw-language-popover select{max-width:none;padding:7px 10px;min-height:36px}.onepage-header .pw-language-popover [role=status]{font-size:11px}}
@media(min-width:901px) and (max-width:1399px){.pw-language-trigger{font-size:10px;padding:9px;min-height:36px}.pw-contact-language{gap:6px}}
@media(max-width:900px){.pw-contact-language{grid-column:1/-1;justify-content:flex-start}.pw-language-trigger{min-height:40px;padding:12px;font-size:12px}.pw-language-popover{right:auto;left:0;width:min(310px,calc(100vw - 80px))}.pw-contact-language .pw-language-bar [role=status]{font-size:11px}}
