/* v0.15.192 (#536, Alex HANDOFF "Card frames v2", 2026-11-08): painted materials on the v0.15.103 layer model (quality rim + kind band + overlay).
   Both renderers add .fv2 and the decor markup (card-frames.js). --u = one reference pixel: the full card (tos-renderer) is 250 reference px
   wide (the hover card of the reference page), the combat mini (mini-card) 120 — so every size below is written in reference px × var(--u).
   Reduced motion: every idle and talent flourish is static. */
.tos-card.fv2 { --u: calc(var(--tos-w, 330px) / 250); }
.mini-card.fv2 { --u: 0.8333cqw; }

/* ── quality: the rim textures, the cost diamond, the pinstripe colour ── */
.fv2.q-bronze { --rimTex: url("../assets/frames/quality/rim_bronze.jpg"); --rimTS: calc(40 * var(--u)); --rimTSm: 40px; --dia: url("../assets/frames/quality/cost_diamond_bronze.png"); --ql: #c98a4b; }
.fv2.q-silver { --rimTex: url("../assets/frames/quality/rim_silver.jpg"); --rimTS: calc(60 * var(--u)) auto; --rimTSm: 60px auto; --dia: url("../assets/frames/quality/cost_diamond_silver.png"); --ql: #dfe6ee; }
.fv2.q-gold   { --rimTex: url("../assets/frames/quality/rim_gold.jpg"); --rimTS: calc(22 * var(--u)); --rimTSm: 22px; --dia: url("../assets/frames/quality/cost_diamond_gold.png"); --ql: #f0d27a; }
.fv2.q-none   { --rimTex: linear-gradient(135deg, #1d4a50, #2a8a8a 50%, #1d4a50); --rimTS: 100% 100%; --rimTSm: 100% 100%; --dia: url("../assets/frames/quality/cost_diamond_bronze.png"); --ql: #2a8a8a; }

/* ── class materials: the footer + plate, the rules box, the watermark, the glyph colour, the fire colour ── */
.fv2.k-champion   { --mat: url("../assets/frames/classes/champion_material.jpg"); --matSize: auto 260%; --matPos: 0 40%; --plateMat: url("../assets/frames/classes/champion_material.jpg"); --plateInk: #fbe8c8; --plateSh: #3a0806; --rb1: #f6e8cc; --rb2: #ead6ae; --rbEdge: #8a5428; --rbTex: url("../assets/frames/classes/champion_material.jpg"); --wm: url("../assets/frames/classes/champion_sigil.png"); --gl: #a8322a; --fl: #ff8a20; }
.fv2.k-guardian   { --mat: url("../assets/frames/classes/guardian_material.jpg"); --matSize: auto 100%; --matPos: 0 0; --plateMat: linear-gradient(#f2f6f9, #b6c4d2 55%, #7e93a8); --plateInk: #1a2a3c; --plateSh: rgba(255, 255, 255, .53); --rb1: #eef0ea; --rb2: #dfe3e2; --rbEdge: #4e6a86; --rbTex: repeating-linear-gradient(transparent 0 calc(11 * var(--u)), rgba(78, 118, 158, .13) calc(11 * var(--u)) calc(12 * var(--u))); --wm: url("../assets/frames/classes/guardian_sigil.png"); --gl: #4e769e; --fl: #cfe6ff; }
.fv2.k-runemage   { --mat: url("../assets/frames/classes/runemage_material.jpg"); --matSize: auto 160%; --matPos: 0 30%; --plateMat: linear-gradient(#f3e8d2, #dccaa4); --plateInk: #2a1650; --plateSh: rgba(255, 255, 255, .4); --rb1: #f0e8da; --rb2: #e2d6c2; --rbEdge: #5a3f8a; --rbTex: radial-gradient(circle, rgba(106, 63, 176, .13) 0 1px, transparent 1.5px) 0 0 / calc(7 * var(--u)) calc(7 * var(--u)); --wm: url("../assets/frames/classes/runemage_sigil.png"); --gl: #6a3fb0; --fl: #7fe8ff; }
.fv2.k-adventurer { --mat: url("../assets/frames/classes/adventurer_material.jpg"); --matSize: auto 180%; --matPos: 0 40%; --plateMat: linear-gradient(#7a5530, #5a3c1e); --plateInk: #f6e6c4; --plateSh: #2a1608; --rb1: #f2e8cc; --rb2: #e6d6b0; --rbEdge: #6a5430; --rbTex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 40q15-14 30-4t30-6M0 50q18-12 34-2t26-8M0 28q12-10 28-2t32-10' fill='none' stroke='%235b7a3a' stroke-opacity='.35'/%3E%3C/svg%3E"); --wm: url("../assets/frames/classes/adventurer_sigil.png"); --gl: #5b7a3a; --fl: #ffd77a; }
.fv2.is-traveler  { --mat: url("../assets/frames/traveler/traveler_material_starfield.jpg"); --matSize: auto 260%; --matPos: 0 45%; --plateMat: linear-gradient(rgba(42, 26, 72, .93), rgba(18, 10, 36, .93)); --plateInk: #eafff4; --plateSh: #1a0a30; --rb1: #efe9f6; --rb2: #e2dbee; --rbEdge: #5a3f8a; --rbTex: radial-gradient(circle,#3fbf8a33 0 .8px,#0000 1.2px) 0 0/calc(9px*var(--u)) calc(9px*var(--u)),radial-gradient(circle,#8a5fd033 0 .8px,#0000 1.2px) calc(4px*var(--u)) calc(5px*var(--u))/calc(11px*var(--u)) calc(11px*var(--u)); --wm: url("../assets/frames/traveler/traveler_sigil.png"); --gl: #3fbf8a; --fl: #9affd0; --rimTex: url("../assets/frames/traveler/traveler_rim.jpg"); --rimTS: calc(70 * var(--u)); --rimTSm: 70px; }

/* ══════════════ the full card (tos-renderer) ══════════════ */
/* enemy and boss cards keep the v0.15.103 band / plate / rules box / footer and the v0.15.108 motif line under the v2 quality rim, corners and crest — "Enemy frames are not in this bundle; per-family enemy materials come next" (HANDOFF §0). Every material rule below is scoped :where(:not(.k-enemy, .k-boss)) — inside :where() so the scope adds NO specificity and the class / Traveler overrides (plate shapes, the stitch row, the filigree band) keep their rank. */
.tos-card.fv2.has-frame { padding: calc(3 * var(--u)); background: linear-gradient(135deg, rgba(255, 255, 255, .2) 0%, transparent 40%, rgba(255, 255, 255, .25) 50%, transparent 60%, rgba(0, 0, 0, .4) 100%), var(--rimTex) 0 0 / var(--rimTS); background-blend-mode: normal; box-shadow: 0 10px 30px rgba(0, 0, 0, .55), inset 0 0 0 calc(.6 * var(--u)) rgba(0, 0, 0, .56), inset 0 0 0 calc(1.2 * var(--u)) rgba(255, 255, 255, .2); }
.tos-card.fv2.has-frame:where(:not(.k-enemy, .k-boss)) .tos-frame { background: #140c08 var(--mat) var(--matPos) / var(--matSize) repeat-x; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55), inset 0 2px 3px rgba(255, 255, 255, .12); outline: none; clip-path: none; }
.tos-card.fv2.has-frame:where(:not(.k-enemy, .k-boss)) .tos-frame::before { display: none; } /* the v0.15.108 motif strips give way to the material */
/* the name plate sizes to its name (max 84 %), the sigil at its start, the class icon circle retires */
.tos-card.fv2 .tos-banner { gap: 0; }
.tos-card.fv2:where(:not(.k-enemy, .k-boss)) .tos-banner-pill { flex: 0 1 auto; width: auto; max-width: 84%; min-width: 0; height: 100%; border: 0; border-radius: 0; box-shadow: inset 0 calc(1 * var(--u)) 0 #e2b956, inset 0 calc(-1 * var(--u)) 0 #b88a22; padding: 0 calc(12 * var(--u)) 0 calc(3 * var(--u)); gap: calc(2 * var(--u)); background: var(--plateMat) 0 30% / auto 400%; filter: drop-shadow(0 1px 2px #000); position: relative; }
.tos-card.fv2:where(:not(.k-enemy, .k-boss)) .tos-banner-pill::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .13), rgba(0, 0, 0, .25)); pointer-events: none; }
.tos-card.fv2.k-champion .tos-banner-pill { clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%); }
.tos-card.fv2.k-guardian .tos-banner-pill { border-radius: calc(1.5 * var(--u)); padding-right: calc(6 * var(--u)); box-shadow: inset 0 0 0 calc(1 * var(--u)) #dfe8f0, inset 0 0 0 calc(2 * var(--u)) #3a4a5c; }
.tos-card.fv2.k-runemage .tos-banner-pill { border-radius: calc(4 * var(--u)); padding-right: calc(6 * var(--u)); box-shadow: inset 0 0 0 calc(1 * var(--u)) #7a5fb0, 0 0 calc(4 * var(--u)) rgba(95, 214, 255, .4); }
.tos-card.fv2.k-adventurer .tos-banner-pill { clip-path: polygon(calc(4 * var(--u)) 0, 100% 0, 100% 100%, 0 100%, 0 calc(4 * var(--u))); box-shadow: inset 0 0 0 calc(2 * var(--u)) #e8d0a0; padding-left: calc(3.4 * var(--u)); }
.tos-card.fv2.k-adventurer .tos-banner-pill::after { content: ''; position: absolute; inset: calc(1.6 * var(--u)); border: calc(.6 * var(--u)) dashed rgba(232, 208, 160, .8); pointer-events: none; }
.tos-card.fv2.is-traveler .tos-banner-pill { border-radius: calc(6 * var(--u)); clip-path: none; box-shadow: inset 0 0 0 calc(1 * var(--u)) #3fbf8a, inset 0 0 0 calc(2 * var(--u)) #b9a6e6, 0 0 calc(5 * var(--u)) rgba(63, 191, 138, .53); }
.tos-card.fv2:where(:not(.k-enemy, .k-boss)) .tos-name { position: relative; color: var(--plateInk); text-shadow: 0 calc(.6 * var(--u)) 0 var(--plateSh), 0 0 calc(2 * var(--u)) rgba(0, 0, 0, .5); text-overflow: clip; letter-spacing: .06em; }
.tos-card.fv2 .tos-class-icon { display: none; }
.tos-card.fv2 .fv2-sigil { position: relative; flex: none; width: calc(12 * var(--u)); height: calc(12 * var(--u)); filter: drop-shadow(0 0 1px #000); }
.tos-card.fv2.k-adventurer .fv2-sigil { width: calc(8 * var(--u)); height: calc(8 * var(--u)); }
.tos-card.fv2.is-traveler .fv2-sigil { width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; box-shadow: 0 0 0 calc(.6 * var(--u)) rgba(207, 255, 232, .67), 0 0 calc(3 * var(--u)) rgba(154, 255, 208, .53); }
/* the cost diamond in the quality metal, lining numerals centred on the opening — on the art and in the rules text */
.tos-card.fv2 .tos-cost, .tos-card.fv2 .tos-icon-sq { background: var(--dia) center / contain no-repeat; clip-path: none; border: 0; box-shadow: none; filter: drop-shadow(0 1px 1px #000); color: #fff; font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif; font-variant-numeric: lining-nums; font-weight: 700; text-shadow: 0 0 2px #000, 0 0 1px #000; padding: .12em 0 0; line-height: 1; box-sizing: border-box; }
.tos-card.fv2 .tos-cost { width: calc(var(--tos-cost-h) * 1.35); height: calc(var(--tos-cost-h) * 1.35); }
.tos-card.fv2 .tos-icon-sq { min-width: calc(var(--tos-sq-sz) * 1.3); height: calc(var(--tos-sq-sz) * 1.3); aspect-ratio: 1; }
/* stats: lining numerals with a black stroke (the sizes already exceed the spec's 16 / 26 px — kept) */
.tos-card.fv2 .tos-stat { font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif; font-variant-numeric: lining-nums; -webkit-text-stroke: calc(.7 * var(--u)) #000; paint-order: stroke; }
/* the rules box: the class parchment, its texture, the watermark; the rows stay above both */
.tos-card.fv2.has-frame:where(:not(.k-enemy, .k-boss)) .tos-textbox { position: relative; background: linear-gradient(var(--rb1), var(--rb2)); border-top: 2px solid var(--rbEdge); box-shadow: inset 0 0 0 1px var(--rbEdge), inset 0 0 calc(10 * var(--u)) rgba(0, 0, 0, .13); }
.tos-card.fv2.has-frame:where(:not(.k-enemy, .k-boss)) .tos-textbox::before { content: ''; position: absolute; inset: 0; background: var(--rbTex) 0 0 / calc(90 * var(--u)) auto; opacity: .09; mix-blend-mode: multiply; pointer-events: none; z-index: 0; }
.tos-card.fv2.has-frame:where(:not(.k-enemy, .k-boss)) .tos-textbox::after { content: ''; position: absolute; left: 50%; top: 50%; height: 80%; width: auto; max-width: 48%; aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--wm) center / contain no-repeat; opacity: .06; filter: grayscale(1) contrast(1.2); pointer-events: none; z-index: 0; }
.tos-card.fv2.has-frame:where(:not(.k-enemy, .k-boss)) .tos-textbox .tos-ability { position: relative; z-index: 1; background: transparent; border-bottom: calc(.8 * var(--u)) solid rgba(0, 0, 0, .16); }
.tos-card.fv2.has-frame:where(:not(.k-enemy, .k-boss)) .tos-textbox .tos-ability:last-child { border-bottom: none; }
/* the hover / zoom rules text: ≈ 9.6 reference px (about 30 % larger than before) */
.hover-preview .tos-card.fv2:not(.tos-face), .deck-hover-preview .tos-card.fv2:not(.tos-face), .select-hover-preview .tos-card.fv2:not(.tos-face), .modal-card-zoom .modal-tos-wrap .tos-card.fv2:not(.tos-face) { --tos-body-fs: calc(9.6 * var(--u)); --tos-fit-max: calc(9.6 * var(--u)); }
/* the talent glyph gutter: rows of at most 3, centred, the odds centred underneath (4 = 3 + 1, 5 = 3 + 2, 6 = 3 + 3); a fixed gutter so the text keeps one left edge */
.tos-card.fv2 { --tos-gutter-w: calc(3 * var(--tos-stone-sz) + 10px); }
.tos-card.fv2 .tos-stones { display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; max-width: calc(3 * var(--tos-stone-sz) + 2px); }
.tos-card.fv2 .tos-stones .tos-stone:last-child:nth-child(odd) { grid-column: auto; }
/* the footer: the class material with the gold trim; the class extras */
.tos-card.fv2.has-frame:where(:not(.k-enemy, .k-boss)) .tos-footer { position: relative; overflow: hidden; background: var(--mat) var(--matPos) / var(--matSize) repeat-x; border-top: 0; }
.tos-card.fv2.has-frame:where(:not(.k-enemy, .k-boss)) .tos-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: calc(2 * var(--u)); background: linear-gradient(90deg, #7a560e, #f0d27a, #b88a22, #f6e3a0, #7a560e); z-index: 1; }
.tos-card.fv2.has-frame:where(:not(.k-enemy, .k-boss)) .tos-footer::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: calc(4 * var(--u)); background: repeating-linear-gradient(90deg, #d9a53a 0 calc(1 * var(--u)), transparent calc(1 * var(--u)) calc(3 * var(--u))); opacity: .75; -webkit-mask: linear-gradient(transparent, #000); mask: linear-gradient(transparent, #000); z-index: 1; } /* the Champion fringe */
.tos-card.fv2.k-guardian .tos-footer::before { background: linear-gradient(90deg, #3a4a5c, #e6eef5, #7e93a8, #f2f6f9, #3a4a5c); }
.tos-card.fv2.k-guardian .tos-footer::after { left: 4%; right: 4%; top: calc(3.5 * var(--u)); bottom: auto; height: calc(3 * var(--u)); opacity: 1; -webkit-mask: none; mask: none; background: radial-gradient(circle at 42% 40%, #fff 0, #dfe8f0 calc(.35 * var(--u)), #8fa3b6 calc(.8 * var(--u)), #2a3a4c calc(1.2 * var(--u)), transparent calc(1.45 * var(--u))) 0 0 / calc(8 * var(--u)) calc(3 * var(--u)) repeat-x; } /* one line of small rivets under the trim */
.tos-card.fv2.k-runemage .tos-footer::before { background: linear-gradient(90deg, #2a1650, #b9a6e6, #6a3fb0, #d8ccf4, #2a1650); }
.tos-card.fv2.k-runemage .tos-footer::after { display: none; } /* no fringe */
.tos-card.fv2.k-adventurer .tos-footer::before { background: linear-gradient(90deg, #3a2612, #d8b070, #7a5530, #e8c88a, #3a2612); }
.tos-card.fv2.k-adventurer .tos-footer::after { top: calc(2.5 * var(--u)); bottom: auto; height: calc(4 * var(--u)); opacity: 1; -webkit-mask: none; mask: none; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2712%27%20height%3D%278%27%3E%3Ccircle%20cx%3D%271.6%27%20cy%3D%275.2%27%20r%3D%27.9%27%20fill%3D%27%231a0d04%27%20opacity%3D%27.85%27/%3E%3Ccircle%20cx%3D%2710.4%27%20cy%3D%272.8%27%20r%3D%27.9%27%20fill%3D%27%231a0d04%27%20opacity%3D%27.85%27/%3E%3Cpath%20d%3D%27M2%205.6%20L10%203.2%27%20stroke%3D%27%232a1608%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20opacity%3D%27.6%27/%3E%3Cpath%20d%3D%27M2%205%20L10%202.6%27%20stroke%3D%27%23f2dcaa%27%20stroke-width%3D%271.3%27%20stroke-linecap%3D%27round%27/%3E%3Cpath%20d%3D%27M3%204.4%20L9%202.6%27%20stroke%3D%27%23fff6dc%27%20stroke-width%3D%27.45%27%20stroke-linecap%3D%27round%27%20opacity%3D%27.8%27/%3E%3C/svg%3E") 0 0 / calc(12 * var(--u)) calc(8 * var(--u)) repeat-x; } /* the top stitch row */
.tos-card.fv2.is-traveler .tos-footer::before { height: calc(5 * var(--u)); top: 0; background: url("../assets/frames/traveler/traveler_filigree_band.png") 0 50% / auto 100% repeat-x; box-shadow: 0 0 calc(4 * var(--u)) rgba(63, 191, 138, .4); } /* the filigree band divider */
.tos-card.fv2.is-traveler .tos-footer::after { display: none; }
.tos-card.fv2.has-frame .tos-quality-class, .tos-card.fv2.has-frame .tos-credit { position: relative; z-index: 2; text-shadow: 0 1px 2px #000; }
/* ── the decor layer: corners (the top-left piece mirrored), the crests, the Traveler foil and stars ── */
.fv2 .fv2-decor { position: absolute; inset: 0; pointer-events: none; z-index: 12; overflow: visible; }
.fv2 .fv2-cn { position: absolute; width: calc(14 * var(--u)); height: calc(14 * var(--u)); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .65)); }
.fv2 .fv2-cn.tl { left: calc(-3 * var(--u)); top: calc(-3 * var(--u)); } .fv2 .fv2-cn.tr { right: calc(-3 * var(--u)); top: calc(-3 * var(--u)); transform: scaleX(-1); }
.fv2 .fv2-cn.bl { left: calc(-3 * var(--u)); bottom: calc(-3 * var(--u)); transform: scaleY(-1); } .fv2 .fv2-cn.br { right: calc(-3 * var(--u)); bottom: calc(-3 * var(--u)); transform: scale(-1); }
.fv2 .fv2-cn.brk { width: calc(26 * var(--u)); height: calc(30 * var(--u)); object-fit: contain; } /* Gold: the filigree brackets replace the class corners */
.fv2.k-adventurer .fv2-cn { width: calc(16 * var(--u)); height: calc(16 * var(--u)); } /* the brass book-corner sits flush in the rim corner */
.fv2.k-adventurer .fv2-cn.tl { left: 0; top: 0; } .fv2.k-adventurer .fv2-cn.tr { right: 0; top: 0; } .fv2.k-adventurer .fv2-cn.bl { left: 0; bottom: 0; } .fv2.k-adventurer .fv2-cn.br { right: 0; bottom: 0; }
.fv2.is-traveler .fv2-cn { width: calc(16 * var(--u)); height: calc(16 * var(--u)); filter: drop-shadow(0 0 calc(1.5 * var(--u)) rgba(154, 255, 208, .67)) drop-shadow(0 1px 1px #000); }
.fv2.is-traveler .fv2-cn.tl { left: calc(-1 * var(--u)); top: calc(-1 * var(--u)); } .fv2.is-traveler .fv2-cn.tr { right: calc(-1 * var(--u)); top: calc(-1 * var(--u)); } .fv2.is-traveler .fv2-cn.bl { left: calc(-1 * var(--u)); bottom: calc(-1 * var(--u)); } .fv2.is-traveler .fv2-cn.br { right: calc(-1 * var(--u)); bottom: calc(-1 * var(--u)); }
.fv2 .fv2-crest { position: absolute; left: 50%; transform: translateX(-50%); background: center bottom / contain no-repeat; }
.fv2 .fv2-elite-crest { top: calc(-19 * var(--u)); width: calc(26 * var(--u)); height: calc(23 * var(--u)); filter: drop-shadow(0 0 calc(2.5 * var(--u)) #a060ff) drop-shadow(0 1px 1px #000); }
.fv2 .fv2-tv-crest { top: calc(-22 * var(--u)); width: calc(38 * var(--u)); height: calc(29 * var(--u)); filter: drop-shadow(0 0 calc(3 * var(--u)) #9affd0) drop-shadow(0 1px 1px #000); animation: fv2-tvb 4s ease-in-out infinite; }
@keyframes fv2-tvb { 50% { filter: drop-shadow(0 0 calc(5 * var(--u)) #c9a6ff) drop-shadow(0 1px 1px #000); } }
.fv2 .fv2-foil { position: absolute; inset: 0; border-radius: inherit; mix-blend-mode: screen; background: linear-gradient(115deg, transparent 30%, rgba(63, 191, 138, .33) 42%, rgba(201, 166, 255, .33) 50%, rgba(63, 191, 138, .27) 58%, transparent 70%) 0 0 / 300% 100%; animation: fv2-fl 7s linear infinite; }
@keyframes fv2-fl { 0% { background-position: 150% 0; } 100% { background-position: -150% 0; } }
.fv2 .fv2-tvsp { position: absolute; width: calc(2 * var(--u)); height: calc(2 * var(--u)); border-radius: 50%; background: #fff; box-shadow: 0 0 calc(3 * var(--u)) #9affd0; opacity: 0; animation: fv2-tw 3.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes fv2-tw { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: .9; transform: scale(1); } }
/* the Traveler rim drifts; the quality pinstripe sits just inside it; the crest breaks the top edge */
.tos-card.fv2.is-traveler.has-frame { background: linear-gradient(135deg, rgba(255, 255, 255, .2) 0%, transparent 40%, rgba(255, 255, 255, .25) 50%, transparent 60%, rgba(0, 0, 0, .4) 100%), var(--rimTex) 0 0 / var(--rimTS);  box-shadow: 0 10px 30px rgba(0, 0, 0, .55), 0 0 calc(10 * var(--u)) rgba(63, 191, 138, .33), 0 0 calc(18 * var(--u)) rgba(138, 95, 208, .27); }
:where(.tos-card.fv2.is-traveler.has-frame) { animation: fv2-tvr 14s linear infinite; } /* zero specificity: a passive or state animation on the card (Blundering's wobble, the jolt) takes the element's animation over the rim drift */
@keyframes fv2-tvr { to { background-position: 0 0, calc(70 * var(--u)) calc(35 * var(--u)); } }
.tos-card.fv2.is-traveler.has-frame .tos-frame { box-shadow: inset 0 0 0 calc(1 * var(--u)) var(--ql), inset 0 0 0 calc(1.6 * var(--u)) rgba(0, 0, 0, .53); }
.tos-card.fv2.is-traveler .tos-fx::before, .tos-card.fv2.is-traveler .tos-fx::after, .tos-card.fv2.is-traveler .tos-crest { display: none; } /* the v0.15.104 Traveler overlay gives way */
.tos-card.fv2.is-elite .tos-fx::after { display: block; } /* the v0.15.103 elite pulse stays on enemies */
/* ── the talent fires (footer only, ≤ 1.5 s) ── */
.fv2 .fv2-fx { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 2; }
.fv2 .fv2-em { position: absolute; bottom: 2%; width: calc(2 * var(--u)); height: calc(2 * var(--u)); border-radius: 50%; background: #ffc24a; box-shadow: 0 0 calc(3 * var(--u)) #ff8a20; opacity: 0; }
.fv2.fv2-fire .fv2-em { animation: fv2-emb 1.1s ease-out forwards; animation-delay: var(--d); }
@keyframes fv2-emb { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) * var(--u))); } }
.fv2.fv2-fire.k-champion .tos-footer, .mini-card.fv2.fv2-fire.k-champion .fv2-fx { animation: fv2-cf .9s ease-out; } @keyframes fv2-cf { 25% { filter: brightness(1.5) saturate(1.2); } }
.fv2 .fv2-sweep { position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent); opacity: 0; mix-blend-mode: screen; }
.fv2.fv2-fire .fv2-sweep { animation: fv2-sw .9s ease-in-out forwards; } @keyframes fv2-sw { 0% { opacity: 1; left: -40%; } 100% { opacity: 1; left: 110%; } }
.fv2.fv2-fire.k-guardian .tos-footer { animation: fv2-gf .9s ease-out; } @keyframes fv2-gf { 30% { filter: brightness(1.6); } }
/* the Runemage groove: the dark inset, the bevelled lip, the flowing cyan filament, the five dim carved runes */
.fv2 .fv2-rch { position: absolute; left: 4%; right: 4%; top: calc(4 * var(--u)); height: calc(3.2 * var(--u)); border-radius: calc(2 * var(--u)); background: #07040e; box-shadow: inset 0 calc(.8 * var(--u)) calc(1 * var(--u)) #000, 0 calc(.6 * var(--u)) 0 rgba(185, 166, 230, .33), 0 calc(-.5 * var(--u)) 0 rgba(0, 0, 0, .53); overflow: visible; }
.fv2 .fv2-rch::before { content: ''; position: absolute; left: calc(1 * var(--u)); right: calc(1 * var(--u)); top: 50%; height: calc(1 * var(--u)); transform: translateY(-50%); border-radius: 1px; background: linear-gradient(90deg, #3fb6e0 0%, #bff6ff 20%, #5fd6ff 35%, #e8fdff 50%, #5fd6ff 65%, #bff6ff 80%, #3fb6e0 100%) 0 0 / 200% 100%; box-shadow: 0 0 calc(2 * var(--u)) #5fd6ff, 0 0 calc(5 * var(--u)) rgba(95, 214, 255, .53); animation: fv2-flow 6s linear infinite; }
@keyframes fv2-flow { to { background-position: -200% 0; } }
.fv2 .fv2-rch > i { position: absolute; top: 50%; width: calc(3.6 * var(--u)); height: calc(4.8 * var(--u)); transform: translate(-50%, -50%); color: #9fe9ff; opacity: .4; filter: drop-shadow(0 0 calc(1.5 * var(--u)) #5fd6ff); }
.fv2 .fv2-rch > i svg { width: 100%; height: 100%; display: block; }
.fv2 .fv2-rch > i::before { content: ''; position: absolute; inset: calc(-.6 * var(--u)) calc(-1.1 * var(--u)); background: #07040e; border-radius: 50%; z-index: -1; }
.fv2 .fv2-rrun { position: absolute; top: calc(-1.4 * var(--u)); height: calc(6 * var(--u)); width: 22%; left: -26%; background: radial-gradient(ellipse at center, #fff 0, rgba(191, 246, 255, .8) 25%, rgba(95, 214, 255, .33) 55%, transparent 72%); opacity: 0; mix-blend-mode: screen; }
.fv2.fv2-fire .fv2-rrun { animation: fv2-rr .75s cubic-bezier(.5, 0, .3, 1) forwards; } @keyframes fv2-rr { 0% { opacity: 1; left: -26%; } 100% { opacity: 1; left: 104%; } }
.fv2.fv2-fire .fv2-rch::before { animation: fv2-flow 6s linear infinite, fv2-chf 1.3s ease-out; } @keyframes fv2-chf { 15% { filter: brightness(2.2); box-shadow: 0 0 calc(4 * var(--u)) #bff6ff, 0 0 calc(10 * var(--u)) #5fd6ff; } }
.fv2.fv2-fire .fv2-rch > i { animation: fv2-rl 1.4s ease-out forwards; animation-delay: var(--d); }
@keyframes fv2-rl { 0% { opacity: .4; } 12% { opacity: 1; color: #fff; filter: drop-shadow(0 0 calc(3 * var(--u)) #bff6ff) drop-shadow(0 0 calc(6 * var(--u)) #5fd6ff); } 100% { opacity: .4; } }
.fv2 .fv2-rune2 { position: absolute; top: calc(1 * var(--u)); width: calc(6 * var(--u)); height: calc(8 * var(--u)); margin-left: calc(-3 * var(--u)); opacity: 0; color: #e8fdff; filter: drop-shadow(0 0 calc(2 * var(--u)) #5fd6ff) drop-shadow(0 0 calc(5 * var(--u)) #3fb6e0); }
.fv2 .fv2-rune2 svg { width: 100%; height: 100%; display: block; }
.fv2.fv2-fire .fv2-rune2 { animation: fv2-ru 1.5s cubic-bezier(.2, .7, .3, 1) forwards; animation-delay: var(--d); }
@keyframes fv2-ru { 0% { opacity: 0; transform: translateY(0) scale(.5); } 15% { opacity: 1; transform: translateY(calc(-4 * var(--u))) scale(1.15); } 60% { opacity: .95; transform: translateY(calc(-22 * var(--u))) scale(1) rotate(var(--r)); } 100% { opacity: 0; transform: translateY(calc(-40 * var(--u))) scale(.85) rotate(var(--r)); } }
.fv2.fv2-fire.k-runemage .tos-art, .fv2.fv2-fire.k-runemage .mini-portrait { animation: fv2-ra 1.2s ease-out; } @keyframes fv2-ra { 25% { filter: brightness(1.12) saturate(1.1) hue-rotate(-8deg); } }
/* the Adventurer strap: the bottom stitch row, the brass buckle, the treasure trail, the X, the glint, the compass spin */
.fv2 .fv2-stb { position: absolute; left: 0; right: 0; bottom: calc(1.5 * var(--u)); height: calc(4 * var(--u)); background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2712%27%20height%3D%278%27%3E%3Ccircle%20cx%3D%271.6%27%20cy%3D%275.2%27%20r%3D%27.9%27%20fill%3D%27%231a0d04%27%20opacity%3D%27.85%27/%3E%3Ccircle%20cx%3D%2710.4%27%20cy%3D%272.8%27%20r%3D%27.9%27%20fill%3D%27%231a0d04%27%20opacity%3D%27.85%27/%3E%3Cpath%20d%3D%27M2%205.6%20L10%203.2%27%20stroke%3D%27%232a1608%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20opacity%3D%27.6%27/%3E%3Cpath%20d%3D%27M2%205%20L10%202.6%27%20stroke%3D%27%23f2dcaa%27%20stroke-width%3D%271.3%27%20stroke-linecap%3D%27round%27/%3E%3Cpath%20d%3D%27M3%204.4%20L9%202.6%27%20stroke%3D%27%23fff6dc%27%20stroke-width%3D%27.45%27%20stroke-linecap%3D%27round%27%20opacity%3D%27.8%27/%3E%3C/svg%3E") 0 0 / calc(12 * var(--u)) calc(8 * var(--u)) repeat-x; }
.fv2 .fv2-buckle { position: absolute; left: 56%; top: 16%; width: calc(10 * var(--u)); height: 68%; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2040%2052%27%3E%3Cdefs%3E%3ClinearGradient%20id%3D%27b%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%271%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%23fff1b8%27/%3E%3Cstop%20offset%3D%27.35%27%20stop-color%3D%27%23d9a944%27/%3E%3Cstop%20offset%3D%27.65%27%20stop-color%3D%27%238a5a14%27/%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%23f0c86a%27/%3E%3C/linearGradient%3E%3ClinearGradient%20id%3D%27s%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%236a4524%27/%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%233a2410%27/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect%20x%3D%2712%27%20y%3D%274%27%20width%3D%2722%27%20height%3D%2744%27%20fill%3D%27url%28%23s%29%27%20stroke%3D%27%231c0e04%27%20stroke-width%3D%271%27/%3E%3Cpath%20d%3D%27M14%208%20v36%20M32%208%20v36%27%20stroke%3D%27%23e8d0a0%27%20stroke-width%3D%271%27%20stroke-dasharray%3D%272.4%201.6%27%20opacity%3D%27.8%27/%3E%3Crect%20x%3D%273%27%20y%3D%272%27%20width%3D%2718%27%20height%3D%2748%27%20rx%3D%275%27%20fill%3D%27none%27%20stroke%3D%27%232a1606%27%20stroke-width%3D%277.5%27%20opacity%3D%27.55%27%20transform%3D%27translate%281%201.5%29%27/%3E%3Crect%20x%3D%273%27%20y%3D%272%27%20width%3D%2718%27%20height%3D%2748%27%20rx%3D%275%27%20fill%3D%27none%27%20stroke%3D%27url%28%23b%29%27%20stroke-width%3D%275.5%27/%3E%3Crect%20x%3D%273%27%20y%3D%272%27%20width%3D%2718%27%20height%3D%2748%27%20rx%3D%275%27%20fill%3D%27none%27%20stroke%3D%27%23fff8d8%27%20stroke-width%3D%27.8%27%20opacity%3D%27.7%27%20transform%3D%27translate%28-.6%20-.6%29%27/%3E%3Crect%20x%3D%2710.3%27%20y%3D%274%27%20width%3D%273.4%27%20height%3D%2744%27%20rx%3D%271.4%27%20fill%3D%27url%28%23b%29%27%20stroke%3D%27%234a2c06%27%20stroke-width%3D%27.6%27/%3E%3Cpath%20d%3D%27M12%2026%20H29%27%20stroke%3D%27%232a1606%27%20stroke-width%3D%273.6%27%20stroke-linecap%3D%27round%27%20opacity%3D%27.5%27%20transform%3D%27translate%28.6%201%29%27/%3E%3Cpath%20d%3D%27M12%2026%20H29%27%20stroke%3D%27url%28%23b%29%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 1px 1px #000); }
.fv2.fv2-fire .fv2-buckle { animation: fv2-bk2 .7s ease-out .55s; } @keyframes fv2-bk2 { 35% { filter: drop-shadow(0 0 calc(4 * var(--u)) #ffd77a) brightness(1.35); } }
.fv2 .fv2-trail { position: absolute; left: 0; top: -230%; width: 100%; height: 220%; overflow: visible; z-index: 3; }
.fv2 .fv2-trail .tp { fill: none; stroke: #b8321e; stroke-width: 1.3; stroke-dasharray: 2.2 2; stroke-linecap: round; opacity: 0; }
.fv2 .fv2-trail .tm { fill: none; stroke: #fff; stroke-width: 3; opacity: 0; }
.fv2 .fv2-trail .tx { fill: none; stroke: #d23a22; stroke-width: 1.8; stroke-linecap: round; opacity: 0; transform-box: fill-box; transform-origin: center; }
.fv2 .fv2-trail .tg { fill: #fff3c4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.fv2.fv2-fire .fv2-trail .tp { stroke-dasharray: 200; stroke-dashoffset: 200; animation: fv2-tpa 1.6s ease-out forwards; } @keyframes fv2-tpa { 0% { opacity: 1; stroke-dashoffset: 200; } 55%, 90% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 0; } }
.fv2.fv2-fire .fv2-trail .tx { animation: fv2-txa 1.1s cubic-bezier(.3, 1.6, .5, 1) .78s forwards; } @keyframes fv2-txa { 0% { opacity: 0; transform: scale(2.4) rotate(-20deg); } 25% { opacity: 1; transform: scale(1) rotate(0); } 80% { opacity: 1; } 100% { opacity: 0; } }
.fv2.fv2-fire .fv2-trail .tg { animation: fv2-tga .7s ease-out .9s forwards; } @keyframes fv2-tga { 0% { opacity: 0; transform: scale(.2) rotate(0); } 30% { opacity: 1; transform: scale(1.3) rotate(45deg); } 100% { opacity: 0; transform: scale(.6) rotate(90deg); } }
.fv2.fv2-fire.k-adventurer .fv2-sigil { animation: fv2-cmp 1.2s cubic-bezier(.3, 1.4, .5, 1); } @keyframes fv2-cmp { 0% { transform: rotate(0); } 55% { transform: rotate(400deg); filter: drop-shadow(0 0 calc(3 * var(--u)) #ffd77a); } 100% { transform: rotate(360deg); } }
.fv2.fv2-fire.k-adventurer .tos-art, .fv2.fv2-fire.k-adventurer .mini-portrait { animation: fv2-aa 1.4s ease-out; } @keyframes fv2-aa { 30% { filter: sepia(.35) brightness(1.08); } }
/* the Traveler: the crest flares, light pours down, two sparks race the band, five stars spin up out of the footer */
.fv2 .fv2-tvbeam { position: absolute; left: 50%; top: -300%; width: 70%; height: 390%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 0, rgba(232, 255, 244, .87), rgba(154, 255, 208, .33) 30%, rgba(201, 166, 255, .13) 55%, transparent 72%); mix-blend-mode: screen; opacity: 0; }
.fv2.fv2-fire .fv2-tvbeam { animation: fv2-tb 1.4s ease-out; } @keyframes fv2-tb { 15% { opacity: 1; } 100% { opacity: 0; } }
.fv2.fv2-fire .fv2-tv-crest { animation: fv2-tcf 1.4s cubic-bezier(.3, 1.5, .5, 1); } @keyframes fv2-tcf { 20% { transform: translateX(-50%) scale(1.35); filter: drop-shadow(0 0 calc(8 * var(--u)) #fff) drop-shadow(0 0 calc(14 * var(--u)) #9affd0); } }
.fv2 .fv2-tvrun { position: absolute; top: calc(-3 * var(--u)); height: calc(6 * var(--u)); width: calc(10 * var(--u)); border-radius: 50%; background: radial-gradient(#fff, #9affd0 40%, transparent 70%); opacity: 0; }
.fv2.fv2-fire .fv2-tvrun { animation: fv2-trn .9s cubic-bezier(.5, 0, .3, 1) forwards; animation-delay: var(--d); } @keyframes fv2-trn { 0% { opacity: 1; left: var(--a); } 100% { opacity: 1; left: var(--b); } }
.fv2 .fv2-tvst { position: absolute; bottom: 20%; width: calc(5 * var(--u)); height: calc(5 * var(--u)); opacity: 0; background: radial-gradient(#fff 0 20%, transparent 22%), conic-gradient(from 45deg, transparent 0 10%, #fff 12%, transparent 14% 35%, #fff 37%, transparent 39% 60%, #fff 62%, transparent 64% 85%, #fff 87%, transparent 89%); filter: drop-shadow(0 0 calc(2 * var(--u)) #c9a6ff); }
.fv2.fv2-fire .fv2-tvst { animation: fv2-tst 1.5s ease-out forwards; animation-delay: var(--d); } @keyframes fv2-tst { 0% { opacity: 0; transform: translateY(0) scale(.3); } 20% { opacity: 1; transform: translateY(calc(-8 * var(--u))) scale(1.2) rotate(30deg); } 100% { opacity: 0; transform: translateY(calc(-45 * var(--u))) scale(.7) rotate(160deg); } }
.fv2.fv2-fire.is-traveler .tos-art, .fv2.fv2-fire.is-traveler .mini-portrait { animation: fv2-tva 1.4s ease-out; } @keyframes fv2-tva { 20% { filter: brightness(1.18) saturate(1.15); } }
/* #491 (Alex, Nov 5): the resist / weakness / coin icons sit directly on the rules box's top edge, in a dark band — never floating over the art */
.tos-card.fv2 .tos-art .tos-identity { bottom: 0; left: 0; right: 0; transform: none; justify-content: center; padding: 2px 0; background: linear-gradient(transparent, rgba(10, 8, 6, .75) 40%); }
.tos-card.fv2.tos-face .tos-art .tos-identity { bottom: 0; }
/* ArtFocus: the head lands below the plate at every size */
.tos-card.fv2 .tos-art > img.portrait, .tos-card.fv2.tos-face .tos-art > img.portrait { object-position: var(--tos-art-x, 50%) var(--tos-art-y, 16%); }
.mini-card.fv2 .mini-portrait { background-position: var(--tos-art-x, 50%) var(--tos-art-y, 16%); }

/* ══════════════ the combat mini (mini-card) ══════════════ */
/* the mini ELEMENT is written in px (3 px rim at combat size): --u is a container-query unit, which on the element itself resolves against the board, not the mini — its children resolve against the mini. .is-mini lifts the specificity over board.css's v1 frame rules (same count, loaded later) */
.mini-card.is-mini.fv2.has-frame { border: 3px solid transparent; background: linear-gradient(rgba(10, 8, 4, .9), rgba(10, 8, 4, .9)) padding-box, linear-gradient(135deg, rgba(255, 255, 255, .2) 0%, transparent 40%, rgba(255, 255, 255, .25) 50%, transparent 60%, rgba(0, 0, 0, .4) 100%) border-box, var(--rimTex) 0 0 / var(--rimTSm) border-box; box-shadow: inset 0 0 0 .6px rgba(0, 0, 0, .56), inset 0 0 0 1.2px rgba(255, 255, 255, .2); }
.mini-card.is-mini.fv2.has-frame:where(:not(.k-enemy, .k-boss)) .mini-shield-diag { background: var(--mat) var(--matPos) / var(--matSize) repeat-x; }
.mini-card.is-mini.fv2.has-frame:where(:not(.k-enemy, .k-boss)) .mini-stat-corner.atk, .mini-card.is-mini.fv2.has-frame:where(:not(.k-enemy, .k-boss)) .mini-stat-corner.sta { background: var(--mat) var(--matPos) / var(--matSize) repeat-x; }
.mini-card.fv2.has-frame .mini-stat-corner .stat-val { font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif; font-variant-numeric: lining-nums; }
.mini-card.is-mini.fv2:where(:not(.k-enemy, .k-boss)) .mini-info { right: auto; width: auto; max-width: 84%; min-width: 30%; border: 0; border-radius: 0; padding: 0 calc(7 * var(--u)) 0 calc(2 * var(--u)); gap: calc(2 * var(--u)); background: var(--plateMat) 0 30% / auto 400%; box-shadow: inset 0 calc(1 * var(--u)) 0 #e2b956, inset 0 calc(-1 * var(--u)) 0 #b88a22; filter: drop-shadow(0 1px 2px #000); }
.mini-card.fv2.k-champion .mini-info { clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%); padding-right: calc(12 * var(--u)); }
.mini-card.fv2.k-guardian .mini-info { border-radius: calc(1.5 * var(--u)); box-shadow: inset 0 0 0 calc(1 * var(--u)) #dfe8f0, inset 0 0 0 calc(2 * var(--u)) #3a4a5c; }
.mini-card.fv2.k-runemage .mini-info { border-radius: calc(4 * var(--u)); box-shadow: inset 0 0 0 calc(1 * var(--u)) #7a5fb0, 0 0 calc(4 * var(--u)) rgba(95, 214, 255, .4); }
.mini-card.fv2.k-adventurer .mini-info { clip-path: polygon(calc(4 * var(--u)) 0, 100% 0, 100% 100%, 0 100%, 0 calc(4 * var(--u))); box-shadow: inset 0 0 0 calc(2 * var(--u)) #e8d0a0; padding-left: calc(3.4 * var(--u)); }
.mini-card.fv2.is-traveler .mini-info { border-radius: calc(6 * var(--u)); clip-path: none; box-shadow: inset 0 0 0 calc(1 * var(--u)) #3fbf8a, 0 0 calc(5 * var(--u)) rgba(63, 191, 138, .53); }
.mini-card.is-mini.fv2:where(:not(.k-enemy, .k-boss)) .mini-name { width: auto; color: var(--plateInk); text-shadow: 0 calc(.6 * var(--u)) 0 var(--plateSh); text-overflow: clip; }
.mini-card.fv2 .fv2-sigil { flex: none; width: calc(12 * var(--u)); height: calc(12 * var(--u)); filter: drop-shadow(0 0 1px #000); }
.mini-card.fv2.k-adventurer .fv2-sigil { width: calc(8 * var(--u)); height: calc(8 * var(--u)); }
.mini-card.fv2.is-traveler .fv2-sigil { width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; box-shadow: 0 0 0 calc(.6 * var(--u)) rgba(207, 255, 232, .67); }
.mini-card.is-mini.fv2 .mini-cost { background: var(--dia) center / contain no-repeat; clip-path: none; border: 0; box-shadow: none; filter: drop-shadow(0 1px 1px #000); color: #fff; font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif; font-variant-numeric: lining-nums; font-weight: 700; width: calc(24 * var(--u)); padding: .12em 0 0; line-height: 1; box-sizing: border-box; text-shadow: 0 0 2px #000; }
/* the cost STATE colours outrank the v2 white numeral: red when the player cannot afford it (#395 T09.1), green when lowered, amber when raised (#469) */
.tos-card.fv2 .tos-cost.cost-reduced, .tos-card.fv2 .tos-icon-sq.cost-reduced { color: #9fe8a8; } .mini-card.is-mini.fv2 .mini-cost.cost-reduced { color: #9fd7a8; text-shadow: 0 0 4px rgba(90, 200, 120, .55); }
.mini-card.is-mini.fv2 .mini-cost.cost-raised { color: #f0a070; text-shadow: 0 0 4px rgba(220, 120, 60, .55); }
.tos-card.fv2 .tos-cost.unaffordable, .tos-card.fv2 .tos-icon-sq.unaffordable, .mini-card.is-mini.fv2 .mini-cost.unaffordable { color: #ff7d70; }
.mini-card.fv2 .fv2-decor { z-index: 14; }
.mini-card.fv2 .fv2-cn { width: calc(10 * var(--u)); height: calc(10 * var(--u)); }
.mini-card.fv2 .fv2-cn.brk { width: calc(17 * var(--u)); height: calc(19 * var(--u)); }
.mini-card.fv2.k-adventurer .fv2-cn { width: calc(11 * var(--u)); height: calc(11 * var(--u)); }
.mini-card.fv2.is-traveler .fv2-cn { width: calc(11 * var(--u)); height: calc(11 * var(--u)); }
.mini-card.fv2 .fv2-elite-crest { top: calc(-13.5 * var(--u)); width: calc(18 * var(--u)); height: calc(16 * var(--u)); }
.mini-card.fv2.is-elite { overflow: visible; } /* #581 D3 (Alex): the crest rises above the top edge (#536) but the minis clip overflow — it was never seen; an elite mini lets it out */
.mini-card.fv2.is-elite .mini-bg, .mini-card.fv2.is-elite .mini-portrait, .mini-card.fv2.is-elite .mini-shield { border-radius: inherit; }
.mini-card.fv2 .fv2-tv-crest { top: calc(-15 * var(--u)); width: calc(26 * var(--u)); height: calc(20 * var(--u)); }
.mini-card.fv2 .fv2-fx { top: auto; height: 30%; bottom: 0; }
.mini-card.is-mini.fv2.is-traveler.has-frame { box-shadow: inset 0 0 0 1px var(--ql), inset 0 0 0 1.6px rgba(0, 0, 0, .53), 0 0 10px rgba(63, 191, 138, .33); } @keyframes fv2-tvrm { to { background-position: 0 0, 0 0, 70px 35px; } } /* the mini's rim is its third background layer */
:where(.mini-card.is-mini.fv2.is-traveler.has-frame) { animation: fv2-tvrm 14s linear infinite; } /* zero specificity (see the full card) — vis175: Grenex's Blundering wobble had lost the element's animation to the drift */
/* the multiplayer owner stripe (board.css .mp-owned-N, one hue per seat on the mini's left edge) rides on the frame's box-shadow — the v1 kind rings had hidden it on framed minis */
.mini-card.is-mini.fv2.has-frame.mp-owned-0 { box-shadow: inset 3px 0 0 #74c0fc, inset 0 0 0 .6px rgba(0, 0, 0, .56), inset 0 0 0 1.2px rgba(255, 255, 255, .2); } .mini-card.is-mini.fv2.is-traveler.has-frame.mp-owned-0 { box-shadow: inset 3px 0 0 #74c0fc, inset 0 0 0 1px var(--ql), inset 0 0 0 1.6px rgba(0, 0, 0, .53), 0 0 10px rgba(63, 191, 138, .33); }
.mini-card.is-mini.fv2.has-frame.mp-owned-1 { box-shadow: inset 3px 0 0 #51cf66, inset 0 0 0 .6px rgba(0, 0, 0, .56), inset 0 0 0 1.2px rgba(255, 255, 255, .2); } .mini-card.is-mini.fv2.is-traveler.has-frame.mp-owned-1 { box-shadow: inset 3px 0 0 #51cf66, inset 0 0 0 1px var(--ql), inset 0 0 0 1.6px rgba(0, 0, 0, .53), 0 0 10px rgba(63, 191, 138, .33); }
.mini-card.is-mini.fv2.has-frame.mp-owned-2 { box-shadow: inset 3px 0 0 #ffd43b, inset 0 0 0 .6px rgba(0, 0, 0, .56), inset 0 0 0 1.2px rgba(255, 255, 255, .2); } .mini-card.is-mini.fv2.is-traveler.has-frame.mp-owned-2 { box-shadow: inset 3px 0 0 #ffd43b, inset 0 0 0 1px var(--ql), inset 0 0 0 1.6px rgba(0, 0, 0, .53), 0 0 10px rgba(63, 191, 138, .33); }
.mini-card.is-mini.fv2.has-frame.mp-owned-3 { box-shadow: inset 3px 0 0 #da77f2, inset 0 0 0 .6px rgba(0, 0, 0, .56), inset 0 0 0 1.2px rgba(255, 255, 255, .2); } .mini-card.is-mini.fv2.is-traveler.has-frame.mp-owned-3 { box-shadow: inset 3px 0 0 #da77f2, inset 0 0 0 1px var(--ql), inset 0 0 0 1.6px rgba(0, 0, 0, .53), 0 0 10px rgba(63, 191, 138, .33); }
.mini-card.fv2.is-traveler .mini-fx::before, .mini-card.fv2.is-traveler .mini-fx::after { display: none; }
.mini-card.fv2 .mini-shield::before { display: none; } /* the inner gold contour gives way to the material band */
.mini-card.fv2 .mini-shield::after { padding: 2px; }

@media (prefers-reduced-motion: reduce) {
  .fv2 .fv2-tv-crest, .fv2 .fv2-foil, .fv2 .fv2-tvsp, .fv2 .fv2-rch::before, .tos-card.fv2.is-traveler.has-frame, .mini-card.is-mini.fv2.is-traveler.has-frame { animation: none !important; }
  .fv2.fv2-fire * { animation: none !important; }
}
