:root {
  --cream: #fbf7ef;
  --cream-deep: #f1e6d8;
  --oat: #f6efe5;
  --ink: #332d35;
  --muted: #756d78;
  --blue: #dceaf0;
  --blue-strong: #8bb9c8;
  --sage: #dde9df;
  --sage-strong: #8fb6a2;
  --pink: #f7c9dc;
  --pink-strong: #d889ae;
  --amber: #f2b36d;
  --line: rgba(51, 45, 53, 0.12);
  --shadow: 0 24px 70px rgba(76, 57, 65, 0.12);
  --shadow-soft: 0 12px 32px rgba(76, 57, 65, 0.09);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.23) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    var(--cream);
  background-size: 42px 42px, 42px 42px, auto;
  font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}

body.night-mode {
  --cream: #28232d;
  --cream-deep: #342b39;
  --ink: #faf5ed;
  --muted: #c4bac6;
  --blue: #384a58;
  --blue-strong: #9cc9d4;
  --sage: #3d514b;
  --sage-strong: #aed2bd;
  --pink: #543748;
  --pink-strong: #ed9fc3;
  --amber: #ffc27e;
  --line: rgba(250, 245, 237, 0.15);
  background: #28232d;
  background-image:
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px, 42px 42px;
}

body, button, a { transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--pink-strong); }

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 239, 0.82);
  box-shadow: 0 8px 26px rgba(95, 76, 82, 0.08);
  backdrop-filter: blur(22px) saturate(1.15);
}

.night-mode .site-header { background: rgba(40, 35, 45, 0.88); }

.nav-shell {
  width: min(100% - 36px, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(51, 45, 53, 0.12);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--pink), #f2bdd3);
  box-shadow: 4px 4px 0 rgba(216, 137, 174, 0.18);
  line-height: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-text { font-size: 15px; line-height: 1.3; }
.brand-text small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 3px; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: block;
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.28);
  font-size: 13px;
  font-weight: 700;
}
.site-nav a:hover { color: var(--ink); background: var(--blue); box-shadow: inset 0 0 0 1px rgba(139, 185, 200, 0.22); }

.nav-actions { display: flex; align-items: center; gap: 9px; }
.icon-button,
.menu-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: rgba(255,255,255,.36);
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}
.icon-button:hover,
.menu-toggle:hover { background: var(--blue); transform: translateY(-2px); }
.night-mode .icon-button,
.night-mode .menu-toggle {
  border-color: rgba(250,245,237,.18);
  color: #fffaf2 !important;
  background: rgba(255,255,255,.1) !important;
}
.night-mode .icon-button:hover,
.night-mode .menu-toggle:hover { background: rgba(156,201,212,.22) !important; }
.menu-toggle { display: none; }

.container { width: min(100% - 36px, var(--max)); margin: 0 auto; }
.section { padding: 92px 0; scroll-margin-top: 85px; }
.section--tight { padding: 62px 0; }
.section--tint { background: rgba(216, 230, 236, 0.38); }
.section--sage { background: rgba(220, 231, 223, 0.52); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--pink-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--pink-strong); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.25; letter-spacing: 0; }
h1 { max-width: 710px; margin-bottom: 20px; font-size: clamp(38px, 6vw, 72px); }
h2 { margin-bottom: 14px; font-size: clamp(29px, 4vw, 46px); }
h3 { margin-bottom: 9px; font-size: 19px; }
.lead { max-width: 650px; color: var(--muted); font-size: 18px; }
.muted { color: var(--muted); }

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream-deep);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251,247,239,.94) 0%, rgba(251,247,239,.72) 40%, rgba(251,247,239,.18) 74%),
    linear-gradient(0deg, rgba(37,31,41,.18), transparent 45%);
  pointer-events: none;
}
.night-mode .hero::after {
  background: linear-gradient(90deg, rgba(40,35,45,.96) 0%, rgba(40,35,45,.78) 38%, rgba(40,35,45,.12) 76%), linear-gradient(0deg, rgba(0,0,0,.4), transparent 45%);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(calc(var(--room-x, 0) * -1px), calc(var(--room-y, 0) * -1px), 0) scale(1.025);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 460px);
  align-items: center;
  gap: 46px;
  padding: 94px 0 116px;
}
.hero-copy { max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}
.hero-note span { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-strong); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(51,45,53,.14); }
.button--primary {
  color: #4b2e36;
  background: linear-gradient(180deg, var(--pink), #f1bad2);
  border-color: rgba(216, 137, 174, .6);
  box-shadow: 0 10px 24px rgba(216, 137, 174, 0.22);
}
.button--secondary { color: var(--ink); background: rgba(255,255,255,.55); border-color: var(--line); }
.button--small { min-height: 42px; padding: 0 15px; font-size: 13px; }
.button--wide { width: 100%; }
.night-mode .button--secondary { background: rgba(255,255,255,.08); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin-top: 48px;
}
.stat {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  box-shadow: var(--shadow-soft);
}
.night-mode .stat { background: rgba(255,255,255,.08); }
.stat strong { display: block; font-size: 18px; }
.stat span { display: block; color: var(--muted); font-size: 11px; }

.hero-room-os {
  position: relative;
  overflow: hidden;
  align-self: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 26px 76px rgba(76, 57, 65, 0.18);
  backdrop-filter: blur(18px) saturate(1.08);
  transform: translate3d(calc(var(--room-x, 0) * 0.22px), calc(var(--room-y, 0) * 0.22px), 0);
}

.night-mode .hero-room-os { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }

.room-screen {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--sage);
  isolation: isolate;
}

.room-screen img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  transform: translate3d(calc(var(--room-x, 0) * -0.18px), calc(var(--room-y, 0) * -0.18px), 0) scale(1.04);
}

.room-screen::before {
  content: "";
  position: absolute;
  inset: -20% 22% auto auto;
  width: 42%;
  height: 72%;
  background: linear-gradient(115deg, rgba(255,255,255,.62), rgba(255,255,255,0));
  transform: rotate(10deg);
  pointer-events: none;
  z-index: 1;
}

.room-screen::after {
  content: "";
  position: absolute;
  left: 16%;
  top: 22%;
  width: 35%;
  height: 24%;
  border-radius: 20px;
  background: rgba(216, 230, 236, 0.18);
  box-shadow: 0 0 0 rgba(139, 185, 200, 0);
  opacity: .18;
  pointer-events: none;
  z-index: 1;
}

.hero-room-os:hover .room-screen::after,
.hero-room-os:focus-within .room-screen::after {
  background: rgba(216, 230, 236, 0.58);
  box-shadow: 0 0 34px rgba(139, 185, 200, 0.58);
  opacity: 1;
}

.room-hotspot,
.room-hotspot-group {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(251, 247, 239, 0.76);
  box-shadow: 0 12px 30px rgba(51, 45, 53, 0.14);
  backdrop-filter: blur(14px);
}

.room-hotspot:hover,
.room-hotspot-group:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.88);
  color: var(--ink);
}

.hotspot-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--blue);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.room-hotspot strong { display: block; font-size: 13px; line-height: 1.1; }
.room-hotspot small { display: block; color: var(--muted); font-size: 11px; line-height: 1.2; }
.hotspot-bed { left: 8%; bottom: 17%; }
.hotspot-pc { right: 10%; top: 20%; }
.hotspot-shelf { right: 8%; bottom: 25%; }
.hotspot-note { left: 13%; top: 18%; }
.hotspot-pc .hotspot-icon { background: var(--sage); }
.hotspot-shelf .hotspot-icon { background: var(--amber); }
.hotspot-note .hotspot-icon { background: var(--pink); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.section-heading > div:first-child { max-width: 690px; }
.section-heading p { max-width: 490px; margin-bottom: 3px; color: var(--muted); }

.desktop-panel {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.night-mode .desktop-panel { background: rgba(255,255,255,.07); }
.desktop-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 5px 13px; color: var(--muted); font-size: 12px; font-weight: 700; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; display: block; border-radius: 50%; background: var(--pink); }
.window-dots i:nth-child(2) { background: var(--amber); }
.window-dots i:nth-child(3) { background: var(--sage-strong); }

.room-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}
.room-hero {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  border-radius: 16px;
  background: #d5dce4;
}
.room-hero img { width: 100%; height: 100%; object-fit: cover; }
.room-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(36, 26, 37, .52)); }
.room-label { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 19px; color: #fff; }
.room-label strong { display: block; font-size: 22px; }
.room-label span { color: rgba(255,255,255,.82); font-size: 13px; }
.room-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.room-card {
  position: relative;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 70%), var(--blue);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}
.room-card:nth-child(2) { background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 70%), var(--pink); }
.room-card:nth-child(3) { background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 70%), var(--sage); }
.room-card:nth-child(4) { background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 70%), var(--cream-deep); }
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.room-card .room-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  align-self: flex-start;
  margin-bottom: 6px;
  border-radius: 13px;
  background: rgba(255,255,255,.4);
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 -6px 12px rgba(255,255,255,.16);
}
.room-card strong {
  display: block;
  width: 100%;
  font-size: 16px;
}
.room-card .room-desc {
  display: block;
  width: 100%;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.room-card .room-meta {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.room-card .room-meta em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  color: var(--ink);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}
.night-mode .room-card {
  border-color: rgba(250,245,237,.16);
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
}
.night-mode .room-card .room-icon {
  background: rgba(255,255,255,.12);
  color: #fffaf2;
}
.night-mode .room-card .room-desc { color: rgba(250,245,237,.76); }
.night-mode .room-card .room-meta em {
  background: rgba(255,255,255,.08);
  color: #fffaf2;
}

.feature-grid,
.guide-grid,
.link-grid,
.info-grid { display: grid; gap: 16px; }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.link-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split > *,
.room-grid > *,
.article-layout > *,
.feature-grid > *,
.guide-grid > *,
.link-grid > *,
.info-grid > *,
.play-layout > *,
.play-steps > *,
.feature-showcase > *,
.feature-list > *,
.update-layout > *,
.update-timeline > * { min-width: 0; }

.feature-card,
.guide-card,
.info-card,
.link-card,
.article-block,
.faq-item,
.data-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow-soft);
}
.night-mode .feature-card,
.night-mode .guide-card,
.night-mode .info-card,
.night-mode .link-card,
.night-mode .article-block,
.night-mode .faq-item,
.night-mode .data-table-wrap { background: rgba(255,255,255,.07); }

.night-mode .play-step,
.night-mode .play-shot,
.night-mode .feature-item,
.night-mode .timeline-item,
.night-mode .masonry-card,
.night-mode .update-entry {
  border-color: rgba(250,245,237,.16);
  background: rgba(255,255,255,.08);
  box-shadow: 0 18px 46px rgba(0,0,0,.24);
}

.night-mode .play-step h3,
.night-mode .feature-item h3,
.night-mode .update-entry h3,
.night-mode .play-checklist h3,
.night-mode .version-summary h3 { color: #fffaf2; }

.night-mode .play-step p,
.night-mode .feature-item p,
.night-mode .update-entry p,
.night-mode .timeline-item p,
.night-mode .masonry-copy p,
.night-mode .play-checklist li,
.night-mode .version-summary dt { color: rgba(250,245,237,.76); }

.feature-card { padding: 26px; min-height: 222px; background: rgba(255,255,255,.64); backdrop-filter: blur(12px); }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 13px; background: var(--blue); font-size: 21px; box-shadow: inset 0 -6px 12px rgba(255,255,255,.25); }
.feature-card:nth-child(2) .feature-icon { background: var(--pink); }
.feature-card:nth-child(3) .feature-icon { background: var(--sage); }
.feature-card p, .guide-card p, .info-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.play-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: stretch;
}

.play-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.play-step {
  position: relative;
  min-height: 178px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.64);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.play-step span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 13px;
  color: #4b2e36;
  background: var(--pink);
  font-weight: 900;
  font-size: 13px;
}

.play-step:nth-child(2n) span { background: var(--blue); color: var(--ink); }
.play-step:nth-child(3n) span { background: var(--sage); color: var(--ink); }
.play-step h3 { margin-bottom: 8px; }
.play-step p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.play-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

.play-shot {
  margin: 0;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  box-shadow: var(--shadow-soft);
}

.play-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.play-checklist {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--blue);
  box-shadow: var(--shadow-soft);
}

.play-checklist ul {
  margin: 0 0 22px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.play-checklist li + li { margin-top: 8px; }

.night-mode .play-checklist,
.night-mode .version-summary {
  border-color: rgba(156,201,212,.24);
  background: linear-gradient(180deg, rgba(156,201,212,.18), rgba(255,255,255,.07));
  box-shadow: 0 18px 46px rgba(0,0,0,.24);
}

.feature-showcase {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.feature-visual {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--cream-deep);
  box-shadow: var(--shadow);
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(45, 34, 45, .56));
}

.feature-visual figcaption {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: #fff;
}

.feature-visual strong {
  display: block;
  margin-bottom: 7px;
  font-size: 24px;
  line-height: 1.25;
}

.feature-visual span { color: rgba(255,255,255,.82); font-size: 14px; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-item {
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.64);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.feature-item span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--blue);
  font-weight: 900;
}

.feature-item:nth-child(2n) span { background: var(--pink); }
.feature-item:nth-child(3n) span { background: var(--sage); }
.feature-item h3 { margin-bottom: 8px; }
.feature-item p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.split { display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: 55px; }
.split--reverse { grid-template-columns: 1.1fr .9fr; }
.image-frame { padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.55); box-shadow: var(--shadow); }
.image-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.image-caption { margin: 11px 5px 0; color: var(--muted); font-size: 12px; }

.timeline {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  padding: 7px 0 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--pink-strong) rgba(255,255,255,.45);
}
.timeline-item {
  position: relative;
  flex: 0 0 265px;
  min-height: 150px;
  padding: 26px 23px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow-soft);
  scroll-snap-align: start;
}
.timeline-item::before { content: ""; position: absolute; top: 18px; right: 18px; width: 12px; height: 12px; border: 3px solid var(--cream); border-radius: 50%; background: var(--pink-strong); }
.timeline-item strong { display: block; margin-bottom: 8px; font-size: 14px; }
.timeline-item p { margin-bottom: 0; color: var(--muted); font-size: 13px; }

.masonry { columns: 3 250px; column-gap: 16px; }
.masonry-card { display: inline-block; width: 100%; margin: 0 0 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.62); box-shadow: var(--shadow-soft); break-inside: avoid; backdrop-filter: blur(12px); }
.masonry-card img { width: 100%; aspect-ratio: 1.6 / 1; object-fit: cover; }
.masonry-copy { padding: 17px; }
.masonry-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.masonry-card--box {
  min-height: 178px;
  padding-top: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.5)),
    var(--blue);
}
.masonry-card--box:nth-of-type(6n) { background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.52)), var(--sage); }
.masonry-card--box:nth-of-type(7n) { background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.52)), var(--pink); }
.storage-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 17px;
  border-radius: 15px;
  background: rgba(255,255,255,.66);
  box-shadow: inset 0 -8px 16px rgba(216, 137, 174, .12), 0 12px 20px rgba(51,45,53,.08);
  font-weight: 900;
}

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 22px; }
.article-block { padding: 28px; }
.article-block + .article-block { margin-top: 16px; }
.article-block h2 { margin-top: 0; font-size: 30px; }
.article-block h3 { margin-top: 28px; }
.article-block p, .article-block li { color: var(--muted); font-size: 15px; }
.article-block ul, .article-block ol { padding-left: 22px; }
.article-block li + li { margin-top: 8px; }
.side-panel { position: sticky; top: 100px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sage); }
.side-panel h3 { margin-bottom: 15px; }
.side-panel ul { margin: 0 0 20px; padding: 0; list-style: none; }
.side-panel li + li { margin-top: 7px; }
.side-panel a { color: var(--muted); font-size: 13px; }

.page-hero { padding: 88px 0 65px; background: linear-gradient(135deg, rgba(216,230,236,.62), rgba(251,247,240,.45)); }
.page-hero h1 { max-width: 820px; margin-bottom: 16px; font-size: clamp(38px, 6vw, 64px); }
.page-hero .lead { max-width: 790px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { color: var(--pink-strong); }
.last-updated { margin-top: 20px; color: var(--muted); font-size: 12px; }

.info-card { padding: 22px; }
.info-card strong { display: block; margin-bottom: 7px; font-size: 13px; color: var(--muted); }
.info-card span { font-size: 18px; font-weight: 800; }

.faq-list { display: grid; gap: 12px; }
.faq-item { overflow: hidden; }
.faq-item > button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border: 0; color: var(--ink); background: transparent; text-align: left; font-weight: 800; cursor: pointer; }
.faq-item > button span:last-child { color: var(--pink-strong); font-size: 20px; }
.faq-answer { display: none; padding: 0 22px 20px; color: var(--muted); font-size: 14px; }
.faq-item.is-open .faq-answer { display: block; }
.faq-item.is-open > button span:last-child { transform: rotate(45deg); }

.data-table-wrap { max-width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.data-table th, .data-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 13px; }
.data-table th { color: var(--muted); background: rgba(216,230,236,.36); font-weight: 800; }
.data-table tr:last-child td { border-bottom: 0; }

.update-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.update-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.update-entry {
  position: relative;
  min-height: 168px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.64);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.update-entry::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 64px;
  height: 1px;
  background: var(--line);
}

.update-entry time {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  border-radius: 10px;
  color: #4b2e36;
  background: var(--pink);
  font-size: 12px;
  font-weight: 900;
}

.update-entry h3 { margin: 26px 0 8px; }
.update-entry p { margin: 0; color: var(--muted); font-size: 14px; }

.version-summary {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--sage);
  box-shadow: var(--shadow-soft);
}

.version-summary h3 { margin-bottom: 18px; }
.version-summary dl { margin: 0 0 22px; }
.version-summary dl div {
  padding: 13px 0;
  border-bottom: 1px solid rgba(51,45,53,.1);
}
.night-mode .version-summary dl div { border-bottom-color: rgba(250,245,237,.14); }
.version-summary dl div:first-child { padding-top: 0; }
.version-summary dt { color: var(--muted); font-size: 12px; font-weight: 800; }
.version-summary dd { margin: 4px 0 0; font-size: 15px; font-weight: 800; }

.cta-band { padding: 34px; border-radius: 22px; background: var(--pink); }
.cta-band .section-heading { margin-bottom: 0; }
.cta-band h2 { margin-bottom: 7px; font-size: 29px; }
.cta-band p { margin-bottom: 0; color: #6f4655; font-size: 14px; }

.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--cream-deep), var(--oat));
}
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1.2fr; gap: 30px; }
.footer-title { margin-bottom: 13px; font-size: 13px; font-weight: 800; }
.footer-copy, .footer-list a, .footer-meta { color: var(--muted); font-size: 13px; }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li + li { margin-top: 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }

.footer-lamp {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.42);
}

.lamp-switch {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 137, 174, .42);
  border-radius: 50%;
  color: #4b2e36;
  background: var(--amber);
  box-shadow: 0 0 0 8px rgba(242, 179, 109, .16), 0 12px 28px rgba(51,45,53,.12);
  cursor: pointer;
  font-weight: 900;
}

.lamp-switch:hover { transform: translateY(-2px); box-shadow: 0 0 0 11px rgba(242, 179, 109, .2), 0 14px 32px rgba(51,45,53,.14); }
.lamp-message { margin: 0; color: var(--muted); font-size: 14px; }
.night-mode .footer-lamp { background: rgba(255,255,255,.07); }
.night-mode .lamp-switch { background: var(--amber); box-shadow: 0 0 34px rgba(255, 194, 126, .5); }

.not-found { min-height: calc(100vh - 150px); display: grid; place-items: center; padding: 70px 0; text-align: center; }
.not-found h1 { margin-left: auto; margin-right: auto; }

@media (max-width: 940px) {
  .site-nav ul { gap: 0; }
  .site-nav a { padding-left: 8px; padding-right: 8px; font-size: 12px; }
  .hero-content { grid-template-columns: 1fr; gap: 28px; }
  .hero-room-os { max-width: 560px; }
  .play-layout,
  .feature-showcase,
  .update-layout { grid-template-columns: 1fr; }
  .play-panel { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); grid-template-rows: none; }
  .feature-visual { min-height: 420px; }
  .update-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-grid, .split, .split--reverse, .article-layout { grid-template-columns: 1fr; }
  .room-hero { min-height: 390px; }
  .side-panel { position: static; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .nav-shell { min-height: 66px; gap: 10px; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .nav-actions { gap: 6px; margin-left: auto; flex: 0 0 auto; }
  .nav-actions .button--small { min-width: 84px; padding: 0 12px; white-space: nowrap; flex-shrink: 0; }
  .menu-toggle { display: grid; }
  .site-nav { position: absolute; top: 66px; left: 0; right: 0; display: none; padding: 10px 18px 16px; border-bottom: 1px solid var(--line); background: var(--cream); }
  .night-mode .site-nav { background: var(--cream); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 12px 10px; }
  .brand-text { font-size: 13px; }
  .brand-text small { font-size: 10px; }
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 68px 0; }
  .hero { min-height: auto; align-items: end; }
  .hero::after { background: linear-gradient(180deg, rgba(251,247,240,.12) 15%, rgba(251,247,240,.84) 57%, rgba(251,247,240,.98) 100%); }
  .night-mode .hero::after { background: linear-gradient(180deg, rgba(40,35,45,.1) 15%, rgba(40,35,45,.83) 57%, rgba(40,35,45,.98) 100%); }
  .hero-content { padding: 118px 0 54px; }
  .hero-room-os { padding: 9px; border-radius: 20px; }
  .room-screen { min-height: 245px; border-radius: 15px; }
  .room-screen img { min-height: 245px; }
  .room-hotspot,
  .room-hotspot-group { padding: 6px 8px; gap: 6px; border-radius: 12px; }
  .hotspot-icon { width: 28px; height: 28px; border-radius: 9px; font-size: 11px; }
  .room-hotspot strong { font-size: 12px; }
  .room-hotspot small { font-size: 10px; }
  .hotspot-bed { left: 5%; bottom: 13%; }
  .hotspot-pc { right: 5%; top: 16%; }
  .hotspot-shelf { right: 5%; bottom: 19%; }
  .hotspot-note { left: 7%; top: 14%; }
  h1 { font-size: 43px; }
  .lead { font-size: 16px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
  .section-heading { display: block; margin-bottom: 23px; }
  .section-heading p { margin-top: 12px; }
  .room-links,
  .feature-grid,
  .guide-grid,
  .info-grid,
  .play-steps,
  .feature-list,
  .update-timeline,
  .play-panel { grid-template-columns: 1fr; }
  .play-step,
  .feature-item,
  .update-entry { min-height: auto; padding: 20px; }
  .play-step span,
  .feature-item span { margin-bottom: 14px; }
  .play-shot img { aspect-ratio: 16 / 10; }
  .play-checklist { padding: 20px; }
  .feature-visual { min-height: 330px; }
  .feature-visual figcaption { left: 18px; right: 18px; bottom: 18px; }
  .feature-visual strong { font-size: 20px; }
  .version-summary { padding: 20px; }
  .room-hero { min-height: 270px; }
  .timeline { display: flex; grid-template-columns: none; padding-bottom: 18px; }
  .timeline-item { flex: 0 0 252px; padding: 22px 20px 18px; border: 1px solid var(--line); border-radius: 18px; }
  .timeline-item::before { top: 17px; left: auto; right: 17px; }
  .article-block { padding: 22px; }
  .page-hero { padding: 62px 0 49px; }
  .page-hero h1 { font-size: 42px; }
  .cta-band { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { display: block; }
  .footer-bottom .footer-meta + .footer-meta { margin-top: 8px; }
}

/* Whitehat protocol additions. Existing site selectors remain unchanged. */
.my-news-home, .my-news-page {
  --my-news-surface: var(--oat, #f6efe5);
  --my-news-text: var(--ink, #332d35);
  --my-news-muted: var(--muted, #756d78);
  --my-news-accent: var(--pink-strong, #d889ae);
  --my-news-line: var(--line, rgba(51, 45, 53, 0.12));
}
.my-news-home { width: 100%; padding: 26px 16px 42px; color: var(--my-news-text); }
.my-news-home .my-news-shell, .my-news-page .my-news-shell { width: min(var(--container, var(--max, 1180px)), calc(100% - 0px)); margin: 0 auto; }
.my-news-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--my-news-line); }
.my-news-kicker { margin: 0 0 3px; color: var(--my-news-accent); font-size: .78rem; font-weight: 800; letter-spacing: .13em; }
.my-news-heading h2, .my-news-page h1, .my-news-page h2, .my-news-card h2, .my-news-card h3 { color: var(--my-news-text); }
.my-news-heading h2 { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2rem); line-height: 1.25; }
.my-news-all-link, .my-news-card a, .my-news-back { display: inline-flex; align-items: center; width: fit-content; color: var(--my-news-text); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--my-news-accent); }
.my-news-all-link:hover, .my-news-card a:hover, .my-news-back:hover { color: var(--my-news-accent); }
.my-news-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.my-news-card { display: flex; flex-direction: column; min-width: 0; min-height: 196px; padding: 20px; color: var(--my-news-text); background: var(--my-news-surface); border: 1px solid var(--my-news-line); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 14px 36px rgba(0,0,0,.18)); }
.my-news-card h2, .my-news-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.5; }
.my-news-card time { display: block; margin: 10px 0 0; color: var(--my-news-muted); font-size: .86rem; }
.my-news-card p { margin: 10px 0 16px; color: var(--my-news-muted); }
.my-news-card a { margin-top: auto; }
.my-news-empty { grid-column: 1 / -1; margin: 0; padding: 20px; color: var(--my-news-muted); background: var(--my-news-surface); border: 1px dashed var(--my-news-line); border-radius: var(--radius, 8px); }
.my-news-page { min-height: 100vh; padding: 44px 16px 64px; color: var(--my-news-text); background: var(--bg, var(--cream, #fff)); }
.my-news-page .my-news-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; color: var(--my-news-muted); }
.my-news-page .my-news-brand { margin: 0; color: var(--my-news-muted); font-size: .93rem; }
.my-news-page .my-news-intro { max-width: 760px; margin: 0 0 24px; color: var(--my-news-muted); }
.my-news-page .my-news-detail { max-width: 820px; padding: clamp(22px, 5vw, 44px); color: var(--my-news-text); background: var(--my-news-surface); border: 1px solid var(--my-news-line); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 14px 36px rgba(0,0,0,.18)); }
.my-news-page .my-news-detail h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.22; }
.my-news-page .my-news-detail time { display: block; margin: 16px 0 24px; color: var(--my-news-muted); }
.my-news-page .my-news-summary { margin: 0 0 20px; color: var(--my-news-muted); font-size: 1.05rem; }
.my-news-page .my-news-content { margin: 0; color: var(--my-news-text); white-space: pre-wrap; }
.my-news-page .my-news-footer { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.my-friend-link { color: inherit; }
.download-confirm-backdrop { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.64); }
.download-confirm-panel { width: min(460px, 100%); padding: 24px; color: var(--my-news-text); background: var(--my-news-surface); border: 1px solid var(--my-news-line); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 24px 70px rgba(0,0,0,.35)); }
.download-confirm-panel h2 { margin: 0 0 10px; color: var(--my-news-text); font-size: 1.3rem; }
.download-confirm-panel p { margin: 0; color: var(--my-news-muted); }
.download-confirm-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.download-confirm-actions button { min-height: 40px; padding: 0 16px; font: inherit; font-weight: 700; color: var(--my-news-text); background: transparent; border: 1px solid var(--my-news-line); border-radius: 6px; cursor: pointer; }
.download-confirm-actions .download-confirm-primary { color: #19120a; background: var(--my-news-accent); border-color: var(--my-news-accent); }
@media (max-width: 640px) { .my-news-home { padding-inline: 12px; } .my-news-heading, .my-news-page .my-news-topbar { align-items: flex-start; flex-direction: column; } .my-news-page { padding: 26px 12px 44px; } .my-news-card { min-height: 0; } }
