/* Sakurairo ID 账号卡：玻璃磁贴 + 胶囊复制 */
.entry-content .aid-cards,
.aid-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0 24px;
    text-align: left;
}

.entry-content p:has(> .aid-card),
.entry-content p:has(> .aid-cards) {
    margin: 0;
    padding-bottom: 0;
    line-height: inherit;
}

.aid-card {
    padding: 16px;
    margin: 0 0 12px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--theme-skin-matching, #505050) 12%, transparent) 0%, transparent 46%),
        rgba(255, 255, 255, 0.55);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 1px 24px -8px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.aid-cards .aid-card {
    margin: 0;
}

.aid-card:hover {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--theme-skin-matching, #505050) 16%, transparent) 0%, transparent 46%),
        rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 28px -8px rgba(0, 0, 0, 0.16);
}

.aid-card-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(80, 80, 80, 0.14);
}

.aid-card-name {
    font-size: 15px;
    font-weight: 650;
    color: var(--theme-skin, #505050);
    line-height: 1.35;
    margin-right: 4px;
}

.aid-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.aid-badge svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.aid-badge-ok {
    color: #46b450;
    background: rgba(70, 180, 80, 0.12);
}

.aid-badge-bad {
    color: #dc3232;
    background: rgba(220, 50, 50, 0.12);
}

.aid-badge-region {
    color: var(--theme-skin-matching, #505050);
    background: color-mix(in srgb, var(--theme-skin-matching, #505050) 12%, transparent);
}

.aid-card-time {
    margin-left: auto;
    font-size: 12px;
    color: #9a9a9a;
}

.aid-field + .aid-field {
    margin-top: 12px;
}

.aid-name {
    font-size: 12px;
    color: #888;
    line-height: 1.3;
    margin-bottom: 6px;
}

.aid-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 4px 4px 4px 12px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 10px;
}

.entry-content .aid-value,
.aid-value {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--theme-skin, #505050);
    word-break: break-all;
    font-family: ui-monospace, Consolas, "Courier New", monospace;
    background: none;
    padding: 0;
    border-radius: 0;
}

.entry-content .aid-copy-btn,
.aid-copy-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 14px;
    border: 2px solid var(--theme-skin-matching, #505050);
    border-radius: 999px;
    background: var(--theme-skin-matching, #505050);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.aid-copy-btn:hover {
    background: #fff;
    color: var(--theme-skin-matching, #505050);
}

.aid-copy-btn svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    pointer-events: none;
}

.aid-copy-btn.is-copied {
    background: #46b450;
    border-color: #46b450;
    color: #fff;
}

.iro-card-tip {
    position: fixed;
    left: 50%;
    bottom: 90px;
    z-index: 99999;
    transform: translateX(-50%) translateY(10px);
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(40, 40, 40, 0.88);
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: none;
}

.iro-card-tip.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
    .aid-card {
        padding: 14px;
    }

    .aid-card-name {
        font-size: 14px;
        width: 100%;
    }

    .aid-row {
        flex-wrap: nowrap;
        min-height: 36px;
        padding: 3px 3px 3px 10px;
        gap: 6px;
    }

    .aid-value {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        word-break: normal;
        font-size: 12px;
    }

    .aid-copy-btn {
        padding: 6px 10px;
        box-shadow: none;
    }
}

body.dark .aid-card {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--theme-skin-matching, #505050) 16%, transparent) 0%, transparent 46%),
        rgba(40, 40, 40, 0.55);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark .aid-card:hover {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--theme-skin-matching, #505050) 22%, transparent) 0%, transparent 46%),
        rgba(50, 50, 50, 0.72);
}

body.dark .aid-card-head {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.dark .aid-card-name,
body.dark .aid-value {
    color: #e6e6e6;
}

body.dark .aid-card-time,
body.dark .aid-name {
    color: #999;
}

body.dark .aid-row {
    background: rgba(255, 255, 255, 0.06);
}

body.dark .aid-copy-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
