:root {
  color-scheme: dark;
  --bg: #100c13;
  --bg-2: #17111b;
  --surface: rgba(25, 20, 30, .88);
  --surface-2: #1c1621;
  --line: rgba(230, 219, 237, .12);
  --line-strong: rgba(230, 219, 237, .22);
  --ink: #f6f1f7;
  --muted: #a89eae;
  --soft: #d3c9d7;
  --accent: #ff365f;
  --accent-light: #ff708e;
  --violet: #9d56ff;
  --lime: #c8ff3d;
  --platform-color: #9146ff;
  --radius: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(ellipse at 78% 2%, rgba(120, 47, 112, .16), transparent 34rem),
              radial-gradient(ellipse at 12% 48%, rgba(157, 86, 255, .07), transparent 30rem), var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
::selection { background: rgba(255, 54, 95, .35); color: white; }

.app-shell { width: min(1320px, calc(100% - 64px)); margin: 0 auto; position: relative; z-index: 1; }
.ambient { position: fixed; z-index: -1; pointer-events: none; filter: blur(1px); }
.ambient-one { width: 330px; height: 330px; right: -160px; top: 38%; border-radius: 50%; background: rgba(157, 86, 255, .08); filter: blur(70px); }
.ambient-two { width: 220px; height: 220px; left: -130px; top: 12%; border-radius: 50%; background: rgba(255, 54, 95, .08); filter: blur(70px); }

.topbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 39px; height: 39px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 10px; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(135deg, #2a1a33, #17111b); box-shadow: inset 0 0 18px rgba(255, 54, 95, .11); }
.brand-mark > span { color: var(--accent-light); font-size: 13px; line-height: 1; font-weight: 950; letter-spacing: -.12em; transform: translateX(-1px); }
.brand-mark i { width: 5px; height: 5px; position: absolute; right: 6px; top: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(200, 255, 61, .8); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 11px; letter-spacing: .18em; font-weight: 800; }
.brand-copy small { font-size: 9px; color: #8e8495; letter-spacing: .25em; }
.topbar-right { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.live-indicator, .topbar-note { color: #c7bdcc; font: 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; }
.live-indicator { display: inline-flex; align-items: center; gap: 8px; }
.live-indicator i, .preview-light { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--lime); box-shadow: 0 0 11px rgba(200, 255, 61, .85); }
.account-chip { display: inline-flex; align-items: center; gap: 9px; color: var(--soft); font-size: 12px; }
.account-initial { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--accent), var(--violet)); font-weight: 800; }
.quiet-button { padding: 8px 11px; border: 1px solid var(--line-strong); border-radius: 5px; background: transparent; color: #c5bbc9; text-decoration: none; cursor: pointer; font-size: 11px; transition: border-color .18s, color .18s, background .18s; }
.quiet-button:hover { color: white; border-color: rgba(255, 112, 142, .55); background: rgba(255, 54, 95, .06); }
.logout-form { margin: 0; }

.hero { min-height: 363px; padding: 66px 4px 47px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); position: relative; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #b7aebc; font: 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; }
.eyebrow > span { color: var(--accent); }
.hero h1 { margin: 0; max-width: 680px; font-size: clamp(56px, 8vw, 98px); line-height: .88; letter-spacing: -.085em; font-weight: 850; }
.hero h1 em, .workspace-heading h2 em, .auth-card h2 em { color: var(--accent); font-style: normal; }
.hero-intro { max-width: 510px; margin: 22px 0 20px; color: #b0a6b5; font-size: 13px; line-height: 1.7; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.hero-tags span { padding: 6px 8px; color: #8e8495; border: 1px solid rgba(255,255,255,.1); font: 8px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.hero-art { height: 245px; max-width: 510px; width: 100%; justify-self: end; position: relative; display: grid; place-items: center; overflow: hidden; }
.hero-art::before { content: ""; position: absolute; inset: 12% 8%; background: radial-gradient(ellipse, rgba(255,54,95,.11), rgba(157,86,255,.04) 43%, transparent 70%); }
.orbit { position: absolute; border: 1px solid rgba(206, 184, 219, .15); border-radius: 50%; transform: rotate(-27deg); }
.orbit-a { width: 290px; height: 104px; }
.orbit-b { width: 370px; height: 154px; transform: rotate(34deg); border-color: rgba(255, 112, 142, .16); }
.planet { position: absolute; border-radius: 50%; }
.planet-pink { width: 110px; height: 110px; display: grid; place-items: center; color: #fff1f3; font-size: 24px; font-weight: 900; letter-spacing: -.15em; background: radial-gradient(circle at 34% 28%, #ff9aac, #ff365f 42%, #73213c 78%); box-shadow: 0 0 35px rgba(255, 54, 95, .36), inset -10px -12px 28px rgba(28, 10, 25, .5); }
.planet-violet { width: 20px; height: 20px; right: 18%; top: 23%; background: radial-gradient(circle at 30% 28%, #d7aaff, #9d56ff 60%, #462264); box-shadow: 0 0 18px rgba(157,86,255,.8); }
.signal { position: absolute; padding: 8px 10px; border: 1px solid rgba(255,255,255,.13); background: rgba(18,14,23,.84); color: #d1c7d6; font: 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; backdrop-filter: blur(8px); }
.signal-onair { right: 6%; top: 29%; display: flex; align-items: center; gap: 7px; }
.signal-onair i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px var(--accent); }
.signal-club { left: 8%; bottom: 20%; color: #afa3b6; }
.spark { position: absolute; width: 3px; height: 3px; background: white; box-shadow: 0 0 9px white; }
.spark-a { left: 20%; top: 23%; }
.spark-b { right: 25%; bottom: 19%; width: 4px; height: 4px; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

.notice { margin: 20px 0 0; padding: 11px 14px; border: 1px solid rgba(255,255,255,.11); border-left: 2px solid var(--violet); color: #ddd2e4; background: rgba(157,86,255,.08); font-size: 12px; }
.notice-success { border-left-color: var(--lime); background: rgba(200,255,61,.06); }
.notice-error { border-left-color: var(--accent); background: rgba(255,54,95,.07); }
.auth-card { width: min(680px, 100%); margin: 42px auto 54px; padding: clamp(25px, 5vw, 48px); border: 1px solid var(--line-strong); background: linear-gradient(140deg, rgba(28,22,33,.96), rgba(17,14,21,.94)); box-shadow: 0 18px 65px rgba(0,0,0,.22); position: relative; }
.auth-card::after { content: ""; position: absolute; top: -1px; left: 24px; width: 68px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.section-index { color: #92889a; font: 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .17em; }
.setup-stamp { position: absolute; right: 25px; top: 24px; color: var(--lime); font: 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; }
.auth-card h2 { margin: 18px 0 12px; font-size: clamp(32px, 5vw, 52px); line-height: .98; letter-spacing: -.065em; }
.muted { color: var(--muted); font-size: 12px; line-height: 1.7; }
.setup-card > .muted { max-width: 570px; }
.setup-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0; }
.setup-list span { padding: 12px 13px; border: 1px solid var(--line); color: #c2b7ca; background: rgba(255,255,255,.025); font: 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.text-link { display: inline-flex; gap: 9px; align-items: center; color: var(--accent-light); text-decoration: none; font-size: 12px; }
.text-link:hover { color: #fff; }
.discord-glyph { width: 43px; height: 43px; margin: 22px 0 10px; display: grid; place-items: center; border: 1px solid rgba(157,86,255,.45); border-radius: 12px; color: #d5b7ff; background: rgba(157,86,255,.12); font-size: 22px; font-weight: 900; }
.button { min-height: 42px; padding: 0 16px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 5px; color: #fff; text-decoration: none; cursor: pointer; font-size: 11px; font-weight: 750; letter-spacing: .03em; transition: transform .16s ease, filter .16s ease, border-color .16s ease, background .16s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); }
.button:disabled { cursor: wait; opacity: .65; }
.button-primary { border-color: rgba(255,112,142,.6); background: linear-gradient(100deg, #e82753, #ff4268); box-shadow: 0 8px 25px rgba(255,54,95,.14); }
.button-primary:hover:not(:disabled) { box-shadow: 0 10px 28px rgba(255,54,95,.24); }
.button-secondary { min-width: 115px; border-color: var(--line-strong); background: #241d29; color: #ddd2e3; }
.button-secondary:hover:not(:disabled) { border-color: rgba(200,255,61,.45); }
.button-discord { margin-top: 17px; min-width: 224px; background: #5865f2; border-color: #7781ff; }
.button-arrow { font-size: 15px; line-height: 1; }
.micro-copy { margin: 16px 0 0; color: #847a8a; font: 8px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.otp-card { max-width: 565px; }
.otp-orb { width: 54px; height: 54px; float: right; display: grid; place-items: center; border: 1px solid rgba(200,255,61,.35); border-radius: 50%; color: var(--lime); font: 12px ui-monospace, monospace; box-shadow: 0 0 26px rgba(200,255,61,.08); }
.otp-form { display: grid; gap: 10px; margin-top: 22px; }
.otp-form input { max-width: 240px; text-align: center; font-size: 22px; letter-spacing: .4em; }
.otp-form .button { justify-self: start; margin-top: 7px; }
.inline-logout { margin-top: 15px; }
.text-button { padding: 4px 0; border: 0; background: none; color: #a69aac; cursor: pointer; font-size: 11px; text-decoration: underline; text-decoration-color: rgba(255,255,255,.22); text-underline-offset: 3px; }

.workspace { margin: 45px 0 0; }
.workspace-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.workspace-heading .eyebrow { margin-bottom: 8px; }
.workspace-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1; letter-spacing: -.065em; }
.verified-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid rgba(200,255,61,.24); color: #d3e99e; font: 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; }
.checkmark { color: var(--lime); font-size: 12px; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 16px; align-items: start; }
.panel { border: 1px solid var(--line); background: linear-gradient(150deg, rgba(28,22,33,.91), rgba(20,16,24,.91)); box-shadow: 0 10px 38px rgba(0,0,0,.15); }
.composer { padding: clamp(18px, 3vw, 28px); }
.panel-heading { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.panel-number { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255,54,95,.32); color: var(--accent-light); font: 9px ui-monospace, monospace; }
.panel-heading h3 { margin: 0 0 4px; font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.panel-heading p { margin: 0; color: #958a9c; font-size: 10px; }
.field-group { min-width: 0; margin: 0 0 19px; padding: 0; border: 0; }
.field-label { display: block; margin: 0 0 8px; color: #b5aaba; font: 9px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .11em; }
.field-group legend.field-label { padding: 0; }
.optional { margin-left: 5px; color: #827889; font-size: 8px; letter-spacing: .035em; }
.platform-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.platform-option { min-height: 39px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 7px; border: 1px solid var(--line); color: #a99eae; background: rgba(8,7,10,.2); cursor: pointer; font-size: 10px; transition: border-color .16s, color .16s, background .16s, transform .16s; }
.platform-option:hover { border-color: rgba(255,255,255,.28); color: white; }
.platform-option.is-active { border-color: color-mix(in srgb, var(--platform-color, var(--accent)) 65%, transparent); color: white; background: color-mix(in srgb, var(--platform-color, var(--accent)) 12%, #16111a); }
.platform-option input { width: 1px; height: 1px; margin: -1px; opacity: 0; position: absolute; clip: rect(0,0,0,0); }
.platform-option:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 2px; }
.platform-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #746b78; }
.platform-twitch .platform-dot { background: #9146ff; }
.platform-youtube .platform-dot { background: #ff0033; }
.platform-tiktok .platform-dot { background: #25f4ee; }
.platform-kick .platform-dot { background: #53fc18; }
.input-action-row { display: flex; gap: 8px; }
input[type="text"], input[type="url"], textarea { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid rgba(235,225,241,.14); border-radius: 3px; outline: none; color: var(--ink); background: rgba(10,8,13,.56); font-size: 12px; transition: border-color .16s, box-shadow .16s, background .16s; }
input[type="text"]:focus, input[type="url"]:focus, textarea:focus { border-color: rgba(255,112,142,.65); box-shadow: 0 0 0 3px rgba(255,54,95,.08); background: rgba(10,8,13,.8); }
input::placeholder, textarea::placeholder { color: #716778; }
textarea { min-height: 105px; resize: vertical; line-height: 1.55; }
.input-action-row input { flex: 1 1 auto; }
.field-help { display: block; margin-top: 6px; color: #827889; font-size: 9px; line-height: 1.55; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 5px; color: #7e7484; font-size: 9px; }
.inline-message { min-height: 20px; margin: 0 0 9px; color: #ff9caf; font-size: 11px; }
.inline-message:empty { display: none; }
.inline-message.is-success { color: #d2ee94; }
.button-send { width: 100%; min-height: 46px; }
.send-footnote { margin: 10px 0 0; text-align: center; color: #827889; font: 8px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.side-column { display: grid; gap: 15px; }
.destination-panel, .preview-panel { padding: 19px; }
.destination-panel .panel-heading { padding-bottom: 15px; margin-bottom: 14px; }
.server-list { display: grid; gap: 8px; }
.server-card { border: 1px solid rgba(235,225,241,.1); background: rgba(9,7,11,.28); transition: border-color .18s, background .18s; }
.server-card.is-selected { border-color: rgba(255,112,142,.35); background: rgba(255,54,95,.045); }
.server-main { min-height: 53px; display: flex; align-items: center; gap: 11px; padding: 10px 12px; cursor: pointer; }
.server-index { color: #756a7c; font: 9px ui-monospace, monospace; }
.server-name { flex: 1; overflow-wrap: anywhere; color: #e7dfea; font-size: 11px; font-weight: 650; }
.switch-wrap { width: 38px; height: 22px; flex: 0 0 auto; position: relative; display: inline-flex; align-items: center; }
.switch-wrap input { width: 1px; height: 1px; margin: 0; opacity: 0; position: absolute; }
.switch-ui { width: 38px; height: 22px; display: inline-flex; align-items: center; padding: 3px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: #28222c; transition: background .16s, border-color .16s; }
.switch-ui::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #988d9d; transition: transform .16s, background .16s, box-shadow .16s; }
.switch-wrap input:checked + .switch-ui { border-color: rgba(255,112,142,.65); background: rgba(255,54,95,.38); }
.switch-wrap input:checked + .switch-ui::after { transform: translateX(15px); background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.45); }
.switch-wrap input:focus-visible + .switch-ui { outline: 2px solid var(--lime); outline-offset: 3px; }
.switch-wrap input:disabled + .switch-ui { opacity: .38; cursor: not-allowed; }
.mention-row { min-height: 47px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px 8px 35px; border-top: 1px solid rgba(235,225,241,.08); cursor: pointer; }
.mention-row b { display: block; color: #d7cbd9; font-size: 10px; font-weight: 650; }
.mention-row small { display: block; color: #817687; font-size: 8px; }
.switch-small { width: 31px; height: 18px; }
.switch-small .switch-ui { width: 31px; height: 18px; padding: 2px; }
.switch-small .switch-ui::after { width: 12px; height: 12px; }
.switch-small input:checked + .switch-ui::after { transform: translateX(13px); }
.mention-note { display: flex; align-items: flex-start; gap: 8px; margin: 13px 2px 1px; color: #8f8395; font-size: 9px; line-height: 1.5; }
.mention-note > span { width: 14px; height: 14px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(200,255,61,.35); border-radius: 50%; color: var(--lime); font: 9px ui-monospace, monospace; }

.preview-panel { --platform-color: #9146ff; }
.preview-topline { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 13px; }
.preview-topline .eyebrow { margin: 0; font-size: 8px; }
.preview-platform { color: var(--platform-color); font: 9px ui-monospace, monospace; letter-spacing: .13em; }
.discord-preview { display: flex; min-height: 230px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 4px; background: #232127; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.embed-accent { width: 4px; flex: 0 0 4px; background: var(--platform-color); }
.discord-preview-content { min-width: 0; flex: 1; padding: 16px 15px; }
.preview-kicker { color: #aca1af; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.discord-preview-content h3 { margin: 8px 0 5px; color: #fff; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.discord-preview-content p { margin: 0 0 12px; color: #c5bdc8; font-size: 10px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.preview-image { min-height: 138px; position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; overflow: hidden; padding: 12px; border: 1px solid rgba(255,255,255,.08); background: radial-gradient(ellipse at 50% 20%, rgba(255,54,95,.32), transparent 38%), linear-gradient(140deg, #2b1d32, #151118 62%, #231729); background-position: center; background-size: cover; }
.preview-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,6,11,.72), transparent 68%); pointer-events: none; }
.preview-image > span, .preview-image > b { position: relative; z-index: 1; color: #c5b7cc; font: 8px ui-monospace, monospace; letter-spacing: .12em; }
.preview-image > b { padding: 5px 7px; color: white; border: 1px solid rgba(255,54,95,.45); background: rgba(255,54,95,.18); font-size: 7px; }
.preview-image.has-image > span, .preview-image.has-image > b { opacity: 0; }
.discord-preview-content > a { display: inline-block; margin-top: 11px; color: #c4a4ff; text-decoration: none; font: 8px ui-monospace, monospace; letter-spacing: .11em; }
.discord-preview-content > a:hover { color: white; }
.preview-caption { display: flex; align-items: center; gap: 7px; margin-top: 11px; color: #817687; font: 8px ui-monospace, monospace; letter-spacing: .06em; }
.preview-caption .preview-light { width: 5px; height: 5px; background: var(--platform-color); box-shadow: 0 0 9px var(--platform-color); }
.delivery-results { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 7px; margin-top: 10px; }
.result-chip { padding: 10px 12px; border: 1px solid var(--line); color: #cbbfd1; background: rgba(255,255,255,.03); font-size: 10px; }
.result-chip.is-sent { border-color: rgba(200,255,61,.24); color: #d5e7aa; }
.result-chip.is-failed { border-color: rgba(255,54,95,.3); color: #ffb1bf; }
.closing-line { margin: 57px 0 30px; display: flex; align-items: center; gap: 18px; color: #857b8c; font: 8px ui-monospace, monospace; letter-spacing: .14em; }
.closing-line p { margin: 0; color: #c7bdcc; font: 12px/1.2 inherit; letter-spacing: normal; white-space: nowrap; }
.closing-line p em { color: var(--accent); font-style: normal; }
.closing-rule { height: 1px; flex: 1; background: linear-gradient(90deg, var(--line-strong), transparent); }
.footer { min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); color: #7c7282; font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.error-shell { width: min(700px, calc(100% - 40px)); margin: 90px auto; padding: 34px; border: 1px solid var(--line); background: var(--surface); }
.error-shell h1 { font-size: clamp(34px,6vw,60px); line-height: .95; letter-spacing: -.07em; }
.error-shell p:not(.eyebrow) { color: var(--muted); }

/* Owner setup guide shares the dashboard's late-night visual language. */
.guide-shell { min-height: 100vh; display: flex; flex-direction: column; }
.guide-panel { width: min(850px,100%); margin: 65px auto; padding: clamp(26px,5vw,58px); border: 1px solid var(--line); background: linear-gradient(140deg,rgba(28,22,33,.94),rgba(17,14,21,.94)); }
.guide-panel h1 { margin: 0 0 17px; font-size: clamp(42px,8vw,78px); line-height: .91; letter-spacing: -.075em; }
.guide-panel h1 em { color: var(--accent); font-style: normal; }
.guide-panel code { color: #f4d2db; background: rgba(255,255,255,.07); padding: 2px 5px; font-size: .9em; overflow-wrap: anywhere; }
.guide-steps { list-style: none; counter-reset: guide; margin: 29px 0; padding: 0; display: grid; gap: 9px; }
.guide-steps li { counter-increment: guide; display: grid; grid-template-columns: minmax(155px,.35fr) minmax(0,1fr); gap: 17px; padding: 17px; border: 1px solid rgba(255,255,255,.1); background: rgba(12,10,15,.38); }
.guide-steps li::before { content: "0" counter(guide); color: var(--accent); font: 10px/1.5 ui-monospace,monospace; grid-column: 1; grid-row: 1; }
.guide-steps li strong { grid-column: 1; grid-row: 1; margin-left: 28px; font-size: 12px; }
.guide-steps li span { grid-column: 2; grid-row: 1; color: #aaa1ad; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.guide-note { border-left: 2px solid var(--violet); background: rgba(157,86,255,.08); padding: 15px 17px; color: #b8a9c4; font-size: 12px; line-height: 1.6; margin: 24px 0; }
.guide-note strong { color: #e6d8f1; }
.guide-panel + .footer { margin-top: auto; }

@media (max-width: 980px) {
  .app-shell { width: min(100% - 40px, 800px); }
  .hero { min-height: 335px; grid-template-columns: 1fr .74fr; gap: 8px; padding-top: 53px; }
  .hero h1 { font-size: clamp(58px, 9vw, 78px); }
  .hero-art { transform: scale(.9); transform-origin: center right; }
  .workspace-grid { grid-template-columns: minmax(0,1fr) minmax(275px,.78fr); }
  .platform-picker { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .app-shell { width: min(100% - 30px, 560px); }
  .topbar { min-height: 69px; }
  .topbar-right { gap: 9px; }
  .live-indicator { font-size: 8px; }
  .topbar-note { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding: 44px 0 22px; }
  .hero h1 { font-size: clamp(57px, 15vw, 83px); }
  .hero-intro { margin-top: 17px; max-width: 520px; }
  .hero-art { height: 170px; max-width: 420px; justify-self: center; transform: none; margin-top: -4px; }
  .orbit-a { width: 230px; height: 82px; }
  .orbit-b { width: 300px; height: 122px; }
  .planet-pink { width: 82px; height: 82px; font-size: 20px; }
  .signal-onair { right: 9%; top: 20%; }
  .signal-club { left: 7%; bottom: 12%; }
  .workspace { margin-top: 31px; }
  .workspace-heading { align-items: flex-start; flex-direction: column; gap: 11px; }
  .workspace-grid { grid-template-columns: 1fr; }
  .side-column { grid-row: auto; }
  .closing-line { margin-top: 38px; gap: 10px; }
  .closing-line > span:first-child { max-width: 75px; line-height: 1.5; }
}
@media (max-width: 480px) {
  .app-shell { width: calc(100% - 26px); }
  .brand-mark { width: 34px; height: 34px; }
  .brand-copy strong { font-size: 10px; }
  .brand-copy small { font-size: 8px; }
  .live-indicator { max-width: 115px; font-size: 7px; letter-spacing: .06em; }
  .account-chip { font-size: 10px; gap: 6px; }
  .account-initial { width: 25px; height: 25px; }
  .quiet-button { padding: 7px 8px; font-size: 9px; }
  .hero-tags span { font-size: 7px; }
  .setup-list { grid-template-columns: 1fr; }
  .setup-stamp { top: 20px; right: 18px; font-size: 7px; }
  .auth-card { margin-top: 27px; padding: 23px 19px; }
  .platform-picker { gap: 6px; }
  .platform-option { justify-content: flex-start; padding-left: 10px; font-size: 9px; }
  .input-action-row { flex-direction: column; }
  .input-action-row .button { width: 100%; }
  .composer, .destination-panel, .preview-panel { padding: 16px; }
  .server-main { padding-left: 9px; padding-right: 9px; }
  .mention-row { padding-left: 31px; padding-right: 9px; }
  .guide-panel { margin: 25px auto; padding: 23px 18px; }
  .guide-steps li { grid-template-columns: 1fr; gap: 8px; padding: 13px; }
  .guide-steps li::before { grid-column: 1; grid-row: 1; }
  .guide-steps li strong { grid-column: 1; grid-row: 1; }
  .guide-steps li span { grid-column: 1; grid-row: 2; font-size: 11px; }
  .footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 13px 0; font-size: 7px; }
}
.demo-public-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(200,255,61,.18); color: #d9f59b; background: rgba(200,255,61,.045); font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; }
.demo-public-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.demo-code-banner { display: flex; align-items: center; gap: 18px; margin: 22px 0 0; padding: 14px 18px; border: 1px solid rgba(200,255,61,.28); background: linear-gradient(95deg,rgba(200,255,61,.1),rgba(157,86,255,.08)); }
.demo-code-label { color: var(--lime); font: 9px ui-monospace,monospace; letter-spacing: .13em; }
.demo-code-value { color: #fff; font: 800 26px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .18em; text-shadow: 0 0 15px rgba(200,255,61,.32); }
.demo-code-note { color: #b9afbf; font-size: 10px; line-height: 1.4; }
.demo-mode-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0 0; padding: 12px 15px; border: 1px solid rgba(200,255,61,.2); background: rgba(200,255,61,.045); color: #bdb2c4; font-size: 10px; line-height: 1.5; }
.demo-mode-banner strong { flex: 0 0 auto; color: var(--lime); font: 9px ui-monospace,monospace; letter-spacing: .1em; }
.demo-mode-banner span { text-align: right; }
.demo-pill { color: #d7eea5; border-color: rgba(200,255,61,.2); background: rgba(200,255,61,.04); }
.demo-login-form { width: 100%; }
.demo-login-form .button { width: 100%; }
.button-discord small { margin-left: 8px; padding: 3px 5px; color: #e8d9ff; border: 1px solid rgba(255,255,255,.2); font: 7px ui-monospace,monospace; letter-spacing: .09em; }
.demo-server-fields { display: grid; gap: 10px; padding: 12px; border-bottom: 1px solid rgba(235,225,241,.08); }
.demo-server-field { display: block; color: #bcb1c4; font-size: 8px; letter-spacing: .11em; }
.demo-server-field input { margin-top: 6px; min-height: 38px; padding: 9px 10px; font-size: 10px; }
.demo-add-server { width: 100%; margin-top: 9px; min-height: 37px; }
.demo-login-form + .text-link { margin-top: 15px; }
@media (max-width: 700px) {
  .topbar-right .demo-public-pill { display: none; }
  .demo-code-banner { flex-wrap: wrap; gap: 10px 14px; }
  .demo-code-note { flex-basis: 100%; }
  .demo-mode-banner { align-items: flex-start; flex-direction: column; }
  .demo-mode-banner span { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
