/* ============================================================
   CHICKENMAN96 — blush/chrome design system (ported from
   the Claude Design project home.jsx + chrome.jsx).
   Loaded AFTER theme-sun.css so it wins. Drives the redesigned
   home + chrome. Mobile-first (PWA app) + centered desktop (web).
   ============================================================ */
:root{
  /* PINK+WHITE theme. Accent = blush pink, highlight = warm white, secondary = rose. */
  /* 3-tier dark elevation: page (deepest) < surface < card (raised) so cards FLOAT */
  --mw-bg:#241a0e; --mw-bgElev:#221a0e; --mw-bgCard:#2a2027; --mw-bgCardHi:#3a2c14;
  --mw-line:rgba(252,182,26,.30); --mw-lineHi:rgba(255,211,78,.48); --mw-lineActive:rgba(252,182,26,.74); --mw-lineGold:rgba(255,211,78,.55);
  --mw-gold:#fcb61a; --mw-goldHi:#fff6e6; --mw-goldLo:#d2232a; --mw-ember:#ffd34e; --mw-crimson:#d2232a; --mw-vipGold:#fff6e1;
  /* WARM GOLD = money/reward accent ONLY (jackpot, balance, VIP, deposit, commission) */
  --mw-money:#f5c451; --mw-moneyHi:#f7d473; --mw-moneyLo:#e0a93a; --mw-txOnMoney:#2a1d05; --mw-gradMoney:linear-gradient(180deg,#f7d473 0%,#f5c451 55%,#e0a93a 100%);
  --mw-tx:#fff6e1; --mw-txHi:#fff6e6; --mw-txMed:#d9ccb8; --mw-txLo:#a89882; --mw-txOnGold:#2e1c0c;
  --mw-gradGold:linear-gradient(135deg,#fff6e6 0%,#fcb61a 48%,#d2232a 100%);
  --mw-gradCardFeature:linear-gradient(135deg, rgba(252,182,26,.14) 0%, rgba(210,35,42,.05) 100%);
  --mw-gradBg:radial-gradient(ellipse at 50% -10%, rgba(252,182,26,.13) 0%, rgba(36,26,14,0) 55%), linear-gradient(180deg,#221a0e 0%,#241a0e 100%);
  --mw-fontD:'Rajdhani','Orbitron',system-ui,sans-serif;
  --mw-fontB:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --mw-fontM:'JetBrains Mono',ui-monospace,'SF Mono',Menlo,monospace;
}

/* ---- page background + typography ---- */
html, body { background:#241a0e !important; }
body.mw-design, body.mw-design #app-layout { font-family:var(--mw-fontB); color:var(--mw-tx); }
body.mw-design #scroll-content { background:var(--mw-gradBg) !important; }
.mw-dsp{ font-family:var(--mw-fontD); }
.mw-mono{ font-family:var(--mw-fontM); }

/* ---- center the app column (web version = phone-width on desktop) ---- */
body.mw-design #app-main{ max-width:480px !important; margin:0 auto !important; }
body.mw-design #app-header > .mw-header{ max-width:480px; margin:0 auto; }
body.mw-design #bottom-nav #nav-icons-container{ max-width:480px !important; }

/* ---- header restyle ---- */
body.mw-design #app-header{
  background:linear-gradient(180deg, rgba(252,182,26,.05) 0%, rgba(10,7,5,0) 100%) !important;
  border-bottom:1px solid var(--mw-line) !important;
}
.mw-header{ position:relative; display:grid; grid-template-columns:36px 1fr auto; align-items:center; gap:10px; padding:8px 14px; }

/* ---- ticker / marquee restyle ---- */
body.mw-design #scroll-content > .h-8{
  height:28px !important; background:rgba(252,182,26,.06) !important;
  border-top:1px solid var(--mw-lineHi) !important; border-bottom:1px solid var(--mw-lineHi) !important;
}

/* ---- bottom nav restyle ---- */
body.mw-design #bottom-nav{ background:#0a0705 !important; border-top:1px solid var(--mw-line) !important; }
body.mw-design #bottom-nav #nav-icons-container{ padding:6px 6px 0 !important; }

/* ---- keyframes ---- */
@keyframes mwHeroPulse{0%,100%{opacity:1}50%{opacity:.3}}
@keyframes mwMq{from{transform:translateX(0)}to{transform:translateX(-33.333%)}}
@keyframes mwTileBreath{0%,100%{box-shadow:inset 0 0 0 1px rgba(200,163,85,.32),0 0 10px -2px rgba(200,163,85,.45)}50%{box-shadow:inset 0 0 0 1px rgba(200,163,85,.7),0 0 22px 0 rgba(200,163,85,.45)}}
@keyframes mwTileBreathA{0%,100%{box-shadow:inset 0 0 0 1px rgba(255,211,78,.32),0 0 10px -2px rgba(255,211,78,.55)}50%{box-shadow:inset 0 0 0 1px rgba(255,211,78,.7),0 0 22px 0 rgba(255,211,78,.55)}}
@keyframes mwSpin{0%{transform:rotate(0)}66.7%{transform:rotate(360deg)}100%{transform:rotate(360deg)}}
@keyframes mwChestBob{0%{transform:translateY(-6px)}50%{transform:translateY(6px)}100%{transform:translateY(-6px)}}
@keyframes mwBlade{0%{background-position:220% 0}100%{background-position:-120% 0}}

/* ---- character image crop (uses local framed art, crops to face) ---- */
.mw-charimg{ width:140%; height:140%; object-fit:cover; object-position:center 15%; position:absolute; left:50%; top:46%; transform:translate(-50%,-50%); }

/* ---- floating overlays (anchored to the centered column on desktop) ---- */
.mw-overlay{ position:fixed; z-index:99; }
.mw-chest{ top:150px; right:calc(50% - 232px); }
.mw-sidetabs{ top:320px; right:calc(50% - 240px); display:flex; flex-direction:column; gap:10px; }
.mw-downloadbar{ left:50%; transform:translateX(-50%); bottom:78px; width:100%; max-width:456px; padding:0 12px; }
@media (max-width:500px){
  .mw-chest{ right:8px; }
  .mw-sidetabs{ right:0; }
  .mw-downloadbar{ width:100%; max-width:none; }
}

/* ============================================================
   DESKTOP WEB LAYOUT (>=980px) — real website, full-width use
   ============================================================ */
body.mw-desktop #app-main{ max-width:1320px !important; margin:0 auto !important; padding:0 28px; }
body.mw-desktop #app-header > .mw-dt-header{ max-width:1320px; margin:0 auto; }
body.mw-desktop #scroll-content{ bottom:0 !important; }
body.mw-desktop #bottom-nav{ display:none !important; }
body.mw-desktop #mw-overlays{ display:none !important; }

/* desktop header / top nav */
.mw-dt-header{ display:flex; align-items:center; gap:24px; padding:10px 28px; }
.mw-dt-hleft{ display:flex; align-items:center; gap:16px; flex-shrink:0; }
.mw-dt-nav{ display:flex; align-items:center; gap:4px; margin:0 auto; }
.mw-dtlink{ font-family:var(--mw-fontD); font-size:13px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--mw-txMed); padding:9px 16px; border-radius:8px; cursor:pointer; transition:all .15s; white-space:nowrap; }
.mw-dtlink:hover{ color:var(--mw-tx); background:rgba(252,182,26,.06); }
.mw-dtlink.on{ color:var(--mw-gold); background:rgba(252,182,26,.12); box-shadow:inset 0 0 0 1px var(--mw-lineActive); }
.mw-dt-hright{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.mw-dt-deposit{ padding:10px 22px; border-radius:10px; background:var(--mw-gradGold); color:var(--mw-txOnGold); border:none; font-size:12px; font-weight:800; letter-spacing:.1em; cursor:pointer; box-shadow:0 0 14px rgba(252,182,26,.35); }

/* desktop home grid */
.mw-dt{ padding-top:22px; }
.mw-dt-hero > div{ margin:0 !important; aspect-ratio:auto !important; height:340px; }
.mw-dt-grid{ display:grid; grid-template-columns:1fr 384px; gap:28px; margin-top:28px; align-items:start; }
.mw-dt-left > *{ margin:0 !important; }
.mw-dt-left > * + *{ margin-top:24px !important; }
.mw-dt-right > *{ margin:0 !important; }
.mw-dt-right > * + *{ margin-top:18px !important; }
/* neutralise the mobile section horizontal padding inside the columns */
body.mw-desktop .mw-dt-left [style*="padding:0 14px"]{ padding-left:0 !important; padding-right:0 !important; }
body.mw-desktop .mw-dt-left [style*="margin:18px 0 0;padding:0 14px 6px"]{ margin-top:0 !important; }
/* providers: 5 across on desktop */
body.mw-desktop .mw-dt-left [style*="grid-template-columns:repeat(3,1fr)"]{ grid-template-columns:repeat(5,1fr) !important; }
/* footer spans the whole width */
body.mw-desktop .mw-dt > div:last-of-type{ }

