/* asklor! shared UI (part 55, 8 Nov 2026). Colours come from asklor_base.html; only new tokens live here. */
:root{--jx-on:#FFFFFF;--jx-w:1120px;--jx-pad:16px}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){--jx-on:#04140C}}
:root[data-theme="dark"]{--jx-on:#04140C}
@media(min-width:900px){:root{--jx-pad:24px}}

/* header */
.jx-hd{border-bottom:1px solid var(--line);background:var(--bg)}
.jx-hd-in{max-width:var(--jx-w);margin:0 auto;min-height:64px;display:flex;align-items:center;gap:8px;padding:0 var(--jx-pad)}
.jx-logo{display:flex;margin-right:auto}
.jx-logo img{display:block;border-radius:11px}
.jx-nv{display:none}
.jx-acct{display:flex;align-items:center;gap:8px}
.jx-lang{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border:1.5px solid var(--line);border-radius:999px;color:var(--pandan-ink);font-weight:700;font-size:15px;text-decoration:none}
.jx-signin{display:inline-flex;align-items:center;min-height:36px;padding:0 16px;border-radius:999px;background:var(--pandan);color:var(--jx-on);font-weight:700;font-size:14px;text-decoration:none}
@media(min-width:900px){
  .jx-hd-in{min-height:68px}
  .jx-nv{display:flex;gap:6px;height:68px}
  .jx-nv a{display:flex;align-items:center;height:68px;padding:0 12px;font-size:15px;font-weight:650;color:var(--muted);text-decoration:none;white-space:nowrap;border-bottom:2px solid transparent}
  .jx-nv a:hover{color:var(--ink)}
  .jx-nv a.on{color:var(--ink);border-bottom-color:var(--pandan)}
  .jx-lang{margin-left:18px}
}

/* photo banner */
.jx-bn{position:relative;height:248px;overflow:hidden;background:#111}
.jx-bn picture{display:block;width:100%;height:100%}
.jx-bn img{display:block;width:100%;height:100%;object-fit:cover}
.jx-scrim{position:absolute;left:0;top:0;right:0;bottom:0;background:linear-gradient(180deg,rgba(0,0,0,.30) 0%,rgba(0,0,0,.10) 35%,rgba(0,0,0,.78) 100%)}
.jx-bn-in{position:absolute;left:0;top:0;right:0;bottom:0;max-width:var(--jx-w);margin:0 auto;padding:14px var(--jx-pad) 40px;display:flex;flex-direction:column;justify-content:space-between}
.jx-back{display:inline-flex;align-items:center;align-self:flex-start;min-height:36px;padding:0 14px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font-size:14px;font-weight:600;text-decoration:none}
.jx-bt{margin:0;font-family:'Archivo',sans-serif;font-stretch:125%;font-weight:800;font-size:28px;line-height:1.05;letter-spacing:-.02em;color:#fff}
.jx-bs{margin:6px 0 0;max-width:560px;font-size:15px;color:#F0F0EA}
.jx-bt,.jx-bs{text-shadow:0 1px 8px rgba(0,0,0,.6)}   /* 2026-11-14: readable on bright banner photos (attractions) */
@media(min-width:900px){
  .jx-bn{height:330px}
  .jx-bn-in{padding:20px var(--jx-pad) 56px}
  .jx-bt{font-size:44px}
  .jx-bs{margin-top:10px;font-size:18px}
  .jx-bn-split{background:var(--surface)}
  .jx-bn-split picture{position:absolute;top:0;right:0;bottom:0;width:44%;height:auto}
  .jx-bn-split img{object-position:center 22%}
  .jx-bn-split .jx-scrim{background:linear-gradient(90deg,var(--surface) 0,var(--surface) 56%,rgba(0,0,0,0) 72%)}
  .jx-bn-split .jx-bt{color:var(--ink)}
  .jx-bn-split .jx-bs{color:var(--muted)}
}

/* content sheet */
.jx-sheet{position:relative;background:var(--bg)}
.jx-bn + .jx-sheet{margin-top:0;border-radius:22px 22px 0 0}
.jx-in{max-width:720px;margin:0 auto;padding:20px 16px 40px;color:var(--ink)}
.jx-in-wide{max-width:var(--jx-w)}
.jx-backlink{display:inline-block;margin:0 0 4px;padding:12px 0;min-height:44px;box-sizing:border-box;color:var(--pandan-ink);font-size:16px;text-decoration:underline;text-underline-offset:3px}
@media(min-width:900px){
  .jx-bn + .jx-sheet{margin-top:0;border-radius:24px 24px 0 0}
  .jx-in{padding:32px var(--jx-pad) 56px}
}
.jx-in .jx-h2{margin:24px 0 12px;font-family:'Archivo',sans-serif;font-stretch:112%;font-weight:800;font-size:20px;letter-spacing:-.01em;line-height:1.2}

/* two columns on computers: form left, result right */
@media(min-width:900px){
  .jx-split{display:grid;grid-template-columns:400px minmax(0,1fr);gap:48px;align-items:start}
}
.jx-split-r{margin-top:18px}
@media(min-width:900px){.jx-split-r{margin-top:0}}

/* More: link cards on computers */
@media(min-width:900px){
  .jx-in-wide .info-list{border-top:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .jx-in-wide ul.info-list:first-of-type{grid-template-columns:repeat(3,minmax(0,1fr))}
  .jx-in-wide details ul.info-list:first-of-type{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jx-in-wide .info-list li{border:1px solid var(--line);border-radius:16px;background:var(--surface)}
  .jx-in-wide .info-list a{padding:16px 18px}
  .jx-in-wide details{border:0;margin-top:0}
}

/* Chinese: system fonts, no tracking, no wide stretch, taller lines */
html:lang(zh) .jx-bt,html:lang(zh) .jx-in .jx-h2{font-family:'PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC','Noto Sans CJK SC',system-ui,sans-serif;font-stretch:normal;font-weight:700;letter-spacing:0;line-height:1.25}
html:lang(zh) .jx-bs,html:lang(zh) .jx-in{line-height:1.7}
html:lang(zh) .jx-nv a{letter-spacing:0}

/* part 55b: banner crop and list alignment */
@media(min-width:900px){
  .jx-bn-split picture{width:54%}
  .jx-bn-split img{object-position:28% 30%}
  .jx-bn-split .jx-scrim{background:linear-gradient(90deg,var(--surface) 0,var(--surface) 46%,rgba(0,0,0,0) 56%)}
  .jx-in-wide ul.info-list{padding-left:0;margin-left:0}
}

/* part 58: route | arrivals switch */
.jx-tabs{max-width:480px;margin:0 auto;padding:16px 16px 0;display:flex;gap:8px}
.jx-tabs a{flex:1;text-align:center;padding:11px 8px;border:1.5px solid var(--line);border-radius:999px;color:var(--muted);font-weight:700;font-size:15px;text-decoration:none}
.jx-tabs a.on{background:var(--pandan);border-color:var(--pandan);color:var(--jx-on)}
html:lang(zh) .jx-tabs a{letter-spacing:0}

/* part 58b: no scroll bar on phone width (scrolling still works) */
@media(max-width:899px){
  html,body,main,.jx-sheet{scrollbar-width:none;-ms-overflow-style:none}
  ::-webkit-scrollbar{width:0;height:0;display:none}
}

/* part 61: plan photos + empty panel */
.pl-ph{float:right;width:72px;height:72px;object-fit:cover;border-radius:12px;margin:0 0 6px 12px;display:block}
.pl-i::after{content:"";display:block;clear:both}
.pl-empty{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:20px}
.pl-empty p{margin:0 0 16px;color:var(--muted);font-size:15px;line-height:1.5}
.pl-empty-ph{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pl-empty-ph img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;display:block}
@media(max-width:899px){.pl-empty{display:none}}
.pl-top{display:none}
@media(max-width:899px){.pl-top{display:block;margin:0 0 20px}}
.pl-top-l{font-size:12px;letter-spacing:1.4px;font-weight:700;color:var(--pandan);margin:0 0 10px;text-transform:uppercase}
.pl-top-g{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pl-tile{position:relative;min-height:155px;border-radius:18px;overflow:hidden;background:#111 center/cover no-repeat;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr auto;column-gap:6px;padding:14px 10px;box-sizing:border-box}
.pl-tile:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 20%,rgba(0,0,0,.9) 100%)}
.pl-tile>*{position:relative}
.pl-tile h3{grid-column:1/-1;display:flex;align-items:center;justify-content:center;text-align:center;margin:0;font-size:27px;line-height:1.12;font-weight:800;color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.65)}
.pl-tile a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:32px;margin-top:8px;border-radius:999px;font-weight:800;font-size:12.5px;letter-spacing:.1px;text-decoration:none;color:#fff}
.pl-tile a span:last-child{display:none}
.pl-tile a.k{color:#fff;-webkit-text-fill-color:#fff;background:#C2410C;box-shadow:0 4px 16px rgba(194,65,12,.4)}
.pl-tile a.t{color:#fff;-webkit-text-fill-color:#fff;background:#1A62D6;box-shadow:0 4px 16px rgba(26,98,214,.4)}
html:lang(zh) .pl-empty .jx-h2{font-stretch:normal;letter-spacing:0}

/* part 69: Buses & MRT two-column */
.jx-side{display:none}
@media(min-width:900px){
  .jx-two{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);column-gap:48px;align-items:start;max-width:var(--jx-w);margin:0 auto;padding:28px var(--jx-pad) 40px}
  .jx-two .jx-tabs,.jx-two .ct-wrap,.jx-two .ba-wrap{max-width:none;margin:0;padding-left:0;padding-right:0}
  .jx-two .jx-tabs{padding-top:0;padding-bottom:14px}
  .jx-side{display:block;position:sticky;top:24px}
  .jx-side img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:20px;background:#111}
}

/* part 70: results on the right */
.jx-col-r{max-width:480px;margin:0 auto;padding:0 1rem}
@media(min-width:900px){
  .jx-col-r{max-width:none;margin:0;padding:0;min-width:0}
  .jx-col-r #ct-results:not(:empty) + .jx-side,.jx-col-r #ba-results:not(:empty) + .jx-side{display:none}
}

/* part 71: browser autofill keeps site colours */
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,textarea:-webkit-autofill,select:-webkit-autofill{-webkit-text-fill-color:currentColor;caret-color:currentColor;transition:background-color 600000s 0s,color 600000s 0s}

.pl-mini{display:none}
@media(max-width:899px){
.pl-mini{display:block;position:fixed;top:0;left:0;right:0;z-index:60;padding:calc(8px + env(safe-area-inset-top)) 16px 6px;background:var(--bg);border-bottom:1px solid var(--line);transform:translateY(-115%);transition:transform .22s ease;pointer-events:none}
.pl-mini.on{transform:none;pointer-events:auto}
.pl-mini .pl-top-g{gap:8px}
.pl-mini .pl-tile{min-height:0;height:70px;padding:7px 8px;border-radius:12px;grid-template-rows:auto auto;align-content:space-between;column-gap:5px}
.pl-mini .pl-tile h3{font-size:13px;justify-content:flex-start;text-align:left;text-shadow:none}
.pl-mini .pl-tile a{min-height:28px;margin-top:0;font-size:11.5px}
.pl-mini-d{font-size:10px;line-height:1.3;color:var(--muted);margin:5px 0 0}
}

/* ---- Explore Singapore pages (2026-11-13): .xh-* ---- */
.xh-bar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:14px;min-height:48px;padding:0 4px;background:var(--bg);border-bottom:1px solid var(--line)}
.xh-back{display:inline-flex;align-items:center;min-height:44px;padding:0 12px 0 4px;font-weight:600;font-size:15px;line-height:1;color:var(--ink);text-decoration:none}
.xh-crumb{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--muted);min-width:0;overflow:hidden;white-space:nowrap}
.xh-crumb li+li::before{content:"/";margin-right:8px;opacity:.6}
.xh-crumb li{display:flex;align-items:center;min-height:44px;line-height:1}
.xh-crumb a{color:var(--muted);text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.xh-crumb li:last-child{overflow:hidden;text-overflow:ellipsis;color:var(--ink)}
.xp{max-width:980px;color:var(--ink)}
.xp>p{max-width:70ch}
.xp h2{font-size:22px;line-height:1.25;margin:30px 0 4px}
.xp h3{font-size:17px;margin:0 0 4px}
.xh-lede{font-size:16px;line-height:1.65;margin:16px 0 0;max-width:72ch}
.xh-sub{font-size:14.5px;line-height:1.55;color:var(--muted);margin:0 0 14px;max-width:72ch}
.xh-small{font-size:12px;line-height:1.55;color:var(--muted);margin:16px 0 0}
.xh-pills{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:20px 0 4px;padding:10px 0;background:var(--bg)}
.xh-pill{display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:999px;font-size:14.5px;font-weight:600;color:var(--ink);text-decoration:none;background:var(--surface)}
.xh-pill.on{background:var(--pandan);border-color:var(--pandan);color:var(--bg)}
.xh-pill:focus-visible,.xh-btn:focus-visible,.xh-back:focus-visible,.xh-ask:focus-visible{outline:3px solid var(--pandan);outline-offset:2px}
.xh-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}
.xh-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}
.xh-card img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;background:var(--line)}
.xh-cb{display:flex;flex-direction:column;flex:1;padding:12px 14px 14px}
.xh-lv{font-size:12.5px;color:var(--muted);margin:0 0 6px}
.xh-cb p{font-size:14px;line-height:1.45;margin:0 0 10px;color:var(--ink);opacity:.85;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.xh-row{display:flex;flex-wrap:nowrap;gap:8px;margin-top:auto}
.xh-btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:6px 8px;border-radius:10px;font-size:13.5px;font-weight:600;line-height:1.2;text-decoration:none;color:#fff;flex:1 1 0;min-width:0}
.xh-btn.k{background:#C2410C}.xh-btn.t{background:#1A62D6}
a.xh-btn.k,a.xh-btn.t,a.xh-btn.k:hover,a.xh-btn.t:hover{color:#fff}
.xp .xh-off{margin:22px 0 18px}
.xh-off h3{margin:0 0 10px;font-size:16px}
.xp .xh-off ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.xp .xh-off li{margin:0;display:flex;flex-direction:column;gap:6px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-size:14px;line-height:1.45}
.xp .xh-off li img{display:block;width:100%;max-width:300px;aspect-ratio:2/1;height:auto;object-fit:cover;background:var(--line);border-radius:8px;margin-bottom:2px}
.xh-off em{font-style:normal;color:var(--muted);font-size:12.5px}
.xp .xh-off .xh-btn{text-decoration:none;color:#fff;flex:none;align-self:flex-start;min-height:40px;padding:6px 16px}
@media(min-width:700px){.xp .xh-off ul{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}}
.xh-bk{margin-top:34px}
.xh-bk-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.xh-bk-t{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}
.xh-bk-t img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:cover}
.xh-bk-b{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px}
.xh-tips{list-style:none;counter-reset:t;margin:8px 0 0;padding:0}
.xh-tips li{counter-increment:t;display:flex;gap:14px;align-items:flex-start;padding:9px 0;font-size:15px;line-height:1.55}
.xh-tips li::before{content:counter(t);flex:0 0 28px;height:28px;border-radius:50%;border:1px solid var(--ink);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.xh-cta{margin-top:30px;padding:18px;border:1px solid var(--line);border-radius:14px}
.xh-ask{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:10px;border:1px solid var(--ink);font-weight:600;color:var(--ink);text-decoration:none}
.xh-area[hidden]{display:none}
@media(min-width:900px){.xh-pills{position:sticky;top:48px;z-index:20}}
@media(max-width:600px){.xh-cards{grid-template-columns:1fr}.xh-card img{aspect-ratio:11/4}.xp h2{font-size:20px}}
@media(prefers-reduced-motion:no-preference){.xh-pill{transition:background .15s,border-color .15s}}

/* Explore bar tidy (2026-11-14): Back as a pill on the left, breadcrumb on the right, same colours */
.xh-bar{gap:12px;padding:6px 0}
.xh-bar .xh-back{min-height:40px;padding:0 14px 0 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-size:14.5px}
.xh-bar .xh-crumb{margin-left:auto;justify-content:flex-end;font-size:13px}
.xh-bar .xh-crumb a{color:var(--muted)}
.xh-bar .xh-crumb li{min-height:40px}

/* Explore bar v2 (2026-11-14): [Back] page name in the middle [Home]; Back and Home are matching buttons */
.xh-bar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}
.xh-bar .xh-crumb{display:contents}
.xh-bar .xh-crumb li{margin:0;min-height:40px}
.xh-bar .xh-crumb li+li::before{content:none;margin:0}
.xh-bar .xh-crumb li:first-child{grid-column:3;grid-row:1}
.xh-bar .xh-crumb li:last-child{grid-column:2;grid-row:1;justify-content:center;text-align:center;color:var(--ink);font-weight:600;font-size:14.5px;min-width:0}
.xh-bar .xh-crumb li:first-child a{min-height:40px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-size:14.5px;font-weight:600}

/* Offer cards v2 (2026-11-14): compact - small picture on the left, text + date + button on the right */
.xp .xh-off li{display:grid;grid-template-columns:112px 1fr;column-gap:12px;row-gap:3px;align-items:start;padding:10px}
.xp .xh-off li img{grid-column:1;grid-row:1 / span 3;width:112px;max-width:none;height:84px;min-height:84px;max-height:84px;aspect-ratio:auto;object-fit:cover;background:var(--line);margin:0;border-radius:8px}
.xp .xh-off li>span{grid-column:2;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.4}
.xp .xh-off li>em{grid-column:2;font-size:12.5px}
.xp .xh-off li>.xh-btn{grid-column:2;margin-top:4px;min-height:40px;padding:6px 16px}
@media(min-width:700px){.xp .xh-off ul{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}}

/* Getting Around page (2026-11-14): checked-facts list and free-tool links */
.xh-facts{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:10px}
.xh-facts li{padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-size:15px;line-height:1.5}
.xh-facts li a{display:flex;align-items:center;min-height:44px;margin-top:2px;font-size:14px;color:var(--muted);text-underline-offset:3px}
.xh-tools{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:10px}
.xh-tools a{display:flex;flex-direction:column;gap:2px;min-height:44px;padding:12px 14px;border:1px solid var(--ink);border-radius:12px;text-decoration:none;color:var(--ink)}
.xh-tools a span{font-size:13.5px;color:var(--muted)}
@media(min-width:700px){.xh-tools{grid-template-columns:repeat(3,1fr)}}
/* 2026-11-14: base style ".info-main ul{padding-left:20px}" indented the card, facts and tool lists (cards sat 20px right of their headings). Reset it for the explore pages. */
.xp .xh-cards,.xp .xh-facts,.xp .xh-tools{padding-left:0}

/* 2026-11-14 Food page: .xh-n neutral buttons, .xh-det lists, .xh-ai notice */
.xh-btn.xh-n{background:var(--surface);color:var(--ink);border:1px solid var(--line)}
.xh-ai{margin:14px 0 0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font-size:13px;line-height:1.5;color:var(--muted);max-width:72ch}
.xp .xh-mic,.xp .xh-hcs{margin-top:34px}
.xh-det{border:1px solid var(--line);border-radius:12px;background:var(--surface);margin:0 0 10px;padding:0 14px}
.xh-det>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;font-weight:600;font-size:15px;cursor:pointer;list-style:none}
.xh-det>summary::-webkit-details-marker{display:none}
.xh-det>summary span{font-weight:500;font-size:13px;color:var(--muted)}
.xh-det>summary:focus-visible{outline:3px solid var(--pandan);outline-offset:2px}
.xp .xh-list{list-style:none;margin:0;padding:0 0 8px}
.xp .xh-list li{margin:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--line)}
.xh-list li>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.xh-list b{font-size:14.5px;line-height:1.35}
.xh-list li span{font-size:12.5px;line-height:1.4;color:var(--muted)}
.xp .xh-list .xh-btn{flex:0 0 auto;min-height:40px;padding:6px 12px;white-space:nowrap}
.xh-tag{font-style:normal;font-size:12px;font-weight:600;padding:1px 7px;border:1px solid var(--pandan);border-radius:999px;color:var(--pandan);white-space:nowrap}
.xp .xh-clist{list-style:none;margin:0;padding:0 0 10px;font-size:12px;line-height:1.55;color:var(--muted)}
.xh-cr{margin-top:16px}
.xp .xh-cards,.xp .xh-list,.xp .xh-clist{padding-left:0}
