
@font-face { font-family: 'Yubi Antique'; src: url('../shared/fonts/YubiAntique-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Yubi Cinzel'; src: url('../shared/fonts/YubiCinzel-Medium.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Yubi Cormorant'; src: url('../shared/fonts/YubiCormorant-Medium.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Yubi Cormorant'; src: url('../shared/fonts/YubiCormorant-MediumItalic.woff2') format('woff2'); font-weight: 400 700; font-style: italic; font-display: swap; }

@font-face { font-family: 'Yubi Mincho'; src: url('../shared/fonts/YubiMinchoZh-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+4E1F, U+4E45, U+4E4B, U+4E58, U+4E5F, U+4E7E, U+4E9B, U+4EA4, U+4EAB, U+4EAE, U+4ECD, U+4F60, U+4F86, U+4FBF, U+500B, U+5011, U+5018, U+504F, U+505A, U+505C, U+5076, U+5099, U+50B3, U+50C5, U+5167, U+5169, U+518D, U+522A, U+5230, U+5247, U+5269, U+5319, U+5361, U+5373, U+537B, U+53BB, U+53C8, U+53E6, U+53EA, U+5427, U+543B, U+5462, U+5473, U+54EA, U+552E, U+555F, U+55CE, U+56FD, U+5712-5713, U+5716, U+5728, U+57CE, U+5831, U+58DE, U+591A, U+5931, U+5982, U+5992, U+5B83, U+5BAE, U+5BEB, U+5C07, U+5C0E, U+5C1A, U+5C31, U+5DF1-5DF2, U+5E03, U+5E36, U+5EC2, U+5F77, U+5F7F-5F80, U+5F88, U+5F97, U+5F9E, U+5FA9, U+5FAE, U+5FF5, U+600E, U+6062, U+606F, U+6085, U+6109, U+6162, U+61B6, U+61C9, U+61F7, U+6200, U+6211-6212, U+6216, U+622A, U+624D, U+627E, U+62DB, U+6309, U+6389, U+642D, U+64AD, U+64BF, U+6536, U+653E, U+6548, U+6578, U+65BC, U+662F, U+665A, U+66AB, U+66C6, U+66FE, U+6703, U+67D0, U+689D, U+6A02, U+6A23, U+6A5F, U+6B61, U+6B64, U+6BBC, U+6BCF, U+6C23, U+6C92, U+6D3D, U+6DE8, U+6E96, U+70BA, U+7136, U+71DF, U+7247-7248, U+73CD, U+7406, U+756B, U+7576, U+767C, U+770B, U+788E, U+7968, U+79B1, U+7A05, U+7A31, U+7A76, U+7A97, U+7AD9, U+7ADF, U+7B46, U+7C21, U+7D05, U+7D66, U+7D93, U+7DB2, U+7DDE, U+7E3D, U+7E8C, U+7FFB, U+800C, U+8072, U+80A1, U+80FD, U+8173, U+81F3-81F4, U+8207, U+8209-820A, U+82E5, U+840E, U+8457, U+84CB, U+85E5, U+8655, U+87A2, U+88DD, U+88E1, U+88FD, U+8907, U+897F, U+8986, U+8996, U+89BD, U+8A0A, U+8A5E, U+8A62, U+8A71, U+8AAA, U+8ACB, U+8B0A, U+8B58, U+8CB4, U+8CBB, U+8CC7, U+8CFC, U+8D70, U+8D77, U+8D9F, U+8DF3, U+8E0F, U+8F38, U+8FA6, U+8FF4, U+9019, U+901D, U+9020, U+9031-9032, U+9047, U+9054, U+907A, U+9084, U+908A, U+90A3, U+93FD, U+9470, U+95DC, U+9678, U+975C, U+9818, U+98F2, U+9918, U+9AD4, U+9B06, U+9E97, U+9EBC, U+9ED1, U+9EDE, U+9F61, U+FF0C, U+FF5C, U+FF5E; }
@font-face { font-family: 'Yubi Mincho'; src: url('../shared/fonts/YubiMinchoZh-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+4E1F, U+4E45, U+4E4B, U+4E58, U+4E5F, U+4E7E, U+4E9B, U+4EA4, U+4EAB, U+4EAE, U+4ECD, U+4F60, U+4F86, U+4FBF, U+500B, U+5011, U+5018, U+504F, U+505A, U+505C, U+5076, U+5099, U+50B3, U+50C5, U+5167, U+5169, U+518D, U+522A, U+5230, U+5247, U+5269, U+5319, U+5361, U+5373, U+537B, U+53BB, U+53C8, U+53E6, U+53EA, U+5427, U+543B, U+5462, U+5473, U+54EA, U+552E, U+555F, U+55CE, U+56FD, U+5712-5713, U+5716, U+5728, U+57CE, U+5831, U+58DE, U+591A, U+5931, U+5982, U+5992, U+5B83, U+5BAE, U+5BEB, U+5C07, U+5C0E, U+5C1A, U+5C31, U+5DF1-5DF2, U+5E03, U+5E36, U+5EC2, U+5F77, U+5F7F-5F80, U+5F88, U+5F97, U+5F9E, U+5FA9, U+5FAE, U+5FF5, U+600E, U+6062, U+606F, U+6085, U+6109, U+6162, U+61B6, U+61C9, U+61F7, U+6200, U+6211-6212, U+6216, U+622A, U+624D, U+627E, U+62DB, U+6309, U+6389, U+642D, U+64AD, U+64BF, U+6536, U+653E, U+6548, U+6578, U+65BC, U+662F, U+665A, U+66AB, U+66C6, U+66FE, U+6703, U+67D0, U+689D, U+6A02, U+6A23, U+6A5F, U+6B61, U+6B64, U+6BBC, U+6BCF, U+6C23, U+6C92, U+6D3D, U+6DE8, U+6E96, U+70BA, U+7136, U+71DF, U+7247-7248, U+73CD, U+7406, U+756B, U+7576, U+767C, U+770B, U+788E, U+7968, U+79B1, U+7A05, U+7A31, U+7A76, U+7A97, U+7AD9, U+7ADF, U+7B46, U+7C21, U+7D05, U+7D66, U+7D93, U+7DB2, U+7DDE, U+7E3D, U+7E8C, U+7FFB, U+800C, U+8072, U+80A1, U+80FD, U+8173, U+81F3-81F4, U+8207, U+8209-820A, U+82E5, U+840E, U+8457, U+84CB, U+85E5, U+8655, U+87A2, U+88DD, U+88E1, U+88FD, U+8907, U+897F, U+8986, U+8996, U+89BD, U+8A0A, U+8A5E, U+8A62, U+8A71, U+8AAA, U+8ACB, U+8B0A, U+8B58, U+8CB4, U+8CBB, U+8CC7, U+8CFC, U+8D70, U+8D77, U+8D9F, U+8DF3, U+8E0F, U+8F38, U+8FA6, U+8FF4, U+9019, U+901D, U+9020, U+9031-9032, U+9047, U+9054, U+907A, U+9084, U+908A, U+90A3, U+93FD, U+9470, U+95DC, U+9678, U+975C, U+9818, U+98F2, U+9918, U+9AD4, U+9B06, U+9E97, U+9EBC, U+9ED1, U+9EDE, U+9F61, U+FF0C, U+FF5C, U+FF5E; }

@font-face { font-family: 'Yubi Thai'; src: url('../shared/fonts/YubiThai.woff2') format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0E00-0E7F, U+200B-200D, U+25CC; }
:root {
  --antique: 'Yubi Antique', 'Yubi Mincho', 'Yubi Thai', serif;
  --caps: 'Yubi Cinzel', 'Yubi Cormorant', 'Yubi Mincho', 'Yubi Thai', serif;
  --thai: 'Yubi Cormorant', 'Yubi Thai', 'Yubi Mincho', serif;
  --bar-h: 61px;
  --wall: #b9956a;
  --table: #c9ab84;
  --ink-wood: #2c2216;

  --foil: linear-gradient(168deg, var(--au-2) 0%, var(--au-3) 18%, var(--au-4) 32%, var(--au-5) 44%, var(--au-4) 56%, var(--au-3) 68%, var(--au-2) 84%, var(--au-3) 100%);
  --foil-light: linear-gradient(170deg, var(--au-5), var(--au-6) 22%, var(--au-4) 46%, var(--au-5) 70%, var(--au-4) 100%);
}

body.tour { --au-0: #44382d; --au-1: #65513c; --au-2: #886f55; --au-3: #a88d68; --au-4: #c7b18a; --au-5: #e3d4b2; --au-6: #efe6cf; --wall: #b89d81; --table: #c8b197;
  --tooth: url(art/tone-tooth.svg) 0 0 / 200px; --granule: url(art/tone-granule.svg) 0 0 / 300px; --mottle: url(art/tone-mottle.svg) 0 0 / 560px; --fiber: url(art/paper-fiber.svg) 0 0 / 300px; --pmottle: url(art/paper-mottle.svg) 0 0 / 640px;
  --veil: linear-gradient(rgba(222, 212, 198, .16), rgba(222, 212, 198, .16));
  background: var(--fiber), linear-gradient(rgba(242, 232, 216, .5), rgba(242, 232, 216, .5)), var(--pmottle), var(--grain), var(--paper); }
html { font-synthesis: none; }
body.tour { overflow-x: clip; font-family: 'Yubi Cormorant', var(--mincho); font-variant-numeric: lining-nums; }
body.tour:lang(en) { font-family: 'Yubi Cormorant', var(--mincho); }
.tour .pl-lines, .tour .pl-lines p { font-family: var(--mincho); }
.skip:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: var(--paper-card); color: var(--sepia); padding: 8px; z-index: 30; }

.bar { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; gap: 0 14px; align-items: center; justify-content: space-between; min-height: var(--bar-h); padding: 0 14px; color: var(--sepia); font-size: 14px;
  background: linear-gradient(rgba(255, 252, 244, .94), rgba(244, 235, 219, .96)), var(--grain), var(--paper);
  box-shadow: inset 0 -2px 0 var(--au-2), inset 0 -3px 0 var(--au-5), inset 0 -5px 0 transparent, inset 0 -6px 0 var(--au-3), 0 2px 6px rgba(58, 40, 18, .18); }
.bar a { text-decoration: none; color: var(--sepia); }
.bar nav { display: flex; gap: 16px; }
.bar nav a { letter-spacing: .2em; }
.bar-home { font-family: var(--antique); color: var(--gold-ink); letter-spacing: .3em; }
.bar-tools { display: flex; gap: 6px; }
.bar-tools button { font: inherit; font-family: var(--mincho); font-size: 12px; color: var(--sepia); background: rgba(255, 255, 255, .35); border: 1px solid color-mix(in srgb, var(--au-3) 65%, transparent); border-radius: 2px; padding: 4px 10px; min-height: 36px; cursor: pointer; box-shadow: inset 0 0 0 2px rgba(255, 252, 244, .9), inset 0 0 0 3px color-mix(in srgb, var(--au-3) 30%, transparent); }
.bar-tools button[aria-pressed='true'] { border-color: var(--au-2); color: var(--gold-ink); }
:lang(en) .bar-tools button { font-family: 'Yubi Cormorant', var(--mincho); font-size: 13px; }
.tour :focus-visible { outline-color: var(--indigo); }

.oto-card .oto-name[tabindex="-1"]:focus, .oto-card .oto-name[tabindex="-1"]:focus-visible { outline: none; }

.hero::before, .hero::after { content: none; }
@media (min-width: 1100px) {
  .hero::before, .hero::after { content: ''; position: absolute; top: 50%; width: 92px; height: min(78%, 620px); transform: translateY(-50%); background: var(--au-3); opacity: .32; -webkit-mask: url(art/margin-vine.svg) center / contain no-repeat; mask: url(art/margin-vine.svg) center / contain no-repeat; pointer-events: none; }
  .hero::before { left: calc(50% - 380px - 150px); }
  .hero::after { right: calc(50% - 380px - 150px); transform: translateY(-50%) scaleX(-1); }
  .hero.has-kv::before, .hero.has-kv::after { content: none; }
}
.hero { position: relative; min-height: calc(100svh - var(--bar-h)); display: grid; justify-items: center; align-items: center; gap: 28px; padding: 16px 12px 36px; text-align: center; }
.kv { margin: 0; }
.kv img { display: block; width: min(100%, calc((100svh - 100px) * .75)); height: auto; margin: 0 auto; box-shadow: 0 10px 30px var(--shade); outline: 1px solid var(--line); outline-offset: 6px; }
.hero-sky { position: relative; container-type: inline-size; width: min(100%, 760px); height: clamp(520px, calc(100svh - var(--bar-h) - 56px), 800px); overflow: hidden; color: var(--moonlight); isolation: isolate;
  border-radius: 50% 50% 4px 4px / 34% 34% 4px 4px; border: 1px solid var(--line); background: var(--indigo); box-shadow: 0 14px 34px var(--shade), inset 0 0 0 1px rgba(246, 238, 220, .08); }
.hero-sky::before { content: ''; position: absolute; inset: 7px; border: 1px solid color-mix(in srgb, var(--gold-pale) 55%, transparent); border-radius: inherit; pointer-events: none; z-index: 6; }
.hero-sky::after { content: ''; position: absolute; top: 6px; left: 50%; width: 22px; height: 22px; margin-left: -11px; background: var(--gold-pale); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; z-index: 7; }
.has-kv .hero-sky { width: min(100%, 440px); height: clamp(480px, 70svh, 600px); }
@media (min-width: 900px) {
  .hero.has-kv { grid-template-columns: auto minmax(320px, 440px); justify-content: center; gap: 56px; padding: 32px 24px 56px; }
  .hero.has-kv .kv img { width: min(46vw, calc(86svh * .75)); }
}
.vista { position: absolute; inset: 0; pointer-events: none; animation: scene-in 2.2s ease both; }
@keyframes scene-in { from { opacity: 0; } }
.moon svg { animation: scene-in 1.8s ease .4s both; }
.vista > i, .vista > div { position: absolute; display: block; }
.v-sky { inset: 0; background: url(art/sky.svg) center top / cover no-repeat; }

.v-stars { inset: -50% -50% 30%; background-image: radial-gradient(1px 1px at 20% 30%, var(--moonlight), transparent), radial-gradient(1px 1px at 70% 20%, var(--gold-pale), transparent), radial-gradient(1.4px 1.4px at 40% 70%, var(--moonlight), transparent), radial-gradient(1px 1px at 85% 60%, var(--gold-pale), transparent), radial-gradient(1px 1px at 10% 80%, var(--moonlight), transparent); background-size: 230px 230px; opacity: .5; animation: drift 240s linear infinite; }
.v-stars.s2 { background-size: 350px 350px; animation-duration: 380s; opacity: .3; }
@keyframes drift { to { transform: translateX(230px); } }

.vista .spark { width: 14px; height: 14px; background: var(--gold-pale); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; animation: twinkle 5.2s ease-in-out infinite; }
.vista .spark:nth-child(4) { left: 64%; top: 10%; } .vista .spark:nth-child(5) { left: 82%; top: 24%; width: 9px; height: 9px; animation-delay: -1.4s; }
.vista .spark:nth-child(6) { left: 44%; top: 8%; width: 10px; height: 10px; animation-delay: -2.8s; background: var(--moonlight); } .vista .spark:nth-child(7) { left: 8%; top: 36%; width: 8px; height: 8px; animation-delay: -.6s; }
.vista .spark:nth-child(8) { left: 90%; top: 46%; width: 11px; height: 11px; animation-delay: -3.6s; }
@keyframes twinkle { 0%, 100% { opacity: .9; transform: scale(1) rotate(0); } 50% { opacity: .25; transform: scale(.55) rotate(20deg); } }

.moon { position: absolute; top: 10%; left: 18%; width: clamp(54px, 15%, 92px); margin: 0; z-index: 2; }
.moon svg { display: block; overflow: visible; filter: drop-shadow(0 0 24px color-mix(in srgb, var(--moonlight) 42%, transparent)); }
.moon-dark { fill: color-mix(in srgb, var(--moonlight) 9%, transparent); }
.moon figcaption { position: absolute; left: 0; top: 100%; width: max-content; max-width: 150px; margin-top: 5px; font-size: 11px; line-height: 1.45; letter-spacing: .08em; color: var(--moonlight); text-shadow: 0 1px 2px rgba(10, 12, 30, .6); text-align: left; }
.moon figcaption span { display: block; }
.moon figcaption { animation: title-in 1.2s ease 1.2s both; }
html[data-moon='full'] .moon svg { filter: drop-shadow(0 0 36px color-mix(in srgb, var(--moonlight) 55%, transparent)); }

.v-hills { left: 0; right: 0; bottom: 31%; height: 15%; background: url(art/hills.svg) 30% 100% / auto 100% repeat-x; }
.v-mist { left: 0; right: 0; bottom: 28%; height: 11%; background: url(art/mist.svg) 0 0 / auto 100% repeat-x; animation: pan-mist 150s linear infinite; opacity: .9; }
@keyframes pan-mist { from { transform: none; } to { transform: translateX(-30%); } }
.v-water { left: 0; right: 0; bottom: 0; height: 32%; background: radial-gradient(60% 30% at 20% 0%, color-mix(in srgb, var(--wisteria-pale) 32%, transparent), transparent 70%), linear-gradient(#535a88, #3c416a 55%, #2d3151); }
.v-reflect { left: 0; right: 0; bottom: 3%; height: 29%; background: url(art/viaduct.svg) 42% 0 / auto 100% repeat-x; transform: scaleY(-1); opacity: .58; -webkit-mask: url(art/ripple-mask.svg) 0 0 / 200px auto repeat, linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .72) 38%, #000 78%); -webkit-mask-composite: source-in; mask: url(art/ripple-mask.svg) 0 0 / 200px auto repeat, linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .72) 38%, #000 78%); mask-composite: intersect; }
.v-ripple { left: 0; right: 0; bottom: 0; height: 32%; background: url(art/water.svg) 0 0 / auto 100% repeat-x; opacity: .85; }
.v-moonpath { left: 15%; width: 15%; bottom: 4%; height: 27%; background: radial-gradient(46% 9% at 50% 2%, rgba(246, 238, 220, .5), transparent 70%), url(art/moonpath.svg) center top / 100% auto no-repeat; -webkit-mask: linear-gradient(to bottom, #000 55%, transparent); mask: linear-gradient(to bottom, #000 55%, transparent); animation: shimmer 3.2s ease-in-out infinite; opacity: .8; }
@keyframes shimmer { 50% { opacity: .5; transform: scaleX(1.2); } }
.v-viaduct { left: 0; right: 0; bottom: 31%; height: 26%; background: url(art/viaduct.svg) 42% 0 / auto 100% repeat-x; }

.v-train { left: 9%; bottom: calc(53.4% - .85%); height: 6.6%; aspect-ratio: 1360 / 220; animation: cross 11s cubic-bezier(.2, .55, .3, 1) 2.2s both; }
@keyframes cross { from { transform: translateX(94cqw); } to { transform: none; } }
.v-train i { position: absolute; display: block; }
.v-train .car { inset: 0; background: url(art/train.svg) 0 0 / 100% 100% no-repeat; animation: rattle .5s steps(2) infinite; }
.v-train .mirror { left: 0; right: 0; top: var(--mir-top, 455%); height: 150%; background: url(art/train.svg) 0 0 / 100% 100% no-repeat; transform: scaleY(-1); opacity: .13; -webkit-mask: url(art/ripple-mask.svg) 0 0 / 110px auto repeat, linear-gradient(to top, transparent 8%, #000 70%); -webkit-mask-composite: source-in; mask: url(art/ripple-mask.svg) 0 0 / 160px auto repeat, linear-gradient(to top, transparent 8%, #000 70%); mask-composite: intersect; }
@keyframes rattle { 50% { transform: translateY(-.5px); } }

.v-train .glow { left: 43%; right: 0; top: 16%; height: 68%; border-radius: 10px; background: radial-gradient(50% 70% at 50% 50%, rgba(246, 214, 150, .48), transparent 72%); opacity: .2; animation: lamp-up 3s ease-in-out 13.2s both; }
@keyframes lamp-up { 0% { opacity: .2; } 60% { opacity: 1; } 100% { opacity: 1; } }

.v-train .ref { left: 0; right: 0; top: var(--ref-top, 458%); height: 55%; background: url(art/reflect.svg) 0 0 / 100% 100% no-repeat; opacity: .5; animation: lamp 3.2s ease-in-out infinite; }
.v-train .lamp { left: 22%; top: 24%; width: 8%; height: 30%; border-radius: 8px; background: radial-gradient(50% 60% at 50% 50%, rgba(246, 214, 150, .5), transparent 70%); animation: lamp 3.2s ease-in-out infinite; }
@keyframes lamp { 0%, 100% { opacity: 1; } 30% { opacity: .7; } 55% { opacity: .95; } 80% { opacity: .75; } }
.v-train .beam { right: 91%; top: 30%; width: 40%; height: 120%; transform: translateY(-50%); background: radial-gradient(50% 50% at 100% 50%, rgba(255, 240, 200, .34), rgba(255, 240, 200, .1) 45%, transparent 72%); animation: lamp 2.6s ease-in-out infinite; }
.v-train .beam::after { content: ''; position: absolute; right: -2%; top: 50%; width: 6%; aspect-ratio: 1; transform: translate(0, -50%); border-radius: 50%; background: radial-gradient(circle, #fffbe8, rgba(255, 240, 200, .5) 40%, transparent 70%); }

.v-train .steams { position: absolute; inset: 0; animation: steams-off 2.4s ease 13.2s both; }
@keyframes steams-off { to { opacity: 0; } }
.v-train .steam { position: absolute; left: 9.3%; top: 4%; width: 15%; aspect-ratio: 240 / 100; margin: -3.4% 0 0 -1.6%; opacity: 0; background: url(art/steam.svg) left center / contain no-repeat; transform-origin: 0 50%; animation: puff 4.6s linear infinite; }
.v-train .steam:nth-child(odd) { background-image: url(art/steam-2.svg); }
.v-train .wisp { left: 9.3%; top: 4%; width: 4.4%; aspect-ratio: 60 / 120; margin: -8.6% 0 0 -2.2%; opacity: 0; background: url(art/wisp.svg) center bottom / contain no-repeat; transform-origin: 50% 100%; animation: wisp 6s ease-in-out 14.6s infinite; }
@keyframes wisp { 0% { opacity: 0; transform: translateY(0) scale(.6); } 20% { opacity: .8; } 100% { opacity: 0; transform: translateY(-60%) scale(1.3); } }
.v-train .steam:nth-child(3) { animation-delay: -.75s; } .v-train .steam:nth-child(4) { animation-delay: -1.5s; } .v-train .steam:nth-child(5) { animation-delay: -2.25s; } .v-train .steam:nth-child(6) { animation-delay: -3s; } .v-train .steam:nth-child(7) { animation-delay: -3.75s; }
@keyframes puff { 0% { opacity: 0; transform: translate(0, 0) scale(.25); } 14% { opacity: .9; } 100% { opacity: 0; transform: translate(130%, -34%) scale(1.6); } }
.v-paper { inset: 0; background: url(art/grain.svg) 0 0 / 240px; opacity: .32; }

.hero-tone { position: absolute; inset: 0; z-index: 5; display: block; pointer-events: none; border-radius: inherit; opacity: .85;
  background: var(--tooth), var(--granule), var(--mottle),
    radial-gradient(26% 17% at 25% 16%, rgba(246, 238, 220, .16), rgba(246, 238, 220, .05) 55%, transparent 78%),
    radial-gradient(70% 30% at 50% 58%, rgba(214, 208, 232, .1), transparent 75%),
    linear-gradient(rgba(190, 186, 220, .07), rgba(190, 186, 220, .03) 38%, rgba(206, 200, 228, .07) 70%, rgba(206, 200, 228, .12)), linear-gradient(rgba(232, 220, 198, .07), rgba(232, 220, 198, .07)); }
@media (min-width: 900px) { .hero-tone { background: var(--tooth), var(--granule), var(--mottle), radial-gradient(22% 16% at 22% 17%, rgba(246, 238, 220, .16), rgba(246, 238, 220, .05) 55%, transparent 78%), radial-gradient(70% 30% at 50% 58%, rgba(214, 208, 232, .1), transparent 75%), linear-gradient(rgba(190, 186, 220, .07), rgba(190, 186, 220, .03) 38%, rgba(206, 200, 228, .07) 70%, rgba(206, 200, 228, .12)), linear-gradient(rgba(232, 220, 198, .07), rgba(232, 220, 198, .07)); }  }
.car-grain { position: absolute; inset: 0; z-index: 8; pointer-events: none; display: block; background: url(art/grain.svg) 0 0 / 240px; opacity: .28; }
.v-flowers { left: 0; right: 0; bottom: -1%; height: 22%; background: url(art/flowers.svg) 22% 100% / auto 100% repeat-x; }

.hero-text { position: absolute; z-index: 6;  left: 0; right: 0; top: 21%; padding: 0 16px; pointer-events: none; }
.hero-group { margin: 0 0 10px; padding-left: .6em; font-family: var(--antique); font-size: 14px; letter-spacing: .6em; background: var(--foil-light); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(12, 14, 34, .8)); }
.hero-title { position: relative; margin: 0; font-family: var(--antique); font-weight: 400; font-size: clamp(42px, 11vw, 76px); line-height: 1.15; letter-spacing: .14em; padding-left: 0; white-space: nowrap; text-shadow: none; animation: title-in 2.6s ease .6s both; }
@keyframes title-in { from { opacity: 0; } }
.has-kv .hero-title { font-size: clamp(38px, 10vw, 60px); }
.ht { display: block; padding-left: .14em; background: url(art/foil-grain.svg) 0 0 / 56px, var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 .5px rgba(14, 16, 40, .95)) drop-shadow(0 0 .3em rgba(246, 214, 150, .18)); }
.hero-title > .ht:not([aria-hidden]) { position: relative; z-index: 1; }

.ht-edge { position: absolute; inset: 0; z-index: 0; background: none; filter: none; color: var(--au-0); -webkit-text-fill-color: var(--au-0); -webkit-text-stroke: .7px var(--au-0); opacity: .8; }

.ht-glint { position: absolute; inset: 0; z-index: 2; filter: none; opacity: 0; background-image: linear-gradient(105deg, transparent 30%, rgba(255, 250, 232, 0) 38%, rgba(255, 250, 232, .95) 46%, var(--au-6) 50%, rgba(255, 250, 232, 0) 60%, transparent 70%); -webkit-background-clip: text; background-clip: text; animation: glint 12s ease-in-out 13.2s infinite; }
@keyframes glint { 0% { opacity: 0; } 5% { opacity: 1; } 12% { opacity: 0; } 100% { opacity: 0; } }
:lang(en) .hero-title { font-family: var(--caps); letter-spacing: .06em; font-size: clamp(34px, 8.6vw, 64px); }
:lang(en) .ht { padding-left: .06em; }
:lang(en) .hero-group { font-family: var(--caps); letter-spacing: .22em; padding-left: .22em; }
:lang(en) .moon figcaption { font-size: 10px; max-width: 120px; }
.hero-sub { margin: 12px 0 0; letter-spacing: .3em; font-size: 14px; color: var(--moonlight); text-shadow: 0 1px 2px rgba(10, 12, 30, .6); animation: title-in 1.8s ease 2.6s both; }
.hero-sub::before, .hero-sub::after { content: ''; display: inline-block; width: .7em; height: .7em; margin: 0 .6em; background: var(--gold-pale); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; vertical-align: .05em; }
html[data-tod='day'] .hero-sky { background-color: var(--indigo-2); }

html[data-motion='reduce'] .vista, html[data-motion='reduce'] .vista *, html[data-motion='reduce'] .moon svg, html[data-motion='reduce'] .hero-title, html[data-motion='reduce'] .hero-sub, html[data-motion='reduce'] .moon figcaption, html[data-motion='reduce'] .ht-glint { animation: none !important; }
html[data-motion='reduce'] .v-train .glow { opacity: 1; }
html[data-motion='reduce'] .v-train .steams { opacity: 0; }
html[data-motion='reduce'] .v-train .wisp { opacity: .7; transform: translateY(-30%) scale(1); }

.car { position: relative; isolation: isolate; overflow: hidden; padding: 0; max-width: none; margin: 0; text-align: center;
  background: var(--veil), var(--tooth), radial-gradient(60% 34% at 50% 30%, rgba(255, 232, 180, .24), transparent 75%), radial-gradient(130% 80% at 50% 40%, transparent 48%, rgba(46, 32, 12, .42) 100%), linear-gradient(rgba(46, 32, 12, .26), rgba(46, 32, 12, .08) 30%, rgba(46, 32, 12, .15) 70%, rgba(46, 32, 12, .3)), var(--wash), var(--grain), url(art/panel.svg) center top / min(50vw, 300px) auto, var(--wall); }
.car-rack { position: relative; height: 74px; background: url(art/rack.svg) center 100% / auto 34px repeat-x; box-shadow: 0 6px 10px -4px rgba(20, 14, 6, .35); z-index: 2; }
.car-bay { position: relative; display: flex; align-items: center; justify-content: center; gap: 2vw; padding: 18px 2vw 0; }

.car-trunk { position: absolute; right: 8%; bottom: 8px; width: min(18vw, 120px); aspect-ratio: 200 / 120; background: url(art/trunk.svg) center / contain no-repeat; filter: drop-shadow(0 3px 3px rgba(20, 14, 6, .45)); z-index: 3; transform: rotate(-1.5deg); }
.car-window { position: relative; width: min(94vw, 920px); aspect-ratio: 2; flex: none; }
.cw-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(40, 28, 10, .35)); }
.cw-frame-sp { display: none; }

.cw-view { position: absolute; left: 5%; right: 5%; top: 10%; bottom: 10%; overflow: hidden; z-index: 1; border-radius: 6.5% 6.5% 0 0 / 14.6% 14.6% 0 0; container-type: size;
  background: radial-gradient(60% 50% at 18% 20%, rgba(219, 212, 230, .26), transparent 70%), linear-gradient(#3b3d61, #484c71 40%, #686f93 72%, #8386a8); }
.cw-view > i { position: absolute; display: block; }
.cw-sky { inset: 0; background-image: radial-gradient(1px 1px at 22% 30%, var(--moonlight), transparent), radial-gradient(1px 1px at 72% 18%, var(--gold-pale), transparent), radial-gradient(1.3px 1.3px at 48% 44%, var(--moonlight), transparent), radial-gradient(1px 1px at 88% 36%, var(--gold-pale), transparent), radial-gradient(1px 1px at 12% 60%, var(--moonlight), transparent), radial-gradient(1px 1px at 60% 12%, var(--moonlight), transparent); background-size: 220px 220px; opacity: .8; }
.cw-moon { left: 11%; top: 11%; width: 10%; aspect-ratio: 1; background: url(art/moon.svg) center / contain no-repeat; filter: drop-shadow(0 0 10px rgba(246, 238, 220, .5)); }

.cw-hills { left: 0; bottom: 26%; height: 34%; width: calc(100cqw + 255cqh); background: url(art/hills.svg) 0 100% / auto 100% repeat-x; animation: flow-hills 190s linear infinite; }
.cw-mist { left: 0; bottom: 20%; height: 18%; width: calc(100cqw + 90cqh); background: url(art/mist.svg) 0 0 / auto 100% repeat-x; animation: flow-mist 26s linear infinite; opacity: .8; }
.cw-water { left: 0; bottom: 0; height: 28%; width: calc(100cqw + 56cqh); background: url(art/water.svg) 0 0 / auto 100% repeat-x, linear-gradient(#5b6186, #44486b); animation: flow-water 8.4s linear infinite; }
.cw-poles { left: 0; bottom: 0; height: 100%; width: 600cqh; background: url(art/poles.svg) 0 0 / 100% 100% no-repeat; animation: flow-poles 7s linear infinite; }
.cw-rail { left: 0; bottom: -1%; height: 14%; width: calc(100cqw + 140cqh); background: url(art/railing.svg) 0 100% / auto 100% repeat-x; animation: flow-rail 3.5s linear infinite; }
@keyframes flow-hills { from { transform: translateX(-255cqh); } to { transform: none; } }
@keyframes flow-mist { from { transform: translateX(-90cqh); } to { transform: none; } }
@keyframes flow-water { from { transform: translateX(-56cqh); } to { transform: none; } }
@keyframes flow-poles { from { transform: translateX(-200cqh); } to { transform: none; } }
@keyframes flow-rail { from { transform: translateX(-140cqh); } to { transform: none; } }

.cw-pane { inset: 0; background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, .07) 24%, transparent 31%, transparent 58%, rgba(255, 255, 255, .05) 63%, transparent 68%), radial-gradient(18% 10% at 8% 96%, rgba(255, 228, 170, .2), transparent 70%), radial-gradient(18% 10% at 92% 96%, rgba(255, 228, 170, .2), transparent 70%),
  url(art/tone-mottle-soft.svg) 0 0 / 460px, radial-gradient(16% 22% at 16% 16%, rgba(246, 238, 220, .14), transparent 75%),
  linear-gradient(rgba(206, 200, 224, .08), rgba(208, 202, 226, .05) 45%, rgba(214, 208, 230, .13)); }
.cw-pane::after { content: ''; position: absolute; inset: 0; background: var(--tooth), var(--granule); opacity: .62; }

.cw-blind { position: absolute; inset: 0; z-index: 3; transform-origin: top;
  background: url(art/blind.svg) 0 0 / 160px, linear-gradient(90deg, rgba(0, 0, 0, .22), transparent 12% 88%, rgba(0, 0, 0, .22)), linear-gradient(#3c436d, #333961 60%, #2d3259); }
.cw-blind::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5%; background: linear-gradient(var(--au-6), var(--au-4) 30%, var(--au-3) 55%, var(--au-1)); box-shadow: 0 -1px 0 rgba(0, 0, 0, .3), 0 2px 4px rgba(0, 0, 0, .35); }
.cw-pull { position: absolute; left: 50%; bottom: 3%; width: 6%; aspect-ratio: 60 / 90; margin-left: -3%; background: url(art/ring.svg) center / contain no-repeat; }
.cw-tassel { position: absolute; left: 50%; top: 100%; width: 5%; aspect-ratio: 60 / 140; margin-left: -2.5%; background: url(art/tassel.svg) center / contain no-repeat; }

.cw-roll { position: absolute; left: 0; right: 0; top: 0; height: 6%; z-index: 4; background: linear-gradient(var(--au-6), var(--au-4) 30%, var(--au-3) 55%, var(--au-1)); box-shadow: 0 2px 4px rgba(0, 0, 0, .35); }
.cw-roll::after { content: ''; position: absolute; left: 50%; top: 100%; width: 4%; aspect-ratio: 60 / 140; margin-left: -2%; background: url(art/tassel.svg) center / contain no-repeat; }
.car.is-in .cw-blind { animation: blind-up 2.8s cubic-bezier(.62, 0, .28, 1) 1.2s both; }
@keyframes blind-up { from { transform: none; } to { transform: translateY(-104%); } }

.sconce { position: relative; display: block; flex: none; width: min(9vw, 96px); aspect-ratio: 160 / 280; background: url(art/sconce.svg) center / contain no-repeat; z-index: 2; }
.sconce-glow { position: absolute; left: 50%; top: 22%; width: 340%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 242, 206, .7), rgba(255, 226, 168, .3) 38%, rgba(255, 220, 160, .1) 66%, transparent); opacity: 0; }
.car.is-in .sconce-glow { animation: sconce-on 4.6s ease-in-out .3s infinite; }
.car.is-in .sconce.r .sconce-glow { animation-delay: -1.8s; }
@keyframes sconce-on { 0% { opacity: 1; } 30% { opacity: .8; } 55% { opacity: .95; } 78% { opacity: .84; } 100% { opacity: 1; } }

.car-dim { position: absolute; left: 0; right: 0; top: 0; height: 100vh; max-height: 720px; z-index: 9; pointer-events: none; display: block; background: radial-gradient(60% 50% at 50% 42%, rgba(14, 16, 38, .5), rgba(8, 9, 22, .8) 70%, transparent 100%); }
.car.is-in .car-dim { animation: light-on 1.8s ease-out .15s both; }
@keyframes light-on { 0% { opacity: 1; } 18% { opacity: .55; } 26% { opacity: .8; } 100% { opacity: 0; } }
html[data-motion='reduce'] .cw-blind, html[data-motion='reduce'] .car-dim { visibility: hidden; }
html[data-motion='reduce'] .cw-view *, html[data-motion='reduce'] .sconce-glow { animation: none !important; }
html[data-motion='reduce'] .sconce-glow { opacity: .9; }
@media (prefers-reduced-motion: reduce) { .cw-blind, .car-dim { visibility: hidden; } .sconce-glow { opacity: .9; } }

.car-dado { position: relative; z-index: 1; display: block; height: 26px; margin: 14px 0 0; background: url(art/dado.svg) center / auto 100% repeat-x; box-shadow: 0 2px 6px rgba(20, 14, 6, .3); }
.car-table { position: relative; z-index: 1; margin: 8px 0 0; height: 30px; background: var(--veil), var(--tooth), linear-gradient(rgba(255, 240, 210, .22), transparent 50%), url(art/wood.svg) 0 0 / 360px, var(--table); box-shadow: inset 0 3px 0 var(--au-1), inset 0 5px 0 var(--au-4), inset 0 6px 0 var(--au-1), 0 -8px 14px -6px rgba(20, 12, 4, .55); }
.car-table::after { content: ''; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px; background: linear-gradient(rgba(20, 12, 4, .4), transparent); }
.car-sheet-wrap { position: relative; z-index: 1; margin: 0; padding: 26px 0 44px; background: var(--veil), var(--tooth), linear-gradient(rgba(20, 12, 4, .22), transparent 20%), url(art/wood.svg) 0 0 / 360px, var(--table); box-shadow: inset 0 0 60px rgba(40, 26, 10, .25); }

.car-sheet { position: relative; z-index: 1; max-width: 40em; margin: 0 auto; padding: 38px 22px 44px; border-radius: 2px; transform: rotate(-.6deg);
  background: url(art/corner-tl.svg) 6px 6px / 58px no-repeat, url(art/corner-tr.svg) calc(100% - 6px) 6px / 58px no-repeat, url(art/corner-bl.svg) 6px calc(100% - 6px) / 58px no-repeat, url(art/corner-br.svg) calc(100% - 6px) calc(100% - 6px) / 58px no-repeat,
    radial-gradient(4px 3.4px at 17% 9%, rgba(146, 98, 52, .24), transparent 75%), radial-gradient(2.4px 2.4px at 19.5% 10.2%, rgba(146, 98, 52, .2), transparent 75%), radial-gradient(7px 6px at 86% 33%, rgba(160, 110, 60, .14), transparent 75%),
    radial-gradient(3px 3px at 71% 78%, rgba(146, 98, 52, .2), transparent 75%), radial-gradient(12px 9px at 8% 62%, rgba(172, 126, 72, .11), transparent 75%), radial-gradient(2px 2px at 44% 91%, rgba(146, 98, 52, .22), transparent 75%), radial-gradient(5px 4px at 91% 6%, rgba(160, 110, 60, .16), transparent 75%),
    radial-gradient(24% 9% at 0 0, rgba(176, 132, 78, .22), transparent 80%), radial-gradient(18% 7% at 100% 0, rgba(176, 132, 78, .15), transparent 80%), radial-gradient(28% 8% at 100% 100%, rgba(176, 132, 78, .24), transparent 80%), radial-gradient(20% 10% at 0 100%, rgba(176, 132, 78, .17), transparent 80%),
    linear-gradient(to right, rgba(182, 140, 86, .18), rgba(182, 140, 86, .05) 14px, transparent 34px), linear-gradient(to left, rgba(182, 140, 86, .15), rgba(182, 140, 86, .04) 12px, transparent 28px), linear-gradient(rgba(182, 140, 86, .14), transparent 26px), linear-gradient(to top, rgba(182, 140, 86, .2), rgba(182, 140, 86, .05) 16px, transparent 40px),
    linear-gradient(103deg, rgba(255, 253, 246, 0) 6%, rgba(255, 253, 246, .24) 27%, rgba(120, 86, 40, .05) 49%, rgba(255, 253, 246, .15) 68%, rgba(120, 86, 40, .08) 96%),
    linear-gradient(rgba(152, 144, 118, .1), rgba(152, 144, 118, .1)), url(art/paper-age.svg) 0 0 / 520px,
    radial-gradient(120% 90% at 50% 40%, transparent 62%, rgba(214, 198, 168, .55) 100%), var(--fiber), var(--pmottle), var(--wash), var(--grain), var(--grain), var(--paper-card);
  box-shadow: 0 14px 30px rgba(40, 26, 10, .42), 12px 22px 24px -16px rgba(40, 26, 10, .4), 0 2px 4px rgba(40, 26, 10, .28), 0 1px 0 rgba(255, 255, 255, .5); }
.car-sheet::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--au-3); outline: 1px solid var(--au-4); outline-offset: -5px; pointer-events: none; opacity: .92;
  filter: drop-shadow(.6px .8px 0 rgba(255, 252, 242, .9)) drop-shadow(-.4px -.5px 0 rgba(96, 70, 34, .2)); }
.pl-label { position: relative; margin: 10px 0 22px; font-family: var(--antique); font-size: 15px; letter-spacing: .5em; padding-left: .5em; color: var(--gold-ink); }
.pl-label::before { content: ''; display: block; width: 110px; height: 40px; margin: 0 auto 14px; background: var(--foil); -webkit-mask: url(art/flourish.svg) center / contain no-repeat; mask: url(art/flourish.svg) center / contain no-repeat; }
.pl-lines { font-size: clamp(16px, 2.4vw, 19px); line-height: 2.4; color: var(--sepia); padding: 0 6px; }
.car.is-in .pl-lines { animation: fadein 2.4s ease both; }
@keyframes fadein { from { opacity: 0; } }
.pl-lines p { margin: 0 0 1.6em; }
.pl-lines p:last-child { margin-bottom: 0; }
.pl-note { font-size: 13px; color: var(--sepia-soft); margin-top: 24px; }

.car-sheet .pl-lines { color: #362a22; }
.car-sheet .pl-label { color: #735528; }
.car-sheet .pl-note { color: #624e3f; }

.pl-lines { word-break: auto-phrase; text-wrap: pretty; line-break: strict; }
.pl-lines p { word-break: keep-all; overflow-wrap: anywhere; }

.enter { position: relative; display: inline-block; margin-top: 40px; padding: 16px 46px; font-family: var(--antique); font-size: 17px; letter-spacing: .4em; color: var(--au-5); text-decoration: none; border-radius: 3px;
  background: radial-gradient(120% 140% at 50% 50%, transparent 55%, rgba(0, 0, 0, .25)), url(art/guilloche.svg) center / 120px 40px, linear-gradient(160deg, #3d4980, #2a3364 60%, #222a57);
  box-shadow: inset 0 0 0 4px #26305e, inset 0 0 0 5px var(--au-4), inset 0 0 0 7px #26305e, inset 0 0 0 8px rgba(201, 171, 114, .6), 0 10px 20px rgba(40, 28, 10, .35); text-shadow: 0 1px 0 rgba(10, 12, 30, .8); transition: transform .5s cubic-bezier(.3, .1, .2, 1), box-shadow .5s; }
.enter::before, .enter::after { content: ''; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--paper-card); clip-path: inset(0 0 0 50%); }
.enter::after { clip-path: inset(0 50% 0 0); }
.enter::before { left: -8px; } .enter::after { right: -8px; }
.enter:hover { transform: translateY(-3px) rotate(-.6deg); box-shadow: inset 0 0 0 4px #26305e, inset 0 0 0 5px var(--au-5), inset 0 0 0 7px #26305e, inset 0 0 0 8px var(--au-4), 0 14px 26px rgba(40, 28, 10, .4); }
.to-oto { margin: 18px 0 0; font-size: 13px; }
.to-oto a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--sepia-soft); }

.tickets, .route, .notes { max-width: 1040px; margin: 0 auto; padding: 56px 16px; }
h2 { font-family: var(--antique); font-weight: 400; letter-spacing: .36em; padding-left: .36em; color: var(--gold-ink); text-align: center; margin: 0 0 8px; font-size: clamp(24px, 6.6vw, 30px); }
h2::after { content: ''; display: block; width: min(250px, 72%); height: 30px; margin: 8px auto 0; background: var(--foil); -webkit-mask: url(art/rule.svg) center / contain no-repeat; mask: url(art/rule.svg) center / contain no-repeat; }
:lang(en) h2 { font-family: var(--caps); letter-spacing: .12em; padding-left: .12em; }
.lead { text-align: center; color: var(--sepia-soft); margin: 0 0 32px; word-break: auto-phrase; text-wrap: pretty; }

.otoshi { max-width: none; padding: 60px 14px 72px; text-align: center; position: relative; isolation: isolate; min-height: calc(100svh - var(--bar-h)); display: flex; flex-direction: column; justify-content: flex-start;
  background: radial-gradient(56% 36% at 50% 58%, rgba(255, 236, 190, .3), transparent 75%), radial-gradient(130% 90% at 50% 50%, transparent 50%, rgba(40, 26, 10, .42)), url(art/medallion.svg) 50% calc(100% - 18px) / min(28vw, 130px) no-repeat, url(art/wood.svg) 0 0 / 360px, var(--table);
  box-shadow: inset 0 14px 24px -10px rgba(20, 12, 4, .35); padding-bottom: 180px; }
.otoshi > * { flex: none; }

.otoshi:has(> .draw:not([hidden])) { min-height: 0; padding-bottom: 150px; }
.otoshi h2 { color: var(--ink-wood); }
.otoshi .lead, .draw-note, .oto-count { color: #4a3a28; }
.otoshi .lead { max-width: 30em; margin: 0 auto 26px; }

.oto-card { --w: min(92vw, 440px, calc((100svh - 190px) * 0.8)); width: var(--w); aspect-ratio: 4 / 5; margin: 0 auto; container-type: inline-size; }
.oto-paper { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto auto; align-items: center; justify-items: center;
  padding: 9cqw 8cqw 5.5cqw; color: var(--sepia); border-radius: 3px; box-shadow: 0 12px 30px var(--shade);
  background: radial-gradient(60% 40% at 50% 42%, color-mix(in srgb, var(--wisteria-pale) 55%, transparent), transparent 75%), radial-gradient(120% 90% at 50% 40%, transparent 60%, color-mix(in srgb, var(--paper-deep) 80%, transparent) 100%), var(--grain), var(--paper-card); }

.oto-paper::before { content: ''; position: absolute; inset: 3cqw; border: 1px solid var(--line); outline: 1px solid var(--line-soft); outline-offset: -1.6cqw; border-radius: 50% 50% 2px 2px / 26% 26% 2px 2px; pointer-events: none; }
.oto-paper::after { content: ''; position: absolute; top: 1.2cqw; left: 50%; width: 5cqw; height: 5cqw; margin-left: -2.5cqw; background: var(--gold); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.oto-head { margin: 0; display: flex; gap: 3cqw; align-items: baseline; font-size: 4.2cqw; letter-spacing: .35em; white-space: nowrap; }
.oto-tour { font-size: 6cqw; letter-spacing: .3em; color: var(--sepia); }
.oto-group { color: var(--gold-ink); font-size: 3.6cqw; }
.oto-img { width: 66cqw; height: auto; max-height: 100%; min-height: 0; object-fit: contain; align-self: center; }
.oto-cap { margin: 0; display: grid; gap: .6cqw; }
.oto-name { font-size: 6.4cqw; letter-spacing: .2em; color: var(--indigo); }
.oto-en { font-family: var(--serif); font-style: italic; font-size: 3.6cqw; color: var(--sepia-soft); }
.oto-line { font-size: 3.6cqw; }
.oto-tags { margin: 2cqw 0 0; font-size: 3.4cqw; letter-spacing: .04em; color: var(--gold-ink); }
.oto-tags::before, .oto-tags::after { content: ''; display: inline-block; width: 2.4cqw; height: 2.4cqw; margin: 0 1.6cqw; background: var(--gold); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.oto-kari { font-size: .7em; color: var(--sepia-soft); margin-left: .2em; letter-spacing: 0; }
.oto-card.is-in .oto-img { animation: inkin 1.6s ease both; }
@keyframes inkin { from { opacity: 0; } }
.oto-actions { margin-top: 18px; display: grid; gap: 8px; justify-items: center; }
.oto-actions button, .oto-close { font: inherit; font-size: 14px; color: var(--sepia); background: var(--paper-card); border: 1px solid var(--au-3); border-radius: 2px; padding: 8px 18px; min-height: 44px; cursor: pointer; box-shadow: inset 0 0 0 2px #fbf6ec, inset 0 0 0 3px color-mix(in srgb, var(--au-3) 35%, transparent); }
.oto-count { margin: 0; font-size: 13px; }

.oto-shot { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--grain), var(--paper-deep); color: var(--sepia); }
.oto-shot[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.oto-shot::backdrop { background: var(--paper-deep); }
.oto-card.is-shot { --w: min(94vw, calc((100svh - 130px) * 0.8)); }
.oto-close { margin: 0 0 64px; }
:lang(en) .oto-head { letter-spacing: .04em; }
:lang(en) .oto-tour { letter-spacing: .06em; font-size: 5.6cqw; }
:lang(en) .oto-group { letter-spacing: .06em; }
section[id] { scroll-margin-top: 120px; }

.draw { --flip-ms: 440; position: relative; display: flex; gap: 0; flex-wrap: nowrap; justify-content: center; margin: 4px auto 0; padding: 44px 34px 50px; width: min(100%, 440px); border-radius: 14px; perspective: 1100px;
  background: radial-gradient(70% 60% at 50% 40%, rgba(120, 136, 196, .25), transparent 75%), url(art/velvet-flat.svg) 0 0 / 160px, #1f2650;
  box-shadow: inset 0 0 0 3px var(--au-3), inset 0 0 0 4px var(--au-1), inset 0 0 0 5px var(--au-4), inset 0 0 0 7px var(--au-2), inset 0 10px 26px rgba(0, 0, 0, .45), inset 0 0 60px rgba(8, 10, 32, .5), 0 12px 24px rgba(40, 28, 10, .4); }
.draw[hidden] { display: none; }
.card-back { --w: min(calc((100vw - 60px) / 3 * 1.06), 140px); width: var(--w); aspect-ratio: 4 / 5; padding: 0; border: 0; cursor: pointer; border-radius: 8px; position: relative; margin: 0 calc(var(--w) * -.12); transform-origin: 50% 120%;
  transform: rotate(calc((var(--k) - (var(--n) - 1) / 2) * 8deg)); transition: transform .6s cubic-bezier(.3, .1, .2, 1), opacity .5s; transform-style: preserve-3d;
  background: url(art/ticket-back.svg) center / 100% 100%; box-shadow: 0 1px 0 #11163a, 0 2px 0 #0b0f2c, 0 10px 18px rgba(0, 0, 0, .45); }
.card-back:hover, .card-back:focus-visible { transform: rotate(calc((var(--k) - (var(--n) - 1) / 2) * 8deg)) translateY(-14px); }
.card-back .cb-face { position: absolute; inset: 0; border-radius: 8px; background: linear-gradient(110deg, transparent 35%, rgba(255, 250, 232, .5) 48%, transparent 60%); opacity: 0; transition: opacity .4s; }
.card-back:hover .cb-face, .card-back:focus-visible .cb-face { opacity: .7; }
.draw.is-choosing .card-back:not(.is-flip) { opacity: 0; transform: translateY(30px) rotate(calc((var(--k) - (var(--n) - 1) / 2) * 14deg)); }
.card-back.is-flip { opacity: 1; z-index: 2; transform: rotate(calc((var(--k) - (var(--n) - 1) / 2) * 8deg)) translateY(-22px) rotateY(90deg) scale(1.16); transition: transform .45s cubic-bezier(.55, 0, .85, .35); }
.oto-card.is-reveal { animation: reveal .7s ease both; }
@keyframes reveal { from { transform: rotateY(-90deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .card-back, .card-back.is-flip { transition: none; } .oto-card.is-reveal { animation: none; } .card-back:hover { transform: rotate(calc((var(--k) - (var(--n) - 1) / 2) * 8deg)); } }
html[data-motion="reduce"] .card-back, html[data-motion="reduce"] .card-back.is-flip { transition: none; }
html[data-motion="reduce"] .oto-card.is-reveal { animation: none; }
.draw-note { font-size: 13px; margin: 10px 0 0; }

.otoshi .oto-card { padding: 9px; border-radius: 4px; --w: min(88vw, 420px, calc((100svh - 220px) * .8));
  background: linear-gradient(150deg, var(--au-5), var(--au-3) 30%, var(--au-2) 55%, var(--au-4) 78%, var(--au-2));
  box-shadow: inset 0 0 0 1px var(--au-1), inset 0 0 0 3px var(--au-5), inset 0 0 0 4px var(--au-1), 0 14px 30px rgba(40, 28, 10, .45); }
.otoshi .oto-card .oto-paper { border-radius: 1px; box-shadow: inset 0 0 0 1px rgba(58, 42, 18, .4);
  background: url(art/corner-tl.svg) 1.6cqw 1.6cqw / 11cqw no-repeat, url(art/corner-tr.svg) calc(100% - 1.6cqw) 1.6cqw / 11cqw no-repeat, url(art/corner-bl.svg) 1.6cqw calc(100% - 1.6cqw) / 11cqw no-repeat, url(art/corner-br.svg) calc(100% - 1.6cqw) calc(100% - 1.6cqw) / 11cqw no-repeat,
    radial-gradient(60% 40% at 50% 42%, color-mix(in srgb, var(--wisteria-pale) 55%, transparent), transparent 75%), radial-gradient(120% 90% at 50% 40%, transparent 60%, color-mix(in srgb, var(--paper-deep) 80%, transparent) 100%), url(art/guilloche.svg) 0 0 / 30cqw auto, var(--grain), var(--paper-card); }
.otoshi .oto-paper::before { border-color: var(--au-3); outline-color: color-mix(in srgb, var(--au-4) 70%, transparent); }
.oto-card.is-shot { padding: 0; background: none; box-shadow: none; }

.oto-share { margin: 14px auto 0; max-width: 440px; display: grid; gap: 10px; justify-items: center; accent-color: var(--indigo); }
.oto-share:empty { display: none; }
.oto-share [hidden] { display: none !important; }
.lost-internal { white-space: nowrap; font: 12px/1.6 system-ui, sans-serif; background: var(--stamp); color: var(--moonlight); padding: 0 6px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.share-btns a, .share-btns button { font: inherit; font-size: 14px; color: var(--sepia); background: var(--paper-card); border: 1px solid var(--au-3); border-radius: 2px; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; cursor: pointer; text-decoration: none; box-shadow: inset 0 0 0 2px #fbf6ec, inset 0 0 0 3px color-mix(in srgb, var(--au-3) 35%, transparent); }
.share-btns .share-x { color: var(--au-5); background: #26305e; border-color: var(--au-3); box-shadow: inset 0 0 0 2px var(--indigo), inset 0 0 0 3px color-mix(in srgb, var(--au-4) 60%, transparent); }
.share-btns a:hover, .share-btns button:hover { border-color: var(--au-2); }

.share-to { border: 0; background: none; padding: 0; margin: 0; min-inline-size: 0; display: block; }
.share-to legend { display: block; width: 100%; padding: 0; margin: 0 0 7px; text-align: center; font-family: var(--antique); font-size: 12px; letter-spacing: .2em; color: #6a5032; }
.share-to-opts { border: 1px solid color-mix(in srgb, var(--au-3) 55%, transparent); background: rgba(255, 252, 244, .55); border-radius: 2px; padding: 8px 14px; margin: 0; display: flex; flex-wrap: wrap; gap: 2px 16px; justify-content: center; font-size: 14px; }
.share-to label { min-height: 40px; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.share-at { flex-basis: 100%; justify-content: center; }
.share-note { margin: 0; font-size: 12px; color: var(--sepia-soft); min-height: 1em; word-break: break-all; }
.oto-page { text-align: center; margin: 8px 0 0; font-size: 13px; }
.otoshi .oto-page a, .share-h, .diary label { color: #5a4120; }

.diary { max-width: 440px; margin: 18px auto 0; text-align: left; display: grid; gap: 8px; accent-color: var(--indigo); }
.diary label { font-size: 14px; }
.diary textarea { font: inherit; font-size: 16px; min-height: 7em; padding: 10px; background: #fbf6ec; border: 1px solid color-mix(in srgb, var(--au-3) 60%, transparent); border-radius: 2px; box-shadow: inset 0 1px 3px rgba(58, 42, 18, .14); color: var(--sepia); resize: vertical; width: 100%; box-sizing: border-box; }
.diary .diary-count { font-size: 12px; color: var(--sepia-soft); margin: 0; }
.diary .diary-count.is-over { color: var(--stamp); }
.diary-memos { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; font-size: 13px; }
.diary-memos li { border: 1px solid color-mix(in srgb, var(--au-3) 40%, transparent); padding: 8px 10px; display: grid; gap: 4px; background: #fbf6ec; }
.diary-memos small { color: var(--sepia-soft); }
.diary-memos button, .diary-clear { justify-self: end; font: inherit; font-size: 12px; background: none; border: 1px solid var(--line-soft); border-radius: 2px; padding: 4px 10px; min-height: 32px; cursor: pointer; color: var(--sepia); }
.diary > [data-save] { justify-self: center; font: inherit; font-size: 14px; color: var(--sepia); background: var(--paper-card); border: 1px solid var(--au-3); border-radius: 2px; padding: 10px 16px; min-height: 44px; cursor: pointer; box-shadow: inset 0 0 0 2px #fbf6ec, inset 0 0 0 3px color-mix(in srgb, var(--au-3) 35%, transparent); }
.diary-local { font-size: 12px; color: var(--sepia-soft); margin: 0; }
.share-h { font-size: 14px; margin: 18px 0 0; font-weight: normal; letter-spacing: .2em; font-family: var(--antique); }
.otoshi [hidden] { display: none !important; }

html.js .otoshi:not(.is-ready) #oto-card, html.js .otoshi:not(.is-ready) .oto-page, html.js .otoshi:not(.is-ready) .oto-actions { visibility: hidden; }
.diary-memos span { overflow-wrap: anywhere; min-width: 0; }
.diary, .diary-memos li { min-width: 0; }
.oto-no { font-size: 3cqw; letter-spacing: .3em; color: var(--gold-ink); }
.oto-paper.is-word .oto-img { width: 46cqw; opacity: .55; }
.oto-paper.is-word .oto-name { font-size: 9cqw; letter-spacing: .24em; }

.tickets { max-width: none; padding: 56px 16px 64px; background: var(--veil), var(--tooth), radial-gradient(130% 90% at 50% 50%, transparent 50%, rgba(40, 26, 10, .36)), url(art/wood.svg) 0 0 / 360px, var(--table); }
.tickets h2 { color: var(--ink-wood); }
.tickets .lead { color: #3a2c1c; }
.ticket-list { list-style: none; padding: 0; margin: 0 auto; max-width: 1040px; display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 26px; }

.ticket-list:has(> li:nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
@media (min-width: 600px) { .ticket-list:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 700px; gap: 30px 32px; } }
@media (min-width: 1200px) { .ticket-list:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1160px; gap: 28px; } }
.ticket { position: relative; color: var(--sepia); padding: 0 18px 14px; border-radius: 4px; transition: transform .5s cubic-bezier(.3, .1, .2, 1), box-shadow .5s; animation: rise .9s cubic-bezier(.2, .7, .3, 1) both; animation-delay: calc(var(--i) * .14s);
  isolation: isolate; background: radial-gradient(circle at 0 50%, var(--table) 7px, transparent 7.5px), radial-gradient(circle at 100% 50%, var(--table) 7px, transparent 7.5px), url(art/corner-bl.svg) 11px calc(100% - 11px) / 22px no-repeat, url(art/corner-br.svg) calc(100% - 11px) calc(100% - 11px) / 22px no-repeat, var(--fiber), var(--pmottle), var(--grain), linear-gradient(#f7f0df, #efe5cd);
  box-shadow: 0 1px 0 #ddcda9, 0 2px 0 #cdb991, 0 3px 0 #bfa97f, 0 12px 24px rgba(40, 28, 10, .3); }
@keyframes rise { from { opacity: 0; transform: translateY(20px) rotate(-1.5deg); } }
.ticket::before { content: ''; position: absolute; inset: 8px; z-index: -1; border: 1px solid color-mix(in srgb, var(--au-2) 60%, transparent); outline: 1px solid color-mix(in srgb, var(--au-3) 45%, transparent); outline-offset: -4px; border-radius: 2px; pointer-events: none; background: url(art/ticket-stamp.svg) right 18px top 64px / 50px no-repeat, radial-gradient(circle at 5px 46%, var(--table) 3.2px, rgba(40, 26, 10, .35) 3.8px, transparent 5px), url(art/jimon.svg) 0 6px / 160px 40px; background-clip: padding-box; }

.ticket::after { content: ''; position: absolute; top: -1px; right: 24%; width: 13px; height: 10px; background: var(--table); clip-path: polygon(0 0, 100% 0, 72% 100%, 28% 100%); transform: scaleY(0); transform-origin: top; transition: transform .18s cubic-bezier(.5, 0, .5, 1.6); }
.ticket:hover::after, .ticket:focus-within::after { transform: scaleY(1); }
.ticket:hover { transform: translateY(-5px) rotate(-.5deg); box-shadow: 0 1px 0 #ddcda9, 0 2px 0 #cdb991, 0 3px 0 #bfa97f, 0 18px 30px rgba(40, 28, 10, .4); }
.ticket p { margin: 0; }
.tk-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 -18px 10px; padding: 12px 22px 7px; font-size: 12px; letter-spacing: .14em; color: var(--indigo);
  background: linear-gradient(color-mix(in srgb, var(--wisteria) 30%, transparent), color-mix(in srgb, var(--wisteria) 18%, transparent)); border-bottom: 1px solid color-mix(in srgb, var(--indigo) 30%, transparent); border-radius: 4px 4px 0 0; }
.tk-no { color: var(--gold-ink); letter-spacing: .08em; font-size: 13px; }
.tk-night { font-family: var(--antique); color: var(--gold-ink); letter-spacing: .24em; font-size: 13px; }
.tk-city { font-family: var(--antique); font-size: 36px; letter-spacing: .3em; line-height: 1.3; color: var(--indigo); }
:lang(en) .tk-city { font-family: var(--caps); letter-spacing: .04em; font-size: 28px; }
.tk-venue { font-size: 15px; }
.tk-date { margin-top: 6px !important; font-size: 17px; letter-spacing: .04em; color: var(--indigo); }
.tk-time { font-size: 12px; color: var(--sepia-soft); }
.tk-guide { margin-top: 8px; padding-top: 7px; border-top: 1px dotted color-mix(in srgb, var(--sepia) 45%, transparent); font-size: 12px; line-height: 1.6; color: var(--sepia); overflow-wrap: anywhere; }
.tk-guide-h { font-size: 11px; letter-spacing: .2em; color: var(--gold-ink); }
.tk-access-h { color: var(--sepia-soft); margin-right: .2em; }

.tk-final { display: inline-block; margin-left: 1em; padding: 0 .5em 0 .62em; font-family: var(--caps); font-size: 10px; line-height: 1.75; letter-spacing: .24em; color: var(--gold-ink); vertical-align: .1em;
  border: 1px solid color-mix(in srgb, var(--au-3) 80%, transparent); outline: 1px solid color-mix(in srgb, var(--au-3) 38%, transparent); outline-offset: 1.5px; }
.tk-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; font-size: 12px; }

.tk-stamp { flex: none; display: inline-grid; place-items: center; width: 56px; height: 56px; border: 1.6px solid var(--indigo); color: var(--indigo); border-radius: 50%; font-size: 11px; line-height: 1; letter-spacing: .02em; transform: rotate(-12deg); opacity: .85;
  box-shadow: inset 0 0 0 3px transparent, inset 0 0 0 3.8px var(--indigo); -webkit-mask: var(--ink); mask: var(--ink); }
.tk-status { border: 1px solid currentColor; padding: 0 6px; }
.tk-valid { margin-left: auto; color: var(--sepia-soft); }
.tk-act { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 12px; }
.tk-buy { flex: 1 0 auto; white-space: nowrap; text-align: center; text-decoration: none; background: var(--indigo); color: var(--moonlight); padding: 8px 10px; letter-spacing: .2em; min-height: 44px; border-radius: 2px; box-shadow: inset 0 0 0 3px var(--indigo), inset 0 0 0 4px color-mix(in srgb, var(--gold-pale) 60%, transparent); }
.tk-buy small { display: block; font-size: 12px; letter-spacing: .05em; opacity: .85; line-height: 1.2; }
.tk-ics { white-space: nowrap; font: inherit; font-size: 12px; background: none; border: 0; text-decoration: underline; color: inherit; cursor: pointer; min-height: 44px; }
.ticket[data-status='ended'], .ticket[data-status='cancelled'] { filter: grayscale(.8); opacity: .7; }
html[data-motion='reduce'] .ticket::after { transition: none; }
.ticket.is-soon { grid-column: 1 / -1; max-width: 520px; padding-bottom: 46px; justify-self: center; width: 100%; text-align: center; }
.ticket.is-soon .tk-city { font-family: var(--mincho); font-size: 20px; letter-spacing: .14em; margin: 24px 0 8px; }
.tk-internal { position: absolute; top: -10px; right: 10px; margin: 0; font: 12px/1.6 system-ui, sans-serif; background: var(--stamp); color: var(--moonlight); padding: 0 8px; }
.tk-soon { flex: 1 1 auto; text-align: center; font-size: 12px; border: 1px dashed color-mix(in srgb, var(--sepia) 40%, transparent); padding: 10px 8px; }

.fares { position: relative; max-width: 560px; margin: 44px auto 0; padding: 30px clamp(18px, 6vw, 40px) 26px; color: var(--sepia); text-align: left;
  background: var(--fiber), var(--pmottle), var(--grain), linear-gradient(#f5eddb, #ece1c7); border-radius: 2px;
  box-shadow: 0 1px 0 #ddcda9, 0 2px 0 #cdb991, 0 14px 26px rgba(40, 28, 10, .28); }
.fares::before { content: ''; position: absolute; inset: 9px; border: 1px solid color-mix(in srgb, var(--au-2) 60%, transparent); outline: 1px solid color-mix(in srgb, var(--au-3) 40%, transparent); outline-offset: -4px; pointer-events: none; }
.fares::after { content: ''; position: absolute; top: 2px; left: 50%; width: 14px; height: 14px; margin-left: -7px; background: var(--gold); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.fares h3 { margin: 0 0 18px; text-align: center; font-family: inherit; font-weight: 700; font-size: 19px; letter-spacing: .5em; padding-left: .5em; color: var(--ink-wood); }
.fare-tier + .fare-tier { margin-top: 18px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--au-2) 40%, transparent); }
.fare-tier-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 0 0 6px; }
.fare-tier-name { font-weight: 700; font-size: 16px; letter-spacing: .2em; color: var(--indigo); }
.fare-nights { font-size: 12px; letter-spacing: .14em; color: var(--gold-ink); }
.fare-list { margin: 0; }
.fare { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: baseline; padding: 5px 0; }
.fare dt { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.fare dt::after { content: ''; flex: 1 1 auto; min-width: 16px; border-bottom: 1.5px dotted color-mix(in srgb, var(--sepia) 55%, transparent); transform: translateY(-.28em); }
.fare-name { flex: none; font-family: var(--caps); font-size: 17px; letter-spacing: .1em; color: var(--indigo); min-width: 1.2em; }
.fare-class { flex: none; font-size: 15px; letter-spacing: .2em; color: var(--indigo); white-space: nowrap; }
.fare-class + .fare-name { min-width: 0; font-size: 13px; letter-spacing: .06em; color: var(--sepia-soft); }
:lang(en) .fare-class { letter-spacing: .05em; }
.fare-area { font-size: 13px; color: var(--sepia-soft); white-space: nowrap; }
.fare-price { margin: 0; font-size: 16px; letter-spacing: .04em; color: var(--ink-wood); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.fare-perks { grid-column: 1 / -1; margin: 1px 0 0 calc(1.2em + 10px); font-size: 12px; line-height: 1.6; color: var(--sepia-soft); }
.fare-perks-h { margin-right: .3em; padding: 0 .4em; border: 1px solid color-mix(in srgb, var(--gold-ink) 45%, transparent); font-size: 11px; letter-spacing: .1em; color: var(--gold-ink); }
.fare-kari { font-size: 11px; }
.fare-tax { margin: 14px 0 0; text-align: right; font-size: 12px; letter-spacing: .08em; color: var(--sepia-soft); }
.fare-sales { list-style: none; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px dotted color-mix(in srgb, var(--sepia) 45%, transparent); font-size: 13px; line-height: 1.7; }
.fare-sales li + li { margin-top: 6px; }
.fare-tiers:empty ~ .fare-sales { margin-top: 0; padding-top: 0; border-top: 0; }
.fs-h { display: block; font-weight: 700; letter-spacing: .14em; color: var(--indigo); }
.fs-lot { font-family: var(--mincho); font-weight: 400; letter-spacing: 0; font-size: 12px; color: var(--sepia-soft); }
.fs-when { white-space: nowrap; }
:lang(en) .fs-when { white-space: normal; }
.fs-more { display: block; font-size: 12px; color: var(--sepia-soft); }
.fs-link { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.fs-link:focus-visible { outline: 1px solid var(--indigo); outline-offset: 3px; }
.fare-after { margin: 14px 0 0; text-align: center; font-size: 13px; letter-spacing: .08em; color: var(--ink-wood); }
.fare-after::before, .fare-after::after { content: ''; display: inline-block; width: .6em; height: .6em; margin: 0 .7em; background: var(--gold); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; vertical-align: .08em; }

:lang(en) .fares h3, :lang(en) .fare-tier-name, :lang(en) .fs-h, :lang(en) .fare-nights, :lang(en) .fare-tax, :lang(en) .fare-after { letter-spacing: .06em; }
:lang(en) .fares h3 { letter-spacing: .2em; padding-left: .2em; }
@media (max-width: 380px) { .fs-when { white-space: normal; } .fare-area { white-space: normal; } }

.route { max-width: none; padding: 56px 16px 72px; background: var(--veil), var(--tooth), radial-gradient(130% 90% at 50% 50%, transparent 50%, rgba(40, 26, 10, .36)), url(art/wood.svg) 0 0 / 360px, var(--table); }
.route h2 { color: var(--ink-wood); }
.route .lead { color: #3a2c1c; }
.route-stops { color: var(--ink-wood); }
.route-stops small { color: #4a3a28; }
.route-paper { width: min(100%, 720px); aspect-ratio: 1200 / 480; margin: 0 auto; position: relative; background: url(art/map.svg) center / 100% 100% no-repeat; box-shadow: 0 10px 24px rgba(40, 28, 10, .35), 0 1px 0 rgba(255, 255, 255, .5); border-radius: 2px; }
.route-map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.route-bed { fill: none; stroke: var(--sepia); stroke-width: 1.5; stroke-linecap: round; opacity: .62; }
.route-line { fill: none; stroke: var(--sepia); stroke-width: .55; stroke-dasharray: 1.2 3.4; stroke-linecap: round; opacity: .7; transform: translateY(2.6px); }

.route-train { offset-path: path('M520,70 C420,40 180,60 80,170 C150,200 250,170 300,140 C380,100 470,110 520,90'); offset-rotate: 0deg; animation: ride 45s linear infinite; }
.route-loco { transform-box: fill-box; transform-origin: center; animation: ride-face 45s linear infinite; }
@keyframes ride {
  0% { offset-distance: 0%; opacity: 0; }
  1.78% { offset-distance: 0%; opacity: 1; }
  3.56% { offset-distance: 0%; opacity: 1; animation-timing-function: ease-in-out; }
  41.84% { offset-distance: 50.69%; opacity: 1; }
  48.51% { offset-distance: 50.69%; opacity: 1; animation-timing-function: ease-in-out; }
  67.24% { offset-distance: 75.47%; opacity: 1; }
  72.58% { offset-distance: 75.47%; opacity: 1; animation-timing-function: ease-in-out; }
  91.11% { offset-distance: 100%; opacity: 1; }
  97.33% { offset-distance: 100%; opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes ride-face {
  0% { transform: scaleX(1); }
  43.3% { transform: scaleX(1); animation-timing-function: ease-in-out; }
  46% { transform: scaleX(-1); }
  100% { transform: scaleX(-1); }
}
.route-stops { list-style: none; padding: 0; margin: 24px auto 0; max-width: 720px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; text-align: center; }
.route-stops span { font-family: var(--antique); color: var(--gold-ink); margin-right: .4em; }
.route-stops small { display: block; color: var(--sepia-soft); }
.route-stop circle { fill: var(--paper-card); stroke: var(--indigo); stroke-width: 2.4; }
.route-stop text { fill: var(--sepia); font-size: 14px; text-anchor: middle; }
.route-stop .n { fill: var(--gold-ink); font-size: 12px; }
.route[hidden] { display: none; }

.notes { max-width: 44em; }
.notes h3 { font-family: var(--antique); font-weight: 400; color: var(--gold-ink); letter-spacing: .2em; margin-top: 40px; text-align: center; }
.notes h3::before { content: ''; display: inline-block; width: .8em; height: .8em; margin-right: .6em; background: var(--gold); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.foot { text-align: center; padding: 40px 16px 72px; border-top: 1px solid var(--line-soft); font-size: 14px; position: relative; }
.foot::before { content: ''; position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; background: var(--gold); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.foot .small { font-size: 12px; color: var(--sepia-soft); }
.dawn { display: block; width: min(100%, 520px); aspect-ratio: 600 / 260; margin: 0 auto 28px; background: url(art/dawn.svg) center / 100% 100% no-repeat; border: 1px solid var(--line); outline: 1px solid var(--line-soft); outline-offset: 3px; border-radius: 2px; }
@media (max-width: 600px) {
  :root { --bar-h: 96px; }
  .bar nav { order: 3; width: 100%; justify-content: center; }
  .bar { padding: 6px 12px; gap: 4px 10px; }
  .moon figcaption span { display: block; }
  .has-kv .hero-sky { height: 560px; }
  .pl-lines { font-size: 15px; line-height: 2.2; letter-spacing: .02em; }
  .car-sheet { margin: 0 12px; padding: 34px 16px 40px; transform: rotate(-.12deg); }
  .car-rack { height: 60px; background-size: auto 30px; }
  .car-trunk { bottom: 7px; }
  .car-window { aspect-ratio: 1000 / 640; width: min(78vw, 920px); }
  .cw-frame { display: none; } .cw-frame-sp { display: block; }
  .cw-view, .cw-blind { border-radius: 6.7% 6.7% 0 0 / 11.7% 11.7% 0 0; }
  .car-bay { gap: 1vw; padding: 14px 1vw 0; }
  .sconce { width: 8vw; }
  .sconce::before { width: 360%; }
  .car-trunk { right: 4%; width: 22vw; }
}
@media (min-width: 900px) {
  .card-back { --w: 168px; } .draw { width: 560px; padding: 54px 60px 60px; }
  .moon { top: 11%; left: 15%; }
  .moon figcaption { left: 100%; top: 50%; transform: translateY(-50%); margin: 0 0 0 10px; }
  .v-train { height: 7%; bottom: calc(53.4% - .9%); --ref-top: 430%; }
  .v-train .ref { opacity: .36; }
  .v-train .mirror { --mir-top: 428%; }
}

body.tour .hero-title { -webkit-mask: url(art/kasure.svg) 0 0 / 150px, linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)); -webkit-mask-composite: source-over; mask: url(art/kasure.svg) 0 0 / 150px, linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)); mask-composite: add; }
body.tour .pl-label { filter: drop-shadow(.5px .8px 0 rgba(255, 252, 242, .9)); }
body.tour .enter { background: radial-gradient(120% 140% at 50% 50%, transparent 55%, rgba(0, 0, 0, .25)), url(art/guilloche.svg) center / 120px 40px, linear-gradient(160deg, #4c5582, #3a406a 60%, #32385f);
  box-shadow: inset 0 0 0 4px #363d65, inset 0 0 0 5px var(--au-4), inset 0 0 0 7px #363d65, inset 0 0 0 8px rgba(201, 171, 114, .6), 0 10px 20px rgba(40, 28, 10, .35); }
body.tour .enter:hover { box-shadow: inset 0 0 0 4px #363d65, inset 0 0 0 5px var(--au-5), inset 0 0 0 7px #363d65, inset 0 0 0 8px var(--au-4), 0 14px 26px rgba(40, 28, 10, .4); }
body.tour .draw { background: radial-gradient(70% 60% at 50% 40%, rgba(120, 136, 196, .25), transparent 75%), url(art/velvet-flat.svg) 0 0 / 160px, #2f3459; }
body.tour .share-btns .share-x { background: #363d65; }
body.tour .otoshi { background: radial-gradient(56% 36% at 50% 58%, rgba(255, 236, 190, .3), transparent 75%), radial-gradient(130% 90% at 50% 50%, transparent 50%, rgba(40, 26, 10, .42)), var(--veil), var(--tooth), url(art/medallion.svg) 50% calc(100% - 18px) / min(28vw, 130px) no-repeat, url(art/wood.svg) 0 0 / 360px, var(--table); }

.back-theme { margin: 28px auto 0; font-size: 11px; color: var(--sepia-soft); letter-spacing: .08em; max-width: 30em; }
.back-door { display: inline-grid; place-items: center; margin-left: .2em; width: 24px; height: 24px; vertical-align: -7px; text-decoration: none; }
.back-door .star { width: 9px; height: 9px; background: var(--line); }
.back-door:hover .star, .back-door:focus-visible .star { background: var(--gold); }
.lost-main { padding: 32px 16px 24px; max-width: 560px; margin: 0 auto; text-align: center; }
.lost-kicker { font-size: 13px; letter-spacing: .3em; color: var(--gold-ink); margin: 0 0 16px; }
.lost-kind { border: 1px solid var(--line); padding: 1px 8px; letter-spacing: .1em; }
.lost-go { margin-top: 36px; }
.lost-go h2 { font-weight: normal; font-size: 20px; letter-spacing: .3em; color: var(--gold-ink); }
.lost-lives { list-style: none; padding: 0; margin: 0 0 12px; font-size: 14px; display: grid; gap: 6px; }
.lost-soon { font-size: 14px; color: var(--sepia-soft); }
.lost-links { font-size: 14px; line-height: 2.2; }
.lost-hidden-text { margin: 18vh auto 48px; font-size: 15px; line-height: 2.4; letter-spacing: .12em; }
.lost-hidden-text p { margin: 0 0 1.2em; }
body.lost { background: radial-gradient(90% 40% at 50% -6%, color-mix(in srgb, var(--indigo-2) 34%, transparent), transparent 70%), radial-gradient(50% 26% at 84% 0%, color-mix(in srgb, var(--wisteria) 32%, transparent), transparent 70%), var(--grain), var(--paper); }
body.lost .share-btns a, body.lost .share-btns button, body.lost .diary > [data-save] { border-color: var(--line); box-shadow: none; }
body.lost .share-btns .share-x { border-color: var(--indigo); box-shadow: none; }

.share-btns .lost-own { color: var(--au-5); background: #26305e; border-color: var(--indigo); box-shadow: none; }
.share-btns .lost-own:hover { border-color: var(--au-2); }

.foot .foot-copy a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: color .3s; } .foot .foot-copy a:hover { color: var(--sepia); }
.foot .foot-copy { margin: 26px 0 0; font-family: var(--mincho); font-size: 12px; letter-spacing: .3em; padding-left: .3em; color: var(--sepia-soft); }
.foot .foot-copy .cc { font-family: 'Yubi Cormorant', var(--mincho); font-size: 1.3em; letter-spacing: 0; line-height: 1; vertical-align: -.06em; }
:lang(en) .foot .foot-copy { font-family: 'Yubi Cormorant', var(--mincho); font-size: 13px; letter-spacing: .16em; padding-left: .16em; }

body.tour .ph { word-break: keep-all; overflow-wrap: anywhere; }
body.tour .ph .nw { white-space: nowrap; }
body.tour .notes p, body.tour .draw-note, body.tour .diary-local, body.tour .back-theme { text-wrap: balance; }
@media (max-width: 600px) { body.tour .lead { text-wrap: balance; } }

body.tour .otoshi { padding-top: 56px; }
body.tour .otoshi .lead { margin: 0 auto 32px; }

body.tour .otoshi:has(> .draw:not([hidden])) { padding-bottom: 172px; }

body.tour .otoshi { --col: min(88vw, 420px, calc((100svh - 220px) * .8)); }
@media (min-width: 900px) { body.tour .otoshi { --col: min(460px, calc((100svh - 220px) * .8)); } }

@media (max-height: 560px) {
  body.tour .otoshi { --col: min(88vw, 420px, max(220px, calc((100svh - 40px) * .8))); }
  .oto-shot[open] { grid-template-rows: none; grid-template-columns: 1fr auto; gap: 18px; padding: 8px max(20px, env(safe-area-inset-right, 0px)) 8px max(20px, env(safe-area-inset-left, 0px)); overflow: auto; }
  .oto-card.is-shot { --w: min(64vw, max(200px, calc((100svh - 24px) * .8))); justify-self: end; }
  .oto-shot .oto-close { margin: 0; justify-self: start; }
}
body.tour .otoshi .oto-card { --w: var(--col); }

body.tour .otoshi .oto-share { display: block; justify-items: normal; position: relative; width: max(var(--col), min(100%, 340px)); max-width: 100%; margin: 30px auto 0; padding: 32px 26px 28px; text-align: center; border-radius: 2px;
  background: linear-gradient(103deg, rgba(255, 253, 246, 0) 6%, rgba(255, 253, 246, .2) 30%, rgba(120, 86, 40, .04) 55%, rgba(255, 253, 246, .12) 78%), radial-gradient(120% 90% at 50% 40%, transparent 62%, rgba(214, 198, 168, .5) 100%), var(--fiber), var(--pmottle), var(--grain), var(--paper-card);
  box-shadow: 0 12px 26px rgba(40, 26, 10, .34), 0 2px 4px rgba(40, 26, 10, .22), 0 1px 0 rgba(255, 255, 255, .5); }
body.tour .otoshi .oto-share::before { content: ''; position: absolute; inset: 9px; border: 1px solid color-mix(in srgb, var(--au-3) 80%, transparent); outline: 1px solid color-mix(in srgb, var(--au-4) 55%, transparent); outline-offset: -4px; pointer-events: none; }
body.tour .otoshi .oto-share > * { position: relative; }
body.tour .otoshi .share-h { margin: 0 0 14px; font-size: 15px; letter-spacing: .3em; padding-left: .3em; text-align: center; color: #5a4120; }
body.tour .otoshi .share-to { margin: 0 0 16px; }

body.tour .otoshi .share-to-opts { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 0 26px; padding: 6px 14px; text-align: left; background: rgba(255, 252, 244, .35); border-color: color-mix(in srgb, var(--au-3) 45%, transparent); }
body.tour .otoshi .share-to-opts .share-at { grid-column: 1 / -1; justify-self: center; }
body.tour .otoshi .share-to input[type='radio'] { appearance: none; -webkit-appearance: none; flex: none; width: 16px; height: 16px; margin: 0 4px 0 0; border: 1px solid var(--au-2); border-radius: 50%; background: #fbf6ec; box-shadow: inset 0 0 0 3px #fbf6ec; cursor: pointer; transition: background-color .25s, border-color .25s; }
body.tour .otoshi .share-to input[type='radio']:checked { background: var(--indigo); border-color: var(--indigo); }
body.tour .otoshi .share-to input[type='radio']:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }

body.tour .oto-actions button, body.tour .share-btns a, body.tour .share-btns button, body.tour .diary > [data-save] { min-height: 44px; padding: 9px 18px; font-size: 14px; letter-spacing: .08em; line-height: 1.5; }
body.tour .otoshi .share-btns { gap: 10px; }
body.tour .otoshi .share-btns > * { flex: 1 1 auto; justify-content: center; }
body.tour .otoshi .share-btns > :not(.share-x) { flex: 1 1 0; min-width: max-content; }
body.tour .otoshi .share-btns > .share-x { flex-basis: 100%; }
body.tour .otoshi .share-note { margin-top: 6px; min-height: 0; }
body.tour .otoshi .diary { max-width: none; margin: 22px 0 0; padding-top: 34px; gap: 10px; text-align: center; }
body.tour .otoshi .diary::before { content: ''; position: absolute; top: 0; left: 50%; width: 132px; height: 16px; margin-left: -66px; background: var(--foil); -webkit-mask: url(art/rule.svg) center / contain no-repeat; mask: url(art/rule.svg) center / contain no-repeat; }
body.tour .otoshi .diary > .share-h { margin: 0; }
body.tour .otoshi .diary label { font-size: 13px; letter-spacing: .06em; color: #6a5032; }
body.tour .otoshi .diary .diary-count { justify-self: end; margin-top: -4px; }
body.tour .otoshi .diary-local { line-height: 1.8; }
body.tour .otoshi .diary-memos { text-align: left; }
body.tour .otoshi .oto-page { margin-top: 20px; }

body.tour .route .lead { max-width: 720px; margin-inline: auto; }
body.tour .route .lead.kari { width: fit-content; }

@media (max-width: 600px) { body.tour .route-stop text { font-size: 21px; } }

body.tour .notes { text-align: center; }
body.tour .notes p { max-width: 40em; margin: 0 auto 1em; line-height: 2; }
body.tour .notes .kari { display: block; width: min(100%, 40em); margin-inline: auto; }
body.tour .notes h3 { margin: 44px 0 14px; }

@media (min-width: 601px) { body.tour .car-window { width: min(72vw, 920px); } }

body.tour .hero { min-height: min(calc(100svh - var(--bar-h)), 940px); }

@media (min-width: 600px) and (max-width: 1199px) { body.tour .ticket-list:has(> li:nth-child(4):last-child) { max-width: 760px; gap: 32px 36px; } }

body.tour .route-stop text { paint-order: stroke; stroke: #efe6d2; stroke-width: 4px; stroke-linejoin: round; }

body.tour .kari { outline-color: color-mix(in srgb, currentColor 50%, transparent); outline-offset: 6px; }
body.tour .kari::after { top: -21px; right: -10px; }

body.tour .proto-band { text-wrap: balance; }

body.tour .otoshi .share-btns .share-x { color: var(--au-5); text-shadow: 0 1px 0 rgba(10, 12, 30, .7); background: radial-gradient(120% 160% at 50% 50%, transparent 55%, rgba(0, 0, 0, .2)), url(art/guilloche.svg) center / 120px 40px, linear-gradient(160deg, #4c5582, #3a406a 60%, #32385f);
  border-color: var(--au-2); box-shadow: inset 0 0 0 3px #363d65, inset 0 0 0 4px color-mix(in srgb, var(--au-4) 75%, transparent), 0 3px 8px rgba(40, 28, 10, .25); }
body.tour .otoshi .diary > [data-save] { justify-self: stretch; }
@media (max-width: 599px) { body.tour .ticket-list:has(> li:nth-child(4):last-child) { gap: 32px; } }
body.tour .back-theme { font-size: 12px; }

body.tour .otoshi .diary > [data-save] { background: transparent; box-shadow: none; border-color: color-mix(in srgb, var(--au-3) 85%, transparent); }
@media (max-width: 600px) {
  body.tour .notes .kari, body.tour .route .lead.kari { max-width: calc(100% - 16px); }
  body.tour .route-stops { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
}

body.tour .hero-sky { --train-b: calc(53.4% - .85%); --train-h: 6.6%; --text-gap: 8px; }
body.tour .hero:not(.has-kv) .v-train { bottom: var(--train-b); height: var(--train-h); }
body.tour .hero:not(.has-kv) .hero-text { top: auto; bottom: calc(var(--train-b) + var(--train-h) + var(--text-gap)); }
body.tour .moon figcaption { left: 100%; top: 50%; transform: translateY(-50%); margin: 0 0 0 10px; }
body.tour .hero-mean { margin: 6px 0 0; font-family: 'Yubi Cormorant', var(--mincho); font-style: italic; font-weight: 500; font-size: 15px; line-height: 1.3; letter-spacing: .08em; color: var(--moonlight); text-shadow: 0 1px 2px rgba(10, 12, 30, .6); animation: title-in 1.8s ease 2.2s both; }
body.tour .hero-mean[hidden] { display: none; }
body.tour:lang(en) .hero-title { font-size: clamp(30px, 8vw, 56px); }
body.tour:lang(en) .hero-group { font-size: 13px; margin-bottom: 6px; }
body.tour:lang(en) .hero-sub { margin-top: 6px; font-size: 13px; letter-spacing: .14em; }
body.tour:lang(en) .hero-mean { margin-top: 4px; }
html[data-motion='reduce'] body.tour .hero-mean { animation: none !important; }
@media (min-width: 601px) { body.tour:lang(en) .hero-mean { margin-top: 10px; } }
@media (max-width: 600px) { body.tour .hero:not(.has-kv) .hero-sky { height: clamp(600px, calc(100svh - var(--bar-h) - 56px), 800px); } }
@media (min-width: 900px) {
  body.tour .hero-sky { --train-b: calc(53.4% - .9%); --train-h: 7%; }
  body.tour .hero-mean { font-size: 18px; margin-top: 8px; }
}

body.tour .pl-lines.pl-en, body.tour .pl-lines.pl-en p { font-family: 'Yubi Cormorant', var(--mincho); }
body.tour .pl-lines.pl-en { font-size: 17px; line-height: 1.85; letter-spacing: .01em; word-break: normal; overflow-wrap: break-word; hyphens: manual; }
body.tour .pl-lines.pl-en p { word-break: normal; overflow-wrap: break-word; }
body.tour .pl-lines[hidden] { display: none; }
@media (min-width: 900px) { body.tour .pl-lines.pl-en { font-size: 19px; } }

.oto-name:lang(en) { font-family: 'Yubi Cormorant', var(--mincho); font-weight: 500; font-size: 6.6cqw; line-height: 1.12; letter-spacing: .04em; overflow-wrap: break-word; text-wrap: balance; max-width: 100%; }
.oto-paper.is-word .oto-name:lang(en) { font-size: 8cqw; letter-spacing: .04em; }
.oto-ja { font-family: var(--mincho); font-size: 3.2cqw; letter-spacing: .2em; color: var(--sepia-soft); }

.share-who { display: inline-flex; flex-direction: column; vertical-align: top; line-height: 1.25; }
.share-ja { font-family: var(--mincho); font-size: 11px; letter-spacing: .12em; color: var(--sepia-soft); }

.lang-pick { position: relative; display: flex; align-items: center; }
.bar-tools .lang-pick button { display: grid; place-items: center; width: 36px; min-width: 36px; height: 36px; min-height: 36px; padding: 0; border-radius: 50%; font-family: var(--mincho); font-size: 13px; line-height: 1; letter-spacing: 0; }
.bar-tools .lang-pick button:lang(en) { font-family: 'Yubi Cormorant', var(--mincho); font-size: 13px; letter-spacing: .02em; }
.bar-tools .lang-pick button:lang(th) { font-family: var(--thai); font-size: 11px; }
.lang-menu { display: none; position: absolute; z-index: 30; top: calc(100% + 9px); left: -7px; gap: 6px; padding: 6px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--au-3) 65%, transparent);
  background: linear-gradient(rgba(255, 252, 244, .97), rgba(244, 235, 219, .98)), var(--paper); box-shadow: inset 0 0 0 2px rgba(255, 252, 244, .9), 0 4px 12px rgba(58, 40, 18, .22); }
.lang-pick.is-open .lang-menu { display: flex; }
.bar-tools .lang-menu button[aria-pressed='true'] { background: color-mix(in srgb, var(--au-5) 34%, #fffaf0); }
@media (min-width: 900px) {
  .bar-tools .lang-pick .lang-now { display: none; }
  .lang-menu, .lang-pick.is-open .lang-menu { display: flex; position: static; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
}

:lang(zh-Hant) h2, :lang(zh-Hant) .pl-label, :lang(zh-Hant) .enter, :lang(zh-Hant) .share-to legend, :lang(zh-Hant) .share-h, :lang(zh-Hant) .notes h3 { font-family: var(--mincho); font-weight: 700; }
:lang(zh-Hant) .lead, :lang(zh-Hant) .pl-lines, :lang(zh-Hant) .pl-lines p { word-break: normal; overflow-wrap: break-word; }
body.tour .pl-lines.pl-zh { letter-spacing: .04em; }
.oto-name:lang(zh-Hant) { font-family: var(--mincho); }

body.tour:lang(th) { font-family: var(--thai); }
body:lang(th) :lang(th):not(#_) { letter-spacing: normal; }
:lang(th) .bar-tools button, :lang(th) h2, :lang(th) .pl-label, :lang(th) .enter, :lang(th) .share-to legend, :lang(th) .share-h, :lang(th) .notes h3, :lang(th) .tk-night, :lang(th) .tk-city, :lang(th) .route-stops span { font-family: var(--thai); }
:lang(th) h2, :lang(th) .notes h3 { font-weight: 600; padding-left: 0; }
:lang(th) .pl-label { padding-left: 0; }
:lang(th) .enter { font-weight: 600; }
body.tour:lang(th) .otoshi .share-h { padding-left: 0; font-weight: 600; }
:lang(th) .bar-tools button { font-size: 12px; }
:lang(th) .tk-city { font-size: 26px; font-weight: 600; line-height: 1.5; }
:lang(th) .lead, :lang(th) .pl-lines, :lang(th) .pl-lines p { word-break: normal; overflow-wrap: break-word; }
body.tour:lang(th) .hero-title:not(#_), body.tour:lang(th) .ht:not(#_) { letter-spacing: .06em; }
body.tour:lang(th) .hero-title { font-family: var(--caps); font-size: clamp(30px, 8vw, 56px); }
body.tour:lang(th) .ht { padding-left: .06em; }
body.tour:lang(th) .hero-group:not(#_) { letter-spacing: .22em; }
body.tour:lang(th) .hero-group { font-family: var(--caps); padding-left: .22em; font-size: 13px; margin-bottom: 6px; }
body.tour:lang(th) .hero-sub { margin-top: 6px; font-size: 14px; }
body.tour:lang(th) .hero-mean { font-family: var(--thai); font-style: normal; font-size: 14px; margin-top: 4px; }
body:lang(th) .bar-home:not(#_), body:lang(th) .foot .foot-copy:not(#_) { letter-spacing: .16em; }
body:lang(th) .foot .foot-copy { font-family: 'Yubi Cormorant', var(--mincho); font-size: 13px; padding-left: .16em; }
body:lang(th) .oto-tour:not(#_), body:lang(th) .oto-group:not(#_) { letter-spacing: .06em; }
body:lang(th) .moon figcaption { font-size: 10px; max-width: 120px; }
body:lang(th) .fs-when { white-space: normal; }
body.tour .pl-lines.pl-th, body.tour .pl-lines.pl-th p { font-family: var(--thai); }
body.tour .pl-lines.pl-th { font-size: 16px; line-height: 2.05; }
@media (min-width: 900px) { body.tour .pl-lines.pl-th { font-size: 18px; } }
.oto-name:lang(th) { font-family: var(--thai); font-weight: 600; font-size: 6cqw; line-height: 1.35; overflow-wrap: break-word; text-wrap: balance; max-width: 100%; }
.oto-paper.is-word .oto-name:lang(th) { font-size: 7.2cqw; }

:lang(th) .lead, :lang(th) .notes p, :lang(th) .back-theme, :lang(th) .diary-local, :lang(zh-Hant) .lead, :lang(zh-Hant) .notes p, :lang(zh-Hant) .back-theme { text-wrap: balance; }

@media (orientation: landscape) and (max-height: 560px) { body.tour .hero:not(.has-kv) .moon figcaption { display: none; } }
