:root{
  color-scheme:dark;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;

  --bg:#05070c;
  --bg-soft:#080b12;
  --surface:#0c111b;
  --surface-2:#101724;
  --surface-3:#151d2c;

  --text:#f7f9fc;
  --muted:#8d99ab;
  --muted-2:#647086;

  --line:#202a3a;
  --line-bright:#344258;

  --violet:#8b7cff;
  --violet-2:#aa8cff;
  --cyan:#48d7ff;

  --brand:linear-gradient(135deg,#8b7cff 0%,#9c82ff 42%,#48d7ff 100%);
  --glow:0 0 42px rgba(111,116,255,.14);

  --radius-sm:10px;
  --radius:16px;
  --radius-lg:22px;

  background:var(--bg);
  color:var(--text);
}

*{
  box-sizing:border-box;
}

html{
  min-height:100%;
  background:var(--bg);
}

body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(circle at 78% -10%,rgba(83,102,255,.12),transparent 34rem),
    radial-gradient(circle at 18% 100%,rgba(72,215,255,.055),transparent 28rem),
    var(--bg);
  color:var(--text);
}

button,
input,
select{
  font:inherit;
}

button{
  cursor:pointer;
}

button:disabled{
  cursor:not-allowed;
  opacity:.55;
}

::selection{
  background:rgba(139,124,255,.35);
}

/* ---------- Application shell ---------- */

.app{
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  min-height:100vh;
}

aside{
  position:sticky;
  top:0;
  height:100vh;
  padding:30px 22px;
  border-right:1px solid rgba(255,255,255,.07);
  background:rgba(7,10,16,.88);
  backdrop-filter:blur(18px);
}

.logo{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:21px;
  font-weight:900;
  letter-spacing:.15em;
  line-height:1;
  color:#fff;
}

.logo::before{
  content:"";
  width:30px;
  height:30px;
  flex:0 0 30px;
  border-radius:9px;
  background:
    linear-gradient(135deg,transparent 0 30%,rgba(255,255,255,.95) 31% 37%,transparent 38%),
    var(--brand);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 8px 30px rgba(105,108,255,.24);
  clip-path:polygon(8% 54%,26% 54%,38% 20%,51% 76%,64% 42%,75% 42%,75% 27%,96% 50%,75% 73%,75% 58%,60% 58%,52% 90%,39% 44%,33% 69%,8% 69%);
}

aside > .muted{
  margin:13px 0 34px;
  font-size:12px;
  line-height:1.55;
}

aside > p:not(.muted){
  color:#fff;
}

aside > p{
  margin:7px 0;
  padding:10px 11px;
  border-radius:10px;
  font-size:14px;
}

aside > p:nth-of-type(2){
  background:linear-gradient(90deg,rgba(139,124,255,.13),transparent);
  color:#fff;
}

aside #logout{
  margin-top:18px;
}

main{
  width:100%;
  max-width:1480px;
  padding:36px clamp(24px,4vw,58px) 70px;
}

/* ---------- Header ---------- */

.top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:30px;
  margin-bottom:26px;
}

.top h1{
  margin:0 0 8px;
  max-width:720px;
  font-size:clamp(30px,4vw,48px);
  line-height:1.04;
  letter-spacing:-.045em;
}

.top > div:last-child{
  flex:0 0 auto;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(13,18,28,.72);
  color:var(--muted);
  font-size:13px;
}

#plan{
  color:#fff;
}

/* ---------- Layout ---------- */

.grid{
  display:grid;
  grid-template-columns:minmax(0,1.42fr) minmax(290px,.58fr);
  gap:20px;
  align-items:start;
}

.card{
  position:relative;
  overflow:hidden;
  margin-bottom:20px;
  padding:24px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:var(--radius-lg);
  background:
    linear-gradient(145deg,rgba(255,255,255,.018),transparent 42%),
    rgba(12,17,27,.88);
  box-shadow:0 18px 55px rgba(0,0,0,.17);
}

.card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  box-shadow:0 1px 0 rgba(255,255,255,.035) inset;
}

.card h2{
  margin:0 0 18px;
  font-size:18px;
  letter-spacing:-.015em;
}

.card h3{
  margin-top:25px;
  font-size:14px;
  color:#dfe5ef;
}

/* ---------- Forms ---------- */

input,
select{
  width:100%;
  min-height:46px;
  padding:11px 13px;
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  outline:none;
  background:#080d15;
  color:#fff;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

input:hover,
select:hover{
  border-color:#344156;
}

input:focus,
select:focus{
  border-color:rgba(139,124,255,.8);
  box-shadow:0 0 0 3px rgba(139,124,255,.11);
  background:#0a101a;
}

input::placeholder{
  color:#687488;
}

.fg{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.drop{
  position:relative;
  padding:35px 24px;
  border:1px dashed #3a465b;
  border-radius:16px;
  text-align:center;
  background:
    radial-gradient(circle at 50% 0%,rgba(139,124,255,.08),transparent 65%),
    rgba(7,11,18,.58);
  transition:border-color .18s ease,background .18s ease;
}

.drop:hover{
  border-color:#68758c;
  background:
    radial-gradient(circle at 50% 0%,rgba(139,124,255,.12),transparent 65%),
    rgba(9,14,23,.78);
}

.drop b{
  display:block;
  margin-bottom:4px;
  font-size:17px;
}

.drop input[type="file"]{
  margin-top:5px;
  min-height:auto;
  border:0;
  background:transparent;
}

/* ---------- Buttons ---------- */

button{
  min-height:42px;
  padding:10px 15px;
  border-radius:11px;
  border:1px solid transparent;
  font-weight:780;
  transition:
    transform .15s ease,
    border-color .15s ease,
    background .15s ease,
    box-shadow .15s ease;
}

button:hover:not(:disabled){
  transform:translateY(-1px);
}

.primary{
  border:0;
  background:var(--brand);
  color:#06080d;
  box-shadow:0 9px 28px rgba(115,111,255,.19);
}

.primary:hover:not(:disabled){
  box-shadow:0 12px 35px rgba(115,111,255,.29);
}

.ghost{
  border-color:#303b4e;
  background:#101724;
  color:#eef2f8;
}

.ghost:hover:not(:disabled){
  border-color:#495970;
  background:#151d2c;
}

/* ---------- Projects ---------- */

.row{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) .7fr .7fr auto;
  gap:12px;
  align-items:center;
  padding:15px 3px;
  border-top:1px solid rgba(255,255,255,.065);
  font-size:14px;
}

.row:first-child{
  border-top:0;
}

.version{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin:8px 0;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(7,11,18,.46);
}

/* ---------- Mastering progress ---------- */

#job{
  margin-top:20px;
  padding:16px;
  border:1px solid rgba(139,124,255,.22);
  border-radius:14px;
  background:rgba(139,124,255,.055);
}

#stage{
  display:block;
  margin-bottom:10px;
  color:#d9d5ff;
  text-transform:capitalize;
}

.progress{
  height:8px;
  overflow:hidden;
  border-radius:999px;
  background:#171e2b;
}

.progress i{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:var(--brand);
  box-shadow:0 0 18px rgba(72,215,255,.32);
  transition:width .35s ease;
}

/* ---------- Supporting text ---------- */

small,
.muted{
  color:var(--muted);
}

small{
  line-height:1.5;
}

.hidden{
  display:none!important;
}

/* ---------- Authentication / onboarding ---------- */

#auth,
#onboard{
  position:fixed;
  inset:0;
  z-index:999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:
    radial-gradient(circle at 50% 12%,rgba(112,102,255,.15),transparent 32rem),
    radial-gradient(circle at 80% 85%,rgba(72,215,255,.07),transparent 28rem),
    #05070c;
}

.modal{
  width:min(440px,100%);
  padding:30px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:24px;
  background:rgba(12,17,27,.94);
  box-shadow:
    0 30px 90px rgba(0,0,0,.45),
    var(--glow);
}

.modal .logo{
  margin-bottom:10px;
}

.modal h2{
  margin-top:0;
  font-size:27px;
  letter-spacing:-.035em;
}

/* ---------- Mobile ---------- */

@media(max-width:980px){
  .app{
    grid-template-columns:205px minmax(0,1fr);
  }

  aside{
    padding-inline:16px;
  }

  .grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  .app{
    display:block;
  }

  aside{
    position:relative;
    display:flex;
    width:100%;
    height:auto;
    align-items:center;
    justify-content:space-between;
    padding:16px 18px;
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  aside > p{
    display:none;
  }

  aside > .muted{
    display:none;
  }

  aside #logout{
    display:block;
    margin:0;
  }

  aside > p:last-child{
    display:block;
    margin:0;
    padding:0;
  }

  .logo{
    font-size:16px;
  }

  .logo::before{
    width:26px;
    height:26px;
    flex-basis:26px;
  }

  main{
    padding:25px 16px 50px;
  }

  .top{
    display:block;
  }

  .top > div:last-child{
    display:inline-block;
    margin-top:16px;
  }

  .fg{
    grid-template-columns:1fr;
  }

  .card{
    padding:19px;
    border-radius:18px;
  }

  .row{
    grid-template-columns:1fr auto;
  }

  .row > *:nth-child(2),
  .row > *:nth-child(3){
    display:none;
  }
}

@media(max-width:420px){
  .modal{
    padding:23px 19px;
  }

  .top h1{
    font-size:32px;
  }

  .drop{
    padding:27px 15px;
  }
}

/* =========================================================
   PEAKDAHIT FINAL APPLICATION ARCHITECTURE
   ========================================================= */

.sidebar{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:42px;
}

.brand-mark,
.processing-mark,
.promise-mark{
  position:relative;
  width:36px;
  height:36px;
  flex:0 0 36px;
  border-radius:11px;
  background:var(--brand);
  box-shadow:0 8px 30px rgba(105,108,255,.22);
  clip-path:polygon(
    5% 52%,22% 52%,34% 17%,48% 76%,
    61% 39%,73% 39%,73% 23%,
    98% 50%,73% 77%,73% 59%,
    58% 59%,49% 91%,35% 43%,
    29% 68%,5% 68%
  );
}

.brand-name{
  font-size:18px;
  font-weight:900;
  letter-spacing:.14em;
}

.brand-sub{
  margin-top:5px;
  color:var(--muted-2);
  font-size:9px;
  font-weight:800;
  letter-spacing:.2em;
}

.nav{
  display:grid;
  gap:7px;
}

.nav-item{
  display:flex;
  width:100%;
  align-items:center;
  gap:11px;
  min-height:44px;
  padding:0 13px;
  border:1px solid transparent;
  background:transparent;
  color:var(--muted);
  text-align:left;
  font-size:14px;
}

.nav-item:hover{
  transform:none!important;
  background:rgba(255,255,255,.025);
  color:#fff;
}

.nav-item.active{
  border-color:rgba(139,124,255,.13);
  background:
    linear-gradient(90deg,rgba(139,124,255,.14),rgba(72,215,255,.025));
  color:#fff;
}

.nav-icon{
  width:20px;
  color:#8e86ff;
  text-align:center;
  font-size:12px;
}

.sidebar-bottom{
  display:grid;
  gap:14px;
}

.sidebar-status,
.master-note{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:11px;
}

.status-dot{
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:#56e6a5;
  box-shadow:0 0 12px rgba(86,230,165,.5);
}

.logout-button{
  width:100%;
}

.eyebrow{
  margin-bottom:8px;
  color:#8d86ff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.2em;
}

.page-subtitle{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.account-pill{
  display:flex!important;
  align-items:center;
  gap:10px;
}

.account-plan{
  color:#fff!important;
  font-size:11px;
  letter-spacing:.08em;
}

.account-divider{
  width:1px;
  height:16px;
  background:var(--line);
}

.workspace{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(290px,.58fr);
  gap:20px;
  align-items:start;
}

.studio-column,
.right-column{
  min-width:0;
}

.right-column{
  position:sticky;
  top:28px;
}

.section-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
  margin-bottom:22px;
}

.section-heading h2{
  margin:0 0 8px;
  font-size:25px;
  letter-spacing:-.035em;
}

.section-heading p{
  max-width:620px;
  margin:0;
  line-height:1.6;
}

.section-heading.compact{
  align-items:center;
  margin-bottom:15px;
}

.section-heading.compact h2{
  margin:0;
  font-size:19px;
}

.master-badge{
  flex:0 0 auto;
  padding:7px 9px;
  border:1px solid rgba(139,124,255,.18);
  border-radius:7px;
  background:rgba(139,124,255,.07);
  color:#aaa3ff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
}

.upload-zone{
  display:flex;
  min-height:150px;
  align-items:center;
  gap:17px;
  padding:26px;
  border:1px dashed #39465b;
  border-radius:17px;
  background:
    radial-gradient(circle at 25% 0%,rgba(139,124,255,.08),transparent 45%),
    rgba(6,10,17,.58);
  cursor:pointer;
  transition:.18s ease;
}

.upload-zone:hover{
  border-color:#6b718f;
  background:
    radial-gradient(circle at 25% 0%,rgba(139,124,255,.13),transparent 45%),
    rgba(8,13,22,.8);
}

.file-input{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

.upload-symbol{
  display:grid;
  width:48px;
  height:48px;
  flex:0 0 48px;
  place-items:center;
  border:1px solid rgba(139,124,255,.2);
  border-radius:14px;
  background:rgba(139,124,255,.09);
  color:#aaa3ff;
  font-size:22px;
}

.upload-copy{
  display:grid;
  gap:5px;
  min-width:0;
  flex:1;
}

.upload-copy strong{
  font-size:16px;
}

.upload-copy span{
  color:var(--muted);
  font-size:12px;
}

.upload-action{
  flex:0 0 auto;
  padding:9px 12px;
  border:1px solid var(--line-bright);
  border-radius:9px;
  background:#111827;
  color:#e8edf5;
  font-size:12px;
  font-weight:800;
}

.master-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
  margin-top:17px;
}

.field{
  display:grid;
  gap:7px;
  color:#aeb8c8;
  font-size:11px;
  font-weight:750;
}

.field em{
  margin-left:4px;
  color:var(--muted-2);
  font-style:normal;
  font-weight:600;
}

.reference-upload{
  position:relative;
  display:flex;
  min-height:46px;
  align-items:center;
  gap:8px;
  padding:0 13px;
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  background:#080d15;
  color:#e8edf5;
  cursor:pointer;
}

.reference-icon{
  color:#8f87ff;
  font-size:17px;
}

.reference-copy{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.input-unit{
  position:relative;
}

.input-unit input{
  padding-right:60px;
}

.input-unit span{
  position:absolute;
  top:50%;
  right:13px;
  transform:translateY(-50%);
  color:var(--muted-2);
  font-size:10px;
  font-weight:900;
}

.master-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:19px;
}

.master-button{
  display:flex;
  min-width:190px;
  align-items:center;
  justify-content:space-between;
  gap:25px;
}

.button-arrow{
  font-size:18px;
}

.processing-panel{
  margin-top:20px;
  padding:18px;
  border:1px solid rgba(139,124,255,.2);
  border-radius:15px;
  background:
    linear-gradient(135deg,rgba(139,124,255,.08),rgba(72,215,255,.025));
}

.processing-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
}

.processing-top > div:first-child{
  display:grid;
  gap:4px;
}

.processing-kicker{
  color:#928aff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.15em;
}

.processing-mark{
  width:28px;
  height:28px;
  flex-basis:28px;
  animation:peakPulse 1.8s ease-in-out infinite;
}

@keyframes peakPulse{
  0%,100%{opacity:.55;transform:scale(.92)}
  50%{opacity:1;transform:scale(1.08)}
}

.processing-panel small{
  display:block;
  margin-top:10px;
}

.stat-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-bottom:14px;
}

.stat{
  padding:14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(7,11,18,.55);
}

.stat span{
  display:block;
  margin-bottom:7px;
  color:var(--muted);
  font-size:10px;
}

.stat strong{
  font-size:14px;
}

.subscription-box{
  margin:13px 0;
  padding:14px;
  border:1px solid rgba(139,124,255,.15);
  border-radius:12px;
  background:rgba(139,124,255,.045);
}

.subscription-label{
  margin-bottom:6px;
  color:#918aff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
}

.full-button{
  display:flex;
  width:100%;
  align-items:center;
  justify-content:space-between;
}

.detail-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:23px;
}

.metrics{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.metrics p{
  margin:0;
  padding:13px;
  border:1px solid var(--line);
  border-radius:11px;
  background:rgba(7,11,18,.48);
  font-size:12px;
}

.studio-promise{
  display:flex;
  gap:12px;
  padding:5px 5px 20px;
  color:var(--muted);
}

.promise-mark{
  width:24px;
  height:24px;
  flex-basis:24px;
  opacity:.7;
}

.studio-promise div:last-child{
  display:grid;
  gap:4px;
}

.studio-promise strong{
  color:#cfd6e2;
  font-size:11px;
}

.studio-promise span{
  font-size:10px;
  line-height:1.5;
}

/* Selected filenames */

.upload-zone.has-file{
  border-color:rgba(86,230,165,.42);
}

.upload-zone.has-file .upload-symbol{
  border-color:rgba(86,230,165,.18);
  background:rgba(86,230,165,.07);
  color:#56e6a5;
}

.reference-upload.has-file{
  border-color:rgba(86,230,165,.32);
}

/* Final shell responsive */

@media(max-width:1050px){
  .workspace{
    grid-template-columns:1fr;
  }

  .right-column{
    position:static;
  }
}

@media(max-width:760px){
  .sidebar{
    display:flex;
    flex-direction:row;
  }

  .sidebar > div:first-child{
    display:flex;
    align-items:center;
  }

  .brand{
    margin:0;
  }

  .brand-sub,
  .nav,
  .sidebar-status{
    display:none;
  }

  .sidebar-bottom{
    display:block;
  }

  .logout-button{
    width:auto;
  }

  .master-fields{
    grid-template-columns:1fr;
  }

  .master-footer{
    align-items:stretch;
    flex-direction:column;
  }

  .master-button{
    width:100%;
  }

  .upload-zone{
    align-items:flex-start;
    flex-wrap:wrap;
  }

  .upload-copy{
    min-width:180px;
  }

  .upload-action{
    margin-left:65px;
  }
}

@media(max-width:480px){
  .section-heading{
    display:block;
  }

  .master-badge{
    display:inline-block;
    margin-top:14px;
  }

  .upload-zone{
    display:grid;
    grid-template-columns:auto 1fr;
  }

  .upload-action{
    grid-column:1/-1;
    margin:5px 0 0;
    text-align:center;
  }

  .stat-grid,
  .metrics{
    grid-template-columns:1fr;
  }
}


/* ---------- Genre + Mastering Character ---------- */

.field-help{
  display:block;
  min-height:30px;
  margin-top:7px;
  color:#778398;
  font-size:11px;
  line-height:1.4;
}

.character-description{
  color:#939fb3;
}

#masterGenre,
#masterCharacter{
  cursor:pointer;
}

#masterCharacter{
  border-color:rgba(139,124,255,.24);
  background:
    linear-gradient(90deg,rgba(139,124,255,.055),transparent 45%),
    #080d15;
}

#masterCharacter:hover{
  border-color:rgba(139,124,255,.48);
}

#masterCharacter:focus{
  border-color:rgba(139,124,255,.82);
}

@media(max-width:700px){
  .field-help{
    min-height:0;
  }
}

/* ---------- Master Refinement ---------- */

.refinement-panel{
  margin-top:22px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.075);
}

.refinement-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}

.refinement-heading h3{
  margin:0 0 6px;
  font-size:16px;
}

.refinement-heading p{
  max-width:390px;
  margin:0;
  font-size:11px;
  line-height:1.55;
}

.refinement-reset{
  flex:0 0 auto;
  min-height:34px;
  padding:7px 11px;
}

.refinement-controls{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 20px;
}

.refinement-control{
  display:grid;
  gap:8px;
}

.refinement-control > span{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#cbd3df;
  font-size:11px;
}

.refinement-control output{
  min-width:30px;
  color:#aaa3ff;
  font-size:11px;
  font-weight:850;
  text-align:right;
}

.refinement-control input[type="range"]{
  width:100%;
  min-height:auto;
  padding:0;
  accent-color:#8b7cff;
  cursor:pointer;
}

.refinement-control small{
  display:flex;
  justify-content:space-between;
  color:#667287;
  font-size:9px;
}

.refinement-control small i{
  font-style:normal;
}

.refinement-label{
  margin-top:20px;
}

#refineMaster{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:14px;
}

.refinement-status{
  display:block;
  min-height:18px;
  margin-top:9px;
  color:#939fb3;
}

@media(max-width:600px){
  .refinement-controls{
    grid-template-columns:1fr;
  }

  .refinement-heading{
    align-items:stretch;
    flex-direction:column;
  }

  .refinement-reset{
    align-self:flex-start;
  }
}

/* ============================================================
   PEAKDAHIT — Refinement Mastering Console
   ============================================================ */

.refinement-workspace{
  position:relative;
  overflow:hidden;
  margin:26px 0 0;
  padding:30px;
  border:1px solid rgba(139,124,255,.20);
  border-radius:24px;

  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(139,124,255,.13),
      transparent 34%
    ),
    radial-gradient(
      circle at 94% 100%,
      rgba(76,201,240,.08),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      rgba(15,21,33,.98),
      rgba(9,14,23,.98)
    );

  box-shadow:
    0 24px 70px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.035);
}

/* subtle studio glow */
.refinement-workspace::before{
  content:"";
  position:absolute;
  width:340px;
  height:340px;
  left:-170px;
  top:-190px;
  border-radius:50%;
  background:rgba(139,124,255,.10);
  filter:blur(70px);
  pointer-events:none;
}

/* fine top highlight */
.refinement-workspace::after{
  content:"";
  position:absolute;
  top:0;
  left:7%;
  right:7%;
  height:1px;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(139,124,255,.7),
    rgba(76,201,240,.45),
    transparent
  );
  pointer-events:none;
}

.refinement-workspace .refinement-heading{
  position:relative;
  z-index:1;
  align-items:center;
  margin-bottom:26px;
}

.refinement-workspace .refinement-heading h3{
  margin:4px 0 7px;
  font-size:23px;
  line-height:1.1;
  letter-spacing:-.035em;
}

.refinement-workspace .refinement-heading p{
  max-width:570px;
  font-size:12px;
  line-height:1.6;
}

.refinement-workspace .refinement-reset{
  min-width:82px;
  border-color:rgba(139,124,255,.22);
  background:rgba(139,124,255,.055);
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.refinement-workspace .refinement-reset:hover{
  transform:translateY(-1px);
  border-color:rgba(139,124,255,.5);
  background:rgba(139,124,255,.10);
}


/* ------------------------------------------------------------
   Six mastering controls
   ------------------------------------------------------------ */

.refinement-workspace .refinement-controls{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.refinement-workspace .refinement-control{
  position:relative;
  min-width:0;
  padding:18px 18px 16px;
  gap:14px;

  border:1px solid rgba(255,255,255,.07);
  border-radius:17px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.035),
      rgba(255,255,255,.012)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025);

  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.refinement-workspace .refinement-control:hover{
  transform:translateY(-2px);
  border-color:rgba(139,124,255,.28);
  background:
    linear-gradient(
      145deg,
      rgba(139,124,255,.07),
      rgba(255,255,255,.015)
    );

  box-shadow:
    0 10px 30px rgba(0,0,0,.15),
    inset 0 1px 0 rgba(255,255,255,.035);
}

.refinement-workspace .refinement-control > span{
  font-size:12px;
  letter-spacing:.01em;
}

.refinement-workspace .refinement-control > span b{
  color:#e8edf6;
  font-weight:800;
}


/* numerical readout */

.refinement-workspace .refinement-control output{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-width:42px;
  height:25px;
  padding:0 8px;

  border:1px solid rgba(139,124,255,.18);
  border-radius:8px;

  color:#b9b2ff;
  background:rgba(139,124,255,.07);

  font-size:11px;
  font-variant-numeric:tabular-nums;
  font-weight:850;
}


/* ------------------------------------------------------------
   Premium range controls
   ------------------------------------------------------------ */

.refinement-workspace
.refinement-control input[type="range"]{
  appearance:none;
  -webkit-appearance:none;

  width:100%;
  height:18px;
  margin:0;
  padding:0;

  background:transparent;
  outline:none;
}


/* WebKit track */

.refinement-workspace
.refinement-control input[type="range"]::-webkit-slider-runnable-track{
  height:5px;
  border-radius:999px;

  background:
    linear-gradient(
      90deg,
      rgba(96,108,129,.48) 0%,
      rgba(96,108,129,.48) 49%,
      rgba(139,124,255,.50) 50%,
      rgba(76,201,240,.40) 100%
    );

  box-shadow:
    inset 0 1px 2px rgba(0,0,0,.55);
}


/* WebKit thumb */

.refinement-workspace
.refinement-control input[type="range"]::-webkit-slider-thumb{
  appearance:none;
  -webkit-appearance:none;

  width:17px;
  height:17px;
  margin-top:-6px;

  border:2px solid #b8b0ff;
  border-radius:50%;

  background:#8375ff;

  box-shadow:
    0 0 0 4px rgba(139,124,255,.10),
    0 0 18px rgba(139,124,255,.32);

  cursor:pointer;
  transition:
    transform .14s ease,
    box-shadow .14s ease;
}

.refinement-workspace
.refinement-control input[type="range"]:hover::-webkit-slider-thumb{
  transform:scale(1.12);
  box-shadow:
    0 0 0 5px rgba(139,124,255,.13),
    0 0 22px rgba(139,124,255,.42);
}


/* Firefox */

.refinement-workspace
.refinement-control input[type="range"]::-moz-range-track{
  height:5px;
  border:0;
  border-radius:999px;
  background:rgba(96,108,129,.48);
}

.refinement-workspace
.refinement-control input[type="range"]::-moz-range-progress{
  height:5px;
  border-radius:999px;
  background:linear-gradient(
    90deg,
    #8174ff,
    #65c7f2
  );
}

.refinement-workspace
.refinement-control input[type="range"]::-moz-range-thumb{
  width:15px;
  height:15px;

  border:2px solid #b8b0ff;
  border-radius:50%;

  background:#8375ff;

  box-shadow:
    0 0 0 4px rgba(139,124,255,.10),
    0 0 18px rgba(139,124,255,.32);

  cursor:pointer;
}


/* endpoint descriptions */

.refinement-workspace .refinement-control small{
  margin-top:-3px;
  color:#68758a;
  font-size:9px;
  letter-spacing:.015em;
}


/* ------------------------------------------------------------
   Version / render area
   ------------------------------------------------------------ */

.refinement-workspace .refinement-label{
  position:relative;
  z-index:1;

  display:grid;
  grid-template-columns:minmax(0,1fr);
  max-width:none;

  margin-top:18px;
}

.refinement-workspace .refinement-label > span{
  margin-bottom:7px;
}

.refinement-workspace #refinementLabel{
  height:48px;
  border-color:rgba(255,255,255,.09);
  background:rgba(5,10,18,.48);

  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.refinement-workspace #refinementLabel:focus{
  border-color:rgba(139,124,255,.65);
  background:rgba(7,12,21,.72);
  box-shadow:0 0 0 3px rgba(139,124,255,.08);
}


/* Main action */

.refinement-workspace #refineMaster{
  position:relative;
  z-index:1;

  min-height:52px;
  margin-top:13px;
  padding-left:20px;
  padding-right:20px;

  border-radius:14px;

  box-shadow:
    0 10px 30px rgba(83,119,255,.15),
    0 0 26px rgba(139,124,255,.09);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

.refinement-workspace #refineMaster:hover:not(:disabled){
  transform:translateY(-2px);
  filter:brightness(1.06);

  box-shadow:
    0 15px 36px rgba(83,119,255,.22),
    0 0 32px rgba(139,124,255,.14);
}

.refinement-workspace #refineMaster:active:not(:disabled){
  transform:translateY(0);
}

.refinement-workspace #refineMaster:disabled{
  cursor:wait;
  opacity:.62;
}

.refinement-workspace .refinement-status{
  position:relative;
  z-index:1;

  margin-top:10px;
  color:#8e9bb0;
  font-size:10px;
}


/* ------------------------------------------------------------
   Responsive mastering console
   ------------------------------------------------------------ */

@media(max-width:1180px){
  .refinement-workspace .refinement-controls{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .refinement-workspace{
    margin-top:18px;
    padding:22px 18px;
    border-radius:19px;
  }

  .refinement-workspace .refinement-heading{
    align-items:flex-start;
  }

  .refinement-workspace .refinement-heading h3{
    font-size:20px;
  }

  .refinement-workspace .refinement-controls{
    grid-template-columns:1fr;
    gap:11px;
  }

  .refinement-workspace .refinement-control{
    padding:16px;
  }
}

@media(max-width:520px){
  .refinement-workspace .refinement-heading{
    flex-direction:column;
    gap:13px;
  }

  .refinement-workspace .refinement-reset{
    align-self:flex-start;
  }
}

/* ---------- Refinement workspace final layout ---------- */

.refinement-workspace{
  margin-top:24px;
  padding:30px;
  width:100%;
  min-width:0;
  border:1px solid rgba(139,124,255,.22);
  border-radius:24px;
  background:
    radial-gradient(circle at 90% 0%,rgba(79,195,255,.075),transparent 30%),
    radial-gradient(circle at 8% 0%,rgba(139,124,255,.10),transparent 34%),
    linear-gradient(145deg,rgba(17,22,34,.98),rgba(10,15,24,.98));
  box-shadow:
    0 22px 60px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.035);
  overflow:hidden;
}

.refinement-workspace .refinement-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:32px;
  margin-bottom:26px;
}

.refinement-workspace .refinement-heading > div{
  max-width:620px;
}

.refinement-workspace .refinement-heading h3{
  margin:6px 0 8px;
  font-size:26px;
  line-height:1.05;
  letter-spacing:-.035em;
}

.refinement-workspace .refinement-heading p{
  margin:0;
  max-width:560px;
  line-height:1.6;
}

.refinement-workspace .refinement-reset{
  flex:0 0 auto;
  min-width:92px;
}

.refinement-workspace .refinement-controls{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.refinement-workspace .refinement-control{
  min-width:0;
  padding:18px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:16px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}

.refinement-workspace .refinement-control > span{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}

.refinement-workspace .refinement-control b{
  font-size:13px;
  letter-spacing:-.01em;
}

.refinement-workspace .refinement-control output{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:27px;
  padding:0 8px;
  border:1px solid rgba(139,124,255,.25);
  border-radius:8px;
  background:rgba(139,124,255,.08);
  color:#b9adff;
  font-size:12px;
  font-weight:800;
}

.refinement-workspace .refinement-control input[type="range"]{
  width:100%;
  margin:0;
}

.refinement-workspace .refinement-control small{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:11px;
}

.refinement-workspace .refinement-control small i{
  min-width:0;
  font-size:10px;
  font-style:normal;
  line-height:1.3;
  color:var(--muted);
}

.refinement-workspace .refinement-control small i:last-child{
  text-align:right;
}

.refinement-workspace .refinement-label{
  display:block;
  margin-top:22px;
}

.refinement-workspace .refinement-label > span{
  display:block;
  margin-bottom:8px;
}

.refinement-workspace #refinementLabel{
  width:100%;
}

.refinement-workspace #refineMaster{
  margin-top:14px;
  min-height:58px;
  border-radius:14px;
  box-shadow:0 14px 34px rgba(94,119,255,.16);
}

.refinement-workspace .refinement-status{
  display:block;
  min-height:18px;
  margin-top:10px;
}

@media(max-width:1180px){
  .refinement-workspace .refinement-controls{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .refinement-workspace{
    padding:22px 18px;
    border-radius:19px;
  }

  .refinement-workspace .refinement-heading{
    gap:18px;
  }

  .refinement-workspace .refinement-heading h3{
    font-size:23px;
  }

  .refinement-workspace .refinement-controls{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   MASTER A/B AUDITION DECK
   ========================================================= */

.audition-deck{
  position:relative;
  margin-top:18px;
  padding:18px;
  overflow:hidden;
  border:1px solid rgba(139,124,255,.20);
  border-radius:18px;
  background:
    radial-gradient(circle at 100% 0%,rgba(72,215,255,.08),transparent 42%),
    radial-gradient(circle at 0% 0%,rgba(139,124,255,.10),transparent 45%),
    linear-gradient(145deg,rgba(17,22,34,.96),rgba(8,13,21,.98));
  box-shadow:
    0 18px 45px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.035);
}

.audition-topline{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}

.audition-topline h3{
  margin:5px 0 0;
  font-size:18px;
  letter-spacing:-.03em;
}

.audition-mode{
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  flex:0 0 34px;
  border:1px solid rgba(139,124,255,.38);
  border-radius:10px;
  background:rgba(139,124,255,.10);
  color:#b9b1ff;
  font-size:12px;
  font-weight:900;
  box-shadow:0 0 22px rgba(139,124,255,.08);
}

.audition-player{
  display:grid;
  grid-template-columns:38px 34px minmax(0,1fr) 34px;
  align-items:center;
  gap:9px;
  margin-bottom:15px;
  padding:11px 12px;
  border:1px solid rgba(255,255,255,.065);
  border-radius:13px;
  background:rgba(4,8,14,.54);
}

.audition-play{
  display:grid;
  width:36px;
  height:36px;
  padding:0;
  place-items:center;
  border:1px solid rgba(139,124,255,.30);
  border-radius:50%;
  background:rgba(139,124,255,.11);
  color:#f5f4ff;
  cursor:pointer;
  font-size:11px;
  transition:
    transform .15s ease,
    border-color .15s ease,
    background .15s ease;
}

.audition-play:hover{
  transform:translateY(-1px);
  border-color:rgba(139,124,255,.65);
  background:rgba(139,124,255,.18);
}

.audition-time{
  color:#8591a6;
  font-size:9px;
  font-variant-numeric:tabular-nums;
}

.audition-seek{
  width:100%;
  height:4px;
  margin:0;
  accent-color:#8b7cff;
  cursor:pointer;
}

.audition-switcher{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}

.audition-choice{
  display:flex;
  width:100%;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:13px;
  background:rgba(5,9,16,.44);
  color:#dfe5ef;
  text-align:left;
  cursor:pointer;
  transition:
    border-color .16s ease,
    background .16s ease,
    transform .16s ease;
}

.audition-choice:hover:not(:disabled){
  transform:translateY(-1px);
  border-color:rgba(139,124,255,.30);
}

.audition-choice.active{
  border-color:rgba(139,124,255,.48);
  background:
    linear-gradient(90deg,rgba(139,124,255,.12),rgba(72,215,255,.035));
  box-shadow:
    inset 3px 0 0 #8b7cff,
    0 8px 24px rgba(0,0,0,.12);
}

.audition-choice:disabled{
  opacity:.42;
  cursor:not-allowed;
}

.audition-letter{
  display:grid;
  width:32px;
  height:32px;
  place-items:center;
  flex:0 0 32px;
  border:1px solid rgba(139,124,255,.28);
  border-radius:9px;
  background:rgba(139,124,255,.08);
  color:#aaa1ff;
  font-size:11px;
  font-weight:900;
}

.audition-choice-copy{
  display:grid;
  min-width:0;
  gap:2px;
}

.audition-choice-copy b{
  overflow:hidden;
  color:#f1f3f8;
  font-size:11px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.audition-choice-copy small{
  overflow:hidden;
  font-size:9px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.audition-download{
  margin-top:12px;
}

.audition-status{
  display:block;
  min-height:15px;
  margin-top:8px;
  color:#7f8ca2;
  font-size:9px;
}

#auditionAudio{
  display:none;
}

@media(max-width:1050px){
  .audition-switcher{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px){
  .audition-deck{
    padding:15px;
  }

  .audition-switcher{
    grid-template-columns:1fr;
  }

  .audition-player{
    grid-template-columns:38px minmax(0,1fr);
  }

  .audition-time{
    display:none;
  }
}

/* =========================================================
   RIGHT PROJECT RAIL — INDEPENDENT SCROLL
   Keeps project audition controls accessible without
   scrolling the entire studio workspace.
   ========================================================= */

@media(min-width:1051px){

  .right-column{
    position:sticky;
    top:0;
    align-self:start;

    height:100vh;
    max-height:100vh;

    overflow-y:auto;
    overflow-x:hidden;

    padding-top:30px;
    padding-bottom:42px;
    padding-right:10px;

    scrollbar-width:thin;
    scrollbar-color:rgba(139,124,255,.34) transparent;

    overscroll-behavior:contain;
  }

  .right-column::-webkit-scrollbar{
    width:6px;
  }

  .right-column::-webkit-scrollbar-track{
    background:transparent;
  }

  .right-column::-webkit-scrollbar-thumb{
    border-radius:999px;
    background:rgba(139,124,255,.26);
  }

  .right-column::-webkit-scrollbar-thumb:hover{
    background:rgba(139,124,255,.46);
  }

  /*
   * Prevent the audition card from becoming excessively
   * tall inside the narrow project rail.
   */
  .right-column .audition-deck{
    margin-bottom:18px;
  }

  /*
   * Keep the player controls compact enough that the
   * A/B choices remain easy to reach.
   */
  .right-column .audition-player{
    grid-template-columns:38px 30px minmax(55px,1fr) 30px;
    gap:7px;
  }

  .right-column .audition-choice{
    min-height:64px;
  }

  /*
   * Make the independent-scroll boundary feel intentional
   * instead of like a clipped sidebar.
   */
  .right-column::after{
    content:"";
    display:block;
    height:18px;
  }
}

/*
 * Once the application collapses to one column, restore
 * ordinary document scrolling.
 */
@media(max-width:1050px){

  .right-column{
    position:static;
    height:auto;
    max-height:none;
    overflow:visible;
    padding-right:0;
  }
}

/* =========================================================
   AUDITION — LOUDNESS MATCH
   ========================================================= */

.audition-match{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;

  margin-top:14px;
  padding:14px 15px;

  border:1px solid rgba(255,255,255,.07);
  border-radius:14px;

  background:
    linear-gradient(
      135deg,
      rgba(139,124,255,.07),
      rgba(255,255,255,.018)
    );
}

.audition-match-copy{
  min-width:0;
}

.audition-match-title{
  display:flex;
  align-items:center;
  gap:8px;

  color:#f1f3f8;
  font-size:12px;
  font-weight:700;
}

.audition-match-copy small{
  display:block;

  margin-top:4px;

  color:#8490a5;
  font-size:10px;
  line-height:1.35;
}

.audition-match-badge{
  display:inline-flex;
  align-items:center;

  min-height:18px;
  padding:2px 7px;

  border:1px solid rgba(139,124,255,.18);
  border-radius:999px;

  color:#8f9bb0;
  background:rgba(139,124,255,.06);

  font-size:8px;
  font-weight:800;
  letter-spacing:.08em;
}

.audition-match-toggle{
  position:relative;
  flex:0 0 auto;

  width:42px;
  height:24px;
  padding:0;

  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;

  background:rgba(255,255,255,.055);

  cursor:pointer;

  transition:
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.audition-match-toggle span{
  position:absolute;

  top:3px;
  left:3px;

  width:16px;
  height:16px;

  border-radius:50%;

  background:#8994a8;

  box-shadow:0 2px 8px rgba(0,0,0,.35);

  transition:
    transform .18s ease,
    background .18s ease;
}

.audition-match-toggle.active{
  border-color:rgba(139,124,255,.55);

  background:rgba(139,124,255,.22);

  box-shadow:
    0 0 0 1px rgba(139,124,255,.08),
    0 0 18px rgba(139,124,255,.12);
}

.audition-match-toggle.active span{
  transform:translateX(18px);

  background:#b5aaff;
}

.audition-match-toggle:disabled{
  opacity:.42;
  cursor:not-allowed;
}

.audition-match:has(.audition-match-toggle.active)
.audition-match-badge{
  color:#c8c0ff;
  border-color:rgba(139,124,255,.35);
  background:rgba(139,124,255,.14);
}

@media(min-width:1051px){

  .right-column .audition-match{
    gap:10px;
    padding:12px 13px;
  }

  .right-column .audition-match-copy small{
    font-size:9px;
  }

  .right-column .audition-match-toggle{
    width:38px;
    height:22px;
  }

  .right-column .audition-match-toggle span{
    width:14px;
    height:14px;
  }

  .right-column .audition-match-toggle.active span{
    transform:translateX(16px);
  }
}


/* =========================================================
   MASTER AUDITION — LOOP CONTROL
   ========================================================= */

.audition-loop{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:68px;
  height:32px;
  padding:0 10px;
  border:1px solid rgba(139,124,255,.26);
  border-radius:10px;
  background:rgba(139,124,255,.06);
  color:#98a4ba;
  font:inherit;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
  transition:
    border-color .18s ease,
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}

.audition-loop:hover{
  color:#f1f3f8;
  border-color:rgba(139,124,255,.55);
  background:rgba(139,124,255,.10);
}

.audition-loop.active{
  color:#c8c0ff;
  border-color:rgba(139,124,255,.72);
  background:rgba(139,124,255,.16);
  box-shadow:0 0 0 1px rgba(139,124,255,.08) inset;
}

.audition-loop-icon{
  display:inline-block;
  font-size:16px;
  line-height:1;
}

.audition-loop.active .audition-loop-icon{
  color:#8b7cff;
}

@media (max-width:1050px){
  .audition-loop{
    margin-top:8px;
  }
}


/* =========================================================
   MASTER AUDITION — DESKTOP TRANSPORT
   Single authoritative narrow-rail layout.
   ========================================================= */

@media (min-width:1051px){

  .right-column .audition-player{
    display:grid;

    grid-template-columns:60px minmax(0,1fr);
    grid-template-rows:18px 34px 26px;

    column-gap:14px;
    row-gap:2px;

    align-items:center;

    min-height:126px;
    padding:16px 14px;

    overflow:hidden;
  }

  .right-column #auditionPlay{
    grid-column:1;
    grid-row:1 / 3;

    width:58px;
    height:58px;

    align-self:center;
    justify-self:center;
  }

  .right-column #auditionLoop{
    grid-column:1;
    grid-row:3;

    width:24px;
    min-width:24px;
    height:24px;

    padding:0;
    margin:2px 0 0;

    justify-self:center;
    align-self:center;

    gap:0;
    border-radius:7px;
  }

  .right-column #auditionLoop .audition-loop-icon{
    font-size:12px;
    line-height:1;
  }

  .right-column #auditionLoop .audition-loop-label{
    display:none;
  }

  .right-column #auditionCurrent{
    grid-column:2;
    grid-row:1;

    justify-self:start;
    align-self:end;
  }

  .right-column #auditionDuration{
    grid-column:2;
    grid-row:1;

    justify-self:end;
    align-self:end;
  }

  .right-column #auditionCurrent,
  .right-column #auditionDuration{
    position:static;

    width:auto;
    min-width:0;

    margin:0;
    padding:0;

    color:#98a4ba;

    font-size:9px;
    line-height:1;
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
  }

  .right-column #auditionSeek{
    grid-column:2;
    grid-row:2;

    width:100%;
    min-width:0;

    margin:0;

    align-self:center;
    justify-self:stretch;
  }

  .right-column .audition-player > *{
    min-width:0;
  }

}

/* Loop final vertical nudge */
@media (min-width:1051px){
  .right-column #auditionLoop{
    transform:translateY(14px);
  }
}
