/* ========================================
   ATTACKLAND DASHBOARD
   ======================================== */

.dashboard-page {
    max-width: 1050px;
    margin: 0 auto;
    padding: 55px 25px 90px;
}


/* ========================================
   HEADER
   ======================================== */

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 32px;
}

.dashboard-label {
    margin: 0 0 7px;

    color: var(--accent);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

.dashboard-header h1 {
    margin: 0;

    color: var(--text);
    font-family: 'Minecraft', Arial, sans-serif;
    font-size: 30px;
    letter-spacing: 1px;
}

.dashboard-header p:last-child {
    margin: 8px 0 0;

    color: var(--text-secondary);
    font-size: 14px;
}


/* ========================================
   BUTTON
   ======================================== */

.dashboard-header .button {
    flex-shrink: 0;
}


/* ========================================
   DASHBOARD CARDS
   ======================================== */

.dashboard-card {
    background: #111111;
    border: 1px solid #242424;
    border-radius: 12px;
    padding: 22px;
}


/* ========================================
   NORMAL DASHBOARD
   ======================================== */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.card-label {
    display: block;

    margin-bottom: 8px;

    color: #707070;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.dashboard-card strong {
    color: #eeeeee;
    font-size: 15px;
    font-weight: 500;
}

.status-online {
    color: #8affaa !important;
}


/* ========================================
   DASHBOARD ACTIONS
   ======================================== */

.dashboard-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.dashboard-action {
    display: block;

    padding: 20px;

    background: #111111;
    border: 1px solid #242424;
    border-radius: 12px;

    color: var(--text);
    text-decoration: none;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.dashboard-action:hover {
    background: #151515;
    border-color: rgba(181, 28, 255, .45);
    transform: translateY(-2px);
}

.dashboard-action span {
    display: block;

    margin-bottom: 6px;

    color: #f0f0f0;
    font-size: 15px;
    font-weight: bold;
}

.dashboard-action small {
    color: #777;
    font-size: 12px;
    line-height: 1.5;
}


/* ========================================
   PROFILE CARD
   ======================================== */

.profile-card {
    display: flex;
    align-items: center;

    gap: 24px;

    padding: 26px;

    background:
        linear-gradient(
            135deg,
            rgba(181, 28, 255, .055),
            rgba(255, 255, 255, .015)
        );

    border: 1px solid #292929;
    border-radius: 14px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .22);
}


/* ========================================
   PROFILE AVATAR
   ======================================== */

.profile-avatar-large {
    width: 110px;
    height: 110px;

    flex-shrink: 0;
}

.profile-avatar-large img,
.profile-avatar-placeholder-large {
    width: 110px;
    height: 110px;

    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar-large img {
    display: block;

    border: 2px solid #292929;

    box-shadow:
        0 0 0 4px rgba(181, 28, 255, .06),
        0 10px 30px rgba(0, 0, 0, .4);
}

.profile-avatar-placeholder-large {
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #242424,
            #101010
        );

    border: 2px solid #292929;

    color: var(--accent);

    font-family: 'Minecraft', Arial, sans-serif;
    font-size: 38px;
}


/* ========================================
   PROFILE INFO
   ======================================== */

.profile-info {
    min-width: 0;
}

.profile-info h2 {
    margin: 0 0 7px;

    color: #ffffff;
    font-family: 'Minecraft', Arial, sans-serif;
    font-size: 22px;
}

.profile-info p {
    margin: 0 0 13px;

    color: #777;
    font-size: 14px;
}

.profile-status {
    display: inline-flex;
    align-items: center;

    padding: 5px 9px;

    background: rgba(66, 255, 117, .05);
    border: 1px solid rgba(66, 255, 117, .15);
    border-radius: 6px;

    color: #8affaa;
    font-size: 11px;
}


/* ========================================
   PROFILE UPLOAD CARD
   ======================================== */

.profile-upload {
    margin-top: 16px;
}

.profile-upload-header h2 {
    margin: 0 0 6px;

    color: #eeeeee;
    font-family: 'Minecraft', Arial, sans-serif;
    font-size: 18px;
}

.profile-upload-header p {
    margin: 0;

    color: #777;
    font-size: 13px;
}


/* ========================================
   FILE PICKER
   ======================================== */

.avatar-dropzone {
    display: flex;
    align-items: center;

    gap: 16px;

    min-height: 82px;

    margin-top: 20px;
    padding: 17px;

    box-sizing: border-box;

    background: #0d0d0d;

    border: 1px dashed #303030;
    border-radius: 10px;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.avatar-dropzone:hover {
    background: #121212;

    border-color: rgba(181, 28, 255, .6);

    box-shadow:
        0 0 22px rgba(181, 28, 255, .055);
}


/* ========================================
   UPLOAD ICON
   ======================================== */

.upload-icon {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(181, 28, 255, .08);

    border: 1px solid rgba(181, 28, 255, .25);
    border-radius: 50%;

    color: var(--accent);

    font-size: 25px;
    font-weight: 300;

    transition:
        background .2s ease,
        border-color .2s ease;
}

.avatar-dropzone:hover .upload-icon {
    background: rgba(181, 28, 255, .13);
    border-color: rgba(181, 28, 255, .4);
}


/* ========================================
   UPLOAD TEXT
   ======================================== */

.upload-text {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.upload-text strong {
    color: #eeeeee;
    font-size: 14px;
}

.upload-text span {
    color: #666;
    font-size: 12px;
}


/* ========================================
   SELECTED FILE
   ======================================== */

.selected-file {
    min-height: 18px;

    margin-top: 10px;

    overflow: hidden;

    color: #666;
    font-size: 12px;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ========================================
   SAVE BUTTON
   ======================================== */

.profile-upload-button {
    margin-top: 15px;
}

.profile-upload-button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.profile-upload-button:disabled:hover {
    transform: none;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 800px) {

    .dashboard-actions {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 700px) {

    .dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .profile-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-avatar-large,
    .profile-avatar-large img,
    .profile-avatar-placeholder-large {
        width: 95px;
        height: 95px;
    }

    .profile-avatar-placeholder-large {
        font-size: 32px;
    }

    .dashboard-actions {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 420px) {

    .dashboard-page {
        padding-right: 15px;
        padding-left: 15px;
    }

    .dashboard-header h1 {
        font-size: 26px;
    }

    .dashboard-card {
        padding: 18px;
    }

    .profile-card {
        padding: 20px;
    }

}

/* =========================
   SETTINGS
   ========================= */

.settings-section {
    margin-top: 18px;
    background: #111;
    border: 1px solid #242424;
    border-radius: 12px;
    overflow: hidden;
}

.settings-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-bottom: 1px solid #242424;
    background: #101010;
}

.settings-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(181, 28, 255, .07);
    border: 1px solid rgba(181, 28, 255, .18);
    border-radius: 8px;

    color: var(--accent);
    font-size: 15px;
}

.settings-section-header h2 {
    margin: 0 0 4px;

    color: #eee;
    font-family: 'Minecraft', Arial, sans-serif;
    font-size: 16px;
}

.settings-section-header p {
    margin: 0;

    color: #666;
    font-size: 12px;
}

.settings-list {
    display: flex;
    flex-direction: column;
}

.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 18px 22px;

    color: inherit;
    text-decoration: none;

    border-bottom: 1px solid #1d1d1d;
}

.settings-row:last-child {
    border-bottom: none;
}

.settings-row > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.settings-row strong {
    color: #eee;
    font-size: 14px;
    font-weight: 500;
}

.settings-row span {
    color: #666;
    font-size: 12px;
}

.settings-value {
    padding: 5px 9px;

    background: #181818;
    border: 1px solid #292929;
    border-radius: 6px;

    color: #999 !important;
    font-size: 11px !important;
}

.settings-link {
    transition:
        background .2s ease,
        padding-left .2s ease;
}

.settings-link:hover {
    padding-left: 26px;
    background: #151515;
}

.settings-link:hover strong {
    color: #fff;
}

.settings-arrow {
    color: #555 !important;
    font-size: 17px !important;
    transition: transform .2s ease, color .2s ease;
}

.settings-link:hover .settings-arrow {
    color: var(--accent) !important;
    transform: translateX(3px);
}

/* =========================
   PASSWORD FORM
   ========================= */

.security-form {
    padding: 24px 22px;
}

.password-field {
    margin-bottom: 22px;
}

.password-field label {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 9px;

    cursor: text;
}

.password-field-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: rgba(181, 28, 255, .07);
    border: 1px solid rgba(181, 28, 255, .18);
    border-radius: 8px;

    color: var(--accent);
    font-size: 14px;
}

.password-field label > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.password-field label strong {
    color: #eee;
    font-size: 13px;
    font-weight: 500;
}

.password-field label small {
    color: #666;
    font-size: 11px;
}


.password-input-wrapper {
    position: relative;
}


.password-input-wrapper input {
    width: 100%;
    height: 44px;

    box-sizing: border-box;

    padding: 0 45px 0 13px;

    background: #0c0c0c;
    border: 1px solid #292929;
    border-radius: 8px;

    color: #eee;
    font-family: inherit;
    font-size: 13px;

    outline: none;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.password-input-wrapper input::placeholder {
    color: #4f4f4f;
}


.password-input-wrapper input:hover {
    background: #101010;
    border-color: #353535;
}


.password-input-wrapper input:focus {
    background: #101010;
    border-color: rgba(181, 28, 255, .55);
    box-shadow: 0 0 0 3px rgba(181, 28, 255, .06);
}


.password-toggle {
    position: absolute;

    top: 50%;
    right: 10px;

    transform: translateY(-50%);

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: transparent;
    border: none;

    color: #555;
    font-size: 13px;

    cursor: pointer;

    transition:
        color .2s ease,
        background .2s ease;
}


.password-toggle:hover {
    color: var(--accent);
    background: rgba(181, 28, 255, .06);
    border-radius: 6px;
}


.security-form .button {
    margin-top: 3px;
}

/* ================================
   SECURITY PAGE
   ================================ */

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.security-card {
    position: relative;
    overflow: hidden;
}

.security-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(181, 28, 255, 0.65),
        transparent
    );

    opacity: 0.7;
}

.security-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 22px;
}

.security-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(181, 28, 255, 0.09);
    border: 1px solid rgba(181, 28, 255, 0.18);

    font-size: 19px;
}

.security-card-header h2 {
    margin: 0 0 5px;

    font-size: 17px;
    font-weight: 600;
}

.security-card-header p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 13px;
    line-height: 1.5;
}

.security-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 22px;

    border-top: 1px solid var(--border);
}

.security-label {
    display: block;

    margin-bottom: 6px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.security-description {
    margin: 0;

    color: var(--text-secondary);

    font-size: 12px;
    line-height: 1.5;
}


/* ================================
   MFA STATUS
   ================================ */

.security-status {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 7px;

    font-size: 13px;
    font-weight: 600;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;
}

.security-status.enabled {
    color: #d58cff;
}

.security-status.enabled .status-dot {
    background: #b51cff;

    box-shadow:
        0 0 8px rgba(181, 28, 255, 0.7);
}

.security-status.disabled {
    color: #888;
}

.security-status.disabled .status-dot {
    background: #555;
}


/* ================================
   BUTTONS
   ================================ */

.dashboard-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 0 15px;

    border: 1px solid rgba(181, 28, 255, 0.35);
    border-radius: 8px;

    background: rgba(181, 28, 255, 0.08);

    color: #eee;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.dashboard-button:hover {
    background: rgba(181, 28, 255, 0.16);

    border-color: rgba(181, 28, 255, 0.6);

    transform: translateY(-1px);
}


/* ================================
   DANGER BUTTON
   ================================ */

.danger-button {
    border-color: rgba(255, 70, 70, 0.25);

    background: rgba(255, 70, 70, 0.06);
}

.danger-button:hover {
    border-color: rgba(255, 70, 70, 0.5);

    background: rgba(255, 70, 70, 0.12);
}


/* ================================
   DISABLED BUTTON
   ================================ */

.disabled-button,
.disabled-button:hover {
    opacity: 0.45;

    cursor: not-allowed;

    transform: none;
}


/* ================================
   DANGER ZONE
   ================================ */

.danger-zone::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 70, 70, 0.45),
        transparent
    );
}

.danger-icon {
    background: rgba(255, 70, 70, 0.06);

    border-color: rgba(255, 70, 70, 0.15);
}


/* ================================
   MOBILE
   ================================ */

@media (max-width: 800px) {

    .security-grid {
        grid-template-columns: 1fr;
    }

    .security-card-content {
        align-items: flex-start;

        flex-direction: column;
    }

    .security-card-content .dashboard-button {
        width: 100%;
    }
}


/* MFA activation verification */

.mfa-verify-card {
    width: 100%;
    max-width: 460px;
    margin: 48px auto;
    padding: 32px;

    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;

    text-align: center;
}

.mfa-verify-icon {
    margin: 0 auto 20px;
}

.mfa-verify-card h1 {
    margin: 10px 0;
    font-size: 26px;
}

.mfa-verify-description {
    margin: 0 0 24px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.mfa-verify-card form {
    text-align: left;
}

.mfa-verify-card label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 12px;
}

.mfa-verify-card input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;

    background: #101010;
    border: 1px solid var(--border);
    border-radius: 9px;

    color: var(--text);
    font-size: 22px;
    letter-spacing: 0.35em;
    text-align: center;
}

.mfa-verify-card input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(181, 28, 255, 0.1);
}

.mfa-primary-button {
    width: 100%;
    margin-top: 16px;
    min-height: 44px;
}

.mfa-resend-form {
    margin-top: 12px;
}

.mfa-resend-button,
.mfa-back-link {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 10px;

    background: transparent;
    border: 0;
    color: #c58aff;

    font-size: 12px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.mfa-resend-button:hover,
.mfa-back-link:hover {
    color: #e0baff;
}

.mfa-message {
    margin: 16px 0;
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
}

.error-message {
    background: rgba(255, 70, 70, 0.08);
    border: 1px solid rgba(255, 70, 70, 0.25);
    color: #ff9999;
}

.success-message {
    background: rgba(70, 200, 120, 0.08);
    border: 1px solid rgba(70, 200, 120, 0.25);
    color: #8ce0ad;
}

@media (max-width: 520px) {
    .mfa-verify-card {
        margin: 24px auto;
        padding: 22px;
    }
}


#passkeyList {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

#passkeyList[hidden] {
    display: none;
}

.passkey-item {
    padding: 16px;
    border: 1px solid rgba(160, 100, 180, 0.22);
    border-radius: 12px;
    background: rgba(25, 20, 34, 0.7);
    overflow-wrap: anywhere;
}

.passkey-item h3 {
    margin: 0 0 8px;
    color: #eee6f5;
}

.passkey-item p {
    color: #b9afc4;
    font-size: 0.9rem;
    line-height: 1.5;
}

.passkey-item button {
    margin: 6px 8px 0 0;
}


@import url("https://fonts.cdnfonts.com/css/minecraft-3");

.co-page {
    --co-bg: #100d16;
    --co-panel: #191420;
    --co-border: #352641;
    --co-purple: #b56be0;
    --co-light: #e5c2fa;
    --co-muted: #a69aaf;
    --co-text: #f6effb;

    min-height: 100vh;
    padding: 42px 22px 30px;
    color: var(--co-text);
    background:
        radial-gradient(ellipse at 12% 0%, #44245b55, transparent 42%),
        radial-gradient(ellipse at 90% 35%, #321b4650, transparent 38%),
        var(--co-bg);
    font-family: Arial, sans-serif;
}

.co-page *,
.co-page *::before,
.co-page *::after {
    box-sizing: border-box;
}

.co-container {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

.co-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.co-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--co-purple);
    font-family: "Minecraft", monospace;
    font-size: 10px;
    letter-spacing: 1.2px;
}

.co-heading h1 {
    margin: 0;
    font-size: clamp(30px, 5vw, 44px);
    letter-spacing: -1.5px;
}

.co-heading h1 span {
    color: var(--co-purple);
}

.co-heading p,
.co-section-heading p {
    margin: 10px 0 0;
    color: var(--co-muted);
    font-size: 14px;
    line-height: 1.6;
}

.co-role {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    padding: 11px 14px;
    border: 1px solid #72418d;
    border-radius: 9px;
    background: #2a1b35;
    color: var(--co-light);
    font-family: "Minecraft", monospace;
    font-size: 9px;
}

.co-role-dot,
.co-footer-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #c58af0;
    box-shadow: 0 0 10px #b56be088;
}

.co-panel {
    margin-bottom: 20px;
    padding: 25px;
    border: 1px solid var(--co-border);
    border-radius: 15px;
    background: linear-gradient(145deg, #20182aee, #17121df5);
    box-shadow: 0 12px 35px #00000020;
}

.co-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.co-section-heading h2,
.co-panel-title h2 {
    margin: 0;
    font-size: 21px;
}

.co-section-number {
    color: #624576;
    font-family: "Minecraft", monospace;
    font-size: 25px;
}

.co-count {
    padding: 8px 11px;
    border: 1px solid var(--co-border);
    border-radius: 8px;
    color: var(--co-light);
    font-size: 13px;
    white-space: nowrap;
}

.co-form label {
    display: block;
    margin-bottom: 9px;
    color: #e8dcef;
    font-size: 13px;
    font-weight: 700;
}

.co-input-row,
.co-copy-row {
    display: flex;
    gap: 12px;
}

.co-input-row input,
.co-copy-row input {
    width: 100%;
    min-width: 0;
    height: 47px;
    padding: 0 14px;
    border: 1px solid #463452;
    border-radius: 9px;
    outline: none;
    background: #100d16;
    color: var(--co-text);
    font-size: 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.co-input-row input:focus,
.co-copy-row input:focus {
    border-color: var(--co-purple);
    box-shadow: 0 0 0 3px #b56be01c;
}

.co-input-row input::placeholder {
    color: #75667f;
}

.co-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease,
        transform 160ms ease;
}

.co-button:hover {
    transform: translateY(-1px);
}

.co-button-primary {
    flex-shrink: 0;
    background: #a65dd0;
    color: #fff;
}

.co-button-primary:hover {
    background: #ba76df;
}

.co-button-secondary {
    border-color: #493457;
    background: #251b30;
    color: #e5c8f7;
}

.co-button-secondary:hover {
    border-color: #a66ac9;
    background: #30203e;
}

.co-button-danger {
    border-color: #62343f;
    background: #2b1820;
    color: #e9a5b1;
}

.co-button-danger:hover {
    background: #43202c;
}

.co-hint {
    margin: 11px 0 0;
    color: var(--co-muted);
    font-size: 12px;
    line-height: 1.6;
}

.co-success {
    border-color: #614076;
    background: linear-gradient(135deg, #2a1d36, #191420);
}

.co-panel-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.co-panel-title p {
    margin: 7px 0 0;
    color: var(--co-muted);
    font-size: 13px;
}

.co-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid #795092;
    border-radius: 10px;
    background: #372348;
    color: #e3b6ff;
    font-size: 20px;
}

.co-copy-row input {
    font-size: 12px;
}

.co-copy-status {
    min-height: 16px;
    margin: 10px 0 0;
    color: #c8a0e3;
    font-size: 12px;
}

.co-obs-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #392b46;
    border-radius: 8px;
    background: #120e18;
    font-size: 12px;
}

.co-obs-info span {
    color: var(--co-muted);
}

.co-link-list {
    display: grid;
    gap: 12px;
}

.co-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border: 1px solid #34263f;
    border-radius: 11px;
    background: #15101b;
}

.co-link-info {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
}

.co-link-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid #66417d;
    border-radius: 9px;
    background: #2c1c39;
    color: #d8a6f5;
    font-family: "Minecraft", monospace;
    font-size: 10px;
}

.co-link-details {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.co-link-details strong {
    overflow-wrap: anywhere;
    font-size: 14px;
}

.co-link-details span {
    color: var(--co-muted);
    font-size: 11px;
}

.co-link-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.co-link-actions form {
    margin: 0;
}

.co-status {
    padding: 7px 9px;
    border-radius: 7px;
    font-size: 11px;
    white-space: nowrap;
}

.co-status-active {
    border: 1px solid #285c45;
    background: #14291f;
    color: #92e0b5;
}

.co-status-inactive {
    border: 1px solid #54465d;
    background: #29222f;
    color: #b8a9c2;
}

.co-empty {
    padding: 35px 15px;
    text-align: center;
}

.co-empty-icon {
    margin-bottom: 12px;
    color: var(--co-purple);
    font-size: 30px;
}

.co-empty h3 {
    margin: 0;
    font-size: 17px;
}

.co-empty p {
    margin: 9px 0 0;
    color: var(--co-muted);
    font-size: 13px;
}

.co-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 0;
    color: #81718d;
    font-family: "Minecraft", monospace;
    font-size: 9px;
    letter-spacing: 0.5px;
}

.co-footer-separator {
    color: #5d436e;
}

@media (max-width: 720px) {
    .co-page {
        padding: 25px 13px;
    }

    .co-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .co-panel {
        padding: 19px 15px;
    }

    .co-input-row,
    .co-copy-row {
        align-items: stretch;
        flex-direction: column;
    }

    .co-input-row .co-button,
    .co-copy-row .co-button {
        min-height: 45px;
    }

    .co-link-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .co-link-actions {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .co-button,
    .co-input-row input,
    .co-copy-row input {
        transition: none;
    }
}

.co-important-notice {
    margin: 16px 0 0;
    padding: 14px 16px;
    border: 1px solid #67447d;
    border-left: 3px solid #b56be0;
    border-radius: 9px;
    background: #21172b;
    color: #d4c5df;
    font-size: 13px;
    line-height: 1.7;
}

.co-important-notice strong {
    display: block;
    margin-bottom: 5px;
    color: #e2b8ff;
    font-size: 13px;
}


.co-tutorial {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 18px 0 24px;
    padding: 18px;
    border: 1px solid #493457;
    border-radius: 12px;
    background: linear-gradient(110deg, #24182f, #17121d);
}

.co-tutorial-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid #70458a;
    border-radius: 10px;
    background: #382247;
    color: #e5bdff;
    font-size: 18px;
}

.co-tutorial-content {
    flex: 1;
    min-width: 0;
}

.co-tutorial-content strong {
    color: #ead8f5;
    font-size: 14px;
}

.co-tutorial-content p {
    margin: 6px 0 0;
    color: #a69aaf;
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .co-tutorial {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .co-tutorial .co-button {
        width: 100%;
    }
}
