:root {
  --bg: #04111d;
  --bg-2: #0a2433;
  --accent: #f3b23d;
  --accent-2: #6fe7c3;
  --album-image: none;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.12);
  --text: #e9f2f5;
  --muted: #9fb3bf;
  --border: rgba(255, 255, 255, 0.18);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
}

.bg {
  position: fixed;
  inset: 0;
  background: transparent;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bg::before {
  content: none;
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--album-image) center/cover no-repeat fixed;
  filter: grayscale(100%) contrast(0.9);
  opacity: 0;
  transition: opacity 0.6s ease;
  mix-blend-mode: multiply;
}
body.album-bg .bg::after { opacity: 0.24; }

.bg-poetry {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.bg-poetry-line {
  position: absolute;
  left: 0;
  top: var(--poem-y, 50%);
  color: rgba(0, 0, 0, var(--poem-opacity, 0.12));
  font-size: var(--poem-size, 18px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.22);
  transform: translate3d(var(--poem-start, -24vw), var(--poem-drift-from, 0px), 0);
  animation:
    bg-poetry-move var(--poem-duration, 96s) linear infinite,
    bg-poetry-pulse var(--poem-pulse, 16s) ease-in-out infinite;
  animation-delay: var(--poem-delay, 0s), calc(var(--poem-delay, 0s) * 0.3);
  user-select: none;
}

@keyframes bg-poetry-move {
  0% {
    transform: translate3d(var(--poem-start, -24vw), var(--poem-drift-from, 0px), 0);
  }
  100% {
    transform: translate3d(var(--poem-end, 112vw), var(--poem-drift-to, 0px), 0);
  }
}

@keyframes bg-poetry-pulse {
  0%, 100% { opacity: calc(var(--poem-opacity, 0.12) * 0.6); }
  50% { opacity: var(--poem-opacity, 0.12); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-poetry-line {
    animation: none;
    opacity: 0.08;
  }
}

@keyframes bg-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-2.5%, 1.8%, 0) scale(1.04);
  }
  100% {
    transform: translate3d(2.2%, -2%, 0) scale(0.98);
  }
}

@keyframes bg-drift-secondary {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate3d(3%, -2%, 0) rotate(2deg) scale(1.03);
  }
  100% {
    transform: translate3d(-2.8%, 2.4%, 0) rotate(-1.5deg) scale(0.98);
  }
}

main {
  position: relative;
  padding: 120px 5vw 140px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.overlay { position: relative; z-index: 2; }

.ui-bar {
  position: fixed;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  z-index: 3;
}

.music-dock {
  position: fixed;
  left: 50%;
  bottom: 86px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  gap: 10px;
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s ease;
}

.music-dock.hidden {
  opacity: 0;
  pointer-events: none;
}

.music-dock-link {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #000000;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  line-height: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.music-dock-link:hover {
  transform: translateY(-2px);
  border-color: #ffffff;
  background: #000000;
}

.music-dock-link img {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
  flex: 0 0 24px;
  display: block;
  filter: brightness(0) saturate(100%);
  transition: filter 0.2s ease;
}

.music-dock-link:hover img {
  filter: brightness(0) saturate(100%) invert(1);
}

.music-dock-amazon {
  width: 24px;
  height: 24px;
  display: block;
}

.music-dock-amazon path {
  fill: none;
  stroke: #000000;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}

.music-dock-link:hover .music-dock-amazon path {
  stroke: #ffffff;
}
.back-home {
  position: fixed;
  bottom: 96px;
  right: 24px;
  margin-left: 0;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, rgba(8, 12, 18, 0.95), rgba(18, 26, 36, 0.9));
  color: #f7f9fc;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  z-index: 4;
}
.back-home:hover { transform: translateY(-2px); border-color: rgba(243,178,61,0.9); }
.track-search-btn {
  bottom: 170px;
  font-size: 28px;
}

.pen-btn {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  animation: pen-write 12s ease-in-out infinite;
  z-index: 4;
  overflow: visible;
}
.pen-btn:hover { transform: translateY(-3px); }
.pen-btn::after {
  content: "INFO";
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  pointer-events: none;
}

.comments-btn {
  position: fixed;
  top: 86px;
  left: 24px;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 4;
}
.comments-btn:hover { transform: translateY(-3px); }

.pen-bubble {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translate(-50%, -6px);
  max-width: min(620px, 90vw);
  max-height: 70vh;
  overflow: auto;
  padding: 12px 14px;
  background: rgba(8, 12, 18, 0.9);
  color: #e9edf3;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  font-size: 0.95rem;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 4;
}
.pen-bubble .pen-title {
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.pen-bubble .pen-body { white-space: pre-line; }
.pen-bubble.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes pen-write {
  0% { transform: rotate(0deg) translateY(0); }
  20% { transform: rotate(-12deg) translate(2px, 2px); }
  40% { transform: rotate(8deg) translate(-3px, 1px); }
  60% { transform: rotate(-10deg) translate(3px, -1px); }
  80% { transform: rotate(6deg) translate(-2px, -2px); }
  100% { transform: rotate(0deg) translateY(0); }
}

.stage {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  justify-items: center;
  justify-content: center;
  align-items: start;
  align-content: start;
  transition: transform 0.8s ease, opacity 0.8s ease;
}
.stage.fold {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 0;
}

.album-card {
  width: 100%;
  min-width: 120px;
  aspect-ratio: 3 / 4;
  background: #ffffff;
  border: 1px dashed #000000;
  border-radius: 16px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.45s ease, opacity 0.45s ease, border-color 0.3s ease;
}

.album-card:hover { border-color: #000000; transform: translateY(-6px); }
.album-card h3 { margin: 0; font-size: 1.15rem; letter-spacing: 0.01em; color: #000000; }
.album-card p { margin: 0; color: #000000; font-size: 0.95rem; }

.album-cover {
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
  display: flex;
  align-items: center;
  justify-content: center;
}
.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
}

.tag { color: #f2a21a; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

.panel { margin: 42px auto 0; width: min(1200px, 92vw); padding: 28px; border-radius: 22px; background: #ffffff; border: 1px solid #000000; box-shadow: none; backdrop-filter: none; }
.panel.hidden { display: none; }
.panel-body { max-width: 900px; line-height: 1.5; color: #111111; }
.panel-body h2, .panel-body h3 { color: #000000; margin-top: 0; }
.panel-body.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.story-card {
  width: min(1100px, 92vw);
  margin: 20px auto 0;
  padding: 18px 22px;
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 18px;
  color: #111111;
  line-height: 1.55;
  box-shadow: none;
}
.story-card.hidden { display: none; }
.story-card h2 { margin: 0 0 10px; color: #000000; letter-spacing: 0.01em; }
.story-card .story-text { column-count: 2; column-gap: 24px; }
.story-card .story-text p { margin: 0 0 10px; }

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 6;
}
.modal.hidden { display: none; }
.modal-dialog {
  pointer-events: auto;
  width: min(520px, 90vw);
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 16px;
  padding: 18px 20px 16px;
  box-shadow: none;
  color: #111111;
}
.modal-dialog h3 { margin: 0 0 10px; color: #000000; }
.modal-dialog p { margin: 0 0 12px; line-height: 1.5; }
.modal-dialog .pill { margin-top: 6px; }
.stickers-modal-dialog {
  width: min(760px, 92vw);
  max-height: min(80vh, 860px);
  overflow: auto;
}
.sticker-filter-dialog {
  width: min(820px, 92vw);
  max-height: min(80vh, 860px);
  overflow: auto;
}
.sticker-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.sticker-filter-option {
  border: 1px solid #000000;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 6px 8px;
  color: #000000;
  cursor: pointer;
  display: grid;
  gap: 6px;
  justify-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.sticker-filter-option:hover {
  transform: translateY(-2px);
  border-color: #000000;
}
.sticker-filter-option.is-active {
  border-color: #000000;
  background: #f3f3f3;
}
.sticker-filter-thumb {
  position: relative;
  width: 66px;
  min-width: 66px;
  min-height: 66px;
  aspect-ratio: 1 / 1;
}
.sticker-filter-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sticker-filter-thumb .sticker-filter-base {
  filter: brightness(0) saturate(100%) invert(1);
}
.sticker-filter-label {
  font-size: 0.84rem;
  color: #111111;
}
.sticker-filter-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}
#stickersModalText { white-space: pre-line; }
.stickers-ok-btn { text-transform: uppercase; }
#tracksPanel {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  border-radius: 0;
}

.pill {
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  padding: 10px 16px;
  border-radius: 999px;
  text-transform: lowercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  backdrop-filter: none;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.pill:hover { transform: translateY(-2px); border-color: #000000; color: #ffffff; background: #000000; }
.pill:active { transform: translateY(0); }
.pill,
.music-dock-link,
.comments-btn,
.pen-btn {
  touch-action: manipulation;
}
.ui-bar {
  touch-action: manipulation;
}

.ghost { background: #ffffff; border-color: #000000; }

@media (max-width: 640px) {
  .ui-bar {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    row-gap: 8px;
  }
  #homeBtn,
  #intentBtn,
  #tracksBtn,
  #stickersBtn,
  #contactsBtn {
    flex: 0 0 auto;
    width: auto;
  }
  #homeBtn { order: 1; }
  #intentBtn { order: 2; }
  #tracksBtn { order: 3; }
  #stickersBtn { order: 4; }
  #contactsBtn { order: 5; }
  #stickersBtn {
    margin: 0;
  }
  .music-dock {
    bottom: 84px;
    width: min(96vw, 360px);
    justify-content: space-between;
    gap: 6px;
  }
  .music-dock-link {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .music-dock-link img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px;
    max-height: 20px;
    flex: 0 0 20px;
  }
  .music-dock-amazon {
    width: 20px;
    height: 20px;
  }
  .back-home {
    bottom: 140px;
    right: 16px;
    width: 56px;
    height: 56px;
    font-size: 20px;
  }
  .track-search-btn {
    bottom: 206px;
  }
  .pen-btn {
    top: 72px;
    right: 16px;
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
  .comments-btn {
    top: 72px;
    left: 16px;
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
  .pen-bubble {
    top: 64px;
    left: 50%;
    right: auto;
    max-width: 96vw;
    max-height: 70vh;
    overflow: auto;
    font-size: 0.9rem;
  }
}

.floor {
  position: fixed;
  bottom: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 3;
}

.disclaimer-pill {
  border: 1px solid #000000;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  color: #000000;
  font-size: 0.95rem;
  max-width: 90vw;
  text-align: center;
  box-shadow: var(--shadow);
}

.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.eyebrow { letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); font-size: 0.85rem; margin: 0; }
.panel h2 { margin: 6px 0 0; }

.track-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  width: 100%;
  margin: 20px auto 0;
  padding: 0 0 12px;
  justify-items: center;
}

.track-card { background: #ffffff; border: 1px dashed #000000; border-radius: 16px; padding: 14px; display: grid; grid-template-rows: auto auto auto auto; gap: 6px; box-shadow: none; scroll-snap-align: start; align-content: start; transition: border-color 0.3s ease; width: 100%; max-width: 320px; min-height: 240px; height: auto; position: relative; }
.track-card.selected { border-color: #000000; }
.track-meta.top { font-size: 0.9rem; color: #000000; letter-spacing: 0.04em; }
.track-sticker-stack {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30%;
  min-width: 64px;
  min-height: 64px;
  max-width: 120px;
  aspect-ratio: 1 / 1;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}
.track-sticker-base,
.track-sticker-animal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.track-sticker-base {
  inset: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  filter: brightness(0) saturate(100%) invert(1);
  z-index: 0;
}
.track-sticker-animal {
  z-index: 1;
}
.track-visual { height: 180px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, rgba(111,231,195,0.2), rgba(243,178,61,0.2)); display: flex; align-items: center; justify-content: center; color: #05222f; font-weight: 700; }
.track-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.track-visual.no-img { color: #05222f; font-size: 0.95rem; text-align: center; padding: 18px; }
.track-title { font-size: 1rem; color: #000000; margin-top: -4px; }
.track-lyrics { color: var(--muted); font-size: 0.93rem; line-height: 1.4; max-height: 120px; overflow: auto; padding-right: 4px; white-space: pre-line; }
.track-lyrics {
  background-color: #000000;
  background-image: linear-gradient(180deg, #6a6a6a 0%, #2a2a2a 48%, #000000 100%);
  border-radius: 10px;
  padding: 10px 12px;
  color: #f3f7fb;
}
.track-card.preview .track-lyrics { display: none; }
.track-card.selected { height: auto; }
.track-card.selected .track-lyrics { max-height: none; }
.track-card.selected .audio-row { display: flex; }

.carousel-nav { display: none; }

.audio-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.audio-row.platform-row {
  flex-direction: column;
  align-items: stretch;
}
.audio-row.platform-row iframe {
  width: 100%;
  height: 166px;
  border: 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
}
.track-unreleased {
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
  padding: 10px 12px;
}

.comments-drawer {
  position: fixed;
  inset: 0;
  display: block;
  pointer-events: none;
  z-index: 22;
}
.comments-drawer.is-visible { pointer-events: auto; }
.comments-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity 220ms ease;
}
.comments-drawer__card {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 16px);
  width: min(900px, calc(100% - 24px));
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 18px;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transition: transform 240ms ease, opacity 200ms ease;
  max-height: 76vh;
  overflow: hidden;
}
.comments-drawer__handle {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: #000000;
}
.comments-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 8px;
}
.comments-drawer__meta { display: flex; }
.comments-drawer__close {
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
}
.comments-drawer__close:hover { border-color: #000000; background: #000000; color: #ffffff; }
.comments-drawer__body {
  padding: 8px 12px 14px;
  overflow-y: auto;
  max-height: calc(76vh - 56px);
}
.comments-drawer.is-visible .comments-drawer__backdrop { opacity: 1; }
.comments-drawer.is-visible .comments-drawer__card {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.comments-view { display: none; }
.comments-view.is-active { display: block; }
.comments-list {
  display: grid;
  gap: 10px;
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 4px;
}
.comment-card {
  border: 1px solid #000000;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 12px;
}
.comment-name { margin: 0 0 6px; color: #000000; font-weight: 700; }
.comment-text { margin: 0 0 8px; color: #111111; white-space: pre-wrap; }
.comment-meta { color: #333333; font-size: 0.8rem; }
.comment-reply {
  margin-top: 10px;
  border-top: 1px dashed #000000;
  padding-top: 10px;
  background: #f7f7f7;
  border-radius: 8px;
  padding-left: 8px;
}
.comment-reply .comment-name { color: #000000; }
.reply-meta {
  color: #333333;
  font-size: 0.78rem;
}
.comments-empty { color: #333333; margin: 4px 0; }
.comments-actions { margin-top: 10px; display: flex; gap: 8px; justify-content: flex-end; }
.comment-step-title { color: #000000; margin: 4px 0 10px; }
.comment-choice-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.choice-btn {
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  border-radius: 10px;
  padding: 9px 10px;
  cursor: pointer;
}
.choice-btn:hover { border-color: #000000; background: #000000; color: #ffffff; }
.comment-list-scroll { max-height: 36vh; overflow-y: auto; display: grid; gap: 8px; padding-right: 4px; }
.comments-form { display: grid; gap: 10px; }
.comments-field { display: grid; gap: 6px; color: #111111; font-size: 0.9rem; }
.comments-field input,
.comments-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  padding: 10px;
  font-family: inherit;
  font-size: 0.95rem;
}

.reply-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 24;
}
.reply-modal[hidden] { display: none; }
.reply-modal__card {
  width: min(520px, calc(100% - 24px));
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 16px;
  box-shadow: none;
  padding: 14px;
  display: grid;
  gap: 10px;
}
.reply-modal__title {
  margin: 0;
  color: #000000;
  font-size: 1.05rem;
}
.reply-modal__select,
.reply-modal__textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  padding: 10px;
  font-family: inherit;
  font-size: 0.95rem;
}
.reply-modal__textarea {
  min-height: 110px;
  resize: vertical;
}
.reply-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.contacts { list-style: none; padding: 0; margin: 0; color: #111111; }
.contacts li { margin-bottom: 8px; }
.contacts span { display: inline-block; min-width: 76px; color: #000000; }
.contacts a { color: #000000; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 20px;
}
.contacts.music a::before { content: '🎵'; font-size: 0.95em; }

.stage.scatter .album-card { opacity: 0.4; transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--rot, 0deg)); }
.stage.hidden { opacity: 0; pointer-events: none; }
.stage.fold .album-card { opacity: 0; pointer-events: none; }
.stage.focus .album-card:not(.active) { opacity: 0; transform: scale(0.8); pointer-events: none; }
.stage.focus .album-card.active { grid-column: 1 / -1; width: clamp(260px, 80vw, 900px); justify-self: center; }

@media (max-width: 900px) {
  .ui-bar, .floor { left: 14px; right: 14px; }
  main { padding: 110px 14px 150px; }
  .stage { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
  .album-card { padding: 12px; border-radius: 14px; }
  .album-card h3 { font-size: 1rem; }
  .album-card p { font-size: 0.85rem; }
  .track-carousel { grid-template-columns: 1fr; width: 100%; }
  .track-card { width: 100%; max-width: none; height: auto; }
  .track-visual { height: 56vw; max-height: 320px; }
  .track-title { font-size: 1.05rem; }
  .track-lyrics { max-height: none; }
  .panel-head { flex-direction: column; align-items: flex-start; }
  .story-card .story-text { column-count: 1; }
}
