/* ====================================================================
   Gift Center — Glassmorphic & Neon Engine
   ==================================================================== */

/* ===== ВИДЖЕТ ПРОФИЛЯ ===== */
.gift-widget {
  background: rgba(18, 20, 29, 0.68);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px 18px 20px;
  margin-bottom: 20px;
  overflow: visible;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.gift-widget:hover {
  border-color: rgba(79, 234, 159, 0.25);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 20px rgba(79, 234, 159, 0.08);
}

.gift-widget-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 14px;
  gap: 8px;
}

.gift-widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.gift-widget-title i { 
  font-size: 18px; 
  color: #4fea9f; 
  filter: drop-shadow(0 0 8px rgba(79, 234, 159, 0.4));
}

.gift-widget-count {
  font-size: 11px;
  font-weight: 800;
  background: rgba(79, 234, 159, 0.12);
  color: #4fea9f;
  border: 1px solid rgba(79, 234, 159, 0.28);
  border-radius: 999px;
  padding: 2px 9px;
}

.gift-total {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(79, 234, 159, 0.12);
  color: #4fea9f;
  border: 1px solid rgba(79, 234, 159, 0.28);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
  position: relative;
  cursor: help;
  transition: all 0.2s ease;
}

.gift-total:hover {
  background: rgba(79, 234, 159, 0.22);
  border-color: rgba(79, 234, 159, 0.5);
  box-shadow: 0 0 12px rgba(79, 234, 159, 0.25);
}

.gift-total i {
  font-size: 13px;
}

.gift-total::before,
.gift-total::after {
  position: absolute;
  left: 50%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 100002;
}

.gift-total::before {
  content: attr(data-tooltip);
  bottom: calc(100% + 9px);
  transform: translate(-50%, 4px);
  min-width: max-content;
  max-width: 220px;
  padding: 8px 12px;
  background: rgba(18, 20, 29, 0.95);
  border: 1px solid rgba(79, 234, 159, 0.35);
  border-radius: 10px;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gift-total::after {
  content: '';
  bottom: calc(100% + 4px);
  transform: translate(-50%, 4px) rotate(45deg);
  width: 8px;
  height: 8px;
  background: rgba(18, 20, 29, 0.95);
  border-right: 1px solid rgba(79, 234, 159, 0.35);
  border-bottom: 1px solid rgba(79, 234, 159, 0.35);
}

.gift-total:hover::before,
.gift-total:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.gift-total:hover::after {
  transform: translate(-50%, 0) rotate(45deg);
}

.gift-total--modal {
  margin-left: 2px;
}

.gift-widget-head-right { display: flex; align-items: center; gap: 8px; }

/* ===== КНОПКИ ===== */
.gift-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, #4fea9f 0%, #22b877 100%);
  color: #08150f !important;
  border: none;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 16px;
  height: 36px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(79, 234, 159, 0.3);
}

.gift-btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(79, 234, 159, 0.5);
}

.gift-btn-primary:disabled { 
  opacity: 0.4; 
  cursor: not-allowed; 
  transform: none; 
  box-shadow: none;
}

.gift-btn-sm { height: 30px; font-size: 11.5px; padding: 0 12px; border-radius: 10px; }

.gift-btn-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #aeb6d2;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  height: 30px;
  padding: 0 12px;
  transition: all 0.2s ease;
}

.gift-btn-all:hover { 
  color: #ffffff; 
  border-color: rgba(79, 234, 159, 0.35); 
  background: rgba(79, 234, 159, 0.12); 
  transform: translateY(-1px);
}

/* ===== МИНИ-СЕТКА (5 подарков в профиле) ===== */
.gift-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  overflow: visible;
}

.gift-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px;
  color: #aeb6d2;
  font-size: 13px;
  font-weight: 700;
}

.gift-empty i { font-size: 22px; color: rgba(255, 255, 255, 0.2); }

/* ===== АНИМАЦИИ ===== */
@keyframes gift-pop {
  0%   { opacity: 0; transform: scale(0.4) rotate(-8deg); }
  55%  { opacity: 1; transform: scale(1.12) rotate(3deg); }
  75%  { transform: scale(0.94) rotate(-1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes gift-glow-common {
  0%,100% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0); }
  40%     { box-shadow: 0 0 22px 6px rgba(96, 165, 250, 0.55); }
}
@keyframes gift-glow-rare {
  0%,100% { box-shadow: 0 0 0 0 rgba(192, 132, 252, 0); }
  40%     { box-shadow: 0 0 22px 6px rgba(192, 132, 252, 0.55); }
}
@keyframes gift-glow-epic {
  0%,100% { box-shadow: 0 0 0 0 rgba(79, 234, 159, 0); }
  40%     { box-shadow: 0 0 22px 6px rgba(79, 234, 159, 0.65); }
}

.gift-card--new {
  animation: gift-pop .52s cubic-bezier(.34,1.56,.64,1) both;
}
.gift-card--new.rarity-common { animation: gift-pop .52s cubic-bezier(.34,1.56,.64,1) both, gift-glow-common .9s ease .15s both; }
.gift-card--new.rarity-rare   { animation: gift-pop .52s cubic-bezier(.34,1.56,.64,1) both, gift-glow-rare   .9s ease .15s both; }
.gift-card--new.rarity-epic   { animation: gift-pop .52s cubic-bezier(.34,1.56,.64,1) both, gift-glow-epic   .9s ease .15s both; }

/* ===== КАРТОЧКА ПОДАРКА ===== */
.gift-card {
  border: none;
  border-radius: 14px;
  padding: 0;
  min-width: 0;
  cursor: pointer;
  transition: transform .2s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
}

.gift-card:hover { transform: translateY(-4px); }

.gift-card.rarity-common:hover .gift-card-img-wrap { box-shadow: 0 8px 25px rgba(96, 165, 250, 0.35); border-color: rgba(96, 165, 250, 0.5); }
.gift-card.rarity-rare:hover   .gift-card-img-wrap { box-shadow: 0 8px 25px rgba(192, 132, 252, 0.35); border-color: rgba(192, 132, 252, 0.5); }
.gift-card.rarity-epic:hover   .gift-card-img-wrap { box-shadow: 0 8px 25px rgba(79, 234, 159, 0.35); border-color: rgba(79, 234, 159, 0.5); }

.gift-card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: all .2s ease;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

/* цветная полоска редкости снизу картинки */
.gift-card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 0 0 14px 14px;
  z-index: 1;
}
.gift-card.rarity-common .gift-card-img-wrap::after { background: linear-gradient(90deg, #60a5fa, #3b82f6); }
.gift-card.rarity-rare   .gift-card-img-wrap::after { background: linear-gradient(90deg, #c084fc, #9333ea); }
.gift-card.rarity-epic   .gift-card-img-wrap::after { background: linear-gradient(90deg, #4fea9f, #22b877); }

.gift-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 220ms ease;
  padding: 6px;
  box-sizing: border-box;
}

.gift-card:hover .gift-card-img { transform: scale(1.08); }

.gift-card-label {
  font-size: 10.5px;
  font-weight: 800;
  color: #aeb6d2;
  text-align: center;
  line-height: 1.2;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 2px;
}

/* ===== ТУЛТИП ===== */
.gift-tooltip {
  position: fixed;
  z-index: 100000;
  background: rgba(18, 20, 29, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 14px;
  display: none;
  min-width: 140px;
  pointer-events: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  line-height: 1.5;
}

.gift-tooltip.show { display: block; }
.gift-tooltip b    { display: block; font-size: 13px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.gift-tooltip span { display: block; color: #aeb6d2; font-weight: 600; }

/* ===== МОДАЛЫ ===== */
.gift-modal {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: none;
  overflow: hidden;
  padding: 20px 16px;
  box-sizing: border-box;
}

.gift-modal.show { display: flex; align-items: flex-start; justify-content: center; }

.gift-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 16, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: -1;
}

.gift-modal-window {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  margin: 0 auto;
  background: rgba(18, 20, 29, 0.85);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: clip;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.gift-modal-window--wide { width: min(720px, 100%); }

.gift-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.02);
}

.gift-modal-head span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 800;
  color: #fff;
}

.gift-modal-head span i { color: #4fea9f; font-size: 19px; }

.gift-modal-head-count {
  font-size: 12px;
  background: rgba(79, 234, 159, 0.12);
  color: #4fea9f;
  border: 1px solid rgba(79, 234, 159, 0.28);
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 800;
}

.gift-modal-close {
  width: 32px; 
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #aeb6d2;
  cursor: pointer;
  font-size: 20px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.gift-modal-close:hover { 
  color: #ff5874; 
  border-color: rgba(255, 88, 116, 0.35); 
  background: rgba(255, 88, 116, 0.15);
  transform: scale(1.05);
}

/* ===== МОДАЛ: ВСЕ ПОДАРКИ ===== */
.gift-modal-all-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.gift-modal-all-grid::-webkit-scrollbar { width: 5px; }
.gift-modal-all-grid::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }

/* ===== МОДАЛ: ОТПРАВИТЬ ПОДАРОК ===== */
.gift-send-section {
  padding: 18px 20px 0;
}

.gift-send-section:last-of-type { padding-bottom: 0; }

.gift-send-section-title {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gift-send-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: .2;
}

.gift-send-section-title.rarity-common { color: #60a5fa; }
.gift-send-section-title.rarity-rare   { color: #c084fc; }
.gift-send-section-title.rarity-epic   { color: #4fea9f; }

.gift-send-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.gift-send-grid::-webkit-scrollbar { width: 5px; }
.gift-send-grid::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }

/* карточка-опция */
.gift-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 8px 6px 10px;
  min-width: 0;
  box-sizing: border-box;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.gift-option:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.06); }

.gift-option.rarity-common:hover, .gift-option.rarity-common.active { box-shadow: 0 0 15px rgba(96, 165, 250, 0.3); border-color: rgba(96, 165, 250, 0.5); }
.gift-option.rarity-rare:hover,   .gift-option.rarity-rare.active   { box-shadow: 0 0 15px rgba(192, 132, 252, 0.3); border-color: rgba(192, 132, 252, 0.5); }
.gift-option.rarity-epic:hover,   .gift-option.rarity-epic.active   { box-shadow: 0 0 15px rgba(79, 234, 159, 0.3); border-color: rgba(79, 234, 159, 0.5); }

.gift-option.active::after {
  content: '✓';
  position: absolute;
  top: 5px; 
  right: 7px;
  font-size: 12px;
  color: #4fea9f;
  font-weight: 900;
}

.gift-option-disabled { opacity: .35; cursor: not-allowed; }
.gift-option-disabled:hover { transform: none; background: rgba(255, 255, 255, 0.03); }

.gift-option-img {
  width: 100%;
  aspect-ratio: 1;
  box-sizing: border-box;
  border-radius: 10px;
  overflow: hidden;
  display: block;
}

.gift-option-img img {
  width: 100%; 
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 200ms;
}

.gift-option:hover .gift-option-img img { transform: scale(1.06); }

.gift-option-name  {
  width: 100%;
  min-width: 0;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gift-option-price { font-size: 10.5px; color: #4fea9f; font-weight: 800; }
.gift-option-stock { font-size: 10px; color: #aeb6d2; font-weight: 700; }
.gift-option-sold  {
  position: absolute; 
  inset: 0;
  background: rgba(18, 20, 29, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 14px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 11px; 
  font-weight: 800; 
  color: #aeb6d2;
}

/* Подвал формы отправки */
.gift-send-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  background: rgba(18, 20, 29, 0.95);
  position: sticky;
  bottom: 0;
}

.gift-send-selected {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 14px;
  min-height: 52px;
}

.gift-send-selected-hint { font-size: 13px; color: #aeb6d2; font-weight: 700; }

.gift-send-sel-img {
  width: 38px; 
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(79, 234, 159, 0.35);
}

.gift-send-sel-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gift-send-sel-info b   { font-size: 13px; color: #fff; font-weight: 800; }
.gift-send-sel-info span { font-size: 11px; color: #aeb6d2; font-weight: 700; }

.gift-send-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.gift-send-msg {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  height: 40px;
  padding: 0 14px;
  font-size: 13px;
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.gift-send-msg::placeholder { color: #aeb6d2; }
.gift-send-msg:focus { border-color: rgba(79, 234, 159, 0.5); box-shadow: 0 0 12px rgba(79, 234, 159, 0.15); }

.gift-btn-send { height: 40px; padding: 0 20px; font-size: 13px; border-radius: 12px; }

.gift-send-result {
  font-size: 13px;
  min-height: 18px;
  font-weight: 700;
}

.gift-send-result.ok  { color: #4fea9f; }
.gift-send-result.err { color: #ff5874; }

/* ===== ПРЕВЬЮ ===== */
.gift-preview {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: none;
  align-items: center;
  justify-content: center;
}

.gift-preview.show { display: flex; }

.gift-preview-bg {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 16, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gift-preview-window {
  position: relative;
  width: min(320px, calc(100% - 32px));
  background: rgba(18, 20, 29, 0.88);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.gift-preview-actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-direction: column;
}

.gift-btn-sell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 42px;
  background: linear-gradient(135deg, #4fea9f 0%, #22b877 100%);
  color: #08150f !important;
  border: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(79, 234, 159, 0.3);
}

.gift-btn-sell:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(79, 234, 159, 0.5);
}

.gift-btn-sell:disabled { 
  opacity: 0.4;  
  cursor: not-allowed; 
  transform: none; 
  box-shadow: none;
}

.gift-preview-close {
  position: absolute;
  top: 12px; 
  right: 12px;
  width: 28px; 
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #aeb6d2;
  font-size: 16px;
  cursor: pointer;
  display: flex; 
  align-items: center; 
  justify-content: center;
  transition: all 0.2s ease;
}

.gift-preview-close:hover { 
  color: #ff5874; 
  border-color: rgba(255, 88, 116, 0.35); 
  background: rgba(255, 88, 116, 0.15);
}

.gift-preview-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gift-preview-img-wrap img {
  width: 100%; 
  height: 100%;
  object-fit: cover;
  display: block;
}

.gift-preview-name {
  margin-top: 14px;
  font-size: 16.5px;
  font-weight: 800;
  color: #fff;
}

.gift-preview-meta {
  margin-top: 6px;
  font-size: 12px;
  color: #aeb6d2;
  line-height: 1.65;
  font-weight: 600;
}

.gift-preview-meta b { color: #fff; }

.gift-preview-msg {
  margin-top: 10px;
  font-style: italic;
  color: #ffffff;
  background: rgba(79, 234, 159, 0.08);
  border-left: 3px solid #4fea9f;
  padding: 8px 12px;
  border-radius: 0 10px 10px 0;
  font-size: 12px;
}

/* Адаптив для мобильных устройств */
@media (max-width: 760px) {
  .gift-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .gift-grid::-webkit-scrollbar { display: none; }
  .gift-card { flex: 0 0 78px; }
  .gift-send-grid { grid-template-columns: repeat(3, 1fr); }
  .gift-modal-all-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
  .gift-send-form { grid-template-columns: 1fr; }
  .gift-btn-send { width: 100%; justify-content: center; }
}