/* AccuWeather Clone - Styles (matches AccuWeather.com's own mobile layout) */

* { box-sizing: border-box; }

.awc-root {
    /*
     * The weather surface should reach both viewport edges even when the
     * WordPress theme places the shortcode inside a centered content column.
     * Keep this full-bleed on desktop as well as mobile.
     */
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding: 0;
}

.awc-widget {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #e7edf3;
    overflow: hidden;
    border: 1px solid #d7dfe6;
}

/* ===================== Hero: search pill + location box ===================== */

.awc-hero {
    background:
        linear-gradient(180deg, rgba(239, 185, 100, 0.88), rgba(78, 92, 78, 0.92) 54%, #182e38);
    padding: 16px;
}

.awc-search-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border-radius: 3px;
    padding: 10px 12px 10px 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.awc-search-wrap {
    position: relative;
}

.awc-suggest-box {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.28);
    overflow-y: auto;
    max-height: 340px;
    z-index: 30;
}

.awc-suggest-current {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-bottom: 1px solid #e2e2e2;
    background: #ffffff;
    color: #343434;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    text-align: left;
}

.awc-suggest-current:hover {
    background: #fff8f1;
}

.awc-suggest-arrow {
    color: #f06427;
    font-size: 20px;
    line-height: 1;
    transform: rotate(-28deg);
}

.awc-suggest-loading,
.awc-suggest-error {
    padding: 14px 16px;
    font-size: 13px;
}

.awc-suggest-loading {
    color: #4a5158;
}

.awc-suggest-error {
    color: #c0392b;
    background: #fff8f6;
}

.awc-loading-spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 7px;
    border: 2px solid #d8e0e6;
    border-top-color: #f16a22;
    border-radius: 50%;
    vertical-align: -2px;
    animation: awc-spin 0.8s linear infinite;
}

@keyframes awc-spin {
    to { transform: rotate(360deg); }
}

.awc-suggest-item {
    padding: 11px 16px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eef1f4;
}

.awc-suggest-item:last-child {
    border-bottom: none;
}

.awc-suggest-item:hover {
    background: #f5f8fb;
}

.awc-suggest-item.awc-suggest-country .awc-suggest-name {
    color: #1a6fa8;
}

.awc-suggest-name {
    font-weight: 700;
    font-size: 16px;
    color: #14181c;
}

.awc-suggest-sub {
    font-size: 13px;
    color: #7a838c;
    margin-top: 2px;
}

.awc-suggest-empty {
    padding: 14px 16px;
    font-size: 13px;
    color: #9aa2a9;
}

.awc-search-icon-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 16px;
    color: #8b939b;
    cursor: pointer;
    line-height: 1;
    flex: 0 0 auto;
}

.awc-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    outline: none;
    color: #14181c;
}

.awc-search-input::placeholder {
    color: #9aa2a9;
}

.awc-search-clear {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #171717;
    cursor: pointer;
    font-size: 34px;
    font-weight: 300;
    line-height: 24px;
}

.awc-search-clear[hidden] {
    display: none;
}

.awc-location-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 14px;
    background: rgba(20, 45, 60, 0.55);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    text-align: left;
}

.awc-location-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.awc-location-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.awc-location-hint {
    color: rgba(255,255,255,0.72);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.awc-location-trigger:hover .awc-location-hint,
.awc-location-trigger:focus-visible .awc-location-hint {
    color: #ffffff;
}

.awc-location-trigger.awc-location-requesting {
    cursor: wait;
    opacity: 0.78;
}

.awc-location-trigger.awc-location-error .awc-location-hint {
    color: #ffd3c5;
}

.awc-location-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.awc-location-icon {
    font-size: 28px;
    line-height: 1;
}

.awc-location-temp {
    color: #ffffff;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
}

/* ===================== Tab strip (TODAY / HOURLY / 10-DAY) ===================== */

.awc-tabs {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #d7dfe6;
    overflow-x: auto;
    padding-right: 12px;
}

.awc-tab-btn {
    flex: 0 0 auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 14px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #7a838c;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.awc-tab-btn sup {
    font-size: 8px;
    line-height: 0;
    vertical-align: super;
}

.awc-tab-btn.active {
    color: #14181c;
    border-bottom-color: #f16a22;
}

.awc-tabs-more {
    margin-left: auto;
    color: #b0b8bf;
    font-size: 18px;
    padding-right: 4px;
}

/* ===================== Feature tab detail views ===================== */

.awc-feature-detail {
    margin-top: -2px;
}

.awc-radar-map-card {
    overflow: hidden;
}

.awc-live-radar-map {
    position: relative;
    min-height: 320px;
    background: #dce7ed;
}

.awc-live-radar-map .leaflet-container {
    min-height: 320px;
    font-family: inherit;
}

.awc-radar-map-loading {
    position: absolute;
    z-index: 500;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 9px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 2px 8px rgba(20,24,28,0.16);
    color: #4a5158;
    font-size: 12px;
    transform: translate(-50%, -50%);
}

.awc-radar-map-status {
    color: #2e7dd1;
}

.awc-radar-preview-card {
    overflow: hidden;
    padding: 0;
}

.awc-radar-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding: 10px 14px;
    background: #ffffff;
}

.awc-radar-see-more {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #262626;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
}

.awc-radar-see-more span {
    font-size: 20px;
    vertical-align: -2px;
}

.awc-radar-preview-map,
.awc-radar-preview-map .leaflet-container {
    min-height: 245px;
}

.awc-feature-hero-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    border-left: 4px solid #f16a22;
}

.awc-feature-icon {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff0e8;
    color: #f16a22;
    font-size: 29px;
    line-height: 1;
}

.awc-feature-kicker {
    color: #f16a22;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.awc-feature-hero-card h2,
.awc-aqi-summary-card h2 {
    margin: 3px 0 2px;
    color: #14181c;
    font-size: 20px;
    line-height: 1.2;
}

.awc-feature-hero-card p,
.awc-aqi-summary-card p {
    margin: 0;
    color: #7a838c;
    font-size: 12px;
    line-height: 1.45;
}

.awc-outline-action {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 8px 10px;
    border: 1px solid #f16a22;
    border-radius: 5px;
    color: #d95614;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.awc-outline-action:hover {
    background: #fff3ec;
}

.awc-radar-timeline {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 18px 14px 12px;
}

.awc-radar-hour {
    flex: 0 0 58px;
    color: #7a838c;
    font-size: 10px;
    text-align: center;
}

.awc-radar-hour > span {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
}

.awc-radar-bar {
    display: flex;
    align-items: flex-end;
    height: 74px;
    padding: 3px;
    border-radius: 6px;
    background: #edf3f9;
}

.awc-radar-bar i {
    display: block;
    width: 100%;
    min-height: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, #ef7c42, #2e7dd1);
}

.awc-radar-hour strong {
    display: block;
    margin-top: 6px;
    color: #14181c;
    font-size: 12px;
}

.awc-radar-hour small {
    display: block;
    margin-top: 2px;
    font-size: 10px;
}

.awc-radar-legend {
    display: flex;
    gap: 16px;
    padding: 0 16px 14px;
    color: #7a838c;
    font-size: 11px;
}

.awc-radar-legend span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.awc-radar-legend i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.awc-legend-low { background: #2e7dd1; }
.awc-legend-mid { background: #56a9df; }
.awc-legend-high { background: #ef7c42; }

.awc-info-card {
    padding: 14px 16px;
}

.awc-info-card strong {
    display: block;
    color: #14181c;
    font-size: 13px;
}

.awc-info-card p {
    margin: 5px 0 0;
    color: #7a838c;
    font-size: 12px;
    line-height: 1.55;
}

.awc-minute-list {
    padding: 4px 16px;
}

.awc-minute-item {
    display: grid;
    grid-template-columns: 68px 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    border-bottom: 1px solid #eef1f4;
}

.awc-minute-item:last-child {
    border-bottom: none;
}

.awc-minute-time {
    color: #14181c;
    font-size: 12px;
    font-weight: 700;
}

.awc-minute-icon {
    font-size: 20px;
    text-align: center;
}

.awc-minute-copy {
    color: #4a5158;
    font-size: 12px;
}

.awc-minute-copy small {
    display: block;
    margin-top: 2px;
    color: #9aa2a9;
    font-size: 10px;
}

.awc-minute-status {
    color: #2e7dd1;
    font-size: 11px;
    font-weight: 700;
}

.awc-monthly-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
}

.awc-monthly-period {
    padding: 12px;
    border: 1px solid #e4e8ec;
    border-radius: 7px;
    background: #f8fafc;
}

.awc-monthly-period-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #14181c;
    font-size: 12px;
}

.awc-monthly-period-head span {
    color: #7a838c;
    font-size: 10px;
}

.awc-monthly-period-icon {
    margin-top: 11px;
    font-size: 28px;
}

.awc-monthly-period-desc {
    min-height: 30px;
    margin-top: 3px;
    color: #7a838c;
    font-size: 11px;
}

.awc-monthly-temp {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 8px;
}

.awc-monthly-temp strong {
    color: #14181c;
    font-size: 24px;
    font-weight: 400;
}

.awc-monthly-temp span {
    color: #9aa2a9;
    font-size: 13px;
}

.awc-monthly-rain {
    margin-top: 8px;
    color: #2e7dd1;
    font-size: 10px;
}

.awc-aqi-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 16px;
    border-left: 4px solid #51ad75;
}

.awc-aqi-score {
    display: flex;
    align-items: baseline;
    flex: 0 0 auto;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 8px;
}

.awc-aqi-score strong {
    font-size: 30px;
    font-weight: 400;
}

.awc-aqi-score span {
    font-size: 10px;
    font-weight: 700;
}

.awc-aqi-good { background: #e3f5e9; color: #267847; }
.awc-aqi-moderate { background: #fff4d6; color: #967214; }
.awc-aqi-sensitive { background: #ffe8c9; color: #a55b09; }
.awc-aqi-unhealthy { background: #ffe0dc; color: #b13b31; }
.awc-aqi-very-unhealthy { background: #f2dcf2; color: #7f3a7c; }
.awc-aqi-hazardous { background: #ead6d6; color: #6f2424; }
.awc-aqi-muted { background: #eef1f4; color: #7a838c; }

.awc-pollutant-grid {
    border-top: 0;
}

.awc-activity-list {
    padding: 4px 16px;
}

.awc-activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    border-bottom: 1px solid #eef1f4;
}

.awc-activity-item:last-child {
    border-bottom: none;
}

.awc-activity-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff0e8;
    color: #f16a22;
    font-size: 15px;
}

.awc-activity-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
}

.awc-activity-copy strong {
    color: #14181c;
    font-size: 12px;
}

.awc-activity-copy small {
    color: #7a838c;
    font-size: 10px;
}

.awc-activity-status {
    color: #267847;
    font-size: 11px;
    font-weight: 700;
    text-align: right;
}

/* ===================== White card sections ===================== */

.awc-tab-content {
    padding: 14px 16px 4px;
}

.awc-card {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 14px;
    overflow: hidden;
}

.awc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 12px;
    border-bottom: 1px solid #eef1f4;
}

.awc-card-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #7a838c;
}

.awc-card-date {
    font-size: 13px;
    font-weight: 700;
    color: #14181c;
}

/* ---- Today's weather card content ---- */

.awc-today-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1.4;
    color: #14181c;
}

.awc-today-row + .awc-today-row {
    padding-top: 0;
}

.awc-today-icon {
    font-size: 22px;
    line-height: 1.3;
    flex: 0 0 auto;
}

.awc-today-text strong {
    font-weight: 700;
}

.awc-today-text small {
    display: inline-block;
    margin-left: 6px;
    color: #2e7dd1;
    font-size: 11px;
    font-weight: 700;
}

/* ---- Current weather card content ---- */

.awc-current-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px 26px;
    gap: 16px;
}

.awc-current-card {
    position: relative;
    cursor: pointer;
}

.awc-current-card-hit {
    position: absolute;
    z-index: 5;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

.awc-current-card-hit:hover,
.awc-current-card-hit:focus-visible {
    background: rgba(241, 106, 34, 0.05);
    outline: 2px solid rgba(241, 106, 34, 0.45);
    outline-offset: -2px;
}

.awc-current-card:hover,
.awc-current-card:focus-visible {
    background: #fffaf6;
    outline: 2px solid rgba(241, 106, 34, 0.45);
    outline-offset: -2px;
}

.awc-current-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.awc-current-icon {
    font-size: 46px;
    line-height: 1;
}

.awc-current-temp {
    font-size: 62px;
    font-weight: 400;
    color: #14181c;
    line-height: 1;
}

.awc-unit {
    font-size: 16px;
    color: #8b939b;
    font-weight: 400;
    vertical-align: bottom;
    margin-left: 1px;
}

.awc-current-right {
    text-align: right;
}

.awc-current-desc {
    font-size: 19px;
    font-weight: 700;
    color: #14181c;
    white-space: nowrap;
}

.awc-current-feels {
    font-size: 13px;
    color: #7a838c;
    margin-top: 4px;
}

.awc-current-meta {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    font-size: 12px;
    color: #7a838c;
}

/* ===================== Expanded current weather ===================== */

.awc-current-detail {
    margin-top: -2px;
}

.awc-hourly-detail-scroll {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px 12px 14px;
}

.awc-hourly-detail-item {
    flex: 0 0 108px;
    min-height: 150px;
    padding: 9px 8px;
    border: 1px solid #e4e8ec;
    border-radius: 7px;
    background: #f8fafc;
    color: #4a5158;
    font-size: 11px;
    line-height: 1.65;
    text-align: center;
}

.awc-hourly-detail-time {
    color: #14181c;
    font-size: 12px;
    font-weight: 700;
}

.awc-hourly-detail-icon {
    margin: 5px 0 2px;
    font-size: 24px;
    line-height: 1;
}

.awc-hourly-detail-item strong {
    display: block;
    color: #14181c;
    font-size: 18px;
}

.awc-hourly-detail-item span {
    display: block;
    white-space: nowrap;
}

.awc-selected-day-hourly-card .awc-hourly-detail-item {
    flex-basis: 118px;
    min-height: 178px;
}

.awc-hourly-detail-empty {
    padding: 18px 16px 20px;
    color: #7a838c;
    font-size: 13px;
}

/* ===================== Hourly scroller ===================== */

.awc-hourly-scroll {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding: 10px 20px 16px;
}

.awc-hour-item {
    flex: 0 0 auto;
    width: 72px;
    text-align: center;
    padding: 8px 4px;
    border-radius: 8px;
}

.awc-hour-item:hover {
    background: #f5f8fb;
}

.awc-hour-time {
    font-size: 12px;
    color: #7a838c;
    font-weight: 600;
}

.awc-hour-icon {
    font-size: 24px;
    margin: 6px 0;
}

.awc-hour-temp {
    font-size: 15px;
    font-weight: 700;
    color: #14181c;
}

.awc-hour-precip {
    font-size: 11px;
    color: #2e7dd1;
    margin-top: 2px;
    white-space: nowrap;
}

/* ===================== 10-Day list ===================== */

.awc-daily-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.awc-daily-item {
    display: grid;
    grid-template-columns: 84px 30px 1fr 68px 84px;
    align-items: center;
    width: 100%;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f3f5;
    font-size: 13px;
    gap: 6px;
    font-family: inherit;
    text-align: left;
    color: inherit;
    background: #ffffff;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    cursor: pointer;
}

.awc-daily-item:last-child {
    border-bottom: none;
}

.awc-daily-item:hover,
.awc-daily-item:focus-visible {
    background: #f5f8fb;
    outline: none;
}

.awc-daily-item.is-selected {
    background: #fff8f2;
    box-shadow: inset 3px 0 0 #f16a22;
}

.awc-daily-day {
    font-weight: 700;
    color: #14181c;
}

.awc-daily-icon {
    font-size: 20px;
    text-align: center;
}

.awc-daily-desc {
    color: #4a5158;
}

.awc-daily-precip {
    color: #2e7dd1;
    font-size: 11px;
}

.awc-daily-condition-value {
    color: #2e7dd1;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.awc-daily-temps {
    text-align: right;
    font-weight: 600;
    color: #14181c;
}

.awc-temp-min {
    color: #8b939b;
    font-weight: 400;
}

.awc-temp-max {
    color: #14181c;
}

/* ===================== Selected day detail ===================== */

.awc-selected-day {
    padding: 0 10px 2px;
    background: #e7edf3;
}

.awc-detail-card {
    margin-bottom: 12px;
}

.awc-detail-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.awc-detail-icon {
    flex: 0 0 auto;
    font-size: 43px;
    line-height: 1;
}

.awc-detail-temp {
    flex: 0 0 auto;
    color: #14181c;
    font-size: 48px;
    font-weight: 400;
    line-height: 1;
}

.awc-detail-temp small {
    display: inline-block;
    margin-left: 3px;
    color: #7a838c;
    font-size: 13px;
    vertical-align: top;
    line-height: 1.5;
}

.awc-detail-feels {
    margin-left: auto;
    color: #14181c;
    font-size: 13px;
    line-height: 1.75;
    text-align: right;
}

.awc-detail-feels div:last-child {
    color: #7a838c;
}

.awc-detail-description {
    padding: 0 16px 12px;
    color: #14181c;
    font-size: 15px;
    font-weight: 600;
}

.awc-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #eef1f4;
}

.awc-detail-grid > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    padding: 8px 16px;
    border-bottom: 1px solid #eef1f4;
    font-size: 12px;
}

.awc-detail-grid > div:nth-child(odd) {
    border-right: 1px solid #eef1f4;
}

.awc-detail-grid span {
    color: #4a5158;
}

.awc-detail-grid strong {
    color: #14181c;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.awc-detail-sun {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px 14px;
    color: #7a838c;
    font-size: 12px;
}

.awc-detail-sun strong {
    margin-left: 5px;
    color: #14181c;
}

/* ===================== Around the Globe card ===================== */

.awc-local-conditions-card {
    border-radius: 0;
    box-shadow: none;
}

.awc-local-conditions-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: #dfe9f1;
    border-bottom: 1px solid #cfdbe4;
}

.awc-local-conditions-title {
    color: #303b44;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25px;
}

.awc-local-see-more {
    padding: 0;
    border: 0;
    background: transparent;
    color: #303b44;
    cursor: pointer;
    font-family: inherit;
    font-size: 10px;
    white-space: nowrap;
}

.awc-local-see-more:hover,
.awc-local-see-more:focus-visible {
    color: #f06427;
    text-decoration: underline;
}

.awc-local-city-list {
    background: #ffffff;
}

.awc-local-city-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px 42px;
    align-items: center;
    width: 100%;
    min-height: 42px;
    padding: 8px 16px;
    border: 0;
    border-bottom: 1px solid #dfe3e7;
    background: #ffffff;
    color: #20262c;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    text-align: left;
}

.awc-local-city-row:last-child {
    border-bottom: 0;
}

.awc-local-city-row:hover,
.awc-local-city-row:focus-visible {
    background: #f6f9fb;
    outline: none;
}

.awc-local-city-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.awc-local-city-icon-wrap {
    display: flex;
    min-width: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.awc-local-city-icon {
    font-size: 22px;
    line-height: 1;
    text-align: center;
}

.awc-local-city-rain,
.awc-world-rain {
    color: #2e7dd1;
    font-size: 9px;
    line-height: 1;
    white-space: nowrap;
}

.awc-local-city-temp {
    font-size: 12px;
    text-align: right;
}

.awc-world-card {
    padding: 14px 16px 12px;
}

.awc-world-strip-title {
    color: #7a838c;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
}

.awc-world-strip {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
}

.awc-world-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f2f5f8;
    border: 1px solid #e4e8ec;
    border-radius: 20px;
    padding: 6px 12px;
    cursor: pointer;
    color: #14181c;
    font-size: 12px;
}

.awc-world-item:hover {
    background: #e9eef3;
}

.awc-world-name {
    font-weight: 600;
    white-space: nowrap;
}

.awc-world-icon {
    font-size: 14px;
}

.awc-world-rain {
    margin-left: 1px;
}

.awc-world-temp {
    font-weight: 700;
    color: #f16a22;
}

/* ===================== Error ===================== */

.awc-error {
    padding: 20px;
    text-align: center;
    color: #c0392b;
    font-weight: 600;
    background: #ffffff;
}

/* Browser-side live-data fallback used when the WordPress host blocks
 * outbound requests. Keep it visually consistent with the main widget. */
.awc-client-weather-fallback {
    background: #eef4f8;
    border-radius: 8px;
    color: #263743;
    margin: 14px 16px;
    overflow: hidden;
}

.awc-fallback-loading {
    align-items: center;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    min-height: 150px;
    padding: 24px;
    text-align: center;
}

.awc-fallback-loading > span:not(.awc-loading-spinner) {
    color: #7a8790;
    font-size: 12px;
}

.awc-fallback-header {
    align-items: center;
    background: linear-gradient(135deg, #113c48, #1d5c67);
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.awc-fallback-kicker {
    color: #f7c65b;
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.awc-fallback-header h2 {
    font-size: 21px;
    margin: 0 0 4px;
}

.awc-fallback-header p {
    color: #d8e8eb;
    font-size: 13px;
    margin: 0;
}

.awc-fallback-icon {
    align-self: center;
    font-size: 38px;
    line-height: 1;
}

.awc-fallback-temperature {
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
    white-space: nowrap;
}

.awc-fallback-temperature small {
    font-size: 17px;
    margin-left: 2px;
}

.awc-fallback-stats {
    background: #fff;
    display: flex;
    gap: 1px;
    justify-content: space-around;
    padding: 13px 8px;
}

.awc-fallback-stats span {
    color: #78858c;
    font-size: 11px;
    text-align: center;
}

.awc-fallback-stats b {
    color: #263743;
    display: block;
    font-size: 12px;
    margin-top: 4px;
}

.awc-fallback-section {
    background: #fff;
    margin-top: 10px;
    padding: 14px;
}

.awc-fallback-section header {
    border-bottom: 1px solid #e8edf0;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 9px;
}

.awc-fallback-section header b {
    font-size: 12px;
}

.awc-fallback-section header span,
.awc-fallback-source {
    color: #869198;
    font-size: 10px;
}

.awc-fallback-hourly {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding-bottom: 3px;
}

.awc-fallback-hour {
    background: #f6f8f9;
    border: 1px solid #edf0f2;
    border-radius: 5px;
    display: flex;
    flex: 0 0 72px;
    flex-direction: column;
    gap: 5px;
    padding: 9px 5px;
    text-align: center;
}

.awc-fallback-hour span,
.awc-fallback-hour small,
.awc-fallback-day span,
.awc-fallback-day small {
    color: #7f8a91;
    font-size: 10px;
}

.awc-fallback-hour b,
.awc-fallback-day b {
    font-size: 19px;
}

.awc-fallback-hour strong,
.awc-fallback-day strong {
    font-size: 12px;
}

.awc-fallback-daily {
    display: grid;
    gap: 5px;
}

.awc-fallback-day {
    align-items: center;
    border-bottom: 1px solid #f0f2f3;
    display: grid;
    grid-template-columns: 1fr 35px 92px 58px;
    padding: 8px 2px;
}

.awc-fallback-day:last-child {
    border-bottom: 0;
}

.awc-fallback-day small {
    text-align: right;
}

.awc-fallback-source {
    margin: 10px 14px 14px;
    text-align: center;
}

.awc-client-weather-fallback .awc-error {
    margin: 0;
}

.awc-fallback-retry {
    background: #1c6973;
    border: 0;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    margin-left: 6px;
    padding: 7px 12px;
}

@media (max-width: 520px) {
    /*
     * WordPress themes commonly add 15–20px horizontal padding to the
     * content column. The weather panel should still use the complete phone
     * viewport, like the native AccuWeather mobile page.
     */
    .awc-root {
        width: 100vw;
        max-width: 100vw;
        position: relative;
        left: 50%;
        margin-left: -50vw;
    }

    .awc-widget {
        border-left: 0;
        border-right: 0;
    }

    .awc-fallback-header {
        padding: 17px 14px;
    }

    .awc-fallback-header h2 {
        font-size: 18px;
    }

    .awc-fallback-temperature {
        font-size: 35px;
    }

    .awc-fallback-day {
        grid-template-columns: 1fr 30px 82px 52px;
    }
}

@media (max-width: 480px) {
    .awc-tabs {
        scrollbar-width: none;
    }

    .awc-tabs::-webkit-scrollbar {
        display: none;
    }

    .awc-current-temp { font-size: 50px; }
    .awc-current-icon { font-size: 38px; }
    .awc-current-desc { font-size: 17px; }
    .awc-daily-item { grid-template-columns: 66px 24px 1fr 64px 70px; font-size: 12px; }
    .awc-detail-summary { gap: 8px; padding: 14px 12px; }
    .awc-detail-icon { font-size: 34px; }
    .awc-detail-temp { font-size: 40px; }
    .awc-detail-feels { font-size: 11px; }
    .awc-detail-grid > div { padding-left: 12px; padding-right: 12px; font-size: 11px; }
    .awc-feature-hero-card,
    .awc-aqi-summary-card { align-items: flex-start; }
    .awc-feature-hero-card { flex-wrap: wrap; }
    .awc-outline-action { margin-left: 62px; }
    .awc-feature-hero-card h2,
    .awc-aqi-summary-card h2 { font-size: 17px; }
    .awc-monthly-grid { grid-template-columns: 1fr; }
    .awc-minute-item { grid-template-columns: 62px 25px minmax(0, 1fr) auto; gap: 6px; }
    .awc-minute-status { font-size: 10px; }
    .awc-aqi-score { padding: 8px 9px; }
    .awc-aqi-score strong { font-size: 24px; }
}

/* ===================== Supplied mobile screenshot dashboard ===================== */

.awc-widget {
    border-color: rgba(255,255,255,0.14);
    background: #2b61a3;
}

.awc-widget .awc-hero {
    background: #2b61a3;
}

.awc-home-view {
    position: relative;
    min-height: 100vh;
    border: 0;
    background: #2b61a3;
    color: #ffffff;
}

.awc-home-view .awc-hero {
    display: block;
    padding: 12px 20px 0;
    background: #2b61a3;
}

.awc-home-view > form > .awc-tabs {
    display: none;
}

.awc-home-view .awc-home-tab-content {
    padding: 0;
    background: #2b61a3;
}

.awc-mobile-dashboard {
    width: 100%;
    padding: 0 0 32px;
    background: #2b61a3;
    color: #ffffff;
}

.awc-home-view .awc-search-row {
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 5px;
    background: rgba(255,255,255,0.96);
    box-shadow: none;
}

.awc-home-view .awc-location-box {
    margin-top: 8px;
    padding: 9px 0 13px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.awc-home-view .awc-location-name {
    font-size: 16px;
}

.awc-home-view .awc-location-hint {
    color: rgba(255,255,255,0.9);
    font-size: 12px;
}

.awc-home-view .awc-location-action {
    color: rgba(255,255,255,0.62);
    font-size: 10px;
}

.awc-mobile-current {
    /* Keep all current-weather text aligned with the search field above. */
    padding: 8px 20px 18px;
}

.awc-mobile-current-heading,
.awc-home-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.awc-mobile-current-heading {
    color: rgba(255,255,255,0.92);
    font-size: 16px;
}

.awc-mobile-current-heading .awc-live-time {
    font-size: 15px;
    font-weight: 400;
}

.awc-mobile-current-main {
    display: grid;
    grid-template-columns: 80px minmax(90px, 1fr) minmax(120px, 1fr);
    align-items: center;
    width: 100%;
    padding: 14px 4px 17px 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.awc-mobile-current-main:hover,
.awc-mobile-current-main:focus-visible {
    outline: 0;
    filter: brightness(1.08);
}

.awc-mobile-current-icon {
    font-size: 58px;
    line-height: 1;
}

.awc-mobile-current-temperature {
    font-size: 62px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -2px;
}

.awc-mobile-current-temperature sup {
    margin-left: 3px;
    font-size: 22px;
    font-weight: 400;
    vertical-align: top;
    letter-spacing: 0;
}

.awc-mobile-current-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 6px;
}

.awc-mobile-current-copy strong {
    font-size: 20px;
}

.awc-mobile-current-copy small {
    font-size: 14px;
}

.awc-mobile-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(95px, 1fr));
    gap: 16px;
    overflow-x: auto;
    padding: 0 0 2px;
    scrollbar-width: none;
}

.awc-mobile-metrics::-webkit-scrollbar {
    display: none;
}

.awc-mobile-metrics > *,
.awc-mobile-metrics button {
    display: flex;
    flex-direction: column;
    min-width: 95px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font: inherit;
    text-align: left;
}

.awc-mobile-metrics span span {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    white-space: nowrap;
}

.awc-mobile-metrics span span i {
    font-style: normal;
    font-size: 20px;
    vertical-align: -1px;
}

.awc-mobile-metrics strong {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 20px;
    font-weight: 400;
    white-space: nowrap;
}

.awc-aqi-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f04c59;
}

.awc-wind-arrow {
    font-size: 22px;
    font-weight: 400;
}

.awc-home-panel,
.awc-home-map-card {
    margin: 0 0 18px;
    border-radius: 0;
    background: rgba(75, 123, 184, 0.56);
    box-shadow: 0 1px 0 rgba(255,255,255,0.04);
    overflow: hidden;
}

.awc-home-panel-head {
    min-height: 46px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    font-size: 20px;
}

.awc-home-panel-head button,
.awc-home-map-caption button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-size: 17px;
    cursor: pointer;
}

.awc-home-panel-head button b {
    margin-left: 4px;
    font-size: 24px;
    font-weight: 400;
    vertical-align: -2px;
}

.awc-home-chart {
    position: relative;
    height: 314px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.awc-home-chart::-webkit-scrollbar {
    display: none;
}

.awc-home-chart-track {
    position: relative;
    min-width: 1800px;
    height: 314px;
}

.awc-chart-temperatures,
.awc-chart-icons,
.awc-chart-rain,
.awc-chart-times {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    align-items: center;
    text-align: center;
}

.awc-chart-temperatures {
    top: 20px;
    color: #ffffff;
    font-size: 12px;
}

.awc-temperature-graph {
    position: absolute;
    top: 36px;
    left: 0;
    width: 100%;
    height: 165px;
}

.awc-chart-icons {
    top: 196px;
    font-size: 19px;
}

.awc-chart-rain {
    top: 238px;
    color: #ffffff;
    font-size: 10px;
}

.awc-chart-times {
    top: 272px;
    left: 0;
    right: 0;
    min-height: 42px;
    padding-top: 10px;
    background: rgba(56, 106, 169, 0.65);
    color: #ffffff;
    font-size: 10px;
}

.awc-home-daily-panel {
    padding-bottom: 10px;
}

.awc-home-daily-list {
    overflow-x: auto;
    padding: 17px 20px 0;
    scrollbar-color: rgba(255,255,255,0.42) transparent;
}

.awc-home-daily-row {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) 42px 65px 48px 45px;
    align-items: center;
    width: 100%;
    min-width: 360px;
    min-height: 40px;
    gap: 4px;
    padding: 4px 0;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-size: 16px;
    text-align: left;
}

.awc-home-daily-row:last-child {
    border-bottom: 0;
}

.awc-home-daily-row:not(.awc-home-yesterday) {
    cursor: pointer;
}

.awc-home-daily-row:not(.awc-home-yesterday):hover,
.awc-home-daily-row:not(.awc-home-yesterday):focus-visible {
    background: rgba(255,255,255,0.08);
    outline: 0;
}

.awc-home-yesterday {
    color: rgba(255,255,255,0.7);
}

.awc-home-daily-icon {
    font-size: 23px;
    text-align: center;
}

.awc-home-daily-row > span:nth-child(3) {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
}

.awc-home-daily-row strong {
    font-size: 18px;
    text-align: right;
}

.awc-home-daily-row em {
    color: rgba(255,255,255,0.6);
    font-size: 17px;
    font-style: normal;
    text-align: right;
}

.awc-home-simple-title {
    min-height: 47px;
    padding: 13px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    font-size: 20px;
}

.awc-sun-moon-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.awc-sun-block,
.awc-moon-block {
    min-width: 0;
    padding: 22px 14px 20px;
}

.awc-sun-block {
    border-right: 1px solid rgba(255,255,255,0.08);
}

.awc-sun-moon-label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    color: rgba(255,255,255,0.72);
    font-size: 13px;
}

.awc-sun-moon-label b {
    display: block;
    color: #ffffff;
    font-size: 14px;
}

.awc-sun-glyph,
.awc-moon-glyph {
    color: #dfe7ed;
    font-size: 34px;
}

.awc-moon-glyph {
    color: #d7c9a8;
}

.awc-arc {
    position: relative;
    height: 126px;
    margin: 8px auto 0;
    width: min(100%, 300px);
    overflow: visible;
}

.awc-arc svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.awc-arc path {
    fill: none;
    stroke-linecap: round;
}

.awc-arc-track {
    stroke: rgba(211,224,237,0.55);
    stroke-width: 3;
}

.awc-arc-progress {
    stroke: #ffad21;
    stroke-width: 4;
    stroke-dasharray: 0 1000;
    transition: stroke-dasharray 700ms ease, opacity 400ms ease;
}

.awc-moon-arc .awc-arc-track {
    stroke: rgba(211,224,237,0.7);
    stroke-width: 3;
    stroke-dasharray: 2 8;
}

.awc-moon-arc .awc-arc-progress {
    stroke: #ffad21;
    stroke-width: 4;
    stroke-dasharray: 0 1000;
}

.awc-arc i {
    position: absolute;
    top: calc(var(--awc-marker-y, 50) * 1%);
    left: calc(var(--awc-marker-x, 50) * 1%);
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.96);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.08), 0 1px 5px rgba(0,0,0,0.18);
    transform: translate(-50%, -50%);
    transition: left 700ms ease, top 700ms ease;
}

.awc-sun-arc i {
    background: #ffffff;
}

.awc-moon-arc i {
    width: 12px;
    height: 12px;
    background: #d8d0bf;
}

.awc-arc strong {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
}

.awc-arc.is-inactive .awc-arc-progress {
    opacity: 0.22;
}

.awc-arc.is-inactive i {
    opacity: 0.72;
}

.awc-moon-phase-glyph {
    display: inline-block;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #d8d0bf;
    box-shadow: inset -5px 0 0 rgba(92,116,158,0.55);
}

.awc-moon-phase-glyph.awc-phase-new {
    background: #7084a7;
    box-shadow: inset 0 0 0 rgba(92,116,158,0.55);
}

.awc-moon-phase-glyph.awc-phase-waxing-crescent {
    background: linear-gradient(90deg, #7084a7 0 67%, #d8d0bf 67%);
    box-shadow: none;
}

.awc-moon-phase-glyph.awc-phase-first-quarter {
    background: linear-gradient(90deg, #7084a7 0 50%, #d8d0bf 50%);
    box-shadow: none;
}

.awc-moon-phase-glyph.awc-phase-waxing-gibbous {
    background: linear-gradient(90deg, #7084a7 0 25%, #d8d0bf 25%);
    box-shadow: none;
}

.awc-moon-phase-glyph.awc-phase-full {
    background: #e5dccb;
    box-shadow: none;
}

.awc-moon-phase-glyph.awc-phase-waning-gibbous {
    background: linear-gradient(90deg, #d8d0bf 0 75%, #7084a7 75%);
    box-shadow: none;
}

.awc-moon-phase-glyph.awc-phase-last-quarter {
    background: linear-gradient(90deg, #d8d0bf 0 50%, #7084a7 50%);
    box-shadow: none;
}

.awc-moon-phase-glyph.awc-phase-waning-crescent {
    background: linear-gradient(90deg, #d8d0bf 0 33%, #7084a7 33%);
    box-shadow: none;
}

.awc-sun-times {
    display: flex;
    justify-content: space-around;
    gap: 5px;
    color: rgba(255,255,255,0.72);
    font-size: 12px;
    text-align: center;
}

.awc-sun-times b {
    display: block;
    color: #ffffff;
    font-size: 14px;
}

.awc-home-aqi-bar {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 67px;
    margin: 0 0 20px;
    padding: 0 20px;
    border: 0;
    border-radius: 5px;
    background: rgba(75, 123, 184, 0.56);
    color: #ffffff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.awc-home-aqi-bar strong {
    margin-right: auto;
    font-size: 18px;
}

.awc-home-aqi-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
}

.awc-home-aqi-bar em {
    color: rgba(255,255,255,0.88);
    font-size: 16px;
    font-style: normal;
}

.awc-home-aqi-bar i {
    font-size: 28px;
    font-style: normal;
}

.awc-home-map-card {
    position: relative;
    background: #dce5e4;
}

.awc-home-map-card .awc-live-radar-map,
.awc-home-map-card .awc-live-radar-map .leaflet-container {
    min-height: 188px;
}

.awc-home-map-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 58px;
    padding: 0 16px;
    background: rgba(50,50,50,0.84);
    color: #ffffff;
    font-size: 15px;
}

.awc-home-map-caption button {
    color: #bfe4ff;
    font-size: 15px;
    text-decoration: underline;
    white-space: nowrap;
}

.awc-health-preview {
    padding-bottom: 8px;
    overflow-x: auto;
    scrollbar-color: rgba(255,255,255,0.42) transparent;
}

.awc-health-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 360px;
    min-height: 52px;
    padding: 0 20px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-size: 18px;
    text-align: left;
    cursor: pointer;
}

.awc-health-row:last-child {
    border-bottom: 0;
}

.awc-health-row:hover,
.awc-health-row:focus-visible {
    background: rgba(255,255,255,0.08);
    outline: 0;
}

.awc-health-glyph {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 2px solid #70ead0;
    border-radius: 8px;
    color: #70ead0;
}

.awc-health-row strong {
    font-size: 18px;
    font-weight: 400;
}

.awc-home-secondary-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 10px;
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    scrollbar-width: none;
}

.awc-home-secondary-nav::-webkit-scrollbar {
    display: none;
}

.awc-home-secondary-nav span {
    flex: 0 0 auto;
    margin-right: 2px;
}

.awc-home-secondary-nav button {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,0.26);
    border-radius: 14px;
    background: transparent;
    color: #ffffff;
    font: inherit;
    cursor: pointer;
}

@media (max-width: 560px) {
    .awc-mobile-dashboard {
        padding-right: 0;
        padding-left: 0;
    }

    .awc-mobile-current-main {
        grid-template-columns: 70px minmax(82px, 1fr) minmax(110px, 1fr);
    }

    .awc-mobile-current-icon {
        font-size: 48px;
    }

    .awc-mobile-current-temperature {
        font-size: 52px;
    }

    .awc-mobile-current-copy strong {
        font-size: 17px;
    }

    .awc-mobile-current-copy small {
        font-size: 12px;
    }

    .awc-mobile-metrics {
        gap: 12px;
    }

    .awc-home-panel-head {
        padding-right: 16px;
        padding-left: 16px;
        font-size: 18px;
    }

    .awc-home-panel-head button {
        font-size: 14px;
    }

    .awc-home-daily-list {
        padding-right: 16px;
        padding-left: 16px;
    }

    .awc-home-daily-row {
        grid-template-columns: minmax(0, 1.55fr) 35px 55px 44px 40px;
        font-size: 14px;
    }

    .awc-home-daily-row strong,
    .awc-home-daily-row em {
        font-size: 16px;
    }

    .awc-sun-moon-content {
        grid-template-columns: 1fr;
    }

    .awc-sun-block {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .awc-moon-block {
        padding-top: 18px;
    }
}

/* ===================== Location-local day/night surface ===================== */

/*
 * The PHP render uses Open-Meteo's location-local current time and is_day
 * value for the first paint. The browser keeps that state current while the
 * page is open, so a visitor does not get stuck on a daytime surface after
 * sunset. Day keeps the supplied blue dashboard treatment unchanged.
 */
.awc-widget.awc-night-surface.awc-home-view {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(7, 14, 25, 0.98) 0%, rgba(11, 31, 53, 0.96) 48%, rgba(8, 35, 61, 0.98) 100%);
}

.awc-widget.awc-night-surface.awc-home-view::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: 0.9;
    background-image:
        radial-gradient(circle at 9% 12%, rgba(205, 229, 255, 0.72) 0 1px, transparent 1.7px),
        radial-gradient(circle at 23% 31%, rgba(163, 205, 246, 0.48) 0 1px, transparent 1.8px),
        radial-gradient(circle at 39% 17%, rgba(232, 244, 255, 0.62) 0 1px, transparent 1.6px),
        radial-gradient(circle at 58% 28%, rgba(174, 215, 255, 0.5) 0 1px, transparent 1.8px),
        radial-gradient(circle at 74% 11%, rgba(221, 239, 255, 0.62) 0 1px, transparent 1.7px),
        radial-gradient(circle at 91% 35%, rgba(159, 207, 253, 0.48) 0 1px, transparent 1.8px),
        radial-gradient(circle at 15% 56%, rgba(174, 216, 255, 0.38) 0 1px, transparent 1.7px),
        radial-gradient(circle at 49% 64%, rgba(218, 239, 255, 0.55) 0 1px, transparent 1.8px),
        radial-gradient(circle at 84% 72%, rgba(170, 214, 255, 0.46) 0 1px, transparent 1.8px),
        radial-gradient(circle at 6% 88%, rgba(220, 239, 255, 0.45) 0 1px, transparent 1.8px);
    background-size: 137px 173px, 211px 227px, 173px 199px, 257px 241px, 191px 263px,
        229px 181px, 181px 239px, 271px 211px, 223px 197px, 157px 229px;
}

.awc-widget.awc-night-surface.awc-home-view .awc-hero,
.awc-widget.awc-night-surface.awc-home-view .awc-home-tab-content,
.awc-widget.awc-night-surface.awc-home-view .awc-mobile-dashboard {
    background: transparent;
}

.awc-widget.awc-night-surface.awc-home-view .awc-home-panel,
.awc-widget.awc-night-surface.awc-home-view .awc-home-map-card {
    background: rgba(24, 58, 91, 0.7);
    box-shadow: 0 1px 0 rgba(188, 222, 255, 0.08);
}

.awc-widget.awc-night-surface.awc-home-view .awc-chart-times {
    background: rgba(11, 39, 71, 0.78);
}

.awc-widget.awc-night-surface.awc-home-view .awc-home-map-caption {
    background: rgba(5, 17, 31, 0.86);
}

/* The browser fallback uses the same surface until PHP data is available. */
.awc-client-weather-fallback.awc-night-surface {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(7, 14, 25, 0.98), rgba(8, 35, 61, 0.98)),
        radial-gradient(circle at 20% 20%, rgba(202, 230, 255, 0.4) 0 1px, transparent 2px);
}

.awc-client-weather-fallback.awc-day-surface {
    background: #2b61a3;
}
