.studio-welcome {
  --welcome-text: #f4f1e9;
  --welcome-muted: #bec0c5;
  --welcome-gold: #ffd16d;
  --welcome-edge: #ffffff1e;
  color-scheme: dark;
  color: var(--welcome-text);
  background: #24262a;
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(1080px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  border: 1px solid #625943;
  border-radius: 18px;
  box-shadow: 0 26px 94px #0a0b0de8, inset 0 1px #ffde9930;
  overscroll-behavior: contain;
}
.studio-welcome::backdrop { background: #090a0dbb; backdrop-filter: blur(6px); }
.studio-welcome[open] { animation: studio-welcome-enter .24s cubic-bezier(.18,.72,.25,1) both; }
@keyframes studio-welcome-enter {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
.studio-welcome [hidden] { display: none !important; }
.studio-welcome button, .studio-welcome .welcome-remember { touch-action: manipulation; }
.studio-welcome button:focus-visible, .studio-welcome input:focus-visible {
  outline: 2px solid var(--welcome-gold);
  outline-offset: 3px;
}
.studio-welcome svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.studio-welcome .welcome-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.studio-welcome .welcome-head, .studio-welcome .welcome-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.studio-welcome .welcome-head {
  min-height: 69px;
  padding: 14px 22px 14px 26px;
  border-bottom: 1px solid var(--welcome-edge);
}
.studio-welcome .welcome-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.studio-welcome .welcome-brand img { border-radius: 8px; flex: none; }
.studio-welcome .welcome-brand strong, .studio-welcome .welcome-brand small {
  display: block;
  white-space: nowrap;
}
.studio-welcome .welcome-brand strong { font-size: 13px; font-weight: 700; letter-spacing: .09em; }
.studio-welcome .welcome-brand strong span { color: var(--welcome-gold); }
.studio-welcome .welcome-brand small {
  margin-top: 4px;
  color: var(--welcome-muted);
  font-size: 10px;
  letter-spacing: .14em;
}
.studio-welcome .welcome-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--welcome-muted);
}
.studio-welcome .welcome-icon:hover { background: #393734; color: var(--welcome-gold); }
.studio-welcome .welcome-main {
  display: grid;
  grid-template-columns: minmax(250px, .57fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3.1vw, 49px);
  padding: 30px 26px;
  background: radial-gradient(ellipse at 12% 30%, #ffd16d0e, transparent 50%), #202226;
}
.studio-welcome .welcome-copy { min-width: 0; padding: 0 0 4px 5px; }
.studio-welcome .welcome-copy h2 {
  margin: 0;
  font-size: clamp(29px, 3.1vw, 44px);
  line-height: 1.10;
  font-weight: 680;
  letter-spacing: -.036em;
  text-wrap: balance;
}
.studio-welcome .welcome-copy p { margin: 16px 0 0; color: #d0d1d4; font-size: 15px; line-height: 1.6; }
.studio-welcome .welcome-copy .welcome-maker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: #e4c580;
  font-size: 12px;
  line-height: 1.45;
}
.studio-welcome .welcome-maker svg { width: 17px; height: 17px; }
.studio-welcome .welcome-reel {
  min-width: 0;
  width: 100%;
  margin: 0;
  border: 1px solid #fbd68845;
  border-radius: 12px;
  overflow: hidden;
  background: #111216;
  box-shadow: 0 10px 30px #0d0f12b2;
}
.studio-welcome .welcome-picture { position: relative; aspect-ratio: 16 / 9; background: #141619; }
.studio-welcome .welcome-picture > :is(img, video) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.studio-welcome .welcome-picture video { visibility: hidden; }
.studio-welcome .welcome-reel[data-view="film"] video { visibility: visible; }
.studio-welcome .welcome-player-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 4px 6px 4px 7px;
  background: #18191c;
}
.studio-welcome [data-welcome-poster-controls] { justify-content: space-between; padding-left: 10px; }
.studio-welcome .welcome-play {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 13px 0 5px;
  border: 1px solid #ffe09768;
  border-radius: 25px;
  background: #1c1a17eb;
  color: #fff4db;
  font-size: 14px;
  font-weight: 650;
}
.studio-welcome .welcome-play:hover { background: #3b3021; }
.studio-welcome .welcome-play-disc {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--welcome-gold);
  color: #272018;
}
.studio-welcome .welcome-play-disc svg { width: 17px; height: 17px; }
.studio-welcome :is(.welcome-play-disc svg, .welcome-resume-icon) { fill: currentColor; }
.studio-welcome :is(.welcome-duration, .welcome-time) {
  color: #d5d4d3;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.studio-welcome .welcome-duration { margin-right: 7px; padding: 4px 7px; border: 1px solid #ffffff3c; border-radius: 5px; }
.studio-welcome .welcome-player-bar input[type="range"] { flex: 1; min-width: 35px; margin: 0 3px; accent-color: var(--welcome-gold); }
.studio-welcome .welcome-player-bar .welcome-icon { color: #e8cc91; }
.studio-welcome .welcome-resume-icon, .studio-welcome [data-paused="yes"] .welcome-pause-icon { display: none; }
.studio-welcome [data-paused="yes"] .welcome-resume-icon { display: block; }
.studio-welcome .welcome-sound-cross, .studio-welcome [data-muted="yes"] .welcome-sound-waves { display: none; }
.studio-welcome [data-muted="yes"] .welcome-sound-cross { display: block; }
.studio-welcome .welcome-music { margin: 0; padding: 4px 11px 8px; color: #bec0c5; font-size: 11px; line-height: 1.4; }
.studio-welcome .welcome-music a { color: #e7d8b6; text-decoration: underline; text-underline-offset: .14em; }
.studio-welcome .welcome-status { margin: 0; padding: 10px 15px; color: #e8cc91; font-size: 13px; }
.studio-welcome .welcome-reel:fullscreen { display: grid; align-content: center; border: 0; border-radius: 0; background: #050506; }
.studio-welcome .welcome-reel:fullscreen .welcome-picture { width: min(100%, calc((100dvh - 100px) * 16 / 9)); margin-inline: auto; }
.studio-welcome .welcome-footer { min-height: 72px; padding: 12px 26px; border-top: 1px solid var(--welcome-edge); }
.studio-welcome .welcome-remember {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-right: 6px;
  color: #d9dadd;
  font-size: 13px;
  cursor: pointer;
}
.studio-welcome .welcome-remember:hover { color: #fff; }
.studio-welcome .welcome-remember input { width: 18px; height: 18px; margin: 0; accent-color: var(--welcome-gold); }
.studio-welcome .welcome-start {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 46px;
  min-width: 192px;
  padding: 0 16px;
  border: 1px solid #eaca81;
  border-radius: 8px;
  background: var(--welcome-gold);
  color: #242018;
  font-size: 14px;
  font-weight: 700;
}
.studio-welcome .welcome-start:hover { background: #ffe0a1; }
.studio-welcome .welcome-start svg { transition: transform .17s ease-out; }
.studio-welcome .welcome-start:hover svg { transform: translateX(3px); }
@media (max-width: 760px) {
  .studio-welcome { width: min(540px, calc(100% - 24px)); max-height: calc(100dvh - 24px); }
  .studio-welcome .welcome-head { min-height: 60px; padding: 10px 14px 10px 20px; }
  .studio-welcome .welcome-main { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 16px; }
  .studio-welcome .welcome-copy { padding: 0; }
  .studio-welcome .welcome-copy h2 { font-size: clamp(24px, 5.6vw, 34px); text-wrap: pretty; }
  .studio-welcome .welcome-copy p { margin-top: 9px; font-size: 14px; }
  .studio-welcome .welcome-copy .welcome-maker { margin-top: 10px; }
  .studio-welcome .welcome-footer { padding: 12px 20px; }
}
@media (max-width: 430px) {
  .studio-welcome :is(.welcome-main, .welcome-head, .welcome-footer) { padding-inline: 16px; }
  .studio-welcome .welcome-main { padding-block: 16px; }
  .studio-welcome .welcome-player-bar { gap: 4px; }
  .studio-welcome .welcome-player-bar input[type="range"] { min-width: 28px; margin-inline: 1px; }
  .studio-welcome .welcome-footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .studio-welcome .welcome-start { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-welcome[open] { animation: none; }
  .studio-welcome .welcome-start:hover svg { transform: none; }
}
