body.bio-page {
    background: radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.15), transparent 50%),
        radial-gradient(circle at 80% 10%, rgba(34, 211, 238, 0.12), transparent 45%),
        #0b0d14;
    color: #e7e7f2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.bio-page-main {
    flex: 1;
}

.bio-hero {
    max-width: 1100px;
    margin: 80px auto 40px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    gap: 32px;
}

.bio-card {
    background: rgba(16, 18, 28, 0.9);
    border: 1px solid rgba(139, 92, 246, 0.25);
    box-shadow: 0 30px 80px rgba(10, 10, 20, 0.6);
    border-radius: 24px;
    padding: 28px;
}

.bio-card h1 {
    font-size: 34px;
    margin-bottom: 10px;
}

.bio-muted {
    color: rgba(255, 255, 255, 0.6);
}

.bio-about {
    white-space: pre-wrap;
}

.bio-about blockquote {
    margin: 6px 0;
    padding: 6px 10px;
    border-left: 3px solid color-mix(in srgb, var(--accent, #8b5cf6) 60%, transparent);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.75);
}

.bio-about code {
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.9em;
}

.bio-panel {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.bio-form {
    display: grid;
    gap: 16px;
}

.bio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.bio-socials-grid {
    grid-template-columns: 1fr;
    gap: 14px;
}

.bio-input,
.bio-textarea,
.bio-select {
    width: 100%;
    background: rgba(10, 12, 20, 0.9);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
    padding: 12px 14px;
    color: #eef;
}

.bio-input-group {
    display: flex;
    align-items: center;
    border-radius: 14px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    background: rgba(10, 12, 20, 0.9);
    overflow: hidden;
}

.bio-color-group {
    gap: 8px;
    padding-right: 8px;
}

.bio-color-picker {
    width: 42px;
    height: 36px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.bio-color-picker::-webkit-color-swatch {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.bio-color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
}

.bio-input-social {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.bio-prefix {
    padding: 10px 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    border-right: 1px solid rgba(139, 92, 246, 0.2);
    background: rgba(6, 8, 14, 0.95);
    white-space: nowrap;
}

.bio-input--with-prefix {
    border: none;
    background: transparent;
    border-radius: 0;
    padding: 12px 14px;
}

.bio-input--with-prefix:focus {
    outline: none;
}

.bio-textarea {
    min-height: 120px;
    resize: vertical;
}

.bio-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 14px;
    background: linear-gradient(90deg, #6d5bff, #8b5cf6, #22d3ee);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.bio-button.secondary {
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.bio-alert {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 206, 86, 0.35);
    background: rgba(255, 206, 86, 0.08);
    color: #ffe6a3;
}

.bio-public-wrap {
    min-height: 100vh;
    padding: 120px 24px 80px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
}

.bio-profile-card {
    width: min(920px, 100%);
    background: rgba(12, 14, 22, 0.92);
    border-radius: 26px;
    border: 1px solid color-mix(in srgb, var(--accent, #8b5cf6) 30%, rgba(255, 255, 255, 0.08));
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.bio-banner {
    height: 300px;
    background: radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.35), transparent 50%),
        radial-gradient(circle at 80% 10%, rgba(34, 211, 238, 0.25), transparent 45%),
        rgba(20, 22, 34, 0.9);
    background-size: cover;
    background-position: center center;
    position: relative;
}

.bio-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 16, 0.15), rgba(8, 10, 16, 0.85));
}

.bio-profile-content {
    padding: 24px 28px 28px;
    display: grid;
    gap: 20px;
    position: relative;
}

.bio-avatar-wrap {
    width: 132px;
    height: 132px;
    border-radius: 999px;
    padding: 4px;
    background: rgba(16, 18, 28, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.08);
    margin-top: -96px;
    position: relative;
    overflow: visible;
}

.bio-avatar {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}

.bio-avatar-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    pointer-events: none;
    display: none;
}

.bio-status-indicator {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #94a3b8;
    border: 4px solid #0b0d14;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
    z-index: 4;
}

.bio-status-chip {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(12, 14, 22, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    z-index: 4;
    width: fit-content;
    max-width: 100%;
    align-self: flex-start;
}

.bio-status-chip-icon {
    display: inline-flex;
    width: auto;
    height: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    gap: 6px;
    padding: 0 6px 0 4px;
}

.bio-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid #0b0d14;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
    display: inline-block;
}

.bio-profile-header h1 {
    font-size: 30px;
    font-weight: 700;
}

.bio-name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}

.bio-handle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.bio-status-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    flex-wrap: wrap;
}

.bio-status-text {
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.bio-device-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    position: absolute;
    right: 28px;
    top: 20px;
    z-index: 6;
}

.bio-device {
    padding: 4px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent, #8b5cf6) 20%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent, #8b5cf6) 60%, transparent);
    font-size: 11px;
    color: #eef2ff;
}

.bio-headline {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.75);
}

.bio-custom-status {
    position: absolute;
    right: 28px;
    top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #2b2d31;
    border: 1px solid rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    z-index: 5;
    max-width: calc(100% - 180px);
    overflow: hidden;
}

.bio-custom-emoji {
    font-size: 16px;
}

.bio-custom-emoji img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

#customStatusText {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: inline-block;
}

.bio-badge-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(12, 14, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2px;
}

.bio-ptaszunio-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    min-height: 22px;
    overflow: visible;
}

.bio-ptaszunio-inline-badge {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    position: relative;
}

.bio-ptaszunio-inline-badge img,
.bio-ptaszunio-inline-emoji {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bio-ptaszunio-inline-badge::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translate(-50%, -100%);
    background: #111214;
    color: #fff;
    font-size: 11px;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    z-index: 10;
}

.bio-ptaszunio-inline-badge::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -4px;
    transform: translate(-50%, -100%);
    border: 6px solid transparent;
    border-top-color: #111214;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 9;
}

.bio-ptaszunio-inline-badge:nth-child(-n+3)::after {
    left: 0;
    transform: translate(0, -100%);
}

.bio-ptaszunio-inline-badge:nth-child(-n+3)::before {
    left: 11px;
    transform: translate(0, -100%);
}

.bio-ptaszunio-inline-badge:nth-last-child(-n+3)::after {
    left: auto;
    right: 0;
    transform: translate(0, -100%);
}

.bio-ptaszunio-inline-badge:nth-last-child(-n+3)::before {
    left: auto;
    right: 11px;
    transform: translate(0, -100%);
}

.bio-ptaszunio-inline-badge:hover::after,
.bio-ptaszunio-inline-badge:hover::before {
    opacity: 1;
    transform: translate(-50%, -110%);
}

.bio-ptaszunio-inline-badge:nth-child(-n+3):hover::after,
.bio-ptaszunio-inline-badge:nth-child(-n+3):hover::before,
.bio-ptaszunio-inline-badge:nth-last-child(-n+3):hover::after,
.bio-ptaszunio-inline-badge:nth-last-child(-n+3):hover::before {
    transform: translate(0, -110%);
}

.bio-owned-servers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bio-owned-server {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(12, 14, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.bio-owned-server:hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-1px);
}

.bio-owned-server img,
.bio-owned-server-fallback {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
}

.bio-owned-server-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.bio-owned-server-meta {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.bio-rp-buttons {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bio-rp-button {
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    text-decoration: none;
}

.bio-rp-button:hover {
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.bio-tag {
    padding: 4px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent, #8b5cf6) 18%, rgba(20, 22, 34, 0.9));
    border: 1px solid color-mix(in srgb, var(--accent, #8b5cf6) 60%, rgba(255, 255, 255, 0.18));
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bio-tag-badge {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    object-fit: cover;
    display: none;
}

.bio-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.bio-panel-wide {
    grid-column: 1 / -1;
}

.bio-section {
    margin-top: 20px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(20, 22, 34, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bio-panel-card {
    background: rgba(18, 20, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 16px;
    display: grid;
    gap: 12px;
}

.bio-panel-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.45);
}

.bio-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bio-badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent, #8b5cf6) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent, #8b5cf6) 50%, transparent);
    font-size: 12px;
    color: #eef2ff;
}

.bio-activity-list {
    display: grid;
    gap: 10px;
}

.bio-activity-row {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(12, 14, 22, 0.9);
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.bio-activity-row span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.bio-spotify {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.bio-spotify-body {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
}

.bio-spotify-art {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
}

.bio-spotify-text {
    display: grid;
    gap: 2px;
}

.bio-spotify-song {
    font-weight: 600;
    line-height: 1.15;
}

.bio-spotify-artist {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.1;
}

.bio-spotify-progress {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.bio-spotify-progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: #22c55e;
    border-radius: 999px;
}

.bio-spotify-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
}

.bio-spotify-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(216, 255, 229, 0.8);
}

.bio-rp-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(12, 14, 22, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.bio-rp-card.no-image {
    grid-template-columns: 1fr;
}

.bio-rp-image {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.bio-rp-text {
    display: grid;
    gap: 4px;
    min-width: 0;
    align-content: center;
}

.bio-rp-title {
    font-weight: 600;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    line-height: 1.15;
    min-width: 0;
    color: rgba(255, 255, 255, 0.96);
}

.bio-rp-small {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    object-fit: cover;
}

.bio-rp-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.1;
    display: block;
    min-width: 0;
}

.bio-connection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.bio-socials-section {
    display: grid;
    gap: 12px;
}

.bio-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.bio-social-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 14, 22, 0.9);
    border: 1px solid color-mix(in srgb, var(--accent, #8b5cf6) 50%, rgba(139, 92, 246, 0.2));
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bio-social-icon:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 211, 238, 0.6);
    color: #ffffff;
}

.bio-connection {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(12, 14, 22, 0.9);
    border: 1px solid rgba(139, 92, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #e9ddff;
}

.bio-connection-label {
    text-transform: capitalize;
    font-size: 13px;
}

.bio-connection-arrow {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.bio-music-block {
    margin-top: 8px;
}

.bio-music {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bio-music button {
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(34, 211, 238, 0.15);
    border: 1px solid rgba(34, 211, 238, 0.35);
    color: #c7f9ff;
}

.bio-link-line {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.bio-form-block {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(9, 11, 18, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bio-toggle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.bio-toggle-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(12, 14, 22, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.84);
}

.bio-toggle-card input[type='checkbox'] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent, #8b5cf6);
}

.bio-textarea--compact {
    min-height: 92px;
}

.bio-input-help {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.56);
}

.bio-decor-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.bio-particle {
    position: absolute;
    display: block;
    opacity: 0.65;
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.35));
    animation: none;
}

.bio-particle.is-stars,
.bio-particle.is-sparkles {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.bio-particle.is-sparkles::before,
.bio-particle.is-sparkles::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.bio-particle.is-snow {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.28);
}

.bio-hero-style-aurora {
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--accent, #8b5cf6) 22%, transparent), transparent 34%),
        rgba(12, 14, 22, 0.92);
}

.bio-hero-style-glass {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%),
        rgba(11, 13, 20, 0.86);
    backdrop-filter: blur(24px);
}

.bio-hero-style-obsidian {
    background:
        radial-gradient(circle at 20% -10%, rgba(255, 255, 255, 0.06), transparent 25%),
        linear-gradient(180deg, rgba(7, 9, 15, 0.92), rgba(12, 14, 22, 0.97));
}

.bio-profile-card.has-avatar-glow .bio-avatar-wrap::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent, #8b5cf6) 45%, transparent), transparent 65%);
    filter: blur(20px);
    opacity: 0.55;
    z-index: -1;
}

.bio-banner {
    transition: transform 0.4s ease;
}

.bio-banner-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.08) 45%, transparent 70%);
    mix-blend-mode: screen;
    opacity: 0.5;
}

.bio-hero-shell {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.bio-hero-main {
    display: grid;
    gap: 10px;
    min-width: 0;
    align-content: start;
}

.bio-hero-copy {
    display: grid;
    gap: 6px;
}

.bio-profile-header {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.bio-hero-main .bio-custom-status {
    position: static;
    top: auto;
    right: auto;
    max-width: fit-content;
    width: fit-content;
}

.bio-quote {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    font-style: italic;
}

.bio-stat-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bio-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(12, 14, 22, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.bio-like-button {
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bio-like-button.is-active {
    border-color: rgba(244, 114, 182, 0.4);
    color: #ffd3e2;
}

.bio-like-button:hover {
    transform: translateY(-1px);
}

.bio-fact-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bio-presence-shell {
    display: grid;
    gap: 12px;
}

.bio-device-badges {
    display: none;
}

.bio-skeleton-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 14, 22, 0.9);
}

.bio-skeleton-media,
.bio-skeleton-lines span {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.bio-skeleton-media::after,
.bio-skeleton-lines span::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    animation: bioShimmer 1.5s infinite;
}

.bio-skeleton-media {
    width: 72px;
    height: 72px;
    border-radius: 10px;
}

.bio-skeleton-lines {
    display: grid;
    gap: 8px;
}

.bio-skeleton-lines span {
    display: block;
    height: 10px;
    border-radius: 999px;
}

.bio-skeleton-lines span:nth-child(1) { width: 48%; }
.bio-skeleton-lines span:nth-child(2) { width: 72%; }
.bio-skeleton-lines span:nth-child(3) { width: 34%; }

.bio-link-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.bio-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    text-decoration: none;
    background: rgba(10, 12, 20, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.bio-link-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent, #8b5cf6) 55%, rgba(255, 255, 255, 0.16));
}

.bio-link-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent, #8b5cf6) 18%, rgba(12, 14, 22, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex: 0 0 auto;
}

.bio-link-card-text {
    min-width: 0;
    display: grid;
}

.bio-link-card-text strong {
    font-size: 14px;
}

.bio-link-card-text small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bio-mini-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bio-mini-link {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(12, 14, 22, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-size: 12px;
}

.bio-mini-link.is-static {
    cursor: default;
}

.bio-collection-picker {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(8, 10, 18, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bio-picker-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
}

.bio-picker-counter {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}

.bio-picker-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    z-index: 25;
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(8, 10, 18, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
    max-height: 340px;
    overflow-y: auto;
}

.bio-picker-result,
.bio-collection-item {
    width: 100%;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px 11px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    text-align: left;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.bio-picker-result:hover,
.bio-collection-item:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--accent, #8b5cf6) 55%, rgba(255, 255, 255, 0.15));
    background: rgba(255, 255, 255, 0.07);
}

.bio-picker-result img,
.bio-collection-item img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 12px;
}

.bio-picker-result-copy,
.bio-collection-item-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.bio-picker-result-copy strong,
.bio-collection-item-copy strong {
    font-size: 13px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bio-picker-result-copy small,
.bio-collection-item-copy small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bio-picker-result-fallback,
.bio-picker-selected-fallback,
.bio-collection-item-fallback {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent, #8b5cf6) 18%, rgba(15, 17, 24, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
}

.bio-picker-selected {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.bio-picker-selected-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 11px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.075);
}

.bio-picker-selected-item img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 12px;
}

.bio-picker-selected-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.bio-picker-selected-copy strong {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bio-picker-selected-copy small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.58);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bio-picker-remove {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
}

.bio-picker-remove:hover {
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
}

.bio-picker-empty,
.bio-picker-result-empty {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.bio-collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    align-items: start;
}

.bio-collection-card {
    padding: 18px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        rgba(10, 12, 20, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 14px;
    align-content: start;
    height: fit-content;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.bio-collection-card--setup {
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--accent, #8b5cf6) 12%, transparent), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        rgba(10, 12, 20, 0.84);
}

.bio-collection-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    min-width: 0;
    min-height: 24px;
}

.bio-collection-title span {
    min-width: 0;
    flex: 1 1 auto;
}

.bio-collection-title small {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.08em;
}

.bio-collection-list,
.bio-stack-list {
    display: grid;
    gap: 10px;
}

.bio-chip,
.bio-stack-item {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
}

.bio-stack-item {
    border-radius: 12px;
}

.bio-collection-card .bio-collection-item {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 72px;
    padding: 10px 11px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.08);
}

.bio-collection-card .bio-collection-item img,
.bio-collection-card .bio-collection-item-fallback {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.bio-collection-card .bio-collection-item-copy strong {
    font-size: 14px;
    line-height: 1.2;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bio-collection-card .bio-collection-item-copy small {
    margin-top: 2px;
    line-height: 1.25;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: rgba(255, 255, 255, 0.5);
}

.bio-collection-card .bio-collection-item:hover {
    transform: translateY(-2px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.05);
    border-color: color-mix(in srgb, var(--accent, #8b5cf6) 45%, rgba(255, 255, 255, 0.12));
}

@media (min-width: 1100px) {
    .bio-collections-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bio-collection-card--setup {
        grid-column: 1 / -1;
    }

    .bio-collection-card--setup .bio-collection-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.bio-guestbook-form {
    display: grid;
    gap: 8px;
}

.bio-guestbook-compose {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.bio-guestbook-input {
    min-height: 48px;
    max-height: 48px;
    resize: none;
}

.bio-guestbook-submit {
    min-height: 48px;
    padding-inline: 16px;
}

.bio-guestbook-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bio-guestbook-list {
    display: grid;
    gap: 10px;
}

.bio-guestbook-entry {
    padding: 15px 16px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(10, 12, 20, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.bio-guestbook-entry p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.bio-guestbook-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bio-guestbook-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bio-guestbook-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.bio-guestbook-author:hover {
    color: color-mix(in srgb, var(--accent, #8b5cf6) 70%, #ffffff);
}

.bio-guestbook-author-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.bio-guestbook-author-line {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    line-height: 1;
}

.bio-guestbook-author-copy strong {
    line-height: 1.1;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bio-guestbook-author-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.9em;
    height: 0.9em;
    margin-left: 2px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
    font-size: 13px;
    cursor: help;
}

.bio-guestbook-author-badge img {
    width: 1em;
    height: 1em;
    border-radius: 999px;
    object-fit: cover;
    display: block;
}

.bio-guestbook-author-badge-emoji {
    font-size: 1em;
    line-height: 1;
}

.bio-guestbook-time {
    white-space: nowrap;
}

.bio-guestbook-author img {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    object-fit: cover;
}

.bio-guestbook-delete {
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ffb4b4;
    font-size: 12px;
}

.bio-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.bio-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bio-rp-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
}

.bio-rp-image {
    width: 72px;
    height: 72px;
}

.bio-rp-text {
    min-width: 0;
    width: 100%;
}

.bio-rp-title {
    min-width: 0;
}

.bio-rp-title-text {
    color: rgba(255, 255, 255, 0.96);
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.bio-rp-sub {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes bioShimmer {
    to {
        transform: translateX(100%);
    }
}

@media (max-width: 900px) {
    .bio-hero {
        grid-template-columns: 1fr;
    }
    .bio-profile-content {
        padding: 20px;
    }
    .bio-rp-card {
        grid-template-columns: 88px 1fr;
        text-align: left;
    }
    .bio-rp-image {
        width: 88px;
        height: 88px;
        border-radius: 12px;
    }
    .bio-rp-card.no-image {
        grid-template-columns: 1fr;
    }
    .bio-hero-shell {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 14px;
    }
    .bio-hero-main {
        width: 100%;
    }
    .bio-link-cards,
    .bio-collections-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .bio-public-wrap {
        padding: 72px 12px 44px;
    }
    .bio-profile-card {
        border-radius: 18px;
    }
    .bio-banner {
        height: 180px;
        background-position: center center;
    }
    .bio-profile-content {
        padding: 14px;
        gap: 14px;
    }
    .bio-form-block {
        padding: 14px;
    }
    .bio-avatar-wrap {
        width: 96px;
        height: 96px;
        margin-top: -58px;
    }
    .bio-avatar-decoration {
        width: 130%;
        height: 130%;
    }
    .bio-status-indicator {
        width: 24px;
        height: 24px;
        right: 2px;
        bottom: 2px;
        border-width: 3px;
    }
    .bio-status-chip {
        font-size: 11px;
        padding: 5px 8px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .bio-device-badges {
        right: 14px;
        top: 14px;
        gap: 4px;
        max-width: calc(100% - 28px);
        justify-content: flex-end;
    }
    .bio-custom-status {
        position: static;
        order: 2;
        align-self: flex-start;
        font-size: 11px;
        padding: 5px 8px;
        max-width: 100%;
        margin-top: 2px;
    }
    .bio-profile-header {
        display: grid;
        gap: 8px;
    }
    .bio-hero-main {
        gap: 10px;
    }
    .bio-hero-main .bio-custom-status {
        max-width: 100%;
        width: auto;
    }
    .bio-quote {
        font-size: 13px;
    }
    .bio-profile-header h1 {
        font-size: clamp(24px, 8vw, 34px);
        line-height: 1.02;
        word-break: break-word;
    }
    .bio-name-row {
        gap: 8px;
        align-items: center;
    }
    .bio-tag {
        font-size: 10px;
        letter-spacing: 0.08em;
        padding: 4px 7px;
    }
    .bio-ptaszunio-inline {
        gap: 4px;
        flex-wrap: wrap;
    }
    .bio-ptaszunio-inline-badge {
        width: 20px;
        height: 20px;
    }
    .bio-status-line {
        flex-wrap: wrap;
        gap: 6px;
        font-size: 12px;
        line-height: 1.3;
    }
    .bio-stat-strip {
        gap: 8px;
    }
    .bio-stat-pill {
        padding: 8px 10px;
        font-size: 11px;
    }
    .bio-link-cards,
    .bio-collections-grid {
        grid-template-columns: 1fr;
    }
    .bio-link-card,
    .bio-collection-card,
    .bio-guestbook-entry {
        padding: 12px;
        border-radius: 14px;
    }
    .bio-guestbook-compose {
        grid-template-columns: 1fr;
    }
    .bio-guestbook-submit {
        width: 100%;
    }
    .bio-guestbook-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .bio-panel-card {
        padding: 14px;
        border-radius: 16px;
        gap: 10px;
    }
    .bio-panel-title {
        font-size: 11px;
        letter-spacing: 0.16em;
    }
    .bio-about {
        font-size: 14px;
        line-height: 1.55;
    }
    .bio-rp-image {
        width: 52px;
        height: 52px;
        border-radius: 10px;
    }
    .bio-rp-card {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
        align-items: center;
    }
    .bio-rp-card.no-image {
        grid-template-columns: 1fr;
    }
    .bio-rp-title {
        font-size: 14px;
    }
    .bio-rp-sub {
        font-size: 11px;
    }
    .bio-spotify-body {
        grid-template-columns: 48px 1fr;
        gap: 10px;
    }
    .bio-spotify-art {
        width: 48px;
        height: 48px;
    }
    .bio-spotify-song {
        font-size: 14px;
    }
    .bio-spotify-artist {
        font-size: 11px;
    }
    .bio-spotify-time {
        font-size: 10px;
    }
    .bio-social-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }
    .bio-social-icons {
        gap: 8px;
    }
    .bio-owned-servers {
        grid-template-columns: 1fr;
    }
    .bio-owned-server {
        padding: 10px;
        gap: 10px;
    }
    .bio-owned-server img,
    .bio-owned-server-fallback {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
    .bio-link-line {
        font-size: 12px;
        line-height: 1.4;
        word-break: break-word;
    }
    .bio-toggle-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .bio-public-wrap {
        padding-inline: 10px;
    }
    .bio-banner {
        height: 164px;
    }
    .bio-profile-content {
        padding: 12px;
    }
    .bio-form-block {
        padding: 12px;
    }
    .bio-avatar-wrap {
        width: 88px;
        height: 88px;
        margin-top: -52px;
    }
    .bio-status-chip {
        max-width: 100%;
        font-size: 10px;
    }
    .bio-profile-header h1 {
        font-size: clamp(22px, 8.5vw, 30px);
    }
    .bio-rp-card,
    .bio-spotify {
        padding: 9px;
    }
    .bio-stat-pill {
        width: 100%;
        justify-content: center;
    }
    .bio-panel-card {
        padding: 12px;
    }
    .bio-panel-title {
        letter-spacing: 0.12em;
    }
}
