/* RELOAD23 вЂ” РЅР°СЃС‚СЂРѕР№РєРё РїСЂРѕС„РёР»СЏ (СЃС‚СЂСѓРєС‚СѓСЂР° RELOAD23). */

/* Р¤РѕРЅ РїСЂРѕС„РёР»СЏ */
.profile-page.has-bg .profile-page__bg {
  width: 100%;
  filter: none;
  opacity: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.profile-page.has-bg .profile-page__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 27, 22, 0.82), rgba(12, 20, 16, 0.89));
}
.pf-bg-media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* РћРІРµСЂР»РµР№ */
.pfset-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.75);
}

/* РџР°РЅРµР»СЊ */
.pfset-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 672px;
  max-height: 88vh;
  overflow: hidden;
  border-radius: 16px;
  background: #141c17;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* РЁР°РїРєР° */
.pfset-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pfset-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pfset-balance {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(240, 196, 91, 0.2);
  border-radius: 6px;
  background: rgba(240, 196, 91, 0.06);
  color: #f0c45b;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.pfset-balance svg { width: 14px; height: 14px; flex: 0 0 auto; }
.pfset-close {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: #6b7480;
  cursor: pointer;
}
.pfset-close:hover { color: #fff; }
.pfset-close svg { width: 20px; height: 20px; }

/* Р’РєР»Р°РґРєРё */
.pfset-tabs {
  display: flex;
  gap: 4px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pfset-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #6b7480;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.pfset-tab svg { width: 14px; height: 14px; }
.pfset-tab:hover { color: #cfd3d8; }
.pfset-tab.is-active {
  border-bottom-color: #7cc242;
  color: #fff;
}

/* РўРµР»Рѕ */
.pfset-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px;
}

/* Р¤РѕРЅ РїСЂРѕС„РёР»СЏ */
.pfset-label {
  margin: 0 0 12px;
  color: #6b7480;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pfset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px) {
  .pfset-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pfset-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #0d1116;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}
.pfset-tile:hover { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2); }
.pfset-tile.is-selected { box-shadow: 0 0 0 2px #7cc242; }
.pfset-tile > img,
.pfset-tile > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pfset-tile-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(130deg, #12251a, #0d1116);
  color: #4e6b58;
}
.pfset-tile-empty svg { width: 20px; height: 20px; }
.pfset-tile-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 16px 8px 6px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  text-align: left;
}
.pfset-tile-name {
  overflow: hidden;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pfset-tile-play {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.pfset-tile-play svg { width: 12px; height: 12px; }
.pfset-tile-price {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px 6px;
  border-radius: 2px;
  background: #f0c45b;
  color: #000;
  font-size: 9px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pfset-tile-price svg { width: 10px; height: 10px; }
.pfset-tile-owned {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.6);
  color: #a4c934;
  font-size: 9px;
  font-weight: 700;
}
.pfset-tile-hidden {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(139, 92, 246, 0.8);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}
.pfset-tile-check {
  position: absolute;
  top: 6px;
  left: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #7cc242;
  color: #000;
}
.pfset-tile-check svg { width: 10px; height: 10px; }

/* РџСЂРёРІР°С‚РЅРѕСЃС‚СЊ */
.pfset-list { display: flex; flex-direction: column; gap: 8px; }
.pfset-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  text-align: left;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}
.pfset-row:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.pfset-row-text { min-width: 0; }
.pfset-row-label {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.pfset-row-hint {
  display: block;
  margin-top: 2px;
  color: #6b7480;
  font-size: 11px;
}
.pfset-switch {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #35584a;
  transition: background 0.2s ease;
}
.pfset-switch.is-on { background: #a4c934; }
.pfset-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s ease;
}
.pfset-switch.is-on .pfset-knob { left: 18px; }

/* Р’РёС‚СЂРёРЅС‹ */
.pfset-empty {
  margin: 0;
  color: #8b929a;
  font-size: 14px;
  line-height: 1.5;
}
.pfset-footer {
  display: flex;
  justify-content: flex-start;
  padding: 14px 20px;
  border-top: 1px solid rgba(124, 194, 66, 0.12);
  background: rgba(12, 20, 16, 0.6);
}
.pfset-footer[hidden] { display: none; }
.pfset-footer .pfset-save { margin: 0; min-width: 140px; }

.pfset-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 16px;
  box-sizing: border-box;
  border: 1px solid #6bd27f;
  border-radius: 6px;
  background: #3d9c4a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}
.pfset-save:hover { background: #46b356; border-color: #7ee292; }

/* РЎРєСЂРѕР»Р»Р±Р°СЂ РїР°РЅРµР»Рё */
.pfset-body::-webkit-scrollbar { width: 8px; }
.pfset-body::-webkit-scrollbar-track { background: transparent; }
.pfset-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

/* Р’РёС‚СЂРёРЅР° РІ РЅР°СЃС‚СЂРѕР№РєР°С… */
.pfset-showcase-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pfset-showcase-count { color: #8b929a; font-size: 11px; font-weight: 600; }
.pfset-showcase-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-height: 390px; overflow-y: auto; padding: 2px; }
.pfset-skin { position: relative; min-width: 0; overflow: hidden; padding: 0; border: 0; border-radius: 8px; background: #141c17; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); color: #dcdedf; text-align: left; cursor: pointer; transition: box-shadow .15s ease, transform .15s ease; }
.pfset-skin:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transform: translateY(-1px); }
.pfset-skin.is-selected { box-shadow: 0 0 0 2px #90ba3c; }
.pfset-skin-media { display: flex; aspect-ratio: 4/3; align-items: center; justify-content: center; padding: 8px; background: linear-gradient(180deg,#1a2d25,#121a15); }
.pfset-skin-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pfset-skin-media span { color: #67707b; font-size: 9px; text-transform: uppercase; }
.pfset-skin-name { display: block; overflow: hidden; padding: 6px 8px 0; color: #dcdedf; font-size: 10px; font-weight: 500; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.pfset-skin-meta { display: block; overflow: hidden; padding: 1px 8px 6px; color: #8b929a; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.pfset-skin-check { position: absolute; top: 5px; right: 5px; display: flex; width: 18px; height: 18px; align-items: center; justify-content: center; border-radius: 50%; background: #799905; color: #fff; }
.pfset-skin-check svg { width: 11px; height: 11px; }
.pfset-showcase-actions { display: flex; gap: 8px; margin-top: 12px; }
.pfset-showcase-actions .pfset-save { margin: 0; flex: 0 0 auto; min-width: 132px; }
.pfset-clear { display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: #18241e; color: #dcdedf; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.pfset-clear:hover { background: #203028; color: #fff; }
.pfset-showcase-hint { margin: 8px 0 0; color: #67707b; font-size: 11px; line-height: 1.45; }
@media (max-width: 640px) { .pfset-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pfset-search { display: flex; width: 320px; max-width: 100%; height: 34px; align-items: center; gap: 8px; margin-bottom: 10px; padding: 0 10px; border-radius: 6px; background: #0f1318; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.pfset-search:focus-within { box-shadow: inset 0 0 0 1px rgba(124,194,66,.6); }
.pfset-search svg { width: 14px; height: 14px; flex: 0 0 auto; color: #67707b; }
.pfset-search input { min-width: 0; flex: 1; border: 0; background: transparent; color: #fff; font: inherit; font-size: 12px; outline: 0; }
.pfset-search input::placeholder { color: #5d6670; }
@media (max-width: 640px) { .pfset-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pfset-save:disabled { opacity: .45; cursor: not-allowed; }
