/* =========================================
   1. ПЕРЕМЕННЫЕ & БАЗА
   ========================================= */
:root {
  --modal_font-size: 10px;
  --modal_font-size: var(--root_font-size, 10px);
  --modal_font-scale-start: var(--root_font-scale-start, 320px);
  --modal_font-scale-step: var(--root_font-scale-step, 0.0035);
  --modal_font-base-scale: var(--root_font-base-scale, 2);
}

body.scroll-delete {
  overflow: hidden;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f4f6;
  margin: 0;
}


#ms header.header:hover {
color: inherit;
  background: none;
}

#ms header div.header__logo:hover {
  color: #5a9fff;
}

.theme-switch:hover {
  color: #5a9fff;
}

.lang-dropdown {
  /* position: absolute;
  top: 20px;
  right: 20px; */
  display: flex;
  align-self: center;
  font-family: inherit;
  position: relative;
  /* font-size: 14px; */
  /* z-index: 1000; */
}
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 0.125em;
  background: transparent;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0 0 0 0.75em;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  color: #374151;
  /* transition: all 0.2s; */
}
.lang-trigger:hover,
.lang-dropdown.open .lang-trigger {
  border-color: #9ca3af;
  /* background: #f9fafb; */
  color: #5a9fff;
}


.lang-arrow {
  /* font-size: 12px; */
  /* transition: transform 0.2s; */
}
.lang-dropdown.open .lang-arrow {
  transform: rotate(180deg);
}
.lang-list {
  position: absolute;
  top: calc(100% + 0.25em);
  /* right: 0; */
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  list-style: none;
  margin: 0;
  /* padding: 4px 0; */
  min-width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  /* transition: all 0.2s ease; */
}
.lang-dropdown.open .lang-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-list a {
  display: block;
  padding: 0.25em 0.75em;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  /* transition: background 0.15s; */
}
.lang-list a:hover {
  background: #f3f4f6;
}
.lang-list a.active {
  color: #111827;
  font-weight: 600;
  background: #f9fafb;
  pointer-events: none;
}

span.lang-current {
  margin: 0 0 0 -5px;
}




/* =========================================
   2. МОДАЛЬНАЯ СТРУКТУРА (Overlay Pattern)
   ========================================= */
#overlay {
  display: none;
  position: fixed;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  z-index: 200;
  background: rgba(0, 0, 0, 0.7) none repeat scroll 0% 0%;
  cursor: pointer;
  overflow-y: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#overlay__modal {
  display: flex;
  padding: 2.5em;
  box-sizing: border-box;
  font-size: var(--modal_font-size);
  text-align: center;
  z-index: 300;
  pointer-events: auto;
  margin: auto;
}

#modal__output {
  display: flex;
  flex-direction: column;
  background: #fff;
  position: relative;
  cursor: default;
  will-change: transform;
  min-width: 0;
  min-height: 0;
}

#buttonCloseModal {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0;
  box-sizing: border-box;
  width: 2em;
  height: 2em;
  font-size: calc(0.75 * var(--modal_font-size) * var(--modal_font-base-scale) + (100vw - var(--modal_font-scale-start)) * var(--modal_font-scale-step));
  display: flex;
  z-index: 500;
  align-items: center;
  align-self: center;
  justify-content: center;
  background: red;
  border: solid 1px #999;
  color: #ffffff;
  cursor: pointer;
}

@media only screen and (min-width:320px) and (max-width:480px) {
  #overlay__modal {
    padding: 0;
    height: auto;
    width: 100%;
  }
  #modal__output {
    min-height: 100dvh;
    justify-content: center;
    width: 100%;
  }
  #buttonCloseModal {
    top: 1em;
    right: 1em;
  }
  #block_info { 
    padding: 1.5em;
  }
}

/* =========================================
   3. КОНТЕНТ ШАГОВ (Step Layout)
   ========================================= */
.modal-step {
  display: flex;
  flex-direction: column;
  cursor: default;
}

.modal-step-header {
  padding: 1em 0;
  /* min-height: 2.75em; */
  background: #f4f7f9;
  font-weight: 700;
  color: #0d7097;
  text-align: center;
}

.modal-step-subtitle {
  padding: 8px 20px 0;
  color: #666666;
  text-align: center;
}

.modal-step-content {
  padding: 1em 0 0;
  flex: 1;
  overflow-y: auto;
}

.modal-step-actions {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid #e0e0e0;
  background: #fafafa;
}

.modal-hint {
  color: #666666;
  font-size: 14px;
  margin: 0;
  padding: 0 20px 8px;
}

.modal-input {
  background: #ffffff;
  border: 1px solid #cccccc;
  padding: 12px;
  margin: 8px 20px 16px;
  width: calc(100% - 40px);
  font-size: 14px;
  color: #333333;
  border-radius: 4px;
  box-sizing: border-box;
}

.modal-input:focus {
  outline: 2px solid #0d7097;
  border-color: transparent;
}

/* Кнопки добавления */
.add-btn {
  background: #00a0e0;
  color: #ffffff;
  border: none;
  width: 100%;
  padding: 0.75em 1em;
  margin-top: 1.5em;
  font-size: inherit;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.125em;
  border-radius: 5px;
  /* transition: background 0.2s; */
}

.add-btn:hover {
  background: #0a5a7a;
}


/* =========================================
   4. СПИСКИ & ЭЛЕМЕНТЫ
   ========================================= */
.modal-menu-item {
  /* padding: 0.75em 0; */
  min-height: 2.75em;
  color: #333333;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid #eeeeee;
  /* transition: background 0.2s; */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* .modal-menu-item:last-child {
  margin-bottom: 1.5em;
} */

.modal-menu-item:hover {
  border-bottom: 1px solid #16b3f0;
}

.category-name,
.weapon-name {
  /* flex: 1; */
  display: flex;
  font-weight: 500;
}

.category-action,
.weapon-action,
.stats-actions {
  display: flex;
  gap: 0.25em;
  align-items: center;
  padding: 0 0 0 1em;
}

/* Иконки-кнопки */
.cat-icon,
.wpn-icon,
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  /* transition: background 0.2s, color 0.2s; */
  font-size: inherit;
  background: transparent;
  border: none;
  padding: 0;
  color: #666;
}

.cat-icon.eye,
.wpn-icon.eye,
.stat-icon.eye {
  color: #27ae60;
}

.cat-icon.eye.hidden,
.wpn-icon.eye.hidden,
.stat-icon.eye.hidden {
  color: #aaaaaa;
}

.cat-icon.trash,
.wpn-icon.trash,
.stat-icon.trash {
  color: #e74c3c;
}

.cat-icon.edit,
.wpn-icon.edit,
.stat-icon.edit {
  color: #f39c12;
}

/* Цвет иконок шрифта внутри кнопок */
.cat-icon .icon-eye,
.wpn-icon .icon-eye,
.stat-icon .icon-eye {
  color: #27ae60;
}

.cat-icon .icon-eye-off,
.wpn-icon .icon-eye-off,
.stat-icon .icon-eye-off {
  color: #aaaaaa;
}

.cat-icon .icon-trash-empty,
.wpn-icon .icon-trash-empty,
.stat-icon .icon-trash-empty {
  color: #e74c3c;
}

.cat-icon .icon-pencil,
.wpn-icon .icon-pencil,
.stat-icon .icon-pencil {
  color: #f39c12;
}

.cat-icon:hover,
.wpn-icon:hover,
.stat-icon:hover {
  background: #e8ecef;
}

.cat-icon.eye:hover,
.wpn-icon.eye:hover,
.stat-icon.eye:hover {
  background: #d5f5e3;
}

.cat-icon.eye:hover .icon-eye {
  color: #1e8e4e;
}

.cat-icon.eye.hidden:hover .icon-eye-off,
.wpn-icon.eye.hidden:hover .icon-eye-off,
.stat-icon.eye.hidden:hover .icon-eye-off {
  color: #888;
}

.cat-icon.trash:hover,
.wpn-icon.trash:hover,
.stat-icon.trash:hover {
  background: #fadbd8;
}

.cat-icon.trash:hover .icon-trash-empty,
.wpn-icon.trash:hover .icon-trash-empty,
.stat-icon.trash:hover .icon-trash-empty {
  color: #c0392b;
}

.cat-icon.edit:hover,
.wpn-icon.edit:hover,
.stat-icon.edit:hover {
  background: #fdebd0;
}

.cat-icon.edit:hover .icon-pencil,
.wpn-icon.edit:hover .icon-pencil,
.stat-icon.edit:hover .icon-pencil {
  color: #d68910;
}

/* =========================================
   5. СТАТИСТИКА & УРОН
   ========================================= */
.weapon-stats-section {
  padding: 0.75em 0 0;
}

.weapon-stats-section:last-child {
  border-bottom: none;
}

.stats-section-title {
  font-weight: 700;
  color: #0d7097;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 1em 0;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45em 0;
  min-height: 2.75em;
  border-bottom: 1px solid #f0f0f0;
}

/* .stats-row:last-child {
  margin-bottom: 1.5em;
} */

.stats-row:hover {
  border-bottom: 1px solid #16b3f0;
}

.stats-label {
  color: #555555;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.subsonic-checkbox-label {
  display: block; 
  margin: 0 !important;
  margin-top: 6px; 
  /* font-size: 12px;  */
  font-size: 100%;
  color: #888 !important; 
  cursor: not-allowed;
}

.stats-value {
  font-weight: 700;
  color: #222222;
  /* min-width: 60px; */
  text-align: right;
}

.damage-section {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 0.75em;
}

.damage-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75em 0;
  color: #666666;
}

.damage-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5em;
}

.damage-cell {
  background: #ffffff;
  /* border: 1px solid #00a0e0; */
  border: 1px solid #f39c12;
  border-radius: 4px;
  padding: 0.25em;
  text-align: center;
  color: #333333;
  font-weight: 600;
}

.damage-label {
  color: #00a0e0;
  display: block;
  /* margin-bottom: 4px; */
}

/* ✅ Подсветка ячеек урона только через CSS (без рамок) */
.damage-input {
  transition: background-color 0.15s ease;
  border-radius: 3px;
  padding: 2px 4px;
  cursor: text;
}
.damage-input:hover {
  background: #fff3e0;
}
.damage-input:focus {
  background: #fff3e0 !important;
  outline: none;
}

/* Параметр в строке редактирования — рамка (белый фон, оранжевая обводка) */
.editing-barrel .barrel-name,
.editing-barrel .barrel-velocity,
.editing-ammo .ammo-name,
.editing-ammo .ammo-multiplier {
  background: #ffffff;
  border: 2px solid #f39c12;
  border-radius: 4px;
  padding: 0.15em 0.5em;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.editing-barrel .barrel-name:hover,
.editing-barrel .barrel-velocity:hover,
.editing-ammo .ammo-name:hover,
.editing-ammo .ammo-multiplier:hover {
  background: #fff3e0;
}

/* ✅ НОВОЕ: фокус внутри параметра — светло-оранжевый фон */
.editing-barrel .barrel-name.focus-param,
.editing-barrel .barrel-velocity.focus-param,
.editing-ammo .ammo-name.focus-param,
.editing-ammo .ammo-multiplier.focus-param {
  background-color: #fff8f0 !important;
  cursor: text;
}

/* Редактируемый элемент — состояние редактирования (рамка, белый фон) */
.is-editing {
  background: #ffffff !important;
  border: 2px solid #f39c12 !important;
  border-radius: 4px;
  padding: 0.15em 0.5em;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

/* Ховер над элементом в режиме "готов к редактированию" */
.is-editing:hover {
  background: #fff8f0 !important;
}

/* Режим редактирования параметра — фокус (светло-оранжевый фон) */
.is-editing.focus-param {
  background-color: #fff8f0 !important;
  cursor: text;
}

.ammo-select-barrel {
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 4px;
  padding: 8px;
  color: #333333;
  /* font-size: 14px; */
  cursor: pointer;
  margin-bottom: 12px;
  width: 100%;
}

.ammo-select-barrel option {
  padding: 8px;
  background: #ffffff;
}

.save-cancel-buttons {
  display: flex;
  gap: 0.75em;
  margin-top: 1.75em;
}

.save-btn {
  color: #ffffff;
  border: none;
  width: 100%;
  padding: 0.75em 1em;
  text-align: left;
  font-size: inherit;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 10px; */
  border-top: 1px solid #e0e0e0;
  border-radius: 5px;
  /* transition: background 0.2s; */
  background: #16c60c;
}

.cancel-btn {
  color: #ffffff;
  border: none;
  width: 100%;
  padding: 0.75em 1em;
  text-align: left;
  font-size: inherit;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid #e0e0e0;
  border-radius: 5px;
  /* transition: background 0.2s; */
  background: #f03a17;
}

/* =========================================
   6. ОСНОВНАЯ ТАБЛИЦА (Оригинал)
   ========================================= */
#ms header.header {
  position: sticky;
}

#ms .container {
  margin: 0 auto;
  min-width: 100%;
  max-width: 100%;
  /* font-size: 24px !important; */
  font-family: Arial, sans-serif;
}

.wrapper-table {
  max-width: 1920px;
  overflow: clip;
  margin: 0 auto;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
}

#ms .category-header {
  background: #fff;
  padding: 1.25em 0;
  font-weight: bold;
  color: #466a7c;
  border-radius: 4px;
  display: flex;
  align-items: center;
  border-left: 3px solid #466a7c;
}

.category-header .settings-icon {
  width: 60px;
  text-align: center;
  flex-shrink: 0;
}

.category-header-title {
  flex: 1;
}

/* .category-container {
  margin-bottom: 0px;
} */

.weapons-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #747b8b;
}

.table-header:hover .icon-cog, .category-header:hover .icon-cog, .weapon-block:hover .icon-cog {
 color: #00a0e0;
}

.weapons-list .weapon-block:nth-child(odd) {
  background: #f6f6f6;
}

.weapons-list .weapon-block:nth-child(even) {
  background: #fff;
}

#ms .table-header {
  display: flex;
  flex-wrap: nowrap;
  min-width: 100%;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #466a7c;
  border-bottom: 2px solid #333;
  color: #fff;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

#ms .content {
  margin: 0 auto;
  min-width: 100%;
}

#ms .table-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: auto;
  background: #fdfdfd;
  border-bottom: 2px solid #333;
}

#ms .th {
  text-align: center;
  border-right: 1px solid #a6a6a6;
  white-space: nowrap;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: center;
  align-self: center;
}

.th.btn {
  width: 60px;
  min-width: 60px;
}

.th.name {
  width: 180px;
  overflow: clip;
}

.th.rpm {
  min-width: 85px;
}

.th.vel {
  min-width: 120px;
}

.th.dmg {
  /* width: 52px; */
  width: calc(52px + 0.5em);
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: calc(52px + 0.5em);
  padding: 0.5em 0 0.75em;
}

.th.ttk {
  /* width: 52px; */
  width: calc(52px + 0.5em);
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: calc(52px + 0.5em);
  padding: 0.5em 0 0.75em;
}

.th.ammo {
  width: 200px;
  min-width: 200px;
}

.th:last-child {
  border-right: none;
}

.header-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  flex-grow: 3;
  flex-shrink: 1;
}

.header-title {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0.5em 0;
  font-weight: normal;
  height: 100%;
}

.header-distances {
  display: flex;
  flex-direction: row;
}

.damage-mode-selector {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-left: 0.5em;
}

.damage-mode-checkbox {
  display: none;
}

.damage-mode-label {
  padding: 0.5em 1.5em;
  border: 1px solid #555;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.25em;
  justify-content: center;
}

.damage-mode-label[for="damageModeBody"] {
  background: #20ff0085;
}

.damage-mode-label[for="damageModeHead"] {
  background: #f00;
}

.damage-mode-label::before {
  font-family: "my_font";
  content: '\f096';
  /* content: '☐'; */
  display: inline-block;
  border-radius: 3px;
  background: transparent;
  transition: all 0.2s;
}

.damage-mode-checkbox:checked + .damage-mode-label::before {
  font-family: "my_font";
  content: '\e814';
  /* content: '☑'; */
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.ammo-select {
  width: calc(100% - 0.5em);
  background: #fff;
  border: 1px solid #555;
  border-radius: 3px;
  padding: 0.25em 0.5em;
  color: #909090;
  font-size: 20px;
  cursor: pointer;
}

.ammo-select option {
  padding: 4px;
}

.settings-icon {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform 0.2s;
}

.settings-icon:hover {
  transform: rotate(30deg);
}

.weapon-block {
  display: flex;
  border: 1px solid #dadada;
  border-radius: 4px;
}

.weapon-header {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.col-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-right: 1px solid #dfdfdf;
  box-sizing: border-box;
  width: 60px;
}

.col-name {
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-right: 1px solid #dfdfdf;
  min-width: 180px;
}

.col-rpm {
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-right: 1px solid #dfdfdf;
  box-sizing: border-box;
  min-width: 85px;
}

.config-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: inherit;
}

.config-row {
  display: flex;
  align-items: center;
  padding: 2px 0px;
  border-bottom: 1px solid #dfdfdf;
}

.config-row:last-child {
  border-bottom: none;
}

.cell {
  /* padding: 10px 10px; */
  padding: 0.5em 0.5em;
  text-align: center;
  outline: none;
  border-radius: 3px;
  box-sizing: border-box;
  margin: 0 1px;
  flex-shrink: 0;
  height: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
  border-right: 1px solid #dfdfdf;
}

.cell.vel {
  text-align: center;
  width: 120px;
}

.cell.dmg {
  /* width: 50px; */
  width: calc(50px + 0.5em);
  text-align: center;
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: calc(50px + 0.5em);
}

.cell.ttk-body {
  width: calc(50px + 0.5em);
  text-align: center;
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: calc(50px + 0.5em);
}

.weapon-block:nth-child(2n+1) .cell.ttk-body {
  background: #00ff404a;
}

.weapon-block:nth-child(2n) .cell.ttk-body {
  background: #00ff4030;
}

.cell.ttk-head {
  width: calc(50px + 0.5em);
  text-align: center;
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: calc(50px + 0.5em);
}

.weapon-block:nth-child(2n+1) .cell.ttk-head {
  background: #ff00003d;
}

.weapon-block:nth-child(2n) .cell.ttk-head {
  background: #ff000025;
}

.cell.ammo {
  text-align: left;
  display: flex;
  border-right: none;
  width: 200px;
  min-width: 200px;
}

.actions {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  padding: 1em 0.75em;
}

#ms button.dump-export, #ms button.dump-import  {
  padding: 0.5em 1.5em;
  border: 1px solid #466a7c;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.25em;
  justify-content: center;
  background: #fafafa;
  font-size: inherit;
  color: inherit;
  font-family: inherit;
}
@media (min-width: 1920px) {

  #ms .actions {
    padding: 1em 0;
  }
} 


button {
  padding: 8px 16px;
  color: white;
  border: none;
  cursor: pointer;
}


#ms a.text_link {
  color: #378eff;
}












.block_version {
  background: #466a7c;
  padding: 2em;
}

.current_version {
  color: #ffffff;
}

.wrapper_select_version {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1em;
  width: max-content;
}

.block_version select {
  width: auto;
  background: #fff;
  border: 1px solid #555;
  border-radius: 3px;
  padding: 0.25em 0.5em;
  color: #909090;
  font-size: inherit;
  cursor: pointer;
}

#ms .block_version button.button_version {
  padding: 0 0.75em;
  background: none;
  font-size: inherit;
  border: 1px solid #fff;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

#ms .block_version button.button_version:hover {
  background: #ffffff;
  color: #000;
}








.donate-widget {
  display: flex;
  justify-content: center;
}


#ms a.btn-donate {
  background: #00a0e0;
  color: #ffffff;
  border: none;
  width: 100%;
  max-width: 300px;
  padding: 0.75em 1em;
  margin-top: 1.5em;
  font-size: inherit;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.125em;
  border-radius: 5px;
  /* transition: background 0.2s; */
}

#ms a.btn-donate:hover {
  background: #0a5a7a;
}






/* =========================================
   7. АДАПТИВ (Mobile)
   ========================================= */
@media (max-width: 768px) {
  /* .cell,
  .col-name,
  .col-rpm {
    font-size: 16px;
  } */

  /* .cat-icon,
  .wpn-icon,
  .stat-icon {
    width: 24px;
    height: 24px;
    font-size: 16px;
  } */

  .damage-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
}


@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.damage-mode-checkbox:checked + .damage-mode-label {
    animation: 1.2s ease-in-out 1s normal none 2 running trambling-animation;
}
