:root {
  --oe-accent: #e27b63;
  --oe-panel: rgba(8, 11, 13, 0.88);
  --oe-panel-soft: rgba(15, 18, 21, 0.82);
  --oe-line: rgba(255, 255, 255, 0.1);
  --oe-copy: rgba(242, 246, 244, 0.96);
  --oe-muted: rgba(226, 234, 231, 0.56);
  --oe-radius: 22px;
}

/* OtherEar launch field: text and CSS geometry only. */
#splash {
  background: #050708;
  box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.76);
}

#splash::before {
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--oe-accent) 8%, transparent), transparent 28%),
    linear-gradient(180deg, #080b0c 0%, #040607 58%, #030405 100%);
  opacity: 1;
  filter: none;
  animation: none;
}

#splash::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.72)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.56), transparent 34%, transparent 70%, rgba(0, 0, 0, 0.66));
}

#splash-canvas {
  display: none !important;
}

.splash-bg-noise {
  opacity: 0.025;
}

.splash-content {
  width: min(92vw, 920px);
  gap: 17px;
  transform: none;
}

.oe-splash-field {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(280px, 43vw, 560px);
  aspect-ratio: 1;
  transform: translate(-50%, -53%);
  pointer-events: none;
  opacity: 0;
  animation: oe-field-enter 2.8s 0.22s cubic-bezier(.16, 1, .3, 1) forwards;
}

.oe-splash-orbit,
.oe-splash-axis,
.oe-splash-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
}

.oe-splash-orbit {
  border: 1px solid color-mix(in srgb, var(--oe-accent) 34%, rgba(255, 255, 255, 0.08));
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.oe-splash-orbit::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oe-accent);
  transform: translateX(-50%);
}

.oe-splash-orbit.orbit-one { width: 38%; height: 38%; opacity: 0.84; }
.oe-splash-orbit.orbit-two { width: 66%; height: 66%; opacity: 0.52; }
.oe-splash-orbit.orbit-three { width: 94%; height: 94%; opacity: 0.26; }

.oe-splash-axis {
  width: 88%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform-origin: center;
}

.oe-splash-axis.axis-one { transform: translate(-50%, -50%) rotate(27deg); }
.oe-splash-axis.axis-two { transform: translate(-50%, -50%) rotate(-27deg); }

.oe-splash-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--oe-accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--oe-accent) 10%, transparent);
}

.splash-wordmark {
  z-index: 2;
  gap: 0.02em;
  font-family: var(--font-display);
  font-size: clamp(54px, 8.2vw, 118px);
  font-optical-sizing: auto;
  font-synthesis: none;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.92;
  color: var(--oe-copy);
  text-shadow: 0 24px 72px rgba(0, 0, 0, 0.66);
  filter: none;
}

.splash-word-mine,
.splash-word-radio {
  color: var(--oe-copy);
  -webkit-text-fill-color: currentColor;
  background: none;
  text-shadow: none;
}

.splash-word-radio {
  color: var(--oe-accent);
}

.splash-signal-line {
  z-index: 2;
  width: min(440px, 54vw);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--oe-accent) 68%, white), transparent);
  box-shadow: none;
}

.splash-sub,
.splash-enter {
  z-index: 2;
  color: rgba(234, 241, 238, 0.5);
}

.splash-sub {
  letter-spacing: 0.21em;
}

@keyframes oe-field-enter {
  from { opacity: 0; transform: translate(-50%, -51%) scale(0.88); }
  to { opacity: 1; transform: translate(-50%, -53%) scale(1); }
}

@keyframes oe-orbit-turn {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes oe-hero-drift {
  from { transform: scale(1.015) translate3d(0, 0, 0); }
  to { transform: scale(1.055) translate3d(-0.45%, -0.2%, 0); }
}

@media (prefers-reduced-motion: no-preference) {
  #splash.ready .oe-splash-orbit.orbit-one { animation: oe-orbit-turn 10s linear infinite; }
  #splash.ready .oe-splash-orbit.orbit-two { animation: oe-orbit-turn 18s linear infinite reverse; }
  #splash.ready .oe-splash-orbit.orbit-three { animation: oe-orbit-turn 28s linear infinite; }
  body.empty-home-active .oe-hero-image { animation: oe-hero-drift 16s cubic-bezier(.37, 0, .2, 1) infinite alternate; }
}

/* AI-native music platform home. */
#empty-home,
body.desktop-shell #empty-home {
  top: 112px;
  bottom: 42px;
  width: min(1360px, calc(100vw - 64px));
  overflow: hidden;
}

body.desktop-shell.desktop-fullscreen #empty-home,
html:fullscreen body.desktop-shell #empty-home {
  top: 82px;
  bottom: 42px;
  width: min(1480px, calc(100vw - 80px));
}

body.empty-home-active.controls-visible #empty-home,
body.desktop-shell.empty-home-active.controls-visible #empty-home {
  bottom: 126px;
}

.oe-home-shell {
  height: 100%;
  min-height: 440px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(248px, 1fr) auto 112px;
  gap: 14px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.oe-home-shell::-webkit-scrollbar { display: none; }

.oe-hero,
.oe-listening-room,
.oe-agent-panel,
.oe-entry-card {
  border: 1px solid var(--oe-line);
  border-radius: var(--oe-radius);
  background: var(--oe-panel);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(24px) saturate(1.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.08);
}

.oe-hero {
  position: relative;
  grid-column: 1 / span 8;
  grid-row: 1 / span 2;
  min-height: 390px;
  padding: clamp(24px, 3.2vw, 46px);
  overflow: hidden;
  isolation: isolate;
  background: #050708;
}

.oe-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transform: scale(1.015);
}

.oe-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 5, 6, 0.96) 0%, rgba(3, 5, 6, 0.78) 36%, rgba(3, 5, 6, 0.18) 69%, rgba(3, 5, 6, 0.32) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 34%, rgba(0, 0, 0, 0.66) 100%);
  pointer-events: none;
}

.oe-hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(4, 6, 7, 0.52) 44%, rgba(4, 6, 7, 0.78));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 42%);
  mask-image: linear-gradient(180deg, transparent, black 42%);
  pointer-events: none;
}

.oe-brand-line,
.oe-panel-head,
.oe-hero-foot,
.oe-signal-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.oe-brand-line {
  position: relative;
  z-index: 3;
}

.oe-brand-name {
  color: var(--oe-copy);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.oe-brand-note,
.oe-room-state {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--oe-accent) 24%, rgba(255, 255, 255, 0.08));
  border-radius: 999px;
  background: color-mix(in srgb, var(--oe-accent) 7%, rgba(255, 255, 255, 0.03));
  color: color-mix(in srgb, var(--oe-accent) 76%, white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.oe-hero-copy {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 3.2vw, 46px);
  bottom: 76px;
  width: min(62%, 570px);
  margin: 0;
}

.oe-kicker,
.oe-panel-head p,
.oe-agent-panel-copy > p {
  margin: 0 0 12px;
  color: color-mix(in srgb, var(--oe-accent) 70%, rgba(255, 255, 255, 0.54));
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.oe-hero h1 {
  max-width: 600px;
  margin: 0;
  color: var(--oe-copy);
  font-family: var(--font-display);
  font-size: clamp(42px, 5.4vw, 74px);
  font-optical-sizing: auto;
  font-synthesis: none;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.oe-hero h1 span {
  display: block;
  color: var(--oe-accent);
}

.oe-intro {
  max-width: 500px;
  margin: 20px 0 0;
  color: rgba(230, 237, 234, 0.66);
  font-size: 14px;
  line-height: 1.62;
}

.oe-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.oe-button,
.oe-text-button {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(244, 247, 246, 0.86);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms cubic-bezier(.16, 1, .3, 1), border-color 180ms, background 180ms, color 180ms;
}

.oe-button {
  min-width: 132px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}

.oe-button.primary {
  border-color: color-mix(in srgb, var(--oe-accent) 64%, rgba(255, 255, 255, 0.16));
  background: var(--oe-accent);
  color: #07110e;
}

.oe-hero .oe-button:not(.primary) {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(13, 16, 17, 0.38);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 12px 34px rgba(0, 0, 0, 0.22);
}

.oe-button:hover,
.oe-text-button:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--oe-accent) 44%, rgba(255, 255, 255, 0.18));
  background: color-mix(in srgb, var(--oe-accent) 12%, rgba(255, 255, 255, 0.06));
  color: white;
}

.oe-button.primary:hover {
  background: color-mix(in srgb, var(--oe-accent) 88%, white);
  color: #07110e;
}

.oe-button:active,
.oe-text-button:active,
.oe-entry-card:active {
  transform: translateY(1px) scale(0.985);
}

.oe-hero-field {
  position: absolute;
  z-index: 1;
  right: -4%;
  top: 17%;
  width: min(43%, 390px);
  aspect-ratio: 1;
  opacity: 0.78;
  pointer-events: none;
}

.oe-field-ring,
.oe-field-axis,
.oe-field-node {
  position: absolute;
  display: block;
}

.oe-field-ring {
  left: 50%;
  top: 50%;
  border: 1px solid color-mix(in srgb, var(--oe-accent) 28%, rgba(255, 255, 255, 0.08));
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.oe-field-ring.ring-a { width: 34%; height: 34%; }
.oe-field-ring.ring-b { width: 62%; height: 62%; opacity: 0.62; }
.oe-field-ring.ring-c { width: 92%; height: 92%; opacity: 0.32; }

.oe-field-axis {
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform-origin: center;
}

.oe-field-axis.axis-a { transform: rotate(32deg); }
.oe-field-axis.axis-b { transform: rotate(-32deg); }

.oe-field-node {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--oe-accent);
}

.oe-field-node.node-a { left: 49%; top: 31%; }
.oe-field-node.node-b { left: 21%; top: 61%; opacity: 0.58; }
.oe-field-node.node-c { right: 11%; top: 48%; opacity: 0.36; }

.oe-hero-foot {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 3.2vw, 46px);
  right: clamp(24px, 3.2vw, 46px);
  bottom: 24px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(227, 234, 231, 0.42);
  font-size: 10.5px;
}

.oe-listening-room {
  grid-column: 9 / span 4;
  grid-row: 1;
  min-height: 248px;
  padding: 22px;
}

.oe-panel-head h2,
.oe-agent-panel h2 {
  margin: 0;
  color: var(--oe-copy);
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.oe-room-track {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.oe-room-cover,
.oe-original-cover {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--oe-accent) 36%, #0a0d0e) 0 11%, transparent 12%),
    repeating-radial-gradient(circle, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 7px),
    #111618;
  background-position: center;
  background-size: cover;
}

.oe-room-cover {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

.oe-room-cover span {
  position: absolute;
  left: 50%;
  top: 50%;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 760;
  transform: translate(-50%, -50%);
}

.oe-room-cover.has-cover span { display: none; }

.oe-room-track-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.oe-room-track-copy strong,
.oe-room-track-copy span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.oe-room-track-copy strong {
  color: rgba(245, 248, 247, 0.9);
  font-size: 12px;
}

.oe-room-track-copy span,
.oe-room-track time {
  color: rgba(238, 242, 240, 0.68);
  font-size: 11px;
}

.oe-signal-bands {
  display: grid;
  gap: 9px;
  margin-top: 23px;
}

.oe-signal-bands > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.oe-signal-bands span {
  color: rgba(238, 242, 240, 0.66);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.oe-signal-bands div::after {
  content: '';
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.oe-signal-bands i {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  display: block;
  width: 0;
  height: 2px;
  background: var(--oe-accent);
  transition: width 220ms cubic-bezier(.16, 1, .3, 1), opacity 220ms;
}

.oe-signal-summary {
  margin-top: 20px;
}

.oe-signal-summary span {
  color: rgba(238, 242, 240, 0.68);
  font-size: 11px;
}

.oe-signal-summary strong {
  color: color-mix(in srgb, var(--oe-accent) 82%, white);
  font-size: 12px;
}

.oe-signal-note {
  margin: 8px 0 0;
  color: rgba(238, 242, 240, 0.64);
  font-size: 11px;
  line-height: 1.4;
}

.oe-agent-panel {
  grid-column: 9 / span 4;
  grid-row: 2;
  min-height: 126px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  background: var(--oe-panel-soft);
  transition: border-color 180ms, background 180ms;
}

.oe-agent-panel.has-activity {
  border-color: color-mix(in srgb, var(--oe-accent) 34%, rgba(255, 255, 255, 0.1));
  background: color-mix(in srgb, var(--oe-accent) 5%, var(--oe-panel-soft));
}

.oe-agent-panel.is-offline {
  border-color: rgba(230, 151, 123, 0.3);
}

.oe-agent-panel-copy {
  min-width: 0;
}

.oe-agent-panel-copy > p {
  margin-bottom: 8px;
}

.oe-agent-panel-copy > span {
  display: block;
  max-width: 420px;
  margin-top: 8px;
  color: rgba(238, 242, 240, 0.68);
  font-size: 11px;
  line-height: 1.45;
}

.oe-text-button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 10.5px;
  white-space: nowrap;
}

.oe-entry-grid {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 14px;
}

.oe-entry-card {
  min-width: 0;
  padding: 17px 19px;
  color: var(--oe-copy);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: transform 180ms cubic-bezier(.16, 1, .3, 1), border-color 180ms, background 180ms;
}

.oe-entry-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--oe-accent) 36%, rgba(255, 255, 255, 0.12));
  background: color-mix(in srgb, var(--oe-accent) 6%, var(--oe-panel));
}

.oe-entry-card span,
.oe-entry-card strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oe-entry-card span {
  color: color-mix(in srgb, var(--oe-accent) 68%, rgba(255, 255, 255, 0.56));
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.oe-entry-card strong {
  margin-top: 10px;
  color: rgba(245, 248, 247, 0.84);
  font-size: 12px;
  font-weight: 650;
}

.oe-entry-card.is-empty strong {
  color: rgba(230, 236, 233, 0.4);
}

/* Platform dialogs and real empty states. */
#oe-platform-modal.modal-mask {
  background: rgba(2, 4, 5, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.modal.oe-platform-modal {
  width: min(720px, 92vw);
  max-width: min(720px, 92vw);
  padding: 30px;
  border-radius: var(--oe-radius);
  border-color: rgba(255, 255, 255, 0.11);
  background: #0b0f10;
  text-align: left;
}

.oe-platform-modal h2 {
  margin: 0;
  color: var(--oe-copy);
  font-family: var(--font-display);
  font-size: 28px;
  font-optical-sizing: auto;
  font-synthesis: none;
  font-weight: 500;
  letter-spacing: -0.025em;
}

#volume-value,
#time-display,
.mini-queue-count,
.artist-song-rank,
.fx-slider output,
.oe-room-track time,
.oe-agent-id,
.oe-receipt,
.oe-activity-time {
  font-variant-numeric: tabular-nums;
}

.oe-platform-dialog-body {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  max-height: min(66vh, 680px);
  padding-right: 3px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.oe-dialog-lead {
  margin: 0;
  color: rgba(231, 237, 234, 0.68);
  font-size: 13px;
  line-height: 1.6;
}

.oe-dialog-empty {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.oe-dialog-empty strong,
.oe-dialog-empty span {
  display: block;
}

.oe-dialog-empty strong {
  color: rgba(245, 248, 247, 0.86);
  font-size: 12px;
}

.oe-dialog-empty span {
  margin-top: 7px;
  color: rgba(228, 234, 231, 0.42);
  font-size: 11px;
  line-height: 1.5;
}

.oe-endpoint-list {
  display: grid;
  gap: 8px;
}

.oe-endpoint {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
}

.oe-endpoint span {
  color: rgba(226, 233, 230, 0.42);
  font-size: 10px;
}

.oe-endpoint code {
  color: color-mix(in srgb, var(--oe-accent) 78%, white);
  font-family: var(--font-mono);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oe-agent-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 5px 16px;
  padding: 4px 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.oe-agent-track > span,
.oe-agent-section-head > span,
.oe-reaction > span,
.oe-receipt > span {
  color: rgba(229, 235, 232, 0.42);
  font-size: 9.5px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.oe-agent-track > strong {
  grid-column: 1;
  color: rgba(247, 249, 248, 0.94);
  font-size: 15px;
  line-height: 1.3;
}

.oe-agent-track > code {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: min(320px, 42vw);
  color: color-mix(in srgb, var(--oe-accent) 76%, white);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-align: right;
}

.oe-feed-state {
  padding: 13px 15px;
  border: 1px solid rgba(226, 128, 105, 0.24);
  border-radius: 14px;
  background: rgba(226, 123, 99, 0.07);
}

.oe-feed-state strong,
.oe-feed-state span {
  display: block;
}

.oe-feed-state strong {
  color: rgba(255, 219, 210, 0.9);
  font-size: 11px;
}

.oe-feed-state span {
  margin-top: 5px;
  color: rgba(235, 213, 207, 0.52);
  font-size: 10.5px;
  line-height: 1.5;
}

.oe-agent-section {
  display: grid;
  gap: 10px;
}

.oe-agent-section-head,
.oe-agent-record-head,
.oe-agent-record-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.oe-agent-section-head h3 {
  margin: 0;
  color: rgba(245, 248, 247, 0.9);
  font-size: 13px;
  letter-spacing: -0.02em;
}

.oe-agent-record-list {
  display: grid;
  gap: 9px;
}

.oe-agent-record {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.oe-agent-record-head > div {
  min-width: 0;
}

.oe-agent-record-head strong,
.oe-agent-record-head > div > span {
  display: block;
}

.oe-agent-record-head strong {
  color: rgba(248, 250, 249, 0.92);
  font-size: 12px;
}

.oe-agent-record-head > div > span {
  margin-top: 3px;
  color: rgba(240, 243, 242, 0.68);
  font-size: 11px;
}

.oe-verification {
  flex: 0 0 auto;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(242, 245, 243, 0.76);
  font-size: 10.5px;
  white-space: nowrap;
}

.oe-agent-record-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 12px;
}

.oe-agent-record-meta span {
  color: color-mix(in srgb, var(--oe-accent) 68%, rgba(255, 255, 255, 0.58));
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.oe-agent-record-time {
  margin: 8px 0 0;
  color: rgba(240, 243, 242, 0.66);
  font-size: 10.5px;
}

.oe-reaction {
  display: grid;
  gap: 5px;
  margin-top: 13px;
}

.oe-reaction strong {
  color: color-mix(in srgb, var(--oe-accent) 74%, white);
  font-size: 11px;
  font-weight: 680;
}

.oe-comment-text {
  margin: 12px 0 0;
  color: rgba(239, 243, 241, 0.75);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.oe-receipt {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
}

.oe-receipt code {
  min-width: 0;
  color: rgba(245, 248, 247, 0.68);
  font-family: var(--font-mono);
  font-size: 9.5px;
  overflow-wrap: anywhere;
  text-align: right;
}

.oe-receipt small {
  grid-column: 1 / -1;
  color: rgba(228, 234, 231, 0.4);
  font-size: 9px;
  line-height: 1.45;
}

.oe-receipt.is-missing code {
  color: rgba(226, 123, 99, 0.7);
}

.oe-original-list {
  display: grid;
  gap: 8px;
  max-height: min(420px, 56vh);
  overflow: auto;
}

.oe-original-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: transform 160ms, border-color 160ms, background 160ms;
}

.oe-original-item:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--oe-accent) 36%, rgba(255, 255, 255, 0.1));
  background: color-mix(in srgb, var(--oe-accent) 6%, rgba(255, 255, 255, 0.035));
}

.oe-original-cover {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.oe-original-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.oe-original-copy strong,
.oe-original-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oe-original-copy strong {
  color: rgba(245, 248, 247, 0.9);
  font-size: 12px;
}

.oe-original-copy span,
.oe-original-meta {
  color: rgba(226, 233, 230, 0.42);
  font-size: 10px;
}

.oe-original-meta {
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  body.empty-home-active .oe-field-ring.ring-a { animation: oe-orbit-turn 12s linear infinite; }
  body.empty-home-active .oe-field-ring.ring-b { animation: oe-orbit-turn 20s linear infinite reverse; }
  body.empty-home-active .oe-field-ring.ring-c { animation: oe-orbit-turn 30s linear infinite; }
}

@media (max-width: 1080px) {
  #empty-home,
  body.desktop-shell #empty-home {
    width: calc(100vw - 44px);
  }

  .oe-home-shell {
    grid-template-rows: minmax(236px, 1fr) auto 106px;
    gap: 12px;
  }

  .oe-hero { grid-column: 1 / span 7; }
  .oe-listening-room,
  .oe-agent-panel { grid-column: 8 / span 5; }
  .oe-hero-copy { width: min(68%, 520px); }
  .oe-hero-field { right: -10%; width: 48%; }
}

@media (max-height: 760px) {
  #empty-home,
  body.desktop-shell #empty-home {
    top: 102px;
    bottom: 34px;
  }

  body.empty-home-active.controls-visible #empty-home,
  body.desktop-shell.empty-home-active.controls-visible #empty-home {
    bottom: 108px;
  }

  .oe-home-shell {
    grid-template-rows: minmax(220px, 1fr) auto 94px;
    min-height: 410px;
  }

  .oe-hero { min-height: 348px; padding: 24px; }
  .oe-hero-copy { left: 24px; bottom: 64px; }
  .oe-hero h1 { font-size: clamp(38px, 5vw, 62px); }
  .oe-intro { margin-top: 15px; font-size: 12.5px; }
  .oe-primary-actions { margin-top: 18px; }
  .oe-hero-foot { left: 24px; right: 24px; bottom: 18px; }
  .oe-listening-room { padding: 18px; }
  .oe-room-track { margin-top: 17px; }
  .oe-signal-bands { margin-top: 17px; gap: 7px; }
  .oe-signal-summary { margin-top: 15px; }
  .oe-agent-panel { min-height: 104px; padding: 16px 18px; }
  .oe-entry-card { padding: 13px 16px; }
  .oe-entry-card strong { margin-top: 7px; }
}

@media (max-width: 780px) {
  #empty-home,
  body.desktop-shell #empty-home {
    top: 118px;
    bottom: 42px;
    width: calc(100vw - 28px);
    overflow: auto;
  }

  body.empty-home-active.controls-visible #empty-home,
  body.desktop-shell.empty-home-active.controls-visible #empty-home {
    bottom: 108px;
  }

  .oe-home-shell {
    height: auto;
    min-height: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
    overflow: visible;
    padding-bottom: 4px;
  }

  .oe-hero,
  .oe-listening-room,
  .oe-agent-panel,
  .oe-entry-grid {
    grid-column: 1;
    grid-row: auto;
  }

  .oe-hero { min-height: 520px; }
  .oe-hero-copy { width: min(78%, 520px); }
  .oe-hero-image { object-position: 58% center; }
  .oe-listening-room { min-height: 286px; }
  .oe-entry-grid { grid-template-columns: 1fr; }
  .oe-entry-card { min-height: 82px; }
  .oe-text-button { min-height: 44px; }
  #bottom-bar #play-mode-btn,
  #bottom-bar #prev-btn,
  #bottom-bar #next-btn {
    min-width: 46px;
    min-height: 46px;
  }
  #bottom-bar #play-btn {
    min-width: 52px;
    min-height: 52px;
  }
}

@media (max-width: 520px) {
  .splash-wordmark {
    font-size: clamp(46px, 18vw, 72px);
  }

  .splash-sub {
    max-width: 260px;
    line-height: 1.6;
    text-align: center;
  }

  .oe-hero {
    min-height: 548px;
    padding: 22px;
  }

  .oe-brand-note { display: none; }
  .oe-hero-copy { left: 22px; right: 22px; bottom: 82px; width: auto; margin: 0; }
  .oe-hero h1 { max-width: 330px; font-size: 48px; }
  .oe-intro { max-width: 310px; }
  .oe-hero-image { object-position: 63% center; opacity: 0.82; }
  .oe-hero-foot { left: 22px; right: 22px; flex-direction: column; align-items: flex-start; gap: 5px; }
  .oe-room-track { grid-template-columns: 48px minmax(0, 1fr); }
  .oe-room-cover { width: 48px; height: 48px; }
  .oe-room-track time { grid-column: 2; }
  .oe-agent-panel { align-items: flex-start; flex-direction: column; }
  .modal.oe-platform-modal { padding: 24px; }
  .oe-endpoint { grid-template-columns: 70px minmax(0, 1fr); }
  .oe-agent-track { grid-template-columns: 1fr; }
  .oe-agent-track > code { grid-column: 1; grid-row: auto; max-width: 100%; text-align: left; }
  .oe-agent-record-head { align-items: flex-start; }
  .oe-platform-modal .btn-row { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .oe-splash-field,
  .oe-splash-orbit,
  .oe-field-ring,
  .oe-hero-image,
  .oe-button,
  .oe-text-button,
  .oe-entry-card,
  .oe-original-item {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .oe-splash-field { opacity: 1; }
}

@media (prefers-reduced-transparency: reduce) {
  .oe-hero,
  .oe-listening-room,
  .oe-agent-panel,
  .oe-entry-card {
    background: #0b0e10;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
