/* Dragons screen: a collection grid like Brawl Stars and Clash Royale.
   Rarity has one colour set everywhere on this screen: tile, sheet, tags. The page keeps the game's
   own palette in both Telegram themes. */
.dragons-screen { --gap:10px; display:grid; gap:14px; }
.rarity-basic { --t1:#62c6f3; --t2:#1767bd; --t3:#0b4692; --tb:#b2efff; --tg:#bff4ff; }
.rarity-rare { --t1:#b393ff; --t2:#5a3cc4; --t3:#35238c; --tb:#e2d4ff; --tg:#dccbff; }
.rarity-special { --t1:#ffd36b; --t2:#e07b1d; --t3:#9a4a0c; --tb:#fff1bd; --tg:#ffe7a1; }
.rarity-seasonal { --t1:#ff9fc4; --t2:#cf447e; --t3:#8a2352; --tb:#ffd6e5; --tg:#ffd0e2; }

/* Title row: the name of the screen and how much of the collection is found. */
.dragons-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:2px 2px 0; }
.dragons-head h1 { margin:0; color:#fff; font:30px/1 DraklyBlack,'Trebuchet MS',sans-serif; letter-spacing:-.03em; text-shadow:0 3px 0 #125390,0 5px 8px #0b3367aa; }
.collection-meter { position:relative; flex:0 1 168px; height:30px; overflow:hidden; border:2px solid #b2efff; border-radius:999px; background:#08295c; box-shadow:inset 0 2px 4px #00163d99,0 3px 0 #0a3c7d; }
.collection-meter__fill { position:absolute; inset:0 auto 0 0; background:linear-gradient(#ffe9a0,#f0b84f); box-shadow:inset 0 2px #fffbe0; }
.collection-meter b { position:relative; display:grid; place-items:center; height:100%; color:#fff; font:12px DraklyBlack,'Trebuchet MS',sans-serif; text-shadow:0 1px 0 #0a3a78,0 0 4px #0a3a78; white-space:nowrap; }

/* The incubator card on top: reuses the egg offers of the old hatchery, without the long texts. */
.hatch-card.hatchery.hatchery-v3 { gap:10px; padding:14px 12px 10px; }
.hatch-card__head { display:flex; align-items:baseline; justify-content:space-between; gap:8px; flex-wrap:wrap; padding:0 4px; }
.hatch-card__head h2 { margin:0; font-size:22px; }
.hatch-card__head span { color:#d6f3ff; font-size:12px; }
.hatch-card .incubator-bay { padding-block:4px; }
.hatch-card .incubator-bay .egg-nest { width:116px; height:116px; }
.hatch-card.hatchery-v3 .egg-odds { padding:0 4px; border:0; background:none; box-shadow:none; }
.hatch-card.hatchery-v3 .egg-odds summary { min-height:44px; padding:0; font-size:13px; }
.hatch-card.hatchery-v3 .egg-odds[open] summary { margin-bottom:6px; }
.hatch-card .egg-odds .odds-row { margin:0 0 6px; }
.hatch-card .egg-odds .odds-head { display:grid; gap:2px; }
.hatch-card .egg-odds .odds-head span { color:#d6f3ff; font-size:11px; line-height:1.35; }
.hatch-card .egg-odds .shop-note { margin:8px 0 0; color:#c9e9f8; font-size:11px; line-height:1.4; }
.hatch-card.is-ripe { box-shadow:inset 0 2px #e6fbff6b,0 5px 0 #094d9c,0 0 0 3px #ffe9a4aa,0 10px 24px #ffd96c55; }

/* Section heads over the grids. */
.dragons-subhead { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:30px; margin:0 2px 8px; }
.dragons-subhead h2 { margin:0; color:#fff; font:19px/1.1 DraklyBlack,'Trebuchet MS',sans-serif; text-shadow:0 2px 0 #125390; }
.dragons-subhead__note { color:#cdeeff; font-size:12px; }
.ready-chip { display:inline-flex; align-items:center; gap:4px; padding:4px 10px 4px 8px; border:2px solid #e4ffd8; border-radius:999px; color:#fff; background:linear-gradient(#8ff07a,#2fb54b); box-shadow:0 2px 0 #13702c; font:12px DraklyBlack,'Trebuchet MS',sans-serif; text-shadow:0 1px 0 #13702c; white-space:nowrap; }
.grow-arrow { width:13px; height:13px; flex:none; fill:#fff; filter:drop-shadow(0 1px 0 #13702c); }

/* The grid: three tiles a row on a phone, four on a wide screen. */
.dragons-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--gap); }
@media (min-width:520px) { .dragons-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
.dragon-tile { position:relative; display:flex; flex-direction:column; align-items:stretch; gap:5px; min-width:0; margin:0; padding:5px 5px 7px; border:3px solid var(--tb); border-radius:18px; color:#fff; background:linear-gradient(180deg,var(--t1),var(--t2) 70%); box-shadow:inset 0 2px #ffffff88,0 4px 0 var(--t3),0 8px 12px #00184466; font-family:DraklyBold,'Trebuchet MS',sans-serif; text-align:center; cursor:pointer; -webkit-tap-highlight-color:transparent; transition:transform var(--dur-1) var(--ease-out); }
.dragon-tile:active { transform:translateY(3px) scale(.97); box-shadow:inset 0 2px #ffffff88,0 1px 0 var(--t3); }
.dragon-tile:focus-visible { outline:3px solid #fff; outline-offset:3px; }
.dragon-tile__art { position:relative; display:grid; place-items:end center; aspect-ratio:1; overflow:hidden; border-radius:13px; background:radial-gradient(circle at 50% 42%,#ffffffd9 0,var(--tg) 28%,var(--t1) 58%,var(--t2) 100%); box-shadow:inset 0 -6px 10px #00000026; }
.dragon-tile__art img { width:108%; max-width:none; height:108%; margin-bottom:-6%; object-fit:contain; filter:drop-shadow(0 4px 3px #0a2a5a80); }
.dragon-tile__role { position:absolute; top:9px; left:9px; display:grid; place-items:center; width:26px; height:26px; border:2px solid #fff; border-radius:50%; background:var(--t3); box-shadow:0 2px 0 #0007; }
.dragon-tile__role .icon { width:15px; height:15px; background:#fff; }
.dragon-tile .mastery-mark.is-tile { top:auto; bottom:62px; left:auto; right:9px; width:24px; height:24px; }
.dragon-tile__name { overflow:hidden; padding:0 2px; color:#fff; font:15px/1.1 DraklyBlack,'Trebuchet MS',sans-serif; letter-spacing:-.02em; text-overflow:ellipsis; white-space:nowrap; text-shadow:0 2px 0 var(--t3),0 0 3px var(--t3); }
.stage-pips { display:inline-flex; justify-content:center; gap:5px; }
.stage-pips i { width:9px; height:9px; border:1.5px solid #ffffffb3; border-radius:2px; background:#0a2f66b3; transform:rotate(45deg); }
.stage-pips i.on { border-color:#fff; background:linear-gradient(135deg,#fff6c4,#ffc840); box-shadow:0 0 6px #ffd96caa; }
.tile-bar { position:relative; display:grid; place-items:center; height:24px; overflow:hidden; border:2px solid #ffffff66; border-radius:999px; background:#08295ccc; }
.tile-bar__fill { position:absolute; inset:0 auto 0 0; border-radius:999px; background:linear-gradient(#8fe3ff,#2591e0); }
.tile-bar b { position:relative; display:inline-flex; align-items:center; gap:3px; color:#fff; font:12px DraklyBlack,'Trebuchet MS',sans-serif; text-shadow:0 1px 2px #002a66; }
.tile-bar .ui-icon { width:15px !important; height:15px !important; }
.tile-bar.is-ready .tile-bar__fill { display:none; }
.tile-bar.is-ready { border-color:#e4ffd8; background:linear-gradient(#8ff07a,#2fb54b); box-shadow:inset 0 2px #ffffff88; }
.tile-bar.is-ready b { text-shadow:0 1px 0 #13702c; }
.tile-bar.is-max { border-color:#fff3c4; background:linear-gradient(#ffe9a0,#f0b84f); }
.tile-bar.is-max b { color:#5a3a0a; text-shadow:0 1px 0 #fff6d0; }
/* Ready to grow: a green arrow over the corner, like the upgrade arrow on Clash Royale cards. */
.dragon-tile.is-ready::after { content:""; position:absolute; top:-9px; right:-9px; width:30px; height:30px; border:2px solid #fff; border-radius:50%; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 3 21 13h-5.5v8h-7v-8H3z'/%3E%3C/svg%3E") center / 17px no-repeat,linear-gradient(#8ff07a,#26a344); box-shadow:0 3px 0 #13702c,0 0 10px #8ff07aaa; animation:tile-ready 1.6s var(--ease-in-out) infinite; }
@keyframes tile-ready { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-4px); } }

/* Not found yet: a dark tile with the silhouette, the name and the egg it hatches from. */
.dragon-tile.is-locked { border-style:dashed; border-color:color-mix(in srgb,var(--tb) 70%,transparent); background:linear-gradient(180deg,#123f78,#0a2b5c); box-shadow:inset 0 2px #ffffff22,0 4px 0 #061d45; }
.dragon-tile.is-locked .dragon-tile__art { background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--t1) 45%,#0b356c),#0a2b5c 75%); }
.dragon-tile__art .dragon-sil,.dragon-sheet__stage .dragon-sil { width:92%; height:92%; margin:0; object-fit:contain; filter:brightness(0) drop-shadow(0 0 1px #8fdcff); opacity:.6; }
.dragon-tile.is-locked .dragon-tile__art { place-items:center; }
.dragon-tile__art > i,.dragon-sheet__stage > i { position:absolute; inset:0; display:grid; place-items:center; color:#ffffffd9; font:normal 34px DraklyBlack,'Trebuchet MS',sans-serif; text-shadow:0 3px 0 #061d45; }
.dragon-tile.is-locked .dragon-tile__name { color:#d8ecff; text-shadow:0 2px 0 #061d45; }
.tile-egg { display:inline-flex; align-items:center; justify-content:center; gap:3px; align-self:center; max-width:100%; min-height:24px; overflow:hidden; padding:2px 9px 2px 4px; border-radius:999px; color:#fff; background:linear-gradient(var(--t1),var(--t2)); box-shadow:0 2px 0 var(--t3); font:11px DraklyBold,'Trebuchet MS',sans-serif; text-overflow:ellipsis; white-space:nowrap; text-shadow:0 1px 0 var(--t3); }

/* The dragon sheet: a big portrait on a rarity glow, stats, skill and one main button. */
.siege-picker.dragon-sheet { position:relative; padding-top:12px; border-color:var(--tb); background:radial-gradient(120% 60% at 50% 18%,color-mix(in srgb,var(--t1) 60%,transparent),transparent 70%),linear-gradient(#2b86c7,#0c4a96 45%,#092f6d); text-align:center; }
.dragon-sheet__top { display:flex; align-items:start; justify-content:space-between; gap:8px; }
.dragon-sheet__tags { display:flex; flex-wrap:wrap; gap:6px; padding-top:6px; }
.dragon-tag { display:inline-flex; align-items:center; gap:4px; min-height:26px; padding:3px 10px; border:2px solid #b2efff; border-radius:999px; color:#fff; background:#0d4a92; font:12px DraklyBold,'Trebuchet MS',sans-serif; }
.dragon-tag.rarity-basic,.dragon-tag.rarity-rare,.dragon-tag.rarity-special,.dragon-tag.rarity-seasonal { border-color:var(--tb); background:linear-gradient(var(--t1),var(--t2)); box-shadow:0 2px 0 var(--t3); text-shadow:0 1px 0 var(--t3); }
.dragon-tag .icon { width:14px; height:14px; background:#fff; }
.dragon-sheet__stage { position:relative; display:grid; place-items:center; width:220px; height:196px; margin:-6px auto 0; }
.dragon-sheet__stage::before { content:""; position:absolute; inset:-10px; border-radius:50%; background:repeating-conic-gradient(from 0deg,#ffffff2e 0 10deg,transparent 10deg 30deg); -webkit-mask:radial-gradient(circle,#000 30%,transparent 70%); mask:radial-gradient(circle,#000 30%,transparent 70%); animation:sheet-rays 24s linear infinite; }
.dragon-sheet__stage::after { content:""; position:absolute; inset:24px; border-radius:50%; background:radial-gradient(circle,var(--tg),transparent 68%); opacity:.85; }
.dragon-sheet__stage img { position:relative; z-index:1; width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 8px 6px #04204a99); }
.dragon-sheet__stage .dragon-sil { width:78%; height:78%; }
.dragon-sheet__stage > i { z-index:2; font-size:54px; }
.dragon-sheet__stage .mastery-mark { z-index:2; }
@keyframes sheet-rays { to { transform:rotate(360deg); } }
.tile-egg__art { width:18px; height:18px; flex:none; object-fit:contain; }
.dragon-sheet h3 { margin:16px 0 0; color:#fff; font:30px/1.05 DraklyBlack,'Trebuchet MS',sans-serif; overflow-wrap:anywhere; text-shadow:0 3px 0 #125390,0 5px 8px #0b3367aa; }
.dragon-sheet__sub { margin:4px 0 12px; color:#d6f3ff; font-size:13px; }
.dragon-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-bottom:10px; }
.dragon-stat { display:grid; justify-items:center; align-content:start; gap:2px; padding:8px 4px; border:2px solid #8de2ff; border-radius:14px; background:linear-gradient(#1d6db4,#0b3f82); box-shadow:inset 0 2px #ffffff40,0 3px 0 #072f66; }
.dragon-stat small { color:#cdeeff; font-size:11px; }
.dragon-stat b { color:#fff; font:20px/1.1 DraklyBlack,'Trebuchet MS',sans-serif; text-shadow:0 2px 0 #0a3a78; }
.dragon-stat em { color:#9ff58a; font:normal 12px DraklyBlack,'Trebuchet MS',sans-serif; }
.dragon-stat .stage-pips { margin-top:3px; }
.dragon-sheet__skill { display:grid; grid-template-columns:52px minmax(0,1fr); align-items:center; gap:10px; padding:8px 10px; border:2px solid #8de2ff55; border-radius:14px; background:#0a3a78b3; text-align:left; }
.dragon-sheet__skill .skill-art { width:52px; height:52px; }
.dragon-sheet__skill b { display:block; color:#fff; font:15px DraklyBlack,'Trebuchet MS',sans-serif; }
.dragon-sheet__skill span { color:#e2f6ff; font-size:13px; line-height:1.3; }
.dragon-sheet .roster-detail { text-align:left; }
.dragon-sheet__cta { position:sticky; bottom:calc(-18px - var(--safe-bottom)); z-index:3; display:grid; gap:8px; margin:6px -14px 10px; padding:10px 14px calc(12px + var(--safe-bottom)); background:linear-gradient(#0c4a9600,#0b4590 22%,#0a3f86); }
.dragon-sheet__cta .btn.primary { min-height:56px; font-size:18px; }
.dragon-sheet__cta .btn .ui-icon { width:22px; height:22px; }
.dragon-sheet__cta .dragon-alt { justify-self:center; min-height:44px; padding-inline:18px; font-size:14px; }
.dragon-sheet__cta .btn-egg { width:30px; height:30px; margin:-6px 2px -6px -4px; object-fit:contain; }
.dragon-sheet__hint { display:flex; align-items:center; justify-content:center; gap:5px; margin:0; color:#d6f3ff; font-size:12px; line-height:1.35; text-wrap:balance; }
.dragon-sheet__hint .ui-icon { flex:none; width:16px; height:16px; }
.dragon-sheet__need { display:flex; align-items:center; justify-content:center; gap:5px; margin:0; color:#fff; font-size:14px; }
.dragon-sheet__need .ui-icon { width:20px; height:20px; }
.dragon-sheet__max { display:flex; align-items:center; justify-content:center; gap:8px; margin:0; color:#fff3c4; font-size:14px; }
.dragon-sheet__max b { padding:3px 10px; border-radius:999px; color:#5a3a0a; background:linear-gradient(#ffe9a0,#f0b84f); font:14px DraklyBlack,'Trebuchet MS',sans-serif; }
.dragon-sheet .mastery-row,.dragon-sheet__block,.dragon-sheet .skin-select-row { margin-top:10px; text-align:left; }
.dragon-sheet__block h4 { margin:0 0 6px; color:#fff; font:15px DraklyBlack,'Trebuchet MS',sans-serif; }
.dragon-sheet.is-locked .dragon-sheet__hint { margin-top:10px; }
.dragon-grow.is-coached { animation:grow-coach 1.2s var(--ease-in-out) 2; }
@keyframes grow-coach { 0%,100% { transform:scale(1); } 50% { transform:scale(1.04); box-shadow:0 0 0 4px #ffffffaa,0 4px 0 #0b4fb4; } }

@media (max-width:360px) {
  .dragons-screen { --gap:8px; }
  .dragon-tile__name { font-size:13px; }
  .tile-bar b { font-size:11px; }
  .dragons-head h1 { font-size:26px; }
  .collection-meter { flex-basis:140px; }
}
@media (prefers-reduced-motion:reduce) {
  .dragon-tile.is-ready::after,.dragon-sheet__stage::before,.dragon-grow.is-coached { animation:none; }
}

/* --- Gacha (spec 2026-10-13): fire eggs, the daily egg, sparks, stars, levels, pulls, boss, month card. */
.star-row { display:inline-flex; gap:1px; font-size:.82rem; line-height:1; letter-spacing:0; }
.star-row i { font-style:normal; color:rgba(233,248,251,.22); }
.star-row i.on { color:var(--c-gold); text-shadow:0 1px 0 var(--c-gold-ink),0 0 6px rgba(255,224,160,.45); }
/* Red stars ★7-★12 (spec 2026-10-26): repaint the gold slots from the left. */
.star-row i.red { color:#ff4a3d; text-shadow:0 1px 0 #6b0f0a,0 0 7px rgba(255,74,61,.6); }
.red-star-ico { width:1.25em; height:1.25em; vertical-align:-.28em; margin-right:.25em; }
.btn.is-red-star { background:linear-gradient(180deg,#ff6a4d,#c8261b); border-color:#7a120c; color:#fff; }
.red-star-note { margin:.35rem 0 0; font-size:.78rem; opacity:.8; text-align:center; }
.star-row.is-tile { font-size:.68rem; justify-content:center; }
.tile-copies { position:absolute; top:6px; right:6px; min-width:22px; padding:1px 6px; border-radius:999px; background:var(--c-gold); color:var(--c-gold-ink); font-weight:800; font-size:.72rem; box-shadow:0 2px 0 var(--c-gold-ink); }
.grow-block .tile-copies { position:static; }
.tile-bar.is-star b { color:var(--c-gold-ink); }
.tile-bar.is-star .tile-bar__fill { background:linear-gradient(90deg,var(--c-gold),var(--c-gold-2)); }
.daily-egg { display:flex; align-items:center; gap:12px; width:100%; margin:10px 0 0; padding:10px 14px; border:1px solid var(--c-line-2); border-radius:16px; background:var(--c-surface-3); color:var(--c-text); text-align:left; cursor:pointer; }
.daily-egg__art { width:52px; height:52px; flex:0 0 auto; }
.daily-egg span { display:flex; flex-direction:column; flex:1; min-width:0; }
.daily-egg small { color:var(--c-text-3); }
.daily-egg b { padding:6px 12px; border-radius:999px; background:var(--c-aqua); color:#05303a; }
.fire-panel { margin-top:12px; padding:12px; border-radius:18px; background:linear-gradient(160deg,rgba(224,123,29,.28),rgba(154,74,12,.18)); border:1px solid rgba(255,211,107,.45); }
.fire-banner { display:flex; gap:10px; align-items:center; margin-bottom:10px; }
.fire-banner img { width:56px; height:56px; border-radius:14px; background:var(--c-surface-3); object-fit:cover; }
.fire-banner div { display:flex; flex-direction:column; min-width:0; }
.fire-banner small, .fire-head small { color:var(--c-text-3); }
.fire-head { display:flex; gap:10px; align-items:center; }
.fire-egg__art { width:56px; height:56px; flex:0 0 auto; }
.fire-head div { display:flex; flex-direction:column; }
.fire-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:10px; }
.fire-actions .btn { width:100%; }
.fire-pity { margin:8px 0 0; font-size:.78rem; color:var(--c-text-3); }
.spark-meter { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:8px; font-size:.82rem; }
.spark-meter__bar { flex:1 1 140px; height:8px; border-radius:999px; background:rgba(255,255,255,.12); overflow:hidden; }
.spark-meter__bar span { display:block; height:100%; background:linear-gradient(90deg,#ffd36b,#ff9fc4); }
.grow-block { display:flex; flex-direction:column; gap:8px; }
.grow-head { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.grow-head .star-row { font-size:1.15rem; }
.grow-row { display:flex; gap:8px; }
.grow-row .btn { flex:1; }
.pulls-screen { text-align:center; padding:18px 16px 24px; }
.pulls-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(96px,1fr)); gap:10px; margin:14px 0 18px; }
.pulls-grid.n-1 { grid-template-columns:minmax(160px,220px); justify-content:center; }
.pull-card { margin:0; padding:8px 6px 10px; border-radius:16px; border:2px solid var(--tb,#7ebbc8); background:linear-gradient(170deg,var(--t2,#204863),var(--t3,#0a273f)); animation:pull-in .45s both; animation-delay:calc(var(--i,0) * 90ms); }
.pull-card img { width:100%; height:auto; aspect-ratio:1; object-fit:contain; }
.pull-card figcaption { display:flex; flex-direction:column; gap:2px; font-size:.72rem; }
.pull-card strong { font-size:.8rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pull-card em { font-style:normal; font-weight:800; color:var(--c-gold); }
.pull-card.is-new em { color:var(--c-aqua); }
.pull-card.rarity-seasonal { box-shadow:0 0 22px rgba(255,159,196,.55); }
@keyframes pull-in { from { opacity:0; transform:translateY(14px) scale(.9); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce) { .pull-card { animation:none; } }
.boss-tiers, .boss-table { list-style:none; margin:10px 0; padding:0; display:flex; flex-direction:column; gap:6px; }
.boss-tiers li, .boss-table li { display:flex; justify-content:space-between; gap:10px; padding:6px 10px; border-radius:12px; background:var(--c-surface-3); font-size:.85rem; }
.boss-tiers li.is-done { opacity:.6; text-decoration:line-through; }
.boss-tiers li.is-ready { border:1px solid var(--c-gold); }
.month-card { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.month-card > div { display:flex; flex-direction:column; flex:1 1 auto; min-width:0; }
.month-card__art { flex:0 0 56px; width:56px; height:56px; object-fit:contain; filter:drop-shadow(0 4px 6px #ff9a3c55); }
.month-card small { color:var(--c-text-3); }
.store-gacha .store-row__art { width:48px; height:48px; }
/* Fire egg prices stay inside the incubator on narrow Telegram screens. */
.hatch-card,.fire-panel,.fire-head,.fire-head > div { min-width:0; max-width:100%; }
.fire-head small { overflow-wrap:anywhere; }
.fire-actions { grid-template-columns:repeat(2,minmax(0,1fr)); min-width:0; }
.fire-actions > * { min-width:0; max-width:100%; }
.fire-actions .btn,.fire-actions .btn-cta-buy,.fire-actions .short-note { width:100%; min-width:0; min-height:58px; white-space:normal; overflow-wrap:anywhere; }
.fire-actions .btn-cta-buy { display:flex; flex-wrap:wrap; align-content:center; justify-content:center; gap:2px 4px; padding:6px 4px; text-align:center; line-height:1.12; }
.fire-actions .btn-cta-buy > span { min-width:0; }
.fire-actions .btn-cta-buy small { font-size:11px; }
/* Fire pulls: cards face down, flipped one by one (showPulls). */
.pulls-flip .pulls-grid { width:100%; max-width:560px; justify-self:stretch; margin-inline:auto; }
.pulls-flip .pulls-grid.n-10 { grid-template-columns:repeat(5,minmax(0,1fr)); gap:7px; }
.pulls-flip .pulls-grid.n-1 { grid-template-columns:minmax(150px,200px); }
.pull-flip { position:relative; display:block; width:100%; aspect-ratio:2/3; margin:0; padding:0; border:0; color:inherit; font:inherit; background:none; perspective:700px; cursor:pointer; animation:pull-in .45s both; animation-delay:calc(var(--i,0) * 60ms); }
.pull-flip:disabled { cursor:default; opacity:1; }
.pull-flip__inner { position:absolute; inset:0; transform-style:preserve-3d; transition:transform .55s cubic-bezier(.3,1.3,.5,1); }
.pull-flip.is-flipped .pull-flip__inner { transform:rotateY(180deg); }
.pull-flip__back,.pull-flip__front { position:absolute; inset:0; width:100%; height:100%; box-sizing:border-box; backface-visibility:hidden; -webkit-backface-visibility:hidden; }
.pull-flip__back { object-fit:contain; filter:drop-shadow(0 4px 6px #0006); transition:filter .3s; }
.pull-flip__front { display:flex; flex-direction:column; justify-content:center; transform:rotateY(180deg); animation:none; }
.pull-flip.is-teasing .pull-flip__inner { animation:pull-tease .16s linear infinite; }
.pull-flip.is-teasing .pull-flip__back { filter:drop-shadow(0 0 10px var(--tg,#ffd96c)) drop-shadow(0 0 22px var(--tg,#ffd96c)) brightness(1.15); }
.pull-flip.is-flipped.rarity-special .pull-flip__front,.pull-flip.is-flipped.rarity-seasonal .pull-flip__front { box-shadow:0 0 18px var(--tg,#ffd96c); }
.pulls-grid.n-10 .pull-card { padding:5px 3px 6px; border-radius:11px; }
.pulls-grid.n-10 .pull-card small { display:none; }
.pulls-grid.n-10 .pull-card strong { font-size:.6rem; }
.pulls-grid.n-10 .pull-card em { font-size:.6rem; }
.pulls-summary { min-height:1.3em; margin:-6px 0 12px; color:var(--c-gold); font-weight:800; }
.pulls-flip .btn[hidden] { display:none; }
@keyframes pull-tease { 0%,100% { transform:rotate(0); } 25% { transform:rotate(-2.5deg); } 75% { transform:rotate(2.5deg); } }
@media (prefers-reduced-motion: reduce) { .pull-flip,.pull-flip__inner,.pull-flip.is-teasing .pull-flip__inner { animation:none; transition:none; } }
