/* ===== Liroth v8.29 - celular: topo compacto, faixa de status, barra de baixo, cartoes deslizaveis ===== */
.m2-top,.bw-strip,.bw-bnav,.bw-cta-fix,.bw-mextra,.bw-dots,.bw-wtitle,.bw-apoie,.m2-more{display:none}
.bw-tag{display:inline-block;align-self:flex-start;margin:0 0 4px;padding:2px 8px;border-radius:6px;background:#e2b04a;color:#2b1c00;font:700 11px/1.4 'BW Barlow',sans-serif;font-style:normal}

@media (max-width:900px){
  body.bw-m2{padding-top:94px !important;padding-bottom:calc(76px + env(safe-area-inset-bottom)) !important}
  html body.bw-m2 #LeftArtwork,html body.bw-m2 #Loginbox,html body.bw-m2 #DownloadBox,html body.bw-m2.bw-clean .InfoBar,html body.bw-m2 .InfoBar,html body.bw-m2 #statusbar{display:none !important}
  body.bw-m2 #ContentRow{padding-top:6px}

  /* topo */
  body.bw-m2 .m2-top{display:flex;position:fixed;left:0;right:0;top:0;height:60px;z-index:90;align-items:center;gap:10px;padding:0 12px;background:rgba(13,12,11,.95);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid #2a2622}
  body.bw-m2 .m2-top .bw-logo{display:flex;align-items:center;height:60px}
  body.bw-m2 .m2-top .bw-logo img{height:46px;width:auto;margin-left:-4px}
  body.bw-m2 .m2-top .bw-sp{flex:1}
  body.bw-m2 .m2-top .bw-entrar{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 16px;border-radius:10px;border:1px solid #e2b04a;background:linear-gradient(#f0cd7a,#c99a3a);color:#2b1c00 !important;font:600 14px 'BW Barlow',sans-serif;text-decoration:none !important}
  body.bw-m2 .bw-menubtn{position:static !important;display:flex;align-items:center;justify-content:center;width:40px;height:38px;padding:0 !important;font-size:0 !important;gap:0;border-radius:10px;margin:0}
  body.bw-m2 .bw-menubtn i{margin:0}
  /* faixa de status */
  body.bw-m2 .bw-strip{display:flex;position:fixed;left:0;right:0;top:60px;height:34px;z-index:89;align-items:center;justify-content:center;gap:16px;background:#14110c;border-bottom:1px solid #2a2622;font:500 12.5px 'BW Barlow',sans-serif;color:#cfc6b0}
  body.bw-m2 .bw-strip b{color:#f3d489;font-weight:600}
  body.bw-m2 .bw-strip .m2-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;background:#8a8470}
  body.bw-m2 .bw-strip .m2-dot.on{background:#4fc66a}
  body.bw-m2.bw-menu-open .bw-strip{display:none}
  /* menu (gaveta) */
  body.bw-m2.bw-menu-open #Menu{top:60px !important;bottom:calc(64px + env(safe-area-inset-bottom)) !important;z-index:85}
  body.bw-m2 .bw-mextra{display:block;max-width:520px;margin:6px auto 0;padding:0 2px}
  .bw-mextra h5{margin:18px 0 8px;font:600 12px 'BW Barlow',sans-serif;color:#9c927c;letter-spacing:.3px}
  .bw-mextra .bw-chips{display:flex;flex-wrap:wrap;gap:8px}
  .bw-mextra .bw-chips a,.bw-mextra .bw-chips select{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 12px;border-radius:10px;border:1px solid #3a362f;background:#141312;color:#e9e1cc !important;font:500 13.5px 'BW Barlow',sans-serif;text-decoration:none !important}
  .bw-mextra .bw-chips a.on{border-color:#e2b04a;color:#f3d489 !important}
  .bw-mextra .bw-chips a img{height:15px;width:auto}
  .bw-mextra .bw-chips select{min-width:140px}
  .bw-mextra form{margin:0}
  /* barra de baixo */
  body.bw-m2 .bw-bnav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:90;height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:rgba(16,14,11,.97);border-top:1px solid #3a2f18}
  body.bw-m2 .bw-bnav a,body.bw-m2 .bw-bnav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:none;padding:0;font:500 11px 'BW Barlow',sans-serif;color:#9c927c !important;text-decoration:none !important;cursor:pointer}
  body.bw-m2 .bw-bnav .on{color:#f3d489 !important}
  body.bw-m2 .bw-bnav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  /* botao Criar conta fixo */
  body.bw-m2 .bw-cta-fix{display:flex;position:fixed;left:10px;right:10px;bottom:calc(72px + env(safe-area-inset-bottom));z-index:88;gap:8px;align-items:center;padding:6px 6px 6px 12px;border-radius:12px;border:1px solid #6b5524;background:rgba(27,21,8,.97);box-shadow:0 6px 18px rgba(0,0,0,.5)}
  body.bw-m2 .bw-cta-fix span{flex:1;font:600 13px 'BW Barlow',sans-serif;color:#f0cd7a}
  body.bw-m2 .bw-cta-fix a{display:inline-flex;align-items:center;height:38px;padding:0 16px;border-radius:9px;background:linear-gradient(#f0cd7a,#c99a3a);color:#2b1c00 !important;font:700 14px 'BW Barlow',sans-serif;text-decoration:none !important}
  body.bw-m2 .bw-cta-fix button{width:34px;height:38px;border:0;background:none;color:#9c927c;font-size:20px;cursor:pointer}
  /* subir ao topo nao pode ficar atras da barra */
  html body.bw-m2 .scrollToTop{bottom:calc(132px + env(safe-area-inset-bottom)) !important;right:12px !important}

  /* widgets em cartoes deslizaveis */
  body.bw-m2 #ThemeboxesColumn{order:4;flex:0 0 100%;width:100% !important;margin:12px 0 0 !important}
  body.bw-m2 .bw-hero #ThemeboxesColumn{margin:12px -12px 8px !important;width:auto !important;flex:none}
  html body.bw-m2.bw-clean #Themeboxes{margin:0 !important;display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;justify-content:flex-start !important;gap:10px !important;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:2px 12px 6px;scroll-padding-left:12px;scrollbar-width:none}
  body.bw-m2 #Themeboxes::-webkit-scrollbar{display:none}
  body.bw-m2 #Themeboxes>.rank,body.bw-m2 #Themeboxes>.rashid,body.bw-m2 #Themeboxes>form.bw-sform,body.bw-m2 #Themeboxes>form:not(:has(select)){flex:0 0 252px !important;width:252px !important;max-width:252px;margin:0 !important;scroll-snap-align:start;align-self:stretch}
  body.bw-m2 #Themeboxes>.serversave,body.bw-m2 #Themeboxes>.donate,body.bw-m2 #Themeboxes>span,body.bw-m2 #Themeboxes>br,body.bw-m2 #Themeboxes>form:has(select){display:none !important}
  body.bw-m2 .bw-wtitle{display:flex;justify-content:space-between;align-items:baseline;margin:8px 14px 6px;font:600 17px 'BW Cinzel',Georgia,serif;color:#e2b04a}
  body.bw-m2 .bw-wtitle span{font:500 12.5px 'BW Barlow',sans-serif;color:#9c927c}
  body.bw-m2 .bw-dots{display:flex;gap:5px;justify-content:center;margin:6px 0 2px}
  .bw-dots i{display:block;width:6px;height:6px;border-radius:3px;background:#3a362f;transition:width .2s,background .2s}
  .bw-dots i.on{width:18px;background:#e2b04a}
  body.bw-m2 .bw-apoie{display:flex;align-items:center;gap:12px;margin:10px 12px 0;padding:10px 12px;border:1px solid #6b5524;border-radius:12px;background:linear-gradient(90deg,#1b1508,#141312);text-decoration:none !important}
  body.bw-m2 .bw-apoie img{width:34px;height:34px}
  body.bw-m2 .bw-apoie b{display:block;font:600 14px 'BW Barlow',sans-serif;color:#f1e8d0}
  body.bw-m2 .bw-apoie small{font:400 12.5px 'BW Barlow',sans-serif;color:#b9ad92}
  body.bw-m2 .bw-apoie em{margin-left:auto;display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:9px;background:linear-gradient(#f0cd7a,#c99a3a);color:#2b1c00;font:700 13px 'BW Barlow',sans-serif;font-style:normal}

  /* home mais curta */
  body.bw-m2 .bw-follow,body.bw-m2 .bw-facts{display:none !important}
  body.bw-m2 .bw-waitgrid{display:flex !important;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;margin:0 -14px;padding:0 14px 6px;scrollbar-width:none;grid-template-columns:none !important}
  body.bw-m2 .bw-waitgrid::-webkit-scrollbar{display:none}
  body.bw-m2 .bw-waitgrid>a{flex:0 0 228px;scroll-snap-align:start}
  body.bw-m2 .bw-clamp{max-height:230px;overflow:hidden;position:relative}
  body.bw-m2 .bw-clamp::after{content:'';position:absolute;left:0;right:0;bottom:0;height:90px;background:linear-gradient(rgba(14,13,12,0),#0e0d0c)}
  body.bw-m2 .m2-more{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 16px;margin:8px 0 0;border-radius:8px;border:1px solid #6b5524;background:#17140d;color:#f0cd7a;font:600 13px 'BW Barlow',sans-serif;cursor:pointer}

  /* loja deslizante */
  html body.bw-m2 .bw-packs{display:flex !important;grid-template-columns:none !important;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;margin:0 -14px;padding:0 14px 6px;scrollbar-width:none}
  html body.bw-m2 .bw-packs::-webkit-scrollbar{display:none}
  html body.bw-m2 .bw-packs .bw-pack{flex:0 0 238px;scroll-snap-align:start;flex-direction:column !important;align-items:flex-start !important}
  html body.bw-m2 .bw-offers-vip{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px;margin-top:10px}
  html body.bw-m2 .bw-offers-vip .bw-offer{flex-direction:column !important;align-items:center !important;text-align:center;gap:4px !important;padding:10px 4px !important;min-height:0}
  html body.bw-m2 .bw-offers-vip .bw-offer>div{align-items:center}
  html body.bw-m2 .bw-offers-vip .bw-offer b{font-size:13px}
  html body.bw-m2 .bw-offers-vip .bw-offer span{font-size:12px}

  /* Highscores e similares: linha = cartao */
  html body.bw-m2 table.bw-rk,html body.bw-m2 table.bw-rk>tbody{display:block !important;width:100% !important}
  html body.bw-m2 table.bw-rk tr.LabelH{display:none !important}
  html body.bw-m2 table.bw-rk tr:not(.LabelH){display:grid !important;grid-template-columns:36px minmax(0,1fr) auto;grid-template-areas:"pos name pts" "pos voc lvl";gap:1px 10px;align-items:center;padding:10px 6px !important;border-bottom:1px solid #1f1d1a !important;background:none !important}
  html body.bw-m2 table.bw-rk tr:not(.LabelH)>td{display:block !important;width:auto !important;padding:0 !important;border:0 !important;background:none !important;text-align:left !important;min-width:0}
  html body.bw-m2 table.bw-rk td:nth-child(1){grid-area:pos;text-align:center !important;font:700 16px 'BW Cinzel',Georgia,serif;color:#e2b04a}
  html body.bw-m2 table.bw-rk td:nth-child(2){display:none !important}
  html body.bw-m2 table.bw-rk td:nth-child(3){grid-area:name;font:600 15px 'BW Barlow',sans-serif;overflow:hidden;text-overflow:ellipsis}
  html body.bw-m2 table.bw-rk td:nth-child(4){grid-area:voc;font:400 12.5px 'BW Barlow',sans-serif;color:#9c927c}
  html body.bw-m2 table.bw-rk td:nth-child(5){grid-area:lvl;text-align:right !important;font:500 12.5px 'BW Barlow',sans-serif;color:#b9ad92}
  html body.bw-m2 table.bw-rk td:nth-child(6){grid-area:pts;text-align:right !important;font:700 14px 'BW Barlow',sans-serif;color:#f3d489}
  html body.bw-m2 table.bw-rk td:nth-child(5) div,html body.bw-m2 table.bw-rk td:nth-child(6) div{display:inline !important}
  html body.bw-m2 table.bw-rk td[data-l]:nth-child(5)::before{content:attr(data-l) ' ';color:#8a8470}
  html body.bw-m2 .bw-podium{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px}
  html body.bw-m2 .bw-podium>*{padding:12px 6px !important;min-width:0}
  html body.bw-m2 .bw-podium>* *{max-width:100%;overflow:hidden;text-overflow:ellipsis}
}
