/* GIFTENTRY1002 — production source card; normal flow, no overlay or empty reservation. */
@import url('./gift-games.css?v=N2-u1-gr7-gr11-ux74');
html body .gk .gg-stake-control { position:relative; grid-column:1/-1; gap:6px; }
html body .gg-stake-control > .gg-modes { display:none!important; }
html body .gg-stake { display:flex; flex-direction:column; gap:8px; min-width:0; min-height:0; }
html body .gg-stake__cash { min-width:0; padding:0; }
html body .gg-stake__cash > .gk-amount { min-width:0; width:100%; }
html body .gg-stake__open { position:static; display:flex; align-items:center; gap:10px; width:100%; min-height:44px; height:auto; padding:8px 12px; border:1px solid #4b5278; border-radius:14px; background:#282d47; color:#edf0ff; font-family:var(--font-body,system-ui,sans-serif); text-align:left; cursor:pointer; }
html body .gg-stake__open > span { flex:1; display:grid; gap:2px; }
html body .gg-stake__open b { font-size:13px; line-height:16px; }
html body .gg-stake__open small { font-size:11px; line-height:14px; color:#b9c1dc; }
html body .gg-stake__open:disabled { opacity:.5; cursor:default; }
html body .gg-stake__gift { position:static; display:none; flex-direction:column; gap:4px; min-width:0; }
html body .gg-stake__gift > .gg-choice { min-height:62px; height:auto; padding:8px 12px; border-color:#60679c; background:#303650; }
html body .gg-stake__gift .gg-thumb { width:46px; height:46px; flex-basis:46px; }
html body .gg-stake__gift .gg-thumb img { width:44px; height:44px; }
html body .gg-stake__gift .gg-choice b { font-size:14px; }
html body .gg-stake__gift .gg-choice small { font-size:12px; color:#cbd2ec; }
html body .gg-stake__gift .gg-choice em { font-size:12px; font-style:normal; color:#c5baff; }
html body .gg-stake__gift .gg-choice > svg:last-of-type { order:5; width:15px; }
html body .gg-stake__remove { display:flex; align-items:center; align-self:flex-start; min-height:28px; margin:0; padding:2px 4px; border:0; background:none; color:#c6cced; font:600 12px/1.2 var(--font-body,system-ui,sans-serif); cursor:pointer; }
html body .gg-stake__remove:disabled { opacity:.45; }
html body .gg-stake[data-kind="gift"] > .gg-stake__cash,
html body .gg-stake[data-kind="gift"] > .gg-stake__open { display:none; }
html body .gg-stake[data-kind="gift"] > .gg-stake__gift { display:flex; }
html body .gg-stake-control > .gg-choice-wrap { gap:4px; min-height:0; }
html body .gg-stake-control > .gg-choice-wrap[hidden] { display:none!important; }
html body .gg-stake-control .gg-status { margin:0; font-size:11px; line-height:14px; }
html body .gk.gg-single-stake.gg-gift .gk-panel__body > .gk-tabs,
html body .gk.gg-single-stake.gg-gift .rk-auto,
html body .gk.gg-single-stake.gg-gift .rk-autorun,
html body .gk.gg-single-stake.gg-gift .jm-auto,
html body .gk.gg-single-stake.gg-gift [data-gk-btn="allin"] { display:none; }
html body .gk.gg-single-stake.gg-gift .rk-wallet,
html body .gk.gg-single-stake.gg-gift .jm-wallet { display:flex; }
html body .gg-stake button:focus-visible { outline:2px solid #a8afff; outline-offset:2px; }
html body .gg-stake--inventory > .gg-stake__cash:empty { display:none; }
html body .gg-prod-picker .gg-card[aria-disabled="true"] { display:none; }
html body .gg-prod-picker .gg-list { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; max-height:360px; overflow-y:auto; align-content:start; padding:2px; }
html body .gg-prod-picker .gg-card { padding:10px 8px 9px; gap:6px; border-radius:16px; }
html body .gg-prod-picker .gg-card img { height:56px; width:56px; }
html body .gg-prod-picker .gg-card b { font-size:11.5px; line-height:1.2; }
html body .gg-prod-picker .gg-card strong { font-size:12px; }
html body .gg-prod-picker .gg-card.is-selected { border-color:#a297ff; background:#3d3862; }
html body .gg-prod-place { width:100%; min-height:50px; margin-top:12px; padding:12px; border:0; border-radius:14px; color:#fff; background:linear-gradient(100deg,#5267e0,#7952ca); font:700 15px/1.3 var(--font-body,system-ui,sans-serif); cursor:pointer; }
html body .gg-prod-place:disabled { background:#393e58; color:#abb2cc; cursor:default; }
@container gk (max-width:899.98px) {
  html body #app .gk.mn-game.gg-single-stake .gk-shell--side > .gk-panel {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-rows:auto var(--mn-cta) var(--mn-r3) var(--mn-r4);
    grid-template-areas:"gift gift" "cta cta" "cnt tabs" "r1 r2";
  }
  html body #app .gk.mn-game.gg-single-stake .mn-presets { grid-row:4; }
  html body .gk.gg-single-stake:is(.ar-game,.jm) .gk-panel__foot { order:1; margin-top:8px; margin-bottom:0; }
}
@media(max-width:639.98px) {
  html body .gg-prod-rocket { position:fixed; inset:auto 12px 12px; margin:0; width:calc(100% - 24px); max-height:calc(100dvh - 24px); border-radius:24px; }
}

/* MINI1002-gift-icon: generated only for the phone viewport. */
html body :is(.gg-choice,.gg-stake__open) > .gg-entry-icon {flex:none;object-fit:contain;}
html body :is(.gg-choice,.gg-stake__open) > .gg-entry-line {flex:1;min-width:0;display:block;}
html body .gg-choice:has(> .gg-entry-line) {min-height:44px;padding:8px 12px;}

/* MINI1002-gift-look: phone only — readable captions, 44 px touch zones. */
@media (max-width:899.98px) {
  html body .gg-stake__open small { font-size:13px; line-height:17px; }
  html body .gg-stake-control .gg-status { font-size:13px; line-height:17px; }
  html body .gg-stake__remove { position:relative; font-size:13px; }
  html body .gg-stake__remove::after { content:''; position:absolute; inset:-8px -4px; }
  html body .gg-prod-picker .gg-card b { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; line-height:1.25; }
}

/* N2-gift-1 (ночь 02.10, единая система ставок подарком): на телефоне выбор подарка — компактный во ВСЕХ играх.
   Было: сетка 3 в ряд из карточек 144 px, окно росло выше рублёвой шторки, третий ряд обрезан краем.
   Стало: 4 плитки в ряд (картинка 40 px, имя, цена; коллекция не дублируется), видно ровно 2 ряда, дальше листание по рядам (snap) —
   обрезанных нет, окно не выше рублёвой шторки. Порядок и годность — прежние (gift-list-ui: по возрастанию цены, в пределах лимита). */
@media (max-width:899.98px) {
  html body .gg-prod-picker .gg-list.gg-list { grid-template-columns:repeat(4,minmax(0,1fr)); grid-auto-rows:86px; gap:6px;
    max-height:178px; overflow-y:auto; scroll-snap-type:y mandatory; overscroll-behavior:contain; scrollbar-width:none; }
  html body .gg-prod-picker .gg-list::-webkit-scrollbar { display:none; }
  html body .gg-prod-picker .gg-card { box-sizing:border-box; height:86px; scroll-snap-align:start; padding:6px 4px 7px; gap:2px; border-radius:12px; }
  html body .gg-prod-picker .gg-card img { width:40px; height:40px; object-fit:contain; }
  html body .gg-prod-picker .gg-card b { font-size:12px; line-height:1.25; }
  html body .gg-prod-picker .gg-card small,
  html body .gg-prod-picker .gg-card .gg-reason { display:none; }
  html body .gg-prod-picker .gg-card strong { font-size:12px; line-height:1.2; }
}
