/* Shared reading system: warm paper, fine rules, content first. */
/* Fan stories and their forms use the same readable secondary text as the archive. */
body .eri-main :is(.eri-card-meta,.eri-card p,.eri-card button,.eri-card>a,.eri-text-button,.eri-map-controls),
body #eri-dialog :is(.eri-form-grid label,.eri-check,.eri-detail dt,.eri-detail dd),
body #eri-status,body .eri-footer{font-size:.875rem;line-height:1.8;overflow-wrap:anywhere}
body .eri-main .eri-footnote,body #eri-dialog .eri-footnote{font-size:.875rem!important;line-height:1.8!important}
body .eri-card-meta{flex-wrap:wrap;gap:4px 16px}
body #eri-project-list .eri-card-meta,body #eri-project-list .eri-card button{font-size:.875rem}
body .eri-toolbar :is(input,select),body .eri-form-grid :is(input,textarea,select){font-size:1rem;min-height:44px}
body .eri-toolbar :is(input,select){min-width:0;max-width:100%}
body .eri-card button,body .eri-text-button,body .eri-map-controls button{min-height:44px;white-space:normal}
body #eri-dialog .eri-close{min-width:44px;min-height:44px}
@media(max-width:700px){
 body .eri-toolbar{align-items:stretch}
 body .eri-toolbar select{flex:1 1 145px;max-width:100%}
 body .eri-header nav{font-size:.875rem;line-height:1.7}
 body .eri-header nav a{display:inline-flex;align-items:center;min-height:44px}
}
:root{--muted:#b5b4ab;--line:#41423b}
.archive-main{padding-top:24px}.view-heading{margin-bottom:24px!important}.view-heading h2{font-size:clamp(28px,3vw,40px)}.view-heading p{max-width:55ch;font-size:14px;line-height:1.8;color:#bbb9af}
.archive-heading-quote,.reading-room-intro,.history-intro{display:none!important}
.archive-groups{display:none!important}.archive-tabs{margin-top:18px!important}
.photo-frame>button,.photo-frame>.live-photo-link{position:relative}.live-photo-link{display:block;width:100%;height:100%}.live-photo-badge{position:absolute;left:10px;top:10px;z-index:2;padding:4px 7px;border:1px solid #fff8;background:#111d;color:#fff;font-size:9px;line-height:1;letter-spacing:.12em}
.archive-tools,.maker-settings,.platform-card{background:transparent!important;border-radius:2px!important;box-shadow:none!important}.archive-tools{border:0!important;border-block:1px solid var(--line)!important;padding:16px 0!important;gap:14px!important}
.archive-tools label,.archive-tools select{font-size:13px!important}.archive-tools input{font-size:15px!important}.media-card-meta,.news-source,.source-inline,.extra-source,.photo-meta small,.collection-note,.eri-footnote,.community-app small,.catalog-note{font-size:12px!important;line-height:1.8!important;color:#b6b5ab!important}
.profile-story-copy,.news-body{max-width:72ch}.profile-story-copy p,.news-body{font-size:15px;line-height:1.95}.profile-index{font-size:13px}.media-card-description:empty{display:none}.media-card-description{line-height:1.8;color:#bbb9b0}
dialog:is(#archive-dialog,#dialog,#eri-dialog,.card-exhibit){border:1px solid #ffffff28;border-radius:4px;background:#191a17;color:#f0ede5;padding:clamp(22px,4vw,48px);max-height:90dvh;overscroll-behavior:contain}
dialog :is(.dialog-close,.eri-close,.card-exhibit-close){position:sticky;top:0;float:none;display:block;margin:0 0 20px auto;min-width:40px;min-height:40px;z-index:8;background:#24251f}
#eri-dialog-body{display:flow-root;clear:both}#eri-dialog-body>h2{font-size:clamp(24px,4vw,34px);line-height:1.5;margin:0 0 18px;padding-right:10px}#eri-dialog-body>.eri-submit{display:inline-flex;align-items:center;justify-content:center;margin-top:24px;white-space:normal;min-height:48px}#eri-dialog-body>.eri-footnote{max-width:48ch}
.photo-viewer{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(220px,.7fr);gap:24px;align-items:center}.photo-viewer-toolbar{grid-column:1/-1}.photo-viewer-image{display:flex;justify-content:center;min-width:0;width:100%!important;background:transparent!important}.photo-viewer-image img{max-height:72dvh!important;width:auto!important;max-width:100%;object-fit:contain;margin:auto}.photo-viewer-info{padding:0!important;min-width:0}.photo-viewer-info h2{font-size:25px!important;line-height:1.5}
.photobook-detail>.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.photobook-detail .photo-thumb{height:auto;aspect-ratio:auto}.photobook-detail .photo-thumb img{max-height:650px;object-fit:contain}.photobook-detail .photo-meta{font-size:13px}.photobook-detail>.collection-note{margin:18px 0}.editorial-details{border-top:1px solid var(--line);padding:14px 0;margin:18px 0;font-size:13px;color:#b6b5ab}.editorial-details summary{cursor:pointer;color:#ddd8cb}.editorial-details p{margin:14px 0;line-height:1.9}.related-video-group{border-top:1px solid var(--line);padding:16px 0}.related-video-group summary{cursor:pointer;font-size:15px}.related-video-group .media-grid{margin-top:20px}.release-listening-note{border-left:2px solid #ec997b;padding:8px 20px;margin:25px 0}.release-listening-note small{color:#ec997b}.release-listening-note p{font-size:14px;line-height:1.8}
.start-route{margin:32px 0;padding:28px 0;border-block:1px solid var(--line)}.start-route>header{display:flex;justify-content:space-between;gap:20px;align-items:baseline;margin-bottom:24px}.start-route h3{font-weight:400;font-size:27px}.start-route header p{color:#bbb9af;font-size:13px}.route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.route-card{display:block;border-bottom:1px solid var(--line);padding:0 0 20px;min-width:0}.route-cover{display:block;aspect-ratio:16/10;overflow:hidden;margin-bottom:14px}
.route-cover img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(var(--route-cover-scale,1.13))}
.route-cover[data-route-cover="mv--EfjXQgE1e8"]{--route-cover-scale:1.18}
.route-cover[data-route-cover="mv-8M3WUaeIbOk"]{--route-cover-scale:1.65}.route-card small{color:#e9a182;font-size:11px}.route-card h4{font-size:19px;font-weight:500;margin:8px 0}.route-card p{font-size:13px;color:#bbb9af;line-height:1.8}
.reading-notes{margin:30px 0;border-top:1px solid var(--line);padding-top:24px}.reading-notes h3{font-size:25px;font-weight:400}.reading-notes article{padding:22px 0;border-bottom:1px solid var(--line);max-width:78ch}.reading-notes h4{font-size:20px;font-weight:400;margin:8px 0}.reading-notes p{font-size:14px;line-height:1.9;color:#c1bfb6}.reading-notes small{color:#e9a182}.reading-notes a{display:inline-block;font-size:13px;margin-top:12px;color:#e9b29a}.reading-notes details{margin:14px 0}.reading-notes summary{cursor:pointer;font-size:14px}.reading-notes ul{line-height:1.9;font-size:14px}
.maker-task-nav{display:flex;gap:28px;margin:18px 0 26px;padding-bottom:14px;border-bottom:1px solid var(--line)}.maker-task-nav a{font-size:14px}.card-library-item{position:relative}.card-manage-visible{font-size:12px;color:#bbb9af;padding:8px 0}.card-library-heading p{font-size:13px}.maker-intro{padding:30px 0!important}.maker-intro h3{font-size:25px!important}.maker-export{background:transparent!important;border-top:1px solid var(--line)}.maker-export h3{font-size:22px}.schedule-calendar-toggle{margin:20px 0;border-bottom:1px solid var(--line);padding-bottom:15px}.schedule-calendar-toggle summary{cursor:pointer;font-size:14px}
@media(max-width:700px){.archive-main{padding-inline:20px!important}.route-grid{grid-template-columns:1fr 1fr;gap:18px}.start-route>header{display:block}.start-route header p{margin-top:12px}.photo-viewer{grid-template-columns:1fr}.photo-viewer-image img{max-height:65dvh!important}.photobook-detail>.photo-grid{grid-template-columns:1fr}.archive-tools{gap:12px!important}.archive-tabs{flex-wrap:wrap!important}.archive-tabs [role=tab]{font-size:13px;min-height:44px}.platform-card{padding:20px 12px!important}.maker-task-nav{position:relative}.route-card h4{font-size:17px}}
html[data-reduced-motion="true"]{scroll-behavior:auto}html[data-reduced-motion="true"] .card-flip-inner{animation:none!important;transition:none!important}

.schedule-layout{grid-template-columns:1fr!important}.schedule-calendar-toggle{max-width:380px}

.maker-samples{border-block:1px solid var(--line);padding:20px 0;margin:12px 0 24px}.maker-samples summary{cursor:pointer;font-size:15px}.maker-samples p{max-width:65ch;line-height:1.85;font-size:14px;color:#c7c4b9}.maker-samples>div{display:flex;gap:30px}.maker-samples button{padding:0;background:none;border:0;color:inherit;text-align:left;font-size:13px}.sample-art{display:flex;align-items:center;justify-content:center;width:140px;height:210px;margin:12px 0;font:22px Georgia;line-height:1.5;border-radius:7px;border:1px solid #e5c298}.sample-art.night{background:#22283b;color:#e9c59c}.sample-art.peach{background:#f1cec3;color:#a95645}

.result-year-jumps{display:flex;flex-wrap:wrap;gap:10px 22px;padding:15px 0;border-bottom:1px solid var(--line);font-size:14px}.result-year-jumps a{padding:8px 0;color:#d2cfc2}.archive-year-section{scroll-margin-top:100px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #f0bd9a;outline-offset:4px}dialog{max-width:calc(100vw - 32px)}@media(max-width:700px){.profile-likes-grid,.profile-extras,.profile-milestones{grid-template-columns:1fr!important}.archive-tools input,.archive-tools select{min-width:0;max-width:100%}.maker-samples>div{gap:16px}.sample-art{width:125px;height:190px}}

.profile-notes-grid,.tour-city-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px}.profile-notes-grid article{margin:0;padding:20px 0;border-top:1px solid #44483b}.tour-city-grid>details{padding:16px 0;border-bottom:1px solid #44483b}.tour-city-grid summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer}.tour-city-grid a{display:inline-block;margin:4px 0}.reading-notes li{margin:12px 0}.reading-notes small{font-size:12px;color:#c6cab4}@media(max-width:640px){.profile-notes-grid,.tour-city-grid{grid-template-columns:1fr}}

/* Shared readable controls and editorial reading blocks. */
.archive-tools button,.archive-tabs [role=tab],.photo-meta time,.photo-meta small,.news-detail time,.view-number,.eri-kicker{font-size:13px!important}.release-artist-note,.release-recommended{padding:22px 0;border-top:1px solid var(--line)}.release-artist-note p,.release-recommended p{max-width:70ch;line-height:1.9;font-size:15px}.release-artist-note a,.release-recommended small{font-size:13px;color:#e9b29a}.release-credits article{padding:18px 0;border-top:1px solid var(--line)}.release-credits dl div{display:grid;grid-template-columns:55px 1fr;gap:12px;margin:7px 0}.release-credits dd{margin:0;overflow-wrap:anywhere}.tour-edition ol{columns:2;column-gap:32px}.tour-edition li{break-inside:avoid}.fan-original-link{min-height:150px;display:flex;flex-direction:column;justify-content:center;gap:18px;padding:26px;background:#20221d;border-block:1px solid #44483b}.fan-original-link span{font-size:12px;letter-spacing:.08em;color:#c8c5b8}.fan-original-link strong{font-size:20px;font-weight:400}.fan-original-link:hover strong{text-decoration:underline}.fan-card-embed:has(.fan-original-link){min-height:0!important}.eri-empty a{display:inline-block;margin:14px 0;text-decoration:underline}.release-detail-head>div{min-width:0}dialog img{max-width:100%}dialog p,dialog h2,dialog h3,dialog a{overflow-wrap:anywhere}.photo-viewer-toolbar{flex-wrap:wrap;gap:10px}.photo-viewer-toolbar button{min-height:40px}.archive-search input{min-width:0!important}.tour-city-grid summary small{flex-shrink:0}@media(max-width:540px){.tour-edition ol{columns:1}.release-detail-head{grid-template-columns:1fr!important}.release-detail-head>img{max-width:200px;margin:auto}.release-credits dl div{grid-template-columns:1fr;gap:3px}.eri-form-grid{grid-template-columns:1fr!important}.eri-form-grid .wide{grid-column:auto!important}}
/* Gallery controls share one aligned reading rhythm, including narrow screens. */
.gallery-view .gallery-filter-drawer> :is(label,div){display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:8px!important;margin:0!important;padding:0!important;min-width:0;text-align:left}
.gallery-view .gallery-filter-drawer :is(label,span){font-size:13px;letter-spacing:0;color:#b5b4ab}
.gallery-view .gallery-filter-drawer select{width:100%!important;max-width:100%!important;min-height:44px;border:0!important;border-bottom:1px solid #ffffff30!important;border-radius:0!important;background:#171816!important;padding:10px 0!important;font-size:14px!important}
.gallery-view .gallery-filter-drawer a{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.gallery-view .gallery-clear{font-size:13px;min-height:44px;align-self:end;padding:10px 0}
.gallery-view .photo-card .photo-caption p,.gallery-view .photo-card .photo-caption small{font-size:12px!important;line-height:1.7!important;overflow-wrap:anywhere}
.gallery-view .archive-results-meta{font-size:12px!important;line-height:1.7}
@media(max-width:700px){.archive-tools :is(input,select),.gallery-view .gallery-filter-drawer select,.maker-settings :is(input,select){font-size:16px!important}.gallery-view .gallery-filter-drawer{align-items:start}.gallery-view .gallery-filter-drawer .project-filter select,.gallery-view .gallery-filter-drawer .video-platform-filter select{margin:0!important}}

@media(max-width:700px){.gallery-view .photo-caption{flex-wrap:wrap;gap:5px}.gallery-view .photo-caption>div{min-width:0;width:100%}.gallery-view .gallery-artist-caption p{font-size:13px}}
.programme-episodes{list-style:none;padding:0;margin:18px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.programme-episodes li{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px;border-bottom:1px solid var(--line);padding:12px 0;margin:0}.programme-episodes li>span{color:#b5b4ab;font-size:12px}.programme-episodes a{margin:0}.programme-catalogue{padding:12px 0}#programme-directory h5{font-size:14px;font-weight:500;color:#c8c5b8;margin:20px 0 8px}@media(max-width:650px){.programme-episodes{grid-template-columns:1fr}}
.photobook-bibliographic-cover{margin:28px 0;max-width:272px}.photobook-bibliographic-cover img{display:block;width:100%;height:auto;max-height:380px;object-fit:contain;object-position:left center}.photobook-bibliographic-cover figcaption{margin-top:10px;color:#c5c7bc;font-size:13px;line-height:1.6}
/* Shared editorial surfaces: let photographs carry the colour. */
body #archive-dialog :is(.release-detail,.photobook-detail,.magazine-reader,.personal-detail,.award-detail){padding:8px 0 0}
body #social-results .personal-post{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:28px 0 34px}
body .social-day{border-color:var(--line)}
body .social-day-heading:before{background:#ddd5c8;box-shadow:none}
body .social-day-heading time,body .social-day-heading span{color:var(--muted)}
body .award-visual.award-album img,body .award-featured-work .media-is-release img{background:#202020}
body .personal-intro b{color:var(--cream);font-weight:300}
body .bilingual-pair,body .bilingual-pair .translated-column{border-color:var(--line)}
body .photobook-detail .photo-frame,body .photobook-detail .photo-thumb{background:#202020}
body :is(.special-moments,.archive-heading-quote){background:transparent;border-color:var(--line);padding-inline:0}
body .fan-quote{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:24px 0}
body .fan-quote-wall{column-gap:36px}
:root{--bg:#171717;--bg2:#202020;--line:#ffffff24;--muted:#aaa7a2;--cream:#f0ede7}
body :is(.awards-intro,.personal-intro,.social-intro,.schedule-overview,.history-intro){background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:20px 0 28px;box-shadow:none;gap:32px}
body :is(.awards-intro,.personal-intro,.social-intro) h3{font-size:clamp(21px,2.3vw,30px);line-height:1.45}
body :is(.awards-intro,.personal-intro) dd{color:var(--cream);font-size:clamp(32px,4vw,48px);font-weight:300}
body :is(.awards-intro>div>span,.award-type,.award-description,.award-card-body p,.award-card-top,.personal-reply-context,.year-overview p){color:#bdb9b2}
body .awards-grid{gap:16px 44px}
body .award-card{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:24px 0 30px}
body .award-card-links{border-color:var(--line);color:#c7c3bc}
body :is(.personal-post,.social-card){background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:28px 0 34px;box-shadow:none}
body .personal-reply-context,body .reply-context{background:transparent;border-left:1px solid #ffffff40;padding:6px 0 6px 22px;margin:24px 0;color:#bdb9b2}
body :is(.personal-avatar,.platform-card .account-avatar){background:#303030;color:#e5ded3}
body :is(.translation-block,.release-official-intro,.interview-quote){background:transparent;border:0;border-left:1px solid #ffffff40;border-radius:0;padding:6px 0 6px 24px;box-shadow:none}
.interview-bilingual-reader{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:24px;align-items:start;margin-top:24px}.interview-source-reader,.interview-translation{min-width:0;border:1px solid var(--line,#3c4037);padding:18px;background:#151713}.interview-source-reader>div{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:14px}.interview-source-reader h4,.interview-translation>h4{margin:0;color:#fff}.interview-source-reader p{flex:1 1 240px;margin:0;color:#aaa;font-size:13px}.interview-source-reader a{color:var(--accent,#ff8058);white-space:nowrap}.interview-source-reader iframe{display:block;width:100%;height:min(66vh,680px);border:0;background:#fff}.interview-translation .interview-intro{font-size:15px;line-height:1.9}.interview-translation .interview-topics{margin-top:18px}.interview-translation .interview-topics section{grid-template-columns:32px minmax(0,1fr);gap:10px;padding:16px 0}.interview-translation .interview-topics h5{font-size:16px;margin:0 0 8px;color:#fff}.interview-translation-note{font-size:12px;line-height:1.7;color:#999;border-top:1px solid var(--line,#3c4037);padding-top:14px}.interview-original-image img{max-height:520px;object-fit:contain;background:#10110f}
body .year-feature{background:transparent;border:0;border-block:1px solid var(--line);padding:28px 0;gap:36px}
body .year-stories .illustrated-story{background:transparent;border:0;border-bottom:1px solid var(--line);gap:28px;padding:0 0 28px;border-radius:0}
body .story-cover{background:transparent;padding:0}
body .linked-media-card.compact{background:transparent;border:0;border-left:1px solid var(--line);padding:4px 0 4px 14px}
body :is(.linked-media-card>button,.linked-media-card.media-is-release>button>img,.photo-frame,.photo-thumb,.media-thumb,.release-art,.record-placeholder,.post-image-canvas,.image-fallback,.media-no-preview){background:#202020;border-color:var(--line)}
body :is(.extra-record,.news-sidebar,.hub-links a,.platform-card,.calendar-panel,.year-event-grid button,.history-home-link a,.official-post-grid button,.schedule-timeline,.timeline-card,.video-source-picker,.platform-panel){background:transparent;border-color:var(--line);border-radius:0;box-shadow:none}
body :is(.post-image-grid>button,.post-image-thumbnails button){background:#202020;border-color:var(--line)}
body dialog:is(#archive-dialog,#dialog,#eri-dialog,.card-exhibit),body #archive-dialog:has(.magazine-reader){background:#1c1c1c;color:var(--cream);border:1px solid #ffffff26;border-radius:3px}
body dialog::backdrop{background:#080808c9;backdrop-filter:blur(8px)}
body dialog :is(.dialog-close,.eri-close,.card-exhibit-close),body #archive-dialog:has(.magazine-reader)>.dialog-close{background:#252525;color:var(--cream);border-color:#ffffff35}
body :is(.magazine-reader .reader-toolbar button,.magazine-reader .reader-controls select,.magazine-reader .reader-arrow,.post-image-tools button,.post-image-controls button,.release-save,.video-platform-filter select,.project-filter select,.gallery-series-picker select){background:transparent;color:var(--cream);border-color:#ffffff30}
body .magazine-reader .reader-arrow:hover:not(:disabled){background:#ffffff10}
body .release-save[aria-pressed=true],body .magazine-reader .reader-toolbar button[aria-pressed=true]{background:var(--cream);color:#171717;border-color:var(--cream)}
body :is(.personal-post,.award-card,.release-official-intro,.magazine-reader,.illustrated-story) p{color:#c7c3bc}
body :is(.personal-original,.personal-translation){border-color:var(--line)}
@media(max-width:700px){body .awards-grid{gap:10px}body .year-stories .illustrated-story{gap:18px}body .year-feature{gap:20px}body .personal-reply-context,body .reply-context{padding-left:14px}body :is(.translation-block,.release-official-intro,.interview-quote){padding-left:16px}body :is(.awards-intro,.personal-intro){gap:20px}}
@media(max-width:820px){.interview-bilingual-reader{grid-template-columns:1fr;gap:16px}.interview-source-reader,.interview-translation{padding:14px}.interview-source-reader iframe{height:58vh}.interview-original-image{margin-inline:0}.interview-original-image img{width:100%}}
/* Photo credits remain legible in both gallery cards and collection dialogs. */
body .photo-caption{align-items:flex-start;flex-wrap:wrap;gap:6px 14px}
body .photo-caption>div{min-width:0;flex:1 1 180px}
body .photo-caption h3{font-size:15px;line-height:1.6;overflow-wrap:anywhere}
body .photo-caption p,body .photo-caption small,body .photo-caption time{font-size:12px!important;line-height:1.75!important;overflow-wrap:anywhere}
body .photo-caption>small,body .photo-caption>time{flex:0 0 auto;max-width:100%}
@media(max-width:700px){body .photo-caption>div{flex-basis:100%}body .photo-caption h3{font-size:14px}body .photo-caption>small,body .photo-caption>time{width:100%}}
/* Match the card management popover to the shared neutral dialog surfaces. */
body .card-context-menu{background:#202020;border:1px solid #ffffff30;border-radius:4px;color:#f0ede7}
body .card-context-menu button{color:#f0ede7;font-size:14px;min-height:44px}
body .card-context-menu button:hover,body .card-context-menu button:focus-visible{background:#ffffff12;color:#fff}

/* Open an entry to see context, sources and sharing actions. */
.entry-title{display:block;text-align:left;color:inherit;background:none;border:0;padding:0;cursor:pointer;max-width:100%}.entry-title:hover h3,.award-card-body button:hover h3,.story-title:hover h3{color:var(--accent,#ff815c)}.entry-title:focus-visible,.story-title:focus-visible,.award-card-body button:focus-visible{outline:2px solid #ff815c;outline-offset:5px}.personal-post .entry-title{margin:18px 0}.award-card-top{min-height:20px}
.tour-city-grid{align-items:start;grid-template-columns:repeat(auto-fit,minmax(min(100%,26rem),1fr))}.tour-city-grid>.tour-city{min-width:0}.tour-city-grid>.tour-city>summary{flex-wrap:wrap;align-items:baseline}.tour-city-grid>.tour-city>summary small{flex-shrink:1;overflow-wrap:anywhere}.tour-city-sources{margin-top:12px}.tour-city-sources>summary{font-size:13px}.tour-city-sources ul{padding-left:18px}.tour-city-sources a{overflow-wrap:anywhere}

/* Photo details reserve one compact control row, not nested opening padding. */
body #archive-dialog:has(.photo-viewer){padding:clamp(16px,2.5vw,28px)}
body #archive-dialog:has(.photo-viewer)>.dialog-close{margin-bottom:8px}
body #archive-dialog .photo-viewer{padding:0;row-gap:16px;align-items:start}
body #archive-dialog .photo-viewer-toolbar{margin:0;min-width:0}
body #archive-dialog .photo-viewer-info{margin:0;text-align:left}
body #archive-dialog .photo-viewer-image img{max-height:calc(90dvh - 160px)!important}
@media(max-width:700px){body #archive-dialog .photo-viewer{gap:16px}body #archive-dialog .photo-viewer-image img{max-height:55dvh!important}body #archive-dialog .photo-viewer-info h2{font-size:22px!important}}


/* Programme names stay visible; episode lists and notes open on demand. */
#programme-directory .programme-row{padding:0;background:transparent}#programme-directory .programme-show>summary{min-height:52px;padding:16px 0;cursor:pointer}#programme-directory .programme-show>summary h4{display:inline;margin:0;font-size:17px;line-height:1.6;font-weight:500}#programme-directory .programme-season{display:inline-block;margin-left:12px;color:#b8b5af;font-size:13px}#programme-directory .programme-content{padding:0 0 20px 20px}#programme-directory .programme-show>summary:focus-visible{outline:2px solid #ff986a;outline-offset:3px}@media(max-width:600px){#programme-directory .programme-content{padding-left:8px}#programme-directory .programme-season{display:block;margin:6px 0 0 20px}}
.programme-library{display:grid;gap:46px;margin-top:34px}.programme-shelf{min-width:0}.programme-shelf>header{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:0 0 15px;margin-bottom:20px;border-bottom:1px solid var(--line)}.programme-shelf>header small{display:block;color:var(--accent,#ef855e);font-size:10px;letter-spacing:.18em;margin-bottom:7px}.programme-shelf>header h3{font-size:clamp(20px,2.4vw,30px);line-height:1.2;margin:0;font-weight:500}.programme-shelf>header>span{color:#b8b5af;font-size:13px;white-space:nowrap}.programme-shelf .media-grid{margin-top:0}@media(max-width:600px){.programme-library{gap:34px;margin-top:24px}.programme-shelf>header{align-items:start;margin-bottom:15px}.programme-shelf>header h3{font-size:21px}}
.programme-installment+.programme-installment{margin-top:32px}.programme-installment>h4{margin:0 0 15px;padding-bottom:9px;border-bottom:1px solid #ffffff18;color:var(--accent,#ef855e);font-size:14px;font-weight:500;letter-spacing:.04em}
.result-year-select{display:flex;align-items:center;gap:6px;margin:0;color:var(--muted);font-size:11px;white-space:nowrap}.video-platform-filter .result-year-select select{width:104px!important;min-width:104px!important;max-width:104px!important;padding:9px 26px 9px 9px;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--cream);font:inherit}.video-platform-filter .result-year-select{margin-left:6px}@media(max-width:600px){.video-platform-filter .result-year-select select{width:102px!important;min-width:102px!important;max-width:102px!important;font-size:16px}.video-platform-filter .result-year-select{margin-left:70px}.video-platform-filter .result-year-select+ a{margin-left:70px}}
/* Original posts use one reading surface, without nested card padding. */
body #archive-dialog:has(.social-detail){padding:clamp(16px,2.5vw,28px)}
body #archive-dialog:has(.social-detail)>.dialog-close{margin-bottom:8px}
body #archive-dialog .social-detail{padding:0}
body #archive-dialog .social-detail h2{margin:10px 0 8px;line-height:1.4}
body #archive-dialog .social-detail .news-body{margin:16px 0;line-height:1.8}
body #archive-dialog .social-detail .original-embed{padding:0;border:0;margin:20px 0}
body #archive-dialog .social-detail .original-embed iframe{margin:0 auto}
/* Keep video titles and original embeds close to the dialog controls. */
body #archive-dialog:has(.video-detail){padding:clamp(16px,2.5vw,28px)}
body #archive-dialog:has(.video-detail)>.dialog-close{margin-bottom:8px}
body #archive-dialog .video-detail{padding:0}
body #archive-dialog .video-detail h2{margin:10px 0 16px;line-height:1.4}
/* Gallery metadata remains readable without adding another card surface. */
body .gallery-view .photo-topics small{font-size:12px;color:#aaa7a2}
body .gallery-view .photo-topics{display:flex;flex-wrap:wrap;overflow:visible;column-gap:28px;row-gap:4px;align-items:center;padding:4px 0 14px;border-bottom:1px solid var(--line);scrollbar-width:none}
body .gallery-view .photo-topics button{flex:0 0 auto;white-space:nowrap;padding:9px 0 8px;line-height:1.5}
body .gallery-view .photo-topics button[aria-pressed=true]{color:var(--cream);border-bottom-color:#ef9b7b}
body .gallery-view .linked-photo-posts .official-post-grid small,
body .gallery-view .linked-photo-posts .official-post-grid time{font-size:12px;line-height:1.7}
body .gallery-view .linked-photo-posts .official-post-grid time{color:#aaa7a2}
body .gallery-view .linked-photo-posts .official-post-grid p{font-size:13px;line-height:1.8}
body .gallery-view .gallery-artist-caption small,
body .gallery-view .gallery-artist-caption a,
body .gallery-view .gallery-filter-drawer label,
body .gallery-view .gallery-year-field>span,
body .gallery-view .gallery-filter-drawer a,
body .gallery-view .archive-results-meta{font-size:12px;line-height:1.7}

/* Keep archive reading text legible on desktop and narrow screens. */
body .media-card .media-card-description{font-size:13px;line-height:1.85;color:#bbb9b0}
body #archive-content .archive-results-meta{font-size:12px;line-height:1.7;color:#b5b2ad}
body #archive-content .category-chips button span{font-size:12px;color:#aaa7a2;opacity:1}
body #archive-content .category-chips button:is(.active,[aria-pressed=true]) span{color:#e9b696}

/* Source context should remain readable alongside bilingual post text. */
body #social-results .personal-post-top small,
body #social-results .post-attachments-heading small,
body #archive-dialog .personal-detail .post-attachments-heading small,
body #archive-dialog .personal-detail .original-column small,
body #archive-dialog .personal-detail .translated-column small,
body #archive-dialog .personal-detail .personal-reply-context>a,
body #archive-dialog .personal-detail .video-detail-links a{font-size:12px;line-height:1.7}
body #social-results .post-attachments-heading small,
body #archive-dialog .personal-detail .post-attachments-heading small{color:#aaa7a2}

/* Award metadata must remain readable when the layout switches to one column. */
body .award-card-top,body .award-type,body .award-card-links,
body .award-visual>span,body .award-evidence,body .award-evidence>span{
  font-size:.8125rem;line-height:1.7;
}
body .award-card-body p,body .award-description,body .award-scope{
  font-size:.875rem;line-height:1.85;
}
body .award-card-body>div{min-width:0}
body .award-card-top{flex-wrap:wrap}
body .award-card-body p,body .award-description,body .award-evidence a{overflow-wrap:anywhere}
@media(max-width:450px){
  body .award-card-body{flex-wrap:wrap;align-items:flex-start;gap:14px}
  body .award-card-body>div{flex:1 1 150px}
}
/* Photo credits and navigation should be readable without enlarging the image. */
body #archive-dialog .photo-viewer-info{min-width:0;overflow-wrap:anywhere}
body #archive-dialog .photo-viewer-info p{font-size:.875rem;line-height:1.85;color:#bbb9b0}
body #archive-dialog .photo-viewer-info a,
body #archive-dialog .photo-viewer-info summary,
body #archive-dialog .photo-viewer-info button,
body #archive-dialog .photo-viewer .photo-book-back,
body #archive-dialog .photo-viewer-toolbar button{font-size:.875rem;line-height:1.6}
body #archive-dialog .photo-viewer .viewer-count{font-size:.8125rem;line-height:1.8;white-space:normal;color:#bbb9b0}
body #archive-dialog .photo-viewer-toolbar{display:flex;flex-wrap:wrap;gap:8px}
body #archive-dialog .photo-viewer-toolbar button{min-height:44px;padding:8px 12px}
body #archive-dialog .photo-viewer-info button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;min-height:44px}
/* Keep the first photographs within reach on narrow archive screens. */
@media(max-width:760px){
 body .gallery-view .view-heading{margin:8px 0 14px!important;gap:10px}
 body .gallery-view .gallery-eyebrow{margin-bottom:8px}
 body .gallery-view .view-heading p{margin-top:8px}
 body .gallery-view .fan-contribute{margin-bottom:0}
 body .gallery-view .photo-topics{margin:12px 0 8px;padding-bottom:12px;column-gap:22px}
 body .gallery-view .archive-tools.gallery-toolbar{margin:12px 0 0!important;padding:8px 0;gap:4px 16px}
 body .gallery-view .gallery-toolbar input{padding:8px 0}
 body .gallery-view .archive-results-meta{margin:12px 0 14px!important;padding:6px 0}
 body .gallery-view .archive-year-section{margin:20px 0 32px}
 body .gallery-view .archive-year-heading{padding-bottom:8px;margin-bottom:14px;gap:12px;align-items:baseline}
 body .gallery-view .archive-year-heading h3{font-size:26px;line-height:1.3}
 body .gallery-view .gallery-series>header{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-bottom:12px}
 body .gallery-view .gallery-series>header h4{font-size:18px;line-height:1.5}
}

/* Keep tour dates and full video titles readable as the available column narrows. */
.tour-city-grid>.tour-city>summary{min-height:44px;box-sizing:border-box;gap:6px 16px}
.tour-city-grid>.tour-city>summary small{font-size:14px;line-height:1.6}
.tour-city-grid>.tour-city>ul{padding-left:20px}
.tour-city-grid>.tour-city>ul a{min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;line-height:1.7;padding:8px 0;overflow-wrap:anywhere}

/* Photo credits and dates remain readable in both gallery cards and book dialogs. */
body .photo-card .photo-caption p,body .photo-card .photo-caption small,body .photo-card .photo-caption time,
body .photobook-detail .collection-note,body .photo-source-details,body .photo-viewer-info>p,
body .photo-viewer-info .viewer-count{font-size:14px!important;line-height:1.75!important;color:#c4c0b8!important;overflow-wrap:anywhere}
body .photobook-detail .editorial-details{font-size:14px;line-height:1.75}

/* Video dates, playback choices and provenance must remain readable on narrow screens. */
body .media-card .media-card-meta{font-size:.875rem!important;line-height:1.75!important;color:#c4c0b8!important;flex-wrap:wrap;overflow-wrap:anywhere}
body .media-card .media-card-status{font-size:.875rem;line-height:1.75;overflow-wrap:anywhere}
body .video-detail :is(.video-source-meta,.video-source-title,.video-source-date-note,.video-fallback-note),
body .video-detail .video-source-heading>span,
body .video-detail .video-source-buttons button small{font-size:.875rem;line-height:1.75;color:#c4c0b8;overflow-wrap:anywhere}
body .video-detail .video-source-meta time{color:inherit}
body .video-detail .video-source-buttons button[aria-pressed=true] small{color:#344026}
body .video-detail .video-source-buttons button{min-width:0;max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere}
body .video-detail :is(.video-source-links,.video-detail-links){font-size:.875rem;gap:8px 20px;flex-wrap:wrap}
body .video-detail :is(.video-source-links,.video-detail-links) :is(a,button){font-size:inherit;line-height:1.75;min-height:44px;max-width:100%;display:inline-flex;align-items:center;padding:8px 0;white-space:normal;overflow-wrap:anywhere}
body #archive-dialog .news-detail .video-detail-links .button-orange{color:#171816!important;background:#ef845b!important;padding:14px 24px;border:1px solid #ef845b;font-weight:650}
body #archive-dialog .news-detail .video-detail-links .button-orange:hover{color:#10120f!important;background:#ffa780!important;border-color:#ffa780}

/* Keep the profile-to-growth handoff compact after the profile extras were removed. */
body .profile-top+[data-growth-entry]{margin:-38px 0 22px;line-height:1.5}
body .profile-top+[data-growth-entry] a{display:inline-block;padding:2px 0}
@media(max-width:760px){body .profile-top+[data-growth-entry]{margin:-18px 0 20px}}
body .profile-growth-link{display:inline-block;margin:4px 0 14px;color:#f0a17c;font-size:12px;border-bottom:1px solid #f0a17c66;padding-bottom:3px}
body .profile-growth-link:hover{color:#ffc0a2;border-color:#ffc0a2}
body .gallery-caption-translation span{display:block;margin-bottom:3px;color:#dca482;font-size:9px;letter-spacing:.08em}
body .media-card.douyin-card .media-thumb{aspect-ratio:16/9;max-height:none;background:#111}
body .media-card.douyin-card .media-thumb>button[data-video]{height:100%}
body .media-card.douyin-card .media-thumb>button[data-video]>img{width:100%;height:100%;object-fit:cover;object-position:center}
body .media-card.douyin-card .douyin-cover-preview{inset:0!important;width:100%!important;height:100%!important;max-width:100%!important;transform:none!important}
@media(max-width:900px){body .profile-index{display:none!important}}
/* Empty-result actions remain distinct and readable on narrow screens. */
.content-empty button{font-size:.875rem;min-height:44px;margin:4px 12px;max-width:100%;white-space:normal;line-height:1.6}
body .video-detail .video-source-buttons{max-height:26rem;overflow-y:auto;overscroll-behavior:contain;padding:2px}
body .video-detail .video-source-buttons button[hidden]{display:none!important}
body .video-detail .video-source-buttons .video-version-label{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body .video-detail .video-version-search{display:block;margin:0 0 14px;font-size:1rem}
body .video-detail .video-version-search input{display:block;width:100%;margin-top:7px;min-height:44px;padding:10px 12px;border:1px solid #60704f;background:#182014;color:inherit;font:inherit}
body .video-detail .video-source-version{font-size:1rem;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:600px){#archive-dialog:has(.video-detail){padding:44px 14px 18px}.video-detail h2{font-size:20px;line-height:1.4;margin:8px 0 12px}.video-detail .video-source-player{margin-top:10px}.video-detail .video-source-picker{padding:10px;margin:12px 0}.video-detail .video-source-heading{margin-bottom:8px}.video-detail .video-source-heading b{font-size:12px}.video-detail .video-source-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:12rem}.video-detail .video-source-buttons button{display:block;min-height:0;padding:7px 8px;font-size:10px;line-height:1.35}.video-detail .video-source-buttons button small{font-size:9px!important;line-height:1.35!important;margin-top:3px}.video-detail .video-version-label{-webkit-line-clamp:2}.video-detail .video-source-information{padding-top:8px;margin-bottom:4px}.video-detail .video-detail-description{font-size:12px;line-height:1.7;margin:12px 0}}

body #archive-dialog .photobook-detail .photo-grid{
 display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,120px),1fr));columns:auto;gap:20px 14px;
}
body #archive-dialog .photobook-detail .photo-grid .photo-frame img{max-height:360px;object-fit:contain}
body #archive-dialog .photobook-detail .photobook-public-previews .photo-frame img{max-height:270px}
@media(min-width:410px) and (max-width:650px){
 body #archive-dialog .photobook-detail .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.showtime-picker {
  padding: clamp(1.25rem, 4vw, 3rem);
}
.showtime-picker h3 {
  margin: 1.5rem 0 .65rem;
}
.showtime-choices {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.showtime-choices button {
  padding: .6rem .9rem;
  border: 1px solid currentColor;
  border-radius: .25rem;
}
.showtime-choices button:hover,
.showtime-choices button:focus-visible {
  color: var(--orange, #ff754f);
}


.media-thumb.portrait-cover::before {
  content: "";
  position: absolute;
  inset: -12px;
  pointer-events: none;
  background: var(--portrait-cover-image) center / cover;
  opacity: .46;
  filter: blur(12px);
}
body .media-card .media-thumb.portrait-cover > button:first-child > img {
  position: relative;
  display: block;
  margin-inline: auto;
  object-fit: contain;
  transform: none;
}
body .media-card .media-thumb.portrait-cover-crop > button:first-child > img {
  width: 31.64%;
  object-fit: cover;
}


#archive-content .library-search:focus-within {
  box-shadow: none;
}
#content-search::-webkit-search-cancel-button {
  display: none;
}
#content-search-clear {
  flex: none;
  min-width: 28px;
  min-height: 28px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}

.media-thumb.portrait-cover-letterboxed::before {
  background-size: 340% auto;
}
body .media-card .media-thumb.portrait-cover-letterboxed > button:first-child > img {
  object-fit: cover;
  clip-path: inset(0 var(--portrait-side-inset));
}

#archive-content.gallery-view .archive-tools select:not([hidden]),
#archive-content.gallery-view .platform-picker > summary,
#archive-content.gallery-view .platform-options {
  background: #202020;
  border-color: #414141;
}
#archive-content.gallery-view .platform-picker { min-width: 0; }
#archive-content.gallery-view select[data-icon-picker][hidden] { display: none; }
#archive-content.gallery-view .photo-platform-control > label { font-size: 13px; }

#archive-content.gallery-view { container-type: inline-size; }

#archive-content.gallery-view .archive-tools.archive-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}
#archive-content.gallery-view .archive-tools > :is(.filter-field,.archive-filter-column) {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  gap: 6px;
  align-items: stretch;
}
#archive-content.gallery-view .archive-tools > :is(.filter-field,.archive-filter-column) select {
  min-height: 38px;
  width: 100%;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid #414141;
  border-radius: 4px;
}
#archive-content.gallery-view .video-results-tools {
  justify-content: flex-start;
  gap: 10px 20px;
}
#archive-content.gallery-view .video-results-tools .only-saved { margin-inline-start: auto; }
#archive-content.gallery-view .video-results-tools select { background: #202020; }
#archive-content.gallery-view .photo-platform-control {
  display: flex;
  align-items: center;
  gap: 8px;
}
#archive-content.gallery-view .photo-platform-control .platform-picker summary {
  padding: 5px 8px;
}
@container (min-width: 520px) {
  #archive-content.gallery-view .archive-tools.archive-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }
  #archive-content.gallery-view .archive-filter-grid > .gallery-series-picker {
    grid-area: auto;
  }
}
@container (min-width: 820px) {
  #archive-content.gallery-view .archive-tools.archive-filter-grid {
    grid-template-columns: minmax(180px, 2.15fr) minmax(105px, 1fr) minmax(105px, .8fr) minmax(120px, 1.35fr) auto;
  }
  #archive-content.gallery-view .archive-tools > .archive-search {
    grid-column: auto;
  }
}

body .video-detail .video-source-picker{padding:0;border:0;margin:12px 0}
body .video-detail .video-source-heading{margin-bottom:5px}
body .video-detail .video-source-buttons{display:flex;gap:6px;max-height:9rem}
body .video-detail .video-source-buttons button{display:inline-flex;flex:0 0 auto;min-height:32px;padding:5px 10px;font-size:12px;line-height:1.4}

.magazine-interview{max-width:none}
.interview-video-links{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:12px;color:var(--accent)}
.interview-video-links a{padding:8px 0}

/* Give widescreen playback the room it needs inside the viewport. */
dialog:has(.video-detail .wide-embed, .video-dialog iframe) {
  width: min(1280px, 94vw);
  max-width: 94vw;
  max-height: 94dvh;
  padding: clamp(14px, 2vw, 28px);
}
dialog:has(.video-detail .wide-embed, .video-dialog iframe) .dialog-close {
  margin-bottom: -40px;
}
dialog:has(.video-detail .wide-embed, .video-dialog iframe) .video-detail h2 {
  padding-inline-end: 48px;
}
dialog:has(.video-dialog iframe) .video-dialog {
  padding-top: 42px;
}
@media (min-width: 900px) {
  dialog:has(.video-detail .wide-embed, .video-dialog iframe) {
    width: min(1280px, 94vw, max(900px, calc((100dvh - 150px) * 16 / 9 + 56px)));
  }
}

.interview-bilingual-reader.interview-translation-only{grid-template-columns:minmax(0,1fr)}

#archive-dialog:has(.photobook-detail) {
  width:min(1240px, 94vw);
  max-width:94vw;
}
body #archive-dialog .photobook-detail .photo-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px 16px;
}
body #archive-dialog .photobook-detail .photo-grid .photo-frame img {
  max-height:520px;
}
@media(min-width:760px) {
  body #archive-dialog .photobook-detail .photo-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(min-width:1100px) {
  body #archive-dialog .photobook-detail .photo-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
body #archive-dialog .photobook-detail .photo-grid:has(>.photo-card:only-child) {
  grid-template-columns:minmax(0,1fr);
}

/* Keep the viewer geometry independent of the media's natural dimensions. */
#archive-dialog:has(.photo-viewer,.magazine-reader) {
  box-sizing:border-box;
  width:min(1180px,94vw);
  max-width:94vw;
  height:92dvh;
  max-height:92dvh;
}
#archive-dialog[open]:has(.photo-viewer) {
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  overflow:hidden;
}
#archive-dialog:has(.photo-viewer) > .dialog-close {justify-self:end}
#archive-dialog:has(.photo-viewer) #archive-dialog-content {min-height:0}
body #archive-dialog .photo-viewer {
  display:grid!important;
  height:100%;
  grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr);
  grid-template-rows:auto minmax(0,1fr);
  grid-template-areas:"tools tools" "image info";
}
body #archive-dialog .photo-viewer:has(.photo-book-back) {
  grid-template-rows:auto auto minmax(0,1fr);
  grid-template-areas:"back back" "tools tools" "image info";
}
.photo-viewer .photo-book-back {grid-area:back;justify-self:start}
body #archive-dialog .photo-viewer-toolbar {
  grid-area:tools;
  display:grid;
  grid-template-columns:1fr auto 1fr;
}
.photo-viewer-toolbar > :first-child {justify-self:start}
.photo-viewer-toolbar > :last-child {justify-self:end}
body #archive-dialog .photo-viewer-image {
  grid-area:image;
  min-height:0;
  height:100%;
  overflow:hidden;
}
body #archive-dialog .photo-viewer-image img {
  width:100%!important;
  height:100%!important;
  max-height:100%!important;
  object-fit:contain;
}
body #archive-dialog .photo-viewer-side {
  grid-area:info;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  min-height:0;
  height:100%;
}
body #archive-dialog .photo-viewer-info {
  min-height:0;
  overflow:auto;
  overscroll-behavior:contain;
}
.photo-viewer-side>.buddy-dialog {
  justify-self:end;
  max-width:100%;
  margin:10px 0 0;
}
#archive-dialog:has(.magazine-reader) {overflow-y:scroll;overflow-anchor:none}
.magazine-reader .reader-stage {width:100%}
.magazine-reader .reader-viewport {height:clamp(180px,56dvh,740px)}
.magazine-reader .reader-book.single,
.magazine-reader .reader-book.single .reader-paper {width:100%;height:100%}
@media(max-width:760px){
  body #archive-dialog .photo-viewer {
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto minmax(0,1fr) minmax(120px,30%);
    grid-template-areas:"tools" "image" "info";
  }
  body #archive-dialog .photo-viewer:has(.photo-book-back) {
    grid-template-rows:auto auto minmax(0,1fr) minmax(120px,30%);
    grid-template-areas:"back" "tools" "image" "info";
  }
}

.archive-filter-jump{
  position:fixed;
  inset:auto max(16px,env(safe-area-inset-right)) calc(104px + env(safe-area-inset-bottom)) auto;
  z-index:30;
  min-height:44px;
  padding:8px 14px;
  border:1px solid var(--accent);
  border-radius:4px;
  color:var(--cream);
  background:#20211f;
  font-size:13px;
  box-shadow:0 4px 14px #0005;
}
.archive-filter-jump:hover{color:#181818;background:var(--accent)}
.archive-filter-jump:focus-visible{outline:2px solid var(--cream);outline-offset:3px}
#archive-content :is(.archive-tools,.reading-notes .programme-search){scroll-margin-top:16px}

#eri-words { border-bottom: 0; }
#eri-words .profile-notes-grid { gap: 0 28px; }
#eri-words .profile-notes-grid article { border: 0; }
#eri-words .profile-notes-grid article:nth-child(n+3) {
  border-top: 1px solid var(--line);
}
@media (max-width: 640px) {
  #eri-words .profile-notes-grid article + article {
    border-top: 1px solid var(--line);
  }
}
