/* PrismaUI shop — PinkGalaxy / DarkOrbit referencia layout */

#boot.is-lobby .lobby-main:has(#panel-shop:not(.hidden)), #game .map-station-body:has(#panel-shop) {
  padding: 0;
  border-radius: 0;
  background: rgba(4, 8, 14, 0.98);
}

#panel-shop {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

#panel-shop .lobby-prisma-shop {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: "Rajdhani", "Segoe UI", Tahoma, sans-serif;
  color: #fff;
  user-select: none;
}

#panel-shop .shop-container {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background-color: rgba(10, 10, 10, 1);
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* —— Gyártók sáv (felső 10%) —— */
#panel-shop .manufactures {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  height: 10%;
  min-height: 38px;
  max-height: 52px;
  padding: 0 8px;
  background-color: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

#panel-shop .manufactures .button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 100%;
  margin: 0 10px 0 0;
  padding: 0 8px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

#panel-shop .manufactures .button.selected::after,
#panel-shop .manufactures .button:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #fff;
}

/* —— Bal kategória oszlop (15%) —— */
#panel-shop .item-types {
  width: 15%;
  min-width: 128px;
  max-width: 180px;
  height: 90%;
  padding-top: 1px;
  background-color: rgba(0, 0, 0, 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  overflow-x: hidden;
  overflow-y: auto;
  flex-shrink: 0;
}

#panel-shop .item-types .button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 30px;
  padding: 0 10px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(0, 0, 0, 0.15);
}

#panel-shop .item-types .button:hover {
  background: rgba(255, 255, 255, 0.05);
}

#panel-shop .item-types .button.selected {
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

#panel-shop .item-types .button.selected::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: #fff;
}

/* —— Közép: szűrők + lista (60%) —— */
#panel-shop .items {
  display: flex;
  flex-direction: column;
  width: 60%;
  flex: 1 1 auto;
  min-width: 0;
  height: 90%;
  min-height: 0;
  background-color: rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

#panel-shop .items .filters {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  min-height: 34px;
  padding: 0 6px;
  background-color: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  overflow: hidden;
}

#panel-shop .items .filters .button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 100%;
  min-height: 32px;
  margin: 0 8px 0 10px;
  padding: 0 6px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

#panel-shop .items .filters .button:hover::after,
#panel-shop .items .filters .button.selected::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
}

#panel-shop .items .list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px 24px 24px;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.65);
}

#panel-shop .itemSection {
  width: 100%;
  margin-bottom: 24px;
}

#panel-shop .itemSection .title {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  margin-bottom: 6px;
  color: #dcdcdc;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#panel-shop .itemSection .list-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, 150px);
  gap: 8px;
  justify-content: start;
  padding-top: 8px;
}

#panel-shop .items .list .item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 150px;
  height: 150px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.2s ease;
}

#panel-shop .items .list .item.credits {
  background: rgba(10, 10, 10, 0.5);
}

#panel-shop .items .list .item.uridium {
  background: rgba(0, 30, 60, 0.5);
}

#panel-shop .items .list .item.credits.uridium {
  background: linear-gradient(315deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.5) 49%, rgba(0, 30, 60, 0.5) 51%, rgba(0, 30, 60, 0.5) 100%);
}

#panel-shop .items .list .item:hover {
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.55);
}

#panel-shop .items .list .item.selected {
  box-shadow: 0 0 8px rgba(0, 0, 0, 1);
}

#panel-shop .items .list .item .item-image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(6, 10, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
  overflow: hidden;
}

#panel-shop .items .list .item .item-image-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 118px;
  max-height: 118px;
  object-fit: contain;
  opacity: 1;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.65));
}

#panel-shop .items .list .item:hover .item-image {
  border-color: rgba(255, 255, 255, 0.55);
}

#panel-shop .items .list .item.selected .item-image {
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

#panel-shop .items .list .item .item-grade {
  position: absolute;
  bottom: 24%;
  left: 0;
  width: 100%;
  height: 5%;
  min-height: 4px;
  background: #c3c3c3;
  z-index: 2;
  pointer-events: none;
}

#panel-shop .items .list .item.common .item-grade { background: #c3c3c3; }
#panel-shop .items .list .item.uncommon .item-grade { background: #4b69ff; }
#panel-shop .items .list .item.rare .item-grade { background: #8746ff; }
#panel-shop .items .list .item.epic .item-grade { background: #d22de6; }
#panel-shop .items .list .item.divine .item-grade { background: #eb0000; }
#panel-shop .items .list .item.legendary .item-grade { background: #ffd700; }

#panel-shop .items .list .item .item-title {
  position: absolute;
  top: 4%;
  left: 5%;
  width: 90%;
  z-index: 3;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

#panel-shop .items .list .item .item-ship {
  position: absolute;
  top: 18%;
  left: 5%;
  width: 90%;
  z-index: 3;
  color: #9ad0ff;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 1px 2px #000;
}

#panel-shop .items .list .item .item-price {
  position: absolute;
  bottom: 6%;
  left: 5%;
  width: 90%;
  z-index: 3;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.15;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

#panel-shop .items .list .item.locked {
  opacity: 1;
}

#panel-shop .items .list .item.locked::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

#panel-shop .items .list .item.locked .item-image-img {
  opacity: 0.72;
  filter: grayscale(0.35) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

#panel-shop .items .list .item.no-image .item-image {
  background: rgba(0, 0, 0, 0.55) !important;
}

#panel-shop .items .list .item.no-image .item-image::after {
  content: "?";
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.25);
  font-size: 2.2rem;
  font-weight: 700;
}

#panel-shop .prisma-shop-empty {
  padding: 28px;
  color: rgba(200, 220, 240, 0.65);
  font-size: 1rem;
  text-align: center;
}

/* —— Jobb: részletek + vásárlás (25%) —— */
#panel-shop .item-controls {
  display: flex;
  flex-direction: column;
  width: 25%;
  min-width: 220px;
  max-width: 320px;
  height: 90%;
  min-height: 0;
  flex-shrink: 0;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

#panel-shop .item-controls .item-infos {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  height: 62%;
  min-height: 0;
  padding: 6px 10px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

#panel-shop .item-controls .item-infos.is-empty .item-title,
#panel-shop .item-controls .item-infos.is-empty .item-category,
#panel-shop .item-controls .item-infos.is-empty .item-image-frame,
#panel-shop .item-controls .item-infos.is-empty .item-image,
#panel-shop .item-controls .item-infos.is-empty .item-price,
#panel-shop .item-controls .item-infos.is-empty .item-manufacture {
  display: none;
}

#panel-shop .item-controls .item-infos.is-empty .item-description {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: none;
  color: rgba(180, 200, 220, 0.55);
  font-size: 0.95rem;
  text-align: center;
}

#panel-shop .item-controls .item-infos.is-empty .dynamics {
  display: none;
}

#panel-shop .item-controls .item-infos .item-manufacture {
  display: none;
}

#panel-shop .item-controls .item-infos .item-description .dynamics {
  display: block;
}

#panel-shop .item-controls .item-infos .item-description .dynamics:empty {
  display: none;
}

#panel-shop .item-controls .item-infos .item-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 0 0 auto;
  min-height: 22px;
  color: #fff;
  font-family: Rajdhani, Orbitron, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#panel-shop .item-controls .item-infos .item-category {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 0 0 auto;
  min-height: 16px;
  margin-bottom: 2px;
  color: rgba(210, 220, 230, 0.75);
  font-family: Rajdhani, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#panel-shop .item-controls .item-infos .item-image-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 0 0 28%;
  min-height: 88px;
  max-height: 34%;
  margin: 0;
  padding: 4px 8px;
  background: rgba(6, 10, 16, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#panel-shop .item-controls .item-infos .item-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 120px;
  min-height: 72px;
  object-fit: contain;
  opacity: 1;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.7));
}

#panel-shop .item-controls .item-infos .item-price {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 0 0 auto;
  min-height: 24px;
  margin-bottom: 2px;
  color: #fff;
  font-family: Rajdhani, Orbitron, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#panel-shop .item-controls .item-infos .item-description {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 0;
  padding: 6px 2px 2px;
  /* Map station is shorter than lobby — allow scroll so ability/desc text is readable */
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  color: #e8ecf0;
  font-family: Rajdhani, sans-serif;
  font-size: 0.8rem;
  line-height: 1.25;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  word-wrap: break-word;
  overflow-wrap: anywhere;
  text-align: center;
}

#panel-shop .item-controls .item-infos .item-description .buy_limit {
  color: #ffa000;
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text {
  display: block;
  width: 100%;
  color: #e8ecf0;
  font-size: 0.8rem;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .premium-intro {
  margin: 0 0 8px;
  color: #c8d4e0;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .premium-perk-list {
  margin: 0;
  padding: 0 0 0 18px;
  text-align: left;
  list-style: disc;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .premium-perk-list li {
  margin: 0 0 4px;
  color: #e8ecf0;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-prop-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  text-align: left;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-prop-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 5px;
  padding: 3px 6px;
  background: rgba(0, 0, 0, 0.22);
  border-left: 2px solid rgba(90, 180, 255, 0.55);
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-prop-label {
  color: #9eb0c2;
  font-weight: 600;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-prop-value {
  color: #f0f6ff;
  font-weight: 700;
  text-align: right;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-prop-desc {
  margin: 8px 0 0;
  color: #c8d4e0;
  text-align: center;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-prop-note {
  display: block;
  color: #c8d4e0;
  text-align: center;
  background: none;
  border: 0;
  padding: 2px 0;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-ship-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  text-align: left;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-height: none;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 3px 6px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-stat span {
  color: #8fa3b8;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-stat b {
  color: #f2f7ff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.15;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-ability {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px 6px;
  background: linear-gradient(180deg, rgba(40, 90, 140, 0.28), rgba(10, 20, 35, 0.35));
  border: 1px solid rgba(90, 180, 255, 0.35);
  border-radius: 3px;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-ability-title {
  color: #7ec8ff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-ability-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-ability-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  color: #eaf6ff;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(120, 200, 255, 0.35);
  border-radius: 999px;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-ability-list {
  margin: 0;
  padding: 0 0 0 1.1em;
  list-style: disc;
  color: #dceaf8;
  font-size: 0.74rem;
  line-height: 1.35;
  text-align: left;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-ability-list li {
  margin: 0 0 4px;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-design-for {
  margin: 0;
  color: #b8c8d8;
  font-size: 0.76rem;
  text-align: center;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-design-for strong {
  color: #f0f6ff;
}

#panel-shop .item-controls .item-infos .item-description #prisma-detail-text .shop-design-note {
  margin: 0;
  color: #9eb0c2;
  font-size: 0.74rem;
  text-align: center;
}

#panel-shop .item-controls .item-infos .item-description .owned_note {
  color: #55e1ff;
  margin: 0 0 6px;
  font-size: 0.76rem;
}

#panel-shop .item-controls .currency-selection.hidden {
  display: none;
}

#panel-shop .item-controls .currency-selection {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  min-height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

#panel-shop .item-controls .currency-selection .button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  max-width: 110px;
  height: 34px;
  margin: 0;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-family: Rajdhani, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

#panel-shop .item-controls .currency-selection .button.selected {
  color: #fff;
}

#panel-shop .item-controls .currency-selection .button.selected::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 8%;
  width: 84%;
  height: 2px;
  background: #fff;
}

#panel-shop .item-controls .currency-selection .button:not(.selected):hover {
  color: rgba(255, 255, 255, 0.9);
}

#panel-shop .item-controls .item-quantity {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 108px;
  padding: 8px 10px 6px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

#panel-shop .item-controls .item-quantity.hidden {
  display: none;
}

#panel-shop .item-controls .quantity-buttons {
  display: grid;
  grid-template-columns: repeat(3, 78px);
  grid-template-rows: repeat(2, 30px);
  justify-content: center;
  align-content: center;
  gap: 5px 6px;
  width: 100%;
  margin: 0 0 8px;
}

#panel-shop .item-controls .quantity-buttons .button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  min-width: 0;
  height: 30px;
  padding: 0;
  color: #fff;
  font-family: Rajdhani, Orbitron, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: rgba(35, 35, 35, 0.95);
  border: 1px solid #646464;
  text-shadow: 0 0 5px #000;
}

#panel-shop .item-controls .quantity-buttons .button:nth-child(4) {
  grid-column: 1;
}

#panel-shop .item-controls .quantity-buttons .button:nth-child(5) {
  grid-column: 2;
}

#panel-shop .item-controls .quantity-buttons .button:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

#panel-shop .item-controls .quantity-buttons .button.selected {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(55, 55, 55, 0.95);
}

#panel-shop .item-controls .quantity-buttons .button.disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}

#panel-shop .item-controls .quantity-stepper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0;
}

#panel-shop .item-controls .quantity-stepper .button.decrease,
#panel-shop .item-controls .quantity-stepper .button.increase {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: rgba(35, 35, 35, 0.95);
  border: 1px solid #646464;
}

#panel-shop .item-controls .quantity-stepper .button.decrease:hover,
#panel-shop .item-controls .quantity-stepper .button.increase:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

#panel-shop .item-controls .quantity-stepper .quantity-input {
  width: 78px;
  height: 30px;
  margin: 0;
  padding: 0 4px;
  text-align: center;
  color: #111;
  background: #fff;
  border: 1px solid #646464;
  font-family: Rajdhani, Orbitron, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: none;
  -moz-appearance: textfield;
}

#panel-shop .item-controls .quantity-stepper .quantity-input::-webkit-outer-spin-button,
#panel-shop .item-controls .quantity-stepper .quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#panel-shop .item-controls .item-buy {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  width: 100%;
  min-height: 88px;
  padding: 10px 12px 14px;
}

#panel-shop .item-controls .item-buy .item-total {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 0 0 auto;
  min-height: 40px;
  margin-bottom: 8px;
  color: #fff;
  font-family: Rajdhani, Orbitron, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 0 4px #000;
}

#panel-shop .item-controls .item-buy .button.buy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 252px;
  height: 42px;
  color: #fff;
  font-family: Rajdhani, Orbitron, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  background-color: rgba(0, 210, 0, 0.72);
  border: 1px solid rgba(80, 180, 80, 0.55);
  transition: background-color 0.15s ease;
}

#panel-shop .item-controls .item-buy .button.buy:hover:not(.disabled) {
  background-color: rgba(0, 255, 0, 0.62);
}

#panel-shop .item-controls .item-buy .button.buy:active:not(.disabled) {
  background-color: rgba(0, 200, 0, 0.45);
  border-color: #969696;
}

#panel-shop .item-controls .item-buy .button.buy.disabled {
  opacity: 0.42;
  cursor: not-allowed;
  background: rgba(70, 70, 70, 0.55);
}

#panel-shop .prisma-shop-msg {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  z-index: 5;
  margin: 0;
  padding: 4px 12px;
  min-height: 0;
  color: #b8f0ff;
  font-size: 0.76rem;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(100, 180, 255, 0.25);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#panel-shop .prisma-shop-msg:not(:empty) {
  opacity: 1;
}

#panel-shop .lobby-prisma-shop {
  position: relative;
}

#panel-shop ::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

#panel-shop ::-webkit-scrollbar-track {
  background: rgba(240, 240, 240, 0.08);
}

#panel-shop ::-webkit-scrollbar-thumb {
  background: rgba(135, 135, 135, 0.7);
  cursor: pointer;
}

@media (max-width: 1100px) {
  #panel-shop .item-types {
    width: 120px;
    min-width: 108px;
  }
  #panel-shop .item-controls {
    min-width: 190px;
  }
  #panel-shop .itemSection .list-items {
    grid-template-columns: repeat(auto-fill, 130px);
  }
  #panel-shop .items .list .item {
    width: 130px;
    height: 130px;
  }
}
