/* ---------- Model screen (face follows the mouse) ---------- */
.model-section { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: #05070d; isolation: isolate; user-select: none; }
.model-stage { position: absolute; inset: 0; perspective: 1400px; }
.model-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform-origin: 50% 38%; will-change: transform; }
.model-sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle 520px at 50% 40%, rgba(124,77,255,.12), transparent 70%); }
.model-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, #05070d 0%, rgba(5,7,13,0) 14%, rgba(5,7,13,0) 70%, rgba(5,7,13,.85) 92%, #05070d 100%); }
.model-caption { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.model-hint { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(230,235,245,.85);
  padding: 8px 16px; border-radius: 99px; background: rgba(5,7,13,.45); border: 1px solid var(--border); backdrop-filter: blur(8px); }
.model-hint i { color: var(--accent-3); }
.model-loader { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.12); border-top-color: var(--accent); animation: modelSpin 1s linear infinite; transition: opacity .4s; }
.model-section.ready .model-loader { opacity: 0; }
@keyframes modelSpin { to { transform: rotate(360deg); } }
@media (max-width: 767px) { .model-section { height: 85vh; } .model-caption { bottom: 28px; } }

/* ---------- Small songs list on the model screen (kept away from the face) ---------- */
.model-songs { position: absolute; z-index: 3; left: 24px; top: 50%; transform: translateY(-50%); width: 236px; padding: 12px; border-radius: 16px;
  background: rgba(5,7,13,.5); border: 1px solid var(--border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.model-songs h3 { margin: 0 0 8px 4px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #9fdcff; font-family: var(--font); font-weight: 500; display: flex; align-items: center; gap: 6px; }
.ms-list { list-style: none; margin: 0; padding: 0; max-height: 46vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.ms-item { display: grid; grid-template-columns: 32px 1fr auto; gap: 9px; align-items: center; padding: 5px 6px; border-radius: 10px; cursor: pointer; transition: background .2s; }
.ms-item:hover, .ms-item:focus-visible { background: rgba(255,255,255,.07); outline: none; }
.ms-item.active { background: rgba(20,157,221,.16); }
.ms-cover { position: relative; width: 32px; height: 32px; border-radius: 7px; overflow: hidden; }
.ms-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ms-cover i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 16px; background: rgba(5,7,13,.55); opacity: 0; transition: opacity .2s; }
.ms-item:hover .ms-cover i, .ms-item.active .ms-cover i { opacity: 1; }
.ms-title { margin: 0; font-size: 12.5px; line-height: 1.3; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-item.active .ms-title { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ms-time { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
  .model-songs { top: auto; transform: none; left: 12px; right: 12px; bottom: 112px; width: auto; padding: 8px; }
  .model-songs h3 { display: none; }
  .ms-list { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; max-height: none; }
  .ms-item { flex: 0 0 150px; grid-template-columns: 28px 1fr; }
  .ms-cover { width: 28px; height: 28px; }
  .ms-time { display: none; }
}
