/* Moment Cards (owner 11/6, card-moments.js): Killfeed v2 "Split Screen", Bounty Claimed / Wanted poster, Event Champion,
   Milestone. Sits inside the real .tc-card shell (cards.css finishes, tilt, grids). Everything scales with the card:
   .tc-inner is a size container and --u = 1 px of the 280 px-wide inner box the mockups were drawn at. */
.tcm .tc-inner { container-type: inline-size; grid-template-rows: auto auto auto auto auto 1fr auto; gap: 5px; --u: calc(100cqw / 280); }
.tcm .tc-top { font-size: calc(11 * var(--u)); position: relative; z-index: 3; }
.tcm .tc-foot, .tcm .tc-info { position: relative; z-index: 3; }
.tcm .tc-foot .tc-rar { font-size: calc(11 * var(--u)); }
.tcm .tc-val { font-size: calc(14 * var(--u)); letter-spacing: .04em; }
.tcm .tc-info { min-height: 0; font: 600 calc(12 * var(--u))/1.2 "Barlow Condensed", sans-serif; color: #a3abb7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcm .tc-info b { color: #fff; }
.tcm-fill { min-height: 0; }
.tcm-art { position: relative; z-index: 3; height: calc(186 * var(--u)); border-radius: calc(10 * var(--u)); overflow: hidden; border: 1px solid rgba(255,255,255,.1);
    background: #0c0d10; box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 6px 14px rgba(0,0,0,.45); }
.tcm-art img { display: block; }
.tcm-names { position: relative; z-index: 3; display: grid; gap: 2px; min-width: 0; }
.tcm-names b { font: 800 calc(21 * var(--u))/1 "Barlow Condensed", sans-serif; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.tcm-names span { font: 600 calc(14.5 * var(--u))/1.1 "Barlow Condensed", sans-serif; color: #9aa3b2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcm-names em { font-style: normal; font-weight: 800; color: #ff7676; }
.tcm-names em.ok { color: #7fe08f; }
/* stats: 3 or 6 cells */
.tcm-grid { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: calc(8 * var(--u)); overflow: hidden; background: rgba(9,10,13,.82); border: 1px solid rgba(255,255,255,.08); }
.tcm-grid span { display: grid; gap: 2px; padding: calc(4 * var(--u)) calc(8 * var(--u)); min-width: 0; }
.tcm-grid span:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.07); }
.tcm-grid span:not(:nth-child(3n+1)) { border-left: 1px solid rgba(255,255,255,.07); }
.tcm-grid em { font: 700 calc(8.5 * var(--u))/1 "Barlow Condensed", sans-serif; font-style: normal; letter-spacing: .17em; text-transform: uppercase; color: #8a929e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcm-grid b { font: 800 calc(15 * var(--u))/1 "Barlow Condensed", sans-serif; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcm-grid.n3 span { padding-top: calc(6 * var(--u)); padding-bottom: calc(6 * var(--u)); }
.tcm-grid.n3 b { font-size: calc(16 * var(--u)); }
.tcm-grid b.hot { color: #ff7676; } .tcm-grid b.good { color: #8ff0a4; }

/* ── Killfeed v3 · Split Screen: faces band on top, then a big map + gun (owner 11/6) ── */
.tcm-art { height: calc(204 * var(--u)); }
.tcm-art.k3 { height: calc(230 * var(--u)); }
.tcm-art.champ, .tcm-art.ms { height: calc(226 * var(--u)); }
.tcm-faces { position: absolute; left: 0; right: 0; top: 0; height: calc(84 * var(--u)); overflow: hidden; z-index: 2; border-bottom: 1px solid rgba(255,255,255,.14); }
.tcm-av { position: absolute; top: 0; bottom: 0; width: 60%; overflow: hidden; background: radial-gradient(80% 80% at 50% 30%, #4b5260, #2a2d33); }
.tcm-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.04); }
.tcm-av.k { left: 0; clip-path: polygon(0 0, 100% 0, 66% 100%, 0 100%); }
.tcm-av.v { right: 0; clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%); }
.tcm-map3 { position: absolute; left: 0; right: 0; bottom: 0; height: calc(146 * var(--u)); overflow: hidden; background: #15161a; }
.tcm-map3 img, .tcm-map3 svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcm-map3::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(180deg, transparent, rgba(7,8,10,.82) 55%, rgba(7,8,10,.95)); pointer-events: none; }
.tcm-gun3 { position: absolute; z-index: 3; left: 4%; width: 92%; bottom: 3px; height: calc(56 * var(--u)); object-fit: contain; object-position: 50% 100%;
    filter: drop-shadow(0 9px 7px rgba(0,0,0,.85)) drop-shadow(0 0 1px rgba(255,255,255,.5)) saturate(1.1) brightness(1.1); }
.tcm-wtag { position: absolute; z-index: 4; left: calc(7 * var(--u)); top: calc(91 * var(--u)); display: inline-flex; gap: 5px; }
.tcm-wtag span { height: calc(19 * var(--u)); display: inline-flex; align-items: center; padding: 0 calc(7 * var(--u)); border-radius: 4px; font: 800 calc(10 * var(--u))/1 "Barlow Condensed", sans-serif;
    letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(8,9,11,.84); border: 1px solid rgba(255,255,255,.22); }
.tcm-wtag span.hs { border-color: #ff4b4b; color: #ffd9d9; }
.k3 .tcm-nm { bottom: calc(5 * var(--u)); }
.k3 .tcm-ck { top: calc(14 * var(--u)); right: calc(10 * var(--u)); }
/* v3.1 (owner 11/6 "I want the image to be shown. Move the stats down a bit."): both pictures whole as squares, nothing on
   top of them; the map + gun under them; the CONFIRMED stamp on the map; the stats row down by the footer */
.tcm.kf3 .tc-inner { grid-template-rows: auto auto auto auto 1fr auto auto; gap: 4px; }
.kf3 .tcm-art.k3 { height: calc(244 * var(--u)); }
.kf3 .tcm-faces { height: calc(116 * var(--u)); border-bottom: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(104deg, color-mix(in srgb, var(--rc) 34%, #14161b) 0 50%, #2a0c10 50% 100%); }
.kf3 .tcm-av { top: calc(8 * var(--u)); bottom: auto; width: calc(100 * var(--u)); height: calc(100 * var(--u)); border-radius: calc(9 * var(--u)); clip-path: none;
    box-shadow: 0 6px 14px rgba(0,0,0,.6); }
.kf3 .tcm-av img { transform: none; object-position: 50% 50%; }
.kf3 .tcm-av.k { left: calc(18 * var(--u)); outline: 2px solid color-mix(in srgb, var(--rc) 80%, #fff); outline-offset: -2px; }
.kf3 .tcm-av.v { right: calc(18 * var(--u)); outline: 2px solid #ff4b4b; outline-offset: -2px; }
.kf3 .tcm-map3 { height: calc(128 * var(--u)); }
.kf3 .tcm-wtag { top: calc(123 * var(--u)); }
/* the CONFIRMED stamp sits beside the names (on the map it hid the shot's ✕) */
.kf3 .tcm-names { position: relative; padding-right: calc(92 * var(--u)); }
.kf3 .tcm-names .tcm-ck { top: 50%; right: calc(2 * var(--u)); transform: translateY(-50%) rotate(-8deg); font: 800 calc(11.5 * var(--u))/.95 "Barlow Condensed", sans-serif; letter-spacing: .16em; white-space: nowrap; overflow: visible; color: #ff3b3b; }
.kf3 .tc-info { margin-top: -2px; }
.tcm-av.v img { filter: grayscale(1) contrast(1.15) brightness(.8); }
.tcm-av.v::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(150,10,20,.15), rgba(150,10,20,.45)); mix-blend-mode: multiply; }
.tcm-seam { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; }
.tcm-nm { position: absolute; bottom: calc(6 * var(--u)); z-index: 4; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font: 800 calc(9 * var(--u))/1 "Barlow Condensed", sans-serif; letter-spacing: .2em; text-transform: uppercase; padding: 3px 6px; border-radius: 4px; background: rgba(8,9,11,.82); }
.tcm-nm.k { left: calc(7 * var(--u)); color: color-mix(in srgb, var(--rc) 75%, #fff); border: 1px solid color-mix(in srgb, var(--rc) 60%, transparent); }
.tcm-nm.v { right: calc(7 * var(--u)); color: #ff8a8a; border: 1px solid rgba(255,59,59,.6); }
/* CONFIRMED KILL / HEADSHOT stamp (stencil, worn) */
.tcm-ck { position: absolute; right: calc(12 * var(--u)); top: calc(70 * var(--u)); z-index: 6; display: grid; justify-items: center; padding: 3px 8px 2px; border: 2.5px solid #ff3b3b; border-radius: 4px;
    color: #ff3b3b; background: rgba(20,4,6,.55); font: 800 calc(13 * var(--u))/.95 "Barlow Condensed", sans-serif; letter-spacing: .16em; text-shadow: 0 0 8px rgba(255,40,40,.55);
    transform: rotate(-9deg); box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 0 14px rgba(255,40,40,.3);
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='50'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -1.4 1.65'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='50'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -1.4 1.65'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.tcm-ck small { font-size: .62em; letter-spacing: .3em; }
.tcm-nomap { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font: 800 calc(16 * var(--u))/1 "Barlow Condensed", sans-serif; color: #fff; }
/* the shot replays (bullet streak shooter → victim, then the hit ring) only in Inspect, where one card is on screen */
.tcm-trc line, .tcm-trc circle { fill: none; opacity: 0; }
.tc-insp .tcm-bullet { opacity: 1; stroke: #fff6d8; stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 4px #fff); stroke-dasharray: 46 4000; stroke-dashoffset: 46; animation: tcmRun 2.4s cubic-bezier(.3,.1,.2,1) infinite; }
@keyframes tcmRun { 0% { stroke-dashoffset: 46; opacity: 1; } 55% { stroke-dashoffset: calc(-1px * var(--l)); opacity: 1; } 56%, 100% { stroke-dashoffset: calc(-1px * var(--l)); opacity: 0; } }
.tc-insp .tcm-hit { stroke: #ff3b3b; stroke-width: 4; transform-box: fill-box; transform-origin: center; animation: tcmHit 2.4s ease-out infinite; }
@keyframes tcmHit { 0%, 54% { transform: scale(.4); opacity: 0; } 58% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tc-insp .tcm-bullet, .tc-insp .tcm-hit { animation: none; opacity: 0; } }

/* ── Bounty Claimed / Wanted poster ── */
.tcm-bp { position: absolute; inset: 0; padding: calc(9 * var(--u)) calc(10 * var(--u)) calc(8 * var(--u)); display: grid; grid-template-rows: auto 1fr auto auto; gap: calc(5 * var(--u)); color: #2a2117;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .25  0 0 0 0 .19  0 0 0 0 .1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
        radial-gradient(120% 90% at 50% 40%, #e8dcbc, #d3c194 70%, #b59f6c); box-shadow: inset 0 0 26px rgba(70,45,10,.55), inset 0 0 0 1px rgba(60,40,10,.4); }
.tcm-bp-h { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid currentColor; padding-bottom: 3px; gap: 6px; }
.tcm-bp-h b { font: 800 calc(28 * var(--u))/.9 "Barlow Condensed", sans-serif; letter-spacing: .12em; }
.tcm-bp-h small { font: 700 calc(10 * var(--u))/1 "Barlow Condensed", sans-serif; letter-spacing: .2em; text-transform: uppercase; opacity: .75; white-space: nowrap; }
.tcm-bp-mid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(7 * var(--u)); min-height: 0; }
.tcm-bp-photo, .tcm-bp-map { position: relative; border-radius: 3px; overflow: hidden; border: 2px solid rgba(42,33,23,.85); background: #2a241b; }
.tcm-bp-photo img, .tcm-bp-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcm-bp-photo img { object-position: 50% 20%; }
.tcm-bp-map img { filter: saturate(1.15) contrast(1.05); }
.tcm-bp-map small { position: absolute; left: 4px; bottom: 3px; z-index: 2; font: 800 calc(8.5 * var(--u))/1 "Barlow Condensed", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 2px #000; }
.tcm-bp-amt { display: flex; justify-content: space-between; align-items: center; padding-top: 3px; border-top: 1px solid rgba(42,33,23,.5); }
.tcm-bp-amt b { font: 800 calc(26 * var(--u))/1 "Barlow Condensed", sans-serif; letter-spacing: .02em; }
.tcm-bp-amt small { font: 800 calc(10 * var(--u))/1.05 "Barlow Condensed", sans-serif; letter-spacing: .18em; text-transform: uppercase; text-align: right; opacity: .8; }
.tcm-bp-name { font: 800 calc(16 * var(--u))/1 "Barlow Condensed", sans-serif; letter-spacing: .06em; text-transform: uppercase; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcm-stamp { position: absolute; left: 50%; top: 44%; z-index: 5; transform: translate(-50%, -50%) rotate(-11deg); padding: 4px 14px 3px; border: 3.5px solid #d0161f; border-radius: 5px; color: #d0161f;
    font: 800 calc(30 * var(--u))/1 "Barlow Condensed", sans-serif; letter-spacing: .16em; background: rgba(208,22,31,.07); box-shadow: inset 0 0 0 2px rgba(208,22,31,.3), 0 0 0 1px rgba(0,0,0,.25); opacity: .95;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='60'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -1.5 1.7'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='60'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -1.5 1.7'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
/* Legendary: charcoal + gold ink · Mythic: black + prismatic foil ink */
.tcm-bp.dark { color: #e8c46a; background: radial-gradient(120% 90% at 50% 35%, #2a2723, #151412 75%); box-shadow: inset 0 0 0 1px rgba(232,196,106,.45), inset 0 0 22px rgba(0,0,0,.8); }
.tcm-bp.dark .tcm-bp-photo, .tcm-bp.dark .tcm-bp-map { border-color: rgba(232,196,106,.7); }
.tcm-bp.dark .tcm-bp-amt { border-top-color: rgba(232,196,106,.4); }
.tcm-bp.dark .tcm-stamp, .tcm-bp.prism .tcm-stamp { color: #ff3b3b; border-color: #ff3b3b; text-shadow: 0 0 8px rgba(255,40,40,.5); }
.tcm-bp.prism { color: #fff; background: radial-gradient(120% 90% at 50% 35%, #15161a, #060608 75%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 0 0 22px rgba(0,0,0,.9); }
.tcm-bp.prism .tcm-bp-h b, .tcm-bp.prism .tcm-bp-amt b, .tcm-bp.prism .tcm-bp-name { background: linear-gradient(100deg, #ff7ad9, #ffd36b 22%, #7dffb8 44%, #6fd0ff 66%, #ff7ad9 88%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tcm-bp.prism .tcm-bp-photo, .tcm-bp.prism .tcm-bp-map { border-color: rgba(255,255,255,.55); }
.tcm-bp.prism .tcm-bp-amt { border-top-color: rgba(255,255,255,.3); }
/* Wanted: the stars where "Bounty Board" sits */
.tcm-stars { display: inline-flex; gap: 1px; font-size: calc(15 * var(--u)); line-height: 1; }
.tcm-stars i { font-style: normal; color: rgba(42,33,23,.28); }
.tcm-stars i.on { color: #d0161f; text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.tcm-bp.dark .tcm-stars i, .tcm-bp.prism .tcm-stars i { color: rgba(255,255,255,.18); }
.tcm-bp.dark .tcm-stars i.on { color: #e8c46a; } .tcm-bp.prism .tcm-stars i.on { color: #ff7ad9; text-shadow: 0 0 6px rgba(255,122,217,.6); }

/* ── Event Champion + Milestone ── */
.tcm-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcm-art.champ::after, .tcm-art.ms::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,11,.3), transparent 30%, transparent 60%, rgba(8,9,11,.85)); pointer-events: none; }
.tcm-face { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 35%, color-mix(in srgb, var(--rc) 40%, #2a2d33), #0c0d10 80%); }
.tcm-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.tcm-evtag { position: absolute; top: calc(8 * var(--u)); right: calc(8 * var(--u)); z-index: 3; max-width: 70%; height: calc(22 * var(--u)); display: inline-flex; align-items: center; gap: 6px; padding: 0 calc(9 * var(--u)); border-radius: 5px;
    font: 800 calc(11 * var(--u))/1 "Barlow Condensed", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(8,9,11,.82); border: 1px solid var(--ec, var(--rc)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcm-evtag i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ec, var(--rc)); box-shadow: 0 0 8px var(--ec, var(--rc)); }
.tcm-plate { position: absolute; left: calc(10 * var(--u)); bottom: calc(10 * var(--u)); z-index: 3; display: grid; justify-items: center; padding: calc(7 * var(--u)) calc(13 * var(--u)) calc(6 * var(--u)); border-radius: 7px; color: #2b1d02;
    background: linear-gradient(160deg, #fff4c4, #f0c75a 28%, #b8860b 55%, #f6dd8a 78%, #9c6d08); box-shadow: 0 8px 18px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.8), inset 0 -2px 3px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.5); }
.tcm-plate b { font: 800 calc(30 * var(--u))/.9 "Barlow Condensed", sans-serif; letter-spacing: .02em; text-shadow: 0 1px 0 rgba(255,255,255,.55); }
.tcm-plate small { font: 800 calc(9.5 * var(--u))/1 "Barlow Condensed", sans-serif; letter-spacing: .24em; text-transform: uppercase; }
.tcm-plate.silver { color: #1d2126; background: linear-gradient(160deg, #ffffff, #d7dde4 28%, #8d96a1 55%, #e9edf1 78%, #707985); }
.tcm-plate.bronze { color: #2a1406; background: linear-gradient(160deg, #ffe0c2, #d9925a 28%, #8a4b1f 55%, #e6a77a 78%, #6e3a15); }
.tcm-plate.prism { color: #fff; background: linear-gradient(160deg, #17181d, #0b0b0e); box-shadow: 0 8px 18px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(255,255,255,.55), 0 0 18px rgba(255,120,220,.35); }
.tcm-plate.prism b, .tcm-plate.prism small { background: linear-gradient(100deg, #ff7ad9, #ffd36b 25%, #7dffb8 50%, #6fd0ff 75%, #ff7ad9); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
/* Champion: the faction flag on its colour, or the winner's picture; the event zone as a framed inset */
.tcm-flag { position: absolute; inset: 0; display: grid; place-items: center;
    background: radial-gradient(70% 60% at 50% 40%, color-mix(in srgb, var(--fc) 55%, #1a1c20), #0c0d10 85%), repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 9px); }
.tcm-flag img { width: 82%; height: 74%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0,0,0,.7)); transform: rotate(-4deg); }
.tcm-flag em { position: absolute; left: calc(10 * var(--u)); top: calc(8 * var(--u)); font: 800 calc(15 * var(--u))/1 "Barlow Condensed", sans-serif; font-style: normal; letter-spacing: .1em; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.8); }
.tcm-inset { position: absolute; right: calc(8 * var(--u)); bottom: calc(8 * var(--u)); z-index: 3; width: 44%; aspect-ratio: 640 / 300; border-radius: calc(6 * var(--u)); overflow: hidden;
    border: 2px solid var(--ec, var(--rc)); box-shadow: 0 6px 14px rgba(0,0,0,.7); background: #15161a; }
.tcm-inset img { width: 100%; height: 100%; object-fit: cover; }
.tcm-big.crown { gap: 3px; }
.tcm-big.crown b { font-size: calc(30 * var(--u)); line-height: .95; text-transform: uppercase; max-width: calc(250 * var(--u)); }
.tcm-big.crown small { letter-spacing: .2em; }
.tcm-big { position: absolute; left: calc(10 * var(--u)); bottom: calc(8 * var(--u)); z-index: 3; display: grid; line-height: .85; text-shadow: 0 3px 12px rgba(0,0,0,.8); }
.tcm-big b { font: 800 calc(58 * var(--u))/.85 "Barlow Condensed", sans-serif; color: #fff; letter-spacing: -.01em;
    background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--rc) 55%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 8px rgba(0,0,0,.7)); }
.tcm-big small { font: 800 calc(12 * var(--u))/1 "Barlow Condensed", sans-serif; letter-spacing: .26em; text-transform: uppercase; color: color-mix(in srgb, var(--rc) 60%, #fff); }

/* grids: still + flat like every other card (cards.css rules), no stamp mask cost */
.tc-grid .tcm .tcm-ck, .tc-tgrid .tcm .tcm-ck { -webkit-mask-image: none; mask-image: none; }

/* ── Legendary Moment Cards: their own polished-gold champion frame (not Black Diamond), black enamel inside ── */
.tc-card.tcm.f-tcmleg .tc-inner { border: 5px solid transparent !important;
    background: radial-gradient(120% 80% at 50% 0%, rgba(228,174,57,.16), transparent 60%) padding-box, linear-gradient(180deg, #17140e, #0b0a08) padding-box,
        linear-gradient(135deg, #fff3c8, #e9bb4f 18%, #8a5c0c 38%, #f7dc8a 52%, #a8761a 70%, #ffe9a6 86%, #6d4706) border-box !important;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.65), inset 0 0 0 2.5px rgba(255,226,150,.35), 0 0 22px rgba(228,174,57,.28) !important; }
.tc-card.tcm.f-tcmleg .tc-edge { background: linear-gradient(135deg, #ffe7a8, #c08a24 35%, #5a3b06 70%, #e9c56a) !important; }
.tc-card.tcm.f-tcmleg .tc-shine { background: linear-gradient(115deg, transparent 38%, rgba(255,235,170,.18) 48%, transparent 58%) !important; }
.tc-card.tcm.f-tcmleg .tc-top span, .tc-card.tcm.f-tcmleg .tc-rar { color: #f3d27a; }

/* ── My Cards: the Moment Cards explainer (card-moments.js infoHtml). Graphite + a gold hairline, never purple. ── */
.tcm-info { position: relative; margin: 0 0 18px; padding: 16px 18px 18px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.08);
    background: radial-gradient(120% 140% at 0% 0%, rgba(228,174,57,.10), transparent 45%), linear-gradient(180deg, #17191d, #101114);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 14px 30px rgba(0,0,0,.35); font-family: "Barlow Condensed", system-ui, sans-serif; }
.tcm-info::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(228,174,57,.55), transparent); }
.tcm-info-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.tcm-info-h em { display: block; font: 800 12px/1 "Barlow Condensed", sans-serif; font-style: normal; letter-spacing: .26em; text-transform: uppercase; color: #e4ae39; }
.tcm-info-h b { display: block; margin-top: 5px; font: 800 26px/1 "Barlow Condensed", sans-serif; color: #fff; letter-spacing: .01em; }
.tcm-info-h p { margin: 6px 0 0; max-width: 720px; font: 500 15px/1.3 "Barlow Condensed", sans-serif; color: #a9b0ba; }
.tcm-info-btn { flex: none; height: 36px; padding: 0 16px !important; border-radius: 999px; border: 1px solid rgba(228,174,57,.45); background: rgba(228,174,57,.08); color: #f3d38a;
    font: 800 13px/1 "Barlow Condensed", sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.tcm-info-btn:hover { background: rgba(228,174,57,.16); }
.tcm-info-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tcm-info-tile { display: grid; grid-template-rows: auto 1fr; gap: 10px; min-width: 0; }
.tcm-info-card { width: min(100%, 150px); justify-self: center; }
.tcm-info-card .tc-card { width: 100%; }
.tcm-info-txt { display: grid; align-content: start; gap: 4px; text-align: center; }
.tcm-info-txt b { font: 800 16px/1 "Barlow Condensed", sans-serif; color: #fff; letter-spacing: .03em; }
.tcm-info-txt span { font: 500 13.5px/1.25 "Barlow Condensed", sans-serif; color: #a3abb7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tcm-info-txt small { display: none; font: 600 12.5px/1.3 "Barlow Condensed", sans-serif; color: #d6c08a; text-align: left; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
.tcm-info.open .tcm-info-txt span { display: block; -webkit-line-clamp: unset; }
.tcm-info.open .tcm-info-txt small { display: block; }
@media (max-width: 1100px) { .tcm-info-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .tcm-info { padding: 14px 12px 14px; border-radius: 14px; }
    .tcm-info-h { flex-direction: column; align-items: stretch; gap: 10px; }
    .tcm-info-h b { font-size: 22px; }
    .tcm-info-h p { font-size: 14px; }
    /* phones: a swipeable row of the examples */
    .tcm-info-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -12px; padding: 2px 12px 6px; scrollbar-width: none; }
    .tcm-info-row::-webkit-scrollbar { display: none; }
    .tcm-info-tile { flex: 0 0 62%; scroll-snap-align: start; }
    .tcm-info-card { width: 132px; }
    .tcm-info-row { scroll-behavior: smooth; }
    .tcm-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
    .tcm-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.2); transition: width .25s ease, background .25s ease; }
    .tcm-dots i.on { width: 18px; border-radius: 3px; background: linear-gradient(90deg, #f3d27a, #e4ae39); }
}
.tcm-dots { display: none; } @media (max-width: 640px) { .tcm-dots { display: flex; } }

/* ── Bounties page: Wanted stars (app.js btyStars) ── */
.bty-stars { display: flex; align-items: center; justify-content: center; gap: 2px; margin: 4px 0 2px; font-size: 20px; line-height: 1; }
.bty-stars i { font-style: normal; color: rgba(255,255,255,.16); }
.bty-stars i.on { color: #ffcf3a; text-shadow: 0 0 10px rgba(255,190,40,.55); }
.bty-stars em { margin-left: 8px; font: 800 12px/1 "Barlow Condensed", sans-serif; font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: #ff8a6a; }
.bty-stars.mini { display: inline-flex; margin: 0 0 0 6px; font-size: 13px; vertical-align: 1px; }

/* ── Personal Christmas card = the Advent grand prize (kind "xmas"). v4 (11/29): full-bleed picture, lights around the whole
   border, red satin ribbon + real gold bow on the corner, big gold name (no seal), under the Christmas finish (.f-xmas.xone) ── */
.tcm.xo .tc-top { display: none; }
.tcm.xo .tcm-fill { display: none; }
.xo-full { position: absolute; inset: 0; z-index: 1; overflow: hidden; border-radius: inherit; }
.xo-face { position: absolute; inset: 0; }
.xo-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.xo-shade { position: absolute; inset: 0; background: radial-gradient(90% 60% at 50% 35%, transparent 40%, rgba(4,5,8,.55)), linear-gradient(180deg, rgba(4,5,8,.35), transparent 22%, transparent 52%, rgba(4,5,8,.92) 82%); }
/* the gift ribbon wrapped round the top-left corner, with the real gold bow on it */
.xo-ribbon { position: absolute; left: 0; top: 0; width: 46%; height: 46%; z-index: 3; pointer-events: none; overflow: hidden; }
.xo-band { position: absolute; left: -30%; top: 22%; width: 140%; height: 15%; transform: rotate(-45deg); transform-origin: 50% 50%;
    background: linear-gradient(180deg, #e9c46a 0 6%, #7a0a12 7%, #c5121f 30%, #ff4a4a 46%, #c5121f 62%, #6e0910 92%, #e9c46a 93%); box-shadow: 0 4px 10px rgba(0,0,0,.6); }
.xo-bow { position: absolute; left: 4%; top: 6%; width: 74%; aspect-ratio: 360 / 121; transform: rotate(-45deg); background: url("/assets/xmas/bow.webp?v=1") center / contain no-repeat; filter: drop-shadow(0 4px 6px rgba(0,0,0,.7)); }
.xo-bottom { position: absolute; left: 0; right: 0; bottom: calc(46 * var(--u)); z-index: 3; display: grid; justify-items: center; gap: calc(2 * var(--u)); text-align: center; padding: 0 calc(16 * var(--u)); }
.xo-merry { font: 800 calc(12 * var(--u))/1 "Barlow Condensed", sans-serif; letter-spacing: .34em; margin-right: -.34em; text-transform: uppercase; color: #f0cd7c; text-shadow: 0 2px 6px rgba(0,0,0,.9); }
.xo-name { font: 800 calc(46 * var(--u))/.95 "Barlow Condensed", sans-serif; letter-spacing: .02em; text-transform: uppercase; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    background: linear-gradient(180deg, #fffaf0 0%, #f6dc93 38%, #c8952e 72%, #f3d98c 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 3px 2px rgba(0,0,0,.85)) drop-shadow(0 0 calc(14 * var(--u)) rgba(255,200,110,.35)); }
.xo-stats { display: flex; gap: calc(12 * var(--u)); font: 600 calc(12.5 * var(--u))/1 "Barlow Condensed", sans-serif; color: #e8dcc0; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 2px 6px rgba(0,0,0,.9); }
.xo-stats b { font-weight: 800; color: #fff; }
/* (no 1/1 seal: owner 11/29 "Looks like the season pass circle". "1 of 1" stays in the foot line) */
/* Christmas lights strung around the whole border, chasing */
.xo-lights { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.xo-lights::before { content: ""; position: absolute; inset: 1.6% 1.8%; border-radius: calc(12 * var(--u)); border: calc(1.2 * var(--u)) solid rgba(10,18,12,.9); }
.xo-lights i { position: absolute; width: calc(8 * var(--u)); height: calc(12 * var(--u)); margin: calc(-2 * var(--u)) 0 0 calc(-4 * var(--u)); transform: rotate(var(--r)); transform-origin: 50% 0;
    border-radius: 45% 45% 50% 50% / 35% 35% 65% 65%; background: radial-gradient(circle at 40% 35%, #fff 0 18%, var(--bc) 50%, color-mix(in srgb, var(--bc) 55%, #000));
    box-shadow: 0 0 calc(9 * var(--u)) calc(2 * var(--u)) color-mix(in srgb, var(--bc) 75%, transparent); }
.xo-lights i:nth-child(5n+1) { --bc: #ff3b30; } .xo-lights i:nth-child(5n+2) { --bc: #ffb21e; } .xo-lights i:nth-child(5n+3) { --bc: #2bd46a; } .xo-lights i:nth-child(5n+4) { --bc: #3a8bff; } .xo-lights i:nth-child(5n) { --bc: #fff0cf; }
.xo-full.live .xo-lights i { animation: xoChase 1.8s steps(1, end) infinite; animation-delay: calc(var(--i) * -.12s); }
@keyframes xoChase { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.tcm.xo .tc-foot { position: absolute; left: calc(14 * var(--u)); right: calc(14 * var(--u)); bottom: calc(14 * var(--u)); z-index: 6; border-top: 0; }
.tcm.xo .tc-foot .tc-rar { color: #ffe6c0; }
/* the 1 of 1: the Christmas finish, louder */
.f-xmas.xone .tc-inner, .f-xmas.xone:hover .tc-inner { border-width: 8px; animation-duration: 2.8s;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), inset 0 0 22px rgba(0,0,0,.85), 0 0 0 1px rgba(255,240,200,.7), 0 0 26px rgba(255,80,80,.55), 0 0 54px rgba(40,210,110,.4), 0 0 90px rgba(255,210,90,.25); }
/* on a face the foil + bokeh would read as stamps: keep them to the edges and the bottom, the face stays clean */
.f-xmas.xone .tc-shine { display: none; }
.f-xmas.xone .tc-inner > i.xs-edge { opacity: .45; -webkit-mask: linear-gradient(180deg, transparent 62%, #000 84%); mask: linear-gradient(180deg, transparent 62%, #000 84%); }
.f-xmas.xone .tc-inner > i.xs-sheen { opacity: .7; -webkit-mask: linear-gradient(90deg, #000, transparent 14%, transparent 86%, #000); mask: linear-gradient(90deg, #000, transparent 14%, transparent 86%, #000); }
.f-xmas.xone .tc-glitter { opacity: .35; -webkit-mask: linear-gradient(180deg, transparent 60%, #000 85%); mask: linear-gradient(180deg, transparent 60%, #000 85%); }
.f-xmas.xone .tc-inner > i.xs-snow::before { opacity: .75; }
@media (prefers-reduced-motion: reduce) { .xo-full .xo-lights i { animation: none !important; } }