:root {
  color-scheme: dark;
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  background: #101117;
  color: #f1f0fa;
  --panel: #191a23;
  --surface: #14151d;
  --line: #30313e;
  --muted: #aaaabd;
  --accent: #c3adff;
  --accent-strong: #ad8bfa;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 290px; }
button, select, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #d5c6ff; outline-offset: 3px; }
.top { border-bottom: 1px solid #292a35; background: #15161e; }
.top-inner, .shell { max-width: 1250px; margin: auto; padding-inline: clamp(19px, 4vw, 48px); }
.top-inner { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; gap: 11px; align-items: center; font-size: 21px; font-weight: 750; color: inherit; text-decoration: none; }
.brand-mark { width: 35px; height: 35px; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 3px; background: #2e2446; }
.brand-mark i { width: 3px; height: 9px; border-radius: 2px; background: var(--accent); }
.brand-mark i:nth-child(2) { height: 19px; }
.brand-mark i:nth-child(3) { height: 13px; }
.brand-sub { margin-left: 4px; padding-left: 15px; border-left: 1px solid var(--line); font-size: 14px; font-weight: 450; color: var(--muted); }
.top-state { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: #d7d5e0; }
.top-state i { height: 7px; width: 7px; border-radius: 50%; background: #777888; }
.top-state[data-mode="starting"] i { background: #f2c578; }
.top-state[data-mode="live"] i { background: #92e8b3; box-shadow: 0 0 9px #8df4ab64; }
.shell { padding-block: 51px 36px; }
.intro { margin-bottom: 29px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(32px, 4.1vw, 52px); font-weight: 725; line-height: 1.08; letter-spacing: -.05em; }
.intro p { color: var(--muted); margin-top: 12px; font-size: 16px; }
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(295px, 345px); gap: 17px; align-items: start; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 15px; min-width: 0; }
.card-head { min-height: 59px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 19px; }
h2 { font-size: 17px; letter-spacing: -.015em; font-weight: 675; }
.timer { color: var(--muted); font-variant-numeric: tabular-nums; font-family: Consolas, monospace; font-size: 14px; }
.preview { overflow: hidden; }
.monitor { position: relative; display: grid; place-items: center; margin-inline: 13px; aspect-ratio: 16 / 9; background: #101117; border: 1px solid #2a2936; border-radius: 10px; overflow: hidden; }
.monitor video { position: absolute; width: 100%; height: 100%; object-fit: contain; background: #101117; }
.placeholder { z-index: 1; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 18px; }
.placeholder strong { font-weight: 650; font-size: 17px; }
.placeholder > span { font-size: 14px; color: var(--muted); }
.selection-art { height: 74px; width: 110px; color: var(--accent); display: grid; place-items: center; position: relative; margin-bottom: 10px; background: radial-gradient(ellipse at center, #5c39934f, transparent 76%); }
.selection-art b { position: absolute; width: 16px; height: 16px; border: solid #8e73bd; }
.selection-art b:nth-child(1) { left: 0; top: 0; border-width: 1px 0 0 1px; border-top-left-radius: 5px; }
.selection-art b:nth-child(2) { right: 0; top: 0; border-width: 1px 1px 0 0; border-top-right-radius: 5px; }
.selection-art b:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1px 1px; border-bottom-left-radius: 5px; }
.selection-art b:nth-child(4) { right: 0; bottom: 0; border-width: 0 1px 1px 0; border-bottom-right-radius: 5px; }
svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.selection-art svg { width: 44px; height: 44px; }
.monitor-foot { min-height: 48px; color: var(--muted); padding: 11px 18px; display: flex; align-items: center; flex-wrap: wrap; column-gap: 22px; row-gap: 4px; font-size: 14px; }
.monitor-foot strong { margin-left: 4px; color: #dddbea; font-weight: 575; }
.monitor-foot strong[data-audio="yes"] { color: #a4e8bf; }
.monitor-foot strong[data-audio="no"] { color: #efc38f; }
.link-button { padding: 0; background: transparent; border: 0; color: var(--accent); margin-left: auto; font-size: 14px; }
.controls .card-head { border-bottom: 1px solid var(--line); }
.controls-body { display: grid; gap: 16px; padding: 17px 18px 18px; }
label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 620; }
input, select, .secondary, .primary, .danger { border: 1px solid #383a49; border-radius: 8px; min-height: 42px; }
input, select { width: 100%; padding: 8px 11px; background: var(--surface); color: inherit; }
input::placeholder { color: #9292a5; }
input[type="password"] { font-size: 14px; }
select { appearance: none; padding-right: 28px; background-image: linear-gradient(45deg, transparent 51%, #aaaabd 53%), linear-gradient(135deg, #aaaabd 51%, transparent 53%); background-position: calc(100% - 15px) center, calc(100% - 11px) center; background-size: 4px 4px; background-repeat: no-repeat; }
.secondary { background: #242331; color: #e7e1fb; font-weight: 600; padding: 8px 12px; font-size: 14px; }
.secondary:not(:disabled):hover { background: #302b43; border-color: #645886; }
.pick { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 45px; }
.pick svg { color: var(--accent); }
.hint { color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 7px; }
.primary, .danger { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 46px; font-weight: 730; }
.primary { background: var(--accent-strong); color: #171027; border-color: #b495fa; }
.primary:not(:disabled):hover { background: #c2a8ff; }
.primary:disabled { opacity: .55; }
.record-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: #302047; }
.danger { color: #ffc0ca; background: #3a202a; border-color: #65404d; }
.danger:hover { background: #512834; }
.notice { font-size: 14px; color: #cdc4e7; line-height: 1.4; }
.notice[data-error="true"] { color: #ffb1be; }
.share { grid-column: 1 / -1; display: flex; gap: 16px; padding: 18px; align-items: start; }
.share-icon { width: 39px; height: 39px; flex: 0 0 39px; background: #2b253d; color: var(--accent); border: 1px solid #46375e; border-radius: 9px; display: grid; place-items: center; }
.share-content { flex: 1; min-width: 0; }
.share p { font-size: 14px; margin-top: 5px; color: var(--muted); }
.copy-row { display: flex; gap: 8px; margin-top: 11px; }
.copy-row input { min-width: 0; color: #e1d7f8; font: 14px Consolas, monospace; }
.copy-row input:placeholder-shown { color: #9292a5; }
.compat { margin-top: 18px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.compat strong { color: #dfd9ee; font-weight: 620; }
.compat a { color: var(--accent); text-underline-offset: 3px; }
@media (max-width: 800px) { .studio { grid-template-columns: 1fr; } .shell { padding-top: 34px; } }
@media (max-width: 480px) { .brand-sub { display: none; } .selection-art { height: 45px; width: 71px; margin-bottom: 3px; } .selection-art svg { width: 30px; height: 30px; } .placeholder > span { display: none; } .share { gap: 10px; padding: 13px; } .share-icon { display: none; } .monitor-foot { column-gap: 14px; } }
