/* Pocket World classic: a presentation-only visual bridge to Pocket World 2.
   Load after main.css. Existing links, media controls and page content stay intact. */
:root {
  --classic-forest: #142c31;
  --classic-forest-light: #23504f;
  --classic-paper: #f6f5e9;
  --classic-white: #fffefa;
  --classic-ink: #1e3033;
  --classic-muted: #667676;
  --classic-line: #dce3dc;
  --classic-gold: #c7b17f;
  --classic-shadow: 0 22px 48px -36px rgba(20, 44, 49, .4);
  --header-h: 76px;
  --bg: var(--classic-paper);
  --bg-2: var(--classic-paper);
  --card: var(--classic-white);
  --text: var(--classic-ink);
  --muted: var(--classic-muted);
  --brand: var(--classic-forest-light);
  --brand-2: var(--classic-gold);
  --primary: var(--classic-gold);
  --ring: rgba(199, 177, 127, .65);
  --radius: 16px;
  --shadow: var(--classic-shadow);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  padding-top: var(--header-h);
  min-width: 320px;
  background: var(--classic-paper);
  color: var(--classic-ink);
  font: 16px/1.76 -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.container, .nav-container, .footer__inner { width: min(1320px, calc(100% - 88px)); }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--classic-gold); outline-offset: 4px; }
.skip-link:focus { background: var(--classic-white); color: var(--classic-forest); border-radius: 8px; }

/* Shared navigation. Keep the original menu items and drawer actions. */
.site-header.sticky-header {
  height: var(--header-h);
  background: rgba(20, 44, 49, .96);
  border-bottom: 1px solid rgba(246, 245, 233, .14);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
.site-header.sticky-header.is-scrolled { border-bottom-color: rgba(199,177,127,.28); }
.nav-container { gap: 30px; }
.site-header .brand { gap: 10px; min-width: 152px; flex: 0 0 auto; }
.site-header .brand__icon, .site-header .brand__logo {
  width: 38px; height: 38px; object-fit: cover; border-radius: 9px; box-shadow: none;
}
.site-header .brand__wordmark { max-width: 125px; height: 32px; object-fit: contain; }
.site-header .brand__label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.site-header .brand__wordmark-text { display: block; color: var(--classic-paper); font-size: 20px; font-weight: 650; line-height: 1.12; letter-spacing: .07em; white-space: nowrap; }
.site-header .brand__label small { color: #afbeb7; font-size: 8px; font-weight: 500; line-height: 1.2; letter-spacing: .19em; white-space: nowrap; }
.site-header .brand--drawer .brand__wordmark-text { color: var(--classic-forest); }
.site-header .brand--drawer .brand__label small { color: var(--classic-muted); }
.site-header .brand__text { color: var(--classic-paper); font-weight: 620; }
.nav-main { min-width: 0; }
.nav-main .nav__list { gap: clamp(0px, .3vw, 5px); align-items: center; }
.nav__link {
  position: relative; padding: 13px 10px; background: transparent; border-radius: 0;
  color: #d0dad3; font-size: 12px; font-weight: 520; white-space: nowrap;
  letter-spacing: .01em; transition: color .2s ease;
}
.nav__link:hover, .nav__link.is-active { background: none; color: #fff7e1; }
.nav__link.is-active { font-weight: 650; }
.nav__link.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 1px; background: var(--classic-gold); }
.site-header .nav__toggle {
  flex: 0 0 auto; width: 43px; height: 43px; border-color: rgba(246,245,233,.28);
  background: transparent; border-radius: 50%;
}
.site-header .nav__toggle span { background: var(--classic-paper); }
.site-header .drawer { background: rgba(5, 25, 27, .56); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header .drawer[hidden] { display: none; }
.site-header .drawer__panel {
  width: min(430px, 100%); max-width: none; background: var(--classic-paper);
  border-left: 1px solid var(--classic-line); box-shadow: -24px 0 64px rgba(2, 21, 22, .24);
  overflow-y: auto; overscroll-behavior: contain;
}
.site-header .drawer__head { padding: 23px 26px; border-bottom-color: var(--classic-line); }
.site-header .brand--drawer .brand__text { color: var(--classic-forest); }
.site-header .drawer__close { min-width: 52px; min-height: 42px; padding: 8px 11px; color: var(--classic-forest); border-color: #b5c5ba; border-radius: 8px; }
.site-header .drawer__nav { padding: 24px 26px 36px; }
.site-header .drawer__list { grid-template-columns: 1fr; gap: 0; }
.site-header .drawer__link { padding: 16px 2px; text-align: left; border: 0; border-bottom: 1px solid var(--classic-line); border-radius: 0; background: transparent; color: var(--classic-ink); font-size: 17px; font-weight: 520; }
.site-header .drawer__link.is-active { color: #17605d; background: transparent; font-weight: 700; }

/* Quiet controls rather than the previous neon gradients. */
.btn, .download-button, .cta-ghost {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 22px; border: 1px solid #b9cac0; border-radius: 9px;
  background: transparent; color: var(--classic-forest); box-shadow: none;
  font-size: 14px; font-weight: 620; line-height: 1.45; letter-spacing: .015em;
  transition: color .22s, background .22s, border-color .22s, transform .22s;
}
.btn:hover, .download-button:hover, .cta-ghost:hover { transform: translateY(-2px); color: var(--classic-forest); background: #e8ece3; border-color: var(--classic-forest-light); box-shadow: none; }
.btn--primary, .btn--brand, .download-button { background: var(--classic-forest-light); border-color: var(--classic-forest-light); color: #fffdf0; }
.btn--primary:hover, .btn--brand:hover, .download-button:hover { color: #fffdf0; background: #17615c; border-color: #17615c; }
.hero .btn--primary { background: #eee6ce; border-color: #eee6ce; color: var(--classic-forest); }
.hero .btn--primary:hover { background: #fff4d1; border-color: #fff4d1; color: var(--classic-forest); }
.hero .btn--ghost { color: #fff9e8; border-color: rgba(246,245,233,.45); background: rgba(246,245,233,.08); }
.hero .btn--ghost:hover { background: rgba(246,245,233,.16); color: #fff; }
.cta-ghost__icon { color: var(--classic-forest); background: #d7dfcf; }

/* Static first frame of the refreshed home. The following cinema stylesheet
   adds the scroll scene on capable devices. Content works without it. */
.legacy-cinema { position: relative; background: var(--classic-forest); color: var(--classic-paper); isolation: isolate; }
.legacy-cinema__pin { position: relative; min-height: min(840px, calc(100svh - var(--header-h))); overflow: hidden; }
.legacy-cinema__inner {
  width: min(1320px, calc(100% - 88px)); min-height: inherit; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  grid-template-rows: 1fr auto auto; grid-template-areas: "copy visual" "actions visual" "footer footer";
  gap: 0 clamp(36px, 5vw, 84px); align-items: center; padding: 55px 0 34px;
}
.legacy-cinema__copy { grid-area: copy; align-self: end; padding: 34px 0 0; position: relative; z-index: 2; }
.legacy-cinema__copy h1 { margin: 0 0 27px; color: #fbf9ed; font-size: clamp(48px, 5.8vw, 84px); line-height: 1.16; letter-spacing: -.06em; font-weight: 650; }
.legacy-cinema__copy h1 em { color: #e5d1a3; font-style: normal; }
.legacy-cinema__copy p { color: #c9d6cc; font-size: 15px; line-height: 1.9; }
.legacy-cinema__copy small, .legacy-cinema__eyebrow { color: #d2c29c; font-size: 11px; letter-spacing: .18em; }
.legacy-cinema__eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 22px; }
.legacy-cinema__eyebrow span { width: 20px; height: 1px; background: var(--classic-gold); }
.legacy-cinema__visual-slot { grid-area: visual; align-self: stretch; min-height: 520px; position: relative; }
.legacy-cinema__visual { position: relative; width: 100%; height: 100%; margin: 0; overflow: hidden; border-radius: 17px; background: #344d4e; box-shadow: 0 26px 70px -45px #061a1ddd; }
.legacy-cinema__visual img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 72% center; filter: saturate(.82) brightness(.88); }
.legacy-cinema__visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 50%, rgba(9,32,32,.33)); }
.legacy-cinema__visual-caption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; gap: 15px; color: #faf8ea; font-size: 10px; letter-spacing: .1em; }
.legacy-cinema__visual-caption span + span { letter-spacing: .03em; }
.legacy-cinema__actions { grid-area: actions; align-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 11px; padding: 28px 0 35px; position: relative; z-index: 4; }
.legacy-cinema__actions .btn--primary { color: var(--classic-forest); background: #eee6ce; border-color: #eee6ce; }
.legacy-cinema__actions .btn--primary:hover { color: var(--classic-forest); background: #fff4d1; border-color: #fff4d1; }
.legacy-cinema__actions .btn--ghost { color: #fff9e8; border-color: rgba(246,245,233,.45); background: rgba(246,245,233,.08); }
.legacy-cinema__actions .btn--ghost:hover { color: #fff; background: rgba(246,245,233,.17); }
.legacy-cinema__footer { grid-area: footer; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid rgba(246,245,233,.16); color: #b7c9bd; font-size: 11px; letter-spacing: .08em; }
.legacy-cinema__footer .chips { justify-content: flex-start; margin: 0; gap: 7px; }
.legacy-cinema__footer .chip { margin: 0; padding: 6px 9px; color: #bdcbbf; border: 0; border-radius: 0; background: none; font-size: 11px; }
.legacy-cinema__scroll { color: #d6decf; white-space: nowrap; font-size: 11px; }
.legacy-cinema__scroll span { margin-left: 9px; font-size: 17px; vertical-align: -1px; }
.legacy-cinema__scroll:hover { color: #fff3d0; }
.legacy-cinema__story { position: absolute; left: max(44px,calc((100% - 1320px)/2)); right: 44px; bottom: 110px; z-index: 3; opacity: 0; pointer-events: none; }
.legacy-cinema__progress { position: absolute; inset: auto 0 0; height: 2px; z-index: 5; background: rgba(199,177,127,.25); }
.legacy-cinema__progress span { display: block; width: 100%; height: 100%; background: var(--classic-gold); transform: scaleX(0); transform-origin: left center; }

/* Home media area; the video element and onclick handlers are left untouched. */
.section, .section--video { background: var(--classic-paper); }
.section--video { padding: clamp(72px, 7vw, 116px) 0 100px; }
.grid-2 { grid-template-columns: minmax(0, 1.4fr) minmax(320px, .75fr); gap: 27px; align-items: stretch; }
.card { background: var(--classic-white); border: 1px solid var(--classic-line); border-radius: 16px; box-shadow: none; }
.section--video .video { padding: 8px; background: #10282d; border-color: #10282d; border-radius: 16px; box-shadow: var(--classic-shadow); }
.video__player, .video-container video { width: 100%; height: 100%; min-height: 310px; object-fit: contain; border-radius: 10px; background: #0b151b; box-shadow: none; }
.playlist { padding: clamp(25px, 3vw, 42px); display: flex; flex-direction: column; }
.section__title, .section-title, .gi-title {
  background: none !important; -webkit-text-fill-color: currentColor !important;
  color: var(--classic-ink); text-shadow: none; letter-spacing: -.04em;
}
.section__title { font-size: clamp(26px, 2.9vw, 39px); font-weight: 630; line-height: 1.28; }
.playlist__scroller { gap: 8px; margin-top: 26px; }
.pill, .video-btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0; min-height: 40px; padding: 9px 13px; border: 1px solid var(--classic-line);
  border-radius: 8px; color: var(--classic-forest); background: #f6f7f0;
  box-shadow: none; font-size: 12px; font-weight: 560; line-height: 1.4;
}
.pill:hover, .video-btn:hover { transform: translateY(-1px); background: #e6ece3; box-shadow: none; filter: none; }
.pill.is-active { color: #fff; background: var(--classic-forest); border-color: var(--classic-forest); box-shadow: none; }
.quick-cta { margin-top: auto; padding-top: 31px; }
.quick-cta .btn { min-height: 43px; padding: 10px 16px; font-size: 12px; }

/* Editorial pages share a calm masthead and readable text rhythm. */
.section-content {
  min-height: calc(100svh - var(--header-h) - 100px);
  padding: clamp(52px, 6vw, 94px) 0 120px;
  background: radial-gradient(700px 440px at 95% -170px, #e0e8dc 0%, transparent 84%), var(--classic-paper);
}
.section-content > .container { width: min(1110px, calc(100% - 88px)); }
.section-content .section-title {
  margin: 0 0 20px; max-width: 950px;
  font-size: clamp(43px, 5.4vw, 76px); line-height: 1.16; font-weight: 650;
  color: var(--classic-forest); letter-spacing: -.06em;
}
.section-content .section-title::after { width: 76px; height: 2px; margin-top: 32px; background: var(--classic-gold); border-radius: 0; box-shadow: none; }
.section-content > .container > .section-title + p { margin-top: 31px; }
.section-content .section-title-glow {
  display: block; max-width: 940px; margin: 43px 0 17px;
  color: var(--classic-forest) !important; font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.4; letter-spacing: -.025em; font-weight: 620;
}
.section-content .container > p:not(.section-title-glow):not(.gi-lead):not(.gi-lead2),
.section-content .container > ul:not(.gi-list) li {
  color: #415455 !important; font-size: 16px !important;
  line-height: 1.95; overflow-wrap: anywhere;
}
.section-content .container > p { max-width: 940px; margin: 0 0 16px; }
.section-content .container > .attention-note { color: #9b5c4c !important; font-size: 14px !important; }
.section-content .container > ul:not(.gi-list) { max-width: 960px; margin: 22px 0 66px; padding: 0; list-style: none; border-top: 1px solid var(--classic-line); }
.section-content .container > ul:not(.gi-list) li { margin: 0; padding: 15px 8px; border-bottom: 1px solid var(--classic-line); }
.section-content .container > ul:not(.gi-list) li[style*="red"] { color: #99584e !important; font-weight: 630; }
.section-content .container > ul:not(.gi-list) li[style*="pink"] { color: #8c6269 !important; }
.section-content .container > .responsive-image { max-width: 100%; height: auto; margin: 27px 0 43px; border: 1px solid #e1e4da; border-radius: 16px; background: #e9ede7; box-shadow: var(--classic-shadow); }
.section-content .container > .responsive-image + .responsive-image { margin-top: 0; }

/* Introduction: keep existing information and illustration sequence. */
.gi-head { margin: 0 0 22px; }
.gi-title { font-size: clamp(48px, 6vw, 82px); line-height: 1.16; font-weight: 650; color: var(--classic-forest); }
.gi-lead, .gi-lead2 { color: var(--classic-muted); font-size: 16px; line-height: 1.85; }
.gi-lead2 { max-width: 810px; margin: 15px 0 28px; }
.gi-subtitle { margin: 71px 0 25px; color: var(--classic-forest); font-size: clamp(28px, 3.1vw, 38px); font-weight: 630; line-height: 1.3; letter-spacing: -.035em; }
.gi-subtitle::after { width: 48px; height: 2px; margin-top: 18px; background: var(--classic-gold); border-radius: 0; box-shadow: none; }
.gi-list { max-width: 930px; margin: 0 0 35px; padding-left: 1.4em; color: #425553; font-size: 16px; line-height: 2; }
.gi-list li { padding-left: .2em; margin: 8px 0; }
.gi-list--green li::marker, .gi-list--gold li::marker, .gi-list--blue li::marker { color: #af9670; }
.gi-video-grid { grid-template-columns: minmax(0, 1.3fr) minmax(280px, .8fr); }
.gi-playlist { background: var(--classic-white); }

/* Functional destination pages. Actual URLs, fields and click targets are unchanged. */
.download-section, .contact-methods {
  max-width: 960px; margin: 26px 0 !important; padding: clamp(25px, 3vw, 39px);
  border: 1px solid var(--classic-line); border-radius: 16px;
  background: var(--classic-white);
}
.download-section .section-title-glow, .contact-methods .section-title-glow { margin: 0 0 20px; font-size: 24px; }
.download-section p, .contact-methods p { max-width: 810px; margin: 0 0 13px; color: #4b5d5c !important; font-size: 16px !important; line-height: 1.85; }
.download-section .attention-note, .contact-methods p[style*="red"] { color: #99584e !important; font-size: 14px !important; }
.download-section .download-button, .contact-methods .download-button { margin: 8px 0 25px; }
.download-section .download-button:last-child, .contact-methods .download-button:last-child { margin-bottom: 0; }

.site-footer { padding: 50px 0; border-top: 1px solid #d9e0d9; background: var(--classic-paper); color: #75837f; font-size: 12px; letter-spacing: .02em; }
.site-footer p { margin: 0; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 30px 44px; align-items: start; text-align: left; }
.footer__identity { display: grid; gap: 5px; }
.footer__name { color: var(--classic-forest); font-size: 22px; font-weight: 650; letter-spacing: .04em; }
.footer__edition { color: #6b8077; font-size: 10px; letter-spacing: .16em; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; padding-top: 9px; }
.footer__links a { color: #46615b; font-size: 12px; transition: color .2s; }
.footer__links a:hover { color: #17615c; }
.site-footer .footer__inner > p { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--classic-line); }

@media (max-width: 1180px) {
  .nav-main { display: none; }
  .site-header .nav__toggle { display: inline-block; }
  .grid-2, .gi-video-grid { grid-template-columns: minmax(0, 1fr); }
  .section--video .video { max-width: 100%; }
  .video__player { min-height: 0; aspect-ratio: 16 / 9; }
  .quick-cta { margin-top: 24px; padding-top: 0; }
  .legacy-cinema__inner { gap: 0 30px; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .container, .nav-container, .footer__inner, .section-content > .container { width: calc(100% - 42px); }
  .site-header .brand__icon, .site-header .brand__logo { width: 34px; height: 34px; }
  .site-header .brand__wordmark-text { font-size: 18px; }
  .site-header .brand__label small { font-size: 7px; }
  .site-header .nav__toggle { width: 39px; height: 39px; }
  .section--video { padding: 62px 0 75px; }
  .playlist { padding: 25px; }
  .section-content { padding: 49px 0 80px; }
  .section-content .section-title { font-size: clamp(38px, 10vw, 54px); }
  .section-content .section-title::after { margin-top: 24px; }
  .section-content .section-title-glow { font-size: 22px; margin-top: 36px; }
  .gi-title { font-size: clamp(42px, 11vw, 60px); }
  .gi-subtitle { margin-top: 55px; font-size: 29px; }
  .section-content .container > .responsive-image { margin: 24px 0 33px; border-radius: 12px; }
  .download-section, .contact-methods { padding: 25px 22px; }
  .legacy-cinema__pin { min-height: 0; }
  .legacy-cinema__inner { width: calc(100% - 42px); display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: none; grid-template-areas: "copy" "actions" "visual" "footer"; min-height: 0; gap: 0; padding: 36px 0 25px; }
  .legacy-cinema__copy { padding: 0; text-align: center; }
  .legacy-cinema__copy h1 { font-size: clamp(42px, 10vw, 61px); }
  .legacy-cinema__copy p { font-size: 13px; }
  .legacy-cinema__eyebrow { justify-content: center; }
  .legacy-cinema__visual-slot { min-height: 0; height: clamp(300px,76vw,420px); }
  .legacy-cinema__visual { border-radius: 13px; }
  .legacy-cinema__visual-caption { left: 17px; right: 17px; bottom: 15px; font-size: 9px; }
  .legacy-cinema__actions { justify-content: center; padding: 22px 0 28px; }
  .legacy-cinema__actions .btn { min-height: 42px; padding: 10px 14px; font-size: 12px; }
  .legacy-cinema__footer { margin-top: 18px; justify-content: center; text-align: center; }
  .legacy-cinema__story { left: 21px; right: 21px; bottom: 80px; }
  .footer__inner { display: grid; grid-template-columns: 1fr; gap: 21px; }
  .footer__links { justify-content: flex-start; padding-top: 0; gap: 10px 19px; }
  .site-footer .footer__inner > p { padding-top: 19px; }
}
@media (max-width: 430px) {
  .container, .nav-container, .footer__inner, .section-content > .container { width: calc(100% - 32px); }
  .site-header .brand { min-width: 0; }
  .site-header .brand__wordmark-text { font-size: 17px; }
  .playlist__scroller { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pill { width: 100%; }
  .section-content .container > p:not(.section-title-glow):not(.gi-lead):not(.gi-lead2),
  .section-content .container > ul:not(.gi-list) li { font-size: 14px !important; }
  .gi-list { font-size: 14px; }
  .section-content .container > ul:not(.gi-list) li { padding: 13px 4px; }
  .legacy-cinema__inner { width: calc(100% - 32px); }
  .legacy-cinema__actions { gap: 8px; }
  .legacy-cinema__actions .btn { min-height: 40px; padding: 9px 11px; font-size: 11px; }
  .legacy-cinema__footer .chip { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
