@charset "UTF-8";
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  background-color: #020617;
  color: #fff;
}

.Classified-line {
  background-color: #d32f2f;
}

.Industrial-line {
  background-color: #5e98d9;
}

.Consumer-line {
  background-color: #b0c3d9;
}

.Mil-Spec-line {
  background-color: #4b69ff;
}

.Restricted-line {
  background-color: #8847ff;
}

.Covert-line {
  background-color: #d32f2f;
}

.Extraordinary-line {
  background-color: #f7f728;
}

.Exotic-line {
  background-color: rgb(211, 46, 230);
}

.Remarkable-line {
  background-color: rgb(136, 71, 255);
}

.High-line {
  background-color: rgb(75, 105, 255);
}

.sticker-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
.sticker-wrapper-item {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

.main-weapon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
  padding: 0px 10px;
}
@media screen and (max-width: 980px) {
  .main-weapon {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.add-stickers {
  padding: 0px 10px;
  margin-bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
}
.add-stickers .stickers-wrap, .add-stickers .charms-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
}
@media screen and (max-width: 500px) {
  .add-stickers .stickers-wrap, .add-stickers .charms-wrap {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
.add-stickers .stickers-wrap .single-stickers, .add-stickers .stickers-wrap .single-charms, .add-stickers .charms-wrap .single-stickers, .add-stickers .charms-wrap .single-charms {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
  background-color: rgb(23, 37, 84);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 10px;
  cursor: pointer;
  width: 100%;
  max-width: 150px;
}
@media screen and (max-width: 500px) {
  .add-stickers .stickers-wrap .single-stickers, .add-stickers .stickers-wrap .single-charms, .add-stickers .charms-wrap .single-stickers, .add-stickers .charms-wrap .single-charms {
    max-width: calc(50% - 5px);
  }
}
.add-stickers .stickers-wrap .single-stickers .stickers-title, .add-stickers .stickers-wrap .single-stickers .charms-title, .add-stickers .stickers-wrap .single-charms .stickers-title, .add-stickers .stickers-wrap .single-charms .charms-title, .add-stickers .charms-wrap .single-stickers .stickers-title, .add-stickers .charms-wrap .single-stickers .charms-title, .add-stickers .charms-wrap .single-charms .stickers-title, .add-stickers .charms-wrap .single-charms .charms-title {
  color: #fff;
  font-size: 12px;
}
.add-stickers .stickers-wrap .single-stickers svg, .add-stickers .stickers-wrap .single-charms svg, .add-stickers .charms-wrap .single-stickers svg, .add-stickers .charms-wrap .single-charms svg {
  fill: rgb(60, 93, 131);
  width: 48px;
  height: 48px;
}
.add-stickers .stickers-wrap .single-stickers img, .add-stickers .stickers-wrap .single-charms img, .add-stickers .charms-wrap .single-stickers img, .add-stickers .charms-wrap .single-charms img {
  max-width: 150px;
}
@media screen and (max-width: 500px) {
  .add-stickers .stickers-wrap .single-charms, .add-stickers .charms-wrap .single-charms {
    max-width: none;
  }
}

.view-gun {
  width: 100%;
  max-width: 500px;
}
.view-gun-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: rgb(23, 37, 84);
  cursor: pointer;
  padding: 15px;
}
.view-gun-title {
  color: #fff;
  font-size: 16px;
}
.view-gun-image {
  -o-object-fit: contain;
     object-fit: contain;
  max-width: 250px;
}

.guns,
.stickers,
.charms {
  width: 100%;
}
.guns-wrapper,
.stickers-wrapper,
.charms-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  max-height: 520px;
  overflow: auto;
}
@media screen and (max-width: 1300px) {
  .guns-wrapper,
  .stickers-wrapper,
  .charms-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 500px) {
  .guns-wrapper,
  .stickers-wrapper,
  .charms-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
.guns-single,
.stickers-single,
.charms-single {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  border: 1px solid rgb(50, 37, 85);
  gap: 10px;
  padding: 10px 0px;
  cursor: pointer;
}
.guns-head,
.stickers-head,
.charms-head {
  margin: 0 auto;
}
.guns-title,
.stickers-title,
.charms-title {
  color: #fff;
  font-size: 12px;
}
.guns-rarity-line,
.stickers-rarity-line,
.charms-rarity-line {
  height: 3px;
  width: 100%;
}
.guns-image,
.stickers-image,
.charms-image {
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (max-width: 500px) {
  .guns svg path,
  .stickers svg path,
  .charms svg path {
    width: 32px;
    height: 32px;
  }
}

.stickers, .charms {
  display: none;
}

.close-gun-btn,
.close-sticker,
.close-charms {
  position: absolute;
  right: 6px;
  top: 6px;
  font-size: 18px;
  cursor: pointer;
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.selected-sticker-slot, .selected-charms-slot {
  position: relative;
}

.view-gun-container {
  position: relative;
}

.filters-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: right;
      -ms-flex-pack: right;
          justify-content: right;
  margin-bottom: 20px;
}

.filters-by-tag {
  width: 220px;
  position: relative;
}
.filters-by-tag .tag-select-current {
  padding: 10px 12px;
  background: #222;
  border: 1px solid #444;
  border-radius: 6px;
  font-size: 14px;
  color: #f0f0f0;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.filters-by-tag .tag-select-options-container {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #1f1f1f;
  border: 1px solid #444;
  border-radius: 6px;
  z-index: 20;
  overflow-y: auto;
  max-height: 300px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.filters-by-tag .tag-select-options-container .tag-select-option {
  padding: 10px 12px;
  color: #e0e0e0;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.filters-by-tag .tag-select-options-container .tag-select-option:hover {
  background: #333;
}
.filters-by-tag .tag-select-options-container .tag-select-option:first-child {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
.filters-by-tag .tag-select-options-container .tag-select-option:last-child {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.filters-by-tag.open .tag-select-options-container {
  display: block;
}

.filters-by-tag .tag-select-options {
  display: none !important;
}

.filters-by-name input#nameFilter {
  width: 100%;
  padding: 10px 12px;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 6px;
  color: #f0f0f0;
  font-size: 14px;
  outline: none;
  -webkit-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}
.filters-by-name input#nameFilter:focus {
  border-color: #888;
}
.filters-by-name input#nameFilter::-webkit-input-placeholder {
  color: #777;
}
.filters-by-name input#nameFilter::-moz-placeholder {
  color: #777;
}
.filters-by-name input#nameFilter:-ms-input-placeholder {
  color: #777;
}
.filters-by-name input#nameFilter::-ms-input-placeholder {
  color: #777;
}
.filters-by-name input#nameFilter::placeholder {
  color: #777;
}

/* Скрываем оригинальные PHP-опции */
.tag-select-options {
  display: none !important;
}

/* Прокрутка для длинных списков */
.tag-select-options-container {
  max-height: 300px;
  overflow-y: auto;
}

/* Индикатор открытого состояния */
.filters-by-tag.open .tag-select-current {
  border-color: #666;
}

/* Анимация для плавного открытия */
.tag-select-options-container {
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  opacity: 0;
  display: none;
}

.filters-by-tag.open .tag-select-options-container {
  opacity: 1;
  display: block;
}

/* Стили для активной опции */
.tag-select-option.active {
  background-color: #444;
  color: #fff;
}

/* Кнопка сброса фильтров (опционально) */
.reset-filters-btn {
  padding: 10px 12px;
  background: #333;
  border: 1px solid #444;
  border-radius: 6px;
  color: #f0f0f0;
  font-size: 14px;
  cursor: pointer;
  margin-left: 10px;
}

.reset-filters-btn:hover {
  background: #444;
}

#canvas-3d-preview {
  position: relative;
  width: 100%;
  height: 500px;
  margin-bottom: 40px;
  overflow: hidden;
}
#canvas-3d-preview #sticker-canvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
  z-index: 100;
  cursor: pointer;
}
#canvas-3d-preview canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

#controls-panel {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  background: rgba(20, 25, 35, 0.95);
  color: white;
  padding: 15px;
  border-radius: 10px;
  z-index: 200;
  font-family: Arial, sans-serif;
  font-size: 12px;
  min-width: 270px;
  backdrop-filter: blur(8px);
  border: 1px solid #333;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  max-height: 85vh;
}
#controls-panel.minimized {
  min-width: 120px;
  max-height: 150px;
}
#controls-panel.minimized .control-group {
  display: none;
}
#controls-panel.minimized .control-group:nth-child(-n+3) {
  display: block;
}
#controls-panel .toggle-button {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 20px;
  height: 20px;
  background: #444;
  color: white;
  border-radius: 3px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  font-size: 14px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  z-index: 201;
}
#controls-panel .toggle-button:hover {
  background: #555;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
#controls-panel .panel-header {
  margin-bottom: 10px;
  font-weight: bold;
  color: #00ff88;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
  font-size: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}
#controls-panel .control-group {
  margin-bottom: 10px;
}
#controls-panel .control-group .control-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 5px;
}
#controls-panel .control-group .control-label span:first-child {
  color: #ccc;
}
#controls-panel .control-group .control-label span:last-child {
  color: #ffcc00;
}
#controls-panel .control-group .control-label span:last-child.exposure {
  color: #4fc3f7;
}
#controls-panel .control-group .control-label span:last-child.ambient {
  color: #4fc3f7;
}
#controls-panel .control-group .control-label span:last-child.keyLight {
  color: #ff9800;
}
#controls-panel .control-group .control-label span:last-child.roughness {
  color: #8bc34a;
}
#controls-panel .control-group .control-label span:last-child.metalness {
  color: #9c27b0;
}
#controls-panel .control-group .control-label span:last-child.fillLight {
  color: #4fc3f7;
}
#controls-panel .control-group .control-label span:last-child.rimLight {
  color: #4fc3f7;
}
#controls-panel .control-group input[type=range] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
  background: -webkit-gradient(linear, left top, right top, from(#333), to(#ffcc00));
  background: linear-gradient(to right, #333, #ffcc00);
}
#controls-panel .control-group input[type=range]#exposureSlider {
  background: -webkit-gradient(linear, left top, right top, from(#333), to(#4fc3f7));
  background: linear-gradient(to right, #333, #4fc3f7);
}
#controls-panel .control-group input[type=range]#ambientSlider {
  background: -webkit-gradient(linear, left top, right top, from(#333), to(#4fc3f7));
  background: linear-gradient(to right, #333, #4fc3f7);
}
#controls-panel .control-group input[type=range]#keyLightSlider {
  background: -webkit-gradient(linear, left top, right top, from(#333), to(#ff9800));
  background: linear-gradient(to right, #333, #ff9800);
}
#controls-panel .control-group input[type=range]#roughnessSlider {
  background: -webkit-gradient(linear, left top, right top, from(#333), to(#8bc34a));
  background: linear-gradient(to right, #333, #8bc34a);
}
#controls-panel .control-group input[type=range]#metalnessSlider {
  background: -webkit-gradient(linear, left top, right top, from(#333), to(#9c27b0));
  background: linear-gradient(to right, #333, #9c27b0);
}
#controls-panel .control-group input[type=range]#fillLightSlider {
  background: -webkit-gradient(linear, left top, right top, from(#333), to(#4fc3f7));
  background: linear-gradient(to right, #333, #4fc3f7);
}
#controls-panel .control-group input[type=range]#rimLightSlider {
  background: -webkit-gradient(linear, left top, right top, from(#333), to(#4fc3f7));
  background: linear-gradient(to right, #333, #4fc3f7);
}
#controls-panel .button-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  margin: 15px 0 10px;
}
#controls-panel .button-group:first-of-type {
  margin-top: 15px;
}
#controls-panel button {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 8px;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
  font-weight: bold;
}
#controls-panel button:hover:not(:disabled) {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
#controls-panel button:active:not(:disabled) {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
#controls-panel button#vividBtn {
  background: linear-gradient(135deg, #ff4081, #7b1fa2);
}
#controls-panel button#defaultBtn {
  background: linear-gradient(135deg, #2196f3, #0d47a1);
}
#controls-panel button#clearStickersBtn, #controls-panel button#clearCharmsBtn {
  background: #333;
  font-weight: normal;
}
#controls-panel button#resetBtn {
  background: #555;
}
#controls-panel button#open3DViewerBtn {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 6px;
  font-size: 13px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
          box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
#controls-panel button#open3DViewerBtn:hover:not(:disabled) {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
          box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}
#controls-panel button#open3DViewerBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: linear-gradient(45deg, #666, #888);
}
#controls-panel .three-d-section {
  margin-top: 12px;
  border-top: 1px solid #333;
  padding-top: 12px;
}
#controls-panel .three-d-section .info-text {
  font-size: 10px;
  color: #888;
  text-align: center;
  margin-top: 5px;
}
#controls-panel #statusMessage {
  margin-top: 8px;
  font-size: 11px;
  color: #4fc3f7;
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 8px;
}
#controls-panel #weaponStatus {
  margin-top: 8px;
  font-size: 10px;
  color: #777;
  text-align: center;
}
#controls-panel .info-section {
  margin-top: 8px;
  font-size: 10px;
  color: #888;
  text-align: center;
}
#controls-panel .info-section div {
  margin-top: 2px;
}
#controls-panel .info-section #currentWeaponName {
  color: #4fc3f7;
}
#controls-panel .info-section #modelTypeInfo {
  font-size: 9px;
}
#controls-panel .info-section #elementCount {
  color: #ccc;
}
#controls-panel .help-text {
  margin-top: 10px;
  font-size: 10px;
  color: #777;
  text-align: center;
}

.guns-single {
  border: 1px solid rgb(50, 37, 85);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.guns-single.selected {
  -webkit-box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
          box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  border: 2px solid #00ffff;
}

.single-stickers,
.single-charms {
  position: relative;
}
.single-stickers.filled svg,
.single-stickers.filled .stickers-title,
.single-stickers.filled .charms-title,
.single-charms.filled svg,
.single-charms.filled .stickers-title,
.single-charms.filled .charms-title {
  display: none !important;
}
.single-stickers.filled .close-sticker,
.single-stickers.filled .close-charms,
.single-charms.filled .close-sticker,
.single-charms.filled .close-charms {
  display: block !important;
}
.single-stickers:not(.filled) .close-sticker,
.single-stickers:not(.filled) .close-charms,
.single-charms:not(.filled) .close-sticker,
.single-charms:not(.filled) .close-charms {
  display: none !important;
}

.sticker-element {
  position: absolute;
  -webkit-box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
          box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
}
.sticker-element.selected {
  outline: 2px solid #00ff00;
  outline-offset: -2px;
}
.sticker-element.selected.sticker .rotation-handle {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 12px;
  height: 12px;
  background: #00ff00;
  border-radius: 50%;
  cursor: -webkit-grab;
  cursor: grab;
}
.sticker-element.selected.sticker .rotation-handle:hover {
  background: #00cc00;
}
.sticker-element.selected.sticker .rotation-handle:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border: 1px solid black;
  border-width: 1px 0 0 1px;
}
.sticker-element.selected.charm .rotation-handle {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 12px;
  height: 12px;
  background: #ff9900;
  border-radius: 50%;
  cursor: -webkit-grab;
  cursor: grab;
}
.sticker-element.selected.charm .rotation-handle:hover {
  background: #ff7700;
}
.sticker-element.selected.charm .rotation-handle:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border: 1px solid black;
  border-width: 1px 0 0 1px;
}

@media (max-width: 768px) {
  #controls-panel {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 40px);
    margin: 20px auto;
    min-width: auto;
    max-height: 400px;
  }
  #canvas-3d-preview {
    height: 400px;
  }
}
@media (max-width: 480px) {
  #controls-panel {
    font-size: 11px;
    padding: 10px;
  }
  #controls-panel .button-group {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 5px;
  }
  #controls-panel button {
    width: 100%;
  }
  #canvas-3d-preview {
    height: 350px;
  }
}/*# sourceMappingURL=index.min.css.map */