:root{--m-bg:#050907;--m-panel:#0b1510;--m-panel2:#101d16;--m-line:rgba(116,255,166,.16);--m-text:#eefbf2;--m-muted:#9fb2a7;--m-green:#35e277;--m-green2:#0f8f4b;--m-red:#ff5f6d;--m-yellow:#ffd166;--m-shadow:0 18px 55px rgba(0,0,0,.42)}
*{box-sizing:border-box}html{background:var(--m-bg);color:var(--m-text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}body.m-body{margin:0;min-height:100vh;background:radial-gradient(circle at 20% -10%,rgba(54,226,119,.18),transparent 34%),radial-gradient(circle at 100% 10%,rgba(42,117,70,.22),transparent 36%),linear-gradient(180deg,#050907,#08110c 42%,#030604);padding-bottom:86px}.m-header{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:rgba(5,9,7,.9);backdrop-filter:blur(16px);border-bottom:1px solid var(--m-line)}.m-brand{display:flex;align-items:center;gap:10px;color:var(--m-text);text-decoration:none;font-weight:900;letter-spacing:.3px}.m-brand img{width:42px;height:42px;object-fit:contain;border-radius:12px;background:rgba(255,255,255,.03)}.m-menu-btn{width:44px;height:44px;border:1px solid var(--m-line);border-radius:14px;background:linear-gradient(180deg,rgba(53,226,119,.15),rgba(53,226,119,.04));display:grid;place-content:center;gap:5px}.m-menu-btn span{display:block;width:20px;height:2px;border-radius:5px;background:var(--m-text)}.m-drawer{position:fixed;z-index:80;top:0;right:0;width:min(86vw,340px);height:100vh;padding:76px 16px 18px;background:#07100b;border-left:1px solid var(--m-line);box-shadow:var(--m-shadow);transform:translateX(105%);transition:.22s ease;display:flex;flex-direction:column;gap:9px}.m-nav-open .m-drawer{transform:translateX(0)}.m-drawer a{padding:14px 15px;border-radius:15px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.05);color:var(--m-text);font-weight:800;text-decoration:none}.m-drawer a.active,.m-drawer a.m-login{border-color:rgba(53,226,119,.38);background:linear-gradient(135deg,rgba(53,226,119,.18),rgba(53,226,119,.06));color:#dffff0}.m-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.62);z-index:70}.m-shell{width:100%;max-width:680px;margin:0 auto;padding:16px 13px 30px}.m-hero{padding:20px;border:1px solid var(--m-line);border-radius:26px;background:linear-gradient(160deg,rgba(18,38,27,.94),rgba(5,11,8,.92));box-shadow:var(--m-shadow);margin-bottom:14px}.m-kicker{display:inline-flex;align-items:center;gap:7px;color:var(--m-green);font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.12em}.m-title{margin:7px 0 8px;font-size:30px;line-height:1.02}.m-subtitle{margin:0;color:var(--m-muted);font-size:14px;line-height:1.5}.m-grid{display:grid;grid-template-columns:1fr;gap:12px}.m-card{padding:16px;border:1px solid var(--m-line);border-radius:22px;background:rgba(11,21,16,.9);box-shadow:0 12px 32px rgba(0,0,0,.23)}.m-card h2,.m-card h3{margin:0 0 10px}.m-card p{color:var(--m-muted);line-height:1.45}.m-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.m-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 13px;border-radius:14px;border:1px solid var(--m-line);background:rgba(255,255,255,.04);color:var(--m-text);font-weight:900;text-decoration:none;text-align:center}.m-btn.primary{background:linear-gradient(135deg,var(--m-green2),var(--m-green));color:#021006;border:0}.m-list{display:flex;flex-direction:column;gap:10px}.m-row{padding:13px;border-radius:17px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.055)}.m-row strong{display:block}.m-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.m-chip{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:rgba(53,226,119,.11);border:1px solid rgba(53,226,119,.18);font-size:12px;font-weight:800;color:#d9ffe8}.m-chip.red{background:rgba(255,95,109,.12);border-color:rgba(255,95,109,.2);color:#ffd2d6}.m-chip.yellow{background:rgba(255,209,102,.12);border-color:rgba(255,209,102,.2);color:#ffe6a8}.m-select,.m-input{width:100%;min-height:44px;border-radius:14px;border:1px solid var(--m-line);background:#07100b;color:var(--m-text);padding:10px 12px;font-weight:800}.m-form{display:grid;gap:10px;margin-bottom:12px}.m-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:18px;border:1px solid rgba(255,255,255,.06)}.m-table{width:100%;border-collapse:collapse;min-width:520px;background:rgba(0,0,0,.14)}.m-table th,.m-table td{padding:12px 10px;text-align:left;border-bottom:1px solid rgba(255,255,255,.06);white-space:nowrap}.m-table th{color:var(--m-green);font-size:12px;text-transform:uppercase;letter-spacing:.08em}.m-empty,.m-error{padding:14px;border-radius:16px;background:rgba(255,255,255,.035);color:var(--m-muted)}.m-error{background:rgba(255,95,109,.1);color:#ffd6da;border:1px solid rgba(255,95,109,.22)}.m-product{display:grid;gap:9px}.m-price{font-size:24px;font-weight:950;color:var(--m-green)}.m-footer{position:fixed;left:0;right:0;bottom:0;z-index:50;display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:9px 10px;background:rgba(5,9,7,.92);backdrop-filter:blur(16px);border-top:1px solid var(--m-line)}.m-footer a{padding:10px 7px;border-radius:13px;text-align:center;text-decoration:none;color:var(--m-text);background:rgba(255,255,255,.035);font-size:12px;font-weight:900}.az-server-live-panel,.farming-server-live-card,.az-server-card{max-width:100%!important}.az-server-live-grid,.farming-servers-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.az-server-live-panel *{max-width:100%}@media (min-width:520px){.m-grid.two{grid-template-columns:1fr 1fr}.m-title{font-size:38px}}

.m-panel-body .m-hero{margin-bottom:12px}.m-panel-grid{display:grid;grid-template-columns:1fr;gap:10px;margin-top:10px}.m-panel-card{display:block;padding:15px;border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(53,226,119,.045));border:1px solid rgba(53,226,119,.16);text-decoration:none;color:var(--m-text);box-shadow:0 10px 26px rgba(0,0,0,.18)}.m-panel-card strong{display:block;font-size:16px;margin:7px 0 5px}.m-panel-card small{display:block;color:var(--m-muted);line-height:1.4}.m-panel-tag{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:rgba(53,226,119,.12);border:1px solid rgba(53,226,119,.2);color:#dffff0;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}@media (min-width:560px){.m-panel-grid{grid-template-columns:1fr 1fr}}

/* Mobile app fixes for admin/moderator/owner panels */
html,body.m-body{width:100%;max-width:100%;overflow-x:hidden}body.m-body{padding-bottom:calc(86px + env(safe-area-inset-bottom));}.m-header{padding-top:calc(12px + env(safe-area-inset-top));}.m-drawer{padding-top:calc(76px + env(safe-area-inset-top));overflow-y:auto;overscroll-behavior:contain}.m-nav-open{overflow:hidden}.m-nav-open .m-backdrop{display:block}.m-backdrop[hidden]{display:none!important}.m-menu-btn{cursor:pointer;position:relative;z-index:90}.m-drawer{z-index:100}.m-backdrop{z-index:90}.m-panel-body .m-shell{padding-left:10px;padding-right:10px}.m-panel-body .m-hero{border-radius:20px;padding:18px}.m-panel-body .m-title{font-size:clamp(24px,8vw,34px);word-break:break-word}.m-panel-section{margin-bottom:12px}.m-notice{margin:10px 0;padding:12px 14px;border-radius:16px;border:1px solid rgba(255,255,255,.08);font-weight:800}.m-notice.success{background:rgba(53,226,119,.12);border-color:rgba(53,226,119,.22);color:#dffff0}.m-notice.error{background:rgba(255,95,109,.12);border-color:rgba(255,95,109,.25);color:#ffd6da}.m-mobile-plan-form label,.m-plan-card label{display:grid;gap:7px;color:#ddc978;font-size:13px;font-weight:900}.m-mobile-plan-form,.m-plan-card{min-width:0}.m-plan-cards{display:grid;gap:12px}.m-plan-card{padding:13px;border:1px solid rgba(53,226,119,.16);border-radius:18px;background:rgba(2,10,6,.45);display:grid;gap:10px}.m-plan-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:2px}.m-plan-head strong{font-size:18px;color:#f3dc83}.m-plan-head span{font-size:12px;color:var(--m-muted)}.m-input,.m-select,select,input,textarea{max-width:100%!important}.m-actions.one-row{grid-template-columns:1fr 1fr;margin-top:4px}.m-btn.danger{background:rgba(255,95,109,.14);border-color:rgba(255,95,109,.28);color:#ffd6da}.m-admin-mobile .card,.m-admin-mobile .admin-content,.m-admin-mobile .admin-shell{max-width:100%!important;overflow:hidden!important}@media(max-width:520px){.m-actions{grid-template-columns:1fr}.m-actions.one-row{grid-template-columns:1fr 1fr}.m-card{border-radius:18px;padding:14px}.m-shell{padding-top:12px}.m-footer{padding-bottom:calc(9px + env(safe-area-inset-bottom));}}


/* === Chillout mobile v2: czytelny panel, stałe zakładki, zero rozjeżdżania === */
:root{--m-gold:#e7c35a;--m-gold2:#b98b2e;--m-deep:#020806;--m-cardbg:rgba(5,18,12,.94)}
body.m-body{font-size:15px;line-height:1.35;touch-action:manipulation;overflow-x:hidden!important;background-attachment:fixed}
body.m-panel-body{padding-bottom:calc(98px + env(safe-area-inset-bottom));}
.m-shell,.m-card,.m-hero,.m-panel-card,.m-drawer,.m-tabs,.m-tabbar{min-width:0;max-width:100%}
.m-shell{max-width:760px;padding-left:12px;padding-right:12px}
.m-header{min-height:64px;box-shadow:0 10px 30px rgba(0,0,0,.28)}
.m-brand span{max-width:58vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.m-menu-btn{flex:0 0 44px}
.m-card,.m-hero{overflow:hidden;word-wrap:break-word}.m-card{background:linear-gradient(160deg,rgba(7,22,14,.96),rgba(2,10,6,.93));border-color:rgba(231,195,90,.18)}
.m-card h2,.m-card h3{color:#f1d775}.m-kicker{color:#f1d775}.m-title{color:#f3dc83;text-shadow:0 0 22px rgba(231,195,90,.13)}
.m-btn{width:100%;white-space:normal;border-color:rgba(231,195,90,.24)}.m-btn.primary{background:linear-gradient(180deg,#f2d978,#bf8f34);color:#160f02}.m-btn.danger{color:#ffd9dd}
.m-input,.m-select,select,input,textarea,button{font-size:16px!important;min-width:0!important;max-width:100%!important}textarea{resize:vertical}.m-form{min-width:0}.m-form label{min-width:0}
.m-panel-grid{grid-template-columns:1fr!important}.m-panel-card{display:flex;align-items:center;gap:12px;padding:14px;border-radius:18px}.m-panel-card:after{content:'›';margin-left:auto;color:#f1d775;font-size:24px;line-height:1}.m-panel-card strong{margin:0 0 3px}.m-panel-card small{font-size:13px}.m-panel-tag{flex:0 0 auto}
.m-tabs-wrap{position:sticky;top:calc(65px + env(safe-area-inset-top));z-index:45;margin:0 -12px 12px;padding:8px 12px;background:linear-gradient(180deg,rgba(5,9,7,.96),rgba(5,9,7,.76));backdrop-filter:blur(14px);border-bottom:1px solid rgba(231,195,90,.12)}
.m-tabs{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:2px}.m-tabs::-webkit-scrollbar{display:none}.m-tab{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:9px 13px;border-radius:999px;border:1px solid rgba(231,195,90,.22);background:rgba(255,255,255,.04);color:#f9edc2;text-decoration:none;font-weight:900;font-size:13px}.m-tab.active{background:linear-gradient(180deg,rgba(242,217,120,.26),rgba(191,143,52,.16));border-color:rgba(231,195,90,.55);color:#fff3c6}.m-tab.danger{border-color:rgba(255,95,109,.25);color:#ffd6da}
.m-drawer{left:0;right:auto;width:min(88vw,360px);transform:translateX(-105%);padding:calc(18px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));background:linear-gradient(160deg,#06100b,#020806);border-left:0;border-right:1px solid rgba(231,195,90,.18)}.m-nav-open .m-drawer{transform:translateX(0)}
.m-drawer-head{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:12px;border:1px solid rgba(231,195,90,.16);border-radius:18px;background:rgba(255,255,255,.035)}.m-drawer-head img{width:46px;height:46px;border-radius:15px;object-fit:cover}.m-drawer-title{font-weight:950;color:#f3dc83}.m-drawer-sub{font-size:12px;color:var(--m-muted)}.m-drawer-label{margin:10px 4px 5px;color:#e7c35a;font-weight:950;font-size:11px;letter-spacing:.12em;text-transform:uppercase}.m-drawer a{display:flex;align-items:center;gap:9px;min-height:46px;padding:12px 13px;border-color:rgba(231,195,90,.10)}
.m-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:55;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:rgba(3,8,6,.96);border-top:1px solid rgba(231,195,90,.16);backdrop-filter:blur(16px)}.m-tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:50px;border-radius:14px;color:#efe4bf;text-decoration:none;font-size:11px;font-weight:900}.m-tabbar a.active{background:rgba(231,195,90,.16);color:#ffd76a}.m-tabbar span:first-child{font-size:18px;line-height:1}
.m-plan-cards{gap:14px}.m-plan-card{overflow:hidden;background:rgba(0,0,0,.22);border-color:rgba(231,195,90,.18);padding:14px}.m-plan-card label,.m-mobile-plan-form label{font-size:12px;color:#eedb91}.m-plan-head{position:sticky;top:calc(112px + env(safe-area-inset-top));z-index:5;background:linear-gradient(90deg,rgba(231,195,90,.15),rgba(255,255,255,.02));border:1px solid rgba(231,195,90,.14);border-radius:14px;padding:10px}.m-actions.one-row{grid-template-columns:1fr 1fr!important}.m-table-scroll{max-width:100%;overflow-x:auto}.m-table{min-width:640px}img,svg,video,canvas{max-width:100%;height:auto}
@media(max-width:390px){.m-shell{padding-left:9px;padding-right:9px}.m-tabs-wrap{margin-left:-9px;margin-right:-9px;padding-left:9px;padding-right:9px}.m-card,.m-hero{padding:13px;border-radius:18px}.m-title{font-size:24px}.m-tab{padding:8px 10px;font-size:12px}.m-panel-card{padding:12px}.m-panel-card small{display:none}.m-tabbar a{font-size:10px}.m-actions.one-row{gap:7px}}

/* === FIX: panel mobilny bez logo AZ u góry, z przyciskiem Wróć i łatwymi zakładkami === */
.m-module-header{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  min-height:62px;
  padding-left:10px!important;
  padding-right:10px!important;
}
.m-module-header .m-brand{display:none!important}
.m-back-btn,
.m-module-title{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:14px;
  border:1px solid rgba(231,195,90,.22);
  background:linear-gradient(180deg,rgba(231,195,90,.14),rgba(255,255,255,.035));
  color:#f7e7ab;
  font-weight:950;
}
.m-back-btn{
  padding:0 11px;
  gap:4px;
  font-size:24px;
  line-height:1;
  white-space:nowrap;
}
.m-back-btn span{font-size:13px;letter-spacing:.01em}
.m-module-title{
  min-width:0;
  padding:0 10px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#ffe081;
  box-shadow:inset 0 0 22px rgba(231,195,90,.06);
}
.m-panel-menu-btn{
  border-color:rgba(231,195,90,.28)!important;
  background:linear-gradient(180deg,rgba(231,195,90,.18),rgba(255,255,255,.035))!important;
}
.m-panel-menu-btn span{background:#ffe081!important}
.m-tabs-wrap{
  scroll-margin-top:calc(76px + env(safe-area-inset-top));
  border-top:1px solid rgba(231,195,90,.10);
}
.m-tabs-label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0 0 7px;
  color:#e7c35a;
  font-size:11px;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.m-tabs-label:after{
  content:'przesuń →';
  color:rgba(247,231,171,.75);
  font-size:10px;
  letter-spacing:.04em;
}
.m-panel-body .m-shell{padding-top:8px!important}
.m-panel-body .m-hero{margin-top:2px}
@media(max-width:390px){
  .m-module-header{grid-template-columns:auto minmax(0,1fr) auto;gap:6px;padding-left:8px!important;padding-right:8px!important}
  .m-back-btn{padding:0 9px;font-size:22px}
  .m-back-btn span{display:none}
  .m-module-title{font-size:14px;padding:0 8px}
  .m-panel-menu-btn{width:42px;height:42px}
}

/* === TOP MENU MODULE FINAL FIX ===
   W modułach mobilnych nie pokazujemy logo AZ. Na samej górze są:
   Wróć | nazwa modułu | Zakładki | menu boczne. */
.m-module-header{
  grid-template-columns:auto minmax(0,1fr) auto auto!important;
  gap:7px!important;
  min-height:66px!important;
  position:sticky!important;
  top:0!important;
  z-index:120!important;
}
.m-module-header img,
.m-module-header .m-brand{display:none!important}
.m-module-title{font-size:15px!important;text-align:center!important}
.m-tabs-shortcut{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  border-radius:14px;
  border:1px solid rgba(231,195,90,.24);
  background:linear-gradient(180deg,rgba(231,195,90,.12),rgba(255,255,255,.035));
  color:#ffe081;
  font-weight:950;
  font-size:12px;
  text-decoration:none;
  white-space:nowrap;
}
.m-panel-body .m-tabs-wrap{
  top:calc(66px + env(safe-area-inset-top))!important;
  z-index:100!important;
}
.m-panel-body .m-tabs-label{margin-top:0!important}
@media(max-width:420px){
  .m-module-header{grid-template-columns:auto minmax(0,1fr) auto auto!important;gap:5px!important}
  .m-tabs-shortcut{width:42px;padding:0;font-size:0}
  .m-tabs-shortcut:before{content:'☰';font-size:19px;line-height:1}
  .m-module-title{font-size:14px!important;padding:0 7px!important}
}
@media(max-width:340px){
  .m-module-title{font-size:13px!important}
  .m-back-btn{width:42px;padding:0!important}
}

/* === FIX: stale widoczne górne menu po wejściu w moduł mobilny === */
.m-module-main-menu{
  position:sticky;
  top:calc(66px + env(safe-area-inset-top));
  z-index:110;
  display:flex;
  align-items:center;
  gap:8px;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  padding:8px 10px;
  background:linear-gradient(180deg,rgba(3,8,6,.98),rgba(3,8,6,.88));
  border-bottom:1px solid rgba(231,195,90,.16);
  box-shadow:0 10px 26px rgba(0,0,0,.24);
  backdrop-filter:blur(14px);
}
.m-module-main-menu::-webkit-scrollbar{display:none}
.m-module-main-menu a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(231,195,90,.22);
  background:rgba(255,255,255,.04);
  color:#f9edc2;
  text-decoration:none;
  font-weight:950;
  font-size:12px;
  white-space:nowrap;
}
.m-module-main-menu a:active,
.m-module-main-menu a:hover{
  background:linear-gradient(180deg,rgba(242,217,120,.24),rgba(191,143,52,.14));
  color:#ffe081;
}
.m-panel-body .m-tabs-wrap{
  top:calc(118px + env(safe-area-inset-top))!important;
}
.m-panel-body .m-shell{
  padding-top:8px!important;
}
@media(max-width:420px){
  .m-module-main-menu{gap:6px;padding-left:8px;padding-right:8px}
  .m-module-main-menu a{min-height:36px;padding:7px 10px;font-size:11px}
}

/* === FIX: plan prac widoczny na stronie glownej mobile === */
.m-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.m-section-head h2{margin:0!important}
.m-section-head a{
  flex:0 0 auto;
  color:#ffe081;
  text-decoration:none;
  font-weight:950;
  font-size:12px;
  border:1px solid rgba(231,195,90,.22);
  border-radius:999px;
  padding:8px 10px;
  background:rgba(255,255,255,.035);
}
.m-home-plan{margin-top:12px;margin-bottom:12px}
.m-plan-mini-list{display:grid;gap:10px}
.m-plan-mini{
  min-width:0;
  padding:13px;
  border-radius:17px;
  border:1px solid rgba(231,195,90,.16);
  background:linear-gradient(160deg,rgba(255,255,255,.045),rgba(0,0,0,.18));
  overflow:hidden;
}
.m-plan-mini-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:9px;
}
.m-plan-mini-top strong{color:#f3dc83;font-size:17px;line-height:1.15}
.m-plan-mini-top span{
  color:#eefbf2;
  font-weight:900;
  text-align:right;
  max-width:60%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.m-plan-mini-tags{display:flex;flex-wrap:wrap;gap:7px;min-width:0}
@media(max-width:420px){
  .m-plan-mini-top{display:grid;grid-template-columns:1fr;gap:4px}
  .m-plan-mini-top span{max-width:100%;text-align:left;white-space:normal}
  .m-section-head{align-items:flex-start}
}

/* Full mobile module content loaded from original admin/owner modules */
.m-full-module{padding-bottom:110px;}
.m-full-module .admin-content{display:block;width:100%;max-width:100%;padding:0;margin:0;}
.m-full-module .section-kicker{display:block;margin:0 0 10px;color:#f4d36b;text-transform:uppercase;letter-spacing:.12em;font-weight:900;font-size:12px;}
.m-full-module .card,.m-full-module .notice{background:rgba(4,20,13,.88)!important;border:1px solid rgba(231,193,84,.28)!important;border-radius:20px!important;padding:16px!important;margin:14px 0!important;box-shadow:0 12px 30px rgba(0,0,0,.25)!important;max-width:100%!important;overflow:hidden;}
.m-full-module .notice.success{border-color:rgba(67,210,116,.45)!important;color:#d7ffe2!important;}
.m-full-module .notice.error{border-color:rgba(255,82,82,.55)!important;color:#ffd7d7!important;}
.m-full-module .form-grid,.m-full-module .admin-server-form-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
.m-full-module .form-group,.m-full-module .form-group[style]{grid-column:auto!important;min-width:0!important;width:100%!important;}
.m-full-module input,.m-full-module select,.m-full-module textarea,.m-full-module .form-control{width:100%!important;max-width:100%!important;box-sizing:border-box!important;background:rgba(0,0,0,.22)!important;color:#fff!important;border:1px solid rgba(231,193,84,.25)!important;border-radius:14px!important;padding:12px 14px!important;font-size:16px!important;}
.m-full-module textarea{min-height:100px!important;}
.m-full-module label{display:block;margin-bottom:7px;color:#f4d36b;font-weight:800;}
.m-full-module .form-actions,.m-full-module .actions-cell{display:flex!important;flex-direction:column!important;gap:10px!important;align-items:stretch!important;}
.m-full-module .btn,.m-full-module button,.m-full-module a.btn{width:100%!important;min-height:46px!important;border-radius:14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:normal!important;}
.m-full-module .btn-primary{background:linear-gradient(180deg,#ffe082,#c99a2f)!important;color:#090d08!important;border:0!important;font-weight:900!important;}
.m-full-module .btn-outline{background:rgba(255,255,255,.03)!important;color:#fff!important;border:1px solid rgba(231,193,84,.35)!important;}
.m-full-module .btn-danger{background:rgba(160,34,34,.85)!important;color:#fff!important;border:1px solid rgba(255,100,100,.45)!important;}
.m-full-module .table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;border-radius:16px!important;border:1px solid rgba(231,193,84,.18)!important;}
.m-full-module table{min-width:760px!important;width:100%!important;border-collapse:collapse!important;}
.m-full-module th,.m-full-module td{padding:10px!important;vertical-align:top!important;white-space:normal!important;}
.m-full-module .admin-sidebar,.m-full-module .sidebar-nav,.m-full-module .sidebar-title{display:none!important;}
.m-full-open-row{position:sticky;top:70px;z-index:20;display:flex;gap:10px;margin:10px 0 14px;}
.m-full-open-row .m-btn{flex:1;}
@media(max-width:480px){.m-full-module .card{padding:14px!important;border-radius:18px!important}.m-full-open-row{top:62px}.m-full-module table{font-size:13px!important}}

/* === FIX: plan prac - karty aktualnych wpisow bez nakladania naglowka na pola === */
.m-plan-card .m-plan-head,
.m-admin-mobile .m-plan-card .m-plan-head{
  position:static!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  z-index:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:0 0 14px 0!important;
  padding:11px 12px!important;
  border-radius:14px!important;
  background:linear-gradient(90deg,rgba(231,195,90,.18),rgba(255,255,255,.035))!important;
  border:1px solid rgba(231,195,90,.22)!important;
}
.m-plan-card .m-plan-head strong{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  line-height:1.2!important;
}
.m-plan-card .m-plan-head span{
  flex:0 0 auto!important;
  line-height:1.2!important;
}
.m-plan-card label,
.m-mobile-plan-form label{
  margin:0!important;
  min-width:0!important;
  width:100%!important;
  position:relative!important;
  z-index:1!important;
}
.m-plan-card .m-input,
.m-plan-card .m-select,
.m-mobile-plan-form .m-input,
.m-mobile-plan-form .m-select{
  min-height:48px!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.m-plan-card{
  overflow:visible!important;
  gap:12px!important;
}

/* === FIX: Informacje mobile - tabela edycji jako czytelne karty === */
.m-full-module .m-full-module-content .table-wrap{
  overflow:visible!important;
  border:0!important;
  background:transparent!important;
}
.m-full-module .m-full-module-content .plan-table{
  min-width:0!important;
  width:100%!important;
  display:block!important;
  border:0!important;
  background:transparent!important;
}
.m-full-module .m-full-module-content .plan-table thead{
  display:none!important;
}
.m-full-module .m-full-module-content .plan-table tbody{
  display:grid!important;
  gap:14px!important;
  width:100%!important;
}
.m-full-module .m-full-module-content .plan-table tr{
  display:block!important;
  width:100%!important;
  padding:14px!important;
  border:1px solid rgba(231,193,84,.22)!important;
  border-radius:18px!important;
  background:linear-gradient(160deg,rgba(255,255,255,.045),rgba(0,0,0,.16))!important;
  box-sizing:border-box!important;
}
.m-full-module .m-full-module-content .plan-table td{
  display:grid!important;
  grid-template-columns:92px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  padding:8px 0!important;
  border:0!important;
  box-sizing:border-box!important;
  color:#f7fff8!important;
  min-width:0!important;
}
.m-full-module .m-full-module-content .plan-table td::before{
  color:#f4d36b!important;
  font-size:11px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  line-height:1.15!important;
}
.m-full-module .m-full-module-content .plan-table td:nth-child(1)::before{content:'ID';}
.m-full-module .m-full-module-content .plan-table td:nth-child(2)::before{content:'Tytuł';}
.m-full-module .m-full-module-content .plan-table td:nth-child(3)::before{content:'Opis';}
.m-full-module .m-full-module-content .plan-table td:nth-child(4)::before{content:'Priorytet';}
.m-full-module .m-full-module-content .plan-table td:nth-child(5)::before{content:'Status';}
.m-full-module .m-full-module-content .plan-table td:nth-child(6)::before{content:'Kolejność';}
.m-full-module .m-full-module-content .plan-table td:nth-child(7)::before{content:'Widoczne';}
.m-full-module .m-full-module-content .plan-table td:nth-child(8)::before{content:'Akcje';}
.m-full-module .m-full-module-content .plan-table input,
.m-full-module .m-full-module-content .plan-table select,
.m-full-module .m-full-module-content .plan-table textarea,
.m-full-module .m-full-module-content .plan-table .form-control{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  min-height:44px!important;
  height:auto!important;
  white-space:normal!important;
  word-break:break-word!important;
  overflow-wrap:anywhere!important;
  box-sizing:border-box!important;
}
.m-full-module .m-full-module-content .plan-table textarea.form-control{
  min-height:84px!important;
  resize:vertical!important;
  overflow:auto!important;
}
.m-full-module .m-full-module-content .plan-table .actions-cell{
  grid-template-columns:1fr!important;
  gap:10px!important;
  padding-top:12px!important;
}
.m-full-module .m-full-module-content .plan-table .actions-cell::before{
  display:none!important;
}
.m-full-module .m-full-module-content .plan-table .actions-cell .btn,
.m-full-module .m-full-module-content .plan-table .actions-cell button{
  width:100%!important;
}
@media(max-width:430px){
  .m-full-module .m-full-module-content .plan-table tr{padding:12px!important;border-radius:16px!important;}
  .m-full-module .m-full-module-content .plan-table td{grid-template-columns:1fr!important;gap:6px!important;align-items:stretch!important;}
  .m-full-module .m-full-module-content .plan-table td::before{font-size:10px!important;}
}

/* === FINAL MOBILE PACKAGE CLEANUP === */
/* Usuń wszystkie stare górne listy zakładek modułu w mobile. */
.m-tabs-wrap,
.m-module-main-menu{display:none!important}

/* Dolny pasek ma być czytelny i nie nachodzić na treść. */
.m-tabbar{padding-bottom:calc(8px + env(safe-area-inset-bottom))!important}
.m-tabbar a{min-width:0!important;overflow:hidden;text-overflow:ellipsis}

/* Nowoczesny, zwarty plan prac w panelu mobile. */
.m-plan-modern-list{display:grid!important;gap:12px!important}
.m-plan-edit-card{
  border:1px solid rgba(231,195,90,.20);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(11,21,16,.96),rgba(3,9,6,.92));
  overflow:hidden;
  box-shadow:0 12px 28px rgba(0,0,0,.22);
}
.m-plan-edit-card summary{
  list-style:none;
  cursor:pointer;
  padding:14px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px 12px;
  align-items:start;
}
.m-plan-edit-card summary::-webkit-details-marker{display:none}
.m-plan-summary-main{min-width:0;display:grid;gap:4px}
.m-plan-summary-main strong{color:#ffe081;font-size:18px;line-height:1.15}
.m-plan-summary-main em{font-style:normal;color:#fff;font-weight:900;line-height:1.25;word-break:break-word}
.m-plan-summary-tags{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px;min-width:0}
.m-mini-badge{
  display:inline-flex;align-items:center;max-width:100%;
  padding:7px 9px;border-radius:999px;font-size:12px;font-weight:950;line-height:1;
  border:1px solid rgba(231,195,90,.18);background:rgba(231,195,90,.10);color:#ffe7a3;
  white-space:normal;word-break:break-word;
}
.m-mini-badge.ok{border-color:rgba(53,226,119,.24);background:rgba(53,226,119,.13);color:#dffff0}
.m-mini-badge.warn{border-color:rgba(231,195,90,.22);background:rgba(231,195,90,.12);color:#ffe7a3}
.m-plan-edit-hint{
  grid-row:1;grid-column:2;
  align-self:center;
  border:1px solid rgba(231,195,90,.24);
  border-radius:999px;
  padding:8px 10px;
  color:#ffe081;
  font-size:12px;
  font-weight:950;
  background:rgba(255,255,255,.035);
}
.m-plan-edit-card[open] .m-plan-edit-hint{background:linear-gradient(135deg,#b98223,#ffd66b);color:#160d02;border:0}
.m-plan-edit-form{
  margin:0 10px 12px!important;
  border-radius:18px!important;
  background:rgba(0,0,0,.18)!important;
  border-color:rgba(53,226,119,.13)!important;
}
.m-plan-edit-form label{min-width:0!important}
.m-plan-edit-form .m-input,
.m-plan-edit-form .m-select{font-size:15px!important;min-height:46px!important}
@media(max-width:420px){
  .m-plan-edit-card summary{padding:12px;grid-template-columns:1fr}
  .m-plan-edit-hint{grid-column:1;grid-row:auto;justify-self:stretch;text-align:center}
  .m-mini-badge{font-size:11px;padding:7px 8px}
}

/* === FINAL MOBILE CLEANUP: panel bez bocznego/hamburger menu === */
.m-module-header-clean{
  grid-template-columns:auto minmax(0,1fr) auto!important;
  min-height:64px!important;
}
.m-home-btn{
  width:42px;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  border:1px solid rgba(231,195,90,.22);
  background:linear-gradient(180deg,rgba(231,195,90,.14),rgba(255,255,255,.035));
  color:#ffe081;
  text-decoration:none;
  font-weight:950;
}
.m-panel-body .m-module-main-menu,
.m-panel-body .m-tabs-shortcut,
.m-panel-body .m-panel-menu-btn{display:none!important}
.m-notice{padding:13px 14px;margin:0 0 12px;border-radius:16px;border:1px solid rgba(255,255,255,.08);font-weight:800}
.m-notice.success{background:rgba(53,226,119,.12);border-color:rgba(53,226,119,.24);color:#dcffe9}
.m-btn.danger{background:rgba(255,95,109,.14);border-color:rgba(255,95,109,.25);color:#ffd6da}
.m-textarea{min-height:108px;resize:vertical;font-family:inherit;line-height:1.45}
.m-mobile-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.m-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center}
.m-discord-box{margin-top:12px;margin-bottom:0;padding-top:12px;border-top:1px solid rgba(231,195,90,.12)}
.m-task-list{display:grid;gap:12px}
.m-task-card,.m-plan-edit-card{border:1px solid rgba(231,195,90,.16);border-radius:18px;background:linear-gradient(160deg,rgba(255,255,255,.045),rgba(0,0,0,.18));overflow:hidden}
.m-task-card summary,.m-plan-edit-card summary{list-style:none;cursor:pointer;padding:14px;display:grid;gap:10px}
.m-task-card summary::-webkit-details-marker,.m-plan-edit-card summary::-webkit-details-marker{display:none}
.m-task-title,.m-plan-summary-main{display:grid;gap:4px;min-width:0}
.m-task-title strong,.m-plan-summary-main strong{color:#f3dc83;font-size:17px;line-height:1.2;overflow:hidden;text-overflow:ellipsis}
.m-task-title small,.m-plan-summary-main em{color:var(--m-muted);font-size:13px;font-style:normal;line-height:1.35}
.m-task-badges,.m-plan-summary-tags{display:flex;flex-wrap:wrap;gap:7px}
.m-mini-badge{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:rgba(255,209,102,.12);border:1px solid rgba(255,209,102,.2);font-size:12px;font-weight:900;color:#ffe6a8}
.m-mini-badge.ok{background:rgba(53,226,119,.11);border-color:rgba(53,226,119,.2);color:#d9ffe8}
.m-mini-badge.warn{background:rgba(255,209,102,.12);border-color:rgba(255,209,102,.2);color:#ffe6a8}
.m-mini-badge.danger{background:rgba(255,95,109,.12);border-color:rgba(255,95,109,.2);color:#ffd2d6}
.m-plan-edit-hint{display:inline-flex;justify-content:center;padding:8px 10px;border-radius:999px;border:1px solid rgba(231,195,90,.18);color:#ffe081;font-size:12px;font-weight:950;background:rgba(255,255,255,.035)}
.m-task-edit-form,.m-plan-edit-form{padding:0 14px 14px}
.m-panel-section h2{margin-top:0;color:#f3dc83}
@media(max-width:420px){
  .m-mobile-two,.m-search-row{grid-template-columns:1fr}
  .m-module-header-clean{gap:6px!important;padding-left:8px!important;padding-right:8px!important}
  .m-home-btn{width:40px;min-height:40px}
}

/* === MOBILE SHOP: zakup z wyborem miesięcy === */
.m-shop-wallet{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  padding:11px 13px;
  border-radius:16px;
  border:1px solid rgba(53,226,119,.18);
  background:rgba(53,226,119,.08);
  color:rgba(232,245,233,.86);
  font-weight:850;
}
.m-shop-wallet strong{color:#35e277;font-size:18px}
.m-shop-wallet span{color:#ffe081;font-weight:950}
.m-shop-product{display:grid;gap:12px}
.m-shop-buy-form{display:grid;gap:12px;margin-top:2px}
.m-shop-label{
  color:#ffe081;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:950;
}
.m-shop-duration-options{display:grid;grid-template-columns:1fr;gap:8px}
.m-shop-duration-option{display:block;cursor:pointer}
.m-shop-duration-option input{position:absolute;opacity:0;pointer-events:none}
.m-shop-duration-option span{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:52px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(231,195,90,.16);
  background:linear-gradient(160deg,rgba(255,255,255,.045),rgba(0,0,0,.18));
}
.m-shop-duration-option b{color:#e8f5e9;font-size:14px}
.m-shop-duration-option em{color:#35e277;font-size:16px;font-weight:950;font-style:normal;white-space:nowrap}
.m-shop-duration-option small{color:rgba(232,245,233,.55);font-size:11px;text-decoration:line-through;white-space:nowrap}
.m-shop-duration-option input:checked + span{
  border-color:rgba(53,226,119,.42);
  background:linear-gradient(135deg,rgba(20,96,52,.78),rgba(8,34,21,.92));
  box-shadow:0 0 0 3px rgba(53,226,119,.08);
}
.m-shop-buy-row{display:grid;grid-template-columns:118px minmax(0,1fr);gap:10px;align-items:end}
.m-shop-qty{display:grid;gap:6px;color:#ffe081;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}
.m-shop-qty .m-input{text-align:center;font-weight:950}
.m-shop-help{margin-top:-6px;color:var(--m-muted);font-size:12px;line-height:1.35}
.m-btn[disabled]{opacity:.55;cursor:not-allowed;filter:grayscale(.25)}
@media(max-width:420px){
  .m-shop-buy-row{grid-template-columns:1fr}
  .m-shop-duration-option span{align-items:flex-start;flex-direction:column;gap:3px}
}
