/* =====================================================================
   Norynex · Shop, Bezahlen, Aufgaben, Kosmetik
   Flaches Design: klare Flächen, 1px-Linien, eine Akzentfarbe.
   ===================================================================== */

/* ---------- Modal-Grundgerüst (Bottom-Sheet auf dem Handy) ---------- */
body.nxm-open { overflow: hidden; }
.nxm-overlay { position: fixed; inset: 0; z-index: 10020; background: rgba(6, 6, 10, 0.62); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .18s ease; }
.nxm-overlay.is-open { opacity: 1; }
.nxm { width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--bg-card); border: 1px solid var(--ax-line-strong); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,0.5); transform: translateY(8px); transition: transform .2s ease; overscroll-behavior: contain; }
.nxm--wide { max-width: 640px; }
.nxm-overlay.is-open .nxm { transform: none; }
.nxm-head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid var(--ax-line); }
.nxm-head-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-size: 16px; flex-shrink: 0; }
.nxm-head-text { flex: 1; min-width: 0; }
.nxm-head-text h3 { margin: 0; font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; color: var(--text-primary); }
.nxm-head-text p { margin: 2px 0 0; font-size: 12.5px; color: var(--ax-text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nxm-x { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--text-secondary); flex-shrink: 0; }
.nxm-x:hover { background: var(--ax-surface-2); color: var(--text-primary); }
.nxm-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 560px) {
  .nxm-overlay { align-items: flex-end; padding: 0; }
  .nxm { max-width: none; border-radius: 18px 18px 0 0; max-height: 92vh; transform: translateY(24px); padding-bottom: env(safe-area-inset-bottom); }
}

/* ---------- Buttons ---------- */
.co-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border-radius: 11px; font-size: 14px; font-weight: 700; border: 1px solid transparent; transition: background .15s, border-color .15s, opacity .15s; white-space: nowrap; min-height: 44px; }
.co-btn:disabled { opacity: .45; cursor: not-allowed; }
.co-btn--primary { background: var(--accent); color: #fff; }
.co-btn--primary:hover:not(:disabled) { background: var(--accent-hover); }
.co-btn--sec { background: var(--ax-surface-2); border-color: var(--ax-line-strong); color: var(--text-primary); }
.co-btn--sec:hover:not(:disabled) { border-color: var(--text-muted); }
.co-btn--block { width: 100%; }
.co-btn--sm { padding: 7px 12px; font-size: 12.5px; min-height: 34px; border-radius: 9px; }

/* ---------- Bezahlfenster ---------- */
.co-total { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--ax-surface-2); border: 1px solid var(--ax-line); }
.co-total span { font-size: 13px; color: var(--text-secondary); font-weight: 600; }
.co-total b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.co-note { font-size: 12.5px; color: #22c55e; margin-top: -4px; }
.co-note:empty { display: none; }
.co-err { color: #f87171; }
.co-code { border: 1px solid var(--ax-line); border-radius: 12px; }
.co-code summary { list-style: none; cursor: pointer; padding: 12px 14px; font-size: 13.5px; font-weight: 700; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.co-code summary::-webkit-details-marker { display: none; }
.co-code .co-chev { margin-left: auto; font-size: 11px; transition: transform .2s; }
.co-code[open] .co-chev { transform: rotate(180deg); }
.co-code-row { display: flex; gap: 8px; padding: 0 14px 12px; }
.tp-redeem .co-code-row { padding: 0; }
.co-code-row input, .tp-custom-row input { flex: 1; min-width: 0; background: var(--bg-secondary); border: 1px solid var(--ax-line-strong); border-radius: 10px; padding: 10px 12px; color: var(--text-primary); font-size: 14px; font-family: var(--ax-mono); letter-spacing: .06em; min-height: 44px; }
.co-code-row input:focus, .tp-custom-row input:focus { border-color: var(--accent); outline: none; }
.co-msg { font-size: 12.5px; padding: 0 14px 12px; }
.co-msg:empty { display: none; }
.co-msg.is-ok { color: #22c55e; }
.co-msg.is-err { color: #f87171; }
.co-methods { display: flex; flex-direction: column; gap: 8px; }
.co-paypal { min-height: 46px; }
.co-loading { height: 46px; display: grid; place-items: center; color: var(--ax-text-dim); }
.co-unavail { padding: 12px 14px; border-radius: 11px; border: 1px dashed var(--ax-line-strong); color: var(--ax-text-dim); font-size: 13px; display: flex; gap: 8px; align-items: center; }
.co-more { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--ax-line-strong); color: var(--text-primary); font-size: 14px; font-weight: 700; min-height: 46px; }
.co-more:hover { border-color: var(--text-muted); }
.co-more i { font-size: 12px; transition: transform .2s; color: var(--ax-text-dim); }
.co-more.is-open i { transform: rotate(180deg); }
.co-more-list { display: flex; flex-direction: column; gap: 8px; }
.co-more-list[hidden] { display: none; }
.co-method { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--ax-line); background: var(--ax-surface-2); text-align: left; min-height: 56px; transition: border-color .15s; }
.co-method:hover:not(:disabled) { border-color: var(--ax-line-strong); }
.co-method:disabled { opacity: .5; cursor: not-allowed; }
.co-method > i { color: var(--ax-text-dim); font-size: 12px; }
.co-method-logo { width: 64px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 800; flex-shrink: 0; letter-spacing: -.01em; }
.co-psc { background: #008ac9; color: #fff; font-size: 10px; }
.co-bal { background: var(--accent-soft); color: var(--accent-text); font-size: 15px; }
.co-klarna { background: #ffb3c7; color: #17120f; font-size: 12px; }
.co-method-main { flex: 1; min-width: 0; }
.co-method-main b { display: block; font-size: 14px; color: var(--text-primary); }
.co-method-main small { display: block; font-size: 12px; color: var(--ax-text-dim); }
.co-legal { margin: 2px 0 0; font-size: 11.5px; color: var(--ax-text-dim); text-align: center; }
.co-legal a { color: var(--accent-text); }

/* ---------- Guthaben aufladen ---------- */
.tp-packs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tp-pack { padding: 14px 0; border-radius: 11px; border: 1.5px solid var(--ax-line); background: var(--ax-surface-2); color: var(--text-primary); font-size: 15px; transition: border-color .15s, background .15s; min-height: 48px; }
.tp-pack:hover { border-color: var(--ax-line-strong); }
.tp-pack.is-selected { border-color: var(--accent); background: var(--accent-soft); }
.tp-custom { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--text-secondary); font-weight: 600; }
.tp-custom small { color: var(--ax-text-dim); font-weight: 500; }
.tp-custom-row { display: flex; align-items: center; gap: 8px; }
.tp-custom-row input { font-family: inherit; font-size: 16px; letter-spacing: 0; }
.tp-custom-row em { font-style: normal; color: var(--text-secondary); font-weight: 700; }
.tp-redeem { border-top: 1px solid var(--ax-line); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--text-secondary); font-weight: 600; }
@media (max-width: 420px) { .tp-packs { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Shop-Seite ---------- */
.sh { max-width: 1180px; margin: 0 auto; padding-bottom: 48px; }
.sh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.sh-head h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary); }
.sh-head p { margin: 4px 0 0; color: var(--text-secondary); font-size: 14px; }
.sh-wallet { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sh-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 11px; border: 1px solid var(--ax-line-strong); background: var(--bg-card); color: var(--text-primary); font-size: 14px; min-height: 44px; }
.sh-chip i { color: var(--ax-text-dim); }
.sh-chip b { font-variant-numeric: tabular-nums; }
.sh-tabs { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--ax-line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.sh-tabs::-webkit-scrollbar { display: none; }
.sh-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 14px; font-weight: 700; color: var(--ax-text-dim); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.sh-tabs button:hover { color: var(--text-primary); }
.sh-tabs button.is-active { color: var(--text-primary); border-bottom-color: var(--accent); }
.sh-timer { margin-left: auto; font-size: 12.5px; color: var(--ax-text-dim); white-space: nowrap; padding-left: 12px; }
.sh-timer b { color: var(--text-primary); font-variant-numeric: tabular-nums; }
.sh-sec { margin-bottom: 30px; }
.sh-sec h2 { margin: 0 0 12px; font-size: 18px; font-weight: 800; letter-spacing: -0.015em; color: var(--text-primary); display: flex; align-items: center; gap: 10px; }
.sh-tag { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: rgba(34,197,94,0.14); color: #4ade80; }
[data-theme="light"] .sh-tag { color: #15803d; }
.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.sh-grid--lg { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.sh-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.sh-filter button { padding: 8px 13px; border-radius: 99px; border: 1px solid var(--ax-line-strong); font-size: 13px; font-weight: 700; color: var(--text-secondary); min-height: 36px; }
.sh-filter button.is-active { background: var(--text-primary); color: var(--bg-primary); border-color: var(--text-primary); }
.sh-topup-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--ax-line); background: var(--bg-card); }
.sh-topup-strip b { display: block; font-size: 15px; color: var(--text-primary); }
.sh-topup-strip span { font-size: 13px; color: var(--ax-text-dim); }
.sh-packs { display: flex; gap: 6px; flex-wrap: wrap; }
.sh-packs button { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--ax-line-strong); background: var(--ax-surface-2); font-weight: 800; font-size: 14px; color: var(--text-primary); min-height: 42px; }
.sh-packs button:hover { border-color: var(--accent); }
.sh-packs--wrap { margin: 14px 0 10px; }
.sh-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 56px 20px; text-align: center; border: 1px dashed var(--ax-line-strong); border-radius: 16px; color: var(--ax-text-dim); }
.sh-empty i { font-size: 30px; opacity: .6; }
.sh-empty b { color: var(--text-primary); font-size: 16px; }
.sh-empty .co-btn { margin-top: 8px; }
.sh-empty--sm { padding: 24px; border: none; }
.sh-unequip { font-size: 12px; font-weight: 700; color: var(--ax-text-dim); padding: 4px 8px; border-radius: 7px; border: 1px solid var(--ax-line); }
.sh-wallet-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; }
.sh-card { padding: 18px; border-radius: 16px; border: 1px solid var(--ax-line); background: var(--bg-card); }
.sh-card > small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ax-text-dim); }
.sh-balance { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary); margin-top: 4px; font-variant-numeric: tabular-nums; }
.sh-fine { font-size: 12px; color: var(--ax-text-dim); line-height: 1.55; margin: 12px 0 0; }
.sh-tx { margin-top: 8px; }
.sh-tx-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ax-line); }
.sh-tx-row:last-child { border-bottom: none; }
.sh-tx-row > i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--ax-surface-2); color: var(--ax-text-dim); font-size: 12px; flex-shrink: 0; }
.sh-tx-row > i.is-in { color: #22c55e; background: rgba(34,197,94,0.1); }
.sh-tx-row div { flex: 1; min-width: 0; }
.sh-tx-row b { display: block; font-size: 13.5px; color: var(--text-primary); }
.sh-tx-row span { font-size: 11.5px; color: var(--ax-text-dim); }
.sh-tx-row em { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.sh-tx-row em.is-in { color: #22c55e; }
@media (max-width: 760px) {
  .sh-head h1 { font-size: 24px; }
  .sh-wallet-grid { grid-template-columns: minmax(0, 1fr); }
  .sh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sh-grid--lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-timer { display: none; }
}

/* ---------- Artikel-Karten ---------- */
.si { display: flex; flex-direction: column; text-align: left; border-radius: 14px; overflow: hidden; background: var(--bg-card); border: 1px solid var(--ax-line); transition: border-color .15s, transform .15s; min-width: 0; }
button.si:hover { border-color: var(--rc); transform: translateY(-2px); }
.si-top { position: relative; height: 128px; display: grid; place-items: center; background: color-mix(in srgb, var(--rc) 16%, var(--bg-secondary)); border-bottom: 2px solid var(--rc); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 10px, transparent 10px 20px); }
.si--lg .si-top { height: 190px; }
.si-sale { position: absolute; top: 8px; left: 8px; padding: 3px 7px; border-radius: 6px; background: #22c55e; color: #03140a; font-size: 11px; font-weight: 800; }
.si-sale--inline { position: static; margin-left: 6px; }
.si-info { padding: 11px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.si-name { font-size: 14.5px; font-weight: 800; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.si--lg .si-name { font-size: 17px; }
.si-meta { display: flex; gap: 5px; align-items: center; font-size: 11.5px; color: var(--ax-text-dim); flex-wrap: wrap; }
.si-rar { color: var(--rc); font-weight: 800; }
.si-bottom { margin-top: auto; padding-top: 6px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.si-price { font-size: 15px; font-weight: 800; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.si-price s { font-size: 12px; color: var(--ax-text-dim); margin-right: 5px; font-weight: 600; }
.si-xp { font-size: 11.5px; color: var(--ax-text-dim); font-weight: 600; }
.si-owned { font-size: 12.5px; font-weight: 800; color: #22c55e; display: inline-flex; gap: 5px; align-items: center; }
.si-owned--block { justify-content: center; padding: 12px; border-radius: 11px; background: rgba(34,197,94,0.1); }
.si-hint { font-size: 11.5px; color: var(--ax-text-dim); }
.si.is-owned { opacity: .85; }
.si.is-equipped { border-color: #22c55e; }
.si-prev { display: grid; place-items: center; width: 100%; height: 100%; padding: 10px; }
.si-prev--name .nx-name { font-size: 20px; font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.si--lg .si-prev--name .nx-name { font-size: 26px; }
.si-prev--badge i { font-size: 38px; }
.si-bubble { max-width: 90%; padding: 9px 11px; border-radius: 10px; background: var(--bg-card); font-size: 12px; display: flex; flex-direction: column; gap: 2px; }
.si-bubble b { color: var(--text-primary); font-size: 12px; }
.si-bubble span { color: var(--text-secondary); }
.si-detail { position: relative; }
.si-detail-x { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(0,0,0,0.35); color: #fff; }
.si-detail-top { height: 220px; display: grid; place-items: center; background: color-mix(in srgb, var(--rc) 18%, var(--bg-secondary)); border-bottom: 2px solid var(--rc); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 12px, transparent 12px 24px); }
.si-detail-top .si-prev--name .nx-name { font-size: 30px; }
.si-detail-name { margin: 2px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); }
.si-detail-desc { margin: 0; font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }
.si-detail-note { margin: 0; font-size: 12px; color: var(--ax-text-dim); text-align: center; }

/* ---------- Namensstile ---------- */
.nx-name { font-weight: 700; position: relative; }
.nx-name.ns-gold { color: #f5b301; }
.nx-name.ns-ice { color: #7dd3fc; }
.nx-name.ns-mint { color: #34d399; }
.nx-name.ns-ruby { color: #fb4b6b; }
.nx-name.ns-neon { color: #b8ff3c; text-shadow: 0 0 6px rgba(184,255,60,0.55); }
.nx-name.ns-mono { font-family: var(--ax-mono); text-transform: uppercase; letter-spacing: .04em; color: #4ade80; }
.nx-name.ns-outline { color: transparent; -webkit-text-stroke: 1px var(--text-primary); }
.nx-name.ns-glitch { color: var(--text-primary); animation: nsGlitch 2.4s infinite steps(1); }
@keyframes nsGlitch { 0%, 88%, 100% { text-shadow: none; transform: none; } 90% { text-shadow: -2px 0 #22d3ee, 2px 0 #f43f5e; transform: translateX(1px); } 94% { text-shadow: 2px 0 #22d3ee, -2px 0 #f43f5e; transform: translateX(-1px); } }
.nx-name.ns-chroma { color: #ff5a5a; animation: nsChroma 6s linear infinite; }
@keyframes nsChroma { to { filter: hue-rotate(360deg); } }
.nx-name.ns-shine { color: #f5b301; background: linear-gradient(100deg, #f5b301 40%, #fff6cf 50%, #f5b301 60%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: nsShine 3s linear infinite; }
@keyframes nsShine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.nx-name.ns-fire { color: #ff8a00; animation: nsFire 1.4s ease-in-out infinite alternate; }
@keyframes nsFire { from { text-shadow: 0 0 3px rgba(255,90,0,.6), 0 -1px 6px rgba(255,160,0,.35); } to { text-shadow: 0 0 6px rgba(255,90,0,.85), 0 -2px 10px rgba(255,200,0,.5); } }
.nx-badge { color: var(--c); font-size: .85em; margin-left: 5px; vertical-align: 0; }

/* ---------- Sticker ---------- */
.nx-sticker { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; background: color-mix(in srgb, var(--c) 16%, transparent); border: 1.5px solid var(--c); color: var(--c); font-weight: 900; font-size: 13px; letter-spacing: .03em; line-height: 1; transform: rotate(-2deg); user-select: none; }
.nx-sticker b { font-weight: 900; }
.nx-sticker.st-icon { border-radius: 50%; width: 34px; height: 34px; padding: 0; justify-content: center; font-size: 16px; transform: none; }
.nx-sticker.st-stamp { border-style: dashed; transform: rotate(-6deg); font-size: 15px; }
.nx-sticker.is-lg { font-size: 22px; padding: 8px 14px; border-radius: 12px; border-width: 2px; }
.nx-sticker.st-icon.is-lg { width: 64px; height: 64px; font-size: 28px; }
.st-beat i { animation: stBeat 1.1s ease-in-out infinite; }
@keyframes stBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(1); } 45% { transform: scale(1.14); } }
.st-flicker i { animation: stFlick 0.9s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes stFlick { from { transform: scale(1) rotate(-3deg); } to { transform: scale(1.12) rotate(3deg); } }
.st-clap i { animation: stClap .6s ease-in-out infinite; }
@keyframes stClap { 50% { transform: scale(.85) rotate(-8deg); } }
.st-shake { animation: stShake 1.6s ease-in-out infinite; }
@keyframes stShake { 0%, 70%, 100% { transform: rotate(-2deg); } 75% { transform: rotate(3deg) translateX(1px); } 80% { transform: rotate(-4deg); } 85% { transform: rotate(3deg); } }
.st-launch i { animation: stLaunch 1.8s ease-in-out infinite; }
@keyframes stLaunch { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(2px, -3px); } }
.st-legend { background: #1a1405; animation: stGlow 2s ease-in-out infinite alternate; }
@keyframes stGlow { from { box-shadow: 0 0 0 0 rgba(245,158,11,0); } to { box-shadow: 0 0 10px 1px rgba(245,158,11,0.45); } }
.comment-sticker { margin: 6px 0 4px; }

/* ---------- Kommentar-Stile ---------- */
.comment-body.nx-bubble { padding: 10px 12px; border-radius: 12px; }
.nx-bubble.cb-slate { background: var(--ax-surface-2); border: 1px solid var(--ax-line-strong); }
.nx-bubble.cb-gold { background: rgba(245,179,1,0.07); border: 1px solid rgba(245,179,1,0.45); }
.nx-bubble.cb-ice { background: rgba(125,211,252,0.07); border: 1px solid rgba(125,211,252,0.45); }
.nx-bubble.cb-neon { background: rgba(184,255,60,0.05); border: 1px solid rgba(184,255,60,0.6); box-shadow: 0 0 10px rgba(184,255,60,0.15); }
.nx-bubble.cb-royal { background: rgba(168,59,255,0.08); border: 1px solid rgba(245,179,1,0.55); box-shadow: inset 3px 0 0 #f5b301; }

/* ---------- Kommentar-Eingabe ---------- */
.comment-compose-bar { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.comment-sticker-btn { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--text-secondary); font-size: 17px; border: 1px solid var(--ax-line); }
.comment-sticker-btn:hover { color: var(--text-primary); border-color: var(--ax-line-strong); }
.nx-sticker-chip { align-items: center; gap: 4px; }
.nx-sticker-chip button { width: 22px; height: 22px; border-radius: 6px; color: var(--ax-text-dim); font-size: 11px; }
.st-pop { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 50; width: min(320px, 86vw); background: var(--bg-card); border: 1px solid var(--ax-line-strong); border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,0.45); padding: 10px; }
.st-pop-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; color: var(--text-primary); padding: 2px 4px 8px; }
.st-pop-head button { font-size: 12px; font-weight: 700; color: var(--accent-text); }
.st-pop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.st-pop-item { position: relative; height: 56px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--ax-line); }
.st-pop-item:hover { border-color: var(--ax-line-strong); background: var(--ax-surface-2); }
.st-pop-item.is-locked .nx-sticker { opacity: .35; filter: grayscale(.6); }
.st-pop-item.is-locked > i { position: absolute; right: 5px; bottom: 5px; font-size: 10px; color: var(--ax-text-dim); }
.st-pop-note { font-size: 12px; color: var(--ax-text-dim); margin: 8px 4px 2px; }
.st-pop-load { padding: 20px; text-align: center; color: var(--ax-text-dim); }

/* ---------- Aufgaben ---------- */
.tk { max-width: 1000px; margin: 0 auto; padding-bottom: 40px; }
.tk-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; margin-bottom: 18px; }
.tk-rank { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 16px; border: 1px solid var(--ax-line); background: var(--bg-card); }
.tk-rank-ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); flex-shrink: 0; }
.tk-rank-main { flex: 1; min-width: 0; }
.tk-rank-main small { font-size: 12px; font-weight: 700; color: var(--ax-text-dim); }
.tk-rank-main h2 { margin: 0 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.tk-rank-sub { font-size: 12.5px; color: var(--ax-text-dim); margin-top: 6px; }
.tk-rank-sub b { color: var(--text-primary); }
.tk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tk-stats > div { padding: 14px 12px; border-radius: 14px; border: 1px solid var(--ax-line); background: var(--bg-card); display: flex; flex-direction: column; justify-content: center; }
.tk-stats b { font-size: 21px; font-weight: 800; color: var(--text-primary); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.tk-stats span { font-size: 11.5px; color: var(--ax-text-dim); font-weight: 600; }
.tk-shop-btn { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--accent-text); padding: 4px 0; }
.tk-bar { height: 6px; border-radius: 99px; background: var(--ax-line); overflow: hidden; }
.tk-bar i { display: block; height: 100%; border-radius: 99px; background: var(--accent); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.tk-bar--lg { height: 8px; }
.tk-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--ax-line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tk-tabs::-webkit-scrollbar { display: none; }
.tk-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 14px; font-weight: 700; color: var(--ax-text-dim); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tk-tabs button.is-active { color: var(--text-primary); border-bottom-color: var(--accent); }
.tk-tabs button em { font-style: normal; font-size: 11px; font-weight: 800; background: #22c55e; color: #03140a; border-radius: 99px; padding: 1px 7px; }
.tk-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tk-card { padding: 16px; border-radius: 16px; border: 1px solid var(--ax-line); background: var(--bg-card); }
.tk-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.tk-card-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--text-primary); }
.tk-timer { font-size: 12px; color: var(--ax-text-dim); white-space: nowrap; }
.tk-quest { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ax-line); }
.tk-quest:first-of-type { border-top: none; padding-top: 0; }
.tk-quest-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--ax-surface-2); border: 1px solid var(--ax-line); color: var(--text-secondary); font-size: 15px; flex-shrink: 0; }
.tk-quest.is-done .tk-quest-ico { color: #22c55e; border-color: rgba(34,197,94,0.4); }
.tk-quest.is-claimed { opacity: .6; }
.tk-quest.is-claimed .tk-quest-ico { color: #22c55e; }
.tk-quest-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tk-quest-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.tk-quest-top b { font-size: 14px; color: var(--text-primary); }
.tk-quest-xp { font-size: 12.5px; font-weight: 800; color: var(--accent-text); white-space: nowrap; }
.tk-quest-desc { font-size: 12.5px; color: var(--ax-text-dim); margin-bottom: 4px; }
.tk-quest.is-done .tk-bar i, .tk-quest.is-claimed .tk-bar i { background: #22c55e; }
.tk-quest-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-secondary); font-variant-numeric: tabular-nums; margin-top: 2px; min-height: 30px; }
.tk-muted { color: var(--ax-text-dim); }
.tk-claim { padding: 6px 14px; border-radius: 8px; background: #22c55e; color: #03140a; font-weight: 800; font-size: 12.5px; min-height: 32px; }
.tk-claim:hover { background: #16a34a; }
.tk-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tk-action { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--ax-line); }
.tk-action > i { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--ax-surface-2); color: var(--text-secondary); font-size: 13px; flex-shrink: 0; }
.tk-action-main { flex: 1; min-width: 0; }
.tk-action-main b { display: block; font-size: 13.5px; color: var(--text-primary); }
.tk-action-main span { font-size: 11.5px; color: var(--ax-text-dim); }
.tk-action-right { text-align: right; }
.tk-action-right b { display: block; font-size: 13.5px; color: var(--accent-text); }
.tk-action-right span { font-size: 11px; color: var(--ax-text-dim); font-variant-numeric: tabular-nums; }
.tk-action.is-full { opacity: .5; }
.tk-ranks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tk-rank-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--ax-line); background: var(--bg-card); }
.tk-rank-item .tk-rank-ico { width: 40px; height: 40px; border-radius: 11px; font-size: 16px; }
.tk-rank-item b { display: block; font-size: 14.5px; color: var(--c); }
.tk-rank-item span { font-size: 12px; color: var(--ax-text-dim); font-variant-numeric: tabular-nums; }
.tk-rank-item em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; color: var(--c); border: 1px solid var(--c); padding: 2px 7px; border-radius: 6px; }
.tk-rank-item.is-current { border-color: var(--c); }
.tk-rank-item.is-locked { opacity: .45; }
.tk-rank-item.is-locked .tk-rank-ico { color: var(--ax-text-dim); background: var(--ax-surface-2); border-color: var(--ax-line); }
.tk-board-row { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; cursor: pointer; }
.tk-board-row:hover { background: var(--ax-surface-2); }
.tk-board-row.is-me { background: var(--accent-soft); }
.tk-pos { width: 24px; text-align: center; font-weight: 800; color: var(--ax-text-dim); font-variant-numeric: tabular-nums; }
.tk-board-main { flex: 1; min-width: 0; }
.tk-board-main b { display: block; font-size: 14px; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-board-main span { font-size: 12px; }
.tk-board-xp { font-weight: 800; font-size: 13.5px; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.tk-invite { display: flex; gap: 8px; margin-bottom: 10px; }
.tk-invite input { flex: 1; min-width: 0; background: var(--bg-secondary); border: 1px solid var(--ax-line-strong); border-radius: 10px; padding: 10px 12px; color: var(--text-primary); font-family: var(--ax-mono); font-size: 13px; min-height: 44px; }
.tk-share { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tk-share a { display: inline-flex; gap: 7px; align-items: center; padding: 8px 12px; border-radius: 9px; border: 1px solid var(--ax-line-strong); color: var(--text-primary); font-size: 13px; font-weight: 700; text-decoration: none; }
.tk-invite-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.tk-invite-stats > div { padding: 12px; border-radius: 12px; background: var(--ax-surface-2); }
.tk-invite-stats b { display: block; font-size: 22px; font-weight: 800; color: var(--text-primary); }
.tk-invite-stats span { font-size: 12px; color: var(--ax-text-dim); }
.tk-xp-pop { position: fixed; right: 20px; bottom: 90px; z-index: 10030; padding: 8px 14px; border-radius: 10px; background: var(--bg-card); border: 1px solid var(--ax-line-strong); color: var(--text-primary); font-weight: 800; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); pointer-events: none; animation: tkPop 1.7s ease forwards; }
.tk-xp-pop::before { content: '\f0e7'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #facc15; margin-right: 7px; }
@keyframes tkPop { 0% { opacity: 0; transform: translateY(10px); } 15% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 860px) {
  .tk-head, .tk-grid2 { grid-template-columns: minmax(0, 1fr); }
  .tk-actions { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .tk-rank { padding: 14px; gap: 12px; }
  .tk-rank-ico { width: 48px; height: 48px; font-size: 19px; }
  .tk-rank-main h2 { font-size: 20px; }
  .tk-stats b { font-size: 18px; }
  .tk-xp-pop { bottom: 80px; right: 12px; }
}
