.ish-weer {
    --ish-weer-accent: #1677ff;
    background: linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
    border: 1px solid #d9e7f7;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(20, 55, 90, 0.10);
    color: #172033;
    font-family: inherit;
    margin: 24px 0;
    max-width: 680px;
    overflow: hidden;
    padding: 22px;
}

.ish-weer--wide {
    max-width: 100%;
}

.ish-weer--compact {
    max-width: 420px;
    padding: 18px;
}

.ish-weer__top,
.ish-weer__main,
.ish-weer__stats {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.ish-weer__title {
    color: #111827;
    font-size: 26px;
    line-height: 1.15;
    margin: 0;
}

.ish-weer__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.ish-weer__button {
    background: var(--ish-weer-accent);
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 11px 14px;
}

.ish-weer__button--ghost {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
}

.ish-weer__button:focus,
.ish-weer__button:hover {
    filter: brightness(.92);
}

.ish-weer__status {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #1d4ed8;
    font-size: 14px;
    margin: 14px 0 0;
    padding: 10px 12px;
}

.ish-weer__status.is-error {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

.ish-weer__main {
    border-bottom: 1px solid #dbeafe;
    border-top: 1px solid #dbeafe;
    margin-top: 18px;
    padding: 18px 0;
}

.ish-weer__temp {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 150px;
}

.ish-weer__temp img {
    height: 52px;
    width: 52px;
}

.ish-weer__temp strong {
    color: #0f172a;
    font-size: 34px;
    line-height: 1;
    white-space: nowrap;
}

.ish-weer__summary {
    flex: 1;
    min-width: 0;
    text-align: right;
}

.ish-weer__summary h3,
.ish-weer__forecast h3 {
    color: #111827;
    font-size: 18px;
    margin: 0 0 6px;
}

.ish-weer__summary p,
.ish-weer__forecast p,
.ish-weer__source {
    color: #475569;
    margin: 0;
}

.ish-weer__summary .ish-weer__station-note {
    color: #64748b;
    font-size: 13px;
    margin-top: 6px;
}

.ish-weer__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
}

.ish-weer__stats--1 {
    grid-template-columns: minmax(0, 1fr);
}

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

.ish-weer__stats div {
    background: rgba(255, 255, 255, .76);
    border: 1px solid #e5eef9;
    border-radius: 8px;
    padding: 12px;
}

.ish-weer__stats span {
    color: #64748b;
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.ish-weer__stats strong {
    color: #111827;
    display: block;
    font-size: 16px;
}

.ish-weer__forecast {
    margin-top: 18px;
}

.ish-weer__source {
    font-size: 13px;
    margin-top: 14px;
}

.ish-weer__source a {
    color: var(--ish-weer-accent);
    font-weight: 700;
}

.ish-weer__notice {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #9a3412;
    margin-top: 18px;
    padding: 14px;
}

.ish-weer.is-loading {
    opacity: .65;
    pointer-events: none;
}

.ish-weer--dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-color: #334155;
    color: #e2e8f0;
}

.ish-weer--dark .ish-weer__title,
.ish-weer--dark .ish-weer__temp strong,
.ish-weer--dark .ish-weer__summary h3,
.ish-weer--dark .ish-weer__forecast h3,
.ish-weer--dark .ish-weer__stats strong,
.ish-weer--dark .ish-weer__days strong,
.ish-weer--dark .ish-weer__advice strong,
.ish-weer--dark .ish-weer__bike strong {
    color: #f8fafc;
}

.ish-weer--dark .ish-weer__summary p,
.ish-weer--dark .ish-weer__forecast p,
.ish-weer--dark .ish-weer__source,
.ish-weer--dark .ish-weer__station-note,
.ish-weer--dark .ish-weer__days p,
.ish-weer--dark .ish-weer__days span,
.ish-weer--dark .ish-weer__advice span,
.ish-weer--dark .ish-weer__bike span {
    color: #cbd5e1;
}

.ish-weer--dark .ish-weer__main {
    border-color: #334155;
}

.ish-weer--dark .ish-weer__stats div,
.ish-weer--dark .ish-weer__days div,
.ish-weer--dark .ish-weer__advice,
.ish-weer--dark .ish-weer__bike {
    background: rgba(15, 23, 42, .72);
    border-color: #334155;
}

.ish-weer--dark .ish-weer__button--ghost {
    background: #1e293b;
    border-color: #475569;
    color: #f8fafc;
}

.ish-weer--mini,
.ish-weer--sidebar {
    max-width: 360px;
}

.ish-weer--mini .ish-weer__actions,
.ish-weer--mini .ish-weer__forecast,
.ish-weer--mini .ish-weer__source,
.ish-weer--obs .ish-weer__actions,
.ish-weer--obs .ish-weer__forecast,
.ish-weer--obs .ish-weer__source {
    display: none;
}

.ish-weer--obs {
    background: rgba(15, 23, 42, .82);
    border-color: rgba(255, 255, 255, .18);
    box-shadow: none;
    max-width: 420px;
}

.ish-weer__alert {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #9a3412;
    font-weight: 700;
    margin-top: 14px;
    padding: 12px;
}

.ish-weer__days {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
}

.ish-weer__days div,
.ish-weer__advice,
.ish-weer__bike {
    background: rgba(255, 255, 255, .76);
    border: 1px solid #e5eef9;
    border-radius: 8px;
    padding: 12px;
}

.ish-weer__days span {
    color: #64748b;
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
}

.ish-weer__days strong {
    color: #111827;
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

.ish-weer__days p {
    color: #475569;
    font-size: 13px;
    margin: 0;
}

.ish-weer__advice,
.ish-weer__bike {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 12px;
}

.ish-weer__advice strong,
.ish-weer__bike strong {
    color: #111827;
    white-space: nowrap;
}

.ish-weer__advice span,
.ish-weer__bike span {
    color: #475569;
    text-align: right;
}

.ish-weer__radar {
    margin: 16px 0 0;
}

.ish-weer__radar .ish-weer__button {
    display: inline-block;
    text-decoration: none;
}

.ish-weer-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin: 24px 0;
}

.ish-weer-grid .ish-weer {
    margin: 0;
}

.ish-weer-event-note {
    color: #475569;
    font-size: 14px;
    margin: -12px 0 22px;
}

@media (max-width: 560px) {
    .ish-weer {
        padding: 18px;
    }

    .ish-weer__top,
    .ish-weer__main {
        align-items: flex-start;
        flex-direction: column;
    }

    .ish-weer__summary {
        text-align: left;
    }

    .ish-weer__actions {
        justify-content: flex-start;
        width: 100%;
    }

    .ish-weer__button {
        flex: 1;
        min-width: 140px;
    }

    .ish-weer__stats {
        grid-template-columns: 1fr;
    }

    .ish-weer__days {
        grid-template-columns: 1fr;
    }

    .ish-weer__advice,
    .ish-weer__bike {
        align-items: flex-start;
        flex-direction: column;
    }

    .ish-weer__advice span,
    .ish-weer__bike span {
        text-align: left;
    }
}
