/* Paragon-Schmuck (/4story/paragon-schmuck). Baut auf paragon.css + paragon-gear.css auf. Linie Jagd = Nordlicht, Linie Zorn = Glut
   (.pvp-theme setzt die Variablen). */
.pgj-hero .pgg-hero__sky { background: radial-gradient(55% 75% at 66% 30%, rgba(47, 107, 255, 0.2), transparent 70%), radial-gradient(45% 70% at 96% 45%, rgba(216, 52, 31, 0.2), transparent 70%),
  radial-gradient(50% 55% at 15% 0%, rgba(47, 211, 154, 0.16), transparent 70%), linear-gradient(180deg, #071022 0%, #050913 100%); }

.pgj-hero .pgg-hero__stat { width: auto; max-width: none; margin: 14px 0 0; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
.pgj-hero .pgg-hero__stat b { grid-row: 1 / 3; }

/* Plaetze */
.pgj-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.pgj-slot { display: flex; flex-direction: column; padding: 18px 20px 20px; border-radius: 16px; background: var(--pgg-card); border: 1px solid var(--pg-line); }
.pgj-slot__art { display: grid; grid-template-columns: 1fr 1fr; margin: 0 -6px 12px; }
.pgj-slot__art img { display: block; width: 100%; height: auto; }
.pgj-slot h3 { margin: 0 0 12px; font: 400 1.35rem/1.2 var(--font-display, Georgia, serif); color: #fff; }
.pgj-slot h3 small { font: 600 0.78rem/1 var(--font-label, sans-serif); letter-spacing: 0.08em; color: var(--pg-muted); margin-left: 4px; white-space: nowrap; }
.pgj-slot__vals { margin: 0; }
.pgj-slot__vals div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-top: 1px solid var(--pg-line); }
.pgj-slot__vals dt { color: var(--pg-muted); }
.pgj-slot__vals dd { margin: 0; font: 400 1.5rem/1 var(--font-display, Georgia, serif); color: var(--pg-gold); font-variant-numeric: tabular-nums; }
.pgj-slot__each { margin: 6px 0 0; color: var(--pg-muted); font-size: 0.86rem; }
.pgj-slot--total { justify-content: center; text-align: center; border-color: rgba(243, 196, 106, 0.4); background: radial-gradient(90% 70% at 50% 0%, rgba(243, 196, 106, 0.14), transparent 70%), var(--pgg-card); }
.pgj-slot--total p { margin: 0; }
.pgj-slot--total .pgg-bcard__label { color: var(--pg-gold); margin-bottom: 18px; }
.pgj-slot__big { font: 400 3.1rem/1 var(--font-display, Georgia, serif); color: #fff; font-variant-numeric: tabular-nums; }
.pgj-slot__unit { margin: 4px 0 18px !important; font-weight: 600; color: var(--pg-text); }
.pgj-slot__unit:last-child { margin-bottom: 0 !important; }

/* Zwei Linien */
.pgj-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 30px; align-items: stretch; }
.pgj-line { position: relative; display: flex; flex-direction: column; padding: 26px 26px 22px; border-radius: 18px; overflow: hidden; background: var(--pgg-card); border: 1px solid rgba(92, 242, 196, 0.32); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); }
.pgj-line::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--pg-em-hi), transparent); }
.pgj-line--wrath { border-color: rgba(255, 138, 61, 0.42); }
.pgj-line__head { margin-bottom: 8px; }
.pgj-line__head h3 { margin: 0 0 4px; font: 400 2.3rem/1.1 var(--font-display, Georgia, serif); color: #fff; }
.pgj-line__head p { margin: 0; font: 600 0.82rem/1.3 var(--font-label, sans-serif); letter-spacing: 0.1em; text-transform: uppercase; color: var(--pg-em-hi); }
.pgj-pieces { margin: 0; padding: 0; list-style: none; }
.pgj-pieces > li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--pg-line); }
.pgj-pieces img { display: block; width: 112px; height: 112px; }
.pgj-pieces h4 { margin: 0 0 6px; font: 400 1.14rem/1.25 var(--font-display, Georgia, serif); color: #fff; }
.pgj-pieces h4 small { font: 600 0.95rem/1 var(--font-label, sans-serif); color: var(--pg-gold); white-space: nowrap; }
.pgj-pieces ul { margin: 0; padding: 0; list-style: none; color: var(--pg-text); line-height: 1.5; }
.pgj-sets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.pgj-sets div { padding: 12px 14px; border-radius: 12px; background: rgba(5, 9, 19, 0.45); border: 1px solid var(--pg-line); }
.pgj-sets dt { margin-bottom: 4px; font: 600 0.76rem/1 var(--font-label, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; color: var(--pg-em-hi); }
.pgj-sets dd { margin: 0; color: var(--pg-text); font-weight: 600; line-height: 1.35; }
.pgj-total { margin-top: auto; padding-top: 16px; }
.pgj-total__title { margin: 0 0 10px; font: 600 0.78rem/1 var(--font-label, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; color: var(--pg-gold); }
.pgj-total dl { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.pgj-total dl div { flex: 1 1 84px; display: flex; flex-direction: column-reverse; gap: 4px; padding: 12px 10px; border-radius: 10px; text-align: center; background: rgba(243, 196, 106, 0.07); border: 1px solid rgba(243, 196, 106, 0.24); }
.pgj-total dd { margin: 0; font: 400 1.65rem/1 var(--font-display, Georgia, serif); color: var(--pg-gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pgj-total dt { color: var(--pg-text); font-size: 0.84rem; line-height: 1.3; }
.pgj-line .pgg-note { margin: 10px 0 0; }
.pgj-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }

/* Verzaubern */
.pgj-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.pgj-step { padding: 0 22px 22px; border-radius: 16px; overflow: hidden; text-align: center; background: var(--pgg-card); border: 1px solid var(--pg-line); }
.pgj-step__art { margin: 0 -22px 14px; padding: 16px 0 10px; background: radial-gradient(60% 75% at 50% 50%, rgba(47, 107, 255, 0.2), transparent 75%); border-bottom: 1px solid var(--pg-line); }
.pgj-step__art img { display: block; width: 160px; height: 160px; margin: 0 auto; }
.pgj-step h3 { margin: 0 0 8px; font: 400 1.4rem/1.2 var(--font-display, Georgia, serif); color: #fff; }
.pgj-step__chance { margin: 0 0 10px; }
.pgj-step__chance b { font: 400 1.5rem/1 var(--font-display, Georgia, serif); color: var(--pg-gold); }
.pgj-step__chance span { color: var(--pg-muted); font-size: 0.9rem; }
.pgj-step__text { margin: 0; color: var(--pg-muted); line-height: 1.55; }
.pgj-enchant { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.pgj-panel { padding: 22px; border-radius: 16px; background: var(--pgg-card); border: 1px solid var(--pg-line); min-width: 0; }
.pgj-panel .pgg-note { margin: 12px 0 0; }
.pgj-h3 { margin: 0 0 14px; font: 600 0.82rem/1 var(--font-label, sans-serif); letter-spacing: 0.16em; text-transform: uppercase; color: var(--pg-em-hi); }
.pgj-panel__lead { margin: 0 0 8px; color: var(--pg-muted); line-height: 1.55; }
.pgj-panel > .pgj-panel__lead:last-child { margin-bottom: 0; }
.pgj-classes { margin: 0; padding: 0; list-style: none; }
.pgj-classes li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--pg-line); color: var(--pg-text); }
.pgj-classes li:last-child { border-bottom: 0; padding-bottom: 0; }
.pgj-classes img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(160, 200, 240, 0.25); }
.pgj-classes b { color: var(--pg-gold); font-weight: 600; text-align: right; }
.pgj-values th, .pgj-values td { padding: 10px 8px; white-space: normal; }
.pgj-values thead th { background: none; font-size: 0.74rem; }
.pgj-values tbody tr:last-child th, .pgj-values tbody tr:last-child td { border-bottom: 0; }
.pgj-values__max { color: var(--pg-gold) !important; font-weight: 700; }
.pgj-npcs { margin-bottom: 14px; }
.pgj-npcs span { letter-spacing: 0.06em; }
.pgj-only__icons { display: flex; gap: 10px; margin-bottom: 12px; }

/* Tabellen */
.pgj-table th, .pgj-table td { text-align: center; vertical-align: middle; }
.pgj-table thead th { white-space: normal; vertical-align: bottom; }
.pgj-table thead th img { display: block; margin: 0 auto 6px; image-rendering: pixelated; }
.pgj-table th[scope="row"] { text-align: left; white-space: nowrap; }
.pgj-ic { width: 32px; height: 32px; margin-right: 10px; vertical-align: middle; border-radius: 5px; image-rendering: pixelated; }
.pgj-table td { font-size: 1.05rem; font-weight: 600; color: #fff; }
.pgj-table .is-total td { color: var(--pg-gold); }
.pgj-rules { margin: 0; }
.pgj-reqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.pgj-reqs div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 16px; border-radius: 14px; text-align: center; background: var(--pgg-card); border: 1px solid var(--pg-line); }
.pgj-reqs dd { margin: 0; font: 400 1.6rem/1 var(--font-display, Georgia, serif); color: var(--pg-gold); white-space: nowrap; }
.pgj-reqs dt { color: var(--pg-muted); font-size: 0.9rem; }
.pgj-noshop { background: var(--pgg-card); }
.pgg-craft__side > .pgg-h3 { margin: 0; }

@media (max-width: 1080px) {
  .pgj-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgj-lines { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .pgj-facts, .pgj-steps, .pgj-enchant { grid-template-columns: minmax(0, 1fr); }
  .pgj-step__art img { width: 140px; height: 140px; }
}
@media (max-width: 640px) {
  /* Tabellen werden Karten: jede Zeile ein Block mit beschrifteten Werten, keine seitliche Rollleiste */
  .pgj-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pgj-table, .pgj-table tbody, .pgj-table tr { display: block; width: 100%; }
  .pgj-table tr { padding: 12px 14px; border-bottom: 1px solid var(--pg-line); }
  .pgj-table tr:last-child { border-bottom: 0; }
  .pgj-table th[scope="row"] { display: block; padding: 0 0 8px; border: 0; font-size: 1rem; white-space: normal; }
  .pgj-table td { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0 !important; border: 0; font-size: 0.95rem; }
  .pgj-table td::before { content: attr(data-label); color: var(--pg-muted); font-weight: 400; text-align: left; }
  .pgj-table tr.is-total { background: rgba(243, 196, 106, 0.06); }
  .pgj-table .is-total th, .pgj-table .is-total td { background: none; }
}
@media (max-width: 560px) {
  .pgj-slots { grid-template-columns: minmax(0, 1fr); }
  .pgj-slot__art { max-width: 210px; margin-left: auto; margin-right: auto; }
  .pgj-line { padding: 22px 18px 18px; }
  .pgj-pieces > li { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .pgj-pieces img { width: 84px; height: 84px; }
  .pgj-sets { grid-template-columns: minmax(0, 1fr); }
  .pgj-panel { padding: 18px 16px; }
  .pgj-values th, .pgj-values td { padding: 9px 4px !important; font-size: 0.86rem; }
}
