
:root{
  --bg:#160432;
  --bg2:#2b0a63;
  --panel:#4f1b9c;
  --panel2:#34106d;
  --panel3:#22084b;
  --line:rgba(255,255,255,.15);
  --line2:rgba(255,255,255,.08);
  --txt:#fff;
  --muted:#ecd9ff;
  --pink:#5595f6;
  --pink2:#86b4f9;
  --purple:#8a4cff;
  --purple2:#5f28d7;
  --blue:#2fb5ff;
  --blue2:#1e7fff;
  --teal:#35dfcf;
  --teal2:#13b8bf;
  --gold:#ffd752;
  --orange:#ff9d24;
  --green:#20e19a;
  --shadow:0 18px 44px rgba(11,0,35,.34);
  --radius-xl:30px;
  --radius-lg:24px;
  --radius-md:18px;
  --radius-sm:14px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--txt);
  min-height:100vh;
  font-family:Inter, ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(132,178,248,.20), transparent 20%),
    radial-gradient(circle at 84% 0%, rgba(111,136,255,.16), transparent 22%),
    linear-gradient(180deg,#280a5e 0%,#14042d 38%,#0f0324 100%);
  overflow-x:hidden;
}
button,input,select{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%}
.hidden{display:none!important}
.backdrop{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:-1}
.stars{
  position:absolute; inset:0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.75) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(181,209,251,.40) 0 1px, transparent 1.7px);
  background-size:88px 88px, 131px 131px;
  background-position:0 0, 38px 26px;
  opacity:.28;
}
.mist{
  position:absolute; border-radius:999px;
  background:linear-gradient(180deg, rgba(255,233,247,.62), rgba(141,184,249,.18));
  filter:blur(1px);
  opacity:.36;
}
.mist::before,.mist::after{content:"";position:absolute;border-radius:50%;background:inherit}
.mist-a{width:260px;height:82px;left:-70px;top:320px}
.mist-a::before{width:130px;height:130px;left:30px;top:-55px}
.mist-a::after{width:100px;height:100px;right:25px;top:-36px}
.mist-b{width:300px;height:92px;right:-90px;top:240px}
.mist-b::before{width:140px;height:140px;left:48px;top:-58px}
.mist-b::after{width:115px;height:115px;right:28px;top:-40px}
.mist-c{width:420px;height:110px;left:36%;bottom:-58px;opacity:.18}
.mist-c::before{width:170px;height:170px;left:70px;top:-70px}
.mist-c::after{width:145px;height:145px;right:52px;top:-50px}

.layout{display:grid;grid-template-columns:206px minmax(0,1fr);min-height:100vh;max-width:1536px;margin:0 auto}
.sidebar{
  position:fixed;left:0;top:0;bottom:0;width:206px;
  padding:8px;
  display:flex;flex-direction:column;gap:8px;
  background:linear-gradient(180deg,rgba(42,10,95,.96),rgba(24,6,56,.98));
  border-right:1px solid rgba(255,255,255,.08);
  box-shadow:14px 0 34px rgba(0,0,0,.12);
  z-index:60;
}
.main{grid-column:2;min-width:0;padding-left:0}
.glass-panel{
  position:relative;
  border:1px solid rgba(255,255,255,.18);
  background:
    radial-gradient(circle at 20% 14%, rgba(255,255,255,.22), transparent 23%),
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.04)),
    linear-gradient(145deg, #5f27ab, #31106b 72%);
  box-shadow:var(--shadow), inset 0 1px 0 rgba(255,255,255,.14), inset 0 -10px 20px rgba(40,10,85,.23);
}
.glass-panel::after{
  content:"";position:absolute;inset:1px;border-radius:inherit;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.07),transparent 24%);
}
.jelly{position:relative;overflow:hidden;isolation:isolate}
.jelly::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:2;opacity:0;
  background:radial-gradient(circle at var(--jx,30%) var(--jy,18%), rgba(255,255,255,.32), transparent 35%);
  transition:opacity .15s ease;
}
.jelly:hover::before{opacity:1}
.jelly:hover{animation:jelly .5s ease}
@keyframes jelly{
  0%{transform:scale(1)}
  25%{transform:scale(1.035,.965)}
  50%{transform:scale(.988,1.018)}
  75%{transform:scale(1.01,.992)}
  100%{transform:scale(1)}
}
.brand{
  min-height:58px;border-radius:24px;padding:10px 12px;
  display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;
}
.brand-icon{
  width:38px;height:38px;border-radius:50%;display:grid;place-items:center;
  font-weight:950;font-size:20px;
  background:conic-gradient(from 25deg,#69a2f7,#ffbc31,#69a2f7,#7548ff,#69a2f7);
  box-shadow:inset 0 0 16px rgba(255,255,255,.32);
}
.brand-text{font-size:25px;font-weight:950;letter-spacing:-1px}
.brand-text span{color:var(--pink)}
.profile{border-radius:26px;padding:12px}
.profile-orb{
  width:114px;height:114px;margin:0 auto 10px;padding:5px;border-radius:50%;
  background:radial-gradient(circle at 30% 20%, rgba(255,255,255,.50), transparent 22%), linear-gradient(145deg,#a0c4fa,#7148ff);
  box-shadow:0 16px 26px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.25);
}
.profile-orb img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.profile h3{margin:0;font-size:16px}
.tiny-crown{font-size:11px}
.subline{margin:0 0 8px;font-size:11px;color:var(--muted)}
.xp-meta{display:flex;justify-content:space-between;font-size:9px;color:#f3e6ff;margin-bottom:5px}
.xp-bar{height:8px;border-radius:999px;overflow:hidden;background:#4b198e;border:1px solid rgba(255,255,255,.07)}
.xp-bar span{
  display:block;height:100%;border-radius:inherit;
  background:linear-gradient(90deg,#ffd85b,#ff9a39,#5797f6);
}
.wallet-box{display:grid;gap:8px;margin-top:12px}
.wallet-pill{
  display:grid;grid-template-columns:34px 1fr auto;gap:8px;align-items:center;
  padding:9px;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.12)
}
.wallet-icon{width:34px;height:34px;border-radius:12px;display:grid;place-items:center}
.wallet-icon.coin{background:linear-gradient(145deg,#ffe36b,#ffab1c)}
.wallet-icon.cash{background:linear-gradient(145deg,#36e79f,#0aa067)}
.wallet-pill strong{font-size:14px}
.wallet-pill small{display:block;font-size:10px;color:#ebd8fb}
.pill-action,.tiny-button,.add-game,.mobile-menu,.circle,.login,.signup{
  color:#fff;border:1px solid rgba(255,255,255,.14)
}
.pill-action{width:31px;height:31px;border-radius:12px;background:linear-gradient(180deg,#659ff7,#3177e1);font-size:20px}
.tiny-button{padding:6px 9px;border-radius:11px;background:linear-gradient(180deg,#4d2289,#31135f);font-size:10px}
.side-nav{display:grid;gap:4px}
.side-item{
  width:100%;border:0;background:transparent;color:#f5e9ff;
  border-radius:14px;padding:10px 11px;display:flex;align-items:center;gap:10px;
  text-align:left;font-size:12px;font-weight:750
}
.side-item:hover{background:rgba(255,255,255,.06)}
.side-item.active{
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,.28), transparent 22%),
    linear-gradient(180deg,#79acf8,#367de7);
  box-shadow:inset 0 3px 8px rgba(255,255,255,.17), 0 10px 20px rgba(67,138,245,.16);
}
.side-item i{font-style:normal;width:18px;text-align:center}
.side-section-title{font-size:10px;font-weight:900;letter-spacing:.08em;color:#c9b0eb;padding:2px 6px 0}
.my-games{display:grid;gap:4px}
.game-row{display:flex;align-items:center;gap:9px;padding:6px 8px;border-radius:10px;font-size:10px;color:#ebdcfa}
.game-row:hover{background:rgba(255,255,255,.05)}
.game-badge{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;font-size:8px;font-weight:900;border:1px solid rgba(255,255,255,.16)}
.add-game{
  border-radius:15px;padding:10px 12px;font-size:10px;font-weight:900;
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,.22), transparent 22%),
    linear-gradient(180deg,#7badf8,#357ce6)
}
.sidebar-spacer{flex:1}
.side-bottom{padding-top:8px;border-top:1px solid rgba(255,255,255,.07)}
.copyright{font-size:9px;color:#9a80bd;padding:0 8px 2px}

.topbar{
  position:sticky;top:0;z-index:45;height:66px;padding:8px 14px;
  display:flex;align-items:center;gap:10px;
  background:rgba(19,4,46,.72);backdrop-filter:blur(16px);
}
.mobile-menu{display:none;width:42px;height:42px;border-radius:14px;background:linear-gradient(180deg,#6130ad,#3a176f)}
.topnav{
  min-width:0;display:flex;gap:5px;align-items:center;border-radius:999px;padding:7px;
  background:
    radial-gradient(circle at 20% 14%, rgba(255,255,255,.22), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.07)),
    linear-gradient(145deg,#fff0fb,#f8d8ff 66%,#ffdfe9);
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 14px 30px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.35);
}
.top-link{
  border:0;border-radius:999px;padding:11px 18px;background:transparent;
  color:#47106b;font-size:12px;font-weight:850;white-space:nowrap
}
.top-link.active{
  color:#fff;
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,.25), transparent 22%),
    linear-gradient(180deg,#7badf8,#377de6);
  box-shadow:inset 0 3px 8px rgba(255,255,255,.18), 0 10px 18px rgba(77,145,246,.18);
}
.top-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.circle{
  width:48px;height:48px;border-radius:50%;font-size:24px;color:#5a1988;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.45), transparent 25%),
    linear-gradient(180deg,#ffe9ff,#d0d9ff);
}
.login{
  border-radius:999px;padding:12px 22px;background:linear-gradient(180deg,#e1e7ff,#c1d2ff);color:#53207e;font-size:12px;font-weight:850
}
.signup{
  border-radius:999px;padding:12px 20px;background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,.25), transparent 22%),
    linear-gradient(180deg,#7daef8,#367ce6);
  font-size:12px;font-weight:900
}
.signup span{margin-right:4px}
.account-chip{
  border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:8px 12px 8px 8px;color:#fff;
  background:linear-gradient(180deg,#4d1f8d,#2d1058);display:flex;align-items:center;gap:8px;font-weight:850
}
.chip-orb{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#8cb8f9,#7548ff)}

.page-wrap{padding:10px 14px 26px}
.dashboard{
  display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:12px;
  align-items:start
}
.left-col{min-width:0}
.right-col{display:grid;gap:12px}

.hero{
  position:relative;overflow:hidden;border-radius:28px;min-height:314px;padding:20px 20px 16px 34px;
  display:grid;grid-template-columns:minmax(260px,.95fr) minmax(460px,1.05fr);
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.10), transparent 24%),
    linear-gradient(135deg,#6f2cdf 0%, #4f16a5 18%, #a03ede 54%, #7a40f3 100%);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:var(--shadow)
}
.hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center}
.hero-title{
  font-size:clamp(44px,4.8vw,76px);line-height:.86;letter-spacing:-3px;font-weight:950;margin:0 0 10px;
  text-shadow:0 4px 0 rgba(115,17,120,.28)
}
.hero-title .white{color:#fff}
.hero-title .pink{color:#70a6f7}
.hero-title .gold{color:#ffc83e;text-shadow:0 3px 0 #ff8f27}
.hero-copy p{max-width:400px;font-size:15px;line-height:1.35;margin:0 0 18px;color:#fff}
.hero-button{
  width:max-content;border:1px solid rgba(255,255,255,.26);border-radius:22px;padding:14px 28px;
  color:#fff;font-weight:900;font-size:15px;
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,.24), transparent 22%),
    linear-gradient(180deg,#7badf8,#3278e2);
  box-shadow:inset 0 4px 10px rgba(255,255,255,.16), 0 16px 24px rgba(61,135,245,.20)
}
.hero-art{
  position:relative;display:flex;align-items:flex-end;justify-content:flex-end;overflow:hidden
}
.hero-art img{
  width:100%;max-width:700px;height:auto;object-fit:contain;filter:drop-shadow(0 18px 20px rgba(0,0,0,.18))
}
.hero-pills{
  position:absolute;left:24px;right:24px;bottom:9px;display:flex;gap:6px;flex-wrap:wrap;
  z-index:2
}
.hero-pill{
  font-size:11px;color:#f8eeff;padding:8px 11px;border-radius:999px;
  background:rgba(66,25,127,.78);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(10px)
}

.panel{border-radius:24px;padding:10px 12px}
.section-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px
}
.section-head h2{margin:0;font-size:14px}
.view-all{
  border:0;border-radius:999px;padding:7px 11px;background:linear-gradient(180deg,#6730ba,#4a2298);
  color:#fff;font-size:10px;font-weight:850
}
.games-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.game-card{
  position:relative;border:1px solid rgba(255,255,255,.17);border-radius:20px;overflow:hidden;min-height:97px;padding:0;background:#42167f
}
.game-card img{width:100%;height:100%;object-fit:cover}
.game-card::after{
  content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,0));
  pointer-events:none
}
.rank-tag{
  position:absolute;left:6px;top:6px;z-index:2;padding:4px 7px;border-radius:999px;
  background:linear-gradient(180deg,#2cdf9d,#0da86c);font-size:8px;font-weight:900
}
.t-header{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px
}
.filters{display:flex;gap:4px;flex-wrap:wrap}
.filter{
  border:0;border-radius:999px;padding:5px 10px;background:transparent;color:#f0e6fb;font-size:10px
}
.filter.active{background:linear-gradient(180deg,#7badf8,#377de7)}
.t-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}
.t-card{
  position:relative;overflow:hidden;border-radius:21px;padding:12px;min-height:198px;
  border:1px solid rgba(255,255,255,.18);display:flex;flex-direction:column;
  box-shadow:0 14px 24px rgba(0,0,0,.18)
}
.t-card.pink{background:linear-gradient(145deg,#5797f6,#205cb7 72%)}
.t-card.purple{background:linear-gradient(145deg,#8845ff,#5521ca 72%)}
.t-card.blue{background:linear-gradient(145deg,#2ab7ff,#156fde 72%)}
.t-card.teal{background:linear-gradient(145deg,#2ce4c7,#1099a3 72%)}
.badge{
  width:max-content;border-radius:999px;padding:4px 8px;font-size:8px;font-weight:900;
  background:linear-gradient(180deg,#21de96,#0ba96c)
}
.badge.soon{background:linear-gradient(180deg,#57caff,#2a8dff)}
.t-card h3{margin:9px 0 2px;font-size:18px;line-height:1.02;max-width:60%}
.t-card small{font-size:10px;color:#fff2ff}
.t-icon{
  position:absolute;right:10px;top:42px;width:78px;height:78px;display:flex;align-items:center;justify-content:center
}
.t-icon img{max-width:100%;max-height:100%;filter:drop-shadow(0 8px 12px rgba(0,0,0,.18))}
.prize{margin-top:10px;font-size:10px;color:#fff3ff}
.prize strong{display:block;font-size:20px;line-height:1.1;color:#ffe35a}
.meta{
  display:flex;justify-content:space-between;gap:8px;margin-top:auto;padding:10px 0 8px;
  border-top:1px solid rgba(255,255,255,.14);font-size:10px
}
.primary{
  border:0;border-radius:18px;padding:11px 12px;color:#fff;font-size:11px;font-weight:900;
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,.23), transparent 22%),
    linear-gradient(180deg,#79acf8,#347ae3)
}
.purple .primary{background:radial-gradient(circle at 25% 18%, rgba(255,255,255,.23), transparent 22%), linear-gradient(180deg,#b568ff,#7b36f2)}
.blue .primary{background:radial-gradient(circle at 25% 18%, rgba(255,255,255,.23), transparent 22%), linear-gradient(180deg,#5acbff,#2689ff)}
.teal .primary{background:radial-gradient(circle at 25% 18%, rgba(255,255,255,.23), transparent 22%), linear-gradient(180deg,#52efe2,#1ab8cb)}
.primary.joined{background:linear-gradient(180deg,#34df97,#0e9a64)!important}

.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}
.benefit{
  border-radius:20px;padding:11px;display:grid;grid-template-columns:43px 1fr;gap:10px;align-items:center
}
.benefit-icon{font-size:33px}
.benefit strong{font-size:12px}
.benefit p{margin:2px 0 0;font-size:10px;color:#e3d2f2;line-height:1.35}

.side-panel{border-radius:24px;padding:12px}
.side-panel h3{margin:0;font-size:12px}
.side-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.side-top button{border:0;background:none;color:#d5c2e7;font-size:9px}
.tabs{display:flex;gap:4px;margin-bottom:8px}
.tab{
  border:0;border-radius:999px;padding:6px 10px;background:transparent;color:#f1e7fb;font-size:10px
}
.tab.active{background:linear-gradient(180deg,#7badf8,#377de7)}
.rank-list,.activity-list{display:grid;gap:9px}
.rank-item{
  display:grid;grid-template-columns:24px 31px 1fr auto;gap:7px;align-items:center;font-size:10px
}
.rank-pos{
  width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-weight:900;background:#4c217b
}
.rank-item:nth-child(1) .rank-pos{background:linear-gradient(145deg,#ffd960,#f3a617);color:#6d3600}
.rank-item:nth-child(2) .rank-pos{background:linear-gradient(145deg,#eef2ff,#8c97ae);color:#2b3341}
.rank-item:nth-child(3) .rank-pos{background:linear-gradient(145deg,#ffc582,#b66423);color:#532607}
.avatar{
  width:31px;height:31px;border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:900;
  background:linear-gradient(145deg,#7faff8,#7a49ff);border:1px solid rgba(255,255,255,.24)
}
.points{font-weight:850}
.activity-item{
  display:grid;grid-template-columns:33px 1fr auto;gap:8px;align-items:center;font-size:10px
}
.activity-item .avatar{width:33px;height:33px}
.activity-item small{display:block;color:#c2acd7;margin-top:2px;font-size:9px}
.gain{color:#25e0a3;font-weight:900}

.page{max-width:1260px;margin:auto;display:grid;gap:12px}
.title-block{border-radius:26px;padding:18px}
.title-block .eyebrow{font-size:10px;color:#ffd861;font-weight:900;letter-spacing:.08em}
.title-block h1{margin:6px 0 8px;font-size:40px;line-height:.95;letter-spacing:-1.6px}
.title-block p{margin:0;max-width:760px;color:#e2d1f1;font-size:12px;line-height:1.5}
.toolbar{display:flex;gap:8px;flex-wrap:wrap}
.input,.select{
  background:linear-gradient(180deg,#35106d,#23094d);color:#fff;border:1px solid rgba(255,255,255,.14);
  border-radius:15px;padding:11px 12px;font-size:11px
}
.input{min-width:240px}
.stats,.challenge-grid,.reward-grid,.how-grid{display:grid;gap:10px}
.stats{grid-template-columns:repeat(4,1fr)}
.stat,.challenge-card,.reward-card,.content-box,.step-card{border-radius:21px;padding:15px}
.stat small{display:block;color:#c1abd4;font-size:10px}
.stat strong{display:block;font-size:27px;margin-top:4px}
.stat .gold{color:#ffd95d}
.challenge-grid,.reward-grid{grid-template-columns:repeat(3,1fr)}
.big-emoji{font-size:40px}
.challenge-card h3,.reward-card h3,.step-card h3{margin:8px 0 4px;font-size:16px}
.challenge-card p,.reward-card p,.content-box p,.step-card p{margin:0;color:#d8c6e8;font-size:10px;line-height:1.45}
.progress{height:8px;border-radius:999px;overflow:hidden;background:#44167f;margin:12px 0 5px}
.progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffd95b,#ff8b45,#4e91f6)}
.progress-meta{display:flex;justify-content:space-between;color:#b89ecb;font-size:9px}
.reward-card{text-align:center}
.cost{margin:10px 0 12px;font-size:20px;font-weight:900;color:#ffd95b}
.leaderboard{display:grid;gap:8px}
.leader-row{
  display:grid;grid-template-columns:46px 40px 1fr 130px 105px;gap:10px;align-items:center;
  padding:12px;border-radius:16px;background:linear-gradient(180deg,#34106d,#200844);border:1px solid rgba(255,255,255,.10);font-size:10px
}
.leader-row.top{background:linear-gradient(90deg,rgba(255,220,95,.09),#34106d 28%,#22084a)}
.leader-row .points{color:#ffd95a}.division{color:#b89fc8}
.wallet-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:10px}
.wallet-card{
  border-radius:24px;padding:22px;background:linear-gradient(145deg,#5f9cf7,#7f39e0 75%);
  border:1px solid rgba(255,255,255,.18)
}
.wallet-card small{font-size:10px;opacity:.8}
.wallet-card h2{font-size:38px;margin:6px 0 8px}
.wallet-actions{display:flex;gap:8px;flex-wrap:wrap}
.wallet-actions button{border:0;border-radius:15px;padding:10px 14px;background:rgba(255,255,255,.15);color:#fff;font-weight:850}
.transactions{display:grid;gap:8px}
.tx{
  display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;
  padding:10px 11px;border-radius:14px;background:linear-gradient(180deg,#34106d,#210849);border:1px solid rgba(255,255,255,.10);font-size:10px
}
.tx-icon{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#83b2f8,#7648ff)}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.field{display:grid;gap:5px}
.field label{font-size:9px;color:#c1abd5}
.field .input,.field .select{width:100%;min-width:0}
.how-grid{grid-template-columns:repeat(4,1fr)}
.step-num{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#7caef8,#7739f0);font-weight:950}
.faq{display:grid;gap:8px}
.faq-item{border-radius:17px;overflow:hidden}
.faq-q{
  width:100%;border:0;background:transparent;color:#fff;padding:13px 14px;text-align:left;
  display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:850
}
.faq-a{display:none;padding:0 14px 13px;color:#d6c4e8;font-size:10px;line-height:1.5}
.faq-item.open .faq-a{display:block}

.modal-backdrop{
  position:fixed;inset:0;z-index:120;display:none;place-items:center;padding:18px;
  background:rgba(9,1,22,.74);backdrop-filter:blur(10px)
}
.modal-backdrop.open{display:grid}
.modal{width:min(520px,94vw);padding:22px;border-radius:28px}
.modal-close{
  position:absolute;right:12px;top:10px;width:34px;height:34px;border-radius:50%;
  border:0;background:rgba(255,255,255,.12);color:#fff;font-size:22px
}
.modal h2{margin:0 0 8px;font-size:26px}
.modal p{margin:0 0 12px;color:#dbc9ea;font-size:11px;line-height:1.5}
.modal-form{display:grid;gap:9px}
.modal-action{
  border:0;border-radius:16px;padding:12px 14px;color:#fff;font-weight:900;
  background:linear-gradient(180deg,#7caef8,#357be3)
}
.modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.toast-stack{position:fixed;right:18px;bottom:18px;z-index:130;display:grid;gap:8px}
.toast{
  padding:12px 14px;border-radius:15px;background:linear-gradient(180deg,#3d1379,#22094b);
  border:1px solid rgba(255,255,255,.13);box-shadow:0 15px 28px rgba(0,0,0,.25);font-size:11px
}
.toast.success{border-color:rgba(50,224,162,.35)}
.toast.error{border-color:rgba(104,161,247,.35)}

@media(max-width:1240px){
  .layout{grid-template-columns:190px minmax(0,1fr)} .sidebar{width:190px}
  .dashboard{grid-template-columns:1fr}.right-col{grid-template-columns:1fr 1fr}.games-grid{grid-template-columns:repeat(3,1fr)}
  .t-grid{grid-template-columns:repeat(2,1fr)} .benefits{grid-template-columns:repeat(2,1fr)}
  .challenge-grid,.reward-grid{grid-template-columns:repeat(2,1fr)} .stats{grid-template-columns:repeat(2,1fr)} .how-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
  .layout{display:block}.sidebar{transform:translateX(-108%);transition:.22s ease;width:210px}.sidebar.open{transform:translateX(0)}
  .mobile-menu{display:block}.topnav{display:none}.topbar{padding:10px}.page-wrap{padding:10px}
  .hero{grid-template-columns:1fr;min-height:auto;padding:24px 20px 54px 22px}.hero-copy p{max-width:none}.hero-art{margin-top:12px}
  .hero-pills{left:14px;right:14px;bottom:12px}.right-col{grid-template-columns:1fr}.t-grid,.games-grid,.benefits,.challenge-grid,.reward-grid,.stats,.how-grid,.wallet-grid{grid-template-columns:1fr}
  .leader-row{grid-template-columns:40px 36px 1fr auto}.leader-row .division{display:none}
}
@media(max-width:560px){
  .login{display:none}.signup{padding:11px 13px}.top-actions{gap:6px}.input{min-width:100%;width:100%}.form-grid,.modal-grid{grid-template-columns:1fr}
}


/* =========================================================
   PIXEL-TUNED HOME — calibrated against 1536 × 864 mockup
   ========================================================= */
@media (min-width:1241px){
  .layout{grid-template-columns:206px minmax(0,1fr);max-width:1536px}
  .sidebar{width:206px;padding:7px;gap:6px}
  .brand{min-height:57px;padding:8px 11px;border-radius:22px}
  .brand-icon{width:37px;height:37px}
  .brand-text{font-size:24px}

  .profile{padding:9px 11px 10px;border-radius:23px}
  .profile-orb{width:105px;height:105px;margin-bottom:6px;padding:4px}
  .profile h3{font-size:14px}
  .subline{font-size:10px;margin-bottom:5px}
  .xp-meta{font-size:8px;margin-bottom:3px}
  .xp-bar{height:6px}
  .wallet-box{gap:6px;margin-top:8px}
  .wallet-pill{padding:6px 7px;border-radius:14px;grid-template-columns:30px 1fr auto;gap:6px}
  .wallet-icon{width:30px;height:30px;border-radius:10px;font-size:13px}
  .wallet-pill strong{font-size:13px}
  .wallet-pill small{font-size:8px}
  .pill-action{width:29px;height:29px;border-radius:11px}
  .tiny-button{padding:5px 8px;font-size:8px}

  .side-nav{gap:1px}
  .side-item{padding:7px 10px;border-radius:12px;font-size:11px;gap:8px;min-height:31px}
  .side-item i{width:16px}
  .side-section-title{font-size:8px;padding:2px 6px 0}
  .my-games{gap:1px}
  .game-row{padding:4px 7px;font-size:9px;gap:7px;min-height:27px}
  .game-badge{width:20px;height:20px;border-radius:6px;font-size:7px}
  .add-game{padding:7px 10px;border-radius:12px;font-size:9px}
  .side-bottom{padding-top:5px}
  .copyright{font-size:8px}

  .topbar{height:66px;padding:7px 7px 7px 44px;gap:0}
  .topnav{padding:7px;gap:3px;width:800px;flex:0 0 800px}
  .top-link{padding:10px 20px;font-size:11px}
  .header-actions{margin-left:105px;gap:8px}
  .circle{width:49px;height:49px;flex:0 0 49px}
  .login{min-width:136px;padding:12px 26px;font-size:12px}
  .signup{min-width:169px;padding:12px 28px;font-size:12px}

  .page-wrap{padding:4px 6px 20px 2px}
  .dashboard{grid-template-columns:minmax(0,1fr) 296px;gap:12px}
  .hero{height:315px;min-height:315px;padding:0;grid-template-columns:1fr;position:relative}
  .hero-copy{position:relative;z-index:4;padding:8px 0 0 106px;display:block;width:51%}
  .hero-title{font-size:65px;line-height:.82;letter-spacing:-2.8px;margin:0 0 9px}
  .hero-copy p{font-size:14px;line-height:1.28;max-width:340px;margin:0 0 14px;margin-left:-12px}
  .hero-button{font-size:14px;padding:13px 25px;border-radius:23px;margin-left:-6px}
  .hero-art{position:absolute;right:0;top:0;bottom:0;width:66%;display:block;overflow:hidden}
  .hero-art::before{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,#722fdb 0%,rgba(114,47,219,.82) 7%,rgba(114,47,219,.22) 24%,transparent 42%);pointer-events:none}
  .hero-art img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;filter:none}
  .hero-pills{left:37px;bottom:7px;gap:5px}
  .hero-pill{font-size:9px;padding:7px 9px}

  .panel{padding:9px 11px}
  .left-col>.panel{margin-top:7px}
  .section-head{margin-bottom:7px}
  .section-head h2{font-size:14px}
  .games-grid{gap:8px}
  .game-card{min-height:92px;border-radius:18px}
  .view-all{font-size:9px;padding:7px 10px}

  .t-header{margin-bottom:6px}
  .filter{font-size:8px;padding:5px 9px}
  .t-grid{gap:8px}
  .t-card{min-height:196px;padding:11px;border-radius:19px}
  .t-card h3{font-size:17px;margin-top:8px}
  .t-card small{font-size:9px}
  .t-icon{right:7px;top:36px;width:88px;height:82px;overflow:hidden;border-radius:12px}
  .t-icon img{width:100%;height:100%;object-fit:cover;max-width:none;max-height:none}
  .prize{font-size:9px;margin-top:8px}
  .prize strong{font-size:19px}
  .meta{font-size:8px;padding:8px 0 7px}
  .primary{padding:10px;font-size:10px;border-radius:15px}

  .benefits{gap:9px;margin-top:8px}
  .benefit{min-height:79px;padding:9px 10px;grid-template-columns:42px 1fr;border-radius:18px}
  .benefit-icon{font-size:30px}
  .benefit strong{font-size:11px}
  .benefit p{font-size:8px}

  .right-col{gap:10px}
  .rail-hero-space{height:232px;border-radius:0 0 22px 22px;background:url('assets/right-hero-art.png') center/cover no-repeat;box-shadow:inset 0 -18px 30px rgba(50,8,90,.10)}
  .side-panel{padding:11px;border-radius:22px}
  .right-col .side-panel:nth-of-type(2){min-height:246px}
  .right-col .side-panel:nth-of-type(3){min-height:224px}
  .side-top{margin-bottom:7px}
  .side-panel h3{font-size:11px}
  .tabs{margin-bottom:8px}
  .tab{font-size:8px;padding:5px 9px}
  .rank-list,.activity-list{gap:8px}
  .rank-item{font-size:8px;grid-template-columns:22px 28px 1fr auto}
  .rank-pos{width:22px;height:22px}
  .avatar{width:28px;height:28px}
  .activity-item{font-size:8px;grid-template-columns:31px 1fr auto}
  .activity-item .avatar{width:31px;height:31px}
  .activity-item small{font-size:7px}
}

@media (min-width:1241px){
  .brand-icon{padding:0;overflow:hidden;background:none}
  .brand-icon img{width:100%;height:100%;object-fit:cover;border-radius:50%}
  .profile{min-height:307px}
  .profile-orb{width:120px;height:120px;margin-top:-1px;margin-bottom:3px}
  .side-item{padding:5px 10px;min-height:27px}
  .side-section-title{margin-top:1px}

  .hero{
    background:
      linear-gradient(90deg,rgba(103,41,213,.74) 0%,rgba(103,41,213,.53) 28%,rgba(103,41,213,.10) 45%,transparent 52%),
      url('assets/hero-left-candy.png') left center/39% 100% no-repeat,
      linear-gradient(135deg,#6f2cdf 0%,#4f16a5 18%,#a03ede 54%,#7a40f3 100%);
  }
  .hero-copy{padding-left:114px}
  .hero-title{font-family:"Arial Rounded MT Bold","Trebuchet MS",Inter,system-ui,sans-serif;font-weight:950}
  .hero-title .white{
    background:linear-gradient(180deg,#ffffff 15%,#ffe8f8 85%);-webkit-background-clip:text;background-clip:text;color:transparent;
    -webkit-text-stroke:1px rgba(125,20,115,.18);text-shadow:0 4px 0 rgba(128,24,120,.46),0 8px 14px rgba(68,8,93,.20)
  }
  .hero-title .pink{
    background:linear-gradient(180deg,#91bbf9 8%,#5797f6 82%);-webkit-background-clip:text;background-clip:text;color:transparent;
    -webkit-text-stroke:1.2px #ffe4f5;text-shadow:0 4px 0 #2f68bd,0 8px 14px rgba(92,8,94,.24)
  }
  .hero-title .gold{
    background:linear-gradient(180deg,#ffe865 5%,#ffb327 80%);-webkit-background-clip:text;background-clip:text;color:transparent;
    -webkit-text-stroke:1.2px #ffec7d;text-shadow:0 4px 0 #e87523,0 8px 14px rgba(104,44,0,.22)
  }
  .hero-pills{bottom:1px}

  .left-col>.panel{margin-top:5px;padding-top:6px;padding-bottom:7px}
  .game-card{min-height:88px;height:88px}
  .section-head{margin-bottom:6px}
  .t-card{min-height:194px;height:194px}
  .t-icon{width:86px;height:78px;top:37px}
  .benefit-icon{width:45px;height:55px;overflow:hidden;border-radius:12px;display:flex;align-items:center;justify-content:center}
  .benefit-icon img{width:100%;height:100%;object-fit:cover}
}


/* FINAL CANDY MATERIAL PASS */
.glass-panel{
  border-color:rgba(132,179,249,.25);
  box-shadow:
    0 18px 44px rgba(11,0,35,.32),
    0 0 0 1px rgba(91,153,246,.10),
    0 0 22px rgba(76,144,246,.08),
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -10px 20px rgba(40,10,85,.23);
}
.topnav{
  border-color:rgba(165,199,250,.46);
  box-shadow:0 10px 28px rgba(69,139,245,.14),inset 0 2px 0 rgba(255,255,255,.46),inset 0 -8px 18px rgba(148,188,249,.14)
}
.panel,.side-panel,.benefit{
  background:
    radial-gradient(circle at 16% 8%,rgba(255,255,255,.20),transparent 21%),
    radial-gradient(circle at 92% 15%,rgba(128,176,248,.10),transparent 28%),
    linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.045)),
    linear-gradient(145deg,#6a31b6,#3b167c 72%);
}
.t-card::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:
    radial-gradient(circle at 14% 18%,rgba(255,255,255,.25) 0 1px,transparent 1.6px),
    radial-gradient(circle at 78% 26%,rgba(255,255,255,.16) 0 1px,transparent 1.5px),
    radial-gradient(circle at 44% 72%,rgba(255,255,255,.12) 0 1px,transparent 1.5px);
  background-size:48px 48px,63px 63px,81px 81px;
  opacity:.58
}
.t-card>*{position:relative;z-index:1}.t-icon{position:absolute!important;z-index:1!important}
.t-card{box-shadow:0 15px 28px rgba(0,0,0,.18),0 0 0 1px rgba(255,255,255,.08),0 0 18px rgba(82,148,246,.10)}
.t-card.pink{background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.12),transparent 28%),linear-gradient(145deg,#5193f6,#1c5dbe 72%)}
.t-card.purple{background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.12),transparent 28%),linear-gradient(145deg,#8f43ff,#5420c9 72%)}
.t-card.blue{background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.12),transparent 28%),linear-gradient(145deg,#28baff,#126fe0 72%)}
.t-card.teal{background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.12),transparent 28%),linear-gradient(145deg,#28e1c7,#0a9eaa 72%)}
.game-card{box-shadow:0 12px 24px rgba(0,0,0,.16),0 0 0 1px rgba(96,156,247,.17),0 0 17px rgba(75,143,246,.10)}
.primary,.hero-button,.signup,.side-item.active,.top-link.active,.add-game{
  box-shadow:inset 0 4px 10px rgba(255,255,255,.20),inset 0 -7px 14px rgba(13,63,139,.16),0 10px 22px rgba(57,132,245,.22)
}
@media (min-width:1241px){
  .hero-art::before{
    background:linear-gradient(90deg,#7631dc 0%,rgba(118,49,220,.98) 8%,rgba(118,49,220,.78) 18%,rgba(118,49,220,.38) 32%,rgba(118,49,220,.10) 43%,transparent 52%)
  }
  .hero-title{font-size:67px;font-weight:1000}
  .hero-title .white{-webkit-text-stroke:1.7px rgba(119,24,112,.32)}
  .hero-title .pink{-webkit-text-stroke:1.8px #ffe8f7}
  .hero-title .gold{-webkit-text-stroke:1.7px #ffec7a}
}


/* ============================================================
   CASHCOMP V3 — pixel-tuned against approved 1536×864 reference
   Rebuild: hero is one continuous candy world; lower rail floats
   ============================================================ */
@media (min-width:1241px){
  .layout{
    grid-template-columns:206px minmax(0,1fr);
    max-width:1536px;
  }
  .sidebar{
    width:206px;
    padding:7px;
    gap:6px;
    background:
      radial-gradient(circle at 45% 0%,rgba(126,49,211,.22),transparent 24%),
      linear-gradient(180deg,rgba(45,10,101,.985),rgba(21,5,51,.995));
    border-right:1px solid rgba(126,175,248,.16);
  }
  .page-wrap{padding:2px 0 18px}

  /* glossy candy material */
  .glass-panel{
    border-color:rgba(255,154,230,.36);
    box-shadow:
      0 0 0 1px rgba(255,255,255,.045),
      0 0 14px rgba(71,141,245,.17),
      0 16px 34px rgba(15,0,45,.27),
      inset 0 1px 0 rgba(255,255,255,.19),
      inset 0 8px 15px rgba(255,255,255,.055),
      inset 0 -11px 21px rgba(42,7,88,.22);
  }
  .brand,.profile,.panel,.benefit,.side-panel{
    background:
      radial-gradient(circle at 18% 9%,rgba(255,255,255,.23),transparent 25%),
      linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.038)),
      linear-gradient(145deg,#5e22aa 0%,#351071 70%,#260650 100%);
  }

  /* sidebar geometry */
  .brand{
    min-height:57px;padding:8px 11px;border-radius:22px;
    box-shadow:0 0 0 1px rgba(148,188,249,.24),0 0 16px rgba(62,135,245,.20),inset 0 1px 0 rgba(255,255,255,.18)
  }
  .brand-icon{width:37px;height:37px}
  .brand-text{font-size:24px}
  .profile{
    min-height:307px;padding:9px 11px 10px;border-radius:23px;
    box-shadow:0 0 0 1px rgba(138,182,249,.20),0 0 14px rgba(63,136,245,.14),inset 0 1px 0 rgba(255,255,255,.16)
  }
  .profile-orb{width:120px;height:120px;margin:-1px auto 3px;padding:4px}
  .profile h3{font-size:14px}.subline{font-size:10px;margin-bottom:5px}
  .xp-meta{font-size:8px;margin-bottom:3px}.xp-bar{height:6px}
  .wallet-box{gap:6px;margin-top:8px}
  .wallet-pill{padding:6px 7px;border-radius:14px;grid-template-columns:30px 1fr auto;gap:6px}
  .wallet-icon{width:30px;height:30px;border-radius:10px;font-size:13px}
  .wallet-pill strong{font-size:13px}.wallet-pill small{font-size:8px}
  .pill-action{width:29px;height:29px;border-radius:11px}.tiny-button{padding:5px 8px;font-size:8px}
  .side-nav{gap:1px}
  .side-item{padding:5px 10px;min-height:27px;border-radius:12px;font-size:11px;gap:8px}
  .side-item i{width:16px}.side-section-title{font-size:8px;padding:2px 6px 0;margin-top:1px}
  .my-games{gap:1px}.game-row{padding:4px 7px;font-size:9px;gap:7px;min-height:27px}
  .game-badge{width:20px;height:20px;border-radius:6px;font-size:7px}
  .add-game{padding:7px 10px;border-radius:12px;font-size:9px}
  .side-bottom{padding-top:5px}.copyright{font-size:8px}
  .side-item.active{
    border:1px solid rgba(194,217,252,.38);
    box-shadow:0 0 12px rgba(53,129,244,.27),inset 0 3px 8px rgba(255,255,255,.18)
  }
  .add-game{box-shadow:0 0 11px rgba(59,133,245,.22),inset 0 3px 8px rgba(255,255,255,.18)}

  /* header: thick milky candy tube */
  .topbar{height:66px;padding:7px 7px 7px 44px;gap:0}
  .topnav{
    width:800px;flex:0 0 800px;padding:7px;gap:3px;
    border:2px solid rgba(190,215,252,.72);
    background:
      radial-gradient(circle at 12% 6%,rgba(255,255,255,.80),transparent 22%),
      linear-gradient(180deg,#fff9fd 0%,#fde7fa 55%,#f6cae8 100%);
    box-shadow:
      0 0 0 2px rgba(84,149,246,.20),
      0 0 18px rgba(73,142,245,.24),
      0 11px 24px rgba(37,4,71,.18),
      inset 0 4px 8px rgba(255,255,255,.75),
      inset 0 -7px 12px rgba(235,154,215,.31);
  }
  .top-link{padding:10px 20px;font-size:11px;color:#490b70;font-weight:900}
  .top-link.active{
    border:1px solid rgba(255,206,240,.45);
    box-shadow:0 0 12px rgba(55,131,244,.25),inset 0 3px 8px rgba(255,255,255,.21)
  }
  .header-actions{margin-left:105px;gap:8px}
  .circle{width:49px;height:49px;flex:0 0 49px}
  .login{min-width:136px;padding:12px 26px;font-size:12px}
  .signup{min-width:169px;padding:12px 28px;font-size:12px}
  .circle,.login,.signup{
    box-shadow:0 0 0 1px rgba(255,255,255,.14),0 0 13px rgba(76,144,246,.16),inset 0 3px 7px rgba(255,255,255,.30)
  }

  /* one continuous hero across the whole 1330px main canvas */
  .home-canvas{position:relative;min-width:0}
  .home-canvas>.hero{
    width:100%;height:320px;min-height:320px;margin:0;padding:0;display:block;position:relative;overflow:hidden;
    border-radius:27px;
    background:
      linear-gradient(90deg,rgba(84,27,169,.73) 0%,rgba(84,27,169,.59) 27%,rgba(84,27,169,.17) 45%,transparent 54%),
      url('assets/hero-left-candy.png') left center/31% 100% no-repeat,
      linear-gradient(135deg,#702ddb 0%,#4d15a1 20%,#9c3cdc 56%,#793ef1 100%);
    border:1px solid rgba(255,164,233,.35);
    box-shadow:0 0 15px rgba(68,139,245,.18),0 18px 38px rgba(12,0,37,.26),inset 0 1px 0 rgba(255,255,255,.13)
  }
  .home-canvas>.hero::after{
    content:"";position:absolute;z-index:0;right:0;top:0;width:24%;height:75%;
    background:url('assets/right-hero-art.png') center/cover no-repeat;
    border-radius:0 27px 0 0;
    box-shadow:inset 27px 0 30px rgba(105,41,196,.16),inset 0 -20px 28px rgba(88,28,160,.08);
    pointer-events:none
  }
  .home-canvas>.hero::before{
    content:"";position:absolute;z-index:1;left:0;right:0;bottom:-4px;height:84px;pointer-events:none;
    background:
      radial-gradient(ellipse at 6% 100%,rgba(158,195,250,.56) 0 31%,transparent 32%),
      radial-gradient(ellipse at 17% 100%,rgba(122,172,248,.48) 0 28%,transparent 29%),
      radial-gradient(ellipse at 31% 100%,rgba(156,194,250,.48) 0 28%,transparent 29%),
      radial-gradient(ellipse at 46% 100%,rgba(124,174,248,.38) 0 27%,transparent 28%),
      linear-gradient(180deg,transparent,rgba(104,35,176,.15));
    opacity:.43
  }
  .home-canvas>.hero .hero-copy{
    position:relative;z-index:5;width:430px;padding:10px 0 0 106px;display:block
  }
  .home-canvas>.hero .hero-title{
    font-family:"Arial Rounded MT Bold","Comic Sans MS","Trebuchet MS",system-ui,sans-serif;
    font-size:64px;line-height:.82;letter-spacing:-2.8px;margin:0 0 9px;font-weight:950
  }
  .home-canvas>.hero .hero-title .white{
    background:linear-gradient(180deg,#fff 4%,#fff6fb 55%,#ffdef1 100%);
    -webkit-background-clip:text;background-clip:text;color:transparent;
    -webkit-text-stroke:1.45px rgba(121,17,117,.30);
    text-shadow:0 3px 0 rgba(125,22,115,.57),0 7px 13px rgba(71,7,90,.23)
  }
  .home-canvas>.hero .hero-title .pink{
    background:linear-gradient(180deg,#a1c5fa 0%,#639ef7 47%,#438af5 100%);
    -webkit-background-clip:text;background-clip:text;color:transparent;
    -webkit-text-stroke:1.5px #ffe7f6;
    text-shadow:0 4px 0 #306bc4,0 8px 13px rgba(84,6,85,.24)
  }
  .home-canvas>.hero .hero-title .gold{
    background:linear-gradient(180deg,#fff06c 0%,#ffcb35 49%,#ffa721 100%);
    -webkit-background-clip:text;background-clip:text;color:transparent;
    -webkit-text-stroke:1.45px #fff0a1;
    text-shadow:0 4px 0 #e27722,0 8px 13px rgba(98,39,0,.23)
  }
  .home-canvas>.hero .hero-copy p{
    max-width:320px;font-size:14px;line-height:1.25;margin:0 0 13px -12px;text-align:center
  }
  .home-canvas>.hero .hero-button{
    width:275px;height:52px;padding:0 24px;margin-left:-5px;border-radius:999px;font-size:14px;
    box-shadow:0 0 14px rgba(64,136,245,.30),inset 0 4px 10px rgba(255,255,255,.22),inset 0 -7px 12px rgba(19,79,169,.20)
  }
  .home-canvas>.hero .hero-art{
    position:absolute;z-index:2;top:0;bottom:0;right:19%;width:58%;display:block;overflow:hidden
  }
  .home-canvas>.hero .hero-art::before{
    content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
    background:linear-gradient(90deg,#752fd8 0%,rgba(117,47,216,.80) 6%,rgba(117,47,216,.15) 24%,transparent 42%)
  }
  .home-canvas>.hero .hero-art img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;filter:none}
  .home-canvas>.hero .hero-pills{left:39px;right:auto;bottom:5px;gap:5px;z-index:6}
  .home-canvas>.hero .hero-pill{font-size:9px;padding:7px 9px;border:1px solid rgba(255,255,255,.13);background:rgba(71,29,135,.82)}

  /* lower structure: exact 1011px left / 311px right rail */
  .home-lower{display:grid;grid-template-columns:minmax(0,1fr) 311px;gap:8px;align-items:start;margin:0}
  .home-lower-left{min-width:0}
  .home-lower-right{position:relative;z-index:8;display:grid;gap:10px;margin-top:-80px;align-content:start}

  /* left lower panels have the same internal padding as the reference */
  .home-lower-left>.panel{
    margin-top:0;border-radius:23px;padding:8px 28px 9px;
    border:1px solid rgba(255,125,224,.36);
    box-shadow:0 0 12px rgba(59,133,245,.15),inset 0 1px 0 rgba(255,255,255,.12),inset 0 7px 12px rgba(255,255,255,.04)
  }
  .home-lower-left>.panel+.panel{margin-top:5px}
  .home-lower-left .section-head{margin-bottom:7px}
  .home-lower-left .section-head h2{font-size:15px}
  .home-lower-left .view-all{font-size:9px;padding:7px 12px}

  .home-lower-left .games-grid{gap:9px}
  .home-lower-left .game-card{
    height:100px;min-height:100px;border-radius:19px;border:2px solid rgba(151,191,250,.50);
    box-shadow:0 0 12px rgba(67,138,245,.20),inset 0 0 0 1px rgba(255,255,255,.08)
  }

  .home-lower-left .t-header{margin-bottom:7px}
  .home-lower-left .filter{font-size:8px;padding:5px 10px}
  .home-lower-left .t-grid{gap:9px}
  .home-lower-left .t-card{
    height:199px;min-height:199px;padding:11px 12px;border-radius:19px;border:2px solid rgba(157,194,250,.47);
    box-shadow:0 0 13px rgba(58,133,245,.16),inset 0 1px 0 rgba(255,255,255,.13)
  }
  .home-lower-left .t-card h3{font-size:17px;margin-top:8px}
  .home-lower-left .t-card small{font-size:9px}
  .home-lower-left .t-icon{right:8px;top:35px;width:91px;height:91px;border-radius:18px;overflow:hidden;background:transparent}
  .home-lower-left .t-icon img{width:100%;height:100%;object-fit:cover;max-width:none;max-height:none}
  .home-lower-left .prize{font-size:9px;margin-top:8px}
  .home-lower-left .prize strong{font-size:20px}
  .home-lower-left .meta{font-size:8px;padding:8px 0 7px}
  .home-lower-left .primary{
    padding:10px 12px;border-radius:15px;font-size:10px;
    box-shadow:0 0 11px rgba(70,140,245,.22),inset 0 3px 8px rgba(255,255,255,.18)
  }

  .home-lower-left .benefits{gap:9px;margin-top:7px}
  .home-lower-left .benefit{
    height:82px;min-height:82px;padding:9px 12px;border-radius:20px;border:1px solid rgba(255,122,222,.38);
    box-shadow:0 0 12px rgba(60,134,245,.15),inset 0 1px 0 rgba(255,255,255,.12)
  }
  .home-lower-left .benefit-icon{font-size:31px}
  .home-lower-left .benefit strong{font-size:11px}
  .home-lower-left .benefit p{font-size:8px}

  /* right floating rail */
  .home-lower-right>.side-panel{
    border-radius:23px;padding:12px;border:1px solid rgba(255,135,226,.40);
    box-shadow:0 0 14px rgba(65,137,245,.17),inset 0 1px 0 rgba(255,255,255,.13)
  }
  .home-lower-right>.side-panel:first-child{height:249px;min-height:249px}
  .home-lower-right>.side-panel:nth-child(2){height:241px;min-height:241px}
  .home-lower-right .rank-list,.home-lower-right .activity-list{gap:8px}
  .home-lower-right .rank-item{font-size:8px;grid-template-columns:23px 30px 1fr auto}
  .home-lower-right .rank-pos{width:23px;height:23px}
  .home-lower-right .avatar{width:30px;height:30px}
  .home-lower-right .activity-item{font-size:8px;grid-template-columns:32px 1fr auto}
  .home-lower-right .activity-item .avatar{width:32px;height:32px}
  .home-lower-right .activity-item small{font-size:7px}
  .rail-clouds{
    height:69px;margin-top:-1px;border-radius:24px 24px 0 0;overflow:hidden;
    background:
      radial-gradient(circle at 8% 78%,#9cc2fa 0 21%,transparent 22%),
      radial-gradient(circle at 20% 90%,#79acf8 0 24%,transparent 25%),
      radial-gradient(circle at 34% 82%,#a9c9fa 0 21%,transparent 22%),
      radial-gradient(circle at 49% 95%,#80b0f8 0 25%,transparent 26%),
      radial-gradient(circle at 64% 80%,#9fc3fa 0 23%,transparent 24%),
      radial-gradient(circle at 80% 93%,#7faff8 0 26%,transparent 27%),
      radial-gradient(circle at 96% 76%,#a9cafb 0 24%,transparent 25%),
      linear-gradient(180deg,rgba(126,175,248,.55),rgba(79,146,246,.22));
    filter:drop-shadow(0 -3px 10px rgba(102,160,247,.18));
    opacity:.92
  }
}

/* maintain responsive behavior after desktop home restructuring */
@media(max-width:1240px){
  .home-lower{display:grid;grid-template-columns:1fr;gap:12px}
  .home-lower-right{margin-top:0;grid-template-columns:1fr 1fr}
  .rail-clouds{display:none}
}
@media(max-width:900px){
  .home-lower-right{grid-template-columns:1fr}
}


/* ============================================================
   V4 — detail pass after direct comparison with approved image
   ============================================================ */
html{
  scrollbar-width:none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar{
  width:0;height:0;display:none;
}

@media (min-width:1241px){
  /* Slightly brighter hero-left candy world, closer to the source image */
  .home-canvas>.hero{
    background:
      linear-gradient(90deg,rgba(84,27,169,.55) 0%,rgba(84,27,169,.43) 27%,rgba(84,27,169,.11) 45%,transparent 54%),
      url('assets/hero-left-candy.png') left center/31% 100% no-repeat,
      linear-gradient(135deg,#7430de 0%,#5317a7 20%,#a040df 56%,#7c40f4 100%);
  }

  /* Blend the far-right candy world into the chest image instead of a hard seam */
  .home-canvas>.hero::after{
    width:28%;
    height:100%;
    background-position:center;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.45) 12%,#000 24%,#000 100%);
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.45) 12%,#000 24%,#000 100%);
  }

  /* Hero text spacing matches the approved screenshot more closely */
  .home-canvas>.hero .hero-copy p{
    margin-left:-27px;
    max-width:335px;
  }
  .home-canvas>.hero .hero-pills{
    left:49px;
  }

  /* Games panel: exact compressed vertical geometry */
  .home-lower-left>.panel:first-child{
    height:139px;
    padding:5px 28px 6px;
    overflow:hidden;
  }
  .home-lower-left>.panel:first-child .section-head{
    margin-bottom:5px;
  }
  .home-lower-left>.panel:first-child .game-card{
    height:98px;
    min-height:98px;
  }

  /* Reduce the inter-panel gap; target begins tournament panel almost immediately */
  .home-lower-left>.panel + .panel{
    margin-top:2px;
  }

  /* Tournament panel height and header/card start */
  .home-lower-left>.panel:nth-child(2){
    height:244px;
    padding-top:5px;
    padding-bottom:6px;
    overflow:hidden;
  }
  .home-lower-left>.panel:nth-child(2) .t-header{
    margin-bottom:4px;
  }
  .home-lower-left>.panel:nth-child(2) .t-card{
    height:199px;
    min-height:199px;
  }

  /* Benefits start where they do on the target image */
  .home-lower-left .benefits{
    margin-top:5px;
  }

  /* Right rail: clouds begin directly after Gains récents */
  .rail-clouds{
    margin-top:-10px;
  }

  /* Slightly larger side rail labels, while keeping the compact reference density */
  .home-lower-right .side-panel h3{
    font-size:12px;
  }
  .home-lower-right .rank-item{
    font-size:8.5px;
  }
  .home-lower-right .activity-item{
    font-size:8.5px;
  }

  /* More reference-like neon edge on lower panels/cards */
  .home-lower-left>.panel,
  .home-lower-right>.side-panel{
    box-shadow:
      0 0 0 1px rgba(255,255,255,.035),
      0 0 14px rgba(63,136,245,.18),
      inset 0 1px 0 rgba(255,255,255,.14),
      inset 0 8px 14px rgba(255,255,255,.045),
      inset 0 -8px 16px rgba(39,7,79,.18);
  }
  .home-lower-left .game-card{
    box-shadow:
      0 0 0 1px rgba(255,255,255,.06),
      0 0 13px rgba(62,135,245,.25),
      inset 0 1px 0 rgba(255,255,255,.13);
  }
  .home-lower-left .t-card{
    box-shadow:
      0 0 0 1px rgba(255,255,255,.05),
      0 0 14px rgba(56,131,244,.22),
      inset 0 1px 0 rgba(255,255,255,.14);
  }

  /* Round crop for the circular crown / lollipop illustrations */
  .home-lower-left .t-card.blue .t-icon,
  .home-lower-left .t-card.teal .t-icon{
    border-radius:50%;
  }
  .home-lower-left .t-card.blue .t-icon img,
  .home-lower-left .t-card.teal .t-icon img{
    border-radius:50%;
  }
}


/* ============================================================
   V5 — micro-details: sidebar panels, portraits, hero proportions
   ============================================================ */
.image-avatar{
  overflow:hidden;
  padding:0!important;
}
.image-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
}

.sidebar-games-panel,
.sidebar-footer-panel{
  border-radius:20px;
  padding:7px 7px 8px;
}
.sidebar-games-panel .side-section-title{
  padding:0 4px 4px;
}
.sidebar-games-panel .add-game{
  width:100%;
  margin-top:4px;
}
.sidebar-footer-panel{
  padding:5px 6px 7px;
}
.sidebar-footer-panel .side-bottom{
  border-top:0;
  padding-top:0;
}
.sidebar-footer-panel .copyright{
  padding:5px 6px 0;
  text-align:center;
}

.game-badge{
  overflow:hidden;
  padding:0!important;
  background:#3b176c!important;
}
.game-badge img{
  width:100%;
  height:100%;
  object-fit:cover;
}

@media (min-width:1241px){
  /* Exact candy-panel treatment in left sidebar */
  .sidebar-games-panel,
  .sidebar-footer-panel{
    border-color:rgba(255,138,226,.28);
    background:
      radial-gradient(circle at 18% 10%,rgba(255,255,255,.17),transparent 25%),
      linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.025)),
      linear-gradient(145deg,#512092,#2c0d60 75%);
    box-shadow:
      0 0 0 1px rgba(255,255,255,.03),
      0 0 11px rgba(65,137,245,.12),
      inset 0 1px 0 rgba(255,255,255,.12);
  }
  .sidebar-games-panel{
    padding:5px 7px 6px;
  }
  .sidebar-footer-panel{
    padding:4px 6px 5px;
  }

  /* Reference hero chest is slightly smaller than V4 and sits a little farther right */
  .home-canvas>.hero .hero-art{
    right:21%;
    width:51%;
    top:2px;
    bottom:2px;
  }
  .home-canvas>.hero .hero-art img{
    object-fit:cover;
    object-position:center;
  }

  /* The far-right candy scene overlaps the chest scene softly */
  .home-canvas>.hero::after{
    width:31%;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.20) 7%,rgba(0,0,0,.82) 21%,#000 32%,#000 100%);
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.20) 7%,rgba(0,0,0,.82) 21%,#000 32%,#000 100%);
  }

  /* Target rail is brighter and more pink-violet than the previous build */
  .home-lower-right>.side-panel{
    background:
      radial-gradient(circle at 18% 10%,rgba(255,255,255,.20),transparent 23%),
      linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.025)),
      linear-gradient(160deg,#7834b4 0%,#5b2197 48%,#43177e 100%);
    border-color:rgba(255,145,229,.52);
    box-shadow:
      0 0 0 1px rgba(255,255,255,.04),
      0 0 15px rgba(70,140,245,.21),
      inset 0 1px 0 rgba(255,255,255,.17),
      inset 0 8px 14px rgba(255,255,255,.045);
  }
  .home-lower-right .side-panel h3{font-size:12.5px}
  .home-lower-right .tab{font-size:8.5px}
  .home-lower-right .rank-item{font-size:9px}
  .home-lower-right .activity-item{font-size:9px}
  .home-lower-right .activity-item small{font-size:7.5px}

  /* Lower cards in the mockup have a hotter pink rim */
  .home-lower-left>.panel{
    border-color:rgba(143,185,249,.48);
  }
  .home-lower-left .game-card{
    border-color:rgba(156,194,250,.66);
  }
  .home-lower-left .t-card{
    border-color:rgba(150,190,250,.58);
  }

  /* Top navigation text is a touch larger / heavier in the reference */
  .top-link{
    font-size:11.5px;
  }
}


/* ============================================================
   V6 — final visual refinement
   ============================================================ */
.hero-button{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:15px;
}
.hero-button span{
  flex:1;
  text-align:center;
  padding-left:18px;
}
.hero-button i{
  width:38px;
  height:38px;
  flex:0 0 38px;
  margin-right:-17px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-style:normal;
  font-size:18px;
  background:
    radial-gradient(circle at 30% 22%,rgba(255,255,255,.45),transparent 25%),
    linear-gradient(180deg,#98bffa,#5c9af6);
  box-shadow:
    inset 0 3px 8px rgba(255,255,255,.28),
    inset 0 -5px 8px rgba(30,88,176,.18),
    0 4px 10px rgba(19,57,113,.22);
}

@media (min-width:1241px){
  /* Make the hero art overlap and feather at both edges.
     This removes the last visible vertical seam while keeping the chest smaller. */
  .home-canvas>.hero .hero-art{
    width:59%;
    right:14%;
    top:0;
    bottom:0;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.58) 7%,#000 15%,#000 86%,rgba(0,0,0,.70) 93%,transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.58) 7%,#000 15%,#000 86%,rgba(0,0,0,.70) 93%,transparent 100%);
  }
  .home-canvas>.hero .hero-art img{
    transform:scale(.89);
    transform-origin:54% 51%;
  }
  .home-canvas>.hero::after{
    width:31%;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.32) 13%,rgba(0,0,0,.82) 28%,#000 40%,#000 100%);
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.32) 13%,rgba(0,0,0,.82) 28%,#000 40%,#000 100%);
  }

  .home-canvas>.hero .hero-button{
    padding-left:0;
    padding-right:22px;
  }

  /* Reference portrait rings have a fine white highlight. */
  .image-avatar{
    border:1.5px solid rgba(255,255,255,.44)!important;
    box-shadow:0 2px 7px rgba(26,0,52,.18),inset 0 1px 0 rgba(255,255,255,.15);
  }
}


/* ============================================================
   V7 — final coordinate pass
   ============================================================ */
@media (min-width:1241px){
  /* Sidebar vertical coordinates matched to the approved 864px canvas. */
  .profile{
    min-height:311px;
  }
  .profile-orb{
    margin-top:-3px;
  }
  .sidebar-games-panel{
    margin-top:9px;
    height:199px;
    min-height:199px;
    overflow:hidden;
  }

  /* Much wider feathering on the left edge of the decorative hero image.
     Rainbow and clouds now merge into the hand-built purple scene instead
     of producing a visible vertical edge. */
  .home-canvas>.hero .hero-art{
    -webkit-mask-image:linear-gradient(
      90deg,
      transparent 0%,
      rgba(0,0,0,.10) 8%,
      rgba(0,0,0,.28) 15%,
      rgba(0,0,0,.56) 22%,
      rgba(0,0,0,.82) 28%,
      #000 34%,
      #000 86%,
      rgba(0,0,0,.70) 93%,
      transparent 100%
    );
    mask-image:linear-gradient(
      90deg,
      transparent 0%,
      rgba(0,0,0,.10) 8%,
      rgba(0,0,0,.28) 15%,
      rgba(0,0,0,.56) 22%,
      rgba(0,0,0,.82) 28%,
      #000 34%,
      #000 86%,
      rgba(0,0,0,.70) 93%,
      transparent 100%
    );
  }
}


/* ============================================================
   V8 — GEOMETRIC RECALIBRATION
   Compared against:
   - approved reference: 1536×864
   - actual browser capture: 1599×728
   Main finding: the 1536px layout was centered while the fixed
   sidebar remained anchored at x=0, shifting all main content
   ~31.5px to the right on a 1599px viewport.
   ============================================================ */

@media (min-width:1241px){

  /* ----------------------------------------------------------
     1. GLOBAL DESKTOP COORDINATE SYSTEM
     Target canvas is anchored at x=0, not centered.
     Sidebar = 206px, main canvas = 1330px.
     ---------------------------------------------------------- */
  .layout{
    width:1536px;
    max-width:1536px;
    min-width:1536px;
    margin-left:0;
    margin-right:auto;
    grid-template-columns:206px 1330px;
  }

  .main{
    width:1330px;
    min-width:1330px;
    max-width:1330px;
  }

  .page-wrap{
    width:1330px;
    max-width:1330px;
    padding-left:0;
    padding-right:0;
  }

  /* ----------------------------------------------------------
     2. SIDEBAR — match the reference geometry
     The approved design has one continuous dark sidebar.
     The profile is NOT a giant separate floating card.
     ---------------------------------------------------------- */
  .sidebar{
    width:206px;
    left:0;
    padding:7px 7px 6px;
    gap:6px;
    border-right:1px solid rgba(114,168,248,.23);
    background:
      radial-gradient(circle at 55% 0%,rgba(116,42,204,.20),transparent 23%),
      linear-gradient(180deg,#32106f 0%,#21064e 46%,#18043b 100%);
    box-shadow:
      inset 1px 0 0 rgba(128,176,248,.20),
      inset -1px 0 0 rgba(110,165,247,.20),
      10px 0 28px rgba(20,0,48,.16);
  }

  /* neon continuous sidebar frame below the logo */
  .sidebar::before{
    content:"";
    position:absolute;
    left:5px;
    right:5px;
    top:62px;
    bottom:5px;
    border-radius:22px;
    border:1px solid rgba(141,184,249,.34);
    box-shadow:
      0 0 10px rgba(64,136,245,.15),
      inset 0 0 18px rgba(139,55,207,.08);
    pointer-events:none;
  }

  /* Reference logo bubble deliberately overlaps the sidebar width */
  .brand{
    width:228px;
    min-width:228px;
    max-width:228px;
    min-height:57px;
    z-index:3;
    padding:8px 12px;
    border-radius:24px;
    overflow:visible;
  }
  .brand-icon{width:39px;height:39px;flex:0 0 39px}
  .brand-text{font-size:25px;letter-spacing:-1.2px}

  /* Remove the oversized profile-card bubble from the current build */
  .profile{
    min-height:311px;
    height:311px;
    padding:4px 11px 8px;
    background:transparent!important;
    border-color:transparent!important;
    box-shadow:none!important;
    border-radius:0!important;
  }
  .profile::after{display:none!important}

  .profile-orb{
    width:120px;
    height:120px;
    margin:1px auto 4px;
  }
  .profile h3,
  .profile .subline{
    text-align:left;
    margin-left:12px;
  }
  .profile h3{font-size:14px}
  .profile .subline{font-size:10px;margin-bottom:5px}

  .profile .xp-meta,
  .profile .xp-bar{
    margin-left:12px;
    margin-right:2px;
  }
  .profile .xp-meta{font-size:8px}
  .profile .xp-bar{height:6px}

  .wallet-box{
    width:176px;
    margin-left:auto;
    margin-right:auto;
    margin-top:9px;
  }
  .wallet-pill{
    width:176px;
    padding:7px 8px;
    grid-template-columns:31px 1fr auto;
    gap:7px;
    border-radius:15px;
  }

  /* navigation pill + text/icon coordinates */
  .sidebar > .side-nav:not(.side-bottom){
    margin-top:0;
  }
  .side-item{
    width:calc(100% - 14px);
    margin-left:7px;
    margin-right:7px;
    padding-left:9px;
    padding-right:8px;
    gap:12px;
    min-height:28px;
  }
  .side-item i{
    width:20px;
    flex:0 0 20px;
    font-size:14px;
  }

  /* My games and footer bubbles line up inside the continuous sidebar */
  .sidebar-games-panel,
  .sidebar-footer-panel{
    width:180px;
    margin-left:7px;
    margin-right:7px;
  }
  .sidebar-games-panel{
    height:199px;
    min-height:199px;
  }
  .sidebar-games-panel .side-section-title{
    padding-left:7px;
  }
  .game-row{
    padding-left:8px;
    gap:10px;
  }
  .game-badge{
    width:23px;
    height:23px;
    flex:0 0 23px;
  }

  /* ----------------------------------------------------------
     3. TOP HEADER
     Once the main canvas is anchored at x=206, the existing
     44px header inset naturally lands at x≈250, matching target.
     ---------------------------------------------------------- */
  .topbar{
    width:1330px;
    max-width:1330px;
  }

  /* ----------------------------------------------------------
     4. HERO
     Vertical geometry was already close. Only the title itself
     needed a small local correction; CTA/paragraph were aligned.
     ---------------------------------------------------------- */
  .home-canvas{
    width:1330px;
    max-width:1330px;
  }
  .home-canvas > .hero{
    width:1330px;
    max-width:1330px;
  }

  .home-canvas > .hero .hero-title{
    transform:translateX(11px);
  }

  /* soften the visible decorative joins without moving the HTML */
  .home-canvas > .hero .hero-art{
    -webkit-mask-image:linear-gradient(
      90deg,
      transparent 0%,
      rgba(0,0,0,.18) 8%,
      rgba(0,0,0,.48) 17%,
      rgba(0,0,0,.82) 27%,
      #000 35%,
      #000 87%,
      rgba(0,0,0,.72) 94%,
      transparent 100%
    );
    mask-image:linear-gradient(
      90deg,
      transparent 0%,
      rgba(0,0,0,.18) 8%,
      rgba(0,0,0,.48) 17%,
      rgba(0,0,0,.82) 27%,
      #000 35%,
      #000 87%,
      rgba(0,0,0,.72) 94%,
      transparent 100%
    );
  }

  .home-canvas > .hero::after{
    width:35%;
    -webkit-mask-image:linear-gradient(
      90deg,
      transparent 0%,
      rgba(0,0,0,.12) 10%,
      rgba(0,0,0,.58) 25%,
      #000 40%,
      #000 100%
    );
    mask-image:linear-gradient(
      90deg,
      transparent 0%,
      rgba(0,0,0,.12) 10%,
      rgba(0,0,0,.58) 25%,
      #000 40%,
      #000 100%
    );
  }

  /* ----------------------------------------------------------
     5. LOWER HOME GRID
     Reference coordinates:
       main x = 206
       lower left visual panel x ≈ 224
       right rail x ≈ 1230
       right rail right edge ≈ 1530
     ---------------------------------------------------------- */
  .home-lower{
    width:1330px;
    max-width:1330px;
    grid-template-columns:minmax(0,1fr) 300px;
    column-gap:13px;
    padding-right:6px;
  }

  /*
     Keep the content/cards where they already aligned,
     while moving only the OUTER candy bubble +18px.
     Old horizontal padding = 28/28.
     New panel is 18px narrower; 15/23 preserves inner width.
  */
  .home-lower-left > .panel{
    margin-left:18px!important;
    width:calc(100% - 18px)!important;
    padding-left:15px!important;
    padding-right:23px!important;
  }

  .home-lower-left > .panel:first-child{
    padding-left:15px!important;
    padding-right:23px!important;
  }

  .home-lower-left > .panel:nth-child(2){
    padding-left:15px!important;
    padding-right:23px!important;
  }

  .home-lower-left .benefits{
    margin-left:18px;
    width:calc(100% - 18px);
  }

  /* rail now lands at x≈1230 and ends at x≈1530 */
  .home-lower-right{
    width:300px;
    max-width:300px;
  }

  /* ----------------------------------------------------------
     6. CARD / BUBBLE INTERNAL ALIGNMENT
     Maintain the original inner widths after moving panel shells.
     ---------------------------------------------------------- */
  .home-lower-left .games-grid{
    gap:9px;
  }

  .home-lower-left .t-grid{
    gap:9px;
  }

  /* slightly more reference-like radii */
  .home-lower-left .game-card{border-radius:18px}
  .home-lower-left .t-card{border-radius:18px}
  .home-lower-right > .side-panel{border-radius:22px}

  /* ----------------------------------------------------------
     7. IMPORTANT: do not center desktop composition on screens
     wider than the reference. Extra width stays to the right.
     This prevents the sidebar/main desynchronisation seen in
     the user's 1599px screenshot.
     ---------------------------------------------------------- */
  body{
    min-width:1536px;
  }
}

/* Below 1241px retain the existing responsive implementation. */


/* ============================================================
   V9 — EXACT HERO + EXACT GAME BUBBLES
   Coordinates measured from the approved 1536×864 mockup.
   ============================================================ */
@media (min-width:1241px){

  /* ----------------------------------------------------------
     GAME BUBBLES
     Exact source-card positions in the approved reference:
       Fortnite      x=245 y=426 size=186×97
       Valorant      x=438 y=426 size=187×97
       Rocket League x=633 y=426 size=186×97
       Apex          x=826 y=426 size=187×97
       Warzone       x=1021 y=426 size=187×97

     Main canvas starts at x=206.
     Therefore the games grid begins at local x=39.
     ---------------------------------------------------------- */

  .home-lower-left > .panel:first-child{
    margin-left:14px!important;     /* abs x = 220 */
    width:1007px!important;         /* outer right ≈ 1227 */
    height:139px!important;
    padding:
      5px
      7px
      6px
      25px!important;              /* grid abs x = 206+14+25 = 245 */
    overflow:hidden!important;
  }

  .home-lower-left > .panel:first-child .section-head{
    margin-bottom:5px!important;
  }

  .home-lower-left .games-grid{
    width:963px!important;          /* 1208 - 245 */
    min-width:963px!important;
    max-width:963px!important;
    display:grid!important;
    grid-template-columns:
      186px
      187px
      186px
      187px
      187px!important;
    column-gap:0!important;
    justify-content:space-between!important;
    align-items:start!important;
    transform:translateY(2px);      /* target y = 426 */
  }

  /* The image crop IS already the bubble.
     Remove the second HTML border/crop that was moving it. */
  .home-lower-left .game-card{
    width:auto!important;
    height:97px!important;
    min-height:97px!important;
    max-height:97px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    overflow:visible!important;
    background:transparent!important;
    box-shadow:none!important;
    transform:none;
  }

  .home-lower-left .game-card:nth-child(2),
  .home-lower-left .game-card:nth-child(4){
    transform:translateX(-1px);
  }

  .home-lower-left .game-card::after{
    display:none!important;
  }

  .home-lower-left .game-card img{
    display:block!important;
    width:100%!important;
    height:97px!important;
    min-height:97px!important;
    object-fit:fill!important;
    object-position:center!important;
    border:0!important;
    border-radius:0!important;
  }

  /* #1 badge lives just outside the Fortnite crop in the reference */
  .home-lower-left .rank-tag{
    left:-8px!important;
    top:6px!important;
  }

  /* ----------------------------------------------------------
     HERO ART
     Exact approved coordinates:
       hero main starts at x=206, y=66
       chest art crop starts at x=610 => local x=404
       right candy art starts at x=1230 => local x=1024
     ---------------------------------------------------------- */

  .home-canvas > .hero{
    width:1330px!important;
    height:320px!important;
    min-height:320px!important;
    overflow:hidden!important;
    background:
      linear-gradient(
        90deg,
        rgba(100,35,191,.62) 0%,
        rgba(100,35,191,.50) 23%,
        rgba(100,35,191,.18) 37%,
        transparent 50%
      ),
      url('assets/hero-left-candy.png') left center/420px 320px no-repeat,
      linear-gradient(135deg,#7230dc 0%,#5117a7 21%,#a03fdf 57%,#7b40f4 100%)!important;
  }

  /* Remove the former scaled/masked decorative construction */
  .home-canvas > .hero .hero-art{
    position:absolute!important;
    z-index:2!important;
    left:404px!important;           /* absolute x = 610 */
    right:auto!important;
    top:0!important;
    bottom:auto!important;
    width:620px!important;
    height:320px!important;
    display:block!important;
    overflow:visible!important;
    -webkit-mask-image:none!important;
    mask-image:none!important;
    transform:none!important;
  }

  .home-canvas > .hero .hero-art::before{
    display:none!important;
  }

  .home-canvas > .hero .hero-art img{
    content:url('assets/hero-art-exact.png')!important;
    display:block!important;
    width:620px!important;
    height:320px!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:fill!important;
    object-position:0 0!important;
    transform:none!important;
    filter:none!important;
    -webkit-mask-image:none!important;
    mask-image:none!important;
  }

  /* Exact right-side candy scene: original crop is 306×239 */
  .home-canvas > .hero::after{
    content:""!important;
    position:absolute!important;
    z-index:1!important;
    left:1024px!important;          /* absolute x = 1230 */
    right:auto!important;
    top:0!important;
    bottom:auto!important;
    width:306px!important;
    height:239px!important;
    border-radius:0 27px 0 0!important;
    background:url('assets/right-hero-art.png') 0 0/306px 239px no-repeat!important;
    box-shadow:none!important;
    opacity:1!important;
    -webkit-mask-image:none!important;
    mask-image:none!important;
  }

  /* Keep only a subtle handmade cloud band at the bottom.
     It no longer moves or scales the main artwork. */
  .home-canvas > .hero::before{
    z-index:3!important;
    height:48px!important;
    bottom:-3px!important;
    opacity:.22!important;
  }

  /* Undo the V8 title-only translation:
     button and paragraph were already aligned with reference. */
  .home-canvas > .hero .hero-title{
    transform:none!important;
  }

  /* HTML remains above all decorative artwork */
  .home-canvas > .hero .hero-copy{
    z-index:6!important;
  }
  .home-canvas > .hero .hero-pills{
    z-index:7!important;
  }
}

/* On narrower displays, retain the responsive fluid version. */


/* ============================================================
   V10 — exact game cards + single continuous hero background
   ============================================================ */
@media (min-width:1241px){

  /* ----------------------------------------------------------
     HERO: use one continuous background image.
     No more separate chest block / right block causing a seam.
     ---------------------------------------------------------- */
  .home-canvas > .hero{
    position:relative!important;
    width:1330px!important;
    height:320px!important;
    min-height:320px!important;
    overflow:hidden!important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)),
      url('assets/hero-bg-complete.png') 0 0 / 1330px 320px no-repeat!important;
  }

  .home-canvas > .hero::after{
    display:none!important;
  }

  .home-canvas > .hero .hero-art{
    display:none!important;
  }

  .home-canvas > .hero::before{
    z-index:3!important;
    height:42px!important;
    bottom:-2px!important;
    opacity:.12!important;
  }

  .home-canvas > .hero .hero-copy{
    position:relative!important;
    z-index:6!important;
    width:430px!important;
    padding:10px 0 0 106px!important;
  }
  .home-canvas > .hero .hero-pills{
    z-index:7!important;
  }

  /* ----------------------------------------------------------
     GAMES PANEL: cards positioned at fixed coordinates
     extracted from the approved reference.
     Outer panel still exists, but cards no longer use a fluid grid.
     ---------------------------------------------------------- */
  .home-lower-left > .panel:first-child{
    position:relative!important;
    margin-left:14px!important;
    width:1007px!important;
    height:139px!important;
    min-height:139px!important;
    padding:6px 10px 6px 16px!important;
    overflow:hidden!important;
  }

  .home-lower-left > .panel:first-child .section-head{
    position:relative!important;
    z-index:3!important;
    margin-bottom:0!important;
    height:28px!important;
  }

  .home-lower-left .games-grid{
    position:relative!important;
    display:block!important;
    width:963px!important;
    height:97px!important;
    min-height:97px!important;
    max-height:97px!important;
    margin-top:5px!important;
    margin-left:9px!important;   /* gives abs x = 206 + 14 + 16 + 9 = 245 */
  }

  .home-lower-left .game-card{
    position:absolute!important;
    top:0!important;
    height:97px!important;
    min-height:97px!important;
    max-height:97px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }

  .home-lower-left .game-card:nth-child(1){left:0px!important; width:186px!important;}
  .home-lower-left .game-card:nth-child(2){left:193px!important; width:187px!important;}
  .home-lower-left .game-card:nth-child(3){left:388px!important; width:186px!important;}
  .home-lower-left .game-card:nth-child(4){left:581px!important; width:187px!important;}
  .home-lower-left .game-card:nth-child(5){left:776px!important; width:187px!important;}

  .home-lower-left .game-card::after{
    display:none!important;
  }

  .home-lower-left .game-card img{
    width:100%!important;
    height:97px!important;
    object-fit:fill!important;
    object-position:0 0!important;
    border:0!important;
    border-radius:0!important;
    display:block!important;
  }

  .home-lower-left .rank-tag{
    left:-8px!important;
    top:7px!important;
    z-index:5!important;
  }
}

/* keep the existing responsive version under desktop breakpoint */


/* ============================================================
   V11 — TRUE CONTINUOUS HERO + EXACT GAME BUBBLE COORDINATES
   ============================================================ */
@media (min-width:1241px){

  /* ----------------------------------------------------------
     HERO
     One single continuous reference background.
     The clean left overlay is feathered, never hard-cut.
     ---------------------------------------------------------- */
  .home-canvas > .hero{
    position:relative!important;
    width:1330px!important;
    height:320px!important;
    min-height:320px!important;
    overflow:hidden!important;
    isolation:isolate!important;

    background:
      url('assets/hero-reference-full.png') 0 0 / 1330px 320px no-repeat!important;
  }

  /* clean text zone overlay: smoothly feathers into the original hero */
  .home-canvas > .hero::before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    z-index:1!important;
    left:0!important;
    top:0!important;
    width:590px!important;
    height:320px!important;
    bottom:auto!important;

    background:
      url('assets/hero-left-feather.png') 0 0 / 590px 320px no-repeat!important;

    opacity:1!important;
    pointer-events:none!important;
  }

  /* bottom scrub hides the screenshot's original pills under the real HTML pills */
  .home-canvas > .hero::after{
    content:""!important;
    display:block!important;
    position:absolute!important;
    z-index:2!important;
    left:0!important;
    top:258px!important;
    right:auto!important;
    bottom:auto!important;
    width:790px!important;
    height:62px!important;
    border-radius:0!important;

    background:
      url('assets/hero-bottom-feather.png') 0 0 / 790px 62px no-repeat!important;

    box-shadow:none!important;
    -webkit-mask-image:none!important;
    mask-image:none!important;
    pointer-events:none!important;
  }

  /* no more secondary hero image layer at all */
  .home-canvas > .hero .hero-art{
    display:none!important;
  }

  .home-canvas > .hero .hero-copy{
    position:relative!important;
    z-index:5!important;
  }

  .home-canvas > .hero .hero-pills{
    z-index:6!important;
  }

  /* keep HTML title / CTA, not screenshot text */
  .home-canvas > .hero .hero-title{
    transform:none!important;
  }

  /* ----------------------------------------------------------
     LOWER AREA VERTICAL ALIGNMENT
     Target games panel begins essentially at hero bottom.
     ---------------------------------------------------------- */
  .home-lower{
    margin-top:-1px!important;
  }

  /* ----------------------------------------------------------
     GAME PANEL SHELL
     Approved reference:
       panel outer local x ≈ 16
       first card local x = 238 - 206 = 32
       first card y local = 421 - 66 = 355
     ---------------------------------------------------------- */
  .home-lower-left > .panel:first-child{
    position:relative!important;
    margin-left:16px!important;
    width:1006px!important;
    height:139px!important;
    min-height:139px!important;

    padding:5px 8px 6px 10px!important;
    overflow:hidden!important;
  }

  .home-lower-left > .panel:first-child .section-head{
    position:relative!important;
    z-index:5!important;
    height:27px!important;
    margin:0!important;
    padding:0!important;
  }

  .home-lower-left > .panel:first-child .section-head h2{
    margin-left:10px!important;
  }

  /* exact fixed canvas for the five cards */
  .home-lower-left .games-grid{
    position:absolute!important;
    display:block!important;

    left:16px!important;    /* main x 206 + panel 16 + 16 = abs x 238 */
    top:36px!important;     /* hero 66 + 320 -1 + 36 ≈ abs y 421 */

    width:964px!important;
    height:101px!important;
    min-width:964px!important;
    min-height:101px!important;

    margin:0!important;
    transform:none!important;
  }

  .home-lower-left .game-card{
    position:absolute!important;
    top:0!important;
    height:101px!important;
    min-height:101px!important;
    max-height:101px!important;

    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    border-radius:0!important;
    overflow:visible!important;
    transform:none!important;
  }

  /* exact reference x positions relative to first card */
  .home-lower-left .game-card:nth-child(1){
    left:0!important;
    width:185px!important;
  }

  .home-lower-left .game-card:nth-child(2){
    left:192px!important;
    width:183px!important;
  }

  .home-lower-left .game-card:nth-child(3){
    left:382px!important;
    width:182px!important;
  }

  .home-lower-left .game-card:nth-child(4){
    left:572px!important;
    width:182px!important;
  }

  .home-lower-left .game-card:nth-child(5){
    left:762px!important;
    width:202px!important;
  }

  .home-lower-left .game-card::after{
    display:none!important;
  }

  /* The asset already contains the exact bubble border/glow.
     Do not add a second crop/border around it. */
  .home-lower-left .game-card img{
    display:block!important;
    width:100%!important;
    height:101px!important;
    min-height:101px!important;
    max-height:101px!important;

    object-fit:fill!important;
    object-position:0 0!important;

    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }

  /* #1 label is an actual HTML overlay, placed like the reference */
  .home-lower-left .rank-tag{
    left:-7px!important;
    top:8px!important;
    z-index:8!important;
  }
}


/* ============================================================
   V12 — TOUT GÉLATINEUX / CANDY JELLY OVERHAUL
   ============================================================ */
:root{
  --jelly-pink-1:#a3c6fa;
  --jelly-pink-2:#659ff7;
  --jelly-pink-3:#3278e2;
  --jelly-violet-1:#b47cff;
  --jelly-violet-2:#7b3ff5;
  --jelly-violet-3:#4f1eb7;
  --jelly-sheen:rgba(255,255,255,.52);
}
body{
  background:
    radial-gradient(circle at 12% 4%, rgba(178,207,251,.28), transparent 18%),
    radial-gradient(circle at 92% 8%, rgba(157,178,255,.22), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(124,174,248,.10), transparent 26%),
    linear-gradient(180deg,#310b70 0%, #1f074a 38%, #13022f 100%);
}
.glass-panel,
.panel,
.side-panel,
.benefit,
.profile,
.brand,
.sidebar-games-panel,
.sidebar-footer-panel,
.wallet-pill,
.topnav,
.hero-button,
.hero-pill,
.view-all,
.primary,
.filter,
.login,
.signup,
.circle,
.add-game,
.side-item,
.side-item.active,
.top-link,
.top-link.active,
.tiny-button,
.pill-action{
  position:relative;
  overflow:hidden;
}
.glass-panel::before,
.panel::before,
.side-panel::before,
.benefit::before,
.profile::before,
.brand::before,
.sidebar-games-panel::before,
.sidebar-footer-panel::before,
.wallet-pill::before,
.topnav::before,
.hero-button::before,
.hero-pill::before,
.view-all::before,
.primary::before,
.filter::before,
.login::before,
.signup::before,
.circle::before,
.add-game::before,
.side-item::before,
.tiny-button::before,
.pill-action::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:
    radial-gradient(130% 95% at 22% 8%, rgba(255,255,255,.42) 0%, rgba(255,255,255,.20) 18%, transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.12), transparent 38%);
  opacity:.95;
}
.glass-panel,
.panel,
.side-panel,
.benefit,
.profile,
.brand,
.sidebar-games-panel,
.sidebar-footer-panel,
.wallet-pill{
  border:1px solid rgba(255,202,240,.38)!important;
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,.28), transparent 20%),
    radial-gradient(circle at 82% 120%, rgba(113,167,248,.20), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.035)),
    linear-gradient(150deg, #8f48e6 0%, #6d30cf 18%, #5a22b6 38%, #44178f 100%)!important;
  box-shadow:
    0 20px 40px rgba(18,0,42,.28),
    0 0 0 1px rgba(255,255,255,.05),
    0 0 24px rgba(94,155,247,.18),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 10px 20px rgba(255,255,255,.05),
    inset 0 -14px 22px rgba(74,19,140,.22)!important;
}
.brand{
  background:
    radial-gradient(circle at 16% 12%, rgba(255,255,255,.30), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.03)),
    linear-gradient(150deg, #7d3ee2 0%, #692cc9 30%, #541fa9 100%)!important;
}
.brand-icon{
  box-shadow:
    inset 0 2px 10px rgba(255,255,255,.34),
    0 8px 16px rgba(96,12,98,.28),
    0 0 18px rgba(105,162,247,.30)!important;
}
.topnav{
  background:
    radial-gradient(circle at 16% 8%, rgba(255,255,255,.80), transparent 23%),
    linear-gradient(180deg, #fffafc 0%, #ffeef9 38%, #f8cceb 100%)!important;
  border:1px solid rgba(255,219,242,.90)!important;
  box-shadow:
    0 18px 34px rgba(30,0,61,.16),
    0 0 22px rgba(93,154,246,.18),
    inset 0 2px 0 rgba(255,255,255,.92),
    inset 0 -8px 16px rgba(173,201,244,.40)!important;
}
.top-link{
  color:#4f1873!important;
  font-weight:900!important;
}
.top-link.active,
.side-item.active,
.add-game,
.hero-button,
.primary,
.signup{
  border:1px solid rgba(255,218,239,.48)!important;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.28), transparent 24%),
    linear-gradient(180deg, var(--jelly-pink-1) 0%, var(--jelly-pink-2) 55%, var(--jelly-pink-3) 100%)!important;
  box-shadow:
    0 14px 26px rgba(20,71,147,.18),
    0 0 24px rgba(92,154,246,.24),
    inset 0 2px 0 rgba(255,255,255,.36),
    inset 0 -10px 16px rgba(26,86,175,.24)!important;
}
.login,
.circle,
.view-all,
.filter,
.tiny-button,
.pill-action{
  border:1px solid rgba(244,226,255,.48)!important;
  background:
    radial-gradient(circle at 22% 9%, rgba(255,255,255,.42), transparent 22%),
    linear-gradient(180deg, #f2ebff 0%, #dfe2ff 58%, #c8c4ff 100%)!important;
  color:#58207f!important;
  box-shadow:
    0 12px 22px rgba(45,14,87,.14),
    0 0 18px rgba(153,124,255,.14),
    inset 0 2px 0 rgba(255,255,255,.86),
    inset 0 -8px 14px rgba(195,195,255,.45)!important;
}
.hero-button i{
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.45), transparent 25%),
    linear-gradient(180deg,#b3d0fb,#75a9f8 55%,#4184e9)!important;
  box-shadow:
    inset 0 2px 8px rgba(255,255,255,.32),
    inset 0 -7px 12px rgba(28,84,168,.24),
    0 6px 16px rgba(21,67,137,.28)!important;
}
.hero-pill{
  border-radius:999px!important;
  border:1px solid rgba(255,208,241,.22)!important;
  background:
    radial-gradient(circle at 22% 10%, rgba(255,255,255,.18), transparent 20%),
    linear-gradient(180deg, rgba(132,78,224,.92), rgba(86,39,171,.98))!important;
  box-shadow:
    0 8px 18px rgba(22,0,52,.12),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -8px 12px rgba(64,23,126,.20)!important;
}
.game-card,
.t-card,
.benefit,
.home-lower-left>.panel,
.home-lower-right>.side-panel{
  border-radius:24px!important;
}
.games-grid .game-card{
  filter: drop-shadow(0 10px 16px rgba(37,0,77,.12)) drop-shadow(0 0 16px rgba(88,151,246,.18));
}
.games-grid .game-card img{
  border-radius:24px!important;
  border:3px solid rgba(196,218,252,.58)!important;
  box-shadow:
    0 14px 22px rgba(31,0,67,.20),
    0 0 0 1px rgba(255,255,255,.06),
    0 0 20px rgba(97,157,247,.20),
    inset 0 2px 0 rgba(255,255,255,.22)!important;
}
.t-card{
  border:1px solid rgba(255,202,239,.46)!important;
  box-shadow:
    0 18px 28px rgba(21,0,49,.22),
    0 0 24px rgba(100,159,247,.18),
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -14px 20px rgba(73,17,134,.18)!important;
}
.t-card::after{
  content:""!important;
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    radial-gradient(120% 100% at 20% 6%, rgba(255,255,255,.22) 0%, transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.10), transparent 30%);
  opacity:1!important;
  pointer-events:none;
}
.benefit{
  grid-template-columns:56px 1fr!important;
}
.benefit-icon{
  width:48px;height:48px;border-radius:16px;
  display:grid;place-items:center;
  background:
    radial-gradient(circle at 24% 12%, rgba(255,255,255,.36), transparent 23%),
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.03)),
    linear-gradient(180deg,#83b2f8,#7e43f6)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.30),
    0 8px 16px rgba(48,0,90,.20);
}
.view-all,
.filter{
  border-radius:999px!important;
  font-weight:900!important;
}
.rank-item,
.activity-item,
.game-row{
  border-radius:16px;
  padding:7px 8px!important;
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.05);
}
.rank-pos,
.avatar,
.game-badge,
.wallet-icon{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 8px 14px rgba(29,0,60,.18),
    0 0 12px rgba(89,152,246,.12);
}
.profile-orb{
  background:
    radial-gradient(circle at 26% 18%, rgba(255,255,255,.60), transparent 20%),
    linear-gradient(145deg,#9fc3fa,#b66dff 52%,#7845f0)!important;
  box-shadow:
    0 16px 28px rgba(30,0,66,.22),
    0 0 22px rgba(98,158,247,.16),
    inset 0 2px 0 rgba(255,255,255,.38)!important;
}
.wallet-pill strong,
.hero-title,
.section-head h2,
.t-card h3,
.side-panel h3,
.profile h3{
  text-shadow:0 2px 0 rgba(91,18,111,.20), 0 8px 18px rgba(33,0,59,.10);
}
.home-canvas>.hero{
  border:1px solid rgba(255,202,238,.34)!important;
  border-radius:34px!important;
  box-shadow:
    0 20px 40px rgba(23,0,55,.24),
    0 0 30px rgba(98,158,247,.16),
    inset 0 2px 0 rgba(255,255,255,.24)!important;
}
.home-canvas>.hero .hero-copy{
  filter: drop-shadow(0 8px 16px rgba(55,0,88,.16));
}
.home-canvas>.hero .hero-title .white,
.home-canvas>.hero .hero-title .pink,
.home-canvas>.hero .hero-title .gold{
  text-shadow:
    0 2px 0 rgba(255,255,255,.14),
    0 6px 0 rgba(126,24,113,.22),
    0 12px 20px rgba(48,0,79,.20)!important;
}
.sidebar{
  background:
    radial-gradient(circle at 50% 0%, rgba(131,63,225,.18), transparent 22%),
    linear-gradient(180deg,#341072 0%, #250658 48%, #19043f 100%)!important;
}
.topbar{
  background:rgba(34,7,75,.58)!important;
  backdrop-filter:blur(18px);
}
button:hover,
.game-card:hover,
.t-card:hover,
.benefit:hover,
.side-panel:hover,
.panel:hover,
.wallet-pill:hover,
.rank-item:hover,
.activity-item:hover,
.game-row:hover{
  transform:translateY(-1px) scale(1.01);
  transition:transform .18s ease, box-shadow .18s ease;
}
@media (min-width:1241px){
  .home-lower-left>.panel,
  .home-lower-right>.side-panel{border-radius:26px!important}
  .home-lower-left>.panel:first-child,
  .home-lower-left>.panel:nth-child(2){padding-top:10px!important;padding-bottom:12px!important}
  .games-grid{top:32px!important}
  .home-lower-left .game-card img{height:101px!important}
  .home-lower-right>.side-panel,
  .home-lower-left>.panel,
  .benefit{background:
      radial-gradient(circle at 16% 8%, rgba(255,255,255,.22), transparent 20%),
      radial-gradient(circle at 82% 120%, rgba(113,167,248,.16), transparent 26%),
      linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03)),
      linear-gradient(150deg, #8d49e5 0%, #6b31cc 20%, #5921b3 42%, #43168d 100%)!important;}
  .home-canvas>.hero .hero-button{border-radius:999px!important;min-height:58px}
  .home-canvas>.hero .hero-pills{gap:8px!important}
}


/* ============================================================
   V13 — FOND MONDE CANDY + SIDEBAR FULL GEL
   ============================================================ */
:root{
  --site-bg-overlay: rgba(39, 6, 86, .46);
  --site-bg-overlay-2: rgba(18, 2, 42, .58);
  --gel-border: rgba(255, 219, 244, .44);
  --gel-shine: rgba(255,255,255,.64);
}
body{
  min-height:100vh;
  background:
    linear-gradient(180deg, rgba(56,12,109,.18), rgba(23,3,47,.55))!important;
}
.backdrop{
  z-index:-2!important;
  background:
    linear-gradient(180deg, rgba(52,10,100,.38), rgba(16,2,33,.58)),
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.07), transparent 32%),
    url('assets/jelly-world-bg.png') center center / cover no-repeat fixed!important;
}
.stars{
  opacity:.65!important;
  mix-blend-mode:screen;
}
.mist{
  opacity:.28!important;
  filter:blur(2px);
}
.layout{
  background:transparent!important;
}

/* Whole site floats above one big candy world */
.main, .page-wrap, .home-canvas, .home-lower, .home-lower-left, .home-lower-right{
  background:transparent!important;
}

/* LEFT SIDE: one continuous gelatinous slab */
.sidebar{
  position:relative;
  margin:6px 0 6px 6px!important;
  min-height:calc(100vh - 12px);
  border-radius:34px!important;
  border:1px solid rgba(255,216,242,.34)!important;
  overflow:hidden!important;
  backdrop-filter: blur(18px) saturate(1.18)!important;
  background:
    radial-gradient(130% 90% at 18% 2%, rgba(255,255,255,.30) 0%, rgba(255,255,255,.10) 18%, transparent 38%),
    radial-gradient(110% 110% at 88% 100%, rgba(127,175,248,.16) 0%, transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03)),
    linear-gradient(180deg, rgba(104,44,196,.90) 0%, rgba(70,21,149,.92) 36%, rgba(43,10,96,.94) 100%)!important;
  box-shadow:
    0 24px 44px rgba(20,0,45,.30),
    0 0 26px rgba(104,161,247,.16),
    inset 0 1px 0 rgba(255,255,255,.20),
    inset 0 18px 28px rgba(255,255,255,.05),
    inset 0 -18px 30px rgba(62,17,118,.26)!important;
}
.sidebar::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  border-radius:inherit!important;
  pointer-events:none!important;
  border:1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(95% 18% at 22% 2%, rgba(255,255,255,.44), transparent 72%),
    radial-gradient(18% 40% at 105% 34%, rgba(255,255,255,.12), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 16%, transparent 84%, rgba(255,255,255,.03));
}
.sidebar::after{
  content:"";
  position:absolute;
  left:8px; right:8px; top:8px; bottom:8px;
  border-radius:28px;
  pointer-events:none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 0 0 1px rgba(184,211,251,.12),
    0 0 18px rgba(97,157,247,.08);
}
.brand{
  width:auto!important;
  min-width:unset!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,.34), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04)),
    linear-gradient(160deg, rgba(122,62,222,.95), rgba(94,35,192,.98))!important;
  box-shadow:
    0 14px 24px rgba(28,0,62,.20),
    0 0 22px rgba(101,159,247,.12),
    inset 0 2px 0 rgba(255,255,255,.30),
    inset 0 -12px 18px rgba(67,16,128,.20)!important;
}
.profile,
.sidebar-games-panel,
.sidebar-footer-panel{
  border-radius:28px!important;
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,.25), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03)),
    linear-gradient(160deg, rgba(116,58,214,.85), rgba(73,25,151,.92) 58%, rgba(50,14,106,.95))!important;
  border:1px solid rgba(255,218,243,.30)!important;
  box-shadow:
    0 14px 24px rgba(20,0,49,.20),
    inset 0 1px 0 rgba(255,255,255,.20),
    inset 0 -16px 20px rgba(64,17,124,.20)!important;
}
.profile::before,
.sidebar-games-panel::before,
.sidebar-footer-panel::before{
  background:
    radial-gradient(110% 32% at 24% 0%, rgba(255,255,255,.34) 0%, transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 32%)!important;
}
.side-item{
  border-radius:18px!important;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.14), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    linear-gradient(180deg, rgba(124,71,224,.58), rgba(88,39,177,.62))!important;
  border:1px solid rgba(255,226,244,.12)!important;
  box-shadow:
    0 8px 14px rgba(20,0,42,.12),
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -10px 12px rgba(62,19,122,.12)!important;
}
.side-item.active{
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.28), transparent 24%),
    linear-gradient(180deg, #a2c5fa 0%, #6aa2f7 56%, #3278e2 100%)!important;
  box-shadow:
    0 12px 22px rgba(19,65,134,.16),
    0 0 22px rgba(93,154,246,.22),
    inset 0 2px 0 rgba(255,255,255,.34),
    inset 0 -10px 14px rgba(27,83,166,.24)!important;
}
.game-row{
  border-radius:16px!important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    linear-gradient(180deg, rgba(119,66,215,.44), rgba(88,37,169,.44))!important;
  border:1px solid rgba(255,255,255,.08)!important;
}

/* Replace the chest hero with a professional site-wide background reveal */
@media (min-width:1241px){
  .home-canvas>.hero{
    position:relative!important;
    overflow:hidden!important;
    height:320px!important;
    min-height:320px!important;
    border-radius:34px!important;
    border:1px solid rgba(255,220,243,.34)!important;
    backdrop-filter: blur(8px) saturate(1.1)!important;
    background:
      linear-gradient(90deg, rgba(83,32,168,.74) 0%, rgba(83,32,168,.58) 26%, rgba(83,32,168,.28) 48%, rgba(83,32,168,.12) 100%),
      linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02)),
      url('assets/jelly-world-bg.png') center 38% / cover no-repeat!important;
    box-shadow:
      0 24px 40px rgba(22,0,52,.24),
      0 0 30px rgba(96,156,247,.16),
      inset 0 2px 0 rgba(255,255,255,.26),
      inset 0 -18px 24px rgba(66,19,125,.18)!important;
  }
  .home-canvas>.hero::before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    inset:0!important;
    z-index:1!important;
    pointer-events:none!important;
    background:
      radial-gradient(50% 28% at 18% 0%, rgba(255,255,255,.28), transparent 72%),
      radial-gradient(24% 30% at 88% 14%, rgba(255,255,255,.14), transparent 75%),
      linear-gradient(180deg, rgba(255,255,255,.05), transparent 24%, transparent 78%, rgba(255,255,255,.04));
    opacity:1!important;
  }
  .home-canvas>.hero::after,
  .home-canvas>.hero .hero-art{
    display:none!important;
  }
  .home-canvas>.hero .hero-copy,
  .home-canvas>.hero .hero-pills{z-index:3!important}
}

/* Make all major shells more translucent so the big candy world breathes through */
.home-lower-left>.panel,
.home-lower-right>.side-panel,
.benefit,
.t-card,
.leader-row,
.challenge-card,
.reward-card,
.tournament-row,
.stat,
.profile-card,
.settings-card,
.faq-item,
.empty-state,
.modal,
.topnav{
  backdrop-filter: blur(14px) saturate(1.12)!important;
}
.home-lower-left>.panel,
.home-lower-right>.side-panel,
.benefit,
.t-card,
.stat,
.reward-card,
.challenge-card,
.leader-row,
.tournament-row,
.profile-card,
.settings-card,
.faq-item,
.empty-state{
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,.22), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03)),
    linear-gradient(160deg, rgba(118,59,216,.82), rgba(79,28,160,.86) 55%, rgba(49,14,105,.90))!important;
  border:1px solid rgba(255,220,243,.30)!important;
  box-shadow:
    0 18px 28px rgba(20,0,45,.22),
    0 0 22px rgba(96,156,247,.14),
    inset 0 1px 0 rgba(255,255,255,.20),
    inset 0 -14px 22px rgba(68,18,131,.18)!important;
}

/* The game bubbles should feel like actual jelly candies */
.games-grid .game-card img{
  border-radius:28px!important;
  border:2px solid rgba(255,214,240,.68)!important;
  box-shadow:
    0 16px 22px rgba(26,0,57,.20),
    0 0 22px rgba(90,152,246,.18),
    inset 0 2px 0 rgba(255,255,255,.28)!important;
}
.topbar{
  background:rgba(41,10,84,.38)!important;
  backdrop-filter:blur(18px) saturate(1.06)!important;
}


/* ============================================================
   V14 — 100% GÉLATINE / HERO HD / TOUT EN BULLE JELLY
   ============================================================ */
:root{
  --gel-edge: rgba(255, 228, 245, .52);
  --gel-edge-soft: rgba(255, 255, 255, .10);
  --gel-white: rgba(255,255,255,.78);
  --gel-pink-a: #b0cefb;
  --gel-pink-b: #70a6f7;
  --gel-pink-c: #377ce4;
  --gel-violet-a: #b183ff;
  --gel-violet-b: #7a42f5;
  --gel-violet-c: #4b1db9;
}
html, body{
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
body{
  background: linear-gradient(180deg, rgba(59,10,116,.16), rgba(18,2,42,.50))!important;
}
.backdrop{
  background:
    linear-gradient(180deg, rgba(54,11,108,.28), rgba(17,2,41,.50)),
    url('assets/jelly-world-bg.png') center center / cover no-repeat fixed!important;
}

/* Universal gelatin finish */
.brand,
.profile,
.sidebar-games-panel,
.sidebar-footer-panel,
.side-item,
.wallet-pill,
.topnav,
.circle,
.login,
.signup,
.account-chip,
.hero-button,
.hero-pill,
.home-lower-left>.panel,
.home-lower-right>.side-panel,
.t-card,
.benefit,
.stat,
.leader-row,
.challenge-card,
.reward-card,
.tournament-row,
.profile-card,
.settings-card,
.faq-item,
.empty-state,
.modal,
.add-game,
.game-row,
.rank-item,
.activity-item,
.top-link.active,
.filter,
.view-all,
.tiny-button,
.pill-action{
  position:relative;
  overflow:hidden;
  border-radius:28px!important;
  border:1px solid var(--gel-edge)!important;
  backdrop-filter: blur(16px) saturate(1.18)!important;
  background:
    radial-gradient(145% 52% at 22% 0%, rgba(255,255,255,.34) 0%, rgba(255,255,255,.10) 18%, transparent 40%),
    radial-gradient(90% 120% at 88% 100%, rgba(119,171,248,.16) 0%, transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03)),
    linear-gradient(155deg, rgba(141,76,234,.92) 0%, rgba(111,49,207,.92) 25%, rgba(86,34,177,.94) 48%, rgba(58,18,126,.96) 100%)!important;
  box-shadow:
    0 18px 34px rgba(21,0,49,.24),
    0 0 28px rgba(98,158,247,.16),
    inset 0 2px 0 rgba(255,255,255,.26),
    inset 0 14px 20px rgba(255,255,255,.04),
    inset 0 -16px 26px rgba(69,18,132,.22)!important;
}
.brand::before,
.profile::before,
.sidebar-games-panel::before,
.sidebar-footer-panel::before,
.side-item::before,
.wallet-pill::before,
.topnav::before,
.circle::before,
.login::before,
.signup::before,
.account-chip::before,
.hero-button::before,
.hero-pill::before,
.home-lower-left>.panel::before,
.home-lower-right>.side-panel::before,
.t-card::before,
.benefit::before,
.stat::before,
.leader-row::before,
.challenge-card::before,
.reward-card::before,
.tournament-row::before,
.profile-card::before,
.settings-card::before,
.faq-item::before,
.empty-state::before,
.modal::before,
.add-game::before,
.game-row::before,
.rank-item::before,
.activity-item::before,
.filter::before,
.view-all::before,
.tiny-button::before,
.pill-action::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:
    radial-gradient(120% 42% at 22% 0%, rgba(255,255,255,.42) 0%, rgba(255,255,255,.18) 28%, transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.10), transparent 24%);
}

/* LEFT SIDEBAR = one big jelly slab */
.sidebar{
  margin:8px 0 8px 8px!important;
  min-height:calc(100vh - 16px);
  border-radius:36px!important;
  border:1px solid rgba(255,228,245,.36)!important;
  backdrop-filter: blur(22px) saturate(1.22)!important;
  background:
    radial-gradient(120% 30% at 20% 0%, rgba(255,255,255,.36) 0%, rgba(255,255,255,.12) 25%, transparent 58%),
    radial-gradient(60% 100% at 100% 92%, rgba(121,172,248,.12), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03)),
    linear-gradient(180deg, rgba(114,57,210,.92) 0%, rgba(80,29,173,.94) 34%, rgba(54,14,119,.96) 100%)!important;
  box-shadow:
    0 26px 44px rgba(18,0,45,.30),
    0 0 30px rgba(105,162,247,.16),
    inset 0 2px 0 rgba(255,255,255,.22),
    inset 0 18px 28px rgba(255,255,255,.05),
    inset 0 -18px 34px rgba(64,19,126,.24)!important;
  overflow:hidden!important;
}
.sidebar::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  border-radius:inherit!important;
  pointer-events:none!important;
  background:
    radial-gradient(55% 12% at 20% 1%, rgba(255,255,255,.56), transparent 85%),
    radial-gradient(15% 18% at 110% 32%, rgba(255,255,255,.18), transparent 82%),
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,.03) 50%, transparent 100%);
}
.sidebar::after{
  content:""!important;
  position:absolute!important;
  left:10px; right:10px; top:10px; bottom:10px;
  border-radius:30px;
  pointer-events:none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 0 0 1px rgba(196,218,252,.10),
    0 0 18px rgba(105,162,247,.08);
}
.brand,
.profile,
.sidebar-games-panel,
.sidebar-footer-panel,
.side-item,
.wallet-pill{
  z-index:1;
}
.side-item,
.game-row,
.rank-item,
.activity-item{border-radius:18px!important}
.side-item.active,
.signup,
.hero-button,
.add-game{
  background:
    radial-gradient(130% 44% at 22% 0%, rgba(255,255,255,.44) 0%, rgba(255,255,255,.16) 24%, transparent 52%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03)),
    linear-gradient(180deg, var(--gel-pink-a) 0%, var(--gel-pink-b) 56%, var(--gel-pink-c) 100%)!important;
  box-shadow:
    0 16px 28px rgba(20,68,139,.20),
    0 0 28px rgba(93,154,246,.24),
    inset 0 2px 0 rgba(255,255,255,.36),
    inset 0 -14px 18px rgba(26,86,177,.24)!important;
}
.login,
.circle,
.view-all,
.filter,
.tiny-button,
.pill-action,
.account-chip{
  background:
    radial-gradient(130% 50% at 22% 0%, rgba(255,255,255,.56) 0%, rgba(255,255,255,.22) 24%, transparent 52%),
    linear-gradient(180deg, #f7f2ff 0%, #e9ddff 58%, #d6c6ff 100%)!important;
  color:#5b2181!important;
  box-shadow:
    0 14px 24px rgba(34,6,71,.14),
    0 0 18px rgba(170,143,255,.16),
    inset 0 2px 0 rgba(255,255,255,.86),
    inset 0 -10px 14px rgba(199,194,255,.45)!important;
}
.profile-orb,
.brand-icon,
.wallet-icon,
.rank-pos,
.avatar,
.game-badge{
  border-radius:999px!important;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.60), transparent 20%),
    linear-gradient(145deg,#b0cefb 0%,#bf86ff 48%,#7a43f5 100%)!important;
  box-shadow:
    0 14px 22px rgba(27,0,61,.22),
    0 0 18px rgba(99,158,247,.14),
    inset 0 2px 0 rgba(255,255,255,.36),
    inset 0 -10px 16px rgba(91,33,170,.26)!important;
}

/* HERO in higher-res and totally jelly */
@media (min-width:1241px){
  .home-canvas>.hero{
    position:relative!important;
    height:320px!important;
    min-height:320px!important;
    overflow:hidden!important;
    border-radius:36px!important;
    border:1px solid rgba(255,229,245,.42)!important;
    backdrop-filter: blur(14px) saturate(1.18)!important;
    background:
      linear-gradient(90deg, rgba(82,28,165,.70) 0%, rgba(82,28,165,.60) 22%, rgba(82,28,165,.34) 42%, rgba(82,28,165,.12) 70%),
      linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
      url('assets/jelly-world-bg.png') center 34% / 1400px auto no-repeat!important;
    box-shadow:
      0 28px 40px rgba(21,0,48,.26),
      0 0 32px rgba(95,156,247,.18),
      inset 0 2px 0 rgba(255,255,255,.26),
      inset 0 18px 24px rgba(255,255,255,.04),
      inset 0 -18px 30px rgba(66,18,126,.20)!important;
  }
  .home-canvas>.hero::before,
  .home-canvas>.hero::after{
    content:""!important;
    display:block!important;
    position:absolute!important;
    border-radius:inherit!important;
    pointer-events:none!important;
  }
  .home-canvas>.hero::before{
    inset:0!important;
    z-index:1!important;
    background:
      radial-gradient(56% 16% at 16% 0%, rgba(255,255,255,.42), transparent 82%),
      radial-gradient(18% 18% at 92% 11%, rgba(255,255,255,.14), transparent 82%),
      linear-gradient(180deg, rgba(255,255,255,.05), transparent 22%, transparent 78%, rgba(255,255,255,.03));
  }
  .home-canvas>.hero::after{
    left:34px!important;
    top:24px!important;
    width:430px!important;
    height:220px!important;
    z-index:2!important;
    border-radius:40px!important;
    border:1px solid rgba(255,231,245,.22);
    background:
      radial-gradient(120% 46% at 24% 0%, rgba(255,255,255,.34) 0%, rgba(255,255,255,.10) 26%, transparent 56%),
      linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
      linear-gradient(160deg, rgba(113,57,214,.38), rgba(78,28,160,.26) 55%, rgba(55,15,117,.18))!important;
    backdrop-filter: blur(12px) saturate(1.15)!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.18),
      inset 0 -14px 22px rgba(67,18,130,.16),
      0 20px 28px rgba(20,0,48,.12);
  }
  .home-canvas>.hero .hero-copy{
    position:relative!important;
    z-index:4!important;
    padding-left:74px!important;
    padding-top:10px!important;
    max-width:430px!important;
    filter:none!important;
  }
  .home-canvas>.hero .hero-title{
    line-height:.90!important;
    letter-spacing:-2.2px!important;
    margin-bottom:14px!important;
    filter:none!important;
  }
  .home-canvas>.hero .hero-title .white,
  .home-canvas>.hero .hero-title .pink,
  .home-canvas>.hero .hero-title .gold{
    display:inline-block;
    -webkit-text-stroke: 1.2px rgba(255,255,255,.10);
    filter:none!important;
    text-shadow:
      0 1px 0 rgba(255,255,255,.34),
      0 4px 0 rgba(100,23,116,.18),
      0 10px 18px rgba(40,0,70,.12)!important;
  }
  .home-canvas>.hero .hero-title .white{
    background:linear-gradient(180deg,#fffefe 0%,#ffeefd 52%,#ffc9f0 100%);
    -webkit-background-clip:text;background-clip:text;color:transparent;
  }
  .home-canvas>.hero .hero-title .pink{
    background:linear-gradient(180deg,#ffc5ea 0%,#82b1f8 48%,#5696f6 100%);
    -webkit-background-clip:text;background-clip:text;color:transparent;
  }
  .home-canvas>.hero .hero-title .gold{
    background:linear-gradient(180deg,#ffe88d 0%,#ffc94e 52%,#ffad25 100%);
    -webkit-background-clip:text;background-clip:text;color:transparent;
  }
  .home-canvas>.hero .hero-copy p{
    max-width:355px!important;
    color:rgba(255,245,254,.98)!important;
    font-weight:700!important;
    text-shadow:0 1px 0 rgba(90,18,113,.16)!important;
  }
  .home-canvas>.hero .hero-button{
    min-height:60px!important;
    border-radius:999px!important;
  }
  .home-canvas>.hero .hero-pills{
    z-index:5!important;
    bottom:12px!important;
    gap:8px!important;
  }
  .home-canvas>.hero .hero-pill{
    border-radius:999px!important;
    border:1px solid rgba(255,226,244,.24)!important;
    background:
      radial-gradient(130% 44% at 22% 0%, rgba(255,255,255,.24) 0%, rgba(255,255,255,.08) 24%, transparent 52%),
      linear-gradient(180deg, rgba(136,80,228,.94), rgba(90,42,177,.98))!important;
    box-shadow:
      0 10px 18px rgba(19,0,47,.14),
      inset 0 1px 0 rgba(255,255,255,.22),
      inset 0 -10px 12px rgba(67,25,130,.18)!important;
  }
}

/* Game bubbles should feel like literal jelly candies */
.games-grid .game-card,
.games-grid .game-card img{
  border-radius:28px!important;
}
.games-grid .game-card{
  filter:drop-shadow(0 16px 22px rgba(21,0,49,.20)) drop-shadow(0 0 22px rgba(96,156,247,.18))!important;
}
.games-grid .game-card img{
  border:2px solid rgba(255,227,244,.68)!important;
  box-shadow:
    0 18px 24px rgba(24,0,54,.22),
    inset 0 1px 0 rgba(255,255,255,.28),
    0 0 24px rgba(93,154,246,.18)!important;
}
.t-card,
.benefit,
.stat,
.leader-row,
.challenge-card,
.reward-card,
.tournament-row,
.home-lower-left>.panel,
.home-lower-right>.side-panel{border-radius:30px!important}
button:hover,
.game-card:hover,
.t-card:hover,
.benefit:hover,
.side-panel:hover,
.panel:hover,
.wallet-pill:hover,
.rank-item:hover,
.activity-item:hover,
.game-row:hover,
.side-item:hover{
  transform:translateY(-1px) scale(1.01)!important;
  transition:transform .18s ease, box-shadow .18s ease!important;
}


/* ============================================================
   V15 — HERO MINIMAL + TOP BAR WITHOUT BACKGROUND PANEL
   ============================================================ */
@media (min-width:1241px){
  /* remove big hero panel entirely: no image, no glass plate, just text + CTA */
  .home-canvas>.hero,
  .hero.hero-minimal{
    position:relative!important;
    display:block!important;
    height:180px!important;
    min-height:180px!important;
    padding:14px 0 0 0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    backdrop-filter:none!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  .home-canvas>.hero::before,
  .home-canvas>.hero::after,
  .hero.hero-minimal::before,
  .hero.hero-minimal::after,
  .home-canvas>.hero .hero-art{
    display:none!important;
    content:none!important;
  }
  .home-canvas>.hero .hero-copy,
  .hero-copy-minimal{
    width:auto!important;
    max-width:520px!important;
    padding:0 0 0 54px!important;
    margin:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    position:relative!important;
    z-index:3!important;
    filter:none!important;
  }
  .home-canvas>.hero .hero-title,
  .hero-copy-minimal .hero-title{
    margin:0 0 18px 0!important;
    font-size:74px!important;
    line-height:.86!important;
    letter-spacing:-2.8px!important;
  }
  .home-canvas>.hero .hero-button,
  .hero-copy-minimal .hero-button{
    min-height:62px!important;
    padding:0 12px 0 30px!important;
    font-size:17px!important;
    border-radius:999px!important;
  }
  .home-lower{
    margin-top:2px!important;
  }

  /* remove top bar slab, keep only individual bubbles */
  .topbar{
    background:transparent!important;
    backdrop-filter:none!important;
    box-shadow:none!important;
    border:0!important;
    padding:12px 7px 10px 44px!important;
    height:auto!important;
    min-height:76px!important;
    align-items:center!important;
  }
  .topnav{
    width:auto!important;
    flex:1 1 auto!important;
    gap:9px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    overflow:visible!important;
  }
  .topnav::before{display:none!important}
  .top-link{
    padding:11px 16px!important;
    min-height:42px!important;
    border-radius:999px!important;
    border:1px solid rgba(255,231,245,.36)!important;
    background:
      radial-gradient(130% 46% at 22% 0%, rgba(255,255,255,.52) 0%, rgba(255,255,255,.20) 26%, transparent 54%),
      linear-gradient(180deg, #f8f2ff 0%, #eadfff 60%, #d7c8ff 100%)!important;
    box-shadow:
      0 12px 20px rgba(30,0,62,.14),
      0 0 16px rgba(176,141,255,.14),
      inset 0 2px 0 rgba(255,255,255,.88),
      inset 0 -10px 14px rgba(206,194,255,.38)!important;
    color:#5b2181!important;
    font-weight:900!important;
  }
  .top-link.active{
    background:
      radial-gradient(130% 46% at 22% 0%, rgba(255,255,255,.42) 0%, rgba(255,255,255,.16) 26%, transparent 54%),
      linear-gradient(180deg, #b1cffb 0%, #70a6f8 60%, #367be3 100%)!important;
    color:#fff!important;
    box-shadow:
      0 14px 22px rgba(20,68,141,.18),
      0 0 18px rgba(93,154,246,.22),
      inset 0 2px 0 rgba(255,255,255,.34),
      inset 0 -12px 16px rgba(24,82,170,.24)!important;
  }
  .top-actions{gap:10px!important}
}

@media (max-width:1240px){
  .hero.hero-minimal,
  .home-canvas>.hero{
    min-height:auto!important;
    height:auto!important;
    padding:10px 0 6px!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .home-canvas>.hero .hero-art,
  .home-canvas>.hero::before,
  .home-canvas>.hero::after{display:none!important}
  .home-canvas>.hero .hero-copy{padding:4px 12px!important;max-width:none!important}
  .home-canvas>.hero .hero-title{font-size:52px!important;line-height:.9!important;margin:0 0 14px!important}
  .home-canvas>.hero .hero-button{min-height:56px!important}
  .topbar{background:transparent!important;box-shadow:none!important;border:0!important}
  .topnav{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important}
  .topnav::before{display:none!important}
}


/* ============================================================
   V17 — PHYSIQUE GÉLATINE SANS GLOW
   - aucun halo lumineux de survol
   - déformation douce suivant le curseur
   - rebond à l'entrée
   - compression + rebond élastique au clic
   - intensité adaptée à la taille du composant
   ============================================================ */

/* Neutralise les anciens effets lumineux/animations hover. */
.jelly::before,
.gelatin-ui::before{
  opacity:0!important;
  background:none!important;
}

button:hover,
.game-card:hover,
.t-card:hover,
.benefit:hover,
.side-panel:hover,
.panel:hover,
.wallet-pill:hover,
.rank-item:hover,
.activity-item:hover,
.game-row:hover,
.side-item:hover{
  transform:none!important;
}

/* Supprime les halos colorés sans enlever le relief. */
.gelatin-ui,
.glass-panel,
.panel,
.side-panel,
.t-card,
.benefit,
.game-card,
.wallet-pill,
.side-item,
.top-link,
.circle,
.login,
.signup,
.account-chip,
.add-game,
.view-all,
.filter,
.rank-item,
.activity-item,
.game-row,
.stat,
.challenge-card,
.reward-card,
.leader-row,
.content-box,
.step-card,
.faq-item,
.wallet-card,
.transaction,
.modal-action{
  filter:none!important;
  text-rendering:geometricPrecision;
  box-shadow:
    0 11px 20px rgba(19,0,42,.17),
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -8px 14px rgba(50,12,96,.14)!important;
}

/* Même les cartes jeux n'ont plus de drop-shadow lumineux. */
.games-grid .game-card{
  filter:none!important;
}
.games-grid .game-card img{
  box-shadow:
    0 10px 18px rgba(18,0,39,.18),
    inset 0 1px 0 rgba(255,255,255,.20)!important;
}

/* Base physique */
.gelatin-ui{
  position:relative!important;
  transform-origin:center center;
  will-change:transform;
  transition:
    transform .16s cubic-bezier(.2,.72,.2,1),
    filter .16s ease!important;
  transform:
    translate3d(var(--gel-tx,0px),var(--gel-ty,0px),0)
    rotate(var(--gel-rot,0deg))
    scale(var(--gel-sx,1),var(--gel-sy,1));
}

/* Le curseur "tire" très légèrement la matière. */
.gelatin-ui.gelatin-hover:not(.gelatin-enter):not(.gelatin-press){
  transform:
    translate3d(var(--gel-tx,0px),var(--gel-ty,0px),0)
    rotate(var(--gel-rot,0deg))
    scale(var(--gel-sx,1),var(--gel-sy,1));
}

/* Entrée de souris : petit wobble gélatine. */
.gelatin-ui.gelatin-enter.gelatin-small{
  animation:gelEnterSmall .50s cubic-bezier(.20,.78,.22,1)!important;
}
.gelatin-ui.gelatin-enter.gelatin-medium{
  animation:gelEnterMedium .50s cubic-bezier(.20,.78,.22,1)!important;
}
.gelatin-ui.gelatin-enter.gelatin-large{
  animation:gelEnterLarge .52s cubic-bezier(.20,.78,.22,1)!important;
}

/* Clic : écrasement puis rebond élastique. */
.gelatin-ui.gelatin-press.gelatin-small{
  animation:gelPressSmall .55s cubic-bezier(.16,.82,.22,1)!important;
}
.gelatin-ui.gelatin-press.gelatin-medium{
  animation:gelPressMedium .55s cubic-bezier(.16,.82,.22,1)!important;
}
.gelatin-ui.gelatin-press.gelatin-large{
  animation:gelPressLarge .56s cubic-bezier(.16,.82,.22,1)!important;
}

@keyframes gelEnterSmall{
  0%   {transform:scale(1,1)}
  24%  {transform:scale(1.028,.972)}
  48%  {transform:scale(.988,1.020)}
  69%  {transform:scale(1.010,.994)}
  84%  {transform:scale(.997,1.005)}
  100% {transform:scale(1,1)}
}
@keyframes gelEnterMedium{
  0%   {transform:scale(1,1)}
  25%  {transform:scale(1.018,.982)}
  50%  {transform:scale(.993,1.013)}
  72%  {transform:scale(1.006,.997)}
  100% {transform:scale(1,1)}
}
@keyframes gelEnterLarge{
  0%   {transform:scale(1,1)}
  28%  {transform:scale(1.009,.991)}
  52%  {transform:scale(.996,1.006)}
  76%  {transform:scale(1.003,.998)}
  100% {transform:scale(1,1)}
}

@keyframes gelPressSmall{
  0%   {transform:scale(1,1)}
  17%  {transform:scale(.958,1.050)}
  37%  {transform:scale(1.036,.972)}
  56%  {transform:scale(.985,1.022)}
  72%  {transform:scale(1.012,.992)}
  86%  {transform:scale(.997,1.006)}
  100% {transform:scale(1,1)}
}
@keyframes gelPressMedium{
  0%   {transform:scale(1,1)}
  18%  {transform:scale(.972,1.034)}
  39%  {transform:scale(1.024,.982)}
  59%  {transform:scale(.991,1.014)}
  77%  {transform:scale(1.007,.996)}
  100% {transform:scale(1,1)}
}
@keyframes gelPressLarge{
  0%   {transform:scale(1,1)}
  18%  {transform:scale(.986,1.018)}
  40%  {transform:scale(1.013,.989)}
  61%  {transform:scale(.996,1.008)}
  79%  {transform:scale(1.004,.998)}
  100% {transform:scale(1,1)}
}

/* Les grands panneaux restent stables et professionnels. */
.panel.gelatin-ui,
.side-panel.gelatin-ui,
.profile.gelatin-ui,
.sidebar-games-panel.gelatin-ui,
.sidebar-footer-panel.gelatin-ui,
.content-box.gelatin-ui{
  transform-origin:50% 50%;
}

/* Boutons : matière plus souple que les gros panneaux. */
.top-link.gelatin-ui,
.side-item.gelatin-ui,
.hero-button.gelatin-ui,
.primary.gelatin-ui,
.login.gelatin-ui,
.signup.gelatin-ui,
.circle.gelatin-ui,
.add-game.gelatin-ui,
.view-all.gelatin-ui,
.filter.gelatin-ui,
.modal-action.gelatin-ui{
  transition:transform .11s cubic-bezier(.2,.72,.2,1)!important;
}

/* Pas de glow au focus non plus : simple contour net. */
.gelatin-ui:focus-visible{
  outline:2px solid rgba(255,255,255,.72)!important;
  outline-offset:2px!important;
  box-shadow:
    0 11px 20px rgba(19,0,42,.17),
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -8px 14px rgba(50,12,96,.14)!important;
}

@media (prefers-reduced-motion:reduce){
  .gelatin-ui,
  .gelatin-ui.gelatin-enter,
  .gelatin-ui.gelatin-press{
    animation:none!important;
    transition:none!important;
    transform:none!important;
  }
}


/* ============================================================
   V18 — GROS REBONDS PARTOUT
   Plus de wobble sur gros panneaux + rebond généralisé.
   Toujours sans glow.
   ============================================================ */

/* neutralise tout glow résiduel */
.gelatin-ui,
.gelatin-ui:hover,
.gelatin-ui:focus,
.gelatin-ui:active{
  filter:none!important;
  text-shadow:inherit;
}

/* GROS panneaux : beaucoup plus de déformation */
@keyframes gelEnterLargeStrong{
  0%   {transform:scale(1,1) rotate(0deg)}
  16%  {transform:scale(1.036,.964) rotate(-.18deg)}
  32%  {transform:scale(.982,1.030) rotate(.14deg)}
  49%  {transform:scale(1.022,.984) rotate(-.10deg)}
  64%  {transform:scale(.991,1.015) rotate(.07deg)}
  78%  {transform:scale(1.010,.995) rotate(-.04deg)}
  90%  {transform:scale(.997,1.005) rotate(.02deg)}
  100% {transform:scale(1,1) rotate(0deg)}
}
@keyframes gelPressLargeStrong{
  0%   {transform:scale(1,1) rotate(0deg)}
  13%  {transform:scale(.945,1.068) rotate(-.28deg)}
  28%  {transform:scale(1.050,.958) rotate(.22deg)}
  44%  {transform:scale(.972,1.042) rotate(-.16deg)}
  59%  {transform:scale(1.027,.978) rotate(.11deg)}
  73%  {transform:scale(.987,1.020) rotate(-.07deg)}
  85%  {transform:scale(1.011,.993) rotate(.04deg)}
  94%  {transform:scale(.997,1.006) rotate(-.02deg)}
  100% {transform:scale(1,1) rotate(0deg)}
}

/* moyens : eux aussi plus marqués */
@keyframes gelEnterMediumStrong{
  0%   {transform:scale(1,1)}
  20%  {transform:scale(1.042,.958)}
  40%  {transform:scale(.978,1.032)}
  58%  {transform:scale(1.022,.984)}
  74%  {transform:scale(.990,1.016)}
  88%  {transform:scale(1.007,.996)}
  100% {transform:scale(1,1)}
}
@keyframes gelPressMediumStrong{
  0%   {transform:scale(1,1)}
  14%  {transform:scale(.932,1.078)}
  30%  {transform:scale(1.060,.948)}
  47%  {transform:scale(.966,1.048)}
  63%  {transform:scale(1.030,.976)}
  78%  {transform:scale(.986,1.021)}
  90%  {transform:scale(1.008,.995)}
  100% {transform:scale(1,1)}
}

/* petits éléments : vraiment "bonbon gelée" */
@keyframes gelEnterSmallStrong{
  0%   {transform:scale(1,1)}
  18%  {transform:scale(1.060,.940)}
  36%  {transform:scale(.970,1.045)}
  54%  {transform:scale(1.032,.975)}
  70%  {transform:scale(.985,1.024)}
  84%  {transform:scale(1.010,.994)}
  100% {transform:scale(1,1)}
}
@keyframes gelPressSmallStrong{
  0%   {transform:scale(1,1)}
  12%  {transform:scale(.900,1.115)}
  27%  {transform:scale(1.085,.925)}
  43%  {transform:scale(.950,1.070)}
  59%  {transform:scale(1.045,.962)}
  74%  {transform:scale(.978,1.033)}
  87%  {transform:scale(1.014,.990)}
  100% {transform:scale(1,1)}
}

/* override V17 animations */
.gelatin-ui.gelatin-enter.gelatin-large{
  animation:gelEnterLargeStrong .78s cubic-bezier(.15,.78,.18,1)!important;
}
.gelatin-ui.gelatin-enter.gelatin-medium{
  animation:gelEnterMediumStrong .70s cubic-bezier(.15,.78,.18,1)!important;
}
.gelatin-ui.gelatin-enter.gelatin-small{
  animation:gelEnterSmallStrong .64s cubic-bezier(.15,.78,.18,1)!important;
}

.gelatin-ui.gelatin-press.gelatin-large{
  animation:gelPressLargeStrong .90s cubic-bezier(.12,.82,.16,1)!important;
}
.gelatin-ui.gelatin-press.gelatin-medium{
  animation:gelPressMediumStrong .82s cubic-bezier(.12,.82,.16,1)!important;
}
.gelatin-ui.gelatin-press.gelatin-small{
  animation:gelPressSmallStrong .74s cubic-bezier(.12,.82,.16,1)!important;
}

/* Make the cursor-drag deformation larger too */
.gelatin-ui.gelatin-hover:not(.gelatin-enter):not(.gelatin-press){
  transform:
    translate3d(calc(var(--gel-tx,0px) * 1.35),calc(var(--gel-ty,0px) * 1.35),0)
    rotate(calc(var(--gel-rot,0deg) * 1.35))
    scale(
      calc(1 + (var(--gel-sx,1) - 1) * 1.55),
      calc(1 + (var(--gel-sy,1) - 1) * 1.55)
    );
}

/* Panels should visibly bounce but never alter layout */
.panel.gelatin-ui,
.side-panel.gelatin-ui,
.sidebar.gelatin-ui,
.profile.gelatin-ui,
.sidebar-games-panel.gelatin-ui,
.sidebar-footer-panel.gelatin-ui,
.topnav.gelatin-ui,
.t-card.gelatin-ui,
.benefit.gelatin-ui,
.challenge-card.gelatin-ui,
.reward-card.gelatin-ui,
.leader-row.gelatin-ui,
.wallet-card.gelatin-ui,
.content-box.gelatin-ui{
  transform-origin:center center!important;
  backface-visibility:hidden;
}

/* nested pieces also bounce independently */
.profile-orb.gelatin-ui,
.game-badge.gelatin-ui,
.wallet-icon.gelatin-ui,
.rank-pos.gelatin-ui,
.avatar.gelatin-ui,
.benefit-icon.gelatin-ui{
  transform-origin:center!important;
}

/* no glow: retain only neutral depth shadows */
.gelatin-ui{
  box-shadow:
    0 10px 18px rgba(18,0,40,.16),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -8px 13px rgba(45,10,87,.13)!important;
}
.gelatin-ui:hover{
  box-shadow:
    0 12px 20px rgba(18,0,40,.18),
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -9px 14px rgba(45,10,87,.14)!important;
}

/* Keep image tiles clean and bouncing as one unit */
.game-card.gelatin-ui img{
  pointer-events:none;
}
.game-card.gelatin-ui{
  overflow:visible!important;
}

/* Accessibility */
@media (prefers-reduced-motion:reduce){
  .gelatin-ui,
  .gelatin-ui.gelatin-enter,
  .gelatin-ui.gelatin-press{
    animation:none!important;
    transform:none!important;
  }
}


/* ============================================================
   V19 — TOUT LE CLIQUABLE EN BOUNCE + SIDEBAR SANS FLOU
   ============================================================ */

/* Sidebar jelly, but no blur */
.sidebar{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* Keep inner left elements jelly; only the big sidebar loses blur. */
.sidebar::before,
.sidebar::after{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* Make sure every clickable node gets the same jelly bounce treatment */
button.gelatin-ui,
a.gelatin-ui,
[role="button"].gelatin-ui,
[data-page].gelatin-ui,
[data-action].gelatin-ui,
[data-join].gelatin-ui,
[data-redeem].gelatin-ui,
[data-faq].gelatin-ui,
.faq-q.gelatin-ui,
.top-link.gelatin-ui,
.side-item.gelatin-ui,
.hero-button.gelatin-ui,
.filter.gelatin-ui,
.view-all.gelatin-ui,
.primary.gelatin-ui,
.login.gelatin-ui,
.signup.gelatin-ui,
.circle.gelatin-ui,
.account-chip.gelatin-ui,
.add-game.gelatin-ui,
.game-card.gelatin-ui,
.t-card.gelatin-ui,
.benefit.gelatin-ui,
.rank-item.gelatin-ui,
.activity-item.gelatin-ui,
.game-row.gelatin-ui,
.challenge-card.gelatin-ui,
.reward-card.gelatin-ui,
.wallet-pill.gelatin-ui,
.wallet-card.gelatin-ui,
.transaction.gelatin-ui,
.modal-action.gelatin-ui,
.tx.gelatin-ui{
  cursor:pointer;
  user-select:none;
  touch-action:manipulation;
}

/* Stronger interactive response on ALL clickable pieces */
button.gelatin-ui.gelatin-enter,
a.gelatin-ui.gelatin-enter,
[role="button"].gelatin-ui.gelatin-enter,
[data-page].gelatin-ui.gelatin-enter,
[data-action].gelatin-ui.gelatin-enter,
[data-join].gelatin-ui.gelatin-enter,
[data-redeem].gelatin-ui.gelatin-enter,
[data-faq].gelatin-ui.gelatin-enter,
.faq-q.gelatin-ui.gelatin-enter,
.top-link.gelatin-ui.gelatin-enter,
.side-item.gelatin-ui.gelatin-enter,
.hero-button.gelatin-ui.gelatin-enter,
.filter.gelatin-ui.gelatin-enter,
.view-all.gelatin-ui.gelatin-enter,
.primary.gelatin-ui.gelatin-enter,
.login.gelatin-ui.gelatin-enter,
.signup.gelatin-ui.gelatin-enter,
.circle.gelatin-ui.gelatin-enter,
.account-chip.gelatin-ui.gelatin-enter,
.add-game.gelatin-ui.gelatin-enter,
.game-card.gelatin-ui.gelatin-enter,
.t-card.gelatin-ui.gelatin-enter,
.benefit.gelatin-ui.gelatin-enter,
.rank-item.gelatin-ui.gelatin-enter,
.activity-item.gelatin-ui.gelatin-enter,
.game-row.gelatin-ui.gelatin-enter,
.challenge-card.gelatin-ui.gelatin-enter,
.reward-card.gelatin-ui.gelatin-enter,
.wallet-pill.gelatin-ui.gelatin-enter,
.wallet-card.gelatin-ui.gelatin-enter,
.transaction.gelatin-ui.gelatin-enter,
.modal-action.gelatin-ui.gelatin-enter,
.tx.gelatin-ui.gelatin-enter{
  animation-duration:.72s!important;
}

/* Press feedback even stronger for clickable targets */
button.gelatin-ui.gelatin-press.gelatin-small,
a.gelatin-ui.gelatin-press.gelatin-small,
[role="button"].gelatin-ui.gelatin-press.gelatin-small,
[data-page].gelatin-ui.gelatin-press.gelatin-small,
[data-action].gelatin-ui.gelatin-press.gelatin-small,
[data-join].gelatin-ui.gelatin-press.gelatin-small,
[data-redeem].gelatin-ui.gelatin-press.gelatin-small,
[data-faq].gelatin-ui.gelatin-press.gelatin-small,
.faq-q.gelatin-ui.gelatin-press.gelatin-small,
.top-link.gelatin-ui.gelatin-press.gelatin-small,
.side-item.gelatin-ui.gelatin-press.gelatin-small,
.hero-button.gelatin-ui.gelatin-press.gelatin-small,
.filter.gelatin-ui.gelatin-press.gelatin-small,
.view-all.gelatin-ui.gelatin-press.gelatin-small,
.primary.gelatin-ui.gelatin-press.gelatin-small,
.login.gelatin-ui.gelatin-press.gelatin-small,
.signup.gelatin-ui.gelatin-press.gelatin-small,
.circle.gelatin-ui.gelatin-press.gelatin-small,
.account-chip.gelatin-ui.gelatin-press.gelatin-small,
.add-game.gelatin-ui.gelatin-press.gelatin-small{
  animation-duration:.82s!important;
}

button.gelatin-ui.gelatin-press.gelatin-medium,
a.gelatin-ui.gelatin-press.gelatin-medium,
[role="button"].gelatin-ui.gelatin-press.gelatin-medium,
[data-page].gelatin-ui.gelatin-press.gelatin-medium,
[data-action].gelatin-ui.gelatin-press.gelatin-medium,
[data-join].gelatin-ui.gelatin-press.gelatin-medium,
[data-redeem].gelatin-ui.gelatin-press.gelatin-medium,
[data-faq].gelatin-ui.gelatin-press.gelatin-medium,
.faq-q.gelatin-ui.gelatin-press.gelatin-medium,
.game-card.gelatin-ui.gelatin-press.gelatin-medium,
.t-card.gelatin-ui.gelatin-press.gelatin-medium,
.benefit.gelatin-ui.gelatin-press.gelatin-medium,
.rank-item.gelatin-ui.gelatin-press.gelatin-medium,
.activity-item.gelatin-ui.gelatin-press.gelatin-medium,
.game-row.gelatin-ui.gelatin-press.gelatin-medium,
.challenge-card.gelatin-ui.gelatin-press.gelatin-medium,
.reward-card.gelatin-ui.gelatin-press.gelatin-medium,
.wallet-pill.gelatin-ui.gelatin-press.gelatin-medium,
.wallet-card.gelatin-ui.gelatin-press.gelatin-medium,
.transaction.gelatin-ui.gelatin-press.gelatin-medium,
.modal-action.gelatin-ui.gelatin-press.gelatin-medium,
.tx.gelatin-ui.gelatin-press.gelatin-medium{
  animation-duration:.90s!important;
}

/* Large clickable panels also bounce clearly */
.panel.gelatin-ui.gelatin-enter,
.side-panel.gelatin-ui.gelatin-enter,
.sidebar.gelatin-ui.gelatin-enter,
.profile.gelatin-ui.gelatin-enter,
.sidebar-games-panel.gelatin-ui.gelatin-enter,
.sidebar-footer-panel.gelatin-ui.gelatin-enter,
.content-box.gelatin-ui.gelatin-enter{
  animation-duration:.84s!important;
}

.panel.gelatin-ui.gelatin-press,
.side-panel.gelatin-ui.gelatin-press,
.sidebar.gelatin-ui.gelatin-press,
.profile.gelatin-ui.gelatin-press,
.sidebar-games-panel.gelatin-ui.gelatin-press,
.sidebar-footer-panel.gelatin-ui.gelatin-press,
.content-box.gelatin-ui.gelatin-press{
  animation-duration:.96s!important;
}


/* ============================================================
   V20 — BOUNCE RENFORCÉ POUR LES PANNEAUX DU SCREENSHOT
   Jeux populaires, cartes de jeux, panneau Tournois et cartes tournoi
   ============================================================ */

@keyframes gelEnterGameTileStrong{
  0%   {transform:scale(1,1)}
  16%  {transform:scale(1.075,.925)}
  34%  {transform:scale(.955,1.060)}
  52%  {transform:scale(1.040,.970)}
  69%  {transform:scale(.982,1.022)}
  84%  {transform:scale(1.010,.994)}
  100% {transform:scale(1,1)}
}
@keyframes gelPressGameTileStrong{
  0%   {transform:scale(1,1)}
  12%  {transform:scale(.890,1.125)}
  28%  {transform:scale(1.095,.915)}
  45%  {transform:scale(.948,1.075)}
  61%  {transform:scale(1.050,.958)}
  76%  {transform:scale(.980,1.035)}
  89%  {transform:scale(1.016,.990)}
  100% {transform:scale(1,1)}
}

@keyframes gelEnterCardStrong{
  0%   {transform:scale(1,1)}
  18%  {transform:scale(1.048,.952)}
  36%  {transform:scale(.972,1.030)}
  54%  {transform:scale(1.026,.980)}
  71%  {transform:scale(.989,1.015)}
  86%  {transform:scale(1.008,.995)}
  100% {transform:scale(1,1)}
}
@keyframes gelPressCardStrong{
  0%   {transform:scale(1,1)}
  14%  {transform:scale(.924,1.086)}
  30%  {transform:scale(1.068,.940)}
  47%  {transform:scale(.963,1.052)}
  64%  {transform:scale(1.032,.972)}
  79%  {transform:scale(.987,1.022)}
  91%  {transform:scale(1.008,.995)}
  100% {transform:scale(1,1)}
}

@keyframes gelEnterSectionStrong{
  0%   {transform:scale(1,1)}
  18%  {transform:scale(1.030,.970)}
  37%  {transform:scale(.982,1.022)}
  56%  {transform:scale(1.016,.988)}
  74%  {transform:scale(.993,1.010)}
  88%  {transform:scale(1.006,.997)}
  100% {transform:scale(1,1)}
}
@keyframes gelPressSectionStrong{
  0%   {transform:scale(1,1)}
  12%  {transform:scale(.958,1.048)}
  27%  {transform:scale(1.040,.962)}
  44%  {transform:scale(.978,1.026)}
  61%  {transform:scale(1.020,.982)}
  77%  {transform:scale(.991,1.013)}
  90%  {transform:scale(1.006,.997)}
  100% {transform:scale(1,1)}
}

/* LES 5 JEUX POPULAIRES */
.games-grid .game-card.gelatin-ui,
.games-grid .game-card.gelatin-ui img{
  transform-origin:center center!important;
}
.games-grid .game-card.gelatin-ui.gelatin-enter{
  animation:gelEnterGameTileStrong .78s cubic-bezier(.14,.78,.18,1)!important;
}
.games-grid .game-card.gelatin-ui.gelatin-press{
  animation:gelPressGameTileStrong .92s cubic-bezier(.12,.82,.16,1)!important;
}
.games-grid .game-card.gelatin-ui.gelatin-hover:not(.gelatin-enter):not(.gelatin-press){
  transform:
    translate3d(calc(var(--gel-tx,0px) * 1.65),calc(var(--gel-ty,0px) * 1.65),0)
    rotate(calc(var(--gel-rot,0deg) * 1.55))
    scale(
      calc(1 + (var(--gel-sx,1) - 1) * 1.95),
      calc(1 + (var(--gel-sy,1) - 1) * 1.95)
    )!important;
}

/* CHAQUE CARTE TOURNOI */
.t-card.gelatin-ui.gelatin-enter,
.challenge-card.gelatin-ui.gelatin-enter,
.reward-card.gelatin-ui.gelatin-enter,
.rank-item.gelatin-ui.gelatin-enter,
.activity-item.gelatin-ui.gelatin-enter{
  animation:gelEnterCardStrong .82s cubic-bezier(.14,.78,.18,1)!important;
}
.t-card.gelatin-ui.gelatin-press,
.challenge-card.gelatin-ui.gelatin-press,
.reward-card.gelatin-ui.gelatin-press,
.rank-item.gelatin-ui.gelatin-press,
.activity-item.gelatin-ui.gelatin-press{
  animation:gelPressCardStrong .98s cubic-bezier(.12,.82,.16,1)!important;
}
.t-card.gelatin-ui.gelatin-hover:not(.gelatin-enter):not(.gelatin-press),
.challenge-card.gelatin-ui.gelatin-hover:not(.gelatin-enter):not(.gelatin-press),
.reward-card.gelatin-ui.gelatin-hover:not(.gelatin-enter):not(.gelatin-press){
  transform:
    translate3d(calc(var(--gel-tx,0px) * 1.45),calc(var(--gel-ty,0px) * 1.45),0)
    rotate(calc(var(--gel-rot,0deg) * 1.35))
    scale(
      calc(1 + (var(--gel-sx,1) - 1) * 1.70),
      calc(1 + (var(--gel-sy,1) - 1) * 1.70)
    )!important;
}

/* LES DEUX GROS PANNEAUX : Jeux populaires + Tournois en vedette */
.home-lower-left > .panel.gelatin-ui.gelatin-enter,
.home-lower-left > .panel.gelatin-ui.gelatin-press{
  transform-origin:center center!important;
}
.home-lower-left > .panel.gelatin-ui.gelatin-enter{
  animation:gelEnterSectionStrong .90s cubic-bezier(.14,.78,.18,1)!important;
}
.home-lower-left > .panel.gelatin-ui.gelatin-press{
  animation:gelPressSectionStrong 1.04s cubic-bezier(.12,.82,.16,1)!important;
}
.home-lower-left > .panel.gelatin-ui.gelatin-hover:not(.gelatin-enter):not(.gelatin-press){
  transform:
    translate3d(calc(var(--gel-tx,0px) * 1.20),calc(var(--gel-ty,0px) * 1.20),0)
    rotate(calc(var(--gel-rot,0deg) * 1.10))
    scale(
      calc(1 + (var(--gel-sx,1) - 1) * 1.35),
      calc(1 + (var(--gel-sy,1) - 1) * 1.35)
    )!important;
}


/* ============================================================
   V21 — CONTOURS GÉLATINE inspirés de la maquette de référence
   Pas de glow extérieur : la profondeur vient des liserés,
   reflets et ombres internes.
   ============================================================ */

:root{
  --gel-rim-outer: rgba(193,217,252,.76);
  --gel-rim-mid: rgba(255, 238, 250, .46);
  --gel-rim-inner: rgba(255,255,255,.18);
  --gel-rim-dark: rgba(73, 18, 132, .40);
}

/* Grosses surfaces + cartes */
.panel,
.side-panel,
.profile,
.brand,
.sidebar-games-panel,
.sidebar-footer-panel,
.topnav,
.t-card,
.benefit,
.stat,
.challenge-card,
.reward-card,
.leader-row,
.content-box,
.step-card,
.faq-item,
.wallet-card,
.modal,
.wallet-pill,
.game-card{
  position:relative;
  isolation:isolate;
  border:2px solid var(--gel-rim-outer)!important;

  box-shadow:
    /* profondeur externe neutre, pas de glow */
    0 9px 17px rgba(19,0,42,.17),

    /* double contour interne façon gel */
    inset 0 0 0 2px var(--gel-rim-mid),
    inset 0 0 0 5px rgba(255,255,255,.055),

    /* reflet supérieur épais */
    inset 0 3px 0 rgba(255,255,255,.52),
    inset 0 7px 10px rgba(255,255,255,.08),

    /* masse sombre en bas = épaisseur du gel */
    inset 0 -3px 0 var(--gel-rim-dark),
    inset 0 -13px 20px rgba(51,11,104,.14),

    /* petits reflets latéraux */
    inset 3px 0 5px rgba(255,255,255,.08),
    inset -3px 0 5px rgba(255,255,255,.05)!important;
}

/* Reflet bombé en haut du bloc */
.panel::before,
.side-panel::before,
.profile::before,
.brand::before,
.sidebar-games-panel::before,
.sidebar-footer-panel::before,
.topnav::before,
.t-card::before,
.benefit::before,
.stat::before,
.challenge-card::before,
.reward-card::before,
.leader-row::before,
.content-box::before,
.step-card::before,
.faq-item::before,
.wallet-card::before,
.modal::before,
.wallet-pill::before,
.game-card::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:4%!important;
  right:4%!important;
  top:3px!important;
  height:24%!important;
  min-height:8px;
  max-height:24px;
  border-radius:999px 999px 55% 55%!important;
  pointer-events:none!important;
  opacity:1!important;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.34) 0%,
      rgba(255,255,255,.13) 45%,
      rgba(255,255,255,0) 100%
    )!important;
  filter:none!important;
}

/* Petit liseré interne continu */
.panel::after,
.side-panel::after,
.profile::after,
.brand::after,
.sidebar-games-panel::after,
.sidebar-footer-panel::after,
.topnav::after,
.t-card::after,
.benefit::after,
.stat::after,
.challenge-card::after,
.reward-card::after,
.leader-row::after,
.content-box::after,
.step-card::after,
.faq-item::after,
.wallet-card::after,
.modal::after,
.wallet-pill::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:5px!important;
  border:1px solid rgba(255,246,252,.19)!important;
  border-radius:20px!important;
  background:none!important;
  pointer-events:none!important;
  opacity:1!important;
  filter:none!important;
}

/* Arrondis proches de la référence */
.panel,
.side-panel,
.profile,
.sidebar-games-panel,
.sidebar-footer-panel,
.wallet-card,
.content-box,
.modal{
  border-radius:28px!important;
}
.t-card,
.benefit,
.stat,
.challenge-card,
.reward-card,
.leader-row,
.step-card,
.faq-item,
.wallet-pill{
  border-radius:24px!important;
}
.brand,
.topnav{
  border-radius:999px!important;
}

/* Liseré interne suit mieux les formes pilules */
.brand::after,
.topnav::after{
  border-radius:999px!important;
}

/* JEUX POPULAIRES : contour épais façon coussin de gel */
.games-grid .game-card{
  border:2px solid rgba(255,205,238,.86)!important;
  border-radius:28px!important;
  overflow:hidden!important;

  box-shadow:
    0 9px 16px rgba(17,0,39,.17),
    inset 0 0 0 2px rgba(255,246,252,.46),
    inset 0 0 0 5px rgba(255,255,255,.06),
    inset 0 3px 0 rgba(255,255,255,.52),
    inset 0 -3px 0 rgba(73,18,132,.34),
    inset 0 -10px 15px rgba(50,10,101,.12)!important;
}

.games-grid .game-card img{
  border:0!important;
  border-radius:25px!important;
  box-shadow:none!important;
}

/* TOURNOIS : contour plus épais et plus "gonflé" */
.t-card{
  border-width:2px!important;
}
.t-card::after{
  inset:5px!important;
  border-radius:19px!important;
}

/* Les gros panneaux Jeux populaires / Tournois en vedette
   ont le contour le plus prononcé de la page */
.home-lower-left > .panel{
  border:2px solid rgba(255,194,233,.82)!important;

  box-shadow:
    0 10px 18px rgba(20,0,43,.18),
    inset 0 0 0 2px rgba(255,245,252,.42),
    inset 0 0 0 6px rgba(255,255,255,.05),
    inset 0 3px 0 rgba(255,255,255,.58),
    inset 0 8px 12px rgba(255,255,255,.07),
    inset 0 -3px 0 rgba(69,15,128,.42),
    inset 0 -14px 21px rgba(48,9,100,.15)!important;
}

/* Barre de gauche : même contour gel, toujours SANS flou */
.sidebar{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;

  border:2px solid rgba(193,217,252,.64)!important;

  box-shadow:
    0 10px 20px rgba(18,0,39,.18),
    inset 0 0 0 2px rgba(255,244,251,.26),
    inset 0 0 0 6px rgba(255,255,255,.035),
    inset 0 3px 0 rgba(255,255,255,.40),
    inset 0 -3px 0 rgba(65,14,124,.40),
    inset 0 -16px 22px rgba(45,8,92,.13)!important;
}

/* Boutons : même langage visuel, en miniature */
.top-link,
.side-item,
.hero-button,
.primary,
.login,
.signup,
.circle,
.add-game,
.view-all,
.filter,
.pill-action,
.tiny-button,
.account-chip{
  border:2px solid rgba(255,205,239,.68)!important;

  box-shadow:
    0 7px 12px rgba(20,0,44,.14),
    inset 0 0 0 2px rgba(255,247,252,.28),
    inset 0 2px 0 rgba(255,255,255,.48),
    inset 0 -3px 0 rgba(71,16,130,.28),
    inset 0 -8px 12px rgba(48,8,98,.10)!important;
}

/* Évite toute réintroduction d'un halo lumineux au hover */
.panel:hover,
.side-panel:hover,
.t-card:hover,
.game-card:hover,
.benefit:hover,
.wallet-pill:hover,
.top-link:hover,
.side-item:hover,
.hero-button:hover,
.primary:hover,
.login:hover,
.signup:hover,
.circle:hover,
.add-game:hover,
.view-all:hover,
.filter:hover{
  filter:none!important;
}

/* Responsive : garder les contours lisibles */
@media (max-width:1240px){
  .panel,
  .side-panel,
  .profile,
  .brand,
  .sidebar-games-panel,
  .sidebar-footer-panel,
  .topnav,
  .t-card,
  .benefit,
  .stat,
  .challenge-card,
  .reward-card,
  .leader-row,
  .content-box,
  .step-card,
  .faq-item,
  .wallet-card,
  .wallet-pill,
  .game-card{
    border-width:2px!important;
  }
}


/* ============================================================
   V22 — Profil sans flou au hover + plus d'air entre les gros panneaux centraux
   ============================================================ */

/* 1) Carte profil en haut à gauche : enlève l'effet de flou/perte de netteté au survol */
.profile,
.profile *{
  backface-visibility:hidden;
  -webkit-font-smoothing:antialiased;
  transform-style:flat;
}
.profile.gelatin-ui.gelatin-enter,
.profile.gelatin-ui.gelatin-hover:not(.gelatin-press),
.profile.gelatin-ui:hover{
  animation:none!important;
  transform:none!important;
  filter:none!important;
}
.profile.gelatin-ui.gelatin-press{
  animation:gelPressLarge .56s cubic-bezier(.16,.82,.22,1)!important;
  filter:none!important;
}
.profile-orb.gelatin-ui,
.profile-orb.gelatin-ui:hover,
.profile-orb.gelatin-ui.gelatin-enter,
.profile-orb.gelatin-ui.gelatin-hover:not(.gelatin-press){
  animation:none!important;
  transform:none!important;
  filter:none!important;
}

/* 2) Recarer / aérer les 3 gros panneaux du milieu
      -> hero, jeux populaires, tournois en vedette */
@media (min-width:1241px){
  .page-wrap,
  .main{
    row-gap:14px!important;
  }

  /* plus d'air entre le hero et les blocs du dessous */
  .home-canvas > .hero,
  .hero.hero-minimal{
    margin-bottom:14px!important;
  }

  /* colonne centrale plus aérée */
  .home-lower{
    gap:14px!important;
  }

  /* espace vertical plus généreux entre gros panneaux de gauche */
  .home-lower-left > .panel + .panel{
    margin-top:14px!important;
  }

  /* espace avant le bloc des avantages pour bien séparer le 3e gros panneau */
  .home-lower-left .benefits{
    margin-top:14px!important;
    gap:12px!important;
  }

  /* un peu plus de respiration interne sur les gros panneaux */
  .home-lower-left > .panel{
    padding-top:14px!important;
    padding-bottom:15px!important;
  }

  .home-lower-left > .panel:first-child .section-head,
  .home-lower-left > .panel:nth-child(2) .t-header{
    margin-bottom:11px!important;
  }
}

@media (max-width:1240px){
  .home-canvas > .hero,
  .hero.hero-minimal{margin-bottom:10px!important}
  .home-lower{gap:12px!important}
  .home-lower-left > .panel + .panel{margin-top:12px!important}
  .home-lower-left .benefits{margin-top:12px!important;gap:10px!important}
}


/* ============================================================
   V23 — FINITION PREMIUM
   Espacements, paddings et alignements harmonisés.
   Les effets jelly/bounce existants sont conservés.
   ============================================================ */

:root{
  --premium-gap:16px;
  --premium-gap-small:12px;
  --premium-pad-x:16px;
  --premium-pad-y:14px;
}

.section-head,
.t-header{
  min-height:34px;
  align-items:center!important;
}

.section-head h2,
.t-header h2,
.side-panel h3{
  line-height:1.1!important;
  letter-spacing:-.15px;
}

.view-all{
  min-height:32px!important;
  padding:7px 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

@media (min-width:1241px){
  .home-lower{
    column-gap:16px!important;
    row-gap:16px!important;
  }

  .home-lower-left{
    display:flex!important;
    flex-direction:column!important;
    gap:16px!important;
  }

  .home-lower-left > .panel,
  .home-lower-left > .panel + .panel{
    margin-top:0!important;
    margin-bottom:0!important;
  }

  .home-lower-left > .panel{
    padding:var(--premium-pad-y) var(--premium-pad-x) 16px var(--premium-pad-x)!important;
  }

  .home-lower-left > .panel:first-child{
    min-height:151px!important;
  }

  .home-lower-left > .panel:first-child .section-head{
    margin-bottom:12px!important;
  }

  .home-lower-left > .panel:nth-child(2){
    padding-bottom:16px!important;
  }

  .home-lower-left > .panel:nth-child(2) .t-header{
    margin-bottom:12px!important;
  }

  .home-lower-left .t-grid{
    gap:12px!important;
  }

  .home-lower-left .benefits{
    margin-top:0!important;
    gap:12px!important;
  }

  .home-lower-left .benefit{
    min-height:88px!important;
    padding:11px 12px!important;
  }

  .home-lower-right{
    gap:16px!important;
  }

  .home-lower-right > .side-panel{
    padding:14px!important;
  }

  .home-lower-left .t-card{
    padding:13px!important;
  }

  .home-lower-left .t-card .primary{
    left:12px!important;
    right:12px!important;
    width:calc(100% - 24px)!important;
  }

  .home-canvas > .hero,
  .hero.hero-minimal{
    margin-bottom:16px!important;
  }

  .topbar{
    padding-left:44px!important;
    padding-right:10px!important;
    gap:12px!important;
  }

  .top-actions{
    gap:10px!important;
  }
}

.home-lower-left > .panel,
.home-lower-right > .side-panel{
  border-radius:30px!important;
}

.home-lower-left .t-card,
.home-lower-left .benefit{
  border-radius:25px!important;
}

.home-lower-left > .panel,
.home-lower-right > .side-panel,
.home-lower-left .t-card,
.home-lower-left .benefit{
  transform-origin:center center!important;
  contain:paint;
}

.t-card h3{
  letter-spacing:-.25px;
}

.t-card small,
.benefit p,
.activity-item small{
  line-height:1.3!important;
}

@media (max-width:1240px){
  .home-lower-left{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
  }

  .home-lower-left > .panel,
  .home-lower-left > .panel + .panel{
    margin-top:0!important;
  }

  .home-lower-left .benefits{
    margin-top:0!important;
    gap:10px!important;
  }

  .home-lower-right{
    gap:12px!important;
  }
}


/* ============================================================
   V24 — Panneau Tournois agrandi + panneaux du dessous descendus
   ============================================================ */
@media (min-width:1241px){
  /* Agrandit clairement le panneau Tournois en vedette */
  .home-lower-left > .panel:nth-child(2){
    min-height:392px!important;
    padding-bottom:30px!important;
    overflow:visible!important;
  }

  /* Les cartes tournoi ont un peu plus d'air dans le panneau */
  .home-lower-left > .panel:nth-child(2) .t-grid{
    margin-top:2px!important;
    margin-bottom:8px!important;
    align-items:stretch!important;
  }

  .home-lower-left > .panel:nth-child(2) .t-card{
    min-height:206px!important;
  }

  /* Descend les 4 panneaux du dessous pour laisser une vraie respiration */
  .home-lower-left .benefits{
    margin-top:20px!important;
    padding-top:2px!important;
  }
}

@media (max-width:1240px){
  .home-lower-left > .panel:nth-child(2){
    min-height:auto!important;
    padding-bottom:22px!important;
    overflow:visible!important;
  }
  .home-lower-left .benefits{
    margin-top:16px!important;
  }
}


/* ============================================================
   V25 — Tournois en vedette rééquilibré / symétrique
   ============================================================ */
@media (min-width:1241px){
  /* Réduit la hauteur excessive et retrouve un rendu plus symétrique */
  .home-lower-left > .panel:nth-child(2){
    min-height:342px!important;
    padding-top:14px!important;
    padding-bottom:18px!important;
    overflow:visible!important;
  }

  .home-lower-left > .panel:nth-child(2) .t-header{
    margin-bottom:12px!important;
  }

  .home-lower-left > .panel:nth-child(2) .t-grid{
    margin-top:0!important;
    margin-bottom:0!important;
    gap:10px!important;
    align-items:stretch!important;
  }

  .home-lower-left > .panel:nth-child(2) .t-card{
    min-height:198px!important;
    height:198px!important;
  }

  /* Remonte légèrement les panneaux du dessous */
  .home-lower-left .benefits{
    margin-top:12px!important;
    padding-top:0!important;
    gap:12px!important;
  }
}

@media (max-width:1240px){
  .home-lower-left > .panel:nth-child(2){
    padding-bottom:18px!important;
  }
  .home-lower-left .benefits{
    margin-top:12px!important;
  }
}


/* V26 — suppression du nuage rose décoratif en bas à droite */
.rail-clouds{display:none!important;}


/* ============================================================
   V27 — MATCH CENTER inspiré du flow public BPW, identité CashComp
   ============================================================ */
.match-page{display:grid;gap:14px}
.match-hub-head{display:grid;grid-template-columns:1fr auto auto;gap:16px;align-items:center;padding:18px;border-radius:28px}
.match-hub-copy h2{margin:3px 0 5px;font-size:24px}.match-hub-copy p{margin:0;color:#eadbfa;font-size:11px}
.match-stats{display:flex;gap:8px}.match-stat{min-width:84px;padding:10px 12px;border-radius:18px;text-align:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.match-stat small{display:block;font-size:8px;color:#dcc8f0}.match-stat strong{display:block;font-size:20px;margin-top:2px}
.create-match-btn{white-space:nowrap;min-height:44px;padding:0 18px!important}
.match-tabs{display:flex;gap:8px;padding:7px;border-radius:999px;width:max-content;max-width:100%}
.match-tab{border:0;border-radius:999px;padding:10px 20px;background:rgba(255,255,255,.08);color:#fff;font-weight:900}
.match-tab.active{background:linear-gradient(180deg,#96befa,#4486e8)}
.match-view{display:grid;gap:12px}.match-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:24px}
.match-toolbar strong{display:block}.match-toolbar small{display:block;color:#d9c6ed;font-size:9px;margin-top:2px}.match-filter-pills{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.match-card{display:grid;grid-template-columns:112px 1fr 116px;gap:12px;align-items:center;padding:11px;border-radius:26px;min-height:132px}
.match-game-thumb{height:104px;border-radius:20px;overflow:hidden;border:2px solid rgba(255,225,244,.55)}.match-game-thumb img{width:100%;height:100%;object-fit:cover}
.match-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.match-status{display:inline-flex;align-items:center;width:max-content;padding:5px 9px;border-radius:999px;font-size:8px;font-weight:950;text-transform:uppercase;background:#7440cb;border:1px solid rgba(255,255,255,.18)}
.status-open{background:#1acb91}.status-ready{background:#ffb02f}.status-active{background:#24a8ff}.status-result_pending{background:#8d5df0}.status-dispute{background:#5490e9}.status-review{background:#c36dff}.status-completed{background:#6b7c92}
.match-created{font-size:8px;color:#cbb4e5}.match-card h3{margin:6px 0 5px;font-size:16px}.match-meta-row{display:flex;gap:8px;flex-wrap:wrap;color:#e7d9f5;font-size:8px}
.match-host{display:grid;grid-template-columns:29px 1fr auto;gap:7px;align-items:center;margin-top:8px}.match-host .avatar{width:29px;height:29px}.match-host strong{display:block;font-size:9px}.match-host small{display:block;font-size:7px;color:#cdb9e0}.match-host .tiny-button{padding:5px 7px!important}
.match-money{display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}.match-money small{font-size:8px;color:#d8c7ea}.match-money strong,.match-money b{font-size:15px}.match-money b{color:#56f1c8}.match-action{border:1px solid rgba(255,218,240,.5);border-radius:999px;padding:9px 13px;background:linear-gradient(180deg,#89b6f9,#397de3);color:#fff;font-weight:900;font-size:9px;margin-top:8px;min-width:100px}
.match-action.win{background:linear-gradient(180deg,#4de7b7,#149d7c)}.match-action.loss,.danger{background:linear-gradient(180deg,#85b3f9,#457ed3)!important;color:#fff!important}.match-history{padding:14px}.match-history-row{display:grid;grid-template-columns:1.2fr 1fr .8fr auto;gap:10px;align-items:center;padding:9px 0;border-top:1px solid rgba(255,255,255,.08);font-size:9px}.match-history-row b{color:#4ee9bd}
.live-bracket{padding:14px}.bracket-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.match-bracket-node{display:grid;gap:5px;padding:12px;border-radius:20px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}.match-bracket-node small{color:#e2cdef}.match-bracket-node span{color:#ffd75d;font-weight:900}
.match-modal{width:min(1040px,96vw)!important;max-height:92vh;overflow:auto}.match-create-shell{display:grid;gap:14px}.match-modal-title h2{font-size:30px;margin:3px 0 6px}.match-create-form{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.match-create-form .modal-action,.match-create-summary,.match-private-toggle{grid-column:1/-1}.match-private-toggle{display:flex;gap:8px;align-items:center;padding:10px;border-radius:16px;background:rgba(255,255,255,.06)}.match-create-summary{display:flex;justify-content:space-between;padding:11px;border-radius:18px;background:rgba(255,255,255,.06)}
.match-lobby-shell{display:grid;gap:12px}.match-lobby-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.match-lobby-header h2{font-size:27px!important;margin:3px 0 5px!important}.match-lobby-header p{margin:0!important}.match-stagebar{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.match-stage{display:flex;gap:7px;align-items:center;padding:8px;border-radius:16px;background:rgba(255,255,255,.05);opacity:.45}.match-stage.done{opacity:.78}.match-stage.current{opacity:1;background:rgba(99,158,247,.16)}.match-stage b{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#6f39c9}.match-stage.current b{background:#5897f6}.match-stage span{font-size:8px;font-weight:900}
.match-lobby-grid{display:grid;grid-template-columns:220px minmax(0,1fr) 240px;gap:10px}.match-lobby-panel{padding:12px;border-radius:24px;min-height:310px}.match-lobby-panel h3{margin:0 0 10px}.match-player{display:grid;grid-template-columns:36px 1fr 10px;gap:8px;align-items:center;padding:9px;border-radius:18px;background:rgba(255,255,255,.06);margin-bottom:8px}.match-player .avatar{width:36px;height:36px}.match-player strong{font-size:10px}.match-player small{display:block;font-size:7px;color:#ceb9e1;margin-top:2px}.ready-dot{width:9px;height:9px;border-radius:50%;background:#73568e}.ready-dot.on{background:#36e2a9}
.match-lobby-center{display:grid;place-items:center;text-align:center}.match-waiting,.ready-check,.match-live,.result-pending,.match-dispute,.moderation-review,.match-completed{max-width:430px;width:100%}.match-pulse{font-size:42px;margin-bottom:8px;animation:matchPulse 1.7s ease-in-out infinite}@keyframes matchPulse{50%{transform:scale(1.12)}}.match-lobby-center p{font-size:10px!important}.invite-code{display:flex;gap:8px;justify-content:center;align-items:center;margin:10px 0}.invite-code code{padding:8px 11px;border-radius:12px;background:#2d0b58}.ready-meter{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.ready-meter span{padding:10px;border-radius:15px;background:rgba(255,255,255,.06)}.ready-meter span.ready{background:rgba(32,213,151,.18);border:1px solid rgba(63,238,181,.28)}.match-ready-ok{font-weight:900;color:#43e4b3}.match-rules{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin:10px 0}.match-rules span{padding:6px 8px;border-radius:999px;background:rgba(255,255,255,.07);font-size:8px}.match-result-actions{display:flex;gap:8px;justify-content:center}.result-box{display:flex;justify-content:space-between;align-items:center;padding:11px 13px;border-radius:17px;background:rgba(255,255,255,.07);margin:12px 0}.result-box strong{font-size:17px}.demo-confirm{display:flex;gap:8px;justify-content:center}.review-line{display:flex;justify-content:space-between;padding:9px;border-radius:14px;background:rgba(255,255,255,.06);margin:10px 0}
.match-chat{display:flex;flex-direction:column}.match-chat-title{display:flex;justify-content:space-between;align-items:center}.match-chat-title span{font-size:7px;color:#4ae0b3}.match-messages{flex:1;display:flex;flex-direction:column;gap:6px;max-height:220px;overflow:auto;margin-bottom:8px}.match-message{padding:7px 9px;border-radius:14px;background:rgba(255,255,255,.06);text-align:left}.match-message strong{display:block;font-size:8px;color:#bbd5fb}.match-message span{font-size:8px}.match-chat-empty{font-size:8px;color:#bda8d2}.match-chat form{display:grid;grid-template-columns:1fr auto;gap:6px}.match-chat .input{min-width:0}.match-dispute form{display:grid;gap:8px}.opponent-preview{display:grid;gap:12px}.preview-profile{display:flex;align-items:center;gap:12px}.preview-profile .profile-orb{width:82px;height:82px}.preview-profile h2{margin:0!important}.preview-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
@media(max-width:980px){.match-grid{grid-template-columns:1fr}.match-hub-head{grid-template-columns:1fr}.match-tabs{width:100%}.match-lobby-grid{grid-template-columns:1fr}.match-lobby-panel{min-height:auto}.match-stagebar{grid-template-columns:repeat(5,minmax(90px,1fr));overflow:auto}.match-create-form{grid-template-columns:1fr}.match-create-form .modal-action,.match-create-summary,.match-private-toggle{grid-column:1}.match-card{grid-template-columns:92px 1fr}.match-money{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:flex-end;gap:8px}.bracket-grid{grid-template-columns:1fr}}


/* ============================================================
   V28 — Fond / arrière-plan éclairci
   On garde l'univers candy, mais plus lumineux et plus respirant.
   ============================================================ */

:root{
  --site-bg-overlay: rgba(255, 206, 236, .18);
  --site-bg-overlay-2: rgba(145, 68, 214, .18);
}

/* Fond global plus clair */
html, body{
  background:
    linear-gradient(180deg, rgba(255,248,252,.28) 0%, rgba(255,233,247,.10) 18%, rgba(185,104,233,.10) 100%)!important;
}

body{
  background:
    linear-gradient(180deg, rgba(255,248,252,.26), rgba(255,233,247,.06))!important,
    url('assets/jelly-world-bg.png') center center / cover no-repeat fixed!important;
}

/* Hero : voile moins sombre */
.home-canvas > .hero{
  box-shadow:
    0 14px 28px rgba(48,9,100,.10),
    inset 0 1px 0 rgba(255,255,255,.30),
    inset 0 -10px 18px rgba(62,16,126,.10)!important;
}

/* Les gros blocs laissent mieux respirer l'image de fond */
.panel,
.side-panel,
.profile,
.sidebar-games-panel,
.sidebar-footer-panel,
.wallet-card,
.content-box,
.modal,
.t-card,
.benefit,
.game-card,
.wallet-pill{
  background-color: rgba(112, 53, 197, .46)!important;
}

/* Sidebar : un peu plus claire aussi */
.sidebar{
  background:
    linear-gradient(180deg, rgba(79,34,154,.78), rgba(52,18,108,.80))!important;
}

/* Le rail droit et les panneaux secondaires gagnent en clarté */
.side-panel{
  background:
    linear-gradient(180deg, rgba(139, 88, 221, .62), rgba(98, 45, 184, .66))!important;
}

/* Cartes tournois un peu plus lumineuses */
.t-card.pink{background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.16),transparent 30%),linear-gradient(145deg,#649ff7,#2667c8 72%)!important}
.t-card.purple{background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.16),transparent 30%),linear-gradient(145deg,#9854ff,#642fd8 72%)!important}
.t-card.blue{background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.16),transparent 30%),linear-gradient(145deg,#3ec3ff,#2184ee 72%)!important}
.t-card.teal{background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.16),transparent 30%),linear-gradient(145deg,#3ae8d3,#18b3bd 72%)!important}

/* Boutons / pills un peu plus clairs sans changer le style */
.top-link,
.side-item,
.hero-button,
.primary,
.login,
.signup,
.circle,
.add-game,
.view-all,
.filter,
.account-chip{
  box-shadow:
    0 8px 14px rgba(20,0,44,.10),
    inset 0 0 0 2px rgba(255,247,252,.36),
    inset 0 2px 0 rgba(255,255,255,.56),
    inset 0 -3px 0 rgba(71,16,130,.18),
    inset 0 -8px 12px rgba(48,8,98,.06)!important;
}

/* Le voile candy du site devient plus lumineux */
.home-canvas,
.home-lower,
.home-lower-left,
.home-lower-right{
  filter:none!important;
}


/* ============================================================
   V29 — Tournois ultra complet
   ============================================================ */
.tournaments-pro-view{display:grid;gap:14px}
.tournament-hero{display:grid;grid-template-columns:minmax(0,1.2fr) 320px;gap:14px;padding:18px;border-radius:28px}
.tournament-hero h3{margin:6px 0 8px;font-size:28px;line-height:1.02}
.tournament-hero p{margin:0;color:#f6eefe;max-width:720px}
.tournament-hero-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.tournament-hero-stats{display:grid;gap:10px;align-content:start}
.tournament-overview-grid{display:grid;grid-template-columns:1.15fr .95fr .9fr;gap:14px}
.tournament-info-card{padding:16px;border-radius:26px}
.featured-tournament{display:grid;gap:12px}
.featured-tournament h3{margin:8px 0 6px;font-size:24px}
.featured-tournament p{margin:0;color:#ecdff8;line-height:1.35}
.featured-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.featured-meta>div,.rule-card,.joined-t-item,.round-row{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);border-radius:18px;padding:10px 12px}
.featured-meta small,.round-row small,.joined-t-item small,.rule-card small{display:block;color:#e3d3f1;font-size:10px;margin-top:2px}
.featured-meta strong{display:block;margin-top:4px;font-size:16px}
.joined-tournament-list,.round-schedule{display:grid;gap:10px}
.joined-t-item{display:grid;grid-template-columns:14px 1fr auto;align-items:center;gap:10px}
.joined-dot{width:10px;height:10px;border-radius:50%;background:linear-gradient(180deg,#4ce9ba,#10ba7f);box-shadow:0 0 0 3px rgba(76,233,186,.15)}
.joined-t-item b{color:#57f0c9;font-size:14px}
.round-row{display:grid;grid-template-columns:62px 1fr;gap:10px;align-items:start}
.round-row>span{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border-radius:14px;font-size:12px;font-weight:900;background:rgba(255,255,255,.08)}
.tournament-toolbar{display:grid;grid-template-columns:minmax(0,1.2fr) 220px 220px;gap:10px}
.tournament-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.tournament-rules,.tournament-bracket{padding:16px;border-radius:28px}
.rules-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.rule-card strong{display:block;font-size:15px;margin-bottom:4px}
.muted{color:#d7c7e7}
@media (max-width:1240px){
  .tournament-hero,.tournament-overview-grid,.tournament-bottom-grid,.tournament-toolbar{grid-template-columns:1fr!important}
  .featured-meta,.rules-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  .featured-meta,.rules-grid{grid-template-columns:1fr}
  .tournament-hero h3{font-size:24px}
}


/* ============================================================
   VFINAL — Pages premium et polish final prêt à déployer
   ============================================================ */
.reward-hero{display:grid;grid-template-columns:minmax(0,1.1fr) 320px;gap:14px;padding:18px;border-radius:28px}
.reward-hero h2{margin:6px 0 8px;font-size:28px;line-height:1.04}
.reward-hero p{margin:0;color:#f6eefe;max-width:760px}
.reward-hero-aside{padding:16px;border-radius:24px;display:grid;gap:8px;align-content:start}
.reward-hero-aside strong{font-size:28px;line-height:1;color:#fff9b2}
.reward-hero-aside p{margin:0;color:#ecdff8;font-size:12px;line-height:1.4}
.reward-hero-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.hero-pill{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);font-size:12px;font-weight:800;color:#fff}
.bundle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}
.bundle-card{padding:16px;border-radius:24px;display:grid;gap:8px;align-content:start}
.bundle-card small{color:#ffeeba;font-weight:900;letter-spacing:.06em}
.bundle-card h3{margin:0;font-size:21px}
.bundle-card p{margin:0;color:#ecdff8;line-height:1.35}
.bundle-card strong{font-size:24px;color:#fff8b4}
.reward-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:10px}
.reward-filter-row{display:flex;flex-wrap:wrap;gap:8px}
.profile-top-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:14px}
.profile-identity-card,.profile-side-card{padding:18px;border-radius:28px}
.profile-id-main{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.profile-id-main h2{margin:0 0 4px}
.profile-id-main p{margin:0;color:#eadcf4}
.wallet-summary-card{padding:16px;border-radius:24px}
.settings-premium-page .tournament-overview-grid .tournament-info-card{padding:16px}
.help-premium-page .faq{display:grid;gap:10px}
.faq-item{overflow:hidden}
.faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;background:none;border:none;color:#fff;text-align:left;font:inherit;font-weight:800;cursor:pointer;padding:14px}
.faq-a{display:none;padding:0 14px 14px;color:#eadcf4;line-height:1.45}
.faq-item.open .faq-a{display:block}

/* responsive final */
@media (max-width:1240px){
  .reward-hero,.bundle-grid,.profile-top-grid{grid-template-columns:1fr!important}
}
@media (max-width:720px){
  .reward-section-head{align-items:flex-start}
}


/* ============================================================
   V31 — Bruitages UI gélatine
   ============================================================ */
.sound-setting-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:11px 12px;margin-bottom:10px;border-radius:18px;
  border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055)
}
.sound-setting-row small{display:block;color:#e4d3f1;font-size:9px;margin-top:3px}
.sound-setting-row .tiny-button{white-space:nowrap;min-width:82px}

/* ========================================================================== */
/* CashComp — Polar / Futuristic redesign based on the supplied reference.    */
/* Added as a final override layer so application logic and JS selectors stay */
/* untouched.                                                                  */
/* ========================================================================== */
:root{
  --bg:#f7f9fd;
  --bg2:#edf3fb;
  --panel:#ffffff;
  --panel2:#f6f9fd;
  --panel3:#eef3f9;
  --line:rgba(42,74,120,.10);
  --line2:rgba(42,74,120,.06);
  --txt:#111318;
  --muted:#6b7482;
  --blue:#2e68f6;
  --blue2:#5b8cff;
  --green:#22aa72;
  --shadow:0 18px 55px rgba(70,92,127,.08);
  --radius-xl:22px;
  --radius-lg:18px;
  --radius-md:14px;
  --radius-sm:10px;
}
html{background:#f7f9fd}
body{
  color:var(--txt)!important;
  background:
    radial-gradient(circle at 76% 8%,rgba(104,161,255,.16),transparent 28%),
    radial-gradient(circle at 26% 38%,rgba(255,255,255,.96),transparent 32%),
    linear-gradient(180deg,#fbfcfe 0%,#f6f9fd 58%,#ffffff 100%)!important;
  font-family:Inter,"SF Pro Display","Segoe UI",Arial,sans-serif!important;
}
body::before,
body::after{
  content:"";position:fixed;z-index:-3;pointer-events:none;border-radius:50%;filter:blur(38px);opacity:.34;
  animation:ccAmbientDrift 16s ease-in-out infinite alternate;
}
body::before{width:520px;height:520px;right:-150px;top:-130px;background:radial-gradient(circle,rgba(73,138,255,.32),transparent 66%)}
body::after{width:640px;height:420px;left:-220px;top:245px;background:radial-gradient(circle,rgba(221,235,255,.85),transparent 68%);animation-delay:-7s}
@keyframes ccAmbientDrift{0%{transform:translate3d(-1.5%,-1%,0) scale(.98)}50%{transform:translate3d(2.5%,2%,0) scale(1.04)}100%{transform:translate3d(-.5%,4%,0) scale(1.01)}}

.backdrop{z-index:-2!important;opacity:.92;background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.66) 47%,rgba(210,229,255,.35) 73%,transparent 100%)}
.stars{display:none!important}
.mist{filter:blur(34px)!important;opacity:.11!important;background:#8bb7ff!important;animation:ccMist 18s ease-in-out infinite alternate!important}
.mist-a{left:-70px!important;top:180px!important}.mist-b{right:-80px!important;top:70px!important;animation-delay:-6s!important}.mist-c{left:35%!important;bottom:-10px!important;animation-delay:-11s!important}
@keyframes ccMist{from{transform:translate3d(-20px,0,0) scale(.98)}to{transform:translate3d(36px,24px,0) scale(1.12)}}

.layout{display:block!important;max-width:none!important;min-height:100vh!important;margin:0!important}
.main{display:block!important;min-width:0!important;padding:0!important;margin:0!important}
.page-wrap{padding:0 40px 24px!important;max-width:1448px!important;margin:0 auto!important}

/* Desktop sidebar becomes a retained functional drawer. */
.sidebar{
  left:auto!important;right:18px!important;top:78px!important;bottom:auto!important;width:282px!important;max-height:calc(100vh - 96px)!important;
  padding:12px!important;gap:10px!important;overflow:auto!important;
  border:1px solid rgba(28,68,122,.11)!important;border-radius:22px!important;
  background:rgba(255,255,255,.94)!important;backdrop-filter:blur(22px)!important;
  box-shadow:0 28px 80px rgba(40,63,95,.18)!important;
  transform:translateX(calc(100% + 42px))!important;opacity:0!important;pointer-events:none!important;
  transition:transform .28s ease,opacity .22s ease!important;z-index:90!important;
}
.sidebar.open{transform:translateX(0)!important;opacity:1!important;pointer-events:auto!important}
.sidebar .brand,.sidebar .profile,.sidebar-games-panel,.sidebar-footer-panel{
  color:#111318!important;background:#fff!important;border:1px solid rgba(41,76,124,.09)!important;box-shadow:0 12px 35px rgba(56,79,111,.08)!important;
}
.sidebar .brand{display:none!important}
.sidebar .profile{padding:14px!important}.sidebar .profile h3,.wallet-pill strong{color:#141821!important}.sidebar .subline,.sidebar .xp-meta,.wallet-pill small,.copyright,.side-section-title,.game-row{color:#6f7886!important}
.sidebar .profile-orb{width:82px!important;height:82px!important;background:linear-gradient(145deg,#eef4ff,#cfe0ff)!important;box-shadow:none!important}
.wallet-pill{background:#f6f8fc!important;border:1px solid rgba(40,74,122,.08)!important}
.side-item{color:#303744!important;border-radius:12px!important}
.side-item:hover{background:#f4f7fb!important}
.side-item.active{color:#2e68f6!important;background:#eef4ff!important;box-shadow:none!important}
.add-game,.pill-action{color:#fff!important;background:#316df4!important;border:0!important;box-shadow:0 8px 20px rgba(49,109,244,.2)!important}
.tiny-button{color:#2d60d6!important;background:#eef4ff!important;border:1px solid rgba(49,109,244,.11)!important}

.topbar{
  position:sticky!important;top:0!important;z-index:70!important;
  height:72px!important;max-width:1448px!important;margin:0 auto!important;padding:15px 40px 10px!important;
  display:grid!important;grid-template-columns:260px minmax(0,1fr) 290px!important;gap:20px!important;align-items:center!important;
  background:rgba(250,252,255,.78)!important;backdrop-filter:blur(18px) saturate(1.15)!important;
  border-bottom:1px solid rgba(56,89,135,.055)!important;
}
.top-brand{
  color:#0e1116!important;text-decoration:none!important;font-size:29px!important;font-weight:680!important;letter-spacing:.02em!important;line-height:1!important;
  font-family:"SF Pro Display","Segoe UI",Arial,sans-serif!important;
}
.topnav{
  justify-self:center!important;display:flex!important;align-items:center!important;gap:42px!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;min-width:0!important;
}
.top-link{
  position:relative!important;color:#252932!important;background:transparent!important;border:0!important;border-radius:0!important;padding:12px 0!important;
  font-size:11.5px!important;font-weight:500!important;box-shadow:none!important;white-space:nowrap!important;
}
.top-link::after{content:"";position:absolute;left:50%;right:50%;bottom:3px;height:2px;border-radius:99px;background:#2f6cff;transition:left .2s ease,right .2s ease}
.top-link.active{color:#2f6cff!important;background:transparent!important;box-shadow:none!important}
.top-link.active::after,.top-link:hover::after{left:0;right:0}
.top-actions{margin:0!important;justify-self:end!important;display:flex!important;align-items:center!important;gap:12px!important}
.circle{display:none!important}
.login,.signup,.account-chip,.mobile-menu{
  min-height:34px!important;border-radius:8px!important;padding:0 18px!important;font-size:10px!important;font-weight:600!important;box-shadow:none!important;letter-spacing:0!important;
}
.login{color:#20242b!important;background:rgba(255,255,255,.9)!important;border:1px solid rgba(38,63,101,.10)!important}
.signup{color:#fff!important;background:linear-gradient(180deg,#5a87ff,#3269ef)!important;border:1px solid rgba(45,96,232,.18)!important;box-shadow:0 9px 22px rgba(50,105,239,.19)!important}
.account-chip{color:#1c2b48!important;background:#fff!important;border:1px solid rgba(38,63,101,.10)!important}
.chip-orb{background:#edf4ff!important;color:#2f6cff!important;border:0!important;font-size:9px!important;font-weight:800!important}
.mobile-menu{display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;padding:0!important;color:#667181!important;background:#fff!important;border:1px solid rgba(38,63,101,.10)!important}

/* Reference home */
.reference-home{position:relative;isolation:isolate;padding-bottom:10px}
.ref-hero{
  position:relative;height:404px;overflow:hidden;border-radius:0 0 24px 24px;
  background:linear-gradient(100deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.95) 35%,rgba(247,251,255,.78) 59%,rgba(227,240,255,.38) 100%);
}
.ref-hero::before{
  content:"";position:absolute;inset:-25%;pointer-events:none;opacity:.64;
  background:repeating-radial-gradient(ellipse at 61% 42%,rgba(82,139,245,.13) 0 2px,transparent 3px 36px);
  transform:rotate(-7deg);animation:ccOrbit 26s linear infinite;
}
.ref-hero::after{
  content:"";position:absolute;left:28%;top:10%;width:46%;height:72%;pointer-events:none;
  background:linear-gradient(104deg,transparent 13%,rgba(255,255,255,.78) 43%,transparent 67%);filter:blur(14px);opacity:.55;animation:ccSweep 8s ease-in-out infinite;
}
@keyframes ccOrbit{from{transform:rotate(-7deg) translate3d(-10px,0,0)}to{transform:rotate(353deg) translate3d(10px,0,0)}}
@keyframes ccSweep{0%,100%{transform:translateX(-24%);opacity:.18}48%{opacity:.66}62%{transform:translateX(78%);opacity:.22}}
.ref-hero-copy{position:relative;z-index:4;width:49%;padding:58px 0 0 96px}
.ref-hero-copy h1{margin:0 0 18px;color:#111317;font-size:50px;line-height:1.03;letter-spacing:-.045em;font-weight:420}
.ref-hero-copy h1 span{color:#5a84ed;font-weight:470}
.ref-hero-copy p{margin:0 0 27px;color:#717a87;font-size:13.3px;line-height:1.52;font-weight:400}
.ref-hero-actions{display:flex;gap:22px;align-items:center}
.ref-cta{height:38px;border-radius:7px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:30px;font-size:10.5px;font-weight:520;white-space:nowrap}
.ref-cta-primary{min-width:169px;color:#fff;border:0;background:linear-gradient(180deg,#4e82fb,#2867ef);box-shadow:0 9px 22px rgba(43,102,238,.22)}
.ref-cta-secondary{min-width:170px;color:#20242a;border:1px solid rgba(44,67,100,.13);background:rgba(255,255,255,.88);box-shadow:0 4px 12px rgba(49,68,94,.05)}
.ref-cta i{font-style:normal;font-size:17px;font-weight:300}.ref-cta-secondary i{font-size:14px}
.ref-hero-visual{position:absolute;z-index:2;right:-12px;top:-12px;width:64%;height:430px;pointer-events:none;overflow:hidden;animation:ccHeroFloat 7s ease-in-out infinite alternate}
.ref-hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center top;filter:saturate(.94) contrast(1.02);transform:scale(1.025)}
@keyframes ccHeroFloat{0%{transform:translate3d(-4px,-2px,0) scale(1.01)}100%{transform:translate3d(9px,7px,0) scale(1.025)}}
.ref-scanline{position:absolute;left:14%;top:-20%;width:10%;height:145%;transform:rotate(14deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);filter:blur(11px);opacity:.28;animation:ccSceneScan 6.8s linear infinite}
@keyframes ccSceneScan{0%{left:5%;opacity:0}16%{opacity:.42}70%{opacity:.16}100%{left:92%;opacity:0}}
.ref-glow{position:absolute;border-radius:50%;filter:blur(24px);opacity:.32}.ref-glow-a{width:180px;height:180px;right:20%;top:7%;background:#8fbdff;animation:ccGlow 5.5s ease-in-out infinite alternate}.ref-glow-b{width:150px;height:150px;left:28%;bottom:9%;background:#e5f1ff;animation:ccGlow 6.4s ease-in-out infinite alternate-reverse}
@keyframes ccGlow{from{transform:translateY(-7px) scale(.92);opacity:.15}to{transform:translateY(10px) scale(1.08);opacity:.40}}

.ref-dashboard-row{display:grid;grid-template-columns:1.06fr .94fr;gap:18px;margin-top:0}
.ref-panel{position:relative;overflow:hidden;background:rgba(255,255,255,.84);border:1px solid rgba(65,92,130,.065);border-radius:16px;box-shadow:0 18px 45px rgba(65,90,122,.055);backdrop-filter:blur(14px)}
.ref-featured-panel,.ref-ranking-panel{min-height:255px;padding:16px 20px 19px}
.ref-panel-head{height:26px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ref-panel-head h2{margin:0;font-size:14px;font-weight:560;letter-spacing:-.01em;color:#1a1e25}
.ref-panel-head button{border:0;background:transparent;color:#3c74ea;font-size:9px;font-weight:500;padding:1px 0}.ref-panel-head button span{margin-left:7px}
.ref-tournament-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:5px}
.ref-tournament-card{overflow:hidden;border-radius:11px;background:#fff;border:1px solid rgba(54,79,116,.09);box-shadow:0 7px 19px rgba(56,78,109,.05)}
.ref-tournament-thumb{position:relative;height:104px;overflow:hidden;background:#e9eef6}.ref-tournament-thumb img{width:100%;height:100%;object-fit:cover}.ref-tournament-thumb span{position:absolute;left:9px;top:8px;padding:4px 8px;border-radius:6px;color:#fff;background:rgba(77,88,102,.66);backdrop-filter:blur(6px);font-size:7px}
.ref-tournament-body{padding:10px 11px 11px}.ref-tournament-body>strong{display:block;font-size:11.5px;font-weight:600;color:#242934}.ref-tournament-body>small{display:block;margin-top:4px;color:#707985;font-size:8.5px}.ref-tournament-meta{display:grid;grid-template-columns:1fr auto 25px;gap:9px;align-items:center;margin-top:10px}.ref-tournament-meta span{color:#89919c;font-size:8.5px}.ref-tournament-meta b{color:#376ff0;font-size:11.5px;font-weight:560}.ref-arrow{width:25px;height:25px;border-radius:50%;border:1px solid rgba(50,105,239,.1);background:#f5f8ff;color:#376ff0;font-size:14px}
.ref-ranking-layout{display:grid;grid-template-columns:minmax(0,1fr) 165px;gap:12px;align-items:center;height:200px}.ref-ranking-list{padding:4px 0 0 2px}.ref-rank-row{display:grid;grid-template-columns:24px 25px 1fr auto;gap:8px;align-items:center;height:37px;border-bottom:1px solid rgba(58,81,113,.05);font-size:10px;color:#282e39}.ref-rank-row:last-child{border-bottom:0}.ref-rank-pos{font-weight:520}.ref-rank-logo{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#edf3ff;color:#4277ef;font-size:8px}.ref-rank-row strong{font-weight:520}.ref-rank-row b{font-size:10px;font-weight:520}.ref-rank-trophy{height:185px;display:grid;place-items:center}.ref-rank-trophy img{width:150px;max-height:180px;object-fit:contain;filter:drop-shadow(0 20px 22px rgba(47,67,97,.08));animation:ccTrophy 6s ease-in-out infinite alternate}@keyframes ccTrophy{from{transform:translateY(-3px) rotate(-.5deg)}to{transform:translateY(7px) rotate(.6deg)}}

.ref-bottom-grid{display:grid;grid-template-columns:1.05fr .94fr .95fr;gap:18px;margin-top:17px}.ref-mini-panel{height:197px;padding:16px 20px}.ref-mini-panel>p{position:relative;z-index:2;margin:4px 0 0;color:#747d89;font-size:9px;line-height:1.45}.ref-rewards-panel>img{position:absolute;left:0;right:0;bottom:-2px;width:100%;height:145px;object-fit:cover;object-position:center bottom}.ref-live-card{display:block;width:100%;height:150px;margin-top:4px;padding:0;border:0;border-radius:12px;overflow:hidden;background:#0d1015}.ref-live-card img{width:100%;height:100%;object-fit:cover}.ref-community-panel>img{position:absolute;left:13px;right:5px;bottom:4px;width:calc(100% - 18px);height:128px;object-fit:cover;object-position:center bottom}
.ref-partners{height:82px;margin-top:15px;border-top:1px solid rgba(50,74,108,.06);display:grid;grid-template-columns:150px repeat(6,1fr);align-items:center;gap:20px;color:#535b66}.ref-partners>span{font-size:11px;font-weight:520;color:#23272d}.ref-partners>b{text-align:center;font-size:15px;letter-spacing:.01em;opacity:.78;font-weight:650}.ref-partners>b:nth-of-type(1){font-size:9px;letter-spacing:.38em}.ref-partners>b:nth-of-type(3){font-size:22px;font-weight:540}.ref-partners>b:nth-of-type(4){font-size:16px}.ref-footer-links{display:flex;justify-content:center;gap:7px;padding:0 0 12px;opacity:.8}.ref-footer-links button{border:0;background:transparent;color:#687280;font-size:8px;padding:4px 8px}.ref-footer-links button:hover{color:#2f6cff}

/* Global clean-light restyling for existing inner pages. */
.page{color:#171b22!important;padding:18px 0 34px!important}.glass-panel,.content-box,.title-block,.match-toolbar,.match-card,.challenge-card,.reward-card,.wallet-summary-card,.tournament-hero,.tournament-info-card,.tournament-rules,.tournament-bracket,.step-card,.faq-item{
  color:#171b22!important;background:rgba(255,255,255,.9)!important;border:1px solid rgba(52,81,120,.08)!important;box-shadow:0 16px 42px rgba(65,89,123,.06)!important;backdrop-filter:blur(14px)!important;
}
.glass-panel::after{background:linear-gradient(180deg,rgba(255,255,255,.22),transparent 22%)!important}
.title-block{border-radius:18px!important}.title-block h1,.content-box h1,.content-box h2,.content-box h3,.tournament-hero h3,.reward-card h3,.challenge-card h3,.match-card h3,.step-card h3{color:#171b22!important}.title-block p,.content-box p,.content-box small,.tournament-hero p,.reward-card p,.challenge-card p,.match-card small,.step-card p,.faq-a,.muted{color:#747d89!important}.eyebrow{color:#4478ed!important}.section-head h2,.side-top h3{color:#1c2027!important}
.primary,.match-action,.modal-action,.wallet-actions button,.view-all.active{color:#fff!important;background:linear-gradient(180deg,#5081f7,#2e69ef)!important;border:0!important;box-shadow:0 9px 24px rgba(46,105,239,.17)!important}.filter,.tab,.view-all{color:#4b5c73!important;background:#f4f7fb!important;border:1px solid rgba(57,81,115,.08)!important}.filter.active,.tab.active{color:#2e68ef!important;background:#edf3ff!important;border-color:rgba(46,104,239,.13)!important}.input,.select,textarea{color:#20252d!important;background:#f8fafe!important;border:1px solid rgba(55,81,115,.11)!important}.input::placeholder{color:#9aa2ad!important}.wallet-card{background:linear-gradient(135deg,#326df1,#74a4ff)!important}.wallet-card,.wallet-card *{color:#fff!important}.modal-backdrop{background:rgba(18,26,38,.22)!important;backdrop-filter:blur(10px)!important}.modal{color:#1b2028!important;background:#fff!important;border:1px solid rgba(56,81,117,.10)!important;box-shadow:0 28px 90px rgba(31,46,69,.22)!important}.modal h2,.modal strong{color:#171b22!important}.modal p{color:#747d89!important}.modal-close{color:#687280!important;background:#f2f5f9!important}.toast{background:#fff!important;color:#20252d!important;border:1px solid rgba(60,86,122,.09)!important;box-shadow:0 18px 42px rgba(45,65,94,.13)!important}

/* Neutralise the old candy gradients on frequently reused cards. */
.t-card,.benefit,.side-panel,.game-card{background:#fff!important;border:1px solid rgba(55,81,115,.08)!important;color:#1b2028!important;box-shadow:0 14px 34px rgba(59,83,116,.06)!important}.t-card h3,.benefit strong,.side-panel h3{color:#1b2028!important}.t-card small,.benefit p,.activity-item small{color:#7a8390!important}.points,.gain,.cost,.prize strong{color:#326df1!important}.rank-item,.activity-item{color:#2a303a!important}.primary.joined{background:#e9f7f0!important;color:#21875d!important;box-shadow:none!important}

/* Keep interactions refined instead of the old exaggerated candy wobble. */
.jelly:hover{animation:none!important}.jelly{transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important}.jelly:hover{filter:brightness(1.01);transform:translateY(-1px)}
.ref-panel .jelly:hover,.topbar .jelly:hover{transform:translateY(-1px)!important}
.gelatin-ui.gelatin-enter,.gelatin-ui.gelatin-press{animation:none!important}

@media(max-width:1180px){
  .topbar{grid-template-columns:200px 1fr 250px!important;padding-left:24px!important;padding-right:24px!important}.topnav{gap:24px!important}.page-wrap{padding-left:24px!important;padding-right:24px!important}.ref-hero-copy{padding-left:60px;width:52%}.ref-hero-copy h1{font-size:44px}.ref-dashboard-row{grid-template-columns:1fr}.ref-ranking-panel{min-height:245px}.ref-bottom-grid{grid-template-columns:1fr 1fr}.ref-community-panel{grid-column:1/-1}.ref-partners{grid-template-columns:120px repeat(3,1fr);height:auto;padding:18px 0;row-gap:20px}
}
@media(max-width:900px){
  .topbar{height:66px!important;grid-template-columns:1fr auto!important;padding:12px 16px!important}.top-brand{font-size:24px!important}.topnav{display:none!important}.top-actions{grid-column:2!important}.login{display:none!important}.page-wrap{padding:0 14px 20px!important}.ref-hero{height:560px;border-radius:0 0 20px 20px}.ref-hero-copy{width:100%;padding:42px 24px 0}.ref-hero-copy h1{font-size:43px}.ref-hero-copy p{font-size:12px}.ref-hero-visual{top:245px;right:-60px;width:108%;height:330px;opacity:.96}.ref-dashboard-row,.ref-bottom-grid{grid-template-columns:1fr}.ref-mini-panel,.ref-featured-panel,.ref-ranking-panel{height:auto;min-height:0}.ref-tournament-grid{grid-template-columns:1fr 1fr 1fr}.ref-ranking-layout{grid-template-columns:1fr 150px}.ref-community-panel{grid-column:auto;height:210px}.ref-partners{grid-template-columns:repeat(3,1fr)}.ref-partners>span{grid-column:1/-1}.ref-footer-links{flex-wrap:wrap}
}
@media(max-width:620px){
  .signup{display:none!important}.mobile-menu{display:flex!important}.account-chip{max-width:112px!important;overflow:hidden!important}.ref-hero{height:520px}.ref-hero-copy{padding:34px 18px 0}.ref-hero-copy h1{font-size:37px}.ref-hero-copy p br{display:none}.ref-hero-actions{gap:10px;align-items:stretch}.ref-cta{min-width:0!important;flex:1;padding:0 12px;gap:10px}.ref-hero-visual{top:245px;right:-100px;width:130%;height:290px}.ref-featured-panel,.ref-ranking-panel,.ref-mini-panel{padding:14px}.ref-panel-head h2{font-size:13px}.ref-panel-head button{font-size:8px}.ref-tournament-grid{grid-template-columns:1fr}.ref-tournament-thumb{height:135px}.ref-ranking-layout{grid-template-columns:1fr}.ref-rank-trophy{display:none}.ref-partners{grid-template-columns:1fr 1fr}.sidebar{right:8px!important;top:70px!important;width:calc(100vw - 16px)!important}.page{padding-top:10px!important}
}

@media(prefers-reduced-motion:reduce){
  body::before,body::after,.mist,.ref-hero::before,.ref-hero::after,.ref-hero-visual,.ref-scanline,.ref-glow,.ref-rank-trophy img{animation:none!important}
}
/* Utility search remains available without disturbing the reference layout. */
.top-actions .circle{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;padding:0!important;border-radius:8px!important;color:#5f6a79!important;background:#fff!important;border:1px solid rgba(38,63,101,.10)!important;box-shadow:none!important;font-size:17px!important}
@media(max-width:620px){.top-actions .circle{display:none!important}}
/* Lock drawer positioning against legacy gelatin transform rules. */
.sidebar.gelatin-ui,.sidebar.gelatin-ui.gelatin-hover,.sidebar.gelatin-ui.gelatin-enter,.sidebar.gelatin-ui.gelatin-press{transform:translateX(calc(100% + 42px))!important}
.sidebar.open.gelatin-ui,.sidebar.open.gelatin-ui.gelatin-hover,.sidebar.open.gelatin-ui.gelatin-enter,.sidebar.open.gelatin-ui.gelatin-press{transform:translateX(0)!important}
.topnav.gelatin-ui,.topbar .topnav.gelatin-ui{transform:none!important}

/* ============================================================
   V33 — Hotfix drawer / first viewport
   initJelly() adds .gelatin-ui { position:relative!important }.
   The sidebar is a drawer and MUST remain fixed; otherwise its
   100vh box stays in normal flow and pushes the whole site one
   full screen below the fold, which looks like a blank page.
   ============================================================ */
.sidebar,
.sidebar.gelatin-ui,
.sidebar.gelatin-ui.gelatin-hover,
.sidebar.gelatin-ui.gelatin-enter,
.sidebar.gelatin-ui.gelatin-press{
  position:fixed!important;
}

/* Keep the visible application anchored to the first viewport. */
html,body{margin:0!important;min-height:100%!important;overflow-x:hidden!important}
.layout{margin:0!important;min-height:100vh!important}
.main{margin:0!important;position:relative!important;top:auto!important;left:auto!important}

/* Remove legacy V8 fixed 1536/1330 desktop canvas constraints. */
html,body{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.layout{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.main{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.page-wrap{
  width:100%!important;
  min-width:0!important;
  max-width:1448px!important;
  box-sizing:border-box!important;
}
.topbar{
  width:100%!important;
  max-width:1448px!important;
  box-sizing:border-box!important;
}

/* ============================================================
   V34 — ICE BLUE CLEANUP / LIGHT BOUNCE / CLEAN HEADER
   ============================================================ */
:root{
  /* Legacy candy aliases are deliberately remapped to the polar palette. */
  --pink:#4f82ff!important;
  --pink2:#84adff!important;
  --jelly-pink-1:#b9d2ff!important;
  --jelly-pink-2:#78a6ff!important;
  --jelly-pink-3:#356ef1!important;
  --gel-pink-a:#c1d8ff!important;
  --gel-pink-b:#7faaff!important;
  --gel-pink-c:#356ef1!important;
  --gel-rim-outer:rgba(116,166,255,.42)!important;
  --gel-rim-mid:rgba(224,237,255,.54)!important;
}

/* Anything that intentionally carried a 'pink' theme is now electric/polar blue. */
.hero-title .pink,
.home-canvas>.hero .hero-title .pink,
.t-card.pink,
.pink .primary,
.brand-text span{
  color:#3f78f4!important;
}
.t-card.pink{
  background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.18),transparent 30%),linear-gradient(145deg,#6fa4ff,#2e67e8 72%)!important;
}
.pink .primary{
  background:radial-gradient(circle at 25% 18%,rgba(255,255,255,.23),transparent 22%),linear-gradient(180deg,#78a7ff,#356cf1)!important;
}
.progress span,.xp-bar span{
  background:linear-gradient(90deg,#7fb2ff,#4f82f6,#2e68ef)!important;
}
.tx-icon,.step-num,.chip-orb{
  background:linear-gradient(145deg,#dbe8ff,#7aa6ff)!important;
}

/* The header should float directly over the page, not inside a giant glass pill/bar. */
.topbar,
.topbar.gelatin-ui,
.topbar.glass-panel{
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border:0!important;
  border-bottom:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.topbar::before,.topbar::after{display:none!important;content:none!important}

/* Clean standalone wordmark: no bubble, no gel rim, no pill. */
.top-brand,
.top-brand.gelatin-ui,
.top-brand.jelly{
  position:relative!important;
  display:inline-block!important;
  width:max-content!important;
  padding:0!important;
  margin:0!important;
  color:#0b1018!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
  text-decoration:none!important;
  font-family:"Bahnschrift SemiCondensed","Arial Narrow","Segoe UI",Arial,sans-serif!important;
  font-size:27px!important;
  font-weight:650!important;
  font-stretch:condensed!important;
  font-style:normal!important;
  letter-spacing:.105em!important;
  line-height:1!important;
  text-transform:uppercase!important;
  font-kerning:none!important;
}
.top-brand::before,.top-brand::after{display:none!important;content:none!important}
.top-brand:hover,
.top-brand.gelatin-ui.gelatin-hover{
  transform:none!important;
  filter:none!important;
}

/* Navigation itself is not a containing bubble either. */
.topnav,
.topnav.gelatin-ui,
.topbar .topnav.gelatin-ui{
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.topnav::before,.topnav::after{display:none!important;content:none!important}

/* V33's already-subtle bounce is reduced by a further 60%. */
.jelly:hover{transform:translateY(-.4px)!important}
.ref-panel .jelly:hover,.topbar .jelly:hover{transform:translateY(-.4px)!important}
.top-brand.jelly:hover,.top-brand.gelatin-ui:hover,.topnav.gelatin-ui:hover{transform:none!important}
.gelatin-ui{
  transition:transform .12s cubic-bezier(.2,.72,.2,1),filter .12s ease!important;
}

/* Keep buttons in the same cold-blue visual system. */
.signup,.pill-action,.add-game,.primary,.match-action,.modal-action,.wallet-actions button{
  background:linear-gradient(180deg,#5f8cff,#2f68ee)!important;
  border-color:rgba(47,104,238,.18)!important;
}

@media(max-width:900px){
  .top-brand,.top-brand.gelatin-ui{font-size:22px!important;letter-spacing:.09em!important}
}

/* ============================================================
   V35 — RIGID CTA / LASER NAV / CUSTOM FUTURE WORDMARK
   ============================================================ */

/* Accessible hidden brand text. */
.sr-only{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}

/* Custom geometric CashComp wordmark — wide, cut, engineered, no bubble. */
.top-brand,
.top-brand:hover,
.top-brand:focus,
.top-brand:active{
  width:214px!important;height:34px!important;display:flex!important;align-items:center!important;
  padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;filter:none!important;transform:none!important;outline:none!important;
}
.top-brand-mark{display:block!important;width:214px!important;height:32px!important;line-height:0!important}
.top-brand-mark svg{display:block;width:100%;height:100%;overflow:visible}
.wordmark-strokes path{
  fill:none;stroke:#0b1119;stroke-width:2.45;stroke-linecap:square;stroke-linejoin:bevel;
  vector-effect:non-scaling-stroke;
}
/* Tiny bright cuts create the engineered/segmented sci-fi feel. */
.wordmark-cuts path{
  fill:none;stroke:#edf5ff;stroke-width:4.4;stroke-linecap:square;vector-effect:non-scaling-stroke;
}
.top-brand::before,.top-brand::after,.top-brand-mark::before,.top-brand-mark::after{content:none!important;display:none!important}

/* Header items are intentionally rigid: zero jelly/bounce/press deformation. */
.topbar .gelatin-ui,
.topbar .gelatin-hover,
.topbar .gelatin-enter,
.topbar .gelatin-press,
.topbar .jelly,
.topbar button,
.topbar a,
.ref-cta,
.ref-cta.jelly,
.ref-cta.gelatin-ui,
.ref-cta.gelatin-hover,
.ref-cta.gelatin-enter,
.ref-cta.gelatin-press,
.modal,
.modal .gelatin-ui,
.modal .gelatin-hover,
.modal .gelatin-enter,
.modal .gelatin-press,
.modal .jelly{
  --gel-tx:0px!important;--gel-ty:0px!important;--gel-rot:0deg!important;--gel-sx:1!important;--gel-sy:1!important;
  animation:none!important;transform:none!important;
}
.ref-cta{transition:box-shadow .18s ease,filter .18s ease,border-color .18s ease,background .18s ease!important}
.ref-cta:hover{transform:none!important;filter:brightness(1.025)!important}
.ref-cta-primary:hover{box-shadow:0 11px 28px rgba(43,102,238,.28)!important}
.ref-cta-secondary:hover{border-color:rgba(70,118,215,.22)!important;box-shadow:0 8px 22px rgba(65,95,140,.09)!important}

/* Futuristic nav selection: a laser rail + micro-core instead of a block/pill. */
.top-link,
.top-link.active,
.top-link:hover,
.top-link:focus,
.top-link:active,
.top-link.gelatin-ui,
.top-link.gelatin-hover,
.top-link.gelatin-enter,
.top-link.gelatin-press{
  position:relative!important;
  color:#343b46!important;background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;filter:none!important;transform:none!important;animation:none!important;
  outline:none!important;padding:13px 2px 14px!important;
  transition:color .18s ease,opacity .18s ease!important;
}
.top-link:hover{color:#1f5fe5!important}
.top-link.active{color:#245fdc!important;font-weight:620!important}
.top-link::after{
  content:""!important;display:block!important;position:absolute!important;
  left:50%!important;right:auto!important;bottom:5px!important;width:0!important;height:2px!important;
  border-radius:99px!important;transform:translateX(-50%)!important;
  background:linear-gradient(90deg,transparent 0%,#3a72f1 20%,#8ed8ff 50%,#3a72f1 80%,transparent 100%)!important;
  box-shadow:0 0 5px rgba(56,116,245,.45),0 0 13px rgba(75,149,255,.20)!important;
  opacity:0!important;transition:width .22s cubic-bezier(.2,.75,.2,1),opacity .18s ease!important;
}
.top-link::before{
  content:""!important;display:block!important;position:absolute!important;
  left:50%!important;bottom:4px!important;width:4px!important;height:4px!important;border-radius:50%!important;
  transform:translateX(-50%) scale(.25)!important;background:#dff5ff!important;
  box-shadow:0 0 0 1px rgba(60,126,245,.55),0 0 9px #65bfff!important;
  opacity:0!important;transition:opacity .18s ease,transform .22s cubic-bezier(.2,.75,.2,1)!important;
}
.top-link:hover::after{width:28px!important;opacity:.52!important}
.top-link.active::after{width:52px!important;opacity:1!important}
.top-link.active::before{opacity:1!important;transform:translateX(-50%) scale(1)!important}

/* Header auth/search controls: crisp hover only, no press square. */
.top-actions .login,.top-actions .signup,.top-actions .account-chip,.top-actions .mobile-menu,.top-actions .circle{
  transform:none!important;animation:none!important;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,filter .18s ease!important;
}
.top-actions .login:hover,.top-actions .account-chip:hover,.top-actions .mobile-menu:hover,.top-actions .circle:hover{
  border-color:rgba(55,105,205,.22)!important;box-shadow:0 8px 20px rgba(67,91,126,.08)!important;
}
.top-actions .signup:hover{filter:brightness(1.035)!important;box-shadow:0 11px 25px rgba(50,105,239,.25)!important}

@media(max-width:900px){
  .top-brand,.top-brand:hover{width:168px!important;height:29px!important}
  .top-brand-mark{width:168px!important;height:27px!important}
}

/* ============================================================
   V36 — ANIMATED WORDMARK + VISIBLE FUTURE MATCH TABS
   ============================================================ */

/* CashComp stays perfectly readable while an electric tracer runs through it. */
.top-brand-mark svg{
  filter:drop-shadow(0 4px 8px rgba(26,64,128,.08));
}
.wordmark-strokes path{
  animation:ccBasePulse 4.8s ease-in-out infinite;
}
.wordmark-energy path{
  fill:none;
  stroke:#4f8dff;
  stroke-width:2.55;
  stroke-linecap:square;
  stroke-linejoin:bevel;
  vector-effect:non-scaling-stroke;
  stroke-dasharray:7 54;
  stroke-dashoffset:0;
  opacity:.78;
  filter:drop-shadow(0 0 2px rgba(73,137,255,.75)) drop-shadow(0 0 7px rgba(95,183,255,.28));
  animation:ccEnergyTrace 3.9s linear infinite;
}
.wordmark-energy path:nth-child(2){animation-delay:-.18s}
.wordmark-energy path:nth-child(3){animation-delay:-.36s}
.wordmark-energy path:nth-child(4){animation-delay:-.54s}
.wordmark-energy path:nth-child(5){animation-delay:-.72s}
.wordmark-energy path:nth-child(6){animation-delay:-.90s}
.wordmark-energy path:nth-child(7){animation-delay:-1.08s}
.wordmark-energy path:nth-child(8){animation-delay:-1.26s}
.wordmark-cuts path{
  animation:ccCutPulse 2.9s ease-in-out infinite;
}
.wordmark-cuts path:nth-child(2n){animation-delay:-1.1s}
.wordmark-cuts path:nth-child(3n){animation-delay:-2.0s}
@keyframes ccEnergyTrace{
  0%{stroke-dashoffset:0;opacity:.36}
  18%{opacity:.92}
  62%{opacity:.68}
  100%{stroke-dashoffset:-122;opacity:.36}
}
@keyframes ccBasePulse{
  0%,100%{stroke:#0b1119}
  48%{stroke:#101a2a}
  54%{stroke:#17336a}
  62%{stroke:#0b1119}
}
@keyframes ccCutPulse{
  0%,100%{stroke:#edf5ff;filter:none;opacity:.92}
  47%{stroke:#eaf6ff;filter:none;opacity:.92}
  54%{stroke:#78c8ff;filter:drop-shadow(0 0 4px rgba(91,181,255,.8));opacity:1}
  64%{stroke:#edf5ff;filter:none;opacity:.92}
}

/* Tournament hub segmented navigation: inactive labels are always clearly visible. */
.match-tabs,
.match-tabs.glass-panel{
  position:relative!important;
  display:flex!important;
  gap:5px!important;
  padding:5px!important;
  background:linear-gradient(180deg,rgba(249,252,255,.96),rgba(238,245,255,.92))!important;
  border:1px solid rgba(76,116,183,.14)!important;
  border-radius:16px!important;
  box-shadow:0 10px 30px rgba(48,76,121,.08),inset 0 1px 0 rgba(255,255,255,.9)!important;
  overflow:visible!important;
}
.match-tabs .match-tab,
.match-tabs .match-tab.jelly,
.match-tabs .match-tab.gelatin-ui{
  position:relative!important;
  min-width:106px!important;
  padding:10px 18px 11px!important;
  color:#56657b!important;
  opacity:1!important;
  visibility:visible!important;
  background:transparent!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  box-shadow:none!important;
  text-shadow:none!important;
  font-weight:780!important;
  transform:none!important;
  animation:none!important;
  transition:color .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
.match-tabs .match-tab::after{
  content:"";
  position:absolute;
  left:50%;bottom:3px;
  width:0;height:2px;
  transform:translateX(-50%);
  border-radius:999px;
  background:linear-gradient(90deg,transparent,#5087fa 22%,#8bdcff 50%,#5087fa 78%,transparent);
  box-shadow:0 0 8px rgba(75,135,247,.35);
  opacity:0;
  transition:width .2s ease,opacity .2s ease;
}
.match-tabs .match-tab:hover{
  color:#255ed2!important;
  background:rgba(255,255,255,.68)!important;
  border-color:rgba(72,118,205,.12)!important;
}
.match-tabs .match-tab:hover::after{width:32px;opacity:.55}
.match-tabs .match-tab.active,
.match-tabs .match-tab.active.jelly,
.match-tabs .match-tab.active.gelatin-ui{
  color:#fff!important;
  background:linear-gradient(135deg,#2d66e8 0%,#4e8cff 58%,#66bcff 100%)!important;
  border-color:rgba(47,103,231,.25)!important;
  box-shadow:0 8px 18px rgba(45,101,231,.21),inset 0 1px 0 rgba(255,255,255,.34)!important;
}
.match-tabs .match-tab.active::after{width:44px;opacity:1;background:linear-gradient(90deg,transparent,#d9f6ff 50%,transparent)}

@media(max-width:620px){
  .match-tabs{width:100%!important;overflow-x:auto!important;justify-content:flex-start!important}
  .match-tabs .match-tab{min-width:max-content!important;padding-inline:14px!important}
}

@media(prefers-reduced-motion:reduce){
  .wordmark-strokes path,.wordmark-energy path,.wordmark-cuts path{animation:none!important}
  .wordmark-energy path{opacity:.18!important}
}

/* Final V36 colour cleanup: no warm/pink tint remains in the active hero headline. */
.home-canvas>.hero .hero-title .white{
  background:linear-gradient(180deg,#ffffff 0%,#f3f8ff 52%,#dcecff 100%)!important;
  -webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;
}
.home-canvas>.hero .hero-title .pink{
  background:linear-gradient(180deg,#c4ddff 0%,#82b1f8 48%,#4e8ff4 100%)!important;
  -webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;
}

/* 2FA enrollment — integrated into Settings without changing the visual language. */
.mfa-setup-box{display:grid;justify-items:center;gap:9px;margin:12px 0 15px;padding:14px;border:1px solid rgba(75,119,197,.14);border-radius:18px;background:linear-gradient(180deg,#f8fbff,#edf5ff)}
.mfa-qr{display:block;width:min(210px,70vw);height:auto;padding:8px;border-radius:14px;background:#fff;box-shadow:0 10px 26px rgba(41,77,130,.10)}
.mfa-setup-box small{color:#6b7789;font-weight:750}
.mfa-secret{max-width:100%;overflow-wrap:anywhere;padding:7px 10px;border-radius:9px;background:#fff;color:#2855a8;border:1px solid rgba(68,111,193,.13);font-size:11px}

/* ============================================================
   V37 — SOLANA / NON-CUSTODIAL WALLET CENTER
   ============================================================ */
.crypto-wallet-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:16px;margin-bottom:16px}
.crypto-wallet-main{min-height:250px!important;padding:24px!important;display:flex!important;flex-direction:column;justify-content:space-between;background:
  radial-gradient(circle at 84% 15%,rgba(73,149,255,.24),transparent 27%),
  radial-gradient(circle at 12% 90%,rgba(38,218,255,.15),transparent 32%),
  linear-gradient(145deg,rgba(236,247,255,.97),rgba(216,234,255,.92) 52%,rgba(196,222,255,.96))!important;
  border:1px solid rgba(94,160,235,.26)!important;box-shadow:0 25px 65px rgba(61,104,160,.13),inset 0 1px 0 rgba(255,255,255,.85)!important;color:#12365f!important}
.crypto-wallet-kicker{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:950;letter-spacing:.16em;color:#416a9b}
.crypto-live-dot{width:7px;height:7px;border-radius:50%;background:#2e9cff;box-shadow:0 0 0 5px rgba(46,156,255,.10),0 0 15px rgba(46,156,255,.45);animation:cryptoLive 1.9s ease-in-out infinite}
@keyframes cryptoLive{50%{box-shadow:0 0 0 8px rgba(46,156,255,0),0 0 24px rgba(46,156,255,.7)}}
.crypto-wallet-connected,.crypto-wallet-empty{display:flex;align-items:center;gap:15px;padding:20px 0}
.crypto-wallet-orb{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;font-size:29px;font-weight:900;color:#fff;background:linear-gradient(145deg,#2f9cff,#6079ff);box-shadow:0 12px 30px rgba(55,120,222,.28),inset 0 1px 0 rgba(255,255,255,.48)}
.crypto-wallet-connected-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.crypto-wallet-connected-copy small{font-size:9px;font-weight:950;letter-spacing:.12em;color:#6480a4}.crypto-wallet-connected-copy strong{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#12365f}.crypto-wallet-empty>div:nth-child(2){display:flex;flex-direction:column;gap:4px;flex:1}.crypto-wallet-empty strong{font-size:14px}.crypto-wallet-empty small{font-size:10px;color:#6380a1;line-height:1.45}
.crypto-wallet-inline-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.crypto-wallet-inline-actions .tiny-button{background:rgba(255,255,255,.55)!important;color:#315d90!important;border:1px solid rgba(60,116,185,.17)!important}
.wallet-verify{width:max-content;padding:4px 8px;border-radius:999px;font-size:8px;font-weight:950;letter-spacing:.04em}.wallet-verify.ok{background:rgba(22,181,122,.12);color:#118359}.wallet-verify.pending{background:rgba(50,140,255,.11);color:#2a73c7}.wallet-verify.off{background:rgba(91,112,141,.10);color:#637793}
.crypto-wallet-security-note{font-size:9px;color:#5b7799;border-top:1px solid rgba(80,130,190,.12);padding-top:13px}
.crypto-wallet-balance{min-height:250px!important}.crypto-wallet-balance .section-head{align-items:center}.chain-pill{font-size:8px;font-weight:950;letter-spacing:.1em;padding:5px 8px;border-radius:999px;background:#eaf2ff;color:#6681a3}.competition-balance{font-size:38px;line-height:1;font-weight:950;color:#173e6d;margin:30px 0 10px;letter-spacing:-.04em}.crypto-wallet-balance>p{font-size:10px!important;line-height:1.55!important;color:#7188a4!important;min-height:47px}.crypto-wallet-balance .wallet-actions{margin-top:18px}
.wallet-connect-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.wallet-connect-card{min-height:270px!important;padding:20px!important}.wallet-connect-head{display:flex;align-items:center;gap:11px}.wallet-connect-head>div:nth-child(2){flex:1}.wallet-connect-head h2{margin:0 0 2px!important;font-size:15px!important}.wallet-connect-head small{font-size:9px;color:#7188a4}.wallet-provider-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;font-weight:950;color:#fff;background:linear-gradient(145deg,#3ba7ff,#6677ff);box-shadow:0 9px 20px rgba(58,120,220,.20)}.wallet-connect-card.external .wallet-provider-icon{background:linear-gradient(145deg,#4ad5ef,#4290ff)}
.wallet-status-pill{font-size:8px;font-weight:950;padding:5px 8px;border-radius:999px;white-space:nowrap}.wallet-status-pill.ready{background:rgba(22,181,122,.11);color:#118359}.wallet-status-pill.setup{background:rgba(255,172,45,.13);color:#a36a0c}.wallet-connect-card>p{font-size:10px!important;line-height:1.55!important;color:#7188a4!important;margin:18px 0!important}
.wallet-provider-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.wallet-provider-actions.three{grid-template-columns:repeat(3,1fr)}.wallet-provider-btn{border:1px solid rgba(61,118,184,.16);background:linear-gradient(180deg,#fff,#eef5ff);color:#285987;border-radius:13px;min-height:40px;padding:9px 10px;font-size:9px;font-weight:950;cursor:pointer;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}.wallet-provider-btn:hover:not(:disabled){transform:translateY(-1px);border-color:rgba(47,147,255,.42);box-shadow:0 8px 20px rgba(56,115,190,.10)}.wallet-provider-btn.secondary{background:#f5f8fe}.wallet-provider-btn:disabled{opacity:.42;cursor:not-allowed}.wallet-owner-hint{display:block;margin-top:10px;color:#8799b0!important;font-size:8px!important}.wallet-owner-hint code,.wallet-config-warning code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#edf4ff;border-radius:6px;padding:2px 5px;color:#32689e}
.wallet-safety-grid{margin-top:0!important}.wallet-config-warning{margin-top:12px;padding:11px 12px;border:1px solid rgba(76,141,220,.15);background:rgba(235,244,255,.72);border-radius:13px;color:#58728f;font-size:9px;line-height:1.5}.wallet-config-warning strong{color:#285987}
.wallet-onboard-modal .eyebrow{font-size:9px;font-weight:950;letter-spacing:.15em;color:#4886c6}.wallet-onboard-modal h2{margin-top:5px}.wallet-onboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.wallet-onboard-choice{min-height:92px;border-radius:16px;border:1px solid rgba(67,124,193,.16);background:linear-gradient(180deg,#fff,#f0f6ff);display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;gap:1px 10px;text-align:left;align-items:center;padding:12px;cursor:pointer;color:#315e8d}.wallet-onboard-choice>b{grid-row:1/3;width:34px;height:34px;border-radius:11px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#42a8ff,#6678ff)}.wallet-onboard-choice>strong{font-size:10px}.wallet-onboard-choice>small{font-size:8px;color:#8397ae}.wallet-onboard-choice.featured{border-color:rgba(46,149,255,.34);box-shadow:0 10px 25px rgba(58,119,196,.09)}.wallet-onboard-choice:disabled{opacity:.42;cursor:not-allowed}.wallet-onboard-choice:hover:not(:disabled){transform:translateY(-1px)}
@media(max-width:980px){.crypto-wallet-hero,.wallet-connect-grid{grid-template-columns:1fr}.wallet-provider-actions.three{grid-template-columns:1fr}.crypto-wallet-connected,.crypto-wallet-empty{align-items:flex-start;flex-wrap:wrap}.crypto-wallet-inline-actions{width:100%;justify-content:flex-start}}
@media(max-width:600px){.wallet-onboard-grid,.wallet-provider-actions{grid-template-columns:1fr}.crypto-wallet-main{padding:18px!important}.crypto-wallet-connected-copy strong{max-width:240px}}

/* ============================================================
   V38 — PRIVATE MATCH PROOFS / SERVER SETTLEMENT UI
   ============================================================ */
.status-cancelled{background:#778da8!important}
.server-lock-note{
  margin:10px 0;padding:10px 12px;border:1px solid rgba(88,174,255,.22);border-radius:14px;
  background:linear-gradient(180deg,rgba(42,127,232,.10),rgba(25,73,135,.06));
  color:#365f8c;font-size:9px;font-weight:800;line-height:1.45;text-align:left
}
.evidence-help{display:block;text-align:left;color:#6f86a2;font-size:8px;line-height:1.4}
.evidence-empty{padding:10px;border:1px dashed rgba(74,137,207,.26);border-radius:14px;color:#7186a0;font-size:9px;margin:10px 0}
.evidence-list{display:grid;gap:8px;margin:12px 0;max-height:220px;overflow:auto;padding-right:2px}
.evidence-item{display:flex;gap:10px;align-items:center;justify-content:space-between;text-align:left;padding:10px 11px;border-radius:15px;background:rgba(77,139,210,.08);border:1px solid rgba(63,132,211,.15)}
.evidence-item>div{min-width:0}.evidence-item b{display:block;font-size:9px;color:#244c7a}.evidence-item small{display:block;font-size:8px;color:#758ba4;margin-top:2px}.evidence-item p{margin:4px 0 0!important;font-size:8px!important;color:#556f8d!important;white-space:normal;word-break:break-word}
.evidence-open{flex:0 0 auto;text-decoration:none;padding:7px 9px;border-radius:999px;background:linear-gradient(180deg,#62bfff,#2f84e8);color:#fff!important;font-size:8px;font-weight:900;box-shadow:0 6px 15px rgba(44,126,224,.16)}
.moderation-controls{display:grid;gap:7px;margin-top:13px;padding-top:12px;border-top:1px solid rgba(68,129,199,.17)}
.moderation-controls h4{margin:0 0 2px;font-size:10px;color:#294f7d}.moderation-controls small{font-size:8px;color:#72869f;line-height:1.35}.moderation-controls .match-action,.moderation-controls .tiny-button{width:100%}
#matchEvidenceForm .input[type="file"]{padding:9px;background:rgba(255,255,255,.68);border:1px solid rgba(79,141,210,.18)}


/* V41 — Devnet truth-only financial UI */
.devnet-mini-balance{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;margin:10px 0;border:1px solid rgba(55,81,115,.09);border-radius:14px;background:rgba(245,249,255,.78);font-size:10px;color:#7188a4}.devnet-mini-balance strong{color:#173e6d;font-size:12px}.competition-balance small{font-size:10px;letter-spacing:.08em;color:#6e86a3}.wallet-actions{display:flex;gap:8px;flex-wrap:wrap}.wallet-actions button{flex:1;min-width:110px}.match-money b{font-size:11px}.ref-rank-row strong{line-height:1.35}.reward-card button[disabled]{opacity:.55;cursor:not-allowed}.chain-pill{white-space:nowrap}
