/* Runtime account page ownership. */
/* BEGIN source account.html:inline-style account-page */
.account-dashboard {
        display: grid;
        gap: 28px;
        width: min(var(--layout-app-max), 100%);
        margin: 0 auto;
    }

    .account-header {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 22px;
        align-items: start;
        padding-bottom: 22px;
        border-bottom: 1px solid var(--line);
    }

    .account-avatar {
        display: grid;
        gap: 10px;
        justify-items: center;
    }

    .account-avatar-edit {
        position: relative;
        display: block;
        width: 92px;
        height: 92px;
        border-radius: 999px;
        cursor: pointer;
    }

    .account-avatar img {
        width: 92px;
        height: 92px;
        object-fit: cover;
        border: 1px solid rgba(47, 128, 255, 0.58);
        border-radius: 999px;
        background: #0b1424;
        box-shadow: 0 0 0 4px rgba(7, 12, 22, 0.88), 0 16px 34px rgba(0, 0, 0, 0.28);
    }

    .account-avatar-edit::after {
        content: "Edit";
        position: absolute;
        inset: auto 8px 8px;
        display: grid;
        place-items: center;
        min-height: 24px;
        border-radius: 999px;
        background: rgba(5, 7, 12, 0.82);
        color: var(--text);
        font-size: 0.72rem;
        font-weight: 800;
        opacity: 0;
        transition: opacity 150ms ease;
    }

    .account-avatar-edit:hover::after,
    .account-avatar-edit:focus-within::after {
        opacity: 1;
    }

    .account-avatar input[type="file"] {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .account-titlebar {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
    }

    .account-titlebar h1 {
        margin: 0;
        font-size: clamp(2rem, 3vw, 3rem);
    }

    .account-pill {
        display: inline-flex;
        min-height: 28px;
        align-items: center;
        padding: 5px 10px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.07);
        color: var(--muted);
        font-size: 0.78rem;
        font-weight: 800;
    }

    .account-pill.verified {
        border-color: rgba(201, 255, 38, 0.3);
        background: rgba(201, 255, 38, 0.14);
        color: var(--lime);
    }

    .account-fields {
        display: grid;
        gap: 10px;
        max-width: 900px;
        margin-top: 14px;
    }

    .account-field {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        align-items: start;
    }

    .account-field label {
        padding-top: 9px;
        color: var(--muted);
        font-size: 0.78rem;
        font-weight: 800;
        text-align: right;
        text-transform: uppercase;
    }

    .account-field input,
    .account-field textarea,
    .account-field select {
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.045);
    }

    .account-field textarea {
        min-height: 92px;
        resize: vertical;
    }

    .account-profile-meta {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .account-profile-bio {
        margin-top: 2px;
    }

    .account-preferences {
        display: grid;
        gap: 12px;
        min-width: 190px;
    }

    .account-preference {
        display: grid;
        gap: 6px;
    }

    .account-preference label {
        color: var(--muted);
        font-size: 0.74rem;
        font-weight: 800;
        text-transform: uppercase;
    }

    .account-preference select {
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.045);
    }

    .inline-edit {
        min-width: 0;
    }

    .account-titlebar .inline-edit {
        min-width: min(520px, 100%);
    }

    .account-titlebar .inline-edit-value {
        min-height: 0;
        padding: 0;
        border-radius: 4px;
        font-size: clamp(2rem, 3vw, 3rem);
        font-weight: 800;
        line-height: 1.16;
    }

    .account-titlebar .inline-edit input {
        min-height: 50px;
        font-size: clamp(1.55rem, 2.4vw, 2.35rem);
        font-weight: 800;
    }

    .inline-edit-value {
        display: block;
        width: 100%;
        min-height: 38px;
        padding: 9px 12px;
        border: 1px solid transparent;
        border-radius: 6px;
        background: transparent;
        color: var(--text);
        text-align: left;
        line-height: 1.35;
        cursor: text;
    }

    .inline-edit-value:hover,
    .inline-edit-value:focus-visible {
        border-color: rgba(47, 128, 255, 0.38);
        background: rgba(47, 128, 255, 0.08);
        color: var(--text);
        filter: none;
        transform: none;
        outline: none;
    }

    .inline-edit-value.empty {
        color: var(--muted);
    }

    .inline-edit.editing .inline-edit-value {
        display: none;
    }

    .inline-edit input,
    .inline-edit textarea {
        display: none;
    }

    .inline-edit.editing input,
    .inline-edit.editing textarea {
        display: block;
    }

    .account-actions {
        display: grid;
        gap: 10px;
        min-width: 160px;
    }

    .account-tabs {
        display: flex;
        gap: 28px;
        border-bottom: 1px solid var(--line);
    }

    .account-tab {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 15px 0;
        border: 0;
        border-bottom: 2px solid transparent;
        border-radius: 0;
        background: transparent;
        color: var(--muted);
        font-size: 0.92rem;
        font-weight: 800;
    }

    .account-tab:hover,
    .account-tab.active {
        color: var(--text);
        filter: none;
        transform: none;
    }

    .account-tab.active {
        border-bottom-color: var(--blue);
    }

    .account-count {
        padding: 2px 7px;
        border-radius: 999px;
        background: var(--blue-soft);
        color: var(--blue);
        font-size: 0.7rem;
    }

    .account-panel {
        display: none;
        gap: 18px;
    }

    .account-panel.active {
        display: grid;
    }

    .account-panel-header {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        align-items: end;
        justify-content: space-between;
    }

    .account-panel-header h2 {
        margin: 0 0 6px;
        font-size: 1.65rem;
    }

    .account-panel-header p {
        margin: 0;
        color: var(--muted);
    }

    .account-summary {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .account-stat {
        padding: 15px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.045);
    }

    .account-stat span {
        color: var(--muted);
        font-size: 0.74rem;
        font-weight: 800;
        text-transform: uppercase;
    }

    .account-stat strong {
        display: block;
        margin-top: 6px;
        font-size: 1.4rem;
    }

    .account-list {
        display: grid;
        border-top: 1px solid var(--line);
    }

    .account-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid var(--line);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
    }

    .account-row h3 {
        margin: 0;
        font-size: 1.05rem;
    }

    .account-row-main {
        display: flex;
        min-width: 0;
        gap: 14px;
        align-items: center;
    }

    .account-row-copy {
        min-width: 0;
    }

    .account-poster {
        width: 58px;
        height: 86px;
        flex: 0 0 auto;
        object-fit: cover;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 6px;
        background: #05070c;
    }

    .account-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 8px;
        color: var(--muted);
        font-size: 0.86rem;
    }

    .account-row-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-end;
    }

    .account-row-actions .remove-tag {
        display: inline-grid;
        place-items: center;
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        padding: 0;
        border: 1px solid rgba(255, 91, 79, 0.58);
        border-radius: 6px;
        background: rgba(255, 91, 79, 0.12);
        color: var(--danger);
        cursor: pointer;
    }

    .account-row-actions .remove-tag:hover {
        background: rgba(255, 91, 79, 0.2);
        color: #fff;
        transform: none;
    }

    .account-row-actions .remove-tag svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        fill: none;
    }

    .account-empty {
        padding: 24px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.045);
        color: var(--muted);
    }

    @media (max-width: 900px) {
        .account-header,
        .account-field,
        .account-profile-meta,
        .account-summary,
        .account-row {
            grid-template-columns: 1fr;
        }

        .account-avatar {
            justify-items: start;
        }

        .account-field label {
            padding-top: 0;
            text-align: left;
        }

        .account-actions,
        .account-row-actions {
            justify-content: flex-start;
        }

        .account-row-main {
            align-items: flex-start;
        }

        .account-tabs {
            gap: 18px;
            overflow-x: auto;
        }
    }
/* END source account.html:inline-style account-page */
