@charset "UTF-8";
/* Shared reading scale. Load after site.css, inventory.css and guide.css. */
:root {
  --type-copy: 1.0625rem;
  --type-help: .9375rem;
  --type-caption: .875rem;
  --type-control: 1rem;
  --read-ink: #304640;
  --read-muted: #626b5c;
  --read-gold: #796341;
  --read-sans: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --muted: var(--read-muted);
  --g-muted: var(--read-muted);
}
html { font-size: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, body.guide-body { font-size: var(--type-copy); line-height: 1.8; }
button, input, select, textarea { font-family: var(--read-sans); }
button, a { touch-action: manipulation; }

/* Navigation and the home page. Calligraphic display titles stay expressive. */
.main-nav { font-size: var(--type-control); gap: 26px; }
.main-nav a { color: #555f53; letter-spacing: .5px; }
.brand small, .guide-brand small { font-size: .6875rem; letter-spacing: 1.7px; color: #6b6e61; }
.header-inner { gap: 22px; }
.header-actions { gap: 18px; }
.login-link, .header-actions .login-link, .header-logout { font-size: var(--type-control); min-height: 44px; }
.header-account { font-size: var(--type-caption); color: var(--read-muted); }
.button { font-size: var(--type-control); line-height: 1.5; min-height: 46px; }
.button.small { font-size: var(--type-control); padding: 12px 18px; gap: 12px; }
.button.large, .hero-actions .button.large { font-size: 1.125rem; padding: 19px 28px; gap: 13px; }
.hero { height: auto; min-height: 740px; }
.hero-inner { min-height: inherit; height: auto; }
.hero-copy { padding-top: 64px; padding-bottom: 110px; max-width: 670px; }
.hero-description { font-size: 1.125rem; color: #596653; line-height: 1.95; letter-spacing: .2px; margin-bottom: 28px; }
.hero .eyebrow { font-size: var(--type-caption); letter-spacing: 2.5px; color: #766447; }
.hero-footnote { font-size: var(--type-caption); color: var(--read-muted); letter-spacing: 1px; line-height: 1.8; }
.hero-guide-link { font-size: var(--type-control); gap: 15px; line-height: 1.7; color: #526044; margin-top: 4px; padding: 8px 0; }
.hero-guide-link>span { color: #896234; }
.scroll-cue { font-size: var(--type-help); font-weight: 500; letter-spacing: 1px; color: #5b6653; min-height: 44px; bottom: 21px; white-space: nowrap; }
.landmark small { font-size: .75rem; color: #526953; }
.landmark p { font-size: var(--type-caption); color: #526953; }
.quick-links { padding: 25px 0; }
.quick-links>a, .quick-links>button { gap: 16px; padding: 12px 19px; align-items: flex-start; }
.quick-links strong { font-size: 1.5rem; line-height: 1.5; }
.quick-links small { font-size: var(--type-caption); line-height: 1.75; color: var(--read-muted); letter-spacing: 0; }
.quick-icon { margin-top: 4px; }
.quick-links b { align-self: center; }
.section-heading .eyebrow, .eyebrow { font-size: .75rem; color: var(--read-gold); letter-spacing: 2px; }
.section-note { font-size: 1.125rem; color: #696e5a; }
.text-button, .step .text-button { font-size: var(--type-control); line-height: 1.65; min-height: 44px; color: #943c32; }
.article-row { padding: 23px 0; gap: 17px; }
.article-type { font-size: var(--type-caption); line-height: 1.5; color: #796241; padding: 5px 8px; }
.article-row>span:nth-child(2) { font-size: 1.125rem; line-height: 1.65; min-width: 0; letter-spacing: 0; }
.article-row small { font-size: var(--type-help); color: var(--read-muted); line-height: 1.8; margin-top: 6px; }
.guide-home-label { font-size: var(--type-caption); color: var(--read-gold); letter-spacing: 2px; }
.guide-feature { padding: 36px; min-height: 430px; }
.guide-feature>small { font-size: var(--type-caption); color: #dde3ca; letter-spacing: 2px; }
.guide-feature h3 { font-size: 2.75rem; margin: 30px 0 20px; line-height: 1.5; letter-spacing: 2px; }
.guide-feature p { font-size: var(--type-copy); color: #e0e7d7; line-height: 1.95; max-width: 310px; padding-right: 20px; }
.guide-feature>span { display: inline-flex; width: fit-content; max-width: calc(100% - 42px); align-items: center; font-size: 1.125rem; line-height: 1.6; font-weight: 600; color: #fae6ae; padding: 12px 0 8px; border-bottom: 1px solid #d3c394; margin-top: 12px; gap: 24px; }
.guide-feature>i { font-size: var(--type-caption); color: #c4d1b3; letter-spacing: 5px; right: 23px; }
.guide-home-all { font-size: 1.125rem; line-height: 1.7; min-height: 48px; color: #945139; }
.guide-home-tags span { font-size: var(--type-caption); color: #536147; }
.landscape-copy>p:not(.eyebrow), .step p { font-size: var(--type-copy); color: var(--read-muted); line-height: 1.95; }
.scene-caption p { font-size: var(--type-help); color: var(--read-muted); line-height: 1.9; letter-spacing: .3px; }
.school-section .picture-caption small { font-size: var(--type-caption); color: var(--read-muted); letter-spacing: .2px; }
.school-section .landscape-tabs button { font-size: 1.25rem; min-height: 48px; }
.step small { font-size: .75rem; color: var(--read-gold); }
.step h3 { font-size: 1.625rem; line-height: 1.5; }
.closing small { font-size: var(--type-help); color: #756244; letter-spacing: 1px; }
.site-footer p { font-size: var(--type-help); color: var(--read-muted); }
.site-footer p span, .site-footer small, .site-footer #icp-link { font-size: var(--type-caption); color: var(--read-muted); line-height: 1.9; }
.site-footer>div { min-width: 0; }
.back-top { min-width: 44px; min-height: 44px; }

/* Login, registration, password change, account and service dialogs. */
.auth-dialog[open] { width: min(860px, calc(100% - 32px)); grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.auth-panel { padding: 38px 36px 30px; }
.auth-panel>.eyebrow, .account-banner .eyebrow { font-size: .75rem; color: var(--read-gold); }
.auth-art-copy p, .auth-art-copy>span { font-size: var(--type-caption); line-height: 1.8; color: #e6ebd4; letter-spacing: 2px; }
.auth-art>small { font-size: .6875rem; color: #ced8c3; }
.auth-subtitle, .auth-help, .field-hint, .account-security .security-heading p { font-size: var(--type-caption); line-height: 1.85; color: var(--read-muted); }
.auth-tabs button { font-size: var(--type-control); color: var(--read-muted); line-height: 1.5; min-height: 44px; }
form label, .server-switch label { font-size: var(--type-control); line-height: 1.6; color: #465940; }
form input, .server-switch select { font-size: var(--type-control); line-height: 1.5; min-height: 48px; }
form input::placeholder { color: #71776c; }
.password-field input { padding-right: 66px; }
.password-field button { font-size: var(--type-caption); padding: 0 13px; color: #716145; }
.optional { font-size: .8125rem; color: #655f4e; }
.form-submit, .outline-button, .content-dialog .button { font-size: var(--type-control); line-height: 1.6; min-height: 44px; }
.outline-button { color: #716145; }
.form-message, .demo-fill, .toast { font-size: var(--type-help); line-height: 1.85; }
.security-heading>span, .server-switch>span { font-size: var(--type-caption); color: var(--read-muted); line-height: 1.8; }
.security-heading { flex-wrap: wrap; gap: 10px; }
.content-dialog { width: min(740px, calc(100% - 32px)); }
.content-dialog p, .content-dialog li, .content-dialog .service-guide li { font-size: var(--type-copy); line-height: 1.95; color: var(--read-muted); }
.content-dialog .service-copy p, .content-dialog .service-caption { font-size: var(--type-help); line-height: 1.85; color: var(--read-muted); }
.service-label { font-size: var(--type-caption); color: #626f50; letter-spacing: 1px; }
.recharge-card .service-label { color: #7e623d; }
.service-status { font-size: var(--type-control); line-height: 1.9; color: #4f6848; }
.account-dialog { width: min(820px, calc(100% - 32px)); }
.account-summary small, .account-status, .roles-heading span, .role-desc, .role-level small, .account-bottom p { font-size: var(--type-caption); line-height: 1.8; color: var(--read-muted); }
.account-status { color: #48653e; }
.account-summary strong { font-size: 1.125rem; }
.roles-heading { flex-wrap: wrap; gap: 8px; }
.role-name { font-size: 1.5rem; line-height: 1.5; }
.role-enter { font-size: var(--type-caption); }
.role-level { line-height: 1.3; }
.empty-state { font-size: var(--type-control); color: var(--read-muted); }
.account-services { flex-wrap: wrap; }
.account-services .outline-button { white-space: nowrap; }
.account-bottom { gap: 16px; flex-wrap: wrap; }

/* Inventory: readable details and larger mobile cells without hiding quantities. */
.inventory-dialog { width: min(1000px, calc(100vw - 32px)); font-size: var(--type-control); }
.bag-heading p, .bag-role div>span, .bag-status, .bag-message, .bag-capacity, .bag-footer { font-size: var(--type-caption); line-height: 1.8; }
.bag-heading p { color: #d2bc90; }
.bag-role div>span, .bag-capacity { color: #c0c4b6; }
.bag-footer { color: #b5bfb2; }
.bag-role strong { font-size: 1.375rem; line-height: 1.5; }
.bag-toolbar button, .bag-toolbar #bag-refresh { font-size: var(--type-control); line-height: 1.5; min-height: 46px; }
.bag-layout { grid-template-columns: minmax(0, 1fr) 270px; }
.bag-detail h3 { font-size: 1.125rem; line-height: 1.6; }
.bag-detail p, .bag-detail dl { font-size: var(--type-help); line-height: 1.85; }
.bag-detail dt { color: #b1b9a9; }
.bag-detail dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 16px; }
.bag-money span { font-size: var(--type-caption); color: #bcc2b0; }
.bag-money strong { font-size: var(--type-help); line-height: 1.8; }
.bag-count { font-size: .8125rem; line-height: 1.2; }
.bag-bound { font-size: .6875rem; }
.bag-empty { font-size: var(--type-control); }

/* Standalone guide: the same scale for prose, tables, search and navigation. */
.guide-top nav, .guide-back { font-size: var(--type-control); }
.guide-top nav a { color: #59644f; }
.guide-back { min-height: 44px; display: flex; align-items: center; }
.guide-breadcrumb { font-size: var(--type-caption); color: #d1dbc7; letter-spacing: 1px; }
.guide-eyebrow { font-size: .75rem; color: #8a6d3e; letter-spacing: 2px; }
.guide-hero .guide-eyebrow { color: #d5c494; }
.guide-hero-description { font-size: var(--type-copy); line-height: 1.95; color: #e0e6d8; letter-spacing: .3px; }
.guide-hero-meta { font-size: var(--type-caption); color: #d0d9c3; line-height: 1.8; flex-wrap: wrap; gap: 18px; }
.guide-tools p { font-size: var(--type-help); color: var(--read-muted); line-height: 1.9; }
.guide-tools strong { color: #465b3f; }
.guide-search { flex-shrink: 0; }
.guide-search input { font-size: var(--type-control); line-height: 1.5; min-height: 52px; }
.guide-search input::placeholder { color: #6b705e; }
.guide-search button { min-width: 44px; min-height: 44px; top: 4px; right: 4px; }
.guide-search label { top: 8px; }
.guide-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 48px; }
.guide-sidebar>p { font-size: var(--type-caption); color: var(--read-gold); letter-spacing: 1px; }
.guide-sidebar nav a { font-size: var(--type-control); line-height: 1.65; gap: 12px; min-height: 48px; }
.guide-sidebar nav a span { font-size: var(--type-caption); color: #7d7055; }
.guide-sidebar .guide-sidebar-note { font-size: var(--type-caption); line-height: 1.9; color: var(--read-muted); }
.guide-section .guide-section-summary { font-size: var(--type-help); line-height: 1.8; color: var(--read-muted); }
.guide-section h3 { font-size: 1.5rem; line-height: 1.6; }
.guide-section h4 { font-size: 1.125rem; line-height: 1.7; }
.guide-section p, .guide-section ul, .guide-section ol { font-size: var(--type-copy); line-height: 1.95; color: #56634d; }
.guide-keyfacts span { font-size: var(--type-caption); line-height: 1.8; color: #58654b; }
.guide-keyfacts strong small { font-size: var(--type-control); }
.guide-school-names span { font-size: 1.125rem; }
.guide-callout { font-size: var(--type-control); line-height: 1.95; color: #76613a; }
.guide-table { font-size: var(--type-control); min-width: 620px; }
.guide-table th { font-weight: 600; color: #4c6343; padding: 14px 15px; }
.guide-table td { color: #56634b; padding: 16px 15px; line-height: 1.85; }
.guide-table .time { font-size: 1.0625rem; }
.guide-table small { font-size: var(--type-caption); color: #72674f; line-height: 1.8; }
.guide-islands { grid-template-columns: 1fr; }
.guide-island { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 0 26px; padding: 23px; }
.guide-island h3 { grid-column: 1; font-size: 1.375rem; }
.guide-island>small { font-size: var(--type-caption); color: #7b6541; letter-spacing: 1px; }
.guide-island p { font-size: var(--type-control); }
.guide-island .guide-coordinates { grid-column: 2; grid-row: 1 / 5; padding: 4px 0 4px 24px; border-top: 0; border-left: 1px solid #d2d7c3; margin: 0!important; }
.guide-event { grid-template-columns: 126px minmax(0, 1fr); }
.guide-event>div:first-child small { font-size: var(--type-caption); color: #756b52; line-height: 1.8; }
.guide-event p { font-size: var(--type-copy); }
.guide-figure figcaption { font-size: var(--type-caption); line-height: 1.7; color: #51633f; flex-wrap: wrap; }
.guide-figure figcaption span:last-child { font-size: var(--type-caption); color: #7b6233; }
.guide-section .guide-smallprint { font-size: var(--type-caption); color: #6c6853; line-height: 1.85; }
.guide-result-box button, .guide-result-box>p, .guide-result small { font-size: var(--type-help); color: var(--read-muted); line-height: 1.85; }
.guide-result-box button { min-height: 44px; }
.guide-result strong { font-size: 1.125rem; }
.guide-footer { font-size: var(--type-caption); line-height: 1.85; color: var(--read-muted); }
.guide-lightbox>header { font-size: var(--type-control); }
.guide-lightbox button { min-width: 44px; min-height: 44px; }

/* Reflow the layout before increased text can crowd a neighbouring column. */
@media (max-width: 1200px) {
  .header-inner { width: calc(100% - 48px); }
  .main-nav { gap: 18px; }
  .brand strong { font-size: 1.625rem; letter-spacing: 2px; }
  .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-links>:nth-child(2) { border-right: 0; }
  .quick-links>a, .quick-links>button { padding: 18px 23px; }
  .guide-feature { padding: 28px; }
  .guide-feature h3 { font-size: 2.375rem; }
  .guide-feature>i { right: 18px; }
  .guide-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 30px; }
  .guide-top nav { gap: 18px; }
}
@media (min-width: 601px) and (max-width: 1100px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; min-width: 44px; min-height: 44px; }
  .main-nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #f8f6f0; height: auto; padding: 15px 24px; justify-content: center; gap: 24px; box-shadow: 0 10px 20px #30302a16; }
  .main-nav.open a { padding: 10px 0; min-height: 44px; }
  .main-nav a.active:after { display: none; }
}
@media (max-width: 900px) {
  .journal-grid { grid-template-columns: 1fr; gap: 32px; }
  .guide-feature { min-height: 390px; }
  .guide-feature h3 { font-size: 2.625rem; }
  .guide-feature p { max-width: 460px; }
  .steps { grid-template-columns: 1fr; }
  .step { display: flex; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step-num { min-width: 44px; }
  .guide-top nav { display: none; }
  .guide-layout { display: block; }
  .guide-sidebar { position: relative; top: auto; margin-bottom: 30px; }
  .guide-sidebar>p, .guide-sidebar .guide-sidebar-note { display: none; }
  .guide-contents-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 12px 15px; border: 1px solid #cccbb7; background: #ececdd; font-size: var(--type-control); min-height: 48px; }
  .guide-sidebar nav { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #d1d1bd; border-top: 0; }
  .guide-sidebar nav.is-open { display: grid; }
  .guide-sidebar nav a { padding: 12px; }
  .guide-tools>.guide-shell { flex-direction: column; align-items: stretch; gap: 16px; }
  .guide-search { width: 100%; }
  .bag-layout { grid-template-columns: minmax(0, 1fr); }
  .bag-detail-seal { display: none; }
  .bag-detail dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
}
@media (max-width: 760px) {
  :root { --type-copy: 1rem; --type-help: .9375rem; }
  .guide-top>.guide-shell { min-height: 80px; height: auto; padding-block: 16px; gap: 16px; }
  .guide-brand strong { font-size: 1.375rem; }
  .guide-brand small { font-size: .625rem; letter-spacing: 1px; }
  .guide-hero { padding: 28px 0 36px; }
  .guide-hero .guide-shell { display: block; }
  .guide-hero h1 { font-size: clamp(2.125rem, 6vw, 2.75rem); line-height: 1.45; letter-spacing: 1px; }
  .guide-book { display: none; }
  .guide-breadcrumb { margin-bottom: 23px; flex-wrap: wrap; gap: 10px; }
  .guide-hero .guide-eyebrow { font-size: .75rem; }
  .guide-hero-description { max-width: 100%; }
  .guide-hero-meta { gap: 10px 16px; margin-top: 22px; }
  .guide-hero-meta i { display: none; }
  .guide-section h2 { font-size: 1.75rem; }
  .guide-section h3 { font-size: 1.375rem; }
  .guide-section h4 { font-size: 1.0625rem; }
  .guide-event { grid-template-columns: 1fr; gap: 9px; }
  .guide-event>div:first-child { padding-top: 0; font-size: 1.375rem; }
  .guide-event>div:first-child small { display: inline; margin-left: 10px; }
  .guide-island { display: block; padding: 20px; }
  .guide-island .guide-coordinates { border-left: 0; border-top: 1px solid #d2d7c3; padding: 14px 0 0; margin-top: 15px!important; }
  .guide-island>small { font-size: var(--type-caption); }
  .guide-figure { flex-basis: 200px; }
}
@media (max-width: 600px) {
  .header-inner { width: calc(100% - 28px); gap: 8px; }
  .header-actions { gap: 8px; }
  .brand strong { font-size: 1.375rem; }
  .brand small { font-size: .625rem; letter-spacing: 1px; }
  .login-link, .header-actions .login-link, .header-logout { font-size: .9375rem; }
  .header-actions .login-link { padding-inline: 0; }
  .header-logout { padding: 7px; }
  .mobile-toggle { min-width: 36px; min-height: 44px; }
  .header-inner .person-icon { display: none; }
  .hero { min-height: 660px; }
  .hero-copy { padding-top: 42px; padding-bottom: 92px; width: 100%; }
  .hero h1 { font-size: clamp(2.75rem, 12.8vw, 3.75rem); letter-spacing: 1px; margin: 25px 0; }
  .hero h1>span { margin-left: 8px; }
  .hero-description { font-size: var(--type-copy); line-height: 1.95; letter-spacing: 0; }
  .hero-description br { display: none; }
  .hero-actions { gap: 12px; }
  .hero-actions .button.large { font-size: var(--type-control); padding: 15px 16px; gap: 9px; }
  .hero-footnote { letter-spacing: 0; }
  .hero-guide-link { gap: 7px; flex-wrap: wrap; font-size: var(--type-control); }
  .hero .eyebrow { letter-spacing: 1.5px; }
  .scroll-cue { font-size: var(--type-caption); }
  .quick-links { padding: 10px 0; }
  .quick-links>a, .quick-links>button { padding: 18px 10px; gap: 10px; }
  .quick-icon { display: none; }
  .quick-links strong { font-size: 1.375rem; }
  .quick-links small { font-size: var(--type-caption); margin-top: 5px; }
  .article-row { padding: 20px 0; gap: 13px; }
  .article-row>span:nth-child(2) { font-size: 1.0625rem; }
  .article-row>b { display: none; }
  .guide-feature { padding: 28px 25px; min-height: 390px; }
  .guide-feature h3 { font-size: 2.125rem; letter-spacing: 0; }
  .guide-feature>i { display: none; }
  .guide-feature p { max-width: 100%; padding-right: 0; }
  .guide-feature>span { max-width: 100%; }
  .guide-home-label { letter-spacing: 1px; }
  .school-section .landscape-tabs button { font-size: 1.25rem; }
  .section-heading .eyebrow { font-size: .75rem; letter-spacing: 1.4px; }
  .step h3 { font-size: 1.5rem; }
  .closing h2 { font-size: 1.5rem; }
  .site-footer p span { display: block; margin-left: 0; margin-top: 3px; }
  .auth-dialog[open] { grid-template-columns: 1fr; width: calc(100% - 24px); }
  .auth-panel { padding: 36px 22px 28px; }
  .auth-panel>.eyebrow { font-size: .75rem; }
  .auth-art { display: none; }
  .content-dialog { padding: 38px 22px; }
  .account-dialog { width: calc(100% - 24px); }
  .account-banner { padding: 28px 22px; }
  .account-body { padding: 22px 18px; }
  .account-summary { gap: 18px; align-items: flex-start; }
  .account-summary strong { font-size: 1.0625rem; }
  .account-summary>div { min-width: 0; }
  .account-status { margin-left: 0; }
  .server-switch { padding: 12px; }
  .server-switch label { font-size: var(--type-caption); width: 100%; }
  .server-switch select { width: 100%; }
  .account-services .outline-button { flex: 1 1 140px; }
  .role-card { padding: 14px; gap: 11px; flex-wrap: wrap; }
  .role-card>div:not(.role-level) { flex: 1; min-width: 120px; }
  .role-avatar { width: 36px; height: 40px; font-size: 1.375rem; }
  .role-level { font-size: 1.5rem; }
  .role-desc { overflow-wrap: anywhere; }
  .role-enter { display: inline; width: 100%; text-align: right; }
  .service-label { font-size: var(--type-caption); }
  .service-copy strong { font-size: 1.5rem; }
  .service-card { padding: 22px 18px; gap: 17px; }
  .service-seal { width: 38px; height: 42px; }
  .inventory-dialog { width: calc(100vw - 16px); }
  .bag-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 7px; }
  .bag-count { font-size: .875rem; }
  .bag-bound { font-size: .75rem; }
  .bag-layout { padding: 14px; }
  .bag-capacity { flex-wrap: wrap; gap: 5px 12px; }
  .bag-toolbar button { padding: 10px 12px; }
  .bag-role { align-items: flex-start; }
  .bag-role>div { min-width: 0; overflow-wrap: anywhere; }
  .bag-money { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bag-heading h2 { font-size: 1.5rem; }
}
@media (max-width: 360px) {
  .header-inner .brand { gap: 8px; }
  .header-inner .brand strong { font-size: 1.125rem; letter-spacing: 1px; }
  .header-inner .brand small { font-size: .5625rem; letter-spacing: .5px; }
  .header-actions { gap: 5px; }
  .header-logout { font-size: .875rem; }
  .hero-actions .button.large { padding-inline: 12px; }
  .hero-actions { gap: 9px; }
  .guide-back { font-size: var(--type-caption); }
  .guide-brand strong { font-size: 1.25rem; }
  .guide-sidebar nav { grid-template-columns: 1fr; }
}
