:root{
  --asphalt:      #14171a;
  --asphalt-2:    #1c2024;
  --panel:        #20242a;
  --panel-line:   #2c3138;
  --amber:        #e8a33d;
  --amber-dim:    #7a5b2a;
  --steel:        #6fa8b8;
  --live:         #e34b4b;
  --live-glow:    rgba(227,75,75,.55);
  --ink:          #eae6dd;
  --ink-dim:      #9aa0a6;
  --mono: 'JetBrains Mono', monospace;
  --disp: 'Oswald', sans-serif;
  --body: 'Inter', sans-serif;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background:
    radial-gradient(ellipse at 20% -10%, #262b31 0%, transparent 55%),
    var(--asphalt);
  color:var(--ink);
  font-family:var(--body);
  min-height:100vh;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow-x:hidden;
}

.noise{
  position:fixed; inset:0; pointer-events:none; z-index:0; opacity:.035; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- header ---------- */
.rack{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 28px; border-bottom:1px solid var(--panel-line);
  background:linear-gradient(180deg, var(--asphalt-2), var(--asphalt));
  position:relative; z-index:1;
}
.rack-brand{display:flex; align-items:center; gap:12px;}
.rack-brand__mark{
  font-family:var(--disp); font-weight:700; font-size:20px; letter-spacing:1px;
  background:var(--amber); color:var(--asphalt); padding:6px 10px; border-radius:3px;
}
.rack-brand__text{display:flex; flex-direction:column; line-height:1.15;}
.rack-brand__title{font-family:var(--disp); font-weight:600; font-size:18px; letter-spacing:2px;}
.rack-brand__sub{font-family:var(--mono); font-size:11px; color:var(--ink-dim); letter-spacing:1px;}
.rack-clock{font-family:var(--mono); color:var(--steel); font-size:15px; letter-spacing:2px;}

/* ---------- deck ---------- */
.deck{
  max-width:720px; width:100%; margin:0 auto; padding:32px 20px 60px;
  display:flex; flex-direction:column; gap:22px; position:relative; z-index:1; flex:1;
}

/* readout */
.readout{
  background:var(--panel); border:1px solid var(--panel-line); border-radius:10px;
  padding:22px 26px; display:flex; justify-content:space-between; align-items:flex-end;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.readout__label{font-family:var(--mono); font-size:11px; color:var(--ink-dim); letter-spacing:2px; margin-bottom:4px;}
.readout__freq{
  font-family:var(--mono); font-weight:700; font-size:56px; line-height:1; color:var(--amber);
  text-shadow:0 0 18px rgba(232,163,61,.35);
}
.readout__name{font-family:var(--disp); font-size:14px; letter-spacing:1.5px; color:var(--ink-dim); margin-top:6px; text-transform:uppercase;}

.readout__right{display:flex; flex-direction:column; align-items:flex-end; gap:10px;}
.meter{display:flex; gap:3px; align-items:flex-end; height:26px;}
.meter span{width:4px; background:var(--panel-line); border-radius:1px; height:20%; transition:height .12s ease, background .12s ease;}
.meter.active span{background:var(--steel);}
.listeners{font-family:var(--mono); font-size:12px; color:var(--ink-dim);}
.listeners span{color:var(--ink); font-weight:700;}

/* tuner strip — signature element */
.tuner{
  background:var(--panel); border:1px solid var(--panel-line); border-radius:10px;
  padding:20px 26px 16px; position:relative;
}
.tuner__rail{
  position:relative; height:3px; background:var(--panel-line); border-radius:2px; margin-bottom:14px;
}
.tuner__needle{
  position:absolute; top:-9px; width:2px; height:21px; background:var(--amber);
  box-shadow:0 0 8px rgba(232,163,61,.7);
  transition:left .35s cubic-bezier(.4,0,.2,1);
  left:0%;
}
.tuner__needle::before{
  content:''; position:absolute; top:-5px; left:-4px; width:10px; height:10px;
  background:var(--amber); border-radius:50%; box-shadow:0 0 10px rgba(232,163,61,.8);
}
.tuner__stations{display:flex; gap:10px; overflow-x:auto; padding-bottom:4px;}
.station{
  flex:0 0 auto; background:var(--asphalt-2); border:1px solid var(--panel-line); border-radius:8px;
  padding:10px 16px; cursor:pointer; text-align:left; color:var(--ink-dim);
  font-family:var(--body); transition:border-color .15s, color .15s, background .15s;
  display:flex; flex-direction:column; gap:2px; min-width:118px;
}
.station:hover{border-color:var(--amber-dim); color:var(--ink);}
.station.active{border-color:var(--amber); color:var(--ink); background:#262117;}
.station__freq{font-family:var(--mono); font-weight:700; font-size:15px; color:inherit;}
.station__label{font-size:11px; letter-spacing:.5px; text-transform:uppercase;}
.station.is-live{border-color:var(--live); }
.station.is-live .station__freq{color:var(--live);}

/* transport */
.transport{
  display:flex; align-items:center; gap:18px;
  background:var(--panel); border:1px solid var(--panel-line); border-radius:10px; padding:16px 22px;
}
.transport__play{
  width:46px; height:46px; border-radius:50%; border:1px solid var(--amber-dim);
  background:var(--asphalt-2); color:var(--amber); display:flex; align-items:center; justify-content:center;
  cursor:pointer; flex:0 0 auto; transition:background .15s, transform .1s;
}
.transport__play:hover{background:#262117;}
.transport__play:active{transform:scale(.94);}
.transport__vol{display:flex; align-items:center; gap:10px; flex:1;}
.transport__vol-label{font-family:var(--mono); font-size:10px; color:var(--ink-dim); letter-spacing:1.5px;}
.transport__vol input[type=range]{
  -webkit-appearance:none; flex:1; height:3px; background:var(--panel-line); border-radius:2px; outline:none;
}
.transport__vol input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none; width:13px; height:13px; border-radius:50%; background:var(--steel); cursor:pointer;
  box-shadow:0 0 6px rgba(111,168,184,.6);
}
.transport__status{font-family:var(--mono); font-size:11px; color:var(--ink-dim); letter-spacing:1.5px; white-space:nowrap;}

/* on-air / live broadcast panel */
.onair{
  background:linear-gradient(180deg, #241417, var(--panel));
  border:1px solid #3a2226; border-radius:10px; padding:22px 26px;
}
.onair__head{display:flex; align-items:center; gap:10px; margin-bottom:10px;}
.onair__dot{width:9px; height:9px; border-radius:50%; background:#5a3232; flex:0 0 auto;}
.onair__dot.live{background:var(--live); box-shadow:0 0 10px var(--live-glow); animation:pulse 1.1s infinite;}
@keyframes pulse{0%,100%{opacity:1;} 50%{opacity:.35;}}
.onair__title{font-family:var(--disp); font-size:13px; letter-spacing:1.5px; color:var(--ink); text-transform:uppercase;}
.onair__hint{font-size:12.5px; color:var(--ink-dim); line-height:1.5; margin:0 0 16px;}
.onair__controls{display:flex; gap:10px; flex-wrap:wrap;}
.onair__input{
  flex:1; min-width:160px; background:var(--asphalt-2); border:1px solid var(--panel-line); border-radius:6px;
  padding:11px 14px; color:var(--ink); font-family:var(--body); font-size:13px;
}
.onair__input:focus{outline:none; border-color:var(--live);}
.onair__btn{
  background:var(--live); color:#1a0a0a; border:none; border-radius:6px; padding:11px 22px;
  font-family:var(--disp); font-weight:600; letter-spacing:1.5px; font-size:13px; cursor:pointer;
  transition:filter .15s, transform .1s;
}
.onair__btn:hover{filter:brightness(1.1);}
.onair__btn:active{transform:scale(.97);}
.onair__btn.stop{background:var(--panel-line); color:var(--ink);}

.onair__vitals{margin-top:16px; display:flex; flex-direction:column; gap:10px;}
.onair__vitals-row{display:flex; align-items:center; justify-content:space-between; gap:14px; font-family:var(--mono); font-size:11px; color:var(--ink-dim);}
.mic-meter{flex:1; height:6px; background:var(--asphalt-2); border-radius:3px; overflow:hidden; margin:0 12px;}
.mic-meter__fill{height:100%; width:0%; background:linear-gradient(90deg, var(--steel), var(--live)); transition:width .08s linear;}
#onairCallsign{color:var(--live); font-weight:700;}

/* footer */
.foot{
  display:flex; justify-content:space-between; padding:14px 28px; font-family:var(--mono);
  font-size:10.5px; color:var(--ink-dim); letter-spacing:1px; border-top:1px solid var(--panel-line);
  position:relative; z-index:1;
}
.foot__state{color:var(--steel);}
.foot__state.err{color:var(--live);}

@media (max-width: 520px){
  .readout{flex-direction:column; align-items:flex-start; gap:14px;}
  .readout__right{align-items:flex-start; width:100%; flex-direction:row; justify-content:space-between;}
  .readout__freq{font-size:44px;}
  .transport{flex-wrap:wrap;}
}

@media (prefers-reduced-motion: reduce){
  .onair__dot.live{animation:none;}
  .tuner__needle{transition:none;}
}
.now-playing {
  position: relative;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(240, 167, 54, 0.28);
  border-radius: 16px;
  overflow: hidden;

  background:
    radial-gradient(
      circle at top left,
      rgba(240, 167, 54, 0.15),
      transparent 45%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.01)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.22);
}

.now-playing::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(240, 167, 54, 0.055),
    transparent
  );

  transform: translateX(-100%);
  animation: nowPlayingScan 4s linear infinite;
}

.now-playing__top {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  gap: 9px;

  margin-bottom: 10px;
}

.now-playing__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;

  background: #f0a736;
  box-shadow:
    0 0 8px rgba(240, 167, 54, 0.8),
    0 0 18px rgba(240, 167, 54, 0.35);

  animation: nowPlayingPulse 1.7s ease-in-out infinite;
}

.now-playing__label {
  color: rgba(240, 167, 54, 0.82);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.23em;
}

.now-playing__title {
  position: relative;
  z-index: 1;

  color: #f7f2e8;
  font-family: "Inter", sans-serif;
  font-size: clamp(16px, 4.5vw, 22px);
  font-weight: 650;
  line-height: 1.35;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.now-playing__title--offline {
  color: rgba(247, 242, 232, 0.5);
}

@keyframes nowPlayingPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.85);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes nowPlayingScan {
  to {
    transform: translateX(100%);
  }
}
/* =========================================================
   SANTA MARIA RADIO — STUDIO UI
   ========================================================= */

.studio {
  position: relative;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;

  background:
    radial-gradient(
      circle at top right,
      rgba(255, 70, 70, 0.11),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(240, 167, 54, 0.10),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(19, 21, 25, 0.98),
      rgba(10, 11, 14, 0.98)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.36);
}

.studio::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    );

  background-size: 28px 28px;
}

.studio > * {
  position: relative;
  z-index: 1;
}

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

.studio__eyebrow {
  margin-bottom: 5px;
  color: rgba(240, 167, 54, 0.78);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.studio__title {
  margin: 0;
  color: #f6f1e8;
  font-family: "Oswald", sans-serif;
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.studio__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;

  color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.035);

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.studio__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;

  background: #666;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
}

.studio__status.online {
  color: #8ff0ab;
  border-color: rgba(80, 220, 120, 0.22);
  background: rgba(80, 220, 120, 0.08);
}

.studio__status.online .studio__status-dot {
  background: #55e27f;
  box-shadow:
    0 0 8px rgba(85, 226, 127, 0.9),
    0 0 20px rgba(85, 226, 127, 0.35);
}

/* Вход в студию */

.studio-login {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.studio-login__label {
  display: block;
  margin-bottom: 10px;

  color: rgba(255, 255, 255, 0.72);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.studio-login__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.studio-login__input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 15px;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  outline: none;

  color: #fff;
  background: rgba(0, 0, 0, 0.28);

  font-family: "Inter", sans-serif;
  font-size: 14px;

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

.studio-login__input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.studio-login__input:focus {
  border-color: rgba(240, 167, 54, 0.56);
  background: rgba(0, 0, 0, 0.38);

  box-shadow:
    0 0 0 4px rgba(240, 167, 54, 0.08);
}

.studio-login__hint {
  margin: 12px 0 0;

  color: rgba(255, 255, 255, 0.38);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.55;
}

/* Кнопки */

.studio-btn {
  min-height: 44px;
  padding: 0 16px;

  border: 0;
  border-radius: 12px;
  cursor: pointer;

  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease,
    background 0.18s ease;
}

.studio-btn:hover {
  transform: translateY(-1px);
}

.studio-btn:active {
  transform: translateY(0);
}

.studio-btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.studio-btn--primary {
  color: #17130d;
  background:
    linear-gradient(
      135deg,
      #f0a736,
      #ffca69
    );

  box-shadow:
    0 10px 24px rgba(240, 167, 54, 0.18);
}

.studio-btn--primary:hover {
  box-shadow:
    0 12px 28px rgba(240, 167, 54, 0.26);
}

.studio-btn--secondary {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
}

.studio-btn--danger {
  color: #fff;
  background:
    linear-gradient(
      135deg,
      #d94949,
      #ff6666
    );
}

.studio-btn--danger-outline {
  color: #ff8d8d;
  border: 1px solid rgba(255, 90, 90, 0.28);
  background: rgba(255, 90, 90, 0.07);
}

.studio-btn--grant {
  min-height: 38px;
  color: #17130d;
  background:
    linear-gradient(
      135deg,
      #f0a736,
      #ffd076
    );
}

.studio-btn--wide {
  width: 100%;
}

/* Комната */

.studio-room {
  display: grid;
  gap: 16px;
}

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

.studio-card {
  position: relative;
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.018)
    );
}

.studio-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  opacity: 0.18;
}

.studio-card--host::after {
  background: #f0a736;
}

.studio-card--speaker::after {
  background: #ef5252;
}

.studio-card__label {
  display: block;
  margin-bottom: 12px;

  color: rgba(255, 255, 255, 0.42);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.studio-card__value {
  position: relative;
  z-index: 1;

  display: block;

  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 600;
  line-height: 1.1;
}

.studio-mic-level {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;

  height: 5px;
  border-radius: 999px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.08);
}

.studio-mic-level__fill {
  width: 0%;
  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      #f0a736,
      #ff5959
    );

  box-shadow:
    0 0 12px rgba(255, 89, 89, 0.4);

  transition: width 0.1s linear;
}

/* Мой профиль */

.studio-self {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.025);
}

.studio-self > div {
  min-width: 0;
}

.studio-self__caption {
  display: block;
  margin-bottom: 3px;

  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
}

.studio-self strong {
  color: #fff;
  font-size: 15px;
}

.studio-role {
  display: inline-flex;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;

  color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.07);

  font-size: 10px;
  font-weight: 700;
}

.studio-role--host {
  color: #ffd27d;
  background: rgba(240, 167, 54, 0.12);
}

/* Разделы */

.studio-section {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.022);
}

.studio-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.studio-section__header h3 {
  margin: 0;

  color: rgba(255, 255, 255, 0.88);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.studio-section__header span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 32px;
  height: 26px;
  padding: 0 9px;

  border-radius: 999px;

  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.06);

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
}

/* Участники */

.studio-members,
.studio-queue {
  display: grid;
  gap: 9px;
}

.studio-member,
.studio-queue-item {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.025);
}

.studio-member--me {
  border-color: rgba(240, 167, 54, 0.22);
  background: rgba(240, 167, 54, 0.055);
}

.studio-member--speaking {
  border-color: rgba(255, 85, 85, 0.34);
  background: rgba(255, 85, 85, 0.07);

  box-shadow:
    0 0 0 1px rgba(255, 85, 85, 0.05),
    0 0 24px rgba(255, 85, 85, 0.08);
}

.studio-member__avatar {
  display: grid;
  place-items: center;

  width: 40px;
  height: 40px;
  flex: 0 0 40px;

  border-radius: 12px;

  color: #1d160c;
  background:
    linear-gradient(
      135deg,
      #f0a736,
      #ffd37f
    );

  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.studio-member__info,
.studio-queue-item__info {
  min-width: 0;
  flex: 1;
}

.studio-member__info strong,
.studio-queue-item__info strong {
  display: block;

  color: #fff;
  font-size: 13px;
  font-weight: 700;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-member__info span,
.studio-queue-item__info span {
  display: block;
  margin-top: 3px;

  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
}

.studio-member__indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;

  background: #59df82;
  box-shadow: 0 0 10px rgba(89, 223, 130, 0.55);
}

.studio-member__kick {
  padding: 7px 9px;
  border: 1px solid rgba(255, 100, 100, 0.18);
  border-radius: 9px;
  cursor: pointer;

  color: #ff9292;
  background: rgba(255, 90, 90, 0.06);

  font-size: 10px;
  font-weight: 700;
}

.studio-queue-item__number {
  display: grid;
  place-items: center;

  width: 34px;
  height: 34px;
  flex: 0 0 34px;

  border-radius: 10px;

  color: #ffd27a;
  background: rgba(240, 167, 54, 0.10);

  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

/* Действия */

.studio-actions {
  display: grid;
  gap: 9px;
}

.studio-host-hint {
  padding: 12px 14px;
  border: 1px solid rgba(240, 167, 54, 0.18);
  border-radius: 13px;

  color: rgba(255, 220, 155, 0.82);
  background: rgba(240, 167, 54, 0.07);

  font-size: 12px;
  line-height: 1.5;
}

/* Состояние микрофона */

.studio-microphone {
  display: flex;
  align-items: center;
  gap: 13px;

  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.025);
}

.studio-microphone__icon {
  display: grid;
  place-items: center;

  width: 42px;
  height: 42px;
  flex: 0 0 42px;

  border-radius: 13px;

  background: rgba(255, 255, 255, 0.06);
  font-size: 20px;
}

.studio-microphone strong {
  display: block;
  margin-bottom: 4px;

  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.studio-microphone span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  line-height: 1.45;
}

.studio-microphone--active {
  border-color: rgba(255, 76, 76, 0.28);
  background: rgba(255, 76, 76, 0.07);
}

.studio-microphone--active
.studio-microphone__icon {
  background: rgba(255, 76, 76, 0.14);
  animation: studioMicPulse 1.4s ease-in-out infinite;
}

.studio-empty {
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 12px;

  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  font-size: 12px;
}

@keyframes studioMicPulse {
  0%,
  100% {
    transform: scale(0.94);
    box-shadow: 0 0 0 rgba(255, 76, 76, 0);
  }

  50% {
    transform: scale(1.04);
    box-shadow:
      0 0 22px rgba(255, 76, 76, 0.22);
  }
}

/* Мобильная адаптация */

@media (max-width: 720px) {
  .studio {
    padding: 16px;
    border-radius: 18px;
  }

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

  .studio__status {
    align-self: flex-start;
  }

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

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

  .studio-self {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-self .studio-btn {
    width: 100%;
  }

  .studio-member,
  .studio-queue-item {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .studio-member__kick,
  .studio-btn--grant {
    width: 100%;
    margin-left: 52px;
  }
}
