.gift67-art-button {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  touch-action: manipulation;
}
.gift67-art-button:focus-visible { outline: 2px solid #74c2ff; outline-offset: -2px; border-radius: 10px; }
.gift66-art { background: none; }
.gift66-art img { object-fit: contain; }
.gift66-tgs svg { width: 100%; height: 100%; }
.gift65-reel { transform: none; }
.gift65-reel article { flex-basis: 39%; }
.gift65-reel .gift66-art { width: 94%; height: clamp(100px, 33cqw, 206px); }
.gift65-room > .gift67-spin {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .55em;
  padding-inline: .75em;
  font-size: clamp(14px, 4.3cqw, 24px);
  font-weight: 850;
  line-height: 1.15;
}
.gift67-spin > b { margin: 0; white-space: nowrap; font-size: .82em; }
.gift65-prizes .gift66-prize { align-content: center; padding: 6px 2px; min-height: clamp(76px, 24cqw, 146px); }
.gift66-prize .gift66-art { width: 97%; height: clamp(46px, 16.5cqw, 104px); }
.gift66-prize > b { padding: 4px 8px; }
.gift66-prize i { pointer-events: none; }
.ast44-home .gift66-feed-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  align-items: center;
  gap: 2px;
  padding: 3px 3px 5px;
}
.ast44-home .gift66-feed-card .gift66-art {
  width: 100%;
  height: clamp(35px, 14cqw, 84px);
}
.ast44-home .gift66-feed-card .gift66-art img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.ast44-home .gift66-feed-card .gift67-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42em;
  width: 90%;
  padding: .34em 0;
  border-radius: 999px;
  background: #a77ce025;
  color: #fff0ff;
  font-size: clamp(8px, 2.15cqw, 13px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
}
.gift67-inv-art .gift66-art { width: 100%; height: clamp(88px, 29cqw, 184px); }
.gift67-profile-balance { grid-template-columns: 1fr; }
.sheet__panel:has(.gift67-sheet) {
  max-width: min(100%, 640px);
  padding: 16px clamp(16px, 4.5vw, 34px) calc(22px + env(safe-area-inset-bottom));
  border: 1px solid #4c325d;
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  background: linear-gradient(165deg, #1b1029, #100819 70%);
}
.sheet__panel:has(.gift67-sheet) .sheet__head { justify-content: center; margin: 16px 0; }
.sheet__panel:has(.gift67-sheet) .sheet__head h2 {
  color: #fff;
  font-size: clamp(19px, 6vw, 36px);
  line-height: 1.1;
  text-align: center;
  font-weight: 900;
  letter-spacing: -.03em;
}
.sheet__panel:has(.gift67-sheet) .sheet__head .ibtn { position: absolute; top: 17px; right: 14px; }
.gift67-sheet { display: grid; gap: 12px; min-width: 0; padding: 6px 0 10px; text-align: center; }
.gift67-sheet .gift65-button, .gift67-dismiss {
  display: grid;
  place-items: center;
  min-height: clamp(48px, 12vw, 70px);
  border-radius: 999px;
  font-size: clamp(13px, 3.6vw, 21px);
  font-weight: 850;
}
.gift67-dismiss { background: #ffffff12; }
.gift67-win { position: relative; overflow: hidden; padding-top: 9px; }
.gift67-win-card {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  width: min(68%, 300px);
  aspect-ratio: 1;
  margin: 0 auto clamp(12px, 5vw, 28px);
  padding: 12px;
  border-radius: 18px;
  border: 2px solid #14aeef;
  box-shadow: inset 0 -5px #18bdda;
  background: radial-gradient(ellipse at center, #14649d, #15102f 72%);
}
.gift67-win-card .gift66-art { width: min(34vw, 170px); aspect-ratio: 1; }
.gift67-win-card > b { font-size: clamp(20px, 7vw, 32px); }
.gift67-win-card > b .ic { width: .9em; height: .9em; vertical-align: baseline; color: #68c3ff; }
.gift67-ribbon { position: absolute; top: 12px; right: -26px; width: 98px; transform: rotate(45deg); background: #a447db; font-size: 11px; font-weight: 800; font-style: normal; }
.gift67-withdraw > p { margin: 0 0 6px; color: #ddc5f7; font-size: clamp(13px, 3.6vw, 18px); line-height: 1.45; }
.gift67-check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 55px;
  padding: 9px 12px;
  border: 1px solid #432f55;
  border-radius: 20px;
  background: #0b0711;
  text-align: left;
  font-size: clamp(12px, 3.4vw, 17px);
}
.gift67-check > .ic:first-child {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: #2c1747;
  color: #e6c9ff;
}
.gift67-check span { flex: 1; }
.gift67-check small { display: block; margin-top: 2px; color: #ab9cbf; font-variant-numeric: tabular-nums; }
.gift67-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.gift67-confetti i { position: absolute; left: var(--x, 4%); top: -14px; width: 7px; height: 13px; border-radius: 2px; background: #2dd5ff; animation: gift67-fall 1.55s var(--delay, 0s) ease-out both; }
.gift67-confetti i:nth-child(even) { background: #ba65fc; }
.gift67-confetti i:nth-child(2) { --x: 13%; --delay: .32s; }
.gift67-confetti i:nth-child(3) { --x: 21%; --delay: .15s; }
.gift67-confetti i:nth-child(4) { --x: 29%; --delay: .46s; }
.gift67-confetti i:nth-child(5) { --x: 37%; --delay: .21s; }
.gift67-confetti i:nth-child(6) { --x: 45%; --delay: .37s; }
.gift67-confetti i:nth-child(7) { --x: 53%; --delay: .5s; }
.gift67-confetti i:nth-child(8) { --x: 61%; --delay: .24s; }
.gift67-confetti i:nth-child(9) { --x: 69%; --delay: .34s; }
.gift67-confetti i:nth-child(10) { --x: 77%; --delay: .1s; }
.gift67-confetti i:nth-child(11) { --x: 85%; --delay: .4s; }
.gift67-confetti i:nth-child(12) { --x: 93%; --delay: .25s; }
@keyframes gift67-fall { to { transform: translate(22px, 420px) rotate(510deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .gift67-confetti { display: none; } }
.gift67-nft-model:not(.has-animation) { background: url("assets/ast/vector/gift.svg") center / 55% auto no-repeat; }
.gift67-nft-model:not(.has-animation):has(img[data-model-loaded]) { background: none; }
