/*
 * MetroBites Metro V2 — Phase 2 Preview
 * ------------------------------------------------------------
 * Loaded AFTER /assets/css/store-v2.css.
 * Store V2 remains the visual/structural source of truth for shared shell.
 * This file owns Metro-specific finder/results components only.
 * No production metro.php selector contract is modified by this file.
 */

:root {
    --mb-orange: #ff5722;
    --brand-orange: #ff5722;
    --brand-orange-light: #fff3ed;
    --white: #ffffff;
    --text-dark: #202020;
    --text-gray: #77716d;
    --nav-blur: rgba(255,255,255,.94);
    --mb-orange-soft: #fff4ef;
    --mb-orange-line: #ffd8c9;
    --mb-ink: #202020;
    --mb-ink-soft: #45413e;
    --mb-muted: #77716d;
    --mb-faint: #a09a96;
    --mb-surface: #ffffff;
    --mb-surface-soft: #f7f6f4;
    --mb-surface-warm: #fbfaf8;
    --mb-border: #e7e3df;
    --mb-border-strong: #d8d2cd;
    --mb-shadow: 0 8px 22px rgba(35, 30, 27, .035);
    --mb-shadow-hover: 0 12px 30px rgba(35, 30, 27, .07);
    --mrt-theme: #0070bd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.mb-metro-v2 {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: #f5f5f3;
    color: var(--mb-ink);
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
}
body.mb-metro-v2 button,
body.mb-metro-v2 input,
body.mb-metro-v2 select { font: inherit; }
body.mb-metro-v2 button { -webkit-tap-highlight-color: transparent; }
body.food-filter-open { overflow: hidden; }

/* =========================
   DEVELOPMENT SAFETY BANNER
   ========================= */
.mb-metro-v2__dev-banner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 7px 18px;
    background: #171717;
    color: #f5f5f5;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}
.mb-metro-v2__dev-banner b {
    color: #ffb89f;
    font-size: 10px;
    letter-spacing: .12em;
}
.mb-metro-v2__dev-warning { color: #fde68a; }

/* =========================
   STORE V2 SHARED SHELL FIT
   ========================= */
body.mb-metro-v2 .site-top {
    position: sticky;
    top: 0;
    z-index: 1900;
}
body.mb-metro-v2 .site-top-inner.container {
    min-height: 62px;
}
.mb-metro-v2__brand {
    flex: 0 0 auto;
    color: inherit;
    text-decoration: none;
}
.mb-metro-v2__desktop-nav {
    min-width: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 3px;
}
.mb-metro-v2__desktop-nav-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #45413e;
    font-size: 12px;
    line-height: 1;
    font-weight: 820;
    text-decoration: none;
    white-space: nowrap;
    transition: color .16s ease, background .16s ease, border-color .16s ease;
}
.mb-metro-v2__desktop-nav-link:hover {
    color: var(--mb-orange);
    background: #fff8f4;
    border-color: #ffe0d3;
}
.mb-metro-v2__desktop-nav-link.active {
    color: #fff;
    background: var(--mb-orange);
    border-color: var(--mb-orange);
}
.mb-metro-v2__desktop-nav-link .ico,
.mb-metro-v2__header-action .ico,
body.mb-metro-v2 .language-trigger .ico,
body.mb-metro-v2 .bottom-nav .ico {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mb-metro-v2__top-actions {
    flex: 0 0 auto;
    margin-left: 8px;
    padding-left: 9px;
    border-left: 1px solid #ece8e5;
    display: flex;
    align-items: center;
    gap: 7px;
}
.mb-metro-v2__header-action,
.mb-metro-v2__search-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 11px;
    border: 1px solid var(--mb-border);
    border-radius: 10px;
    background: #fff;
    color: #44403c;
    font-size: 12px;
    font-weight: 820;
    text-decoration: none;
    cursor: pointer;
}
.mb-metro-v2__search-button { width: 40px; padding: 0; }
.mb-metro-v2__header-action:hover,
.mb-metro-v2__search-button:hover {
    border-color: #ffd3c2;
    background: #fff8f4;
    color: var(--mb-orange);
}
.mb-metro-v2__profile-link { white-space: nowrap; }
/* Fallbacks in case a Store V2 CSS release changes language-menu internals. */
body.mb-metro-v2 .language-switcher { position: relative; }
body.mb-metro-v2 .language-menu { z-index: 2200; }
body.mb-metro-v2 .language-switcher:not(.open) .language-menu { visibility: hidden; opacity: 0; pointer-events: none; }
body.mb-metro-v2 .language-switcher.open .language-menu { visibility: visible; opacity: 1; pointer-events: auto; }

/* =============
   SEARCH OVERLAY
   ============= */
.search-overlay-box {
    position: fixed;
    top: -120px;
    left: 0;
    width: 100%;
    z-index: 2500;
    padding: 16px 20px;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--mb-border);
    box-shadow: 0 16px 34px rgba(28,25,23,.10);
    transition: top .25s ease;
}
.search-overlay-box.show { top: 0; }
.search-overlay-inner {
    width: min(760px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-overlay-box input {
    min-width: 0;
    flex: 1;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid #d8d3cf;
    border-radius: 14px;
    background: #fff;
    color: var(--mb-ink);
    outline: none;
}
.search-overlay-box input:focus {
    border-color: var(--mb-orange);
    box-shadow: 0 0 0 4px rgba(255,87,34,.10);
}
.search-overlay-box button {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--mb-orange);
    border-radius: 13px;
    background: var(--mb-orange);
    color: #fff;
    font-weight: 850;
    cursor: pointer;
}
.search-overlay-box .close-search {
    border-color: var(--mb-border);
    background: #fff;
    color: #57534e;
}

/* ==================
   FINDER / PAGE HERO
   ================== */
.search-panel {
    padding: 44px 22px 34px;
    border-bottom: 1px solid var(--mb-border);
    background: #f7f6f4;
}
.finder-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}
.finder-intro {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    padding: 4px 0 26px 22px;
    border-bottom: 2px solid #262321;
}
.finder-intro::before {
    content: '';
    position: absolute;
    top: 4px;
    bottom: 28px;
    left: 0;
    width: 4px;
    border-radius: 999px;
    background: var(--mb-orange);
}
.finder-intro-copy { min-width: 0; }
.finder-kicker,
.step-kicker,
.filter-kicker {
    display: block;
    color: var(--mb-orange);
    font-size: 10px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.finder-kicker { margin-bottom: 8px; }
.finder-heading {
    max-width: 760px;
    margin: 0;
    color: #1f1f1f;
    font-size: clamp(27px, 2.35vw, 31px);
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: -.03em;
}
.finder-intro-text {
    max-width: 680px;
    margin: 11px 0 0;
    color: var(--mb-muted);
    font-size: 15px;
    line-height: 1.75;
    font-weight: 600;
}
.mb-metro-v2__country-context {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    color: #57534e;
}
.mb-metro-v2__country-context span {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
}
.mb-metro-v2__country-context b {
    padding-left: 9px;
    border-left: 1px solid #d8d3cf;
    font-size: 13px;
}
.finder-nearby-button {
    flex: 0 0 auto;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 17px;
    border: 1px solid #cfe2f1;
    border-radius: 11px;
    background: #fff;
    color: #1769aa;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}
.finder-nearby-button:hover { background: #fff; border-color: #a9cee8; }

.finder-grid {
    display: grid;
    grid-template-columns: minmax(315px, .82fr) minmax(0, 1.48fr);
    gap: 18px;
    align-items: start;
}
.finder-block {
    min-width: 0;
    padding: 22px;
    border: 1.5px solid #ddd8d3;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--mb-shadow);
}
.finder-field + .finder-field {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #eeeae6;
}
.step-kicker { margin-bottom: 4px; color: #9a918b; }
.step-label {
    display: block;
    margin: 0 0 12px;
    color: #34302d;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 850;
}
.step-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}
.step-row .step-label { margin-bottom: 0; }
.line-step-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
}
.line-shorts-link,
.line-info-toggle {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}
.line-shorts-link {
    border: 1px solid #262626;
    background: #262626;
    color: #fff;
}
.line-shorts-link span { color: #7dd3fc; }
.line-info-toggle {
    border: 1px solid var(--mb-orange-line);
    background: var(--mb-orange-soft);
    color: #d94b1f;
    cursor: pointer;
}
.line-seo-info {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #fbfaf8;
    color: #6b625c;
    font-size: 12px;
    line-height: 1.7;
    transition: max-height .24s ease, opacity .2s ease, padding .2s ease, margin .2s ease;
}
.line-seo-info.is-open {
    max-height: 260px;
    opacity: 1;
    margin-bottom: 12px;
    padding: 12px 13px;
    border-color: #ece5df;
}
.line-seo-info strong { display: block; margin-bottom: 3px; color: #292524; font-size: 13px; }

.scroller {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}
.scroller::-webkit-scrollbar { display: none; }
#regionWrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    overflow: visible;
}
.pill-region {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border: 1px solid var(--mb-border);
    border-radius: 11px;
    background: var(--mb-surface-warm);
    color: #5f5955;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.pill-region:hover { border-color: var(--mb-border-strong); background: #fff; }
.pill-region.active {
    border-color: #292524;
    background: #292524;
    color: #fff;
}
#lineWrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
    overflow: visible;
}
.tag-line {
    min-width: 0;
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 12px;
    color: #fff;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 850;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 5px 13px rgba(15,23,42,.08);
    transition: opacity .15s ease, filter .15s ease, transform .15s ease, box-shadow .15s ease;
}
.tag-line.inactive { opacity: .44; filter: saturate(.62); box-shadow: none; }
.tag-line:hover { opacity: 1; filter: none; transform: translateY(-1px); }
.pill-all-line { border-style: dashed !important; }

.finder-block-station .station-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 8px;
    margin: 0;
}
.pill-station {
    min-width: 0;
    min-height: 54px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 9px 10px;
    border: 1px solid var(--mb-border);
    border-radius: 11px;
    background: #fbfaf8;
    color: #514b47;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 750;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.pill-station:hover { border-color: var(--mrt-theme); background: #fff; transform: translateY(-1px); }
.pill-station.active {
    border-color: var(--mrt-theme);
    background: var(--mrt-theme);
    color: #fff;
}
.mrt-code {
    min-width: 32px;
    flex: 0 0 auto;
    padding: 3px 5px;
    border-radius: 6px;
    background: rgba(0,0,0,.06);
    font-size: 9.5px;
    font-weight: 900;
    text-align: center;
}
.pill-station.active .mrt-code { background: rgba(255,255,255,.18); }
.station-name {
    display:block;
    min-width:0;
    flex:1 1 auto;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:12px;
    line-height:1.35;
    font-weight:850;
}

/* ============
   FOOD FILTERS
   ============ */
.finder-block-category {
    margin-top: 18px;
    padding: 24px;
}
.mb-metro-v2__section-heading {
    margin-bottom: 17px;
    padding-bottom: 16px;
    border-bottom: 2px solid #292524;
}
.mb-metro-v2__section-heading h2 {
    margin: 5px 0 5px;
    color: #24211f;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -.025em;
}
.mb-metro-v2__section-heading p {
    margin: 0;
    color: #8a817b;
    font-size: 12px;
    line-height: 1.65;
}
.category-cards[hidden] { display: none !important; }
.subcat-label,
.food-filter-group-title {
    margin: 13px 0 8px;
    color: #5f5955;
    font-size: 12px;
    font-weight: 850;
}
.subcat-label {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.subcat-label .filter-kicker { display: inline; margin: 0; color: #a29a94; font-size: 9px; }
.subcat-label b { color: #514b47; font-size: 12px; }
.food-filter-desktop .subcat-label:first-child { margin-top: 0; }
.type-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pill-type {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 13px;
    border: 1px solid #e2dcd7;
    border-radius: 999px;
    background: #fff;
    color: #645d58;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.pill-type:hover { border-color: #cfc5bd; background: #fffaf7; }
.pill-type.active {
    border-color: #302b27;
    background: #302b27;
    color: #fff;
}
.food-filter-mobile { display: none; }
.food-vibe-label { margin-top: 20px; }
.food-more-trigger {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    border: 1px solid #e5ddd7;
    border-radius: 12px;
    background: #fffaf7;
    color: #554b45;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}
.food-more-trigger b { font-size: 18px; }

/* Food filter bottom sheet */
.food-filter-sheet {
    position: fixed;
    inset: 0;
    z-index: 5200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}
.food-filter-sheet.show { visibility: visible; opacity: 1; pointer-events: auto; }
.food-filter-backdrop { position: absolute; inset: 0; border: 0; background: rgba(28,25,23,.52); backdrop-filter: blur(3px); }
.food-filter-panel {
    position: relative;
    width: min(100%,620px);
    max-height: min(86vh,760px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: #fff;
    box-shadow: 0 -20px 60px rgba(28,25,23,.24);
    transform: translateY(25px);
    transition: transform .22s ease;
}
.food-filter-sheet.show .food-filter-panel { transform: translateY(0); }
.food-filter-handle { width: 42px; height: 5px; margin: 9px auto 2px; border-radius: 999px; background: #d6d3d1; }
.food-filter-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 18px 12px; border-bottom: 1px solid #f0ebe7; }
.food-filter-header strong { display: block; color: #292524; font-size: 18px; }
.food-filter-header span { display: block; margin-top: 2px; color: #a8a29e; font-size: 11px; font-weight: 700; }
.food-filter-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f5f5f4; color: #57534e; cursor: pointer; }
.food-filter-scroll { overflow-y: auto; padding: 14px 18px 22px; overscroll-behavior: contain; }
.food-sheet-group-title { margin: 4px 0 9px; color: #78716c; font-size: 12px; font-weight: 900; }
.food-sheet-group-title:not(:first-child) { margin-top: 18px; }
.food-sheet-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.food-sheet-pill { min-height: 43px; border: 1px solid #e7e1dc; border-radius: 12px; background: #fff; color: #57534e; font-size: 13px; font-weight: 850; cursor: pointer; }
.food-sheet-pill.active { border-color: #2f2a26; background: #2f2a26; color: #fff; }
.food-filter-actions { display: grid; grid-template-columns: minmax(100px,.7fr) minmax(170px,1.3fr); gap: 10px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #eee8e4; background: rgba(255,255,255,.97); }
.food-filter-actions button { min-height: 46px; border-radius: 13px; font-size: 14px; font-weight: 900; cursor: pointer; }
.food-filter-clear { border: 1px solid #ded7d2; background: #fff; color: #78716c; }
.food-filter-apply { border: 1px solid var(--mb-orange); background: var(--mb-orange); color: #fff; }

/* ====================
   RESULTS / SORT BAR
   ==================== */
.status-banner {
    display: none;
    width: min(1180px, calc(100% - 40px));
    margin: 18px auto 0;
    padding: 11px 14px;
    border: 1px solid #cfe5f8;
    border-radius: 12px;
    background: #eef7ff;
    color: #1769aa;
    text-align: center;
    font-size: 12px;
    font-weight: 850;
}
.sort-bar {
    display: none;
    width: min(1180px, calc(100% - 40px));
    margin: 22px auto 0;
    padding: 13px 15px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--mb-border);
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 8px 24px rgba(35,30,27,.04);
}
.result-count-row,
.sort-bar-top,
.sort-controls,
.result-left-tools { display: flex; align-items: center; gap: 9px; }
.sort-bar-top { justify-content: flex-end; flex: 1; }
.filter-toggle {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: #f1efed;
}
.ft-option {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    color: #827a74;
    font-size: 11.5px;
    font-weight: 850;
    cursor: pointer;
}
.ft-option.active { background: #fff; color: var(--mb-orange); box-shadow: 0 2px 8px rgba(35,30,27,.08); }
.ft-option.active[data-val="open"] { color: #168451; }
.sort-bar select {
    min-height: 36px;
    padding: 0 34px 0 11px;
    border: 1px solid #ded8d3;
    border-radius: 10px;
    background: #fff;
    color: #49423e;
    font-size: 12px;
    font-weight: 800;
    outline: none;
}
.btn-dice-small,
.nearby-ubike-btn,
.load-more-button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 12px;
    border: 1px solid #e2dbd5;
    border-radius: 999px;
    background: #fff;
    color: #57504b;
    font-size: 11.5px;
    font-weight: 850;
    cursor: pointer;
}
.btn-dice-small { border-color: #ffd0bd; background: #fff7f3; color: #d94b1f; }
.nearby-ubike-btn { display: none; border-color: #cfe2f1; color: #1769aa; background: #f4f9fd; }
.nearby-ubike-btn.show { display: inline-flex; }
.nearby-ubike-btn-icon { display: inline-flex; align-items: center; justify-content: center; }

/* =================
   STORE RESULT CARDS
   ================= */
.feed-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 24px 20px 76px;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 19px;
}
.food-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1.5px solid #d8d3cf;
    border-radius: 15px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(35,30,27,.045);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.food-card:hover { transform: translateY(-2px); border-color: #bfb7b1; box-shadow: var(--mb-shadow-hover); }
.img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #ebe9e6;
}
.store-cover-img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; display: block; }
.store-cover-img.is-broken { display: none !important; }
.mb-img-placeholder { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; color: #bbb5b0; font-size: 13px; font-weight: 900; letter-spacing: .06em; }
.btn-heart {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #aaa;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(15,23,42,.12);
}
.btn-heart.active { color: #ff315d; }
.mrt-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 6;
    max-width: calc(100% - 24px);
    padding: 6px 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 8px;
    color: #fff;
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(15,23,42,.14);
}
.spot-card-badge { position: absolute; top: 12px; left: 12px; z-index: 8; padding: 6px 9px; border-radius: 999px; background: rgba(24,24,27,.82); color: #fff; font-size: 10px; font-weight: 900; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 15px 15px 16px; }
.card-eyebrow-row { min-height: 27px; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.card-tag-group { min-width: 0; flex: 1; display: flex; align-items: center; gap: 5px; overflow: hidden; }
.card-category-label,
.ugc-pending-badge {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    overflow: hidden;
    border-radius: 999px;
    font-size: 9.5px;
    line-height: 1.15;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.card-category-label { border: 1px solid #f3d7c8; background: #fff7f2; color: #b4532b; }
.ugc-pending-badge { flex: 0 0 auto; border: 1px solid #ccebd9; background: #effbf5; color: #18794e; }
.ugc-pending-badge.collab { border-color: #ddd0ff; background: #f6f1ff; color: #7046b5; }
.status-pill {
    position: static;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 4px 8px;
    border: 1px solid #e2e5e9;
    border-radius: 999px;
    background: #f7f8f9;
    color: #737b86;
    font-size: 9.5px;
    font-weight: 850;
}
.status-pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pill.open { border-color: #bfe8d2; background: #effbf5; color: #168451; }
.status-pill.closed { border-color: #e0e3e7; background: #f5f6f7; color: #737b86; }
.status-pill.unknown { color: #9aa1aa; }
.card-title {
    min-height: 48px;
    margin: 0;
    overflow: hidden;
    color: #24211f;
    font-size: 17px;
    line-height: 1.42;
    font-weight: 900;
    letter-spacing: -.015em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.card-meta { min-height: 21px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 11px; margin-top: 9px; color: #817a74; font-size: 11.5px; font-weight: 700; }
.business-card-meta { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: #fff7ed; color: #9a3412; font-size: 10px; font-weight: 850; }
.card-feature-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.card-feature-row span { display: inline-flex; align-items: center; min-height: 22px; padding: 4px 7px; border: 1px solid #ebe6e2; border-radius: 999px; background: #faf9f7; color: #6c645e; font-size: 9.5px; font-weight: 800; }
.card-distance-row { margin-top: auto; padding-top: 11px; border-top: 1px solid #2f2b28; color: #716a65; font-size: 11.5px; font-weight: 750; }
.card-footer-row { margin-top: 9px; padding-top: 9px; border-top: 1px solid #efebe8; }
.card-community-row { display: flex; align-items: center; }
.food-card.is-business-district { background: #fff; }

.load-more-sentinel { display: none; padding: 22px 20px 50px; text-align: center; color: #98918b; font-size: 12px; font-weight: 850; }
.spinner { display: inline-block; width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; border: 2px solid #ffd8c9; border-top-color: var(--mb-orange); border-radius: 50%; animation: mbSpin .8s linear infinite; }
@keyframes mbSpin { to { transform: rotate(360deg); } }
.load-more-button { min-width: 150px; min-height: 42px; padding: 0 18px; }

/* =================
   MOBILE BOTTOM NAV
   ================= */
.bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2000;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-bottom: max(0px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line, #e5e5e5);
    background: #fff;
}
.bottom-nav a,
.bottom-nav .nav-link {
    min-width: 0;
    min-height: 58px;
    display: block;
    padding: 8px 2px 7px;
    color: #555a61;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}
.bottom-nav .nav-ico {
    display: block;
    margin: 0 auto 2px;
}
.bottom-nav a.active,
.bottom-nav a.active-nearby { color: var(--mb-orange); }
.bottom-nav a:active { background: #faf8f6; }
#btn-top { position: fixed; right: 17px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 1600; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; border: 1px solid var(--mb-border); border-radius: 50%; background: #fff; color: #403b37; text-decoration: none; box-shadow: 0 8px 22px rgba(35,30,27,.12); transition: opacity .2s ease; }
#btn-top.show { visibility: visible; opacity: 1; }

/* ====================
   DICE / LOCATION MASK
   ==================== */
.dice-overlay,
.scan-overlay { position: fixed; inset: 0; z-index: 5000; display: none; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: rgba(24,24,27,.93); color: #fff; text-align: center; backdrop-filter: blur(8px); }
.dice-icon { margin-bottom: 24px; font-size: 72px; animation: mbDice .4s infinite alternate; }
@keyframes mbDice { from { transform: rotate(-18deg) scale(.94); } to { transform: rotate(18deg) scale(1.05); } }
.dice-result { display: none; margin-top: 18px; }
.radar-box { position: relative; width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.radar-icon { position: relative; z-index: 2; font-size: 48px; }
.radar-ring { position: absolute; inset: 0; border: 2px solid #60a5fa; border-radius: 50%; animation: mbRipple 2s ease-out infinite; }
.radar-ring:nth-child(2) { animation-delay: .6s; }.radar-ring:nth-child(3) { animation-delay: 1.2s; }
@keyframes mbRipple { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(2); } }
.scan-text { margin: 0; font-size: 19px; }.scan-subtext { margin-top: 10px; color: #b0b8c5; font-size: 12px; }

/* =======================
   NEARBY TRANSPORT SHEET
   ======================= */
.nearby-ubike-overlay { position: fixed; inset: 0; z-index: 4998; display: none; opacity: 0; background: rgba(15,23,42,.48); backdrop-filter: blur(4px); transition: opacity .2s ease; }
.nearby-ubike-overlay.active { display: block; opacity: 1; }
.nearby-ubike-sheet { position: fixed; left: 50%; bottom: -105%; z-index: 4999; width: min(720px,100%); max-height: 82vh; overflow-y: auto; transform: translateX(-50%); padding: 0 18px calc(20px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: #fff; box-shadow: 0 -18px 48px rgba(15,23,42,.2); transition: bottom .25s cubic-bezier(.25,1,.5,1); }
.nearby-ubike-sheet.active { bottom: 0; }
.nearby-transport-sticky { position: sticky; top: 0; z-index: 5; margin-bottom: 10px; padding: 12px 0 11px; border-bottom: 1px solid #f0edea; background: #fff; }
.nearby-ubike-handle { width: 42px; height: 5px; margin: 0 auto 11px; border-radius: 999px; background: #ddd8d4; }
.nearby-transport-topbar { display: flex; align-items: center; gap: 9px; }
.nearby-transport-tabs { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border: 1px solid #e5e7eb; border-radius: 13px; background: #f4f5f6; }
.nearby-transport-tab { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 10px; background: transparent; color: #707986; font-size: 12px; font-weight: 850; cursor: pointer; }
.nearby-transport-tab.active { background: #fff; color: #222; box-shadow: 0 4px 12px rgba(15,23,42,.07); }
.nearby-transport-tab-icon { display: inline-flex; align-items: center; justify-content: center; }
.nearby-ubike-close { width: 36px; height: 36px; flex: 0 0 auto; border: 0; border-radius: 50%; background: #f3f4f5; color: #69717c; font-size: 20px; cursor: pointer; }
.nearby-ubike-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.nearby-ubike-title { margin: 0; color: #222; font-size: 19px; font-weight: 900; }.nearby-ubike-subtitle { margin: 4px 0 0; color: #7b8490; font-size: 11px; line-height: 1.5; }
.nearby-transport-panel { display: none; }.nearby-transport-panel.active { display: block; }
.nearby-transport-status,
.nearby-ubike-muted { margin-bottom: 9px; padding: 10px 11px; border: 1px solid #edf0f2; border-radius: 12px; background: #f8fafb; color: #6f7884; font-size: 12px; line-height: 1.6; font-weight: 750; }
.nearby-ubike-content { display: flex; flex-direction: column; gap: 8px; }
.nearby-ubike-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid #eceff2; border-radius: 13px; background: #fff; }
.nearby-ubike-main { min-width: 0; flex: 1; }.nearby-ubike-topline,.nearby-ubike-name-row,.nearby-transport-meta-row,.nearby-transport-count-row,.nearby-ubike-pill-row { display: flex; align-items: center; gap: 7px; }
.nearby-ubike-topline,.nearby-transport-meta-row,.nearby-transport-count-row { justify-content: space-between; }
.nearby-ubike-index { width: 23px; height: 23px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 7px; background: #f1f3f5; color: #5c6570; font-size: 10px; font-weight: 900; }
.nearby-ubike-name { min-width: 0; overflow: hidden; color: #222; font-size: 13px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.nearby-ubike-distance,.nearby-parking-time { margin-top: 3px; color: #9aa2ab; font-size: 10.5px; font-weight: 750; }
.nearby-ubike-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.nearby-ubike-rent,.nearby-ubike-return,.nearby-parking-count { padding: 5px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 850; white-space: nowrap; }
.nearby-ubike-rent { background: #ecfdf3; color: #15803d; }.nearby-ubike-rent.empty { background: #f5f6f7; color: #6b7280; }.nearby-ubike-return { background: #eff6ff; color: #1d4ed8; }
.nearby-parking-count { background: #eef2ff; color: #4338ca; }.nearby-parking-count.is-realtime { background: #ecfdf3; color: #15803d; }.nearby-parking-count.is-reference { border: 1px solid #e5e7eb; background: #f8fafc; color: #64748b; }.nearby-parking-count.is-full { background: #fef2f2; color: #b91c1c; }
.nearby-ubike-nav { display: inline-flex; align-items: center; justify-content: center; padding: 5px 9px; border: 1px solid #fed7aa; border-radius: 999px; background: #fff; color: #ea580c; font-size: 10.5px; font-weight: 850; text-decoration: none; }
.nearby-parking-fare { margin-top: 7px; overflow: hidden; border: 1px solid #eceff2; border-radius: 10px; background: #f8fafb; }.nearby-parking-fare summary { padding: 7px 9px; list-style: none; color: #59636f; font-size: 10.5px; font-weight: 850; cursor: pointer; }.nearby-parking-fare summary::-webkit-details-marker { display:none; }.nearby-parking-fare-body { padding: 0 9px 8px; color: #707985; font-size: 10.5px; line-height: 1.6; }
.nearby-parking-extra-hidden,.nearby-ubike-extra-hidden { display: none; }.nearby-parking-more-wrap { display:flex; justify-content:center; padding:9px 0 1px; }.nearby-parking-more-btn { min-height:34px; padding:0 12px; border:1px solid #e2e5e8; border-radius:999px; background:#fff; color:#4b5563; font-size:11px; font-weight:850; cursor:pointer; }
.nearby-transport-divider { height:1px; margin:12px 0; background:#eef0f2; }.nearby-transport-section { margin-top:12px; }.nearby-transport-section-title { margin:0; color:#222; font-size:13px; font-weight:900; }.nearby-transport-section-subtitle { margin-top:2px; color:#7d8590; font-size:10.5px; line-height:1.5; }

/* Reserve space on our wrapper, not on Google's responsive INS/iframe.
   A minimum slot height is also a sizing input to AdSense (previously 250px).
   Do not force its position/width or clip a creative that expands after load. */
.mb-metro-feed-ad { grid-column:1/-1; width:100%; min-width:0; min-height:286px; height:auto; max-height:none; display:block; padding:12px 0; overflow:visible; align-self:start; background:transparent; }
.mb-metro-feed-ad__label { display:block; margin-bottom:7px; color:#9ca3af; font-size:10px; text-align:center; letter-spacing:.08em; }
.mb-metro-feed-ad__slot { display:block; }

/* =================
   RESPONSIVE
   ================= */
@media (min-width: 901px) {
    body.mb-metro-v2 { padding-bottom: 0; }
    .bottom-nav { display: none; }
    #btn-top { bottom: 26px; }
}

@media (max-width: 1220px) and (min-width: 901px) {
    .mb-metro-v2__desktop-nav-link { padding-left:7px; padding-right:7px; font-size:11.2px; }
    .mb-metro-v2__desktop-nav-link .ico { display:none; }
    .mb-metro-v2__profile-link span { display:none; }
    .mb-metro-v2__profile-link { width:40px; padding:0; }
}

@media (max-width: 1080px) {
    .finder-block-station .station-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .feed-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
    .mb-metro-v2__desktop-nav { display:none; }
    .mb-metro-v2__top-actions { margin-left:auto; padding-left:0; border-left:0; }
    .mb-metro-v2__profile-link { display:none; }
    .mb-metro-v2__dev-banner { padding-left: 12px; padding-right: 12px; }
    .search-panel { padding: 26px 14px 24px; background:#f5f4f1; }
    .finder-intro { display:block; margin-bottom:16px; padding:1px 2px 17px 14px; }
    .finder-intro::before { top:1px; bottom:19px; width:3px; }
    .finder-heading { font-size:24px; line-height:1.24; letter-spacing:-.025em; }
    .finder-intro-text { margin-top:8px; font-size:13px; line-height:1.65; }
    .mb-metro-v2__country-context { margin-top:13px; }
    .finder-nearby-button { display: none !important; }

    /* Mobile keeps the desktop page rhythm: each decision becomes a clear card,
       instead of flattening every control onto one continuous white page. */
    .finder-grid { display:block; }
    .finder-block-route { padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
    .finder-block-route .finder-field {
        padding:17px 16px;
        border:1px solid var(--mb-border);
        border-radius:16px;
        background:#fff;
        box-shadow:0 5px 16px rgba(38,32,28,.045);
    }
    .finder-block-route .finder-field + .finder-field {
        margin-top:13px;
        padding-top:17px;
        border-top:1px solid var(--mb-border);
    }
    .finder-block-station {
        margin-top:13px;
        padding:17px 16px;
        border:1px solid var(--mb-border);
        border-radius:16px;
        background:#fff;
        box-shadow:0 5px 16px rgba(38,32,28,.045);
    }
    .finder-block-category {
        margin-top:13px;
        padding:18px 16px;
        border:1px solid var(--mb-border);
        border-radius:16px;
        background:#fff;
        box-shadow:0 5px 16px rgba(38,32,28,.045);
    }
    .finder-block .step-label { margin-bottom:11px; }
    .finder-block .step-row { margin-bottom:11px; }
    #regionWrapper { display:flex; overflow-x:auto; padding-bottom:2px; }
    .pill-region { flex:0 0 auto; min-width:74px; }
    #lineWrapper { display:flex; overflow-x:auto; gap:8px; padding-bottom:2px; }
    #lineWrapper .tag-line { flex:0 0 auto; min-width:112px; min-height:42px; padding:8px 14px; }
    .finder-block-station .station-grid { display:flex; flex-wrap:nowrap; gap:8px; overflow-x:auto; padding:2px 0 4px; scrollbar-width:none; }
    .finder-block-station .station-grid::-webkit-scrollbar { display:none; }
    .pill-station { flex:0 0 auto; width:auto; min-width:116px; max-width:210px; min-height:46px; }
    .station-name { max-width:150px; }
    .mb-metro-v2__section-heading { margin-bottom:15px; padding-bottom:13px; }
    .mb-metro-v2__section-heading h2 { font-size:19px; }
    .food-filter-desktop { display:none; }.food-filter-mobile { display:block; }
    .sort-bar { width:calc(100% - 28px); margin-top:16px; padding:11px 12px; flex-direction:column; align-items:stretch; }
    .result-count-row { justify-content:space-between; }
    .sort-bar-top { width:100%; justify-content:space-between; }
    .sort-controls { margin-left:auto; }
    .feed-grid { grid-template-columns:1fr; gap:16px; padding:18px 14px 82px; }
    .food-card { border-radius:15px; }
    .card-title { min-height:48px; }
    .nearby-ubike-sheet { padding-left:14px; padding-right:14px; }
    .nearby-ubike-item { align-items:flex-start; flex-direction:column; gap:8px; }.nearby-ubike-side { width:100%; align-items:flex-start; }.nearby-ubike-name { white-space:normal; }
}

@media (max-width: 560px) {
    body.mb-metro-v2 .site-top-inner.container { min-height:58px; }
    .mb-metro-v2__search-button { width:38px; height:38px; }
    .search-overlay-box { padding:12px; }
    .search-overlay-inner { gap:6px; }
    .search-overlay-box button { padding:0 12px; font-size:12px; }
    .finder-heading { font-size:23px; letter-spacing:-.025em; }
    .line-step-actions { gap:5px; }.line-shorts-link,.line-info-toggle { padding:0 8px; font-size:9.5px; }
    .pill-type { padding-left:11px; padding-right:11px; }
    .filter-toggle { flex:1; }.ft-option { flex:1; justify-content:center; padding:0 8px; }
    .sort-bar select { max-width:120px; }
    .btn-dice-small { padding:0 10px; }
}

/* =========================================================
   Metro V2 Phase 4 refinement
   - fix escaped favorite button
   - mobile result controls use two rows
   - restore softer production-like mobile pill controls
   ========================================================= */

/* JS cards place the favorite button as an absolute child of .food-card.
   Keep the containing block on the card so it can never escape to page top. */
.food-card {
    position: relative;
}

@media (max-width: 900px) {
    /* Softer controls, closer to the current production Metro feel,
       while keeping the new V2 card-section rhythm. */
    .pill-region {
        min-height: 42px;
        padding: 8px 17px;
        border: 1px solid #e7e2de;
        border-radius: 15px;
        background: #f7f6f4;
        color: #625c57;
        box-shadow: none;
    }
    .pill-region.active {
        border-color: #302b27;
        background: #302b27;
        color: #fff;
        box-shadow: 0 5px 13px rgba(47,42,38,.10);
    }

    #lineWrapper {
        gap: 9px;
    }
    #lineWrapper .tag-line {
        min-width: 116px;
        min-height: 42px;
        padding: 8px 17px;
        border-radius: 999px;
        box-shadow: none;
        font-size: 12px;
        font-weight: 850;
    }
    #lineWrapper .tag-line.inactive {
        opacity: .68;
        filter: saturate(.78);
    }

    .pill-station {
        min-width: 116px;
        min-height: 42px;
        padding: 8px 15px;
        border: 1px solid #ece8e5;
        border-radius: 999px;
        background: #f3f3f4;
        color: #57534f;
        box-shadow: none;
    }
    .pill-station:hover {
        transform: none;
        background: #fff;
    }
    .pill-station.active {
        border-color: var(--mrt-theme);
        background: var(--mrt-theme);
        color: #fff;
        box-shadow: 0 5px 13px rgba(15,23,42,.09);
    }

    /* Result tools: count on top, then status row, then action/sort row. */
    .sort-bar {
        padding: 13px 14px 14px;
        gap: 11px;
        border-radius: 18px;
    }
    .sort-bar-top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }
    .filter-toggle {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3px;
        padding: 4px;
        border-radius: 14px;
        background: #f1f1f2;
    }
    .ft-option {
        width: 100%;
        min-height: 38px;
        justify-content: center;
        padding: 0 8px;
        border-radius: 11px;
        white-space: nowrap;
        font-size: 12px;
    }
    .ft-option.active {
        background: #fff;
        box-shadow: 0 2px 8px rgba(35,30,27,.07);
    }
    .sort-controls {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
        gap: 9px;
        margin-left: 0;
    }
    .btn-dice-small,
    .sort-bar select {
        width: 100%;
        max-width: none;
        min-height: 40px;
        border-radius: 13px;
    }
    .btn-dice-small {
        padding: 0 12px;
        box-shadow: none;
    }
    .sort-bar select {
        padding-left: 13px;
        background-color: #fff;
    }
}

@media (max-width: 560px) {
    .filter-toggle { flex: none; }
    .ft-option { flex: none; padding: 0 6px; }
    .sort-bar select { max-width: none; }
    .btn-dice-small { padding: 0 10px; }
}


/* =========================================================
   Metro V2 Phase 5 — Index V2 UI alignment / visual refinement
   - Shared shell proportions aligned with Index V2 UI Freeze
   - Metro finder keeps its own route/station identity
   - Shorts component intentionally unchanged
   ========================================================= */

/* Compact preview marker so the development notice no longer distorts page rhythm. */
.mb-metro-v2__dev-banner{
    position:fixed;top:72px;right:12px;z-index:1850;min-height:0;width:auto;max-width:none;
    padding:5px 8px;border:1px solid rgba(255,255,255,.12);border-radius:999px;
    background:rgba(31,41,55,.88);box-shadow:0 5px 16px rgba(15,23,42,.08);
    font-size:0;line-height:1;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)
}
.mb-metro-v2__dev-banner b{font-size:8px;line-height:1.2;letter-spacing:.10em;color:#ffd0bf}
.mb-metro-v2__dev-warning{margin-left:5px;font-size:7px;line-height:1.2;color:#fde68a}

/* Header: same visual family as Index V2. */
body.mb-metro-v2 .site-top{
    position:sticky;top:0;z-index:1900;border-bottom:1px solid #e9e6e3;
    background:rgba(255,255,255,.97);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
    box-shadow:0 3px 16px rgba(15,23,42,.035)
}
body.mb-metro-v2 .site-top-inner.container{
    width:min(1220px,calc(100% - 40px));min-height:64px;margin:0 auto;display:flex;align-items:center;gap:18px
}
.mb-metro-v2__desktop-nav{margin-left:auto;gap:3px}
.mb-metro-v2__desktop-nav-link{
    min-height:40px;gap:7px;padding:0 11px;border:0;border-radius:10px;background:transparent;
    color:#4f4a46;font-size:12px!important;font-weight:820
}
.mb-metro-v2__desktop-nav-link:hover{background:#f8f6f4;color:#222;border-color:transparent}
.mb-metro-v2__desktop-nav-link.active{background:#fff4ef;color:var(--mb-orange);border-color:transparent}
.mb-metro-v2__top-actions{margin-left:0;padding-left:0;border-left:0;gap:7px}
.mb-metro-v2__header-action,.mb-metro-v2__search-button,.mb-metro-v2__country-trigger{
    min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;
    border:1px solid #e4e0dc;background:#fff;color:#4d4844;text-decoration:none;cursor:pointer
}
.mb-metro-v2__header-action,.mb-metro-v2__search-button{border-radius:11px}
.mb-metro-v2__search-button,.mb-metro-v2__profile-link{width:40px;padding:0}
.mb-metro-v2__profile-link span{display:none!important}
.mb-metro-v2__header-action:hover,.mb-metro-v2__search-button:hover,.mb-metro-v2__country-trigger:hover{
    border-color:#ffc8b5;background:#fffaf8;color:var(--mb-orange)
}
.mb-metro-v2__country-switcher{position:relative}
.mb-metro-v2__country-trigger{padding:0 11px;border-radius:11px;font-size:12px;font-weight:850}
.mb-metro-v2__country-trigger>svg:first-child{width:15px;height:15px}.mb-metro-v2__country-trigger .chevron{width:12px;height:12px}
.mb-metro-v2__country-trigger svg,.mb-metro-v2__country-menu svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mb-metro-v2__country-menu{
    position:absolute;top:calc(100% + 8px);right:0;z-index:2200;width:min(300px,calc(100vw - 24px));
    padding:10px;border:1px solid #e6e1dd;border-radius:16px;background:#fff;box-shadow:0 18px 42px rgba(35,30,27,.12)
}
.mb-metro-v2__country-menu[hidden]{display:none!important}
.mb-metro-v2__country-menu-title{padding:5px 7px 8px;color:#968e88;font-size:10px;font-weight:900;letter-spacing:.12em}
.mb-metro-v2__country-menu button,.mb-metro-v2__country-menu a{width:100%;min-height:42px;display:flex;align-items:center;gap:9px;padding:0 10px;border:0;border-radius:11px;background:#faf8f6;color:#3d3936;font-size:13px;font-weight:850;text-align:left}
.mb-metro-v2__country-menu button span,.mb-metro-v2__country-menu a span{color:var(--mb-orange);font-size:10px;letter-spacing:.1em}.mb-metro-v2__country-menu button b{margin-left:auto;color:var(--mb-orange)}
.mb-metro-v2__country-menu p{margin:9px 7px 5px;color:#8c847e;font-size:10.5px;line-height:1.65}
.mb-metro-v2__country-menu button.coming-soon{cursor:default;background:#f5f4f2;color:#77716d}
.mb-metro-v2__country-menu button.coming-soon:disabled{opacity:1}
.mb-metro-v2__country-menu button.coming-soon em{margin-left:auto;padding:4px 7px;border-radius:999px;background:#ece9e6;color:#8a837d;font-size:9.5px;font-style:normal;font-weight:850;letter-spacing:.02em;white-space:nowrap}
body.mb-metro-v2 .language-trigger{
    min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;
    border:1px solid #e4e0dc;border-radius:999px;background:#fff;color:#4d4844;font-size:12px;font-weight:800;line-height:1
}
body.mb-metro-v2 .language-trigger:hover{border-color:#ffc8b5;color:var(--mb-orange);background:#fffaf8}

/* Finder hero: open editorial intro, no duplicate Country / Nearby CTA. */
.search-panel{padding-top:38px;background:#f5f5f3}
.finder-intro{display:block;margin-bottom:26px;padding:3px 0 22px;border-bottom:1px solid #e9e4e0}
.finder-intro::before{display:none!important}
.finder-intro-copy{max-width:760px}
.finder-kicker{margin-bottom:7px;color:var(--mb-orange);font-size:10px;letter-spacing:.17em}
.finder-heading{font-size:clamp(27px,2.35vw,31px);font-weight:900}
.finder-intro-text{margin-top:9px;color:#77716d}
.mb-metro-v2__country-context,.finder-nearby-button{display:none!important}

/* Section identity follows Index V2: orange English kicker + dark localized title. */
.step-kicker{color:var(--mb-orange)!important;font-size:9.5px;letter-spacing:.15em}
.step-label{color:#34302d;font-size:14px;font-weight:850}
.mb-metro-v2__section-heading{border-bottom:1px solid #ece7e3}
.mb-metro-v2__section-heading .step-kicker{color:var(--mb-orange)!important}

/* Shorts is a shared MetroBites component: no Phase 5 override by design. */

/* Results need a clear editorial transition from Finder to store cards. */
.mb-metro-v2__results-intro{
    width:min(1180px,calc(100% - 40px));margin:26px auto 0;padding:0 2px 4px
}
.mb-metro-v2__results-kicker{display:block;margin-bottom:5px;color:var(--mb-orange);font-size:10px;font-weight:900;letter-spacing:.18em}
.mb-metro-v2__results-intro h2{margin:0;color:#24211f;font-size:24px;line-height:1.25;font-weight:900;letter-spacing:-.025em}
.sort-bar{margin-top:14px}

/* Result cards: fewer platform-like metrics, softer hierarchy. */
.card-distance-row{border-top-color:#eeeae6}
.card-feature-row{gap:5px}

/* Bottom nav: exact Index / Store V2 typography rhythm. */
.mb-metro-v2__bottom-nav{box-shadow:none!important;padding-bottom:max(0px,env(safe-area-inset-bottom))!important}
.mb-metro-v2__bottom-nav a,.mb-metro-v2__bottom-nav .nav-link{
    min-height:0!important;padding:8px 2px 7px!important;border:0!important;border-radius:0!important;background:#fff!important;
    color:#555a61!important;font-family:inherit!important;font-size:10px!important;font-weight:400!important;line-height:1.2!important;
    letter-spacing:0!important;text-align:center!important;appearance:none;-webkit-appearance:none
}
.mb-metro-v2__bottom-nav .nav-ico{width:18px!important;height:18px!important;display:block!important;margin:0 auto 2px!important}
.mb-metro-v2__bottom-nav .nav-label{display:block;font-family:inherit;font-size:10px;font-weight:400;line-height:1.2;white-space:nowrap}
.mb-metro-v2__bottom-nav .active,.mb-metro-v2__bottom-nav .active-nearby,
.mb-metro-v2__bottom-nav .active .nav-label,.mb-metro-v2__bottom-nav .active-nearby .nav-label{color:var(--mb-orange)!important}

@media(max-width:900px){
    body.mb-metro-v2 .site-top-inner.container{width:calc(100% - 24px);min-height:57px;gap:8px}
    .mb-metro-v2__top-actions{margin-left:auto}
    .mb-metro-v2__country-trigger{min-height:37px;padding:0 9px}.mb-metro-v2__country-trigger>svg:first-child{display:none}
    body.mb-metro-v2 .language-trigger{min-height:38px;padding:0 10px;border-radius:999px;gap:6px;font-size:11px}
    .mb-metro-v2__profile-link{display:none}
    .mb-metro-v2__dev-banner{top:64px;right:8px}
    .search-panel{padding-top:24px}
    .finder-intro{margin-bottom:16px;padding:1px 2px 15px}
    .finder-heading{font-size:24px}
    .mb-metro-v2__results-intro{width:calc(100% - 28px);margin-top:20px;padding-left:0;padding-right:0}
    .mb-metro-v2__results-intro h2{font-size:21px}
}
@media(max-width:900px){
    .mb-metro-v2__country-menu{
        position:fixed;top:64px;right:max(12px,env(safe-area-inset-right));left:max(12px,env(safe-area-inset-left));
        width:auto;max-width:360px;max-height:calc(100dvh - 78px);margin-left:auto;overflow:auto;overscroll-behavior:contain
    }
}

@media(max-width:560px){
    body.mb-metro-v2 .site-top-inner.container{width:calc(100% - 18px)}
    .mb-metro-v2__country-trigger{padding-left:8px;padding-right:8px}
    body.mb-metro-v2 .language-trigger{padding-left:8px;padding-right:8px}
}

/* =========================================================
   Metro V2 Phase 5a — desktop station pill tuning
   Keep mobile behavior unchanged; make desktop station choices
   lower, softer and more rounded without turning them into oversized cards.
   ========================================================= */
@media (min-width: 901px) {
    .finder-block-station .pill-station {
        min-height: 46px;
        padding: 7px 11px;
        border-radius: 15px;
    }

    .finder-block-station .mrt-code {
        padding-top: 2px;
        padding-bottom: 2px;
        border-radius: 7px;
    }
}

/* Phase 2A shared Country Selector supports future country links. */
.mb-metro-v2__country-menu a{text-decoration:none}

/* =========================================================
   Metro V2 Phase 2C-1b.1 — two-line bilingual station pills
   Station code stays fixed on the left.
   Verified station identity uses one factual name per line.
   ========================================================= */
.station-name--two-line{
    display:flex;
    min-width:0;
    flex:1 1 auto;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:2px;
    overflow:hidden;
    white-space:normal;
    line-height:1.08;
}
.station-name--two-line .station-name-primary,
.station-name--two-line .station-name-secondary{
    display:block;
    width:100%;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.station-name--two-line .station-name-primary{
    font-size:11.5px;
    line-height:1.15;
    font-weight:850;
}
.station-name--two-line .station-name-secondary{
    font-size:10px;
    line-height:1.1;
    font-weight:700;
    opacity:.62;
}
.pill-station.active .station-name--two-line .station-name-secondary{
    opacity:.82;
}
.station-name--single{
    display:block;
    min-width:0;
    flex:1 1 auto;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

@media (min-width:901px){
    .finder-block-station .pill-station{
        min-height:56px;
        padding-top:7px;
        padding-bottom:7px;
    }
}

@media (max-width:900px){
    .pill-station{
        min-height:52px;
    }
    .station-name--two-line{
        max-width:150px;
    }
}

/* =========================================================
   Metro V2 Phase 2C-1d — two-line bilingual MRT LINE pills
   Factual identity only: native + official English.
   Search/content aliases remain separate.
   ========================================================= */
#lineWrapper .tag-line{
    justify-content:flex-start;
    gap:8px;
    text-align:left;
    min-height:56px;
    padding:7px 10px;
}
#lineWrapper .tag-line .line-code{
    flex:0 0 auto;
    min-width:30px;
    padding:4px 6px;
    border-radius:8px;
    background:rgba(255,255,255,.18);
    text-align:center;
    font-size:10px;
    line-height:1;
    font-weight:900;
    letter-spacing:.01em;
}
#lineWrapper .tag-line .line-name--two-line{
    display:flex;
    min-width:0;
    flex:1 1 auto;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:2px;
    overflow:hidden;
    white-space:normal;
    line-height:1.08;
}
#lineWrapper .tag-line .line-name-primary,
#lineWrapper .tag-line .line-name-secondary{
    display:block;
    width:100%;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
#lineWrapper .tag-line .line-name-primary{
    font-size:11.5px;
    line-height:1.15;
    font-weight:900;
}
#lineWrapper .tag-line .line-name-secondary{
    font-size:10px;
    line-height:1.1;
    font-weight:700;
    opacity:.74;
}
#lineWrapper .tag-line.inactive .line-name-secondary{
    opacity:.82;
}

@media (max-width:900px){
    #lineWrapper .tag-line{
        min-width:150px;
        min-height:54px;
        padding:7px 11px;
    }
}

@media (max-width:560px){
    #lineWrapper .tag-line{
        min-width:154px;
        min-height:54px;
        padding:7px 11px;
        border-radius:16px;
    }
    #lineWrapper .tag-line .line-name--two-line{
        max-width:118px;
    }
}

