/* ===== 地震・気温のライブ情報 ===== */
.live-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 7px 10px 5px;
  color: #fff;
  background: var(--screen);
  border: 2px solid var(--cab-edge);
  border-radius: 10px;
  box-shadow: inset 0 0 16px rgba(24, 213, 255, 0.14);
}
.live-item {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
  overflow: hidden;
  font-size: 0.78rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.live-label {
  flex: 0 0 auto;
  color: var(--neon-yellow);
  font-family: var(--font-pixel);
  font-size: 0.72rem;
}
.live-item > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #e9f8ff;
}
.live-item strong { color: var(--neon-green); font-size: 0.95rem; }
.live-item span span { color: #a9c4d8; margin-left: 4px; }
.live-item small {
  color: #8eabc1;
  margin-left: 4px;
  font-size: 0.7rem;
}
.live-weather strong { color: var(--neon-cyan); }
.live-tools {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.live-tools small { color: #8eabc1; font-size: 0.68rem; }
.live-tools button {
  width: 27px;
  height: 27px;
  padding: 0;
  color: var(--neon-cyan);
  background: transparent;
  border: 1px solid var(--neon-cyan);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.live-tools button:hover { color: #fff; border-color: var(--neon-pink); }
.live-tools button:disabled { opacity: 0.45; cursor: wait; }
.live-source {
  grid-column: 1 / -1;
  margin: 0;
  color: #758da2;
  font-size: 0.64rem;
  text-align: right;
}
.live-source a { color: #91cde3; }
.live-error { color: #ffb2c9; }

/* ===== 週間予報・外部ニュース ===== */
.external-info {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 1fr);
  gap: 8px;
  margin: 0 0 10px;
}
.external-panel {
  min-width: 0;
  padding: 8px 10px;
  color: #e9f8ff;
  background: var(--screen);
  border: 2px solid var(--cab-edge);
  border-radius: 10px;
  box-shadow: inset 0 0 16px rgba(24, 213, 255, 0.1);
}
.external-title {
  margin: 0 0 7px;
  color: var(--neon-yellow);
  font-family: var(--font-pixel);
  font-size: 0.78rem;
  font-weight: 400;
}
.external-title small { color: #8eabc1; font-family: inherit; font-size: 0.7rem; }
.forecast-list { display: grid; grid-template-columns: repeat(7, minmax(62px, 1fr)); gap: 4px; overflow-x: auto; }
.forecast-day {
  display: flex;
  min-width: 62px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 2px;
  border-right: 1px solid rgba(145, 205, 227, 0.18);
  font-size: 0.68rem;
}
.forecast-day:last-child { border-right: 0; }
.forecast-day > b { color: #d8effa; font-size: 0.68rem; }
.forecast-icon { height: 1.35rem; font-size: 1.15rem; }
.forecast-temp { color: #a9c4d8; white-space: nowrap; }
.forecast-temp strong { color: #ff9f9f; }
.forecast-day small { color: #91cde3; font-size: 0.65rem; }
.external-loading { margin: 0; color: #8eabc1; font-size: 0.75rem; }
.news-list { display: flex; flex-direction: column; gap: 4px; }
.news-item {
  display: block;
  min-width: 0;
  padding: 4px 6px;
  color: #e9f8ff;
  border-left: 2px solid var(--neon-cyan);
  text-decoration: none;
}
.news-item:hover { background: rgba(24, 213, 255, 0.1); border-left-color: var(--neon-pink); }
.news-item strong {
  display: block;
  overflow: hidden;
  font-size: 0.74rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-item small { display: block; overflow: hidden; color: #8eabc1; font-size: 0.63rem; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 760px) {
  .live-info { grid-template-columns: 1fr 1fr; }
  .live-tools { justify-content: flex-end; }
  .live-source { text-align: left; }
  .external-info { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .live-info { grid-template-columns: 1fr; gap: 5px; }
  .live-tools { justify-content: space-between; }
  .live-item { font-size: 0.74rem; }
  .live-source { font-size: 0.6rem; }
}
