:root {
    --abbr-bg: #f1f4f8;
    --abbr-panel: #ffffff;
    --abbr-panel-alt: #f8fafc;
    --abbr-text: #0f172a;
    --abbr-muted: #5b6578;
    --abbr-border: #e2e8f0;
    --abbr-accent: #1d4ed8;
    --abbr-accent-soft: rgba(29, 78, 216, 0.12);
    --abbr-shadow: 0 16px 28px -24px rgba(15, 23, 42, 0.6);
}

.tz-abbrev-page {
    background: var(--abbr-bg);
    color: var(--abbr-text);
}

.tz-abbrev {
    padding: 24px 0 64px;
}

.abbr-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.abbr-hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.abbr-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 1.2rem;
    color: var(--abbr-muted);
    margin: 0 0 12px;
}

.abbr-hero__title {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.1;
    margin: 0 0 12px;
    font-weight: 700;
}

.abbr-hero__subtitle {
    margin: 0;
    color: var(--abbr-muted);
    font-size: 1.8rem;
    line-height: 1.5;
}

.abbr-search {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.abbr-search__box {
    background: var(--abbr-panel);
    border: 1px solid var(--abbr-border);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: var(--abbr-shadow);
}

.abbr-search__box label {
    font-size: 1.4rem;
    color: var(--abbr-muted);
    margin-bottom: 10px;
    display: block;
}

.abbr-search__box input {
    height: 50px;
    font-size: 1.6rem;
    border-radius: 10px;
}

.abbr-search__hint {
    margin-top: 10px;
    color: var(--abbr-muted);
    font-size: 1.3rem;
}

.abbr-search__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.abbr-filter-chip {
    font-size: 1.3rem;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--abbr-border);
    background: var(--abbr-panel);
    color: var(--abbr-text);
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
}

.abbr-filter-chip:hover {
    border-color: var(--abbr-accent);
    color: var(--abbr-accent);
}

.abbr-filter-chip.active {
    background: var(--abbr-accent);
    color: #fff;
    border-color: var(--abbr-accent);
}

.abbr-filter-chip:focus-visible {
    outline: 2px solid var(--abbr-accent);
    outline-offset: 2px;
}

.abbr-grid {
    display: grid;
    gap: 24px;
}

.abbr-continent-block {
    display: grid;
    gap: 16px;
    background: var(--abbr-panel);
    border: 1px solid var(--abbr-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--abbr-shadow);
}

.abbr-continent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--abbr-border);
    padding-bottom: 12px;
}

.abbr-continent-header h2 {
    font-size: 2.2rem;
    margin: 0;
    font-weight: 700;
}

.abbr-continent-count {
    font-size: 1.4rem;
    color: var(--abbr-muted);
    background: var(--abbr-panel-alt);
    padding: 4px 12px;
    border-radius: 999px;
}

.abbr-table-wrapper {
    overflow-x: auto;
    margin: 0 -12px;
    padding: 0 12px;
}

.abbr-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 800px;
}

.abbr-table thead th {
    text-align: left;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--abbr-muted);
    padding: 12px 16px;
    font-weight: 700;
    border-bottom: 2px solid var(--abbr-border);
}

.abbr-table tbody tr {
    transition: background 0.2s;
}

.abbr-table tbody tr:hover {
    background: var(--abbr-panel-alt);
}

.abbr-table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--abbr-border);
    vertical-align: middle;
}

.abbr-zone-link {
    font-weight: 700;
    text-decoration: none;
    color: #DD356E;
    font-size: 1.6rem;
}

.abbr-zone-link:hover {
    text-decoration: underline;
}

.abbr-zone-name {
    display: block;
    color: var(--abbr-muted);
    font-size: 1.3rem;
    margin-top: 4px;
}

.abbr-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.abbr-links a {
    font-size: 1.2rem;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--abbr-border);
    background: #fff;
    text-decoration: none;
    color: var(--abbr-text);
    font-weight: 600;
    transition: all 0.2s;
}

.abbr-links a:hover {
    border-color: #DD356E;
    color: #DD356E;
    background: rgba(221, 53, 110, 0.05);
}

.abbr-details {
    margin-top: 40px;
}

.abbr-details__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.abbr-details__card {
    background: var(--abbr-panel);
    border: 1px solid var(--abbr-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--abbr-shadow);
}

.abbr-details__card h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.abbr-details__card p {
    color: var(--abbr-muted);
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.abbr-details__card ul {
    padding-left: 20px;
    margin: 0;
}

.abbr-details__card li {
    color: var(--abbr-muted);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

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

.abbr-links-grid a {
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--abbr-border);
    background: var(--abbr-panel-alt);
    color: var(--abbr-text);
    font-weight: 600;
    text-align: center;
    font-size: 1.4rem;
    transition: all 0.2s;
}

.abbr-links-grid a:hover {
    border-color: #DD356E;
    color: #DD356E;
    background: #fff;
}

.abbr-empty {
    background: var(--abbr-panel);
    border: 1px solid var(--abbr-border);
    border-radius: 18px;
    padding: 40px;
    text-align: center;
}

@media screen and (max-width: 991px) {
    .abbr-table {
        min-width: 700px;
    }
}

@media screen and (max-width: 767px) {
    .abbr-continent-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .abbr-links-grid {
        grid-template-columns: 1fr;
    }
    .abbr-table thead {
        display: none;
    }
    .abbr-table, .abbr-table tbody, .abbr-table tr, .abbr-table td {
        display: block;
        width: 100%;
    }
    .abbr-table tr {
        margin-bottom: 20px;
        border: 1px solid var(--abbr-border);
        border-radius: 12px;
        padding: 10px;
    }
    .abbr-table td {
        border: none;
        padding: 8px 12px;
        text-align: right;
        position: relative;
    }
    .abbr-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 1.1rem;
        color: var(--abbr-muted);
    }
    .abbr-table td:first-child {
        text-align: left;
        border-bottom: 1px solid var(--abbr-border);
        margin-bottom: 10px;
    }
    .abbr-table td:first-child::before {
        display: none;
    }
    .abbr-links {
        justify-content: flex-end;
    }
}
