/*
 * v12 /destinations journey: the scenes. The engine (layout, pinned stage, .j-a/.j-x/.j-draw/.j-drop/.j-mv,
 * the baton) is css/journey-engine.css, the v10 travelers journey's, unchanged. Base styles are every
 * scene's end state; motion lives in the reduced-motion: no-preference block at the end.
 */
@property --cx { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --cy { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --cz { syntax: "<number>"; inherits: true; initial-value: 1; }

.dj { background: linear-gradient(180deg, #fbf7f4 0, #f6efe8 30%, #f6efe8 70%, #fbf7f4 100%); }
.dj .anchor { position: absolute; top: 0; }
.journey[data-act="Explore"] .j-act [data-act="Explore"], .journey[data-act="Happen"] .j-act [data-act="Happen"],
.journey[data-act="Ask"] .j-act [data-act="Ask"] { color: #fff; background: #353b41; }
.j-status[data-status="web"] i { background: #2e7daf; }
.j-cap { margin-top: 4px; }
@media screen and (min-width: 1024px) and (min-height: 560px) and (scripting: enabled) {
  .j-cap { display: block; position: absolute; left: 0; right: 0; bottom: 6px; z-index: 6; margin: 0; }
}
.ph-w { display: contents; }
.journey .ph { position: absolute; }

/* the cards beside the phone (flow cards: stacked under it on phones) */
.fc.card { padding: 14px 15px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(51, 48, 43, .06), 0 20px 40px -26px rgba(51, 48, 43, .5), 0 0 0 1px rgba(234, 227, 218, .9); }
.pc-k { margin: 0 0 9px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red-t); }
.pc-f { margin: 10px 0 0; font-size: 11.5px; line-height: 1.45; color: #7a7066; }
.destination-guide-list, .ck, .sl, .dl, .ags { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.destination-guide-list { width: 100%; min-width: 0; }
.destination-guide-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 9px; min-width: 0; }
.gl-g { width: 30px; height: 30px; flex: none; border-radius: 9px; }
.destination-guide-list li > span { display: flex; flex-direction: column; min-width: 0; }
.destination-guide-list .gd { color: #fff; }
.destination-guide-list b { line-height: 1.35; overflow-wrap: normal; }
.destination-guide-list b { font-size: 12.5px; font-weight: 800; color: var(--ink); }
.destination-guide-list li > span > span { font-size: 11px; color: #8a7f74; }
.ck li { position: relative; padding-left: 18px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.ck li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 8px; height: 5px; border-left: 2px solid #465a3f; border-bottom: 2px solid #465a3f; rotate: -45deg; }
.sl li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.sl-n { display: flex; width: 20px; height: 20px; flex: none; align-items: center; justify-content: center; border-radius: 50%; background: #bc4938; font-size: 10.5px; font-weight: 800; color: #fff; }
.dl li { display: grid; grid-template-columns: 12px auto 1fr; align-items: center; gap: 8px; font-size: 12.5px; }
.dl i { width: 12px; height: 12px; border-radius: 50%; }
.dl b { font-weight: 800; color: var(--ink); }
.dl span { text-align: right; color: #7a7066; font-weight: 600; }
.qrc { display: flex; align-items: center; gap: 12px; }
.qrc .qr { width: 64px; flex: none; }
.qrc span { display: flex; flex-direction: column; gap: 2px; }
.qrc b { font-size: 12.5px; font-weight: 800; color: var(--ink); }
.qrc span span { font-size: 11px; line-height: 1.4; color: #7a7066; }
.em-mini { display: flex; flex-direction: column; gap: 5px; padding: 8px; border-radius: 10px; background: #f7f3ee; }
.em-mini i { height: 5px; border-radius: 3px; background: #e2d9cd; }
.em-map { height: 56px; margin-top: 4px; border-radius: 6px; background: url(..//destinations/valley-wide.webp) center / cover; }

/* the map camera: --cx/--cy (px) and --cz, registered so they transition; pins keep their size */
.cam { position: absolute; left: 0; top: 0; width: 278px; height: 610px; transform-origin: 0 0;
  --cx: var(--cx1, 0); --cy: var(--cy1, 0); --cz: var(--cz1, 1);
  transform: translate(calc(var(--cx) * 1px), calc(var(--cy) * 1px)) scale(var(--cz)); }
.cam .pn { transform: scale(calc(1 / var(--cz))); transform-origin: 0 0; }
.cam .mp-in { position: absolute; inset: 0; }
.cam .me { transform: scale(calc(1 / var(--cz))); transform-origin: 0 0; }
.pn-n { position: absolute; left: 6px; top: -50px; display: flex; width: 16px; height: 16px; align-items: center; justify-content: center; border-radius: 50%; font-size: 9px; font-weight: 800; color: #fff; box-shadow: 0 0 0 2px #fff; }

/* ---- 01 the guide sheet (GuideSheet.tsx: dark, hero photo, pills, frosted actions, cards) */
.gs { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; height: 63%; overflow: hidden; border-radius: 26px 26px 0 0; background: #17150f; color: #fff; box-shadow: 0 -10px 30px rgba(0, 0, 0, .25); }
.gs::before { content: ""; position: absolute; left: 50%; top: 6px; z-index: 3; width: 36px; height: 4px; margin-left: -18px; border-radius: 3px; background: rgba(255, 255, 255, .45); }
.gs-hero { position: relative; height: 128px; overflow: hidden; }
.gs-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gs-hero > i { position: absolute; inset: 0; background: linear-gradient(rgba(23, 21, 15, .05), rgba(23, 21, 15, .92)); }
.gs-k { position: absolute; left: 14px; bottom: 54px; z-index: 2; font-size: 9.5px !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.gs-t { position: absolute; left: 14px; right: 14px; bottom: 26px; z-index: 2; font-size: 21px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.gs-pills { position: absolute; left: 14px; bottom: 6px; z-index: 2; display: flex; gap: 6px; }
.gs-pills > span { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, .28); font-size: 10px; font-weight: 700; }
.gs-pills .ic { width: 11px; height: 11px; }
.gs-acts { display: flex; gap: 6px; padding: 10px 14px 4px; }
.gs-acts span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 99px; background: rgba(255, 255, 255, .14); font-size: 10.5px; font-weight: 700; }
.gs-acts .ic { width: 12px; height: 12px; }
.gs-card { display: flex; flex-direction: column; gap: 5px; margin: 10px 14px 0; }
.gs-card img { width: 100%; height: 108px; border-radius: 16px; object-fit: cover; }
.gs-card b { font-size: 14.5px; font-weight: 700; }
.gs-card > span { font-size: 11px; line-height: 1.4; color: rgba(255, 255, 255, .55); }
.gs-tip { display: flex; gap: 5px; color: rgba(255, 255, 255, .8) !important; }
.gs-tip .ic { width: 13px; height: 13px; color: #f2c14e; }
.gs-listen { display: inline-flex !important; align-items: center; gap: 5px; width: fit-content; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); font-weight: 700; color: #fff !important; }
.gs-listen .ic { width: 12px; height: 12px; }
.jp .pn-l { background: rgba(255, 255, 255, .93); color: #1a1a1a; }

/* ---- 02 the tour: the hero (Start tour), then the navigation drawer (TourNextStopSheet.tsx) */
.tour-mp { position: absolute; left: 0; top: -28.6px; width: 278px; height: 667.2px; }
.tn .tn-d { position: absolute; left: -10px; top: -10px; display: flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 50%; background: #bc4938; box-shadow: 0 0 0 2.5px #fff, 0 3px 8px -2px rgba(0, 0, 0, .45); font-size: 10.5px; font-weight: 800; color: #fff; }
.me { position: absolute; z-index: 3; width: 0; height: 0; }
.me i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #1d7cf2; box-shadow: 0 0 0 3px #fff, 0 0 0 12px rgba(29, 124, 242, .18); }
.th { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; padding: 18px 16px 30px; border-radius: 26px 26px 0 0; background: #17150f; color: #fff; }
.th-k { font-size: 9.5px !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.th-t { margin: 3px 0 12px !important; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.th-cta { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px; border-radius: 99px; background: #bc4938; font-size: 13px; font-weight: 800; }
.th-cta .ic { width: 14px; height: 14px; }
.th-modes { display: flex; gap: 6px; margin-top: 10px; }
.th-modes > * { flex: 1; padding: 6px; border-radius: 99px; background: rgba(255, 255, 255, .12); text-align: center; font-size: 11px; font-weight: 700; }
.th-modes b { background: #bc4938; }
.ns { position: absolute; z-index: 8; left: 0; right: 0; bottom: 0; padding: 12px 14px 26px; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -12px 30px rgba(0, 0, 0, .18); }
.ns-grab { display: block; width: 34px; height: 4px; margin: 0 auto 10px; border-radius: 3px; background: #d6cfc6; }
.ns-top { display: flex; align-items: center; justify-content: space-between; }
.ns-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; background: #f3eee8; font-size: 11px; font-weight: 800; color: #1f2937; }
.ns-pill .ic, .ns-skip .ic { width: 12px; height: 12px; }
.ns-skip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #6b6357; }
.ns-bar { display: block; height: 4px; margin: 10px 0; border-radius: 3px; background: #efe9e1; overflow: hidden; }
.ns-bar b { display: block; width: 40%; height: 100%; background: #bc4938; transform-origin: 0 50%; }
.ns-ph { position: relative; height: 104px; overflow: hidden; border-radius: 14px; }
.ns-ph img { width: 100%; height: 100%; object-fit: cover; }
.ns-ph i { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .65)); }
.ns-ph b { position: absolute; left: 10px; bottom: 8px; font-size: 15px; font-weight: 800; color: #fff; }
.ns-l { margin: 7px 0 0 !important; font-size: 11px; line-height: 1.4; color: #4a433c; }
.ns-l b { color: #1f2937; }
.ns-st { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.ns-st span { padding: 4px 9px; border-radius: 99px; background: #f3eee8; font-size: 10.5px; font-weight: 700; color: #1f2937; }
.ns-st .ns-v { margin-left: auto; padding: 0; background: none; color: #bc4938; }

/* ---- 03 the itinerary (a guide with days: day chips, day colours, per-day numbers) */
.it-m { position: absolute; inset: 0; }
.it-map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #e9e6dc; }
.it-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ipn { position: absolute; z-index: 2; display: flex; width: 20px; height: 20px; margin: -10px 0 0 -10px; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 3px 6px -2px rgba(0, 0, 0, .45); font-size: 10px; font-weight: 800; color: #fff; }
.itl { position: absolute; z-index: 1; font-size: 9px; font-weight: 800; color: #3c3631; text-shadow: 0 0 3px #fff, 0 0 3px #fff; transform: translate(-50%, 10px); white-space: nowrap; }
.gs-it { height: 54%; padding-top: 16px; background: #141614; }
.gs-top { position: relative; height: 70px; margin: 0 14px; }
.gs-top .gs-k { position: static; }
.gs-t2 { margin: 2px 0 6px !important; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.gs-top .gs-pills { position: static; }
.dch { display: flex; gap: 5px; margin: 10px 14px 0; }
.dch > * { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 99px; background: rgba(255, 255, 255, .08); font-size: 10.5px; font-weight: 700; color: #fff; white-space: nowrap; }
.dch b { background: #fff; color: #111; }
.dch i { width: 6px; height: 6px; border-radius: 50%; }
.dh-h { display: flex; align-items: center; gap: 7px; margin: 12px 14px 6px !important; font-size: 15px; font-weight: 800; }
.dh-h i { width: 4px; height: 16px; border-radius: 2px; }
.dh-h span { font-size: 10.5px; font-weight: 600; color: rgba(255, 255, 255, .55); }
.ic-c { display: flex; align-items: center; gap: 10px; margin: 0 14px 7px; }
.ic-ph { position: relative; display: flex; width: 44px; height: 44px; flex: none; }
.ic-g { width: 44px; height: 44px; border-radius: 12px; }
.ic-ph b { position: absolute; left: -4px; top: -4px; display: flex; width: 17px; height: 17px; align-items: center; justify-content: center; border-radius: 50%; font-size: 9.5px; font-weight: 800; color: #fff; box-shadow: 0 0 0 2px #141614; }
.ic-t { display: flex; flex-direction: column; min-width: 0; }
.ic-t b { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic-t span { font-size: 10px; color: rgba(255, 255, 255, .5); }

/* ---- 04 the flyover: the web map's Play Route, the valley tilted into 3D */
.wide { position: absolute; left: 0; top: 0; width: 760px; height: 720px; transform-origin: 0 0; scale: calc(360 / 760); translate: 0 calc(var(--wy, 0) * -1px * 360 / 760); }
@media screen and (min-width: 1024px) and (min-height: 560px) and (scripting: enabled) { .wide { scale: 1; translate: none; } }
.fy-w, .ev-w { position: absolute; left: 8px; top: 110px; width: 744px; height: 470px; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 40px 80px -40px rgba(51, 48, 43, .6), 0 0 0 1px rgba(51, 48, 43, .1); }
.fy-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 14px; border-bottom: 1px solid #efe9e1; background: #fbf9f6; }
.fy-url { display: inline-flex; align-items: center; gap: 5px; margin: 0 auto; padding: 3px 12px; border-radius: 99px; background: #f1ece6; font-size: 11px; font-weight: 600; color: #6e645a; }
.fy-url .ic { width: 11px; height: 11px; }
.fy-v { position: relative; height: calc(100% - 34px); overflow: hidden; background: #d9e3d4; perspective: 900px; }
.fy-cam { position: absolute; left: 50%; top: 52%; width: 0; height: 0; transform-style: preserve-3d; }
.fy-plane { position: absolute; left: -750px; top: -333.5px; width: 1500px; height: 667px; transform-origin: 1030px 400px;
  transform: translate(-236px, -40px) rotateX(60deg) rotateZ(-22deg) scale(1.36); }
.fy-plane img, .fy-plane svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fy-v::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(206, 222, 236, 1) 0%, rgba(214, 228, 240, .75) 12%, rgba(214, 228, 240, 0) 30%); }
.fy-ui { position: absolute; z-index: 3; right: 14px; top: 14px; display: flex; gap: 8px; }
.fy-b { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: #fff; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); font-size: 12.5px; font-weight: 800; color: #1d1b19; }
.fy-play { background: #1105cc; color: #fff; }
.fy-play .ic { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.fy-leg { position: absolute; z-index: 3; left: 330px; top: 262px; padding: 5px 11px; border-radius: 10px; background: #1105cc; font-size: 12px; font-weight: 800; color: #fff; box-shadow: 0 8px 18px -8px rgba(17, 5, 204, .6); }
.fy-leg.b { left: 520px; top: 168px; }
.fy-title { position: absolute; z-index: 3; left: 16px; top: 16px; padding: 8px 14px; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 800; color: #1d1b19; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }

/* ---- 05 events: the month calendar, the list, venues on the map */
.ev-b { display: grid; grid-template-columns: 420px 1fr; height: calc(100% - 34px); }
.ev-l { padding: 14px 16px; border-right: 1px solid #efe9e1; overflow: hidden; }
.cal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-h > b { font-size: 15px; font-weight: 800; }
.cal-v { display: flex; gap: 2px; padding: 2px; border-radius: 9px; background: #f1ece6; font-size: 10.5px; font-weight: 700; color: #6e645a; }
.cal-v > * { padding: 3px 9px; border-radius: 7px; }
.cal-v b { background: #fff; color: #1d1b19; }
.cal-w, .cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-w span { font-size: 9.5px; font-weight: 700; color: #8a7f74; text-align: center; }
.cal-g { margin-top: 4px; }
.cday { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; height: 34px; padding-top: 4px; border-radius: 8px; background: #faf8f5; }
.cday b { font-size: 11px; font-weight: 700; color: #3c3631; }
.cday.off { background: none; }
.cday.sel { background: #1d1b19; }
.cday.sel b { color: #fff; }
.cd { display: block; width: 6px; height: 6px; border-radius: 50%; }
.ev-list { display: grid; gap: 6px; margin-top: 10px; }
.evr, .ai-ev { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 12px; background: #faf8f5; box-shadow: inset 0 0 0 1px #efe9e1; }
.evd { display: flex; width: 34px; flex: none; flex-direction: column; align-items: center; padding: 3px 0; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px #e8e1d8; }
.evd small { font-size: 8.5px; font-weight: 800; text-transform: uppercase; color: var(--red-t); }
.evd b { font-size: 14px; font-weight: 800; line-height: 1; color: #1d1b19; }
.evt { display: flex; flex-direction: column; min-width: 0; }
.evt b { font-size: 12px; font-weight: 800; color: #1d1b19; }
.evt span { font-size: 10.5px; color: #7a7066; }
.evt em { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 10px; font-style: normal; font-weight: 800; color: #3c8d40; }
.evt em .ic { width: 11px; height: 11px; }
.ev-map { position: relative; overflow: hidden; background: #e7ecdf; }
.ev-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.evp { position: absolute; z-index: 2; display: flex; align-items: center; gap: 4px; padding: 3px 8px 3px 3px; border-radius: 99px; background: #fff; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45); transform: translate(-50%, -50%); font-size: 10.5px; font-weight: 800; color: #1d1b19; white-space: nowrap; }
.evp i { display: flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; }
.evp .ic { width: 11px; height: 11px; }
.feedc { display: none; }
.fc-feed { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 14px; background: #fff; box-shadow: 0 16px 30px -18px rgba(51, 48, 43, .6), 0 0 0 1px var(--line); }
.fc-feed > .ic { width: 28px; height: 28px; flex: none; padding: 6px; border-radius: 8px; background: #eef2ea; color: #3c8d40; }
.fc-feed span { display: flex; flex-direction: column; }
.fc-feed b { font-size: 12.5px; font-weight: 800; color: var(--ink); }
.fc-feed span span { font-size: 11px; color: #7a7066; }
.fdot { position: absolute; right: -8px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #3c8d40; box-shadow: 0 0 0 4px rgba(60, 141, 64, .25); }
@media screen and (min-width: 1024px) and (min-height: 560px) and (scripting: enabled) { .feedc { display: block; } }

/* ---- 06 your AI: the assistants, the conversation, the change on the map */
.ch-w { position: absolute; left: 30px; top: 4px; width: 300px; transform-origin: 0 0; }
.fy-dot { position: absolute; z-index: 2; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(17, 5, 204, .35), 0 6px 14px rgba(0, 0, 0, .35); offset-distance: 100%; offset-rotate: 0deg; }
.fy-dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #1105cc; }
@media screen and (min-width: 1024px) and (min-height: 560px) and (scripting: enabled) { .ch-w { left: 262px; top: 60px; width: 290px; } }
.ch { overflow: hidden; border-radius: 22px; background: #1d1b19; color: #f4ede6; box-shadow: 0 40px 70px -36px rgba(0, 0, 0, .7); font-size: 12px; line-height: 1.45; }
.ch-top { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 11.5px; font-weight: 700; color: rgba(244, 237, 230, .8); }
.ch-dot { width: 8px; height: 8px; border-radius: 50%; background: #9fc08f; }
.ch > p, .ch-ok { margin: 10px 14px 0; }
.ch-u { margin-left: 40px !important; padding: 9px 11px; border-radius: 14px 14px 4px 14px; background: #3a3632; }
.ch-tool { display: flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 11px; }
.ch-tool .ic { width: 13px; height: 13px; color: rgba(244, 237, 230, .6); }
.ch-tool code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10.5px; color: #f4ede6; }
.ch-tool i { display: flex; margin-left: auto; color: #9fc08f; }
.ch-tool i .ic { color: #9fc08f; stroke-width: 3; }
.ch-wait { margin-left: auto; font-size: 10px; font-weight: 800; color: #f2c14e; }
.ch-ok { padding: 10px 11px; border-radius: 12px; background: #2b2825; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ch-ok p { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; }
.ch-ok span { display: flex; justify-content: flex-end; gap: 6px; }
.ch-ok i, .ch-ok b { padding: 5px 12px; border-radius: 99px; font-size: 11px; font-style: normal; font-weight: 800; }
.ch-ok i { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.ch-ok b { background: #f4ede6; color: #1d1b19; }
.ch-a { display: flex; gap: 6px; margin-bottom: 14px !important; padding: 9px 11px; border-radius: 14px 14px 14px 4px; background: #2b2825; }
.ch-a .ic { width: 14px; height: 14px; flex: none; margin-top: 2px; color: #9fc08f; stroke-width: 3; }
.ag-card { position: relative; }
.ags { gap: 10px; }
.ag { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 12px; background: #faf8f5; box-shadow: inset 0 0 0 1px #efe9e1; }
.ag.on { background: #1d1b19; box-shadow: none; }
.ag.on b { color: #fff; }
.ag-i { display: flex; width: 30px; height: 30px; flex: none; align-items: center; justify-content: center; border-radius: 9px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); overflow: hidden; }
.ag-i img { width: 20px; height: 20px; object-fit: contain; }
.ag:nth-child(1) .ag-i { background: #d97757; }
.ag:nth-child(1) .ag-i img { filter: brightness(0) invert(1); width: 18px; height: 18px; }
.ag:nth-child(3) .ag-i img { width: 30px; height: 30px; }
.ag b { font-size: 13px; font-weight: 800; color: var(--ink); }
.ag em { margin-left: auto; font-size: 10px; font-style: normal; font-weight: 800; color: #9fc08f; }
.ag-w { display: none; }
.ag-port { display: none; }
@media screen and (min-width: 1024px) and (min-height: 560px) and (scripting: enabled) {
  .ag-w { display: block; position: absolute; left: 100%; top: 34px; width: 34px; height: 260px; overflow: visible; }
  .ag-w path { fill: none; stroke: #d8cfc4; stroke-width: 1.6; }
  .ag-w path.on { stroke: var(--red); stroke-width: 2; }
  .ag-port { display: flex; position: absolute; left: calc(100% + 26px); top: 146px; width: 30px; height: 30px; padding: 3px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 2px var(--red), 0 6px 14px -6px rgba(0, 0, 0, .4); }
  .ag-port img { width: 100%; height: 100%; border-radius: 6px; }
}
.ai-ev { background: #fff; }
.ai-new { margin-left: auto; padding: 2px 7px; border-radius: 99px; background: #eef2ea; font-size: 10px; font-style: normal; font-weight: 800; color: #3c8d40; }

/* ======================================================================
 * MOTION (scenes). The engine's own rules are in journey-engine.css.
 * ==================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .journey[data-live] .j-a.e-sheet { transition: opacity 200ms var(--j-ease), transform 760ms cubic-bezier(.2, .9, .25, 1); transition-delay: calc(var(--t, 0) * 1ms); }
  .journey[data-live] .j-a.e-grow { transition: transform 900ms var(--j-io); transition-delay: calc(var(--t, 0) * 1ms); }
  .journey[data-live] .j-scene:not([data-played]) .j-a.e-grow { transform: scaleX(0); opacity: 1; }
  .journey[data-live] .cam { transition: --cx 1300ms var(--j-io), --cy 1300ms var(--j-io), --cz 1300ms var(--j-io); }
  .journey[data-live] .j-scene:not([data-played]) .cam { --cx: var(--cx0, var(--cx1, 0)); --cy: var(--cy0, var(--cy1, 0)); --cz: var(--cz0, var(--cz1, 1)); transition: none; }
  .journey[data-live] .j-scene[data-playing] .me { animation: me-walk 2200ms var(--j-io) 2600ms both; }
  .journey[data-live] .j-scene[data-playing] .fy-plane { animation: fly 4200ms cubic-bezier(.45, 0, .2, 1) 500ms both; }
  .journey[data-live] .j-scene[data-playing] .fy-dot { animation: fy-run 3600ms cubic-bezier(.45, 0, .3, 1) 1100ms both; }
  .journey[data-live] .j-scene[data-playing] .cday.sel { animation: sel-in 600ms var(--j-ease) 3200ms both; }
  .journey[data-live] .j-scene[data-playing] .ch-allow { animation: press 500ms ease 3150ms both; }
  .journey[data-live] .j-scene[data-playing] .ag-w path.on { animation: wire 1200ms ease-in-out 900ms 2; }
  .journey[data-live] .j-scene[data-playing] .ai-ev { animation: glow 1600ms var(--j-ease) 4000ms both; }
  .journey[data-live] .j-scene[data-playing] .gs-listen { animation: glow 1400ms var(--j-ease) 2200ms both; }
}
@keyframes me-walk { from { translate: -42px 52px; } to { translate: 0 0; } }
@keyframes fly {
  0% { transform: translate(0, 0) rotateX(0deg) rotateZ(0deg) scale(.5); }
  30% { transform: translate(-60px, -20px) rotateX(40deg) rotateZ(-8deg) scale(.82); }
  100% { transform: translate(-236px, -40px) rotateX(60deg) rotateZ(-22deg) scale(1.36); }
}
@keyframes fy-run { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes sel-in { from { background: #faf8f5; } }
@keyframes press { 0%, 100% { transform: none; } 40% { transform: scale(.9); } }
@keyframes wire { 0%, 100% { stroke: var(--red); } 50% { stroke: #f2a093; } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(205, 73, 57, .5); } 100% { box-shadow: 0 0 0 14px rgba(205, 73, 57, 0); } }

.j-fine { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: #6e645a; }
.j-fine summary { cursor: pointer; width: fit-content; font-weight: 700; color: var(--ink); list-style: none; border-radius: 4px; }
.j-fine summary::-webkit-details-marker { display: none; }
.j-fine summary::after { content: " +"; color: var(--red-t); font-weight: 800; }
.j-fine[open] summary::after { content: " –"; }
.j-fine summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.j-fine p { margin: 8px 0 0; text-wrap: pretty; }
.j-fine .tlink { margin-top: 8px; font-size: 14px; }
.ai-ev { position: relative; padding-right: 12px; }
.ai-ev .evt { flex: 1; }
.ai-new { position: absolute; right: 8px; top: -9px; }
