/* THE SIXTEEN DECK FACES, ported from speechdeck/public/templates.html.
 *
 * Jade: "all decks in speechdeck should have a different look... we already had
 * a page where we had different templates for the cards just bring each
 * template to one of those cards." So this is that page's CSS, brought across
 * as CSS and not as a screenshot to copy by eye. The only edit is the class
 * names: .t1 to .t16 became .f-index to .f-printcut, because tools/brand_decks.py
 * assigns a deck a template BY NAME and a number in a stylesheet cannot be
 * matched to a name in a json file by anything but memory.
 *
 * A face is picked per deck, never per card, so a deck looks like one deck.
 */
.face { width: 100%; position: relative; }
.face img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 1 INDEX CARD */
.f-index{background:#fffdf7;border:1px solid #e3d5bd;padding:10px}
.f-index .im{aspect-ratio:1;overflow:hidden;background:#f6ecd9}
.f-index .w{font-size:19px;font-weight:700;letter-spacing:-.01em;margin-top:10px;border-top:1px solid #e3d5bd;padding-top:8px}
.f-index .ph{font-family:'Space Mono',monospace;font-size:11px;color:#a4948b;margin-top:2px}
.f-index .o{margin-top:8px;display:flex;gap:4px}
.f-index .o i{font-style:normal;font-family:'Space Mono',monospace;font-size:10px;font-weight:700;padding:2px 6px;background:#f3ead8;color:#7a665e}

/* 2 BOLD BLOCK */
.f-bold{background:#111}
.f-bold .im{aspect-ratio:1;overflow:hidden}
.f-bold .b{padding:12px 13px 14px}
.f-bold .w{font-family:'Archivo Black',sans-serif;font-size:26px;color:#fff;letter-spacing:-.02em;line-height:1}
.f-bold .ph{font-family:'Space Mono',monospace;font-size:11px;color:#ff6a4d;margin-top:6px;letter-spacing:.02em}
.f-bold .o{margin-top:9px;display:flex;gap:5px}
.f-bold .o i{font-style:normal;font-family:'Space Mono',monospace;font-size:10px;font-weight:700;color:#111;background:#fff;padding:2px 7px}

/* 3 RISO */
.f-riso{background:#fbf3e4;padding:12px}
.f-riso .im{aspect-ratio:1;overflow:hidden;position:relative;box-shadow:7px 7px 0 #ff5d3a}
.f-riso .im:after{content:"";position:absolute;inset:0;background:#ff5d3a;mix-blend-mode:multiply;opacity:.4}
.f-riso .im img{filter:saturate(.35) contrast(1.05)}
.f-riso .w{font-family:'Archivo Narrow',sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:21px;margin-top:12px;color:#20303f}
.f-riso .ph{font-family:'Space Mono',monospace;font-size:11px;color:#ff5d3a;font-weight:700;margin-top:1px}

/* 4 LABEL */
.f-label{background:#fffdf7;border:3px solid #3a2a24}
.f-label .im{aspect-ratio:1;overflow:hidden;border-bottom:3px solid #3a2a24}
.f-label .b{padding:9px 11px 11px;display:flex;align-items:baseline;gap:8px}
.f-label .w{font-family:Anton,sans-serif;font-size:25px;text-transform:uppercase;letter-spacing:.01em;line-height:1}
.f-label .ph{font-family:'Space Mono',monospace;font-size:10.5px;color:#7a665e;margin-left:auto}

/* 5 TICKET */
.f-ticket{background:#fffaf0;border:1px solid #d9c9ae}
.f-ticket .im{aspect-ratio:1;overflow:hidden;margin:8px 8px 0}
.f-ticket .b{padding:9px 12px 12px;text-align:center;margin-top:9px;border-top:2px dashed #d9c9ae}
.f-ticket .w{font-family:'Space Mono',monospace;font-weight:700;font-size:19px;text-transform:uppercase;letter-spacing:.14em}
.f-ticket .ph{font-family:'Space Mono',monospace;font-size:10.5px;color:#a4948b;margin-top:4px}
.f-ticket .o{margin-top:9px;display:flex;gap:5px;justify-content:center}
.f-ticket .o i{font-style:normal;font-family:'Space Mono',monospace;font-size:10px;border:1px solid #d9c9ae;padding:1px 6px;color:#7a665e}

/* 6 MUSEUM */
.f-museum{background:#fff;border:1px solid #e6e1d8;padding:14px 14px 16px}
.f-museum .im{aspect-ratio:1;overflow:hidden;background:#f4f1ea}
.f-museum .w{font-family:'Instrument Serif',serif;font-size:27px;margin-top:13px;line-height:1}
.f-museum .ph{font-family:'Instrument Serif',serif;font-style:italic;font-size:15px;color:#9a9186;margin-top:3px}
.f-museum .o{margin-top:10px;padding-top:8px;border-top:1px solid #e6e1d8;display:flex;gap:7px;font-family:'Instrument Serif',serif;font-size:14px;color:#9a9186}

/* 7 ARCADE */
.f-arcade{background:#16132a;padding:11px;border:2px solid #6cf}
.f-arcade .im{aspect-ratio:1;overflow:hidden}
.f-arcade .im img{image-rendering:pixelated;filter:saturate(1.25) contrast(1.1)}
.f-arcade .w{font-family:Silkscreen,monospace;font-size:18px;color:#ffe14d;margin-top:11px;text-transform:uppercase;text-shadow:2px 2px 0 #ff3d7f}
.f-arcade .ph{font-family:'Space Mono',monospace;font-size:11px;color:#6cf;margin-top:5px}
.f-arcade .o{margin-top:9px;display:flex;gap:5px}
.f-arcade .o i{font-style:normal;font-family:Silkscreen,monospace;font-size:9px;color:#16132a;background:#6cf;padding:2px 5px}

/* 8 SCHOOL */
.f-schoolbook{background:#fff;border:1px solid #cfd8e3;border-left:5px solid #ff6f61;padding:11px}
.f-schoolbook .im{aspect-ratio:1;overflow:hidden;background:#eef3f8}
.f-schoolbook .b{margin-top:10px;background:repeating-linear-gradient(#fff 0 27px,#bcd0e2 27px 28px);padding-top:2px}
.f-schoolbook .w{font-family:'Patrick Hand',cursive;font-size:27px;line-height:28px;color:#2b3a4a}
.f-schoolbook .ph{font-family:'Space Mono',monospace;font-size:11px;line-height:28px;color:#8fa3b6}

/* 9 STAMP */
.f-stamp{background:#2f6f5e;padding:0;position:relative}
.f-stamp .im{aspect-ratio:4/5;overflow:hidden}
.f-stamp .b{position:absolute;left:0;right:0;bottom:0;background:#fffdf7;border-top:4px solid #2f6f5e;padding:10px 12px 12px}
.f-stamp .w{font-family:Archivo,sans-serif;font-weight:900;font-size:23px;letter-spacing:-.02em;line-height:1;color:#1d4a3e}
.f-stamp .ph{font-family:'Space Mono',monospace;font-size:10.5px;color:#7d9a91;margin-top:4px}

/* 10 SWISS */
.f-swiss{background:#f2f0eb;padding:13px 13px 15px}
.f-swiss .n{display:flex;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#a09a90;margin-bottom:10px}
.f-swiss .n span:last-child{margin-left:auto}
.f-swiss .im{aspect-ratio:1;overflow:hidden;background:#e6e3dc}
.f-swiss .w{font-family:Archivo,sans-serif;font-weight:800;font-size:24px;letter-spacing:-.035em;margin-top:12px;line-height:1}
.f-swiss .ph{font-family:'Space Mono',monospace;font-size:10.5px;color:#a09a90;margin-top:5px}
.f-swiss .bar{height:4px;background:#e2402f;width:46px;margin-top:10px}

/* 11 KID */
.f-kid{background:#fff4d6;border:4px solid #ffb703;padding:10px}
.f-kid .im{aspect-ratio:1;overflow:hidden;border:3px solid #fff}
.f-kid .w{font-family:'Baloo 2',cursive;font-weight:800;font-size:26px;text-align:center;margin-top:8px;color:#e05c2b;line-height:1.1}
.f-kid .ph{font-family:'Space Mono',monospace;font-size:10.5px;text-align:center;color:#b08a52}
.f-kid .o{margin-top:8px;display:flex;gap:6px;justify-content:center}
.f-kid .o i{font-style:normal;font-family:'Baloo 2',cursive;font-weight:700;font-size:12px;background:#fff;border:2px solid #ffb703;color:#e05c2b;width:26px;height:26px;display:grid;place-items:center}

/* 12 FULL BLEED */
.f-fullbleed{position:relative;background:#000}
.f-fullbleed .im{aspect-ratio:3/4;overflow:hidden}
.f-fullbleed .b{position:absolute;left:0;right:0;bottom:0;padding:34px 13px 13px;background:linear-gradient(transparent,rgba(0,0,0,.82) 55%)}
.f-fullbleed .w{font-family:Anton,sans-serif;font-size:30px;text-transform:uppercase;color:#fff;line-height:1;letter-spacing:.01em}
.f-fullbleed .ph{font-family:'Space Mono',monospace;font-size:11px;color:#ffd5c2;margin-top:5px}

/* 13 CHIP TOP */
.f-chip{background:#fffdf7;border:1px solid #e3d5bd}
.f-chip .hd{display:flex;align-items:center;gap:6px;padding:8px 10px;background:#3a2a24}
.f-chip .hd b{font-family:'Space Mono',monospace;font-size:10px;letter-spacing:.14em;color:#ffd9a0;font-weight:700}
.f-chip .hd u{margin-left:auto;text-decoration:none;font-size:10px;font-weight:700;color:#8fd08a}
.f-chip .im{aspect-ratio:1;overflow:hidden}
.f-chip .b{padding:10px 12px 13px}
.f-chip .w{font-family:Fraunces,serif;font-weight:900;font-size:24px;line-height:1;letter-spacing:-.02em}
.f-chip .ph{font-family:'Space Mono',monospace;font-size:10.5px;color:#a4948b;margin-top:5px}

/* 14 SPLIT */
.f-split{background:#fffdf7;border:1px solid #e3d5bd;display:grid;grid-template-columns:118px minmax(0,1fr);align-items:stretch;min-height:132px}
.f-split .im{overflow:hidden;background:#f6ecd9}
.f-split .im img{height:100%;width:100%;object-fit:cover}
.f-split .b{padding:12px 12px 12px 13px;display:flex;flex-direction:column;justify-content:center}
.f-split .w{font-family:Archivo,sans-serif;font-weight:800;font-size:21px;letter-spacing:-.02em;line-height:1.05}
.f-split .ph{font-family:'Space Mono',monospace;font-size:10.5px;color:#a4948b;margin-top:5px}
.f-split .o{margin-top:9px;display:flex;gap:4px}
.f-split .o i{font-style:normal;font-family:'Space Mono',monospace;font-size:9.5px;font-weight:700;background:#f3ead8;color:#7a665e;padding:2px 6px}

/* 15 DUOTONE BAR */
.f-deepbar{background:#1b3a5c}
.f-deepbar .im{aspect-ratio:1;overflow:hidden}
.f-deepbar .b{padding:11px 12px 13px;display:flex;align-items:flex-end;gap:8px}
.f-deepbar .w{font-family:'Archivo Narrow',sans-serif;font-weight:700;font-size:24px;color:#fff;text-transform:lowercase;letter-spacing:0;line-height:.95}
.f-deepbar .ph{font-family:'Space Mono',monospace;font-size:10.5px;color:#7fc4ff;margin-left:auto}

/* 16 PRINT / CUT */
.f-printcut{background:#fff;border:1px dashed #b9ab93;padding:12px 12px 14px;text-align:center}
.f-printcut .im{aspect-ratio:1;overflow:hidden;border:1px solid #ece3d2}
.f-printcut .w{font-family:Fraunces,serif;font-weight:700;font-size:23px;margin-top:12px;line-height:1}
.f-printcut .ph{font-family:'Space Mono',monospace;font-size:10.5px;color:#a4948b;margin-top:4px}
.f-printcut .cut{margin-top:10px;font-size:9.5px;letter-spacing:.16em;text-transform:uppercase;color:#c0b49e}
