/* ===== Preis laut poe.ninja ===== */
.price-panel { border-color: #5c4a1f; background: linear-gradient(180deg, rgba(201, 164, 92, .08), transparent 40%), var(--panel); }
.price-big { display: grid; gap: 2px; padding: 10px 12px; margin-bottom: 12px; border-radius: 5px; background: rgba(0, 0, 0, .35); border: 1px solid #4a3c1c; }
.price-big small { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.price-big b { font-family: var(--font-title); font-size: 28px; color: #f3d27a; line-height: 1.1; }
.price-big span { font-size: 12px; color: var(--muted); }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.price-list li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.price-list .pn { color: #c98a4b; font-family: var(--font-item); font-size: 15px; }
.price-list .pn.foil { color: #82ad6a; }
.price-list .pn em { font-style: normal; font-size: 11px; color: var(--muted); font-family: var(--font-ui); }
.price-list .pv { color: #f0e4d6; font-weight: 600; white-space: nowrap; }
.price-list .pv.unsicher { color: #e6b85c; }
.price-list .pv.unsicher::after { content: " ⓘ"; font-weight: 400; color: #8f8273; }
.price-list .pv.fehlt { color: #6f6255; font-weight: 400; }
.price-more summary { cursor: pointer; font-size: 13px; color: var(--accent-2); margin: 8px 0 4px; }
.price-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.card-price { margin-left: auto; font-size: 12px; font-weight: 600; color: #f3d27a; background: rgba(201, 164, 92, .12); border: 1px solid #5c4a1f; border-radius: 99px; padding: 2px 9px; white-space: nowrap; }

/* Passivbaum auf der Build-Seite */
.tree-panel--build .tree-wrap { margin-top: 10px; }
.baum-summary { display: grid; gap: 10px; padding-top: 12px; }
.bs-row { display: grid; grid-template-columns: 150px 1fr; gap: 10px; align-items: start; }
.bs-row > b { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding-top: 3px; }
.bs-row > div { display: flex; flex-wrap: wrap; gap: 5px; }
.bchip { font-size: 12.5px; padding: 2px 8px; border-radius: 3px; background: #2a2416; border: 1px solid #5c4a1f; color: #e8cf8a; cursor: default; }
.bchip:hover { border-color: #f3d27a; color: #fff; }
.bchip.key { background: #33200f; border-color: #8a4a1c; color: #f0a560; font-weight: 600; }
.bchip.asc { background: rgba(120, 80, 170, .12); border-color: #4f3a6a; color: #d8b8ff; }
.bchip.mst { background: #1c2620; border-color: #3a5a44; color: #a8d8b4; }
.bchip.clu { background: #1f2333; border-color: #3d4a7a; color: #b8c4ff; }

/* Reiter Passivbaum / Aszendenz */
svg.baum .asc-bild { opacity: .6; pointer-events: none; }
.baum-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line-soft); background: rgba(0, 0, 0, .2); }
.baum-tab { all: unset; cursor: pointer; padding: 11px 16px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; }
.baum-tab .meta { text-transform: none; letter-spacing: 0; font-size: 12px; }
.baum-tab:hover { color: var(--text); }
.baum-tab.active { color: var(--gold); border-bottom-color: var(--accent); background: rgba(200, 121, 47, .08); }
.baum-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.asc-wrap svg.baum { height: min(48vh, 420px); }
.asc-wrap { background: radial-gradient(ellipse at center, #1a1424, #0a0908 70%); border-color: #3a2c4a; }
.asc-count { margin: 0 0 10px; font-size: 13px; color: #c8b0e8; }
.asc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.asc-card { border: 1px solid #4f3a6a; background: rgba(120, 80, 170, .08); border-radius: 5px; padding: 10px 12px; display: grid; gap: 3px; }
.asc-card b { font-family: var(--font-item); font-size: 17px; color: #e2c8ff; font-weight: 500; }
.asc-card span { font-size: 13px; color: #a9a0ff; font-family: var(--font-item); }

/* Masteries mit gewählter Wirkung */
.mastery-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mastery-list li { display: grid; grid-template-columns: 150px 1fr; gap: 10px; font-size: 13px; padding: 6px 8px; border-radius: 4px; background: #182019; border: 1px solid #2f4a37; cursor: default; }
.mastery-list li:hover { border-color: #7fb36a; }
.mastery-list b { color: #a8d8b4; font-weight: 600; }
.mastery-list span { color: #8888ff; font-family: var(--font-item); font-size: 14.5px; }

/* Zweites Waffenset */
.inventory .ws { display: none; }
.inventory.zeige-ws-1 .ws-1, .inventory.zeige-ws-2 .ws-2 { display: block; }
.ws-toggle { position: absolute; left: calc(8px + var(--cell) * 2.15); top: 8px; display: flex; gap: 3px; z-index: 3; }
.ws-toggle button { all: unset; cursor: pointer; width: 22px; height: 20px; display: grid; place-items: center; font-size: 11px; font-weight: 700; border-radius: 3px; background: #1d1813; border: 1px solid #4a3d30; color: var(--muted); }
.ws-toggle button.active { background: var(--accent); color: #1a0f06; border-color: var(--accent-2); }
.ws-toggle button:focus-visible { outline: 2px solid var(--accent-2); }

/* Cluster-Punkte im Baum */
svg.baum circle.cl { stroke: #3d4a7a; stroke-width: 14; }
svg.baum circle.cl.alloc { fill: #8fa0e8; stroke: #34407a; }
.tt-mod--option { color: #7f7f7f; font-size: 13px; margin-top: 2px; }

@media (max-width: 640px) {
  .bs-row { grid-template-columns: 1fr; gap: 4px; }
  .mastery-list li { grid-template-columns: 1fr; gap: 2px; }
}

/* Preiszeile im Item-Tooltip */
.tt-price { color: #f3d27a; font-family: var(--font-ui); font-size: 13px; font-weight: 600; }
.tt-price span { display: block; font-weight: 400; font-size: 11.5px; color: #8f8273; }
.tt-price--none { color: #6f6255; font-weight: 400; }

.bs-chips { display: flex; flex-wrap: wrap; gap: 5px; }

/* Gesockelte Gems: Tooltip und Sockel */
.tt-gems { text-align: left; font-family: var(--font-ui); }
.tt-gems-titel { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #7f7f7f; text-align: center; margin-bottom: 4px; }
.tt-gem-gruppe { padding: 4px 6px; margin: 4px 0; border-left: 2px solid #1ba29b; background: rgba(27, 162, 155, .06); }
.tt-gem { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.45; }
.tt-gem.act { color: #3fc7bf; font-weight: 600; font-size: 14px; }
.tt-gem.sup { color: #9fdcd6; padding-left: 14px; }
.tt-gem span { margin-left: auto; padding-left: 12px; color: #7f7f7f; font-weight: 400; font-size: 12px; }
.gem-dot { display: inline-block; width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid rgba(0, 0, 0, .7); flex: none; }
.gem-dot--r { background: #e0533f; } .gem-dot--g { background: #5ec24f; } .gem-dot--b { background: #5a8fe0; } .gem-dot--w { background: #e8e8e8; }
.so--voll .gem-dot { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; box-shadow: 0 0 6px currentColor; }
.so--voll .gem-dot.sup { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; }

/* Aszendenz auf der großen Karte */
svg.baum circle.as { stroke: #4f3a6a; stroke-width: 12; }
svg.baum circle.as.alloc { fill: #c9a5f0; stroke: #6a4a9a; }
svg.baum .asc-kreis { fill: rgba(90, 60, 140, .18); stroke: rgba(160, 120, 220, .35); stroke-width: 18; }
svg.baum .asc-titel { fill: #e2c8ff; font-family: "Cinzel", serif; font-size: 230px; font-weight: 700; letter-spacing: 8px; paint-order: stroke; stroke: #0a0908; stroke-width: 30px; pointer-events: none; }

/* Gem-Icons */
.gem-ic { width: 20px; height: 20px; object-fit: contain; flex: none; vertical-align: -5px; margin-right: 6px; filter: drop-shadow(0 0 2px #000); }
.tt-gem .gem-ic { width: 22px; height: 22px; margin-right: 2px; }
.tt-gem.sup .gem-ic { width: 18px; height: 18px; }
.gem .g-name { display: inline-flex; align-items: center; }
.so-gem { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); border-radius: 50%; object-fit: cover; }

/* Reihenfolge der Aszendenz */
.asc-card { position: relative; }
.asc-card.hat-nr { padding-top: 26px; }
.asc-nr { position: absolute; top: 6px; left: 12px; font-family: var(--font-ui) !important; font-size: 11px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1a0f06 !important; background: #e2b85c; padding: 1px 8px; border-radius: 99px; }
.asc-hinweis { margin: 0 0 10px; font-style: italic; }
svg.baum .nr circle { fill: #e2b85c; stroke: #1a0f06; stroke-width: 10; }
svg.baum .nr text { fill: #1a0f06; font-family: Inter, sans-serif; font-weight: 800; pointer-events: none; }
svg.baum .nr { pointer-events: none; }
.asz-selects { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.asz-sel span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.asz-sel select { width: 100%; background: #0f0d0b; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; color: var(--text); }

.asc-card { align-content: start; }

/* ---------- Sprachschalter Spieltexte ---------- */
.sprach-schalter { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius); padding: 2px; font-size: 12px; }
.sprach-schalter span { color: var(--muted); padding: 0 6px 0 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.sprach-schalter button { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; padding: 3px 8px; border-radius: 4px; cursor: pointer; }
.sprach-schalter button.active { background: var(--panel-2); color: var(--accent-2); }
@media (max-width: 900px) { .sprach-schalter span { display: none; } }

/* ---------- Gem-Zeilen + Gem-Tooltip ---------- */
.gem[data-gem] { cursor: help; border-radius: 4px; padding-left: 4px; padding-right: 4px; margin: 0 -4px; }
.gem[data-gem]:hover, .gem[data-gem].is-active, .gem[data-gem]:focus-visible { background: rgba(27, 162, 155, .12); outline: none; }
.gt { width: min(440px, calc(100vw - 16px)); }
.gt .tt-body { text-align: center; }
.gt .tt-name { display: flex; align-items: center; justify-content: center; gap: 8px; }
.gt-icon { width: 30px; height: 30px; object-fit: contain; }
.gt-tags { color: #c8c8c8; }
.gt-desc { color: #1ba29b; line-height: 1.35; }
.gt .tt-mod { line-height: 1.35; margin: 1px 0; }
.gt-set { color: #c8c8c8; font-size: 15px; margin: 8px 0 2px; letter-spacing: .03em; }
.gt-set::before, .gt-set::after { content: " — "; color: #5f5f5f; }
.gt-qtitel { margin-bottom: 2px; }
.gt-grau { color: #7f7f7f; }
.gt-hinweis { color: #7f7f7f; font-size: 12px; font-family: var(--font-ui); }
.gt-sprache { color: #8a8070; font-size: 11.5px; font-family: var(--font-ui); line-height: 1.4; }

/* Spieltexte-Schalter in Panel-Köpfen (Ausrüstung, Skills & Gems) */
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel-head .sprach-schalter { font-family: var(--font-ui); text-transform: none; letter-spacing: 0; font-weight: 500; }

/* ---------- Startseite: Spielauswahl ---------- */
.spiel-start { text-align: center; padding: 48px 0 28px; }
.spiel-gruss { color: var(--accent-2); font-family: var(--font-title); letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin: 0 0 8px; }
.spiel-start h1 { font-family: var(--font-title); font-size: clamp(28px, 4.5vw, 44px); margin: 0 0 12px; }
.spiel-intro { max-width: 680px; margin: 0 auto 30px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.spiel-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 960px; margin: 0 auto; text-align: left; }
.spiel-kachel { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px 28px 24px; border-radius: 14px; border: 1px solid var(--line); color: var(--text); text-decoration: none; overflow: hidden; min-height: 300px; transition: transform .15s, border-color .15s, box-shadow .15s; }
.spiel-kachel:hover, .spiel-kachel:focus-visible { text-decoration: none; transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
.spiel-kachel--poe2 { background: radial-gradient(120% 90% at 100% 0%, rgba(64, 136, 196, .32), transparent 60%), linear-gradient(160deg, #14202b, #0d1116 70%); border-color: #2c4a63; }
.spiel-kachel--poe2:hover { border-color: #5a9ccf; }
.spiel-kachel--poe1 { background: radial-gradient(120% 90% at 100% 0%, rgba(196, 120, 48, .32), transparent 60%), linear-gradient(160deg, #24190f, #110d09 70%); border-color: #5c4326; }
.spiel-kachel--poe1:hover { border-color: #d39b55; }
.spiel-logo { font-family: var(--font-title); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: .04em; opacity: .9; }
.spiel-kachel--poe2 .spiel-logo { color: #8cc4ef; }
.spiel-kachel--poe1 .spiel-logo { color: #e3ad6a; }
.spiel-titel { font-family: var(--font-title); font-size: 22px; font-weight: 700; }
.spiel-sub { color: var(--muted); font-size: 13px; }
.spiel-merkmale { margin: 8px 0 14px; padding-left: 18px; color: #cfc6b8; font-size: 14px; line-height: 1.6; }
.spiel-btn { margin-top: auto; align-self: flex-start; }
.spiel-zuletzt { position: absolute; top: 14px; right: 14px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; background: rgba(0, 0, 0, .45); border: 1px solid var(--line); padding: 3px 8px; border-radius: 99px; color: var(--muted); }
.spiel-hinweis { max-width: 680px; margin: 26px auto 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.spiel-wechsel { margin-bottom: 10px; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.leer-box { border: 1px dashed var(--line); border-radius: 12px; padding: 28px; text-align: center; color: var(--muted); }
/* Spiel-Schalter in der Kopfzeile */
.spiel-schalter { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); padding: 2px; gap: 2px; }
.spiel-schalter a { padding: 4px 10px; border-radius: 4px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.spiel-schalter a:hover { color: var(--text); text-decoration: none; }
.spiel-schalter a.active { background: var(--panel-2); color: var(--accent-2); }
@media (max-width: 700px) { .spiel-schalter { display: none; } }

/* ---------- Formular: Link-Zeile, Lootfilter, PoB-Hinweis ---------- */
.form-intro { color: var(--muted); line-height: 1.6; margin: -6px 0 16px; }
.link-zeile { display: flex; gap: 8px; }
.link-zeile input { flex: 1; min-width: 0; }
.filter-box p { margin: 0 0 12px; color: var(--muted); line-height: 1.5; }
.pob-msg { margin: 10px 0 0; }

/* ---------- Passivbaum mit offiziellen Icons und Rahmen ---------- */
svg.baum.mit-icons circle.ic { stroke: none; }
svg.baum.mit-icons .rahmen rect { pointer-events: none; }
svg.baum.mit-icons line { stroke: #3a3126; stroke-width: 12; }
svg.baum.mit-icons line.alloc { stroke: #c9a159; stroke-width: 20; }
svg.baum.mit-icons circle.ic.new { stroke: #ffe27a; stroke-width: 22; }
svg.baum.mit-icons circle.ic.rem { stroke: #d65a4a; stroke-width: 22; }
svg.baum.mit-icons circle.ic.mx { stroke: #5a9fe0; stroke-width: 22; }
svg.baum.mit-icons circle.ic:hover, svg.baum.mit-icons circle.ic.hl { stroke: #fff; stroke-width: 22; }
svg.baum.mit-icons circle.t-m.ic { opacity: .85; }
svg.baum.mit-icons circle.t-m.ic.alloc { opacity: 1; }
/* kleine Icons in Listen (Schlüsselpunkte, Notables, Aszendenz) */
.bicon { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; margin-right: 6px; box-shadow: 0 0 0 1px rgba(200, 160, 90, .55); background-repeat: no-repeat; flex: none; }
.bicon--k { width: 26px; height: 26px; }

/* Klassen-/Aszendenzbild leicht hinter dem Baum, Startporträt der Klasse */
.tree-wrap { position: relative; overflow: hidden; }
.tree-wrap svg.baum { position: relative; z-index: 1; }
.baum-bg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background-repeat: no-repeat; opacity: .13; filter: saturate(.8) blur(.4px); pointer-events: none; border-radius: 50%; z-index: 0;
  -webkit-mask-image: radial-gradient(circle, #000 45%, transparent 72%); mask-image: radial-gradient(circle, #000 45%, transparent 72%); }
svg.baum .starts svg { opacity: .55; pointer-events: none; }
svg.baum .starts svg.start--eigene { opacity: 1; }
.bchip { display: inline-flex; align-items: center; }
.asc-card b { display: flex; align-items: center; }

/* ---------- Karussell „Top-Builds“ ---------- */
.karussell { position: relative; margin: 22px 0 6px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0d0b09; min-height: 300px; }
.k-folien { position: relative; min-height: 300px; }
.k-folie { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr minmax(280px, 1.1fr); align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.k-folie.aktiv { opacity: 1; visibility: visible; transition: opacity .9s ease; position: relative; }
.k-folie--poe1 { background: radial-gradient(90% 120% at 25% 50%, rgba(196, 120, 48, .28), transparent 60%), linear-gradient(90deg, #1b130c, #0d0b09 70%); }
.k-folie--poe2 { background: radial-gradient(90% 120% at 25% 50%, rgba(64, 136, 196, .28), transparent 60%), linear-gradient(90deg, #0f1820, #0b0d10 70%); }
.k-kunst { position: relative; height: 100%; min-height: 300px; display: grid; place-items: center; overflow: hidden; }
/* Aszendenz-Bild als bewegte „Bühne“: zwei Ebenen (scharf vorne, unscharf dahinter) schweben gegeneinander,
   neigen sich leicht zur Maus, darüber ein wandernder Lichtschimmer und Partikel passend zum Element. */
.k-licht { position: absolute; inset: -20%; background: radial-gradient(40% 45% at 50% 50%, var(--fx-farbe, rgba(201,164,92,.35)), transparent 70%); animation: k-pulsen 5s ease-in-out infinite; }
.k-buehne { position: absolute; inset: 0; perspective: 900px; transform-style: preserve-3d;
  transform: rotateY(calc(var(--mx, 0) * 7deg)) rotateX(calc(var(--my, 0) * -6deg)); transition: transform .6s ease-out; }
.k-asc { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background-repeat: no-repeat; border-radius: 50%; }
.k-asc--vorne { opacity: .82; -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 71%); mask-image: radial-gradient(circle, #000 52%, transparent 71%); }
.k-asc--vorne::after { content: ""; position: absolute; inset: 0; border-radius: 50%; mix-blend-mode: screen; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 244, 220, .22) 50%, transparent 62%); background-size: 260% 100%; animation: k-glanz 7s ease-in-out infinite; }
.k-asc--tiefe { opacity: .45; filter: blur(22px) saturate(1.5); }
.k-folie.aktiv .k-asc--vorne { animation: k-schweben 16s ease-in-out infinite alternate; }
.k-folie.aktiv .k-asc--tiefe { animation: k-schweben-tief 16s ease-in-out infinite alternate; }
@keyframes k-schweben {
  0% { transform: translate(-50%, -50%) scale(1.12) rotateY(-9deg) rotateX(4deg); }
  50% { transform: translate(-50%, -53%) scale(1.04) rotateY(0deg) rotateX(-3deg); }
  100% { transform: translate(-50%, -50%) scale(1.09) rotateY(9deg) rotateX(4deg); }
}
@keyframes k-schweben-tief {
  0% { transform: translate(-46%, -50%) scale(1.45); }
  50% { transform: translate(-50%, -46%) scale(1.3); }
  100% { transform: translate(-54%, -50%) scale(1.4); }
}
@keyframes k-glanz { 0%, 30% { background-position: 120% 0; } 70%, 100% { background-position: -120% 0; } }
@keyframes k-pulsen { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

/* Partikel */
.k-partikel { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.k-partikel i { position: absolute; left: var(--x); bottom: -10px; width: var(--g); height: var(--g); border-radius: 50%;
  background: var(--fx-teilchen, #f3d9a0); box-shadow: 0 0 8px 2px var(--fx-schein, rgba(243, 217, 160, .6)); opacity: 0;
  animation: k-steigen var(--t) linear var(--d) infinite; }
.k-folie:not(.aktiv) .k-partikel i { animation-play-state: paused; }
@keyframes k-steigen {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .9; }
  80% { opacity: .7; }
  100% { transform: translate(var(--drift), -330px); opacity: 0; }
}
.k-fx--staub { --fx-farbe: rgba(201, 164, 92, .30); --fx-teilchen: #f3d9a0; --fx-schein: rgba(243, 217, 160, .55); }
.k-fx--glut { --fx-farbe: rgba(224, 92, 40, .38); --fx-teilchen: #ffb36b; --fx-schein: rgba(255, 120, 40, .8); }
.k-fx--blitz { --fx-farbe: rgba(90, 160, 255, .34); --fx-teilchen: #e6f2ff; --fx-schein: rgba(120, 180, 255, .9); }
.k-fx--frost { --fx-farbe: rgba(120, 190, 230, .30); --fx-teilchen: #eaf8ff; --fx-schein: rgba(170, 220, 255, .7); }
.k-fx--chaos { --fx-farbe: rgba(170, 70, 200, .34); --fx-teilchen: rgba(180, 80, 220, .35); --fx-schein: rgba(150, 60, 200, .4); }
/* Frost: Flocken fallen statt steigen */
.k-fx--frost .k-partikel i { bottom: auto; top: -10px; animation-name: k-fallen; }
@keyframes k-fallen { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translate(var(--drift), 330px); opacity: 0; } }
/* Chaos: große, weiche Schwaden */
.k-fx--chaos .k-partikel i { filter: blur(10px); box-shadow: none; animation-duration: calc(var(--t) * 1.8); }
/* Blitz: schnelle Funken, gelegentliches Aufleuchten */
.k-fx--blitz .k-partikel i { animation-duration: calc(var(--t) * .45); }
.k-blitzschlag { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(60% 60% at 50% 45%, rgba(190, 220, 255, .45), transparent 70%); }
.k-folie.aktiv .k-fx--blitz .k-blitzschlag { animation: k-blitz 6.5s linear infinite; }
@keyframes k-blitz { 0%, 61%, 63%, 66%, 100% { opacity: 0; } 62% { opacity: 1; } 64.5% { opacity: .7; } }

.k-item { position: absolute; right: 7%; bottom: 9%; max-height: 150px; max-width: 34%; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .85)); }
.k-folie.aktiv .k-item { animation: k-wippen 6s ease-in-out infinite; }
@keyframes k-wippen { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Schlüssel-Items: kleiner Fächer aus 2–3 Item-Plättchen, das wichtigste vorne in der Mitte.
   Schein in der Seltenheitsfarbe, versetztes Schweben, Name beim Drüberfahren/Antippen.
   Bewegung nur über rotate/translate/scale/opacity (kein Neu-Layout). */
.k-beute { position: absolute; right: 55%; bottom: 30px; z-index: 1; }
.k-beute-titel { display: none; }
.k-beute ul { position: relative; display: flex; align-items: flex-end; list-style: none; margin: 0; padding: 0; }
.k-stueck { --rar: #c8c8c8; --rar-hell: #e6e6e6; --rar-schein: rgba(200, 200, 200, .28); order: 2; margin: 0 -7px 12px; z-index: 2; outline: none; cursor: default; -webkit-tap-highlight-color: transparent; }
.k-stueck:nth-child(2) { order: 1; margin-bottom: 0; z-index: 1; }
.k-stueck:nth-child(3) { order: 3; margin-bottom: 0; z-index: 1; }
.k-beute--1 .k-stueck { margin-bottom: 0; }
.k-r--unique { --rar: #af6025; --rar-hell: #e9a468; --rar-schein: rgba(214, 118, 42, .55); }
.k-r--relic { --rar: #82ad6a; --rar-hell: #b5dc9f; --rar-schein: rgba(130, 173, 106, .5); }
.k-r--rare { --rar: #d9d35c; --rar-hell: #ffff77; --rar-schein: rgba(255, 255, 119, .32); }
.k-r--magic { --rar: #7c7ce6; --rar-hell: #a9a9ff; --rar-schein: rgba(136, 136, 255, .42); }
.k-platte { position: relative; display: grid; place-items: center; width: 90px; height: 108px; border-radius: 11px; overflow: hidden;
  border: 1px solid var(--rar);
  background: radial-gradient(110% 70% at 50% 0%, var(--rar-schein), transparent 62%), radial-gradient(90% 55% at 50% 108%, var(--rar-schein), transparent 70%), linear-gradient(180deg, #211a13, #0c0a08);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .75), 0 0 26px -4px var(--rar-schein), inset 0 0 0 1px rgba(255, 255, 255, .05), inset 0 0 20px -8px var(--rar);
  rotate: var(--dreh, 0deg); transition: rotate .35s ease, scale .35s cubic-bezier(.2, .8, .2, 1.3), box-shadow .35s ease; }
.k-stueck:nth-child(2) .k-platte, .k-stueck:nth-child(3) .k-platte { width: 70px; height: 86px; }
.k-stueck:nth-child(2) .k-platte { --dreh: -9deg; }
.k-stueck:nth-child(3) .k-platte { --dreh: 9deg; }
.k-beute--2 .k-stueck:nth-child(1) .k-platte { --dreh: 4deg; }
.k-platte img { max-width: 84%; max-height: 88%; object-fit: contain; filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .85)); pointer-events: none; user-select: none; }
/* Lichtstreif, der einmal über das Plättchen läuft, wenn die Folie erscheint */
.k-platte::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 55%; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 244, 220, .30), transparent); transform: translateX(-140%) skewX(-14deg); }
.k-folie.aktiv .k-platte { animation: k-beute-rein .7s cubic-bezier(.2, .9, .3, 1.25) calc(.25s + var(--n, 0) * .13s) backwards,
  k-beute-schweben 6.5s ease-in-out calc(var(--n, 0) * -2.1s) infinite; }
.k-folie.aktiv .k-platte::after { animation: k-beute-glanz 1.1s ease-out calc(.75s + var(--n, 0) * .16s) 1; }
@keyframes k-beute-rein { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
@keyframes k-beute-schweben { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes k-beute-glanz { 0% { opacity: 1; transform: translateX(-140%) skewX(-14deg); } 100% { opacity: 1; transform: translateX(330%) skewX(-14deg); } }
.k-stueck:hover, .k-stueck:focus { z-index: 3; }
.k-stueck:hover .k-platte, .k-stueck:focus .k-platte { rotate: 0deg; scale: 1.1; box-shadow: 0 18px 32px rgba(0, 0, 0, .8), 0 0 34px 0 var(--rar-schein), inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 22px -6px var(--rar); }
.k-stueck:focus-visible .k-platte { outline: 2px solid var(--rar-hell); outline-offset: 2px; }
.k-stueck-name { position: absolute; left: 50%; bottom: calc(100% + 16px); transform: translate(-50%, 6px); width: max-content; max-width: 260px; padding: 5px 12px 6px; border-radius: 7px;
  text-align: center; font-family: var(--font-item); font-size: 15px; line-height: 1.25; color: var(--rar-hell);
  background: rgba(12, 10, 8, .92); border: 1px solid var(--rar); box-shadow: 0 8px 20px rgba(0, 0, 0, .7);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 4; }
.k-stueck-name small { display: block; font-size: 12px; opacity: .8; }
.k-stueck:hover .k-stueck-name, .k-stueck:focus .k-stueck-name { opacity: 1; transform: translate(-50%, 0); }
.k-beute ul:hover .k-stueck:focus:not(:hover) .k-stueck-name { opacity: 0; }
.karussell.zieht .k-stueck-name { opacity: 0; }
.k-inhalt { padding: 28px 34px 30px 10px; }
.k-tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.k-rang { font-family: var(--font-title); color: var(--gold, #e2b85c); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-right: 6px; }
.k-inhalt h2 { font-family: var(--font-title); font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 6px; line-height: 1.2; }
.k-inhalt h2 a { color: var(--text); }
.k-meta { color: var(--muted); margin: 0 0 10px; }
.k-text { margin: 0 0 14px; line-height: 1.55; color: #d8cfc2; max-width: 560px; }
.k-werte { display: flex; gap: 22px; margin-bottom: 18px; flex-wrap: wrap; }
.k-werte small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.k-werte b { font-family: var(--font-title); font-size: 22px; color: var(--accent-2); }
.k-punkte { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.k-punkte button { width: 26px; height: 6px; border-radius: 3px; border: 0; background: rgba(255, 255, 255, .22); cursor: pointer; padding: 0; transition: background .3s, width .3s; }
.k-punkte button.aktiv { background: var(--accent-2); width: 40px; }
@media (max-width: 760px) {
  .k-folie { grid-template-columns: 1fr; }
  .k-kunst { min-height: 170px; position: absolute; inset: 0; opacity: .35; }
  .k-item { display: none; }
  .k-inhalt { position: relative; padding: 22px 18px 34px; }
  /* Handy: Schlüssel-Items als kleine Reihe unter den Werten, Name erscheint beim Antippen daneben */
  .k-beute { position: static; margin: -4px 0 18px; }
  .k-beute-titel { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
  .k-beute ul { display: inline-flex; align-items: center; gap: 8px; }
  .k-stueck, .k-stueck:nth-child(2), .k-stueck:nth-child(3) { order: 0; margin: 0; }
  .k-platte, .k-stueck:nth-child(2) .k-platte, .k-stueck:nth-child(3) .k-platte { width: 48px; height: 48px; border-radius: 9px; --dreh: 0deg;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .7), 0 0 14px -4px var(--rar-schein), inset 0 0 14px -8px var(--rar); }
  .k-folie.aktiv .k-platte { animation: k-beute-rein .6s cubic-bezier(.2, .9, .3, 1.25) calc(.2s + var(--n, 0) * .1s) backwards; }
  .k-stueck:hover .k-platte, .k-stueck:focus .k-platte { scale: 1.06; }
  .k-stueck-name { left: calc(100% + 10px); bottom: auto; top: 50%; transform: translate(-4px, -50%); max-width: 42vw; text-align: left; font-size: 14px; padding: 4px 10px 5px; }
  .k-stueck:hover .k-stueck-name, .k-stueck:focus .k-stueck-name { transform: translate(0, -50%); }
}
@media (prefers-reduced-motion: reduce) { .k-folie, .k-folie.aktiv { transition: none; } .k-folie.aktiv .k-asc, .k-folie.aktiv .k-item, .k-folie.aktiv .k-platte, .k-folie.aktiv .k-platte::after, .k-licht, .k-partikel i, .k-folie.aktiv .k-blitzschlag, .k-asc--vorne::after { animation: none; } .k-partikel { display: none; } .k-buehne { transform: none; } .k-platte, .k-stueck-name { transition: none; } }

/* ---------- PoE2: Skill-Gems mit eigenen Support-Sockeln ---------- */
.skills2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.sk { border: 1px solid var(--line-soft, #2a231c); border-radius: 10px; padding: 12px; background: linear-gradient(180deg, rgba(27, 162, 155, .06), rgba(0, 0, 0, .15)); }
.sk.is-main { border-color: rgba(200, 121, 47, .6); box-shadow: 0 0 0 1px rgba(200, 121, 47, .25) inset; }
.sk-kopf { display: flex; align-items: center; gap: 10px; font-family: var(--font-item); }
.sk-kopf .g-name { color: #1ba29b; font-size: 17px; }
.sk-titel { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sk-titel small, .sk-quelle { color: var(--muted); font-family: var(--font-ui); font-size: 12px; }
.sk-ic { display: inline-block; flex: none; border-radius: 8px; background-repeat: no-repeat; box-shadow: 0 0 0 1px rgba(27, 162, 155, .45), 0 2px 8px rgba(0, 0, 0, .6); }
.sk-ic--leer { background: radial-gradient(circle at 35% 30%, #3fd0c7, #0c4a45 70%); }
.sk-meta-skills { margin: 8px 0 0 56px; display: grid; gap: 4px; }
.sk-meta { display: flex; align-items: center; gap: 8px; font-family: var(--font-item); }
.sk-meta .g-name { color: #8fd3cd; }
.sk-meta small { margin-left: auto; color: var(--muted); font-family: var(--font-ui); }
.sk-sockel { margin-top: 10px; display: grid; gap: 4px; padding-left: 22px; border-left: 2px solid rgba(143, 211, 205, .22); margin-left: 22px; }
.sk-sup { display: flex; align-items: center; gap: 8px; font-family: var(--font-item); font-size: 14px; color: #c9e8e4; padding: 2px 4px; border-radius: 6px; }
.sk-loch { position: relative; width: 26px; height: 26px; border-radius: 50%; flex: none; background: radial-gradient(circle, #10201f 55%, #2f4f4c 56%, #1a2f2d 75%); box-shadow: 0 0 0 1px #3d6763; display: grid; place-items: center; overflow: hidden; }
.sk-loch .sk-ic { border-radius: 50%; box-shadow: none; }
.sk-frei { color: var(--muted); font-size: 12px; font-style: italic; }
.sk-frei .sk-loch { opacity: .5; }
.skills2 .gem[data-gem] { margin: 0; }
.skills2 .gem { justify-content: flex-start; font-size: 14px; }
.skills2 .gem.support .g-name { padding-left: 0; color: #c9e8e4; }
.skills2 .gem.support .g-name::before { content: none; }
.skills2 .sk-kopf.gem { font-size: 15px; }
/* PoE2: keine Web-Rahmen vorhanden → Ring um die Icons, golden wenn verteilt */
svg.baum.ohne-rahmen circle.ic { stroke: #4a3f31; stroke-width: 7; }
svg.baum.ohne-rahmen circle.ic.t-n { stroke-width: 10; }
svg.baum.ohne-rahmen circle.ic.t-k { stroke-width: 14; }
svg.baum.ohne-rahmen circle.ic.alloc { stroke: #d9b066; stroke-width: 12; }
svg.baum.ohne-rahmen circle.ic.t-n.alloc, svg.baum.ohne-rahmen circle.ic.t-k.alloc { stroke-width: 16; }
.bicon--m { width: 26px; height: 26px; box-shadow: none; }
.mastery-list li b { display: flex; align-items: center; }

/* ---------- Gut zu wissen (Sonder-Setups) ---------- */
.gzw { border-color: #4a3a26; background: linear-gradient(180deg, rgba(201,164,92,.07), rgba(201,164,92,0) 120px), var(--panel); }
.gzw > h2 { color: var(--gold); }
.gzw-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gzw-item { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.gzw-item + .gzw-item { padding-top: 14px; border-top: 1px solid var(--line-soft); }
.gzw-icon { width: 40px; height: 40px; border-radius: 50%; background-repeat: no-repeat; box-shadow: 0 0 0 2px #6b5634, 0 0 14px rgba(201,164,92,.25); margin-top: 2px; }
.gzw-icon--leer { background: radial-gradient(circle at 50% 40%, #3b2f22, #1a1612); position: relative; }
.gzw-icon--leer::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); font-family: var(--font-title); font-size: 18px; }
.gzw-titel { display: block; font-size: 15px; color: var(--text); margin-bottom: 3px; }
.gzw-item p { margin: 0; font-size: 14px; line-height: 1.55; color: #c9bfb2; }
.gzw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gzw-ks { font-size: 12px; padding: 2px 8px; border-radius: 10px; border: 1px solid #5a4630; color: var(--accent-2); cursor: help; background: rgba(200,121,47,.08); }
.gzw-hinweis { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.gzw-ks { font: inherit; font-size: 12px; cursor: pointer; }
.gzw-ks[aria-expanded="true"] { background: rgba(200,121,47,.22); border-color: var(--accent); color: #f3d3a8; }
.gzw-original { margin-top: 8px; padding: 8px 10px; border-left: 2px solid var(--accent); background: rgba(0,0,0,.25); font-size: 13px; color: #b9a98f; display: grid; gap: 2px; }
.gzw-original b { color: var(--accent-2); font-weight: 600; }
.gzw-original[hidden] { display: none; }

/* ---------- Sternebewertung ---------- */
.bewertung .panel-body { display: grid; gap: 10px; }
.bw-stand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 26px; }
.bw-anzeige { position: relative; display: inline-block; font-size: 20px; line-height: 1; letter-spacing: 2px; }
.bw-leer { color: #3d332a; }
.bw-voll { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--gold); text-shadow: 0 0 8px rgba(201,164,92,.35); }
.bw-text { font-size: 13px; color: var(--muted); }
.bw-text b { color: var(--text); font-size: 15px; }
.bw-frage { font-size: 13px; color: var(--text); margin-top: 4px; }
.bw-sterne { display: flex; gap: 4px; }
.bw-stern { font-size: 30px; line-height: 1; color: #4a3d30; text-decoration: none; transition: color .12s, transform .12s; padding: 0 2px; }
.bw-stern.an, .bw-stern:focus-visible { color: var(--accent-2); transform: translateY(-1px); text-decoration: none; }
.bw-hinweis { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.bw-loeschen { font-size: 12px; color: var(--muted); justify-self: start; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 50; max-width: min(520px, calc(100vw - 32px));
  padding: 12px 16px; border-radius: 6px; font-size: 14px; line-height: 1.45; box-shadow: 0 10px 30px rgba(0,0,0,.6); transition: opacity .3s, transform .3s; }
.toast.sichtbar { opacity: 1; transform: translate(-50%, 0); }
.toast--ok { background: #1d2a18; border: 1px solid #4f7a3f; color: #d6ecc9; }
.toast--info { background: #2a2216; border: 1px solid #6b5634; color: #ecdcc0; }

/* ---------- Löschen, Fußzeile, Rechtstexte ---------- */
.btn--gefahr { color: #e7a497; border-color: #6b3a32; }
.btn--gefahr:hover { background: rgba(214, 90, 74, .14); border-color: var(--danger); color: #f3c3b9; }
.fuss-links { font-size: 14px; }
.fuss-links a { color: var(--text); }
.recht { max-width: 820px; padding: 30px 0 50px; line-height: 1.65; }
.recht h1 { font-family: var(--font-title); font-size: 28px; margin: 0 0 14px; }
.recht h2 { font-size: 17px; margin: 26px 0 6px; color: var(--accent-2); }
.recht h3 { font-size: 15px; margin: 18px 0 4px; color: #ead9c4; }
.recht p, .recht li { color: #d3c9bc; font-size: 15px; overflow-wrap: anywhere; }
.recht ul { padding-left: 20px; }
.recht .fehlt { border: 1px dashed var(--danger); color: #f0b4a8; padding: 10px 14px; border-radius: 4px; }
.recht .stand { color: var(--muted); font-size: 13px; margin-top: 30px; }

/* ---------- Seitensprache DE/EN (Kopf) ---------- */
.ui-sprache { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); padding: 2px; gap: 2px; }
.ui-sprache button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 4px 7px 3px; border-radius: 4px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1; min-width: 38px; }
.ui-sprache .flagge { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); filter: grayscale(.55) brightness(.75); transition: filter .15s, transform .15s; }
.ui-sprache button:hover .flagge { filter: none; }
.ui-sprache button.active { background: var(--panel-2); color: var(--accent-2); }
.ui-sprache button.active .flagge { filter: none; box-shadow: 0 0 0 1px var(--accent-2); }
.ui-sprache button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 1px; }

/* ===== Kontaktformular ===== */
.kontakt { padding: 30px 0 50px; }
.field input[type=email] {
  width: 100%; background: #0f0d0b; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; color: var(--text);
}
.kontakt .kontakt-ds { margin: 0; font-size: 13px; color: var(--muted); }
.kontakt-honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .kontakt .row-2 { grid-template-columns: 1fr; } }

/* =====================================================================
   „Build teilen“ hervorgehoben: Kopf-Schaltfläche, Handy-Navigation,
   Startseiten-Zeile, Abschnitt „So lebt …“, Einladungskarte im Raster
   ===================================================================== */
.btn .ic, .teilen-pille .ic { flex: none; }
.btn--gross { padding: 12px 22px; font-size: 16px; border-radius: 6px; }
/* Glanz: wärmerer Verlauf, goldener Rand, weicher Schein */
.btn--glanz, .btn--kopf {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #b5642a, #7a3d14 55%, #5c2f10);
  border-color: #e0a05a; color: #fff3e2;
  box-shadow: inset 0 1px 0 rgba(255, 236, 205, .32), 0 0 0 1px rgba(0, 0, 0, .5), 0 6px 22px rgba(200, 121, 47, .34);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .45);
  transition: box-shadow .2s, transform .15s, filter .15s;
}
.btn--glanz:hover, .btn--kopf:hover, .card--teilen:hover .btn--glanz {
  filter: brightness(1.1); transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 236, 205, .4), 0 0 0 1px rgba(0, 0, 0, .5), 0 8px 30px rgba(233, 163, 90, .5);
}
.btn--glanz:focus-visible, .btn--kopf:focus-visible, .teilen-pille:focus-visible, .card--teilen:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
/* Lichtstreif, der ab und zu über die Schaltfläche zieht */
.btn--glanz::after, .btn--kopf::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 240, 215, .28), transparent);
  transform: skewX(-18deg); animation: teilen-streif 6s ease-in-out infinite;
}
@keyframes teilen-streif { 0%, 72% { left: -60%; } 100% { left: 130%; } }
.btn--kopf { box-shadow: inset 0 1px 0 rgba(255, 236, 205, .3), 0 0 14px rgba(200, 121, 47, .4); padding: 6px 13px; }

/* Startseite: schlanke Einladung unter dem Einleitungstext */
.spiel-start .spiel-intro { margin-bottom: 18px; }
.teilen-zeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin: 0 auto 30px; color: #cfc3b3; font-size: 15px; }
.teilen-pille {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 99px; font-weight: 600; white-space: nowrap;
  color: var(--accent-2); border: 1px solid rgba(233, 163, 90, .55);
  background: linear-gradient(180deg, rgba(200, 121, 47, .2), rgba(200, 121, 47, .07));
  box-shadow: 0 0 18px rgba(200, 121, 47, .16); transition: background .15s, box-shadow .15s, color .15s, transform .15s;
}
.teilen-pille:hover { text-decoration: none; color: #fff3e2; background: linear-gradient(180deg, rgba(200, 121, 47, .42), rgba(200, 121, 47, .2)); box-shadow: 0 0 24px rgba(233, 163, 90, .34); transform: translateY(-1px); }

/* Startseite: Abschnitt „So lebt Guides of Exile“ */
.lebt { padding: 26px 0 44px; }
.lebt-rahmen {
  position: relative; text-align: center; padding: 44px 36px 38px; border-radius: 14px; border: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(200, 121, 47, .2), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel) 60%, #100e0c);
  box-shadow: inset 0 1px 0 rgba(255, 220, 170, .06), 0 20px 50px rgba(0, 0, 0, .4);
}
/* goldene Zierlinie oben, wie bei einem Item-Kopf */
.lebt-rahmen::before { content: ""; position: absolute; top: -1px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.lebt-ober { margin: 0 0 8px; font-family: var(--font-title); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.lebt h2 { margin: 0 0 12px; font-family: var(--font-title); font-size: clamp(24px, 3.4vw, 34px); line-height: 1.2; color: #f1e2cf; }
.lebt h2::after { content: ""; display: block; width: 120px; height: 9px; margin: 14px auto 0; background: radial-gradient(circle, var(--accent-2) 0 2.5px, transparent 3.5px) center / 9px 9px no-repeat, linear-gradient(90deg, transparent, var(--accent) 40%, transparent 44%, transparent 56%, var(--accent) 60%, transparent) center / 100% 1px no-repeat; }
.lebt-intro { max-width: 640px; margin: 0 auto 30px; color: #bfb3a5; font-size: 16px; line-height: 1.6; }
.lebt-schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; text-align: left; }
.lebt-schritt {
  position: relative; overflow: hidden; padding: 22px 20px 20px; border-radius: 10px; border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255, 220, 170, .035), rgba(0, 0, 0, .22)); transition: border-color .2s, transform .2s;
}
.lebt-schritt:hover { border-color: #6a4a2a; transform: translateY(-2px); }
.lebt-nr { position: absolute; top: -14px; right: 8px; font-family: var(--font-title); font-weight: 700; font-size: 92px; line-height: 1; color: rgba(233, 163, 90, .09); pointer-events: none; }
.lebt-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 14px; border-radius: 50%; color: var(--accent-2); border: 1px solid rgba(233, 163, 90, .45); background: radial-gradient(circle at 50% 30%, rgba(200, 121, 47, .32), rgba(0, 0, 0, .35)); box-shadow: 0 0 18px rgba(200, 121, 47, .2); }
.lebt-schritt h3 { position: relative; margin: 0 0 8px; font-family: var(--font-title); font-size: 17px; line-height: 1.3; color: #f1e2cf; }
.lebt-schritt p { position: relative; margin: 0; color: #bfb3a5; font-size: 14px; line-height: 1.6; }
.lebt-cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lebt-cta p { margin: 0; color: var(--muted); font-size: 14px; }
.lebt-cta .btn--gross { padding: 14px 30px; font-size: 17px; }

/* Spielseite: Einladungskarte am Ende des Rasters */
.card--teilen {
  align-items: center; justify-content: center; text-align: center; gap: 10px; min-height: 170px; padding: 22px 18px;
  border: 1px dashed rgba(233, 163, 90, .5);
  background: radial-gradient(90% 80% at 50% 0%, rgba(200, 121, 47, .2), transparent 70%), linear-gradient(180deg, var(--panel-2), var(--panel));
}
.card--teilen:hover { border-style: solid; border-color: var(--accent-2); box-shadow: 0 10px 30px rgba(200, 121, 47, .18); }
.card--teilen h3 { font-family: var(--font-title); font-size: 18px; }
.card--teilen p { max-width: 300px; }
.card--teilen .btn { margin-top: 4px; }
.teilen-plus { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; font-weight: 300; color: var(--accent-2); border: 1px solid rgba(233, 163, 90, .5); background: rgba(200, 121, 47, .14); box-shadow: 0 0 18px rgba(200, 121, 47, .22); }
.leer-box .btn { margin-top: 6px; }

@media (max-width: 860px) {
  .lebt-schritte { grid-template-columns: minmax(0, 1fr); }
  .lebt-schritt { display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .lebt-icon { grid-row: span 2; margin: 0; }
}
@media (max-width: 640px) {
  /* Handy: „Build teilen“ als Akzent-Pille ganz vorn in der Navigationszeile */
  .nav { align-items: center; padding: 2px 0; }
  .nav a[data-route="submit"] {
    order: -1; margin: 0 6px; padding: 5px 12px; border-radius: 99px; font-weight: 600; color: #fff3e2;
    background: linear-gradient(180deg, #a85a24, #6b3512); border: 1px solid #e0a05a;
    box-shadow: inset 0 1px 0 rgba(255, 236, 205, .28), 0 0 12px rgba(200, 121, 47, .35);
  }
  .nav a[data-route="submit"]::before { content: "+ "; }
  .nav a[data-route="submit"]:hover, .nav a[data-route="submit"].active { background: linear-gradient(180deg, #bb6a2e, #7a3d14); color: #fff; }
  .lebt { padding: 10px 0 32px; }
  .lebt-rahmen { padding: 32px 14px 28px; }
  .lebt-schritt { padding: 18px 14px 16px; }
  .lebt-cta .btn--gross, .hero .actions .btn--gross { width: 100%; justify-content: center; }
  .teilen-zeile { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn--glanz::after, .btn--kopf::after { animation: none; display: none; }
  .btn--glanz, .btn--kopf, .teilen-pille, .lebt-schritt, .btn--glanz:hover, .btn--kopf:hover, .teilen-pille:hover, .lebt-schritt:hover, .card--teilen:hover .btn--glanz { transition: none; transform: none; }
}

/* ===== Karussell: wischen (Finger) und ziehen (Maus) ===== */
.karussell { touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.karussell.zieht { cursor: grabbing; }
.karussell .k-folie.aktiv { transition: opacity .9s ease, transform .3s ease; }
.karussell.zieht .k-folie.aktiv { transform: translateX(calc(var(--zieh, 0px) * .45)); transition: none; }
.karussell a, .karussell img { -webkit-user-drag: none; }
.k-folie.aktiv.k-rein-rechts { animation: k-rein-rechts .5s cubic-bezier(.2, .8, .2, 1); }
.k-folie.aktiv.k-rein-links { animation: k-rein-links .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes k-rein-rechts { from { transform: translateX(70px); } to { transform: none; } }
@keyframes k-rein-links { from { transform: translateX(-70px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .karussell.zieht .k-folie.aktiv { transform: none; }
  .k-folie.aktiv.k-rein-rechts, .k-folie.aktiv.k-rein-links { animation: none; }
}

/* ===== Build-Seite: Stärken & Schwächen als eigene Kästchen ===== */
.pk-kaesten { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.pk-kasten { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 12px; background: var(--panel); }
.pk-kasten--pro { border-color: #34502c; background: linear-gradient(180deg, rgba(127, 179, 106, .08), rgba(127, 179, 106, 0) 90px), var(--panel); }
.pk-kasten--contra { border-color: #5a2e28; background: linear-gradient(180deg, rgba(214, 90, 74, .08), rgba(214, 90, 74, 0) 90px), var(--panel); }
.pk-kasten h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-ui); }
.pk-kasten--pro h2 { color: var(--ok); }
.pk-kasten--contra h2 { color: #e98a7c; }
.pk-zeichen { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 15px; line-height: 1; font-weight: 700; }
.pk-kasten--pro .pk-zeichen { background: rgba(127, 179, 106, .18); color: var(--ok); }
.pk-kasten--contra .pk-zeichen { background: rgba(214, 90, 74, .18); color: #e98a7c; }
.pk-kasten ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.pk-kasten li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.45; color: #d7ccbe; }
.pk-kasten li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; border-radius: 50%; }
.pk-kasten--pro li::before { background: var(--ok); }
.pk-kasten--contra li::before { background: var(--danger); }

/* Langer Beschreibungstext: am Handy gekürzt mit „Weiterlesen“ */
.quote-mehr { display: none; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--accent-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
@media (max-width: 640px) {
  .pk-kaesten { grid-template-columns: 1fr; gap: 10px; }
  .quote--lang:not(.quote--offen) { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
  .quote-mehr { display: inline-block; }
}

/* ===== Passivbaum-Übersicht: aufklappbare Reiter ===== */
.baum-summary { gap: 8px; }
details.bs-row { display: block; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--bg-2); }
details.bs-row > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; user-select: none; }
details.bs-row > summary::-webkit-details-marker { display: none; }
details.bs-row > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
details.bs-row[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
details.bs-row > summary:hover, details.bs-row[open] > summary { color: var(--accent-2); }
.bs-anzahl { font-size: 11px; padding: 1px 7px; border-radius: 99px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); letter-spacing: 0; }
details.bs-row > div { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 12px 12px; }
details.bs-row > .mastery-list { padding: 0 12px 12px; }
@media (prefers-reduced-motion: reduce) { details.bs-row > summary::after { transition: none; } }

/* ===== Guides-Seite: Suche und Filter ===== */
.guides-seite { padding: 30px 0 50px; }
.gs-kopf h1 { font-family: var(--font-title); font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 6px; color: #f1e2cf; }
.gs-kopf p { margin: 0 0 22px; color: var(--muted); max-width: 640px; line-height: 1.55; }
.gs-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 22px; align-items: start; }
.gs-filter { position: sticky; top: 76px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); max-height: calc(100vh - 92px); overflow: auto; }
.gs-filter > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-family: var(--font-title); font-size: 15px; letter-spacing: .06em; color: var(--accent-2); border-bottom: 1px solid var(--line-soft); }
.gs-filter > summary::-webkit-details-marker { display: none; }
.gs-filter > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.gs-filter[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.gs-filter-anzahl:not(:empty) { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0; padding: 1px 8px; border-radius: 99px; background: var(--accent); color: #fff; }
.gs-filter-inhalt { padding: 14px 16px 16px; display: grid; gap: 16px; }
.gs-feld { display: grid; gap: 6px; }
.gs-feld > label, .gs-label { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.gs-feld input[type=search], .gs-feld select, .gs-sort select { width: 100%; background: #0f0d0b; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; color: var(--text); font: inherit; font-size: 14px; }
.gs-feld input:focus, .gs-feld select:focus, .gs-sort select:focus { outline: 2px solid rgba(200, 121, 47, .5); border-color: var(--accent); }
.gs-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gs-segmente { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); padding: 2px; gap: 2px; }
.gs-seg { border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; padding: 6px 4px; border-radius: 3px; cursor: pointer; }
.gs-seg.aktiv { background: var(--panel-2); color: var(--accent-2); }
.gs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gs-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; font-size: 13px; padding: 4px 10px; border-radius: 99px; cursor: pointer; transition: border-color .15s, background .15s; }
.gs-chip span { font-size: 11px; color: var(--muted); }
.gs-chip:hover:not(:disabled) { border-color: var(--accent); }
.gs-chip.aktiv { background: rgba(200, 121, 47, .2); border-color: var(--accent); color: #fbe6cf; }
.gs-chip.aktiv span { color: #f3c99a; }
.gs-chip:disabled { opacity: .4; cursor: default; }
.gs-zuruecksetzen { justify-self: start; border: 0; background: none; padding: 0; color: var(--accent-2); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.gs-leiste { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.gs-sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.gs-sort select { width: auto; }
.gs-leer { grid-column: 1 / -1; }
.gs-leer .btn { margin-top: 10px; }
.section-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-link { font-size: 14px; color: var(--accent-2); white-space: nowrap; }
.tag--mehr { opacity: .75; }
/* Formular: Einordnung in Gruppen */
.tag-gruppen { display: grid; gap: 12px; }
.tag-gruppe { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: start; }
.tag-gruppe-titel { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; padding-top: 7px; }
@media (max-width: 760px) {
  .gs-layout { grid-template-columns: 1fr; gap: 14px; }
  .gs-filter { position: static; max-height: none; }
  .tag-gruppe { grid-template-columns: 1fr; gap: 6px; }
  .tag-gruppe-titel { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .gs-filter > summary::after, .gs-chip { transition: none; } }

/* ===== Passivbaum: flüssig scrollen und bedienen ===== */
/* Eigene Ebene: Beim Scrollen der Seite wird der Baum nur verschoben, nicht jedes Mal neu gezeichnet */
.tree-wrap { contain: layout paint; }
svg.baum { will-change: transform; touch-action: none; }
/* Handy: gesperrt scrollt ein Finger die Seite; nach Antippen ist der Baum frei beweglich */
.tree-wrap.baum-gesperrt svg.baum { touch-action: pan-y; cursor: default; }
.tree-wrap.baum-frei { box-shadow: inset 0 0 0 2px rgba(200, 121, 47, .65); }
/* Detailstufe: weit herausgezoomt oder während der Bewegung einfache Farben statt Bildmustern */
svg.baum.fern circle.ic, svg.baum.bewegt circle.ic { fill: #3d352c !important; }
svg.baum.fern circle.ic.alloc, svg.baum.bewegt circle.ic.alloc { fill: #d9b066 !important; }
svg.baum.fern circle.ic.t-k, svg.baum.bewegt circle.ic.t-k { fill: #5a4a35 !important; }
svg.baum.fern circle.ic.t-k.alloc, svg.baum.bewegt circle.ic.t-k.alloc { fill: #f0b45a !important; }
svg.baum.fern .rahmen, svg.baum.bewegt .rahmen { display: none; }
.baum-hinweis { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; max-width: calc(100% - 24px); padding: 6px 14px; border-radius: 99px; background: rgba(11, 10, 9, .9); border: 1px solid var(--line); color: var(--text); font-size: 13px; text-align: center; line-height: 1.35; opacity: 0; pointer-events: none; transition: opacity .2s; }
.baum-hinweis.sichtbar { opacity: 1; }
.baum-fertig { position: absolute; top: 10px; right: 10px; z-index: 3; display: none; padding: 6px 14px; border-radius: var(--radius); border: 1px solid #b0652a; background: linear-gradient(180deg, #8a4a1c, #5c2f10); color: #fbe6cf; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tree-wrap.baum-frei .baum-fertig { display: inline-block; }
/* Karussell: Animationen ruhen, solange es nicht zu sehen ist */
.karussell.ruht, .karussell.ruht * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .baum-hinweis { transition: none; } }

/* ===== Übersetzte Guide-Texte ===== */
[data-v][hidden] { display: none !important; }
.ue-hinweis { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.ue-hinweis::before { content: "⇄"; color: var(--accent-2); font-size: 13px; }
.ue-umschalten { border: 0; background: none; padding: 0; color: var(--accent-2); font: inherit; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* Redaktions-Guides ohne Autor: kein Avatar */
.author-box--redaktion { grid-template-columns: 1fr; }
/* ---------- „Auf einen Blick“ im Kopf der Build-Seite ---------- */
.kurzprofil { margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; max-width: 760px; padding: 9px 14px 9px 12px; border-left: 3px solid var(--accent-2); background: linear-gradient(90deg, rgba(200, 140, 70, .12), rgba(200, 140, 70, 0) 85%); border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; line-height: 1.45; color: var(--text); }
.kurzprofil .kp-label { flex-basis: 100%; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 2px; }
.kurzprofil b { color: #f3dcb8; font-weight: 700; }
.kurzprofil .kp-teil::before { content: "·"; color: var(--muted); padding: 0 8px; }
.kurzprofil b + .kp-teil::before { content: "–"; }
@media (max-width: 640px) { .kurzprofil { font-size: 14px; padding: 8px 10px; } }
