.msw-studio{
  --mw-primary:#0a4e5d;
  --mw-cream:#f9f4dd;
  --mw-gold:#f3b300;
  --mw-soft:rgba(249,244,221,.12);
  --mw-danger:#ff4d4d;
  --mw-ok:#46d37d;
  max-width:760px;
  margin:24px auto;
  color:var(--mw-cream);
  font-family:inherit;
}
.msw-studio *{box-sizing:border-box}
.msw-card{
  background:var(--mw-primary);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(0,0,0,.12);
}
.msw-card + .msw-card{margin-top:0}
.msw-card-header{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid rgba(249,244,221,.13);
  color:var(--mw-cream);
}
.msw-card-header-plain{border-bottom:none;padding-bottom:4px}
.msw-card-header small,
.msw-music-card small,
.msw-meta-grid small{
  display:block;
  font-size:9px;
  line-height:1;
  letter-spacing:1.2px;
  opacity:.72;
  text-transform:uppercase;
  margin-bottom:5px;
}
.msw-card-header strong,
.msw-music-card strong,
.msw-meta-grid strong{
  display:block;
  font-size:17px;
  line-height:1.15;
  color:var(--mw-cream);
}
.msw-live-dot{
  width:11px;
  height:11px;
  border-radius:50%;
  background:var(--mw-danger);
  flex:0 0 auto;
  animation:mswPulse 2s infinite;
}
@keyframes mswPulse{
  0%{box-shadow:0 0 0 0 rgba(255,77,77,.72)}
  70%{box-shadow:0 0 0 9px rgba(255,77,77,0)}
  100%{box-shadow:0 0 0 0 rgba(255,77,77,0)}
}
.msw-inner{padding:16px}
.msw-record-layout{
  display:grid;
  grid-template-columns:210px 1fr;
  gap:16px;
  align-items:stretch;
}
.msw-record-button{
  width:100%;
  min-height:210px;
  border:0;
  border-radius:18px;
  background:var(--mw-gold);
  color:var(--mw-primary);
  font-weight:800;
  font-size:18px;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow:0 10px 24px rgba(0,0,0,.13);
}
.msw-record-button:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(0,0,0,.18)}
.msw-record-button.is-recording{background:#ff5b5b;color:#fff;animation:mswRecord 1.4s infinite}
@keyframes mswRecord{0%,100%{box-shadow:0 0 0 0 rgba(255,91,91,.45)}50%{box-shadow:0 0 0 11px rgba(255,91,91,0)}}
.msw-record-info{
  background:rgba(249,244,221,.08);
  border:1px solid rgba(249,244,221,.12);
  border-radius:18px;
  padding:16px;
  min-height:210px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.msw-timer{
  font-size:42px;
  line-height:1;
  font-weight:800;
  color:var(--mw-cream);
  letter-spacing:.5px;
}
.msw-wave{
  display:block;
  width:100%;
  height:88px;
  margin:8px 0 2px;
  border-radius:14px;
  background:rgba(0,0,0,.08);
}
.msw-help{
  margin:8px 0 0;
  font-size:14px;
  line-height:1.45;
  color:rgba(249,244,221,.82);
}
.msw-music-card{
  margin-top:14px;
  display:grid;
  grid-template-columns:34px 1fr auto;
  gap:12px;
  align-items:center;
  border-radius:16px;
  background:rgba(249,244,221,.08);
  border:1px solid rgba(249,244,221,.12);
  padding:12px;
}

.msw-volume-card{
  margin-top:12px;
  border-radius:16px;
  background:rgba(249,244,221,.08);
  border:1px solid rgba(249,244,221,.12);
  padding:12px;
}
.msw-volume-head{
  display:grid;
  grid-template-columns:34px 1fr auto;
  gap:12px;
  align-items:center;
  margin-bottom:10px;
}
.msw-volume-head small{
  display:block;
  font-size:9px;
  line-height:1;
  letter-spacing:1.2px;
  opacity:.72;
  text-transform:uppercase;
  margin-bottom:5px;
}
.msw-volume-head strong{
  display:block;
  color:var(--mw-cream);
  font-size:15px;
  line-height:1.15;
}
.msw-volume-value{
  font-size:15px!important;
  color:var(--mw-gold)!important;
}
.msw-volume-slider{
  width:100%;
  accent-color:var(--mw-gold);
  cursor:pointer;
}
.msw-volume-note{
  margin:6px 0 0;
  font-size:12px;
  line-height:1.35;
  color:rgba(249,244,221,.7);
}
.msw-icon-volume:before{content:"";position:absolute;left:3px;top:8px;width:7px;height:8px;background:currentColor;border-radius:2px}
.msw-icon-volume:after{content:"";position:absolute;left:10px;top:5px;width:10px;height:14px;border:3px solid currentColor;border-left:0;border-radius:0 12px 12px 0}

.msw-section-separator{
  height:1px;
  margin:18px 10px;
  background:linear-gradient(90deg, transparent, rgba(10,78,93,.34), transparent);
}
.msw-actions{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:10px;
}
.msw-button,
.msw-ghost-button{
  border:0;
  border-radius:14px;
  font-weight:800;
  cursor:pointer;
  transition:transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.msw-button{
  min-height:52px;
  background:var(--mw-gold);
  color:var(--mw-primary);
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  box-shadow:0 7px 16px rgba(0,0,0,.10);
}
.msw-button-secondary{background:var(--mw-cream);color:var(--mw-primary)}
.msw-button-send{background:#fff;color:var(--mw-primary)}
.msw-button:hover,.msw-ghost-button:hover{transform:translateY(-1px)}
.msw-button:disabled,
.msw-ghost-button:disabled{opacity:.42;cursor:not-allowed;transform:none;box-shadow:none}
.msw-ghost-button{
  background:rgba(249,244,221,.14);
  color:var(--mw-cream);
  padding:10px 14px;
  border:1px solid rgba(249,244,221,.16);
}
.msw-player-wrap{
  margin-top:14px;
  padding:12px;
  border-radius:15px;
  background:rgba(249,244,221,.08);
  border:1px solid rgba(249,244,221,.12);
}
.msw-player{width:100%;display:block}
.msw-meta-grid{
  display:grid;
  grid-template-columns:1.4fr 1.2fr .8fr;
  gap:10px;
  margin-top:14px;
}
.msw-meta-grid>div{
  border-radius:14px;
  padding:12px;
  background:rgba(249,244,221,.08);
  border:1px solid rgba(249,244,221,.12);
  overflow-wrap:anywhere;
}
.msw-meta-grid strong{font-size:14px}
.msw-status{
  margin-top:14px;
  border-radius:14px;
  padding:12px 14px;
  background:rgba(249,244,221,.10);
  border:1px solid rgba(249,244,221,.13);
  font-size:14px;
  line-height:1.4;
  color:rgba(249,244,221,.9);
}
.msw-status[data-kind="ok"]{border-color:rgba(70,211,125,.45);background:rgba(70,211,125,.12)}
.msw-status[data-kind="error"]{border-color:rgba(255,77,77,.55);background:rgba(255,77,77,.12)}
.msw-icon{
  display:inline-block;
  position:relative;
  width:24px;
  height:24px;
  flex:0 0 auto;
  color:currentColor;
}
.msw-icon-mic:before{content:"";position:absolute;left:8px;top:2px;width:8px;height:14px;border-radius:7px;background:currentColor}
.msw-icon-mic:after{content:"";position:absolute;left:5px;top:9px;width:14px;height:9px;border:3px solid currentColor;border-top:0;border-radius:0 0 10px 10px}
.msw-icon-mic{border-bottom:3px solid currentColor}.msw-icon-mic{background:linear-gradient(currentColor,currentColor) center 18px/3px 5px no-repeat}
.msw-icon-music:before{content:"";position:absolute;left:6px;top:3px;width:12px;height:14px;border-left:4px solid currentColor;border-top:3px solid currentColor;transform:skewY(-10deg)}
.msw-icon-music:after{content:"";position:absolute;left:2px;bottom:2px;width:9px;height:7px;border-radius:50%;background:currentColor;box-shadow:12px -3px 0 currentColor}
.msw-icon-send:before{content:"";position:absolute;inset:4px;border:3px solid currentColor;border-radius:4px}.msw-icon-send:after{content:"";position:absolute;left:5px;top:6px;width:14px;height:10px;border-left:3px solid currentColor;border-bottom:3px solid currentColor;transform:rotate(-45deg)}
.msw-icon-play:before{content:"";position:absolute;left:7px;top:4px;border-left:13px solid currentColor;border-top:8px solid transparent;border-bottom:8px solid transparent}
.msw-icon-download:before{content:"";position:absolute;left:10px;top:3px;width:4px;height:13px;background:currentColor}.msw-icon-download:after{content:"";position:absolute;left:5px;top:10px;width:14px;height:14px;border-bottom:3px solid currentColor;border-left:3px solid currentColor;transform:rotate(-45deg)}
.msw-icon-mail:before{content:"";position:absolute;left:2px;top:5px;width:20px;height:14px;border:3px solid currentColor;border-radius:4px}.msw-icon-mail:after{content:"";position:absolute;left:5px;top:8px;width:14px;height:9px;border-left:3px solid currentColor;border-bottom:3px solid currentColor;transform:rotate(-45deg)}
@media (max-width:700px){
  .msw-studio{margin:16px auto}
  .msw-record-layout{grid-template-columns:1fr}
  .msw-record-button{min-height:160px}
  .msw-actions{grid-template-columns:1fr}
  .msw-meta-grid{grid-template-columns:1fr}
  .msw-timer{font-size:36px}
}

.msw-topic-card{
  margin-top:12px;
  border-radius:16px;
  background:rgba(249,244,221,.08);
  border:1px solid rgba(249,244,221,.12);
  padding:12px;
}
.msw-topic-input{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(249,244,221,.18);
  background:rgba(249,244,221,.96);
  color:var(--mw-primary);
  border-radius:12px;
  padding:12px 14px;
  font-size:15px;
  font-weight:700;
  outline:none;
}
.msw-topic-input::placeholder{color:rgba(10,78,93,.48);font-weight:600;}
.msw-topic-input:focus{border-color:var(--mw-gold);box-shadow:0 0 0 3px rgba(243,179,0,.18);}
.msw-icon-topic:before{content:"";position:absolute;left:4px;top:4px;width:16px;height:16px;border:3px solid currentColor;border-radius:4px;}
.msw-icon-topic:after{content:"";position:absolute;left:8px;top:10px;width:8px;height:3px;background:currentColor;box-shadow:0 5px 0 currentColor;}
