/* VALOR PUB - redesign skin layer (Cybershoke-inspired, keeps green palette).
   Visual-only overrides; avoids breaking base layouts. */

:root {
  --rd-border: rgba(255,255,255,.07);
  --rd-border-accent: rgba(0,224,74,.22);
  --rd-surface: rgba(255,255,255,.035);
  --rd-surface-2: rgba(255,255,255,.055);
  --rd-shadow: 0 12px 40px rgba(0,0,0,.28);
  --rd-radius: 16px;
  --rd-radius-sm: 12px;
  --rd-transition: .2s cubic-bezier(.4,0,.2,1);
}

body.site {
  background:
    radial-gradient(1200px 520px at 15% -10%, rgba(0,224,74,.08), transparent 60%),
    radial-gradient(900px 420px at 85% 0%, rgba(0,224,74,.045), transparent 55%),
    linear-gradient(180deg, #070a08 0%, #050605 100%) !important;
}
body.site::before {
  content:''; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background-image: linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 45% at 50% 0%, #000 30%, transparent 100%);
}

.container { max-width: calc(1360px + var(--container-pad) * 2) !important; }

/* Typography - keep readable, less "poster" */
.page-title, .pn__title, .cs__title, .eco__title, .hom__title, .lb__title h2, .rd-section__title {
  font-family: var(--font) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  text-transform: none !important;
  text-shadow: none !important;
}
.eyebrow, .cs__eyebrow, .home-card__label { font-family: var(--font) !important; letter-spacing: .08em !important; }

/* Sidebar */
.sidebar {
  background: rgba(10,14,11,.84) !important;
  backdrop-filter: blur(18px);
  border-right: 1px solid var(--rd-border) !important;
}
.sidebar__header { border-bottom: 1px solid var(--rd-border) !important; }
.sidebar__logo img { filter: drop-shadow(0 0 12px rgba(0,224,74,.22)); }
.sidebar__online { background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; box-shadow: none !important; }
.sidebar__online-dot, .topbar__online-dot { box-shadow: 0 0 0 4px rgba(0,224,74,.12), 0 0 12px rgba(0,224,74,.65) !important; }
.nav-item { border-radius: 12px !important; color: rgba(255,255,255,.72) !important; border: 1px solid transparent; }
.nav-item:hover { color:#fff !important; background: rgba(255,255,255,.04) !important; border-color: rgba(255,255,255,.04); }
.nav-item.is-active {
  color:#fff !important;
  background: linear-gradient(90deg, rgba(0,224,74,.16), rgba(0,224,74,.04)) !important;
  border-color: rgba(0,224,74,.16) !important;
}
.nav-item.is-active::before { content:''; position:absolute; left:0; top:22%; bottom:22%; width:3px; border-radius:0 3px 3px 0; background:var(--accent); box-shadow:0 0 10px var(--accent); }
.nav-item__icon { border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.04); }
.nav-item.is-active .nav-item__icon, .nav-item:hover .nav-item__icon { background: rgba(0,224,74,.1); border-color: rgba(0,224,74,.12); }
.sb-banner { border: 1px solid rgba(0,224,74,.14) !important; background: linear-gradient(160deg, rgba(0,224,74,.12), rgba(255,255,255,.02)) !important; border-radius: 14px !important; }

/* Topbar */
.topbar { position: relative; z-index: 10040 !important; background: rgba(7,10,8,.72) !important; backdrop-filter: blur(16px); border-bottom: 1px solid var(--rd-border) !important; overflow: visible !important; }
.topbar__nav, .topbar__right, .umenu { overflow: visible !important; }
.topbar__mark { filter: drop-shadow(0 0 10px rgba(0,224,74,.22)); }
.topbar__wordmark--text { font-family: var(--font) !important; font-style: normal !important; font-weight: 800 !important; text-transform: none !important; letter-spacing: -.02em; }
.topbar__badge { background: rgba(0,224,74,.12) !important; color: var(--accent-bright) !important; border: 1px solid rgba(0,224,74,.18); border-radius: 999px !important; }
.topbar__online, .lang-switch, .userbar__wallet { background: rgba(255,255,255,.03) !important; border: 1px solid var(--rd-border) !important; }
.topbar__online, .lang-switch { border-radius: 999px !important; }
.lang-switch a.is-active { background: var(--accent) !important; color: #04120a !important; }
.userbar__wallet, .umenu__toggle, .btn { border-radius: 12px !important; }
.umenu { position: relative; z-index: 10060; }
.umenu__panel { background: rgba(18,23,19,.96) !important; backdrop-filter: blur(16px); border: 1px solid var(--rd-border) !important; border-radius: 16px !important; box-shadow: var(--rd-shadow) !important; z-index: 10060 !important; isolation: isolate; }

/* Buttons / inputs */
.btn { font-weight: 700 !important; transition: all var(--rd-transition) !important; }
.btn--primary, .btn--gold { background: linear-gradient(180deg, #1ff563, #00c440) !important; color: #04120a !important; border: 0 !important; box-shadow: 0 8px 24px rgba(0,224,74,.2); }
.btn--primary:hover:not(:disabled), .btn--gold:hover:not(:disabled) { filter: brightness(1.03); transform: translateY(-1px); }
.btn--outline, .btn--ghost, .btn--soft { background: rgba(255,255,255,.03) !important; border: 1px solid var(--rd-border) !important; color: var(--text) !important; }
.btn--outline:hover:not(:disabled), .btn--ghost:hover:not(:disabled), .btn--soft:hover:not(:disabled) { background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.12) !important; }
input[type="text"], input[type="search"], input[type="number"], input[type="email"], input[type="password"], select, textarea {
  background: rgba(255,255,255,.03) !important; border: 1px solid var(--rd-border) !important; color: var(--text) !important; border-radius: 12px !important;
}
input:focus, select:focus, textarea:focus { outline: none !important; border-color: rgba(0,224,74,.35) !important; box-shadow: 0 0 0 4px rgba(0,224,74,.1) !important; }

/* Cards - visual only, preserve layout */
.srv-card, .home-best, .home-link, .cl-card, .cl-panel, .cl-hero, .cl-stat, .eco-card, .shop-card, .pn-card, .ua-card, .cs-card {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)) !important;
  border-color: var(--rd-border) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.srv-card:hover, .home-best:hover, .home-link:hover, .cl-card:hover, .eco-card:hover, .shop-card:hover, .pn-card:hover, .ua-card:hover, .cs-card:hover {
  border-color: rgba(0,224,74,.22) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.25), 0 0 0 1px rgba(0,224,74,.06) !important;
}
.srv-card::before { background: linear-gradient(90deg, rgba(12,16,13,.95), rgba(12,16,13,.82) 45%, rgba(12,16,13,.45)) !important; }
.srv-status { background: rgba(0,0,0,.22) !important; border: 1px solid rgba(255,255,255,.06) !important; }
.home-best__stats span, .home-today-row, .srv-top li { border-color: rgba(255,255,255,.06) !important; }
.home-today-row { background: rgba(255,255,255,.02) !important; }
.home-today-row.is-leader { background: linear-gradient(90deg, rgba(0,224,74,.12), rgba(255,255,255,.02)) !important; border-color: rgba(0,224,74,.14) !important; }

/* RD sections / quick grid (used on home) */
.rd-section { margin: 30px 0 14px !important; display:flex; align-items:center; justify-content:space-between; gap:12px; opacity:1 !important; }
.rd-section__title { font-size: clamp(22px,2.4vw,30px) !important; gap:10px !important; }
.rd-section__title svg { width:22px; height:22px; fill:var(--accent); }
.rd-section__note { color: rgba(255,255,255,.55) !important; font-size:13px; font-weight:600; padding:6px 12px; border-radius:999px; background:rgba(255,255,255,.03); border:1px solid var(--rd-border); }
.rd-quick { display:grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap:14px; }
.rd-quick__card { display:flex; align-items:center; gap:14px; padding:18px; text-decoration:none; color:inherit; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)) !important; border:1px solid var(--rd-border) !important; border-radius:16px !important; transition: all var(--rd-transition) !important; }
.rd-quick__card:hover { transform: translateY(-2px); border-color: rgba(0,224,74,.22) !important; background: linear-gradient(180deg, rgba(0,224,74,.08), rgba(255,255,255,.02)) !important; }
.rd-quick__icon { width:46px; height:46px; flex:0 0 46px; border-radius:14px; display:grid; place-items:center; background: rgba(0,224,74,.1); border:1px solid rgba(0,224,74,.14); }
.rd-quick__icon svg { width:22px; height:22px; fill: var(--accent-bright); }
.rd-quick__body { display:flex; flex-direction:column; min-width:0; flex:1; }
.rd-quick__body b { font-size:15px; font-weight:700; }
.rd-quick__body small { font-size:12px; color: rgba(255,255,255,.52); margin-top:2px; line-height:1.35; }
.rd-quick__card > svg { width:16px; height:16px; stroke: rgba(255,255,255,.45); flex:0 0 auto; }
.rd-quick__card:hover > svg { stroke: var(--accent-bright); }

/* Leaderboard */
.lb__content { background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)) !important; border: 1px solid var(--rd-border) !important; border-radius: 20px !important; }
.lb-seg { background: rgba(255,255,255,.03) !important; border: 1px solid var(--rd-border) !important; border-radius: 14px !important; }
.lb-seg a.is-active { background: var(--accent) !important; color: #04120a !important; }
.lb-row { border: 1px solid rgba(255,255,255,.04) !important; background: rgba(255,255,255,.02) !important; border-radius: 14px !important; }
.lb-row:hover { background: rgba(0,224,74,.05) !important; border-color: rgba(0,224,74,.14) !important; }
.lb-page { border-radius: 10px !important; border: 1px solid var(--rd-border) !important; background: rgba(255,255,255,.03) !important; }
.lb-page.is-active, .lb-page:hover { background: rgba(0,224,74,.12) !important; border-color: rgba(0,224,74,.2) !important; color: var(--accent-bright) !important; }

/* Footer / misc */
.footer { border-top: 1px solid var(--rd-border) !important; }
.footer__bug { background: rgba(255,255,255,.03) !important; border: 1px solid var(--rd-border) !important; border-radius: 14px !important; }
.footer__socials a { background: rgba(255,255,255,.03); border: 1px solid var(--rd-border) !important; }
.flash { border-radius: 14px !important; border: 1px solid var(--rd-border) !important; }
.dlg__box { background: rgba(18,23,19,.96) !important; border: 1px solid var(--rd-border) !important; border-radius: 20px !important; }

@media (max-width: 700px) {
  .rd-section { flex-direction: column; align-items: flex-start; }
  .rd-quick { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .rd-quick { grid-template-columns: 1fr; } }


/* --- Cases / UA cases uapub-like (full visual copy, VALOR green palette) --- */
.eco--cases.ua, .ua {
  --ua-bg: #111411;
  --ua-card: #171717;
  --ua-green: var(--accent-bright, #00e04a);
  --ua-muted: rgba(255,255,255,.55);
}
/* Live feed - uapub style */
.ua .live-list-wrap { overflow: hidden; margin: 0 0 10px; padding: 0 4px; }
.ua .live-list { overflow: hidden; display: flex; gap: 5px; position: relative; list-style: none; margin: 0; padding: 0; }
.ua .live-item { flex-shrink: 0; position: relative; }
.ua .live-link { position: relative; font-weight: 500; font-size: 10px; width: 125px; height: 91px; display: block; text-align: center; padding-bottom: 15px; border-radius: 7px; color: #fff; cursor: default; overflow: hidden; }
.ua .live-inner-wrap { width: 100%; height: 100%; display: block; }
.ua .live-inner, .ua .live-hover { width: 100%; height: 100%; display: block; transition: .5s; backface-visibility: hidden; }
.ua .live-inner { padding-top: 7px; }
.ua .live-hover { padding-top: 5px; margin-top: -91px; visibility: hidden; opacity: 0; }
.ua .live-link:hover .live-inner { transform: translateY(-100%); opacity: 0; visibility: hidden; }
.ua .live-link:hover .live-hover { transform: translateY(0); visibility: visible; opacity: 1; }
.ua .live-image-wrap { display: flex; align-items: center; justify-content: center; height: 62px; }
.ua .live-image { height: 62px; max-width: 90%; object-fit: contain; }
.ua .live-image--text { display:flex; align-items:center; justify-content:center; font-size:24px; font-weight:800; color:var(--ua-green); }
.ua .live-image--xp { display:flex !important; align-items:center !important; justify-content:center !important; width:54px !important; height:54px !important; min-width:54px; border-radius:50%; font-size:20px !important; font-weight:900 !important; line-height:1 !important; letter-spacing:.02em; color:#00e04a !important; background:radial-gradient(circle at 35% 30%, rgba(0,224,74,.28), rgba(0,224,74,.08) 60%, rgba(0,0,0,.18) 100%) !important; border:2px solid rgba(0,224,74,.55) !important; box-shadow:0 0 0 4px rgba(0,224,74,.08), inset 0 1px 0 rgba(255,255,255,.08) !important; }
.ua .live-title { display:block; margin-top: -2px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; padding: 0 8px; font-size:10px; color: rgba(255,255,255,.85); }
.ua .live-case-image { display:flex; align-items:center; justify-content:center; margin: 5px 0; height: 53px; }
.ua .live-case-image img { height: 53px; max-width: 90%; object-fit: contain; }
.ua .live-case-name { font-size:10px; color:rgba(255,255,255,.7); padding:0 6px; display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ua .live-link-grey { background: linear-gradient(rgba(73,78,84,0), rgba(130,138,150,.24) 90%), rgb(29,29,37); }
.ua .live-link-blue { background: linear-gradient(rgba(26,17,81,0), rgba(0,224,74,.14) 90%), rgb(20,32,24); }
.ua .live-link-turquoise { background: linear-gradient(rgba(36,70,78,0), rgba(82,172,192,.22) 90%), rgb(27,40,49); }
.ua .live-link-purple { background: linear-gradient(rgba(34,17,81,0), rgba(125,46,204,.24) 90%), rgb(32,31,43); }
.ua .live-link-pink { background: linear-gradient(rgba(81,17,29,0), rgba(209,56,102,.24) 90%), rgb(44,26,35); }
.ua .live-link-red { background: linear-gradient(rgba(81,25,17,0), rgba(197,48,28,.24) 90%), rgb(43,23,25); }
.ua .live-link-gold { background: linear-gradient(rgba(81,55,17,0), rgba(197,139,28,.47) 90%), rgba(116,88,31,.23); }
.ua .live-item.is-new { animation: uaLiveIn .35s ease; }
@keyframes uaLiveIn { from { opacity:0; transform: translateY(-8px); } to { opacity:1; transform:none; } }

.ua .ua-cases {
  display: block !important;
  text-align: center !important;
  width: 100% !important;
  padding: 0 0 30px !important;
  margin: 10px 0 0 !important;
  border-radius: 8px !important;
  background: #171717 !important;
  border: 0 !important;
  overflow: hidden !important;
  position: relative !important;
}
.ua .ua-case {
  overflow: hidden !important;
  display: inline-block !important;
  vertical-align: top !important;
  position: relative !important;
  width: 240px !important;
  height: 280px !important;
  margin: 5px !important;
  padding: 5px 0 !important;
  color: #fff !important;
  text-align: center !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: translateZ(0) !important;
}
.ua .ua-case:hover { background: transparent !important; transform: translateZ(0) !important; }
.ua .ua-case__img {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  line-height: 1 !important;
  transition: transform .3s !important;
  transform: translateZ(0) !important;
  position: relative !important;
  height: 160px !important;
  margin: 0 !important; padding: 0 !important;
  overflow: visible !important;
}
.ua .ua-case:hover .ua-case__img { transform: scale(1.1) !important; }
.ua .ua-case__img img {
  position: static !important; inset: auto !important;
  width: auto !important; height: auto !important;
  max-width: 85% !important; max-height: 250px !important;
  object-fit: contain !important; filter: none !important;
}
.ua .ua-case__name {
  display: block !important; color: #fff !important; text-align: center !important;
  font-size: 14px !important; margin-top: 22px !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: .02em !important; transition: .3s !important;
}
.ua .ua-case:hover .ua-case__name { color: var(--ua-green) !important; }
.ua .ua-case__opened {
  display: flex !important; width: max-content !important; max-width: calc(100% - 16px) !important;
  justify-content: center !important; margin: 5px auto 10px !important; padding: 5px 10px !important;
  text-transform: uppercase !important; border-radius: 50px !important;
  color: rgba(255,255,255,.55) !important; background-color: #1f1f1f !important;
  font-size: 9px !important; font-weight: 600 !important; line-height: 1.5 !important; border:0 !important;
}
.ua .ua-case__price {
  display: inline-block !important; position: relative !important;
  font-size: 16px !important; color: #0c140f !important; font-weight: 700 !important;
  padding: 6px 18px !important; width: max-content !important; line-height: 1.5 !important;
  background: transparent !important; border:0 !important; box-shadow:none !important; z-index:1 !important;
}
.ua .ua-case__price::before {
  content: "" !important; display: block !important; position: absolute !important;
  top: 0; right: 0; bottom: 0; left: 0 !important; z-index: -1 !important;
  background: var(--ua-green) !important; border-radius: 6px !important;
}
.ua .ua-case__price.is-free { color:#0c140f !important; }

/* Detail */
.ua .ua-detail { padding: 0 0 30px !important; border-radius: 8px !important; background: #171717 !important; border:0 !important; text-align:center; overflow:hidden; }
.ua .ua-back { display:inline-flex !important; margin:16px 0 0 16px !important; padding:11px 15px !important; border-radius:6px !important; background:#262626 !important; color:#fff !important; font-size:11px !important; font-weight:600 !important; text-transform:uppercase; text-decoration:none; border:0 !important; float:left; }
.ua .ua-back:hover { background:#1c2625 !important; color:var(--ua-green) !important; }
.ua .ua-page-title, .ua .ua-subjects h2 { clear:both; display:flex !important; width:max-content; max-width:calc(100% - 32px); margin:20px auto !important; padding:10px 50px !important; gap:7px; align-items:center; justify-content:center; border-radius:8px !important; background:#111411 !important; color:var(--ua-green) !important; font-family:var(--font) !important; font-size:18px !important; font-weight:700 !important; text-transform:uppercase !important; border:0 !important; }
.ua .ua-page-title svg { width:20px; height:20px; fill:var(--ua-green); }
.ua .ua-main-case { display:flex; align-items:center; justify-content:center; min-height:253px !important; max-width:600px; margin:0 auto 20px !important; background:transparent !important; border:0 !important; }
.ua .ua-main-case img { max-width:300px !important; max-height:250px !important; }
.ua .ua-action { gap:12px !important; margin:20px auto !important; justify-content:center; flex-wrap:wrap; }
.ua .ua-open { color:#fff !important; border-radius:8px !important; text-transform:uppercase !important; font-weight:600 !important; font-size:12px !important; padding:15px 28px !important; background:#262626 !important; letter-spacing:1px; margin:0 !important; border:0 !important; box-shadow:none !important; }
.ua .ua-open:hover { color:var(--ua-green) !important; background:#1c2625 !important; }
.ua .ua-open span { color:var(--ua-green) !important; }
.ua .ua-price { display:inline-block !important; position:relative !important; font-size:16px !important; color:#0c140f !important; font-weight:700 !important; padding:6px 18px !important; background:transparent !important; z-index:1; }
.ua .ua-price::before { content:""; display:block; position:absolute; inset:0; z-index:-1; background:var(--ua-green); border-radius:6px; }
.ua .ua-meta span { background:transparent !important; border:0 !important; color:rgba(255,255,255,.55) !important; }
.ua .ua-meta b { color:var(--ua-green) !important; }
.ua .ua-subjects__grid { display:flex !important; flex-wrap:wrap !important; justify-content:center !important; gap:10px !important; padding:0 10px !important; }
.ua .ua-subject { width:200px !important; border-radius:8px !important; border:0 !important; background:#111411 !important; padding:10px 8px 12px !important; text-align:center !important; display:flex !important; flex-direction:column !important; align-items:center !important; }
.ua .ua-subject:hover { background:#1c2625 !important; transform: translateY(-2px); }
.ua .ua-subject__img { display:flex !important; align-items:center !important; justify-content:center !important; height:100px !important; width:100% !important; margin-bottom:6px !important; }
.ua .ua-subject__img img { max-width:100px !important; max-height:100px !important; object-fit:contain !important; display:block !important; }
.ua .ua-subject__img span { color:#fff; font-size:42px; font-weight:800; line-height:1; }
.ua .ua-subject__text { display:flex !important; flex-direction:column !important; align-items:center !important; gap:2px !important; width:100% !important; }
.ua .ua-subject__text b { max-width:100% !important; overflow:hidden !important; text-overflow:ellipsis !important; white-space:nowrap !important; font-size:13px !important; color:#fff; }
.ua .ua-subject__text small { color:rgba(255,255,255,.55) !important; font-size:10px !important; text-transform:uppercase; }
.ua .ua-subject--grey { background: linear-gradient(180deg, rgba(73,78,84,0), rgba(130,138,150,.18) 90%), #171717 !important; }
.ua .ua-subject--turquoise { background: linear-gradient(180deg, rgba(36,70,78,0), rgba(82,172,192,.18) 90%), #171717 !important; }
.ua .ua-subject--purple { background: linear-gradient(180deg, rgba(34,17,81,0), rgba(125,46,204,.18) 90%), #171717 !important; }
.ua .ua-subject--blue { background: linear-gradient(180deg, rgba(0,224,74,0), rgba(0,224,74,.12) 90%), #171717 !important; }
.ua .ua-subject--gold { background: linear-gradient(180deg, rgba(81,55,17,0), rgba(197,139,28,.28) 90%), #171717 !important; }
.ua .ua-subject--red { background: linear-gradient(180deg, rgba(81,25,17,0), rgba(197,48,28,.18) 90%), #171717 !important; }
.ua .ua-opener { margin:0 10px 20px !important; border-radius:8px !important; border:0 !important; background:#111411 !important; }
.ua .ua-opener__top, .ua .ua-opener__bottom { background:#1f1f1f !important; color:rgba(255,255,255,.7) !important; }
.ua .ua-opener .cs__reel-window::before { background: linear-gradient(90deg, #111411, transparent) !important; }
.ua .ua-opener .cs__reel-window::after { background: linear-gradient(270deg, #111411, transparent) !important; }
.ua .ua-opener .cs__reel-item.is-center { border-color: var(--ua-green) !important; box-shadow: 0 0 0 2px rgba(0,224,74,.14) !important; }
.ua .ua-opener .cs__reel-marker { background: linear-gradient(180deg, transparent, var(--ua-green) 20%, var(--ua-green) 80%, transparent) !important; }
.ua .ua-result { border-radius:8px !important; background:#111411 !important; border:1px solid rgba(0,224,74,.15) !important; margin:0 10px 20px !important; }
.ua .ua-result__eyebrow { color:var(--ua-green) !important; }
.ua .ua-history { margin:20px 10px 0 !important; border-radius:8px !important; background:#111411 !important; border:0 !important; }

@media (max-width: 640px) {
  .ua .ua-case { width: calc(50% - 10px) !important; min-width: 150px; height: 270px !important; }
  .ua .ua-case__img { height: 140px !important; }
  .ua .ua-case__name { font-size: 12px !important; margin-top: 18px !important; }
  .ua .ua-case__opened { font-size: 8px !important; padding: 4px 8px !important; }
  .ua .ua-page-title, .ua .ua-subjects h2 { padding:10px 20px !important; font-size:16px !important; }
}
@media (max-width: 420px) { .ua .ua-case { width: 240px !important; max-width: calc(100% - 10px); } }



/* --- Upgrader / upgrader.pro-inspired (keep VALOR green) --- */
.eco--upgrade.upg, .upg {
  --u-bg: #0b100d;
  --u-panel: rgba(255,255,255,.04);
  --u-panel-2: rgba(255,255,255,.025);
  --u-panel-3: rgba(255,255,255,.06);
  --u-border: rgba(255,255,255,.07);
  --u-accent: var(--accent, #00e04a);
  --u-accent-2: #2dff74;
  --u-muted: rgba(255,255,255,.52);
  --u-text: #f3f7f4;
  --u-bad: #ff4b5c;
  gap: 18px !important;
}
.upg__head {
  display:flex !important; align-items:flex-end !important; justify-content:space-between !important; gap:16px;
  padding: 0 0 8px !important; border:0 !important; background: transparent !important; border-radius:0 !important;
}
.upg__eyebrow { color: rgba(255,255,255,.42) !important; font-size:12px !important; letter-spacing:.08em !important; font-weight:700 !important; }
.upg__title { font-size: clamp(28px,3vw,42px) !important; margin:4px 0 0 !important; color:#fff !important; }
.upg__title svg { color: var(--u-accent) !important; }
.upg__sound { background: rgba(255,255,255,.04) !important; border:1px solid var(--u-border) !important; color: rgba(255,255,255,.7) !important; border-radius:10px !important; }

/* Stage */
.upg__stage {
  display:grid !important;
  grid-template-columns: minmax(0,1fr) minmax(320px,420px) minmax(0,1fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
}
.upg__side {
  background: var(--u-panel) !important;
  border: 1px solid var(--u-border) !important;
  border-radius: 16px !important;
  padding: 16px !important;
  min-width: 0;
}
.upg__side-head {
  display:flex; align-items:center; gap:10px;
  font-size: 13px !important; font-weight: 700 !important; color: rgba(255,255,255,.72) !important;
  letter-spacing: .02em; text-transform: none !important; margin-bottom: 14px;
}
.upg__num {
  width: 28px; height: 28px; border-radius: 8px; display:grid; place-items:center;
  background: rgba(0,224,74,.1); border:1px solid rgba(0,224,74,.16); color: var(--u-accent); font-size: 12px; font-weight: 800;
}
.upg__side--target .upg__num { background: rgba(0,224,74,.1); border-color: rgba(0,224,74,.16); color: var(--u-accent); }
.upg__card, .upg__pick-card {
  background: rgba(0,0,0,.18) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 14px !important;
  min-height: 300px;
  display:flex !important; flex-direction:column !important;
  overflow:hidden;
  transition: border-color .18s ease, background .18s ease !important;
}
.upg__pick-card:hover, .upg__pick-card:focus-visible {
  border-color: rgba(0,224,74,.28) !important;
  box-shadow: 0 0 0 1px rgba(0,224,74,.12) !important;
  background: rgba(0,224,74,.03) !important;
}
.upg__card-rarity {
  padding: 10px 14px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.38); border-bottom: 1px solid rgba(255,255,255,.05);
}
.upg__card-art {
  position: relative; flex:1; display:grid; place-items:center; padding: 20px; min-height: 190px;
  background: radial-gradient(circle at 50% 50%, rgba(0,224,74,.06), transparent 65%);
}
.upg__card-art img { max-width: 100%; max-height: 170px; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0,0,0,.45)); }
.upg__card-art img[src=""], .upg__card-art img:not([src]) { display:none; }
.upg__card-hint { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; text-align:center; pointer-events:none; }
.upg__card-hint span { font-size: 18px; font-weight: 700; color: rgba(255,255,255,.78); }
.upg__card-hint small { font-size: 13px; color: rgba(255,255,255,.38); }
.upg__card-meta { padding: 14px; border-top: 1px solid rgba(255,255,255,.05); background: rgba(0,0,0,.12); }
.upg__card-meta b { display:block; font-size: 14px; font-weight: 700; color:#fff; margin-bottom: 4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.upg__card-meta span { color: var(--u-accent); font-size: 15px; font-weight: 800; }
.upg__target-warning { margin: 10px 14px 14px; padding: 10px 12px; border-radius: 10px; background: rgba(255,75,92,.1); border:1px solid rgba(255,75,92,.18); color:#ff7b86; font-size:12px; font-weight:600; }

/* Center */
.upg__center {
  display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important;
  padding: 20px 10px !important; min-width:0;
}
.upg__vs { display:none !important; }
.upg__wheel-stage {
  position: relative; width: min(340px, 100%); aspect-ratio: 1; margin: 0 auto;
  --wheel-radius: 122px;
}
.upg__wheel-glow {
  position:absolute; inset:10%; border-radius:50%;
  background: radial-gradient(circle, rgba(0,224,74,.12), transparent 68%);
  filter: blur(2px);
}
.upg__wheel {
  position:absolute; inset:0; border-radius:50%;
  background: radial-gradient(circle at 50% 50%, #121916 0%, #0d120f 58%, #09100b 100%);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 20px 50px rgba(0,0,0,.35);
}
.upg__wheel-segments { position:absolute; inset:0; border-radius:50%; }
.upg__wheel-seg {
  position:absolute; top:50%; left:50%; width:74px; height:74px; margin:-37px 0 0 -37px;
  border-radius:50%; padding:4px;
}
.upg__wheel-seg-inner {
  width:100%; height:100%; border-radius:50%; display:grid; place-items:center;
  background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.06); overflow:hidden;
}
.upg__wheel-seg-inner img { width:80%; height:80%; object-fit:contain; }
.upg__chance-arc { position:absolute; inset:8px; width:calc(100% - 16px); height:calc(100% - 16px); transform: rotate(-90deg); pointer-events:none; }
.upg__chance-arc-track { fill:none; stroke: rgba(255,255,255,.06); stroke-width: 8; }
.upg__chance-arc-fill { fill:none; stroke: var(--u-accent); stroke-width: 8; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(0,224,74,.45)); transition: stroke-dashoffset .35s ease; }
.upg__orbit { position:absolute; inset:0; pointer-events:none; z-index:5; }
.upg__wheel-pointer {
  position:absolute; top:-2px; left:50%; width:18px; height:18px; margin-left:-9px;
  background: var(--u-accent); border-radius: 4px; transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(11,16,13,.95), 0 0 18px rgba(0,224,74,.5);
}
.upg__wheel-hub {
  position:absolute; top:50%; left:50%; width:136px; height:136px; margin:-68px 0 0 -68px;
  border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
  background: radial-gradient(circle at 30% 30%, #18231b, #0d120f 70%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
  z-index: 4;
}
.upg__wheel-hub span { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.45); text-transform: uppercase; }
.upg__wheel-hub b { font-size: 38px; line-height:1; font-weight: 800; color: #fff; font-family: var(--font); letter-spacing:-.03em; }
.upg__wheel-hub i { font-style: normal; font-size: 12px; color: var(--u-accent); font-weight: 600; }
.upg__verdict { margin-top: 16px !important; min-height: 38px; padding: 8px 16px !important; border-radius: 10px !important; background: rgba(255,255,255,.04) !important; border:1px solid var(--u-border); color:#fff !important; font-size: 14px !important; font-weight: 700 !important; letter-spacing: .02em !important; text-shadow: none !important; }
.upg__verdict.is-win { background: rgba(0,224,74,.1) !important; border-color: rgba(0,224,74,.2) !important; color: var(--u-accent) !important; }
.upg__verdict.is-lose { background: rgba(255,75,92,.1) !important; border-color: rgba(255,75,92,.2) !important; color: #ff7b86 !important; }
.upg__arrows { display:none !important; }
.upg .upg__chance-track { display:none !important; }

/* Controls */
.upg__controls {
  display:grid !important; grid-template-columns: 1fr auto auto !important; gap: 14px !important; align-items: end !important;
  padding: 16px !important; background: var(--u-panel) !important; border: 1px solid var(--u-border) !important; border-radius: 16px !important;
}
.upg__control-label span { display:block; font-size:13px; font-weight:700; color:#fff; }
.upg__control-label small { display:block; font-size:12px; color: rgba(255,255,255,.45); margin-top:2px; }
.upg__topup-row { display:flex; gap:10px; align-items:center; margin-top:10px; flex-wrap:wrap; }
.upg__quick { display:flex; gap:6px; flex-wrap:wrap; }
.upg__quick button {
  height: 38px; padding: 0 12px; border-radius: 8px; border:1px solid var(--u-border); background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.78); font-weight: 700; font-size: 13px; cursor:pointer;
}
.upg__quick button:hover { background: rgba(0,224,74,.08); border-color: rgba(0,224,74,.18); color: var(--u-accent); }
.upg__topup-input { display:flex; align-items:center; gap:8px; padding: 0 12px; height:42px; border-radius:10px; background: rgba(0,0,0,.18); border:1px solid var(--u-border); min-width:140px; }
.upg__topup-input .input { background: transparent !important; border:0 !important; box-shadow:none !important; padding:0 !important; height:auto !important; width:100%; font-weight:700; }
.upg__topup-input span { color: rgba(255,255,255,.45); font-weight:700; font-size:13px; }
.upg__stake { padding: 10px 14px; border-radius: 12px; background: rgba(0,0,0,.16); border:1px solid rgba(255,255,255,.05); }
.upg__stake span { display:block; font-size:11px; color: rgba(255,255,255,.45); font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.upg__stake b { display:block; font-size:22px; font-weight:800; color:#fff; margin-top:2px; }
.upg__run-actions { display:flex; gap:8px; align-items:stretch; }
.btn--upg, .upg .btn--upg {
  height: 48px !important; padding: 0 24px !important; border-radius: 10px !important;
  background: var(--u-accent) !important; color: #07110a !important; border:0 !important;
  font-weight: 800 !important; font-size: 14px !important; letter-spacing: .01em; box-shadow: 0 8px 24px rgba(0,224,74,.2) !important;
}
.btn--upg:hover { background: #2dff74 !important; transform:none !important; filter:none !important; }
.btn--upg:disabled { opacity:.45; box-shadow:none !important; cursor:not-allowed; }
.btn--upg-fast {
  height:48px !important; padding:0 16px !important; border-radius:10px !important;
  background: rgba(255,255,255,.04) !important; border:1px solid var(--u-border) !important; color:#fff !important;
  font-weight:700 !important; font-size:13px !important;
}
.btn--upg-fast:hover { background: rgba(255,255,255,.07) !important; border-color: rgba(255,255,255,.12) !important; }

/* Pickers */
.upg__pickers { display:grid !important; grid-template-columns: 1fr 1fr; gap:16px !important; margin-top:0 !important; }
.upg__picker { margin:0 !important; border-radius: 16px !important; background: var(--u-panel) !important; border:1px solid var(--u-border) !important; overflow:hidden; }
.upg__picker-head { padding: 14px 16px !important; background: transparent !important; border-bottom:1px solid rgba(255,255,255,.05) !important; gap:12px !important; }
.upg__picker-title { font-family: var(--font) !important; font-size: 14px !important; font-weight: 700 !important; letter-spacing:0 !important; text-transform:none !important; }
.upg__picker-index { background: rgba(0,224,74,.1) !important; color: var(--u-accent) !important; border:1px solid rgba(0,224,74,.14) !important; border-radius:8px !important; font-family: var(--font) !important; }
.upg__picker-index--target { background: rgba(0,224,74,.1) !important; color: var(--u-accent) !important; border-color: rgba(0,224,74,.14) !important; }
.upg__picker-heading small { color: rgba(255,255,255,.42) !important; }
.upg__picker-search input { background: rgba(0,0,0,.18) !important; border:1px solid var(--u-border) !important; border-radius:10px !important; }
.upg__picker-search svg { color: rgba(255,255,255,.35); }
.upg__weapon-filters { padding: 10px 16px !important; gap:6px !important; background: rgba(0,0,0,.1) !important; border-bottom:1px solid rgba(255,255,255,.05) !important; }
.upg__weapon-filters button, .upg__picker-sort button { border-radius: 8px !important; background: rgba(255,255,255,.03) !important; border:1px solid var(--u-border) !important; color: rgba(255,255,255,.62) !important; font-family: var(--font) !important; font-weight:600 !important; letter-spacing:0 !important; text-transform:none !important; }
.upg__weapon-filters button.is-active, .upg__picker-sort button.is-active { background: rgba(0,224,74,.12) !important; border-color: rgba(0,224,74,.18) !important; color: var(--u-accent) !important; }
.upg__picker-bar { padding: 10px 16px !important; background: transparent !important; border-bottom:1px solid rgba(255,255,255,.05) !important; color: rgba(255,255,255,.42) !important; font-size:12px !important; text-transform:none !important; letter-spacing:0 !important; }
.upg__picker-grid { padding: 14px !important; gap: 10px !important; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; max-height: 420px !important; }
.upg__picker-item {
  border-radius: 12px !important; background: rgba(255,255,255,.025) !important; border:1px solid rgba(255,255,255,.06) !important;
  padding: 10px !important; min-height: 170px !important; transition: border-color .15s, background .15s !important;
}
.upg__picker-item::before { background: var(--rarity-color, rgba(0,224,74,.5)) !important; opacity:.7; }
.upg__picker-item:hover:not(.is-locked) { background: rgba(255,255,255,.045) !important; border-color: rgba(255,255,255,.12) !important; transform: translateY(-1px) !important; box-shadow:none !important; }
.upg__picker-item.is-selected { background: rgba(0,224,74,.06) !important; border-color: rgba(0,224,74,.3) !important; box-shadow: inset 0 0 0 1px rgba(0,224,74,.2) !important; }
.upg__picker-item-art { height: 88px !important; border-radius: 10px !important; background: rgba(0,0,0,.16) !important; }
.upg__picker-item-art img { max-height: 76px !important; }
.upg__picker-item-name { color: rgba(255,255,255,.8) !important; font-size:12px !important; font-weight:600 !important; }
.upg__picker-item-price { color: var(--u-accent) !important; font-family: var(--font) !important; font-size:14px !important; font-weight:800 !important; }
.upg__picker-item-wear { background: rgba(0,0,0,.55) !important; color: rgba(255,255,255,.75) !important; border-radius: 5px !important; font-weight:700; }
.upg__picker-item-check { background: var(--u-accent) !important; color:#07110a !important; border-radius: 6px !important; }
.upg__picker-empty { color: rgba(255,255,255,.4) !important; border-color: rgba(255,255,255,.08) !important; border-radius: 12px !important; }

/* Feed / history */
.upg__feed, .upg__history { background: var(--u-panel) !important; border: 1px solid var(--u-border) !important; border-radius: 16px !important; }
.upg__feed-head span { color: var(--u-accent) !important; }
.upg__feed-head h2, .eco-history h2 { font-family: var(--font) !important; font-weight: 700 !important; letter-spacing:-.01em !important; text-transform:none !important; }
.upg__feed-row, .eco-history__row { background: rgba(255,255,255,.02) !important; border: 1px solid rgba(255,255,255,.04); border-radius: 10px !important; }
.upg__feed-badge.is-win { background: rgba(0,224,74,.1) !important; color: var(--u-accent) !important; }
.upg__feed-badge.is-loss, .eco-history__row b.is-loss { color: #ff7b86 !important; }
.upg__feed-badge.is-win, .eco-history__row b.is-win { color: var(--u-accent) !important; }

@media (max-width: 1100px) {
  .upg__stage { grid-template-columns: 1fr !important; }
  .upg__center { padding: 10px 0 18px !important; }
  .upg__wheel-stage { width: min(340px, 100%); }
  .upg__controls { grid-template-columns: 1fr !important; }
  .upg__run-actions { justify-content: stretch; }
  .upg__run-actions .btn { flex:1; }
  .upg__pickers { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .upg__picker-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; max-height: 340px !important; }
  .upg__quick button { flex:1; }
  .upg__topup-row { flex-direction: column; align-items: stretch; }
  .upg__topup-input { width:100%; }
}


/* Cases reel fixes (keep uapub-like look) */
.ua .ua-opener .cs__reel-window { height: 190px !important; overflow: hidden !important; background: linear-gradient(90deg, #111411, transparent 12%, transparent 88%, #111411) !important; }
.ua .ua-opener .cs__reel { display: flex !important; align-items: center !important; gap: 14px !important; height: 100% !important; padding: 0 calc(50% - 75px) !important; will-change: transform; }
.ua .ua-opener .cs__reel-item { flex: 0 0 150px !important; width: 150px !important; height: 140px !important; display: grid !important; place-items: center !important; border: 1px solid rgba(255,255,255,.08) !important; border-radius: 10px !important; background: #171717 !important; opacity: .65; transform: scale(.9); transition: opacity .2s, transform .2s; }
.ua .ua-opener .cs__reel-item img { max-width: 88% !important; max-height: 88% !important; object-fit: contain !important; }
.ua .ua-opener .cs__reel-item.is-center { opacity: 1 !important; transform: scale(1) !important; border-color: var(--ua-green) !important; box-shadow: 0 0 0 2px rgba(0,224,74,.14), 0 0 30px rgba(0,224,74,.12) !important; }
.ua .ua-opener .cs__reel-text { color: var(--ua-green) !important; font-size: 52px !important; font-weight: 800 !important; line-height: 1; }
.ua .ua-opener .cs__reel-marker { z-index: 4 !important; }
@media (max-width: 760px) {
  .ua .ua-opener .cs__reel-window { height: 150px !important; }
  .ua .ua-opener .cs__reel { padding: 0 calc(50% - 60px) !important; }
  .ua .ua-opener .cs__reel-item { flex-basis: 120px !important; width: 120px !important; height: 110px !important; }
}


/* Case open controls */
.ua .ua-action.ua-action--reel { flex-wrap: wrap !important; gap: 14px !important; align-items:center !important; justify-content:center !important; }
.ua .ua-open-controls { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:center; }
.ua .ua-fast-toggle { display:inline-flex; align-items:center; cursor:pointer; user-select:none; }
.ua .ua-fast-toggle input { position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
.ua .ua-fast-toggle__ui { display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:12px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); color:rgba(255,255,255,.82); font-size:13px; font-weight:800; transition:.18s; }
.ua .ua-fast-toggle__icon { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border-radius:7px; background:rgba(255,255,255,.06); color:#fff; font-size:13px; line-height:1; }
.ua .ua-fast-toggle:hover .ua-fast-toggle__ui { border-color:rgba(0,224,74,.35); color:#fff; }
.ua .ua-fast-toggle input:checked + .ua-fast-toggle__ui { background:rgba(0,224,74,.12); border-color:rgba(0,224,74,.45); color:#fff; box-shadow:0 0 0 1px rgba(0,224,74,.12) inset; }
.ua .ua-fast-toggle input:checked + .ua-fast-toggle__ui .ua-fast-toggle__icon { background:var(--ua-green); color:#0c140f; }
.ua .ua-open { display:inline-flex !important; align-items:center; gap:10px; }
.ua .ua-open.is-loading { opacity:.7; pointer-events:none; }
@media (max-width:640px){ .ua .ua-open-controls{width:100%; justify-content:center;} .ua .ua-open{width:100%; justify-content:center;} }

/* XP badge hard visibility */
.ua .live-link .live-image-wrap .live-image--xp,
.ua .live-item .live-image--xp { display:flex !important; align-items:center !important; justify-content:center !important; width:54px !important; height:54px !important; max-width:54px !important; border-radius:50% !important; font-size:20px !important; font-weight:900 !important; color:#00e04a !important; background:rgba(0,224,74,.12) !important; border:2px solid rgba(0,224,74,.55) !important; }


/* Project leader */
.home-top__best, .home-top__today { min-width:0 !important; }
.home-top__best .home-best, .home-top__today .home-best { width:100% !important; max-width:100% !important; min-width:0 !important; box-sizing:border-box !important; overflow:hidden !important; }
.home-best--project {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  align-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  padding: 14px !important;
  border: 1px solid rgba(0,224,74,.28) !important;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(0,224,74,.16), transparent 50%),
    radial-gradient(90% 80% at 100% 10%, rgba(255,209,90,.12), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,0) 35%),
    rgba(14,19,14,.94) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.28), 0 0 0 1px rgba(0,224,74,.06), 0 0 40px rgba(0,224,74,.08), inset 0 1px 0 rgba(255,255,255,.05) !important;
  isolation:isolate;
}
.home-best--project::before {
  content:""; position:absolute; inset:-1px; border-radius:inherit; padding:1px;
  background:linear-gradient(135deg, rgba(0,224,74,.55), rgba(255,209,90,.18), rgba(0,224,74,.12));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none; opacity:.7;
}
.home-best--project::after {
  content:""; position:absolute; top:-40%; left:-30%; width:60%; height:180%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
  transform:rotate(18deg); pointer-events:none;
}
.home-best--project:hover { border-color: rgba(0,224,74,.42) !important; box-shadow: 0 18px 42px rgba(0,0,0,.32), 0 0 0 1px rgba(0,224,74,.1), 0 0 55px rgba(0,224,74,.12), inset 0 1px 0 rgba(255,255,255,.06) !important; }
.home-best--project > * { width:100%; max-width:100%; min-width:0; box-sizing:border-box; position:relative; z-index:2; }
.home-best__bg { position:absolute !important; inset:-15% -5% auto auto; width:220px; height:220px; background:radial-gradient(circle,rgba(0,224,74,.16),transparent 68%); pointer-events:none; z-index:0; }
.home-best--project .home-best__head { display:block !important; width:100% !important; padding:0 42px 0 0 !important; margin:0 !important; }
.home-best--project .home-card__label { display:inline-flex; align-items:center; gap:6px; color:#dfffea; font-size:11px; letter-spacing:.06em; line-height:1.2; text-shadow:0 0 18px rgba(0,224,74,.18); }
.home-best--project .home-card__label svg { width:13px; height:13px; color:#ffd15a; filter:drop-shadow(0 0 8px rgba(255,209,90,.35)); }
.home-best--project .eyebrow.home-best__icon,
.home-best--today .eyebrow.home-best__icon {
  position:absolute !important; top:10px !important; right:10px !important; left:auto !important; bottom:auto !important;
  width:34px !important; height:34px !important; min-width:34px !important; padding:0 !important; margin:0 !important;
  border-radius:10px !important; display:grid !important; place-items:center !important; gap:0 !important;
  background:linear-gradient(180deg, rgba(0,224,74,.14), rgba(0,224,74,.06)) !important; border:1px solid rgba(0,224,74,.24) !important;
  box-shadow:0 0 0 4px rgba(0,224,74,.05), 0 8px 20px rgba(0,0,0,.2) !important;
  font-size:0 !important; line-height:0 !important; letter-spacing:0 !important; text-transform:none !important;
}
.home-best--today .eyebrow.home-best__icon { width:auto !important; padding:0 8px !important; gap:4px !important; font-size:11px !important; line-height:1 !important; color:#d8ffe4 !important; display:inline-flex !important; }
.home-best--today .home-best__count { font-size:11px; color:#d8ffe4; line-height:1; }
.home-best--project .eyebrow.home-best__icon::before,.home-best--project .eyebrow.home-best__icon::after,
.home-best--today .eyebrow.home-best__icon::before,.home-best--today .eyebrow.home-best__icon::after,
.home-best--project .eyebrow.home-best__icon i,.home-best--today .eyebrow.home-best__icon i { display:none !important; content:none !important; }
.home-best--project .home-best__icon svg,.home-best--today .home-best__icon svg { width:18px !important; height:18px !important; color:#ffd15a !important; margin:0 !important; filter:drop-shadow(0 0 10px rgba(255,209,90,.25)); }
.home-best__who--project { width:100% !important; display:flex !important; align-items:center !important; gap:14px !important; flex:0 0 auto !important; margin:0 !important; min-width:0 !important; }
.home-best__ava--project { width:78px !important; height:78px !important; min-width:78px !important; border-radius:20px !important; border:2px solid rgba(0,224,74,.45) !important; box-shadow:0 0 0 5px rgba(0,224,74,.07), 0 14px 30px rgba(0,0,0,.35) !important; flex:0 0 auto !important; position:relative; }
.home-best__ava--project::after { content:""; position:absolute; inset:-4px; border-radius:22px; border:1px solid rgba(255,209,90,.18); pointer-events:none; }
.home-best__ava--project img, .home-best__ava--project span { width:100% !important; height:100% !important; border-radius:inherit !important; object-fit:cover; display:grid; place-items:center; font-size:30px; font-weight:800; }
.home-best__identity { display:flex !important; flex-direction:column !important; gap:6px !important; min-width:0 !important; flex:1 1 auto !important; }
.home-best__badge { display:inline-flex; align-items:center; gap:5px; width:max-content; max-width:100%; padding:4px 10px; border-radius:999px; font-size:10px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:#08150b; background:linear-gradient(135deg,#00e04a,#8affb0); box-shadow:0 8px 20px rgba(0,224,74,.2); }
.home-best__badge svg { width:12px; height:12px; }
.home-best--project .home-best__name { display:block !important; max-width:100% !important; font-size:clamp(30px,3.4vw,44px) !important; line-height:1.04 !important; font-weight:900 !important; letter-spacing:-.03em; color:#fff !important; white-space:normal !important; overflow:visible !important; text-overflow:clip !important; overflow-wrap:anywhere !important; word-break:break-word !important; text-shadow:0 4px 22px rgba(0,0,0,.35); }
.home-best__sub { display:flex; flex-wrap:wrap; gap:8px; align-items:center; min-width:0; }
.home-best--project .home-best__rank { font-size:11px !important; padding:3px 9px !important; background:rgba(0,224,74,.1) !important; border-color:rgba(0,224,74,.22) !important; }
.home-top__best .home-best__stats--project { width:100% !important; max-width:100% !important; margin:2px 0 0 !important; flex:0 0 auto !important; display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:8px !important; }
.home-top__best .home-best__stats--project span { padding:9px 10px !important; border-radius:12px !important; background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.02)) !important; border:1px solid rgba(255,255,255,.07) !important; min-width:0 !important; overflow:hidden !important; backdrop-filter: blur(2px); }
.home-top__best .home-best__stats--project span:last-child { background:linear-gradient(180deg,rgba(0,224,74,.12),rgba(0,224,74,.04)) !important; border-color:rgba(0,224,74,.18) !important; box-shadow:inset 0 0 0 1px rgba(0,224,74,.04); }
.home-top__best .home-best__stats--project small { display:flex !important; align-items:center; gap:5px; color:rgba(255,255,255,.6) !important; font-size:10px !important; line-height:1.2 !important; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.home-top__best .home-best__stats--project small svg { width:12px; height:12px; flex:0 0 auto; }
.home-top__best .home-best__stats--project b { display:block; font-size:17px !important; line-height:1.15 !important; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:#fff; }

/* Today leaders compact */
.home-best--today { position:relative !important; display:flex !important; flex-direction:column !important; align-items:stretch !important; justify-content:flex-start !important; align-content:flex-start !important; padding:12px !important; gap:8px !important; }
.home-best--today .home-card__head { width:100%; padding-right:56px; margin:0 !important; }
.home-best--today .home-card__head .home-card__label { font-size:10px; }
.home-best--today .home-card__head p { font-size:11px !important; margin:3px 0 0 !important; line-height:1.3; }
.home-today-list { gap:4px !important; width:100%; margin:0; padding:0; }
.home-today-row { padding:7px 8px !important; gap:10px !important; border-radius:10px !important; min-height:48px; grid-template-columns:22px 36px minmax(0,1fr) auto auto !important; }
.home-today-row__ava { width:36px !important; height:36px !important; border-radius:10px !important; font-size:14px !important; }
.home-today-row__name { font-size:15px !important; font-weight:700 !important; min-width:0; }
.home-today-row__kills, .home-today-row__total { font-size:12px !important; }

@media (max-width: 900px) {
  .home-top__best .home-best__stats--project { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 640px) {
  .home-best--project, .home-best--today { padding:11px !important; gap:8px !important; }
  .home-best__who--project { gap:10px !important; }
  .home-best__ava--project { width:62px !important; height:62px !important; min-width:62px !important; border-radius:16px !important; }
  .home-best--project .home-best__name { font-size:30px !important; }
}

/* Cases reel: centered items, no dot placeholders */
.ua .ua-opener .cs__reel-item{display:flex!important;align-items:center!important;justify-content:center!important;place-items:initial!important;overflow:hidden}
.ua .ua-opener .cs__reel-item img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;padding:12px;box-sizing:border-box}
.ua .ua-opener .cs__reel-text{font-size:40px!important;line-height:1!important;letter-spacing:.02em;text-align:center}
.ua .ua-opener .cs__reel-item.is-center{transform:scale(1.04)!important}

/* reel: perfectly centered text drops */
.ua .ua-opener .cs__reel-item.is-text{position:relative;display:flex!important;align-items:center!important;justify-content:center!important}
.ua .ua-opener .cs__reel-item.is-text .cs__reel-text{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:54px!important;text-align:center;line-height:1!important}
