/* ================================
   BEER-REVIEWS.CSS
   Beer Review Modal Styles
   All selectors scoped to #beerReviewModal / #addNewBeerModal
   No dark mode overrides - uses variables
   ================================ */

/* ================================
   MODAL CONTAINER
   ================================ */
#beerReviewModal .modal-container {
    max-width: min(95vw, 500px);
    max-height: min(90vh, 750px);
    background: var(--bg-modal);
}

#beerReviewModal .modal-body {
    padding: 0;
}

#beerReviewModal .form-content-area {
    flex: 1;
    padding: var(--space-md);
    min-height: 350px;
    overflow-y: auto;
}

/* ================================
   FORMAT GRID
   ================================ */
#beerReviewModal .format-grid {
    display: grid;
    gap: var(--space-md);
}

#beerReviewModal .format-btn {
    padding: var(--space-md);
    background: var(--bg-option);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    color: var(--text-primary);
}

#beerReviewModal .format-btn:hover {
    border-color: var(--border-purple);
    background: var(--bg-purple);
    transform: translateY(-2px);
}

#beerReviewModal .format-btn.selected {
    background: var(--purple);
    border-color: var(--purple);
    color: white;
}

#beerReviewModal .format-icon {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xs);
    display: block;
}

#beerReviewModal .format-name {
    font-size: var(--text-sm);
    font-weight: 600;
}

/* ================================
   FORM LABELS & HINTS
   ================================ */
#beerReviewModal .form-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: var(--text-lg);
    display: flex;
    margin-bottom: var(--space-md) 0;
    padding: var(--space-sm) 0;
}

#beerReviewModal .form-hint {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: calc(-1 * var(--space-sm)) 0 var(--space-md) 0;
    padding: 0;
}

#beerReviewModal .form-hint-inline,
#addNewBeerModal .form-hint-inline {
    font-weight: 400;
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* ================================
   CHOICE BUTTONS
   ================================ */
#beerReviewModal .choice-buttons {
    grid-template-columns: 1fr;
    display: grid;
    gap: var(--space-sm);
}

#beerReviewModal .choice-btn {
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius);
    background: var(--bg-card);
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#beerReviewModal .choice-btn:hover {
    border-color: var(--border-purple);
    background: var(--bg-purple);
}

#beerReviewModal .choice-btn.selected {
    background: var(--purple);
    border-color: var(--purple);
    color: white;
}

/* ================================
   CASCADE STEPS
   ================================ */
#beerReviewModal .cascade-step {
    display: none;
    animation: brSlideIn 0.3s ease;
}

#beerReviewModal .cascade-step.active {
    display: block;
}

@keyframes brSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   DROPDOWNS / SUGGESTIONS
   ================================ */
#beerReviewModal .suggestions {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 4px;
}

#beerReviewModal .suggestions.show {
    display: block;
}

#beerReviewModal .dropdown-header {
    padding: var(--space-sm);
    background: var(--bg-purple);
    color: var(--text-purple);
    font-weight: 600;
    font-size: var(--text-sm);
    border-bottom: 1px solid var(--border-light);
    top: 0;
    z-index: 1;
}

#beerReviewModal .suggestion-item {
    padding: var(--space-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--divider-color);
}

#beerReviewModal .suggestion-item:hover {
    background: var(--bg-purple);
}

#beerReviewModal .suggestion-item strong {
    display: block;
    color: var(--text-primary);
}

#beerReviewModal .suggestion-item small {
    display: block;
    color: var(--text-muted);
    font-size: var(--text-xs);
    margin-top: 2px;
}

#beerReviewModal .suggestion-item.new-brewery,
#beerReviewModal .suggestion-item.new-beer {
    background: var(--bg-green);
    color: var(--green);
}

#beerReviewModal .suggestion-item.new-brewery:hover,
#beerReviewModal .suggestion-item.new-beer:hover {
    background: var(--bg-green-hover);
}

/* ================================
   SEARCH HINT
   ================================ */
#beerReviewModal .search-hint {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-sm);
    padding: 0;
}

/* ================================
   CONFIRMED CHIPS
   ================================ */
#beerReviewModal .brewery-confirmed {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-purple);
    border: 2px solid var(--border-purple);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: var(--text-md);
    animation: brSlideIn 0.3s ease;
}

#beerReviewModal .brewery-confirmed.show {
    display: flex;
}

#beerReviewModal .confirmed-change {
    background: none;
    border: none;
    color: var(--purple);
    font-size: var(--text-xs);
    font-weight: 600;
    cursor: pointer;
    margin-left: auto;
    padding: 4px 8px;
}

#beerReviewModal .confirmed-change:hover {
    text-decoration: underline;
}

/* ================================
   STEP CONTAINERS (for dropdown positioning)
   ================================ */
#beerReviewModal #br-step-brewery-select,
#beerReviewModal #br-step-beer-search,
#beerReviewModal #br-step-beer-details {
    position: relative;
}

/* ================================
   INPUT MARGIN FIX
   ================================ */
#beerReviewModal #brBreweryInput,
#beerReviewModal #brGlobalBeerSearch,
#beerReviewModal #brBeerNameInput {
    margin-bottom: 0;
}

/* ================================
   RATING SLIDER
   ================================ */
#beerReviewModal .br-rating-display {
    text-align: center;
    margin-bottom: var(--space-sm);
}

#beerReviewModal .br-rating-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

#beerReviewModal .br-rating-number.rated {
    color: var(--text-primary);
}

#beerReviewModal .br-rating-max {
    font-size: var(--text-lg);
    color: var(--text-muted);
    font-weight: 400;
}

#beerReviewModal .br-slider-container {
    padding: 0 var(--space-xs);
}

#beerReviewModal .br-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #ef4444, #f59e0b, #22c55e);
    outline: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

#beerReviewModal .br-slider:hover {
    opacity: 1;
}

/* Slider thumb - WebKit */
#beerReviewModal .br-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--purple);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease;
}

#beerReviewModal .br-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

#beerReviewModal .br-slider::-webkit-slider-thumb:active {
    transform: scale(1.25);
}

/* Slider thumb - Firefox */
#beerReviewModal .br-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--purple);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#beerReviewModal .br-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-xs);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

#beerReviewModal .br-rating-label {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-top: var(--space-sm);
    font-weight: 500;
    min-height: 20px;
}

/* ================================
   COMMENT TEXTAREA
   ================================ */
#beerReviewModal .br-textarea {
    resize: vertical;
    min-height: 80px;
}

#beerReviewModal .br-char-count {
    text-align: right;
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

/* ================================
   CASCADE ACTIONS (Continue/Skip)
   ================================ */
#beerReviewModal .cascade-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

#beerReviewModal .cascade-actions .choice-btn {
    flex: 1;
}

/* ================================
   FORM ACTIONS
   ================================ */
#beerReviewModal #brFormActions {
    display: none;
    margin: var(--space-md);
}

#beerReviewModal #brFormActions .btn-primary {
    width: 100%;
}

/* ================================
   SCROLLBAR STYLING
   ================================ */
#beerReviewModal .suggestions::-webkit-scrollbar {
    width: 8px;
}

#beerReviewModal .suggestions::-webkit-scrollbar-track {
    background: var(--bg-muted);
}

#beerReviewModal .suggestions::-webkit-scrollbar-thumb {
    background: var(--border-purple);
    border-radius: 4px;
}

#beerReviewModal .suggestions::-webkit-scrollbar-thumb:hover {
    background: var(--purple);
}

/* ================================
   ADD NEW BEER MODAL
   ================================ */
#addNewBeerModal .modal-container {
    max-width: min(95vw, 500px);
    background: var(--bg-modal);
}

#addNewBeerModal .form-content-area {
    padding: var(--space-md);
}

#addNewBeerModal .form-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: var(--text-lg);
    display: flex;
    margin-bottom: var(--space-md) 0;
    padding: var(--space-sm) 0;
}

#addNewBeerModal .cascade-step {
    display: none;
    animation: brSlideIn 0.3s ease;
}

#addNewBeerModal .cascade-step.active {
    display: block;
}

#addNewBeerModal .choice-buttons {
    grid-template-columns: 1fr;
    display: grid;
    gap: var(--space-sm);
}

#addNewBeerModal .choice-btn {
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius);
    background: var(--bg-card);
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#addNewBeerModal .choice-btn:hover {
    border-color: var(--border-purple);
    background: var(--bg-purple);
}

#addNewBeerModal .choice-btn.selected {
    background: var(--purple);
    border-color: var(--purple);
    color: white;
}

#addNewBeerModal .form-actions {
    margin: var(--space-md);
}

#addNewBeerModal .form-actions .btn-primary {
    width: 100%;
}

/* Catch-Up Beer Review Modal */
/* ================================================================================
   CATCH-UP REVIEW MODAL
   5-star rating with emoji quick-rate + slider fine-tuning
   ================================================================================ */

/* Header — centred, amber/purple gradient */
#catchUpReviewModal .catchup-header {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
}

#catchUpReviewModal .catchup-header-left {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

#catchUpReviewModal .catchup-header-icon {
    font-size: 20px;
}

#catchUpReviewModal .catchup-header-text {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
}

#catchUpReviewModal .catchup-header-count {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--amber, #f5a623);
    background: rgba(245, 166, 35, 0.15);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
}

/* Beer card content area */
#catchUpReviewModal .catchup-body {
    padding: var(--space-xl);
}

/* Time badge */
#catchUpReviewModal .catchup-time-badge {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

/* Beer info */
#catchUpReviewModal .catchup-beer-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: var(--space-xs);
}

#catchUpReviewModal .catchup-brewery {
    font-size: var(--text-sm);
    color: var(--amber, #f5a623);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

#catchUpReviewModal .catchup-format {
    display: inline-block;
    font-size: var(--text-xs);
    color: var(--text-secondary);
    background: var(--bg-purple);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-xl);
}

/* Emoji quick-rate row */
#catchUpReviewModal .catchup-emojis {
    display: flex;
    justify-content: space-between;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
}

#catchUpReviewModal .catchup-emoji-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: var(--space-sm) var(--space-xs);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-light);
    background: transparent;
    cursor: pointer;
    transition: all 0.25s;
}

#catchUpReviewModal .catchup-emoji-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
}

#catchUpReviewModal .catchup-emoji-btn.active {
    background: rgba(245, 166, 35, 0.12);
    border-color: rgba(245, 166, 35, 0.5);
    transform: scale(1.05);
}

#catchUpReviewModal .catchup-emoji-icon {
    font-size: 24px;
    line-height: 1;
}

#catchUpReviewModal .catchup-emoji-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

#catchUpReviewModal .catchup-emoji-btn.active .catchup-emoji-label {
    color: var(--amber, #f5a623);
}

/* Star display + slider */
#catchUpReviewModal .catchup-rating-area {
    text-align: center;
    margin-bottom: var(--space-lg);
}

#catchUpReviewModal .catchup-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: var(--space-md);
}

#catchUpReviewModal .catchup-star {
    font-size: 32px;
    color: var(--amber, #f5a623);
    transition: opacity 0.2s;
    line-height: 1;
}

/* Star opacity states for quarter increments */
#catchUpReviewModal .catchup-star[data-fill="full"]    { opacity: 1.0; }
#catchUpReviewModal .catchup-star[data-fill="three-q"] { opacity: 0.85; }
#catchUpReviewModal .catchup-star[data-fill="half"]    { opacity: 0.6; }
#catchUpReviewModal .catchup-star[data-fill="quarter"] { opacity: 0.4; }
#catchUpReviewModal .catchup-star[data-fill="empty"]   { opacity: 0.15; }

#catchUpReviewModal .catchup-rating-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    transition: color 0.3s;
}

/* Colour transitions based on rating */
#catchUpReviewModal .catchup-rating-number.rate-high { color: #16a34a; }
#catchUpReviewModal .catchup-rating-number.rate-good { color: #65a30d; }
#catchUpReviewModal .catchup-rating-number.rate-mid  { color: #d97706; }
#catchUpReviewModal .catchup-rating-number.rate-low  { color: #ea580c; }
#catchUpReviewModal .catchup-rating-number.rate-bad  { color: #dc2626; }

/* Slider */
#catchUpReviewModal .catchup-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

#catchUpReviewModal .catchup-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--amber, #f5a623);
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.4);
    cursor: pointer;
    transition: transform 0.15s;
}

#catchUpReviewModal .catchup-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

#catchUpReviewModal .catchup-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--amber, #f5a623);
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.4);
    cursor: pointer;
    border: none;
}

/* Comment */
#catchUpReviewModal .catchup-comment {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: var(--text-sm);
    resize: vertical;
    min-height: 60px;
    max-height: 120px;
    margin-bottom: var(--space-lg);
    transition: border-color 0.2s;
}

#catchUpReviewModal .catchup-comment::placeholder {
    color: var(--text-muted);
}

#catchUpReviewModal .catchup-comment:focus {
    outline: none;
    border-color: rgba(245, 166, 35, 0.5);
}

/* Actions */
#catchUpReviewModal .catchup-actions {
    display: flex;
    gap: var(--space-md);
    padding: 0 var(--space-xl) var(--space-xl);
}

#catchUpReviewModal .catchup-skip {
    flex: 0 0 auto;
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

#catchUpReviewModal .catchup-skip:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
}

#catchUpReviewModal .catchup-save {
    flex: 1;
    background: var(--primary-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    border: none;
    color: #fff;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    /* box-shadow: 0 4px 12px rgba(118, 75, 162, 0.3); */
}

#catchUpReviewModal .catchup-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(118, 75, 162, 0.4);
}

#catchUpReviewModal .catchup-save:active {
    transform: scale(0.98);
}

/* ================================================================================
   REVIEWS FEED OVERLAY
   ================================================================================ */

/* Filter tabs — full width, amber underline */
#reviewsFeedOverlay .reviews-feed-filter {
    display: flex;
    gap: 0;
}

#reviewsFeedOverlay .filter-tab {
    flex: 1;
    text-align: center;
    padding: var(--space-md) 0;
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    border: none;
    border-bottom: 2.5px solid transparent;
    background: none;
    transition: all 0.3s;
    font-family: inherit;
}

#reviewsFeedOverlay .filter-tab:hover {
    color: var(--text-secondary);
}

#reviewsFeedOverlay .filter-tab.active {
    color: var(--amber, #f5a623);
    border-bottom-color: var(--amber, #f5a623);
}

/* Header */
#reviewsFeedOverlay .info-header {
    padding: var(--space-xl) var(--space-xl) 0;
}

#reviewsFeedOverlay .info-title {
    margin: 0;
    /* text-align: center; */
    padding-bottom: var(--space-md);
}

/* Feed list */
#reviewsFeedOverlay .reviews-feed-list {
    padding: var(--space-md) var(--space-xl);
    overflow-y: auto;
}

/* Review card */
#reviewsFeedOverlay .rf-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-md);
    overflow: hidden;
    border: 1px solid var(--border-purple);
    /* border-left: 4px solid var(--border-purple); */
    transition: all 0.25s;
}

#reviewsFeedOverlay .rf-card:active {
    transform: scale(0.99);
}

 #reviewsFeedOverlay .rf-card-beer {
    border: 1px solid var(--border-gold);
}

/* #reviewsFeedOverlay .rf-card-venue {
    border-left-color: var(--text-purple);
} */

/* Card hero */
#reviewsFeedOverlay .rf-hero {
    padding: var(--space-lg) var(--space-lg) var(--space-md);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    position: relative;
}

/* Rating circle */
#reviewsFeedOverlay .rf-rating {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-circle);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

#reviewsFeedOverlay .rf-rating::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-circle);
    border: 2px solid rgba(255, 255, 255, 0.08);
}

#reviewsFeedOverlay .rf-rating-num {
    font-size: 20px;
    line-height: 1;
}

#reviewsFeedOverlay .rf-rating-max {
    font-size: 9px;
    opacity: 0.55;
    margin-top: 1px;
}

/* Rating colours */
/* Rating colours — unified 5-star scale */
#reviewsFeedOverlay .rf-rate-high { background: linear-gradient(135deg, #16a34a, #15803d); } /* 4.00-5.00 */
#reviewsFeedOverlay .rf-rate-good { background: linear-gradient(135deg, #65a30d, #4d7c0f); } /* 3.00-3.99 */
#reviewsFeedOverlay .rf-rate-mid  { background: linear-gradient(135deg, #d97706, #b45309); } /* 2.00-2.99 */
#reviewsFeedOverlay .rf-rate-low  { background: linear-gradient(135deg, #ea580c, #c2410c); } /* 1.00-1.99 */
#reviewsFeedOverlay .rf-rate-bad  { background: linear-gradient(135deg, #dc2626, #b91c1c); } /* 0.00-0.99 */

/* Info */
#reviewsFeedOverlay .rf-info {
    flex: 1;
    min-width: 0;
}

#reviewsFeedOverlay .rf-title {
    font-weight: 700;
    font-size: var(--text-md);
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 3px;
}

#reviewsFeedOverlay .rf-brewery {
    font-size: var(--text-sm);
    color: var(--amber, #f5a623);
    font-weight: 500;
}

#reviewsFeedOverlay .rf-venue-link {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    margin-top: 3px;
}

#reviewsFeedOverlay .rf-venue-link span {
    color: var(--text-purple);
    cursor: pointer;
}

/* Venue stars */
#reviewsFeedOverlay .rf-stars {
    display: flex;
    gap: 2px;
    margin-top: 4px;
}

#reviewsFeedOverlay .rf-star-on {
    color: var(--amber, #f5a623);
    font-size: var(--text-md);
}

#reviewsFeedOverlay .rf-star-off {
    color: var(--text-muted);
    font-size: var(--text-md);
    opacity: 0.4;
}

/* Type badge */
#reviewsFeedOverlay .rf-badge {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

#reviewsFeedOverlay .rf-badge-beer {
    background: rgba(245, 166, 35, 0.12);
    color: var(--amber, #f5a623);
}

#reviewsFeedOverlay .rf-badge-venue {
    background: var(--bg-purple);
    color: var(--text-purple);
}

/* Comment */
#reviewsFeedOverlay .rf-comment {
    padding: 0 var(--space-lg) var(--space-md);
}

#reviewsFeedOverlay .rf-comment-bubble {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
    font-style: italic;
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-purple);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    position: relative;
}

#reviewsFeedOverlay .rf-comment-bubble::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    line-height: 1;
    position: absolute;
    top: 2px;
    left: 8px;
    opacity: 0.35;
}

#reviewsFeedOverlay .rf-comment-beer::before {
    color: var(--amber, #f5a623);
}

#reviewsFeedOverlay .rf-comment-venue::before {
    color: var(--text-purple);
}

/* Card bottom */
#reviewsFeedOverlay .rf-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--border-light);
}

#reviewsFeedOverlay .rf-user {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

#reviewsFeedOverlay .rf-avatar {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: var(--bg-purple);
}

#reviewsFeedOverlay .rf-avatar-beer {
    border: 2px solid rgba(245, 166, 35, 0.45);
}

#reviewsFeedOverlay .rf-avatar-venue {
    border: 2px solid rgba(var(--purple-rgb), 0.45);
}

#reviewsFeedOverlay .rf-user-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

#reviewsFeedOverlay .rf-user-time {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Actions */
#reviewsFeedOverlay .rf-actions {
    display: flex;
    gap: 6px;
}

#reviewsFeedOverlay .rf-btn {
    background: var(--bg-purple);
    border: 1px solid var(--border-purple);
    color: var(--text-muted);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 6px var(--space-md);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

#reviewsFeedOverlay .rf-btn:hover {
    border-color: var(--purple);
    color: var(--purple);
}

#reviewsFeedOverlay .rf-btn-tried:hover {
    border-color: var(--amber, #f5a623);
    color: var(--amber, #f5a623);
    background: rgba(245, 166, 35, 0.12);
}

/* States */
#reviewsFeedOverlay .reviews-feed-loading,
#reviewsFeedOverlay .reviews-feed-empty {
    text-align: center;
    padding: var(--space-xl);
    color: var(--text-secondary);
}

#reviewsFeedOverlay .reviews-feed-empty h3 {
    color: var(--text-primary);
    margin: var(--space-md) 0;
}

/* Load more */
#reviewsFeedOverlay .rf-load-more {
    text-align: center;
    padding: var(--space-lg);
}

#reviewsFeedOverlay .rf-load-more-btn {
    background: var(--bg-purple);
    border: 1px solid var(--border-purple);
    color: var(--text-muted);
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

#reviewsFeedOverlay .rf-load-more-btn:hover {
    border-color: var(--purple);
    color: var(--purple);
}