/* =========================================================================
   Grafik-Update: Stil nach dem Startmenü-Entwurf (Oktober 2026)
   Dunkle Kontur #0B1433, Lilita One für Überschriften, Nunito 800/900 für Text,
   blaues Rautenmuster, Knöpfe mit 3D-Kante, Gold als Akzent.
   ========================================================================= */
@font-face { font-family: 'Lilita One'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/lilita-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lilita One'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/lilita-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(fonts/nunito-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(fonts/nunito-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0B1433; --accent: #FFC629; --accentL: #FFDD7F; --accentD: #A6811B;
  --ground: #1B4396; --groundL: #46659D; --groundD: #0E224B;
  --panel: #0F2A5C; --panelEdge: #2D57A8; --muted: #B9CCF5; --soft: #DCE7FF;
  --blueT: #4F8DFF; --blueB: #2F5FD0; --blueE: #1E3F9A;
  --head: 'Lilita One', 'Nunito', sans-serif;
}
.ko { text-shadow: 0 2px 0 var(--ink), 1.5px 0 0 var(--ink), -1.5px 0 0 var(--ink), 0 -1.5px 0 var(--ink), 1.5px 1.5px 0 var(--ink), -1.5px 1.5px 0 var(--ink), 1.5px -1.5px 0 var(--ink), -1.5px -1.5px 0 var(--ink); }
.ko-lg { text-shadow: 0 4px 0 var(--ink), 2.5px 0 0 var(--ink), -2.5px 0 0 var(--ink), 0 -2.5px 0 var(--ink), 2.5px 2.5px 0 var(--ink), -2.5px 2.5px 0 var(--ink), 2.5px -2.5px 0 var(--ink), -2.5px -2.5px 0 var(--ink), 2px 4px 0 var(--ink), -2px 4px 0 var(--ink); }
.ko-xl { text-shadow: 0 5px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink), 3px 3px 0 var(--ink), -3px 3px 0 var(--ink), 3px -3px 0 var(--ink), -3px -3px 0 var(--ink), 2px 5px 0 var(--ink), -2px 5px 0 var(--ink), 0 8px 8px rgba(0,0,0,.35); }

/* ---------- Grundlagen ---------- */
body { font-family: 'Nunito', sans-serif; font-weight: 800; background: var(--groundD); }
.bgPattern, #home, #login, .overlay .modalBox, #pass, #road {
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.045) 0 2px, transparent 2px 24px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.045) 0 2px, transparent 2px 24px),
    radial-gradient(ellipse 115% 62% at 50% 44%, var(--groundL) 0%, var(--ground) 58%, var(--groundD) 100%);
}
h1, h2, h3 { font-family: var(--head); font-weight: 400; letter-spacing: .3px;
  text-shadow: 0 2px 0 var(--ink), 1.5px 0 0 var(--ink), -1.5px 0 0 var(--ink), 0 -1.5px 0 var(--ink), 1.5px 1.5px 0 var(--ink), -1.5px 1.5px 0 var(--ink), 1.5px -1.5px 0 var(--ink), -1.5px -1.5px 0 var(--ink); }
h2 { font-size: 22px; } h3 { font-size: 17px; }
.hint { font-weight: 700; opacity: .85; color: var(--soft); }
a { color: var(--accent); }

/* Knöpfe: Verlauf, dicke Kontur, Kante unten innen, Schatten */
button, .btn {
  font-family: var(--head); font-weight: 400; font-size: 16px; letter-spacing: .3px; color: #fff;
  border: 2.5px solid var(--ink); border-radius: 14px; padding: 10px 16px;
  background: linear-gradient(180deg, var(--accentL) 0%, var(--accent) 55%);
  box-shadow: inset 0 -5px 0 var(--accentD), inset 0 2px 0 rgba(255,255,255,.55), 0 3px 0 rgba(0,0,0,.3);
  text-shadow: 0 2px 0 var(--ink), 1.5px 0 0 var(--ink), -1.5px 0 0 var(--ink), 0 -1.5px 0 var(--ink), 1.5px 1.5px 0 var(--ink), -1.5px 1.5px 0 var(--ink), 1.5px -1.5px 0 var(--ink), -1.5px -1.5px 0 var(--ink);
}
button:active { transform: translateY(2px); box-shadow: inset 0 -3px 0 var(--accentD), inset 0 2px 0 rgba(255,255,255,.4), 0 1px 0 rgba(0,0,0,.3); }
button.blue { background: linear-gradient(180deg, #5FA0FF 0%, var(--blueB) 100%); box-shadow: inset 0 -5px 0 var(--blueE), inset 0 2px 0 rgba(255,255,255,.35), 0 3px 0 rgba(0,0,0,.3); }
button.red { background: linear-gradient(180deg, #FF7A6A 0%, #D63A2C 100%); box-shadow: inset 0 -5px 0 #8F1F16, inset 0 2px 0 rgba(255,255,255,.35), 0 3px 0 rgba(0,0,0,.3); }
button.green { background: linear-gradient(180deg, #6EE07A 0%, #2FA83C 100%); box-shadow: inset 0 -5px 0 #1F7A2A, inset 0 2px 0 rgba(255,255,255,.35), 0 3px 0 rgba(0,0,0,.3); }
button.off { filter: grayscale(.85) brightness(.75); }
button.link { border: 0; background: none; box-shadow: none; text-shadow: none; font-family: 'Nunito'; font-weight: 800; color: var(--muted); }
input, select, textarea { font-family: 'Nunito'; font-weight: 800; background: rgba(6,14,38,.72); border: 2.5px solid var(--ink); border-radius: 12px; box-shadow: inset 0 2px 0 rgba(0,0,0,.35); }
input:focus { border-color: var(--accent); }

/* Fenster */
.overlay { background: rgba(4,9,26,.78); }
.modalBox { border: 3px solid var(--ink); border-radius: 20px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18), 0 8px 0 rgba(0,0,0,.35); }
.modalBox .x { width: 34px; height: 34px; padding: 0; border-radius: 10px; font-size: 16px;
  background: linear-gradient(180deg, #FF7A6A, #D63A2C); box-shadow: inset 0 -3px 0 #8F1F16, inset 0 2px 0 rgba(255,255,255,.35); }
.spinner { border-color: var(--panel); border-top-color: var(--accent); }
#searchCode { font-family: var(--head); color: var(--accent); }

/* ---------- Kopfzeile ---------- */
#home { max-width: 520px; }
#top { height: 58px; padding: 6px 12px; background: none; gap: 8px; }
.king { gap: 8px; }
.lvlShield { position: relative; display: inline-block; flex: none; }
.lvlShield svg { display: block; }
.lvlShield b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-bottom: 4px; font-family: var(--head); font-weight: 400; font-size: 18px; color: #fff; }
.kInfo { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#pName { font-family: var(--head); font-size: 15px; line-height: 1.1; max-width: 120px; }
.xpbar { width: 96px; height: 11px; border-radius: 6px; background: var(--ink); border: 1.5px solid var(--ink); margin: 0; }
.xpbar i { border-radius: 6px; background: var(--accent); }
.xpbar span { font-size: 8px; line-height: 8px; font-weight: 900; text-shadow: 0 1px 0 var(--ink); }
.cur { gap: 6px; align-items: center; }
.cur span { background: none; padding: 0; }
.pill { display: flex; align-items: center; gap: 4px; height: 30px; padding: 0 3px 0 2px; border-radius: 16px;
  background: rgba(6,14,38,.72); border: 2px solid var(--ink); box-shadow: none; }
.pill:active { transform: none; box-shadow: none; }
.pill b { font-family: var(--head); font-weight: 400; font-size: 15px; min-width: 30px; text-align: right; }
.pill svg { display: block; }
.plusBtn { width: 20px; height: 20px; border-radius: 6px; background: #3DBE4A; border: 1.5px solid var(--ink); box-shadow: inset 0 -2px 0 #1F7A2A; display: flex; align-items: center; justify-content: center; }
.cur .gear { width: 32px; height: 32px; padding: 0; border-radius: 10px; color: #DCE7FF; display: grid; place-items: center;
  background: linear-gradient(180deg, #5FA0FF, var(--blueB)); box-shadow: inset 0 -3px 0 var(--blueE), inset 0 2px 0 rgba(255,255,255,.35); }

/* ---------- Untere Leiste ---------- */
#nav { height: 80px; flex: none; grid-template-columns: 1fr 1fr 1.3fr 1fr 1fr; align-items: end; padding: 0 4px;
  background: linear-gradient(180deg, #133274 0%, #0B1E45 100%); border-top: 3px solid var(--ink); box-shadow: inset 0 2px 0 var(--panelEdge); }
#nav button { height: 74px; border: 0; border-radius: 0; background: none; box-shadow: none; text-shadow: none; opacity: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); padding: 0; font-size: 0; }
#nav button span { font-family: 'Nunito'; font-size: 11px; font-weight: 900; }
#nav button .ni { display: flex; }
#nav button.on { height: 92px; border: 3px solid var(--ink); border-bottom: 0; border-radius: 18px 18px 0 0; color: #fff;
  background: linear-gradient(180deg, #4683F0 0%, #1F4BB0 100%); box-shadow: inset 0 3px 0 rgba(255,255,255,.3); }
#nav button.on span { font-family: var(--head); font-weight: 400; font-size: 15px; text-shadow: 0 2px 0 var(--ink), 1.5px 0 0 var(--ink), -1.5px 0 0 var(--ink), 0 -1.5px 0 var(--ink); }
#nav button:active { transform: none; }
.dot { top: 10px; right: 26%; width: 14px; height: 14px; background: #E5262C; border: 2px solid var(--ink); }
#tabs { padding: 4px 12px 14px; }

/* ---------- Startseite (Kampf) ---------- */
.logo { display: flex; flex-direction: column; align-items: center; margin-top: 0; }
.logo svg { display: block; }
.logoMain { margin-top: -6px; font-family: var(--head); font-size: 42px; line-height: 1; letter-spacing: 1px; color: var(--accent); }
.logoBand { position: relative; width: 200px; height: 34px; margin-top: -2px; }
.logoBand svg { position: absolute; inset: 0; }
.logoBand span { position: absolute; left: 0; right: 0; top: 3px; height: 26px; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 20px; letter-spacing: 5px; }
.trophyBar { display: flex; align-items: center; gap: 10px; width: 300px; max-width: 100%; margin: 8px auto 0; padding: 4px 12px 4px 6px;
  border-radius: 20px; background: rgba(6,14,38,.55); border: 2px solid var(--ink); cursor: pointer; }
.trophyBar .tv { font-family: var(--head); font-size: 22px; line-height: 1; color: var(--accent); }
.trophyBar .tp { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.trophyBar .tl { display: flex; justify-content: space-between; font-size: 10px; font-weight: 900; line-height: 1; color: var(--soft); gap: 6px; }
.trophyBar .tl span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { height: 8px; border-radius: 5px; background: var(--ink); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 5px; background: #FF9F2E; }
.arenaWrap { position: relative; margin: 26px auto 0; width: 100%; max-width: 362px; }
.arenaPic { position: relative; width: 100%; aspect-ratio: 362 / 300; border-radius: 22px; border: 4px solid var(--ink); overflow: hidden; cursor: pointer;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); background: #5DBDFF; }
.arenaPic canvas, .arenaPic svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.arenaTag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 5px 16px 6px; border-radius: 10px; background: #173A7A; border: 2.5px solid var(--ink); z-index: 2;
  box-shadow: inset 0 -3px 0 #0E2552, inset 0 2px 0 rgba(255,255,255,.25), 0 3px 0 rgba(0,0,0,.25); font-family: var(--head); font-size: 14px; }
.arenaTag .an { color: var(--accent); }
.sideBtns { position: absolute; top: 24px; display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.sideBtns.l { left: 10px; } .sideBtns.r { right: 10px; }
.sq { position: relative; width: 52px; height: 52px; border-radius: 14px; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: linear-gradient(180deg, var(--blueT) 0%, var(--blueB) 100%); border: 2.5px solid var(--ink);
  box-shadow: inset 0 -4px 0 var(--blueE), inset 0 2px 0 rgba(255,255,255,.35), 0 3px 0 rgba(0,0,0,.25); color: #fff; }
.sq > span { font-family: 'Nunito'; font-size: 8.5px; font-weight: 900; line-height: 1; white-space: nowrap; }
.sq canvas { display: block; }
.sq.ready { background: linear-gradient(180deg, #6EE07A, #2FA83C); box-shadow: inset 0 -4px 0 #1F7A2A, inset 0 2px 0 rgba(255,255,255,.35), 0 0 12px rgba(78,212,119,.7); }
.badge { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: #E5262C; border: 2px solid var(--ink); font-family: var(--head); font-size: 12px; color: #fff; text-shadow: none; }
.badge.g { background: #3DBE4A; }
.battleRow { display: flex; gap: 10px; margin-top: 14px; }
.duoBig { width: 92px; height: 72px; border-radius: 16px; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 16px;
  background: linear-gradient(180deg, #5FA0FF 0%, var(--blueB) 100%); border: 3px solid var(--ink); box-shadow: inset 0 -6px 0 var(--blueE), inset 0 3px 0 rgba(255,255,255,.35), 0 4px 0 rgba(0,0,0,.3); }
.fightBig { flex: 1; height: 72px; border-radius: 16px; padding: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 34px;
  border: 3px solid var(--ink); box-shadow: inset 0 -7px 0 var(--accentD), inset 0 3px 0 rgba(255,255,255,.55), 0 4px 0 rgba(0,0,0,.3); }
.fightBig span { padding-bottom: 4px; letter-spacing: 1px; }
.chestRow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0 6px; }
.cslot { height: 104px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 7px 3px; cursor: pointer;
  background: var(--panel); border: 2.5px solid var(--ink); box-shadow: inset 0 0 0 2px var(--panelEdge); text-align: center; }
.cslot .ct { font-family: var(--head); font-size: 13px; line-height: 1; }
.cslot .cn { font-size: 10px; font-weight: 900; line-height: 1; color: var(--soft); }
.cslot .cb { width: 64px; height: 5px; border-radius: 3px; background: var(--ink); overflow: hidden; }
.cslot .cb i { display: block; height: 100%; background: #5FD3FF; }
.cslot.ready { background: radial-gradient(circle at 50% 55%, rgba(110,240,150,.45) 0%, rgba(110,240,150,0) 65%), #165234; box-shadow: inset 0 0 0 2px #4ED477, 0 0 12px rgba(78,212,119,.55); }
.cslot.ready .ct { color: #A6FFB9; } .cslot.ready .cn { color: #D6FFE0; }
.cslot.empty { justify-content: center; gap: 6px; background: rgba(11,20,51,.45); border: 2.5px dashed #3E64B3; box-shadow: none; cursor: default; }
.cslot.empty .cn { color: #9DB5EA; line-height: 1.15; }
.cslot canvas { display: block; }
.panelH { font-family: var(--head); font-size: 17px; margin: 18px 0 8px; }

/* Listen im neuen Stil */
.logRow, .rankRow, .friendRow, .myCode, .special, .chestOffer, .profile div, .pRow, .h2h, .invite, .seasonList div {
  background: var(--panel); border: 2.5px solid var(--ink); box-shadow: inset 0 0 0 2px var(--panelEdge); border-radius: 14px; }
.logRow { border-left-width: 2.5px; font-weight: 800; }
.logRow.win { box-shadow: inset 0 0 0 2px var(--panelEdge), inset 5px 0 0 #4F8DFF; } .logRow.loss { box-shadow: inset 0 0 0 2px var(--panelEdge), inset 5px 0 0 #E5262C; }
.rankRow.me { background: #173A7A; box-shadow: inset 0 0 0 2px var(--accent); }
.kl { background: linear-gradient(180deg, #4F8DFF, #2F5FD0); border: 1.5px solid var(--ink); font-family: var(--head); font-size: 12px; font-weight: 400; border-radius: 7px; }
.myCode b, .cnt.big, .bigCur { font-family: var(--head); font-weight: 400; color: var(--accent); }
.deckTabs button { background: linear-gradient(180deg, #5FA0FF, var(--blueB)); box-shadow: inset 0 -4px 0 var(--blueE), inset 0 2px 0 rgba(255,255,255,.35); }
.deckTabs button.on { background: linear-gradient(180deg, var(--accentL), var(--accent) 55%); box-shadow: inset 0 -4px 0 var(--accentD), inset 0 2px 0 rgba(255,255,255,.55); }
.prog { border: 1.5px solid var(--ink); background: var(--ink); }
.prog i { background: #4F8DFF; } .prog.ok i { background: #3DBE4A; }
.prog span { font-weight: 900; text-shadow: 0 1px 0 var(--ink); }

/* Karten: dicke dunkle Kontur, Kosten als Bier-Tropfen-Schild */
.card { border: 3px solid var(--ink); border-radius: 12px; box-shadow: inset 0 0 0 2.5px #8FB4FF, 0 3px 0 rgba(0,0,0,.4); }
.card.r-rare { box-shadow: inset 0 0 0 2.5px #FF9F2E, 0 3px 0 rgba(0,0,0,.4); border-color: var(--ink); }
.card.r-epic { box-shadow: inset 0 0 0 2.5px #C46BFF, 0 3px 0 rgba(0,0,0,.4); border-color: var(--ink); }
.card.r-legendary, .card.r-champion { box-shadow: inset 0 0 0 2.5px #7CF2E0, 0 3px 0 rgba(0,0,0,.4); border-color: var(--ink); }
.card .cost { top: -1px; left: -1px; width: 26px; height: 26px; border-radius: 0 0 12px 0; padding: 4px 0 0;
  background: linear-gradient(180deg, #FFE38A, #F5A81A); border: 2px solid var(--ink); color: #fff; font-family: var(--head); font-weight: 400; font-size: 15px;
  text-shadow: 0 1.5px 0 var(--ink), 1px 0 0 var(--ink), -1px 0 0 var(--ink), 0 -1px 0 var(--ink); }
.card .nm { font-family: 'Nunito'; font-weight: 900; text-shadow: 0 1px 0 var(--ink), 1px 0 0 var(--ink), -1px 0 0 var(--ink); background: linear-gradient(transparent, rgba(11,20,51,.9)); }
.card .lv { font-family: var(--head); font-weight: 400; background: var(--ink); border-radius: 6px; }

/* ---------- Kampf-Oberfläche ---------- */
#game { background: var(--groundD); }
.tag, #timer { font-family: var(--head); font-weight: 400; background: rgba(6,14,38,.78); border: 2px solid var(--ink); border-radius: 12px;
  text-shadow: 0 2px 0 var(--ink), 1.5px 0 0 var(--ink), -1.5px 0 0 var(--ink), 0 -1.5px 0 var(--ink); }
#opp { border-left: 2px solid var(--ink); box-shadow: inset 4px 0 0 #E5262C; padding-left: 12px; }
#you { border-left: 2px solid var(--ink); box-shadow: inset 4px 0 0 #4F8DFF; padding-left: 12px; }
#timer small { font-family: 'Nunito'; font-weight: 900; color: var(--accent); }
#panel { background: linear-gradient(180deg, #133274 0%, #0B1E45 100%); border-top: 3px solid var(--ink); box-shadow: inset 0 2px 0 var(--panelEdge); }
#nextBox { font-family: 'Nunito'; font-weight: 900; color: var(--muted); }
#bier { height: 26px; border-radius: 13px; background: var(--ink); border: 2.5px solid var(--ink); }
#bierFill { border-radius: 10px; background: linear-gradient(180deg, #FFF1B8 0 20%, #FFC629 20%, #E59A12); box-shadow: inset 0 -3px 0 rgba(166,90,6,.6); }
#bier::after { background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), rgba(11,20,51,.85) calc(10% - 2px) 10%); }
#bierNum { font-family: var(--head); font-weight: 400; font-size: 16px; top: 2px; text-shadow: 0 2px 0 var(--ink), 1.5px 0 0 var(--ink), -1.5px 0 0 var(--ink), 0 -1.5px 0 var(--ink); }
#end { background: rgba(4,9,26,.82); }
#end h1 { font-size: 54px; color: var(--accent); }
#endSub { font-family: var(--head); font-size: 18px; }
#bEmote { border: 2.5px solid var(--ink); }

/* Anmeldung */
.loginBox h1 { font-size: 0; margin: 0; text-shadow: none; }
.loginBox .logo { margin-bottom: 10px; }

/* Kleine Symbole im Text (statt Emojis) */
.ic { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.2em; background: center / contain no-repeat; }
.ic.gem { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'><path d='M6 3 H16 L20 8 L11 19.5 L2 8 Z' fill='%23E64BD8'/><path d='M6 3 H16 L20 8 H2 Z' fill='%23FF92F0'/><path d='M6 3 H16 L20 8 L11 19.5 L2 8 Z' fill='none' stroke='%230B1433' stroke-width='2' stroke-linejoin='round'/></svg>"); }
.ic.tro { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path d='M8 7 H4 C4 13 6.5 15.5 10 15.5 M22 7 H26 C26 13 23.5 15.5 20 15.5' fill='none' stroke='%230B1433' stroke-width='2.4' stroke-linecap='round'/><path d='M8 4 H22 V11.5 C22 16.5 19 19.5 15 19.5 C11 19.5 8 16.5 8 11.5 Z' fill='%23FFC629' stroke='%230B1433' stroke-width='2'/><rect x='12.5' y='19.5' width='5' height='4' fill='%23E0A21A' stroke='%230B1433' stroke-width='1.6'/><rect x='9' y='23' width='12' height='4.5' rx='1.5' fill='%23C77A00' stroke='%230B1433' stroke-width='1.8'/></svg>"); }
.ic.crn { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 8 L7.5 12 L12 5 L16.5 12 L21 8 L19 19 H5 Z' fill='%23FFC629' stroke='%230B1433' stroke-width='2' stroke-linejoin='round'/><circle cx='12' cy='13.5' r='1.6' fill='%23D7262B'/></svg>"); }

/* Engelspass: goldener Knopf mit Glanz */
.sq.gold { background: linear-gradient(180deg, #FFE38A 0%, #FFC629 55%, #E59A12 100%); box-shadow: inset 0 -4px 0 #A6811B, inset 0 2px 0 rgba(255,255,255,.6), 0 0 12px rgba(255,214,90,.75); overflow: visible; }
.sq.gold::after { content: ''; position: absolute; inset: 0; border-radius: 12px; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.75) 45%, transparent 60%) no-repeat; background-size: 250% 100%; animation: shine 2.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes shine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }

/* ---------- Kampfende ---------- */
#end { background: radial-gradient(ellipse at 50% 35%, rgba(27,67,150,.88), rgba(4,9,26,.94) 70%); overflow: hidden; }
#end.lose { background: radial-gradient(ellipse at 50% 35%, rgba(90,30,40,.88), rgba(4,9,26,.95) 70%); }
#end > div { position: relative; width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px 16px; }
.eRays { position: absolute; left: 50%; top: 70px; width: 640px; height: 640px; margin: -320px 0 0 -320px; pointer-events: none; opacity: 0;
  background: repeating-conic-gradient(rgba(255,214,90,.22) 0 10deg, transparent 10deg 24deg); border-radius: 50%;
  -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); mask: radial-gradient(circle, #000 20%, transparent 68%);
  animation: raysIn .6s .3s ease-out forwards, raysSpin 16s linear infinite; }
#end.lose .eRays, #end.draw .eRays { background: repeating-conic-gradient(rgba(180,200,255,.1) 0 10deg, transparent 10deg 24deg); }
@keyframes raysIn { to { opacity: 1; } }
@keyframes raysSpin { to { transform: rotate(360deg); } }
.eTitle { position: relative; margin: 6px 0 0; font-size: 60px; line-height: 1; color: var(--accent); animation: titleDrop .7s cubic-bezier(.2, 1.6, .4, 1) both; text-align: center; }
#end.lose .eTitle { color: #FF7A6A; font-size: 50px; } #end.draw .eTitle { color: #DCE7FF; font-size: 42px; }
@keyframes titleDrop { from { transform: translateY(-120px) scale(1.8); opacity: 0; } to { transform: none; opacity: 1; } }
.eTeams { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; width: 100%; animation: fadeUp .4s .5s both; }
.eSide { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 16px; border: 2.5px solid var(--ink); min-width: 0; }
.eSide span { font-family: var(--head); font-size: 15px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eSide.me { background: linear-gradient(180deg, #4F8DFF, #2F5FD0); box-shadow: inset 0 -4px 0 #1E3F9A, inset 0 2px 0 rgba(255,255,255,.3); }
.eSide.opp { background: linear-gradient(180deg, #FF7A6A, #C2352A); box-shadow: inset 0 -4px 0 #8F1F16, inset 0 2px 0 rgba(255,255,255,.3); }
.eVs { font-family: var(--head); font-size: 26px; }
.eCrowns { display: flex; gap: 4px; }
.eCrown { width: 28px; height: 28px; display: block; opacity: .35; filter: grayscale(1) brightness(.6);
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 8 L7.5 12 L12 5 L16.5 12 L21 8 L19 19 H5 Z' fill='%23FFC629' stroke='%230B1433' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='13.5' r='1.6' fill='%23D7262B'/%3E%3C/svg%3E"); }
.eCrown.on { opacity: 1; filter: drop-shadow(0 0 6px rgba(255,214,90,.9)); animation: crownPop .45s calc(.8s + var(--i) * .25s) cubic-bezier(.2, 1.8, .4, 1) both; }
@keyframes crownPop { from { transform: scale(0) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.eRewards { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; }
.eRw { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 104px; padding: 10px 12px; border-radius: 16px;
  background: var(--panel); border: 2.5px solid var(--ink); box-shadow: inset 0 0 0 2px var(--panelEdge); animation: rwPop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes rwPop { from { transform: scale(.2) translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.eRw b { font-family: var(--head); font-size: 24px; color: #fff; }
.eRw small { font-size: 11px; font-weight: 900; color: var(--soft); text-align: center; }
.eRw.tro { flex-direction: row; } .eRw.tro .ic, .eRw.pass .ic { width: 30px; height: 30px; }
.eRw.tro b { color: var(--accent); }
.eRw.chest { background: radial-gradient(circle at 50% 40%, rgba(255,214,90,.35), transparent 70%), var(--panel); }
.eRw.chest canvas { display: block; animation: chestBob 1.6s ease-in-out infinite; }
@keyframes chestBob { 50% { transform: translateY(-5px); } }
.eRw.arena { width: 100%; background: linear-gradient(180deg, #FFE38A, #FFC629 55%, #E59A12); box-shadow: inset 0 -5px 0 #A6811B, inset 0 2px 0 rgba(255,255,255,.55), 0 0 18px rgba(255,214,90,.6); }
.eRw.arena small { color: #fff; font-size: 14px; } .eRw.arena b { font-size: 26px; }
.eRw.note { font-size: 12px; font-weight: 900; color: var(--soft); }
.eBack { position: relative; margin-top: 6px; min-width: 180px; font-size: 22px; padding: 12px 24px; animation: fadeUp .4s both; }
.conf { position: absolute; top: -20px; width: 8px; height: 14px; border-radius: 2px; pointer-events: none; opacity: 0; animation: confFall linear both; }
@keyframes confFall { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--x), 105dvh) rotate(var(--r)); opacity: .9; } }

/* ---------- Vollbild-Seiten (Pass, Pfad) ---------- */
#pass header, #road header { height: 64px; padding: 8px 12px; background: linear-gradient(180deg, #133274 0%, #0B1E45 100%); border-bottom: 3px solid var(--ink); box-shadow: inset 0 -2px 0 var(--panelEdge); }
#pass header b, #road header b { display: flex; flex-direction: column; line-height: 1.1; }
#pass header b .ko, #road header b .ko { font-family: var(--head); font-weight: 400; font-size: 22px; }
#pass header b small, #road header b small { font-size: 11px; font-weight: 900; color: var(--soft); }
#pass header button, #road header button { width: 38px; height: 38px; padding: 0; border-radius: 12px; font-size: 18px;
  background: linear-gradient(180deg, #FF7A6A, #D63A2C); box-shadow: inset 0 -3px 0 #8F1F16, inset 0 2px 0 rgba(255,255,255,.35); }
#passBody, #roadBody { padding: 14px 12px 60px; }

/* Namen: Engelspass golden, Erzengelpass schimmernd mit Heiligenschein */
.engel { color: #FFD84A !important; }
.erz { position: relative; background: linear-gradient(90deg, #FFE38A, #FFFFFF, #C9A6FF, #FFE38A); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text;
  color: transparent !important; animation: erzShine 3s linear infinite; text-shadow: none !important; filter: drop-shadow(0 1px 0 var(--ink)) drop-shadow(0 0 4px rgba(255,214,90,.6)); }
.erz::before { content: ''; position: absolute; left: 50%; top: -7px; width: 22px; height: 6px; margin-left: -11px; border: 2px solid #FFE38A; border-radius: 50%; box-shadow: 0 0 6px #FFE38A; }
@keyframes erzShine { to { background-position: -300% 0; } }
.sq.gold.erzSq { background: linear-gradient(180deg, #F2E6FF 0%, #C9A6FF 45%, #FFC629 100%); box-shadow: inset 0 -4px 0 #8A62C9, inset 0 2px 0 rgba(255,255,255,.7), 0 0 14px rgba(201,166,255,.85); }

/* Belohnungs-Kacheln */
.rTile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 96px; padding: 8px 4px 6px; border-radius: 14px;
  background: var(--panel); border: 2.5px solid var(--ink); box-shadow: inset 0 0 0 2px var(--panelEdge); text-align: center; }
.rTile.empty { background: rgba(11,20,51,.35); border-style: dashed; border-color: #2D4F94; box-shadow: none; }
.rTile.gold { background: linear-gradient(180deg, #5A4410, #2E2208); box-shadow: inset 0 0 0 2px #E8B83A; }
.rTile.erzT { background: linear-gradient(180deg, #4A2F7A, #241640); box-shadow: inset 0 0 0 2px #C9A6FF; }
.rtIcon { height: 48px; display: grid; place-items: center; }
.rtIcon canvas, .rtIcon > div { display: block; }
.rtTxt { font-size: 10.5px; font-weight: 900; line-height: 1.15; color: var(--soft); }
.rTile.locked .rtIcon, .rTile.locked .rtTxt { opacity: .55; filter: saturate(.6); }
.rTile.nope .rtIcon { filter: grayscale(.8) brightness(.7); }
.rtLock { position: absolute; top: 5px; right: 6px; color: #9DB5EA; display: flex; }
.rtCheck { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(6,14,38,.55); font-style: normal;
  font-family: var(--head); font-size: 34px; color: #6EE07A; text-shadow: 0 2px 0 var(--ink), 1.5px 0 0 var(--ink), -1.5px 0 0 var(--ink), 0 -1.5px 0 var(--ink); }
.rTile.can { cursor: pointer; background: radial-gradient(circle at 50% 45%, rgba(110,240,150,.4), rgba(110,240,150,0) 70%), #165234; box-shadow: inset 0 0 0 2px #4ED477, 0 0 14px rgba(78,212,119,.6); animation: canPulse 1.4s ease-in-out infinite; }
@keyframes canPulse { 50% { transform: scale(1.04); box-shadow: inset 0 0 0 2px #4ED477, 0 0 22px rgba(78,212,119,.85); } }
.rtGo { position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 8px; font-style: normal; white-space: nowrap;
  background: linear-gradient(180deg, #6EE07A, #2FA83C); border: 2px solid var(--ink); font-family: var(--head); font-size: 12px; }
.rtNum { position: absolute; top: 4px; left: 6px; font-family: var(--head); font-weight: 400; font-size: 13px; color: #FFE38A; }
.pIcon { font-size: 30px; height: 46px; } .pIcon .ic { width: 34px; height: 34px; }

/* Pass: Kopf */
.pvHero { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; border: 3px solid var(--ink);
  background: linear-gradient(180deg, #4F8DFF, #2F5FD0); box-shadow: inset 0 -5px 0 var(--blueE), inset 0 2px 0 rgba(255,255,255,.35), 0 4px 0 rgba(0,0,0,.3); }
.pvHero.engelHero { background: linear-gradient(180deg, #FFE38A, #FFC629 50%, #E59A12); box-shadow: inset 0 -5px 0 var(--accentD), inset 0 2px 0 rgba(255,255,255,.55), 0 0 18px rgba(255,214,90,.5); }
.pvHero.erzHero { background: linear-gradient(135deg, #F2E6FF, #C9A6FF 40%, #FFC629); box-shadow: inset 0 -5px 0 #8A62C9, inset 0 2px 0 rgba(255,255,255,.7), 0 0 22px rgba(201,166,255,.7); }
.pvTier { position: relative; display: flex; flex-direction: column; align-items: center; }
.pvTier .lvlShield b { font-size: 28px; }
.pvTier small { font-family: var(--head); font-size: 12px; margin-top: -6px; }
.pvInfo { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pvInfo > small { font-size: 11px; font-weight: 900; color: #fff; opacity: .9; text-shadow: 0 1px 0 var(--ink); }
.pvStatus { font-family: var(--head); font-size: 24px; line-height: 1; }
.pvBar { position: relative; height: 22px; border-radius: 11px; background: var(--ink); border: 2px solid var(--ink); overflow: hidden; }
.pvBar i { position: absolute; inset: 0 auto 0 0; border-radius: 9px; background: linear-gradient(180deg, #FFE38A, #FFC629 55%, #E59A12); }
.pvBar span { position: relative; display: flex; align-items: center; justify-content: center; gap: 4px; height: 100%; font-family: var(--head); font-size: 13px; }
.pvBar.small { height: 16px; margin-top: 6px; } .pvBar.small span { font-size: 11px; }
.pvBuy { width: 100%; margin: 12px 0 0; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 20px; }
.pvBuy small { font-family: 'Nunito'; font-size: 11px; font-weight: 900; text-shadow: 0 1px 0 var(--ink); }
.pvBuy.erzBtn { background: linear-gradient(135deg, #F2E6FF, #C9A6FF 45%, #9A60F0); box-shadow: inset 0 -5px 0 #5A3A9A, inset 0 2px 0 rgba(255,255,255,.6), 0 3px 0 rgba(0,0,0,.3); }

/* Pass: zwei Spuren mit Stufen-Linie in der Mitte */
.pvTrack { margin-top: 16px; }
.pvHead { display: grid; grid-template-columns: 1fr 46px 1fr; gap: 8px; margin-bottom: 6px; text-align: center; font-family: var(--head); font-size: 15px; }
.pvHead .gold { color: var(--accent); }
.pvRows { position: relative; display: flex; flex-direction: column; gap: 14px; }
.pvRows::before, .pvRows::after { content: ''; position: absolute; left: 50%; width: 10px; margin-left: -5px; top: 30px; border-radius: 5px; }
.pvRows::before { bottom: 30px; background: var(--ink); }
.pvRows::after { height: calc((100% - 60px) * var(--fill)); background: linear-gradient(180deg, #FFE38A, #FFC629); box-shadow: 0 0 8px rgba(255,214,90,.7); }
.pvRow { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 46px 1fr; gap: 8px; align-items: center; }
.pvNode { width: 40px; height: 40px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 16px;
  background: #2D3F66; border: 3px solid var(--ink); box-shadow: inset 0 -3px 0 #1B2847; }
.pvRow.on .pvNode { background: linear-gradient(180deg, #FFE38A, #FFC629); box-shadow: inset 0 -3px 0 var(--accentD), inset 0 2px 0 rgba(255,255,255,.6); }
.pvRow.cur .pvNode { transform: scale(1.18); box-shadow: inset 0 -3px 0 var(--accentD), 0 0 0 4px rgba(255,214,90,.35), 0 0 14px rgba(255,214,90,.8); }

/* Erzengelpass */
.pvErz { margin-top: 26px; padding: 14px 10px; border-radius: 20px; border: 3px solid var(--ink); background: linear-gradient(180deg, rgba(122,80,200,.55), rgba(30,16,60,.7)); box-shadow: inset 0 0 0 2px #C9A6FF; }
.pvErz.locked .pvErzGrid { filter: saturate(.7); }
.pvRibbon { display: flex; flex-direction: column; align-items: center; margin: -32px auto 12px; width: fit-content; padding: 6px 22px; border-radius: 12px; border: 3px solid var(--ink);
  background: linear-gradient(135deg, #F2E6FF, #C9A6FF 45%, #9A60F0); box-shadow: inset 0 -4px 0 #5A3A9A, 0 3px 0 rgba(0,0,0,.3); }
.pvRibbon .ko { font-family: var(--head); font-size: 20px; } .pvRibbon small { font-size: 10px; font-weight: 900; text-shadow: 0 1px 0 var(--ink); }
.pvErzGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
.pvBonus { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 12px; border-radius: 16px; background: var(--panel); border: 2.5px solid var(--ink); box-shadow: inset 0 0 0 2px #C9A6FF; }
.pvBonus > div { flex: 1; } .pvBonus b { font-family: var(--head); font-weight: 400; font-size: 17px; display: block; } .pvBonus small { font-size: 11px; color: var(--soft); }
.pvBonus button { padding: 8px 12px; font-size: 15px; }
.pvBadges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pvBadges > b { width: 100%; font-family: var(--head); font-weight: 400; font-size: 17px; }
.pvBadge { display: flex; flex-direction: column; align-items: center; min-width: 92px; padding: 8px; border-radius: 14px; background: var(--panel); border: 2.5px solid var(--ink); box-shadow: inset 0 0 0 2px var(--panelEdge); }
.pvBadge.engel { box-shadow: inset 0 0 0 2px #E8B83A; } .pvBadge.erz { box-shadow: inset 0 0 0 2px #C9A6FF, 0 0 10px rgba(201,166,255,.5); }
.pvBadge i { font-style: normal; font-size: 22px; } .pvBadge b { font-family: var(--head); font-weight: 400; } .pvBadge small { font-size: 10px; color: var(--soft); }

/* Trophäenpfad */
.rdPath { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 10px 0; }
.rdPath::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 12px; margin-left: -6px; border-radius: 6px;
  background: repeating-linear-gradient(180deg, #E8D29A 0 14px, #CDB577 14px 28px); border: 2.5px solid var(--ink); }
.rdArena { position: relative; z-index: 1; border-radius: 20px; border: 3.5px solid var(--ink); background: var(--panel); overflow: visible; box-shadow: 0 4px 0 rgba(0,0,0,.3); }
.rdArena.current { box-shadow: 0 0 0 3px var(--accent), 0 0 18px rgba(255,214,90,.6), 0 4px 0 rgba(0,0,0,.3); }
.rdPic { position: relative; aspect-ratio: 362 / 190; border-radius: 16px 16px 0 0; overflow: hidden; }
.rdPic svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rdArena.locked .rdPic { filter: grayscale(.85) brightness(.55); }
.rdTag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; white-space: nowrap; padding: 4px 12px 5px; border-radius: 10px;
  background: #173A7A; border: 2.5px solid var(--ink); box-shadow: inset 0 -3px 0 #0E2552, inset 0 2px 0 rgba(255,255,255,.25); font-family: var(--head); font-size: 14px; }
.rdTag .an { color: var(--accent); } .rdTag small { font-size: 12px; color: var(--soft); }
.rdLock { position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(6,14,38,.8); border: 3px solid var(--ink); }
.rdCards { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; padding: 10px; }
.rdHere { position: absolute; right: 10px; top: 10px; padding: 3px 10px; border-radius: 10px; font-family: var(--head); font-size: 13px;
  background: linear-gradient(180deg, #FFE38A, #FFC629); border: 2px solid var(--ink); box-shadow: inset 0 -3px 0 var(--accentD); }
.rdNode { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 84px; }
.rdNode .rTile { width: 100%; max-width: 140px; justify-self: end; }
.rdNode .rdDot { z-index: 2; }
.rdNode.right .rTile { grid-column: 2; grid-row: 1; justify-self: start; }
.rdDot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 2px; padding: 3px 8px; border-radius: 12px; white-space: nowrap;
  background: #2D3F66; border: 2.5px solid var(--ink); font-family: var(--head); font-size: 12px; }
.rdNode.on .rdDot { background: linear-gradient(180deg, #FFE38A, #FFC629); box-shadow: inset 0 -3px 0 var(--accentD); }
.rdMe { position: relative; z-index: 2; align-self: center; display: flex; align-items: center; gap: 8px; padding: 4px 14px 4px 6px; border-radius: 22px;
  background: linear-gradient(180deg, #4F8DFF, #2F5FD0); border: 3px solid var(--ink); box-shadow: inset 0 -4px 0 var(--blueE), 0 0 16px rgba(79,141,255,.8); }
.rdMe span { font-family: var(--head); font-size: 16px; } .rdMe b { font-family: var(--head); font-weight: 400; font-size: 18px; color: var(--accent); display: flex; align-items: center; gap: 3px; }

.tag.erzTag { color: #FFE9A8; box-shadow: inset 4px 0 0 #C9A6FF, 0 0 10px rgba(201,166,255,.7); }

/* Erzengelpass: besser lesbar – dunkleres Lila hinter weißer Schrift, Name mit dunkler Kontur */
.erz { background: linear-gradient(90deg, #FFD84A, #FFF3B0, #E9C8FF, #FFD84A); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 1.5px 0 var(--ink)) drop-shadow(1.2px 0 0 var(--ink)) drop-shadow(-1.2px 0 0 var(--ink)) drop-shadow(0 -1.2px 0 var(--ink)) drop-shadow(0 0 5px rgba(201,166,255,.8)); }
.pvHero.erzHero { background: linear-gradient(135deg, #B48CFF 0%, #7A44D8 50%, #4E259E 100%); box-shadow: inset 0 -5px 0 #351A6E, inset 0 0 0 2px #FFD84A, 0 0 22px rgba(201,166,255,.7); }
.pvHero.erzHero .pvStatus { color: #FFE38A; }
.pvRibbon, .pvBuy.erzBtn { background: linear-gradient(180deg, #A77BFF 0%, #7A44D8 55%, #5A2FA8 100%); box-shadow: inset 0 -5px 0 #351A6E, inset 0 2px 0 rgba(255,255,255,.35), 0 3px 0 rgba(0,0,0,.3); }
.pvRibbon .ko { color: #FFE38A; }
.sq.gold.erzSq { background: linear-gradient(180deg, #A77BFF 0%, #7A44D8 60%, #5A2FA8 100%); box-shadow: inset 0 -4px 0 #351A6E, inset 0 0 0 2px #FFD84A, 0 0 14px rgba(201,166,255,.85); }
.tag.erzTag { color: #FFE38A; }

/* Heiligenschein nur im Kampf, in Menüs reicht das Schimmern */
.erz::before { display: none; }
.friendRow .fName { font-weight: 900; }

/* ---------- Events-Tab ---------- */
#nav { grid-template-columns: 1fr 1fr 1.25fr 1fr 1fr 1fr; }
#nav button span { font-size: 10.5px; }
.evTitle { margin: 8px 0 2px; font-size: 26px; text-align: center; }
.evHint { text-align: center; margin: 0 0 12px; font-size: 12px; }
.evCard { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; gap: 8px 12px; align-items: center; padding: 12px; margin-bottom: 14px; border-radius: 18px; border: 3px solid var(--ink);
  background: linear-gradient(180deg, #4F8DFF, #2F5FD0); box-shadow: inset 0 -5px 0 var(--blueE), inset 0 2px 0 rgba(255,255,255,.3), 0 4px 0 rgba(0,0,0,.3); }
.evCard.purple { background: linear-gradient(180deg, #A77BFF, #6A3CC8); box-shadow: inset 0 -5px 0 #3E1F86, inset 0 2px 0 rgba(255,255,255,.3), 0 4px 0 rgba(0,0,0,.3); }
.evCard.gold { background: linear-gradient(180deg, #FFB347, #E5762C); box-shadow: inset 0 -5px 0 #9A4A12, inset 0 2px 0 rgba(255,255,255,.35), 0 4px 0 rgba(0,0,0,.3); }
.evIcon { grid-row: 1 / 3; width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: rgba(6,14,38,.35); border: 2.5px solid var(--ink); }
.mBeer { position: relative; font-size: 38px; } .mBeer b { position: absolute; right: -10px; bottom: -6px; font-family: var(--head); font-weight: 400; font-size: 18px; color: var(--accent); }
.evText b { display: block; font-family: var(--head); font-weight: 400; font-size: 22px; line-height: 1; }
.evText small { display: block; font-size: 11px; font-weight: 900; color: #fff; opacity: .9; margin: 2px 0 4px; }
.evText p { margin: 0; font-size: 12px; font-weight: 800; line-height: 1.3; color: #fff; text-shadow: 0 1px 0 rgba(11,20,51,.6); }
.evCard button { grid-column: 2; justify-self: end; padding: 8px 22px; font-size: 18px; }
/* Auswahlkampf */
.drPair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 300px; margin: 6px 0; }
.drCard { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; transition: transform .15s; }
.drCard .card { width: 100%; } .drCard small { font-family: var(--head); font-size: 14px; }
.drCard:active { transform: scale(.96); }
.drPair.done .drCard:not(.picked) { opacity: .35; filter: grayscale(.8); }
.drCard.picked .card { box-shadow: 0 0 0 4px var(--accent), 0 0 18px rgba(255,214,90,.8); }
.drTime { width: 100%; height: 10px; border-radius: 6px; background: var(--ink); overflow: hidden; } .drTime i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #FFE38A, #FFC629); transition: width .1s linear; }
.drDeck { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; width: 100%; }
.drSlot { aspect-ratio: 5 / 6; border-radius: 8px; border: 2px dashed #3E64B3; background: rgba(11,20,51,.45); overflow: hidden; }
.drSlot .card { width: 100%; height: 100%; border-width: 2px; } .drSlot .card .nm, .drSlot .card .lv { display: none; } .drSlot .card .cost { transform: scale(.6); transform-origin: 0 0; }

/* Geisterkampf */
.evCard.ghost { background: linear-gradient(180deg, #8FA3C8, #4E5F86); box-shadow: inset 0 -5px 0 #2E3A5C, inset 0 2px 0 rgba(255,255,255,.35), 0 4px 0 rgba(0,0,0,.3); }
.mGhost { font-size: 40px; animation: ghostFloat 2.4s ease-in-out infinite; display: inline-block; }
@keyframes ghostFloat { 50% { transform: translateY(-5px); } }
.ghostList { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.ghostList button { display: flex; flex-direction: column; align-items: center; padding: 8px; font-size: 16px; }
.ghostList button small { font-family: 'Nunito'; font-size: 10px; font-weight: 900; text-shadow: 0 1px 0 var(--ink); opacity: .9; }
.ghostTop { display: flex; align-items: flex-end; gap: 8px; justify-content: center; }
.ghostTop > small { font-size: 11px; font-weight: 900; color: var(--soft); align-self: center; }
.ghostTop .tile { width: 58px; text-align: center; }
.ghostInfo .pDeck { width: 100%; }
.ghostBtn { width: 100%; margin-top: 8px; background: linear-gradient(180deg, #8FA3C8, #4E5F86); box-shadow: inset 0 -5px 0 #2E3A5C, inset 0 2px 0 rgba(255,255,255,.35), 0 3px 0 rgba(0,0,0,.3); }

/* Große Ankündigung */
.bigHead { position: relative; overflow: hidden; margin: -6px -6px 10px; padding: 18px 12px 14px; border-radius: 16px; text-align: center; border: 3px solid var(--ink);
  background: linear-gradient(180deg, #FFE38A, #FFC629 50%, #E59A12); box-shadow: inset 0 -5px 0 var(--accentD), inset 0 2px 0 rgba(255,255,255,.6); }
.bigRays { position: absolute; left: 50%; top: 50%; width: 600px; height: 600px; margin: -300px; background: repeating-conic-gradient(rgba(255,255,255,.35) 0 10deg, transparent 10deg 24deg); animation: raysSpin 18s linear infinite; pointer-events: none; }
.bigHead h1 { position: relative; margin: 2px 0 6px; font-size: 42px; color: #fff; animation: titleDrop .7s cubic-bezier(.2, 1.6, .4, 1) both; }
.bigHead small { position: relative; font-family: var(--head); font-size: 13px; } .bigHead p { position: relative; margin: 0; font-weight: 900; font-size: 13px; color: var(--ink); }
.bigH { margin: 14px 0 8px; text-align: center; }
.bigArenas { display: grid; grid-template-columns: 1fr; gap: 10px; }
.bigArena { position: relative; aspect-ratio: 362 / 170; border-radius: 16px; overflow: hidden; border: 3px solid var(--ink); animation: rwPop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.bigArena svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bigArena span { position: absolute; left: 8px; bottom: 6px; padding: 3px 10px; border-radius: 10px; background: #173A7A; border: 2.5px solid var(--ink); font-family: var(--head); font-size: 14px; }
.bigCards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bigCards .tile { animation: rwPop .45s cubic-bezier(.2, 1.6, .4, 1) both; cursor: pointer; }
.bigHl { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 10px; border-radius: 14px; background: var(--panel); border: 2.5px solid var(--ink); box-shadow: inset 0 0 0 2px var(--panelEdge); }
.bigHl i { font-style: normal; font-size: 28px; line-height: 1; } .bigHl b { display: block; font-family: var(--head); font-weight: 400; font-size: 17px; } .bigHl small { font-size: 12px; color: var(--soft); font-weight: 800; }
.modalBox .x { z-index: 5; } .bigHead { margin-top: 26px; }
