:root {
  --ink: #142033;
  --muted: #667085;
  --paper: #fffdf9;
  --line: rgba(20, 32, 51, .12);
  --shadow: 0 22px 70px rgba(37, 45, 64, .17);
  --havoc: #0877c9;
  --havoc-bright: #1597e5;
  --gamer: #e44968;
  --gamer-bright: #ef7890;
  --shared: #718f2a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f6f1ea;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.site-body {
  background:
    radial-gradient(circle at 8% 2%, rgba(21,151,229,.15), transparent 34rem),
    radial-gradient(circle at 92% 8%, rgba(239,120,144,.17), transparent 32rem),
    linear-gradient(180deg, #fbf7f1, #f2ece4 76%, #e9e3dc);
}
.site-shell {
  width: min(calc(100% - 32px), 1600px);
  margin: 0 auto;
  padding: 30px 0 max(26px, env(safe-area-inset-bottom));
}
.chooser-card {
  display: grid;
  grid-template-columns: minmax(330px, .42fr) minmax(560px, 1fr);
  overflow: hidden;
  border: 1px solid rgba(20,32,51,.08);
  border-radius: 34px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.chooser-copy { display: flex; flex-direction: column; min-width: 0; background: rgba(255,255,255,.94); }
.chooser-heading { padding: clamp(28px, 4vw, 54px) clamp(24px, 4vw, 52px) 24px; }
.kicker, .admin-kicker { margin: 0 0 8px; color: var(--havoc); font-size: .76rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.chooser-heading h1 { max-width: 12ch; margin: 0; font-size: clamp(2.25rem, 4vw, 4.8rem); line-height: .98; letter-spacing: -.055em; }
.chooser-heading p:last-child { max-width: 42rem; margin: 16px 0 0; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.55; }
.joint-bio { margin: 0 clamp(24px, 4vw, 52px) 8px; padding: 16px 18px; border: 1px solid rgba(113,143,42,.22); border-radius: 18px; background: linear-gradient(135deg, rgba(239,248,218,.9), rgba(255,255,255,.92)); }
.joint-bio-label { margin: 0 0 6px; color: var(--shared); font-size: .72rem; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.joint-bio p:last-child { margin: 0; color: #4f5c67; line-height: 1.65; }

.artwork-stage { position: relative; overflow: hidden; isolation: isolate; min-height: 100%; background: #0b9dda; }
.artwork-stage::after { content: ""; position: absolute; inset: auto 0 0; height: 24%; z-index: 1; pointer-events: none; background: linear-gradient(transparent, rgba(0,0,0,.18)); }
.artwork-stage picture, .artwork-stage img { display: block; width: 100%; height: auto; }
.person-hotspot { position: absolute; z-index: 2; display: flex; align-items: flex-end; justify-content: center; padding: 10px; border: 3px solid transparent; border-radius: 44% 44% 27% 27%; text-decoration: none; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.person-hotspot span { min-width: 8.2rem; padding: .55rem .8rem; border: 2px solid #fff; border-radius: 999px; color: #fff; text-align: center; font-weight: 900; font-size: clamp(.76rem, 1.1vw, 1.02rem); box-shadow: 0 7px 22px rgba(0,0,0,.28); }
.hotspot-havoc { left: 28.6%; top: 4.8%; width: 23.8%; height: 53%; }
.hotspot-havoc span { background: rgba(5,112,190,.94); }
.hotspot-gamer { left: 49.4%; top: 9.7%; width: 24.4%; height: 50%; }
.hotspot-gamer span { background: rgba(224,64,96,.94); }
.person-hotspot:hover, .person-hotspot:focus-visible, .person-hotspot.is-selected { border-color: rgba(255,255,255,.95); background: rgba(255,255,255,.10); transform: scale(1.015); outline: none; }

.profile-choice-buttons { display: grid; gap: 12px; margin-top: auto; padding: 20px clamp(18px, 3.2vw, 46px) clamp(22px, 3.4vw, 48px); }
.profile-choice { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 80px; padding: 9px 15px 9px 9px; border: 2px solid; border-radius: 21px; text-decoration: none; box-shadow: 0 10px 24px rgba(20,32,51,.09); transition: transform .15s ease, box-shadow .15s ease; }
.profile-choice img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.profile-choice > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.profile-choice strong { font-size: 1.06rem; }
.profile-choice small { overflow: hidden; color: #526174; font-size: .75rem; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.profile-choice--havoc { color: #075f9f; border-color: #68b8ec; background: #eff9ff; }
.profile-choice--gamer { color: #bd3452; border-color: #f4a0b2; background: #fff3f5; }
.profile-choice:hover, .profile-choice:focus-visible, .profile-choice.is-selected { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(20,32,51,.14); outline: none; }
.choice-arrow { font-size: 2rem; font-weight: 500; line-height: 1; }

.content-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(310px, .8fr); align-items: start; gap: 24px; margin-top: 24px; }
.content-grid.no-profile-selected { grid-template-columns: 1fr; }
.profiles-stage { min-width: 0; scroll-margin-top: 14px; }
.profiles-stage.is-empty { display: none; }
.profile-card { overflow: hidden; border-radius: 34px; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(20,32,51,.08); animation: profile-in .26s ease both; }
.profile-hero { position: relative; min-height: 360px; padding: 46px 30px 30px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 54px); overflow: hidden; }
.profile-card--havoc .profile-hero {
  background-color: #dff3ff;
  background-image: linear-gradient(rgba(8,119,201,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(8,119,201,.11) 1px, transparent 1px), linear-gradient(135deg, #1597e5 0 42%, #eaf8ff 42% 100%);
  background-size: 28px 28px, 28px 28px, auto;
}
.profile-card--gamer .profile-hero {
  background-color: #fff1e8;
  background-image: radial-gradient(circle at 12% 22%, #fff 0 5px, transparent 6px), radial-gradient(circle at 86% 17%, #f08aa1 0 7px, transparent 8px), radial-gradient(circle at 76% 78%, #f5c85a 0 6px, transparent 7px), linear-gradient(135deg, rgba(239,120,144,.18) 25%, transparent 25%) 0 0/42px 42px, linear-gradient(135deg, #f7b0bf 0 42%, #fff5ed 42% 100%);
}
.profile-hero::before, .profile-hero::after { content: ""; position: absolute; opacity: .75; }
.profile-card--havoc .profile-hero::before { width: 190px; height: 190px; left: -62px; top: 18px; border: 3px solid rgba(255,255,255,.55); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.08); }
.profile-card--havoc .profile-hero::after { width: 120px; height: 4px; right: 26px; top: 76px; background: #fff; box-shadow: 0 22px 0 #fff, 0 44px 0 #fff; border-radius: 4px; transform: rotate(-18deg); }
.profile-card--gamer .profile-hero::before { width: 150px; height: 150px; left: -35px; top: 8px; background: repeating-radial-gradient(circle, #fff 0 5px, #f7c8d2 6px 11px); border-radius: 50%; opacity: .38; }
.profile-card--gamer .profile-hero::after { width: 125px; height: 42px; right: -20px; top: 38px; background: repeating-linear-gradient(45deg,#ef7890 0 10px,#fff 10px 20px); border-radius: 6px; transform: rotate(8deg); }
.back-to-chooser { position: absolute; left: 16px; top: 16px; z-index: 3; min-height: 42px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; background: rgba(255,255,255,.86); color: var(--ink); cursor: pointer; font-weight: 800; backdrop-filter: blur(8px); }
.profile-avatar-wrap { position: relative; z-index: 2; width: clamp(160px, 15vw, 220px); height: clamp(160px, 15vw, 220px); padding: 6px; border-radius: 50%; background: #fff; box-shadow: 0 18px 38px rgba(30,41,59,.24); }
.profile-avatar { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.profile-card--havoc .profile-avatar-wrap { border: 4px solid #32a8ef; }
.profile-card--gamer .profile-avatar-wrap { border: 4px solid #ef7890; }
.profile-title-block { position: relative; z-index: 2; min-width: 0; }
.profile-handle { margin: 0 0 7px; font-size: .9rem; font-weight: 850; color: #526174; }
.profile-title-block h2 { margin: 0; font-size: clamp(2.8rem, 5.2vw, 5rem); line-height: .94; letter-spacing: -.06em; overflow-wrap: anywhere; }
.profile-card--havoc .profile-title-block h2 { color: #075f9f; }
.profile-card--gamer .profile-title-block h2 { color: #d44362; }
.profile-tagline { max-width: 650px; margin: 14px 0 0; color: #334155; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 750; line-height: 1.5; }
.profile-content { padding: clamp(22px, 3vw, 38px); }
.profile-about { margin: 0 0 22px; padding: 16px 18px; border: 1px solid rgba(59,130,246,.14); border-radius: 16px; background: rgba(255,255,255,.68); }
.profile-card--gamer .profile-about { border-color: rgba(236,72,153,.16); }
.profile-about-label { margin: 0 0 5px; color: #526172; font-size: .72rem; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.profile-bio { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.link-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.link-button { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 68px; padding: 10px 16px 10px 10px; border: 2px solid; border-radius: 18px; background: #fff; text-decoration: none; font-weight: 900; box-shadow: 0 8px 17px rgba(20,32,51,.09); transition: transform .15s ease, box-shadow .15s ease; }
.profile-card--havoc .link-button { border-color: #94d1f5; }
.profile-card--gamer .link-button { border-color: #f5afbd; }
.link-button:hover, .link-button:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(20,32,51,.14); outline: none; }
.link-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #f3f6fa; color: #314056; }
.link-icon svg { width: 25px; height: 25px; }
.link-button--youtube .link-icon { color: #fff; background: #ff0033; }
.link-button--instagram .link-icon { color: #fff; background: linear-gradient(135deg,#5d3fd3,#e53b72,#f3a33b); }
.link-button--twitch .link-icon { color: #fff; background: #9146ff; }
.link-button--amazon .link-icon { color: #111; background: #ffcf55; }
.link-button--shop .link-icon, .link-button--etsy .link-icon { color: #fff; background: #e66a45; }
.link-button--email .link-icon { color: #fff; background: #4b647d; }
.link-button--blog .link-icon { color: #fff; background: #1777b8; }
.link-button--tiktok .link-icon, .link-button--x .link-icon { color: #fff; background: #111; }
.link-button--linkedin .link-icon { color: #fff; background: #0a66c2; }
.link-button--qrz .link-icon { color: #fff; background: #c94f2a; }
.link-button--mastodon .link-icon { color: #fff; background: #6364ff; }
.link-button--bluesky .link-icon { color: #fff; background: #1185fe; }
.link-button--running .link-icon { color: #fff; background: #718f2a; }
.link-button--radio .link-icon { color: #fff; background: #315f83; }
.link-button--craft .link-icon { color: #fff; background: #dd6680; }
.link-button--game .link-icon { color: #fff; background: #7054bd; }
.link-label { min-width: 0; overflow-wrap: anywhere; }
.link-arrow { font-size: 2rem; font-weight: 400; line-height: 1; color: #667085; }
.empty-links { grid-column: 1 / -1; margin: 0; padding: 22px; border: 2px dashed var(--line); border-radius: 18px; color: var(--muted); text-align: center; }
.share-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 50px; margin-top: 18px; border: 0; border-radius: 15px; background: #f1f4f7; color: #445269; cursor: pointer; font-weight: 850; }
.share-button svg { width: 20px; height: 20px; }

.shared-card { position: sticky; top: 20px; overflow: hidden; padding: clamp(22px, 3vw, 34px); border: 1px solid rgba(20,32,51,.09); border-radius: 30px; background: rgba(255,255,255,.93); box-shadow: var(--shadow); }
.shared-card--wide { position: static; width: 100%; }
.shared-card-heading { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.shared-card-heading h2 { margin: 0; font-size: clamp(1.8rem, 2.4vw, 2.8rem); letter-spacing: -.04em; }
.shared-card-heading p:last-child { margin: 7px 0 0; color: var(--muted); line-height: 1.5; }
.shared-icon { flex: 0 0 auto; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #eef5dc; color: var(--shared); }
.shared-icon svg { width: 30px; height: 30px; }
.shared-link-list { grid-template-columns: 1fr; }
.link-button--shared { border-color: #bfd38a; background: #fcfff4; }
.site-footer { display: flex; justify-content: space-between; gap: 14px; padding: 24px 8px 0; color: #7a8492; font-size: .86rem; }
.notice { margin: 16px; padding: 14px 16px; border: 1px solid #cbd5e1; border-radius: 14px; background: #f8fafc; color: #334155; }
.notice-error { color: #8a1c2d; border-color: #f0a7b4; background: #fff0f2; }
.notice-success { color: #116138; border-color: #9ed5b9; background: #edf9f2; }

/* Admin and installer */
.admin-body { color: #f4f8fc; background: #071624; }
.admin-body a { color: inherit; }
.admin-topbar { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px max(18px, calc((100vw - 1320px)/2)); background: rgba(7,22,36,.94); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(15px); }
.admin-topbar div { display: grid; gap: 2px; }
.admin-topbar span { color: #9fb2c4; font-size: .82rem; }
.admin-topbar nav { display: flex; gap: 16px; }
.admin-container { width: min(calc(100% - 24px), 1320px); margin: 28px auto 60px; }
.admin-intro { margin: 0 0 24px; }
.admin-intro h1 { margin: 0; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.045em; }
.admin-intro > p:last-child, .admin-help { color: #a5b8c8; line-height: 1.55; }
.admin-section { scroll-margin-top: 84px; margin: 0 0 22px; padding: clamp(18px, 3vw, 30px); border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: rgba(255,255,255,.05); box-shadow: 0 18px 55px rgba(0,0,0,.18); }
.shared-admin-section { border-color: rgba(181,218,94,.24); }
.admin-section-title { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.admin-section-title img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.85); }
.admin-section-title p, .admin-section-title h2 { margin: 0; }
.admin-section-title p { color: #9fb2c4; }
.admin-preview-link { margin-left: auto; padding: 9px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; text-decoration: none; color: #dceaf4; }
.admin-shared-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 18px; background: rgba(155,192,67,.18); color: #cbe57e; }
.admin-shared-icon svg { width: 36px; height: 36px; }
.database-status { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.database-status span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.05); color: #c9d8e4; font-size: .84rem; }
.database-status code { color: #aee2ff; overflow-wrap: anywhere; }
details { border-top: 1px solid rgba(255,255,255,.12); padding: 15px 0; }
summary { cursor: pointer; font-weight: 900; }
.stack-form, .admin-grid-form { display: grid; gap: 14px; margin-top: 16px; }
.admin-grid-form { grid-template-columns: repeat(2, minmax(0,1fr)); }
.admin-grid-form label, .stack-form label, .link-editor label, .installer-form label { display: grid; gap: 7px; color: #b8c7d4; font-size: .88rem; font-weight: 750; }
.field-help { color: #8fa6b8; font-size: .78rem; font-weight: 500; line-height: 1.4; }
input, textarea, select { width: 100%; border: 1px solid rgba(255,255,255,.17); border-radius: 11px; padding: 11px 12px; background: rgba(0,0,0,.24); color: #fff; }
select option { color: #111; }
input:focus, textarea:focus, select:focus { outline: 2px solid #39aef2; outline-offset: 1px; }
.wide-field { grid-column: 1 / -1; }
.checkbox-field { display: flex !important; align-items: center; gap: 8px !important; align-self: center; white-space: nowrap; }
.checkbox-field input { width: auto; }
.primary-button, .danger-button { min-height: 46px; padding: 11px 17px; border-radius: 13px; cursor: pointer; font-weight: 900; }
.primary-button { border: 0; background: #2ba8ef; color: #031522; }
.danger-button { border: 1px solid rgba(255,101,123,.5); background: rgba(255,82,109,.12); color: #ffabb8; }
.button-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.admin-links-list { display: grid; gap: 12px; margin: 14px 0 18px; }
.link-editor-card { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(0,0,0,.16); transition: opacity .15s ease, transform .15s ease, border-color .15s ease; }
.link-editor-card.is-dragging { opacity: .72; transform: scale(.995); border-color: #4fc0ff; box-shadow: 0 16px 35px rgba(0,0,0,.28); }
.link-editor-card.is-touch-dragging { touch-action: none; }
.sort-controls { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 12px; border-bottom: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.035); }
.drag-handle, .sort-arrow { display: inline-grid; place-items: center; width: 36px; height: 32px; border: 1px solid rgba(255,255,255,.17); border-radius: 9px; background: rgba(255,255,255,.06); color: #dbe9f3; cursor: grab; }
.drag-handle { font-size: 1.2rem; touch-action: none; }
.drag-handle:active { cursor: grabbing; }
.sort-arrow { cursor: pointer; }
.sort-status { margin-left: auto; color: #9fd48c; font-size: .8rem; font-weight: 800; }
.sort-status.is-error { color: #ff9aac; }
.link-editor { display: grid; grid-template-columns: 150px minmax(150px,1fr) minmax(260px,2fr) auto 100px auto; align-items: end; gap: 10px; padding: 13px; }
.link-stats { display: grid; gap: 3px; color: #dbe8f2; font-size: .82rem; }
.link-stats small { color: #8fa6b8; }
.delete-form { display: flex; justify-content: flex-end; padding: 0 13px 13px; }
.social-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.social-presets span { color: #9fb2c4; font-size: .82rem; font-weight: 800; }
.social-presets button { min-height: 34px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.06); color: #e6f0f7; cursor: pointer; font-weight: 800; }
.social-presets button:hover, .social-presets button:focus-visible { border-color: #4fc0ff; background: rgba(79,192,255,.12); outline: none; }
.add-link-form { margin-top: 10px; border: 1px dashed rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.025); }
.login-shell, .installer-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px 14px; }
.login-shell { align-content: center; gap: 14px; }
.login-card, .installer-card { width: min(100%, 510px); padding: clamp(22px,5vw,34px); border: 1px solid rgba(255,255,255,.14); border-radius: 26px; background: rgba(255,255,255,.06); box-shadow: 0 28px 80px rgba(0,0,0,.32); }
.installer-card { width: min(100%, 760px); }
.login-card > img, .installer-card > img { border-radius: 24px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.login-card h1, .installer-card h1 { margin: 14px 0 8px; font-size: clamp(2rem, 7vw, 3.2rem); letter-spacing: -.04em; }
.back-link { width: min(100%, 510px); color: #9fb2c4; }
.installer-copy { color: #a9bac8; line-height: 1.6; }
.installer-form { display: grid; gap: 18px; }
.installer-form fieldset { margin: 0; padding: 17px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; }
.installer-form legend { padding: 0 8px; font-weight: 900; }
.installer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

@keyframes profile-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  .chooser-card { grid-template-columns: minmax(300px, .48fr) minmax(500px, 1fr); }
  .content-grid { grid-template-columns: minmax(0, 1.55fr) minmax(290px, .8fr); }
  .profile-hero { grid-template-columns: 180px minmax(0,1fr); }
  .link-list { grid-template-columns: 1fr; }
  .link-editor { grid-template-columns: 140px 1fr minmax(230px,2fr); }
  .link-editor .checkbox-field, .link-stats, .link-editor button { grid-column: auto; }
}

@media (max-width: 900px) {
  .site-shell { width: min(calc(100% - 20px), 900px); padding-top: 14px; }
  .chooser-card { display: flex; flex-direction: column; border-radius: 26px; }
  .chooser-heading { text-align: center; }
  .chooser-heading h1 { max-width: none; }
  .artwork-stage { order: -1; min-height: auto; }
  .artwork-stage picture, .artwork-stage img { height: auto; object-fit: contain; }
  .profile-choice-buttons { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .content-grid, .content-grid.no-profile-selected { grid-template-columns: 1fr; }
  .shared-card { position: static; }
  .profile-hero { grid-template-columns: 170px minmax(0,1fr); min-height: 330px; }
  .link-editor { grid-template-columns: 1fr 1fr; }
  .link-editor .url-field, .link-stats, .link-editor button { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-shell { width: min(calc(100% - 12px), 640px); padding-top: 6px; }
  .chooser-card, .profile-card, .shared-card { border-radius: 22px; }
  .chooser-heading { padding: 23px 16px 17px; }
  .joint-bio { margin: 0 13px 4px; padding: 14px 15px; }
  .chooser-heading h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .profile-choice-buttons { grid-template-columns: 1fr; padding: 13px; }
  .profile-choice small { white-space: normal; }
  .person-hotspot { padding: 4px; }
  .person-hotspot span { min-width: auto; padding: .35rem .55rem; font-size: .7rem; }
  .profile-hero { min-height: 390px; padding: 56px 16px 24px; display: flex; flex-direction: column; justify-content: flex-end; text-align: center; gap: 15px; }
  .profile-avatar-wrap { width: 154px; height: 154px; }
  .profile-title-block h2 { font-size: clamp(2.35rem, 13vw, 3.4rem); }
  .profile-tagline { margin-inline: auto; }
  .profile-content { padding: 18px 14px 22px; }
  .link-button { min-height: 62px; border-radius: 16px; }
  .shared-card { padding: 20px 15px; }
  .site-footer { padding-inline: 4px; }
  .admin-grid-form, .installer-grid { grid-template-columns: 1fr; }
  .wide-field { grid-column: auto; }
  .admin-topbar { align-items: flex-start; }
  .admin-topbar nav { display: grid; text-align: right; gap: 5px; }
  .admin-section-title { flex-wrap: wrap; }
  .admin-preview-link { margin-left: 0; }
  .link-editor { grid-template-columns: 1fr; }
  .link-editor .url-field, .link-stats, .link-editor button { grid-column: auto; }
}

@media (max-width: 460px) {
  .hotspot-havoc { left: 28%; width: 25%; }
  .hotspot-gamer { left: 49%; width: 26%; }
  .profile-choice { grid-template-columns: 54px minmax(0,1fr) auto; }
  .profile-choice img { width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
