/* About sheet — full-height side/bottom panel */

.about-open-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--surface-glass);
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    box-shadow:
        inset 0 0 16px rgba(90, 159, 212, 0.04),
        0 0 12px rgba(90, 159, 212, 0.03);
}

.about-open-btn i {
    transition: filter var(--transition);
}

.about-open-btn:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-border);
    background: var(--hover-ghost);
}

.about-open-btn:hover i {
    filter: drop-shadow(0 0 8px rgba(90, 159, 212, 0.5));
}

.about-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(2, 4, 14, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.about-sheet-backdrop[hidden] {
    display: none;
}

.about-sheet-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.about-sheet-backdrop.is-closing {
    opacity: 0;
    pointer-events: none;
}

.about-sheet {
    width: 100%;
    max-width: 600px;
    max-height: 85dvh;
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow:
        0 -8px 40px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(90, 159, 212, 0.06);
    transform: translateY(24px);
    transition: transform 0.3s cubic-bezier(0.32, 0, 0.67, 0);
    overflow: hidden;
}

.about-sheet-backdrop.is-open .about-sheet {
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.about-sheet-chrome {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--accent-soft);
}

.about-sheet-title {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: var(--letter-label);
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin: 0;
}

.about-sheet-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    background: transparent;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.about-sheet-close:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-border);
}

.about-sheet-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1.25rem 1.5rem 2rem;
    overscroll-behavior: contain;
}

/* Sections */
.about-section {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.about-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: var(--letter-label);
    text-transform: uppercase;
    color: var(--accent-cyan);
}

.about-section-title i {
    width: 1rem;
    text-align: center;
    font-size: 0.75rem;
}

/* Bio */
.about-bio p {
    margin: 0 0 0.8rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.about-bio p:last-child {
    margin-bottom: 0;
}

/* Gear */
.about-gear-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.about-gear-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-primary);
    font-size: 0.88rem;
    line-height: 1.4;
}

.about-gear-list li::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-cyan);
    flex-shrink: 0;
    opacity: 0.7;
}

/* Site */
.about-site-name {
    margin: 0 0 0.4rem;
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 500;
}

.about-site-note {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.55;
}

/* States */
.about-loading,
.about-empty,
.about-error {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-style: italic;
    padding: 1rem 0;
}

/* Desktop: show as side panel anchored right */
@media (min-width: 769px) {
    .about-sheet-backdrop {
        align-items: flex-start;
        justify-content: flex-end;
        padding: calc(var(--chrome-height, 64px) + 0.5rem) 1rem 1rem;
    }

    .about-sheet {
        max-height: calc(100dvh - var(--chrome-height, 64px) - 1.5rem);
        border-radius: var(--radius);
        border-bottom: 1px solid var(--border-subtle);
        transform: translateX(24px);
    }

    .about-sheet-backdrop.is-open .about-sheet {
        transform: translateX(0);
    }
}
