/* The rules the app's cards get from style.css, polish.css and type.css, copied by line so a card on the landing is the card in Home. Regenerate if those change. */
.tc { --ink: #efe4d2; --tierink: #d8d0c6; --glowc: rgba(220, 210, 200, .18); position: relative; aspect-ratio: 1024 / 1536; container-type: inline-size; border-radius: 3.6cqw; overflow: hidden;
  background: #000 var(--tpl) center / 100% 100% no-repeat; box-shadow: 0 2cqw 7cqw rgba(0, 0, 0, .65), 0 0 6cqw var(--glowc);
  transform: perspective(1200px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .5s var(--ease), box-shadow .4s; }
.tc:hover { transition: transform .12s linear, box-shadow .4s; }
.tc.titan { --ink: #f6e3b0; --tierink: #f3cf7c; --glowc: rgba(255, 196, 80, .38); }
.tc.demigod { --tierink: #dcbcff; --glowc: rgba(170, 110, 255, .32); }
.tc.oracle { --tierink: #b0d2ff; --glowc: rgba(90, 150, 255, .28); }
.tc.hero { --tierink: #a8e6c2; --glowc: rgba(80, 210, 140, .24); }
.tc-portrait::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, transparent 0 .25cqw, rgba(0, 0, 0, .55) .45cqw); background-size: .9cqw .9cqw; mix-blend-mode: multiply; opacity: .6; }
.tc-stat span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-stat .handle { letter-spacing: .04em; font-size: 1.7cqw; }
.tc-stat b { font: 600 3cqw/1 var(--serif); color: var(--ink); }
.tc-stat.s1 { left: 11.5%; width: 17.4%; } .tc-stat.s1 span { font-size: 1.5cqw; letter-spacing: .14em; margin-top: .4cqw; }
.tc-stat.s2 { left: 30.7%; width: 18.5%; } .tc-stat.s3 { left: 50.6%; width: 18.5%; } .tc-stat.s4 { left: 70.5%; width: 18.5%; }
.tc-num { position: absolute; left: 44%; right: 44%; top: 92.5%; height: 2.4%; display: grid; place-items: center; font: 600 1.5cqw/1 var(--sans); letter-spacing: .35em; padding-left: .35em; color: var(--bone-2); }
.tc.titan .tc-holo { opacity: .5; } .tc.demigod .tc-holo { opacity: .45; }
.tc:hover .tc-holo { opacity: .85; }
.tc:hover .tc-sheen { opacity: .9; }
.tc.titan .tc-sheen, .tc.demigod .tc-sheen { opacity: .5; animation: sheen 6s ease-in-out infinite; }
.tc.titan:hover .tc-sheen, .tc.demigod:hover .tc-sheen { animation: none; opacity: 1; }
.tc-holo { mix-blend-mode: overlay; opacity: .3; }
.tc.titan .tc-holo { opacity: .45; } .tc.demigod .tc-holo { opacity: .4; }
.tc:hover .tc-holo { opacity: .75; }
.tc-portrait { background-size: 82% auto; background-position: 50% 46%; filter: contrast(1.35) brightness(1.04) sepia(.22); }
.tc.demigod .tc-arch { --archc: rgba(150, 60, 230, .6); }
.tc.oracle .tc-arch { --archc: rgba(40, 90, 220, .6); }
.tc.hero .tc-arch { --archc: rgba(30, 150, 90, .55); }
.tc.mythic { --ink: #ffe1dc; --tierink: #ff6b78; --glowc: rgba(255, 30, 50, .5); }
.tc.mythic .tc-holo { opacity: .55; }
.tc.mythic .tc-sheen { opacity: .55; animation: sheen 5s ease-in-out infinite; }
.tc.mythic:hover .tc-sheen { animation: none; opacity: 1; }
.photo-card { border-radius:4%; }
.tc-interior { position:absolute; inset:16% 8.8% 5%; background:linear-gradient(145deg,#201c20,#100d11 46%,#171114); border:1px solid color-mix(in srgb,var(--tierink) 50%,transparent); box-shadow:inset 0 0 8cqw #000; }
.tc-photo { position:absolute; inset:18% 16% 32%; overflow:hidden; border-radius:48% 48% 2% 2% / 33% 33% 2% 2%; border:.6cqw solid var(--tierink); background:radial-gradient(ellipse at 50% 30%,#45404a,#121015 75%); box-shadow:0 0 0 1cqw #171316,0 0 0 1.2cqw color-mix(in srgb,var(--tierink) 50%,transparent); }
.tc-photo img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:50% 35%; filter:saturate(.88) contrast(1.04); }
.tc-photo img[hidden] { display:none; }
.tc-photo.placeholder-photo img { object-fit:cover; filter:sepia(.16) contrast(1.06); }
.tc-monogram { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4cqw; color:var(--tierink); font:400 23cqw/1 var(--serif); }
.tc-monogram small { font:500 2.4cqw/1.5 var(--sans); letter-spacing:.15em; }
.photo-card:hover .portrait-foil { opacity:.75; }
.photo-card.mortal .portrait-foil,.photo-card.mortal > .tc-holo { display:none; }
.photo-card > .tc-holo { z-index:1; pointer-events:none; opacity:.18; }
.photo-card .tc-name { z-index:2; top:70%; left:12%; right:12%; height:7.4%; font:500 6.6cqw/1.05 var(--serif); letter-spacing:0; color:#fff2dc; text-align:center; overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; align-content:center; text-shadow:0 1px 2px #000; }
.photo-card .tc-tier { z-index:2; top:78.6%; left:15%; right:15%; font:600 2.8cqw/1 var(--sans); text-transform:uppercase; letter-spacing:.24em; height:3%; }
.tc-details { position:absolute; z-index:2; top:83.3%; left:13%; right:13%; display:grid; grid-template-columns:1fr 1.35fr; gap:4cqw; border-top:1px solid #77655766; padding-top:2.1cqw; }
.tc-details div { min-width:0; display:flex; flex-direction:column; gap:1cqw; }
.tc-details div:last-child { text-align:right; }
.tc-details b { color:#f8ead8; font:500 3.5cqw/1.1 var(--sans); overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.tc-details span { color:#cabeb2; font:500 2.3cqw/1.3 var(--sans); white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.tc-footer { position:absolute; z-index:2; top:92%; left:13%; right:13%; display:flex; justify-content:space-between; gap:2cqw; color:#c6b8a6; font:500 2.5cqw/1.2 var(--sans); }
.tc-footer span:first-child { white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.photo-card .tc-name { font-size:7.3cqw; }
.photo-card .tc-tier { font-size:3.5cqw; letter-spacing:.16em; color:var(--tierink); background:color-mix(in srgb,var(--tierink) 12%,#100d11); border-radius:2cqw; }
.tc-details b { font-size:4.2cqw; }
.tc-details span,.tc-footer { font-size:2.9cqw; }
.photo-card { outline:1px solid var(--tierink); outline-offset:-1px; }
.photo-card .tc-name { letter-spacing: -.005em; }
@keyframes sheen { 0%, 45% { background-position: 110% 0; } 100% { background-position: -10% 0; } }
