:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#213c32;background:#f7f5ef}*{box-sizing:border-box}body{margin:0;-webkit-tap-highlight-color:transparent}main{width:100%;max-width:480px;margin:0 auto;padding:18px 16px calc(105px + env(safe-area-inset-bottom))}[hidden]{display:none!important}button,select,a{touch-action:manipulation}button,select{font:inherit}.card{border:1px solid #e0e4d8;border-radius:16px;background:#fffefa;margin-bottom:16px;overflow:hidden}.hotel{padding:18px;display:grid;grid-template-columns:1fr 44px;align-items:center;gap:14px}.date-city{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:13px;line-height:1.4}.date{font-weight:650;white-space:nowrap}.city{color:#687367;text-align:right}h2{font-size:19px;line-height:1.3;letter-spacing:-.3px;margin:0;font-weight:600;overflow-wrap:anywhere}.hotel-name{color:inherit;text-decoration:none}.maps{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#edf0e6;color:#284b3a;text-decoration:none}.maps svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}.pending{margin:6px 0 0;color:#687367;font-size:12px}.days{border-top:1px solid #e8ebe1;padding:0 18px}.day{display:grid;grid-template-columns:63px 1fr;gap:12px;padding:15px 0;border-bottom:1px solid #edf0e8;font-size:14px;line-height:1.6}.day:last-child{border-bottom:0}.day-date{font-weight:600;font-size:13px}.event{display:flex;gap:12px;justify-content:space-between}.event-time{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.nothing{color:#afb5a6}.empty{color:#788272;text-align:center;font-size:15px;padding:60px 0}.day-picker{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px;font-size:16px}.day-picker select{max-width:180px;min-height:44px;background:#fffefa;color:#213c32;border:1px solid #e0e4d8;border-radius:10px;padding:8px 12px;font-size:14px}.preview{font-size:11px;color:#7b846f;margin:-12px 0 16px}.today-events{padding:0 4px}.today-event{display:grid;grid-template-columns:60px 1fr;gap:16px;padding:17px 0;border-bottom:1px solid #e2e7da;font-size:15px;line-height:1.45}.today-event time{font-weight:600}.today-event small{display:block;margin-top:5px;color:#748069;font-size:13px}.bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;display:grid;grid-template-columns:repeat(3,1fr);padding:9px 8px calc(9px + env(safe-area-inset-bottom));background:#fffefaf5;border-top:1px solid #e0e4d8;backdrop-filter:blur(12px);z-index:10}.bottom button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:56px;border:0;border-radius:12px;background:transparent;color:#88907f;cursor:pointer;font-size:12px}.bottom button[aria-pressed=true]{color:#244d38;background:#edf1e6;font-weight:650}.bottom svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #ba593e;outline-offset:3px}
.hotel{display:block}.hotel-name{display:block;min-height:44px;display:flex;align-items:center}
.event-link{color:inherit;text-decoration:none;display:block;min-height:44px}.event-link small{display:block;color:#78826e;font-size:12px;margin-top:4px}.event+.event{margin-top:14px}.around-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.cities{display:flex;background:#e9ede2;border-radius:12px;padding:3px;flex:1}.cities button{border:0;border-radius:9px;min-height:44px;flex:1;color:#72816a;background:none;cursor:pointer}.cities button[aria-pressed=true]{background:#fffefa;color:#284b3a;font-weight:600;box-shadow:0 1px 4px #24372414}.locate{width:48px;height:48px;border:1px solid #dce2d4;background:#fffefa;color:#284b3a;border-radius:12px;font-size:25px;cursor:pointer}.around-options{display:flex;justify-content:space-between;align-items:center;min-height:44px;margin-bottom:10px;font-size:13px}.around-options label{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}.around-options input{width:20px;height:20px;accent-color:#284b3a}#sync-note{color:#8b7961;font-size:11px}#place-map{height:290px;height:clamp(250px,35dvh,340px);border:1px solid #dce2d4;border-radius:15px;overflow:hidden;background:#e7ebdf;z-index:0;scroll-margin-top:12px}#map-note{font-size:12px;color:#8b7961;margin:10px 0}.place-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 2px;border-bottom:1px solid #e2e7da}.place-name{flex:1;text-align:left;font-size:16px;line-height:1.4;color:#213c32;background:transparent;border:0;padding:4px 0;min-height:44px;cursor:pointer}.place-name small{display:block;font-size:12px;color:#839078;margin-top:4px}.done-button{border:1.5px solid #a5b29a;flex-shrink:0;width:44px;height:44px;border-radius:50%;background:#fffefa;color:#f7f5ef;cursor:pointer;font-size:23px}.done-button[aria-pressed=true]{background:#a1a69d;border-color:#a1a69d}.is-done .place-name,.is-done strong{color:#959c8e}.is-done .place-name{text-decoration:line-through}.poi-popup{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-width:170px;max-width:230px}.poi-popup strong{font-size:15px;line-height:1.5}.poi-popup small{display:block;color:#858c7d;margin-top:5px}.poi-popup>div{display:flex;gap:14px;justify-content:space-between;align-items:center;margin-top:14px}.poi-popup a{color:#284b3a!important;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}.poi-popup button{min-height:44px;border:0;border-radius:9px;padding:8px 15px;background:#284b3a;color:white;font-size:14px;cursor:pointer}.leaflet-control-attribution{font-size:9px!important}.leaflet-container a.leaflet-popup-close-button{width:30px;height:30px;font-size:22px}.leaflet-touch .leaflet-bar a{width:38px;height:38px;line-height:38px}.bottom{z-index:1000}
.flight{padding:18px}.flight h2{margin-top:10px}.event-badge{display:block;width:fit-content;font-size:10px!important;color:#a27435!important;background:#f6ecd9;border-radius:5px;padding:1px 5px;margin-top:5px}.event-badge.must{color:#3a7048!important;background:#e8efdf}.event small{display:block;color:#78826e;font-size:12px;margin-top:4px}.today-event{grid-template-columns:82px minmax(0,1fr)}.today-event time{font-size:13px}.event-time{font-size:12px}.event{gap:8px}.event-link{min-height:0}.event-link:focus-visible{outline-offset:2px}
.journey{padding:0 18px;margin:0 0 14px}.journey .day{border-bottom:0;padding:8px 0 12px}
.flight-details{font-weight:400}.flight-number{font-size:13px;font-weight:650;margin-bottom:14px;color:#284b3a}.flight-route{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:10px}.flight-airport{display:block;font-size:12px;color:#56644f;line-height:1.5;min-height:36px}.flight-clock{display:block;font-size:27px;line-height:1.4;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.flight-details small{display:block;font-size:11px;color:#687660;margin:4px 0 0}.flight-arrow{align-self:center;color:#8a947f}.flight-local{font-size:10px;color:#8c947f;margin-top:13px}.day-with-flight{grid-template-columns:1fr;gap:10px}.event.flight-event,.today-event.flight-event{display:block}.flight-event+.flight-event{margin-top:22px}
.flight-number{display:flex;justify-content:space-between;gap:12px;align-items:center}.flight-duration{font-size:12px;font-weight:600;background:#e9eee1;padding:4px 8px;border-radius:6px;white-space:nowrap}
#today{touch-action:pan-y}.day-picker{gap:12px}.day-picker select{flex:1;max-width:none;text-align:center;font-size:16px}.day-arrow{flex-shrink:0;width:44px;height:44px;border:1px solid #dce2d4;border-radius:10px;background:#fffefa;color:#284b3a;font-size:29px;line-height:1;cursor:pointer}.day-arrow:disabled{opacity:.3;cursor:default}
#today{min-height:calc(100dvh - 120px)}
a[href*="google.com/maps"],a[href*="maps.app.goo.gl"]{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
#around-area{flex:1;min-width:0;min-height:44px;border:1px solid #dce2d4;border-radius:10px;padding:8px 12px;background:#fffefa;color:#213c32;font-size:16px}
.preparation-card{padding:18px}.preparation-card>.day-date{margin-bottom:8px}.preparation-item{display:flex;align-items:center;gap:14px;min-height:56px;padding:12px 2px;border-bottom:1px solid #e2e7da;font-size:16px;cursor:pointer}.preparation-item:last-child{border-bottom:0}.preparation-item input{width:24px;height:24px;flex-shrink:0;accent-color:#284b3a}.preparation-item.is-checked{color:#959c8e}.preparation-item.is-checked input{accent-color:#a1a69d}
.free-day-card{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:62px;margin:16px 0;padding:16px 18px;border:1px solid #dce2d4;border-radius:14px;background:#edf1e6;color:#284b3a;text-align:left;font-size:16px;cursor:pointer}.free-day-card>span:last-child{font-size:25px}.day .free-day-card{font-size:14px;margin:8px 0 0;padding:12px;min-height:52px}
.destination-card{position:relative;display:flex;min-height:156px;background:#edf1e6;isolation:isolate}.destination-place{position:relative;display:flex;flex:1;align-items:flex-end;padding:22px;min-width:0;background:#edf1e6}.destination-place h2{font-size:24px}.destination-split .destination-place{width:50%;flex:none;padding:22px 18px}.destination-split .destination-place:first-child{clip-path:polygon(0 0,100% 0,calc(100% - 18px) 100%,0 100%);width:calc(50% + 18px);margin-right:-18px;z-index:1}.destination-split .destination-place:last-child{background:#e4e9dd}.destination-split:after{content:"";position:absolute;top:-5px;bottom:-5px;left:calc(50% + 9px);width:2px;background:#fffefa;transform:skewX(-6.6deg);z-index:2;pointer-events:none}.checkin-hotel .hotel{padding:10px 0 0}.checkin-hotel .hotel h2{font-size:17px;letter-spacing:0}.checkin-hotel .date-city{font-size:12px;margin-bottom:4px}.checkin-hotel .hotel-name{min-height:44px}
.destination-place{isolation:isolate;overflow:hidden}.destination-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}.destination-place.has-photo{color:#fff}.destination-place.has-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#00000005 20%,#000000a8 100%);z-index:-1;pointer-events:none}.destination-place.has-photo h2{text-shadow:0 1px 4px #0009}.destination-place.has-photo:has(img[src*="matsumoto"]){--photo-position:35%}.destination-place.has-photo img[src*="matsumoto"]{object-position:35% center}.destination-place.has-photo img[src*="osaka"]{object-position:25% center}


.flight-baggage{margin-top:14px;font-size:13px;line-height:1.5;color:#56644f}

.room-count{display:block;margin-top:4px;font-size:12px;color:#748069}.route-options summary{cursor:pointer;min-height:44px;display:list-item;list-style-position:inside}.route-options p{margin:8px 0 12px;font-size:14px;line-height:1.5}.route-options p+p{border-top:1px solid #e2e7da;padding-top:12px}

.hotel .hotel-name,.checkin-hotel .hotel-name{display:inline;min-height:0}.hotel-city{font-size:.8em;font-weight:400;color:#748069;white-space:nowrap}


.add-preparation{display:block;margin:0 0 8px auto;width:48px;height:48px;border:1px solid #dce2d4;border-radius:12px;background:#edf1e6;color:#284b3a;font:32px inherit;cursor:pointer;font-size:30px}.preparation-item{-webkit-touch-callout:none;user-select:none}.preparation-dialog{width:calc(100% - 32px);max-width:400px;border:1px solid #dce2d4;border-radius:18px;padding:22px;background:#fffefa;color:#213c32}.preparation-dialog::backdrop{background:#0006}.preparation-dialog h2{margin-bottom:18px}.preparation-dialog label{display:block;font-size:16px}.preparation-dialog input{display:block;width:100%;margin:12px 0;font:inherit;font-size:18px;min-height:48px;padding:10px;border:1px solid #cbd5c3;border-radius:10px}.preparation-dialog button{display:block;width:100%;min-height:48px;margin-top:10px;font:inherit;border:0;border-radius:10px;background:#edf1e6;color:#284b3a}.preparation-dialog .delete-item{color:#a33e30;background:#faebe4}.preparation-undo{position:fixed;bottom:calc(95px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:1100;max-width:calc(100% - 32px);min-height:48px;padding:12px 18px;border:0;border-radius:12px;font:inherit;background:#284b3a;color:#fffefa;box-shadow:0 3px 14px #0003}

.trip-day-label{flex:1;text-align:center;color:#000;font-size:18px;font-weight:700}.day-arrow{border:0;background:transparent;border-radius:0;color:#000}

.place-detail{position:relative;margin-top:16px;padding:16px;border:1px solid #dce2d4;border-radius:15px;background:#fffefa}.place-detail h2{margin:0 42px 16px 0}.place-back{position:absolute;top:6px;right:6px;width:44px;height:44px;border:0;background:transparent;color:#284b3a;font-size:32px}.place-photo-wrap{position:relative}.place-detail-photo{display:block;width:100%;height:190px;object-fit:cover;border-radius:10px}.photo-credit{position:absolute;bottom:6px;right:6px;padding:3px 6px;background:#fffefae6;border-radius:4px;color:#284b3a;font-size:10px}.photo-note{display:block;color:#748069;font-size:11px;margin-top:5px}.place-description{font-size:16px;line-height:1.55;margin:16px 0;color:#435345}.place-detail-actions{display:flex;gap:12px}.place-detail-actions a,.place-detail-actions button{flex:1;display:flex;justify-content:center;align-items:center;min-height:48px;border:0;border-radius:10px;font:inherit;background:#edf1e6;color:#284b3a}.place-detail-actions button{background:#284b3a;color:#fffefa}.poi-popup-photo{display:block;width:100%;height:120px;object-fit:cover;border-radius:7px;margin-bottom:10px}.is-done .place-detail-photo{opacity:.55}.is-done .place-description{color:#959c8e}

.poi-popup>.popup-photo-wrap{position:relative;display:block;margin:0 0 10px}.poi-popup .photo-credit{display:block;min-height:0;margin:0;padding:3px 6px;font-size:10px}.popup-photo-wrap .poi-popup-photo{margin:0}

.event-link{display:inline}

.preparation-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.preparation-tools .add-preparation{margin:0 0 0 auto}.preparation-tools small{font-size:12px;color:#8b7961}

.place-photo-wrap{margin-bottom:14px}.place-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.place-detail-heading h2{margin:0;min-width:0}.place-detail-heading .place-back{position:static;flex-shrink:0}.place-detail .photo-note{margin-top:-8px;margin-bottom:8px}
.place-detail-heading{flex-wrap:wrap}.place-detail-heading h2{width:100%}.place-detail-heading .place-back{order:-1;width:100%;min-height:44px;height:auto;padding:10px 14px;border:1px solid #b9c4b2;border-radius:9px;background:#edf1e6;font:inherit;font-weight:600;text-align:left;cursor:pointer}.place-detail-actions button{padding:10px 12px;line-height:1.3}

.important-reminder{color:#b33b30;font-weight:600}.around-hotel{margin-top:14px;padding:14px 16px;background:#fffefa;border:1px solid #dce2d4;border-radius:12px}.around-hotel>small{display:block;font-size:13px;color:#65735c;margin-bottom:6px}.around-hotel h2{font-size:16px;margin:0;line-height:1.5}.hotel-map-pin{background:#916239;border:2px solid #fffefa;border-radius:7px;color:#fff;font:700 16px/24px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:center;box-shadow:0 1px 4px #0004}
#trip-route-map{height:330px;border:1px solid #dce2d4;border-radius:15px;overflow:hidden;z-index:0;background:#e7ebdf}.trip-map-wrap{position:relative}.trip-map-wrap>button{position:absolute;bottom:24px;right:10px;z-index:500;min-height:44px;background:#fffefa;color:#284b3a;border:1px solid #c1ccba;border-radius:9px;padding:8px 12px;font-size:14px;font-weight:600;box-shadow:0 1px 4px #0002}.trip-map-legend{display:flex;justify-content:center;gap:18px;margin-top:12px;font-size:13px;color:#687660}.trip-map-legend span:before{content:'';display:inline-block;width:20px;border-top:3px solid #a06c3e;margin-right:5px;vertical-align:middle}.trip-map-legend .route-rail:before{border-top:3px dashed #284b3a}.trip-map-legend .route-flight:before{border-top:3px dashed #5e82aa}#trip-map-note{margin:8px 0 20px;text-align:center;font-size:13px;color:#687660}.plan-preparation-link{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;border:1px solid #dce2d4;background:#edf1e6;color:#284b3a;border-radius:12px;padding:12px 16px;margin-bottom:16px;font-size:16px;font-weight:600}.plan-stop-heading{display:flex;width:100%;gap:12px;align-items:center;border:0;background:transparent;color:inherit;text-align:left;padding:16px;min-height:72px}.plan-stop-heading>span:nth-child(2){flex:1}.plan-stop-heading strong{display:block;font-size:21px}.plan-stop-heading small{display:block;font-size:15px;color:#687660;margin-top:3px}.plan-stop-number,.trip-hotel-pin{background:#284b3a;color:#fffefa;border-radius:50%;text-align:center;font-weight:700}.plan-stop-number{width:32px;height:32px;line-height:32px;flex-shrink:0}.trip-hotel-pin{border:2px solid #fffefa;line-height:28px;font-size:16px;box-shadow:0 1px 4px #0004}.plan-hotel-name{display:block;margin:0 16px 14px;font-size:16px;line-height:1.45;min-height:44px;color:inherit;text-decoration:underline;text-underline-offset:3px}.plan-day-link,.plan-flight{display:grid;grid-template-columns:52px minmax(0,1fr) 14px;gap:10px;width:100%;border:0;border-top:1px solid #e8ebe1;background:transparent;text-align:left;color:inherit;padding:14px 16px;font-size:16px;line-height:1.45;min-height:52px;cursor:pointer}.plan-day-date{font-size:14px;font-weight:600;white-space:nowrap}.plan-day-link strong,.plan-flight strong{display:block;font-size:17px;font-variant-numeric:tabular-nums;margin-top:3px}.plan-day-link small,.plan-flight small{display:block;font-size:13px;color:#748069;margin-top:3px}.plan-day-link small{color:#94672b}.plan-flight-route{display:block}.plan-flight strong small{display:inline;font-weight:400}.plan-chevron{font-size:23px;color:#7c8d70;align-self:center}.trip-map-popup strong{font-size:16px;line-height:1.4;display:block}.trip-map-popup small{display:block;margin-top:5px;font-size:14px}.trip-map-popup button{width:100%;min-height:44px;border:0;border-radius:8px;background:#284b3a;color:#fffefa;margin-top:12px;font:inherit;font-weight:600;cursor:pointer}
.preparation-tools{display:block}.preparation-tools small:empty{display:none}.preparation-tools .add-preparation{width:100%;min-height:56px;height:auto;margin:8px 0 0;padding:14px 16px;text-align:left;font-size:18px;font-weight:600;display:flex;align-items:center;gap:16px}.add-preparation>span{width:24px;text-align:center;font-size:26px;line-height:1}
.trip-city-pin{background:#fffefa;color:#7a4b25;border:2px solid #a06c3e;border-radius:7px;line-height:28px;text-align:center;font-size:16px;font-weight:700;box-shadow:0 1px 4px #0003}.trip-pin-key{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 18px;font-size:14px;margin:0 0 12px}.trip-pin-key b{display:inline-block;padding:3px 6px;margin-right:4px}.key-hotel{background:#284b3a;color:#fffefa;border-radius:14px}.key-city{border:1px solid #a06c3e;color:#7a4b25;border-radius:5px}.trip-passing-list{display:flex;flex-wrap:wrap;gap:8px 16px;margin:0 0 20px;font-size:15px;line-height:1.6}.trip-passing-list b{color:#7a4b25;margin-right:3px}

.around-tools{gap:8px}.locate,.visited-toggle{flex:0 0 44px;width:44px;height:48px}.visited-toggle{display:grid;place-items:center;border:1px solid #dce2d4;border-radius:12px;background:#fffefa;color:#284b3a;cursor:pointer}.visited-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.visited-toggle.show-visited{color:#b33b30;background:#fbe8e5;border-color:#d68e85}#sync-note:empty{display:none}#around>#sync-note{display:block;margin:0 0 10px}.place-detail>.place-back{position:static;display:block;width:100%;min-height:48px;height:auto;margin:0 0 14px;padding:10px 14px;border:1px solid #b9c4b2;border-radius:9px;background:#edf1e6;font:inherit;font-weight:600;text-align:left;cursor:pointer}.place-detail-heading{margin-top:4px}

.trip-city-pin{border-color:#c34238;color:#98332c}.trip-map-wrap{margin-bottom:16px}
@media(min-width:600px){main,.bottom{max-width:375px}}

.trip-city-pin{background:transparent;border:0;border-radius:0;box-shadow:none;font-size:22px;font-weight:400;line-height:32px;text-align:center}

/* Clear fixed navigation, with safe space for the iPhone home indicator. */
.bottom{--active-index:1;isolation:isolate;gap:0;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#fffefa;border-top:1px solid #d8dfd1;box-shadow:0 -3px 18px #213c3207;backdrop-filter:none}
.bottom:before{content:'';position:absolute;z-index:-1;top:8px;left:8px;width:calc((100% - 16px)/3);height:56px;background:#e7eedf;border-radius:12px;transform:translateX(calc(var(--active-index)*100%));transition:transform 220ms cubic-bezier(.2,.7,.2,1)}
.bottom button{min-height:56px;gap:5px;color:#596956;font-size:13px;font-weight:500;border-radius:12px;transition:color 180ms ease,transform 100ms ease}
.bottom button[aria-pressed=true]{color:#203e2e;background:transparent;font-weight:650}
.bottom button:active{transform:scale(.96)}
.bottom svg{width:24px;height:24px;stroke-width:1.9;transition:transform 220ms ease}
.bottom button[aria-pressed=true] svg{transform:translateY(-1px)}
@media(prefers-reduced-motion:reduce){.bottom:before,.bottom button,.bottom svg{transition:none}.bottom button:active,.bottom button[aria-pressed=true] svg{transform:none}}

/* Floating navigation chosen for the trip app. */
.bottom{bottom:calc(16px + env(safe-area-inset-bottom));width:calc(100% - 24px);max-width:456px;padding:8px;border:1px solid #d8dfd1;border-radius:20px;box-shadow:0 4px 20px #213c3214}
@media(min-width:600px){.bottom{max-width:351px}}

.ticket-open{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:-9px 0;padding:10px;border:0;border-radius:0;background:transparent;color:var(--accent,#233e37);cursor:pointer}
.ticket-open svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.event-title-row{display:flex;align-items:flex-start;gap:4px}
.event-title-row>span{flex:1;min-width:0}
.plan-ticket-row{display:flex;align-items:flex-start;gap:4px;border-top:1px solid var(--edge,#e2e7e5)}
.plan-ticket-row .plan-day-link{flex:1;min-width:0;border-top:0;grid-template-columns:52px minmax(0,1fr)}
.plan-ticket-row .plan-chevron{display:none}
.plan-ticket-row>.ticket-open{margin:5px 6px 0 0}
html[data-design=minimal] .plan-ticket-row>.ticket-open{margin-right:0}
.ticket-dialog{width:calc(100% - 24px);max-width:375px;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:18px 18px 22px;border:0;border-radius:16px;background:#fff;color:#232c2b;overscroll-behavior:contain;overflow-y:auto}
.ticket-dialog::backdrop{background:#0009}
.ticket-close{display:block;min-height:44px;padding:8px 0;margin:0 0 8px;border:0;background:none;color:#233e37;font:600 17px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.ticket-dialog h2{font-size:23px;line-height:1.3}
.ticket-date{margin:8px 0 10px;font-size:18px;font-weight:600}
.ticket-qr{display:block;margin:0 auto;width:100%;max-width:264px;height:auto;aspect-ratio:1;background:#fff}
.train-collection-qr{image-rendering:pixelated;margin-bottom:16px}
.ticket-number{display:block;text-align:center;font-size:18px;overflow-wrap:anywhere;margin-top:4px}
.ticket-venue{text-align:center;font-size:16px;line-height:1.5;margin:10px 0 16px;color:#68716f}
.ticket-data{margin:0;font-size:16px;line-height:1.4}
.ticket-data>div{padding:10px 0;border-top:1px solid #e2e7e5}
.ticket-data dt{color:#68716f;font-size:14px;margin-bottom:2px}
.ticket-data dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.ticket-download,.ticket-wallet{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;margin-top:16px;padding:12px 14px;border-radius:9px;background:#233e37;color:#fff;text-decoration:none;font-size:17px;font-weight:600}
.ticket-download span{font-size:13px;font-weight:400;opacity:.85}

.event-period{display:block;margin:0 0 5px;font-size:14px;font-weight:600;line-height:1.4;color:var(--muted,#68716f)}

.ticket-rental .ticket-date{font-size:17px;font-weight:400;color:#68716f;margin-bottom:18px}
.ticket-rental-stop{border-top:1px solid #e2e7e5;padding:16px 0}
.ticket-rental-stop h3{font-size:14px;font-weight:500;color:#68716f;margin:0 0 7px}
.ticket-rental-stop>strong{display:block;font-size:18px;line-height:1.4;margin-bottom:8px}
.ticket-shop{display:block;font-size:17px;line-height:1.4;color:#233e37;text-decoration:underline;text-underline-offset:3px}
.ticket-rental-stop p{margin:7px 0 0;color:#68716f;font-size:14px;line-height:1.5}
.ticket-phone{display:inline-flex;align-items:center;min-height:44px;margin-top:2px;font-size:16px;color:#233e37;text-underline-offset:3px}

.ticket-rental[open]{display:block;overflow-y:auto}
.ticket-rental-body{display:block;overflow:visible;padding-right:0}
.ticket-rental>.ticket-close,.ticket-rental>.ticket-download{flex-shrink:0}

.ticket-rental>.ticket-close{text-align:left}

/* Keep the page at its scroll boundaries without elastic pull-down. */
html,body{overscroll-behavior-y:none}

/* Show the original QR pixels, with their white quiet zone, from the 735×1600 source. */
.ticket-qr-original{position:relative;overflow:hidden;margin:12px auto 18px}
.ticket-qr-original img{position:absolute;max-width:none;width:334.090909%;height:auto;left:-116.818182%;top:-195%}
.ticket-original{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;color:#233e37;font-size:15px;text-underline-offset:3px}
.ticket-remove,.ticket-confirm button{min-height:48px;padding:12px 14px;border:1px solid #d9dfdc;border-radius:10px;background:#fff;color:#233e37;font:600 16px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.ticket-remove{display:block;width:100%;margin-top:14px}
.ticket-confirm{margin-top:14px;padding-top:16px;border-top:1px solid #d9dfdc}
.ticket-confirm h3{font-size:18px;line-height:1.4;margin:0 0 8px}
.ticket-confirm p{font-size:16px;line-height:1.5;margin:0 0 16px}
.ticket-confirm>div{display:flex;gap:10px}
.ticket-confirm button{flex:1}
.ticket-confirm [data-confirm-removal]{background:#233e37;color:#fff;border-color:#233e37}
.ticket-remove[hidden],.ticket-confirm[hidden]{display:none}
