:root {
  color-scheme: dark;
  --bio-bg: #0d0d12;
  --bio-panel: #14151d;
  --bio-panel-raised: #191a24;
  --bio-border: #292a35;
  --bio-text: #f2f1f5;
  --bio-muted: #9c9ba8;
  --bio-dim: #686976;
  --bio-lime: #b8ef7e;
  --bio-lime-ink: #17210d;
  --bio-radius: 16px;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bio-bg); scroll-behavior: smooth; }
body.bio-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--bio-text);
  background:
    radial-gradient(700px 480px at 15% 5%, #2940191a, transparent 72%),
    radial-gradient(650px 500px at 100% 35%, #35305420, transparent 72%),
    var(--bio-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--bio-lime); outline-offset: 3px; }
.bio-topbar {
  position: relative;
  z-index: 2;
  min-height: 70px;
  border-bottom: 1px solid #ffffff0d;
  background: #0d0d12e8;
  backdrop-filter: blur(14px);
}
.bio-topbar-inner {
  display: flex;
  align-items: center;
  width: min(1320px, calc(100% - 60px));
  min-height: 70px;
  margin: auto;
  gap: 44px;
}
.bio-brand { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 760; letter-spacing: -.04em; white-space: nowrap; }
.bio-brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #c1f08542; border-radius: 8px; color: var(--bio-lime); font: 750 15px ui-monospace, monospace; letter-spacing: -.1em; }
.bio-brand-dot { color: var(--bio-lime); }
.bio-nav { display: flex; align-items: stretch; align-self: stretch; gap: 28px; }
.bio-nav a { position: relative; display: inline-flex; align-items: center; color: #aaa9b4; font-size: 14px; font-weight: 570; transition: color .18s ease; }
.bio-nav a:hover, .bio-nav a.active { color: var(--bio-text); }
.bio-nav a.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--bio-lime); content: ""; }
.bio-home-link { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: #bab9c4; font-size: 14px; font-weight: 620; }
.bio-home-link:hover { color: var(--bio-lime); }
.bio-main { width: min(1320px, calc(100% - 60px)); margin: 0 auto; }
.bio-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 40px 0 30px; }
.bio-eyebrow, .bio-panel-kicker { margin: 0; color: #a4a3b0; font-size: 12px; font-weight: 720; letter-spacing: .16em; line-height: 1.5; }
.bio-eyebrow { display: flex; align-items: center; gap: 9px; }
.bio-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bio-lime); box-shadow: 0 0 12px #b8ef7e90; }
.bio-intro h1 { margin: 18px 0 11px; font-size: clamp(32px, 4vw, 48px); font-weight: 690; letter-spacing: -.064em; line-height: 1.05; }
.bio-intro h1 span { color: #9695a3; }
.bio-intro-copy { max-width: 545px; margin: 0; color: var(--bio-muted); font-size: 15px; line-height: 1.8; }
.bio-intro-aside { display: flex; align-items: center; gap: 13px; margin: 0 5px 4px 0; color: #9897a4; font-size: 13px; line-height: 1.65; }
.bio-intro-aside strong { color: #e5e2ed; font-weight: 620; }
.bio-private-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #ffffff12; border-radius: 11px; color: var(--bio-lime); font-size: 19px; }
.bio-studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 18px; }
.bio-editor, .bio-preview-panel { min-width: 0; border: 1px solid var(--bio-border); border-radius: var(--bio-radius); background: linear-gradient(145deg, #171820, #12131a 70%); }
.bio-editor { padding: 25px 27px 23px; }
.bio-preview-panel { position: sticky; top: 24px; padding: 24px 26px 25px; }
.bio-panel-heading, .bio-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bio-panel-heading h2, .bio-preview-heading h2 { margin: 5px 0 0; font-size: 20px; font-weight: 650; letter-spacing: -.04em; }
.bio-panel-kicker { color: #7d7d8d; font-size: 12px; }
.bio-view-tabs { display: none; position: sticky; top: 8px; z-index: 5; align-items: center; gap: 3px; width: fit-content; margin-bottom: 12px; padding: 3px; border: 1px solid #ffffff10; border-radius: 8px; background: #0c0d12; }
.bio-view-tab { min-height: 44px; padding: 0 16px; border: 0; border-radius: 6px; background: transparent; color: #b1b0bd; font-size: 14px; cursor: pointer; }
.bio-view-tab[aria-pressed="true"] { background: #282933; color: var(--bio-text); }
.bio-fieldset { min-width: 0; margin: 25px 0 0; padding: 19px 0 0; border: 0; border-top: 1px solid #ffffff10; }
.bio-fieldset legend { padding: 0 12px 0 0; color: #efedf4; font-size: 14px; font-weight: 650; }
.bio-fieldset legend span { margin-right: 8px; color: var(--bio-lime); font: 650 12px ui-monospace, monospace; }
.bio-fieldset-help { margin: -1px 0 14px; color: #b1b0bd; font-size: 13px; line-height: 1.7; }
.bio-field { position: relative; display: grid; gap: 7px; margin: 13px 0 0; color: #c9c8d1; font-size: 13px; font-weight: 570; }
.bio-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.bio-field input, .bio-field textarea, .bio-share-field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 39px;
  padding: 10px 11px;
  border: 1px solid #30313d;
  border-radius: 7px;
  outline: 0;
  background: #101117;
  color: var(--bio-text);
  font-size: 14px;
  font-weight: 420;
  line-height: 1.5;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.bio-field textarea { min-height: 76px; resize: vertical; }
.bio-field input::placeholder, .bio-field textarea::placeholder, .bio-share-field input::placeholder { color: #9c9ba8; }
.bio-field input:focus, .bio-field textarea:focus, .bio-share-field input:focus { border-color: #a8dc73; box-shadow: 0 0 0 3px #b8ef7e16; }
.bio-upload-field input[type="file"] { padding: 8px; color: #aaa9b5; font-size: 13px; }
.bio-upload-field input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 10px; border: 1px solid #3a3b47; border-radius: 6px; background: #1b1c24; color: #e8e6ef; font: inherit; cursor: pointer; }
.bio-upload-field input[type="file"]::file-selector-button:hover { border-color: #a8dc73; }
.bio-upload-field input[type="file"]:disabled { opacity: .58; cursor: wait; }
.bio-upload-field > .bio-field-note { justify-self: start; margin-top: 0; overflow-wrap: anywhere; }
.bio-image-picker { display: grid; gap: 6px; }
.bio-image-picker input[type="file"] { padding: 8px; color: #aaa9b5; font-size: 13px; }
.bio-image-picker input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 10px; border: 1px solid #3a3b47; border-radius: 6px; background: #1b1c24; color: #e8e6ef; font: inherit; cursor: pointer; }
.bio-image-picker input[type="file"]::file-selector-button:hover { border-color: #a8dc73; }
.bio-image-clear { width: max-content; min-height: 28px; padding: 0 9px; font-size: 12px; }
.bio-field select, .bio-select { display:block; width:100%; min-height:39px; padding:9px 11px; border:1px solid #30313d; border-radius:7px; background:#101117; color:var(--bio-text); font-size:14px; }
.bio-field select:focus, .bio-select:focus { border-color:#a8dc73; outline:0; box-shadow:0 0 0 3px #b8ef7e16; }
.bio-field-pair .bio-field { margin-top: 13px; }
.bio-optional { margin-left: 5px; color: #aaa9b5; font-size: 12px; font-weight: 440; }
.bio-field-note { display: block; color: #aaa9b5; font-size: 12px; font-weight: 430; line-height: 1.6; }
.bio-field > .bio-field-note { justify-self: end; margin-top: -3px; }
.bio-music-note { margin: 10px 0 0; }
.bio-link-editor { display: grid; gap: 9px; }
.bio-link-row { position: relative; display: grid; grid-template-columns: 1fr 1.35fr 32px; align-items: center; gap: 7px; }
.bio-link-row input { min-width: 0; height: 36px; padding: 8px 9px; border: 1px solid #30313d; border-radius: 6px; outline: none; background: #101117; color: var(--bio-text); font-size: 13px; }
.bio-link-row input:focus { border-color: #a8dc73; box-shadow: 0 0 0 3px #b8ef7e16; }
.bio-link-row input::placeholder { color: #9c9ba8; }
.bio-link-order { display: flex; justify-content: flex-end; gap: 6px; grid-column: 1 / -1; }
.bio-link-move { min-width: 44px; min-height: 36px; border: 1px solid #30313d; border-radius: 6px; background: #181922; color: var(--bio-text); cursor: pointer; }
.bio-link-move:hover:not(:disabled) { border-color: #a8dc73; }
.bio-link-move:disabled { opacity: .35; cursor: default; }
.bio-remove-link { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #30313d; border-radius: 6px; background: transparent; color: #8b8997; cursor: pointer; }
.bio-remove-link:hover { border-color: #8c5459; color: #ff9da2; }
.bio-add-link { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; margin-top: 11px; padding: 0 10px; border: 1px dashed #41424d; border-radius: 6px; background: transparent; color: #c5c4ce; font-size: 13px; cursor: pointer; }
.bio-add-link span { color: var(--bio-lime); font-size: 15px; line-height: 1; }
.bio-add-link:hover { border-color: #8aa766; color: white; }
.bio-theme-picker { display: flex; flex-wrap: wrap; gap: 7px; }
.bio-theme-choice { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 10px; border: 1px solid #30313d; border-radius: 6px; background: #101117; color: #aaa9b5; font-size: 12px; cursor: pointer; }
.bio-theme-choice[aria-pressed="true"] { border-color: #5c6649; color: #f1eff5; background: #191b20; }
.bio-theme-swatch { width: 8px; height: 8px; border-radius: 50%; }
.swatch-lime { background: #b8ef7e; box-shadow: 0 0 8px #b8ef7e55; }
.swatch-violet { background: #c4a2ff; box-shadow: 0 0 8px #c4a2ff55; }
.swatch-ocean { background: #75d8eb; box-shadow: 0 0 8px #75d8eb55; }
.swatch-ember { background: #ffad75; box-shadow: 0 0 8px #ffad7555; }
.bio-theme-picker + .bio-field { margin-top: 17px; }
.bio-editor-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #ffffff10; }
.bio-action { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border: 1px solid #30313d; border-radius: 7px; background: #181922; color: #e9e7ef; font-size: 13px; font-weight: 620; cursor: pointer; transition: transform .14s ease, border-color .14s ease, background .14s ease; }
.bio-action:hover { transform: translateY(-1px); border-color: #53535f; background: #20212b; }
.bio-action-save { border-color: transparent; background: var(--bio-lime); color: var(--bio-lime-ink); }
.bio-action-save:hover { border-color: transparent; background: #cdf99e; color: #17210d; }
.bio-action-share { border-color: #37452c; }
.bio-action-reset { margin-left: auto; color: #aaa9b4; font-weight: 520; }
.bio-save-status { min-height: 15px; margin: 11px 0 0; color: #9b9aa7; font-size: 12px; line-height: 1.6; }
.bio-share-field { display: grid; gap: 7px; margin-top: 12px; color: #c9c8d1; font-size: 13px; font-weight: 570; }
.bio-share-field input { color: #d5d4dd; font-size: 12px; }
.bio-preset-actions { align-content:end; }.bio-preset-actions .bio-action { justify-self:start; }
.bio-preset-save-row { display:flex; gap:8px; }.bio-preset-save-row input { flex:1; min-width:0; min-height:39px; padding:9px 11px; border:1px solid #30313d; border-radius:7px; outline:0; background:#101117; color:var(--bio-text); font-size:14px; }
.bio-portability-actions { margin-top:12px; padding-top:12px; }.bio-import-action { position:relative; overflow:hidden; }.bio-import-action input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
#bio-preset-status { min-height:14px; margin:8px 0 0; }
.bio-privacy-note { margin: 8px 0 0; color: #aaa9b5; font-size: 12px; line-height: 1.65; }
.bio-preview-heading { margin-bottom: 13px; }
.bio-preview-live { display: inline-flex; align-items: center; gap: 6px; color: #aaa9b5; font-size: 12px; }
.bio-preview-live i { width: 6px; height: 6px; border-radius: 50%; background: #a5e875; box-shadow: 0 0 9px #a5e87584; }
.bio-preview-note { margin: 0 0 14px; color: #aaa9b5; font-size: 12px; line-height: 1.65; }
.bio-profile-card {
  --profile-accent: #b8ef7e;
  --profile-accent-dim: #b8ef7e16;
  --profile-accent-border: #b8ef7e38;
  overflow: hidden;
  width: min(100%, 520px);
  margin: 0 auto;
  border: 1px solid #ffffff19;
  border-radius: 15px;
  background: #12131a;
  box-shadow: 0 22px 70px #00000053;
}
.bio-profile-card[data-theme="violet"] { --profile-accent: #c4a2ff; --profile-accent-dim: #c4a2ff16; --profile-accent-border: #c4a2ff3b; }
.bio-profile-card[data-theme="ocean"] { --profile-accent: #75d8eb; --profile-accent-dim: #75d8eb16; --profile-accent-border: #75d8eb3b; }
.bio-profile-card[data-theme="ember"] { --profile-accent: #ffad75; --profile-accent-dim: #ffad7516; --profile-accent-border: #ffad753b; }
.bio-profile-cover { position: relative; height: 152px; overflow: hidden; background: radial-gradient(ellipse at 72% 45%, var(--profile-accent-dim), transparent 42%), radial-gradient(ellipse at 21% 85%, #42503738, transparent 44%), linear-gradient(128deg, #1c2023, #17151e 52%, #171a20); }
.bio-profile-cover::before { position: absolute; inset: 0; border-bottom: 1px solid #ffffff0d; background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg, #ffffff07 1px, transparent 1px); background-size: 29px 29px; mask-image: linear-gradient(to bottom, #000, transparent); content: ""; }
.bio-profile-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.bio-cover-orbit { position: absolute; display: block; border: 1px solid var(--profile-accent-border); border-radius: 50%; pointer-events: none; }
.orbit-one { top: -81px; right: 39px; width: 290px; height: 290px; }
.orbit-two { top: -22px; right: 107px; width: 164px; height: 164px; border-color: #ffffff14; }
.bio-cover-caption { position: absolute; right: 17px; bottom: 14px; color: #d5d3df9c; font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; }
.bio-profile-content { padding: 0 23px 21px; }
.bio-profile-identity { display: flex; align-items: center; gap: 13px; min-height: 70px; margin-top: -31px; }
.bio-avatar { position: relative; display: grid; flex: 0 0 auto; width: 66px; height: 66px; overflow: hidden; place-items: center; border: 4px solid #12131a; border-radius: 22px; background: linear-gradient(145deg, var(--profile-accent), #6c7781); color: #1a1b1d; font-size: 21px; font-weight: 800; letter-spacing: -.06em; box-shadow: 0 5px 22px #00000045; }
.bio-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bio-avatar img[hidden] { display: none; }
.bio-profile-nameblock { min-width: 0; padding-top: 22px; }
.bio-profile-nameblock h3 { overflow: hidden; margin: 0; color: #f2f0f6; font-size: 17px; font-weight: 690; letter-spacing: -.04em; text-overflow: ellipsis; white-space: nowrap; }
.bio-profile-nameblock p { overflow: hidden; margin: 4px 0 0; color: #9594a1; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.bio-profile-mark { display: grid; flex: 0 0 auto; width: 27px; height: 27px; place-items: center; margin: 12px 0 0 auto; border: 1px solid var(--profile-accent-border); border-radius: 8px; background: var(--profile-accent-dim); color: var(--profile-accent); font-size: 14px; }
.bio-profile-status { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; margin: 12px 0 0 1px; padding: 6px 9px; border: 1px solid #ffffff12; border-radius: 99px; background: #ffffff07; color: #cbc9d3; font-size: 12px; }
.bio-profile-status > span:first-child { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--profile-accent); box-shadow: 0 0 7px var(--profile-accent); }
.bio-profile-bio { margin: 16px 0 17px; color: #b6b5c0; font-size: 14px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.bio-profile-links { display: grid; gap: 8px; }
.bio-link-card { display: flex; align-items: center; min-height: 54px; gap: 11px; padding: 9px 12px; border: 1px solid #ffffff13; border-radius: 9px; background: #ffffff05; color: #eceaf1; transition: border-color .16s ease, transform .16s ease, background .16s ease; }
a.bio-link-card:hover { transform: translateY(-1px); border-color: var(--profile-accent-border); background: var(--profile-accent-dim); }
.bio-link-card[aria-disabled="true"] { opacity: .65; }
.bio-link-icon { display: grid; flex: 0 0 auto; width: 31px; height: 31px; place-items: center; border: 1px solid var(--profile-accent-border); border-radius: 8px; background: var(--profile-accent-dim); color: var(--profile-accent); font-size: 15px; }
.bio-link-copy { display: grid; min-width: 0; gap: 3px; }
.bio-link-label { display: block; overflow: hidden; min-width: 0; margin: 0; font-size: 13px; font-weight: 640; text-overflow: ellipsis; white-space: nowrap; }
.bio-link-domain { overflow: hidden; margin: 3px 0 0; color: #898894; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.bio-link-arrow { flex: 0 0 auto; margin-left: auto; color: #8e8d9a; font-size: 14px; }
.bio-profile-empty-links { padding: 14px; border: 1px dashed #ffffff20; border-radius: 9px; color: #898894; font-size: 12px; text-align: center; }
.bio-profile-music { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 10px; border: 1px solid var(--profile-accent-border); border-radius: 9px; background: var(--profile-accent-dim); }
.bio-music-icon { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: var(--profile-accent); color: #191a1b; font-size: 14px; }
.bio-music-copy { display: grid; min-width: 0; gap: 3px; }
.bio-music-kicker { color: #a8a7b2; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.bio-music-copy strong { overflow: hidden; color: #ebe9f0; font-size: 12px; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.bio-profile-music audio { width: 142px; max-width: 44%; height: 28px; margin-left: auto; accent-color: var(--profile-accent); }
.bio-profile-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 17px; border-top: 1px solid #ffffff10; color: #80808d; font: 11px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .06em; }
.bio-profile-footer a { display: inline-flex; align-items: center; gap: 7px; color: #a4a3af; font: 600 12px ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; }
.bio-profile-footer a:hover { color: var(--profile-accent); }
.bio-footer-mark { display: inline-grid; width: 18px; height: 18px; place-items: center; border: 1px solid var(--profile-accent-border); border-radius: 5px; color: var(--profile-accent); font: 700 12px ui-monospace, monospace; letter-spacing: -.1em; }
.bio-profile-footer b { color: var(--profile-accent); font-weight: 700; }
.bio-share-preview { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(100%, 520px); margin: 17px auto 0; padding: 14px 15px; border: 1px solid #ffffff12; border-radius: 10px; background: #ffffff05; }
.bio-share-preview p { margin: 0; color: #a1a0ad; font-size: 13px; }
.bio-share-preview a { color: var(--bio-lime); font-size: 13px; font-weight: 650; white-space: nowrap; }
.bio-share-preview a:hover { color: #d0ffa1; }
.bio-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 28px 0 36px; padding: 18px 0 24px; border-top: 1px solid #ffffff10; color: #777783; font-size: 12px; }
.bio-footer a { color: #aaa9b4; font-weight: 570; }
.bio-footer a:hover { color: var(--bio-lime); }
.bio-public .bio-intro { display: none; }
.bio-public .bio-view-tabs { display: none; }
.bio-public .bio-studio { display: block; width: min(690px, 100%); margin: 65px auto 0; }
.bio-public .bio-editor { display: none; }
.bio-public .bio-preview-panel { position: static; padding: 0; border: 0; background: transparent; }
.bio-public .bio-preview-heading { margin-bottom: 15px; }
.bio-public .bio-preview-heading h2 { font-size: 15px; font-weight: 600; }
.bio-public .bio-preview-heading .bio-panel-kicker { display: none; }
.bio-public .bio-preview-note { margin-bottom: 18px; }
.bio-public .bio-profile-card { width: min(100%, 550px); }
.bio-public .bio-profile-cover { height: 180px; }
.bio-public .bio-profile-content { padding-right: 26px; padding-left: 26px; }
.bio-public .bio-profile-bio { font-size: 14px; }
.bio-public .bio-link-card { min-height: 58px; }
.bio-public .bio-share-preview { width: min(100%, 550px); }
.bio-public .bio-preview-live { font-size: 0; }
.bio-public .bio-preview-live i { width: 7px; height: 7px; }
.bio-public .bio-footer { margin-top: 27px; }
[hidden] { display: none !important; }

@media (max-width: 1020px) {
  .bio-studio { grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr); gap: 12px; }
  .bio-editor { padding: 22px 20px; }
  .bio-preview-panel { padding: 22px 18px; }
  .bio-profile-content { padding-right: 18px; padding-left: 18px; }
  .bio-profile-music audio { width: 115px; }
}
@media (max-width: 780px) {
  .bio-topbar-inner, .bio-main { width: min(100% - 36px, 680px); }
  .bio-topbar-inner { gap: 20px; }
  .bio-nav { gap: 17px; }
  .bio-nav a { font-size: 14px; }
  .bio-home-link { font-size: 0; }
  .bio-home-link span { font-size: 14px; }
  .bio-intro { padding: 48px 0 29px; }
  .bio-intro-aside { display: none; }
  .bio-studio { grid-template-columns: 1fr; gap: 13px; scroll-margin-top: 70px; }
  .bio-view-tabs { display: inline-flex; }
  .bio-preview-panel { position: static; }
  .bio-studio[data-mode="edit"] .bio-preview-panel { display: none; }
  .bio-studio[data-mode="preview"] .bio-editor { display: none; }
  .bio-public .bio-studio[data-mode="preview"] .bio-preview-panel { display: block; }
  .bio-public .bio-studio { margin-top: 39px; }
  .bio-public .bio-preview-panel { padding: 0; }
}
@media (max-width: 500px) {
  .bio-topbar { min-height: 60px; }
  .bio-topbar-inner { min-height: 60px; width: calc(100% - 28px); gap: 16px; }
  .bio-brand { gap: 8px; font-size: 15px; }
  .bio-brand-mark { width: 27px; height: 27px; }
  .bio-nav { gap: 13px; }
  .bio-nav a { font-size: 13px; }
  .bio-home-link { display: none; }
  .bio-main { width: calc(100% - 28px); }
  .bio-intro { padding: 37px 0 21px; }
  .bio-intro h1 { margin-top: 15px; font-size: 35px; }
  .bio-intro-copy { font-size: 14px; line-height: 1.7; }
  .bio-editor, .bio-preview-panel { padding: 19px 15px; border-radius: 12px; }
  .bio-panel-heading h2, .bio-preview-heading h2 { font-size: 18px; }
  .bio-field-pair { gap: 8px; }
  .bio-link-row { grid-template-columns: 1fr 1.2fr 30px; gap: 5px; }
  .bio-link-row input { padding: 7px 6px; font-size: 12px; }
  .bio-profile-cover { height: 125px; }
  .bio-profile-content { padding-right: 14px; padding-left: 14px; }
  .bio-profile-nameblock h3 { font-size: 15px; }
  .bio-profile-bio { font-size: 13px; }
  .bio-profile-music { flex-wrap: wrap; }
  .bio-profile-music audio { width: 100%; max-width: none; margin: 4px 0 0; }
  .bio-profile-footer { padding-right: 12px; padding-left: 12px; font-size: 11px; }
  .bio-profile-footer a { font-size: 11px; }
  .bio-footer { flex-wrap: wrap; justify-content: flex-start; font-size: 12px; }
  .bio-footer a { margin-left: auto; }
  .bio-public .bio-studio { margin-top: 32px; }
  .bio-public .bio-profile-cover { height: 145px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Expanded Bio Studio controls and profile themes */
.bio-field select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 39px;
  padding: 9px 30px 9px 11px;
  border: 1px solid #30313d;
  border-radius: 7px;
  outline: 0;
  appearance: none;
  background: #101117 linear-gradient(45deg, transparent 50%, #92919e 50%) calc(100% - 15px) 17px / 5px 5px no-repeat;
  color: var(--bio-text);
  font-size: 14px;
  font-weight: 420;
}
.bio-field select:focus { border-color: #a8dc73; box-shadow: 0 0 0 3px #b8ef7e16; }
.bio-color-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bio-color-field { display: grid; gap: 7px; min-width: 0; color: #aaa9b5; font-size: 12px; }
.bio-color-field input { width: 100%; height: 35px; padding: 3px; border: 1px solid #30313d; border-radius: 7px; background: #101117; cursor: pointer; }
.bio-range-field { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; margin-top: 13px; color: #c9c8d1; font-size: 13px; }
.bio-range-field > span { color: #888894; font: 12px ui-monospace, monospace; }
.bio-range-field input { grid-column: 1 / -1; width: 100%; height: 16px; margin: 0; accent-color: var(--bio-lime); cursor: pointer; }
.bio-toggle { display: flex; align-items: center; gap: 9px; margin-top: 12px; color: #bcbac6; font-size: 13px; cursor: pointer; }
.bio-toggle input { width: 15px; height: 15px; margin: 0; accent-color: var(--bio-lime); }
.swatch-rose { background: #ff8fae; box-shadow: 0 0 8px #ff8fae55; }
.swatch-ice { background: #9ddcff; box-shadow: 0 0 8px #9ddcff55; }
.swatch-gold { background: #f0d47a; box-shadow: 0 0 8px #f0d47a55; }
.swatch-mono { background: #d5d5dc; box-shadow: 0 0 8px #d5d5dc55; }
.bio-background-media { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; background: var(--profile-page-color, #0d0d12); }
.bio-background-media::after { position: absolute; inset: 0; background: #0d0d12a8; content: ""; }
.bio-background-media img, .bio-background-media video { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.bio-topbar, .bio-main { position: relative; z-index: 1; }
.bio-topbar { z-index: 2; }
.bio-profile-card {
  position: relative;
  border-radius: var(--profile-radius, 15px);
  background: color-mix(in srgb, var(--profile-surface, #12131a) var(--profile-opacity, 96%), transparent);
  backdrop-filter: blur(var(--profile-blur, 0px));
  font-family: var(--profile-font, inherit);
}
.bio-profile-cover { isolation: isolate; }
.bio-profile-cover::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(rgb(0 0 0 / var(--profile-cover-tint, 16%)), transparent 58%);
  content: "";
  pointer-events: none;
}
.bio-profile-cover img { object-position: var(--profile-banner-position, center); }
.bio-cover-orbit, .bio-cover-caption { z-index: 1; }
.bio-profile-nameblock h3, .bio-link-card, .bio-profile-status, .bio-profile-bio { color: var(--profile-text, #f2f0f6); }
.bio-profile-nameblock h3 { position: relative; }
.bio-profile-card[data-name-effect="glow"] .bio-profile-nameblock h3 { text-shadow: 0 0 16px var(--profile-accent); }
.bio-profile-card[data-name-effect="gradient"] .bio-profile-nameblock h3 {
  color: transparent;
  background: linear-gradient(90deg, var(--profile-accent), #ffffff, var(--profile-accent));
  background-clip: text;
  -webkit-background-clip: text;
}
.bio-profile-card[data-name-effect="shine"] .bio-profile-nameblock h3 {
  color: transparent;
  background: linear-gradient(100deg, var(--profile-text) 25%, var(--profile-accent) 48%, var(--profile-text) 70%);
  background-size: 220% auto;
  background-clip: text;
  -webkit-background-clip: text;
  animation: bio-name-shine 4s linear infinite;
}
@keyframes bio-name-shine { to { background-position: 220% center; } }
.bio-avatar { border-radius: 22px; }
.bio-profile-card[data-avatar-shape="circle"] .bio-avatar { border-radius: 50%; }
.bio-profile-card[data-avatar-shape="square"] .bio-avatar { border-radius: 4px; }
.bio-profile-card[data-avatar-frame="glow"] .bio-avatar { box-shadow: 0 0 0 2px var(--profile-accent), 0 0 25px var(--profile-accent); }
.bio-profile-card[data-avatar-frame="ring"] .bio-avatar { outline: 1px solid var(--profile-accent); outline-offset: 3px; box-shadow: 0 0 0 6px var(--profile-accent-dim), 0 5px 22px #00000045; }
.bio-profile-card[data-layout="wide"] { width: min(100%, 680px); }
.bio-profile-card[data-layout="compact"] { width: min(100%, 420px); }
.bio-profile-card[data-layout="compact"] .bio-profile-cover { height: 105px; }
.bio-profile-card[data-layout="minimal"] { width: min(100%, 490px); border-color: var(--profile-accent-border); box-shadow: none; }
.bio-profile-card[data-layout="minimal"] .bio-profile-cover { height: 90px; }
.bio-profile-card[data-layout="centered"] .bio-profile-identity { justify-content: center; flex-wrap: wrap; margin-top: -25px; text-align: center; }
.bio-profile-card[data-layout="centered"] .bio-profile-nameblock { flex-basis: 100%; padding-top: 0; }
.bio-profile-card[data-layout="centered"] .bio-profile-mark { position: absolute; top: 12px; right: 14px; margin: 0; }
.bio-profile-card[data-layout="centered"] .bio-profile-status { display: flex; width: max-content; margin-right: auto; margin-left: auto; }
.bio-profile-card[data-layout="centered"] .bio-profile-bio { text-align: center; }
.bio-profile-card[data-layout="centered"] .bio-profile-details { justify-content: center; }
.bio-profile-card[data-link-style="pills"] .bio-profile-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bio-profile-card[data-link-style="pills"] .bio-link-card { min-height: 42px; border-radius: 999px; }
.bio-profile-card[data-link-style="pills"] .bio-link-icon { width: 26px; height: 26px; border-radius: 50%; }
.bio-profile-card[data-link-style="minimal"] .bio-link-card { min-height: 40px; padding-right: 5px; padding-left: 5px; border-width: 0 0 1px; border-radius: 0; background: transparent; }
.bio-profile-card[data-link-style="minimal"] .bio-link-icon { width: 24px; height: 24px; border: 0; background: transparent; }
.bio-profile-card[data-link-style="glass"] .bio-link-card { background: color-mix(in srgb, var(--profile-accent) 8%, #ffffff08); backdrop-filter: blur(12px); }
.bio-profile-card[data-link-style="gloss"] .bio-link-card { background: linear-gradient(165deg, color-mix(in srgb, var(--profile-accent) 24%, #ffffff20), color-mix(in srgb, var(--profile-accent) 4%, #ffffff04) 58%, #0002); box-shadow: inset 0 1px #ffffff22; }
.bio-profile-card[data-name-effect="rainbow"] .bio-profile-nameblock h3 { color: transparent; background: linear-gradient(90deg, #ff8585, #ffd477, #abf39b, #86d9ff, #c8a1ff, #ff8585); background-size: 220% auto; background-clip: text; animation: bio-rainbow 7s linear infinite; }
.bio-profile-card[data-name-effect="glitch"] .bio-profile-nameblock h3 { text-shadow: 2px 0 #ff507d99, -2px 0 #5ce4ff99; animation: bio-glitch 4s steps(1) infinite; }
.bio-profile-card[data-layout="cover"] .bio-profile-cover { height: 190px; }
.bio-profile-card[data-layout="split"] { width: min(100%, 720px); }
.bio-profile-card[data-layout="split"] .bio-profile-identity { align-items: flex-start; }
.bio-profile-card[data-layout="spotlight"] .bio-profile-identity { justify-content: center; flex-wrap: wrap; text-align: center; }
.bio-profile-card[data-layout="spotlight"] .bio-profile-nameblock { flex-basis: 100%; text-align: center; }
.bio-profile-card[data-layout="spotlight"] .bio-profile-status { width: max-content; margin-right: auto; margin-left: auto; }
.bio-profile-card[data-layout="spotlight"] .bio-profile-details, .bio-profile-card[data-layout="spotlight"] .bio-profile-badges { justify-content: center; }
.bio-profile-card[data-show-avatar="false"] .bio-avatar, .bio-profile-card[data-show-banner="false"] .bio-profile-cover { display: none; }
.bio-profile-card[data-background-effect="matrix"] .bio-profile-cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: repeating-linear-gradient(90deg, transparent 0 23px, #a6ff8230 24px 25px), repeating-linear-gradient(0deg, transparent 0 10px, #a6ff8222 11px 12px); pointer-events: none; }
.bio-profile-card[data-background-effect="sakura"] .bio-profile-cover::after { background-image: radial-gradient(circle at 12% 20%, #ffb4d355 0 3px, transparent 4px), radial-gradient(circle at 76% 62%, #ffb4d344 0 4px, transparent 5px); }
.bio-profile-card[data-background-effect="lightning"] .bio-profile-cover::after { background-image: linear-gradient(112deg, transparent 47%, #dceaff44 48%, transparent 49%), linear-gradient(104deg, transparent 62%, #a8c6ff33 63%, transparent 64%); }
.bio-profile-card[data-background-effect="snow"] .bio-profile-cover::after, .bio-profile-card[data-background-effect="fireflies"] .bio-profile-cover::after { background-image: radial-gradient(#fff9 1px, transparent 1.5px), radial-gradient(#fff8 2px, transparent 2.5px); background-size: 50px 50px, 90px 90px; }
.bio-profile-card[data-cursor-style="crosshair"] { cursor: crosshair; }
.bio-profile-card[data-hover-effect="none"]:hover { transform: none; box-shadow: none; }
.bio-profile-card .bio-link-group { display: grid; gap: 8px; }
.bio-profile-card .bio-link-group-name { margin: 8px 0 0; color: var(--bio-muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bio-profile-music-tracks { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; margin-left: auto; }
.bio-profile-music-tracks audio { width: 142px; max-width: 44%; height: 28px; margin: 0; accent-color: var(--profile-accent); }
.bio-profile-lyrics { flex-basis: 100%; max-height: 180px; overflow: auto; margin: 2px 0 0; padding: 10px; border-radius: 8px; color: var(--bio-muted); background: #ffffff07; font-size: 12px; white-space: pre-wrap; }
.bio-profile-card[data-layout="spotlight"] .bio-profile-nameblock h3 { width: auto; margin: auto; }
.bio-profile-card[data-hover-effect="none"] { transition: none; }
.bio-profile-card[data-hover-effect="lift"]:hover { transform: translateY(-3px); transition: transform .2s ease; }
.bio-profile-card[data-hover-effect="glow"]:hover { box-shadow: 0 0 32px var(--profile-accent-border), 0 22px 70px #00000053; }
.bio-profile-card[data-cursor-style="crosshair"] { cursor: crosshair; }
.bio-profile-card[data-cursor-style="pointer"] { cursor: pointer; }
.bio-profile-card[data-background-effect="stars"] .bio-profile-cover::after {
  background-image: radial-gradient(1px 1px at 12% 26%, #fff 99%, transparent), radial-gradient(1px 1px at 39% 71%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 71% 34%, #fff 99%, transparent), radial-gradient(1px 1px at 89% 78%, #fff 99%, transparent), linear-gradient(rgb(0 0 0 / var(--profile-cover-tint, 16%)), transparent 58%);
}
.bio-profile-card[data-background-effect="aurora"] .bio-profile-cover::after {
  background: radial-gradient(ellipse at 20% 10%, var(--profile-accent-border), transparent 58%), radial-gradient(ellipse at 82% 70%, #8f79d644, transparent 55%);
  animation: bio-aurora 9s ease-in-out infinite alternate;
}
@keyframes bio-aurora { to { background-position: 40px -18px, -30px 22px; filter: hue-rotate(22deg); } }
.bio-profile-card[data-background-effect="grid"] .bio-profile-cover::before {
  background-size: 18px 18px;
  background-image: linear-gradient(var(--profile-accent-border) 1px, transparent 1px), linear-gradient(90deg, var(--profile-accent-border) 1px, transparent 1px);
}
.bio-profile-card[data-background-effect="bubbles"] .bio-profile-cover::after {
  background-image: radial-gradient(circle at 16% 71%, #ffffff20 0 8px, transparent 9px), radial-gradient(circle at 42% 22%, var(--profile-accent-border) 0 5px, transparent 6px), radial-gradient(circle at 78% 58%, #ffffff18 0 12px, transparent 13px), linear-gradient(rgb(0 0 0 / var(--profile-cover-tint, 16%)), transparent 58%);
}
.bio-profile-card[data-link-style="pills"] .bio-profile-links { gap: 7px; }
.bio-profile-details { display: flex; flex-wrap: wrap; gap: 7px; margin: -4px 0 12px; }
.bio-profile-detail { padding: 5px 8px; border: 1px solid var(--profile-accent-border); border-radius: 999px; background: var(--profile-accent-dim); color: #c7c5d0; font-size: 12px; }
.bio-profile-note { margin: 0 0 12px; padding: 10px 12px; border-left: 2px solid var(--profile-accent); border-radius: 0 7px 7px 0; background: var(--profile-accent-dim); color: #e8e5ed; font-size: 12px; line-height: 1.6; }
.bio-profile-footer[data-show-made-with="false"] a { display: none; }
.bio-profile-footer[data-show-made-with="false"] { justify-content: flex-end; }
.bio-profile-footer[hidden] { display: none; }
@media (max-width: 500px) {
  .bio-color-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bio-profile-card[data-link-style="pills"] .bio-profile-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .bio-profile-card[data-hover-effect="lift"]:hover { transform: none; }
  .bio-profile-card[data-name-effect="shine"] .bio-profile-nameblock h3,
  .bio-profile-card[data-background-effect="aurora"] .bio-profile-cover::after { animation: none; }
}

.bio-badge-editor { display: grid; gap: 8px; }
.bio-badge-row { display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 7px; }
.bio-badge-row input, .bio-section-edit > input, .bio-section-edit > textarea {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid #30313d;
  border-radius: 6px;
  outline: 0;
  background: #101117;
  color: var(--bio-text);
  font: inherit; font-size: 13px; line-height: 1.5;
}
.bio-section-edit > textarea { min-height: 58px; resize: vertical; }
.bio-badge-row input:focus, .bio-section-edit input:focus, .bio-section-edit textarea:focus { border-color: #a8dc73; }
.bio-section-editor { display: grid; gap: 9px; margin-top: 13px; }
.bio-section-edit { display: grid; gap: 7px; padding: 10px; border: 1px solid #30313d; border-radius: 7px; background: #101117; }
.bio-section-edit-heading { display: flex; align-items: center; justify-content: space-between; color: #898896; font: 12px ui-monospace, monospace; letter-spacing: .08em; }
.bio-section-edit-heading .bio-remove-link { width: 25px; height: 25px; }
.bio-profile-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 11px 0 0; }
.bio-profile-badge { padding: 5px 8px; border: 1px solid var(--profile-accent-border); border-radius: 999px; background: var(--profile-accent-dim); color: var(--profile-accent); font-size: 12px; font-weight: 620; }
.bio-profile-sections { display: grid; gap: 7px; margin-top: 10px; }
.bio-content-block { overflow: hidden; border: 1px solid #ffffff15; border-radius: 8px; background: #ffffff05; }
.bio-content-block summary { position: relative; padding: 11px 35px 11px 12px; color: var(--profile-text, #e9e7ef); font-size: 13px; font-weight: 630; cursor: pointer; list-style: none; }
.bio-content-block summary::-webkit-details-marker { display: none; }
.bio-content-block summary::after { position: absolute; top: 8px; right: 12px; color: var(--profile-accent); font-size: 14px; content: "+"; }
.bio-content-block[open] summary::after { content: "−"; }
.bio-content-block-body { padding: 0 12px 12px; color: #b8b6c1; font-size: 12px; line-height: 1.7; }
.bio-content-block-body p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.bio-content-block-link { display: inline-block; margin-top: 8px; color: var(--profile-accent); font-size: 12px; font-weight: 620; }
.bio-content-block-link:hover { text-decoration: underline; }
.bio-profile-card[data-layout="centered"] .bio-profile-badges { justify-content: center; }
/* Persistent profile publication */
.bio-publish-fieldset { border-color: color-mix(in srgb, var(--bio-accent, #b8ef7e) 22%, var(--bio-line, #34343f)); }
.bio-domain-input { display: flex; align-items: center; gap: 0; overflow: hidden; border: 1px solid var(--bio-line, #34343f); border-radius: 12px; background: var(--bio-input, #101117); }
.bio-domain-input input { min-width: 0; flex: 1; border: 0 !important; background: transparent !important; }
.bio-domain-input span { padding: 0 14px; color: var(--bio-muted, #9293a1); font-size: 15px; white-space: nowrap; }
.bio-account-state,.bio-published-url { margin: 8px 0 0; color: var(--bio-muted, #9293a1); font-size: 15px; line-height: 1.5; }
.bio-published-url a { color: var(--bio-accent, #b8ef7e); text-underline-offset: 3px; overflow-wrap: anywhere; }
.bio-publish-actions { margin-top: 14px; }
.bio-action:disabled { opacity: .48; cursor: not-allowed; }
@keyframes bio-rainbow { to { background-position: 220% center; } }
@keyframes bio-glitch { 0%, 91%, 95%, 100% { transform: translateX(0); } 92% { transform: translateX(2px); } 93% { transform: translateX(-2px); } 94% { transform: translateX(1px); } }
.bio-profile-music-tracks audio { width: 100%; max-width: 160px; }
.bio-profile-music[hidden],.bio-profile-tabs[hidden],.bio-profile-tab-content[hidden] { display: none !important; }
.bio-tab-edit { display: grid; gap: 7px; margin-top: 9px; padding: 10px; border: 1px solid #30313d; border-radius: 8px; background: #101117; }
.bio-tab-edit-heading { display: flex; justify-content: space-between; color: var(--bio-muted); font-size: 13px; }
.bio-tab-edit input,.bio-tab-edit textarea { width: 100%; min-width: 0; border: 1px solid #30313d; border-radius: 6px; padding: 9px; outline: none; background: #0c0d12; color: var(--bio-text); font: inherit; font-size: 14px; }
.bio-tab-edit textarea { min-height: 72px; resize: vertical; }
.bio-profile-tabs { display: flex; gap: 6px; overflow-x: auto; margin: 16px 0 7px; padding-bottom: 7px; border-bottom: 1px solid #ffffff12; }
.bio-profile-tabs button { flex: none; border: 1px solid transparent; border-radius: 8px; padding: 6px 10px; color: var(--bio-muted); background: transparent; font-size: 13px; cursor: pointer; }
.bio-profile-tabs button[aria-selected="true"] { border-color: var(--bio-accent-border); color: var(--bio-accent); background: var(--bio-accent-dim); }
.bio-profile-tab-content { padding-top: 9px; color: var(--bio-text); font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.bio-link-group { display: grid; gap: 8px; }
.bio-link-group-name { margin: 8px 0 0; color: var(--bio-muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bio-guestbook-moderation { display: grid; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--bio-line, #34343f); }
.bio-guestbook-moderation[hidden] { display: none; }
.bio-guestbook-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bio-guestbook-heading h3 { margin: 0; color: var(--bio-text); font-size: 15px; }
.bio-guestbook-heading p { margin: 3px 0 0; color: var(--bio-muted); font-size: 13px; line-height: 1.5; }
.bio-guestbook-status { min-height: 14px; margin: 0; color: var(--bio-muted); font-size: 13px; }
.bio-guestbook-list { display: grid; gap: 7px; max-height: 380px; overflow-y: auto; }
.bio-guestbook-entry { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 10px; border: 1px solid var(--bio-line, #34343f); border-radius: 9px; background: var(--bio-panel-raised, #191a24); }
.bio-guestbook-entry-content { min-width: 0; }
.bio-guestbook-entry-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; color: var(--bio-text); font-size: 13px; }
.bio-guestbook-entry-heading time { color: var(--bio-muted); font-size: 12px; }
.bio-guestbook-entry-content > p { margin: 5px 0 0; color: var(--bio-text); font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.bio-guestbook-remove { flex: none; min-height: 28px; padding: 0 9px; border: 1px solid #60363e; border-radius: 7px; color: #ffabb5; background: #381e2599; font-size: 12px; cursor: pointer; }
.bio-guestbook-remove:hover { border-color: #a95868; background: #4d242d; }
.bio-guestbook-remove:disabled { opacity: .5; cursor: wait; }
.bio-guestbook-empty { margin: 0; padding: 15px; border: 1px dashed var(--bio-line, #34343f); border-radius: 8px; color: var(--bio-muted); text-align: center; font-size: 13px; }


/* A focused workspace with a persistent section switcher and draft controls. */
.bio-studio { scroll-margin-top: calc(var(--bio-workbar-height, 100px) + 28px); }
.bio-preview-panel { top: calc(var(--bio-workbar-height, 100px) + 28px); }
.bio-workbar {
  position: sticky;
  top: 8px;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 24px;
  margin-bottom: 20px;
  padding: 12px 16px;
  border: 1px solid #3a3b48;
  border-radius: 14px;
  background: #15161ef5;
  box-shadow: 0 8px 30px #00000030;
  backdrop-filter: blur(16px);
}
.bio-editor-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; max-width: 600px; }
.bio-editor-tabs button { min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #b7b6c2; font-size: 15px; font-weight: 600; cursor: pointer; }
.bio-editor-tabs button:hover { background: #242630; color: var(--bio-text); }
.bio-editor-tabs button[aria-selected="true"] { border-color: #b8ef7e4d; background: #b8ef7e14; color: var(--bio-lime); }
.bio-workbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.bio-workbar .bio-view-tabs { position: static; margin: 0; }
.bio-workbar .bio-save-status { grid-column: 1 / -1; min-height: 20px; margin: 0 4px; color: #bab9c5; font-size: 13px; }
.bio-workbar .bio-action { flex-shrink: 0; min-height: 44px; padding: 10px 12px; white-space: nowrap; }
.bio-workbar .bio-view-tab { padding-right: 12px; padding-left: 12px; font-size: 13px; }
.bio-public .bio-workbar { display: none; }
.bio-section-intro { margin-top: 0; }
.bio-section-intro h2 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.025em; }
.bio-section-intro p { margin: 0; color: #b7b6c2; font-size: 15px; line-height: 1.65; }
.bio-editor-panel[hidden] { display: none; }
.bio-advanced { margin-top: 24px; padding: 0 16px; border: 1px solid #343642; border-radius: 10px; background: #11121a; }
.bio-advanced > summary, .bio-link-options > summary { min-height: 48px; padding: 13px 0; color: #d4d3dc; font-size: 14px; font-weight: 550; cursor: pointer; }
.bio-advanced[open] { padding-bottom: 16px; }
.bio-advanced > .bio-fieldset { margin-top: 8px; padding-top: 8px; border: 0; }
.bio-advanced > .bio-fieldset > legend { padding: 0; }
.bio-fieldset legend { font-size: 16px; }
.bio-fieldset-help, .bio-preview-note { font-size: 14px; line-height: 1.7; }
.bio-field, .bio-range-field, .bio-color-field, .bio-toggle { font-size: 14px; }
.bio-field input, .bio-field textarea, .bio-field select, .bio-select, .bio-share-field input,
.bio-badge-row input, .bio-section-edit > input, .bio-section-edit > textarea,
.bio-tab-edit input, .bio-tab-edit textarea, .bio-tab-edit select, .bio-preset-save-row input { min-height: 44px; font-size: 16px; }
.bio-tab-edit select { max-width: 100%; padding: 8px; border: 1px solid #3a3b48; border-radius: 6px; background: #101117; color: var(--bio-text); }
.bio-field-note, .bio-optional, .bio-privacy-note { color: #aaa9b5; font-size: 13px; line-height: 1.65; }
.bio-field > .bio-field-note { justify-self: start; margin-top: 0; }
.bio-toggle { min-height: 44px; align-items: flex-start; line-height: 1.5; padding-top: 10px; }
.bio-toggle input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; }
.bio-range-field input { min-height: 32px; }
.bio-action, .bio-add-link, .bio-theme-choice { min-height: 44px; font-size: 14px; }
.bio-remove-link, .bio-link-move, .bio-section-edit-heading .bio-remove-link { width: 44px; min-width: 44px; height: 44px; min-height: 44px; font-size: 18px; }
.bio-badge-row { grid-template-columns: minmax(0, 1fr) 44px; }
.bio-link-editor { gap: 16px; }
.bio-link-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; padding: 14px; border: 1px solid #343642; border-radius: 10px; background: #101118; }
.bio-link-heading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bio-link-heading strong { font-size: 13px; color: #bab9c5; }
.bio-link-order { grid-column: auto; gap: 6px; }
.bio-link-row .bio-field { margin: 0; font-size: 13px; }
.bio-link-row input { width: 100%; height: 44px; font-size: 16px; padding: 9px; }
.bio-link-options { grid-column: 1 / -1; border-top: 1px solid #ffffff0d; }
.bio-link-options > summary { color: #aaa9b5; font-size: 13px; }
.bio-link-options .bio-field-pair { padding-top: 4px; }
.bio-profile-bio, .bio-public .bio-profile-bio { font-size: 15px; }
.bio-link-label { font-size: 15px; }
.bio-link-domain { font-size: 12px; }
.bio-profile-nameblock h3 { font-size: 22px; }
.bio-profile-nameblock p { font-size: 14px; }
.bio-profile-footer { gap: 12px; flex-wrap: wrap; }
.bio-domain-input { min-width: 0; }
.bio-domain-input > span { white-space: nowrap; }
#bio-portability-status { min-height: 20px; }
@media (max-width: 850px) {
  .bio-workbar { grid-template-columns: 1fr; gap: 10px; padding: 10px 12px; }
  .bio-editor-tabs { max-width: none; }
  .bio-editor-tabs button { padding: 8px 4px; font-size: 14px; }
  .bio-workbar-actions { justify-content: space-between; }
  .bio-preview-panel { position: static; }
  .bio-intro { padding: 32px 0 24px; }
  .bio-nav a { font-size: 14px; }
  .bio-intro-copy { font-size: 15px; }
}
@media (max-width: 500px) {
  .bio-editor, .bio-preview-panel { padding: 20px 16px; }
  .bio-intro h1 { font-size: 36px; }
  .bio-link-row { padding: 12px; gap: 10px; }
  .bio-nav { gap: 14px; }
  .bio-nav a { font-size: 13px; }
  .bio-field-pair { grid-template-columns: 1fr; gap: 0; }
  .bio-link-options .bio-field-pair { gap: 12px; }
  .bio-advanced { padding-right: 12px; padding-left: 12px; }
  .bio-preset-save-row { flex-wrap: wrap; }
  .bio-preset-save-row input { flex-basis: 100%; }
  .bio-domain-input { flex-wrap: wrap; }
  .bio-profile-nameblock h3 { font-size: 20px; }
}

.bio-mobile-width { width: min(100%, 360px); margin-inline: auto; }
#bio-accessibility-results { margin: .75rem 0; padding: .65rem .8rem; border: 1px solid currentColor; border-radius: .65rem; }
.bio-drag-handle { cursor: grab; font-size: 1.25rem; padding-inline: .5rem; }

:is(#bio-profile-sections,#blocks) { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; }
.bio-typed-block { min-width: 0; border: 1px solid color-mix(in srgb, currentColor 24%, transparent); border-radius: .65rem; padding: .6rem .8rem; overflow-wrap: anywhere; }
.bio-typed-block[data-size="wide"] { grid-column: 1 / -1; }
.bio-typed-block summary { cursor: pointer; font-weight: 650; }
.bio-typed-content p { white-space: pre-wrap; }
.bio-typed-content progress { width: 100%; }
.bio-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: .6rem; margin-block-start: .7rem; }
.bio-gallery img { display: block; width: 100%; border-radius: .4rem; }
.bio-terminal { padding: .6rem; background: #12181a; color: #d6f4bc; border-radius: .45rem; }
.bio-terminal pre { max-height: 14rem; overflow: auto; white-space: pre-wrap; }
.bio-terminal label, .bio-terminal input { display: block; width: 100%; }
.bio-terminal form { display: flex; align-items: flex-end; gap: .5rem; }
@media (max-width: 38rem) {
  :is(#bio-profile-sections,#blocks) { grid-template-columns: minmax(0,1fr); }
}
.bio-mobile-width #bio-profile-sections { grid-template-columns: minmax(0,1fr); }

.bio-version-comparison { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .75rem; margin-block: .75rem; }
.bio-version-comparison[hidden] { display: none; }
.bio-version-card { min-width: 0; padding: .65rem; border: 1px solid currentColor; border-radius: .5rem; overflow-wrap: anywhere; }
.bio-version-swatch { padding: .35rem .5rem; border-inline-start: .25rem solid; }
.bio-terminal:is([data-theme="ice"],[data-theme="ocean"]) { background: #10202a; color: #bcf5ff; }
.bio-terminal:is([data-theme="violet"],[data-theme="rose"]) { background: #23152c; color: #f5cffa; }
.bio-terminal:is([data-theme="ember"],[data-theme="gold"]) { background: #2c1b12; color: #ffe3b2; }
.bio-terminal[data-theme="mono"] { background: #161616; color: #f5f5f5; }

.bio-project-screenshot { max-width: 100%; border-radius: .5rem; }
