.gebd-progress-wrap {
    --gebd-bar-color: #e91e8c;
    --gebd-bg-color: #e8e8e8;
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.gebd-progress-bar-outer {
    position: relative;
    padding-top: 78px;
    margin-bottom: 16px;
}

.gebd-progress-bar-track {
    position: relative;
    height: 14px;
    background: var(--gebd-bg-color);
    border-radius: 999px;
    overflow: visible;
}

.gebd-progress-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--gebd-bar-color);
    border-radius: 999px;
    transition: width 0.4s ease;
    z-index: 1;
}

.gebd-milestone-star {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--gebd-bar-color);
    z-index: 2;
    line-height: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.gebd-milestone-star:hover,
.gebd-milestone-star:focus {
    transform: translate(-50%, -50%) scale(1.15);
    outline: none;
}

.gebd-milestone-star.is-targeted {
    transform: translate(-50%, -50%) scale(1.2);
    filter: drop-shadow(0 0 4px var(--gebd-bar-color));
}

.gebd-milestone-star.is-done {
    color: #fff;
    filter: drop-shadow(0 0 2px var(--gebd-bar-color));
}

.gebd-milestone-star.is-done:hover,
.gebd-milestone-star.is-done:focus,
.gebd-milestone-star.is-done.is-targeted {
    filter: drop-shadow(0 0 5px var(--gebd-bar-color));
}

.gebd-progress-bubble {
    position: absolute;
    top: 12px;
    transform: translateX(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--gebd-bar-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(233, 30, 140, 0.35);
}

.gebd-progress-bubble__pct {
    display: block;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.02em;
}

.gebd-progress-bubble__label {
    display: block;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    color: #1a1a2e;
    letter-spacing: 0.04em;
}

.gebd-progress-bubble::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 10px solid var(--gebd-bar-color);
}

.gebd-next-milestone {
    font-size: 18px;
    margin: 0 0 8px;
    color: #222;
}

.gebd-next-pct {
    display: inline-block;
    background: var(--gebd-bar-color);
    color: #fff;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 4px;
}

.gebd-milestone-hint {
    color: #666;
    font-size: 14px;
    margin: 0 0 16px;
}

.gebd-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #999;
    font-size: 11px;
    cursor: pointer;
    margin-left: 4px;
    vertical-align: middle;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.gebd-info-icon:hover,
.gebd-info-icon:focus {
    border-color: var(--gebd-bar-color, #e91e8c);
    color: var(--gebd-bar-color, #e91e8c);
    background: rgba(233, 30, 140, 0.08);
    outline: none;
}

.gebd-ticket-stats {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.gebd-stat__value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--gebd-bar-color);
}

.gebd-stat__label {
    display: block;
    font-size: 13px;
    color: #888;
}

.gebd-bonus-draws-tab {
    padding: 10px 0;
}

.gebd-tab-description {
    margin-bottom: 20px;
    color: #444;
}

.gebd-bonus-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.gebd-bonus-card {
    border-radius: 14px;
    padding: 12px;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.gebd-bonus-card.is-targeted {
    background: #fce7f3;
    box-shadow: 0 0 0 2px rgba(233, 30, 140, 0.18);
}

.gebd-bonus-card__visual {
    aspect-ratio: 1;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gebd-bar-color, #e91e8c) 0%, #c2187a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.gebd-bonus-card__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 70%);
}

.gebd-bonus-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gebd-bonus-card__prize-text {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    padding: 12px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.gebd-bonus-card__meta {
    text-align: center;
    margin-top: 10px;
}

.gebd-bonus-card.is-targeted .gebd-bonus-card__meta {
    text-align: left;
    padding: 0 4px 4px;
}

.gebd-bonus-card__meta strong {
    display: block;
    font-size: 15px;
}

.gebd-bonus-card__meta span {
    display: block;
    color: #666;
    font-size: 13px;
    margin-top: 2px;
}

.gebd-card-done {
    color: #1e6b1e !important;
    font-weight: 600;
}

.gebd-bonus-card.is-completed .gebd-bonus-card__visual {
    opacity: 0.85;
}

@media (max-width: 600px) {
    .gebd-ticket-stats {
        flex-direction: column;
    }

    .gebd-bonus-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
