@font-face {
  font-family: "Ma Shan Zheng Local";
  src: url("/fonts/ma-shan-zheng.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --canvas: #edf4f8;
  --canvas-deep: #dcebf2;
  --ink: #173142;
  --muted: #70818c;
  --line: rgba(23, 49, 66, .12);
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .8);
  --blue: #0a84ff;
  --blue-deep: #006edb;
  --teal: #1a9fb3;
  --coral: #e36e58;
  --gold: #b78848;
  --green: #269678;
  --shadow: 0 22px 60px rgba(31, 70, 88, .11);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: radial-gradient(circle at 12% 4%, #fff 0, transparent 28rem), radial-gradient(circle at 92% 15%, #d8eef3 0, transparent 30rem), var(--canvas); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif; font-size: 15px; -webkit-font-smoothing: antialiased; }
body::before { position: fixed; z-index: -1; inset: auto -10vw -22vh auto; width: 43vw; height: 43vw; min-width: 280px; min-height: 280px; content: ""; border: 1px solid rgba(255, 255, 255, .72); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255, 255, 255, .18), 0 0 0 76px rgba(255, 255, 255, .1); pointer-events: none; }
button, input, select, textarea { font: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(10, 132, 255, .24); outline-offset: 3px; }

.glass-card { border: 1px solid rgba(255, 255, 255, .72); background: var(--glass); box-shadow: var(--shadow); backdrop-filter: blur(24px) saturate(125%); -webkit-backdrop-filter: blur(24px) saturate(125%); }
.app-shell { min-height: 100vh; }
.side-nav { position: fixed; z-index: 20; inset: 18px auto 18px 18px; display: flex; width: 220px; flex-direction: column; padding: 25px 15px 18px; border-radius: 27px; }
.brand-lockup { display: grid; grid-template-columns: auto auto; align-items: end; width: fit-content; padding: 0 10px; line-height: .82; }
.brand-lockup > span { grid-column: 1 / -1; margin-bottom: 6px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.brand-lockup > strong { font-size: 65px; font-weight: 800; letter-spacing: -.12em; }
.brand-lockup > small { margin: 0 0 3px 12px; color: var(--muted); font-size: 10px; line-height: 1.55; letter-spacing: .08em; writing-mode: vertical-rl; }
.nav-divider { height: 1px; margin: 27px 10px 16px; background: var(--line); }
.side-nav nav { display: grid; gap: 6px; }
.side-nav nav button { position: relative; display: flex; align-items: center; min-height: 57px; gap: 9px; padding: 0 12px; border-radius: 15px; background: transparent; text-align: left; transition: background .2s ease, color .2s ease, transform .2s ease; }
.side-nav nav button:hover { background: rgba(255, 255, 255, .58); transform: translateX(1px); }
.side-nav nav button.active { color: #fff; background: linear-gradient(135deg, #159fc0, var(--blue)); box-shadow: 0 10px 23px rgba(10, 132, 255, .2); }
.side-nav nav button > span { display: grid; gap: 4px; }
.side-nav nav button strong { font-size: 14px; font-weight: 700; }
.side-nav nav button small { color: var(--muted); font-size: 10px; }
.side-nav nav button.active small { color: rgba(255, 255, 255, .72); }
.side-nav nav button b, .mobile-route b, .bottom-nav b, .scope-tabs b { min-width: 18px; margin-left: auto; padding: 2px 5px; border-radius: 99px; color: #fff; background: var(--coral); font-size: 10px; line-height: 1.35; text-align: center; }
.side-footer { display: grid; gap: 18px; margin-top: auto; padding: 0 12px; color: var(--muted); font-size: 11px; }
.side-footer > span, .desktop-connection { display: inline-flex; align-items: center; gap: 7px; }
.side-footer small { color: var(--muted); font-size: 10px; line-height: 1.7; letter-spacing: .08em; }
.is-online, .is-offline { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.is-online { background: var(--green); box-shadow: 0 0 0 4px rgba(38, 150, 120, .12); }
.is-offline { background: var(--coral); box-shadow: 0 0 0 4px rgba(227, 110, 88, .12); }

.main-content { min-width: 0; margin-left: 256px; }
.topbar { position: sticky; z-index: 15; top: 0; display: flex; height: 76px; align-items: center; justify-content: space-between; padding: 0 42px; border-bottom: 1px solid rgba(23, 49, 66, .08); background: rgba(237, 244, 248, .65); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.topbar-title { display: flex; align-items: baseline; gap: 12px; }
.topbar-title span { color: var(--muted); font-size: 11px; letter-spacing: .09em; }
.topbar-title strong { font-size: 16px; }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.desktop-connection { color: var(--muted); font-size: 11px; }
.mobile-brand, .mobile-route { display: none; }
.content-wrap { width: min(1260px, calc(100% - 84px)); margin: 0 auto; padding: 32px 0 64px; }
.site-footer { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; width: min(1260px, calc(100% - 84px)); margin: 0 auto; padding: 18px 0 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.site-footer small { max-width: 600px; color: #8899a2; font-size: 9px; line-height: 1.55; text-align: right; }

.overline { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
.home-intro, .page-intro { position: relative; overflow: hidden; border-radius: 28px; }
.home-intro { display: flex; min-height: 245px; align-items: flex-end; justify-content: space-between; margin-bottom: 38px; padding: 30px 34px; background: linear-gradient(128deg, rgba(255, 255, 255, .78), rgba(212, 237, 242, .64)); }
.home-intro::before, .page-intro::before { position: absolute; width: 280px; height: 280px; content: ""; border: 1px solid rgba(26, 159, 179, .18); border-radius: 50%; }
.home-intro::before { top: -125px; right: 11%; box-shadow: 0 0 0 26px rgba(255, 255, 255, .24), 0 0 0 54px rgba(255, 255, 255, .12); }
.home-intro::after { position: absolute; right: -3%; bottom: -65px; width: 53%; height: 115px; content: ""; transform: rotate(-10deg); background: linear-gradient(90deg, transparent, rgba(227, 110, 88, .72)); }
.home-intro > div, .page-intro > div { position: relative; z-index: 1; }
.home-intro h1 { margin-top: 14px; font-size: clamp(38px, 5vw, 68px); font-weight: 800; }
.intro-copy { max-width: 470px; margin-top: 17px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.intro-stats { position: relative; z-index: 2; display: flex; gap: 28px; }
.intro-stats span, .route-stats span { display: grid; gap: 4px; }
.intro-stats strong { font-size: 24px; font-weight: 750; }
.intro-stats small, .route-stats small { color: var(--muted); font-size: 10px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.section-heading h2 { margin-top: 7px; font-size: 26px; }
.section-heading h3 { margin-top: 6px; font-size: 18px; }
.quiet-link, .link-button { color: var(--blue-deep); font-size: 11px; font-weight: 700; }
.quiet-link:hover, .link-button:hover { color: var(--coral); }

.filter-shell { margin-bottom: 18px; padding: 14px; border-radius: 20px; }
.search-field { display: flex; height: 52px; align-items: center; gap: 11px; padding: 0 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 255, 255, .68); }
.search-field > span { flex: none; padding-right: 11px; border-right: 1px solid var(--line); color: var(--teal); font-size: 11px; font-weight: 700; }
.search-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.search-field input::placeholder { color: #9aaab2; }
.scope-tabs, .activity-tabs { display: flex; gap: 6px; padding-top: 12px; }
.scope-tabs button, .activity-tabs button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--muted); font-size: 11px; }
.scope-tabs button:hover, .activity-tabs button:hover { background: rgba(255, 255, 255, .64); }
.scope-tabs button.active, .activity-tabs button.active { border-color: rgba(10, 132, 255, .16); background: rgba(10, 132, 255, .1); color: var(--blue-deep); font-weight: 700; }
.primary-filters, .advanced-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.advanced-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 10px; }
.primary-filters label, .advanced-grid label { display: grid; gap: 5px; min-width: 0; }
.primary-filters small, .advanced-grid small { padding-left: 2px; color: var(--muted); font-size: 10px; }
select { width: 100%; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: rgba(255, 255, 255, .66); color: var(--ink); font-size: 12px; }
.advanced-filters { margin-top: 12px; border-top: 1px solid var(--line); }
.advanced-filters summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 2px 0; cursor: pointer; color: var(--muted); font-size: 11px; list-style: none; }
.advanced-filters summary::-webkit-details-marker { display: none; }
.advanced-filters summary::after { content: "＋"; color: var(--blue); font-size: 15px; }
.advanced-filters[open] summary::after { content: "−"; }
.advanced-filters summary span { margin-left: auto; margin-right: 9px; color: var(--blue-deep); font-size: 10px; }
.filter-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--muted); font-size: 10px; }
.reset-button, .secondary-button, .primary-button { min-height: 36px; padding: 0 13px; border-radius: 10px; font-size: 11px; font-weight: 700; }
.reset-button { border: 1px solid var(--line); background: rgba(255, 255, 255, .45); color: var(--blue-deep); }
.reset-button:hover:not(:disabled), .secondary-button:hover { border-color: rgba(10, 132, 255, .28); background: rgba(255, 255, 255, .75); }
.reset-button:disabled { cursor: default; opacity: .42; }
.results-bar { display: flex; align-items: center; gap: 6px; margin: 17px 2px 14px; color: var(--muted); font-size: 11px; }
.results-bar > strong { color: var(--ink); font-size: 16px; }
.connection-state { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }

.film-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.film-card { overflow: hidden; border-radius: 20px; transition: transform .2s ease, box-shadow .2s ease; }
.film-card:hover { transform: translateY(-3px); box-shadow: 0 26px 62px rgba(31, 70, 88, .16); }
.film-card-main { display: grid; grid-template-columns: 104px minmax(0, 1fr) 16px; gap: 15px; width: 100%; padding: 15px 15px 11px; background: transparent; text-align: left; }
.film-poster, .poster-placeholder { display: block; width: 104px; height: 144px; flex: none; overflow: hidden; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 18px rgba(24, 54, 69, .13); }
.poster-placeholder { position: relative; background: linear-gradient(145deg, var(--poster-color), #1b3d4e); color: rgba(255, 255, 255, .92); }
.poster-placeholder::before { position: absolute; top: 21px; left: 18px; width: 67px; height: 67px; content: ""; border: 1px solid rgba(255, 255, 255, .62); border-radius: 50%; box-shadow: 0 0 0 11px rgba(255, 255, 255, .08); }
.poster-placeholder::after { position: absolute; right: -20px; bottom: 20px; width: 120px; height: 17px; content: ""; transform: rotate(-29deg); background: rgba(255, 255, 255, .16); }
.poster-placeholder > span { position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 800; }
.poster-placeholder > strong { position: absolute; top: 43px; left: 36px; font-size: 34px; font-weight: 800; }
.poster-placeholder > small { position: absolute; right: 9px; bottom: 9px; left: 9px; overflow: hidden; font-size: 8px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.film-card-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 5px; }
.film-label { font-size: 10px; font-weight: 800; letter-spacing: .02em; }
.film-card-copy > strong { overflow: hidden; max-width: 100%; font-size: 20px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.film-en { overflow: hidden; max-width: 100%; color: var(--muted); font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.film-meta { display: -webkit-box; overflow: hidden; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-chevron { color: var(--muted); font-size: 24px; line-height: 1; }
.film-tags { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 15px 12px; }
.film-tags span { padding: 4px 7px; border: 1px solid rgba(23, 49, 66, .06); border-radius: 7px; background: rgba(255, 255, 255, .48); color: var(--muted); font-size: 10px; }
.film-card-footer { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 8px; padding: 0 15px; border-top: 1px solid var(--line); }
.showing-summary { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.showing-summary small { color: var(--muted); font-size: 10px; }
.film-actions { display: flex; flex: none; align-items: center; gap: 10px; }
.favorite-button { padding: 4px 0; background: transparent; color: var(--muted); font-size: 10px; }
.favorite-button:hover, .favorite-button.is-active { color: var(--coral); }
.more-button { width: 100%; padding: 11px 15px 13px; border-top: 1px solid var(--line); background: transparent; color: var(--blue-deep); font-size: 10px; font-weight: 700; text-align: left; }

.screening-row { display: flex; align-items: stretch; min-height: 72px; border-top: 1px solid var(--line); }
.screening-row.is-selected { background: rgba(38, 150, 120, .08); }
.screening-info { display: grid; grid-template-columns: 108px minmax(0, 1fr) auto; min-width: 0; flex: 1; align-items: center; gap: 11px; padding: 10px 11px 10px 15px; background: transparent; text-align: left; }
.screening-info:hover { background: rgba(255, 255, 255, .32); }
.screening-clock { display: grid; gap: 3px; }
.screening-clock strong { font-size: 16px; font-weight: 750; letter-spacing: -.03em; }
.screening-clock small, .screening-copy > span, .screening-copy > small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.screening-copy { display: grid; min-width: 0; gap: 3px; }
.screening-copy > strong { overflow: hidden; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.screening-copy > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screening-copy > small { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.status-chip { padding: 4px 6px; border-radius: 7px; font-size: 10px; white-space: nowrap; }
.status-available { color: #167b61; background: #dcf5eb; }
.status-soon { color: #9a6c28; background: #fff0ca; }
.status-soldout { color: #b2513c; background: #ffe7e0; }
.status-tba { color: #647984; background: #e7eef1; }
.route-toggle { display: flex; width: 62px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-left: 1px solid var(--line); background: transparent; color: var(--blue-deep); }
.route-toggle:hover { background: rgba(10, 132, 255, .08); }
.route-toggle.selected { color: var(--green); background: rgba(38, 150, 120, .08); }
.route-toggle > span { font-size: 16px; line-height: 1; }
.route-toggle > em { font-size: 9px; font-style: normal; font-weight: 700; }
.film-card .screening-row { min-height: 49px; }
.film-card .screening-info { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 7px 8px 7px 15px; }
.film-card .screening-clock strong { font-size: 13px; }
.film-card .screening-clock small { font-size: 9px; }
.film-card .screening-copy > strong { font-size: 11px; }
.film-card .route-toggle { width: 55px; }

.page-intro { min-height: 215px; margin-bottom: 24px; padding: 30px 34px; background: linear-gradient(120deg, rgba(255, 255, 255, .74), rgba(207, 235, 239, .65)); }
.page-intro h1 { position: relative; z-index: 1; max-width: 680px; margin-top: 15px; font-size: clamp(34px, 5vw, 58px); font-weight: 800; line-height: 1.02; }
.page-intro > p:last-child { position: relative; z-index: 1; max-width: 570px; margin-top: 17px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.page-intro::before { right: 11%; bottom: -153px; border-color: rgba(10, 132, 255, .12); box-shadow: 0 0 0 29px rgba(255, 255, 255, .17), 0 0 0 58px rgba(255, 255, 255, .1); }
.activity-intro { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(125deg, rgba(35, 108, 116, .9), rgba(22, 143, 151, .78)); color: #f5ffff; }
.activity-intro .overline { color: #b8efec; }
.activity-intro > div > p:last-child { color: rgba(239, 255, 255, .74); }
.activity-intro h1 em { color: #ffd79d; font-style: normal; }
.activity-mark { position: relative; z-index: 1; margin-right: 8%; color: rgba(255, 255, 255, .68); font-size: 94px; font-weight: 800; letter-spacing: -.14em; }
.mine-intro { background: linear-gradient(125deg, rgba(227, 110, 88, .9), rgba(190, 94, 117, .8)); color: #fffaf5; }
.mine-intro .overline { color: #ffe4cb; }
.mine-intro > p:last-child { color: rgba(255, 250, 245, .78); }
.route-stats { position: relative; z-index: 1; display: flex; gap: 27px; margin-top: 27px; }
.route-stats strong { font-size: 23px; font-weight: 800; }
.mine-intro .route-stats small { color: rgba(255, 250, 245, .74); }
.date-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 17px; padding: 0 1px 5px; scrollbar-width: none; }
.date-tabs::-webkit-scrollbar { display: none; }
.date-tabs button { display: grid; min-width: 76px; gap: 4px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .48); color: var(--muted); text-align: left; }
.date-tabs button:hover { background: rgba(255, 255, 255, .78); }
.date-tabs button.active { border-color: rgba(10, 132, 255, .22); background: linear-gradient(135deg, #159fc0, var(--blue)); color: #fff; box-shadow: 0 8px 20px rgba(10, 132, 255, .17); }
.date-tabs strong { font-size: 13px; }
.date-tabs small { font-size: 10px; opacity: .8; }
.schedule-notice { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 13px 15px; border-radius: 15px; color: var(--muted); font-size: 11px; }
.schedule-notice > span { flex: 1; line-height: 1.5; }
.schedule-notice a { color: var(--blue-deep); font-size: 10px; font-weight: 700; white-space: nowrap; }
.schedule-notice a:hover { color: var(--coral); }
.schedule-list { display: grid; gap: 18px; }
.schedule-day { overflow: hidden; border-radius: 18px; }
.schedule-day-heading { display: flex; align-items: center; justify-content: space-between; padding: 16px 17px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .35); }
.schedule-day-heading > div { display: flex; align-items: baseline; gap: 9px; }
.schedule-day-heading strong { font-size: 20px; }
.schedule-day-heading span, .schedule-day-heading small, .section-count { color: var(--muted); font-size: 10px; }
.activity-heading { margin-top: 35px; }
.activity-tabs { padding-top: 0; margin-bottom: 17px; }
.activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.activity-card { display: grid; gap: 16px; padding: 22px; border-radius: 20px; }
.activity-card.is-selected { border-color: rgba(38, 150, 120, .42); box-shadow: 0 0 0 3px rgba(38, 150, 120, .1), var(--shadow); }
.activity-topline { display: flex; align-items: center; justify-content: space-between; color: var(--coral); font-size: 11px; font-weight: 700; }
.activity-topline small { color: var(--green); font-size: 10px; font-weight: 600; }
.activity-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr); gap: 16px; }
.activity-note-eyebrow { color: #857067; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.activity-card h2 { margin-top: 9px; font-size: 24px; }
.activity-summary { margin-top: 10px; color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.activity-meta-panel { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.62); border: 1px solid rgba(23,49,66,.08); align-content: start; }
.activity-meta-panel div { display: grid; gap: 2px; }
.activity-meta-panel dt { color: #857067; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.activity-meta-panel dd { color: var(--ink); font-size: 11px; line-height: 1.6; }
.activity-focus-list { display: flex; flex-wrap: wrap; gap: 8px; }
.activity-focus-list span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 999px; background: rgba(10,132,255,.08); color: var(--blue-deep); font-size: 10px; font-weight: 700; }
.activity-editorial-grid { display: grid; gap: 16px; }
.activity-section-label { margin-bottom: 7px; color: var(--coral); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.activity-introduction, .activity-people { padding: 15px 16px; border-radius: 16px; border: 1px solid rgba(23,49,66,.08); background: rgba(255,255,255,.45); }
.activity-note { color: var(--muted); font-size: 11px; line-height: 1.7; }
.activity-introduction > p:last-child { margin-top: 10px; color: var(--ink-soft); font-size: 11px; line-height: 1.85; }
.activity-cast-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.activity-cast-head small { color: var(--muted); font-size: 9px; line-height: 1.55; max-width: 320px; text-align: right; }
.activity-people-grid { display: grid; gap: 10px; }
.activity-person { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 12px; align-items: start; padding: 11px 12px; border: 1px solid rgba(23, 49, 66, .08); border-radius: 13px; background: rgba(255, 255, 255, .62); }
.activity-person-photo { width: 96px; height: 116px; overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, rgba(35,53,74,.12), rgba(35,53,74,.04)); box-shadow: inset 0 0 0 1px rgba(23,49,66,.06); }
.activity-person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.activity-person-photo.is-fallback { display: grid; place-items: center; color: #4c6284; font-size: 28px; font-weight: 800; letter-spacing: .08em; }
.activity-person-copy { min-width: 0; }
.activity-person-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.activity-person-heading > div { display: grid; gap: 2px; min-width: 0; }
.activity-person-heading strong { font-size: 13px; }
.activity-person-heading small { color: var(--muted); font-size: 8px; letter-spacing: .07em; }
.activity-person-heading > span { flex: none; padding: 3px 7px; border-radius: 999px; background: rgba(10, 132, 255, .08); color: var(--blue-deep); font-size: 8px; font-weight: 750; }
.activity-person p { margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.75; }
.activity-actions-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.activity-source-link { width: fit-content; color: var(--blue-deep); font-size: 10px; font-weight: 700; }
.activity-source-link:hover { color: var(--coral); }
@keyframes activityReveal { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
.wide-route-button { display: flex; width: 100%; height: 40px; align-items: center; justify-content: center; gap: 6px; margin-top: 19px; border-radius: 11px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; }
.wide-route-button:hover { background: var(--blue-deep); }
.wide-route-button.selected { background: var(--green); }
.wide-route-button > span { font-size: 15px; line-height: 1; }
.info-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 20px; padding: 12px 14px; border: 1px solid rgba(183, 136, 72, .2); border-radius: 13px; background: rgba(255, 249, 226, .58); color: #8e754a; font-size: 10px; line-height: 1.6; }
.info-note > span { display: grid; width: 18px; height: 18px; flex: none; place-items: center; border-radius: 50%; background: #e9c882; color: #fff; font-weight: 800; }

.route-section { margin-top: 36px; }
.route-groups { display: grid; gap: 14px; }
.route-group { overflow: hidden; border-radius: 18px; }
.route-group-heading { display: flex; align-items: baseline; gap: 8px; padding: 15px 17px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .34); }
.route-group-heading strong { font-size: 18px; }
.route-group-heading span { color: var(--muted); font-size: 11px; }
.itinerary-item { display: grid; grid-template-columns: 58px 12px minmax(0, 1fr) 28px; gap: 12px; min-height: 78px; align-items: center; padding: 11px 15px; border-bottom: 1px solid var(--line); }
.itinerary-item:last-child { border-bottom: 0; }
.itinerary-time { display: grid; gap: 3px; text-align: right; }
.itinerary-time strong { font-size: 17px; }
.itinerary-time small { color: var(--muted); font-size: 10px; }
.itinerary-dot { width: 9px; height: 9px; border: 2px solid var(--blue); border-radius: 50%; box-shadow: 0 0 0 3px rgba(10, 132, 255, .12); }
.itinerary-item.is-activity .itinerary-dot { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(227, 110, 88, .12); }
.itinerary-copy { display: grid; min-width: 0; gap: 4px; }
.itinerary-copy > small { color: var(--blue-deep); font-size: 10px; }
.itinerary-copy > strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.itinerary-copy > span { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.remove-button { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; }
.remove-button:hover { color: var(--coral); background: rgba(227, 110, 88, .1); }
.conflict-banner { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(227, 110, 88, .2); border-radius: 16px; background: rgba(255, 239, 234, .64); color: #a45645; }
.alert-mark { display: grid; width: 24px; height: 24px; flex: none; place-items: center; border-radius: 50%; background: rgba(227, 110, 88, .15); color: var(--coral); font-weight: 800; }
.conflict-banner div { display: grid; gap: 3px; }
.conflict-banner strong { font-size: 12px; }
.conflict-banner p { color: #9c786e; font-size: 10px; }
.conflict-banner button { margin-left: auto; padding: 8px 10px; border: 1px solid rgba(227, 110, 88, .3); border-radius: 9px; background: transparent; color: #a45645; font-size: 10px; font-weight: 700; white-space: nowrap; }
.backup-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; border-radius: 18px; }
.backup-card strong { font-size: 14px; }
.backup-card p { max-width: 540px; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.backup-actions { display: flex; flex: none; gap: 8px; }
.secondary-button { border: 1px solid var(--line); background: rgba(255, 255, 255, .55); color: var(--ink); }
.rated-list { overflow: hidden; border-radius: 18px; }
.rated-item { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font-size: 12px; }
.rated-item:last-child { border-bottom: 0; }
.rated-item:hover { background: rgba(255, 255, 255, .45); }
.mini-stars { display: flex; gap: 2px; color: var(--gold); font-size: 12px; line-height: 1; }
.muted-copy { color: var(--muted); font-size: 12px; line-height: 1.7; }

.modal-backdrop { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(19, 44, 58, .38); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.film-modal { position: relative; overflow: auto; width: min(780px, 100%); max-height: 92vh; padding: 28px; border-radius: 25px; background: rgba(246, 251, 252, .82); }
.modal-close { position: absolute; z-index: 1; top: 17px; right: 17px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: rgba(23, 49, 66, .08); color: var(--muted); font-size: 22px; line-height: 1; }
.modal-close:hover { background: rgba(23, 49, 66, .14); color: var(--ink); }
.modal-header { display: flex; align-items: center; gap: 18px; padding-right: 36px; }
.modal-header h2 { margin-top: 9px; font-size: 31px; }
.modal-header > div > span, .modal-en { color: var(--muted); font-size: 11px; }
.modal-en { margin: 5px 0 8px; font-weight: 600; }
.film-poster.is-large { width: 128px; height: 176px; }
.modal-columns { display: grid; grid-template-columns: minmax(0, 1fr) 185px; gap: 23px; margin-top: 25px; padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modal-details { display: grid; gap: 15px; }
.modal-details small, .rating-box small { display: block; margin-bottom: 6px; color: var(--muted); font-size: 10px; }
.modal-details p { color: var(--ink); font-size: 12px; line-height: 1.75; }
.modal-tags { padding: 0; }
.rating-box { align-self: start; padding: 15px; border-radius: 14px; background: rgba(255, 255, 255, .6); }
.rating-stars { display: flex; gap: 3px; color: var(--gold); }
.rating-stars button { padding: 0; background: transparent; color: var(--gold); font-size: 26px; line-height: 1; }
.rating-box > span { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.modal-section { margin-top: 25px; }
.modal-section .section-heading { margin-bottom: 12px; }
.modal-section textarea { width: 100%; min-height: 86px; resize: vertical; padding: 12px; border: 1px solid var(--line); border-radius: 12px; outline: 0; background: rgba(255, 255, 255, .66); color: var(--ink); font-size: 12px; line-height: 1.7; }
.comment-compose { display: flex; gap: 8px; margin-top: 8px; }
.comment-compose input { min-width: 0; flex: 1; height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: rgba(255, 255, 255, .66); font-size: 12px; }
.comment-compose button { padding: 0 14px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; }
.comment-compose button:hover { background: var(--blue-deep); }
.comment-item { padding: 11px 0; border-bottom: 1px solid var(--line); }
.comment-item p { font-size: 12px; line-height: 1.6; }
.comment-item small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.external-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.external-links a { padding: 8px 10px; border-radius: 9px; background: rgba(23, 49, 66, .06); color: var(--blue-deep); font-size: 10px; font-weight: 700; }
.external-links a:hover { background: rgba(10, 132, 255, .1); }
.conflict-layer { z-index: 75; }
.conflict-modal { width: min(510px, 100%); padding: 27px; border-radius: 22px; }
.conflict-icon { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 15px; border-radius: 50%; background: rgba(227, 110, 88, .13); color: var(--coral); font-size: 23px; font-weight: 800; }
.conflict-modal h2 { margin-top: 8px; font-size: 28px; }
.conflict-modal > .muted-copy { margin-top: 11px; }
.conflict-items { display: grid; grid-template-columns: 1fr 30px 1fr; gap: 9px; align-items: center; margin: 22px 0; }
.conflict-items > div:not(.conflict-vs) { display: grid; gap: 4px; padding: 13px; border-radius: 12px; background: rgba(255, 255, 255, .68); }
.conflict-items span { color: var(--coral); font-size: 13px; font-weight: 800; }
.conflict-items strong { font-size: 12px; }
.conflict-items small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.conflict-vs { color: var(--coral); font-size: 20px; font-weight: 800; text-align: center; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; }
.primary-button { background: var(--blue); color: #fff; }
.primary-button:hover { background: var(--blue-deep); }
.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; background: rgba(23, 49, 66, .9); color: #fff; box-shadow: 0 12px 32px rgba(23, 49, 66, .2); font-size: 11px; }
.toast > span { color: #9be1c5; font-size: 14px; }
.bottom-nav { display: none; }

.journal-quick-button { padding: 4px 0; background: transparent; color: var(--blue-deep); font-size: 10px; font-weight: 700; }
.journal-quick-button:hover { color: var(--coral); }
.journal-intro { display: flex; min-height: 230px; align-items: flex-end; justify-content: space-between; gap: 25px; background: linear-gradient(125deg, rgba(255, 255, 255, .82), rgba(249, 227, 206, .72)); }
.journal-intro h1 { max-width: 650px; }
.journal-intro > div > p:last-child { max-width: 560px; }
.journal-intro-side { position: relative; z-index: 1; display: grid; justify-items: end; gap: 22px; }
.journal-stats { display: flex; gap: 25px; }
.journal-stats span { display: grid; gap: 4px; }
.journal-stats strong { font-size: 28px; font-weight: 800; }
.journal-stats small { color: var(--muted); font-size: 10px; }
.journal-intro-side .primary-button { min-width: 118px; }
.journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.journal-card { overflow: hidden; border-radius: 20px; }
.journal-card-film { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; width: 100%; padding: 16px; background: transparent; text-align: left; }
.journal-card-film:hover { background: rgba(255, 255, 255, .3); }
.journal-card-film .film-poster.is-large, .journal-card-film .poster-placeholder { width: 104px; height: 144px; }
.journal-card-heading { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 7px; padding-top: 4px; }
.journal-card-heading small { color: var(--teal); font-size: 10px; font-weight: 800; }
.journal-card-heading strong { font-size: 24px; font-weight: 800; }
.journal-card-heading > span { overflow: hidden; max-width: 100%; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.journal-card-heading em { color: var(--gold); font-size: 13px; font-style: normal; letter-spacing: .08em; }
.journal-card-paper { margin: 0 16px; padding: 16px 17px 17px; border-radius: 3px; background: linear-gradient(140deg, rgba(255, 248, 231, .92), rgba(255, 239, 226, .72)); box-shadow: 0 8px 18px rgba(98, 77, 54, .08); }
.paper-label { color: var(--coral); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.journal-card-paper p { display: -webkit-box; overflow: hidden; min-height: 58px; margin-top: 9px; color: #5c514a; font-family: "Ma Shan Zheng Local", "Kaiti SC", "STKaiti", cursive; font-size: 18px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.journal-card-paper small { display: block; margin-top: 10px; color: #9d8778; font-size: 10px; }
.journal-photo-strip { display: flex; gap: 7px; margin: 14px 16px 0; overflow: hidden; }
.journal-photo-strip img { width: 92px; height: 74px; flex: none; border-radius: 4px; object-fit: cover; filter: saturate(.86) contrast(.98); }
.journal-photo-strip > span { display: grid; width: 92px; height: 74px; flex: none; place-items: center; border-radius: 4px; background: rgba(23, 49, 66, .07); color: var(--muted); font-size: 14px; }
.journal-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 16px; }
.journal-card-actions .secondary-button { min-height: 32px; font-size: 10px; }
.journal-empty { display: grid; justify-items: center; gap: 12px; padding: 47px 20px; border-radius: 20px; text-align: center; }
.journal-empty-mark { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(227, 110, 88, .22); border-radius: 50%; background: rgba(255, 240, 229, .7); color: var(--coral); font-family: "Ma Shan Zheng Local", cursive; font-size: 26px; }
.journal-empty h3 { font-size: 21px; }
.journal-empty p { max-width: 430px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.journal-empty .primary-button { margin-top: 4px; }
.journal-how { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; padding: 20px 22px; border-radius: 18px; }
.journal-how h2 { margin-top: 7px; font-size: 21px; }
.journal-how > p { max-width: 550px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.journal-route-callout { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px; border-radius: 18px; background: linear-gradient(120deg, rgba(255, 247, 230, .76), rgba(255, 235, 222, .58)); }
.journal-route-callout h2 { margin-top: 6px; font-size: 21px; }
.journal-route-callout p:last-child { margin-top: 7px; color: var(--muted); font-size: 11px; }
.journal-route-callout .primary-button { flex: none; }

.journal-layer { z-index: 70; align-items: start; overflow-y: auto; padding: 24px; }
.journal-editor { position: relative; width: min(980px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 28px; border-radius: 25px; background: rgba(246, 251, 252, .88); }
.journal-editor-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; padding-right: 40px; }
.journal-editor-heading h2 { margin-top: 8px; font-size: 30px; }
.journal-editor-heading p:last-child { margin-top: 6px; color: var(--muted); font-size: 11px; }
.journal-editor-heading > span { color: var(--green); font-size: 10px; font-weight: 700; }
.journal-editor-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: 28px; margin-top: 25px; }
.journal-editor-form { display: grid; align-content: start; gap: 15px; }
.journal-editor-film { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.journal-editor-film .film-poster.is-large, .journal-editor-film .poster-placeholder { width: 88px; height: 121px; border-radius: 10px; }
.journal-editor-film > div { display: grid; gap: 6px; }
.journal-editor-film strong { font-size: 20px; }
.journal-editor-film span, .journal-editor-film small { color: var(--muted); font-size: 11px; }
.journal-place-field, .journal-story-field { display: grid; gap: 7px; }
.journal-place-field > span, .journal-story-field > span { display: flex; justify-content: space-between; color: var(--ink); font-size: 12px; font-weight: 700; }
.journal-place-field > span small { color: var(--muted); font-size: 10px; font-weight: 400; }
.journal-place-field input, .journal-story-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; outline: 0; background: rgba(255, 255, 255, .7); color: var(--ink); font-size: 12px; }
.journal-place-field input { height: 40px; padding: 0 11px; }
.journal-story-field textarea { min-height: 175px; resize: vertical; padding: 12px; font-family: "Ma Shan Zheng Local", "Kaiti SC", "STKaiti", cursive; font-size: 19px; line-height: 1.65; }
.journal-place-field input:focus, .journal-story-field textarea:focus { border-color: rgba(10, 132, 255, .38); }
.photo-upload { display: grid; gap: 5px; justify-items: start; padding: 16px; border: 1px dashed rgba(10, 132, 255, .34); border-radius: 13px; background: rgba(235, 247, 255, .5); cursor: pointer; }
.photo-upload:hover { border-color: var(--blue); background: rgba(235, 247, 255, .78); }
.photo-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.photo-upload strong { color: var(--blue-deep); font-size: 12px; }
.photo-upload small { color: var(--muted); font-size: 10px; }
.photo-upload.is-busy { cursor: wait; opacity: .7; }
.journal-editor-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.journal-editor-photo { position: relative; overflow: hidden; min-width: 0; border-radius: 9px; background: rgba(23, 49, 66, .06); }
.journal-editor-photo img { display: block; width: 100%; height: 100px; object-fit: cover; }
.journal-editor-photo button { position: absolute; right: 5px; bottom: 5px; padding: 4px 7px; border-radius: 7px; background: rgba(23, 49, 66, .72); color: #fff; font-size: 9px; }
.journal-editor-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.journal-live-preview { display: grid; align-content: start; gap: 9px; }
.paper-sheet { min-height: 490px; padding: 24px 22px; border: 1px solid rgba(176, 137, 111, .2); background: linear-gradient(150deg, #fffdf6, #f9eee8); box-shadow: 0 18px 40px rgba(104, 78, 59, .12); }
.paper-sheet-top { display: flex; align-items: center; justify-content: space-between; color: var(--coral); font-size: 10px; font-weight: 800; }
.paper-sheet-top small { color: #9d8778; font-size: 9px; font-weight: 500; }
.paper-sheet h3 { margin-top: 27px; color: #544a46; font-family: "Ma Shan Zheng Local", "Kaiti SC", "STKaiti", cursive; font-size: 34px; font-weight: 400; }
.paper-sheet-en { margin-top: 2px; color: #9d8778; font-size: 10px; letter-spacing: .08em; }
.paper-preview-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-top: 22px; }
.paper-preview-photos img { width: 100%; height: 110px; object-fit: cover; filter: saturate(.82); }
.journal-handwriting { min-height: 150px; margin-top: 23px; color: #514945; font-family: "Ma Shan Zheng Local", "Kaiti SC", "STKaiti", cursive; font-size: 20px; line-height: 1.65; white-space: pre-wrap; }
.paper-sheet-footer { display: flex; justify-content: space-between; margin-top: 25px; padding-top: 11px; border-top: 1px solid rgba(176, 137, 111, .25); color: #9d8778; font-size: 9px; }

.print-book { display: none; }

@media (max-width: 1080px) {
  .film-grid, .activity-grid { grid-template-columns: 1fr; }
  .content-wrap { width: min(900px, calc(100% - 56px)); }
  .site-footer { width: min(900px, calc(100% - 56px)); }
}

@media (max-width: 820px) {
  .side-nav { display: none; }
  .main-content { margin-left: 0; padding-bottom: 72px; }
  .topbar { height: 64px; padding: 0 17px; }
  .mobile-brand { display: flex; align-items: baseline; gap: 3px; background: transparent; color: var(--ink); }
  .mobile-brand span { font-size: 11px; font-weight: 800; letter-spacing: .1em; }
  .mobile-brand strong { font-size: 23px; font-weight: 800; letter-spacing: -.08em; }
  .topbar-title { gap: 8px; }
  .topbar-title span { font-size: 9px; }
  .topbar-title strong { font-size: 14px; }
  .desktop-connection { display: none; }
  .mobile-route { position: relative; display: inline-flex; align-items: center; padding: 0; background: transparent; color: var(--blue-deep); font-size: 10px; font-weight: 700; }
  .mobile-route b { position: absolute; top: -11px; right: -12px; margin: 0; }
  .content-wrap { width: calc(100% - 30px); padding: 19px 0 38px; }
  .site-footer { width: calc(100% - 30px); padding-bottom: 17px; font-size: 9px; }
  .home-intro { display: block; min-height: 280px; margin-bottom: 29px; padding: 25px 22px; border-radius: 22px; }
  .home-intro h1 { margin-top: 13px; font-size: 40px; }
  .intro-copy { margin-top: 14px; font-size: 12px; }
  .intro-stats { position: absolute; right: 22px; bottom: 23px; gap: 19px; }
  .intro-stats strong { font-size: 20px; }
  .section-heading h2 { font-size: 22px; }
  .section-heading h3 { font-size: 17px; }
  .filter-shell { padding: 10px; border-radius: 17px; }
  .search-field { height: 48px; border-radius: 13px; }
  .scope-tabs { overflow-x: auto; padding-top: 9px; scrollbar-width: none; }
  .scope-tabs::-webkit-scrollbar { display: none; }
  .scope-tabs button { flex: none; padding: 0 10px; }
  .primary-filters { gap: 7px; margin-top: 9px; }
  .advanced-grid { grid-template-columns: 1fr; }
  .results-bar { flex-wrap: wrap; margin-top: 15px; }
  .connection-state { width: 100%; margin-left: 0; }
  .film-grid, .activity-grid { gap: 10px; }
  .film-card { border-radius: 17px; }
  .film-card-main { grid-template-columns: 86px minmax(0, 1fr) 14px; gap: 11px; padding: 12px 12px 10px; }
  .film-poster, .poster-placeholder { width: 86px; height: 120px; border-radius: 10px; }
  .poster-placeholder::before { top: 18px; left: 12px; width: 57px; height: 57px; }
  .poster-placeholder > strong { top: 39px; left: 30px; font-size: 28px; }
  .film-card-copy > strong { font-size: 18px; }
  .film-meta { font-size: 10px; }
  .film-tags { padding: 0 12px 10px; }
  .film-card-footer { padding: 0 12px; }
  .showing-summary small { display: none; }
  .film-card .screening-info { padding-left: 12px; }
  .page-intro { min-height: 215px; padding: 27px 22px; border-radius: 22px; }
  .page-intro h1 { font-size: 38px; }
  .activity-intro { min-height: 270px; }
  .activity-mark { position: absolute; right: 18px; bottom: 18px; margin: 0; font-size: 66px; }
  .mine-intro { min-height: 265px; }
  .route-stats { grid-template-columns: repeat(4, auto); gap: 16px; }
  .route-stats strong { font-size: 20px; }
  .date-tabs button { min-width: 72px; padding: 10px; }
  .schedule-notice { flex-wrap: wrap; align-items: flex-start; gap: 9px; padding: 12px; }
  .schedule-notice > span { width: 100%; flex: none; }
  .schedule-notice a { margin-left: 1px; padding-right: 8px; }
  .schedule-day-heading { padding: 14px 13px; }
  .schedule-day-heading strong { font-size: 18px; }
  .screening-info { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding-left: 12px; }
  .screening-info .status-chip { display: none; }
  .route-toggle { width: 58px; }
  .activity-card { padding: 18px; border-radius: 17px; }
  .activity-card h2 { font-size: 20px; }
  .activity-hero { grid-template-columns: 1fr; }
  .activity-meta-panel { grid-template-columns: 1fr 1fr; }
  .activity-cast-head { display: grid; }
  .activity-cast-head small { max-width: none; text-align: left; }
  .activity-person { grid-template-columns: 82px minmax(0,1fr); }
  .activity-person-photo { width: 82px; height: 104px; }
  .activity-actions-row { display: grid; }
  .activity-heading { margin-top: 28px; }
  .activity-tabs { overflow-x: auto; scrollbar-width: none; }
  .activity-tabs::-webkit-scrollbar { display: none; }
  .activity-tabs button { flex: none; }
  .conflict-banner { align-items: flex-start; flex-wrap: wrap; }
  .conflict-banner button { margin-left: 36px; }
  .route-section { margin-top: 29px; }
  .backup-card { display: block; padding: 17px; }
  .backup-actions { margin-top: 13px; }
  .bottom-nav { position: fixed; z-index: 30; inset: auto 0 0; display: grid; grid-template-columns: repeat(4, 1fr); height: 66px; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid rgba(23, 49, 66, .1); background: rgba(248, 252, 253, .82); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
  .bottom-nav button { position: relative; display: grid; align-content: center; justify-items: center; min-width: 0; padding: 0 3px; background: transparent; color: var(--muted); font-size: 10px; line-height: 1.2; }
  .bottom-nav-icon { width: 18px; height: 18px; margin-bottom: 3px; stroke-width: 1.75; }
  .bottom-nav button span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bottom-nav button.active .bottom-nav-icon { stroke-width: 2.2; }
  .bottom-nav button.active { color: var(--blue-deep); font-weight: 700; }
  .bottom-nav b { position: absolute; top: 9px; right: calc(50% - 26px); margin: 0; }
  .film-modal { max-height: 95vh; padding: 21px 15px; border-radius: 20px; }
  .modal-header { gap: 12px; }
  .film-poster.is-large { width: 82px; height: 115px; border-radius: 10px; }
  .modal-header h2 { font-size: 24px; }
  .modal-columns { grid-template-columns: 1fr; gap: 15px; margin-top: 20px; }
  .rating-box { display: flex; align-items: center; gap: 10px; }
  .rating-box small { margin: 0; }
  .rating-box > span { margin: 0; }
  .rating-stars button { font-size: 22px; }
  .conflict-modal { padding: 23px 17px; }
  .conflict-items { grid-template-columns: 1fr; }
  .conflict-vs { transform: rotate(90deg); }
  .toast { right: 15px; bottom: 80px; }
}

@media (max-width: 460px) {
  .film-card-main { grid-template-columns: 78px minmax(0, 1fr) 12px; gap: 10px; }
  .film-poster, .poster-placeholder { width: 78px; height: 110px; }
  .poster-placeholder::before { left: 10px; width: 53px; height: 53px; }
  .poster-placeholder > strong { top: 37px; left: 27px; font-size: 25px; }
  .film-card-copy > strong { font-size: 17px; }
  .film-label { font-size: 9px; }
  .film-actions { gap: 7px; }
  .itinerary-item { grid-template-columns: 50px 10px minmax(0, 1fr) 26px; gap: 9px; padding: 10px 11px; }
  .itinerary-time strong { font-size: 15px; }
  .route-stats { gap: 11px; }
  .route-stats strong { font-size: 18px; }
  .backup-actions { flex-direction: column; }
  .secondary-button { width: 100%; }
}

@media (max-width: 1080px) {
  .journal-grid { grid-template-columns: 1fr; }
  .journal-editor-layout { grid-template-columns: 1fr; }
  .journal-live-preview { max-width: 620px; }
}

@media (max-width: 820px) {
  body { line-height: 1.55; }
  h1, h2, h3, p, strong, small, span, a, button { min-width: 0; }
  h1, h2, h3, p, strong, small { overflow-wrap: anywhere; word-break: break-word; }
  .page-intro h1, .journal-intro h1 { line-height: 1.12; }
  .film-card-copy, .film-card-copy > *, .film-card-footer, .screening-info, .activity-card, .activity-card > *, .itinerary-item, .journal-card, .journal-card > *, .journal-editor, .paper-sheet { min-width: 0; }
  .film-card-copy > strong, .activity-card h2, .journal-card-heading strong { display: block; line-height: 1.24; }
  .film-card-copy > small, .film-card-copy p, .activity-details, .activity-guests, .screening-info, .itinerary-item, .paper-sheet { overflow-wrap: anywhere; word-break: break-word; }
  .site-footer { display: grid; gap: 6px; }
  .site-footer small { max-width: none; text-align: left; }
  .journal-intro { display: block; min-height: 285px; }
  .journal-intro-side { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 30px; }
  .journal-stats { gap: 20px; }
  .journal-stats strong { font-size: 23px; }
  .journal-how, .journal-route-callout { display: grid; }
  .journal-how > p { max-width: none; }
  .journal-route-callout .primary-button { width: 100%; }
  .journal-editor { width: 100%; max-height: calc(100vh - 24px); padding: 21px 15px; border-radius: 20px; }
  .journal-layer { padding: 12px; }
  .journal-editor-heading h2 { font-size: 25px; }
  .journal-editor-layout { gap: 22px; margin-top: 20px; }
  .journal-live-preview { order: 2; max-width: none; }
  .paper-sheet { min-height: 430px; }
  .bottom-nav { grid-template-columns: repeat(5, 1fr); }
  .bottom-nav button { font-size: 9px; line-height: 1.15; }
  .bottom-nav-icon { width: 17px; height: 17px; margin-bottom: 2px; }
}

@media (max-width: 460px) {
  .journal-card-film { grid-template-columns: 78px minmax(0, 1fr); gap: 11px; padding: 12px; }
  .journal-card-film .film-poster.is-large, .journal-card-film .poster-placeholder { width: 78px; height: 110px; }
  .journal-card-heading strong { font-size: 20px; }
  .journal-card-paper { margin: 0 12px; padding: 13px 14px; }
  .journal-photo-strip { margin-right: 12px; margin-left: 12px; }
  .journal-photo-strip img, .journal-photo-strip > span { width: 76px; height: 62px; }
  .journal-card-actions { padding-right: 12px; padding-left: 12px; }
  .journal-editor-film .film-poster.is-large, .journal-editor-film .poster-placeholder { width: 76px; height: 105px; }
  .journal-editor-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journal-editor-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .journal-editor-actions button { width: 100%; }
}

@media print {
  @page { size: A4; margin: 0; }
  html, body { min-width: 0; background: #fff !important; }
  body * { visibility: hidden !important; }
  .app-shell { display: none !important; }
  .print-book, .print-book * { visibility: visible !important; }
  .print-book { display: block !important; width: 210mm; margin: 0 auto; color: #2f3d42; background: #fff; }
  .print-cover, .print-journal-page { display: flex; min-height: 297mm; flex-direction: column; padding: 25mm 22mm 20mm; page-break-after: always; background: #fff; }
  .print-cover { align-items: flex-start; justify-content: center; background: linear-gradient(145deg, #f8fbfa, #fff4e7); }
  .print-cover .overline { color: #0c8b98; font-size: 10pt; }
  .print-cover h1 { margin-top: 20mm; color: #173142; font-family: "Ma Shan Zheng Local", "Kaiti SC", cursive; font-size: 39pt; font-weight: 400; line-height: 1.3; }
  .print-cover > p:not(.overline) { margin-top: 7mm; color: #7a8b91; font-size: 12pt; }
  .print-cover-line { width: 45mm; margin: 14mm 0 8mm; border-top: 1px solid #e36e58; }
  .print-cover span, .print-cover small { color: #7a8b91; font-size: 10pt; }
  .print-cover small { margin-top: 5mm; font-size: 9pt; }
  .print-page-kicker { color: #0c8b98; font-size: 9pt; font-weight: 700; letter-spacing: .1em; }
  .print-page-heading { display: flex; align-items: center; gap: 9mm; margin-top: 15mm; }
  .print-page-heading .film-poster.is-large, .print-page-heading .poster-placeholder { width: 34mm; height: 47mm; border-radius: 2mm; }
  .print-page-heading h2 { margin-top: 3mm; color: #263941; font-size: 25pt; }
  .print-page-heading p { color: #d1604a; font-size: 9pt; font-weight: 700; }
  .print-page-heading span { display: block; margin-top: 1mm; color: #7a8b91; font-size: 9pt; }
  .print-page-heading small { display: block; max-width: 100mm; margin-top: 4mm; color: #7a8b91; font-size: 8pt; line-height: 1.55; }
  .print-meta-row { display: flex; flex-wrap: wrap; gap: 5mm; margin-top: 9mm; padding: 4mm 0; border-top: 1px solid #dce5e5; border-bottom: 1px solid #dce5e5; color: #7a8b91; font-size: 8pt; }
  .print-rating { color: #b78848; letter-spacing: .12em; }
  .print-story { min-height: 72mm; margin-top: 13mm; padding: 7mm 8mm; background: #fff7ed; }
  .print-story small { color: #d1604a; font-size: 8pt; font-weight: 700; letter-spacing: .1em; }
  .print-story p { margin-top: 5mm; color: #514945; font-family: "Ma Shan Zheng Local", "Kaiti SC", cursive; font-size: 17pt; line-height: 1.7; white-space: pre-wrap; }
  .print-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5mm; margin-top: 9mm; }
  .print-photo-grid img { width: 100%; height: 62mm; object-fit: cover; }
  .print-photo-grid.photo-count-1 { grid-template-columns: 1fr; }
  .print-photo-grid.photo-count-1 img { height: 84mm; }
  .print-photo-grid.photo-count-3 img:last-child { grid-column: 1 / -1; }
  .print-film-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 10mm; margin-top: auto; padding-top: 8mm; border-top: 1px solid #dce5e5; color: #7a8b91; font-size: 8pt; line-height: 1.55; }
  .print-film-footer span { max-width: 135mm; }
  .print-film-footer small { flex: none; color: #d1604a; font-size: 8pt; }
  .print-journal-page:last-child { page-break-after: auto; }
}

/* Journal collage: a small printed-paper composition rather than a generic card. */
.journal-card { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.journal-card-film { display: block; width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; text-align: left; }
.journal-collage { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: 365px; padding: 12px; background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .72) 0 1px, transparent 1.5px), linear-gradient(145deg, #dcebf0, #d7e3e1 52%, #eee1d0); background-size: 17px 17px, auto; box-shadow: 0 17px 34px rgba(49, 65, 70, .12); }
.journal-collage::before { position: absolute; top: -7px; left: 50%; width: 72px; height: 17px; content: ""; background: rgba(255, 239, 193, .76); box-shadow: 0 2px 4px rgba(100, 74, 47, .1); transform: translateX(-50%) rotate(-2deg); }
.journal-collage-ticket, .journal-collage-note { position: relative; display: flex; min-width: 0; flex-direction: column; align-items: flex-start; text-align: left; }
.journal-collage-ticket { z-index: 1; padding: 20px 18px 17px; background: linear-gradient(155deg, #fff3d2, #f0dfbd); box-shadow: 0 12px 21px rgba(101, 76, 49, .16); transform: rotate(-1.2deg); }
.journal-collage-ticket::before { position: absolute; inset: 9px; border: 1px solid rgba(164, 113, 72, .17); content: ""; pointer-events: none; }
.journal-collage-stamp { position: relative; z-index: 1; color: #176c88; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.journal-collage-number { position: absolute; top: 17px; right: 16px; color: #bb5c4c; font-size: 11px; font-weight: 800; }
.journal-collage-program { position: relative; z-index: 1; margin-top: 25px; color: #bb5c4c; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.journal-collage-ticket strong { position: relative; z-index: 1; max-width: 100%; margin-top: 8px; color: #173142; font-family: "Ma Shan Zheng Local", "Kaiti SC", "STKaiti", cursive; font-size: clamp(25px, 3vw, 34px); font-weight: 400; line-height: 1.12; overflow-wrap: anywhere; }
.journal-collage-en { position: relative; z-index: 1; max-width: 100%; margin-top: 5px; overflow: hidden; color: #708086; font-size: 9px; letter-spacing: .08em; text-overflow: ellipsis; white-space: nowrap; }
.journal-collage-rule { position: relative; z-index: 1; width: 48px; margin-top: 15px; border-top: 2px solid #cb6854; }
.journal-collage-info { position: relative; z-index: 1; margin-top: 12px; color: #53636a; font-size: 10px; line-height: 1.65; }
.journal-collage-ticket em { position: relative; z-index: 1; margin-top: 10px; color: #d3873b; font-size: 13px; font-style: normal; letter-spacing: .09em; }
.journal-collage-ticket-story { position: relative; z-index: 1; display: -webkit-box; overflow: hidden; min-height: 67px; margin-top: auto; padding-top: 12px; color: #4f4a43; font-family: "Ma Shan Zheng Local", "Kaiti SC", "STKaiti", cursive; font-size: 16px; line-height: 1.47; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.journal-collage-ticket-footer { position: relative; z-index: 1; width: 100%; margin-top: 11px; padding-top: 9px; border-top: 1px solid rgba(164, 113, 72, .25); color: #8b7565; font-size: 9px; line-height: 1.45; }
.journal-collage-hole { position: absolute; right: -5px; z-index: 2; width: 10px; height: 10px; border-radius: 50%; background: #d9e5e3; box-shadow: inset 0 1px 2px rgba(50, 65, 68, .22); }
.journal-collage-hole-top { top: 26%; }
.journal-collage-hole-bottom { bottom: 22%; }
.journal-collage-note { z-index: 2; min-height: 327px; margin: 18px 3px -4px -3px; padding: 22px 15px 15px; background: linear-gradient(150deg, #f4ded7, #e8c9c4); box-shadow: 0 14px 22px rgba(95, 65, 66, .14); transform: rotate(1.7deg); }
.journal-collage-tape { position: absolute; top: -11px; left: 50%; width: 64px; height: 20px; background: rgba(255, 237, 188, .74); box-shadow: 0 2px 4px rgba(100, 74, 47, .1); transform: translateX(-50%) rotate(-4deg); }
.journal-collage-note-label { color: #a65049; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.journal-collage-photo { display: block; width: 100%; height: 132px; margin-top: 14px; padding: 5px; background: #fff9ec; box-shadow: 0 6px 10px rgba(90, 67, 58, .14); transform: rotate(-1.4deg); }
.journal-collage-photo img, .journal-collage-photo .film-poster.is-large, .journal-collage-photo .poster-placeholder { display: block; width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.journal-collage-note-story { display: -webkit-box; overflow: hidden; min-height: 64px; margin-top: 15px; color: #514644; font-family: "Ma Shan Zheng Local", "Kaiti SC", "STKaiti", cursive; font-size: 16px; line-height: 1.52; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.journal-collage-signature { margin-top: auto; padding-top: 9px; color: #8b716d; font-size: 9px; }
.journal-collage-dot { position: absolute; right: 12px; bottom: 14px; width: 17px; height: 17px; border-radius: 50%; background: #e16a54; box-shadow: 0 1px 2px rgba(100, 54, 45, .16); }
.journal-card-actions { position: relative; z-index: 3; padding: 12px 4px 0; }

.paper-spread { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 490px; padding: 10px; background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .7) 0 1px, transparent 1.5px), #dce9e6; background-size: 15px 15px; box-shadow: 0 18px 36px rgba(75, 71, 62, .13); }
.paper-spread-ticket, .paper-spread-note { position: relative; display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.paper-spread-ticket { z-index: 1; padding: 19px 15px 15px; background: #fff0cb; box-shadow: 0 9px 17px rgba(98, 73, 44, .15); transform: rotate(-1deg); }
.paper-spread-ticket::after { position: absolute; right: -5px; top: 24%; width: 10px; height: 10px; border-radius: 50%; background: #dce9e6; box-shadow: inset 0 1px 2px rgba(50, 65, 68, .22); content: ""; }
.paper-spread-stamp { color: #1a7088; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.paper-spread-number { position: absolute; top: 15px; right: 13px; color: #c16350; font-size: 10px; font-weight: 800; }
.paper-spread-program { margin-top: 24px; color: #c16350; font-size: 9px; font-weight: 800; }
.paper-spread-ticket .film-poster.is-large, .paper-spread-ticket .poster-placeholder { width: 100%; height: 105px; margin-top: 12px; border-radius: 0; }
.paper-spread-ticket h3 { max-width: 100%; margin-top: 14px; color: #173142; font-family: "Ma Shan Zheng Local", "Kaiti SC", "STKaiti", cursive; font-size: 27px; font-weight: 400; line-height: 1.15; overflow-wrap: anywhere; }
.paper-spread-en { max-width: 100%; margin-top: 4px; overflow: hidden; color: #748187; font-size: 8px; letter-spacing: .06em; text-overflow: ellipsis; white-space: nowrap; }
.paper-spread-rule { width: 38px; margin-top: 12px; border-top: 2px solid #cb6854; }
.paper-spread-info { margin-top: 9px; color: #53636a; font-size: 9px; line-height: 1.55; }
.paper-spread-note { z-index: 2; margin: 15px 0 -3px -3px; padding: 21px 13px 13px; background: #efd5d0; box-shadow: 0 11px 19px rgba(95, 65, 66, .14); transform: rotate(1.2deg); }
.paper-spread-tape { position: absolute; top: -10px; left: 50%; width: 55px; height: 17px; background: rgba(255, 237, 188, .76); transform: translateX(-50%) rotate(-4deg); }
.paper-spread-label { color: #a65049; font-size: 8px; font-weight: 900; letter-spacing: .11em; }
.paper-spread-photo { display: block; width: 100%; height: 132px; margin-top: 12px; padding: 4px; background: #fff9ec; box-shadow: 0 5px 9px rgba(90, 67, 58, .14); }
.paper-spread-photo img, .paper-spread-photo .film-poster.is-large, .paper-spread-photo .poster-placeholder { display: block; width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.paper-spread-story { display: -webkit-box; overflow: hidden; min-height: 117px; margin-top: 13px; color: #514644; font-family: "Ma Shan Zheng Local", "Kaiti SC", "STKaiti", cursive; font-size: 17px; line-height: 1.56; -webkit-box-orient: vertical; -webkit-line-clamp: 6; }
.paper-spread-footer { display: flex; width: 100%; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 9px; border-top: 1px solid rgba(176, 137, 111, .26); color: #8b716d; font-size: 8px; }

@media (max-width: 620px) {
  .journal-collage { min-height: 330px; padding: 10px; }
  .journal-collage-ticket { padding: 18px 14px 14px; }
  .journal-collage-ticket strong { font-size: 26px; }
  .journal-collage-ticket-story, .journal-collage-note-story { font-size: 15px; }
  .journal-collage-note { min-height: 294px; padding-right: 12px; padding-left: 12px; }
  .journal-collage-photo { height: 115px; }
  .paper-spread { min-height: 440px; }
  .paper-spread-ticket { padding-right: 12px; padding-left: 12px; }
  .paper-spread-ticket h3 { font-size: 24px; }
  .paper-spread-photo { height: 115px; }
  .paper-spread-story { font-size: 15px; }
}

@media print {
  .print-book { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .print-cover { position: relative; overflow: hidden; align-items: flex-start; justify-content: center; padding: 25mm 24mm 20mm; background: linear-gradient(145deg, #d7e6e4 0 30%, #f7e4c6 30% 63%, #e7c7c4 63% 100%); }
  .print-cover::before { position: absolute; right: -24mm; top: 34mm; width: 92mm; height: 92mm; border: 1px solid rgba(23, 49, 66, .22); border-radius: 50%; box-shadow: 0 0 0 11mm rgba(255, 255, 255, .2), 0 0 0 22mm rgba(255, 255, 255, .15); content: ""; }
  .print-cover::after { position: absolute; left: 18mm; bottom: 26mm; width: 42mm; height: 15mm; background: rgba(255, 239, 193, .8); content: ""; transform: rotate(-8deg); }
  .print-cover h1 { position: relative; z-index: 1; margin-top: 20mm; color: #173142; font-family: "Ma Shan Zheng Local", "Kaiti SC", cursive; font-size: 43pt; font-weight: 400; line-height: 1.24; }
  .print-cover > p:not(.overline) { position: relative; z-index: 1; color: #7d625c; }
  .print-cover-line { position: relative; z-index: 1; margin-top: 13mm; border-top-color: #c55c4c; }
  .print-cover span, .print-cover small { position: relative; z-index: 1; color: #665f5a; }
  .print-collage-page { display: flex; min-height: 297mm; flex-direction: column; padding: 14mm 14mm 11mm; background: #f8f2e7; color: #28383d; }
  .print-page-ribbon { display: flex; align-items: baseline; justify-content: space-between; gap: 6mm; padding-bottom: 4mm; border-bottom: 1px solid rgba(23, 49, 66, .2); color: #176c88; }
  .print-page-ribbon span { font-size: 11pt; font-weight: 900; letter-spacing: .12em; }
  .print-page-ribbon small { color: #8f7169; font-size: 7pt; letter-spacing: .08em; }
  .print-spread { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); gap: 7mm; flex: 1; align-items: stretch; min-height: 222mm; margin-top: 10mm; padding: 5mm; background: radial-gradient(circle at 15% 18%, rgba(255, 255, 255, .74) 0 1px, transparent 1.5px), #dbe7e3; background-size: 6mm 6mm; }
  .print-ticket, .print-note { position: relative; display: flex; min-width: 0; flex-direction: column; align-items: flex-start; page-break-inside: avoid; }
  .print-ticket { padding: 8mm 7mm 7mm; background: #fff0cb; box-shadow: 0 4mm 7mm rgba(92, 70, 47, .14); transform: rotate(-1deg); }
  .print-ticket::before { position: absolute; inset: 3mm; border: .3mm solid rgba(164, 113, 72, .18); content: ""; }
  .print-ticket-notch { position: absolute; right: -2mm; z-index: 2; width: 4mm; height: 4mm; border-radius: 50%; background: #dbe7e3; box-shadow: inset 0 .4mm .8mm rgba(50, 65, 68, .22); }
  .print-ticket-notch-top { top: 25%; }
  .print-ticket-notch-bottom { bottom: 23%; }
  .print-ticket-topline, .print-ticket-kicker, .print-ticket-en, .print-ticket-info, .print-ticket-rating, .print-ticket-story, .print-ticket-place, .print-ticket h2, .print-ticket .film-poster, .print-ticket .poster-placeholder { position: relative; z-index: 1; }
  .print-ticket-topline { display: flex; width: 100%; align-items: baseline; justify-content: space-between; color: #b95e4d; font-size: 7.5pt; font-weight: 800; }
  .print-ticket-topline strong { font-size: 8pt; }
  .print-ticket .film-poster.is-large, .print-ticket .poster-placeholder { width: 100%; height: 45mm; margin-top: 5mm; border-radius: 0; }
  .print-ticket-kicker { margin-top: 6mm; color: #176c88; font-size: 7pt; font-weight: 900; letter-spacing: .08em; }
  .print-ticket h2 { max-width: 100%; margin-top: 2mm; color: #173142; font-family: "Ma Shan Zheng Local", "Kaiti SC", cursive; font-size: 23pt; font-weight: 400; line-height: 1.15; overflow-wrap: anywhere; }
  .print-ticket-en { max-width: 100%; margin-top: 1mm; overflow: hidden; color: #77868b; font-size: 7pt; letter-spacing: .07em; text-overflow: ellipsis; white-space: nowrap; }
  .print-ticket-rule { position: relative; z-index: 1; width: 13mm; margin-top: 4mm; border-top: .6mm solid #c75d4e; }
  .print-ticket-info { margin-top: 3mm; color: #53636a; font-size: 7.5pt; line-height: 1.55; }
  .print-ticket-rating { margin-top: 3mm; color: #d3873b; font-size: 9pt; letter-spacing: .1em; }
  .print-ticket-story { display: -webkit-box; overflow: hidden; min-height: 37mm; margin-top: auto; padding-top: 4mm; color: #514945; font-family: "Ma Shan Zheng Local", "Kaiti SC", cursive; font-size: 11.5pt; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 7; }
  .print-ticket-place { width: 100%; margin-top: 3mm; padding-top: 2.5mm; border-top: .25mm solid rgba(164, 113, 72, .25); color: #8b7565; font-size: 6.8pt; line-height: 1.5; }
  .print-note { margin: 6mm 1mm -2mm -2mm; padding: 8mm 7mm 6mm; background: #efd5d0; box-shadow: 0 4mm 7mm rgba(95, 65, 66, .13); transform: rotate(1.25deg); }
  .print-tape { position: absolute; top: -4mm; left: 50%; width: 21mm; height: 6mm; background: rgba(255, 237, 188, .8); transform: translateX(-50%) rotate(-4deg); }
  .print-note-label { color: #a65049; font-size: 7pt; font-weight: 900; letter-spacing: .09em; }
  .print-note-hero { width: 100%; height: 68mm; margin-top: 5mm; padding: 2mm; background: #fff9ec; box-shadow: 0 2mm 3mm rgba(90, 67, 58, .13); transform: rotate(-1deg); }
  .print-note-hero img, .print-note-hero .film-poster.is-large, .print-note-hero .poster-placeholder { display: block; width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
  .print-note h3 { max-width: 100%; margin-top: 5mm; color: #5c4847; font-family: "Ma Shan Zheng Local", "Kaiti SC", cursive; font-size: 18pt; font-weight: 400; }
  .print-note-date { margin-top: .5mm; color: #9a7770; font-size: 7pt; }
  .print-note-story { overflow: visible; min-height: 50mm; margin-top: 4mm; color: #514644; font-family: "Ma Shan Zheng Local", "Kaiti SC", cursive; font-size: 12.5pt; line-height: 1.65; white-space: pre-wrap; }
  .print-note-strip { display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3mm; margin-top: 4mm; }
  .print-note-strip img { width: 100%; height: 25mm; object-fit: cover; }
  .print-note-strip.photo-count-1 { grid-template-columns: 1fr; }
  .print-note-strip.photo-count-1 img { height: 30mm; }
  .print-note-strip.photo-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .print-note-footer { display: flex; width: 100%; justify-content: space-between; gap: 5mm; margin-top: auto; padding-top: 3mm; border-top: .25mm solid rgba(176, 137, 111, .3); color: #8b716d; font-size: 6.8pt; }
  .print-note-footer strong { color: #a65049; font-weight: 700; }
  .print-collage-page > .print-film-footer { margin-top: 8mm; padding-top: 4mm; border-top: .25mm solid rgba(23, 49, 66, .2); color: #7a8587; font-size: 6.8pt; line-height: 1.5; }
  .print-collage-page > .print-film-footer span { max-width: 145mm; }
  .print-collage-page > .print-film-footer small { color: #a65049; font-size: 6.8pt; }
}

/* Kraft notebook editor: the preview is an open, tactile paper spread. */
.journal-editor { background: rgba(248, 242, 230, .94); }
.journal-live-preview { min-width: 0; }
.journal-live-preview-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.journal-live-preview-heading > span { color: #8e7762; font-size: 10px; }
.notebook-spread { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 545px; padding: 12px; overflow: hidden; border: 1px solid rgba(91, 60, 34, .24); border-radius: 5px 12px 12px 5px; background: #b78958; box-shadow: 0 20px 36px rgba(78, 52, 30, .2), inset 0 0 0 5px rgba(255, 236, 196, .14); }
.notebook-spread::before, .notebook-spread::after { position: absolute; content: ""; pointer-events: none; }
.notebook-spread::before { inset: 0; opacity: .82; background: repeating-linear-gradient(96deg, transparent 0 17px, rgba(90, 55, 26, .08) 18px, transparent 20px 37px), repeating-linear-gradient(6deg, rgba(255, 239, 201, .08) 0 1px, transparent 1px 23px); mix-blend-mode: multiply; }
.notebook-spread::after { top: 8px; bottom: 8px; left: 50%; z-index: 3; width: 18px; background: linear-gradient(90deg, rgba(64, 40, 23, .23), rgba(255, 238, 202, .16) 38%, rgba(76, 44, 21, .21)); box-shadow: 0 0 9px rgba(63, 37, 19, .2); transform: translateX(-50%); }
.notebook-page { position: relative; z-index: 1; min-width: 0; overflow: hidden; padding: 20px 16px 15px; color: #261c14; background-color: #d4ad7d; background-image: radial-gradient(ellipse at 12% 12%, rgba(255, 241, 202, .36), transparent 24%), radial-gradient(ellipse at 87% 78%, rgba(104, 63, 31, .12), transparent 30%), repeating-linear-gradient(99deg, rgba(100, 62, 29, .075) 0 1px, transparent 1px 12px), repeating-linear-gradient(7deg, rgba(255, 234, 189, .15) 0 1px, transparent 1px 25px); box-shadow: inset 0 0 0 1px rgba(88, 51, 23, .15); }
.notebook-left { border-radius: 4px 0 0 4px; transform: rotate(-.45deg); }
.notebook-right { padding-right: 15px; padding-left: 21px; border-radius: 0 4px 4px 0; transform: rotate(.45deg); }
.notebook-topline, .notebook-right-head, .notebook-left-footer, .notebook-right-footer { position: relative; z-index: 2; display: flex; align-items: baseline; justify-content: space-between; gap: 7px; }
.notebook-topline { color: #285f65; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.notebook-topline strong { color: #8a4337; font-size: 10px; }
.notebook-ticket { position: relative; display: flex; min-height: 395px; flex-direction: column; align-items: flex-start; margin: 25px 6px 0; padding: 14px 12px 13px; border: 1px solid rgba(138, 84, 41, .18); background: rgba(243, 219, 173, .63); box-shadow: 0 8px 15px rgba(86, 52, 27, .12); transform: rotate(-1.7deg); }
.notebook-ticket::before { position: absolute; inset: 6px; border: 1px solid rgba(124, 74, 35, .14); content: ""; pointer-events: none; }
.notebook-ticket-kicker, .notebook-ticket h3, .notebook-ticket p, .notebook-ticket small, .notebook-ticket .film-poster, .notebook-ticket .poster-placeholder { position: relative; z-index: 1; }
.notebook-ticket-kicker { color: #98493d; font-size: 8px; font-weight: 900; letter-spacing: .07em; }
.notebook-ticket .film-poster.is-large, .notebook-ticket .poster-placeholder { width: 100%; height: 134px; margin-top: 13px; border-radius: 1px; filter: sepia(.1) saturate(.82); }
.notebook-ticket h3 { margin-top: 13px; color: #1e1712; font-family: "Ma Shan Zheng Local", "Kaiti SC", "STKaiti", cursive; font-size: 27px; font-weight: 400; line-height: 1.15; overflow-wrap: anywhere; }
.notebook-ticket p { max-width: 100%; margin-top: 3px; overflow: hidden; color: #69533d; font-size: 8px; letter-spacing: .06em; text-overflow: ellipsis; white-space: nowrap; }
.notebook-ticket-rule { position: relative; z-index: 1; width: 31px; margin-top: 12px; border-top: 2px solid #a65343; }
.notebook-ticket small { margin-top: 9px; color: #51402f; font-size: 9px; line-height: 1.55; }
.notebook-left-footer, .notebook-right-footer { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(109, 67, 33, .2); color: #73583e; font-size: 8px; letter-spacing: .06em; }
.notebook-left-footer span:last-child, .notebook-right-footer strong { color: #843e36; font-weight: 700; }
.notebook-right-head { padding-bottom: 9px; border-bottom: 1px solid rgba(109, 67, 33, .2); color: #7b3e37; font-family: "Ma Shan Zheng Local", "Kaiti SC", "STKaiti", cursive; font-size: 20px; }
.notebook-right-head small { color: #725b47; font-family: inherit; font-size: 9px; }
.notebook-photo-stage { position: relative; height: 215px; margin-top: 13px; overflow: hidden; border-top: 1px dashed rgba(107, 63, 29, .25); border-bottom: 1px dashed rgba(107, 63, 29, .25); background: rgba(238, 214, 172, .22); touch-action: none; }
.notebook-photo-item { position: absolute; z-index: 2; width: 45%; aspect-ratio: 4 / 3; padding: 5px; border: 1px solid rgba(101, 67, 39, .18); background: #f7f0df; box-shadow: 0 7px 11px rgba(72, 46, 28, .23); cursor: grab; transform-origin: center; touch-action: none; user-select: none; }
.notebook-photo-item:active { cursor: grabbing; }
.notebook-photo-item.is-active { z-index: 5; box-shadow: 0 0 0 2px rgba(164, 76, 57, .68), 0 9px 14px rgba(72, 46, 28, .25); }
.notebook-photo-item img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.notebook-photo-fallback { position: absolute; top: 50%; left: 50%; display: grid; width: 47%; justify-items: center; gap: 7px; color: #7a6048; font-family: "Ma Shan Zheng Local", "Kaiti SC", cursive; font-size: 12px; line-height: 1.35; text-align: center; transform: translate(-50%, -50%) rotate(-2deg); }
.notebook-photo-fallback .film-poster.is-large, .notebook-photo-fallback .poster-placeholder { width: 100%; height: 112px; border-radius: 1px; filter: sepia(.12) saturate(.82); }
.notebook-photo-note { position: absolute; right: 6px; bottom: 5px; z-index: 1; color: rgba(105, 69, 42, .55); font-family: "Ma Shan Zheng Local", "Kaiti SC", cursive; font-size: 11px; line-height: 1.1; text-align: right; transform: rotate(-7deg); }
.notebook-story { min-height: 105px; margin-top: 13px; color: #111; font-family: "Ma Shan Zheng Local", "Kaiti SC", "STKaiti", cursive; font-size: 17px; line-height: 1.6; white-space: pre-wrap; }
.journal-story-field textarea, .journal-place-field input { color: #111; }
.journal-photo-tools { display: grid; gap: 8px; margin-top: 11px; }
.journal-photo-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.journal-photo-picker button, .journal-photo-adjust button { min-height: 29px; padding: 0 9px; border: 1px solid rgba(109, 67, 33, .19); border-radius: 8px; background: rgba(255, 249, 236, .78); color: #634a35; font-size: 10px; }
.journal-photo-picker button.active { border-color: #a65343; background: #a65343; color: #fff; }
.journal-photo-adjust { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.journal-photo-adjust > span { flex: 1 0 100%; color: #816c58; font-size: 10px; }
.journal-photo-adjust button:disabled { cursor: default; opacity: .38; }
.journal-photo-adjust button:hover:not(:disabled) { border-color: #a65343; color: #843e36; }
.journal-photo-hint { margin-top: 10px; color: #816c58; font-size: 11px; line-height: 1.5; }
.journal-editor-photo.is-active { outline: 2px solid rgba(166, 83, 67, .7); outline-offset: 2px; }

@media (max-width: 620px) {
  .journal-live-preview-heading { display: grid; gap: 4px; }
  .journal-live-preview-heading > span { font-size: 9px; }
  .notebook-spread { min-height: 495px; padding: 8px; }
  .notebook-page { padding: 15px 10px 11px; }
  .notebook-right { padding-right: 9px; padding-left: 14px; }
  .notebook-ticket { min-height: 360px; margin-right: 3px; margin-left: 3px; padding: 11px 9px 10px; }
  .notebook-ticket .film-poster.is-large, .notebook-ticket .poster-placeholder { height: 105px; }
  .notebook-ticket h3 { font-size: 22px; }
  .notebook-ticket small { font-size: 8px; }
  .notebook-right-head { font-size: 17px; }
  .notebook-photo-stage { height: 190px; }
  .notebook-photo-item { width: 53%; padding: 4px; }
  .notebook-photo-fallback { width: 54%; font-size: 10px; }
  .notebook-photo-fallback .film-poster.is-large, .notebook-photo-fallback .poster-placeholder { height: 94px; }
  .notebook-story { min-height: 88px; font-size: 15px; }
  .journal-photo-adjust button { padding: 0 8px; }
}

@media print {
  .print-collage-page { background-color: #c59b6b; background-image: radial-gradient(ellipse at 12% 12%, rgba(255, 241, 202, .3), transparent 24%), repeating-linear-gradient(99deg, rgba(100, 62, 29, .075) 0 .3mm, transparent .3mm 4mm), repeating-linear-gradient(7deg, rgba(255, 234, 189, .15) 0 .3mm, transparent .3mm 7mm); color: #17110c; }
  .print-spread { position: relative; border: .3mm solid rgba(91, 60, 34, .24); background-color: #b78958; background-image: repeating-linear-gradient(96deg, transparent 0 4mm, rgba(90, 55, 26, .08) 4.2mm, transparent 4.5mm 9mm), repeating-linear-gradient(6deg, rgba(255, 239, 201, .08) 0 .3mm, transparent .3mm 6mm); box-shadow: 0 4mm 7mm rgba(78, 52, 30, .18); }
  .print-ticket, .print-note { background-color: #d4ad7d; background-image: radial-gradient(ellipse at 12% 12%, rgba(255, 241, 202, .36), transparent 24%), repeating-linear-gradient(99deg, rgba(100, 62, 29, .075) 0 .25mm, transparent .25mm 3mm), repeating-linear-gradient(7deg, rgba(255, 234, 189, .15) 0 .25mm, transparent .25mm 6mm); color: #17110c; }
  .print-note-board { position: relative; width: 100%; height: 68mm; margin-top: 5mm; overflow: hidden; border-top: .25mm dashed rgba(107, 63, 29, .25); border-bottom: .25mm dashed rgba(107, 63, 29, .25); background: rgba(238, 214, 172, .22); }
  .print-positioned-photo { position: absolute; z-index: 2; width: 36%; aspect-ratio: 4 / 3; padding: 1.5mm; border: .25mm solid rgba(101, 67, 39, .18); background: #f7f0df; box-shadow: 0 2mm 3mm rgba(72, 46, 28, .23); transform-origin: center; }
  .print-positioned-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .print-note-poster { position: absolute; top: 50%; left: 50%; width: 38%; transform: translate(-50%, -50%) rotate(-2deg); }
  .print-note-poster .film-poster.is-large, .print-note-poster .poster-placeholder { width: 100%; height: 42mm; border-radius: .5mm; filter: sepia(.12) saturate(.82); }
  .print-board-caption { position: absolute; right: 2mm; bottom: 1mm; z-index: 1; color: rgba(105, 69, 42, .55); font-family: "Ma Shan Zheng Local", "Kaiti SC", cursive; font-size: 6pt; transform: rotate(-4deg); }
  .print-ticket-story, .print-note-story { color: #111; }
}

/* Quiet paper direction: warm ivory, with only a restrained paper grain. */
.journal-collage { background: #eeece6; box-shadow: 0 17px 34px rgba(71, 66, 58, .12); }
.journal-collage::before { background: rgba(255, 255, 255, .66); }
.journal-collage-ticket { background: #fbfaf5; box-shadow: 0 12px 21px rgba(79, 72, 62, .12); }
.journal-collage-note { background: #f5f1e9; box-shadow: 0 14px 22px rgba(79, 72, 62, .1); }
.journal-collage-ticket-story { display: none; }
.journal-collage-ticket-screenings { position: relative; z-index: 1; display: grid; gap: 5px; width: 100%; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(101, 86, 69, .18); color: #3f3932; font-size: 9px; line-height: 1.35; }
.journal-collage-ticket-screenings > strong { color: #7b6b5a; font-size: 8px; letter-spacing: .08em; }
.journal-collage-ticket-screenings > span { display: grid; gap: 1px; }
.journal-collage-ticket-screenings b { font-weight: 700; }
.journal-collage-ticket-screenings small { color: #827567; font-size: 8px; }

.notebook-spread { background: #e8e4dc; border-color: rgba(93, 82, 69, .2); box-shadow: 0 20px 36px rgba(71, 66, 58, .14), inset 0 0 0 5px rgba(255, 255, 255, .32); }
.notebook-spread::before { opacity: .42; background: radial-gradient(circle at 17% 22%, rgba(255, 255, 255, .7) 0 1px, transparent 1.4px), radial-gradient(circle at 72% 68%, rgba(117, 104, 85, .1) 0 1px, transparent 1.4px); background-size: 19px 19px, 23px 23px; mix-blend-mode: normal; }
.notebook-spread::after { background: linear-gradient(90deg, rgba(104, 92, 77, .14), rgba(255, 255, 255, .72) 38%, rgba(104, 92, 77, .12)); box-shadow: 0 0 9px rgba(93, 82, 69, .12); }
.notebook-page { display: flex; flex-direction: column; color: #292621; background-color: #fbfaf5; background-image: linear-gradient(90deg, rgba(96, 83, 66, .035), transparent 16%, transparent 84%, rgba(96, 83, 66, .035)), radial-gradient(circle at 22% 17%, rgba(255, 255, 255, .72), transparent 33%); box-shadow: inset 0 0 0 1px rgba(96, 83, 66, .12); }
.notebook-ticket { min-height: 335px; border-color: rgba(96, 83, 66, .15); background: rgba(255, 253, 247, .78); box-shadow: 0 8px 15px rgba(79, 72, 62, .1); }
.notebook-ticket::before { border-color: rgba(96, 83, 66, .11); }
.notebook-ticket-kicker { color: #746654; }
.notebook-ticket .film-poster.is-large, .notebook-ticket .poster-placeholder { filter: saturate(.7) contrast(.98); }
.notebook-ticket h3 { color: #1b1916; }
.notebook-ticket p { color: #746c61; }
.notebook-ticket-rule { border-top-color: #847667; }
.notebook-ticket small { color: #534c43; }
.notebook-left-footer, .notebook-right-footer { color: #746c61; border-top-color: rgba(96, 83, 66, .16); }
.notebook-left-footer span:last-child, .notebook-right-footer strong { color: #38322b; }
.notebook-right-head { color: #35302a; border-bottom-color: rgba(96, 83, 66, .16); }
.notebook-right-head small { color: #746c61; }
.notebook-photo-stage { border-top-color: rgba(96, 83, 66, .2); border-bottom-color: rgba(96, 83, 66, .2); background: rgba(255, 253, 247, .42); }
.notebook-photo-item { border-color: rgba(96, 83, 66, .16); background: #fffdf8; box-shadow: 0 7px 11px rgba(79, 72, 62, .17); }
.notebook-photo-item.is-active { box-shadow: 0 0 0 2px rgba(102, 88, 71, .58), 0 9px 14px rgba(79, 72, 62, .19); }
.notebook-photo-fallback { color: #7e7367; }
.notebook-photo-note { color: rgba(105, 96, 84, .5); }
.notebook-story { color: #111; }
.journal-photo-picker button, .journal-photo-adjust button { border-color: rgba(96, 83, 66, .18); background: rgba(255, 253, 247, .86); color: #554b40; }
.journal-photo-picker button.active { border-color: #746654; background: #746654; }
.journal-photo-adjust button:hover:not(:disabled) { border-color: #746654; color: #4d453c; }
.journal-photo-hint { color: #81766a; }

/* Keep narrow paper columns legible: every text block gets room to wrap. */
.journal-collage-ticket, .journal-collage-note, .notebook-ticket, .notebook-schedule, .print-ticket, .print-note { overflow: hidden; }
.journal-collage-ticket-screenings > strong { margin-top: 0; font-family: inherit; font-size: 8px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.journal-collage-ticket-screenings b, .journal-collage-ticket-screenings small, .journal-collage-ticket-footer { overflow-wrap: anywhere; word-break: break-word; }
.journal-collage-note-story { min-height: 0; max-height: 95px; line-height: 1.75; overflow-wrap: anywhere; word-break: break-word; }
.notebook-ticket h3, .notebook-ticket p, .notebook-ticket small, .notebook-schedule b, .notebook-schedule small { overflow-wrap: anywhere; word-break: break-word; }
.notebook-ticket h3 { line-height: 1.25; }
.notebook-ticket small { line-height: 1.7; }
.notebook-schedule { max-height: 108px; overflow: hidden; }
.notebook-story { min-height: 0; max-height: 116px; overflow: hidden; line-height: 1.85; overflow-wrap: anywhere; word-break: break-word; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; }
.notebook-right-footer { flex: none; }
.print-ticket h2, .print-note h3 { overflow-wrap: anywhere; word-break: break-word; }
.print-ticket h2 { line-height: 1.28; }
.print-ticket-info, .print-ticket-schedule, .print-ticket-place, .print-note-date, .print-note-story { overflow-wrap: anywhere; word-break: break-word; }
.print-ticket-schedule { max-height: 36mm; overflow: hidden; }
.print-note-story { display: -webkit-box; max-height: 48mm; overflow: hidden; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 10; }

.site-footer-brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.footer-emblem { position: relative; display: inline-block; width: 18px; height: 14px; flex: none; border: 1px solid rgba(116, 102, 84, .68); border-radius: 3px 5px 4px 3px; background: rgba(255, 253, 247, .58); box-shadow: 0 2px 5px rgba(71, 66, 58, .09); transform: rotate(-3deg); }
.footer-emblem::before, .footer-emblem::after { position: absolute; top: 2px; width: 6px; height: 8px; border: 1px solid rgba(116, 102, 84, .54); content: ""; background: rgba(246, 241, 231, .8); }
.footer-emblem::before { left: 2px; border-radius: 2px 0 0 2px; border-right: 0; }
.footer-emblem::after { right: 2px; border-radius: 0 2px 2px 0; border-left: 0; }
.footer-emblem i { position: absolute; top: 2px; bottom: 2px; left: 50%; z-index: 1; width: 1px; background: rgba(116, 102, 84, .58); transform: translateX(-50%); }

.notebook-schedule { display: grid; gap: 5px; margin: 10px 6px 0; padding-top: 9px; border-top: 1px solid rgba(96, 83, 66, .16); color: #4a443b; font-size: 8px; line-height: 1.35; }
.notebook-schedule > strong { color: #827567; font-size: 8px; letter-spacing: .08em; }
.notebook-schedule > span { display: grid; gap: 1px; }
.notebook-schedule b { font-weight: 700; }
.notebook-schedule small { color: #827567; font-size: 8px; }
.notebook-left-footer { margin-top: auto; }

@media (max-width: 620px) {
  .notebook-ticket { min-height: 292px; }
  .notebook-schedule { margin-top: 8px; gap: 4px; font-size: 7px; }
  .notebook-schedule small { font-size: 7px; }
  .notebook-story { max-height: 100px; line-height: 1.78; }
  .journal-collage-note-story { max-height: 82px; line-height: 1.68; }
}

@media print {
  .print-collage-page { color: #22201c; background-color: #f1eee8; background-image: radial-gradient(circle at 17% 22%, rgba(255, 255, 255, .72) 0 .3mm, transparent .4mm), radial-gradient(circle at 72% 68%, rgba(117, 104, 85, .08) 0 .3mm, transparent .4mm); background-size: 6mm 6mm, 8mm 8mm; }
  .print-spread { border-color: rgba(93, 82, 69, .2); background-color: #e8e4dc; background-image: none; box-shadow: 0 4mm 7mm rgba(71, 66, 58, .13); }
  .print-ticket, .print-note { color: #22201c; background-color: #fbfaf5; background-image: linear-gradient(90deg, rgba(96, 83, 66, .035), transparent 16%, transparent 84%, rgba(96, 83, 66, .035)); }
  .print-ticket-schedule { display: grid; gap: 2mm; margin-top: 4mm; padding-top: 3mm; border-top: .25mm solid rgba(96, 83, 66, .16); color: #4a443b; font-size: 7pt; line-height: 1.35; }
  .print-ticket-schedule > strong { color: #827567; font-size: 7pt; letter-spacing: .08em; }
  .print-ticket-schedule > span { display: grid; gap: .5mm; }
  .print-ticket-schedule b { font-weight: 700; }
  .print-ticket-schedule small { color: #827567; font-size: 6.5pt; }
  .print-ticket-story { display: none; }
  .print-note-board { border-top-color: rgba(96, 83, 66, .2); border-bottom-color: rgba(96, 83, 66, .2); background: rgba(255, 253, 247, .42); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Interactive journal: a quiet paper book with a real turn, not a card carousel. */
.flipbook-shell { margin: 26px 0 34px; padding: 18px 18px 16px; border: 1px solid rgba(60, 54, 47, .12); border-radius: 24px; background: linear-gradient(145deg, #ebe8df, #f8f6f0 52%, #e3ded5); box-shadow: 0 22px 50px rgba(48, 43, 37, .12); }
.flipbook-toolbar { display: flex; justify-content: space-between; gap: 12px; color: #71695f; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.flipbook-stage { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 10px; min-height: 530px; }
.flipbook-book { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(760px, 100%); aspect-ratio: 1.56; margin: auto; perspective: 1800px; transform-style: preserve-3d; filter: drop-shadow(0 22px 20px rgba(50, 41, 32, .18)); animation: flipbook-open 520ms cubic-bezier(.22,.72,.2,1) both; }
.flipbook-book-next { transform-origin: 50% 50%; animation-name: flipbook-turn-next; }
.flipbook-book-previous { animation-name: flipbook-turn-previous; }
.flipbook-spine { position: absolute; z-index: 4; inset: 0 auto 0 50%; width: 1px; background: linear-gradient(#cfc4b4, #8d7b69 45%, #d7cfc2); box-shadow: 0 0 12px rgba(82, 65, 48, .2); }
.flipbook-page { position: relative; overflow: hidden; min-width: 0; padding: clamp(18px, 4vw, 42px); color: #26221e; background: #f8f5ed; background-image: radial-gradient(circle at 18% 20%, rgba(82, 66, 48, .07) 0 1px, transparent 1.5px), linear-gradient(90deg, rgba(101, 79, 55, .04), transparent 14%, transparent 86%, rgba(101, 79, 55, .045)); background-size: 18px 18px, 100% 100%; }
.flipbook-page::after { position: absolute; inset: 0; content: ""; pointer-events: none; box-shadow: inset 0 0 28px rgba(75, 58, 40, .08); }
.flipbook-page-left { border-radius: 7px 0 0 7px; }
.flipbook-page-right { border-radius: 0 7px 7px 0; }
.flipbook-page-number { position: absolute; top: 22px; right: 28px; color: #9a8b7a; font: 700 11px/1 var(--font-sans); letter-spacing: .16em; }
.flipbook-kicker, .flipbook-note-label { color: #a06448; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.flipbook-page h2 { max-width: 90%; margin: 18px 0 5px; font-size: clamp(24px, 4vw, 45px); line-height: 1.06; }
.flipbook-en { color: #8e8172; font-size: 11px; letter-spacing: .05em; }
.flipbook-rule, .flipbook-writing-line { height: 1px; margin: 17px 0; background: rgba(92, 73, 54, .22); }
.flipbook-meta { color: #766b60; font-size: 11px; line-height: 1.75; }
.flipbook-poster { position: absolute; right: 10%; bottom: 12%; transform: rotate(3deg); opacity: .92; box-shadow: 0 12px 18px rgba(43, 32, 23, .2); }
.flipbook-poster .film-poster.is-large, .flipbook-poster .poster-placeholder { width: clamp(72px, 13vw, 124px); height: clamp(100px, 18vw, 172px); }
.flipbook-screenings { position: absolute; right: 10%; bottom: 8%; display: grid; gap: 4px; width: 42%; color: #65594e; font-size: 9px; }
.flipbook-screenings span { display: grid; gap: 2px; border-top: 1px solid rgba(100, 80, 58, .18); padding-top: 4px; }
.flipbook-screenings small { color: #9a8b7a; font-size: 8px; }
.flipbook-photo-stack { position: relative; display: grid; place-items: center; min-height: 220px; margin: 22px 0 14px; }
.flipbook-photo-stack img, .flipbook-photo-stack .film-poster.is-large, .flipbook-photo-stack .poster-placeholder { width: min(76%, 260px); height: auto; max-height: 220px; object-fit: cover; border: 7px solid #fffdf8; box-shadow: 0 8px 14px rgba(49, 37, 25, .16); }
.flipbook-photo-stack img:not(:first-child) { position: absolute; }
.flipbook-writing-line { margin-top: 10px; background: repeating-linear-gradient(to bottom, transparent 0 24px, rgba(96, 79, 61, .17) 25px 26px); height: 78px; }
.flipbook-place { font-weight: 800; font-size: 16px; }
.flipbook-story { position: relative; z-index: 1; max-height: 125px; margin-top: 10px; overflow: hidden; color: #292522; font-family: "Ma Shan Zheng Local", "Kaiti SC", "STKaiti", cursive; font-size: clamp(16px, 2vw, 21px); line-height: 1.65; white-space: pre-wrap; }
.flipbook-page-footer { position: absolute; right: 28px; bottom: 24px; color: #9a8b7a; font-size: 9px; }
.flipbook-arrow { width: 36px; height: 36px; border: 1px solid rgba(85, 69, 53, .24); border-radius: 50%; background: rgba(255, 253, 247, .74); color: #6f5f50; font-size: 25px; line-height: 1; cursor: pointer; }
.flipbook-arrow:disabled { opacity: .26; cursor: default; }
.flipbook-dots { display: flex; justify-content: center; gap: 7px; margin-top: 4px; }
.flipbook-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #c7bbae; cursor: pointer; }
.flipbook-dots button.is-active { width: 22px; border-radius: 4px; background: #a06448; }
.flipbook-actions { display: flex; justify-content: center; gap: 14px; margin-top: 16px; }
.journal-grid-archive { margin-top: 24px; }
@keyframes flipbook-open { from { opacity: 0; transform: rotateX(7deg) scale(.96); } to { opacity: 1; transform: rotateX(0) scale(1); } }
@keyframes flipbook-turn-next { 0% { opacity: .35; transform: rotateY(-7deg) translateX(8px); } 100% { opacity: 1; transform: rotateY(0) translateX(0); } }
@keyframes flipbook-turn-previous { 0% { opacity: .35; transform: rotateY(7deg) translateX(-8px); } 100% { opacity: 1; transform: rotateY(0) translateX(0); } }
@media (max-width: 700px) {
  .flipbook-shell { margin-inline: -4px; padding: 12px 8px; border-radius: 18px; }
  .flipbook-stage { grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 4px; min-height: 470px; }
  .flipbook-book { width: 100%; aspect-ratio: .74; display: block; }
  .flipbook-page { position: absolute; inset: 0; padding: 24px 22px; }
  .flipbook-page-left { clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%); border-radius: 7px; }
  .flipbook-page-right { clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%); border-radius: 7px; }
  .flipbook-spine { inset: 50% 0 auto; width: auto; height: 1px; }
  .flipbook-poster { right: 9%; bottom: 55%; }
  .flipbook-screenings { right: 8%; bottom: 52%; width: 43%; }
  .flipbook-photo-stack { min-height: 160px; margin-top: 14px; }
  .flipbook-story { max-height: 98px; font-size: 17px; }
  .flipbook-toolbar span:last-child { display: none; }
}

.journal-story-field > span small { color: var(--muted); font-size: 10px; font-weight: 500; }
.official-source-note { margin: -4px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.modal-details p { white-space: pre-line; }
.route-ticket { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 6px; align-items: center; }
.route-ticket a { color: var(--blue-deep); padding: 7px 12px; border: 1px solid rgba(10,132,255,.22); border-radius: 9px; background: rgba(10,132,255,.07); font-size: 13px; font-weight: 700; }
.route-ticket > small { color: #557083; font-size: 11px; }
.route-ticket > p { flex-basis: 100%; color: var(--muted); font-size: 11px; line-height: 1.7; }
.ticket-desk { padding: 26px; margin: 24px 0; border-top: 3px solid #316c8d; }
.ticket-desk-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ticket-desk-heading h2 { font-size: 23px; }
.ticket-desk-state { flex-shrink: 0; border: 1px solid #c5d7e2; border-radius: 30px; padding: 5px 10px; color: #365b72; font-size: 12px; }
.ticket-desk-intro { margin: 14px 0 20px; color: #596f7c; line-height: 1.8; font-size: 14px; }
.ticket-desk-setup { display: grid; gap: 12px; padding: 18px; border-radius: 14px; background: rgba(237,244,248,.8); }
.ticket-desk-setup p { color: #3f5b6c; font-size: 14px; }
.ticket-desk-setup code { background: #243e51; color: #eff7ff; padding: 12px 16px; border-radius: 9px; font-size: 14px; }
.ticket-desk-setup a { justify-self: start; }
.ticket-desk-setup small { color: var(--muted); line-height: 1.7; }
.ticket-account-add { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-bottom: 20px; }
.ticket-account-add label { font-size: 14px; }
.ticket-account-add input { flex: 1; min-width: 150px; min-height: 42px; padding: 8px 12px; border: 1px solid #c4d3dc; border-radius: 10px; background: rgba(255,255,255,.85); }
.ticket-account-list { display: grid; gap: 12px; }
.ticket-account { display: grid; grid-template-columns: minmax(130px,.7fr) minmax(0,1.5fr) auto; gap: 16px; align-items: center; padding: 18px; border: 1px solid #d2dfe5; border-radius: 14px; background: rgba(255,255,255,.6); }
.ticket-account-identity { display:flex; align-items:center; gap:12px; min-width:0; }
.ticket-account-identity > span { color:#7c9aab; font-size:22px; font-weight:300; }
.ticket-account-identity > div { display:grid; gap:4px; min-width:0; }
.ticket-account-identity strong { overflow-wrap:anywhere; font-size:15px; }
.ticket-account-identity small { color:var(--muted); font-size:11px; line-height:1.6; }
.ticket-account > label { display:grid; gap:6px; color:var(--muted); font-size:12px; min-width:0; }
.ticket-account select { width:100%; min-height:42px; padding:8px; color:#294959; border:1px solid #c6d6df; border-radius:9px; background:white; font-size:13px; }
.ticket-desk-actions { display:flex; flex-wrap:wrap; gap:16px; align-items:center; margin-top:20px; }
.ticket-desk-feedback { margin-top:12px; color:#285e7d; font-size:13px; line-height:1.8; }
.ticket-desk-feedback:empty { display:none; }
.ticket-desk-help { margin-top:18px; border-top:1px solid var(--line); padding-top:14px; color:#617684; font-size:12px; line-height:1.8; }
.ticket-desk-help summary { cursor:pointer; color:#3a5d72; }
.ticket-desk-help p { margin-top:10px; }
@media (max-width: 720px) {
  .ticket-desk { padding:18px; }
  .ticket-desk-heading { align-items:flex-start; }
  .ticket-desk-heading h2 { font-size:20px; }
  .ticket-account { grid-template-columns:1fr; gap:12px; }
  .ticket-account-add label { flex-basis:100%; }
  .itinerary-copy > strong { white-space:normal; }
}
@media print { .ticket-desk, .route-ticket { display:none !important; } }
.journal-story-field textarea { caret-color: var(--coral); user-select: text; -webkit-user-select: text; }
.notebook-photo-item { cursor: grab; touch-action: none; will-change: transform, left, top; }
.notebook-photo-item:active { cursor: grabbing; }
.journal-live-preview { min-width: 0; }
.journal-live-preview-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.journal-live-preview-heading > div { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.journal-live-preview-heading > div > span { color: var(--muted); font-size: 10px; }
.journal-layout-button { padding: 4px 7px; border: 1px solid rgba(96,83,66,.18); border-radius: 7px; background: rgba(255,253,247,.72); color: #6d5b49; font-size: 10px; }
.journal-layout-button:hover { border-color: rgba(116,102,84,.5); background: #fffdf7; }
.photo-upload input:focus-visible + strong { outline: 3px solid rgba(10,132,255,.24); outline-offset: 3px; }
@media (max-width: 720px) {
  .journal-live-preview-heading { align-items: flex-start; }
  .journal-live-preview-heading > div { display: grid; justify-items: end; gap: 5px; }
}

/* Content stays solid. Translucency belongs to navigation and toolbars. */
:root { --canvas:#f5f5f7; --canvas-deep:#e9edf2; --ink:#1d1d1f; --muted:#636970; --line:#e2e5e9; --glass:#fff; --glass-strong:#fff; --blue:#0071e3; --blue-deep:#0062c5; --teal:#5b6675; --coral:#cf5529; --shadow:0 4px 22px #1d293908; --motion:220ms cubic-bezier(.22,.68,0,1); }
html {background:var(--canvas)}
body {background:var(--canvas);font-size:16px;line-height:1.5;color:var(--ink)}
body::before {display:none}
button,input,select,textarea {font-size:14px}
button,a,input,select,textarea {transition:background-color var(--motion),color var(--motion),box-shadow var(--motion),transform var(--motion)}
button:disabled {opacity:.45;cursor:not-allowed}
button:active:not(:disabled) {transform:scale(.98)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {outline:3px solid #0071e380;outline-offset:3px}
.glass-card {background:white;border:1px solid var(--line);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:var(--shadow)}
.side-nav {width:208px;border-radius:24px;background:#ffffffa8;backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%);box-shadow:0 4px 28px #00000006}
.brand-lockup > span {color:#bb4b26;font-size:13px}
.brand-lockup > strong {font-size:58px;letter-spacing:-.075em}
.brand-lockup > small {font-size:12px}
.side-nav nav button.active {background:#0071e311;color:#0062c5;box-shadow:none}
.side-nav nav button.active small {color:#0062c5}
.side-nav nav button small,.side-footer,.side-footer small {font-size:12px}
.main-content {margin-left:244px}
.topbar {height:64px;background:#f5f5f7c9;backdrop-filter:blur(24px) saturate(150%);-webkit-backdrop-filter:blur(24px) saturate(150%);border-color:#e2e5e980;padding:0 36px}
.topbar-title span,.desktop-connection {font-size:12px}
.content-wrap {width:min(1260px,calc(100% - 72px));padding-top:24px}
.journey-bar {display:flex;align-items:center;gap:12px;margin-bottom:26px;color:#737981;font-size:13px;flex-wrap:wrap}
.journey-bar button {background:none;padding:4px 0;font-size:13px}
.journey-bar i {color:#bec5ce;font-style:normal}
.workspace-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
.workspace-heading h1 {font-size:clamp(30px,3.2vw,44px);letter-spacing:-.04em;font-weight:700;line-height:1.22;margin:8px 0}
.workspace-heading p:not(.overline) {font-size:15px;color:var(--muted);line-height:1.7}
.workspace-heading-actions {display:flex;gap:10px;flex-shrink:0;flex-wrap:wrap}
.overline {font-size:12px;font-weight:600;letter-spacing:.14em;color:#69717c}
.primary-button,.secondary-button {min-height:40px;font-size:14px;font-weight:500;border-radius:11px;padding:10px 16px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.primary-button {color:white;background:var(--blue);border:1px solid transparent;box-shadow:none}
.primary-button:hover {background:#0077ed}
.secondary-button {color:var(--ink);background:#fff;border:1px solid #d9dde3;box-shadow:none}
.secondary-button:hover {background:#f0f3f7}
.link-button,.quiet-link {font-size:14px}
.home-intro,.page-intro {background:none;color:var(--ink);min-height:0;padding:0;margin:0 0 28px;border:0;box-shadow:none;border-radius:0;overflow:visible}
.home-intro::before,.home-intro::after,.page-intro::before,.page-intro::after {display:none}
.home-intro h1,.page-intro h1 {font-size:38px;line-height:1.25;font-weight:700;letter-spacing:-.04em;margin:8px 0}
.page-intro>p,.intro-copy {font-size:15px;line-height:1.7;color:var(--muted);margin-top:8px}
.intro-stats {gap:18px}.intro-stats small,.route-stats small {font-size:12px}
.official-source-note {font-size:12px;color:var(--muted);margin:0 0 16px}
.filter-panel {border-radius:18px;padding:22px;box-shadow:none}
.search-box input {font-size:16px;min-height:44px}
.primary-filters small,.advanced-grid small,.filter-footer,.scope-tabs button {font-size:13px}
.primary-filters select,.advanced-grid select {min-height:40px;font-size:14px}
.film-grid {gap:18px}.film-card {border-radius:20px;overflow:hidden;box-shadow:0 4px 18px #1d293905;transition:box-shadow var(--motion),transform var(--motion)}
.film-card:hover {box-shadow:0 10px 30px #1d29390c;transform:translateY(-2px)}
.film-label,.film-en,.film-meta,.film-tags span,.showing-summary,.showing-summary small,.favorite-button,.journal-quick-button {font-size:12px;line-height:1.6}
.film-card-copy>strong {font-size:21px;line-height:1.35;letter-spacing:-.035em}
.film-actions {flex-wrap:wrap;gap:10px}.film-card-footer {align-items:flex-start;gap:10px;flex-wrap:wrap}
.screening-copy>span,.screening-copy>small,.screening-clock small,.screening-row .route-toggle em {font-size:12px;line-height:1.6}
.screening-clock strong {font-variant-numeric:tabular-nums}.screening-row .route-toggle {min-width:44px;min-height:44px}
.status-chip {font-size:12px}.results-bar,.schedule-notice,.section-count {font-size:13px}
.modal-backdrop {background:#10131b44;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.film-modal,.conflict-modal {border-radius:24px;background:#fff}
.modal-details p {font-size:16px;line-height:1.9}.modal-details small,.modal-tags span {font-size:13px}
.modal-close {width:36px;height:36px;background:#f0f1f4;border-radius:50%}
.modal-section textarea {font-size:16px;line-height:1.8;min-height:120px}
.site-footer {width:min(1260px,calc(100% - 72px));align-items:flex-start;flex-wrap:wrap;font-size:12px;gap:12px;color:#6a7079}
.site-footer small {font-size:12px;line-height:1.8;text-align:left;max-width:none;flex-basis:100%;color:#6a7079}
.storage-alert {padding:14px 18px;border-radius:12px;background:#fff0db;color:#8b4d00;margin-bottom:18px;font-size:14px;display:flex;justify-content:space-between;gap:12px}
.storage-alert button {background:none;text-decoration:underline}
.route-segment {display:inline-flex;padding:4px;background:#e8eaee;border-radius:13px;margin-bottom:24px;gap:4px}
.route-segment button {background:none;border-radius:10px;padding:10px 22px;font-size:14px}
.route-segment [aria-selected=true] {background:#fff;box-shadow:0 2px 6px #00000010;color:#1d1d1f}
.route-day-filter {display:flex;gap:8px;overflow-x:auto;margin-bottom:20px;padding:3px 0 6px}
.route-day-filter button {flex-shrink:0;border:1px solid var(--line);border-radius:99px;padding:9px 16px;background:white}
.route-day-filter [aria-pressed=true] {background:#1d1d1f;color:white;border-color:#1d1d1f}
.route-ready-banner {display:flex;align-items:center;justify-content:space-between;gap:16px;background:#e9f2fe;padding:20px 24px;border-radius:18px;margin-bottom:24px}
.route-ready-banner strong {font-size:16px;font-weight:600}.route-ready-banner p {font-size:13px;color:#51677f;margin-top:5px}
.route-event {display:grid;grid-template-columns:95px minmax(0,1fr) 28px;gap:22px;padding:26px;background:white;border:1px solid var(--line);border-radius:20px;margin-bottom:14px}
.route-event-time {display:flex;flex-direction:column;gap:5px;padding-top:3px;font-variant-numeric:tabular-nums}
.route-event-time span,.route-event-time small {font-size:13px;color:var(--muted)}.route-event-time strong {font-size:26px;font-weight:600;letter-spacing:-.04em}
.route-event-body {border-left:1px solid #e1e5eb;padding-left:24px;min-width:0}
.route-event-body>p,.route-event-body>span {font-size:13px;color:var(--muted)}.route-event-body h2 {font-size:23px;line-height:1.4;margin:7px 0;letter-spacing:-.035em}
.route-verified {display:block;margin-top:8px;font-size:12px;color:#607385}
.route-event-actions {display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:20px}
.route-event-actions>a {font-size:13px;color:#0062c5}.route-event-actions label {display:flex;gap:6px;align-items:center;font-size:13px;cursor:pointer}.route-event-actions input {accent-color:#0071e3;width:16px;height:16px}
.route-remove {width:28px;height:28px;align-self:start;border-radius:50%;background:#f2f3f5;font-size:20px;color:#8c9299}
.route-gap-warning {font-size:13px;color:#965500;padding:12px 24px;background:#fff3df;border-radius:12px;margin:6px 0 16px}
.route-empty,.journal-blank {padding:60px 32px;text-align:center;background:white;border:1px solid var(--line);border-radius:24px}.route-empty>span,.journal-blank>span {font-size:13px;color:#8a919b;letter-spacing:.2em}.route-empty h2,.journal-blank h2 {font-size:32px;margin:22px 0 12px}.route-empty p,.journal-blank p {color:var(--muted);font-size:16px;line-height:1.9;margin-bottom:26px}
.source-footnote {font-size:12px;line-height:1.9;color:var(--muted);margin:22px 0}
.archive-tools {display:flex;gap:12px;align-items:center;padding:28px 0;margin-top:24px;border-top:1px solid var(--line);flex-wrap:wrap}.archive-tools>div {flex:1;min-width:220px}.archive-tools h2 {font-size:18px}.archive-tools p {font-size:13px;color:var(--muted);margin-top:5px}
.ticket-desk {border:1px solid var(--line);border-radius:22px;box-shadow:none;padding:26px;margin-top:0;background:white}
.ticket-desk-heading h2 {font-size:24px;letter-spacing:-.04em}.ticket-desk-intro {font-size:15px;line-height:1.8}.ticket-desk-state {font-size:12px}.ticket-desk-help {font-size:13px}.ticket-account-add input {font-size:15px}
.ticket-account {grid-template-columns:180px minmax(0,1fr);background:#f8f9fb;gap:16px;padding:18px;border-radius:16px;border:1px solid #e3e7ed}
.ticket-account-identity small {font-size:12px;white-space:normal}.ticket-account select {font-size:13px;min-height:44px}.ticket-account>label {font-size:13px}.ticket-account-identity strong {font-size:16px}
.account-controls {grid-column:2;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.account-controls .link-button {font-size:12px}
.desk-layout-toolbar {display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:22px 0}.desk-layout-toolbar label {display:flex;gap:8px;align-items:center;font-size:14px}.desk-layout-toolbar select {padding:9px 12px;background:#f5f6f8;border:1px solid var(--line);border-radius:10px}.desk-layout-toolbar small {font-size:12px;color:var(--muted)}
.ticket-desk-setup small {font-size:13px;line-height:1.8}.ticket-desk-actions {margin-top:22px}
.journal-library-grid {display:grid;grid-template-columns:180px minmax(0,1fr);gap:26px;align-items:start}
.journal-index {position:sticky;top:90px;display:grid;gap:5px;max-height:75vh;overflow:auto}
.journal-index button {display:flex;gap:12px;text-align:left;background:transparent;padding:14px 10px;border-radius:12px;align-items:baseline}
.journal-index button[aria-current] {background:#e6eaf0}.journal-index button>small {font-size:12px;color:#878f9a}.journal-index span {display:grid;gap:4px}.journal-index strong {font-size:14px;font-weight:600}.journal-index span small {font-size:12px;color:#737b86}
.journal-read-actions {display:flex;align-items:center;gap:10px;margin-bottom:18px}.journal-read-actions>span {margin-right:auto;font-size:13px;color:var(--muted)}
.journal-document {position:relative;isolation:isolate;background:#fff;color:#282a2e;border:1px solid #e1e3e7;padding:44px 48px;box-shadow:0 8px 30px #00000005;animation:document-in 200ms ease-out;min-width:0;overflow:hidden;overflow-wrap:anywhere}
.document-content {position:relative;z-index:1}
.document-poster-backdrop {position:absolute;inset:0;background-position:center;background-size:cover;filter:blur(28px) saturate(1.02);opacity:.18;transform:scale(1.08)}
.background-poster::after {content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,.82))}
.document-masthead {display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:22px;border-bottom:1px solid #293342;font-size:12px;letter-spacing:.06em;color:#68717b}.document-masthead strong {font-size:22px;font-weight:400;color:#1d1d1f}
.document-title {display:flex;justify-content:space-between;gap:24px;margin:30px 0 24px;align-items:flex-start}.document-title>div {min-width:0}.document-title p {color:#7c6351;font-size:12px}.document-title h2 {font-family:ui-serif,"Songti SC",serif;font-size:clamp(26px,3vw,38px);letter-spacing:-.035em;line-height:1.4;font-weight:600;margin:12px 0 9px}.document-title span {display:block;font-size:12px;letter-spacing:.035em;color:#68717b}.document-title>img {width:100px;height:145px;object-fit:contain;flex-shrink:0}
.document-rating {margin-top:15px;color:#9a7543;letter-spacing:.15em;font-size:16px}
.document-meta {border-top:1px solid #e1e4e7;border-bottom:1px solid #e1e4e7;display:flex;gap:8px 20px;padding:12px 0;flex-wrap:wrap;font-size:12px;color:#68717b;line-height:1.7}
.document-story,.document-note p {white-space:pre-wrap;word-break:break-word;font-size:16px;line-height:2;text-align:left;margin:26px 0;color:#333941}
.document-photos {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;margin:26px 0}.document-photos figure {margin:0;min-width:0;break-inside:avoid}.document-photo-frame {display:grid}.document-photo-viewport {position:relative;overflow:hidden;border-radius:14px;aspect-ratio:var(--photo-aspect, 4/3);background:#eef1f4;box-shadow:inset 0 0 0 1px rgba(88,102,122,.08)}.document-photo-viewport img {display:block;width:100%;height:100%;object-fit:cover;transform:translate(var(--photo-x,0),var(--photo-y,0)) scale(var(--photo-scale,1)) rotate(var(--photo-rotate,0deg));transform-origin:center center}.document-photos figcaption {display:flex;gap:12px;margin-top:9px;color:#666f7b;line-height:1.8;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.document-photos figcaption>span {color:#a0a7b0;font-variant-numeric:tabular-nums}.document-missing {padding:35px 10px;background:#f5f5f7;color:#666;text-align:center;font-size:13px}
.layout-gallery .document-photos figure:first-child {grid-column:1/-1}
.layout-contact .document-photos {grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px}
.document-note {margin:24px 0;border-top:1px solid #e1e4e7;padding-top:20px}.document-note h3 {font-size:13px;color:#68717b;font-weight:500}.document-note p {font-size:15px;margin:10px 0}.document-placeholder {color:#9aa0a8;padding:60px 0;font-family:ui-serif,"Songti SC",serif;font-size:20px}
.document-watermark {border-top:1px solid #e1e4e7;padding-top:18px;margin-top:32px;display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#8b919a;flex-wrap:wrap}
.journal-studio-backdrop {position:fixed;z-index:100;inset:0;background:#141a2745;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);padding:22px;display:flex;justify-content:center;align-items:center}
.journal-studio {width:min(1440px,100%);height:min(940px,100%);display:flex;flex-direction:column;overflow:hidden;background:#f5f5f7;border:1px solid #ffffffb3;border-radius:24px;box-shadow:0 25px 100px #0003;animation:studio-in 240ms cubic-bezier(.22,.68,0,1)}
.studio-toolbar {display:flex;align-items:center;gap:12px;padding:18px 24px;background:#ffffffc9;border-bottom:1px solid #ddd;flex-shrink:0}.studio-toolbar>div {margin-right:auto}.studio-toolbar>div>span {font-size:12px;color:var(--muted)}.studio-toolbar h2 {font-size:18px;line-height:1.5}.save-status {font-size:12px;color:#68717b}
.studio-columns {display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);min-height:0;flex:1}
.studio-editor {background:white;padding:26px;overflow-y:auto;border-right:1px solid var(--line)}.studio-editor>label,.studio-meta label {display:grid;gap:8px;font-size:14px;font-weight:500}.studio-editor textarea {width:100%;min-height:220px;resize:vertical;border:1px solid #d8dde4;border-radius:12px;padding:14px;font-size:16px;line-height:1.9;background:#fff;caret-color:var(--blue);user-select:text}
.studio-meta {display:grid;gap:18px;margin-top:22px}.studio-meta input,.studio-meta select,.studio-photo-row input {min-height:42px;width:100%;min-width:0;border:1px solid #d8dde4;border-radius:9px;padding:9px 11px;background:white;font-size:14px}
.studio-editor fieldset {border:0;padding:0;margin:24px 0}.studio-editor legend {font-size:14px;font-weight:500;margin-bottom:10px}.studio-rating button {background:none;padding:3px 7px;font-size:26px;color:#a2783d}
.studio-templates {display:flex;gap:7px;flex-wrap:wrap}.studio-templates button {text-align:left;flex:1;min-width:90px;background:#f4f5f7;border:1px solid transparent;border-radius:10px;padding:12px 10px}.studio-templates button[aria-pressed=true] {background:#edf5ff;border-color:#0071e3;color:#0062c5}.studio-templates span {display:block;font-size:14px}.studio-templates small {display:block;font-size:12px;color:#737b86;margin-top:5px;line-height:1.6}
.studio-photo-heading {display:flex;justify-content:space-between;align-items:center;gap:12px;margin:26px 0 10px}.studio-photo-heading h3 {font-size:15px;font-weight:600;letter-spacing:0}.photo-add {position:relative;overflow:hidden;cursor:pointer}.photo-add input {position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.photo-add:focus-within {outline:3px solid #0071e370}
.studio-hint {font-size:12px;line-height:1.8;color:#737b86}.studio-photo-list {display:grid;gap:16px;margin:18px 0}.studio-photo-row {display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;padding:12px;border:1px solid #e1e5eb;border-radius:12px}.studio-photo-row.rich {grid-template-columns:96px minmax(0,1fr);gap:14px}.studio-photo-thumb {position:relative;overflow:hidden;align-self:start;border-radius:10px;background:#eef1f4;box-shadow:inset 0 0 0 1px rgba(88,102,122,.08)}.studio-photo-thumb img {object-fit:cover}.studio-photo-row label span {display:block;font-size:12px;color:var(--muted);margin-bottom:5px}.studio-photo-fields {display:grid;gap:10px}.studio-photo-fields input[type="text"],.studio-photo-fields input:not([type]),.studio-photo-row input {min-width:0}.studio-photo-sliders {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.studio-photo-sliders label {display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:8px}.studio-photo-sliders label span,.studio-photo-move span {margin:0;font-size:12px;color:var(--muted)}.studio-photo-sliders input[type="range"] {width:100%}.studio-photo-sliders small {font-size:11px;color:#65707d}.studio-photo-move,.studio-photo-actions {display:flex;flex-wrap:wrap;align-items:center;gap:8px}.studio-photo-move button,.studio-photo-actions button {padding:6px 10px;background:#eff1f5;font-size:13px;border-radius:6px}.studio-photo-actions {padding-top:2px}
.studio-photo-thumb-wrap{display:grid;gap:8px;align-content:start}.studio-photo-thumb-wrap>small{font-size:11px;line-height:1.5;color:#7a828d}.studio-photo-drag{appearance:none;width:100%;padding:0;border:0;cursor:grab;touch-action:none}.studio-photo-drag.is-dragging{cursor:grabbing;box-shadow:inset 0 0 0 1px rgba(88,102,122,.1),0 8px 18px rgba(23,36,52,.12)}.studio-photo-drag:focus-visible{outline:3px solid rgba(0,113,227,.22);outline-offset:3px}
.studio-preview {padding:24px 36px 50px;overflow:auto}.preview-label {font-size:13px;color:#68717b;display:flex;justify-content:space-between;margin-bottom:16px}.preview-label span {font-size:12px}
@keyframes studio-in {from{opacity:0;transform:translateY(12px) scale(.988)}to{opacity:1;transform:none}}
@keyframes document-in {from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:1100px){.side-nav{width:184px}.main-content{margin-left:215px}.content-wrap,.site-footer{width:calc(100% - 44px)}.topbar{padding:0 22px}.workspace-heading{align-items:flex-start}.workspace-heading-actions{flex-direction:column}.journal-library-grid{grid-template-columns:150px minmax(0,1fr);gap:16px}.journal-document{padding:32px}.studio-columns{grid-template-columns:minmax(340px,440px) minmax(0,1fr)}.studio-preview{padding:20px}.studio-preview .journal-document{padding:24px}.ticket-account{grid-template-columns:1fr}.account-controls{grid-column:1}.document-masthead{flex-wrap:wrap}}
@media(max-width:760px){.side-nav{display:none}.main-content{margin-left:0}.topbar{height:60px;padding:0 18px}.topbar-title>span{display:none}.content-wrap,.site-footer{width:calc(100% - 32px)}.content-wrap{padding-top:16px}.bottom-nav{background:#ffffffd6;backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%);border:1px solid #ffffffa8;border-radius:24px 24px 0 0}.bottom-nav button{min-height:56px}.bottom-nav button>span{font-size:12px}.bottom-nav button.active{color:#0062c5}.journey-bar{gap:8px;font-size:12px;margin-bottom:22px}.journey-bar button{font-size:12px}.workspace-heading{flex-direction:column;gap:16px;margin-bottom:22px}.workspace-heading h1,.home-intro h1,.page-intro h1{font-size:30px}.workspace-heading-actions{flex-direction:row}.home-intro{display:block}.intro-stats{display:none}.filter-panel{padding:16px}.film-card-main{padding:18px}.film-card-copy>strong{font-size:21px}.route-ready-banner{align-items:flex-start;flex-direction:column;padding:18px}.route-event{grid-template-columns:60px minmax(0,1fr) 24px;gap:12px;padding:18px 14px}.route-event-time strong{font-size:21px}.route-event-time small,.route-event-time span{font-size:12px}.route-event-body{padding-left:14px}.route-event-body h2{font-size:20px}.route-event-actions{gap:12px}.route-segment{display:flex}.route-segment button{flex:1;padding:10px 12px}.ticket-desk{padding:18px}.ticket-desk-heading{flex-wrap:wrap}.ticket-desk-heading h2{font-size:22px}.ticket-desk-setup .primary-button{margin:12px 0}.journal-library-grid{display:block}.journal-index{position:static;display:flex;overflow-x:auto;max-height:none;margin-bottom:18px}.journal-index button{flex-shrink:0;min-width:125px}.journal-document{padding:24px 22px}.document-title{gap:16px}.document-title>img{width:75px;height:110px}.document-title h2{font-size:28px}.document-photos{gap:18px 12px}.layout-contact .document-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.document-story{font-size:16px;line-height:1.95}.document-masthead{font-size:12px}.document-masthead>span:nth-child(2){display:none}.journal-studio-backdrop{padding:0}.journal-studio{width:100%;height:100%;border-radius:0;border:0}.studio-toolbar{padding:14px 16px;flex-wrap:wrap;gap:8px}.studio-toolbar .save-status{order:4;flex-basis:100%}.studio-toolbar h2{font-size:17px}.studio-toolbar .primary-button,.studio-toolbar .secondary-button{padding:9px 12px;font-size:13px}.studio-columns{display:block;overflow:auto}.studio-editor,.studio-preview{overflow:visible;padding:22px 18px}.studio-editor{border-right:0}.studio-preview{padding-bottom:60px}.studio-editor textarea{min-height:200px}.site-footer{padding-bottom:100px}.journal-read-actions{gap:8px}.journal-read-actions .primary-button,.journal-read-actions .secondary-button{font-size:13px;padding:10px 12px}.route-event-actions .primary-button{font-size:13px}.archive-tools{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.film-card:hover,button:active:not(:disabled){transform:none!important}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){.side-nav,.topbar,.bottom-nav,.studio-toolbar{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}.glass-card{border-color:#939ba5}.overline,.source-footnote,.site-footer small{color:#464e59}}
@media print {
 @page{size:A4;margin:15mm}
 html,body{min-width:0!important;height:auto!important;background:#fff!important;overflow:visible!important}
 .app-shell,.journal-studio-backdrop{display:none!important}
 .print-book-modern{display:block!important;width:auto!important;margin:0!important;color:#222!important}
 .print-book-modern .journal-document{padding:0!important;border:0!important;box-shadow:none!important;animation:none!important;break-after:page;min-height:0!important;height:auto!important;overflow:visible!important}
 .print-book-modern .journal-document:last-child{break-after:auto}
 .document-title,.document-masthead,.document-meta{break-inside:avoid}
 .document-story,.document-note p{font-size:11pt;line-height:1.85;overflow:visible!important;max-height:none!important;height:auto!important;white-space:pre-wrap;orphans:3;widows:3}
 .document-title h2{font-size:26pt}.document-title>img{width:25mm;height:36mm}
 .document-photos{display:block;margin:6mm 0}.document-photos figure{display:inline-block;vertical-align:top;width:calc(50% - 3mm);margin:0 3mm 5mm 0;break-inside:avoid;page-break-inside:avoid}
 .layout-contact .document-photos figure{width:calc(33.333% - 3mm)}.layout-gallery .document-photos figure:first-child{width:100%}
 .document-photo-viewport{height:auto;min-height:48mm}.layout-gallery .document-photos figure:first-child .document-photo-viewport{min-height:100mm}.layout-contact .document-photo-viewport{min-height:38mm}
 .document-watermark{font-size:9pt;break-inside:avoid;margin-top:7mm}.document-photos figcaption,.document-meta,.document-masthead{font-size:9pt}
}

/* 2026 ticketing control center */
.app-shell::after {content:"UNOFFICIAL · FAN TOOL";position:fixed;right:18px;bottom:14px;z-index:30;pointer-events:none;font-size:9px;font-weight:600;letter-spacing:.18em;color:#5d65701f;transform:rotate(-2deg)}
.route-command-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 22px}
.route-command-grid>div {display:grid;gap:4px;min-height:108px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:16px}
.route-command-grid small {font-size:11px;color:#767d86}.route-command-grid strong {font-size:26px;letter-spacing:-.045em;font-weight:600}.route-command-grid span {font-size:12px;color:var(--muted);line-height:1.5}.route-command-grid .has-risk {background:#fff9ef;border-color:#f1d5a5}.route-command-grid .has-risk strong {color:#995c10}
.route-ticket-status {display:grid;grid-template-columns:auto 1fr;align-items:center;gap:7px 10px;margin-top:12px}.route-ticket-status>small {font-size:11px;color:#7a828b}.route-ticket-status>p {grid-column:1/-1;font-size:12px;line-height:1.7;color:#6b727c;max-width:760px}
.ticket-state {display:inline-flex;width:max-content;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:600;line-height:1.35;background:#f0f1f3;color:#616771}
.ticket-state-sale-open {background:#e7f7ec;color:#21733c}.ticket-state-not-open {background:#eef3fb;color:#45617f}.ticket-state-sold-out,.ticket-state-unavailable {background:#f6ecea;color:#8d493c}.ticket-state-unverified {background:#f3f1ed;color:#766b5c}
.route-gap-warning.conflict {background:#fff0ed;color:#a13c2d}.route-gap-warning.tight {background:#fff6e7;color:#8a5a12}
.ticket-release-card {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;margin:18px 0 22px;padding:22px 24px;border-radius:18px;background:#121214;color:#fff;box-shadow:0 12px 40px #00000014}
.ticket-release-card>div {display:grid;gap:4px}.ticket-release-card span,.ticket-release-card small {font-size:11px;color:#a7a7ad}.ticket-release-card strong {font-size:28px;line-height:1.2;letter-spacing:-.045em}.ticket-release-card .release-countdown {justify-items:end;text-align:right}.ticket-release-card .release-countdown strong {font-size:20px;font-variant-numeric:tabular-nums;color:#fff}
.ticket-desk-state.is-online {background:#edf8f0;border-color:#cae7d2;color:#28653a}.desk-command-strip {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0 22px}.desk-command-strip>div {display:grid;gap:4px;padding:14px 15px;border-radius:13px;background:#f6f7f9;border:1px solid #ebedf0}.desk-command-strip small {font-size:10px;color:#80868e}.desk-command-strip strong {font-size:16px;font-weight:600;letter-spacing:-.025em}
.ticket-account {grid-template-columns:170px minmax(260px,1fr);align-items:start}.account-target {align-self:stretch}.account-target>small {margin-top:2px}.account-preflight {grid-column:1/-1;display:flex;gap:18px;flex-wrap:wrap;padding:10px 0 0;border-top:1px solid #e5e7eb}.account-preflight label {display:flex;align-items:center;gap:7px;font-size:12px;color:#59616b;cursor:pointer}.account-preflight input {width:16px;height:16px;accent-color:#0071e3}.account-controls {grid-column:1/-1;margin-top:0}.desk-alert {margin:0 0 18px;padding:12px 14px;border-radius:11px;background:#fff0ed;color:#973e31;font-size:13px}
.ticket-desk-actions {display:flex;gap:9px;align-items:center;flex-wrap:wrap}.desk-armed {display:flex;align-items:flex-start;gap:9px;margin-top:14px;padding:12px 14px;border-radius:12px;background:#eef6ff;color:#3c5f83;font-size:12px;line-height:1.7}.desk-pulse {width:8px;height:8px;margin-top:6px;border-radius:50%;background:#0071e3;box-shadow:0 0 0 0 #0071e34a;animation:desk-pulse 1.8s infinite}@keyframes desk-pulse{70%{box-shadow:0 0 0 7px #0071e300}100%{box-shadow:0 0 0 0 #0071e300}}
.ticket-desk-help p {max-width:980px}.ticket-desk-setup code {user-select:all}.ticket-desk-intro {max-width:960px}
@media(max-width:980px){.route-command-grid,.desk-command-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.ticket-account{grid-template-columns:1fr}.account-preflight,.account-controls{grid-column:1}.ticket-release-card{grid-template-columns:1fr}.ticket-release-card .release-countdown{justify-items:start;text-align:left}}
@media(max-width:560px){.route-command-grid,.desk-command-strip{grid-template-columns:1fr 1fr}.route-command-grid>div{min-height:92px;padding:14px}.ticket-release-card{padding:18px}.ticket-release-card strong{font-size:25px}.ticket-release-card .release-countdown strong{font-size:17px}.account-preflight{display:grid;gap:9px}.ticket-desk-actions>*{width:100%}.app-shell::after{right:10px;bottom:72px}}
@media(prefers-reduced-motion:reduce){.desk-pulse{animation:none}}
@media print{.app-shell::after{display:none!important}}
.ticket-state-special-event {background:#f8f0df;color:#7b5a1c}

/* EdgeOne static ticketing mode */
.static-ticket-callout{margin:0 0 20px;padding:16px 18px;border:1px solid #dce7ef;border-radius:16px;background:linear-gradient(145deg,#f7fbff,#f4f7f9);display:grid;gap:6px}.static-ticket-callout strong{font-size:14px;color:#203d52}.static-ticket-callout p{margin:0;color:#647684;font-size:13px;line-height:1.75}.static-browser-picker{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 16px}.static-browser-picker>span{font-size:13px;font-weight:600;color:#324e61;margin-right:4px}.static-browser-picker button{appearance:none;border:1px solid #d8dfe5;background:#fff;border-radius:999px;padding:8px 12px;font:inherit;font-size:12px;color:#566d7d;cursor:pointer;transition:all .18s ease}.static-browser-picker button[aria-pressed="true"]{background:#111827;color:#fff;border-color:#111827;box-shadow:0 5px 18px rgba(17,24,39,.14)}.static-browser-picker small{flex-basis:100%;font-size:11px;color:#89959d;line-height:1.6}.static-script-guide{margin-top:18px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fbfbfc}.static-script-guide>strong{font-size:14px}.static-script-guide ol{margin:10px 0 8px;padding-left:22px;color:#566b79;font-size:13px;line-height:1.8}.static-script-guide p{margin:8px 0 0;color:#77858e;font-size:12px;line-height:1.75}.static-script-guide code{background:#eef1f4;border-radius:6px;padding:2px 5px;color:#243846;font-size:11px}@media(max-width:560px){.static-browser-picker{align-items:flex-start}.static-browser-picker>span{flex-basis:100%}.static-script-guide{padding:15px}.static-script-guide code{overflow-wrap:anywhere}}

/* Ticket wallet: reversible PYIFF 10 keepsake */
.ticket-wallet-empty,.ticket-wallet-section{margin:0 0 24px}
.ticket-wallet-empty{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:24px;border-radius:20px;border:1px dashed #d6dbe2;background:linear-gradient(180deg,#fff,#fbfcfe)}
.ticket-wallet-empty h2{font-size:26px;letter-spacing:-.04em;margin:8px 0}
.ticket-wallet-empty p{font-size:14px;line-height:1.8;color:var(--muted);max-width:760px}
.ticket-wallet-empty>span{display:inline-flex;align-items:center;justify-content:center;min-width:170px;min-height:52px;padding:0 20px;border-radius:999px;background:#f0f2f5;color:#5d6670;font-size:13px;font-weight:600}
.ticket-wallet-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}
.ticket-wallet-heading h2{font-size:30px;letter-spacing:-.045em;margin:7px 0}
.ticket-wallet-heading p{font-size:14px;line-height:1.8;color:var(--muted);max-width:760px}
.ticket-wallet-count{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 15px;border-radius:999px;background:#eef2f7;color:#4c5b69;font-size:12px;font-weight:600;white-space:nowrap}
.ticket-wallet-grid{display:grid;gap:18px}
.ticket-wallet-flip-shell{perspective:1800px;min-width:0}
.ticket-wallet-flip{display:grid;min-width:0;transform-style:preserve-3d;transition:transform .72s cubic-bezier(.2,.72,.2,1)}
.ticket-wallet-flip.is-flipped{transform:rotateY(180deg)}
.ticket-wallet-face{position:relative;grid-area:1/1;min-width:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:28px;overflow:hidden}
.ticket-wallet-front{display:grid;grid-template-columns:220px minmax(0,1fr) 88px;gap:0;border:1px solid #d8d9dc;background:linear-gradient(180deg,#fefefe,#f8f8f8);box-shadow:0 10px 30px rgba(22,26,34,.08);pointer-events:auto}
.ticket-wallet-front::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(255,255,255,.95),transparent 35%),linear-gradient(180deg,rgba(255,255,255,.7),transparent 18%);pointer-events:none}
.ticket-wallet-flip.is-flipped .ticket-wallet-front{pointer-events:none}
.ticket-wallet-media{display:flex;align-items:center;justify-content:center;padding:22px;border-right:1px dashed #dadce0;background:linear-gradient(160deg,#fcfcfd 0%,#f0f2f6 100%);position:relative}
.ticket-wallet-media::after{content:"";position:absolute;top:50%;right:-7px;transform:translateY(-50%);width:14px;height:14px;border-radius:50%;background:var(--canvas);box-shadow:0 0 0 1px #d7dadd}
.ticket-wallet-main{display:grid;gap:18px;padding:20px 22px 18px;position:relative;z-index:1}
.ticket-wallet-header{display:flex;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid #ebecef}
.ticket-wallet-header strong{display:block;font-size:19px;letter-spacing:-.035em}
.ticket-wallet-header span{display:block;margin-top:4px;font-size:11px;letter-spacing:.03em;color:#69717c;line-height:1.5}
.ticket-wallet-header-meta{display:grid;align-content:start;justify-items:end;gap:2px;text-align:right}
.ticket-wallet-header-meta small{font-size:10px;color:#9aa1ab;letter-spacing:.08em}
.ticket-wallet-header-meta a{font-size:12px;color:#223b57;text-decoration:none}
.ticket-wallet-titleblock{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.ticket-wallet-titleblock h3{font-size:32px;line-height:1.15;letter-spacing:-.05em;margin:0}
.ticket-wallet-titleblock p{margin-top:4px;font-size:14px;line-height:1.6;color:#616971}
.ticket-wallet-badge{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 12px;border-radius:999px;background:#0f172a;color:#fff;font-size:11px;font-weight:700;letter-spacing:.08em;white-space:nowrap}
.ticket-wallet-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ticket-wallet-fields section{display:grid;gap:4px;padding:14px 15px;border-radius:16px;background:#fbfbfc;border:1px solid #eceef2}
.ticket-wallet-fields strong{font-size:12px;color:#6b727c}
.ticket-wallet-fields span{font-size:20px;line-height:1.35;letter-spacing:-.035em;font-weight:600}
.ticket-wallet-fields small{font-size:12px;color:#808790;line-height:1.6}
.ticket-wallet-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding-top:6px}
.ticket-wallet-barcode{display:grid;gap:6px;min-width:240px}
.ticket-wallet-bars{display:flex;align-items:flex-end;height:54px;gap:2px;padding:0 0 2px}
.ticket-wallet-bars i{display:block;width:calc(var(--bar-unit,1) * 2px);height:100%;background:#0e1116;border-radius:2px}
.ticket-wallet-barcode span{font-size:12px;letter-spacing:.18em;color:#454c56;font-variant-numeric:tabular-nums}
.ticket-wallet-note{display:grid;gap:4px;justify-items:end;text-align:right}
.ticket-wallet-note>span{font-size:18px;font-weight:600;letter-spacing:-.03em;color:#075c87}
.ticket-wallet-note small{font-size:11px;line-height:1.6;color:#7b838d;max-width:250px}
.ticket-wallet-flip-button{appearance:none;border:0;background:none;padding:3px 0;color:#087da4;font-size:11px;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.ticket-wallet-ribbon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:18px 10px;background:linear-gradient(180deg,#063f65 0%,#087ea6 42%,#54ccdf 100%);box-shadow:inset 2px 0 rgba(255,255,255,.18);border-left:1px solid rgba(241,132,90,.68);color:#fff;position:relative}
.ticket-wallet-ribbon::before,.ticket-wallet-ribbon::after{content:"";position:absolute;left:-8px;width:16px;height:16px;border-radius:50%;background:var(--canvas);box-shadow:0 0 0 1px #d7dadd}
.ticket-wallet-ribbon::before{top:20px}.ticket-wallet-ribbon::after{bottom:20px}
.ticket-wallet-ribbon span{writing-mode:vertical-rl;text-orientation:mixed;font-size:27px;font-weight:700;letter-spacing:.08em}
.ticket-wallet-ribbon small{writing-mode:vertical-rl;text-orientation:mixed;font-size:12px;letter-spacing:.18em;opacity:.9}
.wallet-poster-button{position:relative;display:grid;justify-items:center;gap:10px;background:none;border:0;padding:8px 6px 0;cursor:grab;touch-action:none;perspective:1400px;isolation:isolate}
.wallet-poster-button:active{cursor:grabbing}
.wallet-poster-frame{position:relative;display:block;width:158px;height:230px;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.55);background:#111;box-shadow:0 26px 44px rgba(6,10,18,.22),0 6px 16px rgba(6,10,18,.14);transform:translate3d(var(--poster-shift-x,0px),calc(var(--poster-shift-y,0px) * -.35),26px) rotateX(var(--poster-rotate-x,0deg)) rotateY(var(--poster-rotate-y,0deg)) scale3d(1.02,1.02,1.02);transform-style:preserve-3d;transition:transform .14s ease,box-shadow .14s ease}
.wallet-poster-button.is-active .wallet-poster-frame{box-shadow:0 34px 54px rgba(6,10,18,.28),0 14px 26px rgba(6,10,18,.18)}
.wallet-poster-depth{position:absolute;left:50%;top:14px;width:160px;height:232px;border-radius:18px;background:linear-gradient(180deg,rgba(0,190,225,.28),rgba(241,132,90,.22));filter:blur(16px);transform:translate3d(calc(-50% + var(--poster-shift-x,0px) * .85),calc(10px + var(--poster-shift-y,0px) * .45),0) scale(.97);opacity:.95;pointer-events:none;transition:transform .14s ease,opacity .14s ease}
.wallet-poster-sheen{position:absolute;left:50%;top:8px;width:158px;height:230px;border-radius:18px;background:radial-gradient(circle at var(--poster-glare-x,50%) var(--poster-glare-y,50%),rgba(255,255,255,.78),rgba(255,255,255,.18) 22%,transparent 44%),linear-gradient(135deg,rgba(75,216,235,.36),rgba(0,93,143,.15) 44%,rgba(241,132,90,.22));mix-blend-mode:screen;transform:translate3d(calc(-50% + var(--poster-shift-x,0px) * .35),calc(var(--poster-shift-y,0px) * -.1),18px) rotateX(var(--poster-rotate-x,0deg)) rotateY(var(--poster-rotate-y,0deg));pointer-events:none;opacity:.96;transition:transform .14s ease;border-radius:18px}
.wallet-poster-noise{position:absolute;left:50%;top:8px;width:158px;height:230px;border-radius:18px;background-image:linear-gradient(90deg,rgba(255,255,255,.03) 0,rgba(255,255,255,0) 35%,rgba(255,255,255,.04) 70%,rgba(255,255,255,.02) 100%);transform:translate3d(calc(-50% + var(--poster-shift-x,0px) * .15),calc(var(--poster-shift-y,0px) * -.08),17px) rotateX(var(--poster-rotate-x,0deg)) rotateY(var(--poster-rotate-y,0deg));pointer-events:none;opacity:.82;transition:transform .14s ease}
.wallet-poster-image{width:100%;height:100%;object-fit:cover;display:block}
.wallet-poster-fallback{display:grid;align-content:end;gap:7px;width:100%;height:100%;padding:16px;background:linear-gradient(180deg,#075c87,#062f4b);color:#fff;text-align:left}
.wallet-poster-fallback small{font-size:11px;letter-spacing:.12em;color:#bfeff6}.wallet-poster-fallback strong{font-size:25px;line-height:1.1;letter-spacing:-.04em}.wallet-poster-fallback span{font-size:12px;line-height:1.5;color:#d7f5f8}
.wallet-poster-caption{font-size:11px;color:#6a717a;font-weight:600;letter-spacing:.08em}
.ticket-wallet-back{display:flex;align-items:stretch;min-height:500px;padding:22px;border:1px solid #72c9da;background:#063f65;transform:rotateY(180deg);box-shadow:0 18px 40px rgba(3,64,91,.2);isolation:isolate;pointer-events:none}
.ticket-wallet-flip.is-flipped .ticket-wallet-back{pointer-events:auto}
.ticket-wallet-back::before{content:"";position:absolute;inset:-28px;background-image:var(--festival-poster);background-size:cover;background-position:center;filter:blur(18px) saturate(1.12);opacity:.5;transform:scale(1.09);z-index:-2}
.ticket-wallet-back::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,42,65,.76),rgba(4,89,120,.28) 35%,rgba(4,66,94,.56)),radial-gradient(circle at 75% 15%,rgba(111,220,236,.24),transparent 35%);z-index:-1}
.ticket-wallet-back-layout{display:grid;grid-template-columns:minmax(220px,278px) minmax(0,1fr);gap:22px;align-items:center;width:100%}
.ticket-wallet-back-poster-wrap{display:flex;align-items:center;justify-content:center;min-height:100%;padding:16px 14px;border:1px solid rgba(255,255,255,.18);border-radius:22px;background:rgba(255,255,255,.08);backdrop-filter:blur(12px) saturate(128%);-webkit-backdrop-filter:blur(12px) saturate(128%)}
.ticket-wallet-back-poster{position:relative;width:min(100%,226px);aspect-ratio:2000/3207;border-radius:18px;background-image:var(--festival-poster);background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#063f65;filter:drop-shadow(0 18px 28px rgba(0,0,0,.28))}
.ticket-wallet-back-caption{position:relative;left:auto;right:auto;bottom:auto;display:grid;align-content:end;gap:16px;padding:22px 24px;border:1px solid rgba(255,255,255,.34);border-radius:22px;background:rgba(4,45,68,.66);backdrop-filter:blur(16px) saturate(135%);-webkit-backdrop-filter:blur(16px) saturate(135%);color:#fff;min-height:100%}
.ticket-wallet-back-caption>div:first-child{display:grid;gap:4px}
.ticket-wallet-back-caption span{font-size:9px;font-weight:700;letter-spacing:.17em;color:#bfeff6}
.ticket-wallet-back-caption strong{font-size:25px;line-height:1.15;letter-spacing:-.045em}
.ticket-wallet-back-caption small{font-size:10px;color:#d6f6fa;letter-spacing:.08em}
.ticket-wallet-back-caption p{font-size:13px;line-height:1.85;color:rgba(235,249,252,.88)}
.ticket-wallet-back-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-start}
.ticket-wallet-back-actions a,.ticket-wallet-back-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.12);color:#fff;font-size:10px;font-weight:700;text-decoration:none;cursor:pointer}
.ticket-wallet-back-actions button{background:#fff;color:#075c87}
@media(max-width:1080px){.ticket-wallet-front{grid-template-columns:204px minmax(0,1fr) 74px}.ticket-wallet-titleblock h3{font-size:28px}.ticket-wallet-fields span{font-size:18px}}
@media(max-width:860px){.ticket-wallet-empty{grid-template-columns:1fr}.ticket-wallet-front{grid-template-columns:1fr}.ticket-wallet-media{border-right:0;border-bottom:1px dashed #dadce0;padding-bottom:20px}.ticket-wallet-media::after{display:none}.ticket-wallet-ribbon{order:-1;min-height:56px;flex-direction:row;gap:12px;padding:14px 18px}.ticket-wallet-ribbon::before,.ticket-wallet-ribbon::after{display:none}.ticket-wallet-ribbon span,.ticket-wallet-ribbon small{writing-mode:horizontal-tb}.ticket-wallet-ribbon span{font-size:18px}.ticket-wallet-fields{grid-template-columns:1fr 1fr}.ticket-wallet-header,.ticket-wallet-footer{display:grid}.ticket-wallet-header-meta,.ticket-wallet-note{justify-items:start;text-align:left}.ticket-wallet-back{min-height:660px}.ticket-wallet-back-layout{grid-template-columns:1fr}.ticket-wallet-back-caption{min-height:auto}.ticket-wallet-back-actions{justify-content:flex-start}}
@media(max-width:560px){.ticket-wallet-heading{align-items:flex-start;flex-direction:column}.ticket-wallet-heading h2{font-size:26px}.ticket-wallet-face{border-radius:24px}.ticket-wallet-main{padding:18px}.ticket-wallet-titleblock{display:grid}.ticket-wallet-titleblock h3{font-size:26px}.ticket-wallet-fields{grid-template-columns:1fr}.ticket-wallet-footer{gap:12px}.ticket-wallet-barcode{min-width:0}.ticket-wallet-bars{height:44px}.wallet-poster-frame,.wallet-poster-depth,.wallet-poster-sheen,.wallet-poster-noise{width:146px;height:212px}.ticket-wallet-empty>span,.ticket-wallet-count{justify-self:start}.ticket-wallet-back{min-height:610px;padding:14px}.ticket-wallet-back-poster-wrap{padding:14px 12px}.ticket-wallet-back-poster{width:min(100%,210px)}.ticket-wallet-back-caption{padding:16px 15px}.ticket-wallet-back-caption strong{font-size:21px}.ticket-wallet-back-actions a,.ticket-wallet-back-actions button{font-size:9px}.ticket-wallet-ribbon{background:linear-gradient(90deg,#063f65 0%,#087ea6 52%,#54ccdf 100%)}}
@media(prefers-reduced-motion:reduce){.ticket-wallet-flip,.wallet-poster-frame,.wallet-poster-sheen,.wallet-poster-noise{transform:none!important;transition:none!important}.wallet-poster-button{touch-action:auto}}

/* Master Dialogue v2: editorial festival programme */
.activity-grid{grid-template-columns:1fr;gap:20px}
.activity-card{padding:28px 30px;border-radius:24px;gap:20px;box-shadow:0 8px 28px rgba(29,41,57,.045)}
.activity-topline{padding-bottom:10px;border-bottom:1px solid rgba(23,49,66,.08);letter-spacing:.04em}
.activity-hero{grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:28px;align-items:start}
.activity-card h2{font-size:clamp(28px,3vw,40px);line-height:1.18;letter-spacing:-.045em;margin-top:10px}
.activity-summary{font-size:14px;line-height:1.9;max-width:760px}
.activity-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.activity-toolbar .activity-tabs{margin:0}
.activity-view-switch{display:inline-flex;align-items:center;gap:6px;padding:4px;border-radius:999px;background:#f3f5f8;border:1px solid rgba(23,49,66,.08)}
.activity-view-switch button{appearance:none;border:0;background:transparent;min-height:34px;padding:0 14px;border-radius:999px;font-size:12px;font-weight:700;color:#6b7280;cursor:pointer;transition:background .2s ease,color .2s ease,box-shadow .2s ease}
.activity-view-switch button.active{background:#fff;color:#13324a;box-shadow:0 3px 10px rgba(18,38,56,.08)}
.activity-meta-panel{padding:18px 20px;border-radius:18px;background:#f7f8fa}
.activity-meta-panel div{padding:7px 0;border-bottom:1px solid rgba(23,49,66,.06)}
.activity-meta-panel div:last-child{border-bottom:0}
.activity-meta-panel dt{font-size:9px}.activity-meta-panel dd{font-size:13px}
.activity-focus-list{gap:9px}.activity-focus-list span{min-height:31px;padding:0 13px;font-size:11px}
.activity-simple-panel{display:grid;gap:12px;padding:18px 20px;border-radius:18px;background:#fbfbfc;border:1px solid rgba(23,49,66,.05)}
.activity-simple-note{font-size:12px;line-height:1.9;color:#4e5965}
.activity-simple-people{display:flex;flex-wrap:wrap;gap:8px}
.activity-simple-people span{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border-radius:999px;background:#eef3f8;color:#315069;font-size:11px;font-weight:600}
.activity-editorial-grid{gap:18px}
.activity-introduction,.activity-people{padding:20px 22px;border-radius:18px;background:#fbfbfc}
.activity-introduction>p:last-child{font-size:13px;line-height:1.95;max-width:980px}
.activity-people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.activity-person{grid-template-columns:112px minmax(0,1fr);gap:16px;padding:14px;border-radius:16px;background:#fff}
.activity-person-photo{width:112px;height:142px;border-radius:14px;background-size:cover;background-position:center;background-repeat:no-repeat}
.activity-person-photo.is-fallback{background:linear-gradient(145deg,#e8f2f6,#f7eee9);color:#0b7599}
.activity-person-heading strong{font-size:16px;letter-spacing:-.025em}.activity-person-heading small{font-size:9px}.activity-person-heading>span{font-size:9px;padding:4px 8px}
.activity-person-highlights{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.activity-person-highlights span{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;background:#eef6f9;color:#23647b;font-size:8px;font-weight:700;line-height:1.2}
.activity-person p{margin-top:9px;font-size:11px;line-height:1.85;color:#5e6670}
.activity-photo-source{display:inline-flex;margin-top:8px;color:#7c8792;font-size:8px;text-decoration:none;border-bottom:1px solid #cbd2d8}
.activity-photo-source:hover{color:#087da4;border-color:#087da4}
.activity-cast-head{margin-bottom:14px}.activity-cast-head small{font-size:10px;max-width:460px}
.activity-actions-row{padding-top:2px}.activity-actions-row .wide-route-button{width:auto;min-width:160px;margin:0;padding:0 18px}
@media(max-width:900px){.activity-toolbar{align-items:flex-start;flex-direction:column}.activity-hero{grid-template-columns:1fr}.activity-people-grid{grid-template-columns:1fr}}
@media(max-width:560px){.activity-card{padding:20px 17px;border-radius:20px}.activity-card h2{font-size:28px}.activity-summary{font-size:13px}.activity-view-switch{width:100%;justify-content:space-between}.activity-view-switch button{flex:1}.activity-meta-panel{padding:14px}.activity-simple-panel,.activity-introduction,.activity-people{padding:16px 14px}.activity-person{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:11px}.activity-person-photo{width:82px;height:106px;border-radius:11px}.activity-person-heading strong{font-size:14px}.activity-person p{font-size:10px}.activity-cast-head{align-items:flex-start;flex-direction:column}.activity-cast-head small{text-align:left}.activity-actions-row{align-items:stretch;flex-direction:column}.activity-actions-row .wide-route-button{width:100%}}

@media(max-width:760px){.studio-photo-row.rich{grid-template-columns:1fr}.studio-photo-thumb{max-width:160px}.studio-photo-sliders{grid-template-columns:1fr}.studio-photo-sliders label{grid-template-columns:38px minmax(0,1fr) auto}}

/* Wallet motion refinements */
.ticket-wallet-flip-shell{transition:transform .26s cubic-bezier(.22,.68,0,1)}
.ticket-wallet-flip-shell:hover{transform:translateY(-2px)}
.ticket-wallet-flip{transform-origin:center center}
.ticket-wallet-front,.ticket-wallet-back{transition:box-shadow .24s ease,border-color .24s ease}
.ticket-wallet-flip-shell:hover .ticket-wallet-front{box-shadow:0 18px 42px rgba(22,26,34,.12);border-color:#d1d4d9}
.ticket-wallet-flip-shell:hover .ticket-wallet-back{box-shadow:0 24px 48px rgba(3,64,91,.24)}
.wallet-poster-button.is-active{z-index:2}
.wallet-poster-button.is-grabbing .wallet-poster-caption{color:#087da4}
.wallet-poster-frame::before{content:"";position:absolute;inset:0;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,0) 26%,rgba(255,255,255,.08) 100%);pointer-events:none;z-index:2}
.wallet-poster-frame::after{content:"";position:absolute;inset:0;border-radius:18px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.3),inset 0 -24px 42px rgba(0,0,0,.14);pointer-events:none;z-index:2}
.wallet-poster-frame{will-change:transform;animation:wallet-poster-idle 6.8s ease-in-out infinite}
.wallet-poster-depth{will-change:transform,opacity;animation:wallet-poster-depth-idle 6.8s ease-in-out infinite}
.wallet-poster-sheen,.wallet-poster-noise{will-change:transform}
.wallet-poster-button.is-active .wallet-poster-frame,.wallet-poster-button.is-active .wallet-poster-depth{animation:none}
.wallet-poster-button.is-grabbing .wallet-poster-frame{transition:transform .08s ease,box-shadow .08s ease;box-shadow:0 40px 62px rgba(6,10,18,.32),0 16px 30px rgba(6,10,18,.2)}
.wallet-poster-button.is-grabbing .wallet-poster-depth{opacity:1;filter:blur(18px)}
.wallet-poster-button.is-grabbing .wallet-poster-sheen{opacity:1}
.wallet-poster-caption{font-size:11px;color:#6a717a;font-weight:700;letter-spacing:.08em;transition:color .2s ease,transform .2s ease}
.wallet-poster-button.is-active .wallet-poster-caption{transform:translateY(1px)}
.ticket-wallet-back-poster{overflow:hidden}
.ticket-wallet-back-poster::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.28),transparent 18%,rgba(0,0,0,.16) 100%);pointer-events:none}
.ticket-wallet-back-poster-wrap{box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),0 12px 34px rgba(0,0,0,.16)}
@keyframes wallet-poster-idle{0%,100%{transform:translate3d(0,0,26px) rotateX(-3deg) rotateY(-6deg) scale3d(1.02,1.02,1.02)}50%{transform:translate3d(0,-2px,26px) rotateX(3deg) rotateY(6deg) scale3d(1.03,1.03,1.03)}}
@keyframes wallet-poster-depth-idle{0%,100%{transform:translate3d(calc(-50% - 6px),10px,0) scale(.97)}50%{transform:translate3d(calc(-50% + 6px),13px,0) scale(1)}}
@media(max-width:560px){.ticket-wallet-flip-shell:hover{transform:none}.wallet-poster-frame,.wallet-poster-depth{animation:none}}
@media(prefers-reduced-motion:reduce){.ticket-wallet-flip-shell,.wallet-poster-frame,.wallet-poster-depth{transition:none!important;animation:none!important}.wallet-poster-button.is-grabbing .wallet-poster-frame{box-shadow:0 26px 44px rgba(6,10,18,.22),0 6px 16px rgba(6,10,18,.14)}}

/* Journal tactility refinements: more like a real paper scrapbook */
.journal-studio{background:linear-gradient(180deg,#f3eee7 0%,#f2f4f6 42%,#edf1f5 100%)}
.studio-editor{background:linear-gradient(180deg,#fffdf9 0%,#fff 100%)}
.studio-preview{position:relative;background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.4),transparent 26%),linear-gradient(140deg,#d8cec1 0%,#c8d3db 44%,#dbe2e7 100%)}
.studio-preview::before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle at 1px 1px,rgba(255,255,255,.16) 1px,transparent 0),linear-gradient(180deg,rgba(76,90,105,.06),rgba(255,255,255,0));background-size:12px 12px,100% 100%;opacity:.48;pointer-events:none}
.preview-label{position:sticky;top:0;z-index:2;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.74);backdrop-filter:blur(14px) saturate(120%);-webkit-backdrop-filter:blur(14px) saturate(120%);box-shadow:0 8px 24px rgba(23,36,52,.08)}
.studio-preview .journal-document{margin-inline:auto}

.journal-document{background:linear-gradient(180deg,#fcfbf8 0%,#fbfaf7 100%);border:1px solid rgba(168,151,130,.22);border-radius:6px;box-shadow:0 24px 46px rgba(38,34,30,.11),0 3px 12px rgba(38,34,30,.06);padding:48px 50px 44px}
.journal-document::before{content:"";position:absolute;inset:12px;border:1px solid rgba(131,112,90,.07);pointer-events:none}
.document-paper-grain,.document-page-shadow{position:absolute;inset:0;pointer-events:none}
.document-paper-grain{opacity:.5;background-image:radial-gradient(circle at 18% 22%,rgba(125,103,84,.055) 0 1px,transparent 1.1px),radial-gradient(circle at 72% 66%,rgba(125,103,84,.04) 0 1px,transparent 1.1px),linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,0));background-size:19px 19px,23px 23px,100% 100%;mix-blend-mode:multiply}
.document-page-shadow{box-shadow:inset 0 1px 0 rgba(255,255,255,.76),inset 0 -18px 36px rgba(156,131,102,.055)}
.document-poster-backdrop{filter:blur(34px) saturate(1.03);opacity:.14;transform:scale(1.12)}
.background-poster::after{background:linear-gradient(180deg,rgba(252,249,245,.78),rgba(251,249,246,.86) 20%,rgba(251,249,246,.92) 100%)}
.document-masthead{padding-bottom:18px;border-bottom:1px solid rgba(35,47,60,.9);letter-spacing:.11em}
.document-title{gap:30px;margin:28px 0 24px;align-items:flex-start}
.document-title p{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#9a6e4f}
.document-title h2{font-family:ui-serif,"Songti SC",serif;font-size:clamp(28px,3vw,40px);line-height:1.32;font-weight:600}
.document-title span{font-size:12px;letter-spacing:.06em;color:#6b727d}
.document-title-poster{position:relative;flex:none;padding:10px 10px 12px;background:#fff;box-shadow:0 14px 28px rgba(32,25,21,.12),0 3px 8px rgba(32,25,21,.06);transform:rotate(2.1deg)}
.document-title-poster img{display:block;width:100px;height:145px;object-fit:cover;border:1px solid rgba(88,102,122,.08)}
.document-title-tape{position:absolute;top:-7px;width:34px;height:16px;background:linear-gradient(180deg,rgba(247,228,182,.7),rgba(233,216,177,.54));box-shadow:0 1px 3px rgba(96,74,46,.12);opacity:.92}
.document-title-tape-left{left:14px;transform:rotate(-13deg)}
.document-title-tape-right{right:14px;transform:rotate(11deg)}
.document-rating{margin-top:16px;font-size:17px;color:#a07a49;text-shadow:0 1px 0 rgba(255,255,255,.4)}
.document-meta{border-top:1px solid rgba(119,128,140,.2);border-bottom:1px solid rgba(119,128,140,.2);padding:12px 0 13px;color:#6d7681}
.document-story,.document-note p{position:relative;white-space:pre-wrap;word-break:break-word;color:#38414b;line-height:2.02}
.document-story{margin:28px 0;padding:22px 24px;border:1px solid rgba(205,187,163,.35);border-radius:18px;background:linear-gradient(180deg,rgba(255,249,238,.86),rgba(252,248,242,.95));box-shadow:0 10px 24px rgba(143,114,79,.08);background-image:linear-gradient(180deg,rgba(255,255,255,.26),rgba(255,255,255,0)),repeating-linear-gradient(180deg,transparent 0 32px,rgba(174,154,128,.1) 32px 33px);background-blend-mode:screen,normal}
.document-story::before{content:"观影现场";display:block;margin-bottom:10px;color:#ba6b55;font-size:11px;font-weight:800;letter-spacing:.18em}
.document-photos{gap:30px 22px;margin:30px 0}
.document-photo-frame{position:relative;display:grid;padding:11px 11px 13px;background:#fff;box-shadow:0 14px 28px rgba(26,24,22,.11),0 4px 10px rgba(26,24,22,.05);transform:rotate(var(--stack-tilt,0deg));transform-origin:center 12px}
.document-photo-frame:nth-child(3n){transform:rotate(calc(var(--stack-tilt,0deg) * -.6))}
.layout-gallery .document-photos figure:first-child{transform:none}
.document-photo-tape{position:absolute;top:-8px;width:32px;height:15px;background:linear-gradient(180deg,rgba(242,232,204,.82),rgba(226,215,186,.6));box-shadow:0 1px 3px rgba(96,74,46,.12);opacity:.9;z-index:2}
.document-photo-tape-left{left:16px;transform:rotate(-12deg)}
.document-photo-tape-right{right:16px;transform:rotate(10deg)}
.document-photo-viewport{border-radius:2px;background:#eceef1;box-shadow:inset 0 0 0 1px rgba(88,102,122,.08)}
.document-photo-viewport img{transition:transform .18s ease}
.document-photos figcaption{align-items:flex-start;gap:10px;margin-top:10px;padding-inline:2px;color:#5f6873;font-size:12px;line-height:1.85}
.document-photos figcaption>span{display:inline-flex;min-width:24px;justify-content:center;font-size:10px;font-weight:700;letter-spacing:.12em;color:#ab8e72}
.layout-contact .document-photos{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 14px}
.document-note{margin:26px 0;padding-top:18px;border-top:1px dashed rgba(119,128,140,.32)}
.document-note h3{display:inline-block;padding:0 0 5px;border-bottom:1px solid rgba(186,107,85,.22);font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#7a808a}
.document-note p{margin:12px 0 0;font-size:15px}
.document-placeholder{padding:76px 0;color:#8e949d;font-size:22px;text-align:center}
.document-watermark{margin-top:34px;padding-top:16px;border-top:1px solid rgba(119,128,140,.22);color:#8c929a}
@media(max-width:760px){.studio-preview{padding:18px 16px 54px}.preview-label{padding:8px 12px}.journal-document{padding:30px 22px 28px}.journal-document::before{inset:9px}.document-title-poster{padding:8px 8px 10px}.document-title-poster img{width:74px;height:108px}.document-story{padding:18px 16px}.document-photos{gap:20px 12px}.document-photo-frame{padding:9px 9px 11px}.layout-contact .document-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}}

/* Ticket wallet flip refinements: smoother, more premium turning motion */
.ticket-wallet-flip-shell{position:relative}
.ticket-wallet-flip-shell::before{content:"";position:absolute;inset:12px 18px -10px;border-radius:30px;background:radial-gradient(ellipse at center,rgba(10,22,33,.12),rgba(10,22,33,0) 72%);filter:blur(12px);opacity:.46;transform:translateY(14px) scale(.96);transition:transform .6s cubic-bezier(.22,.68,0,1),opacity .6s ease;pointer-events:none}
.ticket-wallet-flip-shell:hover::before,.ticket-wallet-flip-shell.is-flipped-shell::before{opacity:.7;transform:translateY(18px) scale(1)}
.ticket-wallet-flip{transform-style:preserve-3d;transform-origin:center center;transition:transform .9s cubic-bezier(.2,.8,.15,1),filter .4s ease}
.ticket-wallet-flip.is-flipped{transform:rotateY(180deg)}
.ticket-wallet-face{will-change:transform,opacity,filter}
.ticket-wallet-front,.ticket-wallet-back{transition:box-shadow .34s ease,border-color .34s ease,filter .34s ease,opacity .26s ease;transform-origin:center center}
.ticket-wallet-front{transform:rotateY(0deg) translateZ(1px)}
.ticket-wallet-back{transform:rotateY(180deg) translateZ(1px);box-shadow:0 22px 50px rgba(3,64,91,.24)}
.ticket-wallet-front::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,rgba(14,17,22,.03) 68%,rgba(14,17,22,.08) 100%);opacity:.8;pointer-events:none}
.ticket-wallet-back::before,.ticket-wallet-back::after{transition:transform .85s cubic-bezier(.2,.8,.15,1),opacity .45s ease}
.ticket-wallet-back::before{transform:scale(1.12)}
.ticket-wallet-flip.is-flipped .ticket-wallet-back::before{transform:scale(1.04)}
.ticket-wallet-flip.is-flipped .ticket-wallet-back::after{opacity:.96}
.ticket-wallet-media,.ticket-wallet-main,.ticket-wallet-ribbon{transition:transform .28s ease,opacity .22s ease,filter .22s ease}
.ticket-wallet-flip.is-flipped .ticket-wallet-media,.ticket-wallet-flip.is-flipped .ticket-wallet-main,.ticket-wallet-flip.is-flipped .ticket-wallet-ribbon{opacity:0;transform:translateY(-8px) scale(.985);filter:blur(1px)}
.ticket-wallet-back-poster-wrap,.ticket-wallet-back-caption{opacity:.02;transform:translateY(14px) scale(.985);transition:transform .44s cubic-bezier(.2,.78,.18,1),opacity .34s ease,border-color .34s ease,box-shadow .34s ease}
.ticket-wallet-flip.is-flipped .ticket-wallet-back-poster-wrap,.ticket-wallet-flip.is-flipped .ticket-wallet-back-caption{opacity:1;transform:none;transition-delay:.13s}
.ticket-wallet-back-poster-wrap{position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05),0 16px 34px rgba(0,0,0,.16)}
.ticket-wallet-back-poster-wrap::after{content:"";position:absolute;inset:-20% auto -20% -44%;width:58%;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.22),rgba(255,255,255,0));transform:rotate(13deg) translateX(-120%);opacity:.0;pointer-events:none}
.ticket-wallet-flip.is-flipped .ticket-wallet-back-poster-wrap::after{animation:walletPosterSweep .8s .18s ease forwards}
.ticket-wallet-back-caption{box-shadow:0 18px 34px rgba(0,0,0,.14)}
.ticket-wallet-back-actions a,.ticket-wallet-back-actions button{transition:transform .22s ease,background .22s ease,border-color .22s ease,color .22s ease}
.ticket-wallet-back-actions a:hover,.ticket-wallet-back-actions button:hover{transform:translateY(-1px)}
.ticket-wallet-flip-button{transition:color .2s ease,transform .2s ease}
.ticket-wallet-flip-button:hover{transform:translateX(1px)}
@keyframes walletPosterSweep{0%{opacity:0;transform:rotate(13deg) translateX(-120%)}15%{opacity:.84}100%{opacity:0;transform:rotate(13deg) translateX(280%)}}
@media(max-width:860px){.ticket-wallet-flip-shell::before{inset:20px 10px -6px}.ticket-wallet-media,.ticket-wallet-main,.ticket-wallet-ribbon{transition:none}.ticket-wallet-flip.is-flipped .ticket-wallet-media,.ticket-wallet-flip.is-flipped .ticket-wallet-main,.ticket-wallet-flip.is-flipped .ticket-wallet-ribbon{opacity:0;transform:none;filter:none}}
@media(prefers-reduced-motion:reduce){.ticket-wallet-flip-shell::before,.ticket-wallet-flip,.ticket-wallet-media,.ticket-wallet-main,.ticket-wallet-ribbon,.ticket-wallet-back-poster-wrap,.ticket-wallet-back-caption,.ticket-wallet-back::before,.ticket-wallet-back::after,.ticket-wallet-back-poster-wrap::after{transition:none!important;animation:none!important}.ticket-wallet-flip.is-flipped .ticket-wallet-back-poster-wrap,.ticket-wallet-flip.is-flipped .ticket-wallet-back-caption{opacity:1;transform:none}}

/* Route map: minimal derivative of the uploaded palace layout */
.palace-map-card{margin:0 0 24px;padding:22px 22px 18px;border:1px solid var(--line);border-radius:24px;background:#fbfaf7;box-shadow:0 10px 30px rgba(28,30,32,.045)}
.palace-map-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}
.palace-map-heading h2{margin:6px 0;font-size:26px;letter-spacing:-.045em}
.palace-map-heading p:not(.overline){max-width:650px;color:#777b80;font-size:12px;line-height:1.75}
.palace-map-legend{display:flex;gap:12px;flex-wrap:wrap;color:#777b80;font-size:11px}
.palace-map-legend span{display:flex;align-items:center;gap:6px}.palace-map-legend i{width:8px;height:8px;border-radius:50%;background:#d8d5cf}.palace-map-legend i.is-active{background:#164f69;box-shadow:0 0 0 4px rgba(22,79,105,.1)}
.palace-map-canvas{position:relative;overflow:hidden;border-radius:20px;background:linear-gradient(180deg,#f7f5f0,#fbfaf8);border:1px solid rgba(126,117,105,.1)}
.palace-map-canvas svg{display:block;width:100%;height:auto;min-height:280px}
.palace-map-outline path:first-child{fill:none;stroke:#cbc6bd;stroke-width:2}.palace-map-axis{fill:none;stroke:#dedad4;stroke-width:2;stroke-dasharray:5 8}
.palace-map-zone path,.palace-map-zone rect,.palace-map-muted-zone rect{fill:#ece9e3;stroke:#d3cec6;stroke-width:1.5;transition:fill .22s ease,stroke .22s ease,filter .22s ease}
.palace-map-zone.is-active path,.palace-map-zone.is-active rect{fill:#e0edf0;stroke:#164f69;filter:drop-shadow(0 8px 12px rgba(22,79,105,.08))}
.palace-map-zone text,.palace-map-muted-zone text{fill:#484b4e;font-size:16px;font-weight:650}.palace-map-zone text.en,.palace-map-muted-zone text.en{font-size:10px;font-weight:500;letter-spacing:.12em;fill:#8a8e92}
.palace-map-zone.is-active text{fill:#123f55}.palace-map-zone.is-active text.en{fill:#4f7182}
.palace-map-entrance path{fill:none;stroke:#55585c;stroke-width:2}.palace-map-entrance text{fill:#666a70;font-size:10px;letter-spacing:.11em}
.palace-map-compass{position:absolute;right:22px;bottom:20px;display:grid;justify-items:center;color:#7d817f;font-size:9px;letter-spacing:.15em}.palace-map-compass i{display:block;width:34px;height:34px;margin-top:4px;border:1px solid #aaa9a5;border-radius:50%;position:relative}.palace-map-compass i::after{content:"";position:absolute;left:50%;top:3px;bottom:3px;width:1px;background:#8a8a87}
.palace-map-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:12px;color:#686d72;font-size:11px;line-height:1.65}.palace-map-footer small{color:#9a9ca0}
@media(max-width:720px){.palace-map-card{padding:18px 14px}.palace-map-heading{align-items:flex-start;flex-direction:column}.palace-map-canvas{overflow-x:auto}.palace-map-canvas svg{min-width:650px}.palace-map-compass{display:none}.palace-map-footer{display:grid}}

/* Master Dialogue compact mode */
.activity-grid.is-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.activity-compact-card{display:grid;grid-template-columns:82px minmax(0,1fr) 34px;gap:14px;align-items:center;min-height:104px;padding:14px 14px 14px 16px;border-radius:18px;box-shadow:0 4px 16px rgba(29,41,57,.025)}
.activity-compact-card.is-selected{border-color:rgba(16,111,89,.2);background:#fbfefc}
.activity-compact-date{display:grid;align-content:center;gap:3px;padding-right:12px;border-right:1px solid rgba(23,49,66,.08);font-variant-numeric:tabular-nums}.activity-compact-date strong{font-size:17px;letter-spacing:-.03em}.activity-compact-date span{color:#7b8188;font-size:10px}
.activity-compact-copy{min-width:0}.activity-compact-copy small{display:block;color:#7d838a;font-size:9px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-compact-copy h3{margin:4px 0 3px;font-size:15px;line-height:1.35;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-compact-copy p{color:#666d75;font-size:10px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.activity-compact-route{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;background:#f0f2f5;color:#3f5f73;font-size:18px;line-height:1}.activity-compact-route.selected{background:#164f69;color:#fff}
@media(max-width:900px){.activity-grid.is-compact{grid-template-columns:1fr}}
@media(max-width:560px){.activity-compact-card{grid-template-columns:72px minmax(0,1fr) 32px;gap:10px;min-height:94px;padding:12px}.activity-compact-copy h3{font-size:14px}}

/* Poster background replaces the paper instead of sitting on top of it. */
.journal-document.background-poster{background:transparent;border-color:rgba(255,255,255,.18);box-shadow:0 22px 48px rgba(22,29,38,.15)}
.journal-document.background-poster::before{border-color:rgba(255,255,255,.12)}
.journal-document.background-poster .document-poster-backdrop{z-index:0;filter:blur(26px) saturate(1.08) contrast(.96);opacity:.58;transform:scale(1.12)}
.journal-document.background-poster::after{z-index:1;background:linear-gradient(180deg,rgba(250,248,244,.48),rgba(249,247,244,.62) 28%,rgba(249,247,244,.72) 100%);pointer-events:none}
.journal-document.background-poster .document-paper-grain{z-index:1;opacity:.18}.journal-document.background-poster .document-page-shadow{z-index:1}.journal-document.background-poster .document-content{z-index:2}
.journal-document.background-poster .document-story{background:rgba(255,251,244,.66);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.journal-document.background-poster .document-photo-frame{box-shadow:0 16px 30px rgba(22,25,29,.16)}

/* Direct on-photo editing */
.document-photo-frame{transition:transform .18s ease,box-shadow .18s ease}.document-photo-frame.is-dragging{z-index:5;box-shadow:0 22px 44px rgba(24,28,34,.18)}
.document-photo-viewport.is-editable{cursor:grab;touch-action:none;outline:0}.document-photo-viewport.is-editable:active{cursor:grabbing}.document-photo-viewport.is-editable::after{content:"拖动调整构图";position:absolute;left:10px;bottom:10px;padding:5px 8px;border-radius:999px;background:rgba(20,24,30,.58);color:#fff;font-size:9px;letter-spacing:.06em;opacity:0;transform:translateY(3px);transition:opacity .18s ease,transform .18s ease;pointer-events:none}.document-photo-frame:hover .document-photo-viewport.is-editable::after,.document-photo-frame.is-dragging .document-photo-viewport.is-editable::after{opacity:1;transform:none}
.document-photo-controls{position:absolute;z-index:8;top:8px;right:8px;display:flex;gap:4px;padding:4px;border-radius:999px;background:rgba(28,32,38,.7);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);opacity:0;transform:translateY(-3px);transition:opacity .18s ease,transform .18s ease}.document-photo-frame:hover .document-photo-controls,.document-photo-frame:focus-within .document-photo-controls,.document-photo-frame.is-dragging .document-photo-controls{opacity:1;transform:none}.document-photo-controls button{display:grid;width:27px;height:27px;place-items:center;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:14px;line-height:1}.document-photo-controls button:hover{background:#fff;color:#1d1d1f}
@media(max-width:760px){.document-photo-controls{opacity:1;transform:none;top:7px;right:7px}.document-photo-controls button{width:29px;height:29px}.document-photo-viewport.is-editable::after{display:none}}

/* Stronger handmade collage language */
.document-collage-stamp{position:absolute;z-index:2;left:30px;bottom:28px;display:grid;gap:2px;padding:8px 10px;border:1px solid rgba(150,76,62,.32);border-radius:4px;color:rgba(150,76,62,.62);font-size:8px;letter-spacing:.12em;line-height:1.3;transform:rotate(-7deg);pointer-events:none}.document-collage-stamp strong{font-size:10px}.document-collage-sticker{position:absolute;z-index:2;right:32px;bottom:34px;padding:8px 12px;border-radius:3px;background:#164f69;color:#fff;font-size:9px;font-weight:800;letter-spacing:.14em;box-shadow:0 5px 12px rgba(22,79,105,.14);transform:rotate(4deg);pointer-events:none}
.document-story{overflow:visible}.document-story::after{content:"";position:absolute;left:10px;right:10px;bottom:-7px;height:12px;background:radial-gradient(circle at 6px -2px,transparent 7px,#fcf8f2 7.5px) repeat-x;background-size:16px 12px;opacity:.88;pointer-events:none}
.document-photo-frame:nth-child(2n) .document-photo-tape-left{background:rgba(218,235,226,.76)}.document-photo-frame:nth-child(3n) .document-photo-tape-right{background:rgba(226,218,239,.72)}
@media(max-width:760px){.document-collage-stamp{left:14px;bottom:22px;opacity:.7}.document-collage-sticker{right:16px;bottom:22px;opacity:.86}}
@media print{.document-photo-controls,.document-photo-viewport.is-editable::after{display:none!important}.document-collage-stamp,.document-collage-sticker{opacity:.62}.journal-document.background-poster .document-poster-backdrop{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Apple-like ticket card: subtle parallax + spring flip + travelling specular light */
.ticket-wallet-flip-shell{--ticket-rx:0deg;--ticket-ry:0deg;--ticket-light-x:50%;--ticket-light-y:50%;transform-style:preserve-3d;will-change:transform;transform:perspective(1700px) rotateX(var(--ticket-rx)) rotateY(var(--ticket-ry));transition:transform .34s cubic-bezier(.16,1,.3,1)}
.ticket-wallet-flip-shell:hover{transform:perspective(1700px) translateY(-3px) rotateX(var(--ticket-rx)) rotateY(var(--ticket-ry))}
.ticket-wallet-flip{transition:transform .92s cubic-bezier(.16,1,.3,1),filter .32s ease}
.ticket-wallet-face::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at var(--ticket-light-x) var(--ticket-light-y),rgba(255,255,255,.34),rgba(255,255,255,.09) 24%,transparent 48%);mix-blend-mode:screen;opacity:.42;pointer-events:none;transition:opacity .24s ease}
.ticket-wallet-front::after{background:radial-gradient(circle at var(--ticket-light-x) var(--ticket-light-y),rgba(255,255,255,.4),rgba(255,255,255,.07) 26%,transparent 50%),linear-gradient(90deg,transparent,rgba(15,20,28,.025) 70%,rgba(15,20,28,.07))}
.ticket-wallet-back::after{background:radial-gradient(circle at var(--ticket-light-x) var(--ticket-light-y),rgba(133,230,242,.25),transparent 38%),linear-gradient(90deg,rgba(4,42,65,.74),rgba(4,89,120,.22) 35%,rgba(4,66,94,.55))}
.ticket-wallet-flip-shell.is-flipped-shell{transform:perspective(1700px) translateY(-2px) rotateX(var(--ticket-rx)) rotateY(var(--ticket-ry)) scale(1.002)}
.ticket-wallet-flip.is-flipped{filter:drop-shadow(0 28px 34px rgba(20,29,38,.15))}
.ticket-wallet-back-caption{align-content:start;overflow:hidden}
.ticket-wallet-back-film-head{display:grid;gap:4px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.16)}
.ticket-wallet-back-film-head strong{font-size:28px;line-height:1.12}.ticket-wallet-back-film-head small{font-size:11px;letter-spacing:.04em;color:#d7f4f7}
.ticket-wallet-back-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ticket-wallet-back-meta div{display:grid;gap:4px}.ticket-wallet-back-meta dt{font-size:8px;letter-spacing:.13em;color:#9ed9e1}.ticket-wallet-back-meta dd{font-size:10px;line-height:1.55;color:#fff}
.ticket-wallet-back-intro{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:8;font-size:12px!important;line-height:1.85!important;color:rgba(240,250,252,.9)!important}
.ticket-wallet-back-tags{display:flex;flex-wrap:wrap;gap:6px}.ticket-wallet-back-tags span{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;border:1px solid rgba(184,234,241,.26);background:rgba(255,255,255,.08);color:#dff8fa;font-size:8px!important;letter-spacing:.03em!important}
@media(max-width:860px){.ticket-wallet-back-meta{grid-template-columns:1fr 1fr}.ticket-wallet-back-intro{-webkit-line-clamp:6}.ticket-wallet-flip-shell,.ticket-wallet-flip-shell:hover,.ticket-wallet-flip-shell.is-flipped-shell{transform:none}}
@media(max-width:560px){.ticket-wallet-back-meta{grid-template-columns:1fr}.ticket-wallet-back-film-head strong{font-size:23px}.ticket-wallet-back-intro{-webkit-line-clamp:5}}
@media(prefers-reduced-motion:reduce){.ticket-wallet-flip-shell,.ticket-wallet-flip-shell:hover,.ticket-wallet-flip-shell.is-flipped-shell{transform:none!important}.ticket-wallet-face::after{display:none}}

/* v9 journal: clearer poster background + text-only master dialogue */
.journal-document.background-poster .document-poster-backdrop{filter:blur(14px) saturate(1.1) contrast(1.02);opacity:.74;transform:scale(1.07)}
.journal-document.background-poster::after{background:linear-gradient(180deg,rgba(250,248,244,.28),rgba(249,247,244,.38) 32%,rgba(249,247,244,.5) 100%)}
.journal-document.background-poster .document-story{background:rgba(255,251,244,.78);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.activity-person-textonly{grid-template-columns:1fr;padding:16px 17px}
.activity-person-textonly .activity-person-copy{width:100%}
.activity-person-textonly .activity-person-heading{padding-bottom:8px;border-bottom:1px solid rgba(23,49,66,.06)}
.activity-person-textonly .activity-person-heading strong{font-size:16px}
.activity-person-textonly p{font-size:11px;line-height:1.9}
.activity-cast-head small{max-width:520px}


/* v11 static ticket wallet restore */
.ticket-wallet-static .ticket-wallet-grid{display:grid;gap:18px}
.ticket-wallet-static-card{min-width:0}
.ticket-wallet-static-face{position:relative;min-width:0;border-radius:28px;overflow:hidden}
.ticket-wallet-static .ticket-wallet-front{transform:none!important;transition:none!important}
.ticket-wallet-static .ticket-wallet-front::after{display:none!important}
.ticket-wallet-static .ticket-wallet-media,.ticket-wallet-static .ticket-wallet-main,.ticket-wallet-static .ticket-wallet-ribbon{transform:none!important;transition:none!important;opacity:1!important;filter:none!important}
.ticket-wallet-media-static{padding:22px}
.wallet-static-poster-frame{width:158px;min-height:230px;padding:8px;border-radius:18px;background:#fff;box-shadow:0 12px 24px rgba(24,30,38,.10);overflow:hidden}
.wallet-static-poster-frame .wallet-poster-image{width:100%;height:100%;min-height:214px;object-fit:cover;border-radius:12px}
.wallet-static-poster-frame .wallet-poster-fallback{min-height:214px;border-radius:12px}
.ticket-wallet-static-back{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;min-height:460px;padding:22px;border:1px solid #72c9da;background:linear-gradient(180deg,#063f65,#052f4a);color:#fff;box-shadow:0 16px 34px rgba(3,64,91,.16)}
.ticket-wallet-static-back-poster{display:flex;align-items:center;justify-content:center;padding:12px;border-radius:20px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08)}
.ticket-wallet-static-back-poster img{display:block;width:100%;height:100%;max-height:420px;object-fit:contain;border-radius:14px;background:#0b3141}
.ticket-wallet-static-back-copy{display:grid;align-content:start;gap:18px;padding:6px 4px 6px 0}
.ticket-wallet-static .ticket-wallet-back-film-head strong{font-size:30px}
.ticket-wallet-static .ticket-wallet-back-meta{grid-template-columns:repeat(3,minmax(0,1fr))}
.ticket-wallet-static .ticket-wallet-back-intro{-webkit-line-clamp:10}
.ticket-wallet-static .ticket-wallet-back-actions{justify-content:flex-start}
.ticket-wallet-static .ticket-wallet-back-actions a,.ticket-wallet-static .ticket-wallet-back-actions button{transition:none!important}
.ticket-wallet-static .ticket-wallet-flip-button{transition:none!important}
.ticket-wallet-static-card:hover{transform:none!important}
@media(max-width:860px){.ticket-wallet-static-back{grid-template-columns:1fr}.ticket-wallet-static-back-poster{max-height:300px}.ticket-wallet-static-back-poster img{max-height:276px}.ticket-wallet-static .ticket-wallet-back-meta{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.ticket-wallet-static .ticket-wallet-front{grid-template-columns:1fr}.ticket-wallet-static-back{padding:14px;border-radius:24px}.ticket-wallet-static .ticket-wallet-back-meta{grid-template-columns:1fr}.wallet-static-poster-frame{width:146px;min-height:212px}.wallet-static-poster-frame .wallet-poster-image{min-height:196px}}

/* v12: restore only the front/back flip animation on the static ticket wallet */
.ticket-wallet-static-card{perspective:1800px;transform-style:preserve-3d}
.ticket-wallet-static-flipper{display:grid;min-width:0;transform-style:preserve-3d;transform-origin:center center;transition:transform .78s cubic-bezier(.2,.76,.2,1),filter .28s ease;will-change:transform}
.ticket-wallet-static-card.show-back .ticket-wallet-static-flipper{transform:rotateY(180deg);filter:drop-shadow(0 24px 30px rgba(17,27,37,.12))}
.ticket-wallet-static-face{grid-area:1/1;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform-style:preserve-3d}
.ticket-wallet-static .ticket-wallet-static-front-face{transform:rotateY(0deg)!important;transition:none!important;pointer-events:auto}
.ticket-wallet-static .ticket-wallet-static-back-face{transform:rotateY(180deg);pointer-events:none}
.ticket-wallet-static-card.show-back .ticket-wallet-static-front-face{pointer-events:none}
.ticket-wallet-static-card.show-back .ticket-wallet-static-back-face{pointer-events:auto}
.ticket-wallet-static-card.show-front .ticket-wallet-static-back-face{pointer-events:none}
.ticket-wallet-static-card::after{content:"";display:block;height:0;pointer-events:none}
.ticket-wallet-static .ticket-wallet-flip-button,.ticket-wallet-static .ticket-wallet-back-actions button{transition:transform .18s ease,background-color .18s ease,color .18s ease,border-color .18s ease!important}
.ticket-wallet-static .ticket-wallet-flip-button:hover{transform:translateX(2px)}
.ticket-wallet-static .ticket-wallet-back-actions button:hover{transform:translateY(-1px)}
@media(prefers-reduced-motion:reduce){.ticket-wallet-static-flipper{transition:none!important}.ticket-wallet-static-card.show-back .ticket-wallet-static-flipper{transform:rotateY(180deg);filter:none}}

/* v13: restore poster acrylic animation/effect while keeping static wallet layout */
.wallet-static-poster-frame{position:relative;isolation:isolate;transform-style:preserve-3d;perspective:1200px;overflow:visible;background:transparent;box-shadow:none;padding:0}
.wallet-static-poster-frame .wallet-poster-image,
.wallet-static-poster-frame .wallet-poster-fallback{position:relative;z-index:4;display:block;width:100%;height:100%;min-height:214px;object-fit:cover;border-radius:12px;border:1px solid rgba(255,255,255,.74);box-shadow:0 18px 28px rgba(18,28,42,.18),0 0 0 1px rgba(146,170,190,.12);background:#fff}
.wallet-static-poster-acrylic{appearance:none;border:0;cursor:default;transform:translate3d(var(--poster-tx,0px),var(--poster-ty,0px),0) rotateX(var(--poster-rx,0deg)) rotateY(var(--poster-ry,0deg));transition:transform .18s cubic-bezier(.16,1,.3,1),filter .22s ease;will-change:transform;touch-action:pan-y}
.wallet-static-poster-acrylic.is-active{filter:drop-shadow(0 18px 28px rgba(18,28,42,.18))}
.wallet-static-poster-depth{position:absolute;inset:0;border-radius:12px;pointer-events:none}
.wallet-static-poster-depth.depth-1{z-index:1;background:rgba(219,241,255,.64);transform:translate3d(4px,1px,-1px)}
.wallet-static-poster-depth.depth-2{z-index:2;background:rgba(195,225,244,.50);transform:translate3d(7px,2px,-2px)}
.wallet-static-poster-depth.depth-3{z-index:3;background:linear-gradient(180deg,rgba(152,191,214,.42),rgba(178,214,232,.24));transform:translate3d(10px,3px,-3px)}
.wallet-static-poster-acrylic-layer{position:absolute;inset:0;z-index:6;border-radius:12px;background:linear-gradient(122deg,rgba(255,255,255,.26) 0%,rgba(255,255,255,.08) 32%,rgba(255,255,255,.16) 52%,rgba(175,225,255,.10) 70%,rgba(255,255,255,.04) 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.56),inset 0 1px 1px rgba(255,255,255,.68),inset 0 -8px 14px rgba(120,166,196,.08),0 0 0 1px rgba(176,212,236,.12);transform:translateZ(12px);pointer-events:none;backdrop-filter:blur(.35px)}
.wallet-static-poster-specular{position:absolute;inset:1px;z-index:7;border-radius:11px;background:radial-gradient(circle at var(--poster-gx,50%) var(--poster-gy,50%),rgba(255,255,255,.74),rgba(255,255,255,.18) 18%,rgba(255,255,255,0) 40%),linear-gradient(112deg,rgba(255,255,255,.34) 0%,rgba(255,255,255,.12) 16%,rgba(255,255,255,0) 34%,rgba(190,232,255,.18) 82%,rgba(255,255,255,0) 100%);transform:translateZ(14px);opacity:.9;mix-blend-mode:screen;pointer-events:none;transition:background-position .12s linear,opacity .2s ease}
.wallet-static-poster-acrylic::after{content:"";position:absolute;top:6px;bottom:6px;right:-9px;width:12px;border-radius:0 10px 10px 0;background:linear-gradient(180deg,rgba(200,232,255,.82),rgba(150,191,216,.32));transform-origin:left center;transform:rotateY(90deg) translateZ(6px);box-shadow:inset 1px 0 0 rgba(255,255,255,.58),inset -1px 0 0 rgba(120,162,190,.18);z-index:2;pointer-events:none}
.wallet-static-poster-acrylic::before{content:"";position:absolute;left:6px;right:6px;top:-9px;height:12px;border-radius:10px 10px 0 0;background:linear-gradient(90deg,rgba(221,241,255,.82),rgba(160,201,225,.36));transform-origin:center bottom;transform:rotateX(90deg) translateZ(6px);box-shadow:inset 0 1px 0 rgba(255,255,255,.62);z-index:2;pointer-events:none}
.ticket-wallet-static-back-copy{position:relative;z-index:2}.ticket-wallet-static-back-poster{position:relative;z-index:2}.ticket-wallet-static-back-copy .ticket-wallet-back-meta{grid-template-columns:repeat(3,minmax(0,1fr))}
.ticket-wallet-static-back-copy .ticket-wallet-back-meta a{color:#dff8fa;text-decoration:none}
.ticket-wallet-static-back-copy .ticket-wallet-back-meta a:hover{text-decoration:underline}
@media(max-width:860px){.ticket-wallet-static-back-copy .ticket-wallet-back-meta{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.wallet-static-poster-acrylic{transform:none}.wallet-static-poster-acrylic::after{right:-7px;width:9px}.wallet-static-poster-acrylic::before{top:-7px;height:9px}.ticket-wallet-static-back-copy .ticket-wallet-back-meta{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.wallet-static-poster-acrylic{transform:none!important;filter:none!important}.wallet-static-poster-specular{transition:none!important}}

/* local save button */
.topbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.topbar-save-button{min-height:36px;padding:8px 14px;border-radius:999px;border:1px solid rgba(112,123,138,.18);background:#ffffffd4;backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%);box-shadow:0 8px 18px rgba(23,28,36,.08);font-size:13px;font-weight:600;color:#182332}
.topbar-save-button:hover{background:#fff}
.topbar-save-status{font-size:12px;color:#6b7480}

/* journal editor */
.studio-editor-panel{display:grid;gap:20px}
.editor-section{display:grid;gap:10px}
.editor-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field-label{font-size:13px;font-weight:700;color:#29313d;letter-spacing:.02em}
.field-hint{font-size:12px;line-height:1.7;color:#7a818c;margin:0}
.studio-editor-panel textarea,.studio-editor-panel input,.studio-editor-panel select{width:100%;border:1px solid #d8dde5;border-radius:14px;padding:12px 14px;background:#fff;color:#1f232a;min-width:0}
.studio-editor-panel textarea{min-height:148px;resize:vertical;line-height:1.8}
.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.template-grid button,.background-grid button{padding:14px 16px;border-radius:16px;border:1px solid #d9dee7;background:#fff;text-align:left;display:grid;gap:6px;color:#27303b;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.template-grid button strong{font-size:14px}
.template-grid button span{font-size:12px;line-height:1.65;color:#737d89}
.template-grid button.is-active,.background-grid button.is-active{border-color:#215fbc;box-shadow:0 12px 22px rgba(15,43,83,.09);transform:translateY(-1px);background:#f8fbff}
.background-grid{display:flex;gap:10px;flex-wrap:wrap}.background-grid button{min-width:120px;justify-items:center;text-align:center}
.editor-section-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.upload-button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 15px;border-radius:999px;background:#161a21;color:#fff;font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 10px 18px rgba(22,26,33,.12)}
.upload-button input{position:absolute;inset:0;opacity:0;cursor:pointer}
.photo-empty{padding:18px;border:1px dashed #cdd4de;border-radius:16px;background:#fbfcfd;color:#6c7380;font-size:13px}
.photo-stack{display:grid;gap:14px}
.photo-card{display:grid;gap:12px;padding:16px;border:1px solid rgba(202,210,221,.72);border-radius:18px;background:#fff;box-shadow:0 12px 24px rgba(34,40,49,.04)}
.photo-card-header{display:flex;justify-content:space-between;gap:12px;align-items:center}
.photo-card-header strong{font-size:14px;color:#25303c}.photo-card-actions{display:flex;gap:8px;flex-wrap:wrap}.photo-card-actions button,.photo-inline-actions button,.inline-stepper button{min-height:32px;padding:6px 11px;border-radius:999px;border:1px solid #d8dee7;background:#f8fafc;color:#2e3742;font-size:12px;font-weight:600}.photo-card-actions button:disabled{opacity:.4;cursor:not-allowed}
.photo-controls-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-controls-grid label{display:grid;gap:8px}.photo-controls-grid label span{font-size:12px;color:#6f7781}.photo-controls-grid input[type='range']{padding:0;border:0;background:transparent}
.inline-stepper{display:flex;gap:8px;flex-wrap:wrap}.photo-inline-actions{display:flex;gap:8px;flex-wrap:wrap}.editor-save-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-radius:18px;background:#f7f9fc;color:#6a7280;font-size:13px}

/* poster background readability */
.journal-document.background-poster::after{background:linear-gradient(180deg,rgba(250,248,244,.16),rgba(249,247,244,.3) 26%,rgba(249,247,244,.48) 58%,rgba(249,247,244,.64) 100%)}
.journal-document.background-poster .document-poster-backdrop{filter:blur(12px) saturate(1.12) contrast(1.06);opacity:.86;transform:scale(1.06)}
.journal-document.background-poster .document-title>div:first-child{padding:14px 16px 16px;border-radius:22px;background:rgba(255,252,247,.72);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 12px 26px rgba(22,28,36,.08)}
.journal-document.background-poster .document-title p,.journal-document.background-poster .document-title span,.journal-document.background-poster .document-masthead,.journal-document.background-poster .document-meta{color:#2f3a46;text-shadow:0 1px 0 rgba(255,255,255,.42)}
.journal-document.background-poster .document-title h2{color:#13181e;text-shadow:0 2px 14px rgba(255,255,255,.26)}

/* scrapbook collage */
.document-photos-scrapbook{position:relative;display:block;min-height:var(--scrapbook-height,560px);margin:34px 0 16px;padding:10px 6px 30px}
.document-photos-scrapbook .document-photo-frame{position:absolute;left:50%;top:0;width:min(42%,240px);max-width:240px;transform:translate(calc(-50% + var(--frame-x,0px)),var(--frame-y,0px)) rotate(var(--stack-tilt,0deg)) scale(var(--frame-scale,1));z-index:var(--frame-z,1);margin:0}
.document-photos-scrapbook .document-photo-frame:nth-child(3n){transform:translate(calc(-50% + var(--frame-x,0px)),var(--frame-y,0px)) rotate(var(--stack-tilt,0deg)) scale(var(--frame-scale,1))}
.document-photo-frame.is-scrapbook-card{transform-origin:center 18px}
.document-photo-reposition{position:absolute;left:10px;top:8px;z-index:9;min-height:28px;padding:6px 10px;border-radius:999px;background:rgba(24,28,34,.74);color:#fff;font-size:11px;letter-spacing:.03em;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);opacity:0;transform:translateY(-3px);transition:opacity .18s ease,transform .18s ease}
.document-photo-frame:hover .document-photo-reposition,.document-photo-frame:focus-within .document-photo-reposition,.document-photo-frame.is-dragging .document-photo-reposition{opacity:1;transform:none}
.document-photos-scrapbook .document-photo-viewport.is-editable::after{content:"拖动画面调构图"}
.document-photos-scrapbook .document-photo-frame::after{content:"";position:absolute;inset:auto 18px 54px 18px;height:22px;background:rgba(32,28,22,.08);filter:blur(13px);z-index:-1}
.document-photos-scrapbook .document-photo-frame.is-dragging{z-index:12!important}

/* ticket wallet mobile: keep ticket shape */
@media(max-width:860px){
  .ticket-wallet-static .ticket-wallet-front{grid-template-columns:150px minmax(0,1fr) 56px;min-height:250px}
  .ticket-wallet-static .ticket-wallet-media{min-height:250px}
  .ticket-wallet-static .ticket-wallet-ribbon{writing-mode:vertical-rl;padding:16px 6px;font-size:11px;letter-spacing:.32em}
}
@media(max-width:560px){
  .topbar-actions{width:100%;justify-content:flex-end}
  .topbar-save-button{min-height:34px;padding:8px 12px;font-size:12px}
  .editor-two,.photo-controls-grid{grid-template-columns:1fr}
  .template-grid{grid-template-columns:1fr}
  .editor-save-bar{align-items:flex-start;flex-direction:column}
  .editor-section-heading,.photo-card-header{flex-direction:column;align-items:flex-start}
  .photo-card-actions,.photo-inline-actions{width:100%}
  .ticket-wallet-static .ticket-wallet-card{border-radius:22px;overflow:hidden}
  .ticket-wallet-static .ticket-wallet-front{grid-template-columns:118px minmax(0,1fr) 44px;gap:0;min-height:214px}
  .ticket-wallet-static .ticket-wallet-media{min-height:214px}
  .ticket-wallet-static .ticket-wallet-main{padding:14px 14px 14px 12px;gap:12px}
  .ticket-wallet-static .ticket-wallet-code{font-size:11px}
  .ticket-wallet-static .ticket-wallet-main h3{font-size:22px;line-height:1.12}
  .ticket-wallet-static .ticket-wallet-meta{font-size:11px}
  .ticket-wallet-static .ticket-wallet-note{padding:10px 12px;font-size:11px}
  .ticket-wallet-static .ticket-wallet-ribbon{padding:14px 5px;font-size:10px;letter-spacing:.24em}
  .ticket-wallet-static .ticket-wallet-seats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .ticket-wallet-static .ticket-wallet-seat span{font-size:10px}.ticket-wallet-static .ticket-wallet-seat strong{font-size:14px}
  .document-photos-scrapbook{min-height:calc(var(--scrapbook-height,560px) * .86);padding-bottom:24px}
  .document-photos-scrapbook .document-photo-frame{width:min(56%,198px)}
  .document-photo-reposition{opacity:1;transform:none}
}

/* journal editor overlay */
.journal-editor-overlay{position:fixed;inset:0;z-index:120;background:rgba(14,18,24,.42);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);padding:22px;display:flex;justify-content:center;align-items:stretch}
.journal-editor-shell{width:min(1460px,100%);height:100%;background:#f6f8fb;border-radius:28px;box-shadow:0 28px 72px rgba(12,16,24,.24);display:flex;flex-direction:column;overflow:hidden}
.journal-editor-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:22px 26px 18px;border-bottom:1px solid rgba(205,212,222,.85);background:#ffffffcc;backdrop-filter:blur(10px)}
.journal-editor-head p{margin:0;font-size:12px;letter-spacing:.08em;color:#7b8390;text-transform:uppercase}.journal-editor-head h2{margin:4px 0 6px;font-size:24px;color:#1f2833}.journal-editor-head span{font-size:13px;color:#6f7781}
.journal-editor-head-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.modal-close{width:40px;height:40px;border-radius:999px;border:1px solid #d9dee7;background:#fff;font-size:22px;line-height:1;color:#313844}
.journal-editor-grid{display:grid;grid-template-columns:minmax(340px,430px) minmax(0,1fr);gap:0;min-height:0;flex:1}.journal-editor-sidebar{padding:22px;border-right:1px solid rgba(212,218,227,.78);overflow:auto;background:#fbfcfe}.journal-editor-preview{padding:24px;overflow:auto;background:linear-gradient(180deg,#eef3f8,#f7f9fc)}
.rating-row{display:flex;gap:8px;flex-wrap:wrap}.rating-row button{min-height:38px;padding:10px 12px;border-radius:999px;border:1px solid #d8dee7;background:#fff;color:#37414d;font-size:13px;font-weight:700}.rating-row button.is-active{background:#15253a;color:#fff;border-color:#15253a}
.primary-button{min-height:40px;padding:10px 16px;border-radius:999px;background:#15253a;color:#fff;font-weight:700;font-size:13px;box-shadow:0 12px 20px rgba(21,37,58,.18)}

@media(max-width:980px){
  .journal-editor-overlay{padding:0}
  .journal-editor-shell{border-radius:0}
  .journal-editor-grid{grid-template-columns:1fr}
  .journal-editor-sidebar{max-height:48vh;border-right:0;border-bottom:1px solid rgba(212,218,227,.78)}
}

/* v15 ticket flip hardening: prevent front-face bleed/mirroring */
.ticket-wallet-static-card{perspective:1800px;-webkit-perspective:1800px}
.ticket-wallet-static-flipper{position:relative;display:grid;transform-style:preserve-3d;-webkit-transform-style:preserve-3d;transition:transform .78s cubic-bezier(.2,.76,.2,1),filter .28s ease;will-change:transform}
.ticket-wallet-static-card.show-back .ticket-wallet-static-flipper{transform:rotateY(180deg);-webkit-transform:rotateY(180deg)}
.ticket-wallet-static-face{grid-area:1/1;backface-visibility:hidden!important;-webkit-backface-visibility:hidden!important;transform-style:flat!important;-webkit-transform-style:flat!important;isolation:isolate;overflow:hidden}
.ticket-wallet-static-front-face{transform:translateZ(0) rotateY(0deg)!important;-webkit-transform:translateZ(0) rotateY(0deg)!important;z-index:2}
.ticket-wallet-static-back-face{transform:translateZ(0) rotateY(180deg)!important;-webkit-transform:translateZ(0) rotateY(180deg)!important;z-index:1}
.ticket-wallet-static-card.show-back .ticket-wallet-static-front-face{z-index:1}
.ticket-wallet-static-card.show-back .ticket-wallet-static-back-face{z-index:2}
.ticket-wallet-static-front-face>*{backface-visibility:hidden;-webkit-backface-visibility:hidden}
.ticket-wallet-static-back{display:grid!important;grid-template-columns:minmax(210px,270px) minmax(0,1fr)!important;gap:22px;align-items:stretch;min-height:460px;padding:22px;border:1px solid #72c9da;background:linear-gradient(150deg,#063f65 0%,#082f46 62%,#05263a 100%);color:#fff;box-shadow:0 16px 34px rgba(3,64,91,.16)}
.ticket-wallet-static-back-poster{display:flex;align-items:center;justify-content:center;min-height:100%;padding:14px;border-radius:20px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08)}
.ticket-wallet-static-back-poster img{display:block;width:100%;height:100%;max-height:430px;object-fit:contain;border-radius:14px;background:#0b3141;box-shadow:0 16px 30px rgba(0,0,0,.2)}
.ticket-wallet-static-back-copy{display:grid;align-content:start;gap:18px;min-width:0;padding:8px 6px 8px 0}
.ticket-wallet-back-film-head{display:grid;gap:6px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.18)}
.ticket-wallet-back-film-head span{font-size:10px;letter-spacing:.14em;color:#aeeaf1}.ticket-wallet-back-film-head strong{font-size:30px;line-height:1.14;color:#fff}.ticket-wallet-back-film-head small{font-size:13px;color:#d4f4f7}
.ticket-wallet-static-back-copy .ticket-wallet-back-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px;margin:0}.ticket-wallet-static-back-copy .ticket-wallet-back-meta div{display:grid;gap:4px}.ticket-wallet-static-back-copy .ticket-wallet-back-meta dt{font-size:10px;color:#90d9e3;letter-spacing:.08em}.ticket-wallet-static-back-copy .ticket-wallet-back-meta dd{margin:0;font-size:12px;line-height:1.55;color:#fff}
.ticket-wallet-back-intro{margin:0;font-size:13px;line-height:1.9;color:rgba(241,251,252,.92)}
.ticket-wallet-back-tags{display:flex;gap:7px;flex-wrap:wrap}.ticket-wallet-back-tags span{display:inline-flex;min-height:26px;align-items:center;padding:0 9px;border:1px solid rgba(207,244,248,.22);border-radius:999px;background:rgba(255,255,255,.07);font-size:10px;color:#dcf7fa}
@media(max-width:860px){.ticket-wallet-static-back{grid-template-columns:180px minmax(0,1fr)!important;min-height:390px}.ticket-wallet-static-back-poster{max-height:none}.ticket-wallet-static-back-poster img{max-height:340px}.ticket-wallet-static-back-copy .ticket-wallet-back-meta{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.ticket-wallet-static-flipper{width:100%}.ticket-wallet-static-back{grid-template-columns:112px minmax(0,1fr)!important;gap:12px;min-height:250px;padding:12px;border-radius:22px}.ticket-wallet-static-back-poster{padding:7px;border-radius:14px}.ticket-wallet-static-back-poster img{max-height:225px;border-radius:10px}.ticket-wallet-static-back-copy{gap:10px;padding:2px 2px 2px 0}.ticket-wallet-back-film-head{gap:3px;padding-bottom:8px}.ticket-wallet-back-film-head strong{font-size:19px}.ticket-wallet-back-film-head small{font-size:10px}.ticket-wallet-back-film-head span{font-size:8px}.ticket-wallet-static-back-copy .ticket-wallet-back-meta{grid-template-columns:1fr 1fr;gap:6px 9px}.ticket-wallet-static-back-copy .ticket-wallet-back-meta dt{font-size:8px}.ticket-wallet-static-back-copy .ticket-wallet-back-meta dd{font-size:9px;line-height:1.35}.ticket-wallet-back-intro{font-size:9px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.ticket-wallet-back-tags{display:none}.ticket-wallet-back-actions{gap:6px}.ticket-wallet-static .ticket-wallet-back-actions a,.ticket-wallet-static .ticket-wallet-back-actions button{min-height:28px;padding:0 9px;font-size:8px}}

/* v15 journal editor cleanup */
.journal-editor-overlay{padding:18px;background:rgba(14,18,24,.46)}
.journal-editor-shell{width:min(1500px,100%);height:min(960px,100%);border-radius:28px;background:#f4f6f9}
.journal-editor-head{min-height:82px;padding:18px 22px;align-items:center;background:rgba(255,255,255,.92)}
.journal-editor-titlecopy{display:grid;gap:2px}.journal-editor-titlecopy p{margin:0;font-size:10px;letter-spacing:.16em;color:#78818e}.journal-editor-titlecopy h2{margin:0;font-size:22px;line-height:1.25;color:#1b2028}.journal-editor-titlecopy span{font-size:11px;color:#818996}
.journal-editor-head-actions{display:flex;align-items:center;gap:9px}.journal-save-state{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#717a86}.journal-editor-close{width:38px;height:38px;border-radius:50%;border:1px solid #d8dee7;background:#fff;color:#343b45;font-size:22px;line-height:1;display:grid;place-items:center}
.journal-editor-grid{grid-template-columns:minmax(320px,390px) minmax(0,1fr);min-height:0}
.journal-editor-sidebar{padding:16px;display:grid;align-content:start;gap:12px;background:#f7f8fa}
.journal-control-card{display:grid;gap:13px;padding:16px;border:1px solid #e2e6ec;border-radius:20px;background:#fff;box-shadow:0 6px 18px rgba(28,36,48,.035)}
.journal-control-heading{display:flex;align-items:center;gap:10px}.journal-control-heading>span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#182434;color:#fff;font-size:10px;font-weight:700}.journal-control-heading>div{display:grid;gap:1px}.journal-control-heading strong{font-size:14px;color:#212832}.journal-control-heading small{font-size:10px;color:#89919c}
.journal-field{display:grid;gap:7px}.journal-field>span{font-size:11px;color:#69727e;font-weight:600}.journal-field input,.journal-field select,.journal-story-input,.journal-photo-mini-grid select{width:100%;min-height:39px;border:1px solid #dce1e8;border-radius:11px;background:#fbfcfd;color:#202630;padding:9px 11px;font-size:13px;outline:none}.journal-field input:focus,.journal-field select:focus,.journal-story-input:focus,.journal-photo-mini-grid select:focus{border-color:#8bb5e8;box-shadow:0 0 0 3px rgba(0,113,227,.08)}
.journal-rating-row{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.journal-rating-row button{min-height:34px;border-radius:9px;border:1px solid #e0e4ea;background:#f8f9fb;color:#56606d;font-size:11px;font-weight:700}.journal-rating-row button.is-active{border-color:#13243a;background:#13243a;color:#fff}
.journal-layout-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.journal-layout-grid button{display:grid;gap:3px;min-height:72px;padding:10px 11px;border-radius:12px;border:1px solid #e0e4ea;background:#f9fafb;text-align:left}.journal-layout-grid button strong{font-size:12px;color:#29313b}.journal-layout-grid button small{font-size:9px;line-height:1.45;color:#828a95}.journal-layout-grid button.is-active{border-color:#2b6fb8;background:#f0f7ff;box-shadow:inset 0 0 0 1px rgba(43,111,184,.1)}
.journal-background-switch{display:grid;grid-template-columns:1fr 1fr;padding:3px;border-radius:12px;background:#eef1f4}.journal-background-switch button{min-height:34px;border-radius:9px;background:transparent;color:#69717d;font-size:11px;font-weight:700}.journal-background-switch button.is-active{background:#fff;color:#1e2630;box-shadow:0 2px 7px rgba(25,33,44,.08)}
.journal-story-input{min-height:118px;resize:vertical;line-height:1.75}
.journal-upload-dropzone{position:relative;display:grid;justify-items:center;gap:5px;padding:17px 12px;border:1.5px dashed #cbd3dd;border-radius:15px;background:#fafbfd;cursor:pointer;text-align:center}.journal-upload-dropzone:hover{border-color:#82addd;background:#f7fbff}.journal-upload-dropzone.is-loading{opacity:.62;pointer-events:none}.journal-upload-dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.journal-upload-plus{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#15263a;color:#fff;font-size:20px}.journal-upload-dropzone strong{font-size:12px;color:#252d37}.journal-upload-dropzone small{font-size:9px;line-height:1.5;color:#9097a1}
.journal-photo-empty{display:grid;gap:2px;padding:13px;border-radius:12px;background:#f7f8fa;color:#7a828d}.journal-photo-empty strong{font-size:11px}.journal-photo-empty span{font-size:10px}
.journal-photo-items{display:grid;gap:7px}.journal-photo-item{border:1px solid #e2e6eb;border-radius:13px;background:#fbfcfd;overflow:hidden}.journal-photo-item summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 11px;cursor:pointer}.journal-photo-item summary::-webkit-details-marker{display:none}.journal-photo-item summary>div{display:flex;align-items:center;min-width:0;gap:8px}.journal-photo-item summary span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#eef1f5;color:#68717d;font-size:9px}.journal-photo-item summary strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#2a323d}.journal-photo-item summary small{font-size:9px;color:#8b939d}.journal-photo-item[open] summary{border-bottom:1px solid #e5e8ed;background:#fff}.journal-photo-item-body{display:grid;gap:11px;padding:11px}
.journal-photo-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.journal-photo-mini-grid label{display:grid;gap:5px}.journal-photo-mini-grid label>span{font-size:9px;color:#7b838e}.journal-photo-mini-grid input[type=range]{width:100%;accent-color:#1d5f9e}.journal-photo-mini-grid select{min-height:34px;padding:6px 8px;font-size:11px}
.journal-photo-actions{display:flex;gap:5px;flex-wrap:wrap}.journal-photo-actions button{min-height:29px;padding:5px 9px;border:1px solid #dde2e8;border-radius:999px;background:#fff;color:#5d6671;font-size:9px;font-weight:700}.journal-photo-actions button.is-danger{color:#9b4545}.journal-photo-actions button:disabled{opacity:.35}
.journal-photo-tip{margin:0;font-size:9px;line-height:1.65;color:#858d98}.journal-editor-save-card{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px}.journal-editor-save-card small{font-size:9px;line-height:1.55;color:#858d97}
.journal-editor-preview{padding:18px 24px 42px;background:linear-gradient(180deg,#edf1f5,#f6f8fa);overflow:auto}.journal-preview-toolbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 auto 12px;width:min(900px,100%);padding:9px 12px;border:1px solid rgba(209,215,223,.78);border-radius:14px;background:rgba(255,255,255,.9);backdrop-filter:blur(14px);box-shadow:0 8px 18px rgba(24,31,42,.05)}.journal-preview-toolbar>div{display:grid;gap:1px}.journal-preview-toolbar strong{font-size:11px;color:#2a333e}.journal-preview-toolbar span,.journal-preview-toolbar small{font-size:9px;color:#89919c}.journal-editor-preview .journal-document{width:min(900px,100%);margin-inline:auto}
@media(max-width:980px){.journal-editor-overlay{padding:0}.journal-editor-shell{height:100%;border-radius:0}.journal-editor-grid{display:flex;flex-direction:column;overflow:auto}.journal-editor-sidebar{overflow:visible;border-right:0}.journal-editor-preview{overflow:visible;padding:16px}.journal-preview-toolbar{position:relative}.journal-editor-head{position:sticky;top:0;z-index:40}.journal-save-state{display:none}}
@media(max-width:620px){.journal-editor-head{padding:12px 14px;min-height:64px}.journal-editor-titlecopy h2{font-size:17px}.journal-editor-titlecopy p{font-size:8px}.journal-editor-titlecopy span{font-size:9px}.journal-editor-head-actions .secondary-button{min-height:34px;padding:7px 10px;font-size:11px}.journal-editor-close{width:34px;height:34px}.journal-editor-sidebar{padding:10px;gap:9px}.journal-control-card{padding:13px;border-radius:16px}.journal-layout-grid{grid-template-columns:1fr 1fr}.journal-layout-grid button{min-height:62px;padding:8px}.journal-layout-grid button small{font-size:8px}.journal-photo-mini-grid{grid-template-columns:1fr}.journal-editor-save-card{grid-template-columns:1fr}.journal-editor-preview{padding:10px 8px 40px}.journal-preview-toolbar{width:calc(100% - 4px)}}

/* v17: richer holographic poster finish */
.wallet-static-poster-hologram,.wallet-static-poster-rainbow{position:absolute;inset:1px;z-index:7;border-radius:11px;pointer-events:none;transform:translateZ(15px);opacity:.72;transition:opacity .2s ease,filter .2s ease}
.wallet-static-poster-hologram{background:
  radial-gradient(circle at var(--poster-gx,50%) var(--poster-gy,50%),rgba(255,255,255,.9) 0 3%,rgba(116,233,255,.5) 10%,rgba(189,126,255,.34) 22%,rgba(255,128,185,.22) 34%,transparent 52%),
  conic-gradient(from 210deg at var(--poster-gx,50%) var(--poster-gy,50%),rgba(100,235,255,.28),rgba(163,112,255,.24),rgba(255,118,190,.26),rgba(255,226,108,.22),rgba(92,237,209,.24),rgba(100,235,255,.28));
  mix-blend-mode:screen;filter:saturate(1.35) contrast(1.04)}
.wallet-static-poster-rainbow{z-index:8;background:
  repeating-linear-gradient(118deg,rgba(255,64,160,.1) 0 8px,rgba(117,118,255,.1) 8px 16px,rgba(65,219,255,.1) 16px 24px,rgba(143,255,187,.08) 24px 32px,rgba(255,233,114,.09) 32px 40px,rgba(255,124,100,.08) 40px 48px),
  radial-gradient(circle at calc(var(--poster-gx,50%) + 10%) calc(var(--poster-gy,50%) - 8%),rgba(255,255,255,.54),transparent 28%);
  background-size:140% 140%,100% 100%;background-position:calc(var(--poster-gx,50%) * .18) calc(var(--poster-gy,50%) * .12),center;mix-blend-mode:color-dodge;opacity:.38;filter:saturate(1.45)}
.wallet-static-poster-acrylic.is-active .wallet-static-poster-hologram{opacity:.98;filter:saturate(1.55) contrast(1.08)}
.wallet-static-poster-acrylic.is-active .wallet-static-poster-rainbow{opacity:.66;filter:saturate(1.65)}
.wallet-static-poster-specular{z-index:9!important}

/* v17: classic back layout - official poster left, film introduction right */
.ticket-wallet-static-back{display:block!important;padding:22px!important;background:linear-gradient(148deg,#063f65 0%,#08364d 52%,#052537 100%)!important}
.ticket-wallet-back-layout-classic{display:grid;grid-template-columns:minmax(220px,270px) minmax(0,1fr);gap:22px;align-items:stretch;width:100%;min-height:416px}
.ticket-wallet-back-poster-classic{display:flex;align-items:center;justify-content:center;padding:13px;border-radius:22px;border:1px solid rgba(255,255,255,.2);background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.06));box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}
.ticket-wallet-official-poster{display:block;width:100%;height:100%;max-height:430px;object-fit:contain;border-radius:15px;background:#0b3141;box-shadow:0 18px 34px rgba(0,0,0,.24)}
.ticket-wallet-back-caption-classic{display:grid;grid-template-rows:auto auto 1fr auto auto;align-content:stretch;gap:15px;min-width:0;padding:18px 20px;border-radius:22px;border:1px solid rgba(255,255,255,.22);background:rgba(5,43,63,.64);backdrop-filter:blur(16px) saturate(128%);-webkit-backdrop-filter:blur(16px) saturate(128%);color:#fff}
.ticket-wallet-back-meta-compact{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 16px!important;margin:0!important}
.ticket-wallet-back-summary{display:grid;align-content:start;gap:8px;min-height:0;padding:14px 0 4px;border-top:1px solid rgba(255,255,255,.12)}
.ticket-wallet-back-summary>small{font-size:9px;font-weight:700;letter-spacing:.16em;color:#aeeaf1}
.ticket-wallet-back-summary p{margin:0;font-size:13px;line-height:1.9;color:rgba(243,251,252,.94);overflow-wrap:anywhere}
.ticket-wallet-back-actions-classic{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:4px}
.ticket-wallet-return-button{min-height:36px!important;padding:0 15px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.72)!important;background:#fff!important;color:#075c87!important;font-size:11px!important;font-weight:800!important;box-shadow:0 9px 18px rgba(0,0,0,.12)!important}
.ticket-wallet-return-button:hover{transform:translateX(-2px)!important}
@media(max-width:860px){.ticket-wallet-back-layout-classic{grid-template-columns:180px minmax(0,1fr);min-height:360px}.ticket-wallet-official-poster{max-height:340px}.ticket-wallet-back-caption-classic{padding:14px 16px}}
@media(max-width:560px){.ticket-wallet-static-back{padding:11px!important}.ticket-wallet-back-layout-classic{grid-template-columns:108px minmax(0,1fr);gap:10px;min-height:238px}.ticket-wallet-back-poster-classic{padding:6px;border-radius:14px}.ticket-wallet-official-poster{max-height:218px;border-radius:9px}.ticket-wallet-back-caption-classic{gap:8px;padding:8px 9px;border-radius:14px}.ticket-wallet-back-meta-compact{grid-template-columns:1fr 1fr!important;gap:5px 8px!important}.ticket-wallet-back-summary{gap:4px;padding-top:7px}.ticket-wallet-back-summary>small{font-size:7px}.ticket-wallet-back-summary p{font-size:9px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.ticket-wallet-back-actions-classic{gap:6px}.ticket-wallet-return-button{min-height:27px!important;padding:0 9px!important;font-size:8px!important}}

/* v17: explicit save-status button */
.topbar-save-state-button{display:inline-grid;grid-template-columns:8px auto;grid-template-areas:"dot label" "dot value";column-gap:8px;align-items:center;min-height:38px;padding:6px 12px;border-radius:13px;border:1px solid rgba(112,123,138,.16);background:rgba(255,255,255,.78);box-shadow:0 7px 16px rgba(23,28,36,.06);text-align:left;color:#29313c;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.topbar-save-state-button>i{grid-area:dot;width:8px;height:8px;border-radius:50%;background:#2fa66a;box-shadow:0 0 0 4px rgba(47,166,106,.1)}
.topbar-save-state-button>span{grid-area:label;font-size:9px;line-height:1.1;letter-spacing:.08em;color:#8a929c;text-transform:uppercase}
.topbar-save-state-button>strong{grid-area:value;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.3;font-weight:700;color:#4c5662}
.topbar-save-state-button.is-error>i{background:#c84c45;box-shadow:0 0 0 4px rgba(200,76,69,.1)}
.topbar-save-state-button:hover{background:#fff;transform:translateY(-1px)}
@media(max-width:760px){.topbar-save-state-button{padding:6px 9px;min-height:34px}.topbar-save-state-button>span{display:none}.topbar-save-state-button>strong{grid-area:label;max-width:112px;font-size:10px}.topbar-save-state-button{grid-template-areas:"dot label";grid-template-columns:7px auto}.topbar-save-status{display:none}}
@media(prefers-reduced-motion:reduce){.wallet-static-poster-hologram,.wallet-static-poster-rainbow{transition:none!important}.topbar-save-state-button:hover{transform:none!important}}

/* v17 static compatibility: same visual upgrades for the v16 static DOM */
.wallet-static-poster-specular{background:
  radial-gradient(circle at var(--poster-gx,50%) var(--poster-gy,50%),rgba(255,255,255,.94) 0 4%,rgba(110,235,255,.52) 10%,rgba(176,116,255,.32) 22%,rgba(255,118,188,.23) 34%,transparent 52%),
  conic-gradient(from 215deg at var(--poster-gx,50%) var(--poster-gy,50%),rgba(96,236,255,.32),rgba(166,115,255,.28),rgba(255,110,184,.28),rgba(255,226,112,.24),rgba(90,237,204,.27),rgba(96,236,255,.32)),
  linear-gradient(112deg,rgba(255,255,255,.32),transparent 32%,rgba(190,232,255,.18) 82%,transparent)!important;
  mix-blend-mode:screen!important;filter:saturate(1.55) contrast(1.05);opacity:.9!important}
.wallet-static-poster-acrylic-layer::before{content:"";position:absolute;inset:0;border-radius:inherit;background:repeating-linear-gradient(118deg,rgba(255,52,160,.09) 0 8px,rgba(117,118,255,.1) 8px 16px,rgba(65,219,255,.1) 16px 24px,rgba(143,255,187,.08) 24px 32px,rgba(255,233,114,.09) 32px 40px,rgba(255,124,100,.08) 40px 48px);mix-blend-mode:color-dodge;opacity:.48;pointer-events:none}
.wallet-static-poster-acrylic.is-active .wallet-static-poster-specular{opacity:1!important;filter:saturate(1.85) contrast(1.08)}
.wallet-static-poster-acrylic.is-active .wallet-static-poster-acrylic-layer::before{opacity:.72}

.ticket-wallet-static-back{display:grid!important;grid-template-columns:minmax(220px,270px) minmax(0,1fr)!important;gap:22px!important;align-items:stretch!important;padding:22px!important;background:linear-gradient(148deg,#063f65 0%,#08364d 52%,#052537 100%)!important}
.ticket-wallet-static-back-poster{grid-column:1;display:flex!important;align-items:center!important;justify-content:center!important;min-height:100%!important;padding:13px!important;border-radius:22px!important;border:1px solid rgba(255,255,255,.2)!important;background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.06))!important}
.ticket-wallet-static-back-poster img{display:block!important;width:100%!important;height:100%!important;max-height:430px!important;object-fit:contain!important;border-radius:15px!important;background:#0b3141!important;box-shadow:0 18px 34px rgba(0,0,0,.24)!important}
.ticket-wallet-static-back-copy{grid-column:2;display:grid!important;grid-template-rows:auto auto 1fr auto auto;align-content:stretch!important;gap:15px!important;min-width:0!important;padding:18px 20px!important;border-radius:22px;border:1px solid rgba(255,255,255,.22);background:rgba(5,43,63,.64);backdrop-filter:blur(16px) saturate(128%);-webkit-backdrop-filter:blur(16px) saturate(128%)}
.ticket-wallet-static-back-copy .ticket-wallet-back-intro{margin:0;padding:14px 0 4px;border-top:1px solid rgba(255,255,255,.12);font-size:13px!important;line-height:1.9!important;color:rgba(243,251,252,.94)!important;display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important}
.ticket-wallet-static-back-copy .ticket-wallet-back-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:4px}
.ticket-wallet-static-back-copy .ticket-wallet-back-actions button{min-height:36px!important;padding:0 15px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.72)!important;background:#fff!important;color:#075c87!important;font-size:11px!important;font-weight:800!important;box-shadow:0 9px 18px rgba(0,0,0,.12)!important}
.ticket-wallet-static-back-copy .ticket-wallet-back-actions button::before{content:"← ";font-weight:800}
@media(max-width:860px){.ticket-wallet-static-back{grid-template-columns:180px minmax(0,1fr)!important}.ticket-wallet-static-back-copy{padding:14px 16px!important}.ticket-wallet-static-back-poster img{max-height:340px!important}}
@media(max-width:560px){.ticket-wallet-static-back{grid-template-columns:108px minmax(0,1fr)!important;gap:10px!important;padding:11px!important;min-height:238px!important}.ticket-wallet-static-back-poster{padding:6px!important;border-radius:14px!important}.ticket-wallet-static-back-poster img{max-height:218px!important;border-radius:9px!important}.ticket-wallet-static-back-copy{gap:8px!important;padding:8px 9px!important;border-radius:14px}.ticket-wallet-static-back-copy .ticket-wallet-back-intro{padding-top:7px;font-size:9px!important;line-height:1.5!important;display:-webkit-box!important;-webkit-line-clamp:5!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.ticket-wallet-static-back-copy .ticket-wallet-back-actions button{min-height:27px!important;padding:0 9px!important;font-size:8px!important}}

.topbar-save-status{display:inline-flex!important;align-items:center;gap:7px;min-height:36px;padding:7px 11px;border-radius:13px;border:1px solid rgba(112,123,138,.16);background:rgba(255,255,255,.78);box-shadow:0 7px 16px rgba(23,28,36,.06);font-size:11px!important;font-weight:700;color:#4c5662!important;white-space:nowrap}
.topbar-save-status::before{content:"";width:8px;height:8px;border-radius:50%;background:#2fa66a;box-shadow:0 0 0 4px rgba(47,166,106,.1)}
.topbar-save-status::after{content:" · 保存状态";order:-1;font-size:9px;font-weight:600;letter-spacing:.06em;color:#8a929c}
@media(max-width:760px){.topbar-save-status{min-height:34px;max-width:132px;overflow:hidden;text-overflow:ellipsis}.topbar-save-status::after{display:none}}

/* v18 static hotfix: isolate ticket faces to prevent mirrored front on back */
.ticket-wallet-static-card{perspective:1800px!important;overflow:visible!important}
.ticket-wallet-static-flipper{display:grid!important;transform:none!important;filter:none!important;transform-style:preserve-3d!important;position:relative!important}
.ticket-wallet-static-face{grid-area:1/1!important;-webkit-backface-visibility:hidden!important;backface-visibility:hidden!important;transform-style:preserve-3d!important;will-change:transform,opacity!important;transition:transform .78s cubic-bezier(.2,.78,.18,1),opacity .28s ease,visibility 0s linear .38s!important}
.ticket-wallet-static-front-face{transform:rotateY(0deg)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:2!important}
.ticket-wallet-static-back-face{transform:rotateY(180deg)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;z-index:1!important}
.ticket-wallet-static-card.show-back .ticket-wallet-static-front-face{transform:rotateY(-180deg)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;z-index:1!important}
.ticket-wallet-static-card.show-back .ticket-wallet-static-back-face{transform:rotateY(0deg)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:3!important;transition:transform .78s cubic-bezier(.2,.78,.18,1),opacity .34s ease,visibility 0s linear 0s!important}
.ticket-wallet-static-back-face *{-webkit-backface-visibility:hidden!important;backface-visibility:hidden!important}
.ticket-wallet-static-back{overflow:hidden!important;isolation:isolate!important}
.ticket-wallet-static-back::before,.ticket-wallet-static-back::after{display:none!important}
.ticket-wallet-official-poster{display:block!important;width:100%!important;height:100%!important;max-height:430px!important;object-fit:contain!important;opacity:1!important;visibility:visible!important;background:#f3efe7!important}
.ticket-wallet-back-poster-classic{background:rgba(255,255,255,.09)!important;display:flex!important;align-items:center!important;justify-content:center!important}
.ticket-wallet-return-button{pointer-events:auto!important;position:relative!important;z-index:20!important}

/* seat recording added without disturbing route layout */
.route-seat-trigger-v18{font-weight:700!important;color:#075c87!important}
.route-seat-editor-v18{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(220px,1.3fr) auto auto;gap:10px;align-items:center;margin-top:14px;padding:13px 14px;border:1px solid rgba(11,85,107,.16);border-radius:16px;background:linear-gradient(135deg,#f7fbfb,#fffaf4);box-shadow:0 10px 22px rgba(23,38,49,.05)}
.route-seat-editor-v18>div{display:grid;gap:2px}.route-seat-editor-v18 small{font-size:9px;letter-spacing:.12em;color:#6b7d84}.route-seat-editor-v18 strong{font-size:12px;line-height:1.45;color:#26333a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-seat-editor-v18 input{min-width:0;min-height:40px;padding:9px 12px;border:1px solid #d4dce2;border-radius:11px;background:#fff;font-size:13px;color:#1e2930}.route-seat-editor-v18 button{min-height:38px;padding:8px 13px;border-radius:999px;border:1px solid #d5dce3;background:#fff;font-size:12px;font-weight:700}.route-seat-editor-v18 .is-primary{background:#17394c;color:#fff;border-color:#17394c}
.ticket-wallet-seat-chip-v18{display:flex;align-items:center;gap:10px;width:max-content;max-width:100%;margin:2px 0;padding:8px 12px;border:1px solid rgba(11,85,107,.14);border-radius:999px;background:linear-gradient(135deg,rgba(101,184,194,.13),rgba(201,111,92,.1));color:#173542}.ticket-wallet-seat-chip-v18 small{font-size:9px;letter-spacing:.12em;color:#647780}.ticket-wallet-seat-chip-v18 strong{font-size:13px;overflow-wrap:anywhere}

/* share poster action */
.route-poster-export-v18{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 16px;border-radius:11px;border:1px solid #d9dde3;background:#fff;color:#1d1d1f;font-size:14px;font-weight:500;white-space:nowrap;cursor:pointer}.route-poster-export-v18:hover{background:#f0f3f7}.route-poster-export-v18:disabled{opacity:.55;cursor:wait}
.route-export-toast-v18{position:fixed;left:50%;bottom:88px;z-index:250;transform:translateX(-50%);padding:11px 16px;border-radius:999px;background:rgba(19,29,36,.9);color:#fff;font-size:12px;font-weight:700;box-shadow:0 12px 28px rgba(0,0,0,.18);backdrop-filter:blur(12px)}

@media(max-width:860px){.route-seat-editor-v18{grid-template-columns:1fr 1fr}.route-seat-editor-v18>div,.route-seat-editor-v18 input{grid-column:1/-1}}
@media(max-width:560px){.ticket-wallet-static-card{overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;padding-bottom:4px}.ticket-wallet-static-flipper{min-width:720px!important}.route-seat-editor-v18{grid-template-columns:1fr}.route-seat-editor-v18>*{grid-column:1!important;width:100%}.ticket-wallet-official-poster{max-height:340px!important}}
@media(prefers-reduced-motion:reduce){.ticket-wallet-static-face{transition:none!important}}

/* v19 EdgeOne patch: official poster + Apple-like ticket flip */
.ticket-wallet-static-card{perspective:2200px!important;-webkit-perspective:2200px!important;overflow:visible!important}
.ticket-wallet-static-flipper{display:grid!important;position:relative!important;transform:rotateY(0deg)!important;-webkit-transform:rotateY(0deg)!important;transform-style:preserve-3d!important;-webkit-transform-style:preserve-3d!important;transform-origin:center center!important;filter:none!important;will-change:transform,filter!important;transition:transform .92s cubic-bezier(.22,1,.36,1),filter .56s cubic-bezier(.22,1,.36,1)!important}
.ticket-wallet-static-card.show-back .ticket-wallet-static-flipper{transform:rotateY(180deg)!important;-webkit-transform:rotateY(180deg)!important;filter:drop-shadow(0 26px 36px rgba(17,27,37,.13))!important}
.ticket-wallet-static-face{grid-area:1/1!important;position:relative!important;opacity:1!important;visibility:visible!important;-webkit-backface-visibility:hidden!important;backface-visibility:hidden!important;transform-style:flat!important;-webkit-transform-style:flat!important;transition:none!important}
.ticket-wallet-static-front-face{transform:translateZ(1px) rotateY(0deg)!important;-webkit-transform:translateZ(1px) rotateY(0deg)!important;z-index:2!important;pointer-events:auto!important}
.ticket-wallet-static-back-face{transform:translateZ(1px) rotateY(180deg)!important;-webkit-transform:translateZ(1px) rotateY(180deg)!important;z-index:1!important;pointer-events:none!important}
.ticket-wallet-static-card.show-back .ticket-wallet-static-front-face{transform:translateZ(1px) rotateY(0deg)!important;-webkit-transform:translateZ(1px) rotateY(0deg)!important;z-index:1!important;pointer-events:none!important}
.ticket-wallet-static-card.show-back .ticket-wallet-static-back-face{transform:translateZ(1px) rotateY(180deg)!important;-webkit-transform:translateZ(1px) rotateY(180deg)!important;z-index:2!important;pointer-events:auto!important}
.ticket-wallet-static-back-face *{-webkit-backface-visibility:hidden!important;backface-visibility:hidden!important}
.ticket-wallet-static .ticket-wallet-back-actions button,.ticket-wallet-return-button{transition:transform .5s cubic-bezier(.22,1,.36,1),box-shadow .5s cubic-bezier(.22,1,.36,1)!important}
.ticket-wallet-static .ticket-wallet-back-actions button:hover,.ticket-wallet-return-button:hover{transform:translateY(-1px) scale(1.01)!important;box-shadow:0 14px 26px rgba(0,0,0,.16)!important}
.ticket-wallet-static-back-poster img{display:block!important;width:100%!important;height:100%!important;max-height:430px!important;object-fit:contain!important;border-radius:12px!important;background:#f4efe7!important;opacity:1!important;visibility:visible!important}
@media(prefers-reduced-motion:reduce){.ticket-wallet-static-flipper{transition:none!important}}

/* v19 journal format demo board */
.v19-journal-demos{margin-top:30px;padding:26px;border:1px solid #dfe4ea;border-radius:28px;background:linear-gradient(180deg,#fff 0%,#f7f9fc 100%);box-shadow:0 16px 34px rgba(24,34,44,.05)}
.v19-journal-demos__head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}.v19-journal-demos__head small{font-size:11px;letter-spacing:.16em;color:#76818b}.v19-journal-demos__head h2{margin:6px 0 8px;font-size:30px;letter-spacing:-.03em;color:#202932}.v19-journal-demos__head p{max-width:840px;margin:0;color:#69747e;font-size:13px;line-height:1.9}
.v19-journal-demos__body{display:grid;grid-template-columns:230px minmax(0,1fr);gap:22px;align-items:start}.v19-journal-demos__nav{display:grid;gap:10px;position:sticky;top:88px}.v19-journal-demo-btn{display:grid;gap:5px;padding:14px;border:1px solid #dde3e9;border-radius:16px;background:#fff;text-align:left;box-shadow:0 8px 18px rgba(28,39,50,.04);cursor:pointer}.v19-journal-demo-btn small{font-size:10px;letter-spacing:.11em;color:#78838e}.v19-journal-demo-btn strong{font-size:15px;color:#26313b}.v19-journal-demo-btn span{font-size:11px;line-height:1.6;color:#747e87}.v19-journal-demo-btn.is-active{border-color:#0d647a;background:linear-gradient(180deg,#f6fbfc,#edf7f8);box-shadow:0 14px 24px rgba(10,83,101,.08)}
.v19-journal-demo-stage{min-width:0;border-radius:24px;background:#edf1f4;padding:22px;overflow:hidden}.v19-journal-sheet{position:relative;min-height:720px;padding:36px 38px 34px;border-radius:22px;background:#fbfaf6;box-shadow:0 22px 52px rgba(28,32,38,.13);overflow:hidden}.v19-journal-sheet::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle at 20% 20%,rgba(95,80,58,.035) 0 1px,transparent 1.5px);background-size:11px 11px;opacity:.65}.v19-journal-sheet>*{position:relative;z-index:1}
.v19-journal-sheet__mast{display:flex;justify-content:space-between;gap:14px;padding-bottom:13px;border-bottom:1px solid #aeb6bc;font-size:11px;letter-spacing:.12em;color:#65717b}.v19-journal-sheet__title{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:start;margin:24px 0 20px}.v19-journal-sheet__title small{font-size:11px;letter-spacing:.12em;color:#946552}.v19-journal-sheet__title h3{margin:8px 0 5px;font-size:40px;line-height:1.05;color:#222a32}.v19-journal-sheet__title p{margin:0;color:#737e87;font-size:13px}.v19-journal-sheet__title img{width:92px;height:132px;object-fit:cover;border-radius:8px;box-shadow:0 13px 24px rgba(20,24,28,.14)}.v19-journal-sheet__story{margin:0 0 22px;padding:16px 18px;border-radius:18px;background:rgba(255,248,236,.78);font-size:14px;line-height:1.9;color:#3e4952}.v19-journal-comments{display:grid;gap:8px;margin-top:20px;padding-top:16px;border-top:1px dashed #b9c0c7}.v19-journal-comments strong{font-size:11px;letter-spacing:.12em;color:#78838c}.v19-journal-comments p{margin:0;padding-left:12px;border-left:2px solid #8ca6b2;font-size:12px;line-height:1.75;color:#59656f}
.v19-layout-scrapbook{position:relative;min-height:390px}.v19-layout-scrapbook figure{position:absolute;margin:0;padding:9px 9px 30px;background:#fff;box-shadow:0 15px 26px rgba(28,30,32,.16);transform-origin:center}.v19-layout-scrapbook figure img{display:block;width:100%;height:100%;object-fit:cover}.v19-layout-scrapbook figure:nth-child(1){left:3%;top:18px;width:34%;height:245px;transform:rotate(-4deg)}.v19-layout-scrapbook figure:nth-child(2){left:34%;top:0;width:30%;height:210px;transform:rotate(3deg)}.v19-layout-scrapbook figure:nth-child(3){right:4%;top:66px;width:31%;height:235px;transform:rotate(-1deg)}.v19-layout-scrapbook figure:nth-child(4){left:28%;top:208px;width:38%;height:170px;transform:rotate(2deg)}.v19-layout-scrapbook figure::before{content:"";position:absolute;left:22%;top:-10px;width:56px;height:20px;background:rgba(234,219,183,.8);transform:rotate(-7deg)}
.v19-layout-editorial{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.v19-layout-editorial .v19-editorial-photo{min-height:320px;border-radius:16px;overflow:hidden;background:#ddd}.v19-layout-editorial img{width:100%;height:100%;object-fit:cover}.v19-layout-editorial article{display:grid;align-content:start;gap:14px;padding:18px;border:1px solid #e0e3e6;border-radius:18px;background:#fff}.v19-layout-editorial article h4{margin:0;font-size:25px}.v19-layout-editorial article p{margin:0;font-size:13px;line-height:1.95;color:#59636d}
.v19-layout-gallery{display:grid;grid-template-columns:1.4fr .8fr;grid-template-rows:1fr 1fr;gap:12px;min-height:380px}.v19-layout-gallery figure{margin:0;overflow:hidden;border-radius:15px;background:#ddd}.v19-layout-gallery figure:first-child{grid-row:1/3}.v19-layout-gallery img{width:100%;height:100%;object-fit:cover}
.v19-layout-contact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.v19-layout-contact figure{margin:0;aspect-ratio:3/4;padding:6px 6px 22px;background:#fff;box-shadow:0 10px 18px rgba(31,34,38,.1)}.v19-layout-contact img{width:100%;height:100%;object-fit:cover}.v19-demo-note{margin-top:16px;font-size:11px;line-height:1.7;color:#78818b}
@media(max-width:760px){.v19-journal-demos{padding:18px}.v19-journal-demos__head{align-items:flex-start;flex-direction:column}.v19-journal-demos__body{display:block}.v19-journal-demos__nav{position:static;display:flex;overflow-x:auto;margin-bottom:16px}.v19-journal-demo-btn{min-width:210px;flex:0 0 auto}.v19-journal-demo-stage{padding:12px}.v19-journal-sheet{min-width:680px}.v19-journal-demo-stage{overflow-x:auto}}

/* v20 wallet reliability: independent faces with Apple-like depth/easing */
.ticket-wallet-static-card{perspective:1800px!important;-webkit-perspective:1800px!important;overflow:visible!important}
.ticket-wallet-static-flipper{display:grid!important;position:relative!important;transform:none!important;-webkit-transform:none!important;filter:none!important;transform-style:preserve-3d!important;-webkit-transform-style:preserve-3d!important;min-height:460px!important}
.ticket-wallet-static-face{grid-area:1/1!important;position:relative!important;width:100%!important;min-height:460px!important;transform-origin:center center!important;-webkit-backface-visibility:visible!important;backface-visibility:visible!important;will-change:transform,opacity!important;transition:transform .72s cubic-bezier(.22,1,.36,1),opacity .42s cubic-bezier(.22,1,.36,1),filter .72s cubic-bezier(.22,1,.36,1)!important}
.ticket-wallet-static-front-face{opacity:1!important;visibility:visible!important;transform:translate3d(0,0,0) rotateY(0deg) scale(1)!important;-webkit-transform:translate3d(0,0,0) rotateY(0deg) scale(1)!important;z-index:2!important;pointer-events:auto!important;filter:none!important}
.ticket-wallet-static-back-face{opacity:0!important;visibility:visible!important;transform:translate3d(20px,0,0) rotateY(10deg) scale(.985)!important;-webkit-transform:translate3d(20px,0,0) rotateY(10deg) scale(.985)!important;z-index:1!important;pointer-events:none!important;filter:blur(1.5px)!important}
.ticket-wallet-static-card.show-back .ticket-wallet-static-front-face{opacity:0!important;transform:translate3d(-20px,0,0) rotateY(-10deg) scale(.985)!important;-webkit-transform:translate3d(-20px,0,0) rotateY(-10deg) scale(.985)!important;z-index:1!important;pointer-events:none!important;filter:blur(1.5px)!important}
.ticket-wallet-static-card.show-back .ticket-wallet-static-back-face{opacity:1!important;transform:translate3d(0,0,0) rotateY(0deg) scale(1)!important;-webkit-transform:translate3d(0,0,0) rotateY(0deg) scale(1)!important;z-index:3!important;pointer-events:auto!important;filter:none!important}
.ticket-wallet-static-back-face{isolation:isolate!important;background:linear-gradient(145deg,#073d54,#0b5368 48%,#12394b)!important}
.ticket-wallet-static-back-poster{position:relative!important;z-index:3!important}
.ticket-wallet-static-back-poster img{display:block!important;width:100%!important;height:auto!important;max-height:430px!important;object-fit:contain!important;opacity:1!important;visibility:visible!important;filter:none!important;transform:none!important;-webkit-transform:none!important;background:#f5f1ea!important}
.ticket-wallet-static-back-copy{position:relative!important;z-index:4!important}
.ticket-wallet-static-back-copy .ticket-wallet-back-actions{position:relative!important;z-index:8!important;pointer-events:auto!important}
.ticket-wallet-static-back-copy .ticket-wallet-back-actions button{position:relative!important;z-index:9!important;pointer-events:auto!important;transition:transform .48s cubic-bezier(.22,1,.36,1),box-shadow .48s cubic-bezier(.22,1,.36,1)!important}
.ticket-wallet-static-back-copy .ticket-wallet-back-actions button:hover{transform:translateY(-1px) scale(1.012)!important;box-shadow:0 14px 28px rgba(0,0,0,.18)!important}
@media(max-width:560px){.ticket-wallet-static-flipper,.ticket-wallet-static-face{min-width:720px!important;min-height:410px!important}}
@media(prefers-reduced-motion:reduce){.ticket-wallet-static-face{transition:none!important}}

/* v20 demo pages using CC0 / public-domain cinema photography */
.v20-journal-demos{margin-top:30px;padding:26px;border:1px solid #dfe4ea;border-radius:28px;background:linear-gradient(180deg,#fff 0%,#f7f9fc 100%);box-shadow:0 16px 34px rgba(24,34,44,.05)}
.v20-journal-demos__head{margin-bottom:22px}.v20-journal-demos__head small{font-size:11px;letter-spacing:.16em;color:#76818b}.v20-journal-demos__head h2{margin:6px 0 8px;font-size:30px;letter-spacing:-.03em;color:#202932}.v20-journal-demos__head p{max-width:860px;margin:0;color:#69747e;font-size:13px;line-height:1.9}
.v20-journal-demos__body{display:grid;grid-template-columns:230px minmax(0,1fr);gap:22px;align-items:start}.v20-journal-demos__nav{display:grid;gap:10px;position:sticky;top:88px}.v20-journal-demo-btn{display:grid;gap:5px;padding:14px;border:1px solid #dde3e9;border-radius:16px;background:#fff;text-align:left;box-shadow:0 8px 18px rgba(28,39,50,.04);cursor:pointer}.v20-journal-demo-btn small{font-size:10px;letter-spacing:.11em;color:#78838e}.v20-journal-demo-btn strong{font-size:15px;color:#26313b}.v20-journal-demo-btn span{font-size:11px;line-height:1.6;color:#747e87}.v20-journal-demo-btn.is-active{border-color:#0d647a;background:linear-gradient(180deg,#f6fbfc,#edf7f8);box-shadow:0 14px 24px rgba(10,83,101,.08)}
.v20-journal-demo-stage{min-width:0;border-radius:24px;background:#edf1f4;padding:22px;overflow:hidden}.v20-journal-sheet{position:relative;min-height:720px;padding:36px 38px 34px;border-radius:22px;background:#fbfaf6;box-shadow:0 22px 52px rgba(28,32,38,.13);overflow:hidden}.v20-journal-sheet::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle at 20% 20%,rgba(95,80,58,.035) 0 1px,transparent 1.5px);background-size:11px 11px;opacity:.65}.v20-journal-sheet>*{position:relative;z-index:1}
.v20-journal-sheet__mast{display:flex;justify-content:space-between;gap:14px;padding-bottom:13px;border-bottom:1px solid #aeb6bc;font-size:11px;letter-spacing:.12em;color:#65717b}.v20-journal-sheet__title{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:start;margin:24px 0 20px}.v20-journal-sheet__title small{font-size:11px;letter-spacing:.12em;color:#946552}.v20-journal-sheet__title h3{margin:8px 0 5px;font-size:40px;line-height:1.05;color:#222a32}.v20-journal-sheet__title p{margin:0;color:#737e87;font-size:13px}.v20-journal-sheet__title img{width:92px;height:132px;object-fit:cover;border-radius:8px;box-shadow:0 13px 24px rgba(20,24,28,.14)}.v20-journal-sheet__story{margin:0 0 22px;padding:16px 18px;border-radius:18px;background:rgba(255,248,236,.78);font-size:14px;line-height:1.9;color:#3e4952}.v20-journal-comments{display:grid;gap:8px;margin-top:20px;padding-top:16px;border-top:1px dashed #b9c0c7}.v20-journal-comments strong{font-size:11px;letter-spacing:.12em;color:#78838c}.v20-journal-comments p{margin:0;padding-left:12px;border-left:2px solid #8ca6b2;font-size:12px;line-height:1.75;color:#59656f}
.v20-layout-scrapbook{position:relative;min-height:390px}.v20-layout-scrapbook figure{position:absolute;margin:0;padding:9px 9px 30px;background:#fff;box-shadow:0 15px 26px rgba(28,30,32,.16);transform-origin:center}.v20-layout-scrapbook figure img{display:block;width:100%;height:100%;object-fit:cover}.v20-layout-scrapbook figure:nth-child(1){left:3%;top:18px;width:34%;height:245px;transform:rotate(-4deg)}.v20-layout-scrapbook figure:nth-child(2){left:34%;top:0;width:30%;height:210px;transform:rotate(3deg)}.v20-layout-scrapbook figure:nth-child(3){right:4%;top:66px;width:31%;height:235px;transform:rotate(-1deg)}.v20-layout-scrapbook figure:nth-child(4){left:28%;top:208px;width:38%;height:170px;transform:rotate(2deg)}.v20-layout-scrapbook figure::before{content:"";position:absolute;left:22%;top:-10px;width:56px;height:20px;background:rgba(234,219,183,.8);transform:rotate(-7deg)}
.v20-layout-editorial{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.v20-layout-editorial .v20-editorial-photo{min-height:320px;border-radius:16px;overflow:hidden;background:#ddd}.v20-layout-editorial img{width:100%;height:100%;object-fit:cover;border-radius:12px}.v20-layout-editorial article{display:grid;align-content:start;gap:14px;padding:18px;border:1px solid #e0e3e6;border-radius:18px;background:#fff}.v20-layout-editorial article h4{margin:0;font-size:25px}.v20-layout-editorial article p{margin:0;font-size:13px;line-height:1.95;color:#59636d}
.v20-layout-gallery{display:grid;grid-template-columns:1.4fr .8fr;grid-template-rows:1fr 1fr;gap:12px;min-height:380px}.v20-layout-gallery figure{margin:0;overflow:hidden;border-radius:15px;background:#ddd}.v20-layout-gallery figure:first-child{grid-row:1/3}.v20-layout-gallery img{width:100%;height:100%;object-fit:cover}.v20-layout-contact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.v20-layout-contact figure{margin:0;aspect-ratio:3/4;padding:6px 6px 22px;background:#fff;box-shadow:0 10px 18px rgba(31,34,38,.1)}.v20-layout-contact img{width:100%;height:100%;object-fit:cover}.v20-demo-note{margin-top:16px;font-size:11px;line-height:1.7;color:#78818b}.v20-stock-credit{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px;padding-top:16px;border-top:1px solid #e3e8ed}.v20-stock-credit strong{width:100%;font-size:11px;color:#586570}.v20-stock-credit a{font-size:10px;color:#0b6478;text-decoration:none;border:1px solid #d6e1e5;border-radius:999px;padding:6px 9px;background:#fff}

/* v20 free-form journal workbench */
.v20-freeform-open{overflow:hidden!important}.v20-freeform-launch{white-space:nowrap}
.v20-freeform-modal{position:fixed;inset:0;z-index:500;background:rgba(12,18,25,.5);backdrop-filter:blur(14px) saturate(120%);-webkit-backdrop-filter:blur(14px) saturate(120%);padding:20px;display:flex;align-items:stretch;justify-content:center}
.v20-freeform-shell{width:min(1500px,100%);height:100%;display:flex;flex-direction:column;border-radius:28px;overflow:hidden;background:#eef2f5;box-shadow:0 36px 90px rgba(0,0,0,.3)}
.v20-freeform-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;background:rgba(255,255,255,.92);border-bottom:1px solid #d9e0e6}.v20-freeform-header>div:first-child{display:grid;gap:4px}.v20-freeform-header span{font-size:10px;letter-spacing:.14em;color:#75808a}.v20-freeform-header strong{font-size:18px;color:#202a34}.v20-freeform-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.v20-save-state{padding:8px 10px;border-radius:999px;background:#edf7ef;color:#356343!important;font-size:10px!important;letter-spacing:0!important}.v20-freeform-header button{min-height:36px;padding:8px 13px;border-radius:999px;border:1px solid #d5dde4;background:#fff;color:#26323b;font-size:12px;font-weight:700}.v20-freeform-header button[data-action="export"]{background:#172b3b;color:#fff;border-color:#172b3b}.v20-freeform-header button[data-action="close"]{width:38px;padding:0;font-size:20px}
.v20-freeform-main{display:grid;grid-template-columns:330px minmax(0,1fr);min-height:0;flex:1}.v20-freeform-sidebar{overflow:auto;padding:18px;background:#f9fbfc;border-right:1px solid #dce3e8;display:grid;align-content:start;gap:14px}.v20-freeform-sidebar section{display:grid;gap:9px;padding:14px;border:1px solid #dfe5ea;border-radius:16px;background:#fff;box-shadow:0 7px 16px rgba(32,46,58,.035)}.v20-freeform-sidebar label,.v20-freeform-sidebar section>strong{font-size:11px;font-weight:800;color:#52606b;letter-spacing:.03em}.v20-freeform-sidebar input[type="text"],.v20-freeform-sidebar textarea,.v20-freeform-sidebar select{width:100%;min-height:38px;border:1px solid #d6dde4;border-radius:10px;background:#fff;padding:8px 10px;color:#1f2a33;font-size:12px}.v20-freeform-sidebar textarea{min-height:80px;resize:vertical;line-height:1.6}.v20-freeform-sidebar input[type="range"]{width:100%}.v20-freeform-sidebar input[type="color"]{width:42px;height:34px;padding:2px;border:1px solid #d6dde4;border-radius:9px;background:#fff}.v20-inline{display:flex;gap:8px;align-items:center}.v20-inline select{flex:1}.v20-inline button,.v20-tool-grid button,.v20-upload-btn,.v20-control-row button{min-height:36px;border:1px solid #d6dde4;border-radius:10px;background:#f8fafb;color:#27343d;font-size:11px;font-weight:700;padding:8px 10px;cursor:pointer}.v20-inline button[data-bg]{font-size:10px;padding:7px 8px}.v20-tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.v20-tool-grid button[data-action="importCurrent"]{grid-column:1/-1}.v20-upload-btn{display:flex!important;align-items:center;justify-content:center;position:relative}.v20-upload-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}.v20-selection-panel [data-role="selectionControls"]{display:grid;gap:8px}.v20-selection-panel p,.v20-font-license p{margin:0;font-size:11px;line-height:1.7;color:#78838c}.v20-control-row{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.v20-control-row button:last-child{color:#a23a38;background:#fff5f4;border-color:#ecd2cf}.v20-font-license{background:#f8f5ef!important}
.v20-freeform-workarea{min-width:0;overflow:hidden;display:flex;flex-direction:column;background:linear-gradient(180deg,#dfe6eb,#eef2f5)}.v20-stage-ruler{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;color:#66727d;font-size:11px;border-bottom:1px solid rgba(174,185,195,.55)}.v20-stage-ruler span{font-weight:800;color:#35414b}.v20-freeform-stage-scroll{overflow:auto;padding:28px;display:flex;justify-content:center;align-items:flex-start;flex:1}.v20-freeform-stage{position:relative;width:760px;height:1050px;flex:0 0 760px;border-radius:4px;background:#f6f0e4;box-shadow:0 26px 56px rgba(24,30,36,.22);overflow:hidden;touch-action:none;background-image:radial-gradient(circle at 20% 20%,rgba(80,70,55,.035) 0 1px,transparent 1.6px);background-size:13px 13px}.v20-freeform-stage::before{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(80,88,94,.08),inset 0 0 80px rgba(92,81,67,.03)}
.v20-free-layer{position:absolute;transform-origin:center;user-select:none;touch-action:none}.v20-free-layer.is-selected{outline:1.5px solid #1383a1;outline-offset:5px}.v20-free-layer.is-image img{display:block;width:100%;height:100%;object-fit:cover;border-radius:2px;box-shadow:0 12px 22px rgba(21,24,28,.16)}.v20-free-layer.is-text{min-height:44px;line-height:1.42}.v20-text-content{min-height:40px;outline:none;white-space:pre-wrap;word-break:break-word;user-select:text}.v20-layer-handle{position:absolute;left:-4px;top:-28px;z-index:4;min-height:24px;padding:4px 7px;border:0;border-radius:8px;background:rgba(15,35,49,.84);color:#fff;font-size:9px;font-weight:700;opacity:0;transform:translateY(3px);transition:opacity .16s ease,transform .16s ease;cursor:grab}.v20-free-layer.is-selected .v20-layer-handle,.v20-free-layer:hover .v20-layer-handle{opacity:1;transform:none}.v20-resize-handle{position:absolute;right:-11px;bottom:-11px;width:24px;height:24px;border-radius:50%;border:3px solid #fff;background:#1383a1;box-shadow:0 5px 12px rgba(0,0,0,.2);cursor:nwse-resize;opacity:0}.v20-free-layer.is-selected .v20-resize-handle{opacity:1}

@media(max-width:980px){.v20-journal-demos{padding:18px}.v20-journal-demos__body{display:block}.v20-journal-demos__nav{position:static;display:flex;overflow-x:auto;margin-bottom:16px}.v20-journal-demo-btn{min-width:210px;flex:0 0 auto}.v20-journal-demo-stage{overflow-x:auto;padding:12px}.v20-journal-sheet{min-width:680px}.v20-freeform-modal{padding:0}.v20-freeform-shell{border-radius:0}.v20-freeform-main{grid-template-columns:280px minmax(0,1fr)}}
@media(max-width:700px){.v20-freeform-header{align-items:flex-start;flex-direction:column}.v20-freeform-header-actions{width:100%;justify-content:flex-start}.v20-freeform-main{display:block;overflow:auto}.v20-freeform-sidebar{border-right:0;border-bottom:1px solid #dce3e8;max-height:44vh}.v20-freeform-workarea{min-height:70vh}.v20-freeform-stage-scroll{justify-content:flex-start;padding:20px}.v20-control-row{grid-template-columns:1fr 1fr}.v20-journal-demos__head h2{font-size:26px}}

/* v21 — definitive wallet back-face fix: independent Apple-style depth transition, never mirrored */
.ticket-wallet-static-card{perspective:1600px!important;-webkit-perspective:1600px!important;overflow:visible!important}
.ticket-wallet-static-flipper{display:grid!important;position:relative!important;transform:none!important;-webkit-transform:none!important;filter:none!important;min-height:460px!important;transform-style:flat!important;-webkit-transform-style:flat!important}
.ticket-wallet-static-face{grid-area:1/1!important;position:relative!important;width:100%!important;min-height:460px!important;-webkit-backface-visibility:visible!important;backface-visibility:visible!important;transform-origin:center center!important;will-change:opacity,transform,filter!important;transition:opacity .42s cubic-bezier(.22,1,.36,1),transform .68s cubic-bezier(.22,1,.36,1),filter .52s cubic-bezier(.22,1,.36,1)!important}
.ticket-wallet-static-front-face{opacity:1!important;visibility:visible!important;transform:translate3d(0,0,0) scale(1)!important;-webkit-transform:translate3d(0,0,0) scale(1)!important;filter:none!important;z-index:2!important;pointer-events:auto!important}
.ticket-wallet-static-back-face{opacity:0!important;visibility:visible!important;transform:translate3d(26px,0,0) scale(.982)!important;-webkit-transform:translate3d(26px,0,0) scale(.982)!important;filter:blur(1.2px)!important;z-index:1!important;pointer-events:none!important}
.ticket-wallet-static-card.show-back .ticket-wallet-static-front-face{opacity:0!important;transform:translate3d(-26px,0,0) scale(.982)!important;-webkit-transform:translate3d(-26px,0,0) scale(.982)!important;filter:blur(1.2px)!important;z-index:1!important;pointer-events:none!important}
.ticket-wallet-static-card.show-back .ticket-wallet-static-back-face{opacity:1!important;transform:translate3d(0,0,0) scale(1)!important;-webkit-transform:translate3d(0,0,0) scale(1)!important;filter:none!important;z-index:4!important;pointer-events:auto!important}
.ticket-wallet-static-back,.ticket-wallet-static-back-copy,.ticket-wallet-static-back-poster,.ticket-wallet-static-back-poster img,.ticket-wallet-static-back-face .ticket-wallet-back-film-head,.ticket-wallet-static-back-face .ticket-wallet-back-meta,.ticket-wallet-static-back-face .ticket-wallet-back-intro,.ticket-wallet-static-back-face .ticket-wallet-back-tags,.ticket-wallet-static-back-face .ticket-wallet-back-actions{transform:none!important;-webkit-transform:none!important;direction:ltr!important}
.ticket-wallet-static-back-copy,.ticket-wallet-static-back-copy *{unicode-bidi:normal!important}
.ticket-wallet-static-back-face .ticket-wallet-back-actions{position:relative!important;z-index:20!important;pointer-events:auto!important}
.ticket-wallet-static-back-face .ticket-wallet-back-actions button{position:relative!important;z-index:21!important;pointer-events:auto!important;transition:transform .42s cubic-bezier(.22,1,.36,1),box-shadow .42s cubic-bezier(.22,1,.36,1)!important}
.ticket-wallet-static-back-face .ticket-wallet-back-actions button:hover{transform:translateY(-1px) scale(1.012)!important}
.ticket-wallet-static-back-poster img{content:url('/festival/official-poster-2026.jpg')!important;opacity:1!important;visibility:visible!important}
@media(max-width:560px){.ticket-wallet-static-flipper,.ticket-wallet-static-face{min-width:720px!important;min-height:410px!important}}
@media(prefers-reduced-motion:reduce){.ticket-wallet-static-face{transition:none!important}}

/* v21 — free journal workbench */
.v21-freeform-open{overflow:hidden!important}
.v21-freeform-modal{position:fixed;inset:0;z-index:800;display:flex;align-items:stretch;justify-content:center;padding:18px;background:rgba(10,16,22,.52);backdrop-filter:blur(16px) saturate(120%);-webkit-backdrop-filter:blur(16px) saturate(120%)}
.v21-freeform-shell{display:flex;flex-direction:column;width:min(1540px,100%);height:100%;overflow:hidden;border:1px solid rgba(255,255,255,.45);border-radius:30px;background:#eef2f5;box-shadow:0 42px 110px rgba(0,0,0,.32)}
.v21-freeform-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 22px;border-bottom:1px solid #d8e0e6;background:rgba(255,255,255,.95)}
.v21-freeform-header>div:first-child{display:grid;gap:4px}.v21-freeform-header>div:first-child span{font-size:10px;letter-spacing:.16em;color:#7b858f}.v21-freeform-header>div:first-child strong{font-size:18px;color:#202a34}
.v21-freeform-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.v21-freeform-header-actions button{min-height:36px;padding:8px 12px;border:1px solid #d7dee5;border-radius:999px;background:#fff;color:#29343e;font-size:11px;font-weight:800}.v21-freeform-header-actions button.is-primary{background:#122b3d;border-color:#122b3d;color:#fff}.v21-freeform-header-actions button[data-action=close]{width:38px;padding:0;font-size:20px}.v21-save-state{padding:8px 10px;border-radius:999px;background:#edf7ef;color:#356343;font-size:10px}
.v21-freeform-main{display:grid;grid-template-columns:350px minmax(0,1fr);min-height:0;flex:1}.v21-freeform-sidebar{display:grid;align-content:start;gap:12px;overflow:auto;padding:16px;border-right:1px solid #dbe2e8;background:#f8fafc}.v21-freeform-sidebar section{display:grid;gap:10px;padding:14px;border:1px solid #e0e5eb;border-radius:17px;background:#fff;box-shadow:0 7px 18px rgba(29,43,55,.035)}
.v21-panel-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.v21-panel-title strong{font-size:12px;color:#33404a}.v21-panel-title small{font-size:9px;color:#9299a2}
.v21-freeform-sidebar label{display:grid;gap:6px;font-size:10px;font-weight:700;color:#66717c}.v21-freeform-sidebar input[type=text],.v21-freeform-sidebar textarea,.v21-freeform-sidebar select{width:100%;min-height:38px;padding:8px 10px;border:1px solid #d7dee5;border-radius:10px;background:#fff;color:#1f2a33;font-size:12px}.v21-freeform-sidebar textarea{min-height:86px;resize:vertical;line-height:1.65}.v21-freeform-sidebar input[type=range]{width:100%;accent-color:#126786}.v21-freeform-sidebar input[type=color]{width:40px;height:34px;padding:2px;border:1px solid #d6dde4;border-radius:9px;background:#fff}
.v21-inline{display:flex;align-items:center;gap:7px}.v21-inline>select{flex:1}.v21-inline button,.v21-text-presets button,.v21-tool-grid button,.v21-upload-btn,.v21-position-row button,.v21-control-row button,.v21-align-row button{min-height:35px;padding:7px 9px;border:1px solid #d6dde4;border-radius:10px;background:#f8fafb;color:#2c3943;font-size:10px;font-weight:800;cursor:pointer}.v21-color-field{display:flex!important;align-items:center;gap:5px}.v21-color-field input{margin-left:auto}
.v21-toggle-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.v21-toggle-row label{display:flex;align-items:center;gap:6px}.v21-toggle-row input{accent-color:#126786}
.v21-text-presets,.v21-tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.v21-upload-btn{display:flex!important;align-items:center;justify-content:center;position:relative}.v21-upload-btn input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.v21-tool-grid button[data-action=importCurrent]{grid-column:1/-1}
.v21-selection-panel [data-role=selectionControls]{display:grid;gap:9px}.v21-selection-panel p,.v21-font-license p{margin:0;font-size:10px;line-height:1.7;color:#78838c}.v21-align-row,.v21-position-row,.v21-control-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.v21-align-row{grid-template-columns:repeat(3,minmax(0,1fr))}.v21-align-row button.is-active{background:#12374d;color:#fff;border-color:#12374d}.v21-control-row .is-danger{color:#9e3937;background:#fff5f4;border-color:#edd3d0}.v21-font-license{background:#f8f4eb!important}
.v21-freeform-workarea{min-width:0;overflow:hidden;display:flex;flex-direction:column;background:linear-gradient(180deg,#dce4ea,#eef2f5)}.v21-stage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 18px;border-bottom:1px solid rgba(170,184,194,.55);color:#6b7580;font-size:10px}.v21-stage-toolbar span{font-weight:800;color:#33414b}.v21-stage-scroll{display:flex;flex:1;align-items:flex-start;justify-content:center;overflow:auto;padding:28px}
.v21-freeform-stage{position:relative;width:760px;height:1050px;flex:0 0 760px;overflow:hidden;border-radius:5px;background-color:#f6f0e4;box-shadow:0 28px 64px rgba(20,28,34,.22);touch-action:none}.v21-freeform-stage.show-grid{background-image:linear-gradient(rgba(44,63,74,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(44,63,74,.055) 1px,transparent 1px),radial-gradient(circle at 20% 20%,rgba(80,70,55,.035) 0 1px,transparent 1.6px);background-size:16px 16px,16px 16px,13px 13px}.v21-freeform-stage::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(70,83,92,.08),inset 0 0 80px rgba(92,81,67,.035)}
.v21-free-layer{position:absolute;transform-origin:center;user-select:none;touch-action:none;box-sizing:border-box}.v21-free-layer.is-selected{outline:2px solid #1383a1;outline-offset:5px}.v21-free-layer.is-image img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}.v21-free-layer.is-text{min-height:44px}.v21-text-content{min-height:40px;white-space:pre-wrap;word-break:break-word;outline:none;user-select:text}.v21-free-layer.is-shape[data-shape=note]{box-shadow:0 12px 22px rgba(34,32,28,.13)}.v21-free-layer.is-shape[data-shape=note] span{display:block;padding:16px;font:700 12px/1.4 "Noto Sans SC",sans-serif;color:rgba(45,43,38,.54);letter-spacing:.12em}.v21-free-layer.is-shape[data-shape=tape]{mix-blend-mode:multiply;box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
.v21-drag-handle,.v21-rotate-handle,.v21-resize-handle{position:absolute;z-index:20;display:grid;place-items:center;border:0;background:#11394f;color:#fff;box-shadow:0 6px 14px rgba(0,0,0,.2);opacity:0;transition:opacity .15s ease,transform .15s ease}.v21-drag-handle{left:-4px;top:-31px;min-height:25px;padding:4px 8px;border-radius:8px;font-size:9px;font-weight:800;cursor:grab}.v21-rotate-handle{right:-12px;top:-31px;width:27px;height:27px;border-radius:50%;font-size:13px;cursor:crosshair}.v21-resize-handle{right:-12px;bottom:-12px;width:25px;height:25px;border:3px solid #fff;border-radius:50%;background:#1383a1;cursor:nwse-resize}.v21-free-layer.is-selected .v21-drag-handle,.v21-free-layer.is-selected .v21-rotate-handle,.v21-free-layer.is-selected .v21-resize-handle,.v21-free-layer:hover .v21-drag-handle{opacity:1}.v21-free-layer.is-image{cursor:grab}.v21-free-layer.is-image:active,.v21-drag-handle:active{cursor:grabbing}
@media(max-width:980px){.v21-freeform-modal{padding:0}.v21-freeform-shell{border-radius:0}.v21-freeform-main{grid-template-columns:300px minmax(0,1fr)}}
@media(max-width:720px){.v21-freeform-header{align-items:flex-start;flex-direction:column;padding:12px 14px}.v21-freeform-header-actions{width:100%;justify-content:flex-start}.v21-freeform-main{display:block;overflow:auto}.v21-freeform-sidebar{max-height:48vh;border-right:0;border-bottom:1px solid #dce3e8}.v21-freeform-workarea{min-height:74vh}.v21-stage-scroll{justify-content:flex-start;padding:20px}.v21-drag-handle,.v21-rotate-handle,.v21-resize-handle{opacity:1}}

/* v29 route wallet / film-calendar containment */
.route-workspace .ticket-wallet-section,
.route-workspace .ticket-wallet-empty { display:none !important; }
.route-workspace .pyv29-filmstrip-launcher { margin:18px 0 24px; padding:16px 18px; border:1px solid rgba(25,47,60,.12); border-radius:18px; background:#fff; color:#182229; box-shadow:none; }
.route-workspace .pyv29-filmstrip-launcher .pyv24-filmstrip-head { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:0; }
.route-workspace .pyv29-filmstrip-launcher h3 { margin:0; font-size:20px; }
.route-workspace .pyv29-filmstrip-launcher .pyv24-filmstrip-save { border:1px solid #0a607d; border-radius:999px; padding:9px 14px; background:#0a607d; color:#fff; font-weight:700; cursor:pointer; }
.pyv24-bottom { margin-top:auto; display:grid; grid-template-columns:minmax(0,1fr) 106px; gap:16px; align-items:end; }
.pyv24-barcode { height:92px; border-radius:18px; padding:12px; background:rgba(255,255,255,.08); position:relative; overflow:hidden; }
.pyv24-barcode::before { content:""; position:absolute; left:14px; right:14px; top:14px; height:48px; background:repeating-linear-gradient(90deg,#fff 0 2px,transparent 2px 5px,#fff 5px 8px,transparent 8px 11px,#fff 11px 12px,transparent 12px 16px); }
.pyv24-barcode span { position:absolute; left:14px; bottom:10px; font-size:10px; letter-spacing:.12em; color:rgba(255,255,255,.72); }
.pyv29-barcode-seat { position:absolute; right:14px; bottom:8px; margin:0; font-size:15px; letter-spacing:.04em; color:#fff; }
.pyv24-qr { width:106px; height:106px; padding:7px; box-sizing:border-box; border-radius:18px; background:#fff; box-shadow:0 12px 24px rgba(0,0,0,.2); }
.pyv24-qr img { display:block; width:100%; height:100%; object-fit:contain; border-radius:10px; }
@media(max-width:560px){
  .route-workspace .pyv29-filmstrip-launcher .pyv24-filmstrip-head { align-items:stretch; flex-direction:column; }
  .route-workspace .pyv29-filmstrip-launcher .pyv24-filmstrip-save { width:100%; }
}
