
/* Hotfix v1.1: author display rules can override the native hidden attribute.
   Keep loading, empty and results states mutually exclusive. */
.bt-fuel-app [hidden] {
    display: none !important;
}

:root {
    --bt-orange: #f25e18;
    --bt-orange-deep: #e94f0d;
    --bt-orange-soft: #fff1ea;
    --bt-black: #101010;
    --bt-ink: #1d1d1f;
    --bt-gray: #6e6e73;
    --bt-muted: #8a8a91;
    --bt-border: #e8e8ed;
    --bt-light: #f5f5f7;
    --bt-white: #ffffff;
    --bt-green: #159447;
    --bt-shadow: 0 18px 48px rgba(0, 0, 0, .075);
}

* { box-sizing: border-box; }
html { background: #f5f4f4; }
body.bt-fuel-body {
    margin: 0;
    background:
        radial-gradient(circle at 15% 6%, rgba(242,94,24,.095), transparent 26%),
        radial-gradient(circle at 90% 35%, rgba(0,0,0,.035), transparent 24%),
        #f7f7f8;
    color: var(--bt-ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
}

.bt-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.bt-fuel-app {
    width: min(980px, calc(100% - 24px));
    margin: 0 auto;
    padding: 0 0 52px;
}

.bt-fuel-app .bt-topbar {
    width: 100%;
    max-width: none;
}

.bt-fuel-hero,
.bt-station-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 85% 8%, rgba(255,255,255,.09), transparent 30%),
        linear-gradient(145deg, #171717 0%, #0e0e0f 100%);
    border-radius: 38px;
    box-shadow: 0 28px 70px rgba(0,0,0,.16);
}

.bt-fuel-hero::after,
.bt-station-hero::after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: -100px;
    bottom: -135px;
    border-radius: 50%;
    background: rgba(242,94,24,.14);
    pointer-events: none;
}

.bt-fuel-hero {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 28px;
    align-items: start;
    padding: 42px;
    margin: 20px 0 24px;
}

.bt-fuel-hero-icon {
    width: 104px;
    height: 104px;
    border-radius: 32px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.09);
    color: #ff9a6a;
    font-size: 42px;
}

.bt-fuel-hero-copy { min-width: 0; }
.bt-fuel-hero-copy > span {
    display: block;
    color: #ff9a6a;
    font-size: 18px;
    font-weight: 820;
    letter-spacing: -.02em;
    margin: 2px 0 14px;
}
.bt-fuel-hero h1 {
    margin: 0;
    font-size: clamp(39px, 7vw, 68px);
    line-height: .96;
    letter-spacing: -.065em;
    font-weight: 820;
}
.bt-fuel-hero p {
    max-width: 620px;
    margin: 22px 0 26px;
    color: rgba(255,255,255,.74);
    font-size: clamp(17px, 2.3vw, 22px);
    line-height: 1.5;
    font-weight: 520;
}

.bt-fuel-location-pill {
    min-height: 54px;
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    background: rgba(255,255,255,.095);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 0 18px;
    cursor: pointer;
    font: inherit;
    font-weight: 760;
    max-width: 100%;
}
.bt-fuel-location-pill i { color: #ff8a52; }
.bt-fuel-location-pill span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.bt-fuel-location-pill small {
    color: #ff9a6a;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.bt-fuel-location-pill.is-loading i { animation: btFuelSpin .8s linear infinite; }

.bt-fuel-demo-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 17px;
    margin: -8px 0 18px;
    background: #fff6d9;
    border: 1px solid #f2d675;
    border-radius: 18px;
    color: #6b4b00;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 650;
}
.bt-fuel-demo-banner i { margin-top: 2px; }

.bt-fuel-controls {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    background: rgba(255,255,255,.95);
    border: 1px solid var(--bt-border);
    border-radius: 30px;
    box-shadow: var(--bt-shadow);
    margin-bottom: 34px;
}

.bt-fuel-sort-group {
    display: flex;
    gap: 10px;
    min-width: 0;
}

.bt-fuel-chip,
.bt-fuel-type-control {
    min-height: 50px;
    border: 1px solid var(--bt-border);
    background: #fff;
    color: var(--bt-ink);
    border-radius: 17px;
    font: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 760;
}
.bt-fuel-chip { cursor: pointer; }
.bt-fuel-chip i { color: #59606b; }
.bt-fuel-chip.is-active {
    background: var(--bt-orange-soft);
    border-color: rgba(242,94,24,.32);
    color: var(--bt-orange-deep);
    box-shadow: inset 0 0 0 1px rgba(242,94,24,.08);
}
.bt-fuel-chip.is-active i { color: var(--bt-orange); }
.bt-fuel-type-control { flex: 0 0 auto; }
.bt-fuel-type-control i { color: var(--bt-orange); }
.bt-fuel-type-control select {
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 760;
    cursor: pointer;
}

.bt-fuel-results-section { margin-top: 4px; }
.bt-fuel-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 4px 18px;
}
.bt-fuel-section-head span {
    display: block;
    color: var(--bt-orange);
    text-transform: uppercase;
    letter-spacing: .09em;
    font-size: 11px;
    font-weight: 830;
    margin-bottom: 5px;
}
.bt-fuel-section-head h2 {
    margin: 0;
    font-size: clamp(29px, 4vw, 43px);
    line-height: 1;
    letter-spacing: -.055em;
}
.bt-fuel-section-head > strong {
    color: var(--bt-gray);
    font-size: 14px;
    white-space: nowrap;
}

.bt-fuel-status,
.bt-fuel-empty {
    min-height: 260px;
    border: 1px solid var(--bt-border);
    border-radius: 32px;
    background: rgba(255,255,255,.94);
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    padding: 38px 24px;
    box-shadow: var(--bt-shadow);
}
.bt-fuel-status p,
.bt-fuel-empty p { color: var(--bt-gray); margin: 14px auto 0; max-width: 460px; }
.bt-fuel-status.is-error p { color: #a52a2a; }
.bt-fuel-spinner {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 4px solid #eee;
    border-top-color: var(--bt-orange);
    animation: btFuelSpin .75s linear infinite;
}
@keyframes btFuelSpin { to { transform: rotate(360deg); } }

.bt-fuel-empty > div {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: var(--bt-orange-soft);
    color: var(--bt-orange);
    font-size: 25px;
}
.bt-fuel-empty h3 { margin: 16px 0 0; font-size: 23px; letter-spacing: -.03em; }
.bt-fuel-empty button {
    margin-top: 19px;
    border: 0;
    border-radius: 999px;
    background: var(--bt-black);
    color: #fff;
    padding: 12px 18px;
    font: inherit;
    font-weight: 760;
    cursor: pointer;
}

.bt-fuel-list {
    display: grid;
    gap: 14px;
}

.bt-fuel-station-card {
    position: relative;
    min-height: 142px;
    background: rgba(255,255,255,.97);
    border: 1px solid var(--bt-border);
    border-radius: 30px;
    box-shadow: 0 13px 36px rgba(0,0,0,.055);
    text-decoration: none;
    color: var(--bt-ink);
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) minmax(146px, auto);
    gap: 20px;
    align-items: center;
    padding: 22px 25px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.bt-fuel-station-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(0,0,0,.08);
}
.bt-fuel-station-logo {
    width: 82px;
    height: 82px;
    border-radius: 23px;
    object-fit: cover;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
}
.bt-fuel-station-main { min-width: 0; }
.bt-fuel-station-main h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -.045em;
}
.bt-fuel-station-main p {
    margin: 8px 0 0;
    color: var(--bt-gray);
    font-size: 14px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bt-fuel-station-distance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #41464e;
    font-size: 13px;
    font-weight: 730;
}
.bt-fuel-station-distance i { color: var(--bt-orange); }

.bt-fuel-station-price {
    text-align: right;
    min-width: 0;
}
.bt-fuel-station-price strong {
    display: block;
    font-size: clamp(35px, 5vw, 52px);
    line-height: 1;
    letter-spacing: -.055em;
    color: #0a0a0a;
}
.bt-fuel-station-price > span {
    display: block;
    color: var(--bt-gray);
    font-size: 12px;
    margin-top: 8px;
}
.bt-fuel-station-price small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--bt-orange);
    font-size: 13px;
    font-weight: 790;
    margin-top: 10px;
}
.bt-fuel-no-price strong { font-size: 20px; color: var(--bt-gray); letter-spacing: -.025em; }

.bt-google-attribution {
    margin: 22px 6px 0;
    padding: 16px 18px;
    border-top: 1px solid var(--bt-border);
    color: var(--bt-gray);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
    font-size: 12px;
    line-height: 1.5;
}
.bt-google-attribution strong { color: #3c4043; font-weight: 760; }
.bt-fuel-distance-note { flex-basis: 100%; font-size: 11px; }

/* Station details */
.bt-fuel-detail-loading { margin-top: 30px; }
.bt-station-hero {
    margin: 20px 0 24px;
    padding: 38px;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 30px;
}
.bt-station-hero-logo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 34px;
    background: #fff;
    border: 1px solid rgba(255,255,255,.15);
}
.bt-station-hero-copy { align-self: center; min-width: 0; }
.bt-station-hero h1 {
    margin: 0;
    font-size: clamp(38px, 7vw, 58px);
    line-height: 1;
    letter-spacing: -.06em;
}
.bt-station-hero-copy > p {
    margin: 13px 0 17px;
    color: rgba(255,255,255,.72);
    font-size: 17px;
}
.bt-station-hero-copy > a {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,.92);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
}
.bt-station-hero-copy > a::before {
    content: "\f3c5";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ff9666;
    margin-right: 9px;
}
.bt-station-hero-copy > small {
    display: block;
    color: rgba(255,255,255,.65);
    margin-top: 10px;
    font-size: 14px;
}
.bt-station-status-row {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: rgba(255,255,255,.7);
    font-size: 14px;
}
.bt-station-status-row span { display: inline-flex; align-items: center; gap: 8px; }
.bt-station-status-row .is-open { color: #43d176; }
.bt-station-status-row .is-closed { color: #ff8b8b; }

.bt-fuel-price-card,
.bt-station-about {
    background: rgba(255,255,255,.97);
    border: 1px solid var(--bt-border);
    border-radius: 32px;
    box-shadow: var(--bt-shadow);
    padding: 28px;
    margin-bottom: 22px;
}
.bt-fuel-price-card h2,
.bt-station-about h2 {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 18px;
    font-size: 22px;
    letter-spacing: -.035em;
}
.bt-fuel-price-card h2 i { color: var(--bt-orange); }
.bt-station-price-list { border-top: 1px solid var(--bt-border); }
.bt-station-price-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    min-height: 70px;
    padding: 10px 4px;
    border-bottom: 1px solid var(--bt-border);
}
.bt-station-price-row span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 620;
}
.bt-station-price-row span i { color: #202124; }
.bt-station-price-row strong {
    font-size: 29px;
    letter-spacing: -.045em;
}
.bt-station-price-row small {
    display: block;
    grid-column: 1 / -1;
    margin: -10px 0 7px 31px;
    color: var(--bt-gray);
    font-size: 11px;
}

.bt-station-rewards {
    margin: 22px 0;
    min-height: 98px;
    border: 1px solid rgba(242,94,24,.22);
    border-radius: 24px;
    background: linear-gradient(135deg, #fff7f2, #fffdfb);
    color: var(--bt-ink);
    text-decoration: none;
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 16px;
}
.bt-station-rewards-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--bt-orange);
    font-size: 22px;
}
.bt-station-rewards strong { display: block; color: var(--bt-orange); font-size: 18px; }
.bt-station-rewards small { display: block; color: var(--bt-gray); line-height: 1.4; margin-top: 4px; }

.bt-fuel-primary-action,
.bt-fuel-secondary-action {
    min-height: 62px;
    width: 100%;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 18px;
    text-decoration: none;
    font: inherit;
    font-weight: 810;
    cursor: pointer;
}
.bt-fuel-primary-action {
    border: 0;
    background: linear-gradient(90deg, var(--bt-orange), #ff6d22);
    color: #fff;
    box-shadow: 0 12px 28px rgba(242,94,24,.24);
}
.bt-fuel-primary-action > span:first-child,
.bt-fuel-secondary-action > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-right: auto;
}
.bt-fuel-primary-action > small { margin-left: auto; }
.bt-fuel-secondary-action {
    border: 1px solid var(--bt-border);
    background: #fff;
    color: var(--bt-ink);
    margin-top: 12px;
}
.bt-report-price-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 19px auto 0;
    border: 0;
    background: transparent;
    color: var(--bt-gray);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.bt-station-about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 28px;
}
.bt-station-about-grid > div {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.bt-station-about-grid > div > span {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--bt-orange-soft);
    display: grid;
    place-items: center;
}
.bt-station-about-grid strong,
.bt-station-about-grid a {
    color: var(--bt-ink);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

/* Report modal */
.bt-fuel-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    place-items: end center;
}
.bt-fuel-modal[hidden] { display: none; }
.bt-fuel-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(0,0,0,.58);
    backdrop-filter: blur(5px);
}
.bt-fuel-modal-sheet {
    position: relative;
    z-index: 1;
    width: min(620px, calc(100% - 20px));
    max-height: calc(100vh - 28px);
    overflow: auto;
    background: #fff;
    border-radius: 34px 34px 0 0;
    padding: 28px;
    box-shadow: 0 -22px 70px rgba(0,0,0,.22);
}
.bt-fuel-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: var(--bt-light);
    cursor: pointer;
}
.bt-fuel-modal-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: var(--bt-orange);
    background: var(--bt-orange-soft);
}
.bt-fuel-modal-sheet h2 { margin: 17px 0 8px; font-size: 27px; letter-spacing: -.045em; }
.bt-fuel-modal-sheet > p { color: var(--bt-gray); line-height: 1.5; margin: 0 0 20px; }
.bt-fuel-modal-sheet form { display: grid; gap: 14px; }
.bt-fuel-modal-sheet label { display: grid; gap: 7px; }
.bt-fuel-modal-sheet label > span { font-size: 13px; font-weight: 760; }
.bt-fuel-modal-sheet input,
.bt-fuel-modal-sheet select,
.bt-fuel-modal-sheet textarea {
    width: 100%;
    border: 1px solid #dcdce0;
    border-radius: 15px;
    padding: 13px 14px;
    background: #fff;
    font: inherit;
    outline: 0;
}
.bt-fuel-modal-sheet input:focus,
.bt-fuel-modal-sheet select:focus,
.bt-fuel-modal-sheet textarea:focus { border-color: var(--bt-orange); box-shadow: 0 0 0 3px rgba(242,94,24,.12); }
.bt-report-submit { justify-content: center; margin-top: 4px; }
.bt-report-submit > span:first-child { margin: 0; }
.bt-report-message { min-height: 20px; text-align: center; font-size: 13px; font-weight: 680; }
.bt-report-message.is-success { color: var(--bt-green); }
.bt-report-message.is-error { color: #b42318; }
body.bt-modal-open { overflow: hidden; }

@media (max-width: 720px) {
    .bt-fuel-app { width: min(100% - 20px, 640px); }
    .bt-fuel-app .bt-topbar { margin-top: 12px; }
    .bt-fuel-hero {
        grid-template-columns: 72px 1fr;
        gap: 16px;
        padding: 25px 22px 28px;
        border-radius: 31px;
    }
    .bt-fuel-hero-icon { width: 68px; height: 68px; border-radius: 22px; font-size: 27px; }
    .bt-fuel-hero-copy > span { font-size: 14px; margin-top: 3px; }
    .bt-fuel-hero h1 { font-size: clamp(36px, 10.8vw, 52px); }
    .bt-fuel-hero p { grid-column: 1 / -1; font-size: 16px; margin: 18px 0 20px; }
    .bt-fuel-location-pill { grid-column: 1 / -1; width: 100%; justify-content: flex-start; }
    .bt-fuel-location-pill small { margin-left: auto; }

    .bt-fuel-controls { display: grid; padding: 13px; border-radius: 24px; }
    .bt-fuel-sort-group { overflow-x: auto; scrollbar-width: none; }
    .bt-fuel-sort-group::-webkit-scrollbar { display: none; }
    .bt-fuel-chip { flex: 0 0 auto; min-height: 46px; padding: 0 14px; }
    .bt-fuel-type-control { width: 100%; justify-content: flex-start; min-height: 46px; }
    .bt-fuel-type-control select { flex: 1; }

    .bt-fuel-station-card {
        min-height: 120px;
        grid-template-columns: 68px minmax(0, 1fr) auto;
        gap: 13px;
        padding: 17px 16px;
        border-radius: 24px;
    }
    .bt-fuel-station-logo { width: 66px; height: 66px; border-radius: 19px; }
    .bt-fuel-station-main h3 { font-size: 20px; }
    .bt-fuel-station-main p { font-size: 12px; }
    .bt-fuel-station-distance { font-size: 12px; }
    .bt-fuel-station-price strong { font-size: 31px; }
    .bt-fuel-station-price > span { font-size: 10px; }
    .bt-fuel-station-price small span { display: none; }

    .bt-station-hero {
        grid-template-columns: 90px 1fr;
        gap: 17px;
        padding: 23px;
        border-radius: 31px;
    }
    .bt-station-hero-logo { width: 88px; height: 88px; border-radius: 24px; }
    .bt-station-hero h1 { font-size: 35px; }
    .bt-station-hero-copy > p { font-size: 13px; margin: 8px 0 11px; }
    .bt-station-hero-copy > a { font-size: 13px; }
    .bt-station-status-row { font-size: 12px; }
    .bt-fuel-price-card,
    .bt-station-about { padding: 21px 18px; border-radius: 27px; }
    .bt-station-about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
    .bt-fuel-app { width: min(100% - 14px, 420px); }
    .bt-fuel-hero { margin-top: 12px; }
    .bt-fuel-station-card {
        grid-template-columns: 58px minmax(0, 1fr) 92px;
        gap: 10px;
        padding: 15px 13px;
    }
    .bt-fuel-station-logo { width: 56px; height: 56px; border-radius: 16px; }
    .bt-fuel-station-main h3 { font-size: 18px; }
    .bt-fuel-station-main p { display: none; }
    .bt-fuel-station-distance { margin-top: 7px; }
    .bt-fuel-station-price strong { font-size: 29px; }
    .bt-fuel-station-price small { font-size: 11px; }
    .bt-fuel-section-head { align-items: start; }
    .bt-station-status-row { flex-direction: column; gap: 8px; }
}

.bt-fuel-card-attribution {
    display: block;
    color: #8a8a91;
    font-size: 10px;
    margin-top: 5px;
    line-height: 1.3;
}

.bt-google-attribution a {
    color: #3c4043;
    font-weight: 700;
}
