/* 오클랜드 날씨 · 환율 — 블로그 (대시보드와 동일 기능) */
.nz-life-band {
  padding: clamp(2.5rem, 6vw, 3.5rem) var(--space-page-x);
  background: linear-gradient(165deg, #0b0f19 0%, var(--mission-forest-mid) 45%, rgba(5, 13, 22, 0.98) 100%);
  border-top: 1px solid rgba(34, 211, 238, 0.12);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.nz-life-inner {
  max-width: var(--hbg-layout-max-width);
  margin: 0 auto;
}

.nz-life-heading {
  font-family: "Noto Sans KR", system-ui, sans-serif;
  font-size: clamp(0.7rem, 1.6vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(110, 210, 150, 0.85);
  margin: 0 0 1.25rem;
  text-align: center;
}

.nz-life-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nz-life-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.nz-life-card {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nz-life-card h3 {
  margin: 0 0 0.85rem;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #67e8f9;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nz-weather-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.nz-weather-emoji {
  font-size: 2.25rem;
  line-height: 1;
}

.nz-weather-temp {
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}

.nz-weather-temp span {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

.nz-weather-feels {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: rgba(103, 232, 249, 0.9);
}

.nz-weather-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  text-align: center;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.75rem;
}

.nz-weather-stats strong {
  display: block;
  font-size: 0.8rem;
  color: #fff;
  margin-top: 0.15rem;
}

.nz-weather-stats .uv strong {
  color: #fcd34d;
}

.nz-laundry {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(6, 78, 59, 0.12) 100%);
  border: 1px solid rgba(34, 211, 238, 0.12);
}

.nz-laundry.tier-great {
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: inset 0 0 30px rgba(74, 222, 128, 0.06);
}

.nz-laundry.tier-bad {
  border-color: rgba(96, 165, 250, 0.25);
}

.nz-laundry-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nz-laundry-ring {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
}

.nz-laundry-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.nz-laundry-ring-fill {
  transition: stroke-dashoffset 0.6s ease, stroke 0.35s ease;
}

.nz-laundry-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.nz-laundry-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(34, 211, 238, 0.75);
  margin: 0 0 0.15rem;
}

.nz-laundry-title {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.nz-laundry-hint {
  margin: 0.2rem 0 0;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}

.nz-laundry-sky {
  font-size: 1.5rem;
  margin-left: auto;
}

.nz-laundry-clothes {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0.5rem 0;
  min-height: 2.5rem;
}

.nz-laundry-bar {
  display: flex;
  gap: 2px;
  height: 4px;
  margin-top: 0.5rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.nz-laundry-bar span {
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.4s ease, opacity 0.4s ease;
}

.nz-laundry-bar span.on {
  opacity: 1;
}

.nz-fx-rate-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
}

.nz-fx-rate-row label {
  color: rgba(103, 232, 249, 0.95);
  font-weight: 600;
}

.nz-fx-rate-row input[type="number"] {
  width: 5.5rem;
  padding: 0.35rem 0.5rem;
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  color: #fff;
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 0.5rem;
}

.nz-fx-rate-row input:focus {
  outline: none;
  border-color: #22d3ee;
}

.nz-fx-reset {
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  color: rgba(255, 255, 255, 0.45);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.35rem;
  cursor: pointer;
}

.nz-fx-reset:hover {
  color: #67e8f9;
  border-color: rgba(34, 211, 238, 0.35);
}

.nz-fx-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.nz-fx-grid label {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.2rem;
}

.nz-fx-grid input {
  width: 100%;
  padding: 0.45rem 0.5rem;
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(2, 6, 23, 0.75);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 0.5rem;
}

.nz-fx-grid input:focus {
  outline: none;
  border-color: #22d3ee;
}

.nz-life-loading {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.nz-life-dash-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.75rem;
}

.nz-life-dash-link a {
  color: rgba(212, 175, 55, 0.9);
  text-decoration: none;
}

.nz-life-dash-link a:hover {
  text-decoration: underline;
}

/* 환율 그래프 · 좋음/나쁨 */
.nz-fx-viz {
  margin: 0.75rem 0;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 27, 55, 0.35) 100%);
  border: 1px solid rgba(34, 211, 238, 0.12);
}

.nz-fx-viz.tier-great {
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: inset 0 0 28px rgba(74, 222, 128, 0.06);
}

.nz-fx-viz.tier-bad {
  border-color: rgba(248, 113, 113, 0.3);
}

.nz-fx-viz-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.nz-fx-ring {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
}

.nz-fx-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.nz-fx-ring-fill {
  transition: stroke-dashoffset 0.6s ease, stroke 0.35s ease;
}

.nz-fx-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.nz-fx-viz-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(34, 211, 238, 0.75);
  margin: 0 0 0.1rem;
}

.nz-fx-viz-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
}

.nz-fx-viz-hint {
  margin: 0.15rem 0 0;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.42);
}

.nz-fx-viz-emoji {
  font-size: 1.35rem;
  margin-left: auto;
}

.nz-fx-scale-wrap {
  margin-bottom: 0.5rem;
}

.nz-fx-scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 0.25rem;
}

.nz-fx-scale-track {
  position: relative;
  height: 0.65rem;
  border-radius: 999px;
  overflow: visible;
  background: linear-gradient(
    90deg,
    #f87171 0%,
    #fb923c 18%,
    #fbbf24 38%,
    #38bdf8 62%,
    #4ade80 100%
  );
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
}

.nz-fx-scale-marker {
  position: absolute;
  top: 50%;
  width: 3px;
  height: 1.1rem;
  margin-top: -0.55rem;
  margin-left: -1.5px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.85), 0 0 6px rgba(34, 211, 238, 0.6);
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.nz-fx-scale-marker::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: #fff;
}

.nz-fx-scale-base {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.55);
  z-index: 1;
  transition: left 0.4s ease;
}

.nz-fx-scale-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.55rem;
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.35);
}

.nz-fx-scale-legend .bad {
  color: #fca5a5;
}

.nz-fx-scale-legend .good {
  color: #86efac;
}

.nz-fx-spark {
  height: 2.25rem;
  margin-top: 0.35rem;
}

.nz-fx-spark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nz-fx-spark-line {
  fill: none;
  stroke: rgba(103, 232, 249, 0.85);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nz-fx-spark-area {
  fill: url(#nzFxSparkGrad);
  opacity: 0.35;
}

.nz-fx-diff {
  font-size: 0.62rem;
  text-align: center;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.5);
}

.nz-fx-diff strong {
  font-weight: 600;
}
