/* Engagement strip on the homepage (engagement.js, owner 11/6): Online Lottery · Server Goals · Free Evening Event.
   Graphite panels, one accent each (gold / green / ember), real renders. Never purple (owner 11/6). */
.home-eng { margin: 26px 0 8px; }
.hen-head { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.hen-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent); }
.hen-title { font: 700 12px/1 Barlow, system-ui, sans-serif; letter-spacing: 4px; color: rgba(255,255,255,.62); }
.hen-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.hen-grid.n2 { grid-template-columns: 1fr 1fr; } .hen-grid.n1 { grid-template-columns: 1fr; }
.hen-card { --acc: 242,193,78; position: relative; overflow: hidden; border-radius: 16px; min-height: 300px; display: flex;
    background: radial-gradient(120% 90% at 100% 0%, rgba(var(--acc), .13), transparent 55%), linear-gradient(180deg, #17181c 0%, #0f1013 100%);
    border: 1px solid rgba(255,255,255,.08); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 18px 40px rgba(0,0,0,.45); }
.hen-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: 0 0 0 1px rgba(var(--acc), .16) inset; }
.hen-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(var(--acc), .9), transparent); opacity: .8; }
.hen-body { position: relative; z-index: 2; padding: 20px 22px 20px; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.hen-eye { display: inline-flex; align-items: center; gap: 8px; font: 800 11px/1 Barlow, system-ui, sans-serif; letter-spacing: 2.2px; color: rgb(var(--acc)); }
.hen-dot { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--acc)); box-shadow: 0 0 10px rgba(var(--acc), .9); animation: hen-pulse 1.8s ease-in-out infinite; }
@keyframes hen-pulse { 50% { opacity: .35; } }
.hen-card h3 { margin: 2px 0 0; font-family: Impact, "Arial Black", sans-serif; font-weight: 400; font-size: 30px; line-height: 1.02; letter-spacing: .5px; color: #fff; text-transform: uppercase; }
.hen-card h3 span { color: rgb(var(--acc)); }
.hen-card p { margin: 0; color: rgba(255,255,255,.72); font-size: 13.5px; line-height: 1.45; }
.hen-fine { font-size: 12px !important; color: rgba(255,255,255,.55) !important; margin-top: auto !important; }
.hen-fine b, .hen-card p b { color: #fff; }
.hen-timer { display: inline-flex; flex-direction: column; gap: 2px; padding: 9px 14px; border-radius: 12px; align-self: flex-start;
    background: rgba(0,0,0,.35); border: 1px solid rgba(var(--acc), .28); box-shadow: 0 0 22px rgba(var(--acc), .08) inset; }
.hen-timer small { font: 700 10.5px/1 Barlow, system-ui, sans-serif; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hen-timer strong { font-family: Impact, "Arial Black", sans-serif; font-weight: 400; font-size: 28px; line-height: 1.05; color: #fff; letter-spacing: 1px; font-variant-numeric: tabular-nums; }

/* lottery: gold, product shot of the prize on the right */
.hen-lot { --acc: 242,193,78; }
.hen-lot .hen-body { padding-right: 40%; }
.hen-lot-art { position: absolute; right: -1%; top: 46%; transform: translateY(-50%); width: 44%; aspect-ratio: 1; z-index: 1; pointer-events: none; }
.hen-lot-art::before { content: ""; position: absolute; inset: 12% 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242,193,78,.28), transparent 70%); filter: blur(6px); }
.hen-lot-crate { position: absolute; left: 4%; bottom: 14%; width: 82%; filter: drop-shadow(0 18px 22px rgba(0,0,0,.65)); }
.hen-lot-pack { position: absolute; right: 8%; top: 6%; width: 34%; transform: rotate(9deg); filter: drop-shadow(0 14px 18px rgba(0,0,0,.6)); }
.hen-prize { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hen-prize b { display: inline-block; padding: 5px 10px; border-radius: 8px; background: rgba(242,193,78,.1); border: 1px solid rgba(242,193,78,.32); color: #ffe2a0 !important; font-size: 13px; font-weight: 800; white-space: nowrap; }
.hen-prize b:first-child { flex-basis: 100%; padding: 0; background: none; border: 0; font-family: Impact, "Arial Black", sans-serif; font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: .5px;
    background: linear-gradient(180deg, #fff3c4, #f2c14e 55%, #c98a1c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 10px rgba(242,193,78,.25)); }
.hen-prize em { font-style: normal; color: rgba(255,255,255,.4); font-weight: 800; }
.hen-prize b:first-child + em { display: none; }
.hen-last { font-size: 12.5px !important; }

/* goals: green progress */
.hen-goals { --acc: 57,239,155; }
.hen-live { align-self: flex-start; padding: 6px 11px; border-radius: 999px; background: rgba(57,239,155,.12); border: 1px solid rgba(57,239,155,.45); color: #c9ffe6; font-size: 12.5px; font-weight: 700; }
.hen-live b { color: #39ef9b; letter-spacing: 1.5px; margin-right: 4px; }
.hen-glist { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 12px; }
.hen-glist li { display: grid; gap: 6px; }
.hen-grow { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; color: rgba(255,255,255,.8); }
.hen-grow b { font-family: Impact, "Arial Black", sans-serif; font-weight: 400; font-size: 18px; color: #fff; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.hen-grow small { font-family: Barlow, system-ui, sans-serif; font-size: 12px; color: rgba(255,255,255,.5); }
.hen-bar { height: 9px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; box-shadow: 0 1px 0 rgba(255,255,255,.05), 0 1px 3px rgba(0,0,0,.5) inset; }
.hen-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1f9e64, #39ef9b 70%, #b8ffdd); box-shadow: 0 0 14px rgba(57,239,155,.5); transition: width .8s ease; }
.hen-glist li.hit .hen-bar i { background: linear-gradient(90deg, #c98a1c, #f2c14e 60%, #fff0b8); box-shadow: 0 0 14px rgba(242,193,78,.55); }
.hen-rew { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,.65); }
.hen-rew img { width: 26px; height: 26px; border-radius: 6px; object-fit: cover; border: 1px solid rgba(255,255,255,.12); }
.hen-rew b { color: #fff; } .hen-rew em { margin-left: auto; font-style: normal; font-weight: 800; color: #7ff5bd; }
.hen-glist li.hit .hen-rew em { color: #f2c14e; }

/* evening event: ember, the event's own map art fading in from the right */
.hen-eve { --acc: 255,122,24; }
.hen-eve > .hen-body { background: linear-gradient(90deg, rgba(15,16,19,.96) 0%, rgba(15,16,19,.82) 55%, rgba(15,16,19,.35) 100%); }
.hen-eve::before { z-index: 3; }
.hen-eve { background-image: var(--hen-art), linear-gradient(180deg, #17181c, #0f1013); background-size: cover, auto; background-position: center right, 0 0; }
.hen-btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; height: 40px; padding: 0 18px !important; border-radius: 10px; text-decoration: none;
    font: 800 13px/1 Barlow, system-ui, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: #1a0d02; background: linear-gradient(180deg, #ffb057, #ff7a18); box-shadow: 0 8px 20px rgba(255,122,24,.28); }
.hen-btn:hover { filter: brightness(1.08); }

/* owner preview tag (feature not live for players yet) */
.hen-prev { align-self: flex-start; display: inline-block; padding: 4px 9px; border-radius: 999px; font: 800 10px/1.2 Barlow, system-ui, sans-serif; letter-spacing: 1.4px; font-style: normal;
    color: #f6d68a; background: rgba(242,193,78,.1); border: 1px dashed rgba(242,193,78,.55); }
.hen-happy .hen-prev, .hen-weekly .hen-prev { align-self: center; }
#profile .pfx-rank .hen-prev { margin-top: 4px; }

/* Happy Hour banner (live = green glow, soon = muted) */
.hen-happy { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; flex-wrap: wrap;
    background: linear-gradient(90deg, rgba(57,239,155,.08), rgba(57,239,155,.02) 60%), #121317; border: 1px solid rgba(57,239,155,.22); }
.hen-happy.live { border-color: rgba(57,239,155,.55); box-shadow: 0 0 28px rgba(57,239,155,.12), 0 1px 0 rgba(255,255,255,.06) inset; }
.hen-happy-ico { font-size: 20px; }
.hen-happy b { font: 400 20px/1 Impact, "Arial Black", sans-serif; letter-spacing: 1px; color: #39ef9b; }
.hen-happy span { color: rgba(255,255,255,.75); font-size: 13.5px; }
.hen-happy strong { margin-left: auto; font: 400 22px/1 Impact, "Arial Black", sans-serif; color: #fff; letter-spacing: 1px; font-variant-numeric: tabular-nums; }

/* last week's awards ribbon */
.hen-weekly { display: flex; align-items: stretch; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.hen-wk-tag { display: inline-flex; align-items: center; padding: 0 14px; border-radius: 12px; background: rgba(242,193,78,.1); border: 1px solid rgba(242,193,78,.32); color: #f2c14e; font: 800 11px/1 Barlow, system-ui, sans-serif; letter-spacing: 2.5px; }
.hen-wk-item { flex: 1 1 260px; display: grid; gap: 3px; padding: 10px 14px; border-radius: 12px; background: linear-gradient(180deg, #17181c, #111215); border: 1px solid rgba(255,255,255,.08); }
.hen-wk-item em { font-style: normal; font: 800 10.5px/1 Barlow, system-ui, sans-serif; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hen-wk-item b { font: 400 19px/1.15 Impact, "Arial Black", sans-serif; letter-spacing: .5px; color: #fff; }
.hen-wk-item small { font-size: 12px; color: rgba(255,255,255,.6); }

/* own profile: Rank Perk */
.pfx-rank .rkp-ico { display: grid; place-items: center; font: 400 15px/1 Impact, "Arial Black", sans-serif; color: #1a1205; background: linear-gradient(180deg, #ffe08a, #e0a52c); }
.rkp-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 6px; margin: 12px 0 8px; }
.rkp-track span { display: grid; gap: 2px; text-align: center; padding: 8px 4px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.45); }
.rkp-track span b { font: 400 17px/1 Impact, "Arial Black", sans-serif; letter-spacing: .5px; }
.rkp-track span small { font-size: 11px; }
.rkp-track span.on { color: #ffe2a0; border-color: rgba(242,193,78,.35); background: rgba(242,193,78,.08); }
.rkp-track span.cur { box-shadow: 0 0 0 1px rgba(242,193,78,.7) inset, 0 0 18px rgba(242,193,78,.2); }
.rkp-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.rkp-bar i { display: block; height: 100%; background: linear-gradient(90deg, #c98a1c, #f2c14e); }
.rkp-next { margin: 8px 0 0; font-size: 12.5px; color: rgba(255,255,255,.6); } .rkp-next b { color: #fff; }

@media (max-width: 1100px) { .hen-grid, .hen-grid.n3 { grid-template-columns: 1fr 1fr; } .hen-lot { grid-column: 1 / -1; } }
@media (max-width: 680px) {
    .home-eng { margin-top: 18px; }
    .hen-grid, .hen-grid.n2, .hen-grid.n3 { grid-template-columns: 1fr; gap: 12px; }
    .hen-card { min-height: 0; }
    .hen-body { padding: 16px 16px 16px; }
    .hen-card h3 { font-size: 25px; }
    .hen-lot .hen-body { padding-right: 16px; padding-top: 150px; }
    .hen-lot-art { top: 4px; right: 50%; transform: translateX(50%); width: 210px; }
    .hen-timer strong { font-size: 24px; }
    .hen-eve > .hen-body { background: linear-gradient(180deg, rgba(15,16,19,.55) 0%, rgba(15,16,19,.95) 45%); padding-top: 90px; }
    .hen-happy strong { margin-left: 0; }
    .hen-wk-tag { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) { .hen-dot { animation: none; } .hen-bar i { transition: none; } }

/* ── v2 cards (owner 11/6: "those panels need to be fixed so they look better"): three equal, filled cards. Every card is a
   column: eyebrow + title, a middle block, then the clock pinned to the bottom. (i) opens "How it works" inside the card. ── */
.hen-grid, .hen-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.hen-card { min-height: 430px; }
.hen-body { gap: 12px; padding: 20px 20px 18px; }
.hen-card h3 { font-size: 28px; padding-right: 30px; }
.hen-clock { margin-top: auto; display: grid; gap: 6px; padding: 10px 12px 12px; border-radius: 12px; background: rgba(0,0,0,.32); border: 1px solid rgba(var(--acc), .22); }
.hen-clock > small { font: 800 10.5px/1 Barlow, system-ui, sans-serif; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hen-digits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hen-digits span { display: grid; justify-items: center; padding: 6px 0 5px; border-radius: 8px; background: linear-gradient(180deg, #1d1e23, #131418); border: 1px solid rgba(255,255,255,.07); }
.hen-digits b { font: 400 26px/1 Impact, "Arial Black", sans-serif; color: #fff; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.hen-digits small { font: 700 9px/1.4 Barlow, system-ui, sans-serif; letter-spacing: 1.5px; color: rgba(255,255,255,.45); }
.hen-livenow { font: 400 20px/1.15 Impact, "Arial Black", sans-serif; color: #fff; letter-spacing: .5px; }
/* (i) */
.hen-i { position: absolute; top: 14px; right: 14px; z-index: 4; width: 26px; height: 26px; padding: 0 !important; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(0,0,0,.35);
    color: #fff; font: 800 13px/1 Georgia, serif; font-style: italic; cursor: pointer; }
.hen-i:hover { border-color: rgb(var(--acc)); color: rgb(var(--acc)); }
.hen-info { position: absolute; inset: 0; z-index: 5; padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; background: rgba(12,13,16,.97); border-radius: inherit; }
.hen-info b { font: 400 22px/1.1 Impact, "Arial Black", sans-serif; letter-spacing: .5px; color: rgb(var(--acc)); text-transform: uppercase; }
.hen-info ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.45; }
.hen-info-x { margin-top: auto; align-self: flex-start; height: 36px; padding: 0 16px !important; border-radius: 9px; border: 1px solid rgba(var(--acc), .5); background: rgba(var(--acc), .1); color: #fff; font-weight: 700; cursor: pointer; }
/* lottery: prize left, product shot right, then the clock + last winners */
.hen-lot .hen-body { padding-right: 20px; }
.hen-lot-mid { display: grid; grid-template-columns: minmax(0, 1fr) 42%; align-items: center; gap: 8px; }
.hen-lot-prize { display: grid; gap: 8px; }
.hen-lot-prize strong { font: 400 44px/1 Impact, "Arial Black", sans-serif; letter-spacing: .5px; background: linear-gradient(180deg, #fff3c4, #f2c14e 55%, #c98a1c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 10px rgba(242,193,78,.25)); }
.hen-lot-items { display: grid; gap: 6px; }
.hen-lot-items span { display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 9px; background: rgba(242,193,78,.08); border: 1px solid rgba(242,193,78,.28); color: #ffe2a0; font-size: 13px; font-weight: 800; width: max-content; max-width: 100%; }
.hen-lot-items img { width: 28px; height: 28px; object-fit: contain; }
.hen-lot .hen-lot-art { position: relative; right: auto; top: auto; transform: none; width: 100%; aspect-ratio: 1; }
.hen-lot .hen-lot-crate { left: 0; bottom: 10%; width: 92%; }
.hen-lot .hen-lot-pack { right: 0; top: 2%; width: 38%; }
.hen-winners { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hen-winners small { width: 100%; font: 800 10.5px/1 Barlow, system-ui, sans-serif; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.hen-winners span { display: inline-flex; gap: 6px; align-items: baseline; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); font-size: 12.5px; }
.hen-winners span b { color: #fff; } .hen-winners span em { font-style: normal; color: rgba(255,255,255,.5); }
.hen-winners span.none { color: rgba(255,255,255,.6); }
/* goals: icon + reward name + count on one line, the bar under it */
.hen-goals .hen-glist { gap: 12px; margin: 0; }
.hen-goals .hen-grow { align-items: center; gap: 10px; }
.hen-goals .hen-grow img { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; border: 1px solid rgba(255,255,255,.12); flex: none; }
.hen-goals .hen-grow span { display: grid; min-width: 0; flex: 1; } .hen-goals .hen-grow span b { font: 700 14px/1.2 Barlow, system-ui, sans-serif; color: #fff; }
.hen-goals .hen-grow span small { font-size: 11.5px; color: rgba(255,255,255,.55); }
.hen-goals .hen-grow em { font-style: normal; font: 400 16px/1 Impact, "Arial Black", sans-serif; color: #fff; letter-spacing: .5px; white-space: nowrap; }
.hen-goals li.hit .hen-grow em { color: #f2c14e; font: 800 12.5px/1 Barlow, system-ui, sans-serif; }
.hen-goals .hen-bar { height: 7px; }
/* event: map thumbnail + two info rows + the clock (no full-card background image any more) */
.hen-eve { background-image: radial-gradient(120% 90% at 100% 0%, rgba(255,122,24,.13), transparent 55%), linear-gradient(180deg, #17181c 0%, #0f1013 100%) !important; }
.hen-eve > .hen-body { background: none !important; padding-top: 20px !important; }
.hen-eve-map { position: relative; display: block; height: 118px; border-radius: 12px; overflow: hidden; text-decoration: none; border: 1px solid rgba(255,122,24,.28);
    background: linear-gradient(180deg, transparent 45%, rgba(10,11,13,.85)), var(--hen-art) center / cover; }
.hen-eve-map::after { content: ""; position: absolute; left: 50%; top: 42%; width: 54px; height: 54px; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(255,122,24,.9); box-shadow: 0 0 0 6px rgba(255,122,24,.15), 0 0 24px rgba(255,122,24,.5); }
.hen-eve-map span { position: absolute; left: 10px; bottom: 8px; right: 10px; font-size: 12.5px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px #000; }
.hen-eve-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hen-eve-rows span { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); min-width: 0; }
.hen-eve-rows small { font: 800 10px/1 Barlow, system-ui, sans-serif; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.hen-eve-rows b { font: 400 16px/1.15 Impact, "Arial Black", sans-serif; color: #fff; letter-spacing: .4px; overflow-wrap: anywhere; }
.hen-eve-rows em { font-style: normal; font-size: 11.5px; color: #ffb057; }
@media (max-width: 1100px) { .hen-grid, .hen-grid.n3 { grid-template-columns: 1fr 1fr; } .hen-lot { grid-column: 1 / -1; min-height: 0; } }
@media (max-width: 680px) {
    .hen-grid, .hen-grid.n2, .hen-grid.n3 { grid-template-columns: 1fr; }
    .hen-card { min-height: 0; }
    .hen-lot .hen-body { padding-top: 20px; }
    .hen-lot-mid { grid-template-columns: minmax(0, 1fr) 40%; }
    .hen-lot-prize strong { font-size: 36px; }
    .hen-eve > .hen-body { padding-top: 20px !important; }
    .hen-digits b { font-size: 22px; }
}

/* ── v3 (owner 11/6: "still look basic … the other homepage panels have a cool effect"): same treatment as the .hs-card /
   .home-cc panels: full-bleed art under a dark gradient, accent glow, hover lift + art zoom, plus an animated border shine
   and a slow light sweep. Lottery = the prize render, Goals = DayZ art with glowing bars, Event = the map + a pulsing zone. ── */
.hen-card { isolation: isolate; background: #0a0a0d !important; border: 1px solid rgba(var(--acc), .32); box-shadow: 0 10px 26px rgba(0,0,0,.45); transition: transform .2s, border-color .2s, box-shadow .2s; }
.hen-card:hover { transform: translateY(-2px); border-color: rgba(var(--acc), .7); box-shadow: 0 14px 32px rgba(0,0,0,.55), 0 0 26px rgba(var(--acc), .2); }
.hen-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hen-card:hover .hen-bg { transform: scale(1.06); }
.hen-card::before { z-index: -1; top: 0; left: 0; right: 0; bottom: 0; height: auto; opacity: 1;
    background: linear-gradient(180deg, rgba(6,6,9,.55) 0%, rgba(6,6,9,.78) 45%, rgba(6,6,9,.94) 100%), radial-gradient(ellipse at 0% 100%, rgba(var(--acc), .3), transparent 60%); }
/* animated border shine (a bright band running round the edge) */
.hen-card::after { inset: 0; padding: 1px; box-shadow: none; z-index: 3; background: linear-gradient(110deg, transparent 35%, rgba(var(--acc), .95) 50%, transparent 65%) 0 0 / 260% 100%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hen-border 7s linear infinite; }
@keyframes hen-border { from { background-position: 160% 0; } to { background-position: -160% 0; } }
.hen-sweep { position: absolute; inset: -20% -60%; z-index: 0; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.07) 49%, rgba(255,255,255,.13) 50%, rgba(255,255,255,.07) 51%, transparent 58%);
    transform: translateX(-60%); animation: hen-sweep 8s ease-in-out infinite; }
@keyframes hen-sweep { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
.hen-body { z-index: 2; }
/* lottery: the crate + packs render fills the right side */
.hen-lot .hen-bg { object-position: 78% 50%; }
.hen-lot::before { background: linear-gradient(90deg, rgba(6,6,9,.96) 0%, rgba(6,6,9,.85) 46%, rgba(6,6,9,.3) 78%, rgba(6,6,9,.15)), linear-gradient(180deg, transparent 55%, rgba(6,6,9,.9)), radial-gradient(ellipse at 0% 100%, rgba(242,193,78,.3), transparent 60%); }
.hen-lot .hen-lot-prize, .hen-lot h3 { max-width: 62%; }
.hen-lot .hen-clock, .hen-lot .hen-winners { position: relative; }
/* goals: DayZ art, green tint, bars with a moving glow */
.hen-goals .hen-bg { object-position: 50% 30%; filter: saturate(.7); }
.hen-goals::before { background: linear-gradient(180deg, rgba(6,9,8,.72) 0%, rgba(6,9,8,.9) 40%, rgba(6,9,8,.96) 100%), radial-gradient(ellipse at 100% 0%, rgba(57,239,155,.28), transparent 55%); }
.hen-goals .hen-bar i { position: relative; overflow: hidden; }
.hen-goals .hen-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: translateX(-100%); animation: hen-barglow 2.6s ease-in-out infinite; }
@keyframes hen-barglow { 60%, 100% { transform: translateX(100%); } }
.hen-goals .hen-grow span b { font-size: 14.5px; }
.hen-goals .hen-grow span small { font-size: 11.5px; line-height: 1.3; }
.hen-goals .hen-grow em small { font: 700 11px/1 Barlow, system-ui, sans-serif; color: rgba(255,255,255,.55); }
/* event: the map full-bleed + a pulsing zone ring */
.hen-eve .hen-bg { object-position: 50% 50%; filter: saturate(.85) brightness(.95); }
.hen-eve::before { background: linear-gradient(180deg, rgba(6,6,9,.35) 0%, rgba(6,6,9,.7) 38%, rgba(6,6,9,.95) 72%), radial-gradient(ellipse at 100% 0%, rgba(255,122,24,.25), transparent 55%); }
.hen-ring { position: absolute; right: 16%; top: 21%; width: 90px; height: 90px; z-index: -1; border-radius: 50%; border: 2px solid rgba(255,122,24,.95); box-shadow: 0 0 0 8px rgba(255,122,24,.14), 0 0 34px rgba(255,122,24,.55) inset, 0 0 30px rgba(255,122,24,.45); animation: hen-ring 2.4s ease-in-out infinite; }
.hen-ring::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(255,122,24,.7); animation: hen-ripple 2.4s ease-out infinite; }
@keyframes hen-ring { 50% { transform: scale(1.06); } }
@keyframes hen-ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.hen-eve-map { display: none; }
.hen-rule { font-size: 13.5px !important; color: rgba(255,255,255,.82) !important; }
.hen-eve .hen-btn { margin-top: 0; }
/* the site's (i): a plain lowercase "i" (never italic / serif / capital), and a small popover anchored to it */
.hen-i { font: 800 14px/1 Barlow, system-ui, sans-serif !important; font-style: normal !important; text-transform: none !important; letter-spacing: 0 !important; display: grid; place-items: center; }
/* owner 11/7 "still warped, that's not a circle": the site's global button rules (min-height / padding) stretched it into a pill */
.hen-i { box-sizing: border-box !important; width: 28px !important; height: 28px !important; min-width: 28px !important; max-width: 28px !important; min-height: 28px !important; max-height: 28px !important; aspect-ratio: 1 / 1; flex: 0 0 28px; padding: 0 !important; margin: 0 !important; border-radius: 50% !important; line-height: 28px !important; }
.hen-pop { position: absolute; top: 46px; right: 12px; z-index: 6; width: max-content; max-width: min(280px, calc(100% - 24px)); padding: 10px 12px 11px; border-radius: 10px;
    background: #121317; border: 1px solid rgba(var(--acc), .45); box-shadow: 0 12px 30px rgba(0,0,0,.6); }
.hen-pop::before { content: ""; position: absolute; top: -6px; right: 9px; width: 10px; height: 10px; background: #121317; border-left: 1px solid rgba(var(--acc), .45); border-top: 1px solid rgba(var(--acc), .45); transform: rotate(45deg); }
.hen-pop b { display: block; margin-bottom: 4px; font: 800 12px/1.2 Barlow, system-ui, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: rgb(var(--acc)); }
.hen-pop ul { margin: 0; padding-left: 15px; display: grid; gap: 3px; font-size: 12.5px; line-height: 1.35; color: rgba(255,255,255,.85); }
@media (max-width: 680px) {
    .hen-lot .hen-lot-prize, .hen-lot h3 { max-width: 100%; }
    .hen-lot .hen-bg { object-position: 85% 50%; opacity: .55; }
    .hen-ring { width: 64px; height: 64px; right: 10%; top: 14%; }
}
@media (prefers-reduced-motion: reduce) { .hen-card::after, .hen-sweep, .hen-ring, .hen-ring::after, .hen-goals .hen-bar i::after { animation: none; } }
/* lottery art: the banner is wide, so it covers the top of the card (crate + packs visible) and fades into the dark below */
.hen-lot .hen-bg { height: 58%; top: 0; bottom: auto; object-position: 40% 60%; }
.hen-lot::before { background: linear-gradient(180deg, rgba(6,6,9,.25) 0%, rgba(6,6,9,.55) 30%, rgba(6,6,9,.92) 56%, rgba(6,6,9,.98) 100%), linear-gradient(90deg, rgba(6,6,9,.85) 0%, rgba(6,6,9,.35) 55%, transparent 80%), radial-gradient(ellipse at 0% 100%, rgba(242,193,78,.28), transparent 60%); }
.hen-goals .hen-grow span b { font-size: 13.5px; line-height: 1.25; }

/* ── homepage "Cards & Crates" banner (owner 11/6: "look cleaner & match our updated versions"): the On the Server card look —
   graphite, gold accent border with the running light band, slow light sweep, the art on a glowing floor, gold headline,
   primary RIP PACKS + secondary OPEN CRATES. Overrides refinements.css .home-cc (no purple anywhere). ── */
section.home-cc { --hs: 242,193,78; isolation: isolate; overflow: hidden; border: 1px solid rgba(242,193,78,.34);
    background: radial-gradient(ellipse 50% 95% at 76% 55%, rgba(242,193,78,.13), transparent 70%), linear-gradient(180deg, #17181c 0%, #0d0e11 100%); box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 1px 0 rgba(255,255,255,.05) inset; }
section.home-cc:hover { border-color: rgba(242,193,78,.7); box-shadow: 0 14px 32px rgba(0,0,0,.55), 0 0 26px rgba(242,193,78,.18); }
section.home-cc::before { background: radial-gradient(ellipse at 0% 100%, rgba(242,193,78,.2), transparent 60%), linear-gradient(90deg, transparent, rgba(242,193,78,.85), transparent) top / 100% 2px no-repeat; }
section.home-cc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
    background: linear-gradient(110deg, transparent 35%, rgba(242,193,78,.95) 50%, transparent 65%) 0 0 / 260% 100%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hen-border 7s linear infinite; }
.hcc-sweep { position: absolute; inset: -20% -60%; z-index: 0; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.06) 49%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.06) 51%, transparent 58%); transform: translateX(-60%); animation: hen-sweep 9s ease-in-out infinite; }
section.home-cc .hcc-body { z-index: 2; gap: 8px; }
section.home-cc .hcc-eyebrow { color: #f2c14e; letter-spacing: 2.2px; }
section.home-cc .hcc-eyebrow i { background: #f2c14e; box-shadow: 0 0 10px rgba(242,193,78,.9); animation: hen-pulse 1.8s ease-in-out infinite; }
section.home-cc h2 { font-size: 32px; line-height: 1.02; text-transform: uppercase; letter-spacing: .5px; }
section.home-cc h2 span { background: linear-gradient(180deg, #fff3c4, #f2c14e 55%, #c98a1c); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 10px rgba(242,193,78,.25)); }
section.home-cc p { color: rgba(255,255,255,.75); font-size: 13.5px; max-width: 470px; }
section.home-cc .hcc-btns { gap: 10px; margin-top: 10px; }
section.home-cc .hcc-btn { height: 42px; padding: 0 20px; border-radius: 10px; font: 800 13px/1 Barlow, system-ui, sans-serif; letter-spacing: 1.4px; transition: transform .15s, filter .15s, box-shadow .15s; }
section.home-cc .hcc-btn.packs { color: #1a1205; background: linear-gradient(180deg, #ffe08a, #f2c14e 55%, #d99a22); box-shadow: 0 8px 22px rgba(242,193,78,.3), 0 1px 0 rgba(255,255,255,.5) inset; }
section.home-cc .hcc-btn.crates { color: #fff; background: rgba(255,255,255,.04); border: 1px solid rgba(242,193,78,.45); box-shadow: none; }
section.home-cc .hcc-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
section.home-cc .hcc-art { z-index: 1; }
section.home-cc .hcc-art::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 6%; height: 34%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242,193,78,.32), transparent 75%); filter: blur(8px); z-index: -1; }
section.home-cc .hcc-art img { filter: drop-shadow(0 16px 22px rgba(0,0,0,.65)) drop-shadow(0 0 18px rgba(242,193,78,.12)); }
@media (max-width: 680px) {
    section.home-cc h2 { font-size: 26px; }
    section.home-cc .hcc-btns { width: 100%; }
    section.home-cc .hcc-btn { flex: 1 1 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { section.home-cc::after, .hcc-sweep, section.home-cc .hcc-eyebrow i { animation: none; } }

/* ── 11/7 speed pass: skeleton frames (drawn by index.html before any script runs, same size as the real cards) + fade-ins ── */
.hen-card.hen-skel { min-height: 430px; animation: none; }
.hen-card.hen-skel::after { animation: none; opacity: .35; }
.hen-card.hen-skel::before { background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.05) 50%, transparent 70%) 0 0 / 220% 100%, linear-gradient(180deg, #16171b, #0e0f12) !important; animation: hen-skel 1.4s linear infinite; }
@keyframes hen-skel { from { background-position: 120% 0, 0 0; } to { background-position: -120% 0, 0 0; } }
.hen-card:not(.hen-skel) .hen-body { animation: hen-in .35s ease-out both; }
@keyframes hen-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.hen-bg { opacity: 0; transition: opacity .45s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hen-bg.on { opacity: 1; }
@media (max-width: 1100px) { .hen-card.hen-skel.hen-lot { grid-column: 1 / -1; } }
@media (max-width: 680px) { .hen-card.hen-skel { min-height: 360px; } }
@media (prefers-reduced-motion: reduce) { .hen-card.hen-skel::before, .hen-card:not(.hen-skel) .hen-body { animation: none; } }

/* ── Last week's winners (owner 11/23: "look like ass … show the Discord pfp, faction flag"): Survivor spotlight + flag podium ── */
.hen-awards { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.hen-aw-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hen-aw-head .hen-wk-tag { padding: 7px 12px; }
.hen-aw-head > small { font: 700 12px/1 Barlow, system-ui, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.hen-aw-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; }
.hen-aw-grid.n1 { grid-template-columns: minmax(0, 1fr); }
.hen-aw { --acc: 242,193,78; position: relative; overflow: hidden; border-radius: 16px; padding: 18px 20px; min-height: 210px;
    background: radial-gradient(120% 90% at 0% 0%, rgba(var(--acc), .13), transparent 60%), linear-gradient(180deg, #17181c, #0f1013);
    box-shadow: 0 0 0 1px rgba(var(--acc), .22) inset, 0 18px 40px rgba(0,0,0,.35); }
.hen-aw::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(var(--acc), .95), transparent); }
.hen-aw-eye { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font: 800 11px/1 Barlow, system-ui, sans-serif; letter-spacing: 2.4px; color: rgb(var(--acc)); }
.hen-aw-eye::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--acc)); box-shadow: 0 0 10px rgba(var(--acc), .9); }
.hen-aw-prize { position: relative; z-index: 2; margin: 0; font-size: 13px; color: rgba(255,255,255,.7); }
.hen-aw-prize b { color: #ffe2a0; }

/* Survivor spotlight */
.hen-sotw { --acc: 57,239,155; display: flex; align-items: center; gap: 22px; }
.hen-sotw-bg { position: absolute; right: -6%; top: 50%; transform: translateY(-50%) rotate(6deg); height: 135%; width: auto; max-width: 52%; object-fit: cover; border-radius: 14px;
    opacity: .22; filter: saturate(1.15); pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%); }
.hen-sotw-pfp { position: relative; z-index: 2; flex: 0 0 auto; }
.hen-sotw-ring { display: grid; place-items: center; width: 122px; height: 122px; border-radius: 50%; padding: 4px; overflow: hidden;
    background: conic-gradient(from 210deg, #39ef9b, #f2c14e, #39ef9b, #1f9e64, #39ef9b); box-shadow: 0 0 34px rgba(57,239,155,.35), 0 10px 26px rgba(0,0,0,.6); }
.hen-sotw-ring img, .hen-sotw-ring b { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #0f1013; background: #131418; box-sizing: border-box; }
.hen-sotw-ring b { display: grid; place-items: center; font: 400 48px/1 Impact, "Arial Black", sans-serif; color: #39ef9b; }
.hen-sotw-pfp > i { position: absolute; right: -2px; bottom: 4px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-style: normal; font-size: 18px;
    background: linear-gradient(180deg, #ffe08a, #e0a52c); border: 3px solid #0f1013; box-shadow: 0 4px 12px rgba(0,0,0,.55); }
.hen-sotw-main { position: relative; z-index: 2; display: grid; gap: 10px; min-width: 0; }
.hen-sotw-main h4 { margin: 0; font: 400 34px/1 Impact, "Arial Black", sans-serif; letter-spacing: .5px; color: #fff; text-transform: uppercase; overflow-wrap: anywhere; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.hen-sotw-stats { display: flex; flex-wrap: wrap; gap: 6px; }
.hen-sotw-stats span { display: grid; gap: 3px; min-width: 70px; padding: 7px 10px 6px; border-radius: 10px; background: rgba(0,0,0,.38); border: 1px solid rgba(57,239,155,.22); }
.hen-sotw-stats b { font: 400 21px/1 Impact, "Arial Black", sans-serif; color: #fff; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.hen-sotw-stats b em { font-style: normal; font-size: 13px; margin-left: 2px; color: #7ff5bd; }
.hen-sotw-stats small { font: 700 9.5px/1 Barlow, system-ui, sans-serif; letter-spacing: 1.3px; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* Factions podium: 2nd · 1st · 3rd, flag tiles in each faction's color */
.hen-fotw { display: grid; gap: 12px; align-content: start; }
.hen-pod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.hen-pod.n1 { grid-template-columns: minmax(0, 220px); justify-content: center; } .hen-pod.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hen-pod-col { --fc: #e4ae39; --m: 242,193,78; display: grid; justify-items: center; gap: 4px; text-align: center; min-width: 0; }
.hen-pod-col.p2 { --m: 205,214,226; } .hen-pod-col.p3 { --m: 214,140,84; }
.hen-pod-flag { position: relative; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 16px; margin-bottom: 4px;
    background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--fc) 55%, transparent), color-mix(in srgb, var(--fc) 14%, #0f1013) 75%);
    border: 2px solid color-mix(in srgb, var(--fc) 70%, #fff 10%); box-shadow: 0 0 24px color-mix(in srgb, var(--fc) 35%, transparent), 0 10px 22px rgba(0,0,0,.55); }
.hen-pod-col.p1 .hen-pod-flag { width: 98px; height: 98px; border-radius: 20px; }
.hen-pod-flag img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,.6)); }
.hen-pod-flag > b { font: 400 24px/1 Impact, "Arial Black", sans-serif; color: #fff; letter-spacing: 1px; }
.hen-pod-flag > i { position: absolute; top: -10px; right: -10px; font-style: normal; font-size: 22px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.6)); }
.hen-pod-name { max-width: 100%; font: 400 17px/1.1 Impact, "Arial Black", sans-serif; letter-spacing: .4px; color: #fff; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hen-pod-col.p1 .hen-pod-name { font-size: 20px; }
.hen-pod-tag { font: 700 11px/1 Barlow, system-ui, sans-serif; letter-spacing: 1px; color: color-mix(in srgb, var(--fc) 70%, #fff); }
.hen-pod-step { width: 100%; display: grid; justify-items: center; align-content: start; gap: 3px; margin-top: 6px; padding: 10px 6px; border-radius: 12px 12px 6px 6px; box-sizing: border-box;
    background: linear-gradient(180deg, rgba(var(--m), .2), rgba(var(--m), .04)); border: 1px solid rgba(var(--m), .4); border-bottom: 0; min-height: 66px; }
.hen-pod-col.p1 .hen-pod-step { min-height: 92px; }
.hen-pod-col.p3 .hen-pod-step { min-height: 52px; }
.hen-pod-step em { font: 400 20px/1 Impact, "Arial Black", sans-serif; font-style: normal; letter-spacing: 1px; color: rgb(var(--m)); }
.hen-pod-step span { font: 800 12px/1 Barlow, system-ui, sans-serif; color: rgba(255,255,255,.8); font-variant-numeric: tabular-nums; }
.hen-pod-step small { font: 800 11px/1 Barlow, system-ui, sans-serif; color: #ffe2a0; }

@media (max-width: 900px) { .hen-aw-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
@media (max-width: 520px) {
    .hen-aw { padding: 16px 14px; min-height: 0; }
    .hen-sotw { gap: 14px; } .hen-sotw-bg { opacity: .12; }
    .hen-sotw-ring { width: 86px; height: 86px; padding: 3px; }
    .hen-sotw-pfp > i { width: 28px; height: 28px; font-size: 14px; }
    .hen-sotw-main h4 { font-size: 26px; }
    .hen-sotw-stats span { min-width: 0; padding: 6px 8px 5px; }
    .hen-sotw-stats b { font-size: 17px; }
    .hen-pod { gap: 8px; }
    .hen-pod-flag { width: 62px; height: 62px; border-radius: 13px; }
    .hen-pod-col.p1 .hen-pod-flag { width: 76px; height: 76px; border-radius: 16px; }
    .hen-pod-name { font-size: 14px; } .hen-pod-col.p1 .hen-pod-name { font-size: 16px; }
}
