/* Card hunt: HUD pill, panel, found-cards showcase, reveal, team controls. */
.hunt-pill { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(40, 10, 60, 0.88); border: 1.5px solid #b36bff; color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.hunt-pill b { color: #e3c2ff; font-size: 17px; }
.hunt-pill:hover { background: rgba(70, 20, 100, 0.92); }
.hunt-pill.pulse { animation: huntPulse 1.2s ease-out 3; }
@keyframes huntPulse { 0% { box-shadow: 0 0 0 0 rgba(179, 107, 255, 0.8); } 100% { box-shadow: 0 0 0 14px rgba(179, 107, 255, 0); } }
#chatLog p.m-hunt { color: #e3c2ff; font-weight: 700; }

.hunt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.hunt-stats > div { background: rgba(20, 16, 50, 0.7); border: 1.5px solid #3a3470; border-radius: 10px; padding: 8px; text-align: center; }
.hunt-stats b { display: block; font-size: 24px; color: #ffd23f; }
.hunt-stats span { font-size: 13px; opacity: 0.85; }
.hunt-next { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; font-size: 14px; }
.hunt-next .bar { flex: 1; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.hunt-next .bar i { display: block; height: 100%; background: linear-gradient(90deg, #7a3cff, #b36bff); }
.hunt-note, .hunt-you, .hunt-empty, .hunt-bot, .hunt-more { font-size: 14px; margin: 6px 0; }
.hunt-more a { color: #e3c2ff; }
.hunt-you { background: rgba(179, 107, 255, 0.12); border-left: 3px solid #b36bff; padding: 6px 10px; border-radius: 6px; }
.hunt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; max-height: 46vh; overflow-y: auto; padding-right: 4px; }
.hunt-card { margin: 0; background: rgba(12, 10, 32, 0.85); border: 1.5px solid #3a3470; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.hunt-card.r-uncommon { border-color: #4fb3ff; }
.hunt-card.r-rare { border-color: #b36bff; }
.hunt-card.r-epic { border-color: #ffd23f; box-shadow: 0 0 12px rgba(255, 210, 63, 0.35); }
.hunt-card img { width: 100%; aspect-ratio: 3 / 5; object-fit: contain; background: #080616; border-radius: 6px; }
.hunt-card figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.hunt-card figcaption b { font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hunt-card figcaption em { font-style: normal; color: #7dffa0; font-weight: 800; font-size: 15px; }
.hunt-card figcaption small { opacity: 0.75; }
.hunt-card a { color: #e3c2ff; }
.hunt-noimg { display: grid; place-items: center; aspect-ratio: 3 / 5; font-size: 40px; background: #080616; border-radius: 6px; }
.hunt-noimg.big { width: 200px; font-size: 70px; }
.hunt-reveal { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.hunt-reveal img { width: min(240px, 100%); border-radius: 8px; background: #080616; animation: huntFlip 0.9s ease-out; }
.hunt-reveal > div { flex: 1; min-width: 200px; }
.hunt-reveal .val { font-size: 22px; font-weight: 800; color: #7dffa0; }
@keyframes huntFlip { 0% { transform: perspective(600px) rotateY(90deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.hunt-admin { display: flex; flex-direction: column; gap: 8px; background: rgba(255, 210, 63, 0.06); border: 1.5px dashed #6b5a1f; border-radius: 10px; padding: 10px; }
.hunt-admin label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.hunt-admin label.knob { flex-direction: column; align-items: stretch; }
.hunt-admin label.check { justify-content: flex-start; }
.hunt-admin input[type="number"] { width: 90px; }
.hunt-admin input[type="range"] { width: 100%; accent-color: #b36bff; }
@media (max-width: 560px) { .hunt-stats b { font-size: 19px; } .hunt-grid { grid-template-columns: repeat(2, 1fr); } }
.pack-tag { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #5b1f99; color: #f1e0ff; font-size: 11px; font-weight: 800; letter-spacing: 0.03em; }

/* Tutorial: card-hunt pages */
.tut-packs { display: flex; justify-content: center; align-items: flex-end; gap: 0; height: 178px; margin: 8px 0 10px; }
.tut-packs .zpack { width: 92px; }
.tut-packs .tut-pack.p0 { transform: rotate(-9deg) translateY(8px); }
.tut-packs .tut-pack.p1 { width: 104px; z-index: 1; margin: 0 -10px; animation: tutPackBob 2.4s ease-in-out infinite; }
.tut-packs .tut-pack.p2 { transform: rotate(9deg) translateY(8px); }
@keyframes tutPackBob { 50% { transform: translateY(-6px); } }
.tut-hunt-stats { margin: 4px 0 8px; }
.tut-soon { text-align: center; font-weight: 700; color: #e3c2ff; margin: 4px 0 8px; }
.tut-steps { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 6px; counter-reset: tut; }
.tut-steps li { display: flex; gap: 10px; align-items: center; background: rgba(179, 107, 255, 0.1); border-radius: 8px; padding: 6px 10px; font-size: 14px; }
.tut-steps li i { font-style: normal; font-size: 20px; }
.tut-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tut-row .btn { text-decoration: none; }
.tut-inside { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 14px; align-items: start; margin: 6px 0 10px; }
.tut-slab { margin: 0; text-align: center; }
.tut-slab img { width: 100%; aspect-ratio: 3 / 5; object-fit: contain; background: #080616; border-radius: 8px; }
.tut-slab figcaption { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; opacity: 0.85; margin-top: 4px; }
.tut-odds { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.tut-odds > b { font-size: 15px; color: #ffd23f; }
.tut-odds .odd { display: grid; grid-template-columns: 76px 1fr 40px 70px; align-items: center; gap: 6px; }
.tut-odds .odd i { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.tut-odds .odd em { display: block; height: 100%; background: #8a93b8; }
.tut-odds .odd.r-uncommon em { background: #4fb3ff; }
.tut-odds .odd.r-rare em { background: #b36bff; }
.tut-odds .odd.r-epic em { background: #ffd23f; }
.tut-odds .odd b { text-align: right; }
.tut-odds .odd small { opacity: 0.75; }
.tut-odds .odd-note { opacity: 0.75; font-size: 11px; line-height: 1.35; }
@media (max-width: 560px) {
  .tut-inside { grid-template-columns: 1fr; }
  .tut-slab { max-width: 170px; margin: 0 auto; }
  .tut-packs { height: 150px; }
  .tut-packs .zpack { width: 76px; }
  .tut-packs .tut-pack.p1 { width: 88px; }
  .tut-odds .odd { grid-template-columns: 70px 1fr 36px 62px; }
}
