/* The reading edition and language are independent controls. */
.archive-edition .scene-proxy[data-proxy-mode=two-directions]{overflow:visible}
.archive-edition .edition-switch{display:flex;align-items:center;gap:3px;padding:3px;background:#182321;border:1px solid #819187;border-radius:3px;width:max-content;max-width:100%;font:11px/1.3 var(--mono);letter-spacing:0}
.archive-edition .edition-switch a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 15px;color:#bec8c0;text-decoration:none;border:0;border-radius:1px;white-space:nowrap}
.archive-edition .edition-switch a[aria-current=page]{background:#efeee7;color:#202b2a;box-shadow:0 2px 0 #819187}
.archive-edition .edition-switch a:hover{background:#23372f;color:#f1eee4}
.archive-edition .edition-switch a[aria-current=page]:hover{background:#efeee7;color:#202b2a}
.archive-edition .edition-switch a:focus-visible{outline:2px solid #e0bba3;outline-offset:3px}
.archive-edition .reading-strip{height:auto;min-height:62px;gap:12px}
.archive-edition .reading-edition{font-size:10px}
.archive-edition .reading-edition a{padding:0 11px}
.archive-edition .reading-strip .strip-location{color:#f1eee4}
.archive-edition .edition-note{font:11px/1.7 var(--mono);color:#56615e;padding:18px 24px;max-width:1080px;margin:0 auto 30px;background:#efeee7;border:1px solid #afb3a5}
.archive-edition .author-end .edition-switch{margin:24px auto 0}
.archive-edition .contents-flat{padding-top:10px}
.archive-edition .contents-flat .chapter-index-link{padding:15px 8px}
.archive-edition .short-edition-label{font:10px/1.7 var(--mono);text-transform:uppercase}
.archive-edition .short-repeal-continuation{margin-top:45px}
.archive-edition .scene-proxy[data-proxy-mode=two-directions] .proxy-files{grid-template-columns:repeat(4,minmax(0,1fr))}
.archive-edition .scene-proxy[data-proxy-mode=two-directions] .proxy-file{min-width:0;padding:22px 18px}
@media(max-width:1100px){.archive-edition .site-header .header-right{gap:12px}.archive-edition .header-edition a{padding:0 10px}.archive-edition .reading-strip .strip-part{display:none}.archive-edition .scene-proxy[data-proxy-mode=two-directions] .proxy-files{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-edition .edition-note{margin:0 6% 30px}}
@media(max-width:700px){.archive-edition .site-header{height:auto;min-height:122px;padding:10px 5%;display:grid;grid-template-columns:1fr auto auto;column-gap:8px;row-gap:9px}.archive-edition .site-header .header-right{display:contents}.archive-edition .site-header .brand{grid-column:1;grid-row:1}.archive-edition .site-header .language{grid-column:2;grid-row:1}.archive-edition .site-header .contents-toggle{grid-column:3;grid-row:1;min-height:44px}.archive-edition .header-edition{grid-column:1/-1;grid-row:2;width:100%}.archive-edition .header-edition a{flex:1}.archive-edition .reading-strip{height:110px;padding:4px 5% 7px;display:grid;grid-template-columns:1fr auto auto;grid-template-areas:"chapter language progress" "edition edition edition";gap:0 12px}.archive-edition .reading-strip .strip-location{grid-area:chapter;justify-self:start;font-size:10px}.archive-edition .reading-language{grid-area:language;margin:0}.archive-edition .reading-strip .strip-progress{grid-area:progress;min-width:25px}.archive-edition .reading-strip .reading-edition{grid-area:edition;width:100%;font-size:10px}.archive-edition .reading-edition a{flex:1;min-height:44px}.archive-edition .contents{top:114px;max-height:calc(100dvh - 126px)}.archive-edition .edition-note{margin:0 5% 30px;padding:16px 20px}.archive-edition .scene-proxy[data-proxy-mode=two-directions] .proxy-files{display:grid;gap:14px}.archive-edition .scene-proxy[data-proxy-mode=two-directions] .proxy-file+.proxy-file{margin-top:0}}
html[data-edition=short] .archive-edition .reading-strip .strip-part{display:none}
.archive-edition .scene-proxy[data-proxy-mode=two-directions] .scene-controls{position:sticky;top:62px;z-index:2;background:#26362e;padding:12px 0;border-bottom:1px solid #819187;margin:0 0 22px;flex-wrap:nowrap}
.archive-edition .scene-proxy[data-proxy-mode=two-directions] .scene-controls button{flex:1}
@media(max-width:700px){.archive-edition .scene-proxy[data-proxy-mode=two-directions] .scene-controls{top:110px}.archive-edition .scene-proxy[data-proxy-mode=two-directions] .scene-controls button{width:auto;padding:10px 8px}}
@media(max-width:450px){.archive-edition .scene-proxy[data-proxy-mode=two-directions] .proxy-file{padding:16px 11px}.archive-edition .scene-proxy[data-proxy-mode=two-directions] .proxy-file h3{font-size:23px}.archive-edition .scene-proxy[data-proxy-mode=two-directions] .proxy-values>div{display:block}.archive-edition .scene-proxy[data-proxy-mode=two-directions] .proxy-values dd{margin-top:4px}.archive-edition .scene-proxy[data-proxy-mode=two-directions] .proxy-decision{font-size:9px}}
@media print{.edition-switch,.edition-note{display:none!important}}

