/* Atlas Pre-Built cards — "Obsidian" style (Patrick's pick, Oct 12 2026 · v520)
   Card root: .pb3-card.atl-card.tier-flow|tier-restore|tier-might|tier-rage|tier-ascend
   Inside: .pb3-art.atl-card-art (full-bleed painting, clipped here), .pb3-shade, .atl-card-key, .atl-card-tier,
   the name / label bar / description / buttons, then .atl-card-fx + embers/sparkles (added by atlas-obsidian-cards.js for Rage/Ascend). */
.atl-card{--c:#f6c453;--mx:50%;--my:30%;--rx:0deg;--ry:0deg}
.atl-card.tier-flow{--c:#7dd3fc}.atl-card.tier-restore{--c:#86efac}.atl-card.tier-might{--c:#fb923c}.atl-card.tier-rage{--c:#ef4444}.atl-card.tier-ascend{--c:#f8d36b}

/* root: black, no clipping (the Ascend living border sits outside the card) */
html body .pb3-card.pb2-card.atl-card{position:relative;isolation:isolate;overflow:visible;border:0;border-radius:14px;background:#050505;
  box-shadow:0 14px 34px rgba(0,0,0,.7);touch-action:auto}
html body .pb3-card.pb2-card.atl-card.pb3-front{transform:perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));transition:transform .25s ease}
html body .pb3-pack:has(.atl-card){padding-top:16px;padding-bottom:16px}

/* the painting fills the card and is clipped here */
html body .pb3-full.atl-card > .atl-card-art{position:absolute;inset:0;border-radius:inherit;overflow:hidden;z-index:0;background:#050505}
html body .pb3-full.atl-card > .atl-card-art::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.35) 0,transparent 22%,transparent 50%,rgba(0,0,0,.92) 80%)}
html body .pb3-full.atl-card > .pb3-shade{border-radius:inherit}

/* thin tier keyline + tier label */
html body .pb3-full.atl-card > .atl-card-key{position:absolute;inset:7px;border:1px solid color-mix(in srgb,var(--c) 60%,transparent);border-radius:9px;z-index:3;pointer-events:none}
html body .pb3-full.atl-card > .atl-card-tier{position:absolute;top:14px;left:14px;z-index:4;display:flex;align-items:center;gap:6px;font:800 10.5px/1 var(--atl-head,inherit);letter-spacing:.2em;text-transform:uppercase;color:var(--c);text-shadow:0 1px 6px rgba(0,0,0,.8)}
html body .pb3-full.atl-card > .atl-card-tier i{width:7px;height:7px;border-radius:50%;background:var(--c);box-shadow:0 0 8px var(--c)}

/* text on top of the painting */
html body .pb3-full.atl-card > .pb3-head,html body .pb3-full.atl-card > .pb3-type,html body .pb3-full.atl-card > .pb3-desc,html body .pb3-full.atl-card > .pb3-act{z-index:6}
html body .pb3-full.atl-card > .pb3-view{z-index:7}
html body .pb3-full.atl-card .pb3-head{padding:34px 18px 0}
html body .pb3-full.atl-card .pb3-head b{font:700 21px/1.12 'Cinzel',Georgia,'Times New Roman',serif;text-transform:none;letter-spacing:.01em;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.9)}
html body .pb3-full.atl-card .pb3-type{margin:0 16px;border-color:color-mix(in srgb,var(--c) 45%,transparent);font-variant:small-caps;letter-spacing:.12em}
html body .pb3-full.atl-card .pb3-type span:first-child{color:var(--c)}
html body .pb3-full.atl-card .pb3-desc{margin:7px 18px 8px}
html body .pb3-full.atl-card .pb3-act{padding:0 16px 16px}

/* effects layer (Rage / Ascend) */
html body .pb3-full.atl-card > .atl-card-fx{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none;z-index:5}

/* RAGE: rainbow foil that follows your finger + red edge glow + rising embers */
html body .pb3-card.pb2-card.atl-card.tier-rage{box-shadow:0 0 22px rgba(239,68,68,.55),0 14px 34px rgba(0,0,0,.7)}
.tier-rage .atl-card-fx::before{content:"";position:absolute;inset:-40%;background:conic-gradient(from 0deg at var(--mx) var(--my),#ff3b5c,#ffb13b,#ffe96b,#3bffb0,#3bb6ff,#a23bff,#ff3b5c);mix-blend-mode:color-dodge;opacity:.17}
.tier-rage .atl-card-fx::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at var(--mx) var(--my),rgba(255,255,255,.55),transparent 38%);mix-blend-mode:overlay;opacity:.75}
html body .pb3-full.atl-card > .atl-ember{position:absolute;bottom:-6px;width:3px;height:3px;border-radius:50%;background:#ff9a4a;box-shadow:0 0 6px #ff5a1f;z-index:6;pointer-events:none;opacity:0;animation:atlRise linear infinite}
@keyframes atlRise{0%{transform:translateY(0);opacity:0}15%{opacity:1}100%{transform:translateY(-300px) translateX(14px);opacity:0}}

/* ASCEND: gilded edge + light sweep + sparkles + LIVING GOLD BORDER + pulsing aura */
html body .pb3-full.atl-card.tier-ascend > .atl-card-key{border:1.5px solid #f8d36b;box-shadow:inset 0 0 0 1px rgba(255,240,190,.25)}
.tier-ascend .atl-card-fx::before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,236,170,.75) 47%,rgba(255,255,255,.9) 50%,rgba(255,214,110,.6) 53%,transparent 64%);background-size:300% 100%;mix-blend-mode:overlay;animation:atlSweep 4.2s ease-in-out infinite}
.tier-ascend .atl-card-fx::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at var(--mx) var(--my),rgba(255,230,150,.55),transparent 42%);mix-blend-mode:soft-light}
@keyframes atlSweep{0%{background-position:120% 0}60%,100%{background-position:-60% 0}}
@property --atlA{syntax:'<angle>';inherits:false;initial-value:0deg}
html body .pb3-card.atl-card.tier-ascend::before{content:"";position:absolute;inset:-3px;width:auto;height:auto;opacity:1;border-radius:16px;z-index:-1;pointer-events:none;
  background:conic-gradient(from var(--atlA),#7a5210,#f8d36b,#fff6d8,#e0a62a,#5a3b06,#f8d36b,#fffbe6,#c98d1e,#7a5210);animation:atlSpin 3.2s linear infinite}
html body .pb3-card.atl-card.tier-ascend::after{content:"";position:absolute;inset:-10px;width:auto;height:auto;border-radius:22px;z-index:-2;pointer-events:none;
  background:conic-gradient(from var(--atlA),transparent,rgba(248,211,107,.55),transparent 30%,rgba(255,240,190,.5),transparent 60%,rgba(248,211,107,.55),transparent);filter:blur(10px);animation:atlSpin 3.2s linear infinite,atlAura 3.4s ease-in-out infinite}
@keyframes atlSpin{to{--atlA:360deg}}
@keyframes atlAura{0%,100%{opacity:.55}50%{opacity:1}}
.atl-spark{position:absolute;width:8px;height:8px;pointer-events:none;opacity:0;animation:atlTw 2.6s ease-in-out infinite}
.atl-spark::before,.atl-spark::after{content:"";position:absolute;left:50%;top:50%;background:#fff8dc;border-radius:2px;transform:translate(-50%,-50%)}
.atl-spark::before{width:1.5px;height:8px}.atl-spark::after{width:8px;height:1.5px}
@keyframes atlTw{0%,100%{opacity:0;transform:scale(.4) rotate(0)}50%{opacity:.95;transform:scale(1) rotate(45deg)}}

/* hide effects while viewing the full painting? keep them — but fade the tier label with the text */
html body .pb3-viewing.atl-card > .atl-card-tier{opacity:0;transition:opacity .3s ease}

@media (prefers-reduced-motion:reduce){.atl-card,.atl-card *,.atl-card::before,.atl-card::after{animation:none!important;transition:none!important}
  html body .pb3-card.pb2-card.atl-card.pb3-front{transform:none}.atl-ember,.atl-spark{display:none}}
/* the old bronze top line from .pb2-card doesn't belong on Obsidian cards (Ascend uses ::before for its living border) */
html body .pb3-card.pb2-card.atl-card:not(.tier-ascend)::before{content:none}

/* RAGE lightning (v521): a bolt cracks across the card every 5–8 s with a quick red-white flash — random bolt shape and timing per card */
html body .atl-card .atl-card-fx > .atl-bolt{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;animation:atlBolt 6s infinite}
.atl-bolt svg{width:100%;height:100%;display:block;overflow:visible;filter:drop-shadow(0 0 3px #ff9090) drop-shadow(0 0 9px #ff2a2a)}
.atl-bolt polyline{fill:none;stroke:#fff;stroke-width:2.2;stroke-linejoin:round;vector-effect:non-scaling-stroke}
html body .atl-card .atl-card-fx > .atl-flash{position:absolute;inset:0;z-index:1;pointer-events:none;animation:atlFlash 6s infinite}
@keyframes atlBolt{0%,7%,100%{opacity:0}1%,3%{opacity:1}2%{opacity:.3}}
@keyframes atlFlash{0%,7%,100%{background:rgba(255,220,220,0)}1%{background:rgba(255,220,220,.35)}3%{background:rgba(255,220,220,.18)}}
@media (prefers-reduced-motion:reduce){.atl-bolt,.atl-flash{display:none}}

/* FLOW (v522): tap anywhere on the card → one calm water ripple spreads from your finger (doesn't block the buttons) */
html body .atl-card .atl-card-fx > .atl-ripple{position:absolute;width:24px;height:24px;margin:-12px 0 0 -12px;border-radius:50%;border:1.5px solid rgba(180,235,255,.85);box-shadow:0 0 8px rgba(125,211,252,.5);pointer-events:none;animation:atlRip 1.4s ease-out forwards}
@keyframes atlRip{0%{transform:scale(.3);opacity:.9}100%{transform:scale(9);opacity:0}}
/* RESTORE (v522): a few tiny glowing pollen specks drift slowly upward */
html body .atl-card .atl-card-fx > .atl-mote{position:absolute;width:3px;height:3px;border-radius:50%;background:#e9ffd8;box-shadow:0 0 5px #b8f5a0;pointer-events:none;opacity:0;animation:atlMote ease-in-out infinite}
@keyframes atlMote{0%{transform:translate(0,0);opacity:0}25%{opacity:.85}100%{transform:translate(18px,-70px);opacity:0}}
/* only Rage and Ascend tilt (v522) */
html body .pb3-card.pb2-card.atl-card.pb3-front:not(.tier-rage):not(.tier-ascend){transform:none}
@media (prefers-reduced-motion:reduce){.atl-ripple,.atl-mote{display:none}}

/* v524 PERFORMANCE (iPhone Safari was crashing with every card animating at once):
   only the FRONT card of a pack that is on screen runs effects; other cards stay still and cheap. */
html body .atl-card:not(.pb3-front) > .atl-card-fx,html body .atl-card:not(.pb3-front) > .atl-ember,
html body .pb3-pack.atl-idle .atl-card-fx,html body .pb3-pack.atl-idle .atl-ember{display:none}
/* Ascend living border: spins only on the front card; the soft aura no longer uses a blur filter (heavy on phones) */
html body .pb3-card.atl-card.tier-ascend:not(.pb3-front)::before,html body .pb3-pack.atl-idle .pb3-card.atl-card.tier-ascend::before{animation:none}
html body .pb3-card.atl-card.tier-ascend::after{inset:-2px;border-radius:16px;filter:none;background:none;box-shadow:0 0 16px 3px rgba(248,211,107,.45);animation:atlAura 3.4s ease-in-out infinite}
html body .pb3-card.atl-card.tier-ascend:not(.pb3-front)::after,html body .pb3-pack.atl-idle .pb3-card.atl-card.tier-ascend::after{animation:none;opacity:.5}
/* tilt only on the front card (already), and no 3-D layer for the others */
html body .pb3-card.pb2-card.atl-card:not(.pb3-front){transform:none}

/* MIGHT (v525, Patrick's pick "Charge up"): the gold edge fills from the bottom all the way around like a power meter,
   flashes when full, then charges again. Lives in .atl-card-fx, so it only runs on the front card of an on-screen pack. */
html body .atl-card .atl-card-fx > .atl-meter{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.atl-meter rect{fill:none;stroke:#ffd77a;stroke-width:2;stroke-dasharray:100 100;stroke-dashoffset:100;filter:drop-shadow(0 0 4px #f6c453);animation:atlCharge 4s ease-in infinite}
@keyframes atlCharge{0%{stroke-dashoffset:100;opacity:1}78%{stroke-dashoffset:0;opacity:1}82%{stroke-dashoffset:0;opacity:1;filter:drop-shadow(0 0 10px #fff2c0) drop-shadow(0 0 18px #f6c453)}100%{stroke-dashoffset:0;opacity:0}}
html body .atl-card .atl-card-fx > .atl-charge-flash{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 50%,rgba(255,225,140,.35),transparent 70%);opacity:0;animation:atlChargeFlash 4s ease-in infinite}
@keyframes atlChargeFlash{0%,78%,100%{opacity:0}82%{opacity:1}}
@media (prefers-reduced-motion:reduce){.atl-meter,.atl-charge-flash{display:none}}

/* ===== v526: Pre-Built art — Twelve Labours hero, painted tier legend, category packs with painted covers ===== */
html body .atl-pb-hero{position:relative;height:170px;border-radius:14px;overflow:hidden;margin:2px 0 12px;background:#0a0806;box-shadow:0 10px 26px rgba(0,0,0,.55)}
html body .atl-pb-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 38%}
html body .atl-pb-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 30%,rgba(0,0,0,.85));pointer-events:none}
html body .atl-pb-hero::before{content:"";position:absolute;inset:7px;border:1px solid rgba(248,211,107,.45);border-radius:9px;z-index:2;pointer-events:none}
html body .atl-pb-hero-t{position:absolute;left:18px;right:18px;bottom:16px;z-index:3;display:flex;flex-direction:column;gap:3px}
html body .atl-pb-hero-t b{font:700 22px/1.1 'Cinzel',Georgia,'Times New Roman',serif;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.9)}
html body .atl-pb-hero-t small{color:#e8d9b8;font-size:12px;letter-spacing:.04em}

html body .atl-tiers{margin:0 0 12px}
html body .atl-tiers-cap{color:#999;font-size:12px;margin:0 2px 7px}
html body .atl-tiers-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
html body .atl-tc{--c:#f6c453;position:relative;margin:0;aspect-ratio:2/3;border-radius:9px;overflow:hidden;background:#050505;box-shadow:0 6px 16px rgba(0,0,0,.55)}
html body .atl-tc.tier-flow{--c:#7dd3fc}html body .atl-tc.tier-restore{--c:#86efac}html body .atl-tc.tier-might{--c:#fb923c}html body .atl-tc.tier-rage{--c:#ef4444}html body .atl-tc.tier-ascend{--c:#f8d36b}
html body .atl-tc img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
html body .atl-tc::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.88));pointer-events:none}
html body .atl-tc::after{content:"";position:absolute;inset:4px;border:1px solid color-mix(in srgb,var(--c) 70%,transparent);border-radius:6px;pointer-events:none}
html body .atl-tc figcaption{position:absolute;left:0;right:0;bottom:7px;z-index:2;text-align:center;font:800 9.5px/1 var(--atl-head,inherit);letter-spacing:.14em;text-transform:uppercase;color:var(--c);text-shadow:0 1px 6px #000}

html body details.pb2-cat.atl-pack{background:#0b0b0c;border:0;border-radius:14px;margin:10px 0}
html body details.pb2-cat.atl-pack>summary.atl-pack-cover{position:relative;height:118px;padding:0 18px 14px;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:2px;box-shadow:0 8px 22px rgba(0,0,0,.5)}
html body details.pb2-cat.atl-pack>summary.atl-pack-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 32%;z-index:0;transition:transform .5s ease}
html body details.pb2-cat.atl-pack>summary.atl-pack-cover::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(0,0,0,.82) 0,rgba(0,0,0,.35) 55%,rgba(0,0,0,.1)),linear-gradient(180deg,transparent 40%,rgba(0,0,0,.5));pointer-events:none}
html body details.pb2-cat.atl-pack>summary.atl-pack-cover::after{content:"";position:absolute;inset:6px;z-index:2;margin:0;border:1px solid rgba(248,211,107,.4);border-radius:9px;transform:none;pointer-events:none;font-size:0}
html body .atl-pack-name{position:relative;z-index:3;font:700 21px/1.1 'Cinzel',Georgia,'Times New Roman',serif;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.9)}
html body details.pb2-cat.atl-pack>summary small{position:relative;z-index:3;color:#e2d4b4;font-size:12px;font-weight:700;letter-spacing:.06em}
html body .atl-pack-open{position:absolute;z-index:3;right:18px;bottom:14px;font:800 10px/1 var(--atl-head,inherit);letter-spacing:.16em;text-transform:uppercase;color:#f8d36b;border:1px solid rgba(248,211,107,.6);border-radius:999px;padding:6px 10px;background:rgba(0,0,0,.45)}
html body .atl-pack-open::before{content:"Open pack"}
html body details.pb2-cat.atl-pack[open] .atl-pack-open::before{content:"Close"}
html body details.pb2-cat.atl-pack[open]>summary.atl-pack-cover{height:84px}
html body details.pb2-cat.atl-pack[open]>summary.atl-pack-cover img{transform:scale(1.04)}
@media (prefers-reduced-motion:reduce){html body details.pb2-cat.atl-pack>summary.atl-pack-cover img{transition:none}}

/* v529: rough time / volume / intensity estimates on every Pre-Built card (from AtlasLoad) */
html body .pb3-full.atl-card > .pb3-stats{position:relative;z-index:6;display:flex;justify-content:space-between;gap:6px;margin:6px 16px 0;font-size:11px;color:#cfc8bb;letter-spacing:.02em;white-space:nowrap}
html body .pb3-full.atl-card > .pb3-stats b{color:#fff;font-weight:800}
html body .pb3-viewing.atl-card > .pb3-stats{opacity:0;pointer-events:none;transition:opacity .3s ease}
/* v532: intensity estimate shows Patrick's intensity-scale icon + colour (Flow → Ascend) */
html body .pb3-stats .pb3-int{display:inline-flex;align-items:center;gap:4px}
html body .pb3-stats .pb3-int .intensityIcon{display:inline-flex;width:16px;height:16px;margin:0;padding:0;border:0;background:none;box-shadow:none}
html body .pb3-stats .pb3-int .intensityIcon img{width:16px;height:16px;object-fit:contain}
html body .pb3-full.atl-card > .pb3-stats .pb3-int-flow b{color:#7dd3fc}html body .pb3-full.atl-card > .pb3-stats .pb3-int-restore b{color:#86efac}html body .pb3-full.atl-card > .pb3-stats .pb3-int-build b{color:#fb923c}html body .pb3-full.atl-card > .pb3-stats .pb3-int-peak b{color:#ef4444}html body .pb3-full.atl-card > .pb3-stats .pb3-int-max b{color:#f8d36b}
/* v533: Patrick's original intensity-scale icons (assets/intensity-icons, as in More → intensity guide), bigger */
html body .pb3-full.atl-card > .pb3-stats{align-items:center}
html body .pb3-stats .pb3-int-ic{width:26px;height:26px;object-fit:contain;margin:-6px 1px -6px 0;filter:drop-shadow(0 0 4px rgba(0,0,0,.6))}
/* v534: the tier label (top left) shows Patrick's intensity-scale icon instead of the dot */
html body .pb3-full.atl-card > .atl-card-tier{top:10px;left:11px;gap:6px}
html body .pb3-full.atl-card > .atl-card-tier .atl-tier-ic{width:26px;height:26px;object-fit:contain;filter:drop-shadow(0 1px 4px rgba(0,0,0,.7))}
/* clear-background copies of the icons live in assets/intensity-icons/clear/ (originals have a dark square) */
html body .pb3-full.atl-card .pb3-head{padding-top:42px}

/* ============ v620 ASCEND, the top tier, now clearly above Rage ============
   God-rays turning behind the light, golden dust rising (it ASCENDS), gold-prism foil that follows your finger,
   a divine bloom every few seconds, a thicker double-gold living border, a bigger halo glow and a shimmering label.
   Like every effect, it only animates on the front card of an on-screen pack (v524 performance rule). */
html body .pb3-card.pb2-card.atl-card.tier-ascend{box-shadow:0 0 0 1px rgba(255,246,216,.55),0 0 26px 4px rgba(248,211,107,.6),0 0 60px 10px rgba(248,190,80,.28),0 16px 38px rgba(0,0,0,.75)}
html body .pb3-card.atl-card.tier-ascend::before{inset:-5px;border-radius:18px;
  background:conic-gradient(from var(--atlA),#6b4708,#f8d36b,#ffffff,#ffe9a8,#c98d1e,#4a3005,#f8d36b,#fffbe6,#ffd36b,#6b4708)}
html body .pb3-full.atl-card.tier-ascend > .atl-card-key{border:2px solid #ffe08a;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35),inset 0 0 18px rgba(255,214,110,.35),0 0 10px rgba(255,224,138,.45)}
/* shimmering ASCEND label */
html body .atl-card.tier-ascend > .atl-card-tier{background:linear-gradient(90deg,#c98d1e,#fff6d8 25%,#f8d36b 45%,#ffffff 55%,#e0a62a 75%,#c98d1e);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:atlLabel 3.6s linear infinite;text-shadow:none;filter:drop-shadow(0 0 4px rgba(255,214,110,.75))}
html body .atl-card.tier-ascend > .atl-card-tier img{-webkit-text-fill-color:initial}
@keyframes atlLabel{to{background-position:-250% 0}}
/* gold-prism foil (finger-follow) + fine foil grain */
html body .atl-card.tier-ascend > .atl-card-fx > .atl-prism{position:absolute;inset:-35%;background:conic-gradient(from 0deg at var(--mx,50%) var(--my,30%),#ffe9a8,#ffb86b,#ff9ad1,#b8a6ff,#8fe3ff,#b6ffcf,#fff1a8,#ffe9a8);mix-blend-mode:color-dodge;opacity:.09;z-index:1;-webkit-mask:linear-gradient(#000 0 52%,transparent 68%);mask:linear-gradient(#000 0 52%,transparent 68%)}
html body .atl-card.tier-ascend > .atl-card-fx > .atl-grain{position:absolute;inset:0;background:repeating-linear-gradient(115deg,rgba(255,240,200,.05) 0 2px,transparent 2px 7px);mix-blend-mode:overlay;z-index:1;-webkit-mask:linear-gradient(#000 0 50%,transparent 64%);mask:linear-gradient(#000 0 50%,transparent 64%)}
/* god-rays from above, slowly turning */
html body .atl-card.tier-ascend > .atl-card-fx > .atl-rays{position:absolute;left:50%;top:0;width:230%;aspect-ratio:1;transform:translate(-50%,-50%);z-index:0;opacity:.3;mix-blend-mode:screen;
  background:repeating-conic-gradient(from 0deg,rgba(255,236,170,.55) 0deg 4deg,transparent 4deg 14deg);
  -webkit-mask:radial-gradient(circle,#000 0 8%,transparent 42%);mask:radial-gradient(circle,#000 0 8%,transparent 42%);animation:atlRays 26s linear infinite}
@keyframes atlRays{from{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}
/* golden dust rising */
html body .atl-card.tier-ascend > .atl-card-fx > .atl-dust{position:absolute;bottom:-4px;width:3px;height:3px;border-radius:50%;background:#fff6d8;box-shadow:0 0 6px 1px #ffd36b,0 0 12px #f8d36b;opacity:0;z-index:3;animation:atlAscend linear infinite}
@keyframes atlAscend{0%{transform:translateY(0) scale(.6);opacity:0}12%{opacity:1}80%{opacity:.9}100%{transform:translateY(-420px) translateX(var(--dx,8px)) scale(1.1);opacity:0}}
/* divine bloom: a soft white-gold burst from the top every ~7 s */
html body .atl-card.tier-ascend > .atl-card-fx > .atl-bloom{position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(ellipse 80% 55% at 50% 0%,rgba(255,252,235,.85),rgba(255,224,138,.35) 40%,transparent 70%);mix-blend-mode:screen;opacity:0;animation:atlBloom 7s ease-in-out infinite}
@keyframes atlBloom{0%,72%,100%{opacity:0}80%{opacity:.85}88%{opacity:.25}}
.atl-card.tier-ascend .atl-spark::before,.atl-card.tier-ascend .atl-spark::after{background:#fffbe6;box-shadow:0 0 6px #ffd36b}
@media (prefers-reduced-motion:reduce){.atl-rays,.atl-dust,.atl-bloom{display:none}html body .atl-card.tier-ascend > .atl-card-tier{animation:none}}
html body .pb3-card.atl-card.tier-ascend .atl-card-art img{filter:saturate(1.18) contrast(1.08) brightness(1.03)}
html body .pb3-card.atl-card.tier-ascend .atl-card-art{background-color:#0b0905}
