/* Phone-only shell: frame, home stack, menu, transitions, next stop. Desktop and the undecided
   tablet layout keep their own owners. A chapter's phone rules belong in that chapter's phone.css,
   not here; the build appends them after this file in the order of src/site/phone-parts.mjs. */
@media (max-width:700px){
/* The sheet moves; its underlying reading position must not move with wheel/touch inertia. */
html[data-mobile-navigation]:has(dialog[open]) {overflow:hidden;overscroll-behavior:none;}
html[data-mobile-shell] {background:#f4f5f7; scroll-behavior:auto; scrollbar-width:none; --site-nav-height:60px;}
html[data-mobile-shell] body {margin:0; background:#f4f5f7; color:#1c1c1c;}
html[data-mobile-shell] #native-main {min-height:100svh; padding:0; overflow:visible;}
html[data-mobile-shell] :is(#native-mobile-loader,#site-navigation-menu,.back-to-top) {display:none!important;}
html[data-mobile-shell][data-phone-view=home],html[data-mobile-shell][data-phone-view=menu],html[data-phone-transition] {overflow:hidden; overscroll-behavior:none;}
html[data-phone-transition] {overflow-anchor:none;touch-action:none;}
html[data-mobile-navigation] #site-navigation {height:calc(60px + var(--phone-safe-top,env(safe-area-inset-top)));background:transparent!important;backdrop-filter:none!important;border:0!important;box-shadow:none!important;z-index:1000;transition:opacity .2s,transform .3s,color .2s;}
html[data-mobile-navigation] #site-navigation::before,html[data-mobile-navigation] #site-navigation::after {display:none!important;}
html[data-mobile-navigation] #site-navigation .site-nav-inner {height:100%;padding:var(--phone-safe-top,env(safe-area-inset-top)) 24px 0;display:flex;align-items:center;justify-content:space-between;}
html[data-mobile-navigation] #site-navigation .site-nav-brand {font-size:15px;letter-spacing:.06em;}
html[data-mobile-navigation] #site-navigation .site-nav-chapters {display:none!important;}
/* The Latin name stays beside the Chinese wordmark, as on desktop. */
html[data-mobile-navigation] #site-navigation .site-nav-brand {gap:10px;}
html[data-mobile-navigation] #site-navigation .site-nav-brand em {font-size:13px;opacity:.7;}
html[data-mobile-navigation] #site-navigation .site-nav-meta {display:block;margin-left:auto;font-size:14px;}
html[data-mobile-navigation] #site-navigation [hidden] {display:none!important;}
html[data-mobile-navigation] #site-navigation .site-menu-toggle {display:block;width:auto;height:auto;padding:10px 0 10px 16px;background:none;border:0;color:inherit;font:inherit;font-size:14px;letter-spacing:.08em;}
html[data-mobile-navigation] #site-navigation [data-surface=paper] {color:#1c1c1c;}
html[data-mobile-navigation] #site-navigation[data-surface=paper] {color:#1c1c1c!important;}
html[data-mobile-navigation] #site-navigation[data-surface=dark] {color:#f4f5f7!important;}
.phone-stack {position:fixed;inset:0;height:100dvh;min-height:100svh;z-index:800;overflow:hidden;background:#141414;touch-action:none;isolation:isolate;}
.phone-strip {position:absolute;left:0;width:100%;overflow:hidden;isolation:isolate;background:#141414;}
.phone-strip-image {position:absolute;width:100%;height:100%;inset:0;object-fit:cover;}
.phone-strip::after {content:'';position:absolute;inset:0;background:rgba(0,0,0,.13);pointer-events:none;}
.phone-stack .home-card-metrics {display:flex!important;justify-content:center;gap:44px;margin-top:38px;opacity:1!important;transform:none!important;}
.phone-stack .home-card-metric {display:block;text-align:center;}
.phone-stack .home-card-metric b {font-size:25px;font-weight:400;font-style:italic;}
.phone-stack .home-card-metric em {font-size:16px;font-weight:400;}
.phone-stack .home-card-metric small {display:block;font-size:10px;margin-top:6px;opacity:.65;}
.phone-stone {display:none;position:absolute;inset:0;z-index:1;align-items:center;justify-content:center;background:#f4f5f7;color:#1c1c1c;}
.phone-strip[data-selected=true] .phone-stone {display:flex;}
.phone-stone .sis {background:none;padding:18px;width:min(88vw,390px);gap:0;}
.phone-stone .sis-stage {position:relative;user-select:none;touch-action:none;width:min(70vw,300px);height:auto;aspect-ratio:1;margin:auto;}
.phone-stone .sis-stage svg {position:absolute;inset:0;width:100%;height:100%;display:block;}
.phone-stone .sisy-hit {fill:transparent;touch-action:none;}
.phone-stone .sis-status,.phone-stone .sis-foot {text-align:center;font-size:12px;margin:10px 0;}
.phone-entry-paper {position:absolute;inset:0;background:#f4f5f7;z-index:2;}
.phone-flying-title {position:fixed;z-index:3;line-height:1.2;font-weight:400;color:#1c1c1c;transform-origin:top left;white-space:nowrap;pointer-events:none;}
.phone-band {height:200px;height:clamp(150px,24svh,200px);overflow:hidden;}
.phone-band img {width:100%;height:100%;object-fit:cover;display:block;}
html[data-native-shell] #native-main[data-native-ssr]:not([data-native-ssr=home])>.stage {display:none;}
html[data-native-shell] .phone-server-band[hidden] {display:block!important;width:100%;height:clamp(150px,24svh,200px);object-fit:cover;}
html[data-native-shell] #native-main[data-native-ssr] .chapter-head {padding:32px 24px 40px;background:#f4f5f7;border:0;}
html[data-native-shell] #native-main[data-native-ssr] .chapter-head-mark {font-size:10px;letter-spacing:.25em;}
html[data-native-shell] #native-main[data-native-ssr] .chapter-head-title {font-size:46px;line-height:1.2;font-weight:400;margin:16px 0 10px;}
html[data-native-shell] #native-main[data-native-ssr] .chapter-head-en {display:block;font-size:22px;line-height:1.4;}
html[data-native-shell] #native-main[data-native-ssr] .chapter-head-rule {display:none;}
html[data-native-shell] #native-main[data-native-ssr] .chapter-head-lines {font-size:14px;line-height:1.9;color:#777;margin:24px 0 0;}
html[data-native-shell] #native-main[data-native-ssr] .chapter-head-lines span {display:block;}
.phone-heading {padding:32px 24px 40px;background:#f4f5f7;}
.phone-heading small {display:block;font-size:10px;letter-spacing:.25em;}
.phone-heading h1 {font-size:46px;line-height:1.2;font-weight:400;letter-spacing:0;margin:16px 0 10px;}
.phone-heading em {display:block;font-size:22px;line-height:1.4;}
.phone-heading p {font-size:14px;line-height:1.9;color:#777;margin:24px 0 0;}
.phone-heading p span {display:block;}
.phone-content.chapter-content {margin:0;padding:0;transform:none;position:relative;background:#f4f5f7;}
.phone-content>.inline-chapter {margin:0!important;}
.phone-content>.inline-chapter[data-formal-chapter=laiwang] {background:#f4f5f7!important;}
html[data-phone-view=menu] {overflow:hidden;overscroll-behavior:none;}
html[data-phone-view=menu] :is(.back-to-top,.contact-minimap,[data-back-to-top]) {visibility:hidden!important;}
html[data-phone-arrival]::view-transition-old(root) {animation:none!important;opacity:0;}
html[data-phone-arrival]::view-transition-new(root) {animation:none!important;}
html[data-mobile-shell][data-phone-transition] #native-main {pointer-events:none;}
}
@media (max-width:700px){
/* Phase 2: document-scrolled phone interiors. All overrides stay below 701 px. */
html[data-mobile-shell] .phone-content [data-resume-body] {padding-top:0!important;}
html[data-mobile-shell] .phone-content .depth-caption blockquote {font-size:18px;line-height:1.8;}
html[data-mobile-shell] #tongxi-event-details {position:fixed;inset:auto 0 0;width:100%;max-width:none;height:84svh;max-height:calc(100dvh - 24px);margin:0;padding:0 24px 40px;border:0;border-radius:18px 18px 0 0;overflow:auto;overscroll-behavior:contain;background:#f4f5f7;}
html[data-mobile-shell] #tongxi-event-details[data-full] {height:calc(100dvh - var(--phone-safe-top,env(safe-area-inset-top)));max-height:100dvh;border-radius:0;}
.phone-sheet-handle {position:sticky;top:0;z-index:5;display:grid;place-items:center;width:100%;height:30px;border:0;background:#f4f5f7;touch-action:none;}
.phone-sheet-handle i {width:32px;height:3px;background:#aaa;border-radius:3px;}
html[data-mobile-shell] #eventCatalog {width:100%;max-width:none;height:100dvh;max-height:none;inset:0;margin:0;border:0;padding:20px 24px;}
html[data-mobile-shell] #catalogList section {padding:16px 0;}
html[data-mobile-shell] #catalogList h3 {font-size:12px;font-weight:400;color:#888;}
html[data-mobile-shell] #catalogList [data-event-id] {display:block;width:100%;text-align:left;background:none;border:0;border-top:1px solid #ddd;padding:20px 0;color:inherit;}
html[data-mobile-shell] #catalogList [data-event-id] time {display:block;font-size:12px;margin-top:10px;}
html[data-mobile-shell] .phone-content .it {padding:24px 0;}
html[data-mobile-navigation] .phone-reader {--in-ink:#1c1c1c;--in-soft:#555;--in-mute:#888;--in-panel:#f4f5f7;--in-bg:#f4f5f7;background:#f4f5f7;}
html[data-mobile-navigation] .phone-reader .sheet {padding:24px;--sheet-g:24px;}
.phone-reader-back {position:absolute;left:24px;font-size:13px!important;}
html[data-phone-photo-open] {overflow:hidden!important;overscroll-behavior:none;}
.phone-photo-view {position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#fff;color:#1c1c1c;overflow:hidden;overscroll-behavior:none;}
.phone-photo-view::backdrop {background:transparent;}
.phone-photo-view header,.phone-photo-view footer {position:absolute;left:24px;right:24px;height:60px;display:flex;align-items:center;justify-content:space-between;font-size:13px;z-index:2;}
.phone-photo-view header {top:var(--phone-safe-top,env(safe-area-inset-top));}
.phone-photo-view footer {bottom:env(safe-area-inset-bottom);}
.phone-photo-view button {font:inherit;background:none;border:0;color:inherit;min-width:44px;min-height:44px;}
.phone-photo-view button:disabled {opacity:.2;}
}
@media (max-width:700px){
html[data-mobile-shell] :is(.lw-position-rail,.lw-paper-return) {display:none!important;}
html[data-mobile-shell] #tongxi-event-details {color:#1c1c1c;}
html[data-mobile-shell] #tongxi-event-details :is(h2,h3,p,dd,button) {color:#1c1c1c;}
html[data-mobile-shell] #catalogList [data-event-id] {border-color:#333;}
}
@media (max-width:700px){
}
@media (max-width:700px){
html[data-mobile-shell] #tongxi-event-details {--dark-ink:#1c1c1c;--dark-ink-soft:#555;--dark-ink-mute:#888;--dark-line:#d8d9da;}
html[data-mobile-shell] #tongxi-event-details .phone-sheet-handle {display:grid;place-items:center;position:sticky;top:0;height:30px;background:#f4f5f7;}
html[data-mobile-shell] #tongxi-event-details .phone-sheet-handle i {display:block;width:32px;height:3px;}
html[data-mobile-shell] #eventCatalog #catalogList [data-event-id] {opacity:1;}
}
@media (max-width:700px){
.phone-heading h1:focus {outline:none;}
}
@media (max-width:700px){
/* Override the legacy 82dvh !important ceiling only for the new phone sheet. */
html[data-mobile-shell] #tongxi-event-details {max-height:calc(100dvh - 24px)!important;padding:0 24px calc(40px + env(safe-area-inset-bottom))!important;transition:height .3s ease,max-height .3s ease,translate .18s ease;}
html[data-mobile-shell] #tongxi-event-details[data-full] {height:calc(100dvh - var(--phone-safe-top,env(safe-area-inset-top)));max-height:100dvh!important;}
html[data-mobile-shell] #tongxi-event-details[data-dragging] {transition:none;}
@media (prefers-reduced-motion:reduce){
html[data-mobile-shell] #tongxi-event-details {transition:none;}
}
}
@media (max-width:700px){
/* Approved prototype proportions, scoped to phone-owned content. */
.phone-heading {padding-bottom:36px;}
.phone-heading small {line-height:16px;}
.phone-heading h1 {font-weight:300;line-height:1.25;letter-spacing:.16em;margin:6px 0 0;}
.phone-heading em {font-size:18px;line-height:26px;margin-top:2px;}
.phone-heading p {font-size:13px;line-height:24px;letter-spacing:.06em;margin-top:14px;}
}
@media (max-width:700px){
html[data-native-shell] #native-main[data-native-ssr] .chapter-head-title {font-weight:300;line-height:1.25;letter-spacing:.16em;margin:6px 0 0;}
html[data-native-shell] #native-main[data-native-ssr] .chapter-head-en {font-size:18px;line-height:26px;margin-top:2px;}
html[data-native-shell] #native-main[data-native-ssr] .chapter-head-lines {font-size:13px;line-height:24px;letter-spacing:.06em;margin-top:14px;}
}
@media (max-width:700px){
html[data-mobile-shell] .phone-content .it {padding:15px 0;gap:14px;}
}
@media (max-width:700px){
/* Detail pass: one crop plane and the approved narrow reading rhythm. */
.phone-band {position:relative;height:200px;}
.phone-strip-image,.phone-band img {position:absolute;inset:auto;left:50%;top:50%;width:220vw;height:100svh;max-width:none;object-fit:cover;object-position:var(--phone-cover-x,50%) 50%;transform:translate(-50%,calc(-50% + var(--phone-cover-y,0%))) scale(var(--phone-cover-scale,.62));}
.phone-band::after {content:'';position:absolute;inset:0;background:rgba(0,0,0,.13);pointer-events:none;}
.phone-strip[data-phone-card=sisyphus] {background:#68784c;}
.phone-strip[data-phone-card=sisyphus]>.phone-strip-image {display:none;}
.phone-directory-contact {display:none;position:absolute;bottom:16px;right:24px;z-index:4;min-height:44px;align-items:center;font-size:13px;color:#f4f5f7;text-decoration:none;}
html[data-phone-view=menu] .phone-directory-contact {display:flex;}
.phone-stack:has([data-phone-card=sisyphus][data-selected=true]) .phone-directory-contact {color:#1c1c1c;}
html[data-mobile-shell] .phone-content .depth-caption blockquote {font-size:16px;line-height:32px;overflow:visible;margin:12px 0 14px;min-height:var(--phone-quote-height,0px);}
html[data-mobile-shell] .phone-content .depth-progress button {flex:1;}
html[data-mobile-shell] .depth-reader {background:#fff;color:#1c1c1c;}
html[data-mobile-shell] #eventCatalog {background:#f4f5f7;color:#1c1c1c;--dark-ink:#1c1c1c;--dark-ink-soft:#555;--dark-ink-mute:#888;--dark-line:#d8d9da;}
html[data-mobile-shell] #eventCatalog #catalogList [data-event-id] {border-color:#d8d9da;}
html[data-mobile-shell] #catalogList [data-event-id] :is(strong,h3) {font-size:16px;font-weight:400;line-height:26px;}
html[data-mobile-navigation] .phone-reader .sheet {padding:0 24px;}
}
@media (max-width:700px){
html[data-mobile-shell] #tongxi-event-details {height:84svh!important;min-height:0!important;box-sizing:border-box;scrollbar-width:none;}
html[data-mobile-shell] #tongxi-event-details[data-full] {height:calc(100dvh - var(--phone-safe-top,env(safe-area-inset-top)))!important;}
}
@media (max-width:700px){
html[data-mobile-shell] .phone-content [data-resume-body] {padding-bottom:0!important;}
}
@media (max-width:700px){
.phone-stone {background:transparent;color:#f4f5f7;}
.phone-strip[data-selected=true] .phone-stone {display:block;animation:phone-stone-reveal .7s ease .25s both;}
.phone-stone .sis {position:absolute;inset:var(--phone-stone-top) auto auto 50%;transform:translateX(-50%);width:var(--phone-stone-size);padding:0;margin:0;gap:0;display:flex;flex-direction:column;background:none;}
.phone-stone .sis-stage {width:var(--phone-stone-size);height:var(--phone-stone-size);max-width:none;margin:0;flex:none;aspect-ratio:1;}
.phone-stone-status {display:flex;width:100%;align-items:baseline;justify-content:space-between;gap:8px;margin-top:10px;}
.phone-stone .sis-status,.phone-stone .sis-foot {font-size:11px;line-height:18px;letter-spacing:0;color:inherit;text-align:left;padding:0;margin:0;}
.phone-stone .sis-title small {font-size:11px;letter-spacing:.2em;margin-right:8px;opacity:.8;}
.phone-stack:has([data-phone-card=sisyphus][data-selected=true]) .phone-directory-contact {color:#f4f5f7;}
@keyframes phone-stone-reveal {from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){
.phone-strip[data-selected=true] .phone-stone {animation:none;}
}
}
@media (max-width:700px){
.phone-strip::after,.phone-band::after {background:transparent;}
.phone-stack .home-card-metrics {gap:40px;margin-top:26px;}
.phone-stack .home-card-metric b {line-height:30px;}
.phone-stack .home-card-metric small {font-size:11px;letter-spacing:.1em;margin-top:3px;}
}
@media (max-width:700px){
/* 027: one owner for the footer photograph, arriving paper and travelling chapter name. */
html[data-mobile-shell] #tongxi-event-details {height:74svh!important;border-radius:0;}
html[data-mobile-shell] #tongxi-event-details[data-full] {height:calc(100dvh - max(28px,var(--phone-safe-top,env(safe-area-inset-top))))!important;}
html[data-mobile-shell] #tongxi-event-details .phone-sheet-handle {height:32px;}
html[data-mobile-shell] #tongxi-event-details .phone-sheet-handle i {width:40px;height:1px;border-radius:0;}
}
@media (max-width:700px){
/* Final prototype parity: phone-owned typography and reading surfaces only. */
html[data-mobile-navigation] #site-navigation {height:calc(56px + var(--phone-safe-top,env(safe-area-inset-top)));}
html[data-mobile-navigation] #site-navigation .site-nav-inner {padding-inline:20px;}
html[data-mobile-navigation] #site-navigation .site-nav-brand {font-size:16px;letter-spacing:.08em;font-weight:300;}
html[data-mobile-navigation] #site-navigation .site-menu-toggle {letter-spacing:.2em;}
.phone-strip-title,.phone-heading h1,.phone-gallery-label h2 {font-family:'Noto Serif SC','Songti SC',serif;}
.phone-stack .home-card-metric small {font-size:11px;line-height:20px;letter-spacing:.1em;margin-top:3px;color:inherit;opacity:1;}
.phone-stack .home-card-metric {color:inherit;}
.phone-stack .home-card-metric b {line-height:30px;}
.phone-entry-paper {overflow:hidden;}
.phone-entry-paper>.phone-chapter {position:relative;}
html[data-mobile-navigation] dialog.phone-reader {transform:translateY(102%);transition:transform .5s cubic-bezier(.76,0,.24,1);}
html[data-mobile-navigation] dialog.phone-reader.is-open {transform:translateY(0);transition-duration:.7s;}
.phone-reader-back {position:static;flex:none;min-height:44px;}
@media (prefers-reduced-motion:reduce){
html[data-mobile-navigation] dialog.phone-reader {transition:none!important;}
}
}
@media (max-width:700px){
html[data-mobile-shell] #catalogList>section>h3 {display:flex;justify-content:space-between;align-items:baseline;}
html[data-mobile-shell] #catalogList>section>h3>span {font-size:12px;font-weight:300;letter-spacing:.02em;opacity:.5;}
}
@media (max-width:700px){
.phone-photo-view header button {font-size:20px;font-weight:300;}
}
@media (max-width:700px){
/* Phone detail dismissal and opaque chapter paper during every entry path. */
.phone-heading[data-phone-heading-pending] > * {visibility:hidden;}
html[data-mobile-navigation] .phone-detail-close {display:grid;place-items:center;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:0!important;margin:0;border:0!important;background:transparent;box-shadow:none;text-decoration:none;font-size:20px!important;font-weight:300;line-height:1;letter-spacing:0;color:inherit;cursor:pointer;}
html[data-mobile-navigation] .phone-reader-back {position:absolute;left:auto;right:24px;top:calc(2px + var(--phone-safe-top,env(safe-area-inset-top)));}
html[data-mobile-navigation] #site-navigation:has(.phone-detail-close) .site-menu-toggle {display:none!important;}
html[data-mobile-navigation] #site-navigation .phone-reader-back,
  html[data-mobile-navigation] #site-navigation > .phone-detail-close {position:absolute;right:24px;top:calc(6px + var(--phone-safe-top,env(safe-area-inset-top)));}
}
@media (max-width:700px){
/* Mobile footer: stable title width, small expansion counter, explicit gesture feedback. */
/* History replaces a frozen viewport after restoration, without inherited document travel. */
html[data-mobile-shell][data-phone-history]::view-transition-group(root) {animation:none;}
html[data-mobile-shell][data-phone-history]::view-transition-new(root) {animation:none;mix-blend-mode:normal;}
html[data-mobile-shell][data-phone-history]::view-transition-old(root) {z-index:1;mix-blend-mode:normal;animation:phone-history-return 160ms ease-out both;}
@keyframes phone-history-return {from{opacity:1;}to{opacity:0;}}
}
@media (max-width:700px){
/* 2026-11-08: the next chapter's canvas mounts at its intrinsic 1200px before layout rules settle.
   On a phone that widened the layout viewport for a few frames and the footer flight read that size. */
html[data-mobile-shell], html[data-mobile-shell] body {overflow-x:clip;max-width:100%;}
html[data-mobile-shell] .phone-content canvas {max-width:100%;}
}
@media (max-width:700px){
/* 2026-11-08 phone home: photograph, paper panel, five small covers (replaces the stacked strips). */
.phone-home {background:#f4f5f7;color:#1c1c1c;}
.phh-photos {position:absolute;left:0;right:0;top:0;height:var(--phh-ph);overflow:hidden;background:#68784c;}
.phh-photo {position:absolute;inset:0;opacity:0;transition:opacity .7s ease;overflow:hidden;}
/* The stone's card carries its own green, so it fades in and out whole; on the shared green alone, the stone's square stayed over the next photograph as a box (specs/093). An attribute, not :has(), so older iPhones apply it too. */
.phh-photo[data-device] {background:#68784c;}
/* On iPhone the stone's square still outlived its card, so the stone fades on its own: quickly away when the card is left, with the card when it returns. */
.phh-photo[data-device] .phone-stone {transition:opacity .7s ease;}
.phh-photo[data-device]:not([data-selected=true]) .phone-stone {opacity:0;transition-duration:.25s;}
.phh-photo[data-selected=true] {opacity:1;}
.phh-photo .phone-stone {display:block;position:absolute;inset:0;background:transparent;color:#f4f5f7;animation:none;}
.phone-home[data-open=true] .phh-photo .phone-stone {opacity:0;transition:opacity .35s ease;pointer-events:none;}
.phh-panel {position:absolute;left:0;right:0;top:var(--phh-ph);bottom:0;background:#f4f5f7;transition:top .7s cubic-bezier(.76,0,.24,1);}
.phone-home[data-open=true] .phh-panel {top:60px;}
.phh-copy {position:absolute;left:24px;right:24px;top:32px;bottom:calc(26px + 54px + 24px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .45s ease,visibility 0s .45s;display:flex;flex-direction:column;}
.phh-copy[data-selected=true] {opacity:1;visibility:visible;pointer-events:auto;transition:opacity .5s ease .12s;}
.phone-home[data-open=true] .phh-copy {bottom:28px;}
.phh-text {flex:1;display:flex;flex-direction:column;justify-content:space-between;min-height:0;cursor:pointer;-webkit-tap-highlight-color:transparent;}
.phh-k {display:block;font-size:10px;line-height:14px;letter-spacing:.26em;color:#777;}
.phh-name {display:block;margin-top:24px;font-family:'Noto Serif SC','Songti SC',serif;font-weight:300;font-size:44px;line-height:1;letter-spacing:.16em;color:#1c1c1c;}
.phh-en {display:block;margin-top:20px;font-family:'Newsreader','Noto Serif SC',serif;font-style:italic;font-size:17px;line-height:22px;color:#777;}
.phone-home .home-card-metrics {display:flex!important;gap:52px;margin:0;opacity:1!important;transform:none!important;justify-content:flex-start;}
.phone-home .home-card-metric {display:block;text-align:left;color:#1c1c1c;}
.phone-home .home-card-metric b {font-family:'Newsreader','Noto Serif SC',serif;font-style:italic;font-weight:400;font-size:26px;line-height:30px;}
.phone-home .home-card-metric em {font-style:normal;font-size:13px;margin-left:2px;}
.phone-home .home-card-metric small {display:block;margin-top:4px;font-size:11px;line-height:16px;letter-spacing:.12em;color:#777;opacity:1;}
.phh-go {align-self:flex-end;display:block;font-size:13px;line-height:20px;letter-spacing:.32em;color:#1c1c1c!important;text-decoration:none!important;padding:0 0 5px;background:linear-gradient(currentColor,currentColor) left bottom/0 1px no-repeat;transition:background-size .45s cubic-bezier(.22,1,.36,1);}
.phh-text:hover .phh-go,.phh-text:active .phh-go {background-size:100% 1px;}
.phone-home [data-card=sisyphus] .phh-name {font-size:32px;margin-top:22px;}
.phh-passage {flex:1;min-height:0;margin-top:20px;font-size:14px;line-height:26px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 78%,transparent);mask-image:linear-gradient(#000 78%,transparent);touch-action:none;}
.phh-passage p {margin:0 0 14px;}
.phone-home[data-open=true] .phh-passage {font-size:13px;line-height:24px;overflow-y:auto;touch-action:pan-y;-webkit-mask-image:none;mask-image:none;scrollbar-width:none;}
.phone-home[data-open=true] .phh-passage p {margin-bottom:12px;}
.phh-expand {align-self:flex-end;border:0;background:linear-gradient(currentColor,currentColor) left bottom/0 1px no-repeat;color:#1c1c1c;font:inherit;font-size:13px;line-height:20px;letter-spacing:.32em;padding:6px 0 5px;margin-top:8px;cursor:pointer;transition:background-size .45s cubic-bezier(.22,1,.36,1);}
.phh-expand:hover,.phh-expand:active {background-size:100% 1px;}
.phh-thumbs {position:absolute;left:0;right:0;bottom:26px;display:flex;justify-content:center;gap:10px;transition:opacity .35s ease;}
.phone-home[data-open=true] .phh-thumbs {opacity:0;pointer-events:none;}
.phh-thumbs button {width:54px;height:54px;min-height:0;padding:0;border:0;background:#b9c1ad center/cover;opacity:.45;outline:1px solid transparent;transition:opacity .3s ease,outline-color .3s ease;}
.phh-thumbs button[data-device] {background:#68784c;}
.phh-thumbs button.on {opacity:1;outline:1px solid #1c1c1c;outline-offset:3px;}
.phone-home .phone-directory-contact {top:calc(var(--phh-ph) + 28px);bottom:auto;right:24px;min-height:0;color:#777!important;font-size:12px;letter-spacing:.2em;}
.phone-home[data-open=true] .phone-directory-contact {display:none!important;}
.phone-home .phone-stone .sis {top:var(--phone-stone-top);}
}
@media (max-width:700px){
.phone-photo-view footer {justify-content:center;}
}
@media (max-width:700px){
/* 2026-11-08: the Latin line under a chapter title needs air, as in the approved prototype. */
.phone-heading em {margin-top:12px;}
}
@media (max-width:700px){
/* 2026-11-08 phone fixes after real-device review. */
/* The photograph's share is CSS-owned, so it always matches the box actually laid out. */
.phone-home {--phh-ph:44%;}
.phh-photos {z-index:0;isolation:isolate;}
.phh-photo {contain:paint;}
.phh-panel {z-index:1;}
/* One type family with desktop: the site stack at the desktop weight. */
html[data-mobile-shell] :is(.phone-heading h1,.phone-heading em,.phh-name,.phh-en,.phone-home .home-card-metric b,.phs-group>header b,.phs-group>header i,.phone-gallery-label h2),html[data-mobile-navigation] #site-navigation .site-nav-brand {font-family:var(--font-site);font-weight:400;}
/* Three-line button in chapters; it turns into a cross while the list is open. */
html[data-mobile-navigation] #site-navigation .site-menu-toggle {display:flex;align-items:center;justify-content:flex-end;width:44px;height:44px;min-height:0;padding:0;letter-spacing:0;-webkit-tap-highlight-color:transparent;}
.phone-burger {position:relative;display:block;width:22px;height:12px;}
.phone-burger i {position:absolute;left:0;right:0;height:1px;background:currentColor;transition:transform .35s cubic-bezier(.76,0,.24,1),opacity .2s ease;}
.phone-burger i:nth-child(1) {top:0;}
.phone-burger i:nth-child(2) {top:50%;}
.phone-burger i:nth-child(3) {top:100%;}
[data-open=true] .phone-burger i:nth-child(1) {transform:translateY(6px) rotate(45deg);}
[data-open=true] .phone-burger i:nth-child(2) {opacity:0;}
[data-open=true] .phone-burger i:nth-child(3) {transform:translateY(-6px) rotate(-45deg);}
/* The menu: one whole sheet of paper (specs/064-mobile-nav). Each chapter is a row: a thin photograph
   strip, then numeral, name and English line; the current chapter has a 1px rule at its left.
   Heights below 800px and 640px tighten the sheet. Motion: strips unroll left to right in turn,
   captions follow, the rule grows; a chosen row stays while the others step back. */
.phone-menu {position:fixed;inset:0;z-index:800;background:#f4f5f7;overflow-y:auto;overscroll-behavior:contain;--phm-top:118px;--phm-gap:44px;--phm-photo:46px;--phm-foot:30px;--phm-ease:cubic-bezier(.76,0,.24,1);}
.phm-list {list-style:none;margin:0;padding:calc(var(--phone-safe-top,env(safe-area-inset-top)) + var(--phm-top)) 24px 0;}
.phm-list li {display:block;margin-bottom:var(--phm-gap);}
.phm-list a {position:relative;display:block;color:#1c1c1c!important;text-decoration:none!important;-webkit-tap-highlight-color:transparent;}
.phm-list a[aria-current=page]::before {content:"";position:absolute;left:-11px;top:0;bottom:2px;width:1px;background:#1c1c1c;transform-origin:top;animation:phm-rule .42s var(--phm-ease) .7s both;}
.phm-photo {position:relative;display:block;height:var(--phm-photo);overflow:hidden;}
.phm-photo img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;animation:phm-unroll .56s var(--phm-ease) calc(.2s + var(--phm-i,0) * .06s) both;}
.phm-cap {display:grid;grid-template-columns:30px auto 1fr;align-items:baseline;padding-top:14px;font-family:var(--font-site);animation:phm-cap .42s ease calc(.38s + var(--phm-i,0) * .06s) both;}
.phm-cap small {font-size:10px;letter-spacing:.2em;color:#8b8b90;}
.phm-cap b {font-weight:300;font-size:19px;line-height:1.2;letter-spacing:.34em;}
.phm-cap em {justify-self:end;font-size:13px;color:#6b6b72;}
.phm-list li:nth-child(2) {--phm-i:1;}
.phm-list li:nth-child(3) {--phm-i:2;}
.phm-list li:nth-child(4) {--phm-i:3;}
.phm-foot {position:absolute;left:24px;bottom:calc(var(--phm-foot) + env(safe-area-inset-bottom));margin:0;display:flex;gap:26px;font-family:var(--font-site);font-size:12px;letter-spacing:.26em;animation:phm-cap .42s ease .62s both;}
.phm-foot a {color:#6b6b72!important;text-decoration:none!important;}
.phone-menu[data-choosing] li:not(:has([data-chosen])),.phone-menu[data-choosing] .phm-foot {opacity:0;transition:opacity .16s ease;}
.phone-menu[data-closing] .phm-list,.phone-menu[data-closing] .phm-foot {opacity:0;transition:opacity .14s ease;}
@keyframes phm-unroll {from{clip-path:inset(0 100% 0 0);}to{clip-path:inset(0);}}
@keyframes phm-cap {from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}
@keyframes phm-rule {from{transform:scaleY(0);}to{transform:none;}}
@media (max-height:799px){.phone-menu {--phm-top:88px;--phm-gap:30px;--phm-photo:42px;--phm-foot:26px;}}
@media (max-height:639px){.phone-menu {--phm-top:76px;--phm-gap:20px;--phm-photo:36px;--phm-foot:22px;}}
@media (max-height:480px){.phm-foot {position:static;padding:8px 24px var(--phm-foot);}}
@media (prefers-reduced-motion:reduce){
.phm-photo img,.phm-cap,.phm-foot,.phm-list a[aria-current=page]::before {animation:none;}
}
html[data-phone-view=menu] .phone-directory-contact {display:none!important;}
}
@media (max-width:700px){
/* The desktop toggle styles every span as a bar; the phone icon draws its own bars. */
html[data-mobile-navigation] #site-navigation .site-menu-toggle .phone-burger {display:block;width:22px;height:12px;margin:0;background:none;}
}
@media (max-width:700px){
/* The bar is always present; over text it takes the page colour beneath it. */
html[data-mobile-navigation] #site-navigation {background:var(--phone-bar-bg,transparent)!important;transition:background-color .25s ease,color .25s ease,opacity .2s!important;opacity:1;transform:none!important;}
html[data-mobile-navigation] #site-navigation[data-visible=false] {opacity:1!important;transform:none!important;pointer-events:auto!important;}
/* Sisyphus thumbnail: the stone's own slope, not an empty colour field. */
.phh-thumbs button[data-device] {position:relative;overflow:visible;}
.phh-thumb-stone {position:absolute;inset:13px;background:linear-gradient(to bottom right,#f4f5f7 50%,#141414 50%);}
.phh-thumb-stone::after {content:'';position:absolute;left:-3px;bottom:-3px;width:7px;height:7px;border-radius:50%;background:#9c2f1c;}
}
@media (max-width:700px){
/* 2026-11-08 next stop as text: a quiet colophon at the end of each chapter. */
.phone-next-text {background:#f4f5f7;border-top:1px solid rgba(20,20,24,.08);padding:0;}
.phone-next-text a {display:flex;flex-direction:column;align-items:center;text-align:center;padding:84px 24px calc(48px + env(safe-area-inset-bottom));color:#1c1c1c!important;text-decoration:none!important;-webkit-tap-highlight-color:transparent;}
.phone-next-text small {font-size:10px;line-height:14px;letter-spacing:.36em;color:#8b8b90;}
.phone-next-text .phn-name {margin-top:18px;font-family:var(--font-site);font-weight:400;font-size:24px;line-height:1.2;letter-spacing:.3em;padding-left:.3em;}
.phone-next-text em {margin-top:10px;font-family:var(--font-site);font-style:italic;font-size:13px;line-height:18px;color:#8b8b90;}
.phone-next-text .phn-go {align-self:center;margin-top:36px;font-size:11px;color:#6b6b72;line-height:20px;letter-spacing:.32em;padding-bottom:5px;background:linear-gradient(currentColor,currentColor) left bottom/0 1px no-repeat;transition:background-size .45s cubic-bezier(.22,1,.36,1);}
.phone-next-text a:hover .phn-go,.phone-next-text a:active .phn-go {background-size:100% 1px;}
}
@media (max-width:700px){
html[data-mobile-shell], html[data-mobile-navigation] {color-scheme:only light;}
}
/* 085 手机插图：与桌面章节页（082）同一做法。整页从顶上是纸，导航是纸上的深字；照片是导航下方、左右各 20px 的
   一幅插图——照片自身的盒子、取景与切换都不变，只在其上盖一圈纸框（上沿＝导航高，左右 20px，下沿无）。
   章节题图条加高一个导航高，露出的插图仍是 200px。 */
@media (max-width:700px){
html[data-mobile-shell] {--phone-plate-top:calc(56px + var(--phone-safe-top,env(safe-area-inset-top)));--phone-plate-side:20px;}
.phh-photos::after,.phone-band::after {content:'';position:absolute;inset:0;z-index:3;box-sizing:border-box;border:solid var(--phone-plate-paper,#f4f5f7);border-width:var(--phone-plate-top) var(--phone-plate-side) 0;background:transparent;pointer-events:none;}
.phone-band {height:calc(200px + var(--phone-plate-top));}
}

/* Phone-only rules for home (screens up to 700px). Edit home's phone layout here, not in the
   shell's native-mobile.css. Served as part of /native-source/native-mobile.css, after the shell
   part, in the order of src/site/phone-parts.mjs. */
@media (max-width:700px){
.phone-stone .sis-sec,.phone-stone .sis-title,.phone-stone .sis-hr,.phone-stone .sis-expand {display:none;}
.phone-stone .sis-mat {padding:0;background:none;}
}
@media (max-width:700px){
.phone-stone .sis-title {display:block;font-size:18px;line-height:26px;letter-spacing:.2em;font-weight:300;margin:10px 0 0;color:inherit;}
}

/* Phone-only rules for resume (screens up to 700px). Edit resume's phone layout here, not in the
   shell's native-mobile.css. Served as part of /native-source/native-mobile.css, after the shell
   part, in the order of src/site/phone-parts.mjs. */
@media (max-width:700px){
.phone-content [data-formal-chapter=resume] .rs-wrap {padding:0 24px 64px;}
.phone-content [data-formal-chapter=resume] .figs {grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.phone-content [data-formal-chapter=resume] .fig {padding:0;min-width:0;}
.phone-content [data-formal-chapter=resume] .fig-n {font-size:25px;}
.phone-content [data-formal-chapter=resume] .fig-l {font-size:10px;}
}
@media (max-width:700px){
html[data-mobile-shell] .rs .rs-grid {display:block;}
html[data-mobile-shell] .rs .idc {display:grid;grid-template-columns:108px minmax(0,1fr);column-gap:24px;align-content:start;position:static;margin:0 0 40px;}
html[data-mobile-shell] .rs .idc-photo {grid-column:1;grid-row:1/6;width:108px;height:146px;margin:0;object-fit:cover;}
html[data-mobile-shell] .rs :is(.idc-name,.idc-latin,.idc-role,.idc-contact) {grid-column:2;margin:0;min-width:0;}
html[data-mobile-shell] .rs .idc-name {font-size:24px;}
html[data-mobile-shell] .rs .idc-latin {font-size:15px;margin-top:4px;}
html[data-mobile-shell] .rs .idc-role {font-size:12px;line-height:1.9;margin-top:12px;}
html[data-mobile-shell] .rs .idc-contact {font-size:11px;margin-top:12px;overflow-wrap:anywhere;}
html[data-mobile-shell] .rs .idc-actions {grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px;}
html[data-mobile-shell] .rs .idc-print {padding:12px;font-size:11px;}
html[data-mobile-shell] .rs .figs {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 0 36px;margin:0;}
html[data-mobile-shell] .rs .fig-div {display:none;}
html[data-mobile-shell] .rs .fig-n {font-size:25px;white-space:nowrap;}
html[data-mobile-shell] .rs .fig-u {font-size:13px;}
html[data-mobile-shell] .rs .fig-l {font-size:10px;letter-spacing:0;line-height:1.7;}
html[data-mobile-shell] .rs .rs-bar {position:static;justify-content:flex-end;padding:0;margin:0 0 16px;min-height:32px;border:0;background:transparent;}
html[data-mobile-shell] .rs .rs-nav {display:none;}
html[data-mobile-shell] .phone-resume-fold {padding:0;border-top:1px solid #d8d9da;}
html[data-mobile-shell] .phone-resume-fold summary {display:flex;align-items:center;min-height:66px;list-style:none;cursor:pointer;font-size:17px;letter-spacing:.06em;}
.phone-resume-fold summary::-webkit-details-marker {display:none;}
.phone-resume-fold summary::after {content:'＋';margin-left:auto;font-size:18px;color:#888;}
.phone-resume-fold[open] summary::after {content:'−';}
html[data-mobile-shell] .phone-resume-fold .sec {padding:0 0 28px;margin:0;border:0;display:block;}
html[data-mobile-shell] .phone-resume-fold :is(.file-t,.mk-t,.bio-h) {display:none;}
html[data-mobile-shell] .phone-resume-fold :is(.bio-ch,.file-body--pair,.file-body--edu,.rs-row,.appt-lead) {display:block;}
html[data-mobile-shell] .phone-resume-fold :is(.bio-lead,.bio-p) {font-size:16px;line-height:1.95;}
html[data-mobile-shell] .phone-resume-fold .bio-l {position:static;margin:24px 0 12px;}
html[data-mobile-shell] .phone-resume-fold .cert {width:150px;margin:24px 0;}
html[data-mobile-shell] .phone-resume-fold :is(.rsc-it,.edu-it,.rs-row) {padding:14px 0;}
html[data-mobile-shell] .rs .mk-kinds {position:static;display:flex;overflow-x:auto;gap:18px;padding:8px 0 20px;scrollbar-width:none;}
html[data-mobile-shell] .rs .mk-k {flex:0 0 auto;max-width:130px;white-space:normal;padding:0;}
html[data-mobile-shell] .rs .mk-k-l {font-size:12px;line-height:1.7;}
html[data-mobile-shell] .rs .mk-row {font-size:15px;line-height:1.9;}
}
@media (max-width:700px){
html[data-mobile-shell] .rs .idc {row-gap:0;}
html[data-mobile-shell] .rs .idc-photo {grid-row:1/5;}
html[data-mobile-shell] .rs .idc-actions {width:100%;max-width:none;align-items:stretch;}
html[data-mobile-shell] .rs .idc-print {margin:0;min-height:46px;}
}
@media (max-width:700px){
html[data-mobile-shell] .rs .fig-n {font-size:clamp(22px,6.4vw,25px);}
html[data-mobile-shell] .rs .fig-u {font-size:11px;}
}
@media (max-width:700px){
html[data-mobile-shell] .rs .idc {grid-template-columns:104px minmax(0,1fr);column-gap:18px;margin-bottom:28px;}
html[data-mobile-shell] .rs .idc-photo {width:104px;height:132px;grid-row:1/4;object-position:center 20%;}
html[data-mobile-shell] .rs .idc-latin {display:none;}
html[data-mobile-shell] .rs .idc-name {font-size:20px;font-weight:300;letter-spacing:.12em;}
html[data-mobile-shell] .rs .idc-role {margin-top:6px;line-height:20px;}
html[data-mobile-shell] .rs .idc-contact {font-size:13px;margin-top:8px;}
html[data-mobile-shell] .rs .figs {grid-template-columns:1.32fr 1fr 1fr .78fr;padding:0;margin-bottom:28px;gap:0;}
html[data-mobile-shell] .rs .fig {padding-left:10px;}
html[data-mobile-shell] .rs .fig:first-child {padding-left:0;}
html[data-mobile-shell] .rs .fig-n {font-size:21px;line-height:30px;}
html[data-mobile-shell] .rs .fig-l {line-height:15px;}
html[data-mobile-shell] .rs .idc-actions {margin:0 0 32px;gap:10px;}
html[data-mobile-shell] .rs .idc-print {min-height:44px;padding:0 12px 0 calc(12px + .14em);font-size:13px;align-items:center;justify-content:center;text-align:center;}
html[data-mobile-shell] .phone-resume-fold summary {min-height:56px;font-size:16px;}
}
@media (max-width:700px){
html[data-mobile-shell] .phone-content [data-formal-chapter=resume] {background:#f4f5f7;}
}
@media (max-width:700px){
html[data-mobile-shell] .rs {background:transparent;}
html[data-mobile-shell] .rs .idc {position:relative;inset:auto;}
html[data-mobile-shell] .rs .rs-bar {display:none;}
html[data-mobile-shell] .rs .phone-resume-language {position:absolute;right:0;top:0;font-size:11px;padding:4px 0;min-height:28px;background:none;border:0;}
html[data-mobile-shell] .phone-resume-fold {overflow-anchor:none;box-sizing:border-box;}
html[data-mobile-shell] .rs .mk-extra {transition:none;}
.phone-resume-fold[data-expanded=false] summary::after {content:'＋';}
.phone-resume-fold[data-expanded=true] summary::after {content:'−';}
html[data-mobile-shell] .phone-resume-fold .cert {width:100%;max-width:100%;margin:20px 0;}
html[data-mobile-shell] .phone-resume-fold :is(.rsc-org,.edu-school,.appt-org) {font-size:15px;line-height:26px;}
html[data-mobile-shell] .phone-resume-fold :is(.rsc-meta,.edu-meta,.appt-meta) {font-size:12px;line-height:20px;}
html[data-mobile-shell] .rs .mk-kinds {display:block;overflow:visible;padding:0 0 12px;}
html[data-mobile-shell] .rs .mk-k {display:flex;justify-content:space-between;align-items:baseline;width:100%;max-width:none;min-height:44px;padding:10px 0;gap:14px;border:0;background:none;box-shadow:none;}
html[data-mobile-shell] .rs .mk-k[aria-pressed=true] {color:#a23a2c;background:none;}
html[data-mobile-shell] .rs .mk-k[aria-pressed=true] .mk-k-l {text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px;}
html[data-mobile-shell] .rs .mk-k-l {font-size:14px;line-height:24px;}
html[data-mobile-shell] .rs .mk-k-n {font-size:12px;flex:none;}
html[data-mobile-shell] .rs .mk-row {position:relative;background:none;display:block;padding:15px 44px 15px 0;}
html[data-mobile-shell] .rs .mk-party {font-size:12px;line-height:20px;}
html[data-mobile-shell] .rs .mk-label {font-size:15px;line-height:25px;margin-top:4px;}
html[data-mobile-shell] .rs .mk-body {font-size:14px;line-height:25px;margin-top:6px;}
html[data-mobile-shell] .rs .mk-seal {position:absolute;right:0;top:16px;max-width:42px;white-space:normal;}
html[data-mobile-shell] .rs .seal-zh {padding:1px 3px;letter-spacing:0;font-size:11px;line-height:16px;}
html[data-mobile-shell] .rs .mk-subhead {font-size:13px;line-height:24px;margin-top:18px;}
}
@media (max-width:700px){
html[data-mobile-shell] .rs .cert-btn {padding:0;border:0;background:none;box-shadow:none;transform:none;}
html[data-mobile-shell] .rs .cert-btn img {width:100%;height:auto;}
html[data-mobile-shell] .phone-resume-fold :is(.appt-lead-t,.rsc-t,.edu-school,.rs-row,.rs-row strong) {font-size:15px;line-height:26px;font-weight:400;}
html[data-mobile-shell] .phone-resume-fold :is(.appt-term,.edu-degree,.edu-honor) {font-size:12px;line-height:20px;}
html[data-mobile-shell] .phone-resume-fold :is(.bio-lead,.bio-p) {font-size:15px;line-height:30px;}
}
@media (max-width:700px){
html[data-mobile-shell] .phone-resume-fold .file-body {padding-top:2px;border:0;}
html[data-mobile-shell] .phone-resume-fold .rs-narrow {border:0;}
html[data-mobile-shell] .phone-resume-fold .rs-row-d {display:block;font-size:12px;line-height:20px;margin-top:2px;}
html[data-mobile-shell] .phone-resume-fold :is(.rsc-it,.edu-it,.rs-row) {padding:0;margin-top:14px;}
html[data-mobile-shell] .phone-resume-fold :is(.rsc-it,.edu-it,.rs-row):first-child {margin-top:0;}
html[data-mobile-shell] .rs .rs-foot {margin-top:48px;padding-bottom:0;}
}
@media (max-width:360px){
html[data-mobile-shell] .rs .idc-print {font-size:12px;letter-spacing:.03em;gap:6px;white-space:nowrap;}
}
@media (max-width:700px){
html[data-mobile-shell] .rs .fig-l {margin-top:4px;}
html[data-mobile-shell] .rs details summary {position:relative;padding-right:24px;}
html[data-mobile-shell] .rs details summary::before,
  html[data-mobile-shell] .rs details summary::after {content:''!important;position:absolute;right:0;top:50%;width:12px;height:1px;background:#888;margin:0;transition:transform .3s ease;}
html[data-mobile-shell] .rs details summary::after {transform:rotate(90deg);}
html[data-mobile-shell] .rs details[data-expanded=true] summary::after {transform:rotate(0);}
}
@media (max-width:700px){
/* Shared overlays honour the corrected inset on phones. */
html[data-mobile-shell] [data-formal-chapter="resume"] .lb-close {top:max(12px,var(--phone-safe-top,env(safe-area-inset-top)));}
}

/* Phone-only rules for encounters (screens up to 700px). Edit encounters's phone layout here, not in the
   shell's native-mobile.css. Served as part of /native-source/native-mobile.css, after the shell
   part, in the order of src/site/phone-parts.mjs. */
@media (max-width:700px){
html[data-mobile-shell] .phone-content .depth-installation {width:calc(100% - 48px);}
html[data-mobile-shell] .phone-content .depth-gallery {height:760px;max-height:none;min-height:0;}
html[data-mobile-shell] .phone-content .depth-field {inset:0 0 290px;}
html[data-mobile-shell] .phone-content .depth-document {left:50%;height:350px;max-height:55svh;}
html[data-mobile-shell] .phone-content .depth-caption {left:0;right:0;width:100%;top:auto;bottom:82px;max-height:200px;}
html[data-mobile-shell] .phone-content .depth-heading {display:none;}
.phone-scene-scroll {position:absolute;inset:0 0 auto;height:60px;z-index:10;touch-action:pan-y;}
html[data-mobile-shell] .tongxi-native .tx-reading {touch-action:pan-y;}
html[data-mobile-shell] #eventCatalog :is(#toggleCatalogSearch,.tx-catalog-peek) {display:none!important;}
html[data-mobile-shell] #eventCatalog .tx-catalog-nav {display:flex;flex-direction:row;flex-shrink:0;overflow-x:auto;gap:24px;scrollbar-width:none;}
html[data-mobile-shell] #eventCatalog .tx-catalog-nav::-webkit-scrollbar {display:none;}
html[data-mobile-shell] #eventCatalog .tx-catalog-nav button {flex:none;width:auto;min-height:44px;white-space:nowrap;}
}
@media (max-width:700px){
html[data-mobile-shell] #tongxi-event-details :is(dt,.tx-detail-head,.tx-detail-role) {color:#888;}
html[data-mobile-shell] #eventCatalog .tx-catalog-scroll {overflow-anchor:none;}
}
@media (max-width:700px){
html[data-mobile-shell] :is(.lw-rail,.lw-edge,.lw-edge-tip) {display:none!important;}
}
@media (max-width:700px){
.phone-laiwang-tabs {display:flex;gap:28px;padding:0 24px 20px;}
.phone-laiwang-tabs button {font:inherit;font-size:14px;color:#888;background:none;border:0;padding:12px 0;min-height:44px;}
.phone-laiwang-tabs button[aria-pressed=true] {color:#1c1c1c;box-shadow:0 1px currentColor;}
html[data-mobile-shell] .phone-content .lw-paper {padding:0 0 56px;}
html[data-mobile-shell] .phone-content .depth-installation {width:100%;margin:0;}
html[data-mobile-shell] .phone-content .depth-gallery {height:auto;min-height:0;max-height:none;padding:430px 24px 0;}
html[data-mobile-shell] .phone-content .depth-field {inset:0 0 auto;height:430px;}
html[data-mobile-shell] .phone-content .depth-document {width:186px;height:330.5px;max-height:none;}
html[data-mobile-shell] .phone-content .depth-document-number {display:none;}
html[data-mobile-shell] .phone-content .depth-caption {position:relative;inset:auto;width:100%;height:auto;max-height:none;padding:0;}
html[data-mobile-shell] .phone-content .depth-caption .phone-quote-measure {position:absolute;inset:0 0 auto;visibility:hidden;pointer-events:none;min-height:0;height:auto;}
html[data-mobile-shell] .phone-content .depth-caption :is(.depth-meta,.depth-source) {font-size:12px;line-height:20px;}
html[data-mobile-shell] .phone-content .depth-controls {position:relative;inset:auto;display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-top:28px;}
html[data-mobile-shell] .phone-content .depth-pager {justify-content:flex-end;margin:0;gap:12px;}
html[data-mobile-shell] .phone-content .depth-count {margin-right:auto;font-size:22px;}
html[data-mobile-shell] .phone-content .depth-turn {width:44px;height:44px;border:1px solid #b4bab1;border-radius:50%;}
html[data-mobile-shell] .phone-content .depth-progress {justify-content:space-between;width:100%;}
html[data-mobile-shell] .phone-content .depth-help {font-size:11px;line-height:20px;text-align:center;margin:0;}
html[data-mobile-shell] .depth-reader-note {display:none;}
html[data-mobile-shell] .depth-reader-head {inset:var(--phone-safe-top,env(safe-area-inset-top)) 24px auto;height:56px;}
html[data-mobile-shell] .depth-reader-scroll {inset:calc(56px + var(--phone-safe-top,env(safe-area-inset-top))) 24px calc(72px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;}
html[data-mobile-shell] .depth-reader-paper {width:100%;height:100%;background:none;box-shadow:none;display:flex;align-items:center;justify-content:center;}
html[data-mobile-shell] .depth-reader-paper img {width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;}
html[data-mobile-shell] .depth-reader-footer {inset:auto 24px calc(20px + env(safe-area-inset-bottom));}
}
@media (max-width:700px){
html[data-mobile-shell] #eventCatalog .tx-catalog-title {font-size:16px;line-height:26px;}
html[data-mobile-shell] #eventCatalog .tx-catalog-meta {font-size:11px;line-height:20px;}
html[data-mobile-shell] #eventCatalog .tx-catalog-scroll {padding-top:0;}
}
@media (max-width:700px){
/* Phone uses a direct paper-to-scene boundary, without the desktop connecting stroke. */
html[data-mobile-shell] .lw-transition-layer {display:none!important;}
html[data-mobile-shell] .lw-scene [data-tongxi-native] {opacity:1!important;}
html[data-mobile-shell] .depth-progress button[aria-pressed=true] span,
  html[data-mobile-shell] .depth-help {opacity:1!important;}
}
@media (max-width:700px){
html[data-mobile-shell] .depth-reader-head {right:24px;}
html[data-mobile-shell] .tx-detail-head .phone-detail-close,
  html[data-mobile-shell] .tx-catalog-head .phone-detail-close {margin-right:0;}
}
@media (max-width:700px){
html[data-mobile-shell] [data-tongxi-native].tongxi-native dialog.tx-catalog {padding-top:calc(26px + var(--phone-safe-top,env(safe-area-inset-top)))!important;}
}

/* Phone-only rules for insights (screens up to 700px). Edit insights's phone layout here, not in the
   shell's native-mobile.css. Served as part of /native-source/native-mobile.css, after the shell
   part, in the order of src/site/phone-parts.mjs. */
@media (max-width:700px){
html[data-mobile-shell] .phone-content .ig {padding:32px 24px 64px;}
html[data-mobile-shell] .phone-content .ig-cols {display:block;}
html[data-mobile-shell] .phone-content :is(.ig-bar,.ledger,.reg-stub) {display:none;}
html[data-mobile-shell] .phone-content .reg {margin-bottom:56px;}
html[data-mobile-shell] .phone-content .reg:has(.reg-stub):not(:has([data-item])) {display:none;}
html[data-mobile-shell] .phone-content .it-title {font-size:23px;line-height:1.5;}
html[data-mobile-shell] .phone-content .it-fold {grid-template-rows:1fr!important;opacity:1!important;}
html[data-mobile-shell] .phone-content .it-fold-in {padding-top:16px;}
html[data-mobile-shell] .phone-content .it-cover {width:100%;height:auto;max-height:none;opacity:1;transform:none;}
html[data-mobile-navigation] .phone-reader :is(.rd-shade,.rd-aside,.rd-scroll,.rd-col,.rd-galley,.sheet) {background:#f4f5f7;box-shadow:none;}
html[data-mobile-navigation] .phone-reader :is(.rd-strip,.rd-x,.rd-skip,.rd-fly) {display:none!important;}
html[data-mobile-navigation] .phone-reader .rd-flex {display:block;}
html[data-mobile-navigation] .phone-reader .rd-aside {position:static;top:auto;height:auto;width:100%;transform:none!important;}
html[data-mobile-navigation] .phone-reader .rd-aside-in {padding:88px 24px 24px;height:auto;overflow:visible;}
html[data-mobile-navigation] .phone-reader .rd-title {font-size:29px;line-height:1.6;color:#1c1c1c;visibility:visible!important;}
html[data-mobile-navigation] .phone-reader .rd-galley {padding:0;}
html[data-mobile-navigation] .phone-reader .rd-col {padding:0;}
html[data-mobile-navigation] .phone-reader .rd-seam {height:96px;background:transparent;}
html[data-mobile-navigation] .phone-reader .sheet-grid {display:block;}
html[data-mobile-navigation] .phone-reader .sheet-grid h4 {margin:0 0 24px;}
html[data-mobile-navigation] .phone-reader .blocks {padding:0;font-size:17px;line-height:1.95;}
html[data-mobile-navigation] .phone-reader .blocks img {max-width:100%;height:auto;}
.phone-reader-bar {position:fixed;top:0;left:0;right:0;box-sizing:border-box;height:calc(48px + var(--phone-safe-top,env(safe-area-inset-top)));padding-top:var(--phone-safe-top,env(safe-area-inset-top));z-index:8;color:#1c1c1c;background:#f4f5f7;}
#site-navigation .phone-reader-bar {position:absolute;height:calc(56px + var(--phone-safe-top,env(safe-area-inset-top)));padding:0;background:transparent;pointer-events:none;}
.phone-reader-bar button {font:inherit;border:0;background:none;color:inherit;cursor:pointer;pointer-events:auto;}
/* The contents row sits under the bar (specs/078): 目录 · section number · section title · a small chevron. */
.phone-reader-bar .phone-reader-current {position:absolute;top:100%;left:0;right:0;box-sizing:border-box;display:flex;align-items:center;gap:10px;height:40px;padding:0 24px;background:#f4f5f7;border-bottom:1px solid rgba(28,28,28,.1);text-align:left;font-size:13px;line-height:20px;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility 0s .25s;}
.phone-reader-bar[data-reading=true] .phone-reader-current {opacity:1;visibility:visible;transition:opacity .25s ease;}
.phone-reader-current .prc-cap {flex:none;padding-right:10px;border-right:1px solid rgba(28,28,28,.18);font-size:11px;line-height:12px;letter-spacing:.2em;color:#6b6b72;}
.phone-reader-current .prc-no {flex:none;font-size:12px;color:#6b6b72;}
.phone-reader-current .prc-t {flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.04em;}
.phone-reader-current .prc-chev {flex:none;width:6px;height:6px;margin:0 2px 3px 0;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);transition:transform .3s ease,margin .3s ease;}
.phone-reader-current[aria-expanded=true] .prc-chev {margin:3px 2px 0 0;transform:rotate(-135deg);}
.phone-reader-directory {position:absolute;top:calc(100% + 40px);left:0;right:0;box-sizing:border-box;max-height:min(60svh,480px);overflow:auto;overscroll-behavior:contain;background:#f4f5f7;padding:8px 24px 16px;border-bottom:1px solid rgba(28,28,28,.1);box-shadow:0 18px 32px -24px rgba(0,0,0,.35);pointer-events:auto;}
.phone-reader-directory[hidden] {display:none;}
.phone-reader-bar .phone-reader-directory button {position:relative;display:flex;width:100%;gap:14px;min-height:44px;padding:10px 0 10px 14px;text-align:left;align-items:baseline;font-size:14px;line-height:22px;color:#6b6b72;border-left:1px solid #d8d9da;}
.phone-reader-bar .phone-reader-directory button[aria-current=true] {color:#1c1c1c;}
.phone-reader-directory button[aria-current=true]::before {content:"";position:absolute;left:-1px;top:12px;bottom:12px;width:1px;background:#1c1c1c;}
.phone-reader-bar .phone-reader-directory .no {display:inline;flex:none;font-size:12px;}
.phone-reader-bar .phone-reader-directory .nm {white-space:normal;overflow:visible;text-overflow:clip;}
.phone-reader-directory .bar {display:none;}
}
@media (max-width:700px){
html[data-mobile-navigation] .phone-reader .rd-flex[hidden] {display:none!important;}
html[data-mobile-shell] .phone-content .reg:not(:has([data-item])) {display:none;}
}
@media (max-width:700px){
.phone-chapter[data-phone-chapter=insights]>.phone-content {background:#f4f5f7;}
}
@media (max-width:700px){
html[data-mobile-shell] .phone-content .ig {padding:0 24px 56px;}
html[data-mobile-shell] .phone-content .ig-device {padding:0;width:100%;margin:0;}
html[data-mobile-shell] .phone-content .ledger {display:block;margin-bottom:34px;}
html[data-mobile-shell] .phone-content .lg-years {display:none;}
html[data-mobile-shell] .phone-content .lg-figs {flex-direction:row;gap:32px;}
html[data-mobile-shell] .phone-content .lg-fig {font-size:28px;}
html[data-mobile-shell] .phone-content .it-title {font-size:16px;line-height:26px;}
html[data-mobile-shell] .phone-content .it-meta {font-size:12px;}
html[data-mobile-shell] .phone-content .it-fold-in {padding-top:0;}
html[data-mobile-shell] .phone-content .it-cover {filter:none;}
html[data-mobile-shell] .phone-content .reg {margin-bottom:34px;}
}
@media (max-width:700px){
html[data-mobile-navigation] .phone-reader .rd-aside-in {padding:92px 24px 40px;display:block;}
html[data-mobile-navigation] .phone-reader .rd-title {font-size:30px;line-height:42px;font-weight:300;letter-spacing:.06em;margin:12px 0 16px;}
html[data-mobile-navigation] .phone-reader :is(.rd-author,.rd-lead,.rd-recs) {display:none;}
html[data-mobile-navigation] .phone-reader .rd-fold {max-height:none;opacity:1;overflow:visible;}
html[data-mobile-navigation] .phone-reader .rd-facts {display:flex;flex-wrap:wrap;gap:4px 10px;margin:0 0 32px;font-size:11px;line-height:20px;}
html[data-mobile-navigation] .phone-reader .rd-facts dt {display:none;}
html[data-mobile-navigation] .phone-reader .rd-facts dd {margin:0;}
html[data-mobile-navigation] .phone-reader .rd-rail {display:block;position:relative;padding:0;border:0;}
html[data-mobile-navigation] .phone-reader .rd-rail>button {position:relative;display:flex;align-items:center;min-height:38px;width:100%;padding:4px 0 4px 14px;gap:12px;font-size:13px;text-align:left;border-left:1px solid #d8d9da;}
html[data-mobile-navigation] .phone-reader .rd-rail .bar {position:absolute;left:-1px;top:10px;bottom:10px;width:1px;}
html[data-mobile-navigation] .phone-reader .rd-rail .no {display:none;}
html[data-mobile-navigation] .phone-reader .rd-seam {height:var(--seam-phone,56px);}
html[data-mobile-navigation] .phone-reader .sh-no {display:block;margin-bottom:12px;}
html[data-mobile-navigation] .phone-reader .sh-no>span {font-size:46px;line-height:1;font-weight:300;}
html[data-mobile-navigation] .phone-reader .sh-no small {display:none;}
html[data-mobile-navigation] .phone-reader .sheet-grid h4 {font-size:20px;line-height:30px;font-weight:400;margin:0 0 20px;}
html[data-mobile-navigation] .phone-reader .blocks {font-size:16px;line-height:31px;}
html[data-mobile-navigation] .phone-reader .blocks p {margin:0 0 22px;}
html[data-mobile-navigation] .phone-reader .blocks :is(p,li) {text-align:justify;text-align-last:start;}
html[data-mobile-navigation] .phone-reader .blocks blockquote {font-size:20px;line-height:34px;margin:32px 0;}
html[data-mobile-navigation] .phone-reader .blocks img {display:block;width:calc(100% + 48px);max-width:none;margin:32px -24px;height:auto;}
html[data-mobile-navigation] .phone-reader :is(.cl-author,.rd-next,.rd-tools) {margin-top:64px;}
html[data-mobile-navigation] .phone-reader .rd-tools {padding:24px 24px 56px;display:flex;gap:24px;}
}
@media (max-width:700px){
html[data-mobile-navigation] .phone-reader .rd-fold-facts {display:block;transform:none;}
html[data-mobile-navigation] .phone-reader .rd-facts {padding:0;border:0;}
html[data-mobile-navigation] .phone-reader .rd-rail .nm {font-size:13px;line-height:24px;padding:0;letter-spacing:.04em;}
html[data-mobile-navigation] .phone-reader .rd-rail button {height:auto;box-sizing:border-box;}
}
@media (max-width:700px){
html[data-mobile-navigation] .phone-reader .blocks :is(ul,ol) {font-size:15px;line-height:26px;padding-left:1.4em;}
html[data-mobile-navigation] .phone-reader .blocks li {margin-top:8px;}
html[data-mobile-navigation] .phone-reader .blocks strong {font-weight:500;}
html[data-mobile-navigation] .phone-reader .blocks .num {position:static;display:block;font-size:11px;line-height:22px;}
html[data-mobile-navigation] .phone-reader .blocks .is-sub {font-size:15px;font-weight:500;}
}
@media (max-width:700px){
html[data-mobile-shell] .phone-content .lg-figs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
html[data-mobile-shell] .phone-content .lg-fig {font-weight:300;}
html[data-mobile-navigation] .phone-reader .rd-meta {display:none;}
html[data-mobile-navigation] .phone-reader :is(.rd-aside,.rd-galley,.rd-col,.blocks) {opacity:1!important;transform:none!important;clip-path:none!important;transition:none!important;}
html[data-mobile-navigation] .phone-reader .blocks>:is(figure,p.is-figure) {clip-path:none!important;transition:none!important;}
html[data-mobile-navigation] dialog.phone-reader .rd-scroll {top:calc(48px + var(--phone-safe-top,env(safe-area-inset-top)));scrollbar-width:none;}
html[data-mobile-navigation] .phone-reader .rd-aside-in {padding:84px 24px 40px;}
html[data-mobile-navigation] dialog.phone-reader .rd-aside-in {padding-top:36px;}
html[data-mobile-navigation] .phone-reader .rd-title {margin:0 0 10px;text-wrap:wrap;}
html[data-mobile-navigation] .phone-reader .rd-rail {margin-top:28px;padding:14px 0;border-block:1px solid #d4d6dc;}
html[data-mobile-navigation] .phone-reader .rd-facts {margin-bottom:0;}
html[data-mobile-navigation] .phone-reader .rd-rail>button {align-items:flex-start;min-height:36px;padding:6px 12px;gap:14px;color:#1a1a1c;}
html[data-mobile-navigation] .phone-reader .rd-rail .no {display:block;flex:0 0 16px;font-size:12px;line-height:24px;padding:0;color:#5a5a5e;}
html[data-mobile-navigation] .phone-reader .rd-rail .nm {font-size:14px;line-height:24px;white-space:normal;overflow:visible;text-overflow:clip;-webkit-line-clamp:unset;display:block;}
}
@media (max-width:700px){
html[data-mobile-navigation] .phone-reader .rd-rail .bar {background:transparent!important;}
html[data-mobile-navigation] .phone-reader .rd-rail .is-current .bar {background:#94735c!important;}
}
@media (max-width:700px){
html[data-mobile-navigation] .phone-reader .rd-back {display:none;}
}
@media (max-width:700px){
/* 2026-11-08 insights list reads clearly at rest, matching the desktop adjustment. */
html[data-mobile-shell] .phone-content .it-title {color:#1a1a1c;}
html[data-mobile-shell] .phone-content .it-meta {color:#5a5a5e;}
html[data-mobile-shell] .phone-content .reg-line {color:#5a5a5e;}
}

/* Phone-only rules for chance (screens up to 700px). Edit chance's phone layout here, not in the
   shell's native-mobile.css. Served as part of /native-source/native-mobile.css, after the shell
   part, in the order of src/site/phone-parts.mjs. */
@media (max-width:700px){
/* 等待与其他三章一样：顶部题图条，标题在纸面上（specs/080）。纸色与下面的作品同为 #fafbfc。 */
html[data-mobile-shell] .phone-chapter[data-phone-chapter=chance]>.phone-heading {background:#fafbfc;}
html[data-mobile-shell] .phone-chapter[data-phone-chapter=chance]>.phone-band {--phone-plate-paper:#fafbfc;}
html[data-mobile-shell] .phone-gallery {padding:0!important;margin:0!important;background:#f4f5f7;}
.phone-gallery>[hidden] {display:none!important;}
.phone-photo-slides {position:absolute;inset:calc(68px + var(--phone-safe-top,env(safe-area-inset-top))) 0 calc(68px + env(safe-area-inset-bottom));display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior:contain;scrollbar-width:none;touch-action:pan-x;}
.phone-photo-slides figure {flex:0 0 100%;height:100%;margin:0;display:flex;align-items:center;justify-content:center;scroll-snap-align:center;scroll-snap-stop:always;box-sizing:border-box;padding:0 16px;}
.phone-photo-slides img {width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;}
}
@media (max-width:700px){
.phone-photo-slides {top:calc(56px + var(--phone-safe-top,env(safe-area-inset-top)));bottom:calc(72px + env(safe-area-inset-bottom));}
.phone-photo-slides figure {padding:0 24px;}
}
@media (max-width:700px){
.phone-photo-slides img {transform-origin:top left;}
}
@media (max-width:700px){
html[data-mobile-shell] .phone-chapter[data-phone-chapter=chance]>.phone-content,
  html[data-mobile-shell] .phone-gallery {background:#fafbfc;}
}
@media (max-width:700px){
/* 2026-11-08 waiting page: compact contact sheet, thin progress line, vertical viewer. */
html[data-mobile-shell] .phone-gallery {background:#fafbfc;}
.phone-sheet {background:#fafbfc;padding-bottom:140px;}
.phs-group>header {display:flex;align-items:baseline;padding:72px 24px 22px;}
/* 第一组紧接纸面标题，与其他三章题头到正文的距离相同（specs/080）。 */
.phs-group:first-child>header {padding-top:24px;}
.phs-group>header i {font:italic 15px/1 'Newsreader','Noto Serif SC',serif;color:#8b8b90;margin-right:16px;}
.phs-group>header b {font:300 34px/1.2 'Noto Serif SC','Songti SC',serif;letter-spacing:.22em;color:#1c1c1c;}
.phs-group>header span {margin-left:auto;font-size:12px;letter-spacing:.1em;color:#8b8b90;}
.phs-col {padding:0 24px;display:flex;flex-direction:column;gap:4px;}
.phs-row {display:flex;gap:4px;}
.phs-photo {flex:none;height:100%;padding:0;border:0;background:#e6e7ea;display:block;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:transparent;}
.phs-photo img {width:100%;height:100%;object-fit:cover;display:block;-webkit-user-drag:none;user-select:none;}
.phone-sheet-line {position:fixed;left:0;right:0;bottom:0;height:calc(46px + env(safe-area-inset-bottom));background:#fafbfc;border-top:1px solid rgba(20,20,24,.08);z-index:700;opacity:0;visibility:hidden;transition:opacity .35s ease,visibility 0s .35s;touch-action:none;cursor:pointer;-webkit-tap-highlight-color:transparent;}
.phone-sheet-line[data-visible=true] {opacity:1;visibility:visible;transition:opacity .35s ease;}
html[data-phone-transition] .phone-sheet-line {opacity:0;visibility:hidden;}
.phs-segments {position:absolute;left:24px;right:24px;bottom:calc(14px + env(safe-area-inset-bottom));display:flex;gap:3px;height:14px;align-items:flex-end;}
.phs-segments b {flex:1 1 0;position:relative;height:14px;display:block;}
.phs-segments b::before {content:'';position:absolute;left:0;right:0;bottom:3px;height:2px;background:rgba(20,20,24,.16);}
.phs-segments b i {position:absolute;left:0;right:0;bottom:3px;height:2px;background:#1c1c1c;transform-origin:left;transform:scaleX(0);}
.phs-segments b[data-state=current]::before {height:3px;bottom:2.5px;background:rgba(20,20,24,.3);}
.phs-segments b[data-state=current] i {height:3px;bottom:2.5px;}
.phs-now {position:absolute;top:6px;transform:translateX(-50%);font-size:11px;line-height:14px;letter-spacing:.2em;color:#1c1c1c;white-space:nowrap;pointer-events:none;transition:left .25s ease;}
.phone-photo-view .phone-photo-slides {display:block;overflow-x:hidden;overflow-y:auto;scroll-snap-type:none;inset:calc(56px + var(--phone-safe-top,env(safe-area-inset-top))) 0 calc(56px + env(safe-area-inset-bottom));touch-action:pan-y;}
.phone-photo-view .phone-photo-slides figure {display:flex;flex:none;width:100%;height:auto;justify-content:center;padding:0 24px;margin:0 0 44px;box-sizing:border-box;scroll-snap-align:none;scroll-snap-stop:normal;}
.phone-photo-view .phone-photo-slides figure:first-child {padding-top:16px;}
.phone-photo-view .phone-photo-slides figure:last-child {margin-bottom:120px;}
.phone-photo-view .phone-photo-slides img {width:auto;height:auto;max-width:100%;max-height:none;}
}

/* Phone-only rules for here (screens up to 700px). Edit here's phone layout here, not in the
   shell's native-mobile.css. Served as part of /native-source/native-mobile.css, after the shell
   part, in the order of src/site/phone-parts.mjs. */
@media (max-width:700px){
html[data-mobile-navigation] .here-main {padding:96px 24px 80px;max-width:100%;}
html[data-mobile-navigation] .here-essay-title {font-size:19px;line-height:31px;font-weight:400;}
html[data-mobile-navigation] .here-essay-date {font-size:12px;margin-bottom:24px;}
html[data-mobile-navigation] .here-essay-body {font-size:16px;line-height:31px;}
html[data-mobile-navigation] .here-essay-body :is(h2,h3) {font-size:20px;line-height:30px;font-weight:400;margin-top:72px;}
}

/* Phone-only rules for reading (screens up to 700px). Edit reading's phone layout here, not in the
   shell's native-mobile.css. Served as part of /native-source/native-mobile.css, after the shell
   part, in the order of src/site/phone-parts.mjs. */
@media (max-width:700px){
.phone-content .page-header {display:none;}
}
@media (max-width:700px){
html[data-mobile-navigation]:has(#site-navigation > .phone-detail-close) .pager-return {display:none;}
}
