/* VYRENIX Studio / black + silver + red. Profile canvases keep their own theme. */
:root {
  --studio-accent: #ef4b54;
  --studio-ink: #111115;
  --studio-surface: #18181c;
  --studio-raised: #1e1e22;
  --studio-border: #323236;
  --studio-muted: #98989c;
  --text: #efeff3;
  --muted: #98989c;
  --line: #323236;
  --panel: #18181c;
}
body { background: var(--studio-ink); }
#authScreen, #dashboard, #bannedScreen, #notFound, #loading {
  --pink: var(--studio-accent);
  --purple: #bbbbbf;
}
:is(#authScreen, #dashboard, #bannedScreen, #notFound) .btn {
  border-radius: 9px; border: 1px solid var(--studio-border);
  background: #222226; color: #e6e6ea; min-height: 42px;
  font-size: 12px; font-weight: 600; gap: 9px; box-shadow: none;
}
:is(#authScreen, #dashboard, #bannedScreen, #notFound) .btn.primary {
  background: var(--studio-accent); color: #210d11; border-color: var(--studio-accent);
}
:is(#authScreen, #dashboard) .btn:hover:not(:disabled) {
  transform: none; border-color: #707074; background: #2f2f33;
}
:is(#authScreen, #dashboard) .btn.primary:hover:not(:disabled) { background: #ff8990; border-color: #ff8990; }
:is(#authScreen, #dashboard) .btn.quiet { background: transparent; }
:is(#authScreen, #dashboard) .btn.outline { border-style: solid; background: #1b1b1f; }
:is(#authScreen, #dashboard) .muted { color: var(--studio-muted); line-height: 1.7; }
:is(#authScreen, #dashboard, #bannedScreen) :is(button, a, summary):focus-visible { outline: 2px solid var(--studio-accent); outline-offset: 4px; }
:is(#authScreen, #dashboard) label { color: #d7d7db; font-size: 12px; font-weight: 500; margin-bottom: 21px; }
:is(#authScreen, #dashboard) input:not([type=checkbox]):not([type=range]):not([type=color]):not([type=file]),
:is(#authScreen, #dashboard) textarea, :is(#authScreen, #dashboard) select {
  background: #131317; border: 1px solid #37373b; border-radius: 8px;
  padding: 13px 14px; min-height: 46px; color: #efeff3; font-size: 13px;
  box-shadow: 0 1px 0 #ffffff03; transition: border-color .18s, box-shadow .18s;
}
:is(#authScreen, #dashboard) input::placeholder, :is(#authScreen, #dashboard) textarea::placeholder { color: #78787c; }
:is(#authScreen, #dashboard) input:focus, :is(#authScreen, #dashboard) textarea:focus, :is(#authScreen, #dashboard) select:focus {
  outline: none; border-color: #ed727b; box-shadow: 0 0 0 3px #ef4b540c;
}
:is(#authScreen, #dashboard) .input-with-prefix { background: #131317; border: 1px solid #37373b; border-radius: 8px; }
:is(#authScreen, #dashboard) .input-with-prefix:focus-within { border-color: #ed727b; box-shadow: 0 0 0 3px #ef4b540c; }
:is(#authScreen, #dashboard) .input-with-prefix > span { color: #a3a3a7; }
:is(#authScreen, #dashboard) .field-hint { color: #98989c; font-size: 11px; line-height: 1.65; }
:is(#authScreen, #dashboard) .text-button { color: #cdcdd1; }
.brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -1.5px; color: #f1f1f5; }
:is(.site-header, .sidebar, .loading, .banned-card) .logo-symbol { color: #ef4b54; text-shadow: none; font-size: 31px; letter-spacing: -4px; }
.brand-dot { color: #ef4b54; font-size: 13px; }
.status-dot, .studio-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #ef4b54; box-shadow: none; }

/* Account entry: a typographic poster beside a quiet, useful form. */
#authScreen { background: #111115; min-height: 100svh; }
.site-header { height: 88px; max-width: 1500px; padding-inline: 4%; border-bottom: 1px solid #ffffff08; }
.site-header .brand { font-size: 28px; }
.header-right { color: #939397; gap: 20px; }
.auth-layout { max-width: 1500px; margin: auto; padding: 28px 4%; grid-template-columns: 1.13fr 1fr; gap: clamp(38px, 6vw, 100px); align-items: center; min-height: calc(100svh - 154px); }
.auth-art { min-height: 720px; height: 100%; max-height: 880px; border-radius: 16px; margin: 0; border: 1px solid #444448; background: #18181e; isolation: isolate; overflow: hidden; }
.art-landscape { display: none; }
.art-glow { background: radial-gradient(ellipse at 35% 36%, #6a6a6e29, transparent 65%), linear-gradient(130deg, transparent, #14141880); }
.auth-art::after { z-index: 0; background-image: radial-gradient(#ef4b5425 .65px, transparent .65px); background-size: 5px 5px; mask-image: linear-gradient(#000, transparent); opacity: .45; }
.art-content { padding: 32px; min-height: 720px; height: 100%; align-items: flex-start; position: relative; z-index: 1; }
.art-content > .eyebrow { color: #bababe; font: 10px 'Space Grotesk', monospace; letter-spacing: 1.8px; }
.edition { font-size: 10px; color: #88888c; }
.vyre-artmark { width: 100%; height: auto; aspect-ratio: 500/380; margin: 16px auto -28px; position: relative; opacity: 1; }
.vyre-artmark::before { display: none; }
.signal-art { width: 100%; height: 100%; color: #b4b7c2; }
.signal-art g { opacity: .58; }
.auth-art h1 { font-family: 'Space Grotesk',sans-serif; font-size: clamp(92px, 11vw, 166px); letter-spacing: -.085em; line-height: .88; margin: 0 0 22px -5px; color: #e9e9ed; font-weight: 700; }
.auth-art h1 span { color: #ef4b54; font-size: 27px; vertical-align: top; display: inline-block; margin: 12px 0 0 10px; letter-spacing: 0; }
.auth-art .art-caption { color: #bbbbbf; font: 10px 'Space Grotesk', sans-serif; letter-spacing: 4px; margin: 0 0 25px; }
.sample-profile { width: 100%; max-width: none; transform: none; border: 1px solid #bebec233; background: #18181c99; border-radius: 10px; padding: 17px; margin: auto 0 22px; box-shadow: none; gap: 12px; }
.sample-avatar { width: 38px; height: 38px; background: #ef4b54; color: #202024; border: none; border-radius: 8px; font-family: 'Space Grotesk'; }
.sample-avatar > span { display: none; }
.sample-profile strong { font-size: 13px; color: #f0f0f4; }
.sample-profile div > span { color: #9f9fa3; font-size: 10px; }
.sample-profile .sample-spark { color: #ef4b54; font-size: 24px; }
.sample-pills { gap: 6px; margin-top: 15px; }
.sample-pills span { color: #b8b8bc !important; font-size: 10px !important; background: #ef4b5408; border-color: #ef4b541f; border-radius: 5px; }
.art-foot { width: 100%; padding-top: 17px; border-top: 1px solid #cfcfd329; display: flex; justify-content: space-between; color: #97979b; font: 9px 'Space Grotesk',sans-serif; letter-spacing: 2px; }
.auth-form-wrap { width: 100%; max-width: 420px; padding: 24px 0; margin-inline: auto; }
.form-kicker { display: flex; color: #acacb0; font-size: 10px; letter-spacing: 2px; margin-bottom: 22px; gap: 10px; }
.tiny-slash { color: #ef4b54; }
.auth-form-wrap h2 { font: 500 clamp(32px, 3.3vw, 46px)/1.1 'Space Grotesk',sans-serif; letter-spacing: -2px; margin: 0 0 12px; }
.auth-form-wrap .muted { font-size: 13px; margin: 0 0 32px; }
.auth-form-wrap #authSubmit { min-height: 49px; margin-top: 4px; font-size: 13px; justify-content: space-between; padding-inline: 18px; }
.password-field button { color: #b7b7bb; top: 16px; font-size: 10px; }
.auth-switch { border-top: 1px solid #2e2e32; padding-top: 23px; font-size: 12px; color: #959599; }
.auth-switch a { color: #ef4b54; }
#discordStart { min-height: 52px; gap: 12px; font-size: 14px; }
#discordStart::before { content: ''; width: 23px; height: 23px; background: currentColor; mask: url('/icons/discord.svg') center / contain no-repeat; }
#authScreen #discordStatus { margin: 14px 0 24px; line-height: 1.7; }
.email-auth-form { display:grid; gap:14px; }
#authScreen .email-auth-form label { display:grid; gap:7px; margin:0; }
.email-auth-form input { width:100%; }
.email-auth-form[hidden], .email-auth-form [hidden] { display:none !important; }
.auth-text-button { justify-self:end; border:0; padding:0; color:#b9b9bf; background:none; font:11px inherit; cursor:pointer; }
.auth-text-button:hover { color:#ef4b54; }
.auth-divider { display:flex; align-items:center; gap:12px; margin:19px 0 13px; color:#717178; font-size:10px; text-transform:uppercase; letter-spacing:2px; }
.auth-divider::before,.auth-divider::after { content:''; height:1px; flex:1; background:#303038; }
.discord-secondary { background:#19191e; border:1px solid #393940; color:#ededf0; }
.create-account-cta { margin-top:12px; border:1px solid #4a4a51; background:transparent; color:#f1f1f3; text-decoration:none; }
.create-account-cta:hover { border-color:#ef4b54; color:#fff; background:color-mix(in srgb,#ef4b54 10%,transparent); }
.otp-kicker { margin:0; color:#9c9ca3; font-size:10px; letter-spacing:1px; line-height:1.7; }
.otp-kicker strong { color:#ef4b54; overflow-wrap:anywhere; }
.otp-input { text-align:center; font-size:24px !important; font-weight:700; letter-spacing:10px; font-variant-numeric:tabular-nums; }
.email-spam-notice { display:flex; gap:12px; margin:18px 0; padding:16px; border:1px solid #6e363c; border-left:3px solid #ef4b54; border-radius:8px; background:#25171a; color:#f4f0f1; }
.email-spam-notice[hidden] { display:none; }
.email-spam-notice strong { display:block; font-size:12px; line-height:1.5; }
.email-spam-notice p { margin:6px 0 0; color:#c6bfc1; font-size:11px; line-height:1.7; overflow-wrap:anywhere; }
.email-spam-icon { color:#ff7d87; font-size:20px; }
#emailStatus { margin:14px 0; line-height:1.6; }
#resetPasswordFields,#emailSignupFields { display:grid; gap:14px; }
.email-auth-form button:disabled { cursor:wait; }
.browser-tab-preview { display:flex; align-items:center; gap:10px; width:min(100%,360px); padding:14px 16px; margin:24px 0; border:1px solid #444449; border-radius:12px 12px 0 0; background:#232326; color:#eeeef0; font:13px/1.4 system-ui,sans-serif; }
.browser-tab-preview img { width:18px; height:18px; object-fit:cover; border-radius:4px; flex:none; }
.browser-tab-preview > span:not(.browser-tab-close) { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; flex:1; min-width:0; }
.browser-tab-close { flex:none; color:#aaaab0; font-size:18px; }
#authScreen #authForm label { display: block; margin-top: 18px; }
#authScreen #discordMode { margin-top: 12px; color: #c9c9ce; }
#authScreen #authSwitch:empty { display: none; }
.site-footer { max-width: 1500px; padding: 20px 4%; color: #858589; font-size: 9px; }

/* Studio frame. */
#dashboard { --sidebar-width: 222px; }
#dashboard .sidebar { width: var(--sidebar-width); position: fixed; inset: 0 auto 0 0; height: 100dvh; padding: 28px 16px 18px; background: #151519; border-right: 1px solid #2d2d31; z-index: 40; overflow-y: auto; }
.sidebar .brand { font-size: 28px; padding-left: 12px; }
.workspace-label { display: flex; justify-content: space-between; color: #848488; letter-spacing: 1.7px; font-size: 9px; margin: 39px 12px 15px; }
.workspace-label span { color: #aeaeb2; font-variant-numeric: tabular-nums; }
#dashboard .sidebar nav { display: grid; gap: 4px; margin: 0; overflow: visible; }
#dashboard .sidebar nav button { position: relative; border: 1px solid transparent; border-radius: 7px; padding: 11px 12px; min-height: 42px; font-size: 12px; color: #ababaf; gap: 12px; white-space: nowrap; }
#dashboard .sidebar nav button:hover { color: #ececf0; background: #ef4b5407; }
#dashboard .sidebar nav button.active { background: #ef4b5410; border-color: #ef4b541b; color: #ef4b54; }
#dashboard .sidebar nav button.active::after { content: ''; position: absolute; right: 12px; width: 4px; height: 4px; border-radius: 50%; background: #ef4b54; }
.sidebar nav svg { width: 18px; height: 18px; flex: 0 0 18px; }
.nav-divider { margin: 13px 10px; background: #2f2f33; }
#dashboard .sidebar-bottom { display: flex; flex-direction: column; margin-top: auto; padding-top: 26px; }
.account-chip { order: -1; padding: 17px 5px; border-top: 1px solid #323236; }
.account-chip > span { background: #353539; color: #ef4b54; border: 1px solid #535357; border-radius: 9px; width: 35px; height: 35px; font-size: 14px; }
.account-chip strong { max-width: 134px; color: #e3e3e7; font-size: 12px; }
.account-chip small { font: 9px 'Space Grotesk',sans-serif; color: #909094; letter-spacing: .7px; margin-top: 5px; }
#logoutBtn { min-height: 35px; font-size: 11px; color: #939397 !important; border-color: transparent !important; text-align: left; justify-content: flex-start; padding: 8px; }
#dashboard .dashboard-main { margin-left: var(--sidebar-width); min-height: 100dvh; background: #111115; }
.dashboard-header { height: 76px; padding: 0 36px; border-bottom: 1px solid #2d2d31; background: #111115ee; backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 10; justify-content: space-between; }
.breadcrumbs { color: #858589; font-size: 11px; }
.breadcrumbs span { color: #4b4b4f; }
.breadcrumbs strong { color: #c9c9cd; }
.dashboard-actions { gap: 10px; }
.dashboard-actions .btn { font-size: 11px !important; padding-inline: 16px; min-height: 38px !important; }
.dashboard-content { max-width: 1510px; padding: 34px 36px 60px; }
.page-heading { align-items: center; margin-bottom: 30px; }
.page-heading .eyebrow { display: flex; gap: 8px; align-items: center; font: 9px 'Space Grotesk',sans-serif; color: #9a9a9e; letter-spacing: 2px; }
.page-heading h1 { font: 500 clamp(30px, 3vw, 40px)/1.2 'Space Grotesk',sans-serif; letter-spacing: -1.8px; margin: 12px 0 8px; }
.page-heading .muted { font-size: 12px; }
.heading-tools { display: flex; align-items: center; gap: 12px; }
.save-status { display: inline-flex; gap: 7px; align-items: center; font: 10px 'Space Grotesk', sans-serif; color: #aeaeb2; padding: 7px 10px; border: 1px solid #38383c; border-radius: 5px; }
.save-status::before { content: ''; width: 4px; height: 4px; background: #aeb4c0; border-radius: 50%; }
.save-status.dirty { color: #edcf85; border-color: #665939; }
.save-status.dirty::before { background: #edcf85; }
.editor-grid { grid-template-columns: minmax(0,1.12fr) minmax(300px,.88fr); gap: 28px; }
.form-column { min-width: 0; }
.bio-address { background: #1b1b1f; border: 1px solid #3b3b3f; border-radius: 10px; padding: 15px 18px; margin-bottom: 18px; gap: 13px; }
.address-icon { font-size: 22px; color: #c9c9cd; width: 26px; }
.bio-address small { color: #939397; font: 8px 'Space Grotesk',sans-serif; letter-spacing: 1.6px; margin-bottom: 6px; }
.bio-address div > span { color: #dddde1; font-size: 12px; }
#dashboard .icon-btn { border: 1px solid #414145; background: #d3d3d708; color: #c8c8cc; border-radius: 6px; min-width: 34px; height: 34px; }
.editor-panel { background: #1a1a1e; border: 1px solid #333337; border-radius: 12px; padding: clamp(22px, 2.4vw, 32px); box-shadow: 0 4px 24px #0000000a; }
.panel-label { color: #8d8d91; font: 9px 'Space Grotesk',sans-serif; letter-spacing: 1.5px; margin-bottom: 27px; }
.panel-label > span { color: #aaaaae; }
.editor-panel h2 { font-family: 'Space Grotesk',sans-serif; font-size: 23px; font-weight: 500; letter-spacing: -.7px; }
.editor-panel > .muted { font-size: 12px; max-width: 55ch; }
.photo-row { margin: 0 0 28px; padding-bottom: 27px; border-bottom: 1px solid #353539; gap: 16px; }
.edit-avatar { width: 72px; height: 72px; border-radius: 14px; background: #313135; border: 1px solid #56565a; color: #ef4b54; font-family: 'Space Grotesk'; }
.photo-row strong { color: #e5e5e9; font-size: 13px; }
.photo-row small { color: #8f8f93; font-size: 10px; line-height: 1.6; }
.photo-row .mini { min-height: 32px !important; font-size: 10px !important; padding: 7px 12px; background: #2b2b2f !important; margin-top: 9px; }
.char-count, #bioCount { color: #8f8f93; font: 10px 'Space Grotesk',sans-serif; }
.customize-group { border: 1px solid #36363a; background: #151519; padding: 0 18px; border-radius: 9px; margin: 12px 0; overflow: hidden; }
.customize-group summary { color: #d8d8dc; font-size: 12px; padding: 18px 0; margin: 0; }
.customize-group summary small { color: #8d8d91; margin-top: 5px; font-size: 10px; }
.customize-group[open] summary { border-bottom: 1px solid #36363a; margin-bottom: 19px; }
.customize-group[open] { padding-bottom: 8px; border-color: #4d4d51; }
.media-preview { border: 1px dashed #59595d; background-color: #222226; color: #a3a3a7; border-radius: 8px; }
.media-preview span { color: #a3a3a7; }
.custom-color-grid input[type=color], #dashboard input[type=color] { border: 1px solid #434347; border-radius: 7px; background: #151519; padding: 4px; }
#dashboard input[type=range] { accent-color: #ef4b54; background: transparent; border: none; }
.extra-field output, .range-label output { color: #c7c7cb; font: 11px 'Space Grotesk',sans-serif; }
.extra-field .field-hint { display: block; margin: 9px 0 0; font-weight: 400; }
#dashboard .extra-toggle { margin: 0; padding: 15px 0; min-height: 53px; color: #cdcdd1; border-color: #333337; font-size: 12px; }
#dashboard .extra-toggle input { appearance: none; width: 34px; height: 20px; min-width: 34px; border-radius: 20px; border: 1px solid #4e4e52; background: #2c2c30; position: relative; cursor: pointer; transition: background .15s; }
#dashboard .extra-toggle input::after { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; left: 3px; top: 3px; background: #8f8f93; transition: transform .15s; }
#dashboard .extra-toggle input:checked { border-color: #ef4b54; background: #ef4b54; }
#dashboard .extra-toggle input:checked::after { background: #2a1015; transform: translateX(14px); }
.theme-card { background: #151519; border-color: #3f3f43; color: #bfbfc3; border-radius: 8px; }
.theme-card.selected { border-color: #e98d94; box-shadow: 0 0 0 1px #e98d94; }
.empty-state, .link-editor, .collection-item { background: #16161a; border: 1px solid #3b3b3f; border-radius: 9px; }
.link-editor-head { color: #bebec2; border-color: #3b3b3f; }
.extra-box { border-color: #38383c; }
.music-icon { color: #ef4b54; background: #303034; border: 1px solid #5b5b5f; box-shadow: none; border-radius: 16px; }
#musicPanel .upload { min-height: 80px; border-style: dashed !important; background: #26262a !important; border-color: #6e6e72 !important; color: #dddde1 !important; margin-top: 25px; margin-bottom: 22px; }
#dashboard .upload:focus-within { outline-color: #ef4b54; }

/* Preview is a separate canvas, never tinted by the editor theme. */
.preview-column { position: sticky; top: 101px; padding: 18px; border: 1px solid #37373b; border-radius: 13px; background: #1c1c20; min-width: 0; }
.preview-label { color: #9f9fa3; font: 8px 'Space Grotesk',sans-serif; letter-spacing: 1.5px; margin: 0 0 17px; }
.preview-label > span:first-child { color: #cacace; }
.preview-label > span:last-child { color: #808084; font-size: 8px; display: inline; }
.preview-label i { background: #ef4b54; box-shadow: none; width: 5px; height: 5px; }
.preview-toolbar { padding: 3px; background: #131317; border: 1px solid #36363a; border-radius: 7px; gap: 3px; margin-bottom: 14px; }
.preview-toolbar button { border: none; padding: 7px 10px; border-radius: 4px; background: transparent; color: #96969a; font-size: 10px; min-height: 30px; }
.preview-toolbar button[aria-pressed=true] { background: #313135; color: #dddde1; }
.preview-toolbar button:last-child { color: #cdcdd1; }
.preview-column .bio-stage.compact { border: 1px solid #37373b; border-radius: 9px; min-height: 500px; max-height: 650px; overflow: auto; }
.preview-note { text-align: center; color: #86868a; font-size: 10px; margin: 16px 0 0; }
#mobilePreview, .menu-toggle { display: none; }
.nav-backdrop { position: fixed; inset: 0; background: #000b; backdrop-filter: blur(4px); border: 0; z-index: 39; }

/* Community and account panels have room to breathe. */
#dashboard:is([data-panel=users],[data-panel=invites],[data-panel=tags],[data-panel=account],[data-panel=stats]) .preview-column { display: none; }
#dashboard:is([data-panel=users],[data-panel=invites],[data-panel=tags],[data-panel=account],[data-panel=stats]) .editor-grid { grid-template-columns: minmax(0,1fr); max-width: 1100px; }
#dashboard:is([data-panel=users],[data-panel=invites],[data-panel=tags],[data-panel=account],[data-panel=stats]) .bio-address { display: none; }
#invitesPanel, #accountPanel, #tagsPanel { max-width: 760px; }
.new-invite, .tag-member { background: #2c2c30; border-color: #66666a; border-radius: 9px; }
.new-invite :is(strong, small), .member-invite-code { color: #ef4b54; }
.invite-row { background: #16161a; border: 1px solid #3e3e42; border-radius: 9px; padding: 18px; margin-top: 12px; gap: 18px; }
.invite-row small { color: #a5a5a9; line-height: 1.7; }
.tag-option { background: #1b1b1f !important; border-color: #3f3f43 !important; }
.tag-option:has(input:checked) { background: #323236 !important; border-color: #9e9ea2 !important; }
.tag-option small { color: #a2a2a6; }
.user-row { background: #16161a; border-color: #3c3c40; border-radius: 10px; padding: 20px; }
.user-row-main small, .user-row-meta { color: #a2a2a6; }
.user-chip { background: #2e2e32; color: #cacace; border-color: #555559; }
.user-inline-tags label { color: #c7c7cb; }
.user-inline-tags input, .tag-option input { accent-color: #ef4b54; }
.user-save { background: #ef4b54; color: #210d11; }
.user-ban { color: #ffafa0; background: #442621; border-color: #674137; }
.stat-card { border: 1px solid #434347; background: #212125; padding: 23px; border-radius: 10px; }
.stat-card:first-child { background: #ef4b54; border-color: #ef4b54; }
.stat-card small { font: 10px 'Space Grotesk',sans-serif; color: #b0b0b4; }
.stat-card strong { color: #e1e1e5; font: 500 38px 'Space Grotesk',sans-serif; letter-spacing: -1.5px; margin-top: 18px; }
.stat-card:first-child small { color: #542c34; }
.stat-card:first-child strong { color: #210d11; }
.chart-bar { background: #ed6872; border-radius: 4px 4px 0 0; }
.chart-day, .chart-day strong { color: #b8b8bc; }
.views-chart { border-color: #46464a; padding: 30px 12px 20px; }
.ranking-row { border-color: #3f3f43; color: #d2d2d6; }
.ranking-row:hover { background: #ceced209; }
.share-preview { background: #141418; }
.share-preview small, .share-preview p { color: #a8a8ac; }
.loading { background: #111115; color: #9c9ca0; }
#toast { background: #2d2d31; color: #e9e9ed; border: 1px solid #78787c; border-radius: 9px; font-size: 12px; box-shadow: 0 8px 35px #0008; }
.banned-screen { background: #111115; }
.banned-card { background: #1e1e22; border-color: #505054; }
.banned-card p:not(.panel-label) { color: #adadb1; }
.not-found { background: radial-gradient(ellipse at center,#ef4b5409,transparent 65%),#111115; }
.named-badge { display: inline-flex; align-items: center; gap: 5px; color: var(--badge-color); border: 1px solid color-mix(in srgb,var(--badge-color) 34%,transparent); background: color-mix(in srgb,var(--badge-color) 7%,#111); border-radius: 5px; padding: 5px 8px; font: 600 9px 'Space Grotesk',sans-serif; letter-spacing: .7px; white-space: nowrap; }
.named-badge svg { width: 12px; height: 12px; flex: 0 0 12px; }
.bio-roles .named-badge { margin: 0; }
.owner-tag-catalog { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 28px; }
.owner-tag-catalog .named-badge { padding: 8px 10px; }
.tag-option .named-badge { margin-top: 0; display: inline-flex; }
.tag-option .named-badge + small { margin-top: 9px; }
#dashboard .user-inline-tags { flex-wrap: wrap; gap: 9px; }
#dashboard .user-inline-tags label { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.tag-choice { border: none; background: none; padding: 0; font-size: 10px; }
.badge-catalog .badge-unearned { opacity: .48; }
.badge-catalog { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 20px; }
.badge-preference { display: flex; justify-content: space-between; align-items: center; gap: 9px; min-width: 0; border: 1px solid #434347; background: #19191d; border-radius: 7px; padding: 12px 10px; }
.badge-preference .user-chip { margin: 0; }
.badge-preference small { font-size: 9px; color: #b2b2b6; white-space: nowrap; }
.badge-preference[aria-pressed=true] { border-color: #757579; background: #2c2c30; }
.badge-preference[aria-pressed=false] .named-badge { opacity: .5; }
.badge-preference[aria-pressed=false] small { color: #a8a88d; }
.badge-preference:hover:not(.badge-unearned) { border-color: #ef4b54; }
* { scrollbar-width: thin; scrollbar-color: #49494d #131317; }
/* Preserve public profile controls independently of Studio's accent. */
.bio-stage .named-badge { --pink: var(--accent); }
.entry-intro, #musicPanel .music-intro { display: grid; place-items: center; width: 56px; height: 56px; font-size: 26px; border: 1px solid #ef4b5438; border-radius: 12px; background: #ef4b540b; color: #ef4b54; margin-bottom: 20px; }
#entryPanel .extra-toggle { margin: 24px 0; border-block: 1px solid #ffffff14; padding: 19px 0; }
#entryPanel .extra-toggle small { display: block; color: #96969f; font-size: 10px; margin-top: 6px; font-weight: 400; max-width: 32ch; line-height: 1.6; }
#entryText { resize: vertical; min-height: 105px; }
.bio-stage .bio-entry { background: color-mix(in srgb,var(--card-color) 35%,transparent); -webkit-backdrop-filter: blur(var(--entry-blur,15px)); backdrop-filter: blur(var(--entry-blur,15px)); text-align: center; gap: 20px; cursor: pointer; }
.bio-entry .entry-label { font-size: clamp(22px,3vw,38px); font-weight: 500; line-height: 1.5; max-width: 720px; }
.bio-entry .entry-enter-icon { display: grid; place-items: center; width: 44px; height: 44px; font: 20px 'Space Grotesk',sans-serif; border: 1px solid currentColor; border-radius: 50%; color: var(--accent); opacity: .8; }
.entry-enter-icon svg { width: 22px; height: 22px; }
.bio-entry .entry-enter-icon.image-icon { width: 72px; height: 72px; border: none; border-radius: 0; opacity: 1; }
.entry-enter-icon img { width: 100%; height: 100%; object-fit: contain; }
.bio-entry small { font-family: 'Space Grotesk',sans-serif; letter-spacing: 2px; font-size: 8px; }
#publicBio.entry-open .bio-entry { position: fixed; min-height: 0; height: 100dvh; overflow: auto; }
body:has(#publicBio.entry-open) { overflow: hidden; }
#publicScreen:has(.entry-open) .public-brand { visibility: hidden; }
#dashboardPreview.entry-open { overflow: hidden; }
.preview-dialog .bio-entry { min-height: 100%; }

@media (min-width: 1500px) {
  #dashboard { --sidebar-width: 244px; }
  .dashboard-content { padding: 45px 48px 65px; }
  .editor-grid { gap: 36px; }
  .auth-art { min-height: 770px; }
  .art-content { min-height: 770px; }
}
@media (max-width: 1150px) and (min-width: 761px) {
  #dashboard { --sidebar-width: 194px; }
  #dashboard .sidebar { padding-inline: 11px; }
  .sidebar .brand { font-size: 25px; }
  .dashboard-header { padding-inline: 24px; }
  .dashboard-content { padding: 28px 24px 50px; }
  .editor-grid { grid-template-columns: minmax(0,1fr); }
  .preview-column { position: static; max-width: 640px; width: 100%; }
  #mobilePreview { display: inline-flex; }
  .save-status { display: none; }
  .auth-art, .art-content { min-height: 670px; }
}
@media (max-width: 760px) {
  .auth-layout { grid-template-columns: 1fr; display: block; padding: 0; }
  .site-header { height: 74px; padding-inline: 22px; }
  .header-right > span { display: none; }
  .site-header .btn { min-height: 35px !important; font-size: 11px !important; }
  .auth-art { border: none; border-bottom: 1px solid #434347; border-radius: 0; min-height: 184px; height: 184px; margin: 0; }
  .art-content { padding: 24px; min-height: 184px; justify-content: center; }
  .art-content > .eyebrow { font-size: 8px; letter-spacing: 1.2px; width: auto; }
  .edition { display: none; }
  .vyre-artmark { position: absolute; width: 230px; height: 200px; right: -22px; top: -3px; margin: 0; opacity: .6; }
  .auth-art h1 { font-size: 73px; letter-spacing: -6px; margin: 17px 0 12px -3px; position: relative; }
  .auth-art h1 span { font-size: 18px; margin-top: 5px; }
  .auth-art .art-caption { font-size: 8px; letter-spacing: 2.7px; margin: 0; }
  .sample-profile, .art-foot { display: none; }
  .auth-form-wrap { padding: 32px 24px 15px; max-width: 470px; }
  .form-kicker { font-size: 9px; margin-bottom: 17px; }
  .auth-form-wrap h2 { font-size: 32px; letter-spacing: -1.5px; }
  .auth-form-wrap .muted { font-size: 12px; margin-bottom: 28px; }
  .site-footer { padding: 24px; }
  #dashboard { --sidebar-width: 254px; }
  #dashboard .sidebar { transform: translateX(-100%); transition: transform .2s ease; padding: 26px 17px; border-right: 1px solid #3f3f43; }
  #dashboard.nav-open .sidebar { transform: translateX(0); }
  #dashboard .sidebar-bottom, .workspace-label { display: flex; }
  .workspace-label { margin-top: 28px; }
  #dashboard .sidebar nav button { padding: 11px 12px; font-size: 12px; }
  #dashboard .sidebar .nav-divider { display: block; }
  #dashboard .dashboard-main { margin-left: 0; }
  .dashboard-header { padding: 0 16px; height: 69px; gap: 12px; justify-content: space-between; }
  .dashboard-header .breadcrumbs { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 9px; background: none; border: 1px solid #3f3f43; border-radius: 7px; font-size: 11px; padding: 9px 11px; color: #cfcfd3; min-height: 38px; }
  .menu-toggle > span { font-size: 14px; }
  .dashboard-actions { gap: 6px; }
  .dashboard-actions .btn { font-size: 10px !important; padding-inline: 11px; min-height: 38px !important; }
  .dashboard-actions .primary span { display: none; }
  .dashboard-content { padding: 28px 17px 45px; }
  .page-heading { align-items: flex-start; margin-bottom: 24px; gap: 12px; }
  .page-heading h1 { font-size: 31px; letter-spacing: -1.5px; margin-top: 11px; }
  .page-heading .eyebrow { font-size: 8px; letter-spacing: 1.7px; }
  .page-heading .muted { font-size: 11px; max-width: 28ch; }
  .save-status { display: none; }
  #mobilePreview { display: inline-flex; min-height: 32px !important; font-size: 10px !important; padding: 7px 10px; margin-top: 26px; }
  #dashboard:is([data-panel=users],[data-panel=invites],[data-panel=tags],[data-panel=account],[data-panel=stats]) #mobilePreview { display: none; }
  .editor-grid { grid-template-columns: minmax(0,1fr); gap: 23px; }
  .editor-panel { padding: 22px 18px; border-radius: 10px; }
  .bio-address { padding: 14px; margin-bottom: 15px; }
  .photo-row { gap: 12px; padding-bottom: 23px; }
  .edit-avatar { width: 56px; height: 56px; font-size: 23px; border-radius: 12px; }
  .photo-row strong { font-size: 12px; }
  .photo-row small { font-size: 9px; max-width: 180px; }
  .preview-column { position: static; padding: 15px; width: 100%; }
  .preview-column .bio-stage.compact { min-height: 470px; }
  .preview-column .bio-content { width: 100%; }
  .extra-toggle { gap: 15px; }
  .customize-group { padding-inline: 14px; }
  .customize-group summary { padding-block: 16px; }
  .stats-cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .stat-card { padding: 15px 10px; }
  .stat-card small { font-size: 9px; }
  .stat-card strong { font-size: 27px; margin-top: 14px; }
  .invite-row { flex-wrap: wrap; padding: 15px; }
  .invite-row > div { flex: 1 0 100%; }
  body.menu-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  #dashboard .sidebar, .extra-toggle input, .extra-toggle input::after { transition: none; }
}
/* Link and music controls share the same rendering in preview and public bios. */
.visual-choice-field { border: 0; padding: 0; margin: 22px 0 28px; min-width: 0; }
.visual-choice-field legend { color: #f4f4f6; font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 12px; }
.visual-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
#dashboard .visual-choice { display: block; position: relative; cursor: pointer; margin: 0; }
#dashboard .visual-choice input { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; opacity: 0; }
.visual-choice-face { position: relative; min-height: 142px; padding: 20px 12px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 15px; border: 1px solid #343439; border-radius: 9px; background: #111114; transition: border-color .15s,background .15s; }
.visual-choice-title { color: #97979f; font-size: 12px; font-weight: 500; }
.visual-choice:hover .visual-choice-face { border-color: #676770; background: #17171b; }
.visual-choice input:checked + .visual-choice-face { border-color: var(--studio-accent); background: #ef4b540a; }
.visual-choice input:checked + .visual-choice-face .visual-choice-title { color: #f6f3f4; }
.visual-choice input:focus-visible + .visual-choice-face { outline: 2px solid #ededf1; outline-offset: 3px; }
.choice-check { position: absolute; right: 10px; top: 9px; color: var(--studio-accent); opacity: 0; font-size: 13px; }
.visual-choice input:checked + .visual-choice-face .choice-check { opacity: 1; }
.choice-miniature { width: 78px; height: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.choice-miniature i { display: block; background: #232328; border: 1px solid #39393f; border-radius: 4px; }
.mini-cover { grid-column: 1 / -1; height: 32px; }
.mini-link { height: 7px; }
.mini-link:last-child { grid-column: 1 / -1; }
.mini-layout-simple { display: block; }
.mini-layout-simple .mini-cover { height: 70px; }
.mini-layout-simple .mini-link { display: none; }
.mini-alignment-left,.mini-alignment-center { display: flex; flex-direction: column; gap: 6px; height: 48px; align-items: flex-start; }
.mini-alignment-center { align-items: center; }
.choice-miniature .mini-avatar { width: 20px; height: 20px; border-radius: 50%; }
.choice-miniature .mini-line { height: 6px; width: 66px; }
.choice-miniature .mini-line.short { width: 42px; }
.visual-choice-field > .field-hint { display: block; margin-top: 10px; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .visual-choice-face { transition: none; } }
.bio-stage:is([data-layout]) .bio-links { gap: var(--link-gap); }
.bio-stage:is([data-layout]) .bio-links .bio-link {
  background: color-mix(in srgb, var(--item-background,var(--link-background)) var(--link-opacity), transparent);
  border: var(--link-border-width) solid color-mix(in srgb,var(--link-border-color) var(--link-border-opacity),transparent);
  border-radius: var(--link-radius); padding: var(--link-padding); text-align: var(--link-text-align);
  color: var(--item-textColor,var(--link-text-color)); transform: none;
}
.bio-stage:is([data-layout]) .bio-link > div { flex: 1; }
.bio-stage:is([data-layout]) .bio-link strong { font-size: var(--link-font-size); }
.bio-stage:is([data-layout]) .bio-link small { color: var(--link-subtitle-color); display: block; }
.bio-stage:is([data-layout]) .bio-links .bio-link .social-icon,
.bio-stage:is([data-layout]) .bio-links .bio-link .link-end-icon { color: var(--item-iconColor,var(--link-icon-color)); }
.bio-stage .social-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.bio-stage .brand-logo { display: block; width: 22px; height: 22px; background: currentColor; mask: var(--brand-mask) center / contain no-repeat; -webkit-mask: var(--brand-mask) center / contain no-repeat; }
.bio-stage[data-link-hover="lift"] .bio-link:hover { transform: translateY(-3px); }
.bio-stage[data-link-hover="glow"] .bio-link:hover { box-shadow: 0 0 20px color-mix(in srgb,var(--link-icon-color) 30%,transparent); }
.bio-stage[data-link-style="icons"][data-layout="default"] .bio-link { padding: 8px; }
.bio-stage[data-link-style="icons"][data-layout="default"] .bio-link > div,
.bio-stage[data-link-style="icons"][data-layout="default"] .bio-link .link-end-icon { display: none; }
.bio-stage:is([data-layout]) .bio-music {
  flex-wrap: wrap; margin-top: var(--player-gap); padding: var(--player-padding);
  padding-top: max(16px,var(--player-padding));
  background: color-mix(in srgb,var(--player-background) var(--player-opacity),transparent);
  border: var(--player-border-width) solid var(--player-border-color);
  border-top-width: max(1px,var(--player-border-width)); border-radius: var(--player-radius);
}
.bio-stage:is([data-layout]) .bio-music.no-divider { border-top-width: var(--player-border-width); padding-top: var(--player-padding); }
.bio-stage:is([data-layout]) .bio-music .track-name { color: var(--player-text-color); }
.bio-stage:is([data-layout]) .bio-music :is(small,.track-status) { color: var(--player-secondary-color); }
.bio-stage:is([data-layout]) .bio-music :is(.play-button,.next-track) { color: var(--player-accent); }
.bio-stage:is([data-layout]) .play-button { border-color: var(--player-accent); border-radius: var(--player-button-radius); }
.bio-stage:is([data-layout]) .equalizer i { background: var(--player-accent); }
.bio-stage .player-cover { width: 42px; height: 42px; object-fit: cover; border-radius: var(--player-cover-radius); }
.bio-stage .bio-music > div:not(.player-transport) { flex: 1; min-width: 60px; }
.bio-stage .player-transport { flex: 0 0 100%; display: grid; gap: 10px; color: var(--player-secondary-color); }
.bio-stage .player-transport label { display: flex; gap: 10px; align-items: center; font-size: 10px; }
.bio-stage .player-transport input { width: 100%; min-width: 0; padding: 0; accent-color: var(--player-accent); }
.bio-stage .player-transport output { font-variant-numeric: tabular-nums; }
.bio-stage .player-mute { justify-self: end; color: var(--player-accent); border: 1px solid currentColor; border-radius: 6px; padding: 5px 9px; background: transparent; font-size: 10px; cursor: pointer; }
.music-basics { padding: 22px 0 12px; margin-top: 20px; border-top: 1px solid #36363a; }
.music-basics h3 { font-size: 16px; margin-bottom: 8px; }
.music-cover-preview { width: 90px; height: 90px; object-fit: cover; border-radius: 12px; margin: 12px 0; }
.bio-stage[data-player="minimal"] .bio-music { background: none; border: 0; padding-inline: 0; }
.bio-stage[data-player="native"] .bio-music { display: none; }
.tag-request-form textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.tag-request-history { margin-top: 34px; padding-top: 24px; border-top: 1px solid #303035; }
.subheading-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.subheading-row h3 { margin: 0; font-size: 16px; color: #f2f2f4; }
.tag-request-list { display: grid; gap: 11px; margin-top: 15px; }
.tag-request-card { border: 1px solid #39393f; border-radius: 11px; background: #121216; padding: 15px; }
.tag-request-head { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.tag-request-head > strong { flex: 1 1 auto; min-width: 130px; color: #f2f2f4; }
.tag-request-head .user-chip { margin: 0; }
.tag-request-reason { white-space: pre-wrap; color: #c8c8cc; line-height: 1.55; margin: 13px 0 9px; }
.tag-request-status { border: 1px solid #55555d; border-radius: 999px; padding: 4px 8px; color: #c9c9ce; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.tag-request-status.status-pending { color: #ef8d91; border-color: #71383f; background: #2b171b; }
.tag-request-status.status-approved { color: #bcc5d1; border-color: #58606d; background: #1e2229; }
.tag-request-status.status-rejected { color: #8e8e96; border-color: #414149; background: #19191d; }
.tag-request-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.tag-request-actions .btn { min-height: 34px; font-size: 11px; }
@media (max-width: 760px) {
  .tag-request-head > strong { flex-basis: 100%; }
  .tag-request-actions .btn { flex: 1 1 140px; }
}

/* Final VYRENIX palette: graphite, silver and signal red. */
:root { --pink: #ef4b54; --purple: #aeb4c0; --muted: #a6a6aa; --line: #323236; --panel: #18181c; }
.auth-art { background: #101114; border-color: #4b373b; }
.art-glow { background: radial-gradient(ellipse at 35% 43%, #ef4b5438, transparent 58%), radial-gradient(ellipse at 84% 15%, #aeb4c01b, transparent 60%), linear-gradient(0deg, #090a0cf2, transparent 70%); }
.vyre-artmark::before { background: #ef4b5425; }
.vyre-artmark > span { color: #e6e7ea; text-shadow: 2px 2px #ef4b54, 6px 7px #34363b, 10px 13px 28px #0009; }
.sample-avatar { background: linear-gradient(135deg, #6e2f35, #b5bac2); color: #fff; }
.sidebar { background: #0d0e10; border-color: #303238; }
.sidebar nav button.active { background: #ef4b5412; border-color: #ef4b5440; color: #f1a1a6; }
.sidebar nav button > span { color: #b7bdc7; }
.dashboard-main { background: radial-gradient(ellipse at 70% 0, #ef4b5412, transparent 60%), #090a0c; }
.editor-panel { background: linear-gradient(120deg, #171719, #111214); border-color: #36383d; }
input:not([type="checkbox"]):not([type="color"]), textarea, select, .input-with-prefix { background: #111214; border-color: #383a40; color: #f1f1f3; }
input:focus, textarea:focus, select:focus { border-color: #ef4b54 !important; box-shadow: 0 0 0 3px #ef4b5414; }
.bio-stage { background: #0a0b0d; color: #f3f3f4; }
.bio-ambient { background: radial-gradient(ellipse at 5% 10%, #ef4b542b, transparent 55%), radial-gradient(ellipse at 95% 45%, #aeb4c01c, transparent 65%), linear-gradient(0deg, #08090bea, transparent); }
.bio-card { border-color: #aeb4c033; box-shadow: 0 30px 100px #050608aa; }
.link-editor { border-color: #414348; background: #151618; }
.theme-card { background: #191a1c; border-color: #45474d; color: #d7d9dd; }
.music-intro { background: linear-gradient(145deg, #ef4b542b, #aeb4c01c); border-color: #ef4b5460; }
.public-brand { border-color: #aeb4c038; background: #0f1012ee; color: #c2c5cc; }
.public-brand strong { color: #f19ba1; }
.not-found { background: radial-gradient(ellipse at center, #ef4b5424, transparent 60%); }
.loading { background: #0b0c0e; color: #b7bbc3; }
#toast { background: #222428; border-color: #6b707a; }
.banned-screen { background: radial-gradient(ellipse at center, #ef4b5426, transparent 60%); }
@media (max-width: 760px) {
  .dashboard-active .language-toggle { top: auto; right: 16px; bottom: 16px; }
}
@media (max-width: 900px) {
  body.dashboard-active .language-toggle,
  body:has(#dashboard:not([hidden])) .language-toggle {
    top: auto !important;
    right: 16px !important;
    bottom: 16px !important;
  }
}

/* Studio navigation and revision tools live in the document flow at every width. */
body .language-toggle { position: static !important; inset: auto !important; flex: 0 0 auto; height: 34px; background: #202023; border-color: #55555a; font-family: inherit; font-size: 11px; }
.sidebar-bottom .language-toggle { align-self: flex-start; margin: 8px 0; }
#dashboard .sidebar { overflow-y: auto; }
#dashboard .sidebar nav { gap: 3px; }
#dashboard .sidebar nav button { min-height: 37px; padding-block: 8px; }
.workspace-label { margin-top: 24px; }
.studio-search-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 1px solid #39393e; border-radius: 7px; background: #1c1c20; color: #bbbbc2; font-family: inherit; font-size: 11px; padding: 10px 12px; margin: 0 0 16px; text-align: left; }
.studio-search-trigger::after { content: '⌘ / Ctrl K'; font-size: 8px; color: #898992; white-space: nowrap; margin-left: 6px; }
.revision-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
#dashboard .revision-tools .btn { padding: 4px 10px; min-height: 32px; font-size: 18px; }
.local-draft-status { color: #a8a8b0; font-size: 10px; max-width: 125px; line-height: 1.4; }
.heading-tools { flex-wrap: wrap; justify-content: flex-end; }
.draft-recovery { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px solid #ef4b5470; border-radius: 10px; background: #211619; margin-bottom: 24px; }
.draft-recovery > div { flex: 1; }
.draft-recovery p { color: #b7b4b7; font-size: 12px; margin: 7px 0 0; line-height: 1.5; }
#dashboard:is([data-panel=home],[data-panel=requestTag],[data-panel=tagRequests]) .editor-grid { grid-template-columns: minmax(0,1fr); max-width: 1100px; }
#dashboard:is([data-panel=home],[data-panel=requestTag],[data-panel=tagRequests]) :is(.preview-column,.bio-address,#mobilePreview) { display: none; }
.studio-home { display: grid; gap: 24px; }
.studio-welcome { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px; border: 1px solid #3b3437; border-radius: 16px; background: radial-gradient(ellipse at 100% 0%, #ef4b541b, transparent 70%), #161618; overflow: hidden; }
.studio-welcome h2 { font: 500 clamp(24px,3vw,40px)/1.12 'Space Grotesk',sans-serif; letter-spacing: -1.4px; margin: 0; max-width: 430px; }
.studio-welcome .panel-label { margin-bottom: 16px; color: #ef747b; }
.studio-welcome .muted { font-size: 13px; }
.studio-handle { display: inline-block; margin-top: 8px; font: 11px monospace; color: #c6c6cc; overflow-wrap: anywhere; }
.welcome-symbol { display: grid; place-items: center; width: 145px; flex-shrink: 0; height: 145px; border: 1px solid #ef4b5430; border-radius: 50%; font: italic 700 100px 'Space Grotesk',sans-serif; color: #ef4b54; transform: rotate(-10deg); box-shadow: 0 0 0 20px #ef4b5405,0 0 0 40px #ef4b5403; }
.setup-card { padding: 24px; background: #18181b; border: 1px solid #333337; border-radius: 14px; }
.setup-heading { display: flex; justify-content: space-between; align-items: center; }
.setup-heading h3 { margin: 0; font-size: 15px; font-weight: 500; }
.setup-heading > span { color: #acacb4; font: 11px monospace; }
.setup-card progress { display: block; width: 100%; height: 3px; border: 0; accent-color: #ef4b54; background: #333337; margin: 20px 0; }
.setup-card progress::-webkit-progress-bar { background: #333337; }
.setup-card progress::-webkit-progress-value { background: #ef4b54; }
.setup-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.setup-step { display: flex; align-items: center; gap: 12px; border: 1px solid #39393f; background: #202023; border-radius: 8px; padding: 13px; font-size: 12px; text-align: left; }
.setup-step:hover { border-color: #ef4b54; }
.step-number { color: #91919b; font: 10px monospace; }
.complete .step-number { color: #ef8187; }
.step-arrow { margin-left: auto; color: #777780; }
.studio-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.studio-metrics > div { padding: 21px 24px; border: 1px solid #333337; border-radius: 12px; background: #161618; display: flex; flex-direction: column; gap: 13px; }
.studio-metrics small { font: 9px 'Space Grotesk',sans-serif; letter-spacing: 1.3px; color: #aaaab2; }
.studio-metrics strong { font: 500 30px 'Space Grotesk',sans-serif; color: #eeeeef; }
.preset-heading { margin-top: 10px; }
.preset-heading > div { color: #ef747b; font-size: 9px; letter-spacing: 2px; }
.preset-heading h3 { font-size: 22px; font-weight: 500; letter-spacing: -.7px; margin-bottom: 8px; }
.preset-heading p { margin: 0; font-size: 12px !important; }
.studio-presets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.studio-preset { display: flex; flex-direction: column; text-align: left; gap: 10px; border: 1px solid #39393d; background: #18181b; border-radius: 12px; padding: 12px 12px 16px; transition: border-color .2s, transform .2s; }
.studio-preset:hover { border-color: #ef4b54; transform: translateY(-3px); }
.studio-preset > strong { font: 500 12px 'Space Grotesk',sans-serif; letter-spacing: 2px; padding: 4px 4px 0; }
.studio-preset > span { color: #9999a3; font-size: 11px; padding: 0 4px; line-height: 1.5; }
.studio-preset > small { color: #dddde1; font-size: 10px; padding: 7px 4px 0; }
.preset-art { align-self: stretch; background: var(--preset-bg); display: grid; justify-items: center; align-content: center; gap: 12px; height: 145px; border-radius: 7px; border: 1px solid #88888822; }
.preset-avatar { width: 34px; height: 34px; border: 2px solid var(--preset-accent); border-radius: 50%; background: color-mix(in srgb, var(--preset-accent) 15%,transparent); }
.preset-lines { display: grid; width: 70%; gap: 6px; }
.preset-lines i { height: 12px; border: 1px solid color-mix(in srgb, var(--preset-accent) 40%,transparent); background: color-mix(in srgb,var(--preset-accent) 8%,transparent); border-radius: 4px; }
.studio-search-dialog { width: min(540px,calc(100vw - 32px)); max-height: min(640px,80svh); padding: 0; background: #17171b; color: #eeeeef; border: 1px solid #57575f; border-radius: 14px; box-shadow: 0 30px 100px #0009; }
.studio-search-dialog::backdrop { background: #050507b0; backdrop-filter: blur(7px); }
.search-dialog-head { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #38383e; padding: 16px; position: sticky; top: 0; background: #17171b; }
.search-dialog-head input { margin: 0; flex: 1; min-width: 0; }
.search-close { background: transparent; border: none; font-size: 26px; padding: 6px; }
.search-results { padding: 10px; display: grid; gap: 4px; }
.search-result { background: transparent; color: #d9d9df; border: 0; text-align: left; padding: 14px; border-radius: 7px; font-size: 13px; }
.search-result:hover, .search-result:focus-visible { background: #ef4b5418; outline: 1px solid #ef4b54; }
@media(max-width:760px) {
  .studio-welcome { padding: 24px 20px; gap: 10px; }
  .welcome-symbol { width: 70px; height: 70px; font-size: 50px; }
  .studio-welcome h2 { font-size: 28px; }
  .studio-welcome .muted { font-size: 11px; }
  .studio-presets { grid-template-columns: 1fr; }
  .studio-preset { display: grid; grid-template-columns: 95px 1fr; column-gap: 16px; }
  .preset-art { grid-row: span 3; height: 112px; }
  .preset-avatar { width: 23px; height: 23px; }
  .preset-lines i { height: 7px; }
  .setup-grid { grid-template-columns: 1fr; }
  .setup-card { padding: 20px; }
  .studio-metrics > div { padding: 16px 12px; }
  .studio-metrics small { font-size: 8px; letter-spacing: .6px; }
  .studio-metrics strong { font-size: 24px; }
  .draft-recovery { flex-wrap: wrap; }
  .draft-recovery > div { flex-basis: 100%; }
  .local-draft-status { display: none; }
  .dashboard-header { position: sticky; top: 0; z-index: 5; }
}
@media(prefers-reduced-motion:reduce) { .studio-preset { transition: none; } .studio-preset:hover { transform: none; } }
