:root {
  color-scheme: dark;
  --black: #090707;
  --black-2: #120b0b;
  --blood: #270c0d;
  --blood-2: #3a0e12;
  --red: #a51d24;
  --red-bright: #d43632;
  --gold: #d49328;
  --gold-bright: #f0bb4b;
  --accent: var(--gold);
  --text: #f4ead8;
  --muted: #b59f87;
  --line: #5c3421;
  --danger: #ee5547;
  --good: #d8a73a;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--black); }
body { position: relative; isolation: isolate; min-height: 100vh; margin: 0; min-width: 320px; overflow-x: hidden; background: linear-gradient(135deg, #0a0707 0%, #160909 52%, #0c0707 100%); color: var(--text); font: 14px/1.45 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body::before { position: fixed; z-index: -1; inset: 0; content: ""; pointer-events: none; background: radial-gradient(circle at 50% -10%, rgba(164, 29, 36, .16), transparent 42%), radial-gradient(circle at 100% 100%, rgba(212, 147, 40, .06), transparent 32%); opacity: .9; }
a { color: var(--gold-bright); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
code, pre { font-family: "Cascadia Code", Consolas, ui-monospace, monospace; }
code { overflow-wrap: anywhere; color: var(--gold-bright); }
[hidden] { display: none !important; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(9, 7, 7, .96); }
.topbar, .shell { width: min(1420px, calc(100% - 36px)); margin: 0 auto; }
.topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: .18em; }
.brand img { width: 94px; height: 38px; object-fit: contain; }
.header-actions, .card-actions, .status-stack, .restream-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.operator { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.shell { padding: 44px 0 70px; }
.shell h1, .shell h2, .shell h3 { margin: 0; line-height: 1.1; }
.shell h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.04em; }
.shell h2 { font-size: 23px; letter-spacing: -.02em; }
.shell h3 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

.flash, .panel, .empty-state, .stream-card, .audit-details { border: 1px solid var(--line); }
.flash { padding: 12px 14px; margin-bottom: 18px; animation: notice-in .35s cubic-bezier(.2, .8, .2, 1) both; }
.flash-error { border-color: var(--danger); background: #310d0d; color: #ffb0a3; }
.flash-success { border-color: var(--gold); background: #271c0c; color: var(--gold-bright); }
.account-notice { margin-bottom: 24px; padding: 18px 20px; border: 1px solid var(--gold); background: #271c0c; animation: notice-in .35s ease both; }
.account-notice h2 { margin-bottom: 8px; }
.account-notice p { margin-top: 0; }
.credential-delivery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin-top: 14px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-heading .muted { max-width: 560px; margin: 0; }
.panel, .empty-state { background: rgba(24, 10, 10, .82); padding: 20px; }
.empty-state { margin: 20px 0; color: var(--muted); }
.discord-panel { margin-bottom: 18px; }
.discord-form { display: grid; grid-template-columns: minmax(0, 1fr) max-content max-content; align-items: end; gap: 9px; }
.discord-form input { min-width: 0; height: 34px; }
.discord-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 12px; color: var(--muted); font-size: 10px; }
.discord-meta form { margin-left: auto; }

.create-menu { position: relative; z-index: 10; }
.create-menu > summary { list-style: none; }
.create-menu > summary.button-primary { width: auto; margin-top: 0; }
.create-menu > summary::-webkit-details-marker { display: none; }
.create-popout { position: absolute; top: calc(100% + 12px); right: 0; width: min(360px, calc(100vw - 24px)); padding: 20px; border: 1px solid var(--gold); background: #170909; box-shadow: 0 18px 48px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transform: translateY(-8px); }
.create-menu[open] .create-popout { animation: dropdown-in .2s ease both; opacity: 1; pointer-events: auto; transform: translateY(0); }
.create-popout h2 { margin-bottom: 18px; }

.motion-picker { position: relative; z-index: 20; }
.motion-button { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; border: 1px solid var(--line); padding: 7px 9px; color: var(--muted); background: rgba(24, 10, 10, .7); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease; }
.motion-button:hover, .motion-button[aria-expanded="true"] { border-color: var(--gold); color: var(--gold-bright); background: var(--blood); }
.motion-button:active { transform: translateY(1px); }
.motion-icon-image { width: 14px; height: 14px; opacity: .9; transition: opacity .25s ease, transform .35s ease; }
.motion-button:hover .motion-icon-image { opacity: 1; transform: rotate(18deg) scale(1.08); }
.motion-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 190px; padding: 7px; border: 1px solid var(--line); background: rgba(18, 7, 8, .98); box-shadow: 0 18px 45px rgba(0, 0, 0, .42); animation: dropdown-in .22s cubic-bezier(.2, .8, .2, 1) both; }
.motion-menu-title { margin: 5px 8px 7px; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.motion-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 1px solid transparent; padding: 8px; color: var(--text); background: transparent; text-align: left; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.motion-menu button:hover, .motion-menu button.is-selected { border-color: var(--line); color: var(--gold-bright); background: #2a1010; }
.motion-menu button span { font-size: 11px; font-weight: 700; }
.motion-menu button small { color: var(--muted); font-size: 9px; }

label { display: block; margin: 13px 0 6px; color: var(--muted); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
input[type=text], input[type=password], input[type=number], select { width: 100%; border: 1px solid var(--line); border-bottom-color: var(--gold); outline: 0; padding: 10px 11px; color: var(--text); background: #0d0808; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease, transform .25s ease; }
input:focus, select:focus { border-color: var(--gold-bright); box-shadow: 0 0 0 1px var(--gold); background: #120909; transform: translateY(-1px); }
input[type=checkbox] { accent-color: var(--gold); }
.check-line { display: flex; align-items: center; gap: 8px; margin: 16px 0; color: var(--text); text-transform: none; letter-spacing: 0; }
.check-line input { width: auto; }
.check-line.compact { display: inline-flex; align-self: end; height: 34px; margin: 0; padding-bottom: 0; font-size: 10px; white-space: nowrap; }
.button { position: relative; overflow: hidden; border: 1px solid transparent; padding: 10px 14px; color: var(--black); background: var(--gold); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: background .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease, transform .2s ease; }
.button::after { position: absolute; top: -50%; left: -30%; width: 20%; height: 200%; content: ""; background: rgba(255, 255, 255, .18); transform: translateX(-180%) rotate(18deg); transition: transform .45s ease; }
.button:hover::after { transform: translateX(720%) rotate(18deg); }
.button:active { transform: translateY(1px); }
.button:hover { background: var(--gold-bright); }
.button-primary { width: 100%; margin-top: 4px; background: var(--red-bright); color: #fff2df; }
.button-primary:hover { background: #ee4740; }
.button-gold { color: var(--black); background: var(--gold); }
.button-quiet { border-color: var(--line); color: var(--text); background: transparent; }
.button-quiet:hover { border-color: var(--gold); color: var(--gold-bright); background: var(--blood); }
.button-danger { color: #fff; background: #8e1b20; }
.button-danger:hover { background: var(--danger); }
.button-small { padding: 7px 10px; font-size: 10px; }
.inline { display: inline; }

.stream-list { display: grid; gap: 18px; }
.stream-card { overflow: hidden; background: rgba(26, 9, 10, .9); animation: card-in .55s cubic-bezier(.2, .8, .2, 1) both; }
.stream-card, .subpanel { transition: border-color .3s ease, box-shadow .3s ease, background .3s ease; }
.stream-card:hover { border-color: #744021; box-shadow: 0 15px 42px rgba(0, 0, 0, .14); }
.stream-card:nth-child(2) { animation-delay: .06s; }
.stream-card:nth-child(3) { animation-delay: .12s; }
.stream-card:nth-child(4) { animation-delay: .18s; }
.stream-card:nth-child(5) { animation-delay: .24s; }
.stream-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #3b0f12, #1a090a 70%); }
.status { display: inline-block; padding: 4px 7px; border: 1px solid var(--line); font-size: 10px; font-weight: 800; letter-spacing: .1em; transition: color .25s ease, border-color .25s ease, background .25s ease, opacity .25s ease; }
.status-online { border-color: #4ade80; color: #b5f7c8; background: #10351f; box-shadow: 0 0 16px rgba(74, 222, 128, .12); }
.status-offline { border-color: #653032; color: #ad7770; background: #210d0e; }
.status-neutral { color: var(--muted); background: #180b0b; }
.status-starting { border-color: var(--gold-bright); color: #ffe0a0; background: #4b2d0c; box-shadow: 0 0 14px rgba(240, 187, 75, .14); }
.status-off { border-color: #d43632; color: #ffaaa0; background: #3a1012; }
.status-toggle-form { position: relative; margin: 0; }
.status-toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-bright); background: #38250b; }
.status-toggle:hover { border-color: var(--gold-bright); background: #4b2d0c; }
.status-toggle.status-disabled { border-color: #653032; color: #ad7770; background: #210d0e; }
.toggle-feedback { position: absolute; top: 50%; left: calc(100% + 7px); min-width: max-content; color: var(--gold-bright); font-size: 9px; opacity: 0; pointer-events: none; transform: translateY(-50%) translateX(-3px); transition: opacity .25s ease, transform .25s ease; }
.toggle-feedback.is-visible { opacity: 1; }
.toggle-feedback.is-visible { transform: translateY(-50%) translateX(0); }
.telemetry-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.metric { min-height: 77px; padding: 13px 14px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 9px; letter-spacing: .12em; }
.metric strong { color: var(--gold-bright); font-size: 15px; font-weight: 700; transition: color .25s ease, text-shadow .25s ease; }
.metric strong.metric-changed { animation: metric-pulse .55s ease both; }
.stream-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .9fr); gap: 1px; background: var(--line); }
.subpanel { min-width: 0; padding: 19px 22px; background: #180a0b; }
.subpanel-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 13px; }
.subpanel-heading .muted { font-size: 11px; }
.copy-list { display: grid; gap: 1px; }
.copy-field { position: relative; width: 100%; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: center; border: 0; border-bottom: 1px solid #43201a; padding: 10px 0; color: var(--text); text-align: left; background: transparent; transition: color .2s ease, background .2s ease, opacity .2s ease; }
.copy-field:hover { color: var(--gold-bright); background: #25100e; }
.copy-field > span:first-child { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.copy-field code { min-width: 0; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.copy-feedback { position: absolute; top: 50%; right: 0; min-width: 0; padding-left: 8px; color: var(--gold-bright); background: #180a0b; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-align: right; opacity: 0; transform: translateY(-50%) translateX(4px); transition: opacity .25s ease, transform .25s ease; }
.copy-feedback.is-visible { opacity: 1; transform: translateY(-50%) translateX(0); }
.key-state { color: var(--gold); font-size: 10px; letter-spacing: .1em; }
.key-panel > p { min-height: 48px; margin-top: 0; }
.source-copy-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; margin-top: 14px; }
.credential-field { grid-template-columns: 128px minmax(0, 1fr); }
.obs-server-value { overflow: visible !important; text-overflow: clip !important; white-space: normal !important; overflow-wrap: anywhere; line-height: 1.35; }
.publisher-key-field .masked-value { color: var(--gold-bright); letter-spacing: .14em; }
.publisher-key-field.is-loading { opacity: .65; }
.credential-note { min-height: auto !important; margin: 12px 0 0 !important; color: #e79789; font-size: 11px; }

.restream-panel { border-top: 1px solid var(--line); }
.restream-row { margin: 0 -22px; padding: 12px 22px; border-top: 1px solid #43201a; }
.restream-form { display: grid; grid-template-columns: minmax(110px, .8fr) minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1.45fr) 84px max-content minmax(92px, max-content); gap: 8px; align-items: end; }
.restream-form:not(.is-custom) { grid-template-columns: minmax(140px, .9fr) minmax(180px, 1.5fr) 84px max-content minmax(92px, max-content); }
.restream-field { min-width: 0; }
.restream-field label { margin: 0 0 5px; font-size: 9px; }
.restream-form input, .restream-form select { min-width: 0; padding: 8px; font-size: 12px; }
.fixed-endpoint { display: block; min-height: 34px; padding: 8px 0; font-size: 10px; line-height: 1.35; }
.volume-control { display: flex; align-items: center; gap: 4px; height: 34px; margin: 0; padding: 0; white-space: nowrap; font-size: 10px; }
.volume-control input { width: 57px; height: 34px; }
.restream-form > .button { align-self: end; min-height: 34px; width: 100%; min-width: 92px; }
.restream-create:not(.is-custom) { grid-template-columns: minmax(120px, .8fr) minmax(170px, 1.35fr) 84px max-content minmax(132px, max-content); }
.restream-create.is-custom { grid-template-columns: minmax(110px, .8fr) minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1.45fr) 84px max-content minmax(132px, max-content); }
.add-destination-button { min-width: 132px !important; }
.restream-toggle { display: inline-flex; align-items: center; justify-content: center; align-self: end; min-height: 38px; min-width: 112px; border-width: 2px; padding: 7px 12px; cursor: pointer; font-size: 11px; font-weight: 900; letter-spacing: .1em; box-shadow: 0 4px 14px rgba(0, 0, 0, .22); }
.restream-toggle.status-enabled { border-color: #4ade80; color: #c5ffd5; background: #124b28; box-shadow: 0 0 0 1px rgba(74, 222, 128, .18), 0 0 18px rgba(74, 222, 128, .14); }
.restream-toggle.status-enabled:hover { border-color: #9af7b6; color: #effff3; background: #176536; }
.restream-toggle.status-disabled { border-color: #ef514a; color: #ffb1aa; background: #4a1316; box-shadow: 0 0 0 1px rgba(239, 81, 74, .14), 0 0 14px rgba(239, 81, 74, .1); }
.restream-toggle.status-disabled:hover { border-color: #ff9189; color: #ffd6d1; background: #641b20; }
.preferred-form { margin: 0; }
.preferred-toggle { min-height: 26px; border: 1px solid #70431d; padding: 5px 8px; color: var(--muted); background: rgba(28, 12, 10, .5); font-size: 9px; font-weight: 800; letter-spacing: .09em; transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease; }
.preferred-toggle:hover, .preferred-toggle.is-preferred { border-color: var(--gold); color: var(--gold-bright); background: #38250b; }
.preferred-toggle:active { transform: translateY(1px); }
.preferred-toggle.is-error { border-color: var(--danger); color: #ffb0a3; }
.restream-meta { justify-content: flex-end; min-height: 25px; margin-top: 8px; }
.restream-meta .status { font-size: 9px; }
.error-text { max-width: 500px; overflow: hidden; color: #e79789; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.restream-create { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.account-panel { border-top: 1px solid var(--line); }
.account-reset-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.account-reset-form input { height: 34px; }
.account-reset-form .button { height: 34px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 22px; border-top: 1px solid var(--line); background: #110808; }
.disclosure summary, .audit-details summary { cursor: pointer; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: color .2s ease; }
.disclosure summary:hover, .audit-details summary:hover { color: var(--gold-bright); }
.table-wrap { max-width: 100%; overflow-x: auto; margin-top: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 9px 8px; border-bottom: 1px solid #43201a; text-align: left; vertical-align: top; white-space: nowrap; }
th { color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.audit-details { margin-top: 34px; padding: 15px 18px; background: #120909; }
footer { padding: 24px 18px 40px; color: #7b5d4e; font-size: 10px; letter-spacing: .14em; text-align: center; }

.login-page { display: flex; flex-direction: column; min-height: 100svh; background: linear-gradient(135deg, #0a0707 0%, #160909 52%, #0c0707 100%); }
.login-page main { display: grid; flex: 1 0 auto; place-items: center; width: 100%; padding: clamp(36px, 8vh, 110px) 18px; }
.login { width: min(100%, 514px); max-width: 514px; margin: 0; padding: clamp(24px, 4vw, 32px); animation: login-in .7s cubic-bezier(.2, .8, .2, 1) both; box-shadow: 0 22px 70px rgba(0, 0, 0, .18); }
.login .button { width: 100%; }
.login-brand { display: block; width: 200px; height: auto; margin: 0 auto 28px; animation: logo-in .8s .1s cubic-bezier(.2, .8, .2, 1) both; }
.login h1 { margin-bottom: 8px; text-align: center; }
.login .muted { text-align: center; }
.login form { animation: rise-in .6s .18s cubic-bezier(.2, .8, .2, 1) both; }
.login-page footer { flex: 0 0 auto; }

@keyframes login-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes logo-in { from { opacity: 0; transform: translateY(-10px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.status-pulse { animation: status-pulse .9s ease both; }
.toggle-failed { animation: toggle-failed .3s ease both; }
@keyframes notice-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dropdown-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes status-pulse { 0% { box-shadow: 0 0 0 0 rgba(240, 187, 75, 0); } 35% { box-shadow: 0 0 0 4px rgba(240, 187, 75, .22); } 100% { box-shadow: 0 0 0 0 rgba(240, 187, 75, 0); } }
@keyframes toggle-failed { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@keyframes metric-pulse { 0% { text-shadow: 0 0 0 rgba(240, 187, 75, 0); } 40% { text-shadow: 0 0 14px rgba(240, 187, 75, .55); } 100% { text-shadow: 0 0 0 rgba(240, 187, 75, 0); } }

html[data-motion-reduced] *, html[data-motion-reduced] *::before, html[data-motion-reduced] *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion-mode="full"]) *, html:not([data-motion-mode="full"]) *::before, html:not([data-motion-mode="full"]) *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}

@media (max-width: 1100px) {
  .telemetry-grid { grid-template-columns: repeat(3, 1fr); }
  .metric:nth-child(3), .metric:nth-child(5) { border-right: 0; }
  .restream-form { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .restream-form:not(.is-custom) { grid-template-columns: minmax(130px, 1fr) minmax(160px, 1.4fr) 84px max-content minmax(92px, max-content); }
  .restream-field { grid-column: span 1; }
  .restream-form .key-field { grid-column: span 2; }
  .restream-form:not(.is-custom) .key-field { grid-column: span 1; }
  .restream-form .volume-control, .restream-form .restream-toggle, .restream-form > .button { grid-column: span 1; }
  .restream-create:not(.is-custom) { grid-template-columns: minmax(110px, 1fr) minmax(150px, 1.35fr) 84px max-content minmax(132px, max-content); }
  .restream-create.is-custom { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .topbar, .shell { width: min(100% - 24px, 650px); }
  .topbar { min-height: 64px; }
  .brand span { display: none; }
  .brand img { width: 80px; }
  .header-actions { gap: 6px; }
  .operator { display: none; }
  .shell { padding-top: 25px; }
  .page-heading, .stream-heading { align-items: flex-start; flex-direction: column; }
  .stream-grid { grid-template-columns: 1fr; gap: 18px; background: transparent; }
  .source-copy-grid { grid-template-columns: 1fr; }
  .credential-delivery { grid-template-columns: 1fr; }
  .discord-form { grid-template-columns: 1fr 1fr; }
  .discord-form input { grid-column: 1 / -1; }
  .discord-meta form { margin-left: 0; }
  .copy-field { grid-template-columns: 78px minmax(0, 1fr); }
  .credential-field { grid-template-columns: 100px minmax(0, 1fr); }
  .restream-form { grid-template-columns: 1fr 1fr; }
  .restream-create:not(.is-custom), .restream-create.is-custom { grid-template-columns: 1fr 1fr; }
  .restream-form:not(.is-custom) { grid-template-columns: 1fr 1fr; }
  .restream-field, .restream-form .key-field { grid-column: span 2; }
  .restream-form:not(.is-custom) .key-field { grid-column: span 2; }
  .restream-form .volume-control, .restream-form .restream-toggle { grid-column: span 1; }
  .restream-form > .button { grid-column: 1 / -1; }
  .card-footer { align-items: flex-start; flex-direction: column; }
  .account-reset-form { grid-template-columns: 1fr; }
  .motion-button { padding-inline: 8px; }
  .motion-button [data-motion-current] { display: none; }
}
