* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: hidden; }
html { -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #fff;
}

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

.topbar {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.back-btn:hover { background: rgba(255, 255, 255, 0.2); }

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23fff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
    background-size: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 30px 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    min-width: 118px;
    max-width: 48vw;
}

.lang-select:focus-visible {
    outline: 2px solid #e94560;
    outline-offset: 2px;
}

.lang-select option { color: #111; background: #fff; }

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 64px;
}

.crumb {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 16px;
}

.crumb a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.crumb a:hover { color: #fff; }

h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.lead {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 42rem;
    margin-bottom: 24px;
}

.panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    overflow: visible;
}

.country-combo { z-index: 9; }
.dest-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}
.dest-combo { z-index: 40; }
.dest-combo .country-hits { z-index: 41; }
.dest-combo.open-up .country-hits {
    top: auto;
    bottom: calc(100% + 4px);
}

label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="search"],
select,
textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 1rem;
    font-family: inherit;
}

textarea { min-height: 88px; resize: vertical; }

input:focus, select:focus, textarea:focus {
    outline: 2px solid #e94560;
    outline-offset: 1px;
    border-color: #e94560;
}

input[type="range"] { width: 100%; accent-color: #e94560; }

.hint { font-size: 0.78rem; color: rgba(255, 255, 255, 0.45); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}

.btn:hover { filter: brightness(1.08); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.results {
    display: none;
    margin-top: 8px;
}

.results.visible { display: block; }

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.stat {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
}

.stat .k {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

.stat .v {
    font-size: 1.45rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.stat .v.accent { color: #e94560; }

.breakdown {
    list-style: none;
    margin-top: 14px;
}

.breakdown li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
}

.bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 6px;
}

.bar > span {
    display: block;
    height: 100%;
    background: #e94560;
    border-radius: 99px;
}

.note, .disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    margin-top: 12px;
}

.dest-jump {
    margin: 6px 0 0;
    font-size: 0.85rem;
}

.dest-jump a {
    color: #ff8fa3;
    text-decoration: none;
}

.dest-jump a:hover {
    text-decoration: underline;
}

label .dest-jump {
    margin-top: 4px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px;
    color: inherit;
    text-decoration: none;
    min-height: 150px;
}

.card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(233, 69, 96, 0.45);
}

.card .icon { font-size: 1.6rem; line-height: 1; }
.card h3 { font-size: 1.05rem; }
.card p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.62); flex: 1; }
.card .meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.42);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.section-title {
    font-size: 1.15rem;
    margin: 28px 0 12px;
}

.seo-block, .faq, .related, .cta-box, .sources {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.seo-block h2, .faq h2, .related h2, .cta-box h2, .sources h2 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.seo-block p, .faq p { color: rgba(255, 255, 255, 0.72); line-height: 1.6; margin-bottom: 10px; }
.seo-block ul, .faq ul, .sources ul { margin: 0 0 12px 1.2rem; color: rgba(255, 255, 255, 0.72); line-height: 1.55; }
.seo-block a, .faq a, .cta-box a:not(.btn), .sources a { color: #ff8fa3; }

.faq details {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 8px 0 0; }

.check-list { list-style: none; }
.check-group { margin-bottom: 16px; }
.check-group h3 { font-size: 0.95rem; margin-bottom: 8px; color: rgba(255, 255, 255, 0.8); }

.check-list label {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
}

.check-list input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #e94560;
}

.check-list label.is-done span { text-decoration: line-through; color: rgba(255, 255, 255, 0.45); }

.countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    text-align: center;
}

.countdown .v { font-size: clamp(1.4rem, 5vw, 2.4rem); font-variant-numeric: tabular-nums; }
.countdown .k { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; }

.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.compare-card {
    background: rgba(0, 0, 0, 0.22);
    border-radius: 12px;
    padding: 16px;
}

.compare-card.win { border: 1px solid rgba(80, 200, 120, 0.45); }

.cta-box p { color: rgba(255, 255, 255, 0.72); margin-bottom: 12px; line-height: 1.5; }

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.related-grid a {
    display: block;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

.related-grid a:hover { border-color: #e94560; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.search-hits {
    margin-top: 8px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-hits a, .search-hits button {
    display: block;
    width: 100%;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: inherit;
}

.search-hits a:last-child, .search-hits button:last-child { border-bottom: none; }
.search-hits a:hover, .search-hits button:hover { background: rgba(255, 255, 255, 0.08); }

.airport-combo,
.country-combo {
    position: relative;
}
.airport-combo select,
.country-combo select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.airport-hits,
.country-hits {
    position: absolute;
    z-index: 8;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    max-height: 360px;
    overflow: auto;
    margin-top: 0;
    background: #14151c;
}
.airport-hits button.on,
.search-hits button.on { background: rgba(233, 69, 96, 0.22); }

.plug-visual {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.plug-badge {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    place-items: center;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
}

.clock-list { display: grid; gap: 10px; }
.clock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 12px;
}

.expense-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.expense-table th, .expense-table td {
    text-align: left;
    padding: 8px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.warn {
    background: rgba(233, 69, 96, 0.12);
    border: 1px solid rgba(233, 69, 96, 0.35);
    color: #ffd4dc;
    border-radius: 12px;
    padding: 12px;
    margin-top: 12px;
}

.ok {
    background: rgba(80, 200, 120, 0.12);
    border: 1px solid rgba(80, 200, 120, 0.35);
    color: #c8f5d6;
    border-radius: 12px;
    padding: 12px;
    margin-top: 12px;
}

.usage-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.os-hero {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 22px 20px 20px;
    margin-bottom: 18px;
}

.os-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.os-where {
    font-size: 1.08rem;
    font-weight: 600;
    margin: 14px 0 10px;
}

.os-search {
    position: relative;
    max-width: 36rem;
    margin-bottom: 12px;
}

.os-search input[type="search"] {
    width: 100%;
    font-size: 1.08rem;
    padding: 16px 18px;
    border-radius: 14px;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.35);
}

.os-search .search-hits {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 6;
    background: #142044;
    max-height: min(60vh, 420px);
    overflow: auto;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    border-radius: 14px;
}

.os-popular {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 10px;
}

.os-popular a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 7px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.os-popular a:hover {
    border-color: rgba(233, 69, 96, 0.55);
    color: #fff;
    background: rgba(233, 69, 96, 0.12);
}

.os-lead {
    max-width: 28rem;
    margin-bottom: 0;
    font-size: 0.98rem;
}

.os-quick {
    margin-bottom: 8px;
}

.os-all-tools {
    margin-top: 8px;
}

.os-all-tools > summary {
    cursor: pointer;
    list-style: none;
    margin-top: 18px;
}

.os-all-tools > summary::-webkit-details-marker { display: none; }

.os-all-tools > summary::after {
    content: '▾';
    float: right;
    opacity: 0.45;
    font-size: 0.9rem;
}

.os-all-tools:not([open]) > summary::after { content: '▸'; }

#hub .card {
    min-height: 118px;
    padding: 14px 16px;
}

.cards-compact {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.card-compact {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    padding: 12px 14px;
    gap: 10px;
}

.card-compact .icon { font-size: 1.25rem; }
.card-compact h3 { font-size: 0.92rem; line-height: 1.25; }
.card-compact p { display: none; }

.dest-hero {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
}

.dest-flag {
    font-size: 3rem;
    line-height: 1;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.dest-hero-copy h1 { margin-bottom: 6px; }
.dest-lead { margin: 10px 0 0; max-width: 42rem; }

.dest-sub {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
    line-height: 1.4;
}

.dest-search { max-width: 100%; margin-bottom: 16px; }

.dest-city-chips { margin: 0 0 8px; }

.dest-budget-note { margin: 0 0 10px; }

.dest-guide { max-width: 42rem; }
.dest-guide p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}
.dest-guide-links {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}
.dest-guide a { color: #fff; }
.dest-guide a:hover { text-decoration: underline; }

.dest-budget-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.dest-budget-card:hover {
    border-color: rgba(233, 69, 96, 0.45);
}

.os-stats a { color: inherit; }

.os-stats {
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    margin: 4px 0 16px;
}

.os-stats .stat { padding: 12px; }

.dest-stat-sm {
    font-size: 1.02rem !important;
    font-weight: 650;
    overflow-wrap: break-word;
    word-break: normal;
    line-height: 1.25;
}

.cta-primary {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    align-items: center;
    margin-top: 4px;
    border-color: rgba(233, 69, 96, 0.35);
    background: rgba(233, 69, 96, 0.1);
}

.os-brand {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.98rem;
    line-height: 1.45;
    margin: 6px 0 0;
    max-width: 36rem;
}

.connect-brand {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 6px;
}

.cta-connect .connect-brand { grid-column: 1; }

.connect-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 12px;
    grid-column: 1 / -1;
}

.connect-tools a {
    color: #ff8fa3;
    font-size: 0.88rem;
    text-decoration: none;
}

.connect-tools a:hover { text-decoration: underline; }

.cta-primary h2 { margin: 0; grid-column: 1; }
.cta-primary p { margin: 0; grid-column: 1; }
.cta-primary .cta-actions {
    grid-column: 2;
    grid-row: 1 / span 4;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: center;
    min-width: 11rem;
}
.cta-primary .cta-actions .btn { margin: 0; width: 100%; }

.trip-list { display: grid; gap: 10px; }
.trip-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    cursor: pointer;
    font-family: inherit;
}
.trip-card:hover { border-color: rgba(233, 69, 96, 0.45); background: rgba(255, 255, 255, 0.08); }
.trip-card.on { border-color: #e94560; background: rgba(233, 69, 96, 0.12); }
.trip-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.trip-when { font-size: 0.88rem; color: rgba(255, 255, 255, 0.58); }
.trip-status {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}
.trip-status-today { background: rgba(80, 200, 120, 0.2); color: #c8f5d6; }
.trip-status-upcoming { background: rgba(233, 69, 96, 0.18); color: #ffd4dc; }
#tripNotes { min-height: 88px; resize: vertical; }

.os-section { margin-top: 4px; }
.os-section .section-title { margin-top: 22px; }

.search-hits a, .search-hits button { min-height: 44px; padding: 12px 14px; }

.card-partner { position: relative; }
.partner-tag {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
}
.os-nav, .trip-bar { display: none; }

@media (max-width: 640px) {
    .topbar {
        position: sticky;
        top: 0;
        z-index: 20;
        padding: max(10px, env(safe-area-inset-top)) 14px 10px;
        background: linear-gradient(180deg, #1a1a2e 70%, rgba(26, 26, 46, 0.92) 100%);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .back-btn {
        padding: 10px 12px;
        min-height: 44px;
        font-size: 0.9rem;
    }

    .lang-select {
        min-width: 0;
        max-width: 42vw;
        min-height: 44px;
        padding: 8px 28px 8px 10px;
        font-size: 0.85rem;
    }

    .wrap {
        padding: 12px 14px calc(28px + env(safe-area-inset-bottom));
    }

    .crumb {
        font-size: 0.78rem;
        margin-bottom: 12px;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    h1 { font-size: clamp(1.4rem, 7vw, 1.85rem); }

    .lead { font-size: 0.98rem; margin-bottom: 16px; }

    .form-grid { grid-template-columns: 1fr; gap: 12px; }

    input[type="text"],
    input[type="number"],
    input[type="date"],
    input[type="time"],
    input[type="datetime-local"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px;
        min-height: 44px;
        padding: 12px 14px;
    }

    .os-search input[type="search"] {
        font-size: 16px;
        min-height: 48px;
        padding: 14px 16px;
        border-radius: 12px;
    }

    .os-search .search-hits,
    .dest-combo .country-hits {
        max-height: min(42dvh, 320px);
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .os-popular { gap: 8px; }
    .os-popular a {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        padding: 8px 12px;
        font-size: 0.86rem;
    }

    .os-where { font-size: 1rem; margin: 12px 0 8px; }

    .os-hero { padding: 16px 14px 14px; border-radius: 16px; margin-bottom: 14px; }

    .os-quick.cards-compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .os-quick .card-compact {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding: 12px 6px;
        min-height: 78px;
        gap: 6px;
    }

    .os-quick .card-compact h3 { font-size: 0.78rem; }

    .cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .card {
        min-height: 0;
        padding: 14px;
    }

    #hub .card {
        min-height: 0;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
    }

    #hub .card p,
    #hub .card .meta { display: none; }

    #hub .card h3 { font-size: 0.95rem; }

    .cards-compact { grid-template-columns: 1fr; }

    .os-section .cards-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .os-section .card-compact {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding: 12px 8px;
        min-height: 84px;
        gap: 6px;
    }

    .os-section .card-compact h3 { font-size: 0.8rem; }

    .compare { grid-template-columns: 1fr; }
    .countdown { grid-template-columns: repeat(2, 1fr); }

    .stat-grid,
    .os-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .stat { padding: 12px 10px; }
    .stat .v { font-size: 1.15rem; }

    .dest-hero { gap: 12px; }
    .dest-flag { font-size: 2.2rem; }

    .cta-primary { grid-template-columns: 1fr; }
    .cta-primary .cta-actions { grid-column: 1; grid-row: auto; width: 100%; min-width: 0; }
    .cta-primary .btn { grid-column: 1; grid-row: auto; width: 100%; }

    .actions { flex-direction: column; }
    .btn {
        width: 100%;
        min-height: 44px;
    }

    .panel, .seo-block, .faq, .related, .cta-box, .sources { padding: 16px; border-radius: 14px; }

    .expense-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .clock-row { flex-wrap: wrap; }

    .info-grid, .related-grid { grid-template-columns: 1fr; }

    .os-all-tools > summary {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 12px;
    }

    .os-all-tools > summary::after { float: none; }

    body.has-os-nav .wrap {
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }
    body.has-os-nav.has-trip-bar .wrap {
        padding-bottom: calc(140px + env(safe-area-inset-bottom));
    }

    .os-nav {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        height: calc(56px + env(safe-area-inset-bottom));
        padding: 4px 6px env(safe-area-inset-bottom);
        background: rgba(26, 26, 46, 0.94);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: space-around;
        align-items: stretch;
        box-sizing: border-box;
    }

    .os-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-height: 44px;
        color: rgba(255, 255, 255, 0.58);
        text-decoration: none;
        font-size: 0.68rem;
        letter-spacing: 0.01em;
    }
    .os-nav-item span:first-child { font-size: 1.15rem; line-height: 1; }
    .os-nav-item.on { color: #fff; }

    .trip-bar:not([hidden]) {
        display: flex;
        position: fixed;
        left: 8px;
        right: 8px;
        bottom: calc(60px + env(safe-area-inset-bottom));
        z-index: 29;
        align-items: center;
        gap: 8px;
        min-height: 48px;
        padding: 8px 10px 8px 14px;
        background: rgba(26, 26, 46, 0.96);
        border: 1px solid rgba(233, 69, 96, 0.35);
        border-radius: 14px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    }

    .trip-bar-main {
        flex: 1;
        min-width: 0;
        color: #fff;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .trip-bar-main strong {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .trip-bar-main span {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.58);
    }
    .trip-bar-x {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 1.2rem;
        line-height: 1;
        cursor: pointer;
    }
}
