/* Mawin88 public refresh. Every rule is public-scoped; admin layout is intentionally untouched. */
body:not(.admin-mode){
  --mw-bg:#171311;
  --mw-panel:#28201d;
  --mw-panel-2:#342723;
  --mw-line:rgba(242,190,93,.2);
  --mw-gold:#f1bc4b;
  --mw-gold-2:#b86b19;
  --mw-cream:#fff0bf;
  --mw-orange:#e16b21;
  --mw-red:#9e271e;
  background:#140e0d url('/assets/reference/background.jpeg') center top / cover fixed no-repeat;
}
body:not(.admin-mode)::before{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(115deg,rgba(20,12,9,.94),rgba(79,35,18,.72) 52%,rgba(92,16,12,.6));pointer-events:none}
body:not(.admin-mode) .topbar{background:rgba(28,22,20,.96);border-bottom-color:rgba(242,190,93,.2)}
body:not(.admin-mode) .brand img{height:34px;width:auto;object-fit:contain}
body:not(.admin-mode) .top-actions{gap:5px}
body:not(.admin-mode) .top-actions .btn-line{color:var(--mw-cream);border-color:var(--mw-gold)}
body:not(.admin-mode) .top-actions .btn-gold{background:linear-gradient(180deg,#ffe8a1,#f2b83f 48%,#b96a1a);box-shadow:0 3px 0 #6d3b0d}
body:not(.admin-mode) .mw-lang{display:grid;place-items:center;width:30px;height:32px;font-size:17px;opacity:.9}
body:not(.admin-mode) .drawer{background:#211917;border-right-color:var(--mw-line)}
body:not(.admin-mode) .drawer-head img{height:32px;width:auto;object-fit:contain}
body:not(.admin-mode) .drawer-quick a{background:#30231f;border-color:var(--mw-line)}
body:not(.admin-mode) .drawer-nav a.active,body:not(.admin-mode) .drawer-nav a:active{background:rgba(241,188,75,.14);color:var(--mw-cream)}
body:not(.admin-mode) .drawer-note{color:#c9aa82}
body:not(.admin-mode) .bottom-nav{background:rgba(35,27,24,.98);border-top-color:rgba(242,190,93,.22)}
body:not(.admin-mode) .bottom-nav a.active{color:var(--mw-cream)}
body:not(.admin-mode) .bottom-nav .orb{background:radial-gradient(circle at 35% 25%,#ffeeb4,#ef8c28 48%,#a72718);border-color:#281713;box-shadow:0 0 0 2px var(--mw-gold),0 7px 18px rgba(220,83,23,.42)}
body:not(.admin-mode) .bottom-nav .orb img{width:39px;height:39px;border-radius:50%;object-fit:cover}
body:not(.admin-mode) .float-help{background:#ffe4a0;color:#7d3514;box-shadow:0 6px 18px rgba(0,0,0,.5)}
body:not(.admin-mode) .mw-coin-pill{background:#32241f;border-color:rgba(241,188,75,.35)}
body:not(.admin-mode) .mw-coin-pill i{background:linear-gradient(180deg,#ffe9a2,#d88920);color:#321a06}

/* Lobby */
body:not(.admin-mode) .mw-lobby{max-width:1120px;margin:0 auto;padding:0 0 18px}
body:not(.admin-mode) .mw-hero{position:relative;overflow:hidden;border:1px solid rgba(242,190,93,.27);border-radius:13px;aspect-ratio:2.45/1;min-height:168px;background:#3b1d16;box-shadow:0 12px 30px rgba(0,0,0,.28);margin:0 0 12px}
body:not(.admin-mode) .mw-hero-track{display:flex;width:100%;height:100%;transition:transform .52s ease}
body:not(.admin-mode) .mw-hero-slide{position:relative;min-width:100%;height:100%;overflow:hidden;background:linear-gradient(125deg,#3c1b12,#9a3c1d 58%,#522017)}
body:not(.admin-mode) .mw-hero-slide>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.9) contrast(1.04)}
body:not(.admin-mode) .mw-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(24,12,9,.91),rgba(37,15,10,.45) 54%,rgba(24,7,5,.1));pointer-events:none}
body:not(.admin-mode) .mw-hero-copy{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;max-width:62%;padding:18px 22px;color:#fff7dd}
body:not(.admin-mode) .mw-hero-copy h1{font-size:clamp(22px,5vw,40px);line-height:1.02;margin:3px 0 7px;text-shadow:0 3px 10px #000}
body:not(.admin-mode) .mw-hero-copy p{font-size:clamp(11px,2vw,15px);color:#ffe5b0;margin-bottom:14px;text-shadow:0 2px 5px #000}
body:not(.admin-mode) .mw-kicker{font-size:10px;letter-spacing:2px;color:#ffd77d;font-weight:900}
body:not(.admin-mode) .mw-gold-cta{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border-radius:999px;padding:9px 19px;background:linear-gradient(180deg,#fff1b2,#f3be4d 45%,#b56517);box-shadow:0 3px 0 #6d3c0d;color:#321b07;font-size:13px;font-weight:900;border:0;cursor:pointer;text-decoration:none}
body:not(.admin-mode) .mw-gold-cta:active{transform:translateY(2px);box-shadow:0 1px 0 #6d3c0d}
body:not(.admin-mode) .mw-hero-dots{position:absolute;bottom:9px;left:0;right:0;display:flex;justify-content:center;gap:6px;z-index:2}
body:not(.admin-mode) .mw-hero-dots button{width:7px;height:7px;padding:0;border:0;border-radius:9px;background:rgba(255,239,190,.45);cursor:pointer}
body:not(.admin-mode) .mw-hero-dots button.is-active{width:20px;background:var(--mw-gold)}
body:not(.admin-mode) .mw-disclosure{display:flex;gap:8px;align-items:flex-start;border:1px solid rgba(241,188,75,.28);background:rgba(44,26,18,.86);border-radius:10px;color:#f2dba8;padding:9px 11px;margin-bottom:12px;font-size:12px;line-height:1.45}
body:not(.admin-mode) .mw-disclosure>span:first-child{color:var(--mw-gold);font-size:15px;line-height:1}
body:not(.admin-mode) .mw-lobby-layout{display:grid;grid-template-columns:80px minmax(0,1fr);gap:11px;align-items:start}
body:not(.admin-mode) .mw-category-rail{display:flex;flex-direction:column;gap:7px;position:sticky;top:calc(var(--top) + 10px);max-height:calc(100vh - var(--top) - 22px);overflow-y:auto;scrollbar-width:none}
body:not(.admin-mode) .mw-category-rail::-webkit-scrollbar{display:none}
body:not(.admin-mode) .mw-cat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:70px;padding:6px 3px;border:1px solid rgba(241,188,75,.14);border-radius:11px;background:linear-gradient(155deg,rgba(86,52,30,.9),rgba(44,29,23,.96));color:#ead6b0;cursor:pointer;text-align:center}
body:not(.admin-mode) .mw-cat:hover{border-color:rgba(241,188,75,.65)}
body:not(.admin-mode) .mw-cat.is-active{border-color:var(--mw-gold);background:linear-gradient(155deg,rgba(164,87,21,.9),rgba(72,34,20,.98));color:#fff0b8;box-shadow:0 0 0 1px rgba(241,188,75,.12),0 6px 15px rgba(0,0,0,.2)}
body:not(.admin-mode) .mw-cat-icon{display:grid;place-items:center;width:34px;height:30px}
body:not(.admin-mode) .mw-cat-image{width:30px;height:30px;object-fit:contain;filter:drop-shadow(0 2px 3px rgba(0,0,0,.45))}
body:not(.admin-mode) .mw-cat .mw-art-fallback{font-size:24px;line-height:1}
body:not(.admin-mode) .mw-cat b{font-size:10px;line-height:1.05;font-weight:800}
body:not(.admin-mode) .mw-cat small{font-size:9px;color:#cba778}
body:not(.admin-mode) .mw-catalogue{min-width:0}
body:not(.admin-mode) .mw-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:2px 0 9px;color:#f6e4ba}
body:not(.admin-mode) .mw-section-head h2{font-size:18px;line-height:1.15;margin:2px 0 3px}
body:not(.admin-mode) .mw-section-head p{font-size:11px;color:#c9aa82;margin:0}
body:not(.admin-mode) .mw-search{display:flex;align-items:center;gap:6px;min-height:35px;border:1px solid rgba(241,188,75,.24);border-radius:9px;background:rgba(35,23,19,.86);padding:0 9px;color:#e9c56f}
body:not(.admin-mode) .mw-search input{width:100%;min-width:0;background:transparent;border:0;outline:0;color:#fff4d2;font-size:12px}
body:not(.admin-mode) .mw-search input::placeholder{color:#9d8166}
body:not(.admin-mode) .mw-provider-search{width:min(190px,43%)}
body:not(.admin-mode) .mw-provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
body:not(.admin-mode) .mw-provider-card{position:relative;display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:132px;padding:0;overflow:hidden;border:1px solid rgba(241,188,75,.18);border-radius:11px;background:linear-gradient(155deg,#4a2a1d,#241a18 72%);color:#fff0c7;text-align:left;cursor:pointer;box-shadow:0 7px 17px rgba(0,0,0,.2)}
body:not(.admin-mode) .mw-provider-card:hover{border-color:rgba(241,188,75,.7);transform:translateY(-1px)}
body:not(.admin-mode) .mw-provider-art{display:grid;place-items:center;min-height:92px;flex:1;background:radial-gradient(circle at 55% 35%,rgba(224,113,31,.55),transparent 48%),linear-gradient(145deg,#683417,#281614);overflow:hidden}
body:not(.admin-mode) .mw-provider-image{width:100%;height:100%;object-fit:cover;min-height:92px;opacity:.93}
body:not(.admin-mode) .mw-provider-native-icon{font-size:44px;filter:drop-shadow(0 4px 4px #0008)}
body:not(.admin-mode) .mw-provider-name{padding:7px 7px 1px;font-size:11px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:not(.admin-mode) .mw-provider-card>small{padding:1px 7px 7px;color:#c9a77d;font-size:9px}
body:not(.admin-mode) .mw-provider-card.is-native .mw-provider-art{background:radial-gradient(circle at center,#b95e24,#321b15 70%)}
body:not(.admin-mode) .mw-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:148px;padding:20px;border:1px dashed rgba(241,188,75,.25);border-radius:12px;color:#f0d39f;text-align:center;background:rgba(35,22,18,.68)}
body:not(.admin-mode) .mw-empty strong{font-size:14px;margin-bottom:5px}
body:not(.admin-mode) .mw-empty span{font-size:12px;color:#b8956e}
body:not(.admin-mode) .mw-drilldown{min-width:0}
body:not(.admin-mode) .mw-back{border:0;padding:0;background:none;color:#e9b94e;cursor:pointer;font-size:11px;font-weight:800}
body:not(.admin-mode) .mw-game-tools{display:flex;align-items:center;gap:9px;margin-bottom:9px}
body:not(.admin-mode) .mw-game-tools .mw-search{flex:1}
body:not(.admin-mode) .mw-page-count{color:#c9aa82;font-size:10px;white-space:nowrap}
body:not(.admin-mode) .mw-game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
body:not(.admin-mode) .mw-game-card{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid rgba(241,188,75,.18);border-radius:11px;background:#2a1d1a;color:#fff0ca;text-align:left;cursor:pointer;text-decoration:none}
body:not(.admin-mode) .mw-game-card:hover{border-color:rgba(241,188,75,.7)}
body:not(.admin-mode) .mw-game-art{display:grid;place-items:center;height:105px;background:linear-gradient(145deg,#753517,#251617);overflow:hidden}
body:not(.admin-mode) .mw-game-art>span{font-size:42px;filter:drop-shadow(0 3px 4px #0009)}
body:not(.admin-mode) .mw-game-image{width:100%;height:100%;object-fit:cover}
body:not(.admin-mode) .mw-game-card>b{padding:7px 7px 1px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:not(.admin-mode) .mw-game-card>small{padding:1px 7px 8px;font-size:9px;color:#c5a47c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:not(.admin-mode) .mw-game-card>em{position:absolute;top:6px;left:6px;padding:2px 5px;border-radius:4px;background:#a13a20;color:#fff0ce;font-style:normal;font-size:8px;font-weight:900;letter-spacing:.4px}
body:not(.admin-mode) .mw-native-game .mw-game-art{background:radial-gradient(circle at 50% 30%,#bd6d25,#431d17 73%)}
body:not(.admin-mode) .mw-pager{display:flex;align-items:center;justify-content:center;gap:12px;margin:13px 0 4px;color:#eac471;font-size:12px}
body:not(.admin-mode) .mw-pager button{border:1px solid rgba(241,188,75,.35);border-radius:8px;background:#35221b;color:#ffe7a8;padding:7px 10px;cursor:pointer}
body:not(.admin-mode) .mw-pager button:disabled{opacity:.4;cursor:not-allowed}
body:not(.admin-mode) .mw-catalogue-modal .mw-modal-badge{display:inline-block;padding:4px 7px;border:1px solid rgba(241,188,75,.55);border-radius:5px;color:#ffd978;font-size:9px;font-weight:900;letter-spacing:1px}
body:not(.admin-mode) .mw-catalogue-modal h2{margin-top:9px}
body:not(.admin-mode) .mw-catalogue-modal p{font-size:13px}
body:not(.admin-mode) .mw-modal-thumb{height:130px;overflow:hidden;border-radius:10px;margin:10px 0;background:#271714;text-align:center}
body:not(.admin-mode) .mw-modal-thumb img{height:100%;max-width:100%;object-fit:cover}
body:not(.admin-mode) .mw-catalogue-modal .mw-modal-note{border-left:3px solid var(--mw-gold);padding-left:9px;color:#f1d694}

/* Auth */
body:not(.admin-mode) .mw-auth-card{max-width:460px;margin:7px auto 24px;padding:22px 19px;background:rgba(39,29,26,.97);border:1px solid rgba(241,188,75,.28);border-radius:15px;box-shadow:0 18px 45px rgba(0,0,0,.32)}
body:not(.admin-mode) .mw-auth-brand{text-align:center;margin-bottom:8px}
body:not(.admin-mode) .mw-auth-brand img{width:min(205px,70%);height:38px;object-fit:contain}
body:not(.admin-mode) .mw-auth-card h1{text-align:center;color:#fff0bf;font-size:23px;margin-bottom:4px}
body:not(.admin-mode) .mw-auth-sub{text-align:center;color:#c9aa82;font-size:12px;margin-bottom:16px}
body:not(.admin-mode) .mw-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:3px;background:#1c1412;border:1px solid rgba(241,188,75,.18);border-radius:9px;padding:3px;margin-bottom:15px}
body:not(.admin-mode) .mw-auth-tabs button{border:0;border-radius:7px;background:transparent;color:#b99b77;padding:9px 5px;font-size:12px;font-weight:800;cursor:pointer}
body:not(.admin-mode) .mw-auth-tabs button.is-active{background:linear-gradient(180deg,#f9d97e,#bf7620);color:#341a06}
body:not(.admin-mode) .mw-field{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}
body:not(.admin-mode) .mw-field label{font-size:12px;color:#d5b486}
body:not(.admin-mode) .mw-auth .input{background:#1d1513;border-color:rgba(241,188,75,.2);border-radius:8px;padding:11px;color:#fff3d4}
body:not(.admin-mode) .mw-auth .input:focus{border-color:var(--mw-gold)}
body:not(.admin-mode) .mw-password{position:relative}
body:not(.admin-mode) .mw-password .input{padding-right:42px}
body:not(.admin-mode) .mw-eye{position:absolute;right:4px;top:4px;width:35px;height:35px;border:0;background:transparent;color:#e5b957;cursor:pointer}
body:not(.admin-mode) .mw-phone-row{display:grid;grid-template-columns:112px 1fr;gap:7px}
body:not(.admin-mode) .mw-country{font-size:12px;padding:9px 4px!important}
body:not(.admin-mode) .mw-auth-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:3px 0 10px;color:#c9aa82;font-size:11px}
body:not(.admin-mode) .mw-auth-row label{display:flex;gap:5px;align-items:center}
body:not(.admin-mode) .mw-auth-row a,body:not(.admin-mode) .mw-switch a{color:#efbd4f;font-weight:800}
body:not(.admin-mode) .mw-consent{display:flex;align-items:flex-start;gap:8px;margin:4px 0 11px;color:#cfb18b;font-size:11px;line-height:1.4}
body:not(.admin-mode) .mw-consent input{accent-color:var(--mw-gold);margin-top:2px}
body:not(.admin-mode) .mw-session-note{font-size:10px;line-height:1.4;color:#987c62;margin:4px 0 12px}
body:not(.admin-mode) .mw-submit{width:100%;font-size:14px}
body:not(.admin-mode) .mw-switch{text-align:center;margin-top:15px;color:#c9aa82;font-size:12px}

@media (min-width:760px){
  body:not(.admin-mode) .mw-lobby{padding-top:2px}
  body:not(.admin-mode) .mw-provider-grid,body:not(.admin-mode) .mw-game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body:not(.admin-mode) .mw-provider-card{min-height:155px}
  body:not(.admin-mode) .mw-provider-art{min-height:112px}
  body:not(.admin-mode) .mw-game-art{height:125px}
}
@media (max-width:520px){
  body:not(.admin-mode) .mw-hero{aspect-ratio:1.85/1;min-height:156px}
  body:not(.admin-mode) .mw-hero-copy{max-width:76%;padding:14px 15px}
  body:not(.admin-mode) .mw-hero-copy h1{font-size:23px}
  body:not(.admin-mode) .mw-hero-copy p{font-size:10px;margin-bottom:9px}
  body:not(.admin-mode) .mw-lobby-layout{grid-template-columns:62px minmax(0,1fr);gap:8px}
  body:not(.admin-mode) .mw-cat{min-height:63px;border-radius:9px}
  body:not(.admin-mode) .mw-cat-icon{width:27px;height:25px}
  body:not(.admin-mode) .mw-cat-image{width:25px;height:25px}
  body:not(.admin-mode) .mw-cat .mw-art-fallback{font-size:20px}
  body:not(.admin-mode) .mw-cat b{font-size:8px}
  body:not(.admin-mode) .mw-cat small{font-size:8px}
  body:not(.admin-mode) .mw-section-head{align-items:stretch;flex-direction:column;gap:7px}
  body:not(.admin-mode) .mw-provider-search{width:100%}
  body:not(.admin-mode) .mw-provider-card{min-height:119px}
  body:not(.admin-mode) .mw-provider-art{min-height:78px}
  body:not(.admin-mode) .mw-provider-name{font-size:10px;padding-top:5px}
  body:not(.admin-mode) .mw-provider-card>small{font-size:8px;padding-bottom:5px}
  body:not(.admin-mode) .mw-game-grid{gap:7px}
  body:not(.admin-mode) .mw-game-art{height:78px}
  body:not(.admin-mode) .mw-game-art>span{font-size:32px}
  body:not(.admin-mode) .mw-game-card>b{font-size:10px;padding:5px 5px 1px}
  body:not(.admin-mode) .mw-game-card>small{font-size:8px;padding:1px 5px 6px}
  body:not(.admin-mode) .mw-game-tools{align-items:stretch;flex-direction:column}
  body:not(.admin-mode) .mw-page-count{text-align:right}
}
