/* A school desk around the closed magazine; the reading spreads keep their full width. */
.reader.has-editor-desk{position:relative;max-width:2100px}
.editor-desk,.desk-school-memory{direction:ltr}
.editor-desk{width:300px;max-width:100%;margin:28px auto 0}
.editor-note{position:relative;isolation:isolate;padding:42px 48px 37px 27px;color:#503c2b;transform:rotate(-2deg);background:url('editor-note-with-pen.webp') center/100% 100% no-repeat;filter:drop-shadow(2px 8px 5px #49321e20)}
.editor-note>*{position:relative;z-index:1}
.editor-note-kicker{margin:0;font:700 11px/1.5 Arial,sans-serif;letter-spacing:1.1px;color:#8e4734}
.editor-note h2{margin:10px 0 17px;font:italic 700 25px/1.12 Georgia,'Times New Roman',serif;text-wrap:balance;letter-spacing:-.5px}
.editor-film-preview{display:block;width:100%;padding:5px;border:1px solid #6f503b70;border-radius:3px;background:#fff7e3;color:#573c2d;box-shadow:2px 3px 4px #53351c25;text-align:center;transform:rotate(1deg)}
.editor-film-still{display:block;position:relative;overflow:hidden;border-radius:2px;aspect-ratio:16/9;background:#624b34}
.editor-film-still img{width:100%;height:100%;object-fit:cover}
.editor-film-time{position:absolute;right:5px;bottom:5px;background:#241b15cf;color:#fff8e7;border-radius:3px;padding:2px 5px;font:12px/1.3 Arial,sans-serif}
.editor-film-label{display:block;padding:9px 3px 6px;font:700 16px/1.25 Georgia,serif}
.editor-note-links{margin-top:13px}
.editor-note-links button{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;min-height:43px;padding:8px 0;background:transparent;border:0;border-bottom:1px solid #8b624e45;color:#684331;text-align:start;font:14px/1.3 Arial,sans-serif}
.editor-note-links button:hover{text-decoration:underline;text-underline-offset:4px;color:#952e25}
.editor-note-links small{font:12px/1.3 Arial,sans-serif;direction:ltr;white-space:nowrap;color:#725541}
.desk-handheld{display:block;width:100%;margin:27px 0 0;padding:0;background:transparent;border:0;border-radius:13px;transform:rotate(7deg);filter:drop-shadow(3px 10px 5px #422d242f);transition:transform .2s ease}
.desk-handheld img{width:100%}.desk-handheld:hover{transform:rotate(5deg) translateY(-2px)}
.desk-school-memory{width:calc((100% - 48px)/1.102);max-width:650px;margin:36px auto 18px;transform:rotate(5deg);filter:drop-shadow(5px 12px 6px #3c291e29)}
.desk-school-memory img{width:100%}
.editor-desk[hidden],.desk-school-memory[hidden]{display:none!important}
.reader-expanded .editor-desk,.reader-expanded .desk-school-memory{display:none}
html[dir=rtl] .editor-note{direction:rtl;text-align:right}
html[dir=rtl] .editor-note-kicker{letter-spacing:0}
@media(min-width:1160px){
 .editor-desk{position:absolute;top:var(--desk-top,145px);right:calc(50% + 315px);width:clamp(250px,calc((100vw - 720px)/2),310px);margin:0}
 /* Reserve 24px at both sides of the notebook, including its rotated corners.
    A 5deg rotation expands this 5:6 image to 1.101 times its original width. */
 .desk-school-memory{position:absolute;top:calc(var(--desk-top,145px) + 94px);right:24px;width:calc((100% - 666px)/2.202);max-width:none;margin:0;transform-origin:top right}
}
@media(min-width:761px) and (max-width:1159px){
 .reader.has-editor-desk{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}
 .has-editor-desk>.issue-line,.has-editor-desk>.bookmark-rail,.has-editor-desk>.book,.has-editor-desk>.reader-controls,.has-editor-desk>.reader-hint{grid-column:1/-1;width:100%}
 .has-editor-desk>.book.closed{width:570px;max-width:100%}
 .editor-desk{justify-self:end;margin:32px 0 0}.desk-school-memory{justify-self:center;align-self:center;margin:32px 0 24px}
}
@media(max-width:760px){
 .editor-desk{width:min(310px,calc(100% - 20px));margin-top:28px}
 .editor-note{transform:none;filter:none;isolation:auto}
 .editor-note h2{font-size:27px}.editor-note-links button{font-size:15px;min-height:46px}
 .desk-handheld{margin-top:26px}.desk-school-memory{margin:36px auto 20px}
}
.desk-cinema{width:min(1080px,calc(100vw - 32px));max-width:1080px;max-height:calc(100dvh - 30px);padding:0;border:1px solid #a48a60;border-radius:14px;background:#f0e2c5;color:#3b2d21;box-shadow:0 25px 100px #0008;overflow:auto}
.desk-cinema::backdrop{background:#211b16dc;backdrop-filter:blur(5px)}
.desk-cinema-header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px 16px 12px 23px;border-bottom:1px solid #b29a7270}
.desk-cinema-header h2{margin:0;font:700 23px/1.2 Georgia,serif}
.desk-cinema-close{flex:none;width:44px;height:44px;border:1px solid #a58a66;border-radius:50%;background:#f8edda;color:#663f2d;font:30px/1 Arial,sans-serif}
.desk-cinema video{display:block;width:100%;height:auto;max-height:calc(100dvh - 200px);aspect-ratio:16/9;background:#14110e;object-fit:contain}
.desk-cinema.is-vertical{width:min(475px,calc(100vw - 24px))}
.desk-cinema.is-vertical video{aspect-ratio:9/16;max-height:calc(100dvh - 190px)}
.desk-cinema-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px}
.desk-cinema-footer p{margin:0;font:14px/1.4 Arial,sans-serif;color:#725a42}
.desk-cinema-direct{font:14px/1.4 Arial,sans-serif;color:#793b2a;text-underline-offset:3px}
.desk-cinema-error{padding:0 22px 18px;margin:0;font:16px/1.5 Arial,sans-serif;color:#923127}
@media(max-width:600px){.desk-cinema{width:calc(100vw - 14px);border-radius:10px}.desk-cinema-header{padding:10px 12px}.desk-cinema-header h2{font-size:21px}.desk-cinema-footer{padding:12px 15px;flex-direction:column;align-items:flex-start}.desk-cinema video{max-height:calc(100dvh - 210px)}}
@media(prefers-reduced-motion:reduce){.desk-handheld{transition:none}}

.desk-cinema-youtube{display:block;width:100%;aspect-ratio:16/9;border:0;background:#090909}.desk-cinema-youtube[hidden],.desk-cinema video[hidden]{display:none}
