:root {
  --paper: #f4efe4;
  --paper-2: #fbf7ee;
  --cream: #f7f3e9;
  --ink: #2f4a4f;
  --ink-2: #4c6663;
  --muted: #8b9a92;
  --line: #e2d9c7;
  --line-2: #d3c7ae;
  --sage: #9fb884;
  --teal: #4f6b6e;
  --teal-l: #7d9b96;
  --sand: #e7d5b0;
  --accent: #c1705a;
  --gold: #c9a86a;
  --serif: "Iowan Old Style", "Songti SC", "Noto Serif SC", Georgia, serif;
  --sans: "Avenir Next", -apple-system, BlinkMacSystemFont, "PingFang SC",
          "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --pad: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-s: 0 1px 2px rgba(60, 62, 50, 0.06), 0 4px 14px rgba(60, 62, 50, 0.05);
  --shadow-m: 0 2px 6px rgba(60, 62, 50, 0.06), 0 14px 34px rgba(60, 62, 50, 0.09);
  --shadow-l: 0 4px 10px rgba(60, 62, 50, 0.07), 0 24px 60px rgba(60, 62, 50, 0.12);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.leaving { opacity: 0; transition: opacity 0.28s ease; }

a { color: inherit; text-decoration: none; }
::selection { background: rgba(143, 192, 181, 0.35); }

/* ---------- top bar ---------- */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 74px;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.topbar.solid,
.topbar.scrolled {
  background: rgba(243, 248, 252, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { display: block; line-height: 1.1; }
.brand-mark { border-radius: 50%; flex: none; }
.brand .nm { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: 0.05em; }
.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 400;
}

.rooms {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
}
.rooms a {
  color: var(--ink-2);
  padding: 7px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
}
.rooms a:hover { background: rgba(255, 255, 255, 0.7); }
.rooms a.active {
  background: var(--paper-2);
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--shadow-s);
}

.clock {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-left: 16px;
  border-left: 1px solid var(--line-2);
  font-variant-numeric: tabular-nums;
}

/* ---------- layout ---------- */

.wrap {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

main { position: relative; z-index: 2; }

.page-enter main { animation: rise 0.9s var(--ease) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-l);
  box-shadow: 0 0 0 3px rgba(143, 192, 181, 0.24);
}

/* ---------- room page head ---------- */

.room-head {
  padding-top: 140px;
  padding-bottom: 44px;
  max-width: 700px;
}
.room-head h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
  margin: 0;
}
.room-head .lede {
  font-size: clamp(14.5px, 1.7vw, 16px);
  line-height: 1.95;
  color: var(--ink-2);
  margin: 20px 0 0;
}

.page-enter main { padding-bottom: 40px; }

/* ---------- post rows ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 7px 16px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-family: inherit;
}
.chip:hover { box-shadow: var(--shadow-s); }
.chip.on { background: var(--teal); border-color: var(--teal); color: #fff; }

.list-empty { color: var(--muted); font-size: 14px; padding: 40px 4px; }

.post-list { display: flex; flex-direction: column; gap: 10px; }
.post-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: baseline;
  gap: 6px 20px;
  padding: 20px 22px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--paper-2);
  transition: all 0.3s var(--ease);
}
.post-row:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-m);
  transform: translateY(-2px);
}
.post-row .date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.post-row h3 {
  font-weight: 500;
  font-size: clamp(16px, 2vw, 18px);
  letter-spacing: 0.01em;
  margin: 0;
  transition: color 0.3s var(--ease);
}
.post-row:hover h3 { color: var(--teal); }
.post-row .tag {
  font-size: 11.5px;
  color: var(--ink-2);
  background: #f2ecdf;
  border-radius: 10px;
  padding: 3px 10px;
  white-space: nowrap;
}
.post-row .sub {
  grid-column: 2 / -1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 2px 0 0;
}

/* ---------- article ---------- */

.article-wrap { padding: 130px var(--pad) 60px; max-width: 740px; margin: 0 auto; }
.article-head { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.article-head h1 {
  font-weight: 500;
  font-size: clamp(26px, 4.4vw, 36px);
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin: 10px 0 0;
}
.article-meta {
  display: flex;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
}
.prose { font-size: 16px; line-height: 2.05; color: #365367; }
.prose p { margin: 1.4em 0; }
.prose h2 {
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  margin: 2.2em 0 0.7em;
}
.prose h2::before {
  content: "";
  display: block;
  width: 22px; height: 3px;
  border-radius: 2px;
  background: var(--sage);
  margin-bottom: 14px;
}
.prose blockquote {
  margin: 2em 0;
  padding: 16px 22px;
  background: #f0ede1;
  border-left: 3px solid var(--teal-l);
  border-radius: 0 14px 14px 0;
  font-size: 15.5px;
  color: var(--ink-2);
}
.prose ul { padding-left: 20px; }
.prose li { margin: 0.5em 0; }
.prose li::marker { color: var(--teal-l); }
.prose code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: #f2ecdf;
  border-radius: 5px;
  padding: 1px 6px;
}
.prose a { color: var(--teal); border-bottom: 1px solid rgba(106, 154, 144, 0.35); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
.prose strong { color: var(--ink); }

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.article-nav a { color: var(--ink-2); max-width: 47%; transition: color 0.3s var(--ease); }
.article-nav a:hover { color: var(--teal); }
.article-nav span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 4px; }

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(30px, 6vw, 72px);
  padding-bottom: 60px;
  align-items: start;
}
.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.spec tr { border-bottom: 1px solid var(--line); }
.spec tr:last-child { border-bottom: 0; }
.spec th {
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  padding: 14px 16px 14px 20px;
  width: 96px;
  vertical-align: top;
}
.spec td { padding: 14px 20px 14px 0; color: var(--ink-2); }
.spec td a { color: var(--teal); }

/* ---------- music ---------- */

.player {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-m);
}

.deck { position: relative; aspect-ratio: 1; }

.disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%,
      rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3.2px),
    radial-gradient(circle at 50% 50%, #2b3038 0 31%, #12151a 31.6% 100%);
  box-shadow: 0 18px 40px rgba(58, 62, 50, 0.2);
  animation: spin 14s linear infinite;
  animation-play-state: paused;
}
.disc.playing { animation-play-state: running; }
.disc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 40deg, transparent 0deg, rgba(255, 255, 255, 0.07) 24deg,
    transparent 52deg, transparent 180deg, rgba(255, 255, 255, 0.04) 208deg, transparent 236deg);
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.label-art {
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.label-art .center {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}
.label-art .cap {
  position: absolute;
  bottom: 13%;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

.tonearm {
  position: absolute;
  top: -6%;
  right: -3%;
  width: 42%;
  height: 42%;
  transform-origin: 82% 18%;
  transform: rotate(-24deg);
  transition: transform 1.1s var(--ease);
  pointer-events: none;
}
.tonearm::before {
  content: "";
  position: absolute;
  top: 8%; right: 8%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8eef2, #b9c8d2);
  box-shadow: 0 0 0 1px rgba(58, 62, 50, 0.13);
}
.tonearm::after {
  content: "";
  position: absolute;
  top: 14%; right: 16%;
  width: 2px;
  height: 88%;
  background: linear-gradient(180deg, #cfdae2, #93a6b3);
  transform: rotate(28deg);
  transform-origin: top center;
  border-radius: 1px;
}
.tonearm.on { transform: rotate(-4deg); }

.now .now-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.now h2 {
  font-weight: 500;
  font-size: clamp(21px, 3vw, 26px);
  letter-spacing: 0.01em;
  margin: 8px 0 2px;
}
.now .artist { color: var(--ink-2); font-size: 13px; margin: 0; }

.spectrum { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin: 18px 0 0; }
.spectrum i {
  display: block;
  width: 3px;
  height: 12%;
  background: var(--teal-l);
  border-radius: 2px;
  transition: height 0.18s ease;
}

.bar { position: relative; height: 4px; background: #e7eff5; border-radius: 3px; margin: 22px 0 8px; overflow: hidden; }
.bar .fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--teal-l); border-radius: 3px; transition: width 0.25s linear; }
.times {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.controls { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.cbtn {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--paper-2);
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  padding: 0;
}
.cbtn:hover { color: var(--ink); box-shadow: var(--shadow-s); }
.cbtn:active { transform: scale(0.96); }
.cbtn.play {
  width: 52px; height: 52px;
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 6px 16px rgba(106, 154, 144, 0.3);
}
.cbtn.play:hover { background: #5f8d83; color: #fff; }
.cbtn svg { width: 14px; height: 14px; fill: currentColor; }
.cbtn.play svg { width: 16px; height: 16px; }

.volume { display: flex; align-items: center; gap: 10px; margin-left: auto; color: var(--muted); }
.volume input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 4px;
  border-radius: 3px;
  background: #e2ebf2;
  outline: none;
}
.volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--teal-l);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(58, 62, 50, 0.2);
}
.volume input[type="range"]::-moz-range-thumb {
  width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%;
  background: var(--teal-l); cursor: pointer;
}

.meta-line {
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(14px, 2.2vw, 24px);
  margin-top: 32px;
}
.album {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px 10px 14px;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  display: block;
  transition: all 0.3s var(--ease);
}
.album:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--line-2); }
.cover {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.1) 36%, transparent 64%);
}
.album:hover .cover .art { transform: scale(1.05); }
.cover .art { position: absolute; inset: 0; transition: transform 1s var(--ease); }
.cover .txt {
  position: absolute;
  left: 12px; right: 12px; bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.94);
  z-index: 2;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.cover .num {
  position: absolute;
  top: 10px; left: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.7);
  z-index: 2;
}
.cover .state {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 13px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.cover .state i { width: 2px; background: #fff; border-radius: 1px; }
.album.playing .cover .state { opacity: 1; }
.album.playing { border-color: var(--teal-l); box-shadow: 0 0 0 2px rgba(143, 192, 181, 0.28), var(--shadow-m); }
.album-title { font-weight: 500; font-size: 14.5px; margin: 11px 4px 0; }
.album-sub { font-size: 11.5px; color: var(--muted); margin: 2px 4px 0; }

.note-box {
  margin-top: 40px;
  padding: 22px 26px;
  border-radius: 18px;
  background: #f0ede1;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.95;
}
.note-box strong { color: var(--ink); font-weight: 500; }
.note-box code { font-family: var(--mono); font-size: 0.9em; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.section-head h2 { font-weight: 500; font-size: 20px; letter-spacing: 0.01em; margin: 0; }
.section-head .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head a.more { font-size: 12.5px; color: var(--muted); }
.section-head a.more:hover { color: var(--teal); }

/* ---------- footer ---------- */

footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 26px 0 34px;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted);
}
.foot a:hover { color: var(--teal); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- dock scene ---------- */

.dock {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f1e6 0%, #eee7d6 46%, #dfd5bd 100%);
}
.scene-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.scene {
  width: 100%;
  height: 100%;
  display: block;
}
.scene .hot { cursor: pointer; }
.scene .bld { transition: transform 0.5s var(--ease); }
.scene .hot:hover .bld { transform: translateY(-6px); }
.scene .hot:focus-visible { outline: none; }
.scene .hot:focus-visible .bld { transform: translateY(-6px); }

.dock-brand {
  position: absolute;
  top: 22px; left: var(--pad);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #2d5570;
}
.dock-brand svg { width: 34px; height: 34px; }
.dock-brand .nm { font-size: 21px; font-weight: 500; letter-spacing: 0.06em; line-height: 1.1; }
.dock-brand .sub {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(45, 85, 112, 0.62);
  margin-top: 4px;
}

.dock-nav {
  position: absolute;
  top: 22px; right: var(--pad);
  z-index: 5;
  display: flex;
  gap: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-radius: 17px;
  background: rgba(251, 253, 255, 0.9);
  border: 1px solid rgba(197, 219, 233, 0.9);
  color: #2d5570;
  font-size: 12.5px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(58, 62, 50, 0.08);
  transition: all 0.25s var(--ease);
  backdrop-filter: blur(6px);
}
.pill:hover { background: #fff; box-shadow: var(--shadow-s); }
.pill svg { width: 14px; height: 14px; }

.dock-toast {
  position: absolute;
  left: var(--pad);
  bottom: 26px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
}
.dock-toast .bubble {
  background: rgba(251, 253, 255, 0.92);
  border: 1px solid rgba(197, 219, 233, 0.9);
  border-radius: 16px;
  padding: 8px 15px 9px;
  font-size: 12.5px;
  color: #2d5570;
  box-shadow: 0 1px 2px rgba(58, 62, 50, 0.08);
  backdrop-filter: blur(6px);
  animation: floatIn 1s var(--ease) both 0.8s;
  line-height: 1.5;
}
.dock-toast .bubble b { display: block; font-weight: 500; }
.dock-toast .bubble small { display: block; font-size: 11px; color: rgba(45, 85, 112, 0.6); margin-top: 2px; }
@keyframes floatIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.icon-btn {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(251, 253, 255, 0.92);
  border: 1px solid rgba(197, 219, 233, 0.9);
  color: #4c7c98;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(58, 62, 50, 0.08);
}
.icon-btn:hover { background: #fff; }

.dock-loc {
  position: absolute;
  right: var(--pad);
  bottom: 26px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tip {
  position: absolute;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -100%) scale(0.96);
  transform-origin: bottom center;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  background: rgba(251, 253, 255, 0.97);
  border: 1px solid rgba(197, 219, 233, 0.9);
  border-radius: 14px;
  padding: 8px 13px 9px;
  box-shadow: 0 6px 18px rgba(58, 62, 50, 0.16);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tip.on { opacity: 1; transform: translate(-50%, -112%) scale(1); }
.tip .pin { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.tip b { font-weight: 500; font-size: 13px; color: #2d5570; }
.tip em { font-style: normal; font-size: 11.5px; color: rgba(45, 85, 112, 0.6); }

.dock-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 11.5px;
  color: rgba(45, 85, 112, 0.55);
  letter-spacing: 0.08em;
  animation: fadeUp 1s var(--ease) both 1.6s;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.rooms-menu {
  position: absolute;
  top: 64px; right: var(--pad);
  z-index: 9;
  width: 216px;
  background: rgba(251, 253, 255, 0.97);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 8px;
  box-shadow: var(--shadow-l);
  display: none;
  backdrop-filter: blur(10px);
}
.rooms-menu.on { display: block; animation: rise 0.3s var(--ease) both; }
.rooms-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 13.5px;
  color: #2d5570;
}
.rooms-menu a:hover { background: #f0ede1; }
.rooms-menu a span { font-family: var(--mono); font-size: 9.5px; color: var(--muted); letter-spacing: 0.1em; }

@media (max-width: 860px) {
  .player { grid-template-columns: 1fr; }
  .deck { max-width: 260px; margin: 0 auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .clock { display: none; }
  .brand small { display: none; }
  .post-row { display: block; position: relative; padding: 18px 20px; padding-right: 78px; }
  .post-row .date { font-size: 10.5px; }
  .post-row h3 { margin-top: 5px; }
  .post-row .tag { position: absolute; top: 16px; right: 16px; }
  .post-row .sub { margin-top: 7px; }
  .dock-brand .sub { display: none; }
  .dock-hint { display: none; }
  .dock-toast { bottom: 18px; max-width: 236px; }
  .dock-toast .bubble { font-size: 11.5px; padding: 8px 12px; }
}

@media (max-width: 620px) {
  .topbar { height: 62px; gap: 8px; }
  .rooms { gap: 0; font-size: 12.5px; }
  .rooms a { padding: 6px 7px; }
  .brand { gap: 6px; }
  .brand svg { width: 24px; height: 24px; }
  .brand .nm { font-size: 17px; }
  .brand small { display: none; }
  .dock-loc .pill span { display: none; }
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .volume input[type="range"] { width: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
