/* ============================================================
   CHICKENMAN96 — POLLOS LIGHT theme (DEFAULT since 2026-07-24)
   Warm silver-white canvas + Los Pollos yellow/red accents;
   dark game art sits on white like framed gallery posters
   (zeroaud / BR8 composition). body.mw-light is baked into the
   <body> tag; ?dark=1 strips it (dev escape hatch, portal.js).
   MUST load AFTER chickenman-framework.css so equal-specificity
   !important rules resolve to the light layer.
   ============================================================ */

body.mw-skin.mw-light{
  --lt-bg:#f2efe8; --lt-surf:#ffffff; --lt-surf2:#faf7f0;
  --lt-line:rgba(122,74,14,.16); --lt-lineHi:rgba(122,74,14,.30);
  --lt-tx:#241505; --lt-txMed:#6b5b45; --lt-txLo:#97897a;
  --lt-red:#d2232a; --lt-redTx:#a01b21;
  --lt-gold:#c47c10; --lt-goldTx:#9a6b1f;
  --lt-grad:linear-gradient(135deg,#ff5a52 0%,#d2232a 52%,#a01b21 100%);
  --lt-goldgrad:linear-gradient(135deg,#ffd34e 0%,#fcb61a 48%,#f58220 100%);
  --lt-shadow:0 1px 2px rgba(58,36,8,.06), 0 12px 26px -16px rgba(58,36,8,.24);
}

/* ---------- page surfaces ---------- */
html:has(> body.mw-skin.mw-light){ background:#f2efe8 !important; }
html body.mw-skin.mw-light, body.mw-skin.mw-light #app-layout{
  background:var(--lt-bg) !important; color:var(--lt-tx) !important;
}
body.mw-skin.mw-light #scroll-content{
  background:
    radial-gradient(ellipse at 50% -8%, rgba(252,182,26,.14) 0%, rgba(242,239,232,0) 52%),
    linear-gradient(180deg,#f7f4ee 0%, #f2efe8 60%, #ece8df 100%) !important;
}

/* ---------- boot splash + loaders on light ---------- */
body.mw-skin.mw-light #mw-loading{
  background:radial-gradient(circle at 50% 40%, rgba(252,182,26,.20), rgba(247,244,238,.995) 58%) !important;
}
body.mw-skin.mw-light .mw-load-cap{ color:var(--lt-redTx) !important; text-shadow:none !important; }

/* ---------- header: white bar, red hairline (zeroaud style) ---------- */
body.mw-skin.mw-light #app-header{
  background:
    radial-gradient(ellipse at 18% -40%, rgba(252,182,26,.16), transparent 60%),
    radial-gradient(ellipse at 88% 140%, rgba(210,35,42,.07), transparent 55%),
    linear-gradient(180deg,#ffffff 0%, #f6f1e6 100%) !important;
  border-bottom:2px solid rgba(210,35,42,.55) !important;
  box-shadow:0 6px 16px -11px rgba(58,36,8,.35) !important;
}
/* wordmark = the W1 gold/red SVG itself (single source, no light recolor);
   just a soft lift for the mascot on the white bar */
body.mw-skin.mw-light #app-header .mw-heis{ filter:drop-shadow(0 1px 2px rgba(58,36,8,.30)) !important; }
/* partnership chip -> glossy red register key (wallet-button family; the flat
   yellow signboard read washed-out on the white bar - owner redesign 2026-08-07) */
body.mw-skin.mw-light #app-header [onclick*="partnership"]{
  background:linear-gradient(180deg,#ff6a55 0%,#d2232a 46%,#8f1418 100%) !important;
  border:1.5px solid #fcb61a !important;
  border-radius:9px !important;
  box-shadow:0 3px 10px -3px rgba(210,35,42,.55), inset 0 1.5px 0 rgba(255,255,255,.45), inset 0 -2px 4px rgba(0,0,0,.25) !important;
}
body.mw-skin.mw-light #app-header [onclick*="partnership"] .mw-dsp{
  color:#fff6e6 !important; text-shadow:0 1px 1px rgba(0,0,0,.35) !important;
}
body.mw-skin.mw-light #app-header [onclick*="partnership"] span span{ color:#ffd34e !important; text-shadow:0 1px 1px rgba(0,0,0,.35) !important; }
body.mw-skin.mw-light #app-header [onclick*="partnership"] > span.mw-dsp:last-of-type{
  color:#ffd34e !important;
}

/* hamburger */
body.mw-skin.mw-light #app-header button{ filter:none !important; }

/* ---------- welcome ticker band ---------- */
body.mw-skin.mw-light div:has(> #top-ticker){
  background:rgba(255,255,255,.72) !important;
  border-bottom:1px solid var(--lt-line) !important;
  backdrop-filter:blur(6px) !important;
}
body.mw-skin.mw-light #top-ticker{ background:transparent !important; }
body.mw-skin.mw-light #top-ticker .mw-welcome{ color:#3a2408 !important; }
body.mw-skin.mw-light #top-ticker .mw-welcome .mw-w-site{ color:var(--lt-redTx) !important; }
body.mw-skin.mw-light #top-ticker .mw-welcome .mw-w-partner{ color:var(--lt-goldTx) !important; }

/* ---------- generic light card surfaces ---------- */
body.mw-skin.mw-light .mw-jackpot,
body.mw-skin.mw-light .mw-comm-card,
body.mw-skin.mw-light .mw-promo,
body.mw-skin.mw-light .mw-steps > div,
body.mw-skin.mw-light #user-info-card > div,
body.mw-skin.mw-light #guest-info-card > div,
body.mw-skin.mw-light .mw-refbar-inner,
body.mw-skin.mw-light .mw-qi{
  background:var(--lt-surf) !important;
  border:1px solid var(--lt-line) !important;
  box-shadow:var(--lt-shadow) !important;
  color:var(--lt-tx) !important;
}

/* ---------- referral strip ---------- */
body.mw-skin.mw-light .mw-refbar-head > i:first-child{ color:var(--lt-red) !important; filter:none !important; }
body.mw-skin.mw-light .mw-refbar-head span{ color:var(--lt-tx) !important; }
body.mw-skin.mw-light .mw-refbar-line{ background:linear-gradient(90deg,rgba(210,35,42,.45),transparent) !important; }
body.mw-skin.mw-light .mw-refbar-cta{
  background:var(--lt-grad) !important; box-shadow:inset -1px 0 0 rgba(255,255,255,.25) !important;
}
body.mw-skin.mw-light .mw-refbar-cta .mw-refbar-t{ background:none !important; -webkit-text-fill-color:#fff !important; color:#fff !important; }
body.mw-skin.mw-light .mw-refbar-s{ color:#ffe9c9 !important; text-shadow:none !important; }
body.mw-skin.mw-light .mw-refbar-btn{ border-left:1px solid var(--lt-line) !important; color:var(--lt-red) !important; }
body.mw-skin.mw-light .mw-refbar-btn > i{ color:var(--lt-red) !important; filter:none !important; }
body.mw-skin.mw-light .mw-refbar-btn:hover{ background:rgba(210,35,42,.06) !important; color:var(--lt-redTx) !important; }
body.mw-skin.mw-light .mw-refbar-btn span{ color:var(--lt-txMed) !important; }

/* ---------- jackpot bar ---------- */
body.mw-skin.mw-light .mw-jp-cur{ color:var(--lt-goldTx) !important; }
body.mw-skin.mw-light .mw-jp-d{
  background:#fdf9ef !important; border:1px solid rgba(196,124,16,.45) !important;
  color:#9a6b1f !important; box-shadow:inset 0 1px 2px rgba(58,36,8,.10) !important;
}
body.mw-skin.mw-light .mw-jp-roll > span{ text-shadow:none !important; color:#9a6b1f !important; }

/* ---------- commission card ---------- */
body.mw-skin.mw-light .mw-comm-pct{ color:var(--lt-goldTx) !important; }
body.mw-skin.mw-light .mw-comm-h{ color:var(--lt-tx) !important; }
body.mw-skin.mw-light .mw-comm-sub{ color:var(--lt-redTx) !important; }
body.mw-skin.mw-light .mw-comm-tag span{ color:var(--lt-txMed) !important; }
body.mw-skin.mw-light .mw-comm-tag::before,
body.mw-skin.mw-light .mw-comm-tag::after{ background:var(--lt-line) !important; }
body.mw-skin.mw-light .mw-comm-btn{
  background:var(--lt-grad) !important; color:#fff !important; border:none !important;
  box-shadow:0 4px 12px -5px rgba(210,35,42,.55) !important;
}

/* ---------- left-rail promos + steps ---------- */
body.mw-skin.mw-light .mw-promo-lbl{ color:var(--lt-goldTx) !important; }
body.mw-skin.mw-light .mw-promo-big{ color:var(--lt-tx) !important; }
body.mw-skin.mw-light .mw-promo-sub{ color:var(--lt-txMed) !important; }
/* RETIRED (owner 2026-08-06: "chickenman 黑色看不清楚"): .mw-promo-eyebrow /
   .mw-promo-wm always sit ON the dark promo video/poster regardless of theme,
   so these light-theme dark-text overrides painted near-black on near-black.
   The caption's colours are owned by chickenman-skin.css ONLY - do not
   resurrect these. */
body.mw-skin.mw-light .mw-steps b{ color:var(--lt-redTx) !important; }
body.mw-skin.mw-light .mw-steps span{ color:var(--lt-txMed) !important; }

/* ---------- wallet card (real app component) ---------- */
body.mw-skin.mw-light #user-info-card .text-white,
body.mw-skin.mw-light #guest-info-card .text-white{ color:var(--lt-tx) !important; }
body.mw-skin.mw-light #user-info-card .text-gray-400,
body.mw-skin.mw-light #user-info-card .text-gray-500,
body.mw-skin.mw-light #guest-info-card .text-gray-400,
body.mw-skin.mw-light #guest-info-card .text-gray-500{ color:var(--lt-txMed) !important; }
body.mw-skin.mw-light #user-card-payid{ color:var(--lt-redTx) !important; }
/* big balance number -> pollos red (references show balance in brand red).
   :not(button) - LOGIN/REGISTER carry .font-black on the BUTTON itself, and this
   rule (same specificity, later file) was painting their text brand-red: invisible
   on the red key plate. Button text belongs to chickenman-skin.css. */
body.mw-skin.mw-light #user-info-card .font-black:not(button),
body.mw-skin.mw-light #guest-info-card .font-black:not(button){ color:var(--lt-red) !important; }
/* wallet buttons: RETIRED (2026-08-02). This block used to paint CSS gradient
   pills over the inherited pinkman neon webps; the wallet is now the Pollos
   counter-register (gpt-image key plates + Seedance counter icons) and
   chickenman-skin.css is the single owner of that look (#408: one element,
   one home - do not resurrect a competing rule here). */

/* ---------- hero banner + promo video: dark media in white poster frames ---------- */
body.mw-skin.mw-light #home-banner{
  background:#ffffff !important;
  border:3px solid #ffffff !important;
  border-radius:15px !important;
  box-shadow:0 5px 16px -6px rgba(58,36,8,.24), 0 1px 3px rgba(58,36,8,.12) !important;
}
body.mw-skin.mw-light .mw-promo-vid{
  background:#ffffff !important;
  border:3px solid #ffffff !important;
  box-shadow:0 5px 16px -6px rgba(58,36,8,.24), 0 1px 3px rgba(58,36,8,.12) !important;
}

/* ---------- GAME ART CARDS: framed posters on white ---------- */
body.mw-skin.mw-light .mw-ecard{
  background:#ffffff !important;
  border:3px solid #ffffff !important;
  border-radius:15px !important;
  box-shadow:0 5px 16px -6px rgba(58,36,8,.24), 0 1px 3px rgba(58,36,8,.12) !important;
}
body.mw-skin.mw-light .mw-ecard > div:first-child{ border-radius:12px !important; }

/* category tab tiles: white frame, art stays dark */
body.mw-skin.mw-light .mw-tabwrap{
  border-radius:14px !important;
  box-shadow:0 3px 10px -5px rgba(58,36,8,.22) !important;
}

/* section headings sit on light now (nuke any gradient-clip text -> solid dark) */
body.mw-skin.mw-light #view-home h2,
body.mw-skin.mw-light #view-home h3{ color:var(--lt-tx) !important; text-shadow:none !important; }
/* ...but the hero banner titles are NOT on light - they sit on a dark art panel.
   .mw-bnr-title is an <h2> (chickenman-banner.js:44), so the rule above was
   catching it and painting it near-black on near-black: measured 1.02:1, i.e.
   invisible. This is the unreadable banner title the client reported.
   The tell that it is this rule and not the artwork: in the same banner the
   eyebrow is still gold and the subtitle still cream, because neither is h2/h3. */
body.mw-skin.mw-light #home-banner .mw-bnr-title,
body.mw-skin.mw-light #home-banner h2,
body.mw-skin.mw-light #home-banner h3{
  color:#fff !important;
  text-shadow:0 2px 12px rgba(0,0,0,.75), 0 0 22px rgba(252,182,26,.35) !important;
}
body.mw-skin.mw-light .mw-pop-h span{
  background:none !important;
  -webkit-text-fill-color:var(--lt-tx) !important;
  color:var(--lt-tx) !important;
  text-shadow:none !important;
}
body.mw-skin.mw-light #view-home .text-white{ color:var(--lt-tx) !important; }
body.mw-skin.mw-light #view-home .text-gray-400,
body.mw-skin.mw-light #view-home .text-gray-500{ color:var(--lt-txMed) !important; }

/* ---------- side menu: white panel ---------- */
body.mw-skin.mw-light #side-menu > div,
body.mw-skin.mw-light #side-menu{
  background:linear-gradient(180deg,#ffffff 0%, #f6f1e6 100%) !important;
  color:var(--lt-tx) !important;
}
body.mw-skin.mw-light #side-menu .text-white{ color:var(--lt-tx) !important; }
body.mw-skin.mw-light #side-menu .text-gray-400,
body.mw-skin.mw-light #side-menu .text-gray-500{ color:var(--lt-txMed) !important; }
body.mw-skin.mw-light #side-menu a:hover{ background:rgba(210,35,42,.07) !important; }

/* ---- drawer redesign (owner 2026-08-07 "这两个部分重新设计过") ----
   Header: the leftover purple/pink wash becomes the Pollos red-orange band
   (same family as the leaderboard/bonus modal headers); brand text goes back
   to white-on-red. Items: the dark-era .text-gray-200 labels were ghost-pale
   on the cream panel - deep brown, a step bolder. */
body.mw-skin.mw-light #side-menu .p-5.border-b{
  background:linear-gradient(90deg,#D2232A,#F58220) !important;
  border-bottom:1px solid rgba(143,20,24,.4) !important;
}
body.mw-skin.mw-light #side-menu .p-5.border-b .text-white{
  color:#ffffff !important; text-shadow:0 1px 2px rgba(0,0,0,.28) !important;
}
body.mw-skin.mw-light #side-menu .p-5.border-b .text-gray-400{ color:#ffe9c7 !important; }
body.mw-skin.mw-light #side-menu .p-5.border-b button{
  background:rgba(0,0,0,.18) !important; color:#fff6e6 !important;
}
/* owner 2026-08-07: no mascot avatar in the drawer - the band carries the
   brand name alone */
body.mw-skin.mw-light #side-menu .brand-logo-box{ display:none !important; }
body.mw-skin.mw-light #side-menu .text-gray-200{
  color:#3a2408 !important; font-weight:600 !important;
}

/* ---------- footer v2: LIGHT (owner 2026-08-06 round 2: "不要这个黑色背景了") --
   The first light pass ghosted the white dark-bg-native logos on cream
   ("脱漆"); the dark-strip revert was then rejected. The better way: the 12
   white-monochrome logos now have warm-dark recoloured variants
   (images/footer/*-lt.webp, _tools/gen-footer-logos-light.js - godaddy stays
   original [box badge], bitcoin/tron/usdc force-recoloured [white wordmarks]),
   the coloured ones (mastercard/gcb/tst/bmm/bnb/gpay/itech) render as-is, and
   the 50-60% ghost opacity is lifted. Container + text back to light. */
body.mw-skin.mw-light #view-home #home-footer{
  background:var(--lt-surf2) !important;
  border-top:1px solid var(--lt-line) !important;
  box-shadow:none !important;
}
body.mw-skin.mw-light #view-home #home-footer .text-white{ color:var(--lt-tx) !important; text-shadow:none !important; }
body.mw-skin.mw-light #view-home #home-footer .text-gray-500{ color:var(--lt-txMed) !important; }
/* section headers (Verified & Licensed By / Certified By / Payment Methods):
   a dark-era skin rule paints .text-gray-600 pale gold #ead9b0 - invisible on
   the cream footer ("verify by, payment 那些字太浅了看不到") */
body.mw-skin.mw-light #view-home #home-footer .text-gray-600{ color:#7a4a1a !important; }
body.mw-skin.mw-light #view-home #home-footer .border-white\/10,
body.mw-skin.mw-light #view-home #home-footer .border-white\/5{ border-color:var(--lt-line) !important; }
body.mw-skin.mw-light #view-home #home-footer img{ opacity:.92 !important; }
body.mw-skin.mw-light #view-home #home-footer img:hover{ opacity:1 !important; }

/* ---------- bottom nav: warm dark anchor bar (BR8 keeps a dark nav on white) ---------- */
body.mw-skin.mw-light #bottom-nav{
  background:linear-gradient(180deg,#2e1c0c 0%, #1c1206 100%) !important;
  border-top:2px solid rgba(210,35,42,.6) !important;
  box-shadow:0 -6px 18px -12px rgba(58,36,8,.5) !important;
}

/* cashman v2 (chibi Gus tie-adjust, coins cropped out): slim portrait figure on
   a LIGHT header - resize pinkman's wide slot and swap its heavy black
   drop-shadow (invisible on pinkman's dark chrome, a dirty blob on cream)
   for a soft warm one. Loads after framework = wins the ties. */
/* IN-FLOW, not absolute: pinkman's left:% positioning resolves against the
   brand-stage button whose width/padding shifts per device - the figure
   drifted on real phones. As a normal flex child it just stands to the left
   of the wordmark on every screen, same slot the old avatar used. */
body.mw-skin #app-header .mw-cashman{
  position:static !important;
  transform:none !important;
  width:40px !important;
  min-width:40px;
  flex:0 0 auto !important;
  height:auto !important;
  max-width:none;
  margin:-3px -2px 0 0;
  pointer-events:none;
  filter:drop-shadow(0 1px 2px rgba(58,36,8,.32)) !important;
}

/* ============================================================
   CATEGORY RAIL = the Los Pollos backlit MENU BOARD above the counter.
   Was: dark casino cards with fire art + gold glow. Now: five vivid
   backlit panels bolted into one black mounting rail, flat menu-style
   icons (baked in the art), dark name band across the bottom of each
   panel carrying the DOM label. Loads after skin/framework = wins ties.
   ============================================================ */
/* the black rail the panels are mounted on */
body.mw-skin #view-home:is(.mw-reflowed,.mw-skinned-m) #pokies-tabs{
  background:linear-gradient(180deg,#241a12 0%,#150f0a 55%,#0d0906 100%) !important;
  border-top:2px solid rgba(255,255,255,.10) !important;
  border-bottom:3px solid #0a0705 !important;
  border-radius:10px !important;
  padding:9px 10px !important;
  box-shadow:0 8px 18px -12px rgba(30,18,6,.55), inset 0 1px 0 rgba(255,255,255,.07) !important;
}
/* each panel: square-ish backlit sign in a black bezel, no gold glow */
body.mw-skin #view-home:is(.mw-reflowed,.mw-skinned-m) .mw-rtab{
  background:#0d0906 !important;
  border:2.5px solid #100b07 !important;
  border-radius:7px !important;
  box-shadow:0 2px 0 rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.13),
             0 0 16px -6px rgba(255,214,120,.55) !important;   /* soft backlight bleed */
}
/* art fills the WHOLE panel (the dark name band is baked into the artwork) */
body.mw-skin #view-home:is(.mw-reflowed,.mw-skinned-m) .mw-rtab-art{
  top:0; left:0; right:0; bottom:0; height:auto !important;
  background-position:center top !important;
  filter:brightness(.94) saturate(1.02);
}
/* the old scrim gradient belonged to the dark-card look - off */
body.mw-skin #view-home:is(.mw-reflowed,.mw-skinned-m) .mw-rtab::after{
  content:none !important;
}
/* label sits on the baked dark band: menu-board type, tight and printed */
body.mw-skin #view-home:is(.mw-reflowed,.mw-skinned-m) .mw-rtab-lbl{ bottom:7px !important; }
body.mw-skin #view-home:is(.mw-reflowed,.mw-skinned-m) .mw-rtab-lbl .mw-cat{
  color:#fff6e2 !important; letter-spacing:.02em !important;
  text-shadow:0 1px 2px rgba(0,0,0,.85) !important;
}
body.mw-skin #view-home:is(.mw-reflowed,.mw-skinned-m) .mw-rtab-lbl .mw-sub{
  color:rgba(255,226,170,.78) !important;
}
/* hover/active = the panel's tube brightens (a lit sign, not a glowing card) */
body.mw-skin #view-home:is(.mw-reflowed,.mw-skinned-m) .mw-rtab:hover{
  border-color:#181009 !important;
  box-shadow:0 2px 0 rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.2),
             0 0 22px -4px rgba(255,214,120,.8) !important;
}
body.mw-skin #view-home:is(.mw-reflowed,.mw-skinned-m) .mw-rtab:hover .mw-rtab-art{ filter:brightness(1.04) saturate(1.06); }
body.mw-skin #view-home:is(.mw-reflowed,.mw-skinned-m) .mw-rtab.active-pokies-tab{
  border-color:#fcb61a !important;
  box-shadow:0 2px 0 rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.28),
             0 0 26px -2px rgba(252,182,26,.95) !important;
}
body.mw-skin #view-home:is(.mw-reflowed,.mw-skinned-m) .mw-rtab.active-pokies-tab .mw-rtab-art{
  filter:brightness(1.12) saturate(1.1); transform:none;
}
body.mw-skin #view-home:is(.mw-reflowed,.mw-skinned-m) .mw-rtab.active-pokies-tab .mw-rtab-lbl .mw-cat{
  color:#fff !important; text-shadow:0 0 10px rgba(252,182,26,.75), 0 1px 2px rgba(0,0,0,.9) !important;
}

/* ---------- support chat on the light canvas (s151, 2026-11-29) ----------
   app.js still paints the chat for the old dark canvas. A player reported
   "can you change your colour of writing, I can't see": support's reply is
   text-white on rgba(255,255,255,.08) = white on #f3f0ea (contrast 1.1), and
   the player's own bubble rides --btn-gradient, whose middle stop is #fff6e6.
   Bubbles (app.js, #chat-messages / #chat-waiting-messages / #chat-closed-messages):
   support = .rounded-2xl.rounded-bl-sm, player = .rounded-2xl.rounded-br-sm.
   Scoped to #view-chat on purpose: --btn-gradient and .text-white are used
   all over the site (see the .font-black lesson above - utility selectors
   hit more than you think). */
body.mw-skin.mw-light #view-chat .rounded-2xl.rounded-bl-sm{
  background:#ffffff !important; color:var(--lt-tx) !important;
  border:1px solid var(--lt-lineHi) !important;
  box-shadow:0 1px 2px rgba(58,36,8,.08) !important;
}
body.mw-skin.mw-light #view-chat .rounded-2xl.rounded-br-sm{
  background:var(--lt-goldgrad) !important; color:var(--lt-tx) !important;
}
/* logged-out screen: the SUPPORT title was white on cream */
body.mw-skin.mw-light #chat-state-login h3{ color:var(--lt-tx) !important; }
body.mw-skin.mw-light #chat-state-login p.text-gray-400{ color:var(--lt-txMed) !important; }
/* start screen: two pale-yellow lines on cream */
body.mw-skin.mw-light #chat-state-idle .support-helpdesk > p{ color:var(--lt-txMed) !important; }
body.mw-skin.mw-light #chat-history-section > div:first-child > span,
body.mw-skin.mw-light #chat-history-section > div:first-child > i{ color:var(--lt-redTx) !important; }
/* past chats list: the support name was white on cream, Load more grey on cream */
body.mw-skin.mw-light #chat-history-list > div[onclick]{
  background:#ffffff !important; border-color:var(--lt-line) !important;
}
body.mw-skin.mw-light #chat-history-list > div[onclick] p.text-white{ color:var(--lt-tx) !important; }
body.mw-skin.mw-light #chat-history-load-more{
  background:#ffffff !important; border-color:var(--lt-lineHi) !important; color:var(--lt-txMed) !important;
}
