/* Illustrated layouts traced to references 01/02 and 01/03. */
.library-section-theme {
    background-image:
        linear-gradient(180deg, #07111300, #0a111355 700px, #0b1011 1200px),
        url('../assets/library-backdrop.webp');
    background-size:
        100% 1250px,
        100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    padding-block: 35px 70px;
    position: relative;
    isolation: isolate;
}
.library-section-theme .site-header {
    background: #08111445;
    backdrop-filter: none;
    position: relative;
    border-bottom: 0;
}
.library-section-theme .header-inner {
    min-height: 123px;
    gap: 28px;
    border-bottom: 1px solid #ac794744;
}
.brand-library {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 355px;
    margin-left: 65px;
    padding-block: 13px 10px;
}
.brand-library > span {
    border: 0;
    padding: 0;
    margin: 0;
    display: block;
}
.brand-library .library-author {
    font: 17px/1.2 var(--body-serif);
    color: #e7d8bb;
    letter-spacing: 0.3px;
}
.brand-library > img {
    width: 350px;
    height: auto;
}
.brand-library .library-brand-subtitle {
    font: 10px/1.5 var(--sans);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ecc796;
}
.library-section-theme .site-nav {
    gap: 26px;
}
.library-section-theme .site-nav a {
    font: 600 15px/1.5 var(--sans);
    text-transform: none;
    letter-spacing: 0.6px;
}
.library-section-theme .site-nav a .icon {
    display: none;
}
.library-section-theme .site-nav a[href='chapters.html'],
.world-section-theme .site-nav a[href='world.html'] {
    color: #f18a41;
}
.library-section-theme .site-nav a[href='chapters.html']::after,
.world-section-theme .site-nav a[href='world.html']::after {
    transform: scaleX(1);
    box-shadow: 0 0 10px #f28c46bb;
}
.library-section-theme .motion-toggle {
    margin-left: auto;
}
.library-section-theme .container {
    width: min(1376px, calc(100% - 160px));
}
.library-section-theme .page-heading {
    padding: 24px 0 34px 125px;
    min-height: 200px;
}
.library-section-theme .page-heading > .eyebrow {
    display: none;
}
.library-section-theme .page-heading h2 {
    font-size: 95px;
    font-weight: 600;
    line-height: 1;
    margin: 0 0 8px;
}
.library-section-theme .page-intro {
    font: 17px/1.6 var(--sans);
    color: #ead0ab;
    letter-spacing: 1.7px;
}
.library-section {
    position: relative;
}
.library-section-theme .library-featured {
    display: grid;
    grid-template-columns: 66% 34%;
    min-height: 350px;
    border: 1px solid #b37746;
    border-radius: 15px 3px 15px 3px;
    background: #071214ed;
    box-shadow:
        inset 0 0 0 5px #0b101169,
        0 12px 35px #0005;
    overflow: hidden;
}
.library-featured .featured-art {
    height: 350px;
    min-height: 350px;
    position: relative;
}
.library-featured .featured-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 60%, #081214c9);
}
.library-featured .featured-art img {
    width: 100%;
    height: 350px;
    max-height: none;
    object-fit: cover;
    object-position: left 43%;
}
.library-featured .featured-copy {
    padding: 0 28px 0 24px;
    border-left: 1px solid #a36a40;
}
.library-featured .featured-copy > .eyebrow {
    color: #ef8742;
    font: 14px/1.7 var(--sans);
    letter-spacing: 3px;
    margin-bottom: 12px;
}
.library-section-theme .library-featured h3 {
    font-size: 40px;
    line-height: 1.18;
    margin: 0 0 18px;
    font-weight: 400;
}
.library-featured .featured-copy p {
    font: 15px/1.7 var(--sans);
    color: #d1d7cd;
    margin-bottom: 22px;
}
.library-featured .button-row {
    flex-wrap: nowrap;
    gap: 12px;
}
.library-featured .button {
    min-height: 48px;
    padding: 12px 20px;
    font: 14px/1.4 var(--body-serif);
    letter-spacing: 0.3px;
}
.library-section > .audio-panel {
    position: relative;
    min-height: 78px;
    margin: 25px 0 31px;
    padding: 12px 22px;
    border: 1px solid #a16a3c;
    border-radius: 13px 3px 13px 3px;
    background: #071214ed;
}
.library-section > .audio-panel.audio-enhanced .audio-top {
    position: absolute;
    top: 24px;
    left: 25px;
    border: 0;
    padding: 0;
}
.library-section > .audio-panel .audio-top > span:first-child {
    font: 25px/1.25 var(--body-serif);
    color: #f3e5cc;
    gap: 17px;
}
.library-section > .audio-panel .audio-top .icon {
    width: 28px;
    height: 28px;
    color: #f48c43;
}
.library-section > .audio-panel .audio-state {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
.library-section > .audio-panel .audio-controls {
    padding: 0 0 0 250px;
    gap: 18px;
}
.library-section > .audio-panel .audio-play {
    width: 51px;
    height: 51px;
    box-shadow:
        inset 0 0 0 2px #edb16d55,
        0 0 14px #dd662144;
    background: linear-gradient(135deg, #cf6a2e, #a54018);
}
.library-section > .audio-panel .audio-play .icon {
    width: 24px;
    height: 24px;
}
.library-section > .audio-panel .audio-time {
    font-size: 14px;
    color: #c9ba9d;
    min-width: 42px;
}
.library-section > .audio-panel .speed-control select {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 13px;
}
.library-section > .audio-panel .audio-fallback {
    position: absolute;
    left: 24px;
    top: calc(100% + 4px);
    font-size: 10px;
    color: #a9b5a8;
    margin: 0;
}
.audio-seek input {
    appearance: none;
    background: transparent;
}
.audio-seek input::-webkit-slider-runnable-track {
    height: 5px;
    border-radius: 4px;
    background: #52615c;
}
.audio-seek input::-webkit-slider-thumb {
    appearance: none;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    margin-top: -4px;
    background: #f0d2aa;
    border: 0;
}
.audio-seek input::-moz-range-track {
    height: 5px;
    border-radius: 4px;
    background: #52615c;
}
.audio-seek input::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border: 0;
    border-radius: 50%;
    background: #f0d2aa;
}
.library-find {
    position: absolute;
    right: 0;
    top: -48px;
    z-index: 15;
    font-size: 12px;
}
.library-find > summary {
    font-size: 12px;
    color: #d4b58a;
}
.library-find .search-field {
    position: absolute;
    right: 0;
    top: 28px;
    padding: 15px;
    background: #0b1619;
    border: 1px solid #9d6c43;
    box-shadow: 0 8px 30px #0009;
}
.library-section-theme .compact-chapters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.library-section-theme .compact-chapter {
    display: block;
    position: relative;
    height: 190px;
    min-height: 190px;
    overflow: hidden;
    border: 1px solid #b0794d;
    border-radius: 13px 3px 13px 3px;
    background: #091315;
}
.compact-chapter > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
    transition: transform 500ms;
}
.compact-chapter::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #071214c9, #0b151866 52%, #09131510),
        linear-gradient(0deg, #050e11aa, transparent 80%);
}
.compact-chapter:hover > img {
    transform: scale(1.04);
}
.compact-chapter-copy {
    position: relative;
    z-index: 1;
    padding: 19px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.compact-number {
    font: 39px/1.1 var(--body-serif);
    color: #ed7e3b;
    margin-bottom: auto;
}
.library-section-theme .compact-chapter h3 {
    font: 27px/1.22 var(--body-serif);
    max-width: 85%;
    margin: 12px 0 0;
    color: #f2e5cb;
}
.compact-open {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 23px;
    font: 36px/1 var(--serif);
    color: #f4b273;
}
.library-section-theme .compact-chapters .chapter-pending {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 70px 1fr 1fr;
    min-height: 100px;
    align-items: center;
    gap: 12px 25px;
    padding: 22px 26px;
}
.library-section-theme .compact-chapters .pending-mark {
    font-size: 37px;
    grid-row: 1 / 3;
    margin: 0;
}
.library-section-theme .compact-chapters .chapter-pending h3 {
    font-size: 21px;
    margin: 0;
}
.library-section-theme .compact-chapters .chapter-pending > .eyebrow {
    margin: 0;
}
.library-section-theme .compact-chapters .chapter-pending > p {
    font-size: 14px;
    margin: 0;
}
.library-section-theme .compact-chapters .chapter-pending > .work-note {
    border: 0;
    padding: 0;
    font-size: 12px;
}

.atlas-masthead {
    height: 167px;
    background: #0c171b url('../assets/world-banner.webp') center 43% / cover no-repeat;
    position: relative;
}
.atlas-masthead::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, #071014b3, transparent 54%),
        linear-gradient(0deg, #0610144d, transparent 50%);
}
.atlas-wordmark {
    position: absolute;
    z-index: 1;
    top: 17px;
    left: max(40px, calc((100% - 1456px) / 2));
    width: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.atlas-wordmark > span {
    font: 10px/1.5 var(--body-serif);
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #e0d5bd;
    margin-bottom: 8px;
}
.atlas-wordmark img {
    width: 390px;
    height: auto;
}
.atlas-wordmark small {
    color: #ecd4b0;
    font: 12px/1.6 var(--body-serif);
    letter-spacing: 1.3px;
    margin-top: 8px;
}
.world-section-theme .site-header .brand {
    display: none;
}
.world-section-theme .site-header .header-inner {
    min-height: 55px;
    width: min(1456px, calc(100% - 80px));
}
.world-section-theme .site-nav {
    margin-left: 0;
    gap: 38px;
}
.world-section-theme .site-nav a {
    font: 16px/1.5 var(--body-serif);
    text-transform: none;
    letter-spacing: 0.2px;
    padding-block: 14px;
}
.world-section-theme .site-nav a::after {
    bottom: 6px;
}
.world-section-theme .site-nav a .icon {
    display: block;
}
.world-section-theme .motion-toggle {
    width: 35px;
    height: 35px;
}
.atlas-search {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #a07f55;
    border-radius: 25px;
    padding: 6px 15px;
    margin-left: auto;
    min-width: 245px;
}
.atlas-search .icon {
    width: 18px;
    height: 18px;
    color: #eac69c;
}
.atlas-search input {
    width: 215px;
    border: 0;
    outline: none;
    background: transparent;
    color: #e6d3b4;
    font: italic 13px/1.6 var(--body-serif);
}
.atlas-search:focus-within {
    outline: 2px solid var(--copper);
    outline-offset: 3px;
}
.atlas-search input::placeholder,
.library-find input::placeholder {
    color: #b9b9ab;
    opacity: 1;
}
.atlas-heading {
    display: flex;
    align-items: flex-end;
    gap: 25px;
    justify-content: space-between;
    padding-block: 18px 9px;
}
.atlas-heading .eyebrow {
    font: 11px/1.5 var(--body-serif);
    letter-spacing: 3px;
    margin-bottom: 8px;
}
.atlas-heading h1 {
    font: 45px/1.2 var(--body-serif);
    margin: 0;
}
.atlas-tabs {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
    padding-bottom: 1px;
}
.atlas-tabs .filter-button {
    font: 17px/1.5 var(--body-serif);
    padding: 8px 15px;
    border: 0;
    border-bottom: 1px solid #a77a4d;
    border-radius: 3px;
    color: #ded2bc;
    background: transparent;
}
.atlas-tabs .filter-button[aria-pressed='true'] {
    border: 1px solid #eb8c43;
    background: linear-gradient(135deg, #613118aa, #311e1288);
    color: #f5dfbb;
    box-shadow: 0 0 13px #d57a2a1f;
}
.atlas-tabs .atlas-all {
    font: 11px/1.6 var(--sans);
    border: 0;
    padding-inline: 5px;
    color: #bcbcaf;
}
.illustrated-atlas {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    margin-block: 0 50px;
    align-items: start;
}
.painted-map {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}
.map-art {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.map-cities {
    position: absolute;
    inset: 0;
}
.map-city {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translateX(-50%);
    z-index: 3;
    min-width: 76px;
    min-height: 33px;
    text-align: center;
}
.map-point {
    position: absolute;
    top: 0;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #291b11;
    border: 2px solid #e5c285;
    box-shadow:
        0 0 0 4px #51351c77,
        0 0 13px #e7a14c77;
}
.map-label {
    display: block;
    position: relative;
    margin-top: 11px;
    padding: 5px 15px;
    border: 1px solid #80552d;
    border-radius: 1px;
    clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 7px 100%, 0 50%);
    background: linear-gradient(0deg, #b89258, #f1dfb5 40%, #d7bc88);
    color: #241b11;
    box-shadow:
        inset 0 0 0 2px #d6bc89,
        inset 0 0 0 3px #8b704b;
    font: 15px/1.2 var(--body-serif);
    white-space: nowrap;
}
.map-city[aria-current] {
    z-index: 5;
}
.map-city[aria-current] .map-point {
    border-color: #ffdd88;
    background: #c36020;
    box-shadow:
        0 0 0 5px #a25b2255,
        0 0 20px #ffac49;
}
.map-city[aria-current] .map-label {
    background: linear-gradient(0deg, #ecb66d, #ffe1a8);
    border-color: #e98735;
}
.map-city:hover .map-label {
    color: #5c250c;
}
.map-north {
    position: absolute;
    left: 9.8%;
    top: 77%;
    color: #e6d0a7;
    font: 13px var(--body-serif);
}
.map-edition {
    position: absolute;
    right: 3%;
    bottom: 2%;
    font: 10px/1.5 var(--body-serif);
    color: #ded0b6;
    text-shadow: 0 1px 4px #000;
    background: #08111399;
    padding: 3px 6px;
}
.city-panel {
    border-bottom: 1px solid #996f46;
    padding-bottom: 18px;
}
.city-panel-art {
    display: block;
    overflow: hidden;
    border: 1px solid #88633f;
}
.city-panel-art img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: center 34%;
}
.city-panel-copy {
    padding: 13px 2px 0;
}
.city-panel-copy h2 {
    font: 38px/1.15 var(--body-serif);
    margin: 0 0 11px;
    padding-bottom: 9px;
    border-bottom: 1px solid #8c653e;
}
.city-panel-copy p {
    font: 16px/1.5 var(--body-serif);
    color: #e0d7c3;
    margin: 0 0 15px;
}
.city-panel-copy .button {
    min-height: 40px;
    padding: 8px 18px;
    color: #f1ad6c;
    border-color: #ed8937;
    background: linear-gradient(135deg, #69391666, #0e171666);
    font-size: 13px;
}
.city-panel-copy .work-note {
    display: block;
    margin-block: 15px;
}
.city-suggestions {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}
.city-suggestion {
    display: grid;
    grid-template-columns: 29% 1fr 20px;
    align-items: center;
    gap: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #8c653e;
}
.city-suggestion > img {
    width: 100%;
    height: 95px;
    object-fit: cover;
    border: 1px solid #84623f;
}
.city-suggestion h3 {
    font: 28px/1.2 var(--body-serif);
    margin: 0 0 9px;
}
.city-suggestion p {
    color: #d1c9b8;
    font: 14px/1.5 var(--body-serif);
    margin: 0;
}
.city-suggestion > span {
    font: 29px var(--serif);
    color: var(--copper);
}
.dossier-in-progress {
    min-height: 200px;
    background: radial-gradient(ellipse, #7f562733, transparent), #0d1719;
    border: 1px dashed #93704b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px;
}
.dossier-in-progress > span {
    font: 12px var(--sans);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--copper);
}
.dossier-in-progress > p {
    font: 25px/1.4 var(--body-serif);
    color: #ead5b5;
    margin-bottom: 0;
}
.world-sections-index {
    border-top: 1px solid #5a4532;
    padding-top: 35px;
}
.world-sections-index > .section-heading h3 {
    font-size: 31px;
}
.world-section-theme .city-index {
    margin-top: 55px;
}
.world-section-theme .ambient-airship {
    top: 68px;
    width: 135px;
}
.library-section-theme .ambient-airship {
    top: 145px;
}
@media (max-width: 1350px) {
    .brand-library {
        margin-left: 30px;
        width: 310px;
    }
    .brand-library > img {
        width: 310px;
    }
    .library-section-theme .site-nav {
        gap: 20px;
    }
    .library-section-theme .site-nav a {
        font-size: 13px;
    }
    .library-featured .featured-copy {
        padding-inline: 22px;
    }
    .library-featured h3 {
        font-size: 30px;
    }
    .library-featured .button-row {
        flex-wrap: wrap;
    }
    .library-featured .button {
        padding-inline: 16px;
        font-size: 12px;
    }
    .atlas-heading {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .atlas-tabs {
        margin-left: auto;
    }
    .world-section-theme .site-nav {
        gap: 25px;
    }
    .world-section-theme .site-nav a {
        font-size: 14px;
    }
    .atlas-search {
        min-width: 200px;
    }
    .atlas-search input {
        width: 175px;
    }
}
@media (max-width: 1100px) {
    .library-section-theme .container {
        width: calc(100% - 80px);
    }
    .library-section-theme .page-heading {
        padding-left: 45px;
    }
    .library-section-theme .header-inner {
        gap: 20px;
    }
    .brand-library {
        width: 270px;
        margin-left: 10px;
    }
    .brand-library > img {
        width: 270px;
    }
    .brand-library .library-brand-subtitle {
        letter-spacing: 2px;
        font-size: 9px;
    }
    .atlas-search {
        display: none;
    }
    .illustrated-atlas {
        grid-template-columns: 1fr 0.9fr;
        gap: 20px;
    }
    .city-panel-art img {
        height: 185px;
    }
    .city-panel-copy h2 {
        font-size: 30px;
    }
    .city-panel-copy p {
        font-size: 14px;
    }
    .city-suggestion {
        gap: 15px;
        grid-template-columns: 29% 1fr;
    }
    .city-suggestion > span {
        display: none;
    }
    .city-suggestion h3 {
        font-size: 23px;
    }
    .city-suggestion p {
        font-size: 12px;
    }
    .city-suggestion > img {
        height: 80px;
    }
    .map-label {
        font-size: 12px;
        padding-inline: 6px;
    }
}
@media (max-width: 900px) {
    .library-section-theme .site-header {
        background: #081114c9;
    }
    .library-section-theme .header-inner {
        min-height: 102px;
    }
    .library-section-theme .site-nav {
        top: 102px;
    }
    .library-section-theme .site-nav a {
        font-size: 15px;
        padding-block: 13px;
    }
    .brand-library {
        margin-left: 0;
        width: 260px;
        padding-block: 10px;
    }
    .brand-library > img {
        width: 255px;
    }
    .library-section-theme .page-heading {
        padding-left: 25px;
    }
    .library-section-theme .page-heading h2 {
        font-size: 55px;
    }
    .library-section-theme .library-featured {
        grid-template-columns: 56% 44%;
    }
    .library-featured .featured-art,
    .library-featured .featured-art img {
        height: 335px;
        min-height: 335px;
    }
    .library-featured .featured-copy p {
        font-size: 14px;
    }
    .library-featured .featured-copy > .eyebrow {
        font-size: 12px;
    }
    .library-section > .audio-panel .audio-controls {
        padding-left: 175px;
        gap: 11px;
    }
    .library-section > .audio-panel .audio-top > span:first-child {
        font-size: 20px;
        gap: 11px;
    }
    .library-section > .audio-panel .audio-top .icon {
        width: 23px;
    }
    .library-section-theme .compact-chapters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .world-section-theme .site-header .brand {
        display: flex;
    }
    .world-section-theme .site-header .header-inner {
        width: calc(100% - 36px);
        min-height: 70px;
    }
    .world-section-theme .site-nav {
        top: 70px;
        margin: 0;
    }
    .world-section-theme .site-nav a {
        font-size: 16px;
        padding-block: 13px;
    }
    .world-section-theme .motion-toggle {
        width: 37px;
        height: 39px;
    }
    .atlas-masthead {
        height: 145px;
        background-position: 56% center;
    }
    .atlas-wordmark {
        width: 310px;
        left: 25px;
        top: 22px;
    }
    .atlas-wordmark img {
        width: 310px;
    }
    .atlas-wordmark > span {
        font-size: 9px;
        letter-spacing: 3px;
    }
    .atlas-wordmark small {
        font-size: 10px;
    }
    .atlas-heading h1 {
        font-size: 31px;
    }
    .atlas-tabs {
        flex-wrap: wrap;
        flex-shrink: 1;
        max-width: 100%;
        margin-left: 0;
        gap: 10px;
    }
    .atlas-tabs .filter-button {
        font-size: 14px;
        padding-inline: 13px;
    }
}
@media (max-width: 700px) {
    .illustrated-atlas {
        grid-template-columns: 1fr;
    }
    .map-label {
        font-size: 14px;
    }
    .city-panel-art img {
        height: 220px;
    }
    .city-panel-copy h2 {
        font-size: 35px;
    }
    .city-panel-copy p {
        font-size: 16px;
    }
    .city-suggestion {
        grid-template-columns: 29% 1fr 20px;
        gap: 18px;
    }
    .city-suggestion > span {
        display: block;
    }
    .city-suggestion h3 {
        font-size: 25px;
    }
    .city-suggestion p {
        font-size: 13px;
    }
    .city-suggestion > img {
        height: 90px;
    }
    .library-section-theme .library-featured {
        display: block;
    }
    .library-featured .featured-art,
    .library-featured .featured-art img {
        height: 260px;
        min-height: 0;
    }
    .library-featured .featured-copy {
        margin: 0;
        border-left: 0;
        border-top: 1px solid #775537;
        padding: 25px;
    }
    .library-featured h3 {
        font-size: 32px;
    }
    .library-featured .button-row {
        flex-wrap: nowrap;
    }
    .library-section-theme .page-heading {
        padding-left: 0;
    }
    .library-section > .audio-panel.audio-enhanced .audio-top {
        position: static;
        padding-bottom: 12px;
    }
    .library-section > .audio-panel .audio-top > span:first-child {
        font-size: 20px;
    }
    .library-section > .audio-panel .audio-controls {
        padding: 0;
    }
    .library-section > .audio-panel .audio-play {
        width: 39px;
        height: 39px;
    }
    .library-section > .audio-panel .audio-time {
        font-size: 11px;
        min-width: 31px;
    }
    .library-section > .audio-panel {
        padding: 15px;
    }
    .library-section > .audio-panel .speed-control select {
        padding-inline: 5px;
        font-size: 11px;
    }
    .library-section-theme .compact-chapters {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .library-section-theme {
        background-attachment: scroll;
        background-size: auto 900px;
        background-position: 30% top;
    }
    .library-section-theme .container {
        width: calc(100% - 36px);
    }
    .library-section-theme .header-inner {
        width: calc(100% - 28px);
        gap: 10px;
        min-height: 93px;
    }
    .library-section-theme .site-nav {
        top: 93px;
    }
    .brand-library {
        width: 205px;
        gap: 3px;
    }
    .brand-library > img {
        width: 205px;
    }
    .brand-library .library-author {
        font-size: 12px;
    }
    .brand-library .library-brand-subtitle {
        font-size: 9px;
        letter-spacing: 1.5px;
    }
    .library-section-theme .motion-toggle {
        margin-left: 0;
    }
    .library-section-theme .page-heading {
        padding: 25px 0;
    }
    .library-section-theme .page-heading h2 {
        font-size: 42px;
    }
    .library-section-theme .page-intro {
        font-size: 14px;
        letter-spacing: 0.9px;
    }
    .library-featured .featured-art,
    .library-featured .featured-art img {
        height: 230px;
    }
    .library-featured .featured-copy {
        padding: 23px;
    }
    .library-featured h3 {
        font-size: 29px;
    }
    .library-featured .button {
        padding-inline: 18px;
        font-size: 12px;
    }
    .library-section > .audio-panel {
        margin-top: 20px;
        margin-bottom: 29px;
    }
    .library-section > .audio-panel .audio-controls {
        gap: 8px;
    }
    .library-find {
        position: relative;
        top: auto;
        margin: 0 0 20px;
    }
    .library-find .search-field {
        position: static;
        width: 100%;
        margin-top: 13px;
    }
    .library-find input {
        width: 100%;
    }
    .library-section-theme .compact-chapter {
        height: 180px;
        min-height: 180px;
    }
    .compact-chapter h3 {
        font-size: 27px;
    }
    .library-section-theme .compact-chapters .chapter-pending {
        grid-template-columns: 45px 1fr;
        gap: 12px;
        padding: 22px;
    }
    .library-section-theme .compact-chapters .chapter-pending > .work-note {
        grid-column: 2;
    }
    .atlas-masthead {
        height: 125px;
        background-position: center;
    }
    .atlas-wordmark {
        width: 260px;
        left: 18px;
        top: 17px;
    }
    .atlas-wordmark img {
        width: 260px;
    }
    .atlas-wordmark > span {
        letter-spacing: 2px;
        font-size: 8px;
        margin-bottom: 7px;
    }
    .atlas-wordmark small {
        font-size: 9px;
        letter-spacing: 0.3px;
    }
    .atlas-heading {
        padding-block: 20px 22px;
        gap: 16px;
    }
    .atlas-heading h1 {
        font-size: 29px;
        line-height: 1.3;
    }
    .atlas-heading .eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
    }
    .atlas-tabs {
        gap: 6px;
    }
    .atlas-tabs .filter-button {
        font-size: 12px;
        padding: 7px 10px;
    }
    .atlas-tabs .atlas-all {
        font-size: 10px;
    }
    .map-label {
        font-size: 12px;
        padding: 3px 5px;
    }
    .map-city {
        min-width: 56px;
    }
    .map-point {
        width: 8px;
        height: 8px;
        border-width: 1px;
    }
    .map-label {
        margin-top: 9px;
    }
    .map-north {
        font-size: 10px;
    }
    .map-edition {
        font-size: 11px;
    }
    .city-panel-art img {
        height: 200px;
    }
    .city-panel-copy h2 {
        font-size: 33px;
    }
    .city-panel-copy p {
        font-size: 15px;
    }
    .city-suggestion h3 {
        font-size: 23px;
    }
    .city-suggestion p {
        font-size: 12px;
    }
    .world-section-theme .ambient-airship {
        top: 70px;
        width: 110px;
    }
    .library-section-theme .ambient-airship {
        top: 240px;
        width: 120px;
    }
}
@media (max-width: 360px) {
    .brand-library {
        width: 174px;
    }
    .brand-library > img {
        width: 174px;
    }
    .brand-library .library-brand-subtitle {
        font-size: 8px;
    }
    .library-section-theme .page-heading h2 {
        font-size: 38px;
    }
    .library-featured .button {
        font-size: 11px;
        padding-inline: 15px;
    }
}

/* Chapter catalog on the home page; atlas on its own page. */
.library-section-theme,
.world-section-theme {
    scroll-margin-top: 0;
}
.library-section-theme .page-heading h2 {
    color: var(--ink);
}
.library-section-theme .library-featured h3 {
    font-size: 40px;
}
.library-section-theme .compact-chapter h3 {
    font-size: 27px;
}
.world-section-theme {
    position: relative;
    padding-bottom: 75px;
    background: radial-gradient(ellipse at 25% 35%, #29363233, transparent 65%), #0b1011;
}
.atlas-scene {
    height: clamp(130px, 11vw, 170px);
    background:
        linear-gradient(0deg, #0b1011, transparent 65%),
        url('../assets/world-banner.webp') center 43% / cover;
    border-top: 1px solid #90674366;
}
.atlas-intro {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 15px;
}
.atlas-intro .eyebrow {
    margin: 0;
    color: #ecba85;
}
.atlas-intro .atlas-search {
    display: flex;
}
.world-section-theme .atlas-heading {
    padding-block: 15px 20px;
}
.world-section-theme .illustrated-atlas {
    grid-template-columns: 1.2fr 0.8fr;
}
.world-section-theme .city-dossier {
    position: sticky;
    top: 95px;
    scroll-margin-top: 105px;
}
.world-section-theme .city-panel-art img {
    height: 230px;
}
.world-section-theme .city-grid h4 {
    font: 27px/1.3 var(--body-serif);
    margin: 0 0 15px;
}
.world-section-theme .atlas-heading h1 {
    font-size: clamp(30px, 2.8vw, 45px);
}
.world-sections-index > .section-heading h3 {
    font: 31px/1.3 var(--body-serif);
    margin: 0;
}
.city-index .section-heading h3 {
    font: 39px/1.3 var(--body-serif);
    margin: 0;
}
.map-city:focus-visible {
    outline: 2px solid #ffe0a5;
    outline-offset: 5px;
}
@media (max-width: 1100px) {
    .library-section-theme .library-featured h3 {
        font-size: 30px;
    }
    .library-section-theme .page-heading {
        padding-left: 110px;
    }
    .world-section-theme .illustrated-atlas {
        grid-template-columns: 1.1fr 0.9fr;
    }
}
@media (max-width: 700px) {
    .library-section-theme {
        background-size:
            100% 1100px,
            auto 900px;
        background-position:
            top center,
            left top;
        padding-top: 15px;
    }
    .library-section-theme .page-heading {
        padding: 35px 0 30px 100px;
        min-height: 220px;
    }
    .library-section-theme .page-heading h2 {
        font-size: 43px;
        line-height: 1.13;
    }
    .library-section-theme .page-intro {
        font-size: 14px;
        line-height: 1.5;
        margin-top: 12px;
    }
    .library-section-theme .library-find {
        position: static;
        margin: 20px 0;
    }
    .library-section-theme .library-find .search-field {
        position: static;
        width: 100%;
    }
    .world-section-theme .illustrated-atlas {
        grid-template-columns: 1fr;
    }
    .world-section-theme .city-dossier {
        position: static;
    }
    .atlas-intro {
        flex-wrap: wrap;
    }
    .atlas-intro .atlas-search {
        flex: 1;
        margin: 0;
        min-width: 0;
    }
    .atlas-intro .atlas-search input {
        width: 100%;
        min-width: 0;
    }
    .atlas-intro .eyebrow {
        width: 100%;
    }
    .world-section-theme .atlas-heading {
        gap: 20px;
    }
    .world-section-theme .map-label {
        padding: 4px 9px;
        font-size: 12px;
    }
}
@media (max-width: 360px) {
    .library-section-theme .page-heading h2 {
        font-size: 36px;
    }
    .library-section-theme .page-heading {
        padding-left: 90px;
    }
    .world-section-theme .map-label {
        font-size: 11px;
        padding-inline: 8px;
    }
}
