#floatWindow.float-card {
    --fc-blue-deep: #0f3460;
    --fc-blue: #1a5fb4;
    --fc-blue-soft: #e8f1fb;
    --fc-gold: #e8b84a;
    --fc-text: #1a2d4a;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: auto;
    bottom: auto;
    width: 300px;
    z-index: 9999;
    border-radius: 18px;
    overflow: hidden;
    cursor: default;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
    box-shadow:
        0 4px 6px rgba(15, 52, 96, 0.06),
        0 18px 44px rgba(15, 52, 96, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.65) inset;
    transition: box-shadow 0.35s ease, filter 0.25s ease;
}

#floatWindow.float-card:hover {
    box-shadow:
        0 8px 12px rgba(15, 52, 96, 0.1),
        0 24px 56px rgba(15, 52, 96, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.75) inset;
    filter: brightness(1.02);
}

.float-card__head {
    position: relative;
    padding: 16px 48px 14px 20px;
    background: linear-gradient(135deg, var(--fc-blue-deep) 0%, var(--fc-blue) 55%, #2d7dd2 100%);
    color: #fff;
}

.float-card__head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.float-card__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.92;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.88);
}

.float-card__head-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.35;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.float-card__accent {
    display: inline-block;
    margin-top: 8px;
    height: 3px;
    width: 36px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--fc-gold), rgba(232, 184, 74, 0.45));
}

.float-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
}

.float-close-btn:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: scale(1.06);
}

.float-close-btn:active {
    transform: scale(0.96);
}

.float-card__body {
    padding: 18px 20px 20px;
    background: linear-gradient(180deg, #ffffff 0%, var(--fc-blue-soft) 100%);
}

.float-card__line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.float-card__link {
    color: var(--fc-text);
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 95, 180, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
    border-radius: 2px;
}

.float-card__link:hover {
    color: var(--fc-blue);
    border-bottom-color: var(--fc-blue);
}

.float-card__link:focus-visible {
    outline: 2px solid rgba(26, 95, 180, 0.55);
    outline-offset: 2px;
}

.float-card__dot {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    margin-top: 7px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--fc-blue), #4a9ae8);
    box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.15);
}

.float-card__hint {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(26, 95, 180, 0.12);
    font-size: 12px;
    color: #5a6d88;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.5;
}