    .api-profile-shell {
        display: grid;
        gap: 18px;
        position: relative;
    }
    .api-profile-home-btn {
        top: 16px;
        right: 16px;
        z-index: 5;
    }
    .api-profile-title {
        margin: 0;
        color: #0f3f69;
        text-align: center;
    }
    .api-profile-copy {
        margin: 0;
        color: #5d6b7d;
        font-size: 12px;
        line-height: 1.7;
        text-align: center;
    }
    .api-profile-searchbar {
        display: grid;
        grid-template-columns: 160px minmax(0, 1fr) 120px;
        gap: 12px;
    }
    .api-profile-searchbar select,
    .api-profile-searchbar input,
    .api-profile-searchbar button {
        min-height: 46px;
        box-sizing: border-box;
        border-radius: 12px;
    }
    .api-profile-searchbar select,
    .api-profile-searchbar input {
        padding: 0 14px;
        font-size: 14px;
        border: 1px solid rgba(28, 70, 108, 0.16);
        background: rgba(255, 255, 255, 0.92);
    }
    .api-profile-searchbar button {
        color: #fff;
        font-weight: 700;
        cursor: pointer;
        background: linear-gradient(135deg, #1d5587, #2f87d7);
        border: none;
        box-shadow: 0 10px 24px rgba(47, 135, 215, 0.24);
    }
    .api-profile-status {
        min-height: 20px;
        color: #546274;
        font-size: 12px;
        text-align: center;
    }
    .api-profile-status.is-error {
        color: #bf4a4a;
    }
    .api-profile-status.is-success {
        color: #286c4b;
    }
    .api-profile-summary {
        display: grid;
        gap: 18px;
    }
    .api-profile-main-card {
        display: grid;
        grid-template-columns: 196px minmax(0, 1fr);
        gap: 20px;
        align-items: center;
        padding: 22px;
        border: 1px solid rgba(20, 52, 82, 0.1);
        border-radius: 18px;
        background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(241,247,255,0.88));
    }
    .api-profile-image-frame {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 300px;
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(23, 47, 74, 0.9), rgba(46, 82, 120, 0.92));
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
        overflow: hidden;
    }
    .api-profile-image-frame img {
        max-width: 180%;
        max-height: 280px;
        object-fit: contain;
    }
    .api-profile-image-frame img.is-fitted,
    .api-appearance-thumb img.is-fitted {
        position: absolute;
        max-width: none;
        max-height: none;
        object-fit: fill;
    }
    .api-profile-image-placeholder {
        padding: 0 18px;
        color: rgba(233, 242, 255, 0.82);
        font-size: 12px;
        line-height: 1.7;
        text-align: center;
    }
    .api-profile-meta {
        display: grid;
        gap: 8px;
    }
    .api-profile-name {
        color: #17314d;
        font-size: 26px;
    }
    .api-profile-zero-switch {
        display: none;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: -2px;
    }
    .api-profile-zero-switch.is-visible {
        display: flex;
    }
    .api-profile-zero-switch-label {
        color: #627488;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.02em;
    }
    .api-profile-zero-switch-btn {
        min-width: 54px;
        padding: 8px 14px;
        color: #315170;
        font-size: 11px;
        font-weight: 800;
        cursor: pointer;
        background: rgba(226, 235, 245, 0.92);
        border: 1px solid rgba(38, 73, 108, 0.14);
        border-radius: 999px;
        transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    }
    .api-profile-zero-switch-btn.is-active {
        color: #fff;
        background: linear-gradient(135deg, #1d5587, #2f87d7);
        border-color: rgba(29, 85, 135, 0.45);
    }
    .api-profile-meta-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .api-profile-meta-item {
        padding: 12px 14px;
        border: 1px solid rgba(27, 62, 95, 0.08);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.8);
    }
    .api-profile-meta-label {
        margin-bottom: 6px;
        color: #718196;
        font-size: 10px;
    }
    .api-profile-meta-value {
        color: #203247;
        font-size: 13px;
        line-height: 1.45;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .api-appearance-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    .api-appearance-card {
        display: grid;
        gap: 12px;
        padding: 20px 18px;
        border: 1px solid rgba(26, 59, 91, 0.08);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.84);
        text-align: center;
    }
    .api-appearance-card h4 {
        margin: 0;
        color: #17314d;
        font-size: 16px;
    }
    .api-appearance-thumb {
        --appearance-theme-color: transparent;
        --appearance-panel-start: rgba(243, 247, 252, 0.72);
        --appearance-panel-end: rgba(231, 238, 247, 0.68);
        --appearance-base-color: #dbe8f7;
        --appearance-mix-color: var(--appearance-base-color);
        --appearance-mix-rate: 0%;
        display: flex;
        position: relative;
        align-items: center;
        justify-content: center;
        min-height: 172px;
        padding: 10px;
        border: 6px solid transparent;
        border-radius: 16px;
        background: linear-gradient(180deg, var(--appearance-panel-start), var(--appearance-panel-end));
        box-shadow: inset 0 0 24px rgba(255,255,255,0.48), 0 8px 20px rgba(30, 58, 90, 0.08);
        overflow: hidden;
    }
    .api-appearance-thumb:not(.has-color-data) {
        border-color: transparent;
        background: linear-gradient(180deg, var(--appearance-panel-start), var(--appearance-panel-end));
    }
    .api-appearance-thumb.has-color-data::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        padding: 6px;
        border-radius: inherit;
        background: conic-gradient(var(--appearance-mix-color) 0 var(--appearance-mix-rate), var(--appearance-base-color) var(--appearance-mix-rate) 100%);
        pointer-events: none;
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        mask-composite: exclude;
    }
    .api-profile-searchbar button.is-keyboard-pressed {
        transform: translateY(1px) scale(0.98);
        filter: brightness(0.92);
    }
    .api-appearance-thumb.has-theme-color::after {
        content: '';
        position: absolute;
        top: 10px;
        right: 10px;
        width: 18px;
        height: 18px;
        border: 2px solid rgba(255,255,255,0.92);
        border-radius: 50%;
        background: var(--appearance-theme-color);
        z-index: 3;
    }
    .api-appearance-thumb img {
        position: relative;
        z-index: 2;
        max-width: 100%;
        max-height: 152px;
        object-fit: contain;
    }
    .api-appearance-thumb span {
        position: relative;
        z-index: 2;
        color: #728095;
        font-size: 12px;
        line-height: 1.6;
    }
    .api-appearance-name {
        color: #1c2f42;
        font-size: 15px;
        line-height: 1.5;
    }
    .api-appearance-note {
        color: #74859b;
        font-size: 11px;
        line-height: 1.6;
    }
    .api-appearance-color-ratio {
        display: none;
        width: fit-content;
        margin: 0;
        padding: 5px 9px;
        border: 1px solid rgba(31, 74, 112, 0.12);
        border-radius: 999px;
        color: #526b86;
        font-size: 10px;
        font-weight: 800;
        background: rgba(241, 247, 253, 0.9);
    }
    .api-appearance-thumb .api-appearance-color-ratio {
        position: absolute;
        bottom: 8px;
        left: 50%;
        z-index: 3;
        transform: translateX(-50%);
        white-space: nowrap;
    }
    .api-appearance-color-ratio.is-visible {
        display: block;
    }
    .api-appearance-actions {
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    .api-appearance-actions button {
        min-width: 126px;
        padding: 10px 14px;
        color: #17314d;
        font-size: 11px;
        font-weight: 700;
        cursor: pointer;
        background: rgba(227, 238, 250, 0.95);
        border: 1px solid rgba(31, 92, 145, 0.14);
        border-radius: 999px;
    }
    .api-profile-actions {
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    .api-profile-actions button {
        min-width: 164px;
        padding: 12px 18px;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
        background: linear-gradient(135deg, #244b72, #367bc0);
        border: none;
        border-radius: 999px;
    }
