/* =====================================================================
   Asiansoul – Design-System v3 (modern, ruhig, hell & dunkel)
   Aufbau: Schrift → Tokens (hell/dunkel) → Themes (nur Akzentfarben) → Layout → Komponenten → Mobil-App
   Farben NIE direkt in Komponenten: immer über die Tokens unten.
   ===================================================================== */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(../fonts/inter-regular.woff) format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(../fonts/inter-medium.woff) format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(../fonts/inter-semibold.woff) format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url(../fonts/inter-bold.woff) format("woff"); }

:root {
  /* Fläche & Text (hell) */
  --bg: #eef2f5; --surface: #ffffff; --surface-2: #f6f8fa; --surface-3: #edf1f4;
  --ink: #14202a; --ink-soft: #5b6b78; --line: #e1e7ec; --line-strong: #cfd8df;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 20px rgba(16, 24, 40, .06);
  --shadow-lg: 0 18px 50px rgba(16, 24, 40, .18);
  --glass: rgba(255, 255, 255, .78);
  /* Marke (Asiansoul Türkis + Rosa) – Themes überschreiben nur diese */
  --p: #1595bd; --p2: #0c6d8d; --s: #e0457b; --on-p: #ffffff;
  --danger: #d23b3b; --ok: #1f9d55; --warn: #d79a00; --gold: #d4a62a;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px; --radius-sm: 10px;
  --banner-h: clamp(118px, 11vw, 176px);
  color-scheme: light;
}
:root[data-mode="dark"] {
  --bg: #0b1015; --surface: #131a21; --surface-2: #19222b; --surface-3: #202b35;
  --ink: #e4ebf1; --ink-soft: #92a3b2; --line: #24303b; --line-strong: #31404d;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .28);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .55);
  --glass: rgba(19, 26, 33, .78);
  color-scheme: dark;
}
/* Abgeleitete Töne (funktionieren automatisch hell & dunkel) */
:root {
  --p-soft: color-mix(in srgb, var(--p) 11%, var(--surface)); --p-soft-2: color-mix(in srgb, var(--p) 5%, var(--surface));
  --p-line: color-mix(in srgb, var(--p) 28%, var(--line)); --s-soft: color-mix(in srgb, var(--s) 12%, var(--surface));
  --s-line: color-mix(in srgb, var(--s) 30%, var(--line));
  --p-text: color-mix(in srgb, var(--p2) 82%, #000); --s-text: color-mix(in srgb, var(--s) 80%, #000);
  /* Alt-Namen (werden im JavaScript verwendet) */
  --teal-900: var(--p-text); --teal-800: var(--p-text); --teal-700: var(--p-text); --teal-600: var(--p); --teal-500: var(--p);
  --teal-300: var(--p-line); --teal-200: var(--p-line); --teal-100: var(--p-soft); --teal-50: var(--p-soft-2);
  --pink-700: var(--s-text); --pink-600: var(--s); --pink-500: var(--s); --pink-200: var(--s-line); --pink-100: var(--s-soft); --pink-50: var(--s-soft);
  --card: var(--surface); --canvas: var(--bg); --head-a: var(--surface); --head-b: var(--surface);
}
:root[data-mode="dark"] { --p-text: color-mix(in srgb, var(--p) 70%, #fff); --s-text: color-mix(in srgb, var(--s) 72%, #fff);
  --p-soft: color-mix(in srgb, var(--p) 16%, var(--surface)); --s-soft: color-mix(in srgb, var(--s) 16%, var(--surface)); }

/* ---------- Themes: nur Akzente (Banner zeichnet js/banner.js) */
body.season-halloween { --p: #f07a1a; --p2: #b54b06; --s: #8b4fd1; }
body.season-christmas { --p: #2f6fd6; --p2: #1a4a9c; --s: #d6283b; }
body.season-winter    { --p: #4d86ba; --p2: #2c5b88; --s: #8f7fe0; }
body.season-summer    { --p: #f0a800; --p2: #b57d00; --s: #12a7c0; --on-p: #251a00; }
body.season-spring    { --p: #de5590; --p2: #b0386c; --s: #5aa6d0; }
body.season-autumn    { --p: #d26d27; --p2: #9c4a12; --s: #b8862a; }
body.season-tet       { --p: #d4122f; --p2: #960a1f; --s: #e9a817; }
body.season-mondfest  { --p: #eea23a; --p2: #b8731a; --s: #7d7fe0; --on-p: #1e1200; }
body.season-gold      { --p: #d4af37; --p2: #9c7a1c; --s: #f0d27a; --on-p: #170f00; }
:root[data-mode="dark"] body.season-gold { --bg: #050505; --surface: #0f0e0b; --surface-2: #16140f; --surface-3: #1d1a13; --line: #3a311b; --line-strong: #5a4a22; --ink: #f3ead2; --ink-soft: #b9a881; }
body.season-gold .btn.pink, body.season-gold .eventbar { color: var(--on-p); } body.season-gold .eventbar .cd { background: rgba(0, 0, 0, .15); }
body.season-gold .box, body.season-gold .ucard, body.season-gold .post, body.season-gold .photo { border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
body.season-gold .box > h3 { background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 14%, var(--surface)), var(--surface)); }

/* ---------- Grundlagen */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: calc(14px * var(--fs-scale, 1))/1.55 var(--font); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; transition: background-color .4s, color .4s; }
a { color: var(--p-text); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--s-text); }
:focus-visible { outline: 2px solid var(--p); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
code { font-size: .92em; background: var(--surface-3); padding: 1px 5px; border-radius: 5px; }
h1, h2, h3, h4 { letter-spacing: -.01em; }

.wrap { max-width: var(--page-w, 1400px); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.topstrip, .greyband { display: none; }

/* ---------- Kopf: dynamischer Banner */
.banner { position: relative; height: var(--banner-h); margin-top: 14px; border-radius: 18px; overflow: hidden; background: linear-gradient(120deg, var(--p2), var(--p)); box-shadow: var(--shadow); isolation: isolate; }
.banner canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.banner .site-title { position: absolute; inset: 0 0 34px 0; z-index: 2; color: transparent; font-size: 0; }
.tickerbar { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 3; height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 4px 0 14px;
  border-radius: 999px; background: rgba(8, 14, 20, .38); backdrop-filter: blur(10px) saturate(1.3); -webkit-backdrop-filter: blur(10px); color: #fff; border: 1px solid rgba(255, 255, 255, .16); }
.tickerbar .tick { flex: 1; overflow: hidden; white-space: nowrap; font-size: 12.5px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tickerbar .tick span.run { display: inline-block; padding-left: 100%; animation: tick 42s linear infinite; }
.tickerbar .tick b { color: #ffe1ef; font-weight: 600; }
@keyframes tick { to { transform: translateX(-100%); } }
.tickerbar button { border: 0; height: 24px; padding: 0 14px; border-radius: 999px; background: var(--p); color: var(--on-p); font: 600 11.5px var(--font); cursor: pointer; white-space: nowrap; letter-spacing: .02em; }
.tickerbar button:hover { filter: brightness(1.1); }

/* ---------- Navigation (klebt oben, Glas) */
.menubar { position: sticky; top: max(8px, env(safe-area-inset-top, 0px)); z-index: 30; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 12px; padding: 6px;
  background: var(--glass); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.menubar .today { display: none; }
.menubar nav { display: flex; flex-wrap: nowrap; gap: 2px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; } .menubar nav::-webkit-scrollbar { display: none; }
.menubar nav a, .menubar .right a, .menubar .right button.navbtn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 11px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 13.5px; white-space: nowrap; position: relative; border: 0; background: none; font-family: var(--font); cursor: pointer; transition: background-color .15s, color .15s, transform .15s; }
.menubar nav a .ic, .menubar .right .ic { font-size: 15px; filter: saturate(.9); }
.menubar nav a:hover, .menubar .right a:hover, .menubar .right button.navbtn:hover { background: var(--surface-3); color: var(--p-text); }
.menubar nav a.on { background: var(--p-soft); color: var(--p-text); box-shadow: inset 0 0 0 1px var(--p-line); }
.menubar .right { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.menubar .right a.cash { background: color-mix(in srgb, var(--gold) 14%, var(--surface)); color: color-mix(in srgb, var(--gold) 55%, var(--ink)); }
.menubar a .badge, .tile .badge, .tabbar a .badge { position: absolute; top: 2px; right: 2px; }
.menubar a.glow, .tabbar a.glow { animation: glowpulse 1.4s ease-in-out infinite; color: var(--s-text); background: var(--s-soft); }
@keyframes glowpulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--s) 0%, transparent), 0 0 8px 1px color-mix(in srgb, var(--s) 60%, transparent); } 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--s) 18%, transparent), 0 0 18px 5px color-mix(in srgb, var(--s) 70%, transparent); } }
.badge { display: inline-block; min-width: 17px; padding: 0 5px; border-radius: 9px; background: var(--s); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--surface); }
.burger { display: none; }
.modeswitch { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--surface-3); gap: 2px; margin-left: 4px; }
.modeswitch button { border: 0; background: none; padding: 5px 8px; border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--ink-soft); }
.modeswitch button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }

/* Event-Leiste */
.eventbar { margin-top: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; border-radius: 14px; color: #fff;
  background: linear-gradient(100deg, var(--s), var(--p)); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.eventbar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .25), transparent 70%); transform: translateX(-100%); animation: sheen 4s ease-in-out infinite; }
.eventbar b { font-size: 14px; } .eventbar .mult { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.eventbar .cd { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; background: rgba(0, 0, 0, .2); padding: 3px 10px; border-radius: 999px; font-size: 12.5px; }

/* ---------- Spalten */
.cols { display: grid; grid-template-columns: var(--left-w, 250px) minmax(0, 1fr) var(--right-w, 260px); gap: var(--col-gap, 14px); margin-top: 18px; align-items: start; }
.cols.no-left { grid-template-columns: minmax(0, 1fr) var(--right-w, 260px); } .cols.no-right { grid-template-columns: var(--left-w, 250px) minmax(0, 1fr); } .cols.no-left.no-right { grid-template-columns: minmax(0, 1fr); }
.col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.topslot:empty { display: none; } .topslot { margin-top: 16px; }
.widget { display: contents; }

/* ---------- Karten */
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.box > h3 { margin: 0; padding: 13px 16px 11px; font: 700 12px/1.3 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--p-text); border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.box > h3 > span:first-child { display: flex; align-items: center; gap: 8px; min-width: 0; }
.box > h3 > span:first-child::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: linear-gradient(var(--p), var(--s)); flex: none; }
.box > h3 .act { font: 500 12px var(--font); text-transform: none; letter-spacing: 0; }
.box .in { padding: 14px 16px; }
.box.pink > h3 { color: var(--s-text); } .box.pink > h3 > span:first-child::before { background: var(--s); }
.box.main > h3 { font-size: 13px; }

/* ---------- Buttons */
.btn { --b: var(--p); display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: var(--radius-sm); padding: 8px 15px; min-height: 36px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--b) 88%, #fff), var(--b)); color: var(--on-p); font: 600 13px var(--font); cursor: pointer; text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 4px 12px color-mix(in srgb, var(--b) 28%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25); position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s, filter .15s; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: translateX(-130%) skewX(-20deg); pointer-events: none; }
.btn:hover { transform: translateY(-1px); color: var(--on-p); box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 10px 22px color-mix(in srgb, var(--b) 35%, transparent); }
.btn:hover::after { animation: shine .75s ease; }
.btn:active { transform: translateY(0) scale(.98); }
.btn::before { content: none !important; }
.btn.block { display: flex; width: 100%; }
.btn.pink { --b: var(--s); color: #fff; } .btn.red { --b: var(--danger); color: #fff; }
.btn.grey { background: var(--surface-3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.grey:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, var(--surface-3)); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.small { padding: 5px 11px; min-height: 30px; font-size: 12px; border-radius: 9px; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
@keyframes shine { to { transform: translateX(260%) skewX(-20deg); } }
@keyframes sheen { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.flink, .chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--ink); font-weight: 600; font-size: 12.5px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s, border-color .15s, background-color .15s; }
.flink::before { content: none; }
.flink:hover, .chip:hover { border-color: var(--p-line); background: var(--p-soft); color: var(--p-text); transform: translateY(-1px); }
.linkbtn { border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer; padding: 2px 9px; font: 600 11.5px var(--font); border-radius: 999px; text-decoration: none; transition: all .15s; }
.linkbtn:hover { color: var(--p-text); border-color: var(--p-line); background: var(--p-soft-2); }
.linkbtn.red { color: var(--danger); } .linkbtn.red:hover { border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); }
.iconbtn { border: 1px solid var(--line); background: var(--surface); border-radius: 9px; cursor: pointer; padding: 2px 5px; min-width: 34px; min-height: 34px; transition: all .15s; }
.iconbtn:hover { border-color: var(--p-line); transform: translateY(-1px); }
.iconbtn img { width: 24px; height: 24px; vertical-align: middle; object-fit: contain; }

/* ---------- Formulare */
input[type=text], input[type=password], input[type=email], input[type=date], input[type=datetime-local], input[type=number], input[type=search], select, textarea {
  width: 100%; font: 14px var(--font); color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 8px 11px; min-height: 38px; transition: border-color .15s, box-shadow .15s, background-color .15s; }
textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--p); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--p) 22%, transparent); background: var(--surface); }
input[type=color] { width: 44px; height: 34px; padding: 2px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); cursor: pointer; }
input[type=range] { accent-color: var(--p); width: 100%; }
input[type=checkbox], input[type=radio] { accent-color: var(--p); width: 16px; height: 16px; }
label { display: block; }
.form { display: grid; gap: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.formtable { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 10px 14px; align-items: center; }
.formtable > .lbl { font-weight: 600; font-size: 13px; color: var(--ink-soft); }
.check { display: flex; gap: 9px; align-items: flex-start; }
.check input { margin-top: 2px; flex: none; }
.hint { color: var(--ink-soft); font-size: 12.5px; }
.err { color: var(--danger); font-weight: 600; } .okmsg { color: var(--ok); font-weight: 600; }
.hp { position: absolute; left: -9999px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin: 0; background: var(--surface-2); }
legend { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--p-text); padding: 0 6px; }

/* ---------- Tabs (Segment) */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 14px; padding: 4px; background: var(--surface-3); border-radius: 12px; }
.tabs a, .tabs button { padding: 7px 13px; border-radius: 9px; color: var(--ink-soft); text-decoration: none; font: 600 12.5px var(--font); border: 0; background: none; cursor: pointer; transition: all .15s; }
.tabs a:hover, .tabs button:hover { color: var(--ink); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.tabs a.on, .tabs button.on { background: var(--surface); color: var(--p-text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

/* ---------- Mitglieder & Avatare */
.av { width: 36px; height: 36px; object-fit: cover; border: 2px solid var(--rc, var(--p-line)); border-radius: 10px; background: var(--surface-3); flex: none; }
.av.lg { width: 120px; height: 120px; border-width: 3px; border-radius: 22px; } .av.md { width: 54px; height: 54px; border-radius: 14px; } .av.sm { width: 28px; height: 28px; border-width: 1.5px; border-radius: 8px; }
.av.sup, img.sup { border-color: var(--gold) !important; animation: goldshine 2.4s ease-in-out infinite; }
@keyframes goldshine { 0%, 100% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 50%, transparent), 0 0 6px 1px color-mix(in srgb, var(--gold) 55%, transparent); } 50% { box-shadow: 0 0 0 1px var(--gold), 0 0 14px 3px color-mix(in srgb, var(--gold) 80%, transparent); } }
.ulink { font-weight: 600; text-decoration: none; color: var(--rc, var(--p-text)); }
.ulink:hover { text-decoration: underline; }
.rolebadge { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--rc); padding: 1px 7px; border-radius: 6px; line-height: 16px; vertical-align: middle; }
.supbadge { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #3d2b00; background: linear-gradient(90deg, #f6d36b, #ffe9a6, #e9bb3e); padding: 1px 7px; border-radius: 6px; line-height: 16px; vertical-align: middle; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); vertical-align: middle; }
.dot.on { background: #22c55e; box-shadow: 0 0 0 3px color-mix(in srgb, #22c55e 22%, transparent); }
.ugrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.ucard { text-align: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 6px 12px; text-decoration: none; color: var(--ink); min-width: 0; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ucard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--p-line); color: var(--ink); }
.ucard img { width: 76px; height: 76px; border-radius: 18px; }
.ucard .n { display: block; margin-top: 7px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ucard .m { font-size: 11.5px; color: var(--ink-soft); }
.mini-list { display: flex; flex-direction: column; gap: 9px; }
.mini-user { display: flex; gap: 9px; align-items: center; min-width: 0; }
.mini-user .t { min-width: 0; overflow: hidden; } .mini-user .t small { display: block; color: var(--ink-soft); font-size: 11.5px; }
.avrow { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Mein Bereich: Kacheln */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 12px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 4px; border-radius: 12px; text-decoration: none; position: relative;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); font-size: 11.5px; font-weight: 600; min-height: 60px; transition: transform .18s, box-shadow .18s, border-color .18s, background-color .18s; }
.tile .ic { font-size: 20px; line-height: 1; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--p-line); background: var(--p-soft-2); color: var(--p-text); }
.tile:hover .ic { transform: scale(1.18) rotate(-6deg); }
.tile.gold { background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 22%, var(--surface)), color-mix(in srgb, var(--gold) 8%, var(--surface))); border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); color: color-mix(in srgb, var(--gold) 50%, var(--ink)); }
.boostbar { margin-top: 10px; padding: 7px 10px; border-radius: 10px; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 30%, var(--surface)), color-mix(in srgb, var(--gold) 12%, var(--surface))); color: color-mix(in srgb, var(--gold) 45%, var(--ink)); font-size: 12px; font-weight: 600; text-align: center; }
.cur { font-weight: 700; color: color-mix(in srgb, var(--gold) 70%, var(--ink)); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Shoutbox */
.sb-list { height: 360px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding-right: 4px; scrollbar-width: thin; }
.sb-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 13px; line-height: 1.4; animation: enter .3s ease both; }
.sb-item .av { width: 34px; height: 34px; }
.sb-item .txt { overflow-wrap: anywhere; background: var(--surface-2); border: 1px solid var(--line); padding: 6px 9px; border-radius: 4px 12px 12px 12px; }
.sb-item .meta { display: flex; justify-content: space-between; gap: 4px; min-width: 0; margin-bottom: 2px; }
.sb-item .meta .ulink { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-size: 12.5px; }
.sb-item .meta small { color: var(--ink-soft); font-size: 10.5px; white-space: nowrap; }
.sb-item .del { border: 0; background: none; color: var(--ink-soft); cursor: pointer; font-size: 12px; padding: 0 2px; }
.sb-item .del:hover { color: var(--danger); }
.sb-form { display: grid; gap: 7px; margin-top: 10px; }
.sb-form .tools { display: flex; gap: 6px; align-items: center; } .sb-form .tools .grow { flex: 1; }
.smiley { height: 24px; vertical-align: middle; }
.bb .smiley { height: 28px; }

/* ---------- Editor & Smilies */
.editor { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-2); overflow: hidden; }
.editor:focus-within { border-color: var(--p); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p) 22%, transparent); }
.editor .bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-bottom: 1px solid var(--line); background: var(--surface); align-items: center; }
.editor .bar button { min-width: 30px; height: 30px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer; font: 600 13px var(--font); border-radius: 8px; }
.editor .bar button:hover { border-color: var(--p-line); background: var(--p-soft); }
.editor .bar input[type=color] { width: 30px; height: 30px; padding: 1px; }
.editor .bar .fxbtn { background: linear-gradient(90deg, var(--s), var(--p)); color: #fff; border: 0; padding: 0 12px; }
.editor textarea { border: 0; border-radius: 0; min-height: 110px; background: transparent; box-shadow: none !important; }
.smilepop { position: absolute; z-index: 90; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); width: min(420px, 94vw); max-height: 360px; overflow: hidden; animation: pop .18s ease both; }
.smilepop .stabs { display: flex; gap: 3px; overflow-x: auto; padding: 6px; background: var(--surface-2); border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.smilepop .stabs button { flex: none; height: 38px; width: 38px; border-radius: 10px; padding: 0; }
.smilepop .stabs button.on { border-color: var(--p); box-shadow: 0 0 0 2px color-mix(in srgb, var(--p) 25%, transparent); background: var(--p-soft); }
.smilepop .stabs img { width: 30px; height: 30px; }
.smilepop .stitle { font-size: 12px; font-weight: 700; color: var(--p-text); padding: 8px 10px 0; display: flex; gap: 6px; align-items: center; }
.smilepop .sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 4px; padding: 8px; max-height: 260px; overflow-y: auto; }
.smilepop .sgrid button { height: 52px; border-color: transparent; background: none; }
.smilepop .sgrid button:hover { background: var(--p-soft); border-color: var(--p-line); }
.smilepop .sgrid img { width: 46px; height: 46px; }

/* ---------- Inhalte */
.bb { overflow-wrap: anywhere; }
.bb blockquote { margin: 6px 0; padding: 8px 12px; border-left: 3px solid var(--p); background: var(--surface-2); border-radius: 0 10px 10px 0; }
.bb .big { font-size: 1.35em; } .bb .small { font-size: .85em; } .bb .c { display: block; text-align: center; }
.bb h4 { margin: 8px 0 4px; color: var(--p-text); font-size: 15px; }
.mention { font-weight: 600; text-decoration: none; }
.list { display: flex; flex-direction: column; }
.list > .item { display: flex; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); align-items: flex-start; min-width: 0; }
.list > .item:last-child { border-bottom: 0; }
.item .body { flex: 1; min-width: 0; }
.item .head { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: space-between; }
.item .head small, .muted { color: var(--ink-soft); font-size: 12px; }
.empty { color: var(--ink-soft); padding: 22px 6px; text-align: center; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; color: var(--ink-soft); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--line); font-weight: 700; }
.table td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: var(--surface-2); }
.tablewrap { overflow-x: auto; }
.pill { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--p-soft); color: var(--p-text); border: 1px solid var(--p-line); }
.pill.pink { background: var(--s-soft); color: var(--s-text); border-color: var(--s-line); }
.pill.red { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); }
.pill.green { background: color-mix(in srgb, var(--ok) 12%, var(--surface)); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
.flex { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pager { display: flex; gap: 5px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }

/* ---------- Profil (Grundgerüst; Nutzer-Design in profile-wrap) */
.profile-head { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; }
.profile-head h2 { margin: 0 0 8px; font-size: 24px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 10px; font-size: 13px; margin: 0; }
.facts dt { color: var(--ink-soft); } .facts dd { margin: 0; font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.married { margin-top: 10px; padding: 6px 12px; background: var(--s-soft); border: 1px solid var(--s-line); border-radius: 10px; color: var(--s-text); font-weight: 600; display: inline-block; }

/* ---------- Geschenke: glänzend & animiert */
.giftgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.gift { position: relative; overflow: hidden; text-align: center; background: linear-gradient(160deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); border-radius: 14px; padding: 12px 6px 10px; font-size: 12px; min-width: 0;
  transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), box-shadow .2s, border-color .2s; isolation: isolate; }
.gift::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%); transform: translateX(-120%); animation: giftsheen 5s ease-in-out infinite; pointer-events: none; z-index: 2; }
.gift:nth-child(3n+2)::after { animation-delay: 1.3s; } .gift:nth-child(3n)::after { animation-delay: 2.6s; }
@keyframes giftsheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.gift .ic { font-size: 34px; display: block; line-height: 1.25; margin-bottom: 2px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .18)); animation: giftfloat 3.2s ease-in-out infinite; }
.gift:nth-child(2n) .ic { animation-delay: -1.6s; }
@keyframes giftfloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-3deg); } }
.gift:hover { transform: translateY(-4px) scale(1.03); box-shadow: var(--shadow); border-color: var(--p-line); }
.gift:hover .ic { animation: giftwiggle .5s ease; }
@keyframes giftwiggle { 0%, 100% { transform: rotate(0) scale(1); } 30% { transform: rotate(-12deg) scale(1.15); } 60% { transform: rotate(10deg) scale(1.1); } }
.gift.pick { cursor: pointer; font: 500 12px var(--font); color: var(--ink); }
.gift.pick.on { border-color: var(--s); box-shadow: 0 0 0 3px color-mix(in srgb, var(--s) 25%, transparent); background: var(--s-soft); }
.gift.event { border-color: color-mix(in srgb, var(--gold) 60%, var(--line)); background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--gold) 26%, var(--surface)), var(--surface)); animation: eventglow 2.6s ease-in-out infinite; }
@keyframes eventglow { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 16px 1px color-mix(in srgb, var(--gold) 55%, transparent); } }
.gift.event::before { content: "EVENT"; position: absolute; top: 8px; right: -24px; transform: rotate(38deg); background: linear-gradient(90deg, #e2463a, #ff7a3c); color: #fff; font-size: 8.5px; font-weight: 800; letter-spacing: .08em; padding: 2px 26px; z-index: 3; }
.gift .stock { display: inline-block; margin-top: 4px; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--danger); padding: 1px 7px; border-radius: 999px; animation: fxpulse 1.6s ease-in-out infinite; }
.gift .spark { position: absolute; font-size: 11px; animation: twinkle 1.8s ease-in-out infinite; z-index: 3; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1); } }

/* ---------- Fotos */
.photogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.photo { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: transform .2s, box-shadow .2s; }
.photo:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.photo img { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: zoom-in; display: block; background: var(--surface-3); }
.photo .cap { padding: 7px 9px; font-size: 12px; display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.likebtn { border: 1px solid var(--s-line); background: var(--s-soft); color: var(--s-text); border-radius: 999px; cursor: pointer; padding: 2px 10px; font: 700 12px var(--font); white-space: nowrap; transition: transform .15s; }
.likebtn:hover { transform: scale(1.06); } .likebtn.on { background: var(--s); color: #fff; border-color: var(--s); }

/* ---------- Nachrichten */
.pm-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 14px; min-height: 440px; }
.pm-conv { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: auto; background: var(--surface-2); }
.pm-conv a { display: flex; gap: 9px; align-items: center; padding: 10px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.pm-conv a.on, .pm-conv a:hover { background: var(--p-soft); }
.pm-thread { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; min-width: 0; overflow: hidden; }
.pm-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; max-height: 520px; background: var(--surface-2); }
.bubble { max-width: 78%; padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: var(--surface); border: 1px solid var(--line); align-self: flex-start; overflow-wrap: anywhere; animation: enter .25s ease both; }
.bubble.mine { align-self: flex-end; background: linear-gradient(160deg, var(--p), var(--p2)); color: var(--on-p); border: 0; border-radius: 16px 16px 4px 16px; }
.bubble.mine small, .bubble.mine .linkbtn { color: color-mix(in srgb, var(--on-p) 75%, transparent); }
.bubble small { display: block; color: var(--ink-soft); font-size: 10.5px; margin-top: 3px; }
.e2e { font-size: 11.5px; color: var(--ok); font-weight: 600; }
.pm-form { padding: 10px; border-top: 1px solid var(--line); display: grid; gap: 6px; background: var(--surface); }

/* ---------- Chat */
.chat { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 14px; }
.chat-msgs { height: 480px; overflow-y: auto; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--surface-2); display: flex; flex-direction: column; gap: 5px; }
.chat-line { overflow-wrap: anywhere; padding: 3px 6px; border-radius: 8px; }
.chat-line small { color: var(--ink-soft); font-size: 11px; margin-right: 6px; font-variant-numeric: tabular-nums; }
.chat-line.me { background: var(--s-soft); box-shadow: inset 3px 0 0 var(--s); }
.chat-line.me a.mention { background: var(--s); color: #fff; border-radius: 5px; padding: 0 4px; }
.namebtn { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }
.room-glow { animation: glowpulse 1.4s ease-in-out infinite; }

/* ---------- Forum */
.forum-cat { display: grid; grid-template-columns: minmax(0, 1fr) 80px 80px 200px; gap: 10px; padding: 12px 8px; border-bottom: 1px solid var(--line); align-items: center; border-radius: 10px; transition: background-color .15s; }
.forum-cat:hover { background: var(--surface-2); }
.forum-cat .ttl { font-weight: 700; font-size: 14.5px; text-decoration: none; }
.forum-cat .num { text-align: center; font-size: 12px; color: var(--ink-soft); } .forum-cat .num b { color: var(--ink); font-size: 15px; }
.post { display: grid; grid-template-columns: 140px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: var(--surface); overflow: hidden; }
.post .who { background: var(--surface-2); padding: 12px; text-align: center; border-right: 1px solid var(--line); font-size: 12.5px; min-width: 0; overflow: hidden; }
.post .what { padding: 12px 14px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.post .what .tools { display: flex; gap: 8px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 8px; font-size: 12px; flex-wrap: wrap; }

/* ---------- Werbung */
.ad { display: block; text-align: center; } .ad img { display: block; margin: 0 auto; border-radius: 10px; }
.ad small { display: block; color: var(--ink-soft); font-size: 9.5px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 3px; }
.adbox { display: flex; align-items: center; justify-content: center; min-height: 90px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--ink-soft); font-size: 11px; background: var(--surface-2); }

/* ---------- Fußleiste */
.footer { margin-top: 28px; padding-bottom: 24px; }
.footer .bar { height: 1px; background: var(--line); margin-bottom: 14px; }
.footer .links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 8px; font-size: 12.5px; align-items: center; }
.footer .copy { margin-right: auto; color: var(--ink-soft); }

/* ---------- Dialog, Toast, Lightbox */
.modal-back { position: fixed; inset: 0; background: rgba(4, 10, 16, .55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px; animation: fadein .2s ease both; }
.modal { background: var(--surface); border-radius: 18px; width: min(560px, 100%); max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: pop .22s ease both; }
.modal .box { border: 0; box-shadow: none; }
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--surface); padding: 10px 18px; border-radius: 12px; z-index: 120; font-weight: 600; max-width: 90vw; box-shadow: var(--shadow-lg); animation: toastin .25s ease both; }
.toast.bad { background: var(--danger); color: #fff; }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 10px); } }
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .9); z-index: 110; display: flex; align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; flex-direction: column; gap: 10px; color: #fff; }
.lightbox img { max-height: 85vh; border-radius: 12px; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fadein { from { opacity: 0; } }
.page-enter > * { animation: enter .35s ease both; }
.page-enter > *:nth-child(2) { animation-delay: .05s; } .page-enter > *:nth-child(3) { animation-delay: .1s; } .page-enter > *:nth-child(4) { animation-delay: .15s; }
.col.side .widget > section { animation: enter .4s ease both; }

/* ---------- Effekte, Wartung, Demo, Admin */
#fx { position: fixed; inset: 0; pointer-events: none; z-index: 40; }
.maint { max-width: 520px; margin: 60px auto; text-align: center; } .maint img { width: 140px; }
.demo-bar { margin-top: 12px; background: color-mix(in srgb, var(--warn) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--warn) 40%, var(--line)); color: var(--ink); padding: 8px 12px; font-size: 12px; display: flex; gap: 6px 10px; flex-wrap: wrap; align-items: center; border-radius: 12px; }
.demo-bar b { white-space: nowrap; }
.demo-bar button { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: 8px; font: 500 12px var(--font); cursor: pointer; padding: 3px 8px; }
.demo-bar button:hover { border-color: var(--p); }
.adm-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; }
.adm-nav { display: flex; flex-direction: column; gap: 2px; }
.adm-nav a { padding: 7px 10px; text-decoration: none; border-radius: 9px; color: var(--ink); font-weight: 500; font-size: 13px; }
.adm-nav a:hover { background: var(--surface-2); } .adm-nav a.on { background: var(--p-soft); color: var(--p-text); font-weight: 700; }
.adm-nav .grp { font-size: 10.5px; text-transform: uppercase; color: var(--ink-soft); padding: 12px 10px 4px; letter-spacing: .08em; font-weight: 700; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.stat { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.stat b { display: block; font-size: 24px; color: var(--p-text); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat span { font-size: 11px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.widget-row { display: grid; grid-template-columns: minmax(0, 1fr) 130px 80px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.evrow { display: grid; grid-template-columns: minmax(0, 1.2fr) 180px 180px 80px 130px auto; gap: 8px; align-items: end; padding: 10px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: var(--surface-2); }
.evrow label { font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.evrow.live { border-color: var(--ok); box-shadow: inset 4px 0 0 var(--ok); }

/* ---------- Unterstützen */
.tier { border: 1px solid color-mix(in srgb, var(--gold) 55%, var(--line)); border-radius: 14px; padding: 14px; background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--gold) 20%, var(--surface)), var(--surface)); text-align: center; }
.tier b { font-size: 22px; color: color-mix(in srgb, var(--gold) 60%, var(--ink)); display: block; }

/* =====================================================================
   Tablet & Smartphone: App-Ansicht
   ===================================================================== */
.tabbar, .drawer, .drawer-back, .appbar { display: none; }
@media (max-width: 1180px) {
  .cols, .cols.no-left, .cols.no-right { grid-template-columns: minmax(0, 1fr) 280px; }
  .cols #col-left { display: none; }
  .menubar .right a .lbl { display: none; }
}
@media (max-width: 860px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .wrap { padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); }
  .cols, .cols.no-left, .cols.no-right { grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
  .cols .col.side { display: none; }
  .menubar { display: none; }
  .appbar { display: flex; position: sticky; top: 0; z-index: 30; align-items: center; gap: 10px; margin: 0 calc(-1 * max(12px, env(safe-area-inset-left, 0px))); padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 8px;
    background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
  .appbar .brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; margin-right: auto; }
  .appbar .brand img { width: 30px; height: 30px; border-radius: 8px; }
  .appbar a.cash, .appbar button { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; padding: 6px 10px; font: 600 13px var(--font); text-decoration: none; position: relative; cursor: pointer; }
  .appbar a.cash { color: color-mix(in srgb, var(--gold) 60%, var(--ink)); }
  .appbar .badge { position: absolute; top: -6px; right: -6px; }
  .banner { margin-top: 10px; border-radius: 16px; --banner-h: 104px; }
  .tickerbar { left: 8px; right: 8px; bottom: 7px; height: 26px; } .tickerbar button { height: 20px; padding: 0 10px; font-size: 10.5px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 6px max(8px, env(safe-area-inset-left, 0px)) calc(6px + env(safe-area-inset-bottom, 0px));
    background: var(--glass); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 0; border-radius: 12px; color: var(--ink-soft); text-decoration: none; font-size: 10.5px; font-weight: 600; position: relative; transition: color .15s, background-color .15s; }
  .tabbar a .ic { font-size: 21px; line-height: 1; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
  .tabbar a.on { color: var(--p-text); } .tabbar a.on .ic { transform: translateY(-2px) scale(1.12); }
  .tabbar a .badge { top: 0; right: calc(50% - 22px); }
  .drawer-back { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(4, 10, 16, .5); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .drawer { display: flex; flex-direction: column; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-height: 86vh; overflow-y: auto; padding: 10px 14px calc(18px + env(safe-area-inset-bottom, 0px));
    background: var(--bg); border-radius: 22px 22px 0 0; box-shadow: var(--shadow-lg); transform: translateY(105%); transition: transform .32s cubic-bezier(.2, .9, .3, 1); }
  .drawer::before { content: ""; align-self: center; width: 44px; height: 5px; border-radius: 3px; background: var(--line-strong); flex: none; }
  body.drawer-open .drawer { transform: none; } body.drawer-open .drawer-back { opacity: 1; pointer-events: auto; }
  .drawer .navgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .drawer .navgrid a, .drawer .navgrid button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 11.5px var(--font); position: relative; cursor: pointer; }
  .drawer .navgrid .ic { font-size: 22px; }
  .drawer .box { box-shadow: none; }
  .sb-list { height: 52vh; }
  .formtable { grid-template-columns: minmax(0, 1fr); gap: 4px 0; } .formtable > .lbl { margin-top: 6px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .profile-head { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } .profile-head h2 { justify-content: center; }
  .facts { text-align: left; } .actions { justify-content: center; }
  .forum-cat { grid-template-columns: minmax(0, 1fr) 60px; } .forum-cat .num:nth-child(3), .forum-cat .last { display: none; }
  .post { grid-template-columns: minmax(0, 1fr); } .post .who { border-right: 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; text-align: left; }
  .pm-layout, .chat { grid-template-columns: minmax(0, 1fr); } .pm-conv { max-height: 170px; } .chat-msgs { height: 55vh; }
  .adm-layout { grid-template-columns: minmax(0, 1fr); } .adm-nav { flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 4px; } .adm-nav .grp { display: none; } .adm-nav a { white-space: nowrap; background: var(--surface-2); }
  .evrow { grid-template-columns: 1fr 1fr; }
  .box .in { padding: 12px; }
  .ugrid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; } .ucard img { width: 64px; height: 64px; }
  .footer .links { justify-content: center; } .footer .copy { width: 100%; text-align: center; margin: 0 0 6px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ===== Effekte (Asiansoul-Codes) & Profil-Designer ===== */
/* ---------- Text-Effekte (BBCode) – sicher: nur Klassen, keine Nutzer-CSS */
@keyframes fxblink { 50% { opacity: .1; } }
@keyframes fxrainbow { to { background-position: 200% 0; } }
@keyframes fxshake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-2px) rotate(-1deg); } 75% { transform: translateX(2px) rotate(1deg); } }
@keyframes fxbounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes fxpulse { 50% { transform: scale(1.12); } }
@keyframes fxspin { to { transform: rotate(360deg); } }
@keyframes fxwave { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes fxmarquee { from { transform: translateX(100%); } to { transform: translateX(-100%); } }
@keyframes fxmarqueer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes fxglitter { 0%,100% { filter: drop-shadow(0 0 1px #fff) brightness(1); } 50% { filter: drop-shadow(0 0 4px #fff6a8) brightness(1.3); } }
@keyframes fxtype { from { width: 0; } }
@keyframes fxcaret { 50% { border-color: transparent; } }
@keyframes fxfade { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes fxneon { 0%,100% { text-shadow: 0 0 4px #fff, 0 0 10px var(--c, #ff2bd6), 0 0 20px var(--c, #ff2bd6); } 50% { text-shadow: 0 0 2px #fff, 0 0 5px var(--c, #ff2bd6); } }
.fx-blink { animation: fxblink 1s steps(1) infinite; }
.fx-rainbow, .fx-glitter, .fx-gradient { background: linear-gradient(90deg, #ff3b6b, #ff9f1c, #ffe14d, #3dd68c, #36c5f0, #8b5cf6, #ff3b6b); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fxrainbow 3s linear infinite; font-weight: bold; }
.fx-glitter { background: linear-gradient(90deg, #d4a017, #fff6a8, #f7c948, #fff, #d4a017); background-size: 200% 100%; animation: fxrainbow 2s linear infinite, fxglitter 1.2s ease-in-out infinite; }
.fx-gradient { animation: none; }
.fx-glow { text-shadow: 0 0 6px var(--c, #ff5fa2), 0 0 12px var(--c, #ff5fa2); }
.fx-neon { color: #fff; animation: fxneon 1.6s ease-in-out infinite; }
.fx-shadow { text-shadow: 2px 2px 0 rgba(0,0,0,.25); }
.fx-shake, .fx-bounce, .fx-pulse, .fx-spin, .fx-wave i { display: inline-block; }
.fx-shake { animation: fxshake .4s linear infinite; } .fx-bounce { animation: fxbounce 1s ease-in-out infinite; } .fx-pulse { animation: fxpulse 1.1s ease-in-out infinite; }
.fx-spin { animation: fxspin 2.5s linear infinite; } .fx-fade { animation: fxfade 2s ease-in-out infinite; }
.fx-wave i { font-style: inherit; animation: fxwave 1.2s ease-in-out infinite; }
.fx-marquee { display: block; overflow: hidden; white-space: nowrap; } .fx-marquee > span { display: inline-block; animation: fxmarquee 9s linear infinite; }
.fx-marquee.r > span { animation-name: fxmarqueer; }
.fx-type { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 2px solid currentColor; animation: fxtype 3s steps(30) 1 both, fxcaret .8s step-end infinite; vertical-align: bottom; max-width: 100%; }
.fx-box { display: block; border: 2px solid var(--c, var(--pink-500)); background: color-mix(in srgb, var(--c, var(--pink-500)) 12%, var(--surface)); border-radius: 8px; padding: 6px 10px; margin: 4px 0; }
.fx-spoiler { border: 1px dashed var(--line); border-radius: 4px; padding: 2px 8px; margin: 4px 0; }
.fx-spoiler summary { cursor: pointer; font-weight: bold; color: var(--teal-700); }
.fx-code { display: block; font-family: "Courier New", monospace; background: var(--surface-3); border: 1px solid var(--line); border-radius: 4px; padding: 6px; white-space: pre-wrap; }
.bb .s1 { font-size: .75em; } .bb .s2 { font-size: .9em; } .bb .s3 { font-size: 1em; } .bb .s4 { font-size: 1.25em; } .bb .s5 { font-size: 1.6em; } .bb .s6 { font-size: 2em; } .bb .s7 { font-size: 2.6em; line-height: 1.2; }
.bb h1, .bb h2, .bb h3 { margin: 6px 0; color: var(--pc, var(--teal-800)); line-height: 1.2; } .bb h1 { font-size: 22px; } .bb h2 { font-size: 18px; } .bb h3 { font-size: 15px; }
.bb hr { border: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--pc, var(--teal-300)), transparent); margin: 10px 0; }
.bb .l { display: block; text-align: left; } .bb .r { display: block; text-align: right; } .bb .j { display: block; text-align: justify; }
.bb ul { margin: 4px 0; padding-left: 20px; }
.bb img.bbfoto { max-width: 100%; max-height: 400px; border-radius: 6px; vertical-align: middle; }
.ff-serif { font-family: Georgia, "Times New Roman", serif; } .ff-rounded { font-family: "Trebuchet MS", sans-serif; } .ff-mono { font-family: "Courier New", monospace; }
.ff-handwriting { font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; } .ff-elegant { font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; font-style: italic; }
.ff-comic { font-family: "Comic Sans MS", "Chalkboard SE", cursive; } .ff-bold { font-family: Impact, "Arial Black", sans-serif; letter-spacing: .5px; } .ff-pixel { font-family: "Courier New", monospace; font-weight: bold; letter-spacing: 1px; }
.ff-narrow { font-family: "Arial Narrow", "Roboto Condensed", sans-serif; }

/* ---------- Profil-Designer (My Page) */
.profile-wrap { --pbg: var(--surface); --pfg: var(--ink); --pc: var(--teal-800); --pbox: color-mix(in srgb, var(--surface) 88%, transparent); --pborder: var(--line); --pradius: 14px; --ptab: var(--teal-700); color: var(--pfg); }
.profile-wrap .pcard { background: var(--pbox); border: var(--pbw, 1px) var(--pbs, solid) var(--pborder); border-radius: var(--pradius); padding: 12px; backdrop-filter: blur(var(--pblur, 0px)); box-shadow: 0 var(--pshadow, 0px) calc(var(--pshadow, 0px) * 2) rgba(0,0,0,.18); }
.profile-wrap.bs-glow .pcard { box-shadow: 0 0 12px 2px var(--pborder); }
.profile-wrap.bs-rainbow .pcard { border-color: transparent !important; border-image: none; }
.profile-wrap.bs-rainbow .pcard::before { content: ""; position: absolute; inset: calc(-1 * var(--pbw, 3px)); padding: max(var(--pbw, 3px), 2px); border-radius: inherit; background: linear-gradient(120deg, #ff3b6b, #ffb000, #ffe14d, #3dd68c, #36c5f0, #8b5cf6, #ff3b6b); background-size: 300% 100%; animation: fxrainbow 6s linear infinite; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; z-index: 0; }
.profile-stage { border-radius: 8px; padding: 12px; background-color: var(--pbg); background-size: var(--psize, auto); background-attachment: var(--pattach, scroll); display: flex; flex-direction: column; gap: 10px; position: relative; }
.profile-wrap .tabs a, .profile-wrap .tabs button { background: var(--ptab); }
.profile-wrap.tabs-pill .tabs a { border-radius: 14px; } .profile-wrap.tabs-glass .tabs a { background: rgba(255,255,255,.35); color: var(--pfg); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.6); }
.profile-wrap.tabs-underline .tabs a { background: none; color: var(--pfg); border-bottom: 3px solid transparent; } .profile-wrap.tabs-underline .tabs a.on { border-bottom-color: var(--ptab); } .profile-wrap.tabs-underline .tabs a.on::after { display: none; }
.profile-wrap .pname { color: var(--pname, var(--pc)); }
.profile-wrap.sz-s { font-size: 11px; } .profile-wrap.sz-l { font-size: 13.5px; } .profile-wrap.sz-xl { font-size: 15px; }
.ne-glow .pname { text-shadow: 0 0 8px var(--pname, var(--pc)); }
.ne-rainbow .pname, .ne-gold .pname { background: linear-gradient(90deg, #ff3b6b, #ff9f1c, #ffe14d, #3dd68c, #36c5f0, #8b5cf6, #ff3b6b); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: fxrainbow 3s linear infinite; }
.ne-gold .pname { background-image: linear-gradient(90deg, #b8860b, #ffe680, #d4a017, #fff3b0, #b8860b); }
.ne-sparkle .pname { animation: fxglitter 1.2s ease-in-out infinite; } .ne-sparkle .pname::after { content: " ✨"; }
.ne-shadow .pname { text-shadow: 2px 2px 0 rgba(0,0,0,.3), 4px 4px 0 rgba(0,0,0,.1); }
.ne-neon .pname { --c: var(--pname, #ff2bd6); color: #fff !important; animation: fxneon 1.6s ease-in-out infinite; }
.ne-wave .pname i { display: inline-block; font-style: normal; animation: fxwave 1.2s ease-in-out infinite; }
.pav { width: 130px; height: 130px; object-fit: cover; border: 3px solid var(--rc, var(--teal-300)); background: var(--teal-100); }
.as-square .pav { border-radius: 3px; } .as-rounded .pav { border-radius: 18px; } .as-round .pav { border-radius: 50%; }
.as-heart .pav { border: 0; clip-path: path("M65 120 C20 90 0 65 0 38 C0 15 18 0 38 0 C50 0 60 6 65 16 C70 6 80 0 92 0 C112 0 130 15 130 38 C130 65 110 90 65 120 Z"); }
.as-star .pav { border: 0; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.as-hexagon .pav { border: 0; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.ae-glow .pav { box-shadow: 0 0 14px 3px var(--pc); } .ae-pulse .pav { animation: fxpulse 2s ease-in-out infinite; } .ae-float .pav { animation: fxbounce 3s ease-in-out infinite; }
.ae-spin .pav { animation: fxspin 8s linear infinite; } .ae-swing .pav { animation: fxshake 1.5s ease-in-out infinite; }
.ae-rainbow .pav { animation: rainbowborder 3s linear infinite; }
@keyframes rainbowborder { 0% { border-color: #ff3b6b; } 25% { border-color: #ffe14d; } 50% { border-color: #3dd68c; } 75% { border-color: #36c5f0; } 100% { border-color: #ff3b6b; } }
.an-fade .pcard { animation: enter .6s ease both; } .an-slide .pcard { animation: slidein .6s ease both; } .an-zoom .pcard { animation: pop .5s ease both; }
.an-bounce .pcard { animation: bouncein .8s cubic-bezier(.28,.84,.42,1) both; } .an-flip .pcard { animation: flipin .7s ease both; }
@keyframes slidein { from { transform: translateX(-30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bouncein { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.04); opacity: 1; } 100% { transform: scale(1); } }
@keyframes flipin { from { transform: perspective(600px) rotateX(70deg); opacity: 0; } to { transform: none; opacity: 1; } }
.design-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.presets button { border: 2px solid transparent; border-radius: 8px; padding: 6px 10px; cursor: pointer; font: bold 11px var(--font); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.presets button:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,.2); }
#designPreview { min-height: 160px; }
.support-hero { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; }
.paybtn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 22px; font-weight: bold; text-decoration: none; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.paybtn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.paybtn.paypal { background: linear-gradient(180deg, #2c8fe0, #0b5cad); } .paybtn.bmc { background: linear-gradient(180deg, #ffdd4d, #f5b800); color: #3a2a00; }

.profile-wrap .pcard a.mention, .profile-wrap .bb a { color: var(--plink, var(--teal-700)); }
.profile-wrap .profile-head h2 { color: var(--pc); }

@media (max-width: 860px) { .design-grid, .support-hero { grid-template-columns: minmax(0, 1fr); } }
.paybtn { font-family: var(--font); }

/* =====================================================================
   v4 – Symbole mit Tooltip, dynamische Icons, Klassik-Stil, 3D/Glas, Kalender
   ===================================================================== */
/* ---------- Tooltip: data-tip="Text" an jedem Element */
[data-tip] { position: relative; }
@keyframes tipin { from { opacity: 0; transform: translate(-50%, 4px); } }

/* ---------- Dynamische Icon-Buttons */
.ibtn { --c: var(--p); position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 15px; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--surface-2)); color: var(--ink); font-size: 21px; cursor: pointer; text-decoration: none; padding: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 3px 8px rgba(0, 0, 0, .08); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s, border-color .2s, background-color .2s; }
.ibtn .ico { display: inline-block; transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); line-height: 1; }
.ibtn:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 16%, transparent), 0 10px 20px color-mix(in srgb, var(--c) 25%, transparent); }
.ibtn:hover .ico { transform: scale(1.22) rotate(-8deg); }
.ibtn:active { transform: translateY(0) scale(.94); }
.ibtn.on { background: linear-gradient(160deg, color-mix(in srgb, var(--c) 30%, var(--surface)), color-mix(in srgb, var(--c) 14%, var(--surface))); border-color: color-mix(in srgb, var(--c) 60%, var(--line)); }
.ibtn .cnt { position: absolute; right: -6px; bottom: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--c); color: #fff; font: 700 11px/20px var(--font); box-shadow: 0 0 0 2px var(--surface); }
.ibtn.sm { width: 36px; height: 36px; border-radius: 11px; font-size: 16px; }
.ibtn:disabled { opacity: .5; cursor: default; transform: none; }
.ibtn.c-love { --c: #ec4f86; } .ibtn.c-gift { --c: #e9a017; } .ibtn.c-msg { --c: #3a8de0; } .ibtn.c-friend { --c: #22a06b; } .ibtn.c-star { --c: #f0b400; }
.ibtn.c-pin { --c: #8b5cf6; } .ibtn.c-ring { --c: #d4a62a; } .ibtn.c-block { --c: #d23b3b; } .ibtn.c-flag { --c: #7a8794; }
.ibtn.c-love:hover .ico { animation: heartbeat .7s ease infinite; } .ibtn.c-gift:hover .ico { animation: giftwiggle .6s ease; } .ibtn.c-ring:hover .ico { animation: fxspin 1.2s linear infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1.1); } 30% { transform: scale(1.35); } 60% { transform: scale(1.15); } }
.iconbar { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.profile-head .iconbar { justify-content: flex-start; }

/* Mein Bereich: nur Symbole */
.tiles.icons { grid-template-columns: repeat(4, 1fr); gap: 7px; }
.tiles.icons .tile { min-height: 50px; padding: 6px 0; font-size: 0; }
.tiles.icons .tile .ic { font-size: 23px; }
.tiles.icons .tile:hover .ic { transform: scale(1.3) rotate(-8deg); }

/* Größere Avatare & dickere Rollen-Rahmen */
.av { border-width: 3px; }
.av.sm { width: 34px; height: 34px; border-width: 2.5px; }
.av.on40 { width: 44px; height: 44px; border-width: 3px; border-radius: 12px; }
.avrow { gap: 8px; }
.avrow .av { transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); } .avrow a:hover .av { transform: translateY(-3px) scale(1.08); }
.mini-user .av { width: 44px; height: 44px; border-radius: 12px; }
.ucard img { border-width: 4px; }

/* Shoutbox-Schalter */
.sbswitch { display: inline-flex; gap: 2px; padding: 2px; border-radius: 10px; background: var(--surface-3); }
.sbswitch button { border: 0; background: none; cursor: pointer; font-size: 14px; padding: 3px 8px; border-radius: 8px; line-height: 1.2; }
.sbswitch button.on { background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.sb-scope { font-size: 11px; color: var(--ink-soft); text-align: center; padding: 2px 0 6px; }
.sb-send { width: 40px; flex: none; padding: 0; font-size: 16px; }

/* Lesbarkeit: Profil-Reiter */
.profile-wrap .tabs { background: var(--pbox); border: 1px solid var(--pborder); }
.profile-wrap .tabs a { background: transparent; color: var(--pfg); opacity: .8; }
.profile-wrap .tabs a:hover { opacity: 1; background: color-mix(in srgb, var(--ptab) 15%, transparent); color: var(--pfg); }
.profile-wrap .tabs a.on { background: var(--ptab); color: #fff; opacity: 1; box-shadow: 0 2px 8px color-mix(in srgb, var(--ptab) 40%, transparent); }
.profile-wrap.tabs-glass .tabs a.on { background: color-mix(in srgb, var(--ptab) 75%, transparent); }
.profile-wrap.tabs-underline .tabs a.on { color: var(--pfg); background: transparent; }
.profile-wrap.tabs-neon .tabs a.on { background: transparent; color: var(--ptab); text-shadow: 0 0 6px var(--ptab); box-shadow: inset 0 0 0 1px var(--ptab), 0 0 12px var(--ptab); }
.profile-wrap.tabs-3d .tabs a.on { background: linear-gradient(180deg, color-mix(in srgb, var(--ptab) 80%, #fff), var(--ptab)); box-shadow: 0 4px 0 color-mix(in srgb, var(--ptab) 60%, #000), 0 6px 12px rgba(0, 0, 0, .25); transform: translateY(-2px); }
.profile-wrap .facts dt { color: color-mix(in srgb, var(--pfg) 65%, transparent); } .profile-wrap .facts dd { color: var(--pfg); }

/* ---------- Profil v4: Boxen-Stile, Hintergrund-Animation, Deko */
.profile-wrap.bx-3d .pcard { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(0, 0, 0, .06), 0 2px 0 color-mix(in srgb, var(--pborder) 70%, #000), 0 12px 26px -8px rgba(0, 0, 0, .35); }
.profile-wrap.bx-glass .pcard { background: color-mix(in srgb, var(--pbox) 78%, transparent); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5); border-color: rgba(255, 255, 255, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 30px rgba(0, 0, 0, .18); }
.profile-wrap.bx-neon .pcard { border: 2px solid var(--pborder); box-shadow: 0 0 6px var(--pborder), 0 0 18px color-mix(in srgb, var(--pborder) 70%, transparent), inset 0 0 12px color-mix(in srgb, var(--pborder) 35%, transparent); }
.profile-wrap.bx-paper .pcard { box-shadow: 0 1px 1px rgba(0, 0, 0, .1), 0 8px 0 -4px color-mix(in srgb, var(--pbox) 80%, #000), 0 16px 0 -8px color-mix(in srgb, var(--pbox) 65%, #000); }
.profile-wrap.bx-outline .pcard { background: transparent; border-width: 2px; }
.profile-wrap.bx-gradient .pcard { border: 3px solid transparent; background: linear-gradient(var(--pbox), var(--pbox)) padding-box, linear-gradient(135deg, var(--pc), var(--pborder), var(--ptab)) border-box; }
.profile-stage.bga-shift { background-size: 300% 300% !important; animation: bgshift 14s ease infinite; }
@keyframes bgshift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.profile-stage.bga-pulse { animation: bgpulse 6s ease-in-out infinite; } @keyframes bgpulse { 50% { filter: brightness(1.12) saturate(1.2); } }
.profile-stage.bga-twinkle::before, .profile-stage.bga-aurora::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; }
.profile-stage.bga-twinkle::before { background-image: radial-gradient(2px 2px at 20% 30%, #fff, transparent), radial-gradient(1.5px 1.5px at 70% 20%, #fff, transparent), radial-gradient(2px 2px at 40% 80%, #fff, transparent), radial-gradient(1.5px 1.5px at 85% 65%, #fff, transparent), radial-gradient(1px 1px at 10% 70%, #fff, transparent), radial-gradient(1.5px 1.5px at 55% 50%, #fff, transparent); background-size: 260px 220px; animation: fxfade 3s ease-in-out infinite; }
.profile-stage.bga-aurora::before { background: radial-gradient(60% 40% at 20% 10%, rgba(80, 255, 190, .35), transparent), radial-gradient(50% 40% at 80% 0%, rgba(170, 110, 255, .35), transparent); animation: auroramove 10s ease-in-out infinite alternate; }
@keyframes auroramove { to { transform: translateX(6%) scaleY(1.2); } }
.profile-stage > * { position: relative; z-index: 1; }
.ts-soft { text-shadow: 0 1px 2px rgba(0, 0, 0, .25); } .ts-glow { text-shadow: 0 0 8px color-mix(in srgb, var(--pc) 70%, transparent); }
.ts-outline { text-shadow: -1px -1px 0 rgba(0, 0, 0, .55), 1px -1px 0 rgba(0, 0, 0, .55), -1px 1px 0 rgba(0, 0, 0, .55), 1px 1px 0 rgba(0, 0, 0, .55); } .ts-retro { text-shadow: 2px 2px 0 color-mix(in srgb, var(--pc) 60%, transparent), 4px 4px 0 rgba(0, 0, 0, .15); }
.ly-center .profile-head { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } .ly-center .profile-head h2, .ly-center .iconbar { justify-content: center; }
.ly-center .facts { text-align: left; } .ly-right .profile-head { grid-template-columns: minmax(0, 1fr) auto; } .ly-right .profile-head > div:first-child { order: 2; }
.pav { width: var(--pav-size, 130px); height: var(--pav-size, 130px); border-width: var(--pav-border, 3px); }
.pav-wrap { position: relative; display: inline-block; }
.pav-wrap .deco { position: absolute; font-size: calc(var(--pav-size, 130px) * .22); animation: fxbounce 2.4s ease-in-out infinite; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.pav-wrap .deco.d1 { top: -12%; left: -10%; } .pav-wrap .deco.d2 { top: -14%; right: -10%; animation-delay: -.8s; } .pav-wrap .deco.d3 { bottom: -10%; right: -8%; animation-delay: -1.6s; } .pav-wrap .deco.d4 { bottom: -12%; left: -8%; animation-delay: -1.2s; }
.ae-heartbeat .pav { animation: heartbeat 1.6s ease-in-out infinite; }
.pcard { position: relative; } .pcard .corner { position: absolute; font-size: 22px; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .2)); }
.pcard .corner.tl { top: -11px; left: -9px; transform: rotate(-15deg); } .pcard .corner.br { bottom: -11px; right: -9px; transform: rotate(15deg); }
.pcover { height: var(--cover-h, 170px); border-radius: var(--pradius) var(--pradius) 0 0; margin: -12px -12px 12px; background-size: cover; background-position: center; box-shadow: inset 0 -40px 40px -20px rgba(0, 0, 0, .25); }
.pstatus { margin: -2px 0 10px; font-style: italic; opacity: .85; }
.ne-fire .pname { background: linear-gradient(0deg, #ff3d00, #ffb300, #fff176); -webkit-background-clip: text; background-clip: text; color: transparent !important; filter: drop-shadow(0 0 6px rgba(255, 120, 0, .7)); animation: fxpulse 1.2s ease-in-out infinite; }
.ne-ice .pname { background: linear-gradient(180deg, #ffffff, #9be7ff, #3fa9f5); -webkit-background-clip: text; background-clip: text; color: transparent !important; filter: drop-shadow(0 0 5px rgba(120, 210, 255, .8)); }
.ne-glitch .pname { animation: glitch 1.8s steps(1) infinite; } @keyframes glitch { 0%, 100% { text-shadow: 2px 0 #ff2bd6, -2px 0 #00e5ff; } 33% { text-shadow: -2px 0 #ff2bd6, 2px 0 #00e5ff; transform: translateX(1px); } 66% { text-shadow: 1px 1px #ff2bd6, -1px -1px #00e5ff; transform: translateX(-1px); } }
.ff-brush { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 1.15em; } .ff-gothic { font-family: "Old English Text MT", "UnifrakturMaguntia", "Times New Roman", serif; }
.trail { position: fixed; pointer-events: none; z-index: 120; font-size: 16px; animation: trailfade .9s ease-out forwards; }
@keyframes trailfade { to { opacity: 0; transform: translateY(-26px) scale(.4) rotate(40deg); } }

/* Vorlagen als Symbole */
.presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 8px; }
.presets button { width: 46px; height: 46px; padding: 0; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .7); font-size: 22px; box-shadow: 0 3px 8px rgba(0, 0, 0, .18); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s; }
.presets button:hover { transform: translateY(-3px) scale(1.1) rotate(-4deg); box-shadow: 0 8px 18px rgba(0, 0, 0, .28); }
.dz { display: grid; gap: 12px; } .dz details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.dz summary { cursor: pointer; padding: 10px 14px; font-weight: 700; font-size: 13px; list-style: none; display: flex; align-items: center; gap: 8px; }
.dz summary::-webkit-details-marker { display: none; } .dz summary::after { content: "▾"; margin-left: auto; transition: transform .2s; } .dz details[open] summary::after { transform: rotate(180deg); }
.dz .formtable { padding: 0 14px 14px; }
.chipsel { display: flex; flex-wrap: wrap; gap: 6px; }
.chipsel label { cursor: pointer; } .chipsel input { position: absolute; opacity: 0; pointer-events: none; }
.chipsel span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 34px; padding: 0 9px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 16px; transition: all .15s; }
.chipsel input:checked + span { border-color: var(--p); background: var(--p-soft); box-shadow: 0 0 0 2px color-mix(in srgb, var(--p) 25%, transparent); }
.chipsel span:hover { transform: translateY(-2px); }

/* ---------- Rahmen-Stile der Seite (modernes Design) */
body.cards-3d .box { background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface-2) 70%, var(--surface))); border-top-color: color-mix(in srgb, #fff 55%, var(--line));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 1px 0 rgba(0, 0, 0, .04), 0 2px 0 color-mix(in srgb, var(--line) 80%, #000 6%), 0 14px 28px -12px rgba(16, 24, 40, .28); }
:root[data-mode="dark"] body.cards-3d .box { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 2px 0 rgba(0, 0, 0, .5), 0 16px 30px -12px rgba(0, 0, 0, .7); border-top-color: color-mix(in srgb, #fff 10%, var(--line)); }
body.cards-glass { background-image: radial-gradient(40% 35% at 15% 20%, color-mix(in srgb, var(--p) 22%, transparent), transparent), radial-gradient(35% 30% at 85% 15%, color-mix(in srgb, var(--s) 20%, transparent), transparent), radial-gradient(45% 40% at 60% 85%, color-mix(in srgb, var(--p) 16%, transparent), transparent); background-attachment: fixed; }
body.cards-glass .box, body.cards-glass .menubar { background: color-mix(in srgb, var(--surface) 62%, transparent); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border-color: color-mix(in srgb, #fff 40%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 30px rgba(16, 24, 40, .12); }
:root[data-mode="dark"] body.cards-glass .box { border-color: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 10px 30px rgba(0, 0, 0, .4); }

/* ---------- Eventkalender */
.cal-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.cal-head h4 { margin: 0 auto 0 4px; font-size: 18px; min-width: 160px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-grid .dow { font-size: 11px; font-weight: 700; color: var(--ink-soft); text-align: center; text-transform: uppercase; padding: 4px 0; }
.cal-day { min-height: 92px; border: 1px solid var(--line); border-radius: 10px; padding: 5px; background: var(--surface-2); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-day.out { opacity: .4; } .cal-day.today { border-color: var(--p); box-shadow: inset 0 0 0 1px var(--p); }
.cal-day .n { font-size: 12px; font-weight: 700; color: var(--ink-soft); } .cal-day.today .n { color: var(--p-text); }
.cal-ev { border: 0; text-align: left; cursor: pointer; font: 600 11px/1.25 var(--font); padding: 3px 6px; border-radius: 6px; color: #fff; background: var(--cat, var(--p)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: transform .15s, filter .15s; }
.cal-ev:hover { transform: translateY(-1px); filter: brightness(1.1); }
.cat-Convention { --cat: #8b5cf6; } .cat-Messe { --cat: #2f6fd6; } .cat-Fest { --cat: #e9a017; } .cat-Party { --cat: #ec4f86; } .cat-Konzert { --cat: #d23b3b; } .cat-Kultur { --cat: #1f9d8b; } .cat-Treffen { --cat: #22a06b; } .cat-Sonstiges { --cat: #7a8794; }
.evlist { display: flex; flex-direction: column; gap: 10px; }
.evcard { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); cursor: pointer; text-align: left; font: inherit; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.evcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--p-line); }
.evdate { width: 64px; height: 64px; border-radius: 14px; background: var(--cat, var(--p)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 6px 14px color-mix(in srgb, var(--cat, var(--p)) 35%, transparent); }
.evdate b { font-size: 24px; } .evdate small { font-size: 11px; text-transform: uppercase; font-weight: 700; margin-top: 3px; }
.evcard h5 { margin: 0 0 3px; font-size: 15px; } .evcard .meta { font-size: 12.5px; color: var(--ink-soft); }
.evimg { width: 100%; max-height: 300px; object-fit: cover; border-radius: 12px; margin-bottom: 10px; }
.evhero { height: 150px; border-radius: 12px; margin-bottom: 12px; display: flex; align-items: flex-end; padding: 14px; color: #fff; font-size: 40px; background: linear-gradient(135deg, var(--cat, var(--p)), color-mix(in srgb, var(--cat, var(--p)) 50%, #000)); }
@media (max-width: 860px) { .cal-day { min-height: 54px; } .cal-ev { font-size: 0; height: 7px; padding: 0; border-radius: 4px; } .evcard { grid-template-columns: 54px minmax(0, 1fr); } .evcard .go { display: none; } .evdate { width: 54px; height: 54px; } .tiles.icons { grid-template-columns: repeat(4, 1fr); } }

/* =====================================================================
   KLASSIK – der Original-Asiansoul-Look (Standard)
   ===================================================================== */
body.skin-classic { --font: Verdana, Tahoma, "Segoe UI", Geneva, sans-serif; --radius: 3px; --radius-sm: 2px; font-size: 12px;
  --c-head-a: color-mix(in srgb, var(--p) 16%, #fff); --c-head-b: color-mix(in srgb, var(--p) 34%, #fff); --c-body: color-mix(in srgb, var(--p) 5%, #fff); --c-line: color-mix(in srgb, var(--p) 32%, #fff);
  --surface-2: var(--c-body); --line: var(--c-line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--p2) 85%, #000) 0, var(--p2) 160px, color-mix(in srgb, var(--p) 75%, #fff) 520px, color-mix(in srgb, var(--p) 35%, #fff) 100%) fixed; }
:root[data-mode="dark"] body.skin-classic { --c-head-a: color-mix(in srgb, var(--p) 32%, #0b1a22); --c-head-b: color-mix(in srgb, var(--p) 18%, #0b1a22); --c-body: color-mix(in srgb, var(--p) 6%, #0f1a20); --c-line: color-mix(in srgb, var(--p) 30%, #1a2a33);
  background: linear-gradient(180deg, #02080b 0, color-mix(in srgb, var(--p2) 40%, #02080b) 300px, #060d12 100%) fixed; }
body.skin-classic .wrap { max-width: var(--page-w, 1400px); background: var(--c-body); border: 2px solid #fff; border-top: 0; padding: 0 8px 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); margin-top: 10px; }
:root[data-mode="dark"] body.skin-classic .wrap { border-color: color-mix(in srgb, var(--p) 35%, #000); background: #0b1419; }
body.skin-classic .banner { border-radius: 0; margin: 0 -8px; box-shadow: none; border-top: 8px solid var(--p2); }
body.skin-classic .tickerbar { border-radius: 0; left: auto; right: 0; bottom: 0; height: 22px; width: 62%; background: linear-gradient(90deg, transparent, rgba(8, 60, 80, .7) 25%); border: 0; backdrop-filter: none; }
body.skin-classic .tickerbar button { border-radius: 0; height: 22px; text-transform: uppercase; font: 11px var(--font); background: linear-gradient(180deg, color-mix(in srgb, var(--p) 80%, #fff), var(--p2)); color: #fff; }
body.skin-classic .tickerbar button::before { content: "▸ "; font-size: 9px; }
body.skin-classic .menubar { position: static; margin: 0 -8px; border-radius: 0; border: 0; border-bottom: 1px solid #c9c9c9; background: linear-gradient(180deg, #f4f4f4, #d9d9d9); box-shadow: none; padding: 4px 8px; backdrop-filter: none; }
:root[data-mode="dark"] body.skin-classic .menubar { background: linear-gradient(180deg, #1b2a32, #121d23); border-color: #24343d; }
body.skin-classic .menubar nav { gap: 2px; }
body.skin-classic .menubar nav a { border-radius: 3px; padding: 5px 12px; font: 11px var(--font); text-transform: uppercase; color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--p2) 70%, #fff), color-mix(in srgb, var(--p2) 85%, #000)); border: 1px solid color-mix(in srgb, var(--p2) 70%, #000); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
body.skin-classic .menubar nav a::after { content: "▾"; font-size: 9px; opacity: .8; }
body.skin-classic .menubar nav a:hover, body.skin-classic .menubar nav a.on { background: linear-gradient(180deg, color-mix(in srgb, var(--s) 70%, #fff), var(--s)); color: #fff; border-color: color-mix(in srgb, var(--s) 70%, #000); transform: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
body.skin-classic .menubar .right a, body.skin-classic .menubar .right button.navbtn { color: color-mix(in srgb, var(--p2) 90%, #000); font: 11px var(--font); padding: 4px 8px; }
:root[data-mode="dark"] body.skin-classic .menubar .right a { color: #cfe9f3; }
body.skin-classic .eventbar, body.skin-classic .demo-bar { border-radius: 3px; margin: 8px 0 0; }
body.skin-classic .cols { gap: var(--col-gap, 10px); margin-top: 10px; }
body.skin-classic .box { border-radius: 3px; box-shadow: none; border: 1px solid var(--c-line); background: var(--c-body); overflow: visible; }
body.skin-classic .box::after { content: ""; display: block; height: 7px; background: linear-gradient(180deg, var(--c-head-a), var(--c-head-b)); border-top: 1px solid var(--c-line); }
body.skin-classic .box > h3 { padding: 4px 8px 3px 24px; font: bold 12px "Trebuchet MS", Verdana, sans-serif; letter-spacing: .3px; color: color-mix(in srgb, var(--p2) 85%, #000); background: linear-gradient(180deg, var(--c-head-a), var(--c-head-b)); border-bottom: 1px solid var(--c-line); position: relative; }
:root[data-mode="dark"] body.skin-classic .box > h3 { color: color-mix(in srgb, var(--p) 60%, #fff); }
body.skin-classic .box > h3 > span:first-child::before { content: none; }
body.skin-classic .box > h3::before { content: ""; position: absolute; left: 7px; top: 6px; width: 11px; height: 10px; background: color-mix(in srgb, var(--p2) 85%, #000); clip-path: polygon(50% 0, 100% 45%, 85% 45%, 85% 100%, 15% 100%, 15% 45%, 0 45%); }
:root[data-mode="dark"] body.skin-classic .box > h3::before { background: color-mix(in srgb, var(--p) 60%, #fff); }
body.skin-classic .box .in { padding: 7px 8px; }
body.skin-classic .box.pink { --c-head-a: color-mix(in srgb, var(--s) 14%, #fff); --c-head-b: color-mix(in srgb, var(--s) 30%, #fff); --c-line: color-mix(in srgb, var(--s) 30%, #fff); background: color-mix(in srgb, var(--s) 5%, #fff); }
:root[data-mode="dark"] body.skin-classic .box.pink { --c-head-a: color-mix(in srgb, var(--s) 30%, #160b10); --c-head-b: color-mix(in srgb, var(--s) 16%, #160b10); --c-line: color-mix(in srgb, var(--s) 30%, #2a1820); background: #140c10; }
body.skin-classic .box.pink > h3 { color: color-mix(in srgb, var(--s) 80%, #000); } :root[data-mode="dark"] body.skin-classic .box.pink > h3 { color: color-mix(in srgb, var(--s) 60%, #fff); }
body.skin-classic .box.pink > h3::before { background: color-mix(in srgb, var(--s) 80%, #000); }
body.skin-classic .box.main::after { display: none; }
body.skin-classic .btn { border-radius: 2px; min-height: 24px; padding: 4px 11px; font: bold 11px var(--font); text-transform: uppercase; background: linear-gradient(180deg, color-mix(in srgb, var(--b) 75%, #fff), color-mix(in srgb, var(--b) 85%, #000)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
body.skin-classic .btn:not(.grey)::before { content: "▸ " !important; font-size: 9px; }
body.skin-classic .btn.grey { background: linear-gradient(180deg, #b7c4ca, #7b8b93); color: #fff; box-shadow: none; }
body.skin-classic .tabs { background: none; padding: 0; gap: 2px; border-radius: 0; }
body.skin-classic .tabs a, body.skin-classic .tabs button { border-radius: 0; color: #fff; text-transform: uppercase; font: bold 11px var(--font); background: linear-gradient(180deg, color-mix(in srgb, var(--p) 80%, #fff), var(--p2)); }
body.skin-classic .tabs a.on, body.skin-classic .tabs button.on { background: linear-gradient(180deg, color-mix(in srgb, var(--p2) 85%, #000), color-mix(in srgb, var(--p2) 70%, #000)); color: #fff; }
body.skin-classic input[type=text], body.skin-classic input[type=password], body.skin-classic input[type=email], body.skin-classic input[type=number], body.skin-classic input[type=search], body.skin-classic input[type=date], body.skin-classic input[type=datetime-local], body.skin-classic select, body.skin-classic textarea { border-radius: 2px; min-height: 26px; padding: 4px 6px; font-size: 12px; background: var(--surface); }
body.skin-classic .tile, body.skin-classic .ucard, body.skin-classic .gift, body.skin-classic .photo, body.skin-classic .post, body.skin-classic .ibtn { border-radius: 4px; }
body.skin-classic .footer { margin: 10px -8px 0; padding-bottom: 0; }
body.skin-classic .footer .bar { height: 12px; background: linear-gradient(180deg, color-mix(in srgb, var(--p2) 80%, #fff), color-mix(in srgb, var(--p2) 80%, #000)); margin: 0; }
body.skin-classic .footer .links { padding: 6px 10px 10px; } body.skin-classic .footer .flink { background: none; border: 0; padding: 0 2px; color: color-mix(in srgb, var(--p2) 85%, #000); font: 11px var(--font); }
body.skin-classic .footer .flink::before { content: "▸ "; font-size: 9px; } :root[data-mode="dark"] body.skin-classic .footer .flink { color: #9fd3e6; }
@media (max-width: 860px) { body.skin-classic .wrap { border: 0; margin: 0; padding: 0 max(8px, env(safe-area-inset-left, 0px)); } body.skin-classic .banner { margin: 8px 0 0; } }
@media (min-width: 861px) { .profile-wrap:not(.ly-center):not(.ly-right) .profile-head { grid-template-columns: auto minmax(0, 1fr); } }
.profile-wrap.ly-right .profile-head { grid-template-columns: minmax(0, 1fr) auto; }
.modeswitch button[data-skin] { border-left: 1px solid var(--line); border-radius: 0 8px 8px 0; margin-left: 2px; }
.chipsel span.on { border-color: var(--p); background: var(--p-soft); box-shadow: 0 0 0 2px color-mix(in srgb, var(--p) 25%, transparent); }
.dz .formtable { grid-template-columns: 120px minmax(0, 1fr); gap: 9px 10px; }
.dz .formtable > .lbl { font-size: 12px; }
.chipsel label { display: inline-flex; margin: 0; }
.chipsel span { min-width: 34px; height: 32px; font-size: 15px; }
@media (max-width: 520px) { .dz .formtable { grid-template-columns: minmax(0, 1fr); } }
html { background: var(--bg, #eef2f5); }
/* Klassik: Menü in einer Zeile */
body.skin-classic .menubar nav a { padding: 5px 9px; }
body.skin-classic .menubar nav a::after { content: none; }
.menubar .right a .lbl { display: none; }
.menubar .right a .ic { font-size: 17px; }
body.skin-classic .menubar .right a[title] { position: relative; }

/* =====================================================================
   v5 – Adminpanel breit, Boutique, Umkleide, Haustiere, Karte, Vitrine, Modern-Design
   ===================================================================== */
/* Adminpanel: rechte Spalte weg, mehr Platz */
body.route-admin #col-right { display: none; }
body.route-admin .cols, body.route-admin .cols.no-right { grid-template-columns: 264px minmax(0, 1fr); }
body.route-admin .cols.no-left { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1180px) { body.route-admin .cols, body.route-admin .cols.no-left, body.route-admin .cols.no-right { grid-template-columns: minmax(0, 1fr); } }
.adm-layout { grid-template-columns: 200px minmax(0, 1fr); }
.adm-layout .table td, .adm-layout .table th { white-space: normal; }
.adm-layout .table td:first-child { min-width: 170px; }

/* Bilder links (Forum, Gruppen) */
.entimg { position: relative; width: 64px; height: 64px; flex: none; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--p-soft), color-mix(in srgb, var(--s) 18%, var(--surface))); border: 1px solid var(--line); box-shadow: 0 3px 8px rgba(0, 0, 0, .08); display: flex; align-items: center; justify-content: center; }
.entimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.entimg .ph { font-size: 28px; }
.entup { position: absolute; right: 2px; bottom: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); display: flex; align-items: center; justify-content: center; font-size: 12px; cursor: pointer; }
.forum-cat.has-img { grid-template-columns: 64px minmax(0, 1fr) 70px 70px 170px; align-items: center; }
td.imgcell { width: 56px; } td.imgcell .entimg { width: 46px; height: 46px; border-radius: 11px; }
.list .item > .entimg { width: 58px; height: 58px; }
.grouphead, .threadhead { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 12px; }
.grouphead .entimg, .threadhead .entimg { width: 120px; height: 120px; border-radius: 20px; }
.threadhead .entimg { width: 84px; height: 84px; }
@media (max-width: 860px) { .forum-cat.has-img { grid-template-columns: 52px minmax(0, 1fr); } .forum-cat.has-img .num, .forum-cat.has-img .last { display: none; } .forum-cat.has-img .entimg { width: 52px; height: 52px; } .grouphead .entimg { width: 84px; height: 84px; } }

/* Raritäten */
.rar { display: inline-block; font: 700 10px/1 var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--rc); border: 1px solid color-mix(in srgb, var(--rc) 50%, transparent); padding: 3px 6px; border-radius: 6px; background: color-mix(in srgb, var(--rc) 10%, transparent); }

/* Boutique */
.shopnav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.shopnav a { display: flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: 13px; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s; }
.shopnav a .ico { font-size: 18px; transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
.shopnav a:hover { transform: translateY(-2px); box-shadow: var(--shadow); } .shopnav a:hover .ico { transform: scale(1.25) rotate(-8deg); }
.shopnav a.on { background: linear-gradient(135deg, var(--p), var(--p2)); color: var(--on-p, #fff); border-color: transparent; box-shadow: 0 6px 16px color-mix(in srgb, var(--p) 35%, transparent); }
.shoplay { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 18px; align-items: start; }
.tryon { position: sticky; top: 12px; padding: 12px; border-radius: 18px; background: linear-gradient(180deg, var(--p-soft), color-mix(in srgb, var(--s) 12%, var(--surface))); border: 1px solid var(--line); text-align: center; }
.tryon-stage svg { width: 100%; height: auto; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .15)); }
.shopgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.shopcard { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 16px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); border-top: 3px solid var(--rc, var(--line)); box-shadow: 0 2px 6px rgba(0, 0, 0, .05); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s; }
.shopcard:hover { transform: translateY(-4px); box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--rc, #000) 45%, rgba(0, 0, 0, .3)); }
.shopcard b { font-size: 13px; line-height: 1.25; } .shopcard small { font-size: 11px; }
.shopart { aspect-ratio: 1 / 1; border-radius: 12px; background: radial-gradient(circle at 50% 40%, var(--surface), color-mix(in srgb, var(--p) 10%, var(--surface-2))); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.shopart svg { width: 92%; height: 92%; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.shopcard:hover .shopart svg { transform: scale(1.08) rotate(-2deg); }
.shopcard .buy { display: flex; align-items: center; gap: 6px; margin-top: auto; flex-wrap: wrap; } .shopcard .buy .cur { margin-right: auto; font-weight: 700; }
.shopcard .stock { color: var(--danger); font-weight: 700; width: 100%; }
.shopcard.ev { border-top-color: #ff4f8b; } .evtag { position: absolute; top: 14px; left: 14px; background: linear-gradient(90deg, #ff4f8b, #ffb02e); color: #fff; font: 700 10px var(--font); padding: 3px 7px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.shopcard.ev .shopart::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); background-size: 250% 100%; animation: shine 3.2s ease-in-out infinite; pointer-events: none; }
.shopcard .shopart { position: relative; }
.shopart.pet { background: radial-gradient(circle at 50% 70%, #fff, color-mix(in srgb, var(--p) 14%, #f4f8fa)); }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; } .sw { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; transition: transform .15s; }
.sw:hover { transform: scale(1.15); } .sw.on { box-shadow: 0 0 0 2px var(--p); transform: scale(1.12); }
.buyview { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: center; }
@media (max-width: 860px) { .shoplay { grid-template-columns: minmax(0, 1fr); } .tryon { position: static; display: grid; grid-template-columns: 120px 1fr; text-align: left; align-items: center; gap: 10px; } .tryon .flex { grid-column: 1 / -1; } .shopgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shopnav .lbl { display: none; } .shopnav a { padding: 9px 12px; } .buyview { grid-template-columns: 100px 1fr; } }

/* Umkleide */
.wardrobe { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 20px; align-items: start; }
.wr-stage { position: sticky; top: 12px; padding: 14px; border-radius: 22px; text-align: center; background: radial-gradient(circle at 50% 30%, #fff, color-mix(in srgb, var(--p) 18%, var(--surface-2))); border: 1px solid var(--line); box-shadow: inset 0 -30px 40px -30px color-mix(in srgb, var(--p) 40%, transparent); }
:root[data-mode="dark"] .wr-stage { background: radial-gradient(circle at 50% 30%, #2a3540, #121a21); }
.wr-stage svg { width: 100%; height: auto; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .2)); animation: avbob 4s ease-in-out infinite; }
@keyframes avbob { 50% { transform: translateY(-4px); } }
.wr-sec { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; background: var(--surface-2); margin-bottom: 12px; }
.wr-sec summary { cursor: pointer; font-weight: 700; padding: 2px 0 8px; }
.wr-sec .formtable { grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: center; }
.wr-items, .pickgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.wr-item { position: relative; aspect-ratio: 1 / 1; padding: 4px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), border-color .2s, box-shadow .2s; }
.wr-item svg { width: 100%; height: 100%; } .wr-item:hover { transform: translateY(-3px) scale(1.04); }
.wr-item.on { border-color: var(--p); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p) 25%, transparent); background: var(--p-soft); }
.wr-item.on::after { content: "✓"; position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--p); color: #fff; font: 700 12px/20px var(--font); }
.wr-item .gifted { position: absolute; left: 4px; top: 2px; font-size: 13px; }
@media (max-width: 860px) { .wardrobe { grid-template-columns: minmax(0, 1fr); } .wr-stage { position: static; max-width: 280px; margin: 0 auto; } .wr-sec .formtable { grid-template-columns: minmax(0, 1fr); } }

/* Haustiere */
.petlist { display: grid; gap: 14px; }
.petcard { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; padding: 14px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(135deg, var(--surface), var(--surface-2)); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .25); }
.petstage { border-radius: 16px; background: radial-gradient(circle at 50% 80%, color-mix(in srgb, var(--p) 22%, #fff), color-mix(in srgb, var(--p) 6%, #f6fafc)); display: flex; align-items: center; justify-content: center; padding: 10px; }
:root[data-mode="dark"] .petstage { background: radial-gradient(circle at 50% 80%, #2a3a44, #121a21); }
.petcard.mood-sleep .petstage { background: radial-gradient(circle at 50% 80%, #3a4580, #141a33); }
.petstage svg { width: 100%; height: auto; }
.as-pet.anim .pet-body { transform-origin: 60px 110px; animation: petidle 2.6s ease-in-out infinite; }
.as-pet.mood-happy.anim .pet-body { animation: pethop 1.6s ease-in-out infinite; }
.as-pet.mood-sleep.anim .pet-body { animation: petbreathe 3.5s ease-in-out infinite; }
.as-pet.mood-sick.anim .pet-body { animation: petshiver .25s linear infinite; }
.as-pet .pet-zzz text { animation: zzz 2.4s ease-in-out infinite; } .as-pet .pet-zzz text:nth-child(2) { animation-delay: .4s; } .as-pet .pet-zzz text:nth-child(3) { animation-delay: .8s; }
@keyframes petidle { 50% { transform: scale(1.02, .98); } } @keyframes pethop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px) scale(1.02, .98); } 60% { transform: translateY(0) scale(.98, 1.02); } }
@keyframes petbreathe { 50% { transform: scale(1.03, .97); } } @keyframes petshiver { 25% { transform: translateX(-.6px); } 75% { transform: translateX(.6px); } }
@keyframes zzz { 0%, 100% { opacity: .2; transform: translateY(2px); } 50% { opacity: 1; transform: translateY(-2px); } }
.petinfo h4 { margin: 0 0 2px; font-size: 18px; } .pmood { margin: 0 0 8px; font-weight: 600; color: var(--p-text); }
.pbar { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 6px; margin: 4px 0; }
.pbar i { display: block; height: 10px; border-radius: 6px; background: var(--surface-3); overflow: hidden; position: relative; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .12); }
.pbar i::before { content: ""; position: absolute; inset: 0; width: var(--v); background: linear-gradient(180deg, color-mix(in srgb, var(--bc) 70%, #fff), var(--bc)); border-radius: 6px; transition: width .6s; }
.lifebar { margin: 10px 0 4px; } .lifebar i { display: block; height: 6px; border-radius: 4px; background: var(--surface-3); position: relative; overflow: hidden; } .lifebar i::before { content: ""; position: absolute; inset: 0; width: var(--v); background: linear-gradient(90deg, #9be7ff, #8a5cd8, #ff6fae); }
.lifebar small { color: var(--ink-soft); }
.ibtn.pop { animation: ibpop .4s ease; } @keyframes ibpop { 40% { transform: scale(1.25); } }
.supplies { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 6px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 1px dashed var(--line); }
.sup { display: inline-flex; align-items: center; gap: 2px; } .sup svg { width: 34px; height: 34px; }
.memorial { display: flex; gap: 12px; flex-wrap: wrap; } .mem { width: 110px; text-align: center; display: flex; flex-direction: column; } .mem svg { width: 100%; } .mem small { color: var(--ink-soft); font-size: 11px; }
@media (max-width: 860px) { .petcard { grid-template-columns: minmax(0, 1fr); } .petstage { max-width: 220px; margin: 0 auto; width: 100%; } }

/* Profil: Avatar, Tiere, Vitrine */
.pworld { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 12px 0; }
.pworld .pcard { margin: 0; } .pworld h4 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--pfg, var(--ink)); opacity: .85; }
.pw-av svg { width: 100%; max-width: 200px; display: block; margin: 0 auto; height: auto; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .2)); }
.pw-petrow { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; } .pw-pet { width: 96px; text-align: center; } .pw-pet svg { width: 100%; } .pw-pet small { font-weight: 700; color: var(--pfg, var(--ink)); }
.vitrine { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 14px 8px; padding: 14px 10px 18px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .15)), linear-gradient(180deg, #3a2414, #6b3f22); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4), inset 0 12px 24px rgba(255, 255, 255, .25), 0 10px 22px -10px rgba(0, 0, 0, .5); }
.vitrine::before { content: ""; position: absolute; inset: 6px; border-radius: 10px; background: linear-gradient(120deg, rgba(255, 255, 255, .35), transparent 30%, transparent 70%, rgba(255, 255, 255, .15)); pointer-events: none; }
.trophy { position: relative; text-align: center; padding-bottom: 6px; border-bottom: 5px solid rgba(255, 255, 255, .5); }
.trophy svg { width: 62px; height: 62px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)) drop-shadow(0 0 6px color-mix(in srgb, var(--rc) 60%, transparent)); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.trophy:hover svg { transform: translateY(-4px) scale(1.12) rotate(-4deg); }
.trophy small { display: block; font: 700 10px/1.2 var(--font); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); margin-top: 2px; }

/* Karte */
.maplay { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.mapwrap { border-radius: 20px; padding: 10px; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--p) 10%, var(--surface)), var(--surface-2)); border: 1px solid var(--line); }
.demap { width: 100%; height: auto; display: block; }
.demap .de-a { stop-color: color-mix(in srgb, var(--p) 22%, #ffffff); } .demap .de-b { stop-color: color-mix(in srgb, var(--s) 20%, #ffffff); }
:root[data-mode="dark"] .demap .de-a { stop-color: #1d3440; } :root[data-mode="dark"] .demap .de-b { stop-color: #2a1d2b; }
.demap .de-land { stroke: color-mix(in srgb, var(--p) 70%, #fff); stroke-width: 2.5; stroke-linejoin: round; }
.mpin { cursor: pointer; outline: none; } .mpin-dot { fill: var(--p); stroke: #fff; stroke-width: 2.5; } .mpin-halo { fill: var(--p); opacity: .22; transform-box: fill-box; transform-origin: center; animation: pinpulse 2.4s ease-out infinite; }
.mpin text { fill: #fff; font-family: var(--font); } .mpin-cnt circle { fill: var(--s); stroke: #fff; stroke-width: 1.5; } .mpin-cnt text { fill: #fff; }
.mpin:hover .mpin-dot, .mpin:focus .mpin-dot { stroke: var(--s); stroke-width: 3.5; } .mpin { transition: transform .2s; transform-box: fill-box; transform-origin: center; } .mpin:hover { transform: scale(1.15); }
@keyframes pinpulse { 0% { transform: scale(.9); opacity: .35; } 100% { transform: scale(1.6); opacity: 0; } }
.maplist { display: flex; flex-direction: column; gap: 6px; }
.cityrow { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; text-align: left; font: inherit; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cityrow:hover { transform: translateX(3px); box-shadow: var(--shadow); border-color: var(--p-line); }
.cityrow .rank { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.cityrow .cn { display: flex; flex-direction: column; } .cityrow .cn small { color: var(--ink-soft); }
.cityrow .stack { display: flex; } .cityrow .stack .av { margin-left: -8px; box-shadow: 0 0 0 2px var(--surface); } .cityrow .stack .av:first-child { margin-left: 0; }
@media (max-width: 860px) { .maplay { grid-template-columns: minmax(0, 1fr); } }

/* A$-Faktor */
.factorbox { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px; margin-bottom: 12px; background: linear-gradient(135deg, var(--p-soft), color-mix(in srgb, var(--s) 12%, var(--surface))); border: 1px solid var(--line); }
.factorbox .fbig { min-width: 72px; height: 72px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font: 900 24px var(--font); color: #fff; background: linear-gradient(135deg, #f7c948, #e2a400); box-shadow: 0 8px 18px rgba(226, 164, 0, .35), inset 0 2px 0 rgba(255, 255, 255, .4); }
.pill.gold { background: #fff4cc; color: #8a6200; } .pill.red { background: #ffe1e1; color: #a11; }

/* =====================================================================
   Modern-Design kräftiger: Verlaufshintergrund + 3D-Rahmen
   ===================================================================== */
body.skin-modern { background:
  radial-gradient(60% 50% at 0% 0%, color-mix(in srgb, var(--p) 32%, transparent), transparent 70%),
  radial-gradient(50% 45% at 100% 10%, color-mix(in srgb, var(--s) 28%, transparent), transparent 70%),
  radial-gradient(60% 50% at 50% 100%, color-mix(in srgb, var(--p2) 22%, transparent), transparent 70%),
  linear-gradient(180deg, color-mix(in srgb, var(--p) 12%, #f3f7fa), color-mix(in srgb, var(--s) 10%, #f7f3f6)) fixed; background-attachment: fixed; }
:root[data-mode="dark"] body.skin-modern { background:
  radial-gradient(60% 50% at 0% 0%, color-mix(in srgb, var(--p) 26%, transparent), transparent 70%),
  radial-gradient(50% 45% at 100% 10%, color-mix(in srgb, var(--s) 20%, transparent), transparent 70%),
  linear-gradient(180deg, #0b1218, #120c14) fixed; background-attachment: fixed; }
body.skin-modern.cards-3d .box, body.skin-modern.cards-flat .box { border: 1px solid color-mix(in srgb, var(--p) 22%, var(--line)); border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, color-mix(in srgb, var(--p) 4%, var(--surface)) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -3px 0 color-mix(in srgb, var(--p) 10%, transparent), 0 1px 0 color-mix(in srgb, var(--p) 25%, #fff), 0 4px 0 color-mix(in srgb, var(--p) 18%, #d9e2e8), 0 18px 32px -14px color-mix(in srgb, var(--p2) 45%, rgba(0, 0, 0, .35)); }
:root[data-mode="dark"] body.skin-modern.cards-3d .box, :root[data-mode="dark"] body.skin-modern.cards-flat .box { background: linear-gradient(180deg, #17222b, #121a21); border-color: color-mix(in srgb, var(--p) 30%, #233038);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 4px 0 rgba(0, 0, 0, .55), 0 18px 32px -14px rgba(0, 0, 0, .8); }
body.skin-modern .box > h3 { color: #fff; border-bottom: 0; background: linear-gradient(135deg, var(--p) 0%, color-mix(in srgb, var(--p) 55%, var(--p2)) 55%, color-mix(in srgb, var(--p2) 70%, var(--s)) 100%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .12); }
body.skin-modern .box > h3 a, body.skin-modern .box > h3 .act { color: #fff; }
body.skin-modern .box > h3 > span:first-child::before { background: rgba(255, 255, 255, .85); box-shadow: 0 0 8px rgba(255, 255, 255, .8); }
body.skin-modern .box.pink > h3 { background: linear-gradient(135deg, var(--s), color-mix(in srgb, var(--s) 60%, #8a3ffc)); }
body.skin-modern .menubar { border-radius: 18px; border: 1px solid color-mix(in srgb, var(--p) 25%, var(--line)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 4px 0 color-mix(in srgb, var(--p) 18%, #d9e2e8), 0 14px 28px -14px rgba(0, 0, 0, .3); }
:root[data-mode="dark"] body.skin-modern .menubar { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 4px 0 rgba(0, 0, 0, .5); }
body.skin-modern .menubar nav a:hover, body.skin-modern .menubar nav a.on { background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; box-shadow: 0 4px 12px color-mix(in srgb, var(--p) 40%, transparent), inset 0 1px 0 rgba(255, 255, 255, .3); }
body.skin-modern .tile, body.skin-modern .ibtn, body.skin-modern .ucard { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 3px 0 color-mix(in srgb, var(--p) 15%, #d5dde3), 0 8px 14px -8px rgba(0, 0, 0, .25); }
:root[data-mode="dark"] body.skin-modern .tile, :root[data-mode="dark"] body.skin-modern .ibtn, :root[data-mode="dark"] body.skin-modern .ucard { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 3px 0 rgba(0, 0, 0, .5); }
body.skin-modern .btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 0 color-mix(in srgb, var(--b, var(--p)) 60%, #000), 0 8px 14px -6px color-mix(in srgb, var(--b, var(--p)) 50%, transparent); }
body.skin-modern .btn:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 0 color-mix(in srgb, var(--b, var(--p)) 60%, #000); }
body.skin-modern .banner { box-shadow: 0 5px 0 color-mix(in srgb, var(--p2) 70%, #000), 0 20px 36px -16px rgba(0, 0, 0, .45); }
.shopedit { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: start; } .shopedit .shopart { position: sticky; top: 0; } @media (max-width: 600px) { .shopedit { grid-template-columns: 1fr; } .shopedit .shopart { max-width: 140px; } }
.cityrow .stack { display: flex; flex-direction: row; align-items: center; } .cityrow .stack img.av { width: 30px; height: 30px; }
body.skin-modern .box > h3 [data-close] { color: #fff; background: rgba(255, 255, 255, .22); border-radius: 50%; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.modal:has(.shopedit), .modal:has(.buyview) { width: min(760px, calc(100vw - 24px)); max-width: 760px; }
body.skin-modern .box > h3 .cur { color: #fff3b0; text-shadow: 0 1px 2px rgba(0,0,0,.3); }

/* =====================================================================
   v6 – Fashion-Puppen, Bling-Effekte, Haustier-Animationen
   ===================================================================== */
.as-avatar.doll { overflow: hidden; }
.as-avatar.anim .d-figure { animation: dbreath 4s ease-in-out infinite; transform-origin: 100px 380px; }
.as-avatar.anim .d-eyes { animation: dblink 5s infinite; transform-origin: 100px 64px; }
.as-avatar.anim .d-sway { animation: dsway 4.5s ease-in-out infinite; transform-origin: 100px 50px; }
.as-avatar.anim .pose-wave .d-arm-r { animation: dwave 1.2s ease-in-out infinite; }
.as-avatar.anim .pose-jump { animation: djump 1.4s ease-in-out infinite; }
.as-avatar.anim .pose-cute .d-head { animation: dtilt 3s ease-in-out infinite; transform-origin: 100px 90px; }
.as-avatar.anim .d-tear { animation: dtear 2.4s ease-in infinite; }
@keyframes dbreath { 50% { transform: translateY(-1.5px) scale(1.004); } }
@keyframes dblink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes dsway { 50% { transform: rotate(1.6deg) skewX(1deg); } }
@keyframes dwave { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes djump { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-16px); } 55% { transform: translateY(-16px); } }
@keyframes dtilt { 50% { transform: rotate(4deg); } }
@keyframes dtear { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
.fx-tw { animation: fxtw 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes fxtw { 0%, 100% { opacity: .15; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
.fx-fly { animation: fxfly 6s ease-in-out infinite; } .fx-wing { animation: fxwing .35s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes fxfly { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(10px, -14px); } 50% { transform: translate(-6px, -24px); } 75% { transform: translate(-12px, -8px); } }
@keyframes fxwing { 50% { transform: scaleX(.35); } }
.fx-up { animation: fxup 4s ease-in infinite; transform-box: fill-box; } @keyframes fxup { 0% { opacity: 0; transform: translateY(20px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-90px); } }
.fx-fall { animation: fxfall 5s linear infinite; } @keyframes fxfall { 0% { transform: translateY(-10px); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(150px) translateX(20px); opacity: 0; } }
.fx-pulse { animation: fxpul 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; } @keyframes fxpul { 50% { opacity: .55; transform: scale(1.04); } }
.bling { filter: drop-shadow(0 0 2px rgba(255, 255, 255, .9)); }
.as-pet.anim .pet-tail { animation: ptail 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: 0% 100%; }
.as-pet.anim .pet-ear { animation: pear 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 0%; }
.as-pet.anim .pet-wing { animation: pwing 1.4s ease-in-out infinite; transform-origin: 60px 64px; }
.as-pet.anim .pet-face { animation: dblink 6s infinite; transform-origin: 60px 54px; }
.as-pet.mood-sleep .pet-face, .as-pet.mood-happy .pet-face { animation: none; }
@keyframes ptail { 50% { transform: rotate(14deg); } } @keyframes pear { 50% { transform: rotate(-6deg); } } @keyframes pwing { 50% { transform: scaleY(.86) translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .as-avatar *, .as-pet * { animation: none !important; } }
/* v6 – Profil-Reiter als Icons, Status, Creator, Affiliate, Bot, Regeln */
.ptabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 10px; margin: 0; border-radius: var(--pradius, 14px); background: var(--pbox, var(--surface)); border: 1px solid var(--pborder, var(--line)); }
.ptab { position: relative; width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .55)); border: 1px solid rgba(0, 0, 0, .08); box-shadow: inset 0 1px 0 #fff, 0 3px 0 rgba(0, 0, 0, .08), 0 6px 12px -6px rgba(0, 0, 0, .3);
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s; }
.ptab .ico { transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
.ptab:hover { transform: translateY(-3px); } .ptab:hover .ico { transform: scale(1.22) rotate(-8deg); }
.ptab.on { background: linear-gradient(160deg, var(--ptab, var(--p)), color-mix(in srgb, var(--ptab, var(--p)) 70%, #000)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ptab, var(--p)) 30%, transparent), 0 8px 16px -6px var(--ptab, var(--p)); }
.ptab .cnt { position: absolute; right: -6px; bottom: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #fff; color: #1d2430; font: 800 11px/20px var(--font); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 2px 4px rgba(0, 0, 0, .15); }
.ptab .nb { position: absolute; right: -6px; top: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #e5484d; color: #fff; font: 800 11px/20px var(--font); box-shadow: 0 0 0 2px #fff; animation: heartbeat 1.6s ease-in-out infinite; }
.dot.afk { background: #f0b400; } .dot.busy { background: #e5484d; } .dot.chat { background: #8b5cf6; box-shadow: 0 0 6px #8b5cf6; }
.mystatus { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px; margin: 10px 0 4px; } .mystatus select, .mystatus input { min-height: 32px; font-size: 12px; padding: 4px 8px; }
.socialrow { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; justify-content: inherit; }
.soc { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--sc); color: #fff !important; font: 700 12px var(--font); text-decoration: none; box-shadow: 0 3px 8px color-mix(in srgb, var(--sc) 40%, transparent); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.soc:hover { transform: translateY(-2px) scale(1.04); }
.creatorgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.creator { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 12px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--surface-2)); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .35); }
.creator .av.lg { width: 84px; height: 84px; } .creator .socialrow { justify-content: center; }
.affhero { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.affbig { min-width: 110px; height: 110px; border-radius: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 900 32px var(--font); color: #fff; background: linear-gradient(135deg, #f7c948, #e2a400); box-shadow: 0 10px 22px rgba(226, 164, 0, .35); }
.affbig small { font-size: 14px; } .affhero > div:last-child { flex: 1; min-width: 240px; }
.copyrow { display: flex; gap: 8px; margin: 10px 0 4px; } .copyrow input { flex: 1; min-width: 0; }
.statcard { padding: 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); text-align: center; } .statcard b { display: block; font-size: 24px; color: var(--p-text); }
.sb-item.bot .txt { background: linear-gradient(135deg, color-mix(in srgb, #ffd23f 22%, var(--surface)), color-mix(in srgb, #ff6fae 14%, var(--surface))); border-color: #ffd23f; }
.sb-item.bot .botname { color: #b8860b; } .sb-item.bot .av { border-color: #ffd23f; }
.petrules { display: grid; gap: 10px; } .prule { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.prule > span { font-size: 26px; line-height: 1; }
.warnline { margin: -4px 0 8px; padding: 6px 10px; border-radius: 10px; background: #ffe1e1; color: #a11; font-weight: 700; font-size: 12.5px; animation: fxpul 2s ease-in-out infinite; }
.chipsel span .hc { font: 600 11.5px var(--font); } .chipsel span:has(.hc) { padding: 0 10px; }
.sw.none { display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--ink-soft); font-size: 12px; }
.swatches input[type=color] { width: 30px; height: 26px; padding: 0; border-radius: 8px; }
.wr-stage svg { max-height: 520px; }
/* Boutique hübscher */
.shop .shopgrid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.shopcard { border-radius: 20px; border-top-width: 0; padding: 0 0 12px; overflow: hidden; background: var(--surface); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 10px 24px -14px rgba(0, 0, 0, .4); }
.shopcard > b, .shopcard > small, .shopcard .buy { padding: 0 12px; } .shopcard .buy { padding-top: 6px; }
.shopcard .shopart { border-radius: 0; aspect-ratio: 4 / 5; background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--rc, var(--p)) 26%, #fff), color-mix(in srgb, var(--rc, var(--p)) 8%, var(--surface-2)) 70%); border-bottom: 3px solid var(--rc, var(--line)); margin-bottom: 8px; }
:root[data-mode="dark"] .shopcard .shopart { background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--rc, var(--p)) 35%, #1a2530), #121a21 70%); }
.shopcard .shopart::before { content: ""; position: absolute; left: 50%; bottom: 6%; width: 70%; height: 10%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .18), transparent); }
.shopcard:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 22px 34px -16px color-mix(in srgb, var(--rc, #000) 60%, rgba(0, 0, 0, .35)); }
.shopcard .shopart svg { width: 96%; height: 96%; }
.shopcard.ev::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 2px #ffd23f, 0 0 18px rgba(255, 210, 63, .45); }
.shopnav { padding: 8px; border-radius: 18px; background: linear-gradient(135deg, var(--p-soft), color-mix(in srgb, var(--s) 14%, var(--surface))); }
.tryon { background: radial-gradient(120% 70% at 50% 0%, #fff, color-mix(in srgb, var(--s) 18%, var(--surface-2))); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 12px 26px -14px rgba(0, 0, 0, .35); }
.tryon-stage svg { max-height: 460px; }
.violtext { border: 0; background: color-mix(in srgb, #e5484d 8%, var(--surface)); color: var(--ink); padding: 6px 9px; border-radius: 10px; text-align: left; cursor: pointer; font: inherit; max-width: 360px; border-left: 3px solid #e5484d; }
.violtext:hover { background: color-mix(in srgb, #e5484d 16%, var(--surface)); }
.ctxlist { max-height: 340px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 6px; background: var(--surface-2); margin-bottom: 10px; }
.ctxrow { padding: 4px 8px; border-radius: 8px; font-size: 13px; } .ctxrow.hit { background: #ffe1e1; color: #6b0b0b; border-left: 3px solid #e5484d; font-weight: 600; }
.slimsel { width: auto; min-height: 30px; padding: 2px 6px; font-size: 12px; }
.adm-layout .table td { padding: 6px 8px; vertical-align: middle; } .adm-layout .table td.num { white-space: nowrap; }
.adm-layout .mini-user .t small { font-size: 11px; }

/* ===================== v1.0.7 ===================== */
.pill[style*="--pc"] { background: color-mix(in srgb, var(--pc) 14%, var(--surface)); color: var(--pc); border-color: color-mix(in srgb, var(--pc) 40%, var(--line)); }
.pill.gold { background: linear-gradient(135deg, #fff4c2, #ffe08a); color: #8a5a00; border-color: #e8c04a; }
.btn.gold { background: linear-gradient(135deg, #ffd86b, #e2a400); color: #4a3000; border-color: #c89200; }
.nat { font-size: 1.05em; line-height: 1; vertical-align: -1px; cursor: default; }
.tgold { color: #ffd54a; font-weight: 400; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
@keyframes goldshine { to { background-position: -200% 0; } }

/* Coins verdienen */
.earnnav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.earnnav a { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; font-size: 13px; }
.earnnav a.on { background: linear-gradient(135deg, var(--p), var(--s)); color: #fff; border-color: transparent; }
.earnhero { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, var(--p-soft), var(--s-soft)); margin-bottom: 12px; }
.earnbig { white-space: nowrap; font-size: 40px; font-weight: 900; color: var(--p-text); line-height: 1; } .earnbig small { font-size: 16px; color: var(--muted); }
.adlist { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.adcard { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 2px 0 var(--line); }
.adcard b { display: block; } .adthumb { width: 64px; height: 48px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, var(--p), var(--s)); }
.adthumb img { width: 100%; height: 100%; object-fit: cover; }
.adplayer { text-align: center; } .adplayer video, .adplayer img { width: 100%; max-height: 50vh; border-radius: 12px; background: #000; }
.adpromo { position: relative; overflow: hidden; height: 220px; border-radius: 14px; display: grid; place-content: center; padding: 20px; color: #fff; background: linear-gradient(135deg, #12b5c9, #ff6fae, #8a3ffc); background-size: 300% 300%; animation: promobg 6s ease infinite; }
.adpromo b { font-size: 24px; text-shadow: 0 2px 6px rgba(0,0,0,.25); } .adpromo p { margin: 6px 0 0; opacity: .95; }
.adpromo .sp { position: absolute; font-size: 26px; animation: promofloat 3s ease-in-out infinite; } .adpromo .s1 { left: 10%; top: 18%; } .adpromo .s2 { right: 12%; top: 30%; animation-delay: .8s; } .adpromo .s3 { left: 20%; bottom: 14%; animation-delay: 1.6s; }
@keyframes promobg { 50% { background-position: 100% 50%; } } @keyframes promofloat { 50% { transform: translateY(-12px) rotate(10deg); } }
.adbar { height: 8px; border-radius: 99px; background: var(--line); margin: 10px 0 4px; overflow: hidden; } .adbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--p), var(--s)); transition: width .25s linear; }

/* Eier */
.as-egg { width: 100%; height: auto; display: block; }
.as-egg.grey { filter: grayscale(1) brightness(1.05) opacity(.8); }
.as-egg.incub .egg-body { transform-origin: 55px 104px; animation: eggwobble 3.2s ease-in-out infinite; }
@keyframes eggwobble { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-7deg); } 82% { transform: rotate(6deg); } 88% { transform: rotate(-4deg); } 94% { transform: rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .as-egg.incub .egg-body { animation: none; } }
.eggzone h4 { margin: 14px 0 8px; } .egghead h4 { margin-top: 0; }
.eggbuy { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; align-items: stretch; }
.egginfo { grid-column: 1 / -1; font-size: 13px; } .egginfo p { margin: 0; }
.egggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.eggcard { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--p-soft-2)); box-shadow: 0 3px 0 var(--line); }
.eggcard.ev { border-color: #e8c04a; background: linear-gradient(180deg, #fffaf0, #fff1c4); }
.eggcard .eggart { width: 80px; } .eggcard small { font-size: 12px; } .eggcard .buy { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: auto; }
.eggcard.st-grey { background: linear-gradient(180deg, var(--surface), #eef0f2); }
div.incub { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: linear-gradient(135deg, #fff7e0, var(--s-soft)); margin-bottom: 12px; }
.incegg { display: inline-flex; flex-direction: column; align-items: center; width: 64px; font-size: 11px; } .incegg .as-egg { width: 44px; }

/* Schatzsuche */
.iconbar .ibtn.hunt:not([disabled]) { box-shadow: 0 0 0 2px #ffd23f inset; }
.petcard.away .iconbar { opacity: .35; pointer-events: none; }
.awaystage { position: relative; display: grid; place-items: center; align-content: center; gap: 4px; height: 100%; min-height: 150px; border-radius: 14px; background: repeating-linear-gradient(45deg, #fff6d8, #fff6d8 12px, #ffefc0 12px, #ffefc0 24px); text-align: center; }
.awaystage .map { font-size: 46px; animation: promofloat 3s ease-in-out infinite; } .awaystage .steps { letter-spacing: 6px; opacity: .6; animation: steps 2s steps(3) infinite; }
@keyframes steps { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.huntinfo { display: grid; grid-template-columns: 140px 1fr; gap: 14px; } .huntart { position: relative; } .huntart .map { position: absolute; right: 0; bottom: 0; font-size: 34px; }
.huntlist { padding-left: 18px; margin: 8px 0; } .huntlist li { margin: 3px 0; }
.dangerbox { padding: 10px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--danger) 40%, var(--line)); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); margin: 10px 0; }
.huntnews p { padding: 8px 10px; border-radius: 10px; background: var(--p-soft); margin: 0 0 6px; } .huntnews p.gold { background: linear-gradient(135deg, #fff4c2, #ffe08a); font-weight: 700; } .huntnews p.sad { background: #eef0f4; }
@media (max-width: 560px) { .huntinfo { grid-template-columns: 1fr; } .huntart { max-width: 140px; margin: auto; } }
.mem .btn.gold { margin: 4px 0; }

/* Posts */
.postpage { width: 100%; }
.composer { display: grid; grid-template-columns: auto 1fr; gap: 10px; } .composer textarea { width: 100%; resize: vertical; border-radius: 14px; }
.cbar { display: flex; gap: 8px; align-items: center; margin-top: 6px; } .cbar select { width: auto; } .cbar .btn { margin-left: auto; }
.cimgs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; } .cimg { position: relative; } .cimg img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.cimg button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--danger); color: #fff; cursor: pointer; }
.feed { display: grid; gap: 12px; margin-top: 12px; }
.fpost { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 3px 0 var(--line), 0 8px 24px rgba(0,0,0,.05); overflow: hidden; }
.fpost header { display: flex; gap: 10px; align-items: center; padding: 12px 14px 4px; } .fpost header small { display: block; } .fpost .pmenu { margin-left: auto; display: flex; gap: 4px; }
.fpost .ptext { padding: 4px 14px 10px; white-space: pre-wrap; word-break: break-word; }
.pimgs { display: grid; gap: 2px; } .pimgs.n2, .pimgs.n4 { grid-template-columns: 1fr 1fr; } .pimgs.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; } .pimgs.n3 a:first-child { grid-row: span 2; }
.pimgs img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; display: block; } .pimgs.n1 img { max-height: 560px; }
.fpost footer { display: flex; border-top: 1px solid var(--line); } .pbtn { flex: 1; border: 0; background: none; padding: 9px; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 0; } .pbtn:hover { background: var(--p-soft-2); } .pbtn.on { color: var(--s-text); }
.pcomments { padding: 0 14px; } .pcomments:not(:empty) { padding: 8px 14px 10px; background: var(--p-soft-2); }
.pc { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0; } .pc > div { background: var(--surface); border-radius: 14px; padding: 6px 10px; font-size: 14px; }
.pcf { display: flex; gap: 6px; margin-top: 6px; } .pcf input { flex: 1; border-radius: 999px; }
.reviewbar { margin: 6px 14px; padding: 6px 10px; border-radius: 10px; background: #fff7d6; font-size: 13px; } .reviewbar.red { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); }
.fpost.st-review { border-style: dashed; } .fpost.st-removed { opacity: .6; }

/* Creator */
.ccinfo { padding: 10px 12px; border-radius: 12px; background: var(--p-soft); margin-bottom: 10px; font-size: 14px; }
.ccchan { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; } .ccchan > span { display: inline-flex; flex-direction: column; align-items: center; } .ccchan small { font-weight: 700; font-size: 11px; color: var(--muted); }
.creator.ver { box-shadow: 0 0 0 2px #1fa3b8 inset; } .verified { color: #1fa3b8; }
.ccpend { padding: 10px; border: 1px dashed var(--line); border-radius: 12px; margin-bottom: 12px; } .ccrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; } .ccrow .muted { flex: 1; font-size: 13px; }

/* ===================== v1.0.7b ===================== */
.menubar nav a.icon-only { padding-left: 9px; padding-right: 9px; gap: 0; }
body.skin-classic .menubar nav a { padding: 5px 8px; gap: 5px; }
body.skin-classic .menubar nav a.icon-only { padding: 5px 7px; }
body.skin-classic .menubar nav a.icon-only::after { content: none; }
@media (max-width: 1240px) { body.skin-classic .menubar nav a { padding: 5px 6px; font-size: 10.5px; } .menubar nav a { padding: 8px 9px; } }
.widget .avrow, .box .avrow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; justify-items: center; }
.box .avrow .av.on40 { width: 100%; max-width: 44px; height: auto; aspect-ratio: 1; }
/* Formatierungsleiste */
.fmtbar { display: inline-flex; flex-wrap: wrap; gap: 3px; align-items: center; }
.fmtbar button { min-width: 30px; height: 30px; padding: 0 6px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 14px var(--font); cursor: pointer; line-height: 1; }
.fmtbar button:hover { background: var(--p-soft); border-color: var(--p-line); }
.fmtbar.compact button { min-width: 26px; height: 26px; font-size: 12.5px; padding: 0 4px; border-radius: 7px; }
.fmtbar .fcol { position: relative; } .fmtbar .fcol i { position: absolute; left: 5px; right: 5px; bottom: 3px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #e0245e, #e2a400, #22a06b, #2f6fd6, #8a3ffc); }
.colpop { position: absolute; z-index: 1200; width: 228px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.colpop button { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.colpop button:hover { transform: scale(1.15); }
.colpop .own { position: relative; width: 24px; height: 24px; display: grid; place-items: center; cursor: pointer; font-size: 16px; } .colpop .own input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
/* Shoutbox kompakt */
.sb-form { gap: 6px; } .sb-form .tools { display: flex; gap: 4px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.sb-form .tools .sbsend { min-height: 26px; height: 26px; padding: 0 10px; font-size: 11.5px; margin-left: auto; }
/* Posts */
.fpost { overflow: visible; } .fpost .pimgs { border-radius: 0; overflow: hidden; } .fpost footer { border-radius: 0 0 18px 18px; }
.fpost .pcomments:last-child { border-radius: 0 0 18px 18px; }
.composer .fmtwrap { display: grid; gap: 6px; } .cbar { flex-wrap: wrap; } .cbar .fmtbar { margin-right: auto; } .cbar .btn { margin-left: 0; }
.ppreview { padding: 8px 10px; border-radius: 12px; border: 1px dashed var(--line); background: var(--p-soft-2); }
.reviewbar { color: #5a4300; } .reviewbar .btn { vertical-align: middle; }
.reviewbar.red { color: var(--danger); }
.pcf { flex-direction: column; } .pcf input { width: 100%; } .pcfbar { display: flex; gap: 6px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.bbimg { display: block; margin: 8px 0; } .bbimg img { max-width: 100%; max-height: 480px; border-radius: 12px; display: block; }
.vembed { display: block; margin: 8px 0; max-width: 560px; }
.vembed .vplay { width: 100%; aspect-ratio: 16 / 9; max-height: 320px; border: 0; border-radius: 14px; cursor: pointer; color: #fff; display: grid; place-content: center; justify-items: center; gap: 4px; padding: 14px; text-align: center;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--vc) 75%, #fff), var(--vc) 55%, #000); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.vembed .vplay .vi { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: rgba(255, 255, 255, .2); box-shadow: 0 0 0 6px rgba(255, 255, 255, .08); transition: transform .2s; }
.vembed .vplay:hover .vi { transform: scale(1.12); } .vembed .vplay small { opacity: .85; font-size: 11.5px; max-width: 320px; }
.vembed .vlink { font-size: 12px; } .vembed iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; display: block; }
.vembed.p-tt iframe, .vembed.p-ig iframe { aspect-ratio: 9 / 14; max-width: 340px; } .vembed.p-x iframe { aspect-ratio: auto; height: 520px; max-width: 520px; background: #fff; }
/* Flaggen */
.flag { display: inline-block; width: 1.35em; height: .95em; vertical-align: -.1em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); overflow: hidden; }
.nat .flag { width: 18px; height: 12.5px; }
/* Events: Ich bin dabei */
.evgo { margin-top: 12px; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, var(--p-soft), var(--s-soft)); }
.evgohead { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; } .evgohead select { width: auto; }
.evpeople { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .evpeople a.fo .av { box-shadow: 0 0 0 2px var(--s); }
.sb-form .fmtbar.compact { gap: 2px; } .sb-form .fmtbar.compact button { min-width: 23px; height: 24px; font-size: 12px; padding: 0 3px; }
.sb-form .tools { flex-wrap: nowrap; } .sb-form .tools .sbsend { padding: 0 8px; white-space: nowrap; }
.menubar nav a.icon-only .ic { font-size: 17px; filter: none; }
/* Layout-Editor */
.widget-row.w4 { grid-template-columns: minmax(0, 1fr) 130px 80px 90px; }
.dimgrid { display: grid; gap: 8px; } .dimrow { display: grid; grid-template-columns: 210px minmax(0, 1fr) 70px; gap: 10px; align-items: center; }
.dimrow input[type=range] { width: 100%; accent-color: var(--p); } .dimrow output { font-weight: 700; text-align: right; }
.dimprev { display: flex; height: 44px; margin: 12px 0; } .dimprev span { display: grid; place-items: center; border-radius: 8px; background: var(--p-soft); border: 1px dashed var(--p-line); font-size: 12px; font-weight: 700; color: var(--p-text); }
.dimprev span:nth-child(2) { background: var(--s-soft); border-color: var(--s-line); color: var(--s-text); }
@media (max-width: 640px) { .dimrow { grid-template-columns: 1fr 60px; } .dimrow span { grid-column: 1 / -1; } .widget-row.w4 { grid-template-columns: 1fr 1fr; } }

/* Tooltips (per JS, bleiben immer im sichtbaren Bereich) */
.tipfloat { position: fixed; z-index: 5000; pointer-events: none; max-width: min(320px, calc(100vw - 16px)); background: var(--ink); color: var(--surface); font: 600 12px/1.35 var(--font); padding: 6px 10px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); white-space: normal; overflow-wrap: anywhere; animation: tipf .12s ease both; }
.tipfloat::after { content: ""; position: absolute; left: var(--ax, 50%); transform: translateX(-50%); border: 6px solid transparent; }
.tipfloat.up::after { top: 100%; border-top-color: var(--ink); } .tipfloat.down::after { bottom: 100%; border-bottom-color: var(--ink); }
@keyframes tipf { from { opacity: 0; } }
/* Menüleiste: immer eine Zeile – Navigation links, Icons rechts */
.menubar { flex-wrap: nowrap; } .menubar .right { flex-wrap: nowrap; flex-shrink: 0; }
body.skin-classic .menubar .right a, body.skin-classic .menubar .right button.navbtn { padding: 4px 6px; }
.modeswitch button { padding: 4px 6px; }
@media (max-width: 1320px) { .menubar .right .cash { padding-left: 6px; padding-right: 6px; } .modeswitch { margin-left: 2px; } .modeswitch button { padding: 3px 5px; font-size: 12px; } }
/* Mein Bereich: Status in zwei Zeilen, nichts abgeschnitten */
.mystatus { grid-template-columns: minmax(0, 1fr); } .mystatus select, .mystatus input { width: 100%; }
/* Helle Kästen: Text immer dunkel (auch im Dunkel-Modus lesbar) */
div.incub, .huntnews p.gold, .eggcard.ev, .pill.gold, .awaystage { color: #3a2a00; }
div.incub a { color: #6a4a00; } .eggcard.ev b, .eggcard.ev small { color: #3a2a00; }
:root[data-mode="dark"] .eggcard { background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--p) 10%, var(--surface))); }
:root[data-mode="dark"] .eggcard.st-grey { background: linear-gradient(180deg, var(--surface), #1d2328); }
:root[data-mode="dark"] div.incub { background: linear-gradient(135deg, #3a3018, #3a2030); color: #ffe9b0; } :root[data-mode="dark"] .incub a { color: #ffd27a; }
:root[data-mode="dark"] .awaystage { background: repeating-linear-gradient(45deg, #2e2814, #2e2814 12px, #3a3218 12px, #3a3218 24px); color: #ffe9b0; }
/* Adminpanel: deutliche Abschnitte */
.adm-nav .grp { margin: 14px 0 4px; padding: 6px 10px; border-radius: 8px; font-size: 11px; color: var(--on-p, #fff); background: linear-gradient(90deg, var(--p), color-mix(in srgb, var(--p) 40%, transparent)); letter-spacing: .1em; }
.adm-nav .grp:first-child { margin-top: 0; }
.adm-nav a { margin-left: 6px; border-left: 2px solid var(--line); border-radius: 0 9px 9px 0; }
.adm-nav a.on { border-left-color: var(--p); }
/* Petshop & Tier-Markt */
.luckinfo { padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, #e6fff0, #fff7d6); color: #23402c; margin-bottom: 12px; }
.shopcard.lucky { box-shadow: 0 0 0 2px #2fae75 inset, 0 3px 0 var(--line); } .evtag.luck { background: linear-gradient(135deg, #2fae75, #7ad69c); color: #fff; }
.pmlist { display: grid; gap: 10px; margin-bottom: 14px; }
.pmcard { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 3px 0 var(--line); }
.pmart { width: 96px; height: 96px; border-radius: 14px; background: linear-gradient(180deg, var(--p-soft), var(--s-soft)); display: grid; place-items: center; } .pmart svg { width: 90px; height: 90px; }
.pminfo { min-width: 0; } .pminfo > small { display: block; margin-top: 4px; }
.pmstats { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; margin-top: 4px; }
.pmbuy { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
@media (max-width: 560px) { .pmcard { grid-template-columns: 72px minmax(0, 1fr); } .pmart { width: 72px; height: 72px; } .pmart svg { width: 66px; height: 66px; } .pmbuy { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }
.evrow[data-lid] { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .evrow[data-lid] input[name=name] { flex: 1 1 180px; }
/* Rollen als Zeichen statt Text */
.roleico { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-size: 13px; line-height: 1; vertical-align: -3px; margin-left: 2px; cursor: default;
  background: color-mix(in srgb, var(--rc, var(--p)) 18%, var(--surface)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--rc, var(--p)) 45%, transparent); }
.roleico.r-owner { --rc: #e2a400; } .roleico.r-admin { --rc: #8a3ffc; } .roleico.r-moderator { --rc: #22a06b; } .roleico.r-vip { --rc: #e2a400; }
.mem { width: 140px; } .mem .btn { white-space: normal; font-size: 11px; padding: 5px 6px; min-height: 0; line-height: 1.2; }
.btn { max-width: 100%; } .btn:not(.small) { white-space: normal; text-align: center; }
.chatform { display: grid; gap: 6px; } .chatbar { display: flex; gap: 6px; align-items: center; justify-content: space-between; flex-wrap: wrap; } .chatbar .btn { margin-left: auto; }
@media (max-width: 600px) { .composer { grid-template-columns: minmax(0, 1fr); } .composer > .av { display: none; } }
/* ===================== v1.0.9: Effekte-Palette & neue Text-Effekte ===================== */
.cptabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.cptabs button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-weight: 700; cursor: pointer; }
.cptabs button.on { background: linear-gradient(135deg, var(--p), var(--s)); color: #fff; border-color: transparent; }
.codepal2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; max-height: 60vh; overflow: auto; padding: 2px; }
.codepal2 button { display: grid; grid-template-rows: 1fr auto; gap: 4px; min-height: 84px; padding: 10px 8px; border-radius: 12px; border: 1px solid var(--line); background: #14181f; color: #f1f5f9; cursor: pointer; overflow: hidden; text-align: center; }
.codepal2 button:hover { border-color: var(--p); box-shadow: 0 0 0 2px color-mix(in srgb, var(--p) 35%, transparent); }
.codepal2 .cpprev { display: grid; place-items: center; font-size: 17px; min-height: 40px; overflow: hidden; } .codepal2 small { color: #9aa7b6; font-size: 11.5px; }
.codepal2 .cpprev .s1, .codepal2 .cpprev .s2 { font-size: inherit; } .codepal2 .cpprev h1, .codepal2 .cpprev h2 { margin: 0; font-size: 20px; }
.fmtbar .fxb { background: linear-gradient(135deg, #ff6aa2, #6a8bff); color: #fff; border-color: transparent; }
.fmtbar svg { display: block; margin: auto; }
/* Neue Effekte */
.fx-gold { background: linear-gradient(180deg, #fff6c0, #f7c948 45%, #b8860b 55%, #ffe58a); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; filter: drop-shadow(0 1px 0 rgba(0,0,0,.35)); }
.fx-chrome { background: linear-gradient(180deg, #fff, #c9d3dd 45%, #59636e 52%, #e8eef3); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; filter: drop-shadow(0 1px 0 rgba(0,0,0,.4)); }
.fx-holo { background: linear-gradient(90deg, #ff9ff3, #feca57, #48dbfb, #1dd1a1, #ff9ff3); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; animation: fxrainbow 4s linear infinite; filter: drop-shadow(0 0 6px rgba(255, 159, 243, .5)); }
.fx-fire { background: linear-gradient(0deg, #ff3d00, #ff9100, #ffea00); background-size: 100% 200%; -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; animation: fxfire 1.2s ease-in-out infinite alternate; filter: drop-shadow(0 0 6px rgba(255, 98, 0, .7)); }
@keyframes fxfire { to { background-position: 0 100%; filter: drop-shadow(0 -2px 9px rgba(255, 160, 0, .8)); } }
.fx-ice { color: #dff7ff; font-weight: 800; text-shadow: 0 0 4px #7fdcff, 0 0 10px #39b8ff, 0 0 18px #0077ff; }
.fx-lava { background: linear-gradient(90deg, #8b0000, #ff4500, #ffa500, #ff4500, #8b0000); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; animation: fxrainbow 3s linear infinite; }
.fx-ocean { background: linear-gradient(90deg, #0077b6, #00b4d8, #90e0ef, #00b4d8, #0077b6); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; animation: fxrainbow 4s linear infinite; }
.fx-sunset { background: linear-gradient(90deg, #ff512f, #f09819, #ff5e62, #dd2476); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.fx-galaxy { background: radial-gradient(circle at 20% 30%, #fff 0 2%, transparent 3%), linear-gradient(90deg, #2b1055, #7597de, #d53369, #2b1055); background-size: 100% 100%, 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; animation: fxrainbow 5s linear infinite; filter: drop-shadow(0 0 5px rgba(117, 151, 222, .6)); }
.fx-sakura { color: #ff7eb6; font-weight: 800; text-shadow: 0 0 6px #ffd1e8, 2px 2px 0 #fff0f7; } .fx-sakura::after { content: " 🌸"; }
.fx-pastel { background: linear-gradient(90deg, #ffadad, #ffd6a5, #fdffb6, #caffbf, #9bf6ff, #bdb2ff, #ffc6ff); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.fx-toxic { color: #b6ff00; font-weight: 800; text-shadow: 0 0 5px #7cff00, 0 0 12px #39ff14; animation: fxneon 1.8s ease-in-out infinite; }
.fx-disco { font-weight: 800; animation: fxdisco 1s steps(6) infinite; } @keyframes fxdisco { 0% { color: #ff3b6b; } 20% { color: #ff9f1c; } 40% { color: #ffe14d; } 60% { color: #3dd68c; } 80% { color: #36c5f0; } 100% { color: #8b5cf6; } }
.fx-matrix { color: #39ff14; font-family: ui-monospace, monospace; text-shadow: 0 0 6px #0f0; letter-spacing: .08em; background: #021b02; padding: 0 4px; border-radius: 4px; }
.fx-outline { color: transparent; -webkit-text-stroke: 1.2px var(--c, #ff3399); font-weight: 900; }
.fx-3d { font-weight: 900; color: #fff; text-shadow: 1px 1px 0 #ff5fa2, 2px 2px 0 #e0459a, 3px 3px 0 #c22d8c, 4px 4px 0 #9e1d7a, 5px 5px 8px rgba(0,0,0,.4); }
.fx-retro { font-weight: 900; color: #ffe14d; text-shadow: 2px 2px 0 #ff3b6b, 4px 4px 0 #36c5f0; letter-spacing: .05em; font-style: italic; }
.fx-comic { font-family: "Comic Sans MS", "Comic Neue", cursive; font-weight: 900; color: #ffe14d; -webkit-text-stroke: 1px #111; text-shadow: 3px 3px 0 #111; transform: rotate(-3deg); display: inline-block; }
.fx-candy { background: repeating-linear-gradient(45deg, #ff5fa2 0 6px, #fff 6px 12px); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 900; -webkit-text-stroke: .4px #ff5fa2; }
.fx-ghost { color: rgba(200, 220, 255, .85); text-shadow: 0 0 8px #fff; animation: fxghost 3s ease-in-out infinite; } @keyframes fxghost { 50% { opacity: .35; transform: translateY(-3px); } }
.fx-sparkle { position: relative; font-weight: 800; color: #ffd84d; text-shadow: 0 0 6px #fff3a0; } .fx-sparkle::before, .fx-sparkle::after { content: "✦"; position: absolute; font-size: .6em; color: #fff; animation: fxtw 1.4s ease-in-out infinite; } .fx-sparkle::before { left: -.6em; top: -.2em; } .fx-sparkle::after { right: -.6em; bottom: -.1em; animation-delay: .7s; }
@keyframes fxtw { 50% { opacity: .1; transform: scale(.5) rotate(45deg); } }
.fx-love::before { content: "💕 "; animation: fxbeat 1s ease-in-out infinite; display: inline-block; } .fx-love { color: #ff4f8b; font-weight: 800; }
.fx-stars::before, .fx-stars::after { content: "⭐"; display: inline-block; animation: fxspin 3s linear infinite; font-size: .8em; } .fx-stars { color: #ffd84d; font-weight: 800; }
.fx-heartbeat { display: inline-block; animation: fxbeat 1s ease-in-out infinite; } @keyframes fxbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }
.fx-float { display: inline-block; animation: fxfloat 2.4s ease-in-out infinite; } @keyframes fxfloat { 50% { transform: translateY(-5px); } }
.fx-jelly { display: inline-block; animation: fxjelly 1.6s ease-in-out infinite; } @keyframes fxjelly { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(1.2, .85); } 50% { transform: scale(.88, 1.12); } 70% { transform: scale(1.06, .95); } }
.fx-swing { display: inline-block; transform-origin: top center; animation: fxswing 2s ease-in-out infinite; } @keyframes fxswing { 25% { transform: rotate(8deg); } 75% { transform: rotate(-8deg); } }
.fx-tada { display: inline-block; animation: fxtada 2s ease-in-out infinite; } @keyframes fxtada { 0%, 60%, 100% { transform: none; } 10%, 20% { transform: scale(.9) rotate(-3deg); } 30%, 50% { transform: scale(1.1) rotate(3deg); } 40% { transform: scale(1.1) rotate(-3deg); } }
.fx-zoom { display: inline-block; animation: fxzoom 2s ease-in-out infinite; } @keyframes fxzoom { 50% { transform: scale(1.3); } }
.fx-flip { display: inline-block; animation: fxflip 3s ease-in-out infinite; } @keyframes fxflip { 50% { transform: rotateY(180deg); } }
.fx-glitch { position: relative; display: inline-block; font-weight: 900; color: #fff; } .fx-glitch::before, .fx-glitch::after { content: attr(data-t); position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; }
.fx-glitch::before { color: #0ff; animation: fxglitch 1.5s infinite steps(2); clip-path: inset(0 0 55% 0); transform: translateX(-2px); } .fx-glitch::after { color: #f0f; animation: fxglitch 1.2s infinite steps(2) reverse; clip-path: inset(45% 0 0 0); transform: translateX(2px); }
@keyframes fxglitch { 0% { transform: translateX(-2px); } 50% { transform: translateX(2px); } 100% { transform: translateX(-1px); } }
@keyframes fxspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { [class*="fx-"] { animation: none !important; } }
/* Reaktionen */
.rbar { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 4px; }
.rchip, .radd { display: inline-flex; align-items: center; gap: 3px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 1px 8px; font-size: 13px; cursor: pointer; line-height: 1.6; }
.rchip b { font-size: 11px; } .rchip.me { border-color: var(--p); background: color-mix(in srgb, var(--p) 16%, var(--surface)); }
.radd { opacity: .55; } .radd small { font-size: 10px; font-weight: 800; } .radd:hover, .rchip:hover { opacity: 1; transform: translateY(-1px); }
.rbar.compact .rchip, .rbar.compact .radd { font-size: 11.5px; padding: 0 6px; } .chat-line .rbar.compact { margin-left: 6px; } .chat-line:not(:hover) .rbar.compact .radd { visibility: hidden; }
.rpop { position: absolute; z-index: 1300; display: flex; gap: 2px; padding: 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: tipf .12s ease; }
.rpop button { border: 0; background: none; font-size: 22px; cursor: pointer; padding: 2px 4px; border-radius: 8px; transition: transform .12s; } .rpop button:hover { transform: scale(1.3) translateY(-2px); }
.preact { padding: 0 14px 8px; } .gbreact { margin-top: 4px; }
.edprev { margin-top: 6px; padding: 8px 10px; border: 1px dashed var(--line); border-radius: 10px; background: var(--p-soft-2); }
/* Chaträume */
.roomlist { display: grid; gap: 8px; }
.roomcard { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 2px 0 var(--line); }
.roomcard .body small { display: block; } .roomcard.own { border-color: color-mix(in srgb, var(--s) 50%, var(--line)); }
.rmic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, var(--p-soft), var(--s-soft)); }
.rmact { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; } .roomtimer { color: var(--s-text); font-weight: 600; }
.roomnew { margin-top: 14px; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, var(--p-soft), var(--s-soft)); } .roomnew .flex { flex-wrap: nowrap; } .roomnew input { flex: 1; }
.roominfo { margin: 0 0 6px; }
@media (max-width: 560px) { .roomcard { grid-template-columns: 36px minmax(0, 1fr); } .rmact { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; } }
/* Gäste: nur Willkommen/Anmelden/Registrieren */
body.guest .menubar nav, body.guest #col-left, body.guest #col-right, body.guest #col-top, body.guest #ticker, body.guest .tickerbar { display: none !important; }
body.guest .cols { grid-template-columns: minmax(0, 1fr) !important; max-width: 760px; margin-left: auto; margin-right: auto; }
.welcome { text-align: center; padding: 34px 20px; border-radius: 22px; background: linear-gradient(135deg, var(--p-soft), var(--s-soft)); border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.welcome .wlogo { font: 900 44px var(--font); background: linear-gradient(90deg, var(--p), var(--s)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.welcome h1 { margin: 6px 0; font-size: 24px; } .welcome p { max-width: 520px; margin: 8px auto; }
.welcome .wbtns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0; } .btn.big { padding: 12px 22px; font-size: 16px; }
.wfeat { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; } .wfeat li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 13px; }
/* Profil bearbeiten: Reiter in einer Reihe, gleichmäßig */
#main .tabs { display: flex; flex-wrap: wrap; gap: 4px; }
#main .tabs a { flex: 1 1 auto; text-align: center; white-space: nowrap; }
/* v1.0.9 echte Marken-Logos */
.slogo { display: inline-flex; width: 22px; height: 22px; flex: none; font-style: normal; vertical-align: middle; }
.slogo svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.soc2 { display: inline-flex; padding: 3px; border-radius: 9px; transition: transform .2s cubic-bezier(.3,1.6,.5,1); }
.soc2 .slogo { width: 28px; height: 28px; }
.soc2:hover { transform: translateY(-2px) scale(1.12); }
.socgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 12px 0; }
.soccard { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: text; transition: border-color .15s, box-shadow .15s; }
.soccard.on, .soccard:focus-within { border-color: var(--p); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p) 15%, transparent); }
.soccard .slogo { width: 38px; height: 38px; }
.socin { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.socin b { font-size: 13px; }
.socat { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2, var(--surface)); padding-left: 8px; }
.socat em { font-style: normal; color: var(--ink-soft); font-weight: 700; }
.socat input { border: 0 !important; background: none !important; box-shadow: none !important; padding-left: 3px; min-width: 0; width: 100%; }
.socin input[type=number] { width: 100%; }
.ccchan > span { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; }
/* v1.0.9 Mein Bereich: glänzende 3D-Kacheln mit Linien-Icons */
.tiles.icons.pro { gap: 8px; }
.tiles.icons.pro .tile { position: relative; min-height: 0; aspect-ratio: 1; padding: 0; border: 0; border-radius: 14px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tc) 72%, #fff) 0%, var(--tc) 48%, color-mix(in srgb, var(--tc) 72%, #000) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -3px 0 rgba(0,0,0,.18), 0 3px 0 color-mix(in srgb, var(--tc) 55%, #000), 0 6px 14px -4px color-mix(in srgb, var(--tc) 60%, transparent);
  color: #fff; transition: transform .18s cubic-bezier(.3,1.6,.5,1), box-shadow .18s, filter .18s; }
.tiles.icons.pro .tile::before { content: ""; position: absolute; left: 6%; right: 6%; top: 3%; height: 46%; border-radius: 12px 12px 40% 40% / 12px 12px 18px 18px; background: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.04)); pointer-events: none; }
.tiles.icons.pro .tile .ic { width: 56%; height: 56%; display: grid; place-items: center; filter: drop-shadow(0 1px 1px rgba(0,0,0,.35)); }
.tiles.icons.pro .tile .ic svg { width: 100%; height: 100%; }
.tiles.icons.pro .tile .tl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tiles.icons.pro .tile:hover { transform: translateY(-2px); filter: brightness(1.08) saturate(1.1); }
.tiles.icons.pro .tile:hover .ic { transform: none; }
.tiles.icons.pro .tile:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 0 rgba(0,0,0,.2), 0 1px 0 color-mix(in srgb, var(--tc) 55%, #000); }
.tiles.icons.pro .tile .badge { position: absolute; top: 3px; right: 3px; z-index: 2; }
.tiles.icons.pro .tile.gold { outline: 2px solid #ffe08a; outline-offset: -2px; }
/* v1.0.9 Verlauf */
.histlist { display: flex; flex-direction: column; gap: 4px; max-height: 70vh; overflow: auto; }
.hday { font: 700 11px var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin: 10px 0 2px; }
.hrow { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 10px; background: var(--surface-3); font-size: 13px; }
.modal .hrow { grid-template-columns: 1fr auto; }
.hrow small { color: var(--ink-soft); white-space: nowrap; }
.hrow.k-trade { border-left: 3px solid #3ea6ff; } .hrow.k-egg { border-left: 3px solid #ffb000; } .hrow.k-coins { border-left: 3px solid #d6a500; } .hrow.k-hunt { border-left: 3px solid #22a06b; }
.histfilter { margin: 8px 0; }
/* v1.0.9 Profil: Haustier & Ei neben der Figur */
.pw-stage { display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.pw-fig { flex: 0 1 62%; min-width: 0; }
.pw-side { display: flex; flex-direction: column; gap: 6px; flex: 0 0 34%; align-items: center; justify-content: flex-end; }
.pw-buddy { width: 100%; max-width: 110px; text-align: center; animation: pwhop 3.2s ease-in-out infinite; }
.pw-buddy:nth-child(2) { animation-delay: -1.4s; }
.pw-buddy svg { width: 100%; height: auto; display: block; }
.pw-buddy.egg { max-width: 70px; }
.pw-buddy small { display: block; font-size: 10.5px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes pwhop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .pw-buddy { animation: none; } }
.demap .de-land.at, .demap .de-land.ch { opacity: .82; }
.demap .de-lbl { font: 800 11px var(--font); letter-spacing: .14em; fill: #fff; opacity: .55; pointer-events: none; }
/* v1.0.9 Eier-Chancen */
.odds { display: flex; flex-direction: column; gap: 3px; width: 100%; margin: 4px 0; }
.odds .odd { position: relative; display: block; height: 16px; border-radius: 6px; background: color-mix(in srgb, var(--oc) 14%, transparent); overflow: hidden; font-style: normal; }
.odds .odd b { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--oc) 55%, transparent); border-radius: 6px; }
.odds .odd span { position: relative; display: block; padding: 0 6px; font: 600 10.5px/16px var(--font); color: var(--ink); white-space: nowrap; text-align: left; }
.eggbuy.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.eggbuy.types .eggcard { position: relative; }
.stocktag { position: absolute; top: 8px; right: 8px; font: 700 10px var(--font); background: #e5484d; color: #fff; padding: 2px 7px; border-radius: 999px; z-index: 2; }
.eggcard .speedbtn { margin-top: 6px; }
.cbtext .odds { max-width: 260px; margin: 8px auto; }
.rarline { font-weight: 700; font-size: 11px; }
.evtag.gold { background: linear-gradient(90deg, #e2a400, #ffd970); color: #3a2a00; }
/* Schlüpf-Animation */
.hatchov { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: rgba(10, 8, 20, .72); backdrop-filter: blur(4px); animation: fadein .3s; }
.hatchbox { width: min(340px, 92vw); text-align: center; background: var(--surface); border-radius: 22px; padding: 22px 18px 18px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.hstage { position: relative; height: 200px; }
.hegg, .hpet { position: absolute; left: 50%; top: 50%; width: 150px; transform: translate(-50%, -50%); }
.hegg svg, .hpet svg { width: 100%; height: auto; display: block; }
.hegg { animation: hwob .5s ease-in-out infinite; }
.hatchov.crack .hegg { animation: hwob .18s ease-in-out infinite; filter: brightness(1.15); }
.hatchov.open .hegg { animation: hpop .5s forwards; }
.hpet { opacity: 0; transform: translate(-50%, -40%) scale(.3); }
.hatchov.open .hpet { animation: hpet .7s .25s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.hcrack { position: absolute; left: 50%; top: 50%; width: 80px; height: 2px; transform: translate(-50%, -10px); opacity: 0; background: repeating-linear-gradient(90deg, #3a2a3a 0 6px, transparent 6px 10px); }
.hatchov.crack .hcrack { opacity: .7; }
.hburst i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: hsl(calc(var(--d) * 120 + 40) 95% 60%); opacity: 0; }
.hatchov.open .hburst i { animation: hburst .9s ease-out forwards; }
.htxt { margin: 10px 0 2px; font-weight: 700; } .hatchov.open .htxt { display: none; }
.hres { opacity: 0; margin: 10px 0; font-size: 18px; } .hatchov.open .hres { animation: fadein .4s .6s forwards; }
.hok { opacity: 0; pointer-events: none; } .hatchov.open .hok { animation: fadein .3s .9s forwards; pointer-events: auto; }
.hatchbox.r-legend { box-shadow: 0 0 0 3px #e2a400, 0 0 40px #ffd970, 0 20px 60px rgba(0,0,0,.5); }
.hatchbox.r-epic { box-shadow: 0 0 0 3px #8a3ffc, 0 0 30px #b98cff, 0 20px 60px rgba(0,0,0,.5); }
@keyframes hwob { 0%, 100% { transform: translate(-50%, -50%) rotate(-6deg); } 50% { transform: translate(-50%, -50%) rotate(6deg); } }
@keyframes hpop { to { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }
@keyframes hpet { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes hburst { 0% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--a)) translateX(0); } 100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--a)) translateX(120px); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hegg, .hatchov.crack .hegg { animation: none; } }
/* Tausch, Färben */
.tradebox { border: 1px solid var(--line); border-radius: 14px; padding: 10px; margin: 0 0 12px; background: color-mix(in srgb, #3ea6ff 7%, var(--surface)); }
.traderow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 13px; }
.traderow:first-of-type { border-top: 0; }
.tpet { display: inline-flex; flex-direction: column; align-items: center; width: 64px; }
.tpet svg { width: 56px; height: 56px; } .tpet.none { font-size: 30px; }
.tpet small { font-size: 10.5px; max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tarrow { font-size: 20px; color: var(--p); }
.tact { margin-left: auto; display: flex; gap: 6px; }
.wr-item.tw { display: inline-flex; flex-direction: column; align-items: center; cursor: pointer; }
.wr-item.tw input { position: absolute; opacity: 0; } .wr-item.tw:has(input:checked) { outline: 2px solid var(--p); }
.wr-item.tw svg { width: 54px; height: 54px; }
.dyepick { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: start; }
.dyepick .wr-item.on { outline: 3px solid var(--p); }
@media (max-width: 520px) { .dyepick { grid-template-columns: 1fr; } }
/* Admin: Vorlagen, Länder, Rollen, Ei-Designer */
.stylelist { display: flex; flex-direction: column; gap: 5px; }
.stylerow { display: grid; grid-template-columns: 18px 36px 1fr 150px auto auto; gap: 8px; align-items: center; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.stylerow.off { opacity: .5; } .stylerow .grip { cursor: grab; color: var(--ink-soft); }
.stylerow .sw { width: 36px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 16px; }
@media (max-width: 640px) { .stylerow { grid-template-columns: 18px 36px 1fr auto; } .stylerow select, .stylerow .check { grid-column: 3 / -1; } }
.countrygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 5px; max-height: 60vh; overflow: auto; }
.cchip { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 9px; font-size: 12.5px; cursor: pointer; }
.cchip .flag { width: 24px; height: 16px; border-radius: 2px; flex: none; }
.cchip:has(input:checked) { border-color: var(--p); background: color-mix(in srgb, var(--p) 8%, var(--surface)); }
.rolelist { display: grid; gap: 10px; }
.rolecard { border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: var(--surface); }
.rolehead { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .rolehead code { font-size: 11px; color: var(--ink-soft); } .rolehead button { margin-left: auto; }
.shopart.egg { display: grid; place-items: center; } .shopart.egg svg { width: 80%; height: auto; }
.shopart.egg.big { width: 160px; height: 170px; margin-bottom: 8px; }
.oddsin { flex-wrap: wrap; } .oddsin label { display: flex; flex-direction: column; font-size: 11px; font-weight: 700; } .oddsin input { width: 80px; }
#oSum.ok { color: #22a06b; } #oSum.bad { color: #e5484d; }
.oddsline i { font-style: normal; font-size: 10.5px; margin-right: 4px; white-space: nowrap; }
.featsel, .spsel { max-height: 180px; overflow: auto; }
.pneed { position: absolute; right: -4px; top: -4px; font-size: 11px; font-style: normal; filter: drop-shadow(0 1px 1px rgba(0,0,0,.4)); }
.presets button { position: relative; }
.huntday { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, #22a06b 9%, var(--surface)); font-size: 12.5px; color: var(--ink-soft); }
.huntday .hcount { flex: none; font: 800 14px var(--font); color: var(--ink); }
:root[data-mode="dark"] .eggcard.ev { background: linear-gradient(180deg, #3a3018, #2a1f33); }
:root[data-mode="dark"] .eggcard.ev b, :root[data-mode="dark"] .eggcard.ev small { color: #ffe9b0; }
.presets button { overflow: visible !important; }
/* v1.0.9b Mein Bereich: Neon-Kacheln (Linien-Icons, Glow, Mouseover) */
.tiles.icons.neo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.ntile { --nc: #5fe3f0; --tbg: #0f1d2c; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; aspect-ratio: 1 / 1.02; min-width: 0;
  padding: 6px 2px 5px; border-radius: 12px; text-decoration: none; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 0%, #1b3045 0%, #0f1d2c 60%, #0b1520 100%);
  border: 1px solid color-mix(in srgb, var(--nc) 38%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 0 12px color-mix(in srgb, var(--nc) 10%, transparent), 0 2px 6px rgba(0, 0, 0, .35);
  transition: transform .22s cubic-bezier(.3, 1.5, .5, 1), border-color .2s, box-shadow .25s, background .25s; }
.ntile.acc { --tbg: color-mix(in srgb, var(--nc) 16%, #121c28); background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--nc) 26%, #1b2a3a) 0%, color-mix(in srgb, var(--nc) 14%, #121c28) 60%, color-mix(in srgb, var(--nc) 8%, #0c141e) 100%);
  border-color: color-mix(in srgb, var(--nc) 55%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 16px color-mix(in srgb, var(--nc) 22%, transparent), 0 0 10px color-mix(in srgb, var(--nc) 25%, transparent); }
.ntile .ic { width: 58%; aspect-ratio: 1; color: var(--nc); filter: drop-shadow(0 0 2px color-mix(in srgb, var(--nc) 85%, transparent)) drop-shadow(0 0 6px color-mix(in srgb, var(--nc) 45%, transparent));
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), filter .25s, color .2s; }
.ntile .ic svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ntile .tl { max-width: 100%; padding: 0 2px; font: 600 9.5px/1.15 var(--font); color: #e8f4fb; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); transition: color .2s, text-shadow .2s; }
/* Glanz-Streifen, der beim Überfahren durchläuft */
.ntile::before { content: ""; position: absolute; inset: -40% auto -40% -60%; width: 45%; z-index: -1; transform: skewX(-20deg); opacity: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--nc) 30%, transparent), transparent); }
/* Leuchtender Boden-Schein */
.ntile::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--nc); opacity: 0; box-shadow: 0 0 10px var(--nc), 0 0 18px var(--nc); transition: opacity .25s, left .3s, right .3s; }
.ntile:hover, .ntile:focus-visible { transform: translateY(-3px) scale(1.04); border-color: var(--nc); outline: none;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--nc) 22%, #1b3045) 0%, #12233a 60%, #0d1826 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 18px color-mix(in srgb, var(--nc) 28%, transparent), 0 0 0 1px color-mix(in srgb, var(--nc) 40%, transparent), 0 6px 18px color-mix(in srgb, var(--nc) 35%, transparent); }
.ntile:hover .ic, .ntile:focus-visible .ic { transform: translateY(-1px) scale(1.12); color: color-mix(in srgb, var(--nc) 55%, #fff);
  filter: drop-shadow(0 0 3px var(--nc)) drop-shadow(0 0 10px var(--nc)); animation: ntglow 1.6s ease-in-out .3s infinite; }
.ntile:hover .tl, .ntile:focus-visible .tl { color: #fff; text-shadow: 0 0 8px var(--nc); }
.ntile:hover::before { animation: ntshine .7s ease-out; }
.ntile:hover::after, .ntile:focus-visible::after { opacity: 1; left: 8%; right: 8%; }
.ntile:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.ntile .badge { position: absolute; top: 3px; right: 3px; z-index: 2; }
@keyframes ntshine { 0% { left: -60%; opacity: 1; } 100% { left: 120%; opacity: 1; } }
@keyframes ntglow { 0%, 100% { filter: drop-shadow(0 0 3px var(--nc)) drop-shadow(0 0 10px var(--nc)); } 50% { filter: drop-shadow(0 0 2px var(--nc)) drop-shadow(0 0 5px var(--nc)); } }
@media (prefers-reduced-motion: reduce) { .ntile, .ntile .ic { transition: none; } .ntile:hover .ic { animation: none; } .ntile:hover::before { animation: none; } }
.tiles.icons.neo { margin: 0 -3px; gap: 6px; }
.ntile { padding: 6px 1px 5px; }
.ntile .tl { text-overflow: clip; letter-spacing: -.01em; }

/* Smartphone: „Mehr“-Menü mit denselben Neon-Kacheln, große Tippflächen */
.ntile { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@media (max-width: 860px) {
  .drawer .tiles.icons.neo.dgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 0; }
  .drawer .ntile { min-height: 72px; border-radius: 15px; gap: 5px; }
  .drawer .ntile .ic { width: 50%; }
  .drawer .ntile .tl { font-size: 11px; }
  .tiles.icons.neo { gap: 8px; }
}
@media (max-width: 360px) { .drawer .tiles.icons.neo.dgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (hover: none) { .ntile:hover { transform: none; } .ntile:hover::before { animation: none; } .ntile:active { transform: scale(.95); border-color: var(--nc); box-shadow: 0 0 14px color-mix(in srgb, var(--nc) 45%, transparent); } .ntile:active .ic { transform: scale(1.1); } }
/* Admin: Mein Bereich anordnen */
.mblay { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; align-items: start; }
.mbside { position: sticky; top: 12px; padding: 12px; border-radius: 16px; background: #0b1520; color: #e8f4fb; }
.mbprev { margin-top: 8px; }
.mblist { display: flex; flex-direction: column; gap: 6px; }
.mbrow { display: grid; grid-template-columns: 40px minmax(70px, 1fr) auto auto auto; gap: 8px; align-items: center; padding: 6px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.mbrow.off { opacity: .5; }
.mbrow b { font-size: 13px; cursor: grab; }
.mbmini { width: 40px; height: 40px; display: grid; place-items: center; padding: 7px; border-radius: 10px; color: var(--nc); background: #0f1d2c; border: 1px solid color-mix(in srgb, var(--nc) 50%, transparent); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--nc) 40%, transparent)); cursor: grab; }
.mbmini svg { width: 100%; height: 100%; }
.mbcols { display: flex; flex-wrap: wrap; gap: 5px; max-width: 220px; }
.mbcols .sw { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--surface); background: var(--c); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; position: relative; }
.mbcols .sw.on { box-shadow: 0 0 0 2px var(--ink); }
.mbcols .sw.custom { background: conic-gradient(#ff5c7a, #ffd166, #4ade80, #5fe3f0, #5aa9ff, #b18cff, #ff7ad9, #ff5c7a); overflow: hidden; }
.mbcols .sw.custom input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.mbmv { display: flex; gap: 4px; }
.mvb { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-3); color: var(--ink); font-size: 14px; cursor: pointer; }
.mvb:disabled { opacity: .3; cursor: default; }
@media (max-width: 960px) { .mblay { grid-template-columns: minmax(0, 1fr); } .mbside { position: static; order: -1; } .mbprev { max-width: 360px; } }
@media (max-width: 600px) {
  .mbrow { grid-template-columns: 40px 1fr auto; grid-template-areas: "i n m" "c c c" "v v v"; row-gap: 8px; }
  .mbrow .mbmini { grid-area: i; } .mbrow b { grid-area: n; } .mbrow .mbmv { grid-area: m; } .mbrow .mbcols { grid-area: c; max-width: none; } .mbrow .mbvis { grid-area: v; }
  .mbcols .sw { width: 32px; height: 32px; } .mvb { width: 44px; height: 44px; }
}
/* Adminpanel auf dem Smartphone */
.adm-pick { display: none; }
@media (max-width: 860px) {
  .adm-layout { grid-template-columns: minmax(0, 1fr) !important; gap: 12px; }
  .adm-nav { display: none !important; }
  .adm-pick { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(54px + env(safe-area-inset-top, 0px)); z-index: 20; padding: 8px; margin: -4px -4px 0; border-radius: 14px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .adm-pick span { font: 700 11px var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
  .adm-pick select { min-height: 46px; font: 600 16px var(--font); border-radius: 12px; padding: 0 12px; }
  #adm .formtable { grid-template-columns: minmax(0, 1fr) !important; }
  #adm .formtable > .lbl { margin-top: 6px; font-weight: 700; }
  #adm .tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  #adm .table { min-width: 560px; }
  #adm .ibtn.sm, #adm .iconbar .ibtn { min-width: 40px; min-height: 40px; }
  #adm .flex { flex-wrap: wrap; }
  #adm input[type=text], #adm input[type=number], #adm input[type=search], #adm select, #adm textarea { font-size: 16px; } /* iPhone zoomt sonst beim Tippen */
  .stylerow { grid-template-columns: 18px 36px 1fr auto; } .stylerow select, .stylerow .check { grid-column: 3 / -1; }
}
/* Allgemein Smartphone: Eingaben ohne Zoom, Tippflächen */
@media (max-width: 860px) {
  input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=date], input[type=datetime-local], select, textarea { font-size: 16px; }
  .btn, button.btn, a.btn { min-height: 40px; }
  .tabbar a { min-height: 48px; justify-content: center; }
  .modal { max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 380px) {
  .appbar { gap: 6px; padding-left: 10px; padding-right: 10px; }
  .appbar .brand { font-size: 0; gap: 0; }
  .appbar .brand img { width: 32px; height: 32px; }
  .appbar a.cash { white-space: nowrap; padding: 6px 8px; }
}
.appbar a.cash { white-space: nowrap; }
/* Admin-Tabellen auf dem Smartphone als Karten */
@media (max-width: 640px) {
  #adm .table { min-width: 0 !important; border: 0; }
  #adm .table thead { display: none; }
  #adm .table, #adm .table tbody, #adm .table tr, #adm .table td { display: block; width: 100%; }
  #adm .table tr { margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
  #adm .table td { padding: 4px 0 !important; border: 0 !important; min-width: 0 !important; text-align: left !important; }
  #adm .table td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font: 700 10.5px var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 2px; }
  #adm .table td:empty { display: none; }
  #adm .table td select, #adm .table td input:not([type=checkbox]) { width: 100%; }
  #adm .table .iconbar { flex-wrap: wrap !important; gap: 8px !important; }
  #adm .tablewrap { overflow: visible; }
}
@media (max-width: 400px) { #main .btn { white-space: normal; height: auto; line-height: 1.25; padding-top: 8px; padding-bottom: 8px; text-align: center; } }
