
/* ============================================================
   우리집 보드 — design proposal
   ============================================================ */
:root {
  --paper: #f1ece2;
  --paper-deep: #e9e2d4;
  --cream: #fbf6ec;
  --ink: #17221e;
  --ink-soft: #3f4c45;
  --muted: #5e6962;
  --line: rgba(23, 34, 30, .14);
  --line-soft: rgba(23, 34, 30, .08);
  --forest: #14231e;
  --forest-2: #1b3028;
  --accent: #c25536;
  --accent-deep: #9e3e25;
  --gold: #c79a3a;
  --sage: #5f7f6a;
  --sky: #6e8fa3;
  --serif: "Gowun Batang", "AppleMyungjo", "Nanum Myeongjo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: rgba(194, 85, 54, .2); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
h1, h2, h3, h4, p { margin: 0; }

.wrap { width: min(1240px, calc(100% - 72px)); margin-inline: auto; }
.serif { font-family: var(--serif); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.on-dark { color: rgba(251, 246, 236, .55); }

/* ---------- icon defaults ---------- */
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 236, 226, .82);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.nav-inner {
  width: min(1240px, calc(100% - 72px)); margin-inline: auto;
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 11px; }
.nav-mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--forest); color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 14px; font-weight: 700; line-height: 1;
  padding-bottom: 1px;
}
.nav-mark .icon { width: 14px; height: 14px; }
.nav-word { font-family: var(--serif); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.nav-tag {
  margin-left: 4px; padding-left: 14px; border-left: 1px solid var(--line);
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a {
  position: relative; font-size: 13px; font-weight: 500; color: var(--ink-soft);
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-date {
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--muted);
  padding: 6px 11px; border: 1px solid var(--line); border-radius: 99px;
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(199, 154, 58, .14), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(95, 127, 106, .08), transparent 34%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px;
  min-height: calc(100vh - 68px); padding: 88px 0 94px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 34px; }
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(54px, 7vw, 94px); line-height: 1.12; letter-spacing: -.055em;
  word-break: keep-all;
}
.hero h1 .accent {
  color: var(--accent); position: relative; display: inline-block;
}
.hero h1 .accent::after {
  content: ""; position: absolute; left: 2%; right: 1%; bottom: 5%; height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7C48 2 150 1 198 5' stroke='%23c25536' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  opacity: .45;
}
.hero-lede {
  max-width: 520px; margin-top: 32px;
  font-size: 16.5px; line-height: 1.85; color: var(--ink-soft); word-break: keep-all;
}
.hero-lede strong { font-weight: 600; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 38px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 99px;
  font-size: 13.5px; font-weight: 600; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: #20362e; }
.btn-primary .icon { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.btn-primary:hover .icon { transform: translateX(3px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink-soft); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 48px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.hero-art {
  position: relative; min-height: 540px; isolation: isolate;
  display: flex; align-items: center; justify-content: center;
}
.hero-sun {
  position: absolute; top: 8%; right: 3%; width: 410px; height: 410px; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #f6d187 0%, #e8b759 44%, #d19c3d 72%, #c18e34 100%);
  box-shadow: 0 40px 90px rgba(193, 142, 52, .28);
  z-index: -1;
}
.hero-sun::after {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, rgba(255, 248, 226, .5), transparent 60%);
}
.hero-orbit {
  position: absolute; top: -2%; right: -8%; width: 540px; height: 540px; border-radius: 50%;
  border: 1px dashed rgba(23, 34, 30, .18); z-index: -1;
}
.hero-orbit::before {
  content: ""; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px rgba(194, 85, 54, .12);
}
.hero-card {
  position: relative; width: min(360px, 84%); padding: 30px 30px 26px;
  background: rgba(251, 246, 236, .92); border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 4px; box-shadow: 0 34px 70px rgba(28, 40, 34, .18), 0 2px 0 rgba(255, 255, 255, .6) inset;
  transform: rotate(-2.4deg);
  backdrop-filter: blur(8px);
}
.hero-card::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 64px; height: 18px;
  background: rgba(199, 154, 58, .32); transform: translateX(-50%) rotate(1deg);
  box-shadow: 0 1px 2px rgba(23, 34, 30, .08);
}
.hc-top { display: flex; justify-content: space-between; align-items: baseline; }
.hc-label { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.hc-date { font-family: var(--mono); font-size: 9px; letter-spacing: .06em; color: var(--muted); }
.hc-time {
  margin-top: 18px; font-size: 58px; font-weight: 600; line-height: .95; letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.hc-time span { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-left: 6px; }
.hc-place { margin-top: 8px; font-size: 12px; color: var(--muted); }
.hc-rule { height: 1px; background: var(--line); margin: 22px 0 18px; }
.hc-weather { display: flex; align-items: center; justify-content: space-between; }
.hc-weather-left { display: flex; align-items: center; gap: 11px; }
.hc-weather-left .icon { width: 25px; height: 25px; color: var(--gold); }
.hc-weather-left strong { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.hc-weather-left span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.hc-next { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 15px; border-top: 1px dashed var(--line); }
.hc-next .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.hc-next p { font-size: 11.5px; color: var(--ink-soft); line-height: 1.5; }
.hc-next p span { display: block; font-size: 9.5px; color: var(--muted); letter-spacing: .02em; }
.hero-stamp {
  position: absolute; right: 6%; bottom: 10%; width: 74px; height: 74px; border-radius: 50%;
  border: 1px solid rgba(194, 85, 54, .55); color: var(--accent);
  display: grid; place-items: center; transform: rotate(11deg);
  font-family: var(--serif); font-size: 23px; font-weight: 700; letter-spacing: .05em;
  background: rgba(241, 236, 226, .6); backdrop-filter: blur(4px);
}
.hero-stamp::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px dashed rgba(194, 85, 54, .35); }
.hero-caption {
  position: absolute; left: 0; bottom: 2%; display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase;
}
.hero-caption::before { content: ""; width: 34px; height: 1px; background: var(--line); }
/* ---------- principles ---------- */
.principles { padding: 96px 0 100px; }
.principles-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.principles-head h2 {
  font-family: var(--serif); font-size: clamp(34px, 4.2vw, 54px); line-height: 1.25; letter-spacing: -.045em; font-weight: 700;
}
.principles-head p { max-width: 360px; font-size: 14px; line-height: 1.8; color: var(--muted); word-break: keep-all; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principle {
  position: relative; padding: 34px 34px 10px 0;
  border-right: 1px solid var(--line);
}
.principle:last-child { border-right: 0; }
.principle + .principle { padding-left: 34px; }
.principle-num {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--accent);
  display: flex; align-items: center; gap: 10px;
}
.principle-num::after { content: ""; height: 1px; width: 26px; background: currentColor; opacity: .4; }
.principle h3 { margin-top: 24px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.principle p { margin-top: 10px; max-width: 300px; font-size: 13.5px; line-height: 1.8; color: var(--muted); word-break: keep-all; }
.principle-glyph { position: absolute; right: 26px; top: 30px; color: var(--line); }
.principle-glyph .icon { width: 34px; height: 34px; stroke-width: 1; }

/* ---------- main screen section ---------- */
#main, #surfaces, #system { scroll-margin-top: 88px; }
.main-screen {
  position: relative; overflow: hidden; padding: 112px 0 86px;
  background: var(--forest); color: var(--cream);
}
.main-screen::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(215, 160, 84, .16), transparent 46%),
    radial-gradient(ellipse at 12% 8%, rgba(95, 127, 106, .16), transparent 38%),
    linear-gradient(180deg, #14231e 0%, #11201b 100%);
}
.main-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}
.main-screen .wrap { position: relative; z-index: 1; }
.ms-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.ms-title h2 {
  margin-top: 20px; font-family: var(--serif); font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.2; letter-spacing: -.05em; font-weight: 700;
}
.ms-title p { max-width: 480px; margin-top: 15px; font-size: 14px; line-height: 1.85; color: rgba(251, 246, 236, .6); word-break: keep-all; }
.ms-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 11px; flex: 0 0 auto; padding-bottom: 4px; }
.control-group {
  display: inline-flex; align-items: center; gap: 3px; padding: 4px;
  border: 1px solid rgba(251, 246, 236, .16); border-radius: 99px; background: rgba(251, 246, 236, .045);
}
.control-label {
  padding: 0 10px 0 12px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(251, 246, 236, .42);
}
.control-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 31px; padding: 0 15px;
  border: 0; border-radius: 99px; background: transparent; color: rgba(251, 246, 236, .58);
  font-size: 11.5px; font-weight: 500; cursor: pointer; transition: all .25s var(--ease);
}
.control-btn .icon { width: 12px; height: 12px; }
.control-btn:hover { color: var(--cream); }
.control-btn[aria-pressed="true"] { background: var(--cream); color: var(--forest); font-weight: 600; }
.tv-shell { position: relative; margin-top: 54px; }
.tv {
  position: relative; max-width: 1180px; margin-inline: auto; padding: 13px;
  background: linear-gradient(155deg, #283832, #0a120f 42%, #17241f);
  border-radius: 20px;
  box-shadow:
    0 70px 140px rgba(0, 0, 0, .55),
    0 18px 40px rgba(0, 0, 0, .35),
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    inset 0 1px 0 rgba(255, 255, 255, .14);
}
.tv::after {
  content: ""; position: absolute; inset: 13px; border-radius: 9px; pointer-events: none; z-index: 5;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5);
}
.tv-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px; background: #0d1512; }
.tv-bezel-label {
  position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%);
  font-family: var(--mono); font-size: 8px; letter-spacing: .22em; color: rgba(251, 246, 236, .25);
}
.tv-captions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1180px; margin: 68px auto 0;
  border-top: 1px solid rgba(251, 246, 236, .14);
}
.tv-caption { padding: 24px 30px 0 0; border-right: 1px solid rgba(251, 246, 236, .14); }
.tv-caption + .tv-caption { padding-left: 30px; }
.tv-caption:last-child { border-right: 0; }
.tv-caption span {
  display: block; margin-bottom: 9px; font-family: var(--mono); font-size: 8.5px;
  letter-spacing: .13em; color: rgba(251, 246, 236, .38); text-transform: uppercase;
}
.tv-caption strong { display: block; font-size: 14px; font-weight: 600; color: var(--cream); letter-spacing: -.01em; }
.tv-caption p { margin-top: 6px; font-size: 12px; line-height: 1.7; color: rgba(251, 246, 236, .5); word-break: keep-all; }

/* ---------- surfaces ---------- */
.surfaces { padding: 112px 0 120px; }
.surfaces-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 58px; align-items: start; }
.surfaces-copy { position: sticky; top: 104px; }
.surfaces-copy h2 {
  margin-top: 20px; font-family: var(--serif); font-size: clamp(34px, 3.2vw, 42px);
  line-height: 1.25; letter-spacing: -.045em; font-weight: 700; word-break: keep-all;
}
.surfaces-copy > p { margin-top: 18px; font-size: 14px; line-height: 1.85; color: var(--muted); word-break: keep-all; }
.surface-list { margin-top: 34px; border-top: 1px solid var(--line); }
.surface-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.surface-item strong { font-size: 13px; font-weight: 600; }
.surface-item span { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.device-stage { display: flex; align-items: flex-start; gap: 30px; min-width: 0; }
.device { min-width: 0; }
.device--tablet { flex: 0 1 600px; width: 600px; max-width: 100%; }
.device--phone { flex: 0 0 252px; width: 252px; margin-top: 72px; }
.device-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.device-label strong { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.device-label span { font-size: 10px; color: var(--muted); }
.device-frame {
  position: relative; padding: 10px; border-radius: 22px;
  background: linear-gradient(145deg, #3a4741, #101a16 55%);
  box-shadow: 0 40px 70px rgba(23, 34, 30, .22), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.device--tablet .device-frame { padding: 12px; border-radius: 24px; }
.device--phone .device-frame { padding: 8px; border-radius: 32px; }
.device-screen { overflow: hidden; background: #0f1e1a; }
.device--tablet .device-screen { border-radius: 13px; aspect-ratio: 4 / 3; }
.device--phone .device-screen { border-radius: 25px; aspect-ratio: 9 / 19.5; }
.device-note { margin-top: 15px; font-size: 11.5px; line-height: 1.7; color: var(--muted); word-break: keep-all; }
.device-note strong { display: block; margin-bottom: 3px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
/* ---------- design system ---------- */
.system { padding: 108px 0 118px; background: var(--paper-deep); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.system-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 54px; }
.system-head h2 {
  margin-top: 20px; font-family: var(--serif); font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.22; letter-spacing: -.045em; font-weight: 700;
}
.system-head p { max-width: 380px; font-size: 13.5px; line-height: 1.85; color: var(--muted); word-break: keep-all; }
.palette { display: grid; grid-template-columns: repeat(8, 1fr); gap: 9px; }
.swatch { min-width: 0; }
.swatch-chip {
  position: relative; height: 110px; border-radius: 9px; border: 1px solid rgba(23, 34, 30, .08);
  display: flex; align-items: flex-end; padding: 10px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .04em;
  transition: transform .3s var(--ease);
}
.swatch:hover .swatch-chip { transform: translateY(-4px); }
.swatch-name { margin-top: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: -.01em; }
.swatch-use { margin-top: 1px; font-size: 9.5px; color: var(--muted); }
.system-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: 22px; margin-top: 44px; }
.spec-card { background: var(--cream); border: 1px solid rgba(23, 34, 30, .09); border-radius: 12px; padding: 30px 32px; }
.spec-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.spec-card-head h3 { font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.spec-card-head span { font-family: var(--mono); font-size: 8px; letter-spacing: .13em; color: var(--muted); text-transform: uppercase; }
.type-specimen { display: flex; align-items: center; gap: 30px; padding: 26px 0 24px; border-bottom: 1px solid var(--line); }
.type-han { font-family: var(--serif); font-size: 96px; line-height: 1; font-weight: 700; letter-spacing: -.08em; color: var(--ink); flex: 0 0 auto; }
.type-meta { min-width: 0; }
.type-meta strong { display: block; font-family: var(--serif); font-size: 26px; line-height: 1.3; letter-spacing: -.03em; }
.type-meta span { display: block; margin-top: 5px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; color: var(--muted); }
.type-row { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.type-row:last-child { border-bottom: 0; padding-bottom: 0; }
.type-row dt { font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.type-row dd { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.type-row dd small { margin-left: 8px; font-size: 10px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.type-row dd.num { font-size: 26px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.comp-stack { display: flex; flex-direction: column; gap: 18px; padding-top: 22px; }
.comp-label { font-family: var(--mono); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fam-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 99px;
  background: var(--chip-bg); color: var(--chip-text); font-size: 11px; font-weight: 600;
}
.fam-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--chip-dot); }
.fam-chip.mom { --chip-bg: #e2ebe3; --chip-text: #3c5d47; --chip-dot: #5f7f6a; }
.fam-chip.dad { --chip-bg: #e1eaef; --chip-text: #365768; --chip-dot: #6e8fa3; }
.fam-chip.minjun { --chip-bg: #f6e0d5; --chip-text: #883b22; --chip-dot: #c25536; }
.fam-chip.family { --chip-bg: #f1e6c6; --chip-text: #6c5316; --chip-dot: #b18a2e; }
.mini-event {
  display: flex; align-items: center; gap: 14px; padding: 13px 15px;
  background: #f7f1e6; border: 1px solid rgba(23, 34, 30, .07); border-radius: 8px;
}
.mini-event time { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mini-event .bar { width: 2px; height: 28px; border-radius: 2px; background: var(--accent); }
.mini-event div { min-width: 0; }
.mini-event strong { display: block; font-size: 12.5px; font-weight: 600; }
.mini-event span { display: block; font-size: 10px; color: var(--muted); margin-top: 1px; }
.mini-event .badge { margin-left: auto; font-size: 8.5px; font-weight: 600; color: var(--accent-deep); background: rgba(194, 85, 54, .1); padding: 4px 8px; border-radius: 99px; white-space: nowrap; }
.mini-cal {
  width: 176px; margin-top: 9px; padding: 13px 14px 14px;
  background: #f7f1e6; border: 1px solid rgba(194, 85, 54, .24);
  border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .55) inset;
}
.mc-head { display: flex; align-items: baseline; justify-content: space-between; }
.mc-head span { font-size: 9px; font-weight: 600; color: var(--accent); letter-spacing: .08em; }
.mc-head strong { font-size: 25px; line-height: 1; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.mc-pills { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.mc-pill { display: block; padding: 3px 6px; border-radius: 3px; font-size: 9px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-pill.mom { background: #e2ebe3; color: #3c5d47; }
.mc-pill.minjun { background: #f6e0d5; color: #883b22; }
.daylight { margin-top: 22px; background: var(--cream); border: 1px solid rgba(23, 34, 30, .09); border-radius: 12px; overflow: hidden; }
.daylight-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 24px 32px 20px; }
.daylight-head h3 { font-size: 13px; font-weight: 600; }
.daylight-head span { font-size: 11px; color: var(--muted); }
.daylight-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.daylight-step { position: relative; padding: 52px 24px 20px; border-right: 1px solid rgba(255, 255, 255, .14); color: #fff; min-height: 165px; display: flex; flex-direction: column; justify-content: flex-end; }
.daylight-step:last-child { border-right: 0; }
.daylight-step .time { position: absolute; top: 17px; left: 24px; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; opacity: .72; }
.daylight-step strong { font-family: var(--serif); font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.daylight-step span { margin-top: 4px; font-size: 10px; opacity: .72; }
.daylight-step.sunrise { background: linear-gradient(150deg, #d7b98b, #b98055 58%, #97654b); }
.daylight-step.noon { background: linear-gradient(150deg, #e3c67d, #cfa74e 55%, #b18a35); }
.daylight-step.sunset { background: linear-gradient(150deg, #c7784e, #a84e38 58%, #6f3f38); }
.daylight-step.night { background: linear-gradient(150deg, #2e463c, #172a23 58%, #0d1915); }

/* ---------- closing ---------- */
.closing { position: relative; overflow: hidden; padding: 112px 0 0; background: var(--forest); color: var(--cream); }
.closing::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 82% 4%, rgba(199, 154, 58, .18), transparent 40%),
              radial-gradient(ellipse at 10% 94%, rgba(95, 127, 106, .14), transparent 40%);
}
.closing .wrap { position: relative; }
.closing-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; padding-bottom: 84px; }
.closing h2 {
  font-family: var(--serif); font-size: clamp(44px, 6.2vw, 82px); line-height: 1.12;
  letter-spacing: -.055em; font-weight: 700;
}
.closing h2 em { font-style: normal; color: #e0b463; }
.closing-copy p { max-width: 400px; font-size: 14.5px; line-height: 1.85; color: rgba(251, 246, 236, .62); word-break: keep-all; }
.next-steps { margin-top: 36px; border-top: 1px solid rgba(251, 246, 236, .16); }
.next-step { display: grid; grid-template-columns: 30px 1fr auto; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(251, 246, 236, .12); }
.next-step span { font-family: var(--mono); font-size: 8.5px; color: rgba(251, 246, 236, .38); }
.next-step strong { font-size: 13px; font-weight: 500; }
.next-step em { font-size: 10px; font-style: normal; color: rgba(251, 246, 236, .38); }
.footer {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0 34px; border-top: 1px solid rgba(251, 246, 236, .14);
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(251, 246, 236, .38);
}
.footer a { color: rgba(251, 246, 236, .7); transition: color .2s; }
.footer a:hover { color: var(--cream); }
.footer-mid { display: flex; align-items: center; gap: 9px; }
.footer-mid i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* ---------- page responsive ---------- */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; padding: 72px 0 60px; min-height: 0; gap: 20px; }
  .hero-art { min-height: 440px; margin-top: 10px; }
  .hero-sun { width: 340px; height: 340px; right: 8%; top: 4%; }
  .hero-orbit { width: 440px; height: 440px; right: 0; top: -4%; }
  .hero-card { width: min(340px, 78%); }
  .principles-head, .system-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .surfaces-grid { grid-template-columns: 1fr; gap: 42px; }
  .surfaces-copy { position: static; }
  .device-stage { justify-content: center; }
  .palette { grid-template-columns: repeat(4, 1fr); }
  .system-grid { grid-template-columns: 1fr; }
  .closing-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 820px) {
  .wrap, .nav-inner { width: min(100% - 40px, 1240px); }
  .nav-links { display: none; }
  .nav-tag { display: none; }
  .nav-word { white-space: nowrap; }
  .nav-inner { gap: 12px; }
  .hero h1 { font-size: clamp(46px, 12vw, 72px); }
  .hero-art { min-height: 400px; }
  .hero-caption { display: none; }
  .hero-stamp { width: 60px; height: 60px; font-size: 19px; bottom: 2%; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle { padding: 26px 0 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle + .principle { padding-left: 0; }
  .principle:last-child { border-bottom: 0; }
  .principle-glyph { display: none; }
  .principle p { max-width: 100%; }
  .ms-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .ms-controls { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .tv-captions { grid-template-columns: 1fr; margin-top: 40px; }
  .tv-caption { padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(251, 246, 236, .12); }
  .tv-caption + .tv-caption { padding-left: 0; }
  .tv-caption:last-child { border-bottom: 0; }
  .device-stage { flex-direction: column; align-items: center; gap: 46px; }
  .device--tablet, .device--phone { flex: none; width: min(100%, 560px); margin-top: 0; }
  .device--phone { flex: none; width: min(280px, 80%); }
  .palette { grid-template-columns: repeat(2, 1fr); }
  .swatch-chip { height: 92px; }
  .spec-card { padding: 24px 22px; }
  .type-han { font-size: 72px; }
  .type-specimen { gap: 20px; }
  .type-meta strong { font-size: 21px; }
  .daylight-strip { grid-template-columns: repeat(2, 1fr); }
  .daylight-step { min-height: 140px; }
  .closing { padding-top: 80px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 520px) {
  .nav-date { font-size: 8px; padding: 5px 9px; white-space: nowrap; }
  .hero { overflow: hidden; }
  .hero-lede { font-size: 15px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .hero-meta { gap: 8px 16px; font-size: 8.5px; }
  .hero-art { min-height: 350px; }
  .hero-sun { width: 260px; height: 260px; right: -2%; }
  .hero-orbit { width: 330px; height: 330px; right: -8%; }
  .hero-card { width: min(290px, 94%); padding: 24px 22px 22px; }
  .hc-time { font-size: 46px; }
  .hc-time span { font-size: 17px; }
  .hero-stamp { display: none; }
  .principles, .surfaces, .system { padding-top: 76px; padding-bottom: 80px; }
  .main-screen { padding-top: 84px; }
  .ms-controls { gap: 8px; }
  .control-label { display: none; }
  .control-btn { padding: 0 12px; }
  .tv { padding: 7px; border-radius: 13px; }
  .tv::after { inset: 7px; border-radius: 7px; }
  .device--tablet .device-frame { padding: 7px; border-radius: 16px; }
  .device--tablet .device-screen { border-radius: 9px; }
  .system-grid { margin-top: 30px; }
  .daylight-head { flex-direction: column; gap: 3px; padding: 20px 22px 16px; }
  .daylight-step { padding: 46px 18px 16px; min-height: 128px; }
  .daylight-step .time { left: 18px; }
  .closing h2 { font-size: clamp(40px, 13vw, 60px); }
}
/* ============================================================
   BOARD UI — rendered inside TV / tablet / phone frames
   ============================================================ */
.ui {
  --bg: #f3ede1;
  --panel: #fbf7ef;
  --panel-2: #f6efe2;
  --text: #1a2621;
  --text-2: #4c5a53;
  --muted: #78837c;
  --line: rgba(26, 38, 33, .13);
  --line-soft: rgba(26, 38, 33, .07);
  --accent: #c25536;
  --accent-deep: #963a22;
  --accent-soft: #f7e2d6;
  --accent-line: #e9bfab;
  --forest: #17332b;
  --cream: #f7f1e4;
  --gold: #e2b054;
  --green: #5a8f70;
  --sky: #6e8fa3;
  --nav-active-bg: #17332b;
  --nav-active-text: #f7f1e4;
  --shadow: 0 1.1cqw 2.4cqw rgba(38, 45, 38, .055);
  position: relative; width: 100%; height: 100%;
  container-type: inline-size;
  overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--text);
  font-family: var(--sans); line-height: 1.35;
}
.ui[data-theme="night"] {
  --bg: #0c1b17;
  --panel: #152722;
  --panel-2: #11211c;
  --text: #f4eee2;
  --text-2: #c4cfc8;
  --muted: #93a29a;
  --line: rgba(255, 255, 255, .12);
  --line-soft: rgba(255, 255, 255, .07);
  --accent: #e29370;
  --accent-deep: #f0b397;
  --accent-soft: rgba(226, 147, 112, .15);
  --accent-line: rgba(226, 147, 112, .36);
  --forest: #1d3a31;
  --gold: #ecc477;
  --green: #8fd0ad;
  --sky: #9ab6c8;
  --nav-active-bg: #f4eee2;
  --nav-active-text: #14231e;
  --shadow: 0 1.1cqw 2.4cqw rgba(0, 0, 0, .16);
}
.ui::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 92% -8%, rgba(226, 176, 84, .16), transparent 30%),
    radial-gradient(circle at -6% 104%, rgba(95, 127, 106, .1), transparent 38%);
}
.ui[data-theme="night"]::before {
  background:
    radial-gradient(circle at 88% -10%, rgba(226, 176, 84, .12), transparent 30%),
    radial-gradient(circle at 2% 102%, rgba(95, 127, 106, .12), transparent 42%);
}
.ui *, .ui *::before, .ui *::after { box-sizing: border-box; }
.ui button { font: inherit; color: inherit; cursor: pointer; }
.ui-inner {
  position: relative; height: 100%;
  padding: 3.3cqw 3.8cqw 3.5cqw;
  display: flex; flex-direction: column;
}

/* person colours */
.ui .p-mom { --pdot: #5f7f6a; --ptext: #3c5d47; --pbg: #e2ebe3; }
.ui .p-dad { --pdot: #6e8fa3; --ptext: #365768; --pbg: #e1eaef; }
.ui .p-minjun { --pdot: #c25536; --ptext: #883b22; --pbg: #f6e0d5; }
.ui .p-family { --pdot: #b18a2e; --ptext: #6c5316; --pbg: #f1e6c6; }
.ui[data-theme="night"] .p-mom { --ptext: #b7d0bd; --pbg: rgba(95, 127, 106, .2); }
.ui[data-theme="night"] .p-dad { --ptext: #b7cfdd; --pbg: rgba(110, 143, 163, .2); }
.ui[data-theme="night"] .p-minjun { --ptext: #f0b397; --pbg: rgba(194, 85, 54, .2); }
.ui[data-theme="night"] .p-family { --ptext: #e7cd8d; --pbg: rgba(177, 138, 46, .2); }

/* ui header */
.ui-head { flex: 0 0 auto; height: 5.3cqw; display: flex; align-items: center; justify-content: space-between; gap: 2cqw; }
.ui-brand { display: flex; align-items: center; gap: 1.05cqw; min-width: 0; }
.ui-mark {
  width: 2.25cqw; height: 2.25cqw; border-radius: 50%; flex: 0 0 auto;
  background: var(--forest); color: var(--cream); display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.35cqw; font-weight: 700; line-height: 1;
  padding-bottom: .1cqw;
}
.ui-mark .icon { width: 1.25cqw; height: 1.25cqw; }
.ui-brand strong { display: block; font-family: var(--serif); font-size: 1.5cqw; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.ui-brand div span { display: block; margin-top: .1cqw; font-size: .9cqw; color: var(--muted); letter-spacing: .01em; }
.ui-nav {
  display: flex; gap: .25cqw; padding: .3cqw;
  border: 1px solid var(--line); border-radius: 99px; background: var(--panel);
}
.ui-nav-btn {
  border: 0; background: transparent; color: var(--muted);
  padding: .48cqw 1.35cqw; border-radius: 99px; font-size: .92cqw; font-weight: 500;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.ui-nav-btn.is-active { background: var(--nav-active-bg); color: var(--nav-active-text); font-weight: 600; }
.ui[data-theme="night"] .ui-mark { background: rgba(247, 241, 228, .12); color: var(--gold); }
.ui[data-view="today"] .ui-nav-btn[data-set-view="today"],
.ui[data-view="month"] .ui-nav-btn[data-set-view="month"] {
  background: var(--nav-active-bg); color: var(--nav-active-text); font-weight: 600;
}
.ui-clock { text-align: right; flex: 0 0 auto; }
.ui-clock strong { display: block; font-size: 2.05cqw; font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.ui-clock span { display: block; margin-top: .38cqw; font-size: .82cqw; color: var(--muted); letter-spacing: .02em; }

/* views */
.ui-view { flex: 1; min-height: 0; display: none; margin-top: 1.3cqw; }
.ui[data-view="today"] .view-today,
.ui[data-view="month"] .view-month { display: grid; animation: uiFade .45s var(--ease) both; }
@keyframes uiFade {
  from { opacity: 0; transform: translateY(.55cqw); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- today view ---------- */
.view-today { grid-template-columns: 1.6fr .93fr; gap: 1.35cqw; }
.ui-left { display: flex; flex-direction: column; min-height: 0; }
.ui-greeting { flex: 0 0 auto; margin-bottom: 1.05cqw; }
.ui-kicker {
  font-family: var(--mono); font-size: .74cqw; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.ui-greeting h2 {
  margin-top: .55cqw; font-family: var(--serif);
  font-size: 3.45cqw; line-height: 1.15; letter-spacing: -.055em; font-weight: 700;
}
.ui-greeting p { margin-top: .38cqw; font-size: 1.18cqw; color: var(--text-2); letter-spacing: -.01em; }

.timeline {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  padding: 1.2cqw 1.4cqw; background: var(--panel);
  border: 1px solid var(--line); border-radius: 1.25cqw; box-shadow: var(--shadow);
}
.timeline-head { flex: 0 0 auto; display: flex; align-items: baseline; justify-content: space-between; gap: 1cqw; padding-bottom: .8cqw; border-bottom: 1px solid var(--line); }
.timeline-head h3 { font-size: 1.05cqw; font-weight: 600; letter-spacing: -.01em; }
.timeline-head span { font-size: .8cqw; color: var(--muted); }
.event {
  flex: 1; display: grid; grid-template-columns: 4.9cqw 1fr auto; gap: 1.1cqw; align-items: center;
  padding: .55cqw .65cqw; border-bottom: 1px solid var(--line); min-height: 0;
}
.event:last-child { border-bottom: 0; }
.event.is-next {
  margin: .35cqw 0; padding: .75cqw .65cqw;
  background: var(--accent-soft); border-bottom: 0; border-radius: .65cqw;
  box-shadow: inset 0 0 0 1px var(--accent-line);
}
.event-time strong { display: block; font-size: 1.42cqw; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.event-time span { display: block; margin-top: .15cqw; font-size: .7cqw; color: var(--muted); }
.event-title { display: flex; align-items: center; gap: .55cqw; font-size: 1.32cqw; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }
.person {
  display: inline-flex; align-items: center; gap: .3cqw; flex: 0 0 auto;
  padding: .18cqw .5cqw; border-radius: 99px;
  background: var(--pbg); color: var(--ptext);
  font-size: .72cqw; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
}
.person i { width: .34cqw; height: .34cqw; border-radius: 50%; background: var(--pdot); }
.event-meta { display: flex; align-items: center; gap: .45cqw; margin-top: .22cqw; font-size: .84cqw; color: var(--muted); }
.event-meta i { width: .18cqw; height: .18cqw; border-radius: 50%; background: currentColor; opacity: .5; }
.event-side { text-align: right; }
.next-badge {
  display: inline-flex; align-items: center; gap: .28cqw;
  padding: .22cqw .55cqw; border-radius: 99px;
  background: var(--accent); color: #fff;
  font-size: .68cqw; font-weight: 600; letter-spacing: .01em;
}
.next-badge .icon { width: .7cqw; height: .7cqw; }
.countdown { display: block; margin-top: .25cqw; font-size: .68cqw; color: var(--accent-deep); white-space: nowrap; }

/* right rail */
.ui-right { display: flex; flex-direction: column; gap: 1.25cqw; min-height: 0; }
.weather-card {
  position: relative; overflow: hidden; flex: 1.32; min-height: 0;
  padding: 1.35cqw 1.5cqw; border-radius: 1.25cqw;
  background: linear-gradient(150deg, #1d3e34 0%, #17332b 58%, #142c25 100%);
  border: 1px solid rgba(255, 255, 255, .06);
  color: var(--cream); display: flex; flex-direction: column;
}
.weather-card::before {
  content: ""; position: absolute; width: 15cqw; height: 15cqw; right: -5cqw; top: -6cqw; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 176, 84, .3), transparent 66%);
}
.weather-card::after {
  content: ""; position: absolute; left: 1.5cqw; right: 1.5cqw; bottom: 4.1cqw; height: 1px;
  background: rgba(247, 241, 228, .08);
}
.weather-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1cqw; font-size: .78cqw; color: rgba(247, 241, 228, .6); letter-spacing: .02em; }
.weather-top span:last-child { color: var(--gold); }
.weather-place { display: inline-flex; align-items: center; gap: .32cqw; }
.weather-place .icon { width: .78cqw; height: .78cqw; color: rgba(247, 241, 228, .62); }
.weather-main { position: relative; display: flex; align-items: center; gap: 1.1cqw; margin-top: .65cqw; }
.weather-glyph { width: 6.1cqw; height: 6.1cqw; flex: 0 0 auto; }
.weather-glyph svg { width: 100%; height: 100%; overflow: visible; }
.weather-glyph .glyph-moon { display: none; }
.ui[data-theme="night"] .weather-glyph .glyph-sun { display: none; }
.ui[data-theme="night"] .weather-glyph .glyph-moon { display: block; }
.temp { font-size: 6.35cqw; font-weight: 600; line-height: .9; letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
.temp span { margin-left: .08em; font-size: .46em; font-weight: 400; vertical-align: .28em; letter-spacing: 0; }
.weather-sub { position: relative; margin-top: .55cqw; font-size: .86cqw; color: rgba(247, 241, 228, .7); }
.weather-sub b { color: var(--gold); font-weight: 600; }
.weather-rule { height: 1px; margin: .9cqw 0 .75cqw; background: rgba(247, 241, 228, .16); }
.air-row { display: flex; gap: 2.5cqw; }
.air-item span { display: block; font-size: .7cqw; color: rgba(247, 241, 228, .5); }
.air-item strong { display: flex; align-items: baseline; gap: .35cqw; margin-top: .18cqw; font-size: .9cqw; font-weight: 600; color: #a8e3c0; }
.air-item em { font-style: normal; font-size: .72cqw; font-weight: 400; color: rgba(247, 241, 228, .48); }
.weather-forecast {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: .5cqw; padding-top: .48cqw; border-top: 1px solid rgba(247, 241, 228, .12);
}
.wf-item { min-width: 0; padding-left: .68cqw; border-left: 1px solid rgba(247, 241, 228, .1); }
.wf-item:first-child { padding-left: 0; border-left: 0; }
.wf-time { display: block; font-size: .62cqw; line-height: 1.2; color: rgba(247, 241, 228, .48); white-space: nowrap; }
.wf-value { display: flex; align-items: center; gap: .3cqw; margin-top: .22cqw; min-width: 0; }
.wf-value .icon { width: 1.02cqw; height: 1.02cqw; color: var(--gold); flex: 0 0 auto; }
.wf-value strong { font-size: .9cqw; font-weight: 600; color: var(--cream); font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.sun-path { position: relative; display: flex; align-items: center; gap: .55cqw; margin-top: auto; }
.sun-path span { font-size: .64cqw; color: rgba(247, 241, 228, .48); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sun-path .arc { position: relative; flex: 1; height: 2.1cqw; }
.sun-path .arc svg { width: 100%; height: 100%; overflow: visible; }
.sun-path .arc::after {
  content: ""; position: absolute; left: 50%; top: 0; width: .45cqw; height: .45cqw;
  border-radius: 50%; background: var(--gold); transform: translate(-50%, -18%);
}
.weather-note { position: relative; display: flex; align-items: center; gap: .4cqw; margin-top: .55cqw; font-size: .8cqw; color: rgba(247, 241, 228, .78); }
.weather-note .icon { width: .9cqw; height: .9cqw; color: #a8e3c0; flex: 0 0 auto; }

.upcoming-card {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  padding: 1.1cqw 1.4cqw; background: var(--panel);
  border: 1px solid var(--line); border-radius: 1.25cqw; box-shadow: var(--shadow);
}
.up-head { flex: 0 0 auto; display: flex; align-items: baseline; justify-content: space-between; gap: 1cqw; padding-bottom: .55cqw; border-bottom: 1px solid var(--line); }
.up-head h3 { font-size: .98cqw; font-weight: 600; }
.up-head span { font-size: .72cqw; color: var(--muted); }
.up-row { flex: 1; display: grid; grid-template-columns: 2.85cqw 1fr auto; gap: .7cqw; align-items: center; border-bottom: 1px solid var(--line); min-height: 0; }
.up-row:last-child { border-bottom: 0; }
.up-date { font-family: var(--mono); font-size: .74cqw; color: var(--accent); letter-spacing: -.02em; }
.up-row strong { display: block; font-size: .92cqw; font-weight: 600; letter-spacing: -.015em; }
.up-meta { display: block; margin-top: .08cqw; font-size: .68cqw; color: var(--muted); }
.up-dot { width: .4cqw; height: .4cqw; border-radius: 50%; background: var(--pdot); }

/* ---------- unified dashboard ---------- */
.tv-dashboard {
  flex: 1; min-height: 0; display: grid;
  grid-template-columns: 2.88fr 1.14fr; gap: 1.35cqw; margin-top: 0;
}
.tv-side { min-height: 0; display: flex; flex-direction: column; gap: 1.15cqw; }
.today-agenda {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  padding: 1.12cqw 1.25cqw; background: var(--panel);
  border: 1px solid var(--line); border-radius: 1.25cqw; box-shadow: var(--shadow);
}
.ta-head {
  flex: 0 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: .6cqw;
  padding-bottom: .62cqw; border-bottom: 1px solid var(--line);
}
.ta-head .ui-kicker { font-size: .62cqw; }
.ta-head h2 { margin-top: .22cqw; font-family: var(--serif); font-size: 1.62cqw; line-height: 1.1; letter-spacing: -.04em; font-weight: 700; }
.ta-count { padding-bottom: .08cqw; font-family: var(--mono); font-size: .62cqw; color: var(--muted); white-space: nowrap; }
.ta-list { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.ta-event {
  flex: 1; min-height: 0; display: grid; grid-template-columns: 2.8cqw minmax(0, 1fr) auto;
  gap: .55cqw; align-items: center; padding: .3cqw 0; border-bottom: 1px solid var(--line);
}
.ta-event:last-child { border-bottom: 0; }
.ta-event.is-next,
.ta-event.is-now {
  margin: .28cqw 0; padding: .48cqw .48cqw; border-bottom: 0; border-radius: .55cqw;
  background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line);
}
.ta-event.is-past { opacity: .5; }
.ta-time { display: flex; flex-direction: column; gap: .06cqw; font-variant-numeric: tabular-nums; letter-spacing: -.025em; line-height: 1.1; }
.ta-time time { font-size: .82cqw; font-weight: 600; color: var(--text); }
.ta-time-end { font-size: .7cqw; font-weight: 500; color: var(--text-2); letter-spacing: -.02em; }
.ta-event.is-now .ta-time-end { color: var(--accent-deep); }
.ui[data-theme="night"] .ta-event.is-now .ta-time-end { color: var(--accent-deep); }
.ta-event.is-past .ta-time time,
.ta-event.is-past .ta-time-end { color: var(--muted); }
.ta-title { display: flex; align-items: center; gap: .36cqw; font-size: .78cqw; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; white-space: nowrap; }
.ta-title .person { gap: .22cqw; padding: .1cqw .36cqw; font-size: .56cqw; }
.ta-title .person i { width: .28cqw; height: .28cqw; }
.ta-meta { display: block; margin-top: .06cqw; overflow: hidden; font-size: .6cqw; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.ta-flag { padding: .18cqw .44cqw; border-radius: 99px; background: var(--accent); color: #fff; font-size: .56cqw; font-weight: 600; white-space: nowrap; }
.weather-card--rail { flex: 0 0 auto; padding: 1.08cqw 1.2cqw; }
.weather-card--rail::after { display: none; }
.weather-card--rail .weather-main { margin-top: .45cqw; }
.weather-card--rail .weather-glyph { width: 5.1cqw; height: 5.1cqw; }
.weather-card--rail .temp { font-size: 5.35cqw; }
.weather-card--rail .weather-rule { margin: .62cqw 0 .52cqw; }
.weather-card--rail .weather-forecast { margin-top: .45cqw; padding-top: .4cqw; }
.weather-card--rail .weather-note { margin-top: .42cqw; }

/* ---------- month view ---------- */
.view-month { grid-template-columns: 3fr 1.02fr; gap: 1.35cqw; }
.calendar {
  min-height: 0; display: flex; flex-direction: column;
  padding: 1.15cqw 1.35cqw 1.05cqw; background: var(--panel);
  border: 1px solid var(--line); border-radius: 1.25cqw; box-shadow: var(--shadow);
}
.cal-masthead {
  flex: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 1.2cqw; padding-bottom: .65cqw;
}
.cal-masthead .ui-clock { justify-self: end; }
.cal-month-group { display: flex; align-items: center; gap: 1.1cqw; justify-self: center; }
.cal-month { display: flex; flex-direction: column; gap: .12cqw; }
.cal-month .ui-kicker { font-size: .6cqw; letter-spacing: .13em; }
.cal-month h2 { font-family: var(--serif); font-size: 2.05cqw; line-height: 1; letter-spacing: -.055em; font-weight: 700; }
.cal-masthead .ui-brand { gap: .75cqw; }
.cal-masthead .ui-mark { width: 1.95cqw; height: 1.95cqw; font-size: 1.14cqw; padding-bottom: .08cqw; }
.cal-masthead .ui-brand strong { font-size: 1.3cqw; }
.cal-masthead .ui-brand div span { margin-top: .08cqw; font-size: .74cqw; }
.cal-masthead .ui-clock strong { font-size: 1.62cqw; }
.cal-masthead .ui-clock span { margin-top: .24cqw; font-size: .7cqw; }
.cal-nav { display: flex; align-items: center; gap: .55cqw; font-size: .75cqw; color: var(--muted); font-variant-numeric: tabular-nums; }
.cal-nav button { width: 1.75cqw; height: 1.75cqw; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; display: grid; place-items: center; color: var(--text-2); }
.cal-nav button .icon { width: .8cqw; height: .8cqw; }
.cal-sync {
  display: inline-flex; align-items: center; gap: .3cqw; margin-left: .2cqw;
  font-family: var(--sans); font-size: .6cqw; font-weight: 500; letter-spacing: .01em;
  color: var(--text-2); white-space: nowrap;
}
.cal-sync i {
  width: .32cqw; height: .32cqw; border-radius: 50%; flex: 0 0 auto;
  background: var(--green); box-shadow: 0 0 .34cqw rgba(90, 143, 112, .5);
}
.cal-sync[data-state="loading"] i { background: var(--muted); box-shadow: none; }
.cal-sync[data-state="error"] i { background: var(--accent); box-shadow: none; }
.ui[data-theme="night"] .cal-sync { color: rgba(244, 238, 226, .65); }
.weekdays { flex: 0 0 auto; display: grid; grid-template-columns: repeat(7, 1fr); gap: .3cqw; padding: .3cqw 0; border-top: 1px solid var(--line); font-size: .68cqw; color: var(--muted); text-align: right; }
.weekdays span { padding-right: .45cqw; }
.weekdays span:first-child { color: var(--accent); }
.weekdays span:last-child { color: var(--sky); }
.cal-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(5, 1fr); gap: .3cqw; }
.day { min-height: 0; overflow: hidden; padding: .4cqw .45cqw; background: rgba(26, 38, 33, .028); border-radius: .45cqw; }
.day.outside { background: transparent; }
.ui[data-theme="night"] .day { background: rgba(255, 255, 255, .035); }
.ui[data-theme="night"] .day.outside { background: transparent; }
.day-head { display: flex; align-items: baseline; justify-content: space-between; gap: .25cqw; }
.day-lunar { font-size: .62cqw; line-height: 1.2; color: #66746c; font-weight: 500; white-space: nowrap; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.ui[data-theme="night"] .day-lunar { color: var(--muted); }
.day-notes { display: flex; flex-direction: column; gap: .02cqw; margin-top: .06cqw; }
.day-note { display: block; font-size: .62cqw; line-height: 1.15; letter-spacing: -.015em; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.day-note .term { color: #8a6a1f; font-weight: 600; }
.ui[data-theme="night"] .day-note .term { color: var(--gold); }
.day-note .anniv { color: var(--accent-deep); }
.day-note .exam { color: #496b7d; font-weight: 600; }
.ui[data-theme="night"] .day-note .exam { color: var(--sky); }
.day-note .sep { color: var(--muted); }
.day .num { display: block; text-align: right; font-size: .8cqw; line-height: 1.2; color: var(--text-2); font-variant-numeric: tabular-nums; }
.day.sun .num { color: var(--accent); }
.day.sat .num { color: var(--sky); }
.day.is-holiday { background: rgba(194, 85, 54, .06); }
.day.is-holiday .num { color: var(--accent); font-weight: 700; }
.day-note.holiday { color: var(--accent); font-weight: 600; }
.ui[data-theme="night"] .day.is-holiday { background: rgba(226, 147, 112, .09); }
.ui[data-theme="night"] .day.is-holiday .num { color: var(--accent-deep); }
.ui[data-theme="night"] .day-note.holiday { color: var(--accent-deep); }
.day.outside { opacity: .42; }
.day.today { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.day.today .num { color: var(--accent-deep); font-weight: 700; }
.pills { display: flex; flex-direction: column; gap: .16cqw; margin-top: .18cqw; }
.pill {
  display: block; padding: .18cqw .34cqw; border-radius: .22cqw;
  font-size: .76cqw; line-height: 1.4; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pill.has-more { position: relative; padding-right: 1.55cqw; }
.pill-more {
  position: absolute; right: .22cqw; top: 50%; transform: translateY(-50%);
  padding: .03cqw .26cqw; border-radius: 99px;
  background: rgba(255, 255, 255, .88); color: inherit;
  box-shadow: 0 0 0 1px rgba(26, 38, 33, .08);
  font-size: .54cqw; font-weight: 700; line-height: 1.2; letter-spacing: -.02em;
}
.ui[data-theme="night"] .pill-more { background: rgba(255, 255, 255, .18); color: var(--text); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.pill.mom { background: #e2ebe3; color: #3c5d47; }
.pill.dad { background: #e1eaef; color: #365768; }
.pill.minjun { background: #f6e0d5; color: #883b22; }
.pill.family { background: #f1e6c6; color: #6c5316; }
.day.today .pills { gap: .08cqw; }
.day.today .pill { padding: .12cqw .28cqw; font-size: .68cqw; line-height: 1.28; }
.ui[data-theme="night"] .pill.mom { background: rgba(95, 127, 106, .22); color: #b7d0bd; }
.ui[data-theme="night"] .pill.dad { background: rgba(110, 143, 163, .22); color: #b7cfdd; }
.ui[data-theme="night"] .pill.minjun { background: rgba(194, 85, 54, .22); color: #f0b397; }
.ui[data-theme="night"] .pill.family { background: rgba(177, 138, 46, .22); color: #e7cd8d; }

.month-side { min-height: 0; display: flex; flex-direction: column; gap: 1.15cqw; }
.today-detail {
  position: relative; overflow: hidden; flex: 1.15; min-height: 0;
  display: flex; flex-direction: column; padding: 1.2cqw 1.35cqw;
  background: var(--forest); color: var(--cream); border-radius: 1.25cqw;
}
.today-detail::before {
  content: ""; position: absolute; width: 12cqw; height: 12cqw; right: -4cqw; top: -5cqw; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 176, 84, .24), transparent 66%);
}
.today-detail .ui-kicker { position: relative; color: var(--gold); font-size: .68cqw; }
.today-detail h3 { position: relative; margin-top: .25cqw; font-family: var(--serif); font-size: 1.85cqw; line-height: 1.2; letter-spacing: -.04em; }
.detail-list { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-around; margin-top: .55cqw; }
.detail-event { display: grid; grid-template-columns: 2.75cqw 1fr; gap: .55cqw; align-items: baseline; padding: .4cqw 0; border-top: 1px solid rgba(247, 241, 228, .14); }
.detail-event time { font-size: .74cqw; color: var(--gold); font-variant-numeric: tabular-nums; }
.detail-event strong { display: block; font-size: .84cqw; font-weight: 500; letter-spacing: -.01em; }
.detail-event span { display: block; margin-top: .06cqw; font-size: .66cqw; color: rgba(247, 241, 228, .52); }
.family-legend {
  flex: .85; min-height: 0; display: flex; flex-direction: column;
  padding: 1.05cqw 1.35cqw; background: var(--panel);
  border: 1px solid var(--line); border-radius: 1.25cqw; box-shadow: var(--shadow);
}
.family-legend h4 { flex: 0 0 auto; font-size: .86cqw; font-weight: 600; }
.legend-row { flex: 1; display: flex; align-items: center; gap: .5cqw; border-top: 1px solid var(--line); font-size: .78cqw; color: var(--text-2); }
.legend-row i { width: .38cqw; height: .38cqw; border-radius: 50%; background: var(--pdot); flex: 0 0 auto; }
.legend-row em { margin-left: auto; font-style: normal; font-size: .68cqw; color: var(--muted); font-variant-numeric: tabular-nums; }
/* ---------- tablet weekly view ---------- */
.ui--tablet .ui-inner { padding: 4.1cqw 4.1cqw 3.4cqw; }
.ui--tablet .ui-head { height: 5.5cqw; }
.ui--tablet .ui-mark { width: 3.2cqw; height: 3.2cqw; font-size: 1.95cqw; }
.ui--tablet .ui-mark .icon { width: 1.7cqw; height: 1.7cqw; }
.ui--tablet .ui-brand strong { font-size: 2.15cqw; }
.ui--tablet .ui-brand span { font-size: 1.22cqw; margin-top: .2cqw; }
.ui--tablet .ui-nav { padding: .35cqw; }
.ui--tablet .ui-nav-btn { padding: .55cqw 1.8cqw; font-size: 1.25cqw; }
.ui--tablet .ui-clock strong { font-size: 2.15cqw; }
.ui--tablet .ui-clock span { font-size: 1.08cqw; margin-top: .3cqw; }
.week-title { flex: 0 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 2cqw; margin-top: 2.6cqw; padding-bottom: 1.4cqw; border-bottom: 1px solid var(--line); }
.week-title .ui-kicker { font-size: 1.05cqw; }
.week-title h2 { margin-top: .5cqw; font-family: var(--serif); font-size: 5.4cqw; line-height: 1; letter-spacing: -.055em; font-weight: 700; }
.week-title p { padding-bottom: .5cqw; font-size: 1.35cqw; color: var(--muted); word-break: keep-all; }
.week-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: .85cqw; margin-top: 1.4cqw; }
.week-col {
  min-width: 0; min-height: 0; display: flex; flex-direction: column;
  padding: 1.2cqw .85cqw 1cqw; background: var(--panel);
  border: 1px solid var(--line); border-radius: 1.15cqw;
}
.week-col.today { background: var(--forest); color: var(--cream); border-color: transparent; box-shadow: 0 1.2cqw 2.4cqw rgba(23, 51, 43, .16); }
.w-dow { font-size: 1.32cqw; font-weight: 500; color: var(--muted); }
.week-col.sun .w-dow, .week-col.sun .w-date { color: var(--accent); }
.week-col.sat .w-dow, .week-col.sat .w-date { color: var(--sky); }
.w-date { margin-top: .35cqw; font-size: 3.2cqw; font-weight: 600; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.w-sub { display: flex; flex-direction: column; gap: .1cqw; margin-top: .45cqw; min-width: 0; }
.w-lunar { font-size: .95cqw; line-height: 1.1; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.w-anno { font-size: .92cqw; line-height: 1.1; font-weight: 500; color: var(--accent-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-anno.term { color: #8a6a1f; font-weight: 600; }
.week-col.today .w-lunar { color: rgba(247, 241, 228, .55); }
.week-col.today .w-anno { color: #f0b397; }
.week-col.today .w-anno.term { color: #f0cc84; }
.w-icon { width: 3cqw; height: 3cqw; margin-top: 1.3cqw; color: var(--gold); }
.week-col.today .w-icon { color: #f0cc84; }
.w-temp { margin-top: .35cqw; font-size: 1.16cqw; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.week-col.today .w-dow, .week-col.today .w-temp { color: rgba(247, 241, 228, .58); }
.week-col.today .w-date { color: var(--cream); }
.week-events { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: .4cqw; margin-top: .8cqw; }
.w-event {
  min-width: 0; overflow: hidden;
  padding: .42cqw .3cqw .42cqw .5cqw; border-left: .3cqw solid var(--pdot);
  border-radius: .35cqw; background: var(--pbg);
}
.w-event time { display: flex; flex-direction: column; gap: .08cqw; color: var(--ptext); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.w-start { font-size: .92cqw; font-weight: 600; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-end { font-size: .8cqw; font-weight: 500; line-height: 1.1; opacity: .78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-event strong { display: block; margin-top: .1cqw; font-size: 1.24cqw; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; color: var(--text); word-break: keep-all; }
.w-event.is-now { background: rgba(194, 85, 54, .12); border-left-color: var(--accent); }
.week-col.today .w-event.is-now { background: rgba(226, 147, 112, .22); }
.week-col.today .w-event.is-now time { color: #f0b397; }
.w-now {
  display: inline-block; margin-left: .25cqw; padding: .08cqw .28cqw;
  border-radius: 99px; background: var(--accent); color: #fff;
  font-size: .82cqw; font-weight: 600; vertical-align: .08cqw; white-space: nowrap;
}
.w-more {
  margin-top: .15cqw; align-self: flex-start; padding: .2cqw .5cqw;
  border-radius: 99px; background: rgba(26, 38, 33, .06);
  font-size: .9cqw; font-weight: 600; color: var(--muted);
}
.week-col.today .w-more { background: rgba(247, 241, 228, .12); color: rgba(247, 241, 228, .65); }
.week-col.today .w-event { background: rgba(247, 241, 228, .1); }
.week-col.today .w-event strong { color: var(--cream); }
.week-col.today .w-event time { color: var(--pdot); }
.w-empty { margin-top: auto; padding-bottom: .4cqw; font-family: var(--serif); font-size: 1.28cqw; line-height: 1.55; color: var(--muted); opacity: .8; word-break: keep-all; }
.week-col.today .w-empty { color: rgba(247, 241, 228, .5); }
.week-note {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2cqw;
  margin-top: 1.4cqw; padding-top: 1.1cqw; border-top: 1px solid var(--line);
}
.week-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5cqw; }
.week-legend span { display: inline-flex; align-items: center; gap: .45cqw; font-size: 1.05cqw; color: var(--muted); }
.week-legend i { width: .55cqw; height: .55cqw; border-radius: 50%; }
.week-legend i.mom { background: #5f7f6a; }
.week-legend i.dad { background: #6e8fa3; }
.week-legend i.minjun { background: #c25536; }
.week-legend i.family { background: #b18a2e; }
.week-sync { display: inline-flex; align-items: center; gap: .45cqw; font-style: normal; font-size: 1.0cqw; color: var(--text-2); white-space: nowrap; }
.week-sync i { width: .5cqw; height: .5cqw; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.week-note > em { font-style: normal; font-size: 1.1cqw; color: var(--text-2); white-space: nowrap; }
.week-note > em b { font-weight: 600; color: var(--accent); }

/* ---------- phone ---------- */
.ui--phone .ui-inner { padding: 7cqw 6.4cqw 0; }
.phone-top { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; }
.phone-brand { display: flex; align-items: center; gap: 1.8cqw; font-family: var(--serif); font-size: 4.1cqw; font-weight: 700; letter-spacing: -.04em; }
.phone-brand .brand-on {
  width: 4.5cqw; height: 4.5cqw; border-radius: 50%; display: grid; place-items: center;
  background: rgba(247, 241, 228, .1); color: var(--gold);
  font-family: var(--serif); font-size: 2.65cqw; font-weight: 700; line-height: 1; padding-bottom: .15cqw;
}
.phone-time { font-size: 3.4cqw; font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.phone-date { flex: 0 0 auto; margin-top: 4.6cqw; font-size: 3.05cqw; color: var(--muted); letter-spacing: .01em; }
.phone-meta { flex: 0 0 auto; display: flex; align-items: center; gap: 1.4cqw; margin-top: 1cqw; font-size: 2.45cqw; color: var(--muted); }
.phone-meta .anniv { color: var(--accent-deep); font-weight: 500; }
.phone-greeting { flex: 0 0 auto; margin-top: 1.2cqw; font-family: var(--serif); font-size: 9.1cqw; line-height: 1.3; letter-spacing: -.06em; font-weight: 700; }
.phone-weather {
  flex: 0 0 auto; display: flex; align-items: center; gap: 3.8cqw;
  margin-top: 5.5cqw; padding: 3.6cqw 4cqw;
  background: var(--panel); border: 1px solid var(--line); border-radius: 4.4cqw;
}
.phone-weather > .icon { width: 7.4cqw; height: 7.4cqw; color: var(--gold); flex: 0 0 auto; }
.phone-weather strong { display: block; font-size: 7.4cqw; font-weight: 600; line-height: .9; letter-spacing: -.055em; }
.phone-weather span { display: block; margin-top: 1.1cqw; font-size: 2.9cqw; color: var(--muted); }
.phone-weather em { margin-left: auto; padding: 1.2cqw 2cqw; border-radius: 99px; background: rgba(90, 143, 112, .12); color: var(--green); font-style: normal; font-size: 2.55cqw; font-weight: 500; white-space: nowrap; }
.phone-section { flex: 0 0 auto; margin-top: 5.6cqw; }
.ps-head { display: flex; align-items: baseline; justify-content: space-between; gap: 2cqw; margin-bottom: 1.6cqw; }
.ps-head h3 { font-size: 3.4cqw; font-weight: 600; letter-spacing: -.02em; }
.ps-head span { font-size: 2.7cqw; color: var(--muted); font-variant-numeric: tabular-nums; }
.pt-event { display: flex; align-items: center; gap: 2.8cqw; padding: 2.55cqw 0; border-top: 1px solid var(--line); }
.pt-check { width: 5.3cqw; height: 5.3cqw; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: rgba(90, 143, 112, .14); color: var(--green); }
.pt-check .icon { width: 2.5cqw; height: 2.5cqw; }
.pt-event strong { display: block; font-size: 3.05cqw; font-weight: 500; letter-spacing: -.02em; }
.pt-event span { display: block; margin-top: .4cqw; font-size: 2.6cqw; color: var(--muted); }
.pt-event time { margin-left: auto; font-size: 2.55cqw; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.phone-next {
  flex: 0 0 auto; margin-top: 4.6cqw; padding: 3.6cqw 4cqw; border-radius: 3.8cqw;
  background: linear-gradient(150deg, rgba(226, 176, 84, .15), rgba(226, 176, 84, .035));
  border: 1px solid rgba(226, 176, 84, .22);
}
.phone-next .ui-kicker { font-size: 2.3cqw; color: var(--gold); }
.pn-row { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; margin-top: 1.4cqw; }
.pn-row strong { font-size: 3.7cqw; font-weight: 600; letter-spacing: -.025em; }
.pn-row em { padding: 1cqw 1.8cqw; border-radius: 99px; background: rgba(226, 176, 84, .16); color: var(--gold); font-style: normal; font-size: 2.5cqw; font-weight: 600; white-space: nowrap; }
.phone-next p { margin-top: .6cqw; font-size: 2.7cqw; color: var(--muted); }
.pn-holiday {
  display: flex; align-items: center; gap: 1.2cqw;
  margin-top: 1.5cqw; padding-top: 1.4cqw;
  border-top: 1px solid rgba(226, 176, 84, .18);
  font-size: 2.35cqw; color: var(--muted);
}
.pn-holiday i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.phone-tomorrow {
  flex: 0 0 auto; display: flex; align-items: center; gap: 3.2cqw;
  margin-top: 4.4cqw; padding: 3.8cqw 4cqw;
  background: var(--panel); border: 1px solid var(--line); border-radius: 3.8cqw;
}
.phone-tomorrow > .icon { width: 7cqw; height: 7cqw; color: var(--gold); flex: 0 0 auto; }
.phone-tomorrow span { display: block; font-size: 2.35cqw; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.phone-tomorrow strong { display: block; margin-top: .5cqw; font-size: 3.2cqw; font-weight: 600; letter-spacing: -.02em; }
.phone-tomorrow p { margin-top: .3cqw; font-size: 2.55cqw; color: var(--muted); }
.phone-tomorrow em { margin-left: auto; align-self: flex-start; padding: 1cqw 1.8cqw; border-radius: 99px; background: rgba(90, 143, 112, .12); color: var(--green); font-style: normal; font-size: 2.3cqw; font-weight: 500; white-space: nowrap; }
.phone-nav {
  flex: 0 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  margin-top: auto; padding: 3.6cqw 0 4.6cqw; border-top: 1px solid var(--line);
}
.phone-nav button { border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 1.1cqw; padding: 0; font-size: 2.35cqw; color: var(--muted); }
.phone-nav .icon { width: 4.5cqw; height: 4.5cqw; }
.phone-nav .active { color: var(--text); }
.phone-nav .add {
  width: 9.6cqw; height: 9.6cqw; margin-top: -4.8cqw; justify-self: center;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--accent); color: #fff; box-shadow: 0 1.8cqw 3.4cqw rgba(12, 27, 23, .3);
}
.phone-nav .add .icon { width: 4.1cqw; height: 4.1cqw; stroke-width: 2; }

/* screen-level responsive: keep TV readable when narrow */
@media (max-width: 900px) {
  .tv-captions { gap: 0; }
}

