/* NSR eBay Records v1.0.1 - Themed to match presenter box */

.nsr-ebay-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px;
    color: var(--earth-cream, #f5f0e6);
    font-family: inherit;
}

/* Disclosure */
.nsr-ebay-disclosure {
    font-size: 13px;
    color: var(--earth-cream, #f5f0e6);
    background: linear-gradient(135deg, rgba(45, 36, 30, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 2px solid var(--earth-gold, #c9a227);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 30px;
    line-height: 1.6;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(201, 162, 39, 0.05);
}

/* Section titles */
.nsr-ebay-section-title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--earth-gold, #c9a227);
    text-align: center;
    margin: 40px 0 20px;
    padding-bottom: 14px;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--earth-red, #8b2635);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.nsr-ebay-featured-title {
    color: var(--earth-gold-light, #e8d5a3);
    border-bottom-color: var(--earth-gold, #c9a227);
}

/* Controls / filter bar */
.nsr-ebay-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(45, 36, 30, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 2px solid var(--earth-gold, #c9a227);
    border-radius: 12px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(201, 162, 39, 0.05);
}

.nsr-ebay-control {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 200px;
}

.nsr-ebay-control label {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--earth-gold, #c9a227);
    letter-spacing: 0.2em;
}

.nsr-ebay-control select {
    padding: 10px 14px;
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-radius: 6px;
    font-size: 14px;
    background: var(--earth-charcoal, #0d0d0d);
    color: var(--earth-cream, #f5f0e6);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nsr-ebay-control select:focus {
    outline: none;
    border-color: var(--earth-gold, #c9a227);
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.25);
}

.nsr-ebay-control select option {
    background: var(--earth-charcoal, #0d0d0d);
    color: var(--earth-cream, #f5f0e6);
}

/* Grid */
.nsr-ebay-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 35px;
}

.nsr-ebay-grid-featured {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .nsr-ebay-grid,
    .nsr-ebay-grid-featured {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nsr-ebay-grid,
    .nsr-ebay-grid-featured {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .nsr-ebay-grid,
    .nsr-ebay-grid-featured {
        grid-template-columns: 1fr;
    }
}

/* Card */
.nsr-ebay-card {
    background: linear-gradient(135deg, rgba(45, 36, 30, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 2px solid var(--earth-gold, #c9a227);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(201, 162, 39, 0.05);
}

.nsr-ebay-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(201, 162, 39, 0.4),
        inset 0 0 20px rgba(201, 162, 39, 0.1);
}

.nsr-ebay-card-featured {
    border: 3px solid var(--earth-gold, #c9a227);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(201, 162, 39, 0.3),
        inset 0 0 30px rgba(201, 162, 39, 0.08);
}

.nsr-ebay-card-link {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nsr-ebay-card-link:hover {
    text-decoration: none !important;
    color: inherit;
}

/* Card image */
.nsr-ebay-card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--earth-charcoal, #0d0d0d);
    overflow: hidden;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.nsr-ebay-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.nsr-ebay-card:hover .nsr-ebay-card-image img {
    transform: scale(1.04);
}

.nsr-ebay-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--earth-gold, #c9a227);
    opacity: 0.4;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    letter-spacing: 0.1em;
}

/* Badges */
.nsr-ebay-badge {
    position: absolute;
    top: 10px;
    padding: 5px 12px;
    font-family: 'Cinzel', serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 4px;
    color: var(--earth-cream, #f5f0e6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.nsr-ebay-badge-featured {
    left: 10px;
    background: linear-gradient(135deg, var(--earth-red, #8b2635), #5a1a24);
}

.nsr-ebay-badge-auction {
    right: 10px;
    background: linear-gradient(135deg, #2d241e, var(--earth-charcoal, #0d0d0d));
    border: 1px solid var(--earth-gold, #c9a227);
    color: var(--earth-gold-light, #e8d5a3);
}

.nsr-ebay-badge-bin {
    right: 10px;
    background: linear-gradient(135deg, var(--earth-gold, #c9a227), #a0801c);
    color: var(--earth-charcoal, #0d0d0d);
}

/* Card body */
.nsr-ebay-card-body {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nsr-ebay-card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 10px;
    color: var(--earth-cream, #f5f0e6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 39px;
}

.nsr-ebay-card-price {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--earth-gold, #c9a227);
    margin-bottom: 10px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
}

.nsr-ebay-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 12px;
    color: var(--earth-gold-light, #e8d5a3);
    opacity: 0.85;
    margin-bottom: 8px;
}

.nsr-ebay-card-meta span:not(:last-child)::after {
    content: '·';
    margin-left: 10px;
    color: var(--earth-gold, #c9a227);
    opacity: 0.5;
}

.nsr-ebay-seller {
    font-size: 11px;
    color: var(--earth-cream, #f5f0e6);
    opacity: 0.6;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(201, 162, 39, 0.15);
}

/* Action buttons */
.nsr-ebay-card-actions {
    display: flex;
    gap: 8px;
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.nsr-ebay-btn {
    flex: 1;
    text-align: center;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.nsr-ebay-btn-primary {
    background: linear-gradient(135deg, var(--earth-gold, #c9a227), #a0801c);
    color: var(--earth-charcoal, #0d0d0d) !important;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

.nsr-ebay-btn-primary:hover {
    background: linear-gradient(135deg, var(--earth-gold-light, #e8d5a3), var(--earth-gold, #c9a227));
    color: var(--earth-charcoal, #0d0d0d) !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(201, 162, 39, 0.4);
}

.nsr-ebay-btn-secondary {
    background: transparent;
    color: var(--earth-gold, #c9a227) !important;
    border: 1px solid var(--earth-gold, #c9a227);
}

.nsr-ebay-btn-secondary:hover {
    background: rgba(201, 162, 39, 0.1);
    color: var(--earth-gold-light, #e8d5a3) !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* Pagination */
.nsr-ebay-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 35px 0 20px;
}

.nsr-ebay-page-link {
    padding: 10px 16px;
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-radius: 6px;
    text-decoration: none !important;
    color: var(--earth-cream, #f5f0e6) !important;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(45, 36, 30, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    transition: all 0.2s ease;
    letter-spacing: 0.05em;
}

.nsr-ebay-page-link:hover {
    background: rgba(201, 162, 39, 0.1);
    color: var(--earth-gold, #c9a227) !important;
    border-color: var(--earth-gold, #c9a227);
    text-decoration: none !important;
    transform: translateY(-1px);
}

.nsr-ebay-page-current {
    background: linear-gradient(135deg, var(--earth-gold, #c9a227), #a0801c) !important;
    color: var(--earth-charcoal, #0d0d0d) !important;
    border-color: var(--earth-gold, #c9a227) !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

.nsr-ebay-page-current:hover {
    background: linear-gradient(135deg, var(--earth-gold, #c9a227), #a0801c) !important;
    color: var(--earth-charcoal, #0d0d0d) !important;
}

.nsr-ebay-page-ellipsis {
    padding: 10px 4px;
    color: var(--earth-gold, #c9a227);
    opacity: 0.5;
}

.nsr-ebay-page-info {
    width: 100%;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    color: var(--earth-gold-light, #e8d5a3);
    opacity: 0.7;
    margin-top: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* States */
.nsr-ebay-error {
    padding: 25px;
    background: linear-gradient(135deg, rgba(139, 38, 53, 0.2), rgba(26, 26, 26, 0.95));
    border: 2px solid var(--earth-red, #8b2635);
    border-radius: 12px;
    color: var(--earth-cream, #f5f0e6);
    text-align: center;
}

.nsr-ebay-empty {
    padding: 50px 25px;
    text-align: center;
    color: var(--earth-cream, #f5f0e6);
    opacity: 0.7;
    background: linear-gradient(135deg, rgba(45, 36, 30, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: 12px;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.05em;
}

/* =============================================================
   v1.1.0 additions - Tabs and list view
   ============================================================= */

/* Tab navigation */
.nsr-ebay-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 30px 0 0;
    border-bottom: 2px solid var(--earth-gold, #c9a227);
    background: linear-gradient(135deg, rgba(45, 36, 30, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border-radius: 12px 12px 0 0;
    border: 2px solid var(--earth-gold, #c9a227);
    border-bottom: none;
    overflow: hidden;
}

.nsr-ebay-tab {
    flex: 1;
    min-width: 140px;
    padding: 16px 24px;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--earth-cream, #f5f0e6) !important;
    text-decoration: none !important;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(201, 162, 39, 0.2);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.nsr-ebay-tab:last-child {
    border-right: none;
}

.nsr-ebay-tab:hover {
    background: rgba(201, 162, 39, 0.1);
    color: var(--earth-gold-light, #e8d5a3) !important;
    text-decoration: none !important;
}

.nsr-ebay-tab-active {
    background: linear-gradient(135deg, var(--earth-gold, #c9a227), #a0801c) !important;
    color: var(--earth-charcoal, #0d0d0d) !important;
    box-shadow: inset 0 -3px 0 var(--earth-red, #8b2635);
}

.nsr-ebay-tab-active:hover {
    color: var(--earth-charcoal, #0d0d0d) !important;
    background: linear-gradient(135deg, var(--earth-gold-light, #e8d5a3), var(--earth-gold, #c9a227)) !important;
}

/* Tab content panel */
.nsr-ebay-tab-content {
    background: linear-gradient(135deg, rgba(45, 36, 30, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 2px solid var(--earth-gold, #c9a227);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 25px 30px 30px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(201, 162, 39, 0.05);
    transition: opacity 0.2s ease;
}

.nsr-ebay-tab-content.nsr-ebay-loading {
    opacity: 0.4;
    pointer-events: none;
}

/* Tab header */
.nsr-ebay-tab-header {
    margin-bottom: 20px;
    text-align: center;
}

.nsr-ebay-tab-header .nsr-ebay-section-title {
    margin: 0 0 8px;
    border-bottom: none;
    padding-bottom: 0;
}

.nsr-ebay-tab-subhead {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    color: var(--earth-gold-light, #e8d5a3);
    opacity: 0.8;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0;
}

/* Featured section spacing */
.nsr-ebay-featured-section {
    margin-bottom: 35px;
}

/* List view */
.nsr-ebay-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 25px 0;
}

.nsr-ebay-list-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    padding: 18px;
    background: rgba(13, 13, 13, 0.5);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 10px;
    transition: all 0.2s ease;
    align-items: start;
}

.nsr-ebay-list-row:hover {
    border-color: var(--earth-gold, #c9a227);
    background: rgba(13, 13, 13, 0.7);
    transform: translateX(2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
    .nsr-ebay-list-row {
        grid-template-columns: 100px 1fr;
        gap: 14px;
        padding: 14px;
    }
}

@media (max-width: 400px) {
    .nsr-ebay-list-row {
        grid-template-columns: 1fr;
    }
}

.nsr-ebay-list-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--earth-charcoal, #0d0d0d);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.3);
    display: block;
}

.nsr-ebay-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.nsr-ebay-list-row:hover .nsr-ebay-list-image img {
    transform: scale(1.05);
}

.nsr-ebay-row-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    right: 6px;
    text-align: center;
    padding: 4px 8px;
    font-family: 'Cinzel', serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 3px;
    background: rgba(13, 13, 13, 0.9);
    color: var(--earth-gold-light, #e8d5a3);
    border: 1px solid var(--earth-gold, #c9a227);
}

.nsr-ebay-list-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.nsr-ebay-list-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.nsr-ebay-list-title a {
    color: var(--earth-cream, #f5f0e6) !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.nsr-ebay-list-title a:hover {
    color: var(--earth-gold, #c9a227) !important;
    text-decoration: none !important;
}

.nsr-ebay-list-price {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--earth-gold, #c9a227);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
}

.nsr-ebay-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0;
}

.nsr-ebay-meta-item {
    font-size: 12px;
    padding: 3px 10px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 3px;
    color: var(--earth-gold-light, #e8d5a3);
    letter-spacing: 0.02em;
}

.nsr-ebay-tag-auction {
    background: rgba(139, 38, 53, 0.2);
    border-color: var(--earth-red, #8b2635);
    color: var(--earth-cream, #f5f0e6);
}

.nsr-ebay-tag-bin {
    background: rgba(201, 162, 39, 0.2);
    border-color: var(--earth-gold, #c9a227);
    color: var(--earth-gold-light, #e8d5a3);
}

.nsr-ebay-list-seller {
    font-size: 12px;
    color: var(--earth-cream, #f5f0e6);
    opacity: 0.7;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.nsr-ebay-list-seller strong {
    color: var(--earth-gold-light, #e8d5a3);
    font-weight: 600;
}

.nsr-ebay-feedback {
    padding: 1px 6px;
    background: rgba(45, 122, 45, 0.2);
    border: 1px solid rgba(45, 122, 45, 0.5);
    border-radius: 3px;
    font-size: 11px;
    color: #8fcb8f;
}

.nsr-ebay-listed {
    color: var(--earth-cream, #f5f0e6);
    opacity: 0.6;
    font-size: 11px;
}

.nsr-ebay-list-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.nsr-ebay-list-actions .nsr-ebay-btn {
    flex: 0 1 auto;
    padding: 8px 18px;
    min-width: 140px;
}

@media (max-width: 600px) {
    .nsr-ebay-list-actions .nsr-ebay-btn {
        min-width: 100px;
        padding: 8px 12px;
        flex: 1;
    }
}

/* =============================================================
   Live Countdown - matches on-air pill (red glow + pulsing dot)
   ============================================================= */

/* The countdown pill in the meta row */
.nsr-ebay-tag-ending.nsr-ebay-countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b0000 0%, #b22222 100%) !important;
    color: #fff !important;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 12px rgba(255, 50, 50, 0.45),
        0 0 24px rgba(255, 50, 50, 0.28);
    animation: nsrOnAirGlow 2s ease-in-out infinite;
}

/* Pulsing dot before the countdown text */
.nsr-ebay-tag-ending.nsr-ebay-countdown::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffdede;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    animation: nsrOnAirPulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

/* Image overlay countdown badge - same pill, repositioned */
.nsr-ebay-row-badge.nsr-ebay-countdown {
    bottom: 8px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b0000 0%, #b22222 100%) !important;
    color: #fff !important;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 12px rgba(255, 50, 50, 0.45),
        0 0 24px rgba(255, 50, 50, 0.28);
    animation: nsrOnAirGlow 2s ease-in-out infinite;
}

.nsr-ebay-row-badge.nsr-ebay-countdown::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffdede;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    animation: nsrOnAirPulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

/* Featured card auction badge - same treatment */
.nsr-ebay-badge-auction.nsr-ebay-countdown {
    background: linear-gradient(135deg, #8b0000 0%, #b22222 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 999px;
    padding: 5px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.14em;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 12px rgba(255, 50, 50, 0.45),
        0 0 24px rgba(255, 50, 50, 0.28);
    animation: nsrOnAirGlow 2s ease-in-out infinite;
}

.nsr-ebay-badge-auction.nsr-ebay-countdown::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffdede;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    animation: nsrOnAirPulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

/* Critical state - last 5 minutes - even more aggressive */
.nsr-ebay-countdown-critical {
    animation: nsrOnAirGlow 0.8s ease-in-out infinite !important;
    background: linear-gradient(135deg, #b22222 0%, #ff3030 100%) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 20px rgba(255, 50, 50, 0.7),
        0 0 40px rgba(255, 50, 50, 0.5) !important;
}

/* Ended state - dimmed */
.nsr-ebay-countdown-ended {
    animation: none !important;
    background: rgba(60, 60, 60, 0.6) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.nsr-ebay-countdown-ended::before {
    animation: none !important;
    background: rgba(255, 255, 255, 0.3) !important;
    box-shadow: none !important;
}

/* Borrow keyframes from theme. If theme not loaded these definitions ensure animation still works */
@keyframes nsrOnAirGlow {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.06) inset,
            0 0 12px rgba(255, 50, 50, 0.45),
            0 0 24px rgba(255, 50, 50, 0.28);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.10) inset,
            0 0 18px rgba(255, 70, 70, 0.60),
            0 0 34px rgba(255, 70, 70, 0.35);
    }
}

@keyframes nsrOnAirPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.82); }
}

/* =============================================================
   v1.2.0 - Share buttons & Picks widget
   ============================================================= */

/* Share buttons */
.nsr-ebay-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding-left: 8px;
}

.nsr-ebay-share-label {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--earth-gold-light, #e8d5a3);
    opacity: 0.7;
    margin-right: 2px;
}

.nsr-ebay-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: var(--earth-gold-light, #e8d5a3) !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.nsr-ebay-share-btn:hover {
    background: var(--earth-gold, #c9a227);
    color: var(--earth-charcoal, #0d0d0d) !important;
    border-color: var(--earth-gold, #c9a227);
    transform: translateY(-1px);
    text-decoration: none !important;
}

.nsr-ebay-share-btn svg {
    display: block;
}

/* Picks of the Week widget */
.nsr-ebay-picks-widget {
    margin: 30px auto;
    padding: 30px 25px;
    background: linear-gradient(135deg, rgba(45, 36, 30, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 2px solid var(--earth-gold, #c9a227);
    border-radius: 16px;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(201, 162, 39, 0.05);
}

.nsr-ebay-picks-header {
    text-align: center;
    margin-bottom: 25px;
}

.nsr-ebay-picks-header .nsr-ebay-section-title {
    margin: 0 0 6px;
    border-bottom: none;
    padding-bottom: 0;
}

.nsr-ebay-picks-grid {
    margin-bottom: 25px;
}

/* Adjust grid to support count attribute - 2/3/4 across */
.nsr-ebay-picks-grid[data-count="2"] {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.nsr-ebay-picks-grid[data-count="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.nsr-ebay-picks-cta {
    text-align: center;
    margin: 25px 0 15px;
}

.nsr-ebay-picks-cta-btn {
    display: inline-block;
    padding: 14px 36px !important;
    font-size: 13px !important;
    min-width: 220px;
}

.nsr-ebay-disclosure-compact {
    margin: 15px 0 0;
    padding: 8px 14px;
    font-size: 11px;
    text-align: center;
    border-width: 1px;
    box-shadow: none;
}

@media (max-width: 768px) {
    .nsr-ebay-share {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
    }
    .nsr-ebay-picks-grid[data-count="2"],
    .nsr-ebay-picks-grid[data-count="3"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .nsr-ebay-picks-grid[data-count="2"],
    .nsr-ebay-picks-grid[data-count="3"] {
        grid-template-columns: 1fr;
    }
}
