.hce-market-ticker{
    --hce-orange:#ff4d00;
    position:relative;
    width:100%;
    overflow:hidden;
    background:#0a0a0c;
    color:#f5f5f7;
    border-bottom:1px solid rgba(255,255,255,.07);
    font-family:Peyda,system-ui,sans-serif;
    font-size:13px;
    line-height:1;
    direction:ltr;
    z-index:999;
}
.hce-market-ticker:before,.hce-market-ticker:after{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    width:42px;
    z-index:2;
    pointer-events:none;
}
.hce-market-ticker:before{left:0;background:linear-gradient(90deg,#0a0a0c,transparent)}
.hce-market-ticker:after{right:0;background:linear-gradient(270deg,#0a0a0c,transparent)}
.hce-ticker-track{
    display:flex;
    flex-wrap:nowrap;
    width:max-content;
    animation:hceTicker var(--hce-speed,28s) linear infinite;
    will-change:transform;
}
.hce-market-ticker:hover .hce-ticker-track{animation-play-state:paused}
.hce-ticker-group{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    width:max-content;
    min-width:max-content;
    direction:rtl;
}
.hce-ticker-sequence{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    gap:18px;
    padding:9px 24px;
    white-space:nowrap;
    direction:rtl;
}
.hce-ticker-brand{display:inline-flex;align-items:center;gap:5px;color:#fff;font-weight:800;white-space:nowrap}
.hce-ticker-item{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:#d7d7dc}
.hce-ticker-item b{color:#fff;font-weight:700}
.hce-ticker-sep{opacity:.28}
.hce-ticker-joke{color:#aaaab2;white-space:nowrap}
.hce-ticker-source{color:#ff7740!important;white-space:nowrap;font-weight:600}
.hce-change{font-style:normal;font-size:11px;font-weight:700;border-radius:999px;padding:3px 6px}
.hce-up{color:#57d38c;background:rgba(87,211,140,.10)}
.hce-down{color:#ff6b6b;background:rgba(255,107,107,.10)}
.hce-flat{color:#a7a7ad;background:rgba(255,255,255,.06)}
@keyframes hceTicker{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}

.hce-yith-cart-copy{display:inline;line-height:1.9}
.hce-yith-cart-copy .hce-rate-plain{font-weight:700;color:#ff4d00}
#yith-par-message-reward-cart #ywpar-points-max{min-width:74px}

.hce-balance-card{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 16px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:12px;
    background:#18181c;
    color:#f5f5f7;
    font-family:Peyda,system-ui,sans-serif;
}
.hce-balance-emoji{font-size:30px}
.hce-balance-card strong,.hce-balance-card small{display:block}
.hce-balance-card small{margin-top:3px;color:#a6a6ad}
.hce-inline-rate{font-weight:700;color:#ff4d00}
.hce-live-kg-preview{display:inline-block;margin-inline-start:7px;font-weight:800;color:#ff4d00;white-space:nowrap}

@media (prefers-reduced-motion:reduce){.hce-ticker-track{animation:none}}
@media (max-width:768px){
    .hce-market-ticker{font-size:12px}
    .hce-ticker-sequence{gap:14px;padding:8px 18px}
    .hce-ticker-joke{display:none}
}


/* Product carrot reward hover help */
.single-product .yith-par-message-product.hce-product-tooltip-host{
    position:relative;
    overflow:visible!important;
    cursor:help;
    outline:none;
}
.single-product .hce-product-carrot-tooltip{
    position:absolute;
    z-index:99999;
    top:calc(100% + 10px);
    left:50%;
    width:min(360px,calc(100vw - 32px));
    padding:12px 14px;
    border:1px solid rgba(255,77,0,.38);
    border-radius:12px;
    background:#18181c;
    box-shadow:0 14px 34px rgba(0,0,0,.35);
    color:#f5f5f7;
    font-family:Peyda,system-ui,sans-serif;
    font-size:13px;
    font-weight:400;
    line-height:1.85;
    text-align:right;
    direction:rtl;
    white-space:normal;
    opacity:0;
    visibility:hidden;
    transform:translate(-50%,-4px);
    transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
    pointer-events:none;
}
.single-product .hce-product-carrot-tooltip:before{
    content:"";
    position:absolute;
    left:50%;
    bottom:100%;
    width:10px;
    height:10px;
    background:#18181c;
    border-top:1px solid rgba(255,77,0,.38);
    border-left:1px solid rgba(255,77,0,.38);
    transform:translate(-50%,5px) rotate(45deg);
}
.single-product .yith-par-message-product.hce-product-tooltip-host:hover .hce-product-carrot-tooltip,
.single-product .yith-par-message-product.hce-product-tooltip-host:focus .hce-product-carrot-tooltip,
.single-product .yith-par-message-product.hce-product-tooltip-host.hce-tooltip-open .hce-product-carrot-tooltip{
    opacity:1;
    visibility:visible;
    transform:translate(-50%,0);
}
@media (max-width:768px){
    .single-product .hce-product-carrot-tooltip{
        width:min(320px,calc(100vw - 24px));
        font-size:12px;
    }
}


/* Controlled carrot humor */
.single-product .hce-product-fun-copy{
    display:block;
    margin-top:5px;
    color:#ff7740;
    font-family:Peyda,system-ui,sans-serif;
    font-size:12px;
    font-weight:600;
    line-height:1.7;
}
.hce-balance-card .hce-balance-fun{
    margin-top:6px;
    color:#ff7740;
    font-size:12px;
    font-weight:600;
}

/* =========================================================
   Havyj Carrot Economy v1.1.0
   ========================================================= */
.hce-ticker-index,.hce-ticker-sentiment,.hce-ticker-ath{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#d7d7dc}
.hce-ticker-index b,.hce-ticker-sentiment b,.hce-ticker-ath b{color:#fff;font-weight:800}
.hce-ticker-index small{font-size:10px;color:#777780;border:1px solid rgba(255,255,255,.09);border-radius:999px;padding:2px 5px}
.hce-ticker-brand{cursor:pointer;user-select:none}

.hce-account-page{font-family:Peyda,system-ui,sans-serif;direction:rtl}
.hce-account-page>h2{margin-bottom:18px}
.hce-portfolio,.hce-calculator,.hce-achievements,.hce-statement{margin:0 0 18px;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#18181c;color:#f5f5f7}
.hce-portfolio-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.hce-portfolio-head span{display:block;color:#a6a6ad;font-size:13px}
.hce-portfolio-head h3{margin:4px 0 0;color:#fff;font-size:28px;line-height:1.2}
.hce-rank{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid rgba(255,77,0,.3);background:rgba(255,77,0,.08);border-radius:999px;color:#ff7740;font-size:12px;white-space:nowrap}
.hce-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}
.hce-metrics>div,.hce-statement-grid>div{padding:12px;border-radius:12px;background:#202024;border:1px solid rgba(255,255,255,.06)}
.hce-metrics small,.hce-statement-grid small{display:block;color:#96969f;font-size:11px;margin-bottom:5px}
.hce-metrics strong,.hce-statement-grid strong{display:block;color:#fff;font-size:15px}
.hce-metrics em{display:block;margin-top:4px;font-style:normal;font-size:11px}
.hce-metrics .is-up strong,.hce-metrics .is-up em{color:#57d38c}
.hce-metrics .is-down strong,.hce-metrics .is-down em{color:#ff6b6b}
.hce-metrics .is-flat strong,.hce-metrics .is-flat em{color:#d7d7dc}
.hce-chart-wrap{padding:12px;border:1px solid rgba(255,255,255,.06);border-radius:12px;background:#111114}
.hce-chart-title{font-size:12px;color:#aaaab2;margin-bottom:8px}
.hce-price-chart{display:block;width:100%;height:160px;overflow:visible}
.hce-price-chart polyline{stroke:#ff4d00;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 5px rgba(255,77,0,.22))}
.hce-chart-range{display:flex;justify-content:space-between;color:#777780;font-size:10px;margin-top:5px}
.hce-chart-empty{padding:30px 10px;text-align:center;color:#888890;font-size:12px}
.hce-portfolio-note{display:block;margin-top:10px;color:#777780;font-size:10px;line-height:1.7}
.hce-section-title{font-size:16px;font-weight:800;margin-bottom:12px;color:#fff}
.hce-calc-grid{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:10px}
.hce-calc-grid label{display:flex;flex-direction:column;gap:6px;color:#aaaab2;font-size:12px}
.hce-calc-grid input{width:100%;height:42px;border-radius:9px;border:1px solid rgba(255,255,255,.09);background:#101014;color:#fff;padding:0 12px;font-family:inherit}
.hce-calc-grid>span{padding-bottom:11px;color:#ff4d00;font-weight:800}
.hce-calculator>small{display:block;margin-top:9px;color:#777780}
.hce-achievement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.hce-achievement{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid rgba(255,255,255,.06);border-radius:12px;background:#202024}
.hce-achievement>span{font-size:24px;filter:grayscale(1);opacity:.35}
.hce-achievement strong,.hce-achievement small{display:block}
.hce-achievement strong{font-size:13px;color:#a0a0a8}
.hce-achievement small{font-size:10px;color:#777780;margin-top:3px;line-height:1.5}
.hce-achievement.is-unlocked{border-color:rgba(255,77,0,.22);background:rgba(255,77,0,.055)}
.hce-achievement.is-unlocked>span{filter:none;opacity:1}
.hce-achievement.is-unlocked strong{color:#fff}
.hce-statement-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}

.hce-checkout-carrot-notice{margin:10px 0 14px;padding:12px 14px;border:1px solid rgba(255,77,0,.25);border-radius:12px;background:rgba(255,77,0,.06);font-family:Peyda,system-ui,sans-serif;direction:rtl;color:#f5f5f7}
.hce-checkout-carrot-notice strong,.hce-checkout-carrot-notice span{display:block}
.hce-checkout-carrot-notice span{margin-top:4px;color:#bdbdc4;font-size:12px;line-height:1.7}
.hce-thankyou-carrot,.hce-order-carrot-status{margin:14px 0;padding:13px 15px;border-radius:12px;border:1px solid rgba(255,77,0,.24);background:rgba(255,77,0,.06);font-family:Peyda,system-ui,sans-serif;color:#f5f5f7;direction:rtl}
.hce-order-carrot-status{display:flex;flex-direction:column;gap:4px}
.hce-order-carrot-status span{color:#a6a6ad;font-size:12px}

.hce-404-copy{max-width:620px;margin:24px auto;text-align:center;padding:24px;font-family:Peyda,system-ui,sans-serif;direction:rtl}
.hce-404-rabbit{font-size:56px;margin-bottom:8px}
.hce-404-copy h2{font-size:27px;margin:0 0 8px;color:#fff}
.hce-404-copy p{color:#a6a6ad;font-size:14px}

.hce-carrot-toast{position:fixed;left:50%;bottom:32px;z-index:999999;transform:translate(-50%,16px);opacity:0;visibility:hidden;padding:11px 16px;border:1px solid rgba(255,77,0,.32);border-radius:999px;background:#18181c;color:#fff;font-family:Peyda,system-ui,sans-serif;font-size:12px;box-shadow:0 14px 35px rgba(0,0,0,.35);transition:.18s ease;white-space:nowrap}
.hce-carrot-toast.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
.hce-runaway-rabbit{position:fixed;left:-80px;bottom:75px;z-index:999998;font-size:42px;animation:hceRabbitRun 2.5s linear forwards;pointer-events:none}
@keyframes hceRabbitRun{0%{left:-80px;transform:rotate(-5deg)}50%{transform:rotate(6deg)}100%{left:calc(100vw + 80px);transform:rotate(-4deg)}}

@media (max-width:768px){
    .hce-metrics,.hce-statement-grid{grid-template-columns:1fr 1fr}
    .hce-achievement-grid{grid-template-columns:1fr}
    .hce-calc-grid{grid-template-columns:1fr}.hce-calc-grid>span{display:none}
    .hce-portfolio-head{align-items:center}.hce-portfolio-head h3{font-size:22px}
    .hce-price-chart{height:120px}
    .hce-carrot-toast{max-width:calc(100vw - 28px);white-space:normal;text-align:center}
}
.hce-balance-rank{display:inline-flex;margin-top:5px;padding:3px 7px;border-radius:999px;background:rgba(255,77,0,.08);border:1px solid rgba(255,77,0,.2);color:#ff7740;font-size:10px;font-weight:700}
.hce-balance-daily.is-up{color:#57d38c}.hce-balance-daily.is-down{color:#ff6b6b}

/* =========================================================
   Havyj Carrot Economy v1.2.0 - progression & game systems
   ========================================================= */
.hce-level-progress,.hce-streak,.hce-leaderboard,.hce-seasonal-badge{
    margin:0 0 18px;padding:16px 18px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#18181c;color:#f5f5f7;font-family:Peyda,system-ui,sans-serif;direction:rtl
}
.hce-level-progress{border-color:color-mix(in srgb,var(--hce-level-color,#ff4d00) 35%,transparent)}
.hce-level-current{display:flex;align-items:center;gap:12px}
.hce-level-current img{width:62px;height:62px;object-fit:contain;filter:drop-shadow(0 5px 15px rgba(0,0,0,.28))}
.hce-level-fallback{display:grid;place-items:center;width:62px;height:62px;border-radius:16px;background:rgba(255,77,0,.08);font-size:30px}
.hce-level-current small,.hce-level-current span{display:block;color:#94949d;font-size:11px}
.hce-level-current strong{display:block;margin:2px 0;color:var(--hce-level-color,#ff7740);font-size:17px}
.hce-level-target{margin-top:14px}
.hce-level-target-line{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;color:#bdbdc5;font-size:12px}
.hce-level-target-line b{color:#fff}.hce-level-target-line em{font-style:normal;color:var(--hce-level-color,#ff7740);font-weight:700}
.hce-level-bar{height:8px;overflow:hidden;border-radius:999px;background:#0f0f12;border:1px solid rgba(255,255,255,.06)}
.hce-level-bar i{display:block;height:100%;border-radius:inherit;box-shadow:0 0 14px color-mix(in srgb,var(--hce-level-color,#ff4d00) 55%,transparent);transition:width .6s ease}
.hce-level-max{margin-top:12px;color:#bdbdc5;font-size:12px}
.hce-streak{display:flex;align-items:center;gap:13px;background:linear-gradient(135deg,rgba(255,77,0,.08),#18181c 60%)}
.hce-streak-fire{font-size:34px;filter:drop-shadow(0 0 10px rgba(255,77,0,.35))}
.hce-streak small,.hce-streak span{display:block;color:#96969f;font-size:11px}.hce-streak strong{display:block;color:#fff;font-size:15px;margin:2px 0}
.hce-seasonal-badge{display:flex;align-items:center;gap:11px;border-color:rgba(255,77,0,.22);background:linear-gradient(135deg,rgba(255,77,0,.08),rgba(90,210,70,.05))}
.hce-seasonal-badge>span{font-size:28px}.hce-seasonal-badge strong,.hce-seasonal-badge small{display:block}.hce-seasonal-badge small{color:#9d9da5;margin-inline-start:auto}
.hce-leaderboard-list{display:flex;flex-direction:column;gap:7px}
.hce-leaderboard-row{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:9px;padding:10px 11px;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:#202024}
.hce-leaderboard-row.is-me{border-color:rgba(255,77,0,.3);background:rgba(255,77,0,.07)}
.hce-leaderboard-rank{font-weight:800;color:#ff7740}.hce-leaderboard-row strong{font-size:12px}.hce-leaderboard-row em{font-style:normal;color:#909099;font-size:11px}.hce-leaderboard-note{display:block;margin-top:9px;color:#73737c;font-size:10px}
.hce-rank{gap:7px;border-color:color-mix(in srgb,var(--hce-rank-color,#ff4d00) 35%,transparent)!important;background:color-mix(in srgb,var(--hce-rank-color,#ff4d00) 10%,transparent)!important;color:var(--hce-rank-color,#ff7740)!important}
.hce-rank img{width:28px;height:28px;object-fit:contain}
.hce-insurance-copy{display:block!important;margin-top:7px!important;color:#777780!important;font-size:10px!important}
.hce-portfolio-insurance{padding-top:7px;border-top:1px dashed rgba(255,255,255,.07)}
.hce-thankyou-carrot small,.hce-order-carrot-status small{display:block;margin-top:6px;color:#ff8a58;font-size:10px;font-family:monospace;direction:ltr;text-align:right}
.hce-order-carrot-status em{font-style:normal;color:#ffd36b;font-size:11px}
.hce-golden-drop{margin:14px 0;padding:15px 17px;border-radius:14px;border:1px solid rgba(255,197,61,.45);background:radial-gradient(circle at 20% 10%,rgba(255,215,80,.18),rgba(255,77,0,.05) 50%,#151516);box-shadow:0 0 26px rgba(255,183,0,.13);font-family:Peyda,system-ui,sans-serif;direction:rtl;color:#fff}
.hce-golden-drop b{display:inline-flex;padding:3px 7px;border-radius:999px;background:rgba(255,210,60,.13);color:#ffd75a;font-size:10px;letter-spacing:.5px}.hce-golden-drop strong,.hce-golden-drop span{display:block}.hce-golden-drop strong{margin:7px 0 3px;color:#ffe083;font-size:17px}.hce-golden-drop span{color:#bdbdc5;font-size:12px}

.hce-levelup-overlay{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:20px;background:rgba(6,6,9,.78);backdrop-filter:blur(7px);opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease}
.hce-levelup-overlay.is-open{opacity:1;visibility:visible}.hce-levelup-card{position:relative;width:min(430px,calc(100vw - 32px));padding:28px 24px 22px;text-align:center;border:1px solid color-mix(in srgb,var(--hce-level-color,#ff4d00) 55%,transparent);border-radius:24px;background:radial-gradient(circle at 50% 5%,color-mix(in srgb,var(--hce-level-color,#ff4d00) 18%,transparent),#151518 48%);box-shadow:0 0 60px color-mix(in srgb,var(--hce-level-color,#ff4d00) 24%,transparent);font-family:Peyda,system-ui,sans-serif;color:#fff;transform:scale(.92) translateY(10px);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.hce-levelup-overlay.is-open .hce-levelup-card{transform:scale(1) translateY(0)}.hce-levelup-burst{font-size:11px;font-weight:900;letter-spacing:2px;color:var(--hce-level-color,#ff7740)}
.hce-levelup-card img{display:block;width:160px;height:160px;object-fit:contain;margin:7px auto 4px;filter:drop-shadow(0 10px 28px rgba(0,0,0,.4));animation:hceLevelFloat 2.8s ease-in-out infinite}
.hce-levelup-card .hce-levelup-emoji{display:block;font-size:86px;margin:10px 0}.hce-levelup-card h3{margin:4px 0;color:var(--hce-level-color,#ff7740);font-size:25px}.hce-levelup-card p{margin:7px 0 15px;color:#aaaab2;font-size:13px}.hce-levelup-close{border:0;border-radius:10px;background:#ff4d00;color:#fff;padding:9px 18px;font-family:inherit;font-weight:700;cursor:pointer}
@keyframes hceLevelFloat{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-7px) rotate(1deg)}}
@media (prefers-reduced-motion:reduce){.hce-levelup-card img{animation:none}.hce-level-bar i{transition:none}}
@media (max-width:768px){.hce-leaderboard-row{grid-template-columns:38px 1fr}.hce-leaderboard-row em{grid-column:2}.hce-seasonal-badge{align-items:flex-start;flex-wrap:wrap}.hce-seasonal-badge small{margin-inline-start:0;width:100%}}

/* =========================================================
   Havyj Header Status — compact carrot economy summary
   Shortcode: [havyj_header_status]
   ========================================================= */
.hce-header-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: inherit;
    font-family: inherit;
    line-height: 1;
}

.hce-header-status-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    padding: 3px 7px;
    border-radius: 999px;
    color: inherit !important;
    text-decoration: none !important;
    background: rgba(255,255,255,.025);
    transition: background-color .2s ease, transform .2s ease, color .2s ease;
}

.hce-header-status-item:hover {
    background: rgba(255,77,0,.10);
    transform: translateY(-1px);
}

.hce-header-carrot-img,
.hce-header-level-img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 22px;
}

.hce-header-carrot-emoji,
.hce-header-level-fallback,
.hce-header-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    font-size: 18px;
}

.hce-header-value-icon {
    color: #ff4d00;
    font-size: 15px;
}

.hce-header-status-level {
    position: relative;
}

.hce-header-status-level::after {
    content: '';
    position: absolute;
    inset-inline: 9px;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: var(--hce-header-level-color, #ff4d00);
    opacity: .8;
}

.hce-header-status-item > span:last-child {
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .hce-header-status {
        gap: 4px;
    }
    .hce-header-status-item {
        padding-inline: 4px;
    }
    .hce-header-status-value {
        display: none;
    }
    .hce-header-status-item > span:last-child {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .hce-header-status-level > span:last-child {
        display: none;
    }
}

/* =========================================================
   Havyj Carrot Exchange v1.3.0 — Viral / Tribe systems
   ========================================================= */
.hce-viral-boosts{display:flex!important;flex-wrap:wrap;gap:6px;margin-top:8px!important;color:#ffb08e!important;font-size:11px!important;font-weight:700}
.hce-rain-pill{position:fixed;left:50%;bottom:24px;z-index:999995;display:grid;grid-template-columns:auto auto;gap:2px 10px;align-items:center;min-width:250px;padding:10px 15px;border:1px solid rgba(255,77,0,.42);border-radius:16px;background:rgba(18,18,22,.94);backdrop-filter:blur(12px);box-shadow:0 14px 45px rgba(0,0,0,.4),0 0 30px rgba(255,77,0,.16);color:#fff;font-family:Peyda,system-ui,sans-serif;direction:rtl;transform:translateX(-50%);animation:hceRainPillIn .45s cubic-bezier(.2,.8,.2,1)}
.hce-rain-pill b{grid-row:1/3;color:#ff7740;font-size:12px;letter-spacing:.4px}.hce-rain-pill span{font-size:11px;color:#ddd}.hce-rain-pill em{font-style:normal;color:#ffb08e;font-size:10px}.hce-rain-pill.is-ending{opacity:0;transform:translate(-50%,20px);transition:.8s ease}
@keyframes hceRainPillIn{from{opacity:0;transform:translate(-50%,22px) scale(.95)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
.hce-rain-overlay{position:fixed;inset:0;z-index:999990;overflow:hidden;pointer-events:none}.hce-rain-overlay span{position:absolute;top:-60px;filter:drop-shadow(0 5px 8px rgba(0,0,0,.35));animation:hceCarrotFall 4s linear forwards}
@keyframes hceCarrotFall{0%{transform:translateY(-80px) rotate(0);opacity:0}8%{opacity:1}100%{transform:translateY(calc(100vh + 100px)) rotate(520deg);opacity:.75}}

.hce-mystery-rabbit{position:fixed;right:-150px;top:var(--rabbit-y,42vh);z-index:999994;display:flex;align-items:center;gap:7px;border:1px solid rgba(255,77,0,.32);border-radius:999px;padding:7px 10px 7px 8px;background:#18181c;color:#fff;box-shadow:0 16px 35px rgba(0,0,0,.38),0 0 24px rgba(255,77,0,.13);font-family:Peyda,system-ui,sans-serif;cursor:pointer;transition:right .6s cubic-bezier(.2,.8,.2,1),transform .2s ease,opacity .25s ease}.hce-mystery-rabbit span{font-size:30px}.hce-mystery-rabbit small{font-size:10px;color:#ffad8a;white-space:nowrap}.hce-mystery-rabbit.is-visible{right:14px}.hce-mystery-rabbit:hover{transform:scale(1.07) rotate(-2deg)}.hce-mystery-rabbit.is-caught{transform:scale(.7) rotate(12deg);opacity:.2}.hce-mystery-rabbit.is-escaping{right:calc(100vw + 160px);transform:rotate(-10deg);transition:right 1.1s linear,transform .4s ease}

.hce-carrot-burst{position:fixed;left:50%;top:54%;z-index:1000001;width:1px;height:1px;pointer-events:none}.hce-carrot-burst span{position:absolute;font-size:24px;animation:hceBurst var(--d,.8s) cubic-bezier(.15,.75,.2,1) forwards}
@keyframes hceBurst{0%{transform:translate(0,0) scale(.4) rotate(0);opacity:0}10%{opacity:1}100%{transform:translate(var(--x),var(--y)) scale(1.15) rotate(var(--r));opacity:0}}

.hce-combo-card,.hce-carrot-boxes,.hce-profile-card,.hce-send-carrot{margin:0 0 18px;padding:16px 18px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#18181c;color:#f5f5f7;font-family:Peyda,system-ui,sans-serif;direction:rtl}
.hce-combo-card{display:flex;align-items:center;gap:13px;background:linear-gradient(135deg,rgba(255,77,0,.11),#18181c 58%);border-color:rgba(255,77,0,.22)}.hce-combo-icon{font-size:38px;filter:drop-shadow(0 0 14px rgba(255,77,0,.35))}.hce-combo-card small,.hce-combo-card span,.hce-combo-card em{display:block}.hce-combo-card small{color:#ff8a58;font-size:10px}.hce-combo-card strong{display:block;margin:1px 0;font-size:18px}.hce-combo-card span{color:#c8c8cf;font-size:12px}.hce-combo-card em{margin-top:5px;color:#777780;font-style:normal;font-size:10px}
.hce-box-ready{display:flex;align-items:center;gap:16px;padding:14px;border-radius:14px;background:linear-gradient(135deg,rgba(255,196,55,.09),rgba(255,77,0,.05));border:1px solid rgba(255,196,55,.18)}.hce-box-visual{font-size:52px;filter:drop-shadow(0 9px 18px rgba(0,0,0,.35));animation:hceBoxFloat 2.6s ease-in-out infinite}.hce-box-ready strong,.hce-box-ready span{display:block}.hce-box-ready strong{font-size:16px;color:#ffe087}.hce-box-ready span{margin:3px 0 10px;color:#9f9fa8;font-size:11px}.hce-open-box,.hce-send-carrot button,.hce-share-profile{border:0;border-radius:10px;background:#ff4d00;color:#fff;padding:8px 13px;font-family:inherit;font-weight:700;cursor:pointer;transition:.2s ease}.hce-open-box:hover,.hce-send-carrot button:hover,.hce-share-profile:hover{transform:translateY(-1px);background:#ff641a}.hce-open-box:disabled,.hce-send-carrot button:disabled{opacity:.55;cursor:wait}.hce-box-progress>div:first-child{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px}.hce-box-progress span{color:#8d8d96;font-size:11px}.hce-box-bar{height:8px;border-radius:999px;background:#0f0f12;overflow:hidden;border:1px solid rgba(255,255,255,.06)}.hce-box-bar i{display:block;height:100%;border-radius:inherit;background:#ff4d00;box-shadow:0 0 14px rgba(255,77,0,.35)}.hce-box-result{text-align:center;padding:18px}.hce-box-result>div{font-size:50px}.hce-box-result strong,.hce-box-result span{display:block}.hce-box-result strong{color:#ffe087;font-size:20px}.hce-box-result span{color:#aaaab2;margin:4px 0 12px;font-size:12px}@keyframes hceBoxFloat{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-6px) rotate(2deg)}}

.hce-profile-card{position:relative;overflow:hidden;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;border-color:color-mix(in srgb,var(--hce-profile-color,#ff4d00) 34%,transparent);background:radial-gradient(circle at 8% 0,color-mix(in srgb,var(--hce-profile-color,#ff4d00) 15%,transparent),#18181c 44%)}.hce-profile-rank img,.hce-profile-rank>span{display:grid;place-items:center;width:68px;height:68px;object-fit:contain;font-size:34px;filter:drop-shadow(0 7px 18px rgba(0,0,0,.35))}.hce-profile-main small,.hce-profile-main span{display:block}.hce-profile-main small{color:#777780;font-size:9px;text-transform:uppercase;letter-spacing:1px}.hce-profile-main strong{display:block;font-size:18px}.hce-profile-main span{color:var(--hce-profile-color,#ff7740);font-size:11px;font-weight:700}.hce-profile-stats{grid-column:1/4;display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.hce-profile-stats>div{padding:9px;border:1px solid rgba(255,255,255,.055);border-radius:10px;background:#202024;text-align:center}.hce-profile-stats b,.hce-profile-stats small{display:block}.hce-profile-stats b{font-size:12px}.hce-profile-stats small{margin-top:2px;color:#777780;font-size:9px}.hce-share-profile{grid-column:1/4;justify-self:start;background:rgba(255,77,0,.12);border:1px solid rgba(255,77,0,.22);color:#ff8d5d}

.hce-send-carrot p{margin:-2px 0 12px;color:#94949d;font-size:11px}.hce-send-carrot-form{display:grid;grid-template-columns:1fr 160px auto;gap:9px;align-items:end}.hce-send-carrot label{display:grid;gap:5px;color:#aaaab2;font-size:10px}.hce-send-carrot input{width:100%;min-height:38px;border:1px solid rgba(255,255,255,.09)!important;border-radius:9px!important;background:#101014!important;color:#fff!important;padding:7px 9px!important}.hce-send-carrot-form>small,.hce-send-result{grid-column:1/-1;color:#777780;font-size:10px}.hce-send-result{min-height:14px;color:#ff8d5d}.hce-send-result.is-success{color:#62d84e}

.hce-rare-overlay{position:fixed;inset:0;z-index:1000002;display:grid;place-items:center;padding:20px;background:rgba(5,5,8,.82);backdrop-filter:blur(9px);opacity:0;visibility:hidden;transition:.25s ease}.hce-rare-overlay.is-open{opacity:1;visibility:visible}.hce-rare-card{width:min(420px,calc(100vw - 32px));padding:27px 22px;text-align:center;border:1px solid rgba(255,210,70,.48);border-radius:24px;background:radial-gradient(circle at 50% 0,rgba(255,210,70,.20),#161618 55%);box-shadow:0 0 70px rgba(255,188,55,.18);color:#fff;font-family:Peyda,system-ui,sans-serif;transform:scale(.9);transition:.3s cubic-bezier(.2,.8,.2,1)}.hce-rare-overlay.is-open .hce-rare-card{transform:scale(1)}.hce-rare-card>b{color:#ffd758;font-size:11px;letter-spacing:1.5px}.hce-rare-card>div{font-size:88px;filter:drop-shadow(0 12px 24px rgba(255,190,0,.28));animation:hceGoldenPulse 1.8s ease-in-out infinite}.hce-rare-card h3{margin:2px 0 5px;color:#ffe087;font-size:25px}.hce-rare-card p{color:#aaaab2;font-size:12px}.hce-rare-card button{margin-top:8px;border:0;border-radius:10px;background:#f5b700;color:#17120a;padding:9px 16px;font-family:inherit;font-weight:800;cursor:pointer}@keyframes hceGoldenPulse{0%,100%{transform:scale(1) rotate(-2deg)}50%{transform:scale(1.08) rotate(2deg)}}

@media(max-width:768px){.hce-rain-pill{bottom:14px;width:calc(100vw - 24px);min-width:0}.hce-mystery-rabbit small{display:none}.hce-send-carrot-form{grid-template-columns:1fr}.hce-profile-card{grid-template-columns:auto 1fr}.hce-profile-stats,.hce-share-profile{grid-column:1/3}.hce-profile-stats{grid-template-columns:1fr 1fr}.hce-box-ready{align-items:flex-start}.hce-box-visual{font-size:42px}}
@media(prefers-reduced-motion:reduce){.hce-rain-overlay,.hce-carrot-burst{display:none}.hce-box-visual,.hce-rare-card>div{animation:none}}


/* =========================================================
   Havyj Carrot Exchange v1.4.2
   Global carrot Easter Egg / hover interaction
========================================================= */

.hce-carrot-egg-trigger{
    cursor:pointer;
    user-select:none;
    -webkit-user-select:none;
    transform-origin:50% 72%;
    transition:
        transform .20s cubic-bezier(.2,.8,.2,1),
        filter .20s ease,
        opacity .20s ease;
}

/* Actual carrot icons get a subtle game-like hover lift/glow. */
.hce-carrot-egg-trigger:not(.hce-ticker-brand):hover,
.hce-carrot-egg-trigger:not(.hce-ticker-brand):focus-visible{
    transform:translateY(-2px) rotate(-4deg) scale(1.10);
    filter:
        brightness(1.08)
        saturate(1.10)
        drop-shadow(0 4px 8px rgba(0,0,0,.24))
        drop-shadow(0 0 8px rgba(255,77,0,.30));
    outline:none;
}

/* Preserve the ticker layout while still making its old Easter Egg feel alive. */
.hce-ticker-brand.hce-carrot-egg-trigger:hover,
.hce-ticker-brand.hce-carrot-egg-trigger:focus-visible{
    color:#fff3ea;
    filter:drop-shadow(0 0 7px rgba(255,77,0,.22));
    outline:none;
}

/* Fast click feedback before the toast/rabbit event fires. */
.hce-carrot-egg-trigger.is-hce-carrot-tapped:not(.hce-ticker-brand){
    animation:hceCarrotEggTap .36s cubic-bezier(.18,.89,.32,1.28);
}

@keyframes hceCarrotEggTap{
    0%{
        transform:scale(1) rotate(0);
    }
    38%{
        transform:scale(.88) rotate(7deg);
        filter:
            brightness(1.14)
            drop-shadow(0 0 10px rgba(255,77,0,.38));
    }
    72%{
        transform:scale(1.15) rotate(-6deg);
    }
    100%{
        transform:scale(1) rotate(0);
    }
}

/* Known Havyj UI / HCE carrot assets should remain centered while interactive. */
.hvy-status-carrot-icon.hce-carrot-egg-trigger,
.hce-header-carrot-img.hce-carrot-egg-trigger,
.hce-header-carrot-emoji.hce-carrot-egg-trigger,
.hce-balance-emoji.hce-carrot-egg-trigger{
    position:relative;
    z-index:2;
}

/* Touch devices still get press feedback even though :hover is unavailable. */
@media (hover:none){
    .hce-carrot-egg-trigger:not(.hce-ticker-brand):active{
        transform:scale(.92);
        filter:
            brightness(1.10)
            drop-shadow(0 0 7px rgba(255,77,0,.26));
    }
}

@media (prefers-reduced-motion:reduce){
    .hce-carrot-egg-trigger{
        transition:none;
    }
    .hce-carrot-egg-trigger.is-hce-carrot-tapped{
        animation:none!important;
    }
}
