@font-face{font-family:'Mr Dafoe';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/mrdafoe-400.woff2) format('woff2')}
@font-face{font-family:'Damion';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/damion-400.woff2) format('woff2')}
/* Numbered cards and the big reveal. Every class here starts ch-. Each finish is the same .fc with different paint,
   so a run of 299 costs no image files, and a new finish costs a few lines. --f is the finish's own color. */
.ch-four{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;width:100%;height:100%;min-height:0}
.ch-four img,.ch-four svg{width:100%;height:100%;min-height:0;object-fit:contain;max-width:none;max-height:none}

.ch-refry{--f:#d7dde3}
.ch-grease{--f:#d4a63c}
.ch-fried{--f:#ff7a1a}
.ch-purple{--f:#b65cff}
.ch-burst{--f:#ffd21f}
.ch-blue{--f:#3f9dff}
.ch-lust{--f:#ff2a2a}
.ch-orange{--f:#ff8000}
.ch-gold{--f:#e5cc80}
.ch-black{--f:#f7f7f5}
.ch-nine{--f:#c08bff}
.ch-green{--f:#35e06a}
.ch-platinum{--f:#dff1ff}
.ch-officer{--f:#f05a12}
.ch-super{--f:#ff4fd8}
.ch-quad{--f:#fff}

.fc.ch{--r:var(--f);box-shadow:inset 0 0 0 3px var(--f),0 0 16px -3px var(--f)}
.fc.ch .fc-top{color:var(--f)}
.fc.ch .fc-stat b.ch-serial{color:var(--f);font-size:14cqw}
.ch-fx{position:absolute;inset:0;pointer-events:none}
/* An autograph is the name in blue Sharpie, with a white edge so it reads on any art. Silver on the Black finish. */
.ch-sign{position:absolute;left:3%;right:3%;bottom:1%;width:94%;height:auto;overflow:visible;pointer-events:none;transform:rotate(-6deg)}
.ch-sign text{font-size:50px;fill:#0a1fd8;stroke:#fff;stroke-width:7px;stroke-linejoin:round;paint-order:stroke fill}
.ch-sign use{fill:#0a1fd8;stroke:#fff;stroke-width:4px;paint-order:stroke fill}
.ch-dafoe text{font-family:'Mr Dafoe',cursive}
.ch-damion text{font-family:'Damion',cursive;font-size:44px}
.ch-black .ch-sign text,.ch-black .ch-sign use{fill:#e6ecf2;stroke:#000}
.ch-signs{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;align-items:end;pointer-events:none}
.ch-signs .ch-sign{position:static;width:100%}
/* A signature someone uploaded. The picture is only the shape of the ink: the finish picks the pen and the edge, the
   same as for a written name, so every signature on one finish is the same Sharpie. */
.ch-ink{display:block;aspect-ratio:200/64;transform:rotate(var(--tilt,-6deg));filter:drop-shadow(0 0 .5px var(--halo,#fff)) drop-shadow(0 0 1px var(--halo,#fff)) drop-shadow(0 0 1px var(--halo,#fff))}
.ch-ink i{display:block;width:100%;height:100%;background:var(--ink,#0a1fd8);-webkit-mask:var(--auto) 50% 60%/contain no-repeat;mask:var(--auto) 50% 60%/contain no-repeat}
.ch-black{--ink:#e6ecf2;--halo:#000}
.ch-ruby,.ch-sapphire,.ch-emerald,.ch-opal,.ch-diamond,.ch-blackdiamond{--ink:#f1d27a;--halo:#000}
.ch-ruby .ch-sign :is(text,use),.ch-sapphire .ch-sign :is(text,use),.ch-emerald .ch-sign :is(text,use),.ch-opal .ch-sign :is(text,use),.ch-diamond .ch-sign :is(text,use),.ch-blackdiamond .ch-sign :is(text,use){fill:var(--ink);stroke:var(--halo)}

/* Refryer /299: plain silver shine */
.ch-refry .ch-fx{background:linear-gradient(115deg,#fff0 var(--x),#ffffff85 calc(var(--x) + 9%),#fff0 calc(var(--x) + 22%));mix-blend-mode:screen}
.ch-refry .fc-art{filter:saturate(.75) brightness(1.08)}
/* Grease Stain /199: exactly what it says */
.ch-grease .ch-fx{background:radial-gradient(circle at var(--x) var(--y),#b98a2a99 0 13%,#b98a2a44 22%,#0000 34%),radial-gradient(circle at calc(100% - var(--y)) calc(100% - var(--x)),#b98a2a77 0 9%,#b98a2a33 16%,#0000 25%),radial-gradient(circle at var(--y) 86%,#b98a2a66 0 6%,#0000 13%);mix-blend-mode:multiply}
/* Deep Fried /99: the Deep Fry ability, baked in */
.ch-fried .fc-art img,.ch-fried .fc-art svg{filter:contrast(1.7) saturate(2.7) brightness(1.12)}
.ch-fried .ch-fx{background:radial-gradient(circle at 50% 50%,#0000 42%,#ff4d0088 100%);mix-blend-mode:hard-light}
/* Purple /75 and Blue /50: the parse colors, as sunbursts */
.ch-purple .fc-art{background:repeating-conic-gradient(from var(--a) at var(--x) var(--y),#a335ee 0 11deg,#3d1466 11deg 22deg)}
.ch-blue .fc-art{background:repeating-conic-gradient(from var(--a) at var(--x) var(--y),#2b8cff 0 11deg,#0b2d66 11deg 22deg)}
.ch-purple .ch-fx,.ch-blue .ch-fx{background:linear-gradient(115deg,#fff0 25%,#ffffff66 45%,#fff0 62%);mix-blend-mode:overlay}
/* Burst Foil /69: the one from the Discord */
.ch-burst .ch-fx{background:repeating-conic-gradient(from var(--a) at var(--x) var(--y),#ff2d55 0 5deg,#ffd21f 5deg 10deg,#35e06a 10deg 15deg,#2b8cff 15deg 20deg,#e268a8 20deg 25deg);mix-blend-mode:color-dodge;opacity:.5}
.fc.ch-burst{box-shadow:inset 0 0 0 3px var(--f),0 0 20px -2px #ff2d55}
/* Bloodlust /29: World 29, with a pulse */
.ch-lust .fc-art{background:repeating-conic-gradient(from var(--a) at 50% 58%,#ff2a2a 0 11deg,#4a0606 11deg 22deg)}
.fc.ch-lust{animation:ch-lust .94s ease-in-out infinite}
@keyframes ch-lust{50%{box-shadow:inset 0 0 0 3px #fff,0 0 26px 2px #ff2a2a}}
/* Orange /25: on fire */
.ch-orange .ch-fx{background:url(/img/flames.svg) 0 100%/auto 46% repeat-x}
.ch-orange .fc-art{background:repeating-conic-gradient(from 6deg at 50% 58%,#ff8000 0 11deg,#7a3300 11deg 22deg)}
/* Gold /10 and Black /10 */
.ch-gold .fc-art{background:repeating-conic-gradient(from var(--a) at var(--x) var(--y),#e5cc80 0 9deg,#8a6a1c 9deg 18deg)}
.ch-gold .ch-fx{background:linear-gradient(115deg,#fff0 20%,#fff6c9b3 42%,#fff0 60%);mix-blend-mode:overlay}
.ch-gold .fc-name{color:#f5e2a0}
.fc.ch-black{background:#000}
.ch-black .fc-art{background:#000}
.ch-black .fc-art img,.ch-black .fc-art svg{filter:grayscale(1) contrast(1.35)}
.ch-black .ch-fx{background:linear-gradient(115deg,#fff0 30%,#ffffff40 48%,#fff0 64%);mix-blend-mode:screen}
/* Nine of Seven /7: the raid bar, running off the end of its box */
.ch-nine .fc-art{background:#12081f}
.ch-nine .ch-fx::before{content:"9/7";position:absolute;left:5%;width:112%;top:5%;padding:1.5cqw 3cqw;font:400 9cqw/1 var(--face);color:#000;background:linear-gradient(90deg,#c08bff,#7b3ee0)}
/* Green /5 and Platinum /5 */
.ch-green .fc-art{background:repeating-conic-gradient(from var(--a) at var(--x) var(--y),#35e06a 0 7deg,#07391a 7deg 14deg)}
.ch-green .ch-fx{background:linear-gradient(115deg,#fff0 25%,#d8ffe699 45%,#fff0 60%);mix-blend-mode:overlay}
.ch-platinum .fc-art{background:linear-gradient(135deg,#f4fbff,#8ea6bb 45%,#eef8ff 60%,#71889c)}
.ch-platinum .ch-fx{background:radial-gradient(circle at var(--x) var(--y),#fff 0 1%,#0000 2%),radial-gradient(circle at var(--y) var(--x),#fff 0 1.4%,#0000 2.6%),radial-gradient(circle at 80% 22%,#fff 0 .9%,#0000 2%),linear-gradient(115deg,#fff0 30%,#ffffffa6 46%,#fff0 60%);mix-blend-mode:screen}
/* Officer Series /4: the jersey */
.ch-officer .fc-art{background:repeating-linear-gradient(115deg,var(--orange) 0 9%,#000 9% 12%,var(--ember) 12% 21%,#000 21% 24%)}
.ch-officer .ch-fx{background:url(/img/crest-96.webp) 94% 4%/26% auto no-repeat}
/* Superfryer 1/1 and the Quad Auto: every color at once, and it never sits still */
.fc.ch-super,.fc.ch-quad{box-shadow:0 0 22px 2px #ff4fd8;background:conic-gradient(from var(--a),#ff2d55,#ffd21f,#35e06a,#2b8cff,#e268a8,#ff2d55)}
.ch-super .fc-art{background:repeating-conic-gradient(from var(--a) at var(--x) var(--y),#ff2d55 0 8deg,#000 8deg 12deg,#ffd21f 12deg 20deg,#000 20deg 24deg,#35e06a 24deg 32deg,#000 32deg 36deg,#2b8cff 36deg 44deg,#000 44deg 48deg)}
.ch-super .ch-fx,.fc.ch-quad .ch-fx{background:repeating-conic-gradient(from var(--a) at var(--x) var(--y),#ff2d55 0 4deg,#ffd21f 4deg 8deg,#35e06a 8deg 12deg,#2b8cff 12deg 16deg,#e268a8 16deg 20deg);mix-blend-mode:color-dodge;opacity:.45;animation:ch-spin 9s linear infinite}
@keyframes ch-spin{to{filter:hue-rotate(360deg)}}
.fc.ch-super .fc-name,.fc.ch-super .fc-pos,.fc.ch-super .fc-stat,.fc.ch-quad .fc-name,.fc.ch-quad .fc-pos,.fc.ch-quad .fc-stat{background:#000;padding-inline:2cqw}

/* Azeroth cards wear their side's colors. Blizzard's art fills the window, a cut-out sits on the colors, and one with no picture gets its kind's mark */
.fc-art.ch-full img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover}
.fc-art[class*=" ch-aff-"]{background:radial-gradient(circle at 50% 40%,var(--a1) 0 12%,color-mix(in srgb,var(--a1) 42%,var(--a2)) 48%,var(--a2) 100%)}
.ch-aff-horde{--a1:#c4281c;--a2:#250504}
.ch-aff-alliance{--a1:#3a7be0;--a2:#06122c}
.ch-aff-neutral{--a1:#c39b45;--a2:#1f1606}
.ch-aff-scourge{--a1:#6fbf5f;--a2:#08160a}
.ch-aff-legion{--a1:#8cf23c;--a2:#0c1f04}
.ch-aff-dragonflight{--a1:#e0573a;--a2:#1e0604}
.ch-aff-old-god{--a1:#a35ad6;--a2:#11041a}
.ch-aff-elemental{--a1:#ff8a1f;--a2:#260a00}
.ch-aff-troll{--a1:#24b597;--a2:#031c16}
.ch-aff-qiraji{--a1:#e3be62;--a2:#251904}
.ch-aff-skyborne{--a1:#8fdcff;--a2:#08263a}
.ch-aff-nature{--a1:#4fcf7a;--a2:#05200e}
.ch-aff-pirate{--a1:#2fb0cf;--a2:#041c24}
.ch-mark{color:var(--a1);filter:drop-shadow(0 .8cqw 0 #000)}

/* The Forever Box: Classic's metals, from Copper /499 to the Sulfuron 1/1 */
.ch-copper{--f:#d9834a}
.ch-iron{--f:#a3acb8}
.ch-truesilver{--f:#f4f8ff}
.ch-mithril{--f:#8cc2ff}
.ch-thorium{--f:#4fe0bd}
.ch-arcanite{--f:#ff5ad9}
.ch-darkiron{--f:#ff6a2a}
.ch-elementium{--f:#7fd4ff}
.ch-sulfuron{--f:#ffb020}
.ch-copper .ch-fx{background:linear-gradient(115deg,#d9834a40,#fff0 var(--x),#ffd0a899 calc(var(--x) + 8%),#fff0 calc(var(--x) + 20%));mix-blend-mode:screen}
.ch-iron .ch-fx{background:linear-gradient(115deg,#fff0 30%,#ffffff4d 46%,#fff0 60%),repeating-linear-gradient(0deg,#ffffff12 0 1px,#0000 1px 3px);mix-blend-mode:screen}
.ch-truesilver .ch-fx{background:radial-gradient(circle at var(--x) var(--y),#fff 0 1%,#0000 2%),radial-gradient(circle at var(--y) var(--x),#fff 0 1.2%,#0000 2.4%),radial-gradient(circle at 78% 18%,#fff 0 .8%,#0000 1.8%),linear-gradient(115deg,#fff0 25%,#ffffffb3 44%,#fff0 60%);mix-blend-mode:screen}
.ch-mithril .ch-fx{background:repeating-linear-gradient(115deg,#8cc2ff00 0 9%,#8cc2ff66 11%,#8cc2ff00 15%);mix-blend-mode:screen}
.ch-thorium .ch-fx{background:radial-gradient(ellipse at var(--x) 80%,#4fe0bd66 0 18%,#0000 40%),repeating-radial-gradient(circle at var(--y) var(--x),#0000 0 7%,#4fe0bd40 7.6%,#0000 8.4%);mix-blend-mode:screen}
.ch-arcanite .ch-fx{background:conic-gradient(from var(--a) at var(--x) var(--y),#ff5ad966 0 40deg,#7a2bff55 40deg 95deg,#ff9cf066 95deg 150deg,#3a0f6a55 150deg 210deg,#ff5ad966 210deg 270deg,#c070ff55 270deg 360deg);mix-blend-mode:overlay}
.fc.ch-darkiron{box-shadow:inset 0 0 0 3px var(--f),0 0 18px -1px #ff3d00}
.ch-darkiron .fc-art img,.ch-darkiron .fc-art svg{filter:saturate(.6) brightness(.85)}
.ch-darkiron .ch-fx{background:repeating-linear-gradient(63deg,#0000 0 9cqw,#ff4d00b3 9cqw 9.5cqw,#0000 9.5cqw 21cqw),repeating-linear-gradient(-31deg,#0000 0 13cqw,#ff8a1f99 13cqw 13.4cqw,#0000 13.4cqw 27cqw),radial-gradient(circle at 50% 110%,#ff3d0099,#0000 60%);mix-blend-mode:screen}
.ch-elementium .ch-fx{background:radial-gradient(circle at var(--x) var(--y),#e6f9ff 0 2%,#7fd4ff88 6%,#0000 30%),repeating-conic-gradient(from var(--a) at var(--x) var(--y),#7fd4ff66 0 1.5deg,#0000 1.5deg 13deg);mix-blend-mode:screen;animation:ch-zap 2.8s steps(1) infinite}
@keyframes ch-zap{0%,100%{opacity:1}46%{opacity:.35}48%{opacity:1}51%{opacity:.5}53%{opacity:1}}
.fc.ch-sulfuron{box-shadow:inset 0 0 0 3px var(--f),0 0 24px 3px #ff5a00}
.ch-sulfuron .ch-fx{background:url(/img/flames.svg) 0 100%/auto 44% repeat-x,radial-gradient(circle at 20% 90%,#ffd21fb3 0 10%,#0000 26%),radial-gradient(circle at 80% 84%,#ff5a00b3 0 12%,#0000 30%),radial-gradient(circle at 50% 120%,#ff2a00 0 30%,#0000 62%);mix-blend-mode:hard-light;animation:ch-lava 3.6s ease-in-out infinite alternate}
@keyframes ch-lava{to{background-position:30px 100%,0 0,0 0,0 0;filter:brightness(1.25)}}

/* Treasures: a piece of the Flavortown kit in a window on the card */
.ch-kit{--f:#f05a12}
.ch-tabard{--f:#e5cc80}
.ch-number{--f:#f7f7f5}
.ch-nameplate{--f:#ffd21f}
.ch-tag{--f:#dff1ff}
.ch-crest{--f:#ffd700}
:is(.ch-kit,.ch-tabard,.ch-number,.ch-nameplate,.ch-tag,.ch-crest) .ch-fx::before{content:"";position:absolute;right:5%;top:5%;width:34%;aspect-ratio:1;display:grid;place-items:center;border-radius:10%;box-shadow:inset 0 0 0 .8cqw #000,0 0 0 1cqw var(--f),0 1.2cqw 2.4cqw #000b}
.ch-kit .ch-fx::before{background:repeating-linear-gradient(45deg,#0000 0 1.3cqw,#00000038 1.3cqw 2cqw),repeating-linear-gradient(-45deg,#0000 0 1.3cqw,#00000026 1.3cqw 2cqw),url(/img/flames.svg) 0 100%/auto 48% repeat-x,#f05a12}
.ch-tabard .ch-fx::before{background:#101012 url(/img/crest-96.webp) center/80% no-repeat;outline:.5cqw dashed #e5cc80;outline-offset:-2.2cqw}
.ch-number .ch-fx::before{content:"00";font:400 17cqw/1 var(--face);color:#fff;-webkit-text-stroke:.5cqw #f05a12;paint-order:stroke fill;background:repeating-linear-gradient(0deg,#1d1e22 0 .6cqw,#141518 .6cqw 1.2cqw)}
.ch-nameplate .ch-fx::before{content:"FLAVORTOWN";width:76%;aspect-ratio:4.2;font:400 7.4cqw/1 var(--face);letter-spacing:.04em;color:#f05a12;background:#0c0c0e;outline:.4cqw dashed #f05a1299;outline-offset:-1.4cqw}
.ch-tag .ch-fx::before{content:"100% POLYESTER\A MADE IN FLAVORTOWN";white-space:pre;width:30%;aspect-ratio:.8;padding:2cqw;font:600 2.6cqw/1.3 var(--tight);text-align:center;color:#3a3a3a;background:linear-gradient(160deg,#fbfbf7,#e9e8e0);border-radius:2%}
.ch-crest .ch-fx::before{background:radial-gradient(circle,#fffb 0 4%,#0000 9%) 0 0/3cqw 3cqw,url(/img/crest-96.webp) center/80% no-repeat,linear-gradient(135deg,#7a5a00,#ffd700 45%,#8a6a00);animation:ch-glint 2.4s ease-in-out infinite alternate}
.fc.ch-crest{box-shadow:inset 0 0 0 3px var(--f),0 0 22px 2px #ffd700}
@keyframes ch-glint{to{filter:brightness(1.3) saturate(1.2)}}

/* Flawless: a gem set into a black card */
.ch-ruby{--f:#ff2d6e;--gem:#e0115f}
.ch-sapphire{--f:#3f7dff;--gem:#0f52ba}
.ch-emerald{--f:#35e06a;--gem:#0a8f3c}
.ch-opal{--f:#bfefff;--gem:#a9dcff}
.ch-diamond{--f:#f4fbff;--gem:#e8f6ff}
.ch-blackdiamond{--f:#ffffff;--gem:#18181c}
.fc:is(.ch-ruby,.ch-sapphire,.ch-emerald,.ch-opal,.ch-diamond,.ch-blackdiamond){background:linear-gradient(160deg,#1c1c22,#000 58%);box-shadow:inset 0 0 0 1px #9aa0a8,inset 0 0 0 3px #000,inset 0 0 0 4px var(--f),0 0 14px -3px var(--f)}
:is(.ch-ruby,.ch-sapphire,.ch-emerald,.ch-opal,.ch-diamond,.ch-blackdiamond) .fc-art{box-shadow:inset 0 0 0 1px #3a3a42}
:is(.ch-ruby,.ch-sapphire,.ch-emerald,.ch-opal,.ch-diamond,.ch-blackdiamond) .ch-fx::before{content:"";position:absolute;left:50%;top:4%;width:21%;aspect-ratio:1;translate:-50% 0;clip-path:polygon(50% 0,100% 36%,81% 100%,19% 100%,0 36%);background:conic-gradient(from 18deg,color-mix(in srgb,var(--gem) 35%,#fff),var(--gem) 20%,color-mix(in srgb,var(--gem) 50%,#000) 38%,var(--gem) 55%,color-mix(in srgb,var(--gem) 25%,#fff) 72%,var(--gem) 88%,color-mix(in srgb,var(--gem) 35%,#fff));filter:drop-shadow(0 0 1.4cqw var(--f))}
:is(.ch-ruby,.ch-sapphire,.ch-emerald,.ch-opal,.ch-diamond,.ch-blackdiamond) .ch-fx::after{content:"";position:absolute;left:56%;top:5%;width:5%;aspect-ratio:1;background:#fff;clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);animation:ch-twinkle 1.8s ease-in-out infinite}
@keyframes ch-twinkle{0%,100%{opacity:0;transform:scale(.4)}50%{opacity:1;transform:scale(1)}}
.ch-opal .ch-fx::before{background:conic-gradient(#ffd1f5,#c2f0ff,#d4ffd9,#fff4c2,#e3d1ff,#ffd1f5)}
.ch-diamond .ch-fx::before{background:conic-gradient(#fff,#cfe9ff,#fff 25%,#ffe3f5,#fff 50%,#e5ffe3,#fff 75%,#fff4d6,#fff)}
.ch-blackdiamond .ch-fx::before{background:conic-gradient(#2a2a30,#000,#3a3a42,#000,#26262c,#000,#2a2a30);filter:drop-shadow(0 0 .6cqw #ff2d55) drop-shadow(0 0 .9cqw #2b8cff) hue-rotate(0deg);animation:ch-fire 6s linear infinite}
@keyframes ch-fire{to{filter:drop-shadow(0 0 .6cqw #ff2d55) drop-shadow(0 0 .9cqw #2b8cff) hue-rotate(360deg)}}

/* The two packs */
.ch-pair{display:flex;gap:12px;align-items:flex-start}
.ch-pair .pack{flex:none}
.ch-hold{display:grid;gap:6px;justify-items:center}
.ch-next{margin:0;max-width:182px;font:600 14px/1.2 var(--tight);text-align:center;color:#e5cc80}
.ch-hobby{background:#17181b repeating-linear-gradient(112deg,#e5cc8033 0 7%,transparent 7% 21%);color:#e5cc80}
.ch-hobby:hover{background-color:#000}
.ch-hobby .p-a,.ch-hobby .p-b{color:#e5cc80}
.ch-hobby:disabled{opacity:.4;cursor:default}
.flip.ch-flip .fc-back{animation:ch-glow .9s ease-in-out infinite alternate}
@keyframes ch-glow{from{box-shadow:inset 0 0 0 5px #000,0 0 6px 1px var(--volt)}to{box-shadow:inset 0 0 0 5px var(--volt),0 0 26px 6px var(--volt)}}
.flip.ch-flip.up .fc-back{animation:none}

/* The case, the ladder and the rest */
.ch-case{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.ch-ladder{width:100%;max-width:760px;border-collapse:collapse;font:600 17px/1.2 var(--tight);margin-bottom:8px}
.ch-ladder th,.ch-ladder td{padding:4px 8px;border-bottom:1px solid var(--line);text-align:right}
.ch-ladder thead th{color:var(--mist);font-size:15px}
.ch-ladder th:first-child{text-align:left;white-space:nowrap}
.ch-chip{display:inline-block;width:14px;height:20px;margin-right:9px;vertical-align:-4px;background:var(--f);box-shadow:0 0 6px var(--f)}
.ch-officers,.ch-lines{list-style:none;margin:0;padding:0;max-width:760px;font:600 17px/1.3 var(--tight)}
.ch-officers li,.ch-lines li{display:flex;justify-content:space-between;gap:12px;padding:4px 0;border-bottom:1px solid var(--line)}
.ch-officers span,.ch-lines span{color:var(--mist)}
.ch-single{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:clamp(16px,3vw,36px);align-items:start}
.ch-box-h{margin:18px 0 4px;font-size:26px}

/* The boxes on the shelf */
.ch-boxes{margin:0 0 26px}
.ch-shelf{list-style:none;margin:0 0 8px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.ch-shelf li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center}
.ch-shelf p{margin:0;font-size:15.5px;line-height:1.3}
.ch-shelf .ch-when{margin-top:6px;font:600 14px/1.25 var(--tight);color:#e5cc80}
.ch-box{position:relative;display:block;width:112px;aspect-ratio:4/5;padding:0;border:0;cursor:pointer;color:#fff;box-shadow:inset 0 0 0 3px #000,0 6px 0 #000}
.ch-box::before{content:"";position:absolute;inset:28% 12% 26%;background:center/contain no-repeat}
.ch-box .p-a{position:absolute;left:6%;right:6%;top:9%;font:400 16px/1 var(--face);text-transform:uppercase;text-align:center}
.ch-box .p-b{position:absolute;left:0;right:0;bottom:9%;font:400 15px/1 var(--face);text-transform:uppercase;text-align:center}
button.ch-box:hover{transform:translateY(-2px)}
.ch-box:disabled{opacity:.45;cursor:default;transform:none}
.ch-box.ch-ripped{animation:rip .32s ease-out}
.ch-box-forever{background:linear-gradient(180deg,#123a66,#05101e);color:#e5cc80}
.ch-box-forever::before{background-image:url(/img/s/forever-logo.webp)}
.ch-box-treasures{background:linear-gradient(180deg,#6a1616,#240505);color:#ffd700}
.ch-box-treasures::before{background-image:url(/img/crest-96.webp)}
.ch-box-flawless{background:linear-gradient(180deg,#24242b,#000);color:#f4fbff;box-shadow:inset 0 0 0 3px #000,inset 0 0 0 4px #9aa0a8,0 6px 0 #000}
.ch-box-flawless::before{inset:32% 30% 30%;background:conic-gradient(from 18deg,#ffb3cf,#e0115f 20%,#6a0830 38%,#e0115f 55%,#ff8ab5 72%,#e0115f 88%,#ffb3cf);clip-path:polygon(50% 0,100% 36%,81% 100%,19% 100%,0 36%)}

/* Sign Your Cards, and the officers' look at what came in */
.ch-au{display:grid;gap:12px;max-width:760px}
.ch-au-modes{display:flex;gap:8px}
.ch-au-pad canvas{display:block;width:100%;aspect-ratio:3/1;background:#f6f3ea;border-radius:6px;box-shadow:inset 0 0 0 2px var(--line);touch-action:none;cursor:crosshair}
.ch-au-pad[hidden],.ch-au-photo[hidden]{display:none}
.ch-au-photo{display:grid;gap:8px;justify-items:start}
.ch-au-photo p{margin:0}
.ch-au-level{display:flex;align-items:center;gap:10px;width:100%;max-width:420px;font:600 15px/1 var(--tight);color:var(--mist)}
.ch-au-level input{flex:1}
.ch-au-look{display:grid;grid-template-columns:repeat(2,minmax(0,220px));gap:14px}
.ch-au-now{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:0 0 14px}
.ch-au-now p{margin:0}
.ch-au-swatch{position:relative;display:block;flex:none;width:200px;aspect-ratio:200/90;background:#f6f3ea;border-radius:4px}
.ch-au-swatch .ch-sign{transform:rotate(-4deg)}
.ch-au-swatch.ch-au-dark{background:#111;--ink:#e6ecf2;--halo:#000}
.ch-au-review{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:4px}
.ch-au-review li{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}
.ch-au-review form,.ch-au-review li>div{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.ch-au-review p{margin:0}
.ch-au-grant{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ch-au-grant input{width:72px}

/* The reveal. It is a modal, so it sits above the action bar and everything else. */
.ch-reveal{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;overflow:clip;background:#000;color:#fff;cursor:pointer}
.ch-reveal[open]{display:grid;grid-template-rows:minmax(0,1fr) auto;justify-items:center;align-items:center}
.ch-reveal::backdrop{background:#000}
.ch-rays{position:absolute;left:50%;top:44%;width:240vmax;height:240vmax;margin:-120vmax;opacity:0;background:repeating-conic-gradient(var(--f) 0 8deg,transparent 8deg 20deg);transition:opacity .5s}
.ch-s2 .ch-rays{opacity:.4;animation:ch-rays 18s linear infinite}
.ch-super .ch-rays,.ch-reveal.ch-quad .ch-rays{background:repeating-conic-gradient(#ff2d55 0 7deg,transparent 7deg 12deg,#ffd21f 12deg 19deg,transparent 19deg 24deg,#35e06a 24deg 31deg,transparent 31deg 36deg,#2b8cff 36deg 43deg,transparent 43deg 48deg)}
.ch-t4.ch-s2 .ch-rays{opacity:.6;animation-duration:7s}
@keyframes ch-rays{to{transform:rotate(360deg)}}
.ch-burn{position:absolute;left:0;right:0;bottom:-8px;height:0;background:url(/img/flames.svg) 0 100%/auto 100% repeat-x;transition:height 1.4s ease-out}
.ch-s2 .ch-burn{height:26vh}
.ch-t4.ch-s2 .ch-burn{height:46vh}
.ch-flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none}
.ch-s4 .ch-flash{animation:ch-flash .55s ease-out}
@keyframes ch-flash{0%{opacity:.95}100%{opacity:0}}
.ch-bit{position:absolute;top:-4vh;width:9px;height:16px;background:var(--f);opacity:0}
.ch-s4 .ch-bit{animation:ch-bit 2.4s linear infinite;opacity:1}
.ch-bit:nth-of-type(3n){background:var(--volt)}
.ch-bit:nth-of-type(5n){background:#fff}
@keyframes ch-bit{to{transform:translateY(112vh) rotate(720deg)}}
.ch-run,.ch-par{position:absolute;left:0;right:0;margin:0;text-align:center;font-family:var(--face);text-transform:uppercase;pointer-events:none;opacity:0;-webkit-text-stroke:.03em #000;paint-order:stroke fill}
.ch-run{top:12vh;font-size:min(44vw,48vh);line-height:1;color:var(--f)}
.ch-par{top:58vh;font-size:min(11vw,11vh);line-height:1;color:#fff;transform:skewX(-8deg)}
.ch-s1 .ch-run{opacity:1;animation:ch-slam .32s cubic-bezier(.2,1.6,.4,1)}
.ch-s2 .ch-par{opacity:1;animation:ch-slam .3s ease-out}
.ch-s3 .ch-run,.ch-s3 .ch-par{opacity:0;transition:opacity .35s}
@keyframes ch-slam{from{transform:scale(3.2);opacity:0}}
.ch-t3.ch-s1,.ch-t4.ch-s1{animation:ch-rumble .34s linear}
.ch-t3.ch-s4,.ch-t4.ch-s4{animation:ch-rumble2 .5s linear}
@keyframes ch-rumble{25%{transform:translate(-9px,5px)}50%{transform:translate(9px,-5px)}75%{transform:translate(-6px,-4px)}}
@keyframes ch-rumble2{20%{transform:translate(-14px,8px)}40%{transform:translate(12px,-9px)}60%{transform:translate(-9px,-6px)}80%{transform:translate(7px,5px)}}
.ch-lift{position:relative;grid-row:1;align-self:center;width:min(70vw,calc((100vh - 190px)*.7),380px);aspect-ratio:5/7;perspective:1400px;opacity:0;transform:translateY(90vh) scale(.5);transition:transform .9s cubic-bezier(.16,.9,.3,1),opacity .2s}
.ch-s3 .ch-lift{opacity:1;transform:none}
.ch-turn{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateY(1260deg)}
.ch-s3 .ch-turn{animation:ch-turn 1.1s ease-in-out infinite alternate}
@keyframes ch-turn{from{transform:rotateY(-24deg)}to{transform:rotateY(24deg)}}
.ch-t4.ch-s3 .ch-turn{animation:ch-whirl .5s linear infinite}
@keyframes ch-whirl{to{transform:rotateY(360deg)}}
.ch-s4 .ch-turn,.ch-t4.ch-s4 .ch-turn{animation:ch-land .7s cubic-bezier(.2,1.2,.4,1) forwards}
@keyframes ch-land{from{transform:rotateY(0)}to{transform:rotateY(540deg)}}
.ch-turn>*{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.ch-turn>.fc-back{transform:rotateY(0)}
.ch-front{transform:rotateY(180deg)}
.ch-front .fc{height:100%}
.ch-call{position:relative;grid-row:2;width:100%;padding:0 14px 18px;text-align:center;opacity:0;transform:translateY(30px);transition:opacity .4s,transform .4s;cursor:auto;pointer-events:none}
.ch-s4 .ch-call{opacity:1;transform:none}
.ch-s5 .ch-call{pointer-events:auto}
.ch-who{margin:0;font:400 clamp(30px,7vh,58px)/1 var(--face);text-transform:uppercase;-webkit-text-stroke:.05em #000;paint-order:stroke fill}
.ch-num{margin:2px 0 10px;font:400 clamp(18px,3.4vh,28px)/1.1 var(--face);text-transform:uppercase;color:var(--f);-webkit-text-stroke:.05em #000;paint-order:stroke fill}
.ch-call .acts-row{justify-content:center;opacity:0;transition:opacity .3s}
.ch-s5 .ch-call .acts-row{opacity:1}
.ch-front .ch-sign{clip-path:inset(-40% 100% -40% 0)}
.ch-s4 .ch-front .ch-sign{animation:ch-write 1.1s .45s ease-in-out forwards}
@keyframes ch-write{to{clip-path:inset(-40% -10% -40% 0)}}
@media (max-width:760px){
  .ch-single{grid-template-columns:minmax(0,1fr)}
  .ch-pair .pack{width:clamp(120px,40vw,182px)}
  .ch-case{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ch-au-look{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){
  .fc.ch-lust,.ch-super .ch-fx,.fc.ch-quad .ch-fx,.flip.ch-flip .fc-back{animation:none}
  .ch-elementium .ch-fx,.ch-sulfuron .ch-fx,.ch-crest .ch-fx::before,.ch-blackdiamond .ch-fx::before,.ch-fx::after,.ch-box.ch-ripped{animation:none}
  .ch-reveal,.ch-reveal *{animation:none!important}
  .ch-turn,.ch-s4 .ch-turn{transform:rotateY(180deg)}
  .ch-front .ch-sign{clip-path:none}
  .ch-lift,.ch-call,.ch-burn{transition:none}
}
