.gld-time-control, .gld-time-legend {
    box-sizing: border-box;
    margin: 0;
    background: #17374a;
    color: #fae7bb;
    font: 600 13px/1.2 Poppins, system-ui, sans-serif;
}
.gld-time-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 8px;
    border-block: 1px solid #ffe4a936;
}
.gld-time-control label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    min-width: 0;
    white-space: normal;
}
.gld-time-control label span { flex: none; font-size: 18px; }
.gld-time-control select {
    box-sizing: border-box;
    min-width: 0;
    flex: none;
    max-width: 70%;
    min-height: 44px;
    padding: 4px 7px;
    border: 0;
    border-bottom: 2px solid transparent;
    outline: 0;
    background: transparent;
    color: #fff0cf;
    color-scheme: dark;
    font: inherit;
    cursor: pointer;
}
.gld-time-control select:focus-visible { border-bottom-color: currentColor; }
#gl-public-atlas #atlas-map-panel .gld-time-control select:focus-visible { outline: 0; }
.gld-time-legend {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}
.gld-time-legend summary {
    width: fit-content;
    min-height: 44px;
    align-content: center;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}
.gld-time-legend summary:focus-visible { outline: 2px solid #fff0cf; outline-offset: 2px; }
.gld-time-legend a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.gld-time-copyright { grid-column: 1 / -1; }
.gld-time-sources {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 100%;
    max-block-size: min(200px, 28vh);
    padding: 10px 12px;
    overflow: auto;
    overscroll-behavior: contain;
    border-block-start: 1px solid #ffe4a936;
    background: #17374a;
}
.gld-time-sources p { margin: 0 0 6px; }
.gld-time-sources p:last-child { margin-bottom: 0; }
.gld-time-legend[hidden], .camino-map-panel.is-mobile-collapsed > :is(.gld-time-control, .gld-time-legend),
.camino.is-sketchbook-discovery :is(.gld-time-control, .gld-time-legend) { display: none; }
.camino-map-panel.is-map-media-opening > :is(.gld-time-control, .gld-time-legend) {
    animation: camino-map-media-chrome-out .3s .24s ease both;
}
.camino-map-panel:is(.is-map-media-open, .is-map-media-exiting) > :is(.gld-time-control, .gld-time-legend) {
    opacity: 0;
    visibility: hidden;
}
.camino-britain-context:has(.gld-time-inset-name) { background: #fff9e8eb; }
.gld-time-inset-name { margin-bottom: 3px; font: 600 9px/1.15 Poppins, system-ui, sans-serif; text-align: center; }
.gld-time-area-name span {
    position: absolute;
    transform: translate(-50%, -50%);
    padding: 7px 12px;
    background: radial-gradient(ellipse, #fff2cec9 27%, #fff2ce99 49%, #fff2ce00 73%);
    color: #543429;
    text-shadow: 0 0 2px #fff8e7, 0 1px 2px #fff8e7;
    font: 700 clamp(9px, 1.6vw, 12px)/1.15 Poppins, system-ui, sans-serif;
    white-space: nowrap;
}
.gld-time-region { filter: blur(4px); }
.leaflet-tooltip.gld-time-town {
    padding: 3px 6px;
    border: 1px solid #d1a582;
    background: #fff5df;
    color: #693619;
    box-shadow: 0 1px 3px #592f1740;
    font: 600 11px/1.2 Poppins, system-ui, sans-serif;
}
.leaflet-tooltip.gld-time-town::before { display: none; }
@media (max-width: 800px) {
    .gld-time-control label { gap: 4px; font-size: 12px; }
    .gld-time-control label span { font-size: 15px; }
    .gld-time-control select,
    #gl-public-atlas #atlas-map-panel .gld-time-control select { font-size: 16px; padding-inline: 0; }
}
@media (max-width: 355px) {
    .gld-time-control { gap: 4px; padding-inline: 5px; }
}
