/* GRC Sunday Draws Sticky Bar v1.0.0 - isolated namespaced styling */
#grc-sb, #grc-sb * { box-sizing: border-box; }
#grc-sb[hidden] { display: none !important; }
#grc-sb.grc-sb {
    position: fixed; bottom: 15px; left: 50%; z-index: 999999;
    width: min(790px, calc(100vw - 34px));
    max-width: none; margin: 0; padding: 0;
    transform: translate(-50%, 25px); opacity: 0; pointer-events: none;
    transition: opacity 330ms ease, transform 330ms cubic-bezier(.21,.83,.24,1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Helvetica, Arial, sans-serif;
    color: #fff; line-height: 1.3; text-align: left;
    -webkit-font-smoothing: antialiased;
}
#grc-sb.grc-sb.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
#grc-sb .grc-sb__shell {
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: 21px; border: 1px solid rgba(84,196,251,.47);
    background: radial-gradient(circle at 90% -15%, rgba(32,117,233,.18), transparent 42%),
                linear-gradient(115deg,#051329 0%,#081e40 52%,#08265a 100%);
    box-shadow: 0 18px 55px rgba(0,8,27,.42), 0 2px 18px rgba(0,182,255,.20),
                inset 0 1px 0 rgba(255,255,255,.16);
    padding: 13px 17px 8px;
}
#grc-sb .grc-sb__rail {
    position: absolute; top: 0; left: 25px; right: 25px; height: 2px;
    background: linear-gradient(90deg,transparent,#62d9ff 28%,#2188f9 72%,transparent);
    opacity: .95; filter: drop-shadow(0 0 5px rgba(0,193,255,.6));
}
#grc-sb .grc-sb__slide { display: none; min-height: 76px; align-items: center; gap: 19px; }
#grc-sb .grc-sb__slide.is-current { display: flex; animation: grc-sb-in 250ms ease both; }
@keyframes grc-sb-in { from {opacity:0; transform:translateY(5px)} to {opacity:1; transform:translateY(0)} }
#grc-sb .grc-sb__primary {
    display: flex; align-items: center; gap: 14px; flex: 1 1 auto; min-width: 0;
    color: #fff !important; text-decoration: none !important; box-shadow: none !important;
    background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important;
}
#grc-sb .grc-sb__thumb {
    width: 76px; height: 76px; min-width: 76px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 13px; overflow: hidden;
    border: 1px solid rgba(104,212,255,.60);
    background: linear-gradient(145deg,#143a73,#091a34);
    box-shadow: 0 0 0 3px rgba(67,170,253,.09), 0 6px 18px rgba(0,0,0,.24);
}
#grc-sb .grc-sb__thumb img {
    display: block; width: 100%; height: 100%; object-fit: contain;
    border-radius: 0; margin: 0; padding: 0; max-width: none;
}
#grc-sb .grc-sb__image-fallback {font-size: 17px; font-weight: 1000; color:#89d9ff; letter-spacing:-.6px;}
#grc-sb .grc-sb__details { min-width: 0; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
#grc-sb .grc-sb__eyebrow {
    display: flex; align-items: center; white-space: nowrap; gap: 7px;
    font-weight: 850; text-transform: uppercase; letter-spacing: .10em;
    font-size: 10px; color: #f5cd74;
}
#grc-sb .grc-sb__spark {
    display: block; flex: 0 0 7px; height: 7px; border-radius: 50%;
    background:#f9cd6e; box-shadow: 0 0 9px rgba(249,205,110,.6);
}
#grc-sb .grc-sb__mid-dot {flex: 0 0 3px;height:3px;border-radius:50%;background:rgba(255,255,255,.45)}
#grc-sb .grc-sb__counter { color:#a6bddb; font-size: 9px; font-weight: 650; letter-spacing: .06em; }
#grc-sb .grc-sb__title {
    color: #fff; font-size: 15.5px; font-weight: 850; line-height: 1.25;
    overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    text-overflow: ellipsis; max-height: 40px;
}
#grc-sb .grc-sb__bottom {display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#d9e8ff;font-size:12px;line-height:1.2;}
#grc-sb .grc-sb__clock-icon {font-size: 16px; line-height: .8; color: #82dfff;}
#grc-sb .grc-sb__timer {font-size:13px;color:#e8f9ff;font-weight:850;letter-spacing:.02em;font-variant-numeric:tabular-nums;white-space:nowrap;}
#grc-sb .grc-sb__price {display:inline-block;padding:2px 7px;border-radius:5px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);font-size:11px;font-weight:750;white-space:nowrap;color:#fff;}
#grc-sb .grc-sb__price .woocommerce-Price-amount {font-size:inherit;font-weight:850;color:inherit;}
#grc-sb .grc-sb__price > span:last-child {font-size:10px;color:#bdcce3;font-weight:500;}
#grc-sb .grc-sb__cta {
    display: inline-flex; flex: 0 0 110px; height: 46px;
    align-items: center; justify-content: center; gap: 8px;
    margin: 0 24px 0 0 !important; padding: 0 12px !important;
    background: linear-gradient(105deg,#22c1fb,#1388fc) !important;
    border: 1px solid rgba(128,233,255,.7) !important; border-radius: 11px !important;
    color: #042040 !important; font-weight: 950; letter-spacing: .03em; font-size: 12px;
    line-height: 1; text-decoration: none !important; text-transform: none;
    text-shadow: none; box-shadow: 0 4px 20px rgba(0,150,255,.23), inset 0 1px 0 rgba(255,255,255,.30);
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
#grc-sb .grc-sb__cta:hover { background: linear-gradient(110deg,#70e8ff,#31a6ff) !important; transform:translateY(-1px); box-shadow: 0 7px 25px rgba(0,150,255,.40); }
#grc-sb .grc-sb__cta:active {transform:translateY(0)}
#grc-sb .grc-sb__cta svg {display:block;flex-shrink:0}
#grc-sb .grc-sb__close {
    position:absolute;z-index:5;top:8px;right:9px; display:flex;align-items:center;justify-content:center;
    width:27px;height:27px; min-width:27px; border:0 !important; border-radius:50% !important;
    background: rgba(255,255,255,.07) !important; color:#d5e4f6 !important;
    font-size:22px; font-weight:400; line-height:1; padding:0 !important; margin:0 !important;
    cursor:pointer; box-shadow:none !important;
}
#grc-sb .grc-sb__close:hover {background:rgba(255,255,255,.19) !important;color:#fff !important}
#grc-sb .grc-sb__controls {min-height:17px;display:flex;align-items:center;justify-content:center;gap:10px;margin:3px auto 0;}
#grc-sb .grc-sb__nav {display:flex;align-items:center;justify-content:center;width:23px;height:19px;padding:0!important;margin:0!important;background:transparent!important;border:0!important;color:#aac8ed!important;cursor:pointer;line-height:1;}
#grc-sb .grc-sb__nav:hover {color:white!important;}
#grc-sb .grc-sb__dots {display:inline-flex;align-items:center;justify-content:center;gap:5px;}
#grc-sb .grc-sb__dots i {display:block;width:6px;height:4px;border-radius:99px;background:rgba(199,225,255,.31);transition:width 240ms ease,background 240ms ease;}
#grc-sb .grc-sb__dots i.is-current {background:#6edcff;width:21px;box-shadow:0 0 8px rgba(61,202,255,.45);}
#grc-sb .grc-sb__preview-flag {font-size:10px;text-align:center;color:#ffc266;font-weight:bold;letter-spacing:.03em;padding:2px}
#grc-sb .grc-sb__primary:hover .grc-sb__title {color:#b9efff}
#grc-sb .grc-sb__primary:focus-visible,#grc-sb .grc-sb__cta:focus-visible,#grc-sb button:focus-visible {outline:3px solid #f7cb69!important;outline-offset:3px}
#grc-sb.grc-sb.is-today .grc-sb__spark {background:#ffba58;box-shadow:0 0 9px rgba(255,186,88,.85)}
#grc-sb.grc-sb.is-final .grc-sb__spark {background:#ff6473;box-shadow:0 0 10px rgba(255,100,115,.85)}
#grc-sb.grc-sb.is-final .grc-sb__eyebrow {color:#ff8896}
@media(max-width:650px) {
    #grc-sb.grc-sb {bottom:0;left:0;width:100%;transform:translate(0,24px);}
    #grc-sb.grc-sb.is-visible {transform:translate(0,0)}
    #grc-sb .grc-sb__shell {border-radius:18px 18px 0 0;border-bottom:0; padding:12px 12px calc(5px + env(safe-area-inset-bottom,0px));box-shadow:0 -8px 35px rgba(0,0,0,.37),0 -2px 14px rgba(0,135,255,.16);}
    #grc-sb .grc-sb__rail {left:16px;right:16px;}
    #grc-sb .grc-sb__slide {min-height:61px;gap:7px;}
    #grc-sb .grc-sb__primary {gap:9px; min-width:0;}
    #grc-sb .grc-sb__thumb {width:61px;height:61px;min-width:61px;border-radius:10px;}
    #grc-sb .grc-sb__details {gap:4px;}
    #grc-sb .grc-sb__eyebrow {font-size:8px;letter-spacing:.06em;gap:4px;}
    #grc-sb .grc-sb__spark {width:6px;height:6px;flex-basis:6px;}
    /* On smaller screens give the longer deadline label the whole line. */
    #grc-sb .grc-sb__counter,#grc-sb .grc-sb__mid-dot {display:none;}
    #grc-sb .grc-sb__eyebrow {min-width:0;white-space:normal;line-height:1.25;}
    #grc-sb .grc-sb__title {font-size:12.5px;line-height:1.19;max-height:32px;}
    #grc-sb .grc-sb__bottom {gap:5px;flex-wrap:wrap;font-size:11px;}
    #grc-sb .grc-sb__clock-icon {display:none}
    #grc-sb .grc-sb__timer {font-size:11.5px;}
    #grc-sb .grc-sb__price {font-size:10px;padding:1px 5px;border-radius:4px;}
    #grc-sb .grc-sb__price > span:last-child {font-size:9px;}
    #grc-sb .grc-sb__cta {flex-basis:69px;height:40px;gap:4px;margin:3px 16px 0 0 !important;padding:0 6px!important;font-size:11px;border-radius:9px!important;}
    #grc-sb .grc-sb__cta svg {width:12px;height:12px;}
    #grc-sb .grc-sb__close {top:7px;right:5px;width:23px;height:23px;min-width:23px;font-size:19px;}
    #grc-sb .grc-sb__controls {margin-top:5px;min-height:16px;gap:12px;}
    #grc-sb .grc-sb__nav {width:25px;}
}
@media(max-width:374px) {
    #grc-sb .grc-sb__shell {padding-left:8px;padding-right:8px;}
    #grc-sb .grc-sb__thumb {width:54px;height:54px;min-width:54px;}
    #grc-sb .grc-sb__slide {min-height:54px;}
    #grc-sb .grc-sb__primary {gap:7px;}
    #grc-sb .grc-sb__title {font-size:11.5px;}
    #grc-sb .grc-sb__counter {display:none;}
    #grc-sb .grc-sb__mid-dot {display:none;}
    #grc-sb .grc-sb__cta {flex-basis:60px;font-size:10px;margin-right:22px!important;}
}
@media(prefers-reduced-motion:reduce) {
    #grc-sb.grc-sb, #grc-sb .grc-sb__slide.is-current, #grc-sb .grc-sb__cta, #grc-sb .grc-sb__dots i {animation:none!important;transition:none!important;}
}
