/* The trophy room */

/* ---------- trophy room ---------- */
.tprog { height: 8px; border-radius: 4px; background: #1b1e25; overflow: hidden; margin: 4px 0 18px; }
.tprog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffc81e, #ff8a3d); border-radius: 4px; transition: width .6s; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; }
.tcard { perspective: 900px; height: 158px; }
.tcard.locked { cursor: pointer; }
.tcard .in { position: relative; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.3,1.4,.5,1); transform-style: preserve-3d; }
.tcard.flip .in { transform: rotateY(180deg); }
.tcard .face, .tcard .back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 18px; padding: 14px 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--bg2); border: 1px solid var(--line); }
.tcard .back { transform: rotateY(180deg); background: linear-gradient(160deg, #1d1933, #13151d); border-color: rgba(167,123,255,.4); }
.tcard.got .face { border-color: rgba(255,200,30,.45); background: linear-gradient(180deg, rgba(255,200,30,.1), rgba(255,200,30,0) 70%), var(--bg2); }
@media (hover: hover) { .tcard.locked:hover .face { border-color: var(--line2); } }
.tcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 18px; }
.ti { font-size: 34px; line-height: 1; }
.tcard.locked .ti { font-size: 24px; opacity: .55; filter: grayscale(1); }
.tn { font-weight: 700; margin-top: 10px; font-size: 14px; }
.td { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.tq { font-size: 13.5px; font-style: italic; color: #d9cdfd; line-height: 1.45; margin-top: 6px; }
.tk { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--violet); font-weight: 700; }
