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

* { box-sizing: border-box; }

.awc-root {
    width: 100%;
    max-width: none;
    margin: 0;
    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;
}

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

.awc-hourly-scroll {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding: 10px 12px 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; }
}
