/* Palpedia TCG — persistent card detail page. */

body.tcg-hub-page .tcg-card-breadcrumb {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding-top: 1.4rem;
  font-size: .88rem;
}

body.tcg-hub-page .tcg-card-breadcrumb a {
  color: var(--cyan, #62e7ed);
  text-decoration: none;
  font-weight: 600;
}

body.tcg-hub-page .tcg-card-breadcrumb span {
  color: var(--muted, #9fb5b7);
}

body.tcg-hub-page .tcg-card-state {
  padding: 3rem 0;
  color: var(--muted, #9fb5b7);
  text-align: center;
}

body.tcg-hub-page .tcg-card-state--error a {
  color: var(--cyan, #62e7ed);
}

body.tcg-hub-page .tcg-card-profile {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: clamp(1.6rem, 3.5vw, 3rem);
  padding-top: 1.2rem;
}

body.tcg-hub-page .tcg-card-profile__figure {
  padding: .8rem;
  margin: 0;
}

body.tcg-hub-page .tcg-card-profile__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4.5% / 3.2%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}

body.tcg-hub-page .tcg-card-profile__printings {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .9rem;
}

body.tcg-hub-page .tcg-card-profile__printing {
  width: 84px;
  text-align: center;
  text-decoration: none;
  color: var(--muted, #9fb5b7);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .05em;
  opacity: .88;
  transition: opacity 180ms var(--ease-out, cubic-bezier(.22, 1, .36, 1)), transform 180ms var(--ease-out, cubic-bezier(.22, 1, .36, 1));
}

body.tcg-hub-page .tcg-card-profile__printing img {
  display: block;
  width: 100%;
  border: 1px solid var(--line, rgba(166, 217, 224, .18));
  border-radius: 4.5% / 3.2%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .4);
  transition: border-color 180ms var(--ease-out, cubic-bezier(.22, 1, .36, 1)), box-shadow 180ms var(--ease-out, cubic-bezier(.22, 1, .36, 1));
}

body.tcg-hub-page .tcg-card-profile__printing span {
  display: block;
  margin-top: .3rem;
}

body.tcg-hub-page .tcg-card-profile__printing:hover,
body.tcg-hub-page .tcg-card-profile__printing:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

body.tcg-hub-page .tcg-card-profile__printing.is-current {
  opacity: 1;
  color: var(--cyan, #62e7ed);
}

body.tcg-hub-page .tcg-card-profile__printing.is-current img {
  border-color: var(--cyan, #62e7ed);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--cyan, #62e7ed) 75%, transparent),
    0 0 18px rgba(98, 231, 237, .38),
    0 8px 20px rgba(0, 0, 0, .45);
}

body.tcg-hub-page .tcg-card-profile__kicker {
  margin: 0;
  color: var(--cyan, #62e7ed);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.tcg-hub-page .tcg-card-profile__info h1 {
  margin: .3rem 0 1rem;
  color: var(--text, #edf7f5);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: -.01em;
}

body.tcg-hub-page .tcg-card-profile__stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .55rem;
  margin: 0 0 1.4rem;
}

body.tcg-hub-page .tcg-card-profile__stat {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .7rem;
  background: rgba(13, 32, 42, .72);
  border: 1px solid var(--line, rgba(166, 217, 224, .16));
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

body.tcg-hub-page .tcg-card-profile__stat dt {
  color: var(--muted, #9fb5b7);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.tcg-hub-page .tcg-card-profile__stat dd {
  margin: .1rem 0 0;
  color: var(--text, #edf7f5);
  font-size: .9rem;
  font-weight: 600;
}

body.tcg-hub-page .tcg-card-profile__stat-icon {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

body.tcg-hub-page .tcg-card-profile__text h2,
body.tcg-hub-page .tcg-card-profile__flavor h2 {
  margin: 0 0 .5rem;
  color: var(--cyan, #62e7ed);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.tcg-hub-page .tcg-card-profile__text p {
  margin: 0 0 1.2rem;
  color: var(--text, #edf7f5);
  font-size: .98rem;
  line-height: 1.65;
}

body.tcg-hub-page .tcg-inline-icon {
  height: 1.15em;
  vertical-align: -.22em;
  margin: 0 .08em;
}

body.tcg-hub-page .tcg-card-profile__flavor p {
  margin: 0 0 1.2rem;
  color: var(--muted, #9fb5b7);
  font-style: italic;
  line-height: 1.55;
}

body.tcg-hub-page .tcg-card-profile__product {
  display: inline-flex;
  flex-direction: column;
  gap: .15rem;
  padding: .7rem 1rem;
  margin-bottom: 1.2rem;
}

body.tcg-hub-page .tcg-card-profile__product small {
  color: var(--muted, #9fb5b7);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.tcg-hub-page .tcg-card-profile__product strong {
  color: var(--text, #edf7f5);
}

body.tcg-hub-page .tcg-card-profile__product span {
  color: var(--muted, #9fb5b7);
  font-size: .8rem;
}

body.tcg-hub-page .tcg-card-profile__actions {
  display: flex;
  gap: .7rem;
  margin-bottom: 1.4rem;
}

body.tcg-hub-page .tcg-card-profile__siblings {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

body.tcg-hub-page .tcg-card-profile__siblings a {
  color: var(--cyan, #62e7ed);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
}

body.tcg-hub-page .tcg-card-profile__siblings a span {
  color: var(--muted, #9fb5b7);
  font-weight: 400;
}

@media (max-width: 860px) {
  body.tcg-hub-page .tcg-card-profile {
    grid-template-columns: 1fr;
  }

  body.tcg-hub-page .tcg-card-profile__art {
    max-width: 380px;
    margin: 0 auto;
  }
}
