.guide-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.14);
    font-family: Georgia, 'Times New Roman', serif;
    overflow: hidden;
}

.guide-widget-header {
    background: #6366f1;
    color: #fff;
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.guide-widget-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-widget-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.guide-widget-count {
    font-size: 0.72rem;
    background: rgba(255,255,255,0.22);
    border-radius: 20px;
    padding: 1px 8px;
    font-family: -apple-system, sans-serif;
}

.guide-widget-chevron {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.guide-widget.collapsed .guide-widget-chevron {
    transform: rotate(180deg);
}

.guide-widget-body {
    background: #fff;
    border: 1px solid #e8eaed;
    border-top: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.guide-widget.collapsed .guide-widget-body {
    display: none;
}

.guide-progress-bar-track {
    height: 3px;
    background: #e8eaed;
    width: 100%;
}

.guide-progress-bar-fill {
    height: 3px;
    background: #6366f1;
    transition: width 0.4s ease;
}

.guide-steps-list {
    padding: 10px 0 4px;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 14px;
}

.guide-step-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    margin-top: 1px;
}

.guide-step.done .guide-step-icon {
    background: #d1fae5;
    color: #3a7b5d;
}

.guide-step.active .guide-step-icon {
    background: #eef2ff;
    color: #6366f1;
    border: 1.5px solid #6366f1;
}

.guide-step.locked .guide-step-icon {
    background: #f1f3f5;
    color: #adb5bd;
    border: 1.5px solid #dee2e6;
}

.guide-step-text {
    flex: 1;
    min-width: 0;
}

.guide-step-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 1px;
}

.guide-step.done .guide-step-title {
    color: #6c757d;
    text-decoration: line-through;
    font-weight: 400;
}

.guide-step.locked .guide-step-title {
    color: #adb5bd;
}

.guide-step-desc {
    font-size: 0.7rem;
    color: #6c757d;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.guide-step.active .guide-step-desc {
    color: #4f46e5;
}

.guide-step.done .guide-step-desc {
    display: none;
}

.guide-footer {
    padding: 10px 14px 14px;
    border-top: 1px solid #f1f3f5;
}

.guide-claim-btn {
    width: 100%;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    font-family: Georgia, serif;
    transition: background 0.2s, opacity 0.2s;
}

.guide-claim-btn:hover:not(:disabled) {
    background: #4f46e5;
}

.guide-claim-btn:disabled {
    background: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
}

.guide-claim-btn.claimed {
    background: #d1fae5;
    color: #3a7b5d;
    cursor: default;
}

.guide-reward-msg {
    font-size: 0.72rem;
    color: #3a7b5d;
    text-align: center;
    margin-top: 6px;
    font-family: -apple-system, sans-serif;
    display: none;
}

.guide-reward-msg.visible {
    display: block;
}

@media (max-width: 575px) {
    .guide-widget {
        width: 100%;
        right: 0;
        left: 0;
        bottom: 0;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
    }
    .guide-widget-body {
        border-radius: 0;
    }
}
