/* Paragon-System (Seite /4story/paragon, Startseiten-Karte, Features). Farben wie im Spiel: Smaragd-Leiste,
   blaue Paragon-Zahl, Gold-Fassung. Funktioniert im 4Auroria-Design (rb.css-Variablen) und mit eigenen Ersatzwerten. */
:root { --pg-em: #2fd39a; --pg-em-hi: #8ff5cf; --pg-blue: #3d7bff; --pg-blue-hi: #9cc4ff; --pg-gold: #f3c46a;
  --pg-core: #f3c46a; --pg-surv: #ff7b8a; --pg-off: #a98bff; --pg-util: #5cf2c4;
  --pg-panel: rgba(12, 20, 38, 0.72); --pg-line: rgba(170, 200, 240, 0.14); --pg-text: #eaf1fa; --pg-muted: #9aa8c0; }
.pg-sec { position: relative; padding: 72px 0; color: var(--pg-text); }
.pg-sec--hero { padding-top: 24px; }
.pg-sec--tint { background: linear-gradient(180deg, rgba(20, 40, 70, 0.28), rgba(10, 18, 34, 0.1)); border-top: 1px solid var(--pg-line); border-bottom: 1px solid var(--pg-line); }
.pg-h2 { margin: 0 0 14px; font: 400 clamp(1.9rem, 3.8vw, 3rem)/1.08 var(--font-display, Georgia, serif); color: #f4f8fd; text-wrap: balance; }
.pg-lead { margin: 0 0 18px; color: var(--pg-muted); font-size: 1.1rem; line-height: 1.65; max-width: 64ch; }
.pg-eyebrow { margin: 0 0 10px; font: 600 0.82rem/1 var(--font-label, sans-serif); letter-spacing: 0.18em; text-transform: uppercase; color: var(--pg-em-hi); }
.pg-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pg-cta--center { justify-content: center; }
.pg-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }

/* Spiel-Kopf: Kristall + Leiste */
.pg-ui { display: flex; gap: 20px; align-items: center; padding: 22px 24px; border-radius: 16px; background:
  radial-gradient(120% 140% at 0% 0%, rgba(61, 123, 255, 0.16), transparent 55%), linear-gradient(180deg, #111c33, #0a1222);
  border: 1px solid rgba(160, 190, 240, 0.22); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.pg-ui__body { flex: 1; min-width: 0; }
.pg-ui__title { margin: 0 0 10px; font-size: 0.98rem; color: var(--pg-text); }
.pg-ui__title span { color: var(--pg-muted); }
.pg-ui__exp { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; margin: 8px 0 0; font-size: 0.86rem; color: var(--pg-muted); font-variant-numeric: tabular-nums; }
.pg-ui__next { color: var(--pg-em-hi); }
.pg-bar { position: relative; display: flex; height: 18px; border-radius: 9px; overflow: hidden; background: linear-gradient(180deg, #0a1426, #142240);
  border: 1px solid rgba(140, 170, 220, 0.35); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6); }
.pg-bar__fill { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(180deg, var(--pg-em-hi) 0%, var(--pg-em) 45%, #138a63 100%);
  box-shadow: 0 0 14px rgba(47, 211, 154, 0.55); }
.pg-bar__fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  background-size: 220% 100%; animation: pg-shine 3.6s ease-in-out infinite; }
@keyframes pg-shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.pg-bar__q { flex: 1; border-right: 1px solid rgba(200, 220, 255, 0.22); position: relative; z-index: 1; }
.pg-bar::after { content: ""; flex: 1; }
.pg-crystal { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; flex: none; }
.pg-crystal__label { font: 700 0.7rem/1 var(--font-label, sans-serif); letter-spacing: 0.16em; text-transform: uppercase; color: var(--pg-gold); }
.pg-crystal__gem { display: grid; place-items: center; width: 70px; height: 70px; margin: 6px; transform: rotate(45deg); border-radius: 10px;
  background: linear-gradient(135deg, #8fb6ff 0%, #3d7bff 38%, #1d3fb0 72%, #10245f 100%); border: 2px solid var(--pg-gold);
  box-shadow: 0 0 0 3px rgba(243, 196, 106, 0.18), 0 0 26px rgba(61, 123, 255, 0.55), inset 0 2px 8px rgba(255, 255, 255, 0.35);
  animation: pg-pulse 3s ease-in-out infinite; }
@keyframes pg-pulse { 50% { box-shadow: 0 0 0 3px rgba(243, 196, 106, 0.25), 0 0 40px rgba(61, 123, 255, 0.8), inset 0 2px 8px rgba(255, 255, 255, 0.35); } }
.pg-crystal__num { transform: rotate(-45deg); font: 800 1.9rem/1 var(--font-label, sans-serif); color: #fff; text-shadow: 0 2px 0 #0c1a4a, 0 0 12px rgba(160, 200, 255, 0.8); }
@media (prefers-reduced-motion: reduce) { .pg-bar__fill::after, .pg-crystal__gem { animation: none; } }

/* Schritte */
.pg-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.pg-step { position: relative; padding: 22px 20px 20px; border-radius: 14px; background: var(--pg-panel); border: 1px solid var(--pg-line); }
.pg-step p { margin: 0; color: var(--pg-text); line-height: 1.55; }
.pg-step__n { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; font: 700 1rem/1 var(--font-label, sans-serif);
  color: #06281c; background: linear-gradient(180deg, var(--pg-em-hi), var(--pg-em)); box-shadow: 0 0 14px rgba(47, 211, 154, 0.45); }

/* Account geteilt */
.pg-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.pg-example { margin: 0; padding: 16px 18px; border-left: 3px solid var(--pg-em); border-radius: 0 10px 10px 0; background: rgba(47, 211, 154, 0.08); color: var(--pg-text); line-height: 1.6; }
.pg-share { position: relative; display: grid; gap: 14px; }
.pg-share__hero { position: relative; z-index: 1; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: #0d1729; border: 1px solid var(--pg-line); }
.pg-share__face img { display: block; width: 56px; height: 56px; border-radius: 12px; }
.pg-share__name { font: 400 1.15rem/1.2 var(--font-display, Georgia, serif); }
.pg-share__lvl { font-weight: 700; font-variant-numeric: tabular-nums; }
.pg-share__link { position: absolute; left: 44px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(180deg, var(--pg-em), var(--pg-blue)); box-shadow: 0 0 10px rgba(47, 211, 154, 0.5); }

/* Reiter */
.pg-rot { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 28px; padding: 0; list-style: none; }
.pg-rot__p { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid currentColor; font-size: 0.9rem; background: rgba(255, 255, 255, 0.03); }
.pg-rot__p span { color: var(--pg-text); }
.pg-rot__more { align-self: center; color: var(--pg-muted); }
.pg-chip--core { color: var(--pg-core); }
.pg-chip--surv { color: var(--pg-surv); }
.pg-chip--off { color: var(--pg-off); }
.pg-chip--util { color: var(--pg-util); }
.pg-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pg-tab { --c: var(--pg-core); display: flex; flex-direction: column; padding: 22px 20px; border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)), var(--pg-panel);
  border: 1px solid var(--pg-line); border-top: 3px solid var(--c); }
.pg-tab--surv { --c: var(--pg-surv); }
.pg-tab--off { --c: var(--pg-off); }
.pg-tab--util { --c: var(--pg-util); }
.pg-tab__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.pg-tab__head h3 { margin: 0; font: 400 1.35rem/1.15 var(--font-display, Georgia, serif); color: #fff; }
.pg-tab__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--c); color: var(--c); font-weight: 700; }
.pg-tab__text { margin: 0 0 14px; color: var(--pg-muted); font-size: 0.95rem; line-height: 1.5; }
.pg-opts { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pg-opts li { display: grid; gap: 1px; padding-top: 10px; border-top: 1px solid var(--pg-line); }
.pg-opts__name { font-weight: 600; color: var(--pg-text); }
.pg-opts__per { color: var(--c); font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.pg-opts__max { color: var(--pg-muted); font-size: 0.82rem; }

/* Karten: blaue Zahl, Reset, Kurve */
.pg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pg-card { padding: 22px 22px 24px; border-radius: 16px; background: var(--pg-panel); border: 1px solid var(--pg-line); }
.pg-card h3 { margin: 16px 0 8px; font: 400 1.35rem/1.15 var(--font-display, Georgia, serif); color: #fff; }
.pg-card p { margin: 0; color: var(--pg-muted); line-height: 1.6; }
.pg-card__art { height: 96px; display: flex; align-items: center; justify-content: center; gap: 18px; border-radius: 12px; background: radial-gradient(70% 90% at 50% 50%, rgba(61, 123, 255, 0.14), transparent 70%), rgba(5, 10, 20, 0.45); }
.pg-plaque__ring { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3a3a46, #15151c);
  border: 3px solid #8a93a8; box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.8); }
.pg-plaque__ring--pg { border-color: var(--pg-blue-hi); box-shadow: 0 0 18px rgba(61, 123, 255, 0.6), inset 0 0 8px rgba(0, 0, 0, 0.8); }
.pg-plaque__num { font: 800 1.25rem/1 var(--font-label, sans-serif); color: #f1f1f1; }
.pg-plaque__ring--pg .pg-plaque__num { color: #5f9bff; text-shadow: 0 0 10px rgba(95, 155, 255, 0.8); }
.pg-plaque__arrow { color: var(--pg-muted); font-size: 1.4rem; }
.pg-reset__icon { font-size: 2.6rem; color: var(--pg-em-hi); line-height: 1; }
.pg-reset__cost { font: 800 2.2rem/1 var(--font-label, sans-serif); color: var(--pg-gold); }
.pg-curve { align-items: flex-end; gap: 6px; padding: 14px 18px 12px; }
.pg-curve__b { flex: 1; max-width: 16px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--pg-em-hi), var(--pg-em)); opacity: 0.85; }

/* Fenster-Vorschau */
.pg-window { margin: 0 auto; max-width: 600px; text-align: center; }
.pg-window img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(160, 190, 240, 0.18); }
.pg-window figcaption { margin-top: 12px; color: var(--pg-muted); font-size: 0.92rem; }
.pg-fair { max-width: 70ch; margin: 34px auto 0; text-align: center; color: var(--pg-muted); }

/* Karte Startseite/Features */
.pg-home { padding: 24px 0 72px; }
.pg-teaser { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: center; padding: 34px; border-radius: 22px;
  background: radial-gradient(80% 120% at 0% 0%, rgba(47, 211, 154, 0.12), transparent 60%), radial-gradient(80% 120% at 100% 100%, rgba(61, 123, 255, 0.14), transparent 60%), rgba(10, 18, 34, 0.78);
  border: 1px solid rgba(140, 220, 200, 0.22); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); color: var(--pg-text); }
.pg-teaser__title { margin: 0 0 12px; font: 400 clamp(1.7rem, 3.2vw, 2.5rem)/1.1 var(--font-display, Georgia, serif); color: #f4f8fd; }
.pg-teaser__text { margin: 0 0 16px; color: var(--pg-muted); line-height: 1.6; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.pg-chip { padding: 5px 12px; border-radius: 999px; border: 1px solid currentColor; font-size: 0.86rem; background: rgba(255, 255, 255, 0.03); }

@media (max-width: 1080px) { .pg-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .pg-hero, .pg-split, .pg-teaser { grid-template-columns: 1fr; gap: 28px; }
  .pg-cards { grid-template-columns: 1fr; }
  .pg-teaser { padding: 22px; }
}
@media (max-width: 560px) {
  .pg-sec { padding: 48px 0; }
  .pg-tabs { grid-template-columns: 1fr; }
  .pg-ui { flex-direction: column; align-items: stretch; padding: 18px; }
  .pg-ui .pg-crystal { align-self: center; }
  .pg-cta .btn { flex: 1 1 100%; text-align: center; }
}

/* Breiten/Hoehen ohne style="" (CSP) */
.pg-w0 { width: 0%; }
.pg-w5 { width: 5%; }
.pg-w10 { width: 10%; }
.pg-w15 { width: 15%; }
.pg-w20 { width: 20%; }
.pg-w25 { width: 25%; }
.pg-w30 { width: 30%; }
.pg-w35 { width: 35%; }
.pg-w40 { width: 40%; }
.pg-w45 { width: 45%; }
.pg-w50 { width: 50%; }
.pg-w55 { width: 55%; }
.pg-w60 { width: 60%; }
.pg-w65 { width: 65%; }
.pg-w70 { width: 70%; }
.pg-w75 { width: 75%; }
.pg-w80 { width: 80%; }
.pg-w85 { width: 85%; }
.pg-w90 { width: 90%; }
.pg-w95 { width: 95%; }
.pg-w100 { width: 100%; }
.pg-h42 { height: 42%; }
.pg-h46 { height: 46%; }
.pg-h50 { height: 50%; }
.pg-h55 { height: 55%; }
.pg-h60 { height: 60%; }
.pg-h66 { height: 66%; }
.pg-h72 { height: 72%; }
.pg-h79 { height: 79%; }
.pg-h86 { height: 86%; }
.pg-h93 { height: 93%; }
.pg-h100 { height: 100%; }

/* Verweis auf die Paragon-Ausruestung (/4story/paragon-ausruestung) */
.pg-gear { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--pg-text);
  background: radial-gradient(80% 120% at 0% 0%, rgba(47, 211, 154, 0.14), transparent 60%), linear-gradient(180deg, #0f1a33, #08101f); border: 1px solid rgba(92, 242, 196, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); transition: border-color .2s, transform .2s; }
.pg-gear:hover { border-color: rgba(92, 242, 196, 0.6); transform: translateY(-2px); }
.pg-gear__img { display: block; width: 100%; height: auto; }
.pg-gear__copy { display: grid; gap: 10px; justify-items: start; padding: 28px 32px; }
.pg-gear__copy .pg-eyebrow { margin: 0; }
.pg-gear__title { font: 400 clamp(1.7rem, 3vw, 2.4rem)/1.1 var(--font-display, Georgia, serif); color: #fff; }
.pg-gear__text { color: var(--pg-muted); line-height: 1.6; }
.pg-gear .btn { margin-top: 6px; }
@media (max-width: 900px) { .pg-gear { grid-template-columns: minmax(0, 1fr); } .pg-gear__copy { padding: 22px 20px 26px; } }
