﻿:root{
  --bg-dark:#0B0B12;
  --accent:#00F0FF;     /* РѕСЃРЅРѕРІРЅРѕР№ С†РёР°РЅ-РЅРµРѕРЅ */
  --accent-2:#FF3BFF;   /* РґРѕРї-Р°РєС†РµРЅС‚ */
  --glass:rgba(255,255,255,.06);
  --text:#F5F8FA;
  --text-soft: #B8EFFF;
  --text-muted: #8AD4E0;
  --radius:10px;
}

 param($m) $block=$m.Groups[1].Value; if($block -notmatch 'overflow-x'){$block += "`n  overflow-x: hidden; /* block horizontal scroll */"}; "html, body {${block}`n}" 

body::before {
  content: "";
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(8,20,28,0.72);
  z-index: 0;
  pointer-events: none;
}

.card, .glass {
  background: rgba(20,32,38,0.88);
  border-radius: 12px;
  box-shadow: 0 4px 24px #062e2e26;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.glass {
  backdrop-filter: blur(13px) saturate(110%);
  background: linear-gradient(120deg,rgba(19,36,42,0.93),rgba(0,32,65,0.81) 90%);
  box-shadow: 0 8px 33px 3px #011d1d1e;
  border: 1.7px solid #00cccc26;
}
h1, h2, h3, h4 {
  color: #00ffff;
  font-weight: bold;
  letter-spacing: 0.01em;
}
.btn, .save-btn, .btn-sm {
  background: linear-gradient(90deg, #00cccc 60%, #0099bb 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1.1em;
  cursor: pointer;
  margin: 5px 0;
  box-shadow: 0 1px 4px #064d4d15;
  transition: background 0.16s,transform 0.1s,box-shadow .16s;
}
.btn:hover, .save-btn:hover, .btn-sm:hover {
  background: #00d8ba;
  color: #191d1f;
  transform: scale(1.03);
}
.btn.red, .btn-sm.red {
  background: linear-gradient(90deg,#e11d54 80%,#b30021 100%);
  color: #fff;
}
input, select, textarea {
  background: #0e2022;
  color: #dfefef;
  border: 1px solid #00cccc51;
  border-radius: 6px;
  padding: 8px 11px;
  font-size: 1.08em;
  margin-bottom: 7px;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: #00fff6bb;
  box-shadow: 0 0 5px #00cccc3f;
}
table {
  border-radius: 9px!important;
  overflow: hidden;
  background: rgba(11, 34, 47, 0.86);
}
th, td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid #00cccc19;
}
th {
  background: #012929ee;
  color: #00ffff;
}
tr:last-child td {
  border-bottom: none;
}
::-webkit-scrollbar {
  width: 10px;
  background: #101924;
}
::-webkit-scrollbar-thumb {
  background: #00cccc55;
  border-radius: 4px;
}
@media (max-width: 650px) {
  body { padding: 0 3vw 0 3vw; }
  .card, .glass { padding: 4vw 2vw; }
  th, td { padding: 7px 3px; font-size: 0.99em;}
  input, select, textarea { font-size: .98em; }
}
/* Р­С„С„РµРєС‚ "РЅРµР№СЂРѕ-СЃС‚РµРєР»Рѕ" */
.glass {
  backdrop-filter: blur(8px);
  background: linear-gradient(120deg,rgba(19,36,42,0.93),rgba(0,32,65,0.81) 90%);
  box-shadow: 0 8px 33px 3px #011d1d1e;
}
.profile-container { max-width: 970px; margin: auto; }
.metric-card { background:#111e1e;border-left: 3px solid #00cccc; color:#fff;border-radius: 10px; box-shadow: 0 0 7px #03262633; min-width:130px; text-align:center; margin-bottom: 12px;}
/* РљР°СЃС‚РѕРјРёР·Р°С†РёСЏ РёРЅРІРµРЅС‚Р°СЂСЏ, РґСЂРѕРїРѕРІ */
.inventory-grid, .adm-table-stack { overflow-x:auto; }
.inv-card { background: #202c32; box-shadow: 0 1px 6px #066d6d14; border-radius: 9px; margin:7px; padding:10px; display:inline-block; min-width:110px; }
.inv-card.claimed { opacity: .6; }
.inv-badges .badge { background: #00cccc99; color:#241010; font-weight: bold; border-radius:6px; padding:2px 6px; margin-right:2px; font-size:0.97em;}
.inv-badges .badge.old { background: #1f6a6a; color: #fff; }
.drop-block { background:#142c42; border:1px solid #047e90; border-radius:10px; }
@media (max-width: 500px) {
  .metric-card { padding:8px 3vw; font-size:0.92em;}
  .inv-card { min-width:88px; padding:5px; }
}

/* в”Ђв”Ђ black canvas в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
/* в”Ђв”Ђ Endless diagonal background (2000 px tile) в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
body{
  background:#000;
  overflow-x:hidden; /* блокируем горизонтальный скролл на любых экранах */
  overscroll-behavior-x: contain; /* не даём странице проскальзывать по оси X на мобильных */
  color:var(--text);
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;

  background:url('/static/images/background.png') repeat;
  background-size:2000px 2000px;          /* = С‚РѕС‡РЅС‹Р№ СЂР°Р·РјРµСЂ С‚Р°Р№Р»Р° */
  filter:blur(12px) brightness(.8);

  animation:scrollBG 50s linear infinite; /* СЃРєРѕСЂРѕСЃС‚СЊ в†” РІСЂРµРјСЏ */
}

@keyframes scrollBG{
  from{background-position:0 0;}
  to  {background-position:-2000px -2000px;} /* СЃРјРµС‰Р°РµРј СЂРѕРІРЅРѕ РЅР° 1 РїР»РёС‚РєСѓ */
}

/* Р·Р°С‚РµРјРЅСЏСЋС‰Р°СЏ РІСѓР°Р»СЊ */
body::after{
  content:"";
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  z-index:-1;
  pointer-events:none;
}


h1, h2 { color: #00ffff; }

button {
    background-color: #00cccc;
    color: white;
    border: none;
    font-size: 20px;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 255, 255, 0.3);
    transition: transform 0.2s ease;
}
button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
}
button:active {
  transform: scale(0.98);
  box-shadow: 0 0 4px rgba(0, 255, 255, 0.2) inset;
}


input, select {
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    background: linear-gradient(145deg, rgba(0,255,255,0.06), rgba(255,255,255,0.01));

    color: white;
    border: 1px solid #00ffff;
}

.wheel-container {
    position: relative;
    margin: 20px auto;
    width: 80%;
    overflow: hidden;
    height: 110px;
    border: 3px solid #00cccc;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(0,255,255,0.06), rgba(255,255,255,0.01));

}

.wheel-wrapper {
  position: relative;
  overflow: hidden;
}

.wheel {
  display: flex;
  overflow-x: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  align-items: center; 
  height: 100%; 
}

.fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.navbar-mobile {
  display: none;
}

.fade-left {
  left: 0;
  background: linear-gradient(145deg, rgba(0,255,255,0.06), rgba(255,255,255,0.01));

}

.fade-right {
  right: 0;
  background: linear-gradient(145deg, rgba(0,255,255,0.06), rgba(255,255,255,0.01));

}

/* --- HISTORY: flex-РєР°СЂС‚РѕС‡РєР° РёР· 3 СЃС‚РѕР»Р±С†РѕРІ ----------------- */
#history-list{
  display:grid;gap:14px;
  grid-template-columns:repeat(auto-fill,minmax(340px,1fr));
  list-style:none;padding:0;
}
#history-list li{
  display:flex;align-items:center;gap:14px;
  padding:14px 18px;border-radius:14px;
  background: linear-gradient(145deg, rgba(0,255,255,0.06), rgba(255,255,255,0.01));
  border:1px solid rgba(0,255,255,.25);
  box-shadow:0 0 6px rgba(0,255,255,.15);
  transition:transform .15s;
}
#history-list li:hover{
  transform:translateY(-2px) scale(1.02);
  box-shadow:0 0 10px rgba(0,255,255,.30);
}

.ava{
  flex:0 0 56px;width:56px;height:56px;
  border-radius:50%;object-fit:cover;border:2px solid #00ffff;
}
.prize{
  flex:0 0 56px;width:56px;height:56px;
  border-radius:8px;object-fit:cover;border:1px solid #00ffff;
}

.box{            /* С†РµРЅС‚СЂР°Р»СЊРЅР°СЏ В«РєРѕР»РѕРЅРєР°В» */
  flex:1;min-width:0;
  display:flex;flex-direction:column;gap:4px;
}

.name{
  font:600 1rem/1 Arial,Helvetica,sans-serif;
  color: var(--text-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.msg{
  font:0.9rem/1 Arial,Helvetica,sans-serif;color: var(--text-muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
/* в”Ђв”Ђв”Ђ History avatars & prizes: РєСЂСѓРіР»С‹Рµ вЂ”в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
#history-list .ava,
#history-list .prize{
  width:56px;
  height:56px;
  flex:0 0 56px;
  border-radius:50%;       /* в¬…пёЏ  РґРµР»Р°РµС‚ РёС… РєСЂСѓРіР»С‹РјРё */
  object-fit:cover;
  border:2px solid #00ffff;
}

/* (РѕРїС†РёРѕРЅР°Р»СЊРЅРѕ) С‡СѓС‚СЊ РјРµРЅСЊС€Рµ СЂР°РјРєР° РЅР° РёРєРѕРЅРєРµ РїСЂРёР·Р° */
#history-list .prize{border-width:1px;}

/* С‡С‚РѕР±С‹ PNG РЅРµ В«РјСѓС‚РЅРµР»РёВ» */
#history-list li img{image-rendering:auto;}




.wheel {
  display: flex;
  overflow-x: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  align-items: center; /* РґРѕР±Р°РІР»РµРЅРѕ: РІС‹СЂР°РІРЅРёРІР°РЅРёРµ РїРѕ РІРµСЂС‚РёРєР°Р»Рё */
  height: 110px; /* РґРѕР±Р°РІР»РµРЅРѕ: СѓР±СЂР°С‚СЊ Р·Р°Р·РѕСЂ СЃРЅРёР·Сѓ */
}

.arrow {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    color: #00cccc;
    z-index: 10;
}

.won {
    color: #00ffcc;
    font-size: 28px;
    margin-top: 20px;
    
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.section {
  background: linear-gradient(145deg, rgba(0,255,255,0.06), rgba(255,255,255,0.01));  /* С‚Рѕ Р¶Рµ СЃР°РјРѕРµ РґР»СЏ СЃРµРєС†РёР№ */
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #00ffff;
    padding: 5px;
    text-align: center;
}

.filter-input {
    background: #222;
    color: #00ffff;
    border: 1px solid #00ffff;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  border-bottom: 2px solid #00ffff;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 15px rgba(0,255,255,0.3);
  position: relative;
  border-radius:13px;      /* СЂР°РґРёСѓСЃ вЂ” РјРѕР¶РЅРѕ 12-14 px, РµСЃР»Рё С…РѕС‚РёС‚Рµ СЃРёР»СЊРЅРµРµ */
  overflow:hidden;         /* СЃРєСЂС‹РІР°РµС‚ СЃРІРµС‡РµРЅРёРµ/С„РѕРЅ Р·Р° РєСЂР°РµРј */
}
  
  .topbar-left .logo {
    font-size: 20px;
    color: #00ffff;
    font-weight: bold;
    text-decoration: none;
  }
  
  
  
  .nav-link {
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
  }
  
  .form-container {
    max-width: 400px;
    margin: 60px auto;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,255,255,0.3);
    text-align: center;
  }
  
  .preview {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #00ffff;
  }
  
  .nav-link:hover {
    color: #00cccc;
  }
  
  .topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
  }
  
  .user-info > div {
    display: flex;
    flex-direction: column;
    align-items: center; /* center name & balance under avatar */
    text-align: center; /* ensure text is centered */
    line-height: 1.1;
  }

  .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00cccc;
  }
  
  .username {
    font-weight: bold;
    color: #ffffff;
  }
  
  .balance {
    font-size: 14px;
    color: #00ffff;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .balance img {
    width: 20px !important;  /* С„РёРєСЃРёСЂРѕРІР°РЅРЅС‹Р№ СЂР°Р·РјРµСЂ РёРєРѕРЅРєРё РјРѕРЅРµС‚РєРё */
    height: 20px !important;
  }
  
  .logout-btn, .login-btn {
    color: #00ffff;
    font-size: 18px;
    text-decoration: none;
    margin-left: 10px;
  }
  .logout-btn:hover, .login-btn:hover {
    color: #00cccc;
  }
  
  .profile-container {
    max-width: 1100px;
    margin: auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    color: #00ffff;
    box-shadow: 0 0 15px rgba(0,255,255,0.3);
  }
  
  .profile-header {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }
  
  .avatar-block {
    flex: 1;
    text-align: center;
  }
  
  .avatar {
    display: block;
    margin: 0 auto 20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #00ffff;
    object-fit: cover;
    aspect-ratio: 1 / 1; /* в¬…пёЏ РєР»СЋС‡РµРІР°СЏ СЃС‚СЂРѕРєР° */
  }  
  
  .info-block {
    flex: 2;
    min-width: 250px;
  }
  
  #history-block img {
    filter: none !important;
    mix-blend-mode: normal !important;
    background-blend-mode: normal !important;
    background-color: transparent !important;
  }
  
  .drop-block {
    flex: 1;
    text-align: center;
  }
  
  /* --- Inventory grid --- */


/* РєР°СЂС‚РѕС‡РєР° СЂР°СЃС‚СЏРіРёРІР°РµС‚СЃСЏ РЅР° РІСЃСЋ СЏС‡РµР№РєСѓ */

.inv-card {
  position: relative;
  padding: 8px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 10px rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  text-align: center;
  transition: transform 0.15s ease;
  box-sizing: border-box;
}

.inv-card.claimed{
  filter:grayscale(80%) opacity(0.5);
}

/* РєРЅРѕРїРєРё РґРµР№СЃС‚РІРёР№ */
.inv-actions{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top:6px;
}
.btn-sm{
  padding:4px 8px;
  font-size:0.8rem;
  border:none;
  border-radius:6px;
  cursor:pointer;
  background:#00cccc;
  color:#000;
}
.btn-sm.red{background:#cc0000;color:#fff;}
.btn-sm:hover{transform:scale(1.05);}

.inv-card:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 255, 255, 0.3);
}

.inv-badges{
  position:absolute;
  top:6px;left:6px;
  display:flex;gap:4px;
}
.badge{
  padding:2px 6px;
  font-size:.75rem;
  font-weight:700;
  border-radius:8px;
}
.badge.new{background:#00eaff;color:#000;}       /* СЏСЂРєРёР№ вЂ” РµС‰С‘ РЅРµ РїРѕР»СѓС‡РµРЅ */
.badge.old{background:#666;color:#fff;}          /* СЃРµСЂС‹Р№ вЂ” СѓР¶Рµ Р·Р°Р±СЂР°Р»Рё */

/* СЃС‚Р°СЂС‹Рµ РїСЂРёР·С‹ РїРѕ-СѓРјРѕР»С‡Р°РЅРёСЋ Р·Р°С‚РµРјРЅРµРЅС‹ */
.inv-card.claimed{filter:grayscale(80%) opacity(.5);}


.inv-card img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  border-radius: 6px;
}

.inv-label {
  margin-top: 4px;
  font-size: 0.9rem;
  color:var(--text);
}

.inv-count {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #00cccc;
  color: #000000;
  border-radius: 10px;
  padding: 2px 6px;
  font-weight: bold;
  font-size: 0.8rem;
}


/* в”Ђв”Ђв”Ђ Admin: prizes в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
/* в”Ђв”Ђв”Ђ Admin: prizes в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
/* в”Ђв”Ђв”Ђ РЎРµС‚РєР° РґР»СЏ РєР°СЂС‚РѕС‡РµРє РїСЂРёР·РѕРІ в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.prize-grid{
  display:flex;
  flex-wrap:wrap;
  gap:20px;                 /* СЂР°СЃСЃС‚РѕСЏРЅРёРµ РјРµР¶РґСѓ РєР°СЂС‚РѕС‡РєР°РјРё */
}

/* РљР°СЂС‚РѕС‡РєР° РґРѕР»Р¶РЅР° СѓРІР°Р¶Р°С‚СЊ СЃРµС‚РєСѓ:   0 вЂ“ РЅРµ СЂР°СЃС‚С‘С‚, 1 вЂ“ РјРѕР¶РµС‚ СЃР¶РёРјР°С‚СЊСЃСЏ */
.prize-card{
  flex:0 1 200px;           /* Р±Р°Р·РѕРІР°СЏ С€РёСЂРёРЅР° ~200 px, РЅРѕ Р°РґР°РїС‚РёРІРЅР°СЏ */
}

.prize-card{
  background:rgba(0,0,0,.65);
  border:1px solid #00ccff;
  border-radius:10px;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
  box-sizing:border-box;

  /* вЂњСЂРµР·РёРЅРѕРІР°СЏвЂќ С€РёСЂРёРЅР°: РѕС‚ 180 РґРѕ 240 px */
  min-width:180px;
  max-width:240px;
}

.prize-card img{
  align-self:center;
  width:100%;
  max-height:120px;
  object-fit:contain;
  border-radius:6px;
  background:#111;   /* С‚С‘РјРЅР°СЏ Р·Р°РіР»СѓС€РєР° */
}

.prize-card strong{color:#f5f8fa;text-align:center;margin-top:4px}

.field{
  display:flex;
  flex-direction:column;
  font-size:.8rem;
  color:#f5f8fa;
}

.field input{
  width:100%;
  color:#00eaff;
  background:#000;
  border:1px solid #00ccff;
  border-radius:6px;
  padding:4px 6px;
  box-sizing:border-box;
}

.prize-card input[type="number"],
.prize-card input[type="text"]{
  width:100%;
  color:#00eaff;
  background:#000;
  border:1px solid #00ccff;
  border-radius:6px;
  padding:4px 6px;
  box-sizing:border-box;
}
.prize-card input[type="file"]{
  color:#f5f8fa;font-size:.75rem
}

/* в”Ђв”Ђв”Ђ Admin: tables & misc в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.admin-table{width:100%;border-collapse:collapse;margin-top:10px}
.admin-table th{background:#013139;color:#0ff;border:1px solid #00ccff;padding:6px}
.admin-table td{color:#f5f8fa;border:1px solid #00ccff;padding:6px;text-align:center}

.admin-card.glass{
  background:rgba(0,0,0,.75);
  border:1px solid #00ccff;
  border-radius:10px;
  color:#f5f8fa
}

.btn-sm{padding:4px 8px;border:none;border-radius:6px;background:#0cf;color:#000;cursor:pointer}
.btn-sm.red{background:#c00;color:#fff}
.save-btn{padding:6px;border:none;border-radius:6px;background:#0cf;color:#0b0b12;font-weight:600;cursor:pointer}







/* --- Section card border --- */
.section.card.glass{
  border: 1px solid rgba(0,255,255,.35);
  box-shadow: 0 0 8px rgba(0,255,255,.2) inset;
}

  .burger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #0ff;
    cursor: pointer;
  }

  .drop-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #00ffff;
  }  
  
  .drop-label {
    margin-top: 10px;
    color: #00ffff;
  }
  
  .stats-block {
    text-align: center;
    margin-bottom: 30px;
  }
  .stats-block h3{
    color:#f5f8fa;
  }
  .section {
    background: linear-gradient(145deg, rgba(0,255,255,0.06), rgba(255,255,255,0.01));  /* С‚Рѕ Р¶Рµ СЃР°РјРѕРµ РґР»СЏ СЃРµРєС†РёР№ */
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
  }
  
  .btn {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #00cccc;
    color: white;
    margin-top: 8px;
  }
  
  .btn.red {
    background: #cc0000;
  }
  
  .container {
    background: linear-gradient(145deg, rgba(0,255,255,0.06), rgba(255,255,255,0.01)); /* РїРѕР»СѓРїСЂРѕР·СЂР°С‡РЅРѕСЃС‚СЊ */
  }

  /* Р”РѕР±Р°РІСЊС‚Рµ РєРѕРЅС‚РµР№РЅРµСЂ РґР»СЏ СѓРІРµРґРѕРјР»РµРЅРёР№ */
.flash-container {
  position: fixed;
  top: 20px; /* РџРѕР·РёС†РёСЏ СЃРѕРѕР±С‰РµРЅРёСЏ, РјРѕР¶РЅРѕ РёР·РјРµРЅРёС‚СЊ */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

/* РђРЅРёРјР°С†РёСЏ РґР»СЏ РїР»Р°РІРЅРѕРіРѕ РїРѕСЏРІР»РµРЅРёСЏ СѓРІРµРґРѕРјР»РµРЅРёСЏ */
.fade-in {
  animation: fadeIn 0.6s ease-out both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* РћР±РЅРѕРІР»РµРЅРЅР°СЏ Р°РЅРёРјР°С†РёСЏ fadeOut РґР»СЏ РїР»Р°РІРЅРѕРіРѕ РёСЃС‡РµР·РЅРѕРІРµРЅРёСЏ */
@keyframes fadeOut {
  0%   { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}


/* РЎС‚РёР»СЊ РґР»СЏ flash-СѓРІРµРґРѕРјР»РµРЅРёСЏ */
.flash-message {
  background: rgba(67, 255, 50, 0.26);  /* РљСЂР°СЃРЅС‹Р№ С„РѕРЅ РґР»СЏ РїСЂРµРґСѓРїСЂРµР¶РґРµРЅРёР№ */
  color: rgb(255, 255, 255);
  padding: 12px 20px;
  margin-top: 10px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(30, 255, 0, 0.3);
  animation: fadeIn 1s, fadeOut 4s 3s forwards; /* РїР»Р°РІРЅРѕРµ РїРѕСЏРІР»РµРЅРёРµ Рё РёСЃС‡РµР·РЅРѕРІРµРЅРёРµ */
}

/* рџ“± Mobile layout */
@media screen and (max-width: 768px) {
  body {
    padding: 12px;
    font-size: 16px;
    color:var(--text);
    flex-direction: column;   /* РІСЃС‘ РёРґС‘С‚ СЃРІРµСЂС…Сѓ РІРЅРёР· */
    align-items: center;
  }

  h1, h2 {
    font-size: 1.6rem;
  }

  .navbar-desktop {
    display: none !important;
  }

  .navbar-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: linear-gradient(145deg, rgba(0,255,255,0.06), rgba(255,255,255,0.01));
    color: #0ff;
    border-bottom: 1px solid #0ff;
  }

  .nav-avatar {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #0ff;
  }

  .nav-logo {
    font-size: 20px;
    font-weight: bold;
    color: #0ff;
    text-decoration: none;
  }

  .nav-balance {
    font-size: 14px;
    color: #0ff;
  }
  
  input, button, select {
    font-size: 1.1rem;
    padding: 12px;
    border-radius: 8px;
  }

  .preview {
    width: 64px;
    height: 64px;
  }

  .wheel img {
    width: 100px;
    height: 100px;
  }

  #spin-button {
    background: linear-gradient(to right, #00cccc, #00f0ff);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .section {
    padding: 20px;
  }

  .burger {
    display: inline-block;
    margin-left: 10px;
  }

  th, td {
    font-size: 1rem;
    padding: 8px;
  }

  .arrow {
    font-size: 2rem;
  }

.slogan {
  color: #00ffff;
  font-size: 18px;
  font-weight: bold;
}

.user-avatar-link {
  display: inline-block;
}

.user-avatar {
  display: block;
  margin: 0 auto 20px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #00ffff;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.user-avatar:hover {
  transform: scale(1.05);
}

.balance-flyup {
  position: absolute;
  color: #00ff00;
  font-weight: bold;
  font-size: 14px;
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
  pointer-events: none;
  margin-left: 8px;
}

.balance-flyup.show {
  opacity: 1;
  transform: translateY(-24px);
}
/* в”Ђв”Ђ lazy-placeholder в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
img.lazy{                     /* РїРѕРєР° РєР°СЂС‚РёРЅРєР° РіСЂСѓР·РёС‚СЃСЏ */
  opacity:0;                  /* РЅРµРІРёРґРёРјР° */
  filter:blur(12px);
  background:#242424;         /* РІРёРґРЅРѕ С‚С‘РјРЅСѓСЋ В«Р·Р°РіР»СѓС€РєСѓВ» */
  transition:opacity .4s ease;
}
img.lazy.loaded{              /* СЃРѕР±С‹С‚РёРµ load СЃСЂР°Р±РѕС‚Р°Р»Рѕ */
  opacity:1;
  filter:none;
}
.section.card{
  margin-left:  auto;
  margin-right: auto;     /* в†ђ С†РµРЅС‚СЂРёСЂСѓРµРј СЃР°РјСѓ В«СЃРµРєС†РёСЋВ» */
  width: 100%;
  max-width: 480px;       /* РїСЂРё Р¶РµР»Р°РЅРёРё РѕРіСЂР°РЅРёС‡СЊС‚Рµ С€РёСЂРёРЅСѓ */
}

/* === UI-facelift 2025: РјСЏРіРєРѕРµ В«СЃС‚РµРєР»РѕВ» Рё РїРµСЂРµРјРµРЅРЅС‹Рµ С†РІРµС‚Р° === */
:root{
  --bg-dark:#0B0B12;
  --accent:#00F0FF;      /* РѕСЃРЅРѕРІРЅРѕР№ РЅРµРѕРЅ */
  --accent-2:#FF3BFF;    /* РґРѕРїРѕР»РЅРёС‚РµР»СЊРЅС‹Р№ */
  --glass:rgba(255,255,255,.06);
  --text:#F5F8FA;
  --radius:10px;
}

/* 1. РњСЏРіРєРѕРµ В«СЃС‚РµРєР»СЏРЅРЅРѕРµВ» РѕС„РѕСЂРјР»РµРЅРёРµ: РїРѕРґРєР»СЋС‡Р°Р№С‚Рµ РєР»Р°СЃСЃ .card.glass
      Рє Р»СЋР±РѕРјСѓ СЃСѓС‰РµСЃС‚РІСѓСЋС‰РµРјСѓ Р±Р»РѕРєСѓ, Рё РѕРЅ СЃС‚Р°РЅРµС‚ РїРѕР»СѓРїСЂРѕР·СЂР°С‡РЅС‹Рј.       */
      .card.glass{
        background:var(--glass);
        backdrop-filter:blur(14px) saturate(170%);
        -webkit-backdrop-filter:blur(14px) saturate(170%);
        border:1px solid hsla(180,100%,75%,.22);
        border-radius:var(--radius);
        box-shadow:0 0 14px rgba(0,255,255,.22);
      }
      
      /* 2. Toast-СѓРІРµРґРѕРјР»РµРЅРёРµ (РёСЃРїРѕР»СЊР·СѓРµС‚СЃСЏ РІ showToast()) */
      #toast{
        position:fixed;bottom:20px;right:20px;z-index:9999;
        padding:10px 18px;border-radius:var(--radius);
        background:var(--accent);color:#000;opacity:0;
        transform:translateY(20px);
        transition:opacity .3s,transform .3s;
        pointer-events:none;
      }
      #toast.show{opacity:1;transform:translateY(0)}
      
      /* 3. Р’С‹Р»РµС‚Р°СЋС‰Р°СЏ Р·РµР»С‘РЅР°СЏ РїРѕРґРїРёСЃСЊ +coins / -coins */
      .balance-flyup{
        position:absolute;margin-left:8px;color:#0f0;font-weight:700;
        font-size:14px;opacity:0;pointer-events:none;
        transition:transform .8s ease-out,opacity .8s ease-out;
      }
      .balance-flyup.show{opacity:1;transform:translateY(-24px)}
      
      /* 4. Lazy-skeleton (РёСЃРїРѕР»СЊР·СѓРµС‚СЃСЏ РґР»СЏ <img class=\"lazy\">) */
      img.lazy{opacity:0;filter:blur(12px);background:#242424;transition:opacity .4s}
      img.lazy.loaded{opacity:1;filter:none}
    }
    /* в”Ђв”Ђв”Ђ MOBILE: РґРѕ 768px в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
@media (max-width: 768px) {
  /* вЂ” РСЃС‚РѕСЂРёСЏ РІС‹РїР°РґРµРЅРёР№: РєР°СЂС‚РѕС‡РєРё РІРѕ РІСЃСЋ С€РёСЂРёРЅСѓ, РёРєРѕРЅРєРё СЃР»РµРІР°, С†РµРЅС‚СЂ */
  .history-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0 8px;
  }
  .history-card {
    width: 100% !important;
    max-width: none;
  }
  .history-card .icon {
    margin: 0 auto 8px 0; /* СЃРґРІРёРіР°РµРј РІР»РµРІРѕ, РЅРѕ РІ СЂР°РјРєР°С… padding */
  }
 #history-block {
    margin: 20px 8px;            /* РѕС‚СЃС‚СѓРїС‹ СЃР»РµРІР°-СЃРїСЂР°РІР° */
    padding: 10px;               /* С‡СѓС‚СЊ Р±РѕР»СЊС€Рµ РїСЂРѕСЃС‚СЂР°РЅСЃС‚РІР° */
    background: rgba(0,0,0,0.7); /* РІР°С€ С„РѕРЅ */
    border-radius: 8px;
  }

  /* Р·Р°РіРѕР»РѕРІРѕРє */
  #history-block h2 {
    text-align: center;
    margin-bottom: 12px;
    font-size: 1.2rem;
  }

  /* РІРјРµСЃС‚Рѕ grid вЂ” flex-РєРѕР»РѕРЅРєР°, РІСЃРµ СЌР»РµРјРµРЅС‚С‹ РїРѕ С†РµРЅС‚СЂСѓ */
  #history-list {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    padding-left: 0 !important;  /* СѓР±РёСЂР°РµРј СЃС‚Р°СЂС‹Р№ РѕС‚СЃС‚СѓРї */
    gap: 12px;
    list-style: none;
    margin: 0;
  }

  /* РєР°СЂС‚РѕС‡РєРё РІРЅСѓС‚СЂРё СЃРїРёСЃРєР°: РЅР° РІСЃСЋ С€РёСЂРёРЅСѓ РєРѕРЅС‚РµР№РЅРµСЂР° */
  #history-list li {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    justify-content: space-between; /* РёРєРѕРЅРєР° + С‚РµРєСЃС‚ РїРѕ РєСЂР°СЏРј */
  }
  /* вЂ” РўР°Р±Р»РёС†Р° РёСЃС‚РѕСЂРёРё TDcoin */
  .history-table-container {
    overflow-x: auto;
    width: 100%;
    padding: 0 8px;
    margin-left: auto;
    margin-right: auto;
  }
  .history-table {
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: none;
  }

  /* вЂ” РРЅРІРµРЅС‚Р°СЂСЊ: РїРѕРєР°Р·С‹РІР°РµРј РєРЅРѕРїРєРё */
  .inv-actions {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .inv-actions .btn,
  .inv-actions input[type="number"] {
    flex: 0 1 auto;
    width: auto !important;
  }

  /* вЂ” РџСЂРѕС„РёР»СЊ: РєРЅРѕРїРєРё СЂРµРґР°РєС‚РёСЂРѕРІР°РЅРёСЏ Рё СЃРјРµРЅС‹ РїР°СЂРѕР»СЏ */
  .profile-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 12px 0;
  }

  /* вЂ” РќР°РІР±Р°СЂ: РІРјРµСЃС‚Рѕ Р°РІР°С‚Р°СЂР° вЂ” РєРЅРѕРїРєР° Р’РѕР№С‚Рё */
  .navbar .avatar { display: none !important; }
  .navbar .login-btn { display: inline-block !important; }

  /* вЂ” Admin: С„РѕСЂРјС‹ Рё С‚Р°Р±Р»РёС†С‹ РІРѕ РІСЃСЋ С€РёСЂРёРЅСѓ */
  .admin-container,
  .admin-container form,
  .admin-container table {
    width: 100% !important;
    padding: 0 8px;
  }
  .admin-container table {
    overflow-x: auto;
    display: block;
  }
}
/* в”Ђв”Ђв”Ђ РЎРїРµС†РёР°Р»СЊРЅС‹Р№ СЃРїРёРЅ РґР»СЏ РјРѕР±РёР»СЊРЅС‹С… в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
@keyframes spin-mobile {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--mobile-shift)); }
}
.spin-mobile {
  animation: spin-mobile 15s cubic-bezier(.15,.8,.2,1) forwards;
}
/* в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.inventory-grid{
  display:grid;
  /* в–ј auto-fit + С„РёРєСЃ 160 px = С€РёСЂРёРЅС‹ РІСЃРµРіРґР° РєСЂР°С‚РЅС‹ 160 px */
  grid-template-columns: repeat(auto-fit, 160px);
  gap:12px;
  justify-content:center;   /* С‡С‚РѕР±С‹ СЃРµС‚РєР° СЃР°РјР° С†РµРЅС‚СЂРёСЂРѕРІР°Р»Р°СЃСЊ */
}

/* РєР°СЂС‚РѕС‡РєР° Р·Р°РїРѕР»РЅСЏРµС‚ СЏС‡РµР№РєСѓ С†РµР»РёРєРѕРј */
.inventory-grid > *{
  width: 100%;
  flex: 1 0 100%;                   /* Р±Р°Р·РѕРІР°СЏ С€РёСЂРёРЅР° = РІСЃСЏ РєРѕР»РѕРЅРєР° */
  max-width: 100%;
}
.inv-card{
  width:160px;   /* С‡С‚РѕР±С‹ РєР°СЂС‚РѕС‡РєР° СЂРѕРІРЅРѕ СЃРѕРІРїР°РґР°Р»Р° СЃ РєРѕР»РѕРЅРєРѕР№ */
  box-sizing:border-box;
}

.profile-container.card.glass{
  width:100%    !important;
  max-width:1100px !important;        /* РґРµСЃРєС‚РѕРї */
  margin:0 auto !important;
  box-sizing:border-box !important;
  align-self:center !important;
}
/* в”Ђв”Ђв”Ђ Mobile fix: РєРѕРЅС‚РµР№РЅРµСЂ Рё СЃРµРєС†РёРё РїРѕ С†РµРЅС‚СЂСѓ в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
@media (max-width: 768px){

  /* СЃР°Рј вЂњРєРѕСЂРѕР±вЂќ РїСЂРѕС„РёР»СЏ Р·Р°РЅРёРјР°РµС‚ РІСЃСЋ С€РёСЂРёРЅСѓ СЌРєСЂР°РЅР° */
  .profile-container.card.glass{
      width:100%;
      max-width:100%;      /* в†ђ Р±РѕР»СЊС€Рµ РЅРµ РІС‹СЃС‚СѓРїР°РµС‚ Р·Р° СЌРєСЂР°РЅ */
      box-sizing:border-box;
      padding:12px;        /* С‡С‚РѕР±С‹ РєРѕРЅС‚РµРЅС‚ РЅРµ РїСЂРёР»РёРїР°Р» Рє РєСЂР°СЏРј */
      margin:0 auto;       /* СЃС‚СЂР°С…РѕРІРєР° вЂ” РѕСЃС‚Р°С‘С‚СЃСЏ РїРѕ С†РµРЅС‚СЂСѓ */
  }

  /* РєР°Р¶РґР°СЏ СЃРµРєС†РёСЏ РІРЅСѓС‚СЂРё (СЃС‚Р°С‚РёСЃС‚РёРєР° / РёРЅРІРµРЅС‚Р°СЂСЊ / РёСЃС‚РѕСЂРёСЏ) */
  .profile-container .section.card,
  .profile-container .stats-block.card,
  .profile-container .drop-block.card{
      width:100%;
      max-width:100%;
  }

  /* СЃРµС‚РєР° РёРЅРІРµРЅС‚Р°СЂСЏ: 2 СЃС‚РѕР»Р±С†Р° РїРѕ 160 px, Р·Р°С‚РµРј 1 СЃС‚РѕР»Р±РµС† */
  .inventory-grid{
      grid-template-columns:repeat(auto-fit, minmax(150px,1fr));
      justify-content:center;
  }
}
/*в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ MOBILE-PLUS  в­ў  в‰¤ 768 px в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ*/
@media (max-width: 768px){

  /* 1. РљРѕСЂРЅРµРІРѕР№ РєРѕРЅС‚РµР№РЅРµСЂ/РєР°СЂС‚Р° РїСЂРѕС„РёР»СЏ вЂў Р·Р°РЅРёРјР°РµС‚ РІСЃСЋ С€РёСЂРёРЅСѓ,
        РґРѕР±Р°РІР»СЏРµРј В«РІРЅСѓС‚СЂРµРЅРЅРёР№В» РѕС‚СЃС‚СѓРї, С‡С‚РѕР±С‹ РєРѕРЅС‚РµРЅС‚ РЅРµ РїСЂРёР»РёРї */
  .profile-container,
  .section.card,
  .section.card.glass,
  .stats-block.card,
  .drop-block.card{
      width:100%!important;
      max-width:100%!important;
      box-sizing:border-box;
      padding-left:12px;padding-right:12px;
  }
  
  /* 2. Р—Р°РіРѕР»РѕРІРєРё С‡СѓС‚СЊ РјРµРЅСЊС€Рµ, С‡С‚РѕР±С‹ РІР»РµР·Р°Р»Рё РґР»РёРЅРЅС‹Рµ СЃС‚СЂРѕРєРё */
  h1{font-size:1.8rem}
  h2{font-size:1.4rem}
  h3{font-size:1.2rem}
  
  /* 3. РќР°РІ-Р±Р°СЂ:
        вЂ“ РІС‹РєР»СЋС‡Р°РµРј РґРµСЃРєС‚РѕРїРЅРѕРµ РјРµРЅСЋ; 
        вЂ“ Р±СѓСЂРіРµСЂ + Р»РѕРіРѕС‚РёРї = РѕРґРЅР° СЃС‚СЂРѕРєР°;
        вЂ“ СЌР»РµРјРµРЅС‚С‹ РїРѕ С†РµРЅС‚СЂСѓ / c sides-padding */
  .navbar-desktop{display:none!important}
  .navbar-mobile{
      display:flex!important;
      justify-content:space-between;
      align-items:center;
      padding:8px 12px;
      background:rgba(0,0,0,.65);
      border-bottom:1px solid var(--accent);
      border-radius:var(--radius);
      box-shadow:0 0 10px rgba(0,255,255,.25);
  }
  
  /* 4. РђРІР°С‚Р°СЂС‹ & В«Р›СѓС‡С€РёР№ РґСЂРѕРїВ» РїРѕРјРµРЅСЊС€Рµ,
        С‡С‚РѕР±С‹ РїРѕРјРµС‰Р°Р»РёСЃСЊ РґРІРµ РєРѕР»РѕРЅРєРё РІ С€Р°РїРєРµ РїСЂРѕС„РёР»СЏ */
  .avatar{width:90px;height:90px}
  .drop-block img{max-width:90px;height:auto}
  
  /* 5. РРЅРІРµРЅС‚Р°СЂСЊ: РіРёР±РєР°СЏ СЃРµС‚РєР° 2в†’1 РєРѕР»РѕРЅРєРё,
        С„РёРєСЃ-С€РёСЂРёРЅР° РєР°СЂС‚РѕС‡РєРё = 150 px  */
  .inventory-grid{
      display:grid !important;
      grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
      gap:12px;
      justify-content:center;
  }
  .inv-card{
      width:100%!important;
      max-width:150px;
      margin:0 auto;
  }
  
  /* 6. РЎРїРёСЃРєРё РїРѕСЃР»РµРґРЅРёС… РІС‹РёРіСЂС‹С€РµР№ / РёСЃС‚РѕСЂРёСЏ вЂ”
        РїСЂРµРІСЂР°С‰Р°РµРј РІ В«РѕРґРЅСѓ РєРѕР»РѕРЅРєСѓВ» (Р»РµРіС‡Рµ С‡РёС‚Р°С‚СЊ РЅР° С‚РµР»РµС„РѕРЅРµ) */
  #history-list,
  .history-cards{
      display:flex !important;
      flex-direction:column;
      gap:12px;
      padding-left:0;
  }
  #history-list li,
  .history-cards li{
      width:100%!important;
      max-width:none;
  }
  
  /* 7. РўР°Р±Р»РёС†С‹ (РєРѕРёРЅС‹, admin-РїР°РЅРµР»СЊ, users):
        РіРѕСЂРёР·РѕРЅС‚Р°Р»СЊРЅС‹Р№ СЃРєСЂРѕР»Р» РІРјРµСЃС‚Рѕ В«РІС‹РґР°РІР»РёРІР°РЅРёСЏВ» */
  table{display:block;overflow-x:auto!important;width:100%!important}
  
  /* 8. РљРЅРѕРїРєРё / РёРЅРїСѓС‚С‹ вЂ“ РєСЂСѓРїРЅРµРµ С‚Р°С‡-Р·РѕРЅС‹ */
  button,
  input[type="number"],
  input[type="text"],
  select{
      font-size:1rem;
      padding:10px;
  }
  
  /* 9. wheel-carousel (РµСЃР»Рё РµСЃС‚СЊ) вЂ“ РјР°СЃС€С‚Р°Р± РІРЅРёР· */
  .wheel-container{height:96px}
  .wheel img{width:90px;height:90px}
  
  /* 10. РћС‚СЃС‚СѓРїС‹ РјРµР¶РґСѓ СЃРµРєС†РёСЏРјРё РєРѕРјРїР°РєС‚РЅРµРµ */
  .section{margin-top:18px}
  }
  /*в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ END MOBILE-PLUS в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ*/
  /* в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ  ADMIN  :  MOBILE  (в‰¤ 768 px)  в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

/* в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

/* в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */


