:root {
    --dst-bg: #fff;
    --dst-surface: #ffffff;
    --dst-surface-alt: #f9f9f9;
    --dst-text: #333333;
    --dst-muted: #828282;
    --dst-accent: #DD356E;
    --dst-active: #22a06b;
    --dst-upcoming: #f0ad4e;
    --dst-off: #98a2b3;
    --dst-border: #ececec;
    --dst-shadow: 0 10px 22px -20px rgba(0, 0, 0, 0.65);
}

body.dst-hub-page {
    background: #fff;
    color: var(--dst-text);
}

.dst-hub {
    padding: 0;
}

.dst-section-wrapper {
    padding: 3.5em 0;
    margin: 0;
}

.dst-section__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.dst-section__header h2 {
    font-size: 30px;
    margin: 0 0 10px 0;
    color: #000;
}

.dst-section__header p {
    margin: 0;
    color: var(--dst-muted);
    font-size: 18px;
}

.dst-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: var(--dst-muted);
    margin-bottom: 10px;
    display: block;
}

.dst-hero-section {
    padding: 3.5em 0;
    background: #fff;
}

.dst-hero {
    display: grid;
    gap: 30px;
    align-items: center;
}

.dst-hero h1 {
    font-size: 40px;
    margin: 0 0 20px 0;
    line-height: 1.3;
    color: #000;
}

.dst-hero__subtitle {
    color: var(--dst-muted);
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 1.5;
}

.dst-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.dst-hero__panel {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

@media (min-width: 600px) {
    .dst-hero__panel {
        grid-template-columns: 1fr 1fr;
    }
}

.dst-mini-card {
    background: var(--dst-surface);
    border: 1px solid var(--dst-border);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--dst-shadow);
}

.dst-mini-card__label {
    color: var(--dst-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dst-mini-card__value {
    display: block;
    font-size: 32px;
    font-family: "Inconsolata", monospace;
    margin: 10px 0;
    color: #000;
}

.dst-mini-card__meta {
    color: var(--dst-muted);
    font-size: 16px;
}

.dst-grid {
    display: grid;
    gap: 30px;
}

.dst-card {
    background: var(--dst-surface);
    border: 1px solid var(--dst-border);
    border-radius: 10px;
    box-shadow: var(--dst-shadow);
    overflow: hidden;
}

.dst-card__header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--dst-border);
    background: rgba(221, 53, 110, 0.03);
}

.dst-card__header h3 {
    margin: 0;
    font-size: 22px;
}

.dst-card__header p {
    margin: 4px 0 0;
    color: var(--dst-muted);
    font-size: 14px;
}

.dst-card__body {
    padding: 24px;
}

.dst-status-legend,
.dst-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dst-legend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--dst-muted);
    padding: 4px 12px;
    border-radius: 30px;
    border: 1px solid var(--dst-border);
    background: var(--dst-surface);
}

.dst-legend--active {
    color: var(--dst-active);
    border-color: rgba(34, 160, 107, 0.3);
}

.dst-legend--upcoming {
    color: var(--dst-upcoming);
    border-color: rgba(240, 173, 78, 0.3);
}

.dst-legend--off {
    color: var(--dst-off);
    border-color: rgba(139, 148, 158, 0.3);
}

.dst-badge {
    padding: 6px 12px;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 30px;
    border: 1px solid var(--dst-border);
    background: var(--dst-surface);
    color: var(--dst-muted);
    font-weight: bold;
}

.dst-badge--active {
    color: var(--dst-active);
    border-color: rgba(34, 160, 107, 0.4);
    background: rgba(34, 160, 107, 0.05);
}

.dst-badge--upcoming {
    color: var(--dst-upcoming);
    border-color: rgba(240, 173, 78, 0.4);
    background: rgba(240, 173, 78, 0.05);
}

.dst-badge--off {
    color: var(--dst-off);
    border-color: rgba(139, 148, 158, 0.4);
    background: rgba(139, 148, 158, 0.05);
}

.dst-badge--neutral {
    color: var(--dst-accent);
    border-color: rgba(221, 53, 110, 0.35);
    background: rgba(221, 53, 110, 0.05);
}

.dst-clock {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.dst-clock__time {
    font-size: 48px;
    font-family: "Inconsolata", monospace;
    letter-spacing: 0;
    position: relative;
    font-weight: 700;
    color: #111;
}

.dst-clock__time::after {
    content: "";
    position: absolute;
    right: -14px;
    top: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dst-accent);
    opacity: 0.6;
    animation: dst-pulse 1.2s infinite ease-in-out;
}

.dst-clock__date {
    color: var(--dst-muted);
    font-size: 16px;
}

.dst-meta-grid {
    display: grid;
    gap: 15px;
}

.dst-meta-card {
    background: var(--dst-surface-alt);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid var(--dst-border);
}

.dst-meta__label {
    font-size: 12px;
    color: var(--dst-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dst-meta__value {
    display: block;
    font-size: 16px;
    margin-top: 8px;
    color: #000;
}

.dst-highlight {
    padding: 24px;
    border-radius: 8px;
    background: rgba(221, 53, 110, 0.05);
    border: 1px solid rgba(221, 53, 110, 0.1);
}

.dst-highlight__title {
    font-size: 18px;
    font-weight: 600;
    display: block;
    color: #000;
}

.dst-highlight__time {
    font-size: 36px;
    font-family: "Inconsolata", monospace;
    display: block;
    margin-top: 10px;
    color: var(--dst-accent);
}

.dst-highlight__meta {
    color: var(--dst-muted);
    margin-top: 8px;
    display: block;
    font-size: 16px;
}

.dst-note {
    margin-top: 15px;
    color: var(--dst-muted);
    font-size: 14px;
}

.dst-map {
    background: var(--dst-surface);
    border-radius: 10px;
    border: 1px solid var(--dst-border);
    padding: 15px;
    box-shadow: var(--dst-shadow);
}

.dst-map-panel {
    margin-top: 12px;
}

.dst-map-panel .timezone-map__map {
    min-height: 420px;
}

.dst-map-support--hidden {
    display: none;
}

.dst-map__canvas {
    position: relative;
    width: 100%;
    min-height: 420px;
    height: 60vh;
    border-radius: 8px;
    background: linear-gradient(180deg, #1a202c 0%, #2d3748 100%);
    overflow: hidden;
}

.dst-map__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.dst-map__land {
    fill: rgba(255, 255, 255, 0.15);
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 1;
}

.dst-map__land--detail {
    fill: rgba(255, 255, 255, 0.08);
    stroke: rgba(255, 255, 255, 0.15);
}

.dst-map__markers {
    position: absolute;
    inset: 0;
}

.dst-map__marker {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dst-map__marker:hover {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.dst-map__marker--active {
    background: var(--dst-active);
}

.dst-map__marker--upcoming {
    background: var(--dst-upcoming);
}

.dst-map__marker--off {
    background: var(--dst-off);
}

.dst-map__tooltip {
    position: absolute;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    min-width: 200px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.dst-map__tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.dst-leaflet-tooltip {
    background: rgba(17, 24, 39, 0.94);
    color: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    font-size: 12px;
}

.dst-leaflet-tooltip .leaflet-tooltip-tip {
    background: rgba(17, 24, 39, 0.94);
}

.dst-changes {
    display: grid;
    gap: 15px;
}

.dst-change-card {
    background: var(--dst-surface);
    border: 1px solid var(--dst-border);
    border-radius: 10px;
    padding: 18px 20px;
    display: grid;
    gap: 8px;
    box-shadow: var(--dst-shadow);
}

.dst-change-card__title {
    font-weight: 600;
    font-size: 18px;
    color: #000;
}

.dst-change-card__meta {
    color: var(--dst-muted);
    font-size: 16px;
}

.dst-change-card__tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dst-muted);
}

.dst-converter {
    display: grid;
    gap: 30px;
}

.dst-converter__form,
.dst-converter__result {
    background: var(--dst-surface);
    border: 1px solid var(--dst-border);
    border-radius: 10px;
    padding: 24px;
    box-shadow: var(--dst-shadow);
}

.dst-form-group {
    margin-bottom: 20px;
    position: relative;
}

.dst-form-group label {
    font-weight: 400;
    margin-bottom: 8px;
    color: #333;
}

.dst-form-row {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

.dst-search-results {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--dst-surface);
    border: 1px solid var(--dst-border);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    display: none;
}

.dst-search-results.is-open {
    display: block;
}

.dst-search-item {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 16px;
    border-bottom: 1px solid var(--dst-border);
}

.dst-search-item:last-child {
    border-bottom: none;
}

.dst-search-item:hover {
    background: var(--dst-surface-alt);
    color: var(--dst-accent);
}

.dst-converter__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dst-converter__time {
    font-family: "Inconsolata", monospace;
    font-size: 40px;
    margin: 20px 0 10px;
    color: #000;
    font-weight: 700;
}

.dst-converter__meta {
    color: var(--dst-muted);
    margin-bottom: 20px;
    font-size: 16px;
}

.dst-converter__grid {
    display: grid;
    gap: 15px;
}

.dst-convert-btn {
    width: 100%;
}

.dst-stats {
    display: grid;
    gap: 20px;
}

.dst-stat-card {
    background: var(--dst-surface);
    border-radius: 10px;
    border: 1px solid var(--dst-border);
    padding: 24px;
    box-shadow: var(--dst-shadow);
}

.dst-stat__label {
    color: var(--dst-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dst-stat__value {
    font-size: 42px;
    font-family: "Inconsolata", monospace;
    margin: 10px 0;
    display: block;
    color: #000;
}

.dst-stat__meta {
    color: var(--dst-muted);
    font-size: 16px;
}

.dst-stat-card--active {
    border-left: 4px solid var(--dst-active);
}

.dst-stat-card--upcoming {
    border-left: 4px solid var(--dst-upcoming);
}

.dst-stat-card--off {
    border-left: 4px solid var(--dst-off);
}

.dst-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted var(--dst-muted);
    transition: color 0.2s, border-color 0.2s;
}

.dst-link:hover,
.dst-link:focus {
    color: var(--dst-accent);
    border-bottom-color: var(--dst-accent);
    text-decoration: none;
}

@keyframes dst-pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

@media (min-width: 768px) {
    .dst-section__header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .dst-hero {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .dst-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dst-meta-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dst-converter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dst-form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dst-converter__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dst-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .dst-hero h1 {
        font-size: 50px;
    }
}
