:root{
  --red:#AF2A47;           /* brand red (logo) — top & bottom bars */
  --red-dark:#8e213a;
  --magenta:#AF2A47;       /* buttons share the brand red */
  --magenta-dark:#8e213a;
  --row-white:#ffffff;     /* alternating board stripes (MTR PIDS style) */
  --row-pink:#d8edf2;      /* light blue stripe, like MTR station displays */
  --navy:#16306e;          /* MTR PIDS deep navy — header / footer / accents */
  --ink:#161616;
  --min:#16367e;           /* minutes in navy blue */
  --rowH:108px;            /* FIXED row height — does not stretch with screen */
}
/* ===== 顏色主題（按港鐵綫色，v1.30.0）：只覆蓋品牌色變數，白字底色已調至可讀對比 ===== */
:root[data-color="ktl"]{--navy:#009a44;--min:#009a44;--red:#009a44;--red-dark:#00762f;--magenta:#009a44;--magenta-dark:#00762f} /* 觀塘 綠 */
:root[data-color="twl"]{--navy:#d21e2b;--min:#d21e2b;--red:#d21e2b;--red-dark:#a9121d;--magenta:#d21e2b;--magenta-dark:#a9121d} /* 荃灣 紅 */
:root[data-color="isl"]{--navy:#0067b1;--min:#0067b1;--red:#0067b1;--red-dark:#00508a;--magenta:#0067b1;--magenta-dark:#00508a} /* 港島 藍 */
:root[data-color="tkl"]{--navy:#6e3f96;--min:#6e3f96;--red:#6e3f96;--red-dark:#563075;--magenta:#6e3f96;--magenta-dark:#563075} /* 將軍澳 紫 */
:root[data-color="tcl"]{--navy:#c55e00;--min:#c55e00;--red:#c55e00;--red-dark:#9c4900;--magenta:#c55e00;--magenta-dark:#9c4900} /* 東涌 橙 */
:root[data-color="eal"]{--navy:#1a86c4;--min:#1a86c4;--red:#1a86c4;--red-dark:#13699a;--magenta:#1a86c4;--magenta-dark:#13699a} /* 東鐵 淺藍 */
:root[data-color="tml"]{--navy:#97401f;--min:#97401f;--red:#97401f;--red-dark:#732f16;--magenta:#97401f;--magenta-dark:#732f16} /* 屯馬 啡 */
:root[data-color="sil"]{--navy:#7e8b00;--min:#7e8b00;--red:#7e8b00;--red-dark:#616b00;--magenta:#7e8b00;--magenta-dark:#616b00} /* 南港島 青檸 */
:root[data-color="ael"]{--navy:#00787f;--min:#00787f;--red:#00787f;--red-dark:#005a60;--magenta:#00787f;--magenta-dark:#005a60} /* 機場快綫 Teal */
:root[data-color="drl"]{--navy:#dd3a8c;--min:#dd3a8c;--red:#dd3a8c;--red-dark:#b32c6f;--magenta:#dd3a8c;--magenta-dark:#b32c6f} /* 迪士尼 粉紅 */
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html,body{height:100%}
body{
  font-family:"Helvetica Neue","PingFang HK","Heiti TC","Microsoft JhengHei",sans-serif;
  background:#000;color:var(--ink);overflow:hidden;
  height:100dvh;width:100vw;
}
.screen{height:100dvh;width:100vw;display:flex;flex-direction:column}
.hidden{display:none!important}

/* ---------- setup ---------- */
/* scrollable on mobile; margin:auto centres short content but lets long
   content (the stop list) start at the top and scroll instead of clipping */
#setup{align-items:center;justify-content:flex-start;overflow-y:auto;
  -webkit-overflow-scrolling:touch;background:#101014;color:#fff;padding:24px}
/* line/route picker (揀綫／路線) — same scroll behaviour as #setup so the full
   line grid can scroll; extra bottom padding clears the browser toolbar */
#linepick{align-items:center;justify-content:flex-start;overflow-y:auto;
  -webkit-overflow-scrolling:touch;padding:0 16px calc(env(safe-area-inset-bottom) + 96px)}
.setup-box{width:100%;max-width:480px;text-align:center;margin:24px 0 0;flex-shrink:0}
.seo-intro{width:100%;max-width:480px;margin:16px auto 26px;text-align:left;color:#878f9c;
  font-size:13px;line-height:1.65;border-top:1px solid #1e2129;padding-top:18px}
.seo-intro a{color:#7a93b5}
.si-lead{margin:0 0 11px}
.si-en{margin:0 0 11px;color:#9aa3b0;font-size:13px;line-height:1.55}
.si-ops{margin:0 0 12px;text-align:center;color:#aeb6c2;font-size:12.5px;letter-spacing:.02em}
.si-chips{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:0 0 14px}
.si-chips span{background:#15171e;border:1px solid #262a35;border-radius:20px;padding:3px 11px;
  font-size:12px;color:#9aa3b2;white-space:nowrap}
.si-use{margin:0 0 12px;padding:11px 14px;list-style:none;border:1px solid #1f222b;border-radius:10px;background:#0f1116}
.si-use li{position:relative;padding-left:14px;margin:0 0 7px;font-size:12px;line-height:1.55;color:#9aa1ad}
.si-use li:last-child{margin-bottom:0}
.si-use li::before{content:'›';position:absolute;left:0;color:#5a6170}
.si-use b{color:#c4cad3;font-weight:600}
.si-faq{margin:0 0 12px;border:1px solid #1f222b;border-radius:10px;background:#0f1116}
.si-faq summary{padding:9px 14px;cursor:pointer;color:#cdd3dc;font-size:13px;font-weight:600;list-style:none}
.si-faq summary::-webkit-details-marker{display:none}
.si-faq summary::after{content:'＋';float:right;color:#5a6170}
.si-faq[open] summary::after{content:'－'}
.si-faq dl{margin:0;padding:0 14px 12px}
.si-faq dt{color:#c4cad3;font-weight:600;font-size:12.5px;margin-top:9px}
.si-faq dd{margin:2px 0 0;font-size:12px;color:#878f9c}
.si-more{text-align:center;margin:6px 0 0;font-size:12px;color:#646b78}
.setup-box h1{font-size:34px;letter-spacing:1px;margin-bottom:6px}
.setup-box .sub{color:#9aa;margin-bottom:28px;font-size:16px}
button.primary{
  background:var(--magenta);color:#fff;border:0;border-radius:12px;
  font-size:19px;padding:16px 22px;width:100%;font-weight:700;cursor:pointer;margin-bottom:12px;
}
button.primary:active{background:var(--magenta-dark)}
button.primary.disabled{background:#5a3247;opacity:.7}
button.ghost{
  background:transparent;color:#cdd;border:1px solid #3a3a48;border-radius:12px;
  font-size:16px;padding:14px 20px;width:100%;cursor:pointer;
}
button.ghost:active{background:#1c1c24}
.acct{background:#16241c;border:1px solid #244;border-radius:10px;padding:10px 14px;
  margin-bottom:16px;font-size:14px;color:#bfe;display:flex;justify-content:space-between;align-items:center}
.link{background:none;border:0;color:#7bd;font-size:14px;cursor:pointer;text-decoration:underline}
.status{margin:16px 0;color:#bcc;min-height:20px;font-size:15px}
.stop-list{list-style:none;text-align:left}
.stop-list li{
  background:#1c1c24;border:1px solid #2c2c38;border-radius:10px;
  padding:11px 16px;margin-bottom:9px;cursor:pointer;display:flex;
  justify-content:space-between;align-items:center;gap:12px;
}
.stop-list li:active{background:#26263200}
.stop-list .nm{font-size:17px}
.stop-list .sub{font-size:12px;color:#8a8f9c;margin-left:8px;white-space:nowrap}
.stop-list .sub.lines{display:inline-flex;gap:5px;align-items:center;margin-left:2px}
.line-dot{display:inline-block;width:11px;height:11px;border-radius:50%;flex:none}
.stop-list .meta{font-size:13px;color:#8aa;white-space:nowrap}
.badge{display:inline-block;font-size:12px;font-weight:700;padding:2px 7px;
  border-radius:6px;margin-right:8px;vertical-align:middle}
.badge.KMB{background:#e2231a;color:#fff}
.badge.CTB{background:#f6c700;color:#222}

/* ---------- board ---------- */
#board{background:var(--row-white)}
.board-head{
  background:var(--navy);color:#fff;display:flex;align-items:center;
  padding:calc(env(safe-area-inset-top) + 10px) 10px 10px;
}
.board-title{flex:1;text-align:center;font-size:clamp(22px,6vw,40px);font-weight:800;letter-spacing:3px}
.gear,.gps{flex:0 0 auto;background:transparent;border:0;color:#fff;opacity:.9;cursor:pointer;
  font-size:clamp(24px,6vw,38px);line-height:1;display:flex;align-items:center;justify-content:center;
  width:1.5em;height:1.5em;padding:0}
.gear:active,.gps:active{opacity:.6}
.col-head{
  display:flex;justify-content:space-between;align-items:center;
  background:#fff;color:var(--navy);padding:5px 16px;
  font-size:clamp(15px,4.2vw,24px);font-weight:700;letter-spacing:2px;
  border-bottom:2px solid var(--row-pink);
}
/* fixed-height rows; if they overflow the screen, the list scrolls.
   stripe gradient uses background-attachment:local so it scrolls in sync
   with the (transparent) rows and stays colour-aligned. */
.rows{list-style:none;flex:1;overflow-y:auto;overflow-x:hidden;position:relative;
  -webkit-overflow-scrolling:touch;
  background:repeating-linear-gradient(to bottom,
    var(--row-white) 0, var(--row-white) var(--rowH),
    var(--row-pink) var(--rowH), var(--row-pink) calc(var(--rowH) * 2));
  background-attachment:local;
}
.row{
  height:var(--rowH);display:flex;align-items:center;justify-content:space-between;
  padding:2px 16px;background:transparent;
}
/* hkbustime 姊妹 app 卡：只喺列車行下面有白位時，貼白位底部（登入 CTA 之上）；由 JS updateBoardPromo 控制顯示 */
.board-promo{position:absolute;left:0;right:0;bottom:0;height:auto;padding:12px 14px;
  display:flex;justify-content:center;background:transparent;pointer-events:none}
/* hkbustime brand red (#ED1C24 PMS 032 C) — 呢張卡推廣 hkbustime，用佢自己個紅 */
.board-promo a{pointer-events:auto;display:inline-block;width:100%;max-width:520px;box-sizing:border-box;
  text-align:center;background:#ED1C24;border:1px solid #ED1C24;border-radius:12px;
  color:#fff;text-decoration:none;font-size:15px;font-weight:600;padding:11px 16px}
.board-promo a b{color:#fff}
.board-promo a:active{background:#c4151c}
/* left: route number, then destination (primary), then small stop name */
/* left: destination is the HERO (big), line name small below, station name smallest */
.row .left{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0;flex:1}
.row .dest{font-size:clamp(30px,9.4vw,56px);font-weight:800;color:var(--ink);
  line-height:1.04;max-width:58vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row .route{display:flex;align-items:center;gap:7px;line-height:1}
.row .route .line-dot{width:13px;height:13px}
/* 輕鐵 badge — 金黃色小膠囊（輕鐵無車費，用呢個 label 取代車費位，同 hkbustime 一致） */
.row .lr-badge{font-size:clamp(12px,3.2vw,17px);font-weight:700;color:#fff;background:#c8a40f;
  border-radius:.42em;padding:.1em .5em;letter-spacing:.06em;line-height:1.3}
.row .line-name{font-size:clamp(14px,3.8vw,22px);font-weight:400}
/* 輕鐵 row: route number is the hero (like hkbustime), 往 destination small below */
/* align-items:baseline → 輕鐵 badge sits on the same baseline as the big route number */
.row.lrt .route{font-size:clamp(28px,9vw,52px);font-weight:800;color:var(--ink);letter-spacing:1px;gap:10px;align-items:baseline}
.row.lrt .dest{font-size:clamp(15px,4vw,24px);font-weight:600;color:#444;line-height:1.2;margin-top:1px;
  max-width:58vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row .substop{font-size:clamp(11px,3vw,15px);color:#7a8a99;
  max-width:58vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* platform: its own fixed-width column so the circle is at the same x on every row */
.row .plat-wrap{flex:none;width:clamp(44px,12vw,58px);display:flex;align-items:center;justify-content:center}
.row .plat-badge{flex:none;display:flex;align-items:center;justify-content:center;
  width:1.5em;height:1.5em;border-radius:50%;background:#666;color:#fff;font-weight:800;
  font-size:clamp(18px,5vw,30px);line-height:1}
/* minute: fixed-width column, right-aligned, so number/word never shift the platform column */
.row .min-col{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;
  flex:none;width:clamp(122px,37vw,188px);padding-left:6px}
.row .min{font-size:clamp(36px,12vw,62px);font-weight:800;color:var(--min);line-height:1;text-align:right;white-space:nowrap}
/* word states ("即將抵達" / "走咗啦") — big, as large as fits a 4-char word beside the destination hero */
.row .min.now{color:var(--red);font-size:clamp(24px,8vw,44px)}
.row .min.gone{color:#9aa0a6;font-size:clamp(24px,8vw,44px)}
.row .min-next{font-size:clamp(14px,3.8vw,22px);font-weight:700;color:var(--min);
  opacity:.78;letter-spacing:1px;text-align:right}
.row.empty{position:absolute;inset:0;justify-content:center;align-items:center;
  height:auto;color:var(--magenta);font-size:20px;opacity:.8}
.traffic{
  background:var(--red);color:#fff;text-align:center;margin:0;padding:8px 14px;
  border-top:1px solid rgba(255,255,255,.22);border-bottom:1px solid rgba(255,255,255,.22);
}
.traffic .tlabel{display:block;font-size:clamp(11px,3vw,15px);font-weight:700;opacity:.85;margin-bottom:2px}
.traffic .ttext{display:block;font-size:clamp(14px,4vw,18px);line-height:1.5}
/* 全綫營運狀態突發提示（只有綫路有事先顯示，喺返工／放工列之上） */
.line-status{background:#3a0d0d;border-top:1px solid rgba(255,90,90,.35);
  border-bottom:1px solid rgba(255,90,90,.35);padding:6px 12px}
.ls-row{display:flex;align-items:center;gap:8px;padding:4px 0;color:#ffdede}
.ls-row + .ls-row{border-top:1px solid rgba(255,90,90,.18)}
.ls-dot{flex:none;width:11px;height:11px;border-radius:50%;background:#ff3b30;
  box-shadow:0 0 0 0 rgba(255,59,48,.7);animation:lsPulse 1.4s infinite}
@keyframes lsPulse{0%{box-shadow:0 0 0 0 rgba(255,59,48,.7)}
  70%{box-shadow:0 0 0 7px rgba(255,59,48,0)}100%{box-shadow:0 0 0 0 rgba(255,59,48,0)}}
.ls-name{font-weight:800;font-size:clamp(13px,3.8vw,17px);color:#fff;flex:none}
.ls-msg{font-size:clamp(11px,3vw,14px);opacity:.9;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap;min-width:0}
/* 站名列（chips）左邊嵌天氣警告官方圖標 */
.chip-row{display:flex;align-items:stretch;background:#fff;border-bottom:1px solid var(--row-pink)}
.wx-icons{display:flex;align-items:center;gap:6px;padding:6px 2px 6px 12px;flex:none}
.wx-ico{width:28px;height:28px;display:block;object-fit:contain}
.wx-rain{display:flex;align-items:center;flex:none;padding:0 8px;
  font-size:13px;font-weight:700;color:#1668b8;white-space:nowrap;letter-spacing:.5px}
.board-foot{
  background:var(--navy);color:#fff;text-align:center;
  padding:6px 12px calc(env(safe-area-inset-bottom) + 8px);
}
.foot-main{font-size:clamp(13px,3.6vw,20px);font-weight:700}
.foot-sub{font-size:clamp(11px,3vw,16px);opacity:.9}
/* 到站板底：返工／放工 兩個半闊掣（登入用戶） */
.profile-tabs{display:flex;gap:8px;background:var(--navy);padding:8px 12px 4px}
.ptab{flex:1;box-sizing:border-box;border:2px solid #fff;border-radius:10px;cursor:pointer;
  background:transparent;color:#fff;font-size:16px;font-weight:800;padding:11px 0;line-height:1}
.ptab.on{background:#fff;color:var(--navy)}
.ptab:active{opacity:.85}
/* 分段掣（返工／放工 編輯 + 自動切換）：未選＝ghost（似「返回」掣，無色簡潔）；已選＝深藍底白字（清晰易分） */
.prof-switch{display:flex;gap:8px;width:100%}
.pseg{flex:1;box-sizing:border-box;border:2px solid #3a3a48;border-radius:10px;cursor:pointer;
  background:transparent;color:#cdd;font-size:15px;font-weight:800;padding:10px 0;line-height:1}
.pseg.on{background:var(--navy);color:#fff;border-color:var(--navy)}
.stop-name{position:absolute;top:calc(env(safe-area-inset-top) + 8px);right:12px;
  color:#fff;font-size:12px;opacity:.75;max-width:50vw;text-align:right;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---------- hint / settings / install ---------- */
.hint{color:#9aa;font-size:13px;margin:10px 2px 0;line-height:1.5;text-align:left}
button.primary.sm,button.ghost.sm{width:auto;font-size:15px;padding:11px 16px;margin:0}
/* sister-app cross-promo button (→ hkbustime.com) */
/* hkbustime brand red (#ED1C24 PMS 032 C) — 同 .board-promo 一致，用姊妹站自己個紅 */
button.primary.sm.bus-promo{background:#ED1C24;width:100%;font-weight:700;font-size:16px;padding:13px 16px}
button.primary.sm.bus-promo:active{background:#c4151c}

#settings{background:#101014;color:#fff;align-items:center;justify-content:flex-start;padding:24px;overflow-y:auto}
.settings-box{width:100%;max-width:480px}
.settings-head{display:flex;align-items:center;gap:14px;margin:6px 0 18px}
.settings-head h2{font-size:22px}
.set-row{background:#1c1c24;border:1px solid #2c2c38;border-radius:12px;
  padding:14px 16px;margin-bottom:12px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.set-row .set-label{font-size:13px;color:#9aa}
.set-row .set-value{font-size:17px}
.set-row .set-hint{font-size:12px;color:#8a8a94;line-height:1.5}
.set-row button{align-self:stretch}
.set-row button.link{align-self:flex-end;width:auto}

.install-banner{position:fixed;left:12px;right:12px;bottom:calc(env(safe-area-inset-bottom) + 12px);
  background:#1c1c24;color:#fff;border:1px solid #3a3a48;border-radius:14px;
  padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;
  box-shadow:0 8px 28px rgba(0,0,0,.45);z-index:50;font-size:14px;line-height:1.4}
.ib-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.ib-btn{background:var(--red);color:#fff;border:0;border-radius:9px;padding:9px 16px;font-weight:700;cursor:pointer}
.ib-x{background:transparent;border:0;color:#aaa;font-size:22px;line-height:1;cursor:pointer;padding:0 4px}
.legal{margin-top:24px;font-size:13px;color:#888}
.legal a{color:#9bd;text-decoration:underline}
.set-input{align-self:stretch;background:#0e0e14;border:1px solid #3a3a48;border-radius:9px;
  color:#fff;font-size:16px;padding:11px 13px;letter-spacing:1px}
.stop-list li.sel{border-color:var(--red);background:#2a1417}
.stop-list li.sel .nm::after{content:" ✓";color:var(--red);font-weight:700}

/* reCAPTCHA v3: hide floating badge (disclosure shown as text instead) */
.grecaptcha-badge{visibility:hidden!important}
.recaptcha-note{margin-top:10px;font-size:11px;color:#667;line-height:1.5}
.recaptcha-note a{color:#88a}

/* pull-to-refresh indicator (flex item between col-head and rows) */
.ptr{display:flex;align-items:center;justify-content:center;height:0;overflow:hidden;
  color:var(--magenta-dark);font-size:14px;font-weight:700;background:#fbe3ef;
  transition:height .12s ease;flex-shrink:0;pointer-events:none}
.ptr.spin{height:44px}
.gbtn-box{display:flex;justify-content:center;min-height:44px;margin-bottom:12px}

/* station quick-filter chips (shown under header when 2+ stops) */
.chips{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:8px 12px;
  -webkit-overflow-scrolling:touch;flex:1 1 auto;min-width:0;white-space:nowrap}
.chips::-webkit-scrollbar{display:none}
.chip{flex:0 0 auto;border:2px solid var(--navy);border-radius:999px;background:#fff;color:var(--navy);
  font-size:15px;font-weight:700;padding:7px 16px;cursor:pointer;line-height:1.1}
.chip.on{background:var(--navy);color:#fff}
/* ---- 揀綫 line picker ---- */
.line-actions{display:flex;gap:10px;justify-content:center;margin-bottom:14px}
.pick-actions{display:flex;gap:10px;justify-content:center;margin:0 0 10px}
.pick-actions button{flex:1;max-width:180px}
.line-chips{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin-bottom:22px;min-height:40px}
.lchip{display:inline-flex;align-items:center;gap:7px;border:2px solid var(--navy);border-radius:999px;
  background:#fff;color:var(--navy);font-size:15px;font-weight:700;padding:7px 15px;cursor:pointer;line-height:1.1}
.lchip.on{background:var(--navy);color:#fff}
.lchip-dot{display:inline-block;width:12px;height:12px;border-radius:50%;flex:none;background:var(--lc,#666)}
.lchip-lr{font-size:10px;font-weight:800;padding:1px 5px;border-radius:5px;background:#c8a40f;color:#fff;letter-spacing:.5px}
.lchip.on .lchip-lr{background:#fff;color:#c8a40f}
.set-ver{margin-top:18px;text-align:center;color:#667;font-size:12px}
.brand-logo{width:77px;height:77px;border-radius:16px;margin:0 auto 12px;display:block}
.stop-search{width:100%;background:#0e0e14;border:1px solid #3a3a48;border-radius:12px;
  color:#fff;font-size:16px;padding:14px 16px;margin-bottom:12px;outline:none}
.stop-search:focus{border-color:var(--red)}
.stop-search::placeholder{color:#7a7a88}

/* ---------- without-login: login CTAs (navy theme) ---------- */
/* navy band hugging the footer; black rounded button inside */
.login-cta-wrap{background:var(--navy);padding:10px 14px 2px}
.login-cta{display:block;box-sizing:border-box;width:100%;border:0;cursor:pointer;
  background:#000;color:#fff;border-radius:12px;font-size:clamp(14px,4vw,17px);font-weight:700;
  padding:12px 14px;text-align:center;letter-spacing:.02em}
.login-cta:active{background:#222}
.picker-login{display:block;width:100%;border:0;cursor:pointer;background:var(--navy);color:#fff;border-radius:10px;
  font-size:clamp(13px,3.6vw,15px);font-weight:700;padding:12px 14px;margin:10px 0 0;text-align:center}
.picker-login:active{background:#0f2350}
.acct-login{align-self:stretch;width:100%;border:0;cursor:pointer;background:var(--navy);color:#fff;
  border-radius:10px;font-size:15px;font-weight:700;padding:12px 14px}

/* ---------- SEO intro: lines table + station links ---------- */
.si-lines{width:100%;border-collapse:collapse;margin:0 0 14px;font-size:12.5px;color:#9aa3b2}
.si-lines caption{text-align:left;color:#aeb6c2;font-size:12.5px;margin-bottom:6px}
.si-lines th{text-align:left;color:#6b7280;font-weight:600;padding:4px 8px;border-bottom:1px solid #262a35}
.si-lines td{padding:5px 8px;border-bottom:1px solid #1a1d25}
.si-lines td:last-child{text-align:right;color:#7a8190}
.si-lines a{color:#c4cad3;text-decoration:none}
.si-lines a:hover{text-decoration:underline}
.si-stations{margin:0 0 8px;font-size:12.5px;line-height:1.9;color:#878f9c}
.si-stations a,.si-more a{color:#7a93b5}
.si-upd{margin:8px 0 0;font-size:11.5px;color:#5a6170}
.si-upd a{color:#6b7f9c}

/* ---------- in-app 瀏覽器登入提示 ---------- */
.webview-note{background:#eef2fa;border:1px solid var(--navy);border-radius:12px;
  padding:14px 16px;margin:0 0 16px;text-align:left;display:flex;flex-direction:column;gap:8px}
.webview-note b{color:var(--navy);font-size:15px}
.webview-note span{font-size:13px;line-height:1.6;color:#333}
.webview-note .wv-hint{font-size:12px;color:#777}
.webview-note .wv-actions{display:flex;gap:10px;flex-wrap:wrap}
.webview-note .wv-actions button{flex:1;min-width:120px;background:var(--navy);color:#fff;border:0;
  border-radius:8px;font-size:14px;font-weight:700;padding:10px 14px;cursor:pointer}
.webview-note .wv-actions button:active{opacity:.7}
.webview-note .wv-actions button#wvCopy{background:#fff;color:var(--navy);border:1.5px solid var(--navy)}

/* ---------- 版本更新提示 ---------- */
#updateBar{position:fixed;left:0;right:0;top:0;z-index:9999;
  background:var(--navy);color:#fff;
  display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;
  padding:calc(env(safe-area-inset-top) + 10px) 14px 10px;
  font-size:14px;font-weight:600;box-shadow:0 2px 10px rgba(0,0,0,.25)}
#updateBar button{background:#fff;color:var(--navy);border:0;border-radius:8px;
  font-size:14px;font-weight:800;padding:8px 16px;cursor:pointer;white-space:nowrap}
#updateBar button:active{opacity:.7}
#updateBar button:disabled{opacity:.6;cursor:default}
