/* Username registry and profile dossier */
.framed-corners { position: relative; }
.framed-corners::before,
.framed-corners::after {
    position: absolute;
    z-index: 2;
    width: 9px;
    height: 9px;
    pointer-events: none;
    content: "";
}
.framed-corners::before { top: 5px; left: 5px; border-top: 1px solid rgba(148,168,205,.62); border-left: 1px solid rgba(148,168,205,.62); }
.framed-corners::after { right: 5px; bottom: 5px; border-right: 1px solid rgba(148,168,205,.62); border-bottom: 1px solid rgba(148,168,205,.62); }
.button-gold {
    border-color: #ffdf9a;
    color: #241704;
    background: linear-gradient(180deg,#f6c454,#dfa32e);
    box-shadow: inset 0 0 12px rgba(255,231,168,.42),0 8px 24px -14px rgba(242,181,61,.65);
}
.button-gold:hover { border-color: #fff0c7; color: #241704; background: linear-gradient(180deg,#ffd066,#e7aa31); }

/* Registry */
.registry-header { padding-top: 46px; padding-bottom: 24px; }
.registry-header .page-eyebrow { margin-bottom: 13px; }
.registry-header h1 { margin: 0; font: 800 clamp(38px,5vw,58px)/.98 var(--font-display); letter-spacing: .01em; text-transform: uppercase; }
.registry-header p { max-width: 690px; margin: 9px 0 0; color: var(--muted); font-size: 15px; }
.registry-workspace { padding-bottom: 48px; }
.registry-search-row { display: flex; align-items: stretch; gap: 18px; margin-bottom: 20px; }
.registry-search {
    min-width: 0;
    min-height: 72px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 9px 9px 18px;
    border: 1px solid rgba(148,168,205,.22);
    border-radius: 8px;
    background: rgba(9,14,23,.9);
    box-shadow: 0 22px 55px -40px #000;
}
.registry-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,181,61,.12),0 22px 55px -40px #000; }
.registry-search > svg { width: 20px; height: 20px; flex: none; stroke: var(--dim); stroke-width: 1.7; stroke-linecap: round; }
.registry-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 17px; font-weight: 600; }
.registry-search input::placeholder { color: var(--dim); }
.registry-search-clear { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 7px; color: var(--muted); background: rgba(148,168,205,.1); font-size: 18px; }
.registry-search-clear:hover { color: var(--text); background: rgba(148,168,205,.16); }
.registry-stats { display: flex; gap: 12px; }
.registry-stat {
    min-width: 112px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid rgba(148,168,205,.18);
    border-radius: 8px;
    background: var(--surface-raised);
}
.registry-stat strong { color: var(--text); font: 700 20px var(--font-mono); letter-spacing: -.04em; }
.registry-stat span { margin-top: 3px; color: var(--muted); font: 800 9px var(--font-ui); letter-spacing: .12em; text-transform: uppercase; }
.registry-stat-available { border-color: rgba(79,214,196,.25); }
.registry-stat-available strong { color: var(--teal); }
.registry-stat-releasing { border-color: rgba(226,178,74,.27); }
.registry-stat-releasing strong { color: #e2b24a; }
.registry-filter-panel {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 22px 28px;
    overflow: hidden;
    padding: 18px 20px;
    border: 1px solid rgba(148,168,205,.2);
    border-radius: 8px;
    background: #111a28 url("../../images/redesign/hcard-panel2.png") right -70px top -82px / 390px no-repeat;
}
.registry-filter-panel::after { right: 5px; bottom: 5px; }
.registry-filter-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.registry-filter-group legend,
.registry-badge-filter label { display: block; margin-bottom: 9px; padding: 0; color: var(--dim); font: 800 10px var(--font-ui); letter-spacing: .13em; text-transform: uppercase; }
.registry-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.registry-chip,
.registry-sort-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 13px;
    border: 1px solid rgba(148,168,205,.18);
    border-radius: 6px;
    color: var(--text-soft);
    background: rgba(7,11,18,.42);
    font: 700 11.5px var(--font-ui);
    letter-spacing: .03em;
    transition: border-color .15s,color .15s,background .15s,transform .15s;
}
.registry-chip:hover,
.registry-sort-chip:hover { border-color: var(--line-strong); color: var(--text); background: rgba(148,168,205,.1); transform: translateY(-1px); }
.registry-chip.is-active,
.registry-sort-chip.is-active { border-color: var(--accent-bright); color: #f3f7ff; background: rgba(111,154,210,.18); box-shadow: inset 0 0 14px rgba(111,154,210,.08); }
.registry-chip.status-available.is-active { border-color: var(--teal); color: #9cf2e7; background: rgba(79,214,196,.12); }
.registry-chip.status-releasing.is-active { border-color: #e2b24a; color: #f7d58c; background: rgba(226,178,74,.12); }
.registry-chip.status-blocked.is-active { border-color: var(--red); color: #ffadb8; background: rgba(224,89,107,.12); }
.registry-filter-status { flex: 1; }
.registry-badge-filter { min-width: 165px; }
.registry-badge-filter select {
    width: 100%;
    min-height: 36px;
    padding: 8px 32px 8px 12px;
    border: 1px solid rgba(148,168,205,.18);
    border-radius: 6px;
    outline: 0;
    color: var(--text-soft);
    background-color: rgba(7,11,18,.76);
}
.registry-active-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 12px 2px 0; }
.registry-active-filters strong { margin-right: 3px; color: var(--dim); font: 800 10px var(--font-ui); letter-spacing: .1em; text-transform: uppercase; }
.registry-active-filters span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--text-soft); background: rgba(148,168,205,.06); font-size: 11px; }
.registry-active-filters a { margin-left: 5px; color: var(--accent-bright); font-size: 11.5px; font-weight: 700; }
.registry-results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0 14px; }
.registry-sort { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.registry-sort > span { margin-right: 2px; color: var(--dim); font: 800 10px var(--font-ui); letter-spacing: .13em; text-transform: uppercase; }
.registry-sort-chip { min-height: 34px; padding: 7px 12px; }
.registry-result-controls { display: flex; align-items: center; gap: 14px; }
.registry-result-controls > span { color: var(--dim); font: 400 11px var(--font-mono); white-space: nowrap; }
.registry-view-toggle { display: flex; gap: 4px; padding: 3px; border: 1px solid rgba(148,168,205,.18); border-radius: 6px; background: #080d15; }
.registry-view-toggle a { min-width: 53px; padding: 7px 10px; border-radius: 4px; color: var(--muted); text-align: center; font: 800 10px var(--font-ui); letter-spacing: .07em; text-transform: uppercase; }
.registry-view-toggle a.is-active { color: var(--text); background: rgba(111,154,210,.25); }
.registry-list { display: grid; gap: 8px; }
.registry-username-row { overflow: hidden; border: 1px solid rgba(148,168,205,.13); border-left: 3px solid var(--accent); border-radius: 10px; background: #111927; transition: border-color .15s,background .15s,transform .15s; }
.registry-username-row.status-available { border-left-color: var(--teal); }
.registry-username-row.status-releasing { border-left-color: #e2b24a; }
.registry-username-row.status-blocked { border-left-color: var(--red); }
.registry-username-row.status-unknown { border-left-color: var(--dim); }
.registry-username-row:hover { border-color: rgba(148,168,205,.28); border-left-color: var(--accent-bright); background: #141e2e; transform: translateX(3px); }
.registry-row-link { min-height: 76px; display: flex; align-items: center; gap: 15px; padding: 10px 17px; color: var(--text); }
.registry-row-link:hover { color: var(--text); }
.registry-row-rank { width: 38px; flex: none; color: var(--dim); font: 700 12px var(--font-mono); text-align: center; }
.registry-username-row:nth-child(-n+3) .registry-row-rank { color: var(--gold); }
.registry-row-head { width: 46px; height: 52px; flex: none; padding: 2px; background: linear-gradient(160deg,var(--accent-bright),rgba(148,168,205,.22)); clip-path: polygon(50% 0,96% 26%,96% 74%,50% 100%,4% 74%,4% 26%); }
.registry-row-head > span { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; background: #0b111c; clip-path: inherit; }
.registry-row-head img { width: 46px; height: 52px; max-width: none; object-fit: cover; }
.registry-row-identity { min-width: 0; flex: 1; display: grid; gap: 5px; }
.registry-row-name { min-width: 0; display: flex; align-items: center; gap: 7px; }
.registry-row-name strong { overflow: hidden; color: var(--text); font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.registry-verified { width: 16px; height: 16px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; color: #071311; background: var(--teal); font: 900 10px var(--font-ui); }
.registry-badge,
.registry-length { flex: none; padding: 2px 6px; border: 1px solid rgba(148,168,205,.16); border-radius: 5px; color: var(--muted); background: rgba(148,168,205,.07); font: 800 8.5px var(--font-ui); letter-spacing: .07em; text-transform: uppercase; }
.registry-badge.tone-teal { border-color: rgba(79,214,196,.45); color: var(--teal); background: rgba(79,214,196,.08); }
.registry-badge.tone-gold { border-color: rgba(242,181,61,.45); color: var(--gold); background: rgba(242,181,61,.08); }
.registry-badge.tone-purple { border-color: rgba(185,140,255,.45); color: var(--purple); background: rgba(185,140,255,.08); }
.registry-row-detail { min-width: 0; display: flex; align-items: center; gap: 9px; }
.registry-row-detail > span:last-child { overflow: hidden; color: var(--muted); font: 400 10.5px var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.registry-row-metric { width: 92px; flex: none; display: grid; justify-items: end; }
.registry-row-metric small { color: var(--dim); font: 700 8px var(--font-ui); letter-spacing: .09em; text-transform: uppercase; }
.registry-row-metric strong { margin-top: 2px; color: var(--text-soft); font: 700 12px var(--font-mono); }
.registry-row-arrow { width: 18px; flex: none; color: var(--accent-bright); font-size: 21px; text-align: right; }
.registry-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.registry-grid-card { position: relative; overflow: hidden; border: 1px solid rgba(148,168,205,.18); border-radius: 8px; background: linear-gradient(180deg,#121b2b,#0b101a); transition: transform .2s,border-color .2s,box-shadow .2s; }
.registry-grid-card:hover { border-color: var(--accent-bright); box-shadow: 0 0 0 1px var(--accent-bright),0 0 20px rgba(111,154,210,.22); transform: translateY(-4px); }
.registry-grid-card > a { display: block; color: var(--text); }
.registry-grid-status { position: absolute; z-index: 3; top: 10px; left: 10px; }
.registry-grid-card > a > .registry-length { position: absolute; z-index: 3; top: 10px; right: 10px; color: var(--text-soft); background: rgba(7,11,18,.68); }
.registry-grid-render { position: relative; height: 170px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: radial-gradient(62% 58% at 50% 42%,rgba(111,154,210,.2),transparent 72%); }
.registry-grid-render > span { position: absolute; bottom: -10px; width: 67%; height: 18px; border-radius: 50%; opacity: .5; background: radial-gradient(closest-side,var(--accent),transparent); filter: blur(2px); }
.registry-grid-render img { position: relative; z-index: 1; width: 168px; height: 168px; max-width: none; object-fit: contain; filter: drop-shadow(0 15px 13px rgba(0,0,0,.55)); transition: transform .22s; }
.registry-grid-card:hover .registry-grid-render img { transform: translateY(-3px) scale(1.02); }
.registry-grid-body { display: block; padding: 12px 14px 14px; border-top: 1px solid rgba(148,168,205,.1); }
.registry-grid-meta { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 5px; }
.registry-grid-meta span { overflow: hidden; color: var(--muted); font: 400 9.5px var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.registry-grid-meta strong { flex: none; color: var(--text-soft); font: 700 9.5px var(--font-mono); }

/* Profile dossier */
.profile-page { --profile-soft: color-mix(in srgb,var(--profile-accent) 18%,transparent); overflow-x: clip; }
.profile-hero { padding-top: 29px; padding-bottom: 26px; }
.profile-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--muted); font: 800 11px var(--font-ui); letter-spacing: .11em; text-transform: uppercase; }
.profile-back span { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid rgba(148,168,205,.3); border-radius: 50%; color: var(--profile-accent); background: #242c3b; font-size: 16px; }
.profile-back:hover { color: var(--text); }
.profile-dossier-layout { display: grid; grid-template-columns: 360px minmax(0,1fr); gap: 34px; align-items: start; }
.profile-collectible-wrap { position: relative; padding: 3px; border-radius: 11px; background: linear-gradient(160deg,var(--profile-accent),rgba(148,168,205,.12) 50%,var(--profile-accent)); box-shadow: 0 34px 60px -32px #000,0 0 35px -25px var(--profile-accent); }
.profile-collectible { position: relative; z-index: 2; overflow: hidden; border-radius: 8px; background: linear-gradient(180deg,#121b2b,#090e17); }
.profile-collectible > header { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; border-bottom: 1px solid rgba(148,168,205,.12); }
.profile-collectible > header strong { overflow: hidden; color: var(--profile-accent); font: 800 10px var(--font-ui); letter-spacing: .13em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.profile-collectible > header span { flex: none; color: var(--dim); font: 400 9px var(--font-mono); text-transform: uppercase; }
.profile-model-stage { position: relative; height: 360px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(58% 48% at 50% 37%,color-mix(in srgb,var(--profile-accent) 34%,transparent),transparent 72%),linear-gradient(180deg,color-mix(in srgb,var(--profile-accent) 7%,#101725),#0c111b); }
.profile-model-stage::before { position: absolute; inset: 0; opacity: .24; background: linear-gradient(90deg,transparent 49.8%,color-mix(in srgb,var(--profile-accent) 25%,transparent) 50%,transparent 50.2%); content: ""; }
.profile-model-grid { position: absolute; left: 50%; bottom: -8%; width: 150%; height: 34%; transform: translateX(-50%) perspective(46vh) rotateX(72deg); transform-origin: 50% 100%; background-image: linear-gradient(rgba(148,168,205,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(148,168,205,.18) 1px,transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(60% 70% at 50% 0%,#000 10%,transparent 72%); pointer-events: none; }
.profile-model-stage model-viewer { position: relative; z-index: 1; width: 100%; height: 360px; background: transparent; --poster-color: transparent; }
.profile-collectible > footer { padding: 13px 15px 15px; border-top: 1px solid rgba(148,168,205,.12); }
.profile-collectible > footer code { display: block; overflow-wrap: anywhere; margin-bottom: 10px; color: var(--dim); font: 400 9.5px var(--font-mono); }
.button-profile-primary { border-color: color-mix(in srgb,var(--profile-accent) 72%,#fff); color: color-mix(in srgb,var(--profile-accent) 12%,#07101b); background: linear-gradient(160deg,color-mix(in srgb,var(--profile-accent) 86%,#fff),var(--profile-accent)); box-shadow: inset 0 0 12px color-mix(in srgb,var(--profile-accent) 30%,transparent); }
.button-profile-primary:hover { border-color: color-mix(in srgb,var(--profile-accent) 65%,#fff); color: #07101b; background: linear-gradient(160deg,color-mix(in srgb,var(--profile-accent) 76%,#fff),var(--profile-accent)); filter: brightness(1.08); }
.profile-crystal { position: absolute; z-index: 3; width: 112px; height: 155px; pointer-events: none; opacity: 1; filter: drop-shadow(0 0 14px color-mix(in srgb,var(--profile-accent) 38%,transparent)); }
.profile-crystal::before,
.profile-crystal::after { position: absolute; background: linear-gradient(150deg,color-mix(in srgb,var(--profile-accent) 68%,#d9ceff),color-mix(in srgb,var(--profile-accent) 55%,#1c143c)); clip-path: polygon(25% 0,100% 28%,56% 100%,0 58%); content: ""; }
.profile-crystal::before { inset: 0 20px 12px 0; }
.profile-crystal::after { width: 44px; height: 72px; right: 0; top: 12px; transform: rotate(25deg); }
.profile-crystal-top { top: -21px; right: -40px; transform: scale(.65) rotate(8deg); transform-origin: top right; }
.profile-crystal-bottom { bottom: -34px; left: -35px; transform: scale(.56) rotate(178deg); }
.profile-identity { min-width: 0; padding-top: 5px; }
.profile-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.profile-title-row h1 { max-width: 100%; margin: 0; overflow-wrap: anywhere; font: 800 clamp(42px,5.3vw,66px)/.92 var(--font-display); letter-spacing: -.025em; text-transform: uppercase; }
.profile-verified-mark { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: #071311; background: var(--teal); font: 900 15px var(--font-ui); }
.profile-og-tag { padding: 5px 9px; border: 1px solid var(--teal); border-radius: 7px; color: var(--teal); font: 800 9px var(--font-ui); letter-spacing: .09em; text-transform: uppercase; }
.profile-bio { max-width: 720px; margin: 18px 0 0; color: var(--text-soft); font-size: 15px; }
.profile-primary-row { display: grid; gap: 16px; margin-top: 18px; }
.profile-actions { margin: 0; }
.profile-connection-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.profile-connection-summary > button { display: flex; align-items: center; gap: 7px; padding: 0; color: var(--text); background: transparent; cursor: pointer; }
.profile-connection-summary > button:hover strong { color: var(--profile-accent); }
.profile-connection-summary strong { font: 700 15px var(--font-mono); transition: color .15s; }
.profile-connection-summary small { color: var(--muted); font-size: 11px; }
.profile-avatar-stack { display: flex; padding-left: 9px; }
.profile-avatar-stack img { width: 31px; height: 31px; margin-left: -9px; border: 2px solid var(--bg); border-radius: 8px; object-fit: cover; background: var(--surface); }
.profile-social-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.profile-social-row > span { color: var(--dim); font: 800 9.5px var(--font-ui); letter-spacing: .13em; text-transform: uppercase; }
.profile-social-row .social-strip { margin: 0; }
.profile-page .social-button { border-color: color-mix(in srgb,var(--profile-accent) 34%,var(--line)); color: color-mix(in srgb,var(--profile-accent) 72%,var(--text)); background: color-mix(in srgb,var(--profile-accent) 8%,var(--surface)); }
.profile-page .profile-stats { margin-top: 22px; }
.profile-page .profile-stat { border-radius: 8px; background: #111a28; }
.profile-page .profile-stat strong { font-size: clamp(18px,2vw,23px); }
.profile-subheading { margin: 23px 0 11px; color: var(--muted); font: 800 11px var(--font-ui); letter-spacing: .13em; text-transform: uppercase; }
.profile-page .profile-badge { border-color: rgba(148,168,205,.14); background: #111a28; }
.profile-page .profile-badge:hover { border-color: var(--profile-accent); }
.profile-section { padding-top: 38px; padding-bottom: 22px; }
.profile-section-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.profile-section-heading .page-eyebrow { margin-bottom: 7px; }
.profile-section-heading h2 { margin: 0; font: 800 clamp(24px,3vw,32px) var(--font-display); text-transform: uppercase; }
.profile-section-heading h2 small { color: var(--dim); font: 700 13px var(--font-mono); letter-spacing: 0; text-transform: none; }
.profile-page .segment { border-radius: 9px; background: rgba(148,168,205,.06); }
.profile-page .segment.is-active { border-color: var(--profile-accent); color: #07101b; background: var(--profile-accent); }
.profile-page .wardrobe-track { gap: 14px; scrollbar-color: var(--profile-accent) rgba(148,168,205,.08); }
.profile-page .wardrobe-card { position: relative; border-color: rgba(148,168,205,.17); background: linear-gradient(180deg,#121b2b,#0b101a); }
.profile-page .wardrobe-card:hover { border-color: var(--profile-accent); transform: translateY(-2px); }
.profile-page .wardrobe-card > span { position: absolute; z-index: 2; top: 9px; left: 9px; padding: 3px 7px; border-radius: 5px; color: #07101b; background: var(--profile-accent); font: 800 8px var(--font-ui); letter-spacing: .1em; text-transform: uppercase; }
.profile-page .wardrobe-card-preview { background: radial-gradient(60% 60% at 50% 40%,color-mix(in srgb,var(--profile-accent) 20%,transparent),transparent 72%); }
.profile-page .wardrobe-card-preview img { width: 168px; height: 168px; object-fit: contain; }
.profile-column-heading { margin: 0 0 16px; color: var(--text-soft); font: 800 15px var(--font-ui); letter-spacing: .08em; text-transform: uppercase; }
.profile-column-heading small { color: var(--dim); font: 700 11px var(--font-mono); letter-spacing: 0; }
.profile-page .timeline::before { background: linear-gradient(var(--profile-accent),rgba(148,168,205,.15)); }
.profile-page .timeline-item::before { background: var(--profile-accent); box-shadow: 0 0 0 1px var(--profile-accent); }
.profile-page .section-heading { margin-bottom: 14px; }
.profile-page .section-heading h2 { color: var(--text-soft); font-size: 15px; letter-spacing: .08em; }
.profile-page .section-heading-copy { gap: 10px; }
.profile-page .section-rune { width: 8px; height: 8px; background: var(--profile-accent); box-shadow: 0 0 10px color-mix(in srgb,var(--profile-accent) 55%,transparent); }
.profile-page .connection { border-color: rgba(148,168,205,.12); background: #111a28; transition: border-color .15s,transform .15s,background .15s; }
.profile-page a.connection:hover { border-color: var(--profile-accent); background: color-mix(in srgb,var(--profile-accent) 7%,#111a28); transform: translateY(-2px); }
.profile-page .connection-more:hover { border-color: var(--profile-accent); background: color-mix(in srgb,var(--profile-accent) 8%,transparent); }
.dialog-eyebrow { display: block; margin-bottom: 2px; color: var(--dim); font: 800 8px var(--font-ui); letter-spacing: .13em; text-transform: uppercase; }

@media (max-width: 1160px) {
    .registry-search-row { flex-direction: column; }
    .registry-stats { align-self: flex-start; }
    .registry-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .profile-dossier-layout { grid-template-columns: 330px minmax(0,1fr); gap: 25px; }
}

@media (max-width: 900px) {
    .registry-filter-panel { align-items: flex-start; }
    .registry-filter-status { flex-basis: 100%; }
    .registry-results-toolbar { align-items: flex-start; flex-direction: column; }
    .registry-result-controls { width: 100%; justify-content: space-between; }
    .registry-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .profile-dossier-layout { grid-template-columns: 1fr; }
    .profile-collectible-wrap { width: min(100%,390px); margin-inline: auto; }
    .profile-identity { padding-top: 9px; }
    .profile-title-row { justify-content: center; }
    .profile-bio { margin-inline: auto; text-align: center; }
    .profile-primary-row { justify-items: center; }
    .profile-actions { justify-content: center; }
    .profile-social-row { justify-content: center; }
}

@media (max-width: 700px) {
    .registry-header { padding-top: 34px; }
    .registry-search { min-height: 64px; flex-wrap: wrap; padding: 13px 13px 13px 16px; }
    .registry-search input { width: calc(100% - 50px); }
    .registry-search .button { width: 100%; }
    .registry-stats { width: 100%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
    .registry-stat { min-width: 0; padding: 11px 10px; }
    .registry-stat strong { font-size: 15px; }
    .registry-filter-panel { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 17px 15px; background-position: right -150px top -90px; }
    .registry-badge-filter { width: 100%; }
    .registry-sort { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
    .registry-sort > span { grid-column: 1 / -1; }
    .registry-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .registry-row-link { min-height: 70px; gap: 10px; padding: 9px 11px; }
    .registry-row-rank { width: 28px; font-size: 10px; }
    .registry-row-head { width: 41px; height: 47px; }
    .registry-row-head img { width: 41px; height: 47px; }
    .registry-row-metric { width: 70px; }
    .registry-row-metric:first-of-type { display: none; }
    .profile-hero { padding-top: 22px; }
    .profile-title-row h1 { width: 100%; text-align: center; }
    .profile-page .profile-stats { grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
    .profile-section { padding-top: 30px; }
    .profile-section-heading { align-items: flex-start; flex-direction: column; }
    .profile-page .wardrobe-card { width: 154px; flex-basis: 154px; }
    .profile-page .wardrobe-card-preview { height: 154px; }
    .profile-page .wardrobe-card-preview img { width: 154px; height: 154px; }
}

@media (max-width: 460px) {
    .registry-header h1 { font-size: 36px; }
    .registry-header p { font-size: 14px; }
    .registry-stats { grid-template-columns: 1fr 1fr; }
    .registry-stat:first-child { grid-column: 1 / -1; }
    .registry-grid-render { height: 148px; }
    .registry-grid-render img { width: 148px; height: 148px; }
    .registry-grid-body { padding: 10px; }
    .registry-grid-meta { align-items: flex-start; flex-direction: column; }
    .registry-row-detail > span:last-child { display: none; }
    .registry-row-metric { display: none; }
    .profile-collectible-wrap { width: 100%; }
    .profile-model-stage,
    .profile-model-stage model-viewer { height: 340px; }
    .profile-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
    .profile-actions form,
    .profile-actions .button { width: 100%; }
    .profile-actions form .button { width: 100%; }
    .profile-connection-summary { justify-content: center; }
    .profile-page .badge-strip { justify-content: center; }
    .profile-section-heading .segment-group { width: 100%; }
    .profile-section-heading .segment { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .registry-chip,
    .registry-sort-chip,
    .registry-username-row,
    .registry-grid-card,
    .registry-grid-render img,
    .profile-page .wardrobe-card { transition: none; }
}
