/* ==============================
   今日の鹿児島ウィジェット（inc/today/）
============================== */
.kt {
    background: #fff;
    padding: 12px 12px 10px;
    margin: 0 auto 8px;
    max-width: 680px;
    border-bottom: 2px solid #f0f0f0;
}
.kt-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.kt-title {
    font-size: .82rem;
    font-weight: 900;
    color: #c62828;
    letter-spacing: .04em;
    padding-bottom: 6px;
    border-bottom: 2px solid #c62828;
}
.kt-date { font-size: .72rem; color: #999; white-space: nowrap; }

.kt-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}
@media (min-width: 520px) {
    .kt--main .kt-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.kt-card {
    display: block;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px 12px;
    color: inherit;
}
a.kt-card:hover { background: #f5f5f5; }
.kt-card-title { font-size: .86rem; font-weight: 800; color: #1a1a1a; }
.kt-sub  { font-size: .72rem; color: #888; }
.kt-note { font-size: .68rem; color: #aaa; margin-top: 4px; }
.kt-sr {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

/* 警報・注意報の帯 */
.kt-alert {
    display: block;
    border-radius: 10px;
    padding: 9px 12px;
    margin-bottom: 8px;
    font-size: .84rem;
    line-height: 1.5;
}
.kt-alert--warn     { background: #fdecea; border: 1px solid #f5a9a3; color: #8e1c1c; }
.kt-alert--severe   { background: #6d1b7b; border: 1px solid #4a0f55; color: #fff; }
.kt-alert--advisory { background: #fff8e1; border: 1px solid #f3d27a; color: #7a5200; }
.kt-alert-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.kt-alert-line + .kt-alert-line { margin-top: 2px; }
.kt-alert-line strong { font-weight: 900; }
.kt-alert-areas { font-size: .76rem; }
.kt-alert-sub   { display: block; font-size: .74rem; margin-top: 4px; }
.kt-alert-more  { display: block; font-size: .72rem; margin-top: 4px; text-decoration: underline; }

/* 天気 */
.kt-weather-main { display: flex; align-items: center; gap: 10px; }
.kt-weather-icon { font-size: 2rem; line-height: 1; }
.kt-weather-body { flex: 1; min-width: 0; }
.kt-weather-text { font-size: .9rem; font-weight: 800; line-height: 1.35; }
.kt-temps { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.kt-max { font-size: 1.3rem; font-weight: 900; color: #c62828; }
.kt-min { font-size: .9rem; font-weight: 700; color: #1565c0; }
.kt-pop { font-size: .7rem; color: #666; margin-top: 2px; white-space: nowrap; }
.kt-weather-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 10px;
    margin-top: 8px;
    padding-top: 7px;
    border-top: 1px solid #eee;
    font-size: .72rem;
    color: #666;
}

/* 降灰 */
.kt-ash-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.kt-ash-icon { font-size: 1.5rem; line-height: 1; }
.kt-ash-tip  { font-size: .78rem; color: #444; margin-top: 4px; }
.kt-ash-list { list-style: none; margin-top: 6px; font-size: .74rem; color: #555; }
.kt-ash-list li { display: flex; gap: 8px; padding: 1px 0; }
.kt-ash-time { flex: 0 0 5.2em; color: #888; white-space: nowrap; }

/* 状態ピル */
.kt-pill {
    display: inline-block;
    font-size: .74rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 999px;
    white-space: nowrap;
}
.kt-pill--ok   { background: #e8f5e9; color: #1b5e20; }
.kt-pill--ng   { background: #fdecea; color: #b71c1c; }
.kt-pill--warn { background: #fff4e0; color: #8a4b00; }

/* 交通 */
.kt-traffic-list { list-style: none; margin-top: 6px; }
.kt-traffic-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
    font-size: .82rem;
    border-top: 1px solid #f0f0f0;
}
.kt-traffic-list li:first-child { border-top: none; }
.kt-link { font-size: .74rem; color: #c62828; white-space: nowrap; }
.kt-link:hover { text-decoration: underline; }
.kt-details { margin-top: 6px; font-size: .78rem; color: #444; }
.kt-details summary { cursor: pointer; color: #c62828; font-weight: 700; }
.kt-details p { margin: 6px 0; line-height: 1.6; }

.kt-credit { font-size: .66rem; color: #aaa; margin-top: 8px; line-height: 1.5; }

/* PC サイドバー版 */
.kt--sidebar {
    max-width: none;
    margin: 0;
    padding: 0;
    border-bottom: none;
    background: transparent;
}
.kt--sidebar .kt-title {
    border-bottom: none;
    padding-bottom: 0;
    font-size: .88rem;
}

@media (min-width: 960px) {
    .kt--main { max-width: none; margin: 0 0 10px; border-radius: 12px; }
}
