/* Owner-requested flow refinements. Keep the existing art and transition system. */
body .hdr-crest { display: none !important; }
@media (min-width: 761px) {
  :root { --H: 112px; --hdr: 112px; }
  .hdr { position: sticky !important; top: 0 !important; }
  .hdr .logo::after { top: calc(var(--k) * -110); }
  .player .p-now { min-width: 270px !important; width: 100%; max-width: none; gap: 7px !important; }
  .player { grid-template-columns: minmax(340px,1.2fr) auto minmax(80px,.8fr) auto auto auto auto auto auto !important; gap: 8px !important; padding: 0 10px !important; }
  .player .p-meta { flex: 1 1 150px !important; min-width: 100px !important; overflow: hidden; }
  .player .p-title { font-size: 13px !important; color: #fff7e4 !important; }
  .player .p-artist { font-size: 12px !important; color: #e4dcc8 !important; }
  .player .p-date { color: #c5c8b8 !important; }
}
@media(min-width:761px) and (max-width:1100px) {
  .player { grid-template-columns: minmax(280px,1fr) auto minmax(60px,.5fr) auto auto !important; }
  .player #p-random,.player #p-sfx,.player #p-keys,.player .p-vol { display: none !important; }
}
.player { background: linear-gradient(#080e0b88,#080e0bc9),url('/web/art/header-crest.webp') center 60% / auto 100% repeat-x,#101610 !important; }
.player #p-art-link { display: block; flex: 0 0 auto; line-height: 0; }
.player .p-title,.player .p-artist { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media(max-width:760px) {
  :root { --H: 100px; }
  .player .p-meta { min-width: 0; width: 100%; }
  .player .p-now { background: #080e0bd9; padding: 4px 6px !important; }
  body:not(.has-track) .player #p-art-link { display: none; }
  .game-dock .dark-ball,.game-dock #arcade-chip { width: 26px !important; height: 26px !important; }
  #loading-arcade:not(.hidden):not(.battle-mode):not(.cart-mode) { left: var(--arcade-x,20px) !important; top: var(--arcade-y,25vh) !important; right: auto !important; bottom: auto !important; width: var(--arcade-w,320px) !important; height: var(--arcade-h,300px) !important; border: 1px solid #9a9a7a !important; }
}
.scene--strip { min-height: 60px !important; padding: 10px 14px !important; margin: 0 0 10px; }
.scene--strip .dlg-body { min-width: 0; padding-right: 25px; }
.scene--strip .dlg-line { font: 600 14px/1.35 var(--ui) !important; }
.scene--strip .scene-strip-sub { font: 400 12px/1.35 var(--ui) !important; }
.scene--strip .dlg-name { display: none; }
.scene--strip .scene-face { width: 28px !important; height: 28px !important; flex: 0 0 28px; }
.scene--strip .scene-face canvas { width: 24px !important; height: 24px !important; }
.section-intro { padding: 12px 14px !important; }
.section-intro h2 { font-size: 19px !important; line-height: 1.25; }
.section-intro p { max-width: 68ch; margin: 5px 0 0 !important; font-size: 12px !important; }
.bg-sim em,.twin-tier em,.roster-tile em,.arena-list em { font: 600 22px/1.2 var(--ui) !important; letter-spacing: 0 !important; }
.bg-sim small,.twin-tier small { font: 500 10px/1.3 var(--ui) !important; }
.bg-body small:empty { display: none; }
.section-shuffle { flex: 0 0 34px; width: 34px; height: 34px; vertical-align: middle; margin-left: 10px; }
.roster-head,.hub-talk .ph-row { display: flex; align-items: center; flex-wrap: wrap; }
.library-load-status { width: min(100%,600px); margin: 20px auto; padding: 20px; box-sizing: border-box; background: #171d17; color: #fff3da; border: 2px solid #ff5b1c; box-shadow: 4px 4px #131313; }
.library-load-status strong { font: 700 20px/1.3 var(--ui); }
.library-load-status p { margin: 6px 0 12px; font: 14px/1.4 var(--ui); }
.library-load-status small { display: block; margin: 9px 0; font: 13px var(--ui); }
.library-load-status .btn { margin-top: 4px; color: #131313; background: #ff793b; font-weight: 700; }
.library-meter { height: 14px; overflow: hidden; border: 1px solid #928f79; background: #080d09; }
.library-meter span { display: block; height: 100%; background: repeating-linear-gradient(90deg,#ff793b 0 11px,#1b2418 11px 14px); transition: width .3s; }
.library-meter.indeterminate span { animation: library-scan 1.4s ease-in-out infinite alternate; }
@keyframes library-scan { to { transform: translateX(220%); } }
body.motion-quiet .library-meter.indeterminate span { animation: none; }
#arcade-invite { inset: 50% auto auto 50% !important; transform: translate(-50%,-50%); width: min(390px,calc(100vw - 24px)); box-sizing: border-box; animation: none; z-index: 136; }
#arcade-invite .ai-copy b { font: 700 18px/1.3 var(--ui); }
#arcade-invite .ai-boost { display: none; }
.first-surprise { box-shadow: 0 0 0 3px #ff793b66 !important; }
.surprise-hint { display: block; font: 600 12px/1.4 var(--ui); color: #a22d05; }
#discovery-heading .discovery-switch { display: none; }
