/* ================= settings center + menu drawer =================
   Tokens as on the profile page: #09090b background, #151519 cards, #9146ff accent, #a1a1aa secondary text,
   #27272a lines. Rows: icon | label + description | value | chevron (or a switch), at least 56 px high.
   Scoped to body.vf-settings-page and dialog.st-drawer so nothing else on the site changes. */
body.vf-settings-page,dialog.st-drawer{--st-bg:#09090b;--st-card:#151519;--st-card-hover:#1c1c22;--st-line:#27272a;--st-line-strong:#3f3f46;
  --st-text:#fff;--st-muted:#a1a1aa;--st-dim:#71717a;--st-violet:#9146ff;--st-violet-soft:#9146ff1f;--st-danger:#f87171;--st-ok:#4ade80;
  --st-radius:14px;--st-font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
body.vf-settings-page{background:var(--st-bg)}
.st,.st-drawer{font-family:var(--st-font);color:var(--st-text)}
.st button,.st input,.st select,.st textarea,.st-drawer button{font-family:inherit}
.st .num{font-variant-numeric:tabular-nums}

/* sticky header: back | title | spacer */
.st-top{position:sticky;top:0;z-index:25;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;
  height:calc(52px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(4px,env(safe-area-inset-right)) 0 max(4px,env(safe-area-inset-left));
  background:#09090bf0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--st-line)}
.st-top-btn{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:99px;background:transparent;color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent}
.st-top-btn:hover{background:#ffffff0d}
.st-top-spacer{width:44px;height:44px}
@media (hover:none){.st-top-btn:hover,.st-close:hover,.sn-btn:hover{background:transparent}}
.st-top-btn:focus-visible,.st-row:focus-visible,.st-close:focus-visible{outline:2px solid #b794ff;outline-offset:-2px}
.st-top-title{margin:0;text-align:center;font-size:16px;font-weight:700;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.st-layout{max-width:640px;margin:0 auto}
.st-body{padding:16px max(16px,env(safe-area-inset-right)) 24px max(16px,env(safe-area-inset-left));min-width:0}
.st-aside{display:none}

/* groups and rows */
.st-list{list-style:none;margin:0;padding:0;background:var(--st-card);border:1px solid var(--st-line);border-radius:var(--st-radius);overflow:hidden}
.st-list>li+li{border-top:1px solid var(--st-line)}
.st-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto auto;align-items:center;column-gap:12px;width:100%;min-height:56px;
  padding:10px 12px 10px 12px;border:0;background:transparent;color:var(--st-text);text-align:left;text-decoration:none;cursor:pointer;
  -webkit-tap-highlight-color:transparent;transition:background-color .15s}
a.st-row:hover,button.st-row:hover{background:var(--st-card-hover);color:var(--st-text)}
.st-ico{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#ffffff0a;color:#e4e4e7}
.st-ico svg{width:19px;height:19px}
.st-txt{display:grid;gap:2px;min-width:0}
.st-label{font-size:15px;font-weight:600;line-height:1.3;overflow-wrap:anywhere;hyphens:manual}
.st-desc{font-size:13px;line-height:1.35;color:var(--st-muted);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.st-val{font-size:13px;color:var(--st-muted);white-space:nowrap;max-width:9rem;overflow:hidden;text-overflow:ellipsis}
.st-val.is-accent{color:#c4a6ff;font-weight:600}
.st-chev{display:grid;place-items:center;color:var(--st-dim)}
.st-chev svg{width:16px;height:16px;transform:rotate(-90deg)}
.st-row.is-danger .st-label,.st-row.is-danger .st-ico{color:var(--st-danger)}
.st-row.is-danger .st-ico{background:#f871711a}
.st-row[aria-current="page"]{background:var(--st-violet-soft)}
.st-row[aria-current="page"] .st-ico{color:#c4a6ff}

/* user card at the top of the menu */
.st-user{display:flex;align-items:center;gap:12px;padding:12px;border-radius:var(--st-radius);background:var(--st-card);border:1px solid var(--st-line);color:var(--st-text);text-decoration:none}
.st-user:hover{background:var(--st-card-hover);color:var(--st-text)}
.st-user-name{display:block;font-size:16px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-user-handle{display:block;font-size:13px;color:var(--st-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-user-role{margin-left:auto;flex:none;font-size:12px;font-weight:600;color:#c4a6ff;background:var(--st-violet-soft);border-radius:99px;padding:3px 10px}

/* content cards on sub pages */
.st-card{background:var(--st-card);border:1px solid var(--st-line);border-radius:var(--st-radius);padding:16px}
.st-card+.st-card,.st-stack>*+*{margin-top:16px}
.st-card-title{margin:0 0 4px;font-size:16px;font-weight:700;line-height:1.3}
.st-card-text{margin:0;font-size:14px;line-height:1.5;color:var(--st-muted)}
.st-lead{margin:0 0 16px;font-size:14px;line-height:1.5;color:var(--st-muted)}
.st-form{display:grid;gap:14px;margin-top:14px}
.st-form .btn{justify-self:start}
.st-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.st-kv{display:grid;margin:0}
.st-kv>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:baseline;padding:12px 0;border-top:1px solid var(--st-line)}
.st-kv>div:first-child{border-top:0;padding-top:0}
.st-kv>div:last-child{padding-bottom:0}
.st-kv dt{font-size:14px;color:var(--st-muted)}
.st-kv dd{margin:0;font-size:14px;font-weight:600;text-align:right;overflow-wrap:anywhere;min-width:0}
.st-pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;border-radius:99px;padding:3px 10px;white-space:nowrap;background:#ffffff0f;color:#e4e4e7}
.st-pill.is-ok{background:#4ade801a;color:var(--st-ok)}
.st-pill.is-warn{background:#fbbf241a;color:#fbbf24}
.st-pill.is-bad{background:#f871711a;color:var(--st-danger)}
.st-pill.is-accent{background:var(--st-violet-soft);color:#c4a6ff}

/* radio cards and switch rows */
.st-choices{display:grid;gap:8px}
.st-choice{display:grid;grid-template-columns:20px minmax(0,1fr);gap:12px;align-items:start;padding:12px;border:1px solid var(--st-line);border-radius:12px;cursor:pointer;background:#ffffff05}
.st-choice:has(input:checked){border-color:var(--st-violet);background:var(--st-violet-soft)}
.st-choice input{margin-top:2px;width:18px;height:18px;accent-color:var(--st-violet)}
.st-choice-label{font-size:15px;font-weight:600}
.st-choice-hint{display:block;margin-top:2px;font-size:13px;color:var(--st-muted)}
.st-switch-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}
.st-switch-row .st-choice-label{display:block}

/* lists inside cards (devices, activity, purchases) */
.st-items{list-style:none;margin:0;padding:0}
.st-item{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--st-line)}
.st-item:first-child{border-top:0;padding-top:0}
.st-item:last-child{padding-bottom:0}
.st-item-title{font-size:15px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.st-item-meta{font-size:13px;color:var(--st-muted);line-height:1.4;overflow-wrap:anywhere}
.st-item .st-ico.is-warn{color:#fbbf24;background:#fbbf241a}

/* two-step setup */
.st-qr{display:grid;place-items:center;padding:12px;background:#fff;border-radius:12px;width:max-content;max-width:100%;margin:8px auto 0}
.st-qr svg{display:block;width:220px;height:220px;max-width:100%}
.st-secret{display:block;margin-top:8px;padding:10px 12px;border-radius:10px;background:#ffffff0a;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;letter-spacing:.06em;word-break:break-all;user-select:all}
.st-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 0;padding:0;list-style:none}
.st-codes li{padding:10px;border-radius:10px;background:#ffffff0a;text-align:center;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:15px;letter-spacing:.04em}
.st-steps{margin:0;padding-left:20px;display:grid;gap:6px;font-size:14px;color:var(--st-muted)}

/* help center */
.st-faq{list-style:none;margin:0;padding:0}
.st-faq details{border-top:1px solid var(--st-line)}
.st-faq li:first-child details{border-top:0}
.st-faq summary{display:grid;grid-template-columns:minmax(0,1fr) 20px;gap:12px;align-items:center;padding:14px 0;font-size:15px;font-weight:600;cursor:pointer;list-style:none}
.st-faq summary::-webkit-details-marker{display:none}
.st-faq summary svg{width:16px;height:16px;color:var(--st-dim);transition:transform .2s}
.st-faq details[open] summary svg{transform:rotate(180deg)}
.st-faq .st-answer{padding:0 0 14px;font-size:14px;line-height:1.55;color:var(--st-muted)}
.st-faq .st-answer a{color:#c4a6ff}

/* existing settings pages rendered inside the new frame: calmer headings */
.st-body .display{font-family:var(--st-font);font-size:18px!important;font-weight:700;letter-spacing:0;line-height:1.3}
.st-body .h-page{font-size:20px}

/* desktop: menu beside the page */
@media (min-width:1024px){
  .st-layout.has-aside{max-width:1040px;display:grid;grid-template-columns:320px minmax(0,1fr);gap:24px;padding:0 24px}
  .st-layout.has-aside .st-aside{display:block;position:sticky;top:72px;align-self:start;max-height:calc(100dvh - 88px);overflow:auto;padding:16px 0 24px;scrollbar-width:thin}
  .st-layout.has-aside .st-body{padding:16px 0 32px}
  .st-aside .st-row{min-height:44px;padding:6px 10px}
  .st-aside .st-ico{width:30px;height:30px}
  .st-aside .st-ico svg{width:17px;height:17px}
  .st-aside .st-desc,.st-aside .st-val,.st-aside .st-chev{display:none}
  .vf-settings-page .st-top{grid-template-columns:44px minmax(0,1fr) 44px}
}

/* menu drawer (hamburger) */
dialog.st-drawer{margin:0 0 0 auto;padding:0;width:min(calc(100% - 48px),420px);max-width:100%;height:100%;max-height:none;border:0;border-left:1px solid var(--st-line);
  border-radius:0;background:var(--st-bg);color:var(--st-text);overflow:hidden}
dialog.st-drawer[open]{display:flex;flex-direction:column;animation:st-drawer-in .26s cubic-bezier(.22,1,.36,1)}
dialog.st-drawer .sn-head{position:static;background:var(--st-bg)}
dialog.st-drawer.is-closing{animation:st-drawer-out .2s cubic-bezier(.4,0,1,1) forwards}
dialog.st-drawer::backdrop{background:#000000a6;animation:st-fade-in .26s ease}
dialog.st-drawer.is-closing::backdrop{animation:st-fade-out .2s ease forwards}
.st-close{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:99px;background:transparent;color:#fff;cursor:pointer}
.st-close:hover{background:#ffffff0d}

@keyframes st-drawer-in{from{transform:translateX(100%)}to{transform:none}}
@keyframes st-drawer-out{from{transform:none}to{transform:translateX(100%)}}
@keyframes st-fade-in{from{opacity:0}to{opacity:1}}
@keyframes st-fade-out{from{opacity:1}to{opacity:0}}
@media (prefers-reduced-motion:reduce){
  dialog.st-drawer[open],dialog.st-drawer.is-closing,dialog.st-drawer::backdrop,dialog.st-drawer.is-closing::backdrop{animation:none}
  .st-row,.st-faq summary svg{transition:none}
}

/* ================= settings center navigation (main -> category -> setting) ================= */
.sn{display:flex;flex-direction:column;min-height:0;flex:1}
.sn-panel{display:flex;flex-direction:column;min-height:0;flex:1}
.sn-panel[hidden]{display:none!important}
.sn-head{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;flex:none;
  min-height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(4px,env(safe-area-inset-right)) 0 max(4px,env(safe-area-inset-left));
  background:#09090bf2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--st-line)}
.sn-title{margin:0;text-align:center;font-size:17px;font-weight:700;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sn-btn{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:99px;background:transparent;color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sn-btn:hover{background:#ffffff0d;color:#fff}
.sn-btn:focus-visible{outline:2px solid #b794ff;outline-offset:-2px}
.sn-btn-space{width:44px;height:44px}
.sn-body{display:grid;gap:16px;align-content:start;padding:14px max(16px,env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
.st-drawer .sn-body{flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.sn-home{display:grid;gap:16px}
.sn-oneline{-webkit-line-clamp:1}
.sn-cat{min-height:62px}
.sn-cat-ico{background:var(--st-violet-soft);color:#c4a6ff}
.sn-cats{border-radius:16px}

/* search */
.sn-search{position:relative;display:flex;align-items:center}
.sn-search-ico{position:absolute;left:12px;display:grid;color:var(--st-dim);pointer-events:none}
.sn-search-input{width:100%;height:44px;padding:0 40px 0 38px;border:1px solid var(--st-line);border-radius:12px;background:var(--st-card);color:#fff;font:inherit;font-size:16px;-webkit-appearance:none;appearance:none}
.sn-search-input::placeholder{color:var(--st-dim)}
.sn-search-input:focus{outline:none;border-color:var(--st-violet);box-shadow:0 0 0 3px #9146ff33}
.sn-search-input::-webkit-search-cancel-button{display:none}
.sn-search-clear{position:absolute;right:4px;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:99px;background:transparent;color:var(--st-muted);cursor:pointer}
.sn-results{display:grid;gap:8px}
.sn-empty{margin:0;padding:16px;text-align:center;font-size:14px;color:var(--st-muted)}

/* sign out */
.sn-logout-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;border:1px solid var(--st-line);border-radius:14px;
  background:transparent;color:var(--st-danger);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.sn-logout-btn:hover{background:#f871710f}

/* sliding between panels */
.sn-panel.sn-fwd{animation:sn-in-fwd .24s cubic-bezier(.22,1,.36,1)}
.sn-panel.sn-back{animation:sn-in-back .24s cubic-bezier(.22,1,.36,1)}
@keyframes sn-in-fwd{from{transform:translateX(28px);opacity:.4}to{transform:none;opacity:1}}
@keyframes sn-in-back{from{transform:translateX(-28px);opacity:.4}to{transform:none;opacity:1}}

/* overview + category pages */
.sn-page .sn{max-width:640px;margin:0 auto;width:100%}
.sn-page .sn-head{position:sticky;top:0}

/* breadcrumb under the header of a settings page */
.st-crumb{display:flex;align-items:center;gap:6px;max-width:640px;margin:0 auto;padding:10px max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));
  font-size:13px;color:var(--st-dim);white-space:nowrap;overflow:hidden}
.st-crumb a{color:var(--st-muted);text-decoration:none;overflow:hidden;text-overflow:ellipsis}
.st-crumb a:hover{color:#fff}
.st-crumb a:last-child{color:#c4a6ff}

/* desktop side menu: categories, only the current one open */
.sn-aside .st-row[aria-expanded="true"]{background:var(--st-violet-soft)}
.sn-aside .st-row[aria-expanded="true"] .st-ico{color:#c4a6ff}
.sn-aside-items{list-style:none;margin:0;padding:4px 0 8px 58px;display:grid;gap:2px;border-top:0!important}
.sn-aside-items a{display:block;padding:7px 10px;border-radius:8px;font-size:14px;color:var(--st-muted);text-decoration:none}
.sn-aside-items a:hover{color:#fff;background:#ffffff08}
.sn-aside-items a[aria-current="page"]{color:#fff;background:#ffffff0f;font-weight:600}
@media (min-width:1024px){.st-crumb{max-width:1040px;padding-left:24px;padding-right:24px}}

/* App & Darstellung: "Animationen reduzieren" for the whole site */
html.vf-reduce-motion *,html.vf-reduce-motion *::before,html.vf-reduce-motion *::after,html.vf-reduce-motion ::backdrop{
  animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
@media (prefers-reduced-motion:reduce){.sn-panel.sn-fwd,.sn-panel.sn-back{animation:none}}

/* ---------------------------------------------------------------- subscriptions: cards (Meine Abos, Creator Studio)
   No wide tables: facts wrap in a 2-column grid on phones, 3–4 columns on wider screens. */
.subs-cats{display:flex;gap:.4rem;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;-webkit-overflow-scrolling:touch}
.subs-cats::-webkit-scrollbar{display:none}
.subs-cats a{flex:none;display:inline-flex;align-items:center;gap:.35rem;height:2.25rem;padding:0 .85rem;border-radius:999px;
  border:1px solid rgba(255,255,255,.12);font-size:.85rem;font-weight:600;color:rgba(255,255,255,.75);white-space:nowrap}
.subs-cats a .num{font-weight:500;opacity:.7}
.subs-cats a[aria-current=true]{background:#9146FF;border-color:#9146FF;color:#fff}
.subs-list{display:grid;gap:.75rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:900px){.subs-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
.subs-card{min-width:0;padding:1rem;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08)}
.card.subs-card{padding:1rem}
.subs-head{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;min-width:0}
.subs-head>.min-w-0{min-width:9rem}  /* name first; the status label moves under it when the row is too narrow */
.subs-head .pill{max-width:100%;white-space:normal;text-align:center;line-height:1.2;height:auto;min-height:1.5rem;padding-top:.2rem;padding-bottom:.2rem}
.subs-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem .9rem;margin-top:.85rem}
@media (min-width:640px){.subs-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
.subs-facts dt{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:rgba(255,255,255,.5)}
.subs-facts dd{font-size:.875rem;color:#fff;overflow-wrap:anywhere}
.subs-change{margin-top:.85rem;padding:.75rem .85rem;border-radius:12px;background:rgba(145,70,255,.1);border:1px solid rgba(145,70,255,.35)}

/* ================= Creator Studio (templates/studio/base.html) =================
   Same frame as the settings center; violet icons, compact key figures, wider pages for tables and charts. */
.vf-studio .studio-ico{color:var(--st-violet);background:var(--st-violet-soft)}
.vf-studio .studio-row[aria-current="page"] .studio-ico{color:#c4a6ff}
.vf-studio .st-layout.st-studio-layout{max-width:720px}
.studio-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.studio-actions .btn{min-width:0;min-height:46px;border-radius:99px;justify-content:center}
.studio-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
.studio-kpi{display:grid;gap:4px;align-content:start;padding:14px;border-radius:var(--st-radius);background:var(--st-card);border:1px solid var(--st-line);
  color:var(--st-text);text-decoration:none;transition:background-color .15s,border-color .15s;-webkit-tap-highlight-color:transparent;min-width:0}
a.studio-kpi:hover{background:var(--st-card-hover);border-color:var(--st-line-strong);color:var(--st-text)}
.studio-kpi:focus-visible{outline:2px solid #b794ff;outline-offset:2px}
.studio-kpi-label{font-size:12px;color:var(--st-muted)}
.studio-kpi-num{font-size:22px;font-weight:700;line-height:1.15;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.studio-kpi-sub{font-size:12px;color:var(--st-dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.studio-menu .studio-row{min-height:64px}
.studio-menu .st-label{font-size:15.5px}
@media (min-width:640px){.studio-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* studio pages inside the narrower settings frame: rows of buttons/links wrap instead of widening the page */
.vf-studio .st-body .flex:not(.flex-nowrap){flex-wrap:wrap}
.vf-studio .st-body{overflow-wrap:anywhere}
@media (min-width:1024px){
  .vf-studio .st-layout.st-studio-layout{max-width:1040px}
  .vf-studio .st-layout.st-studio-layout:not(.has-aside){max-width:760px}
  /* sub pages: full width for tables and charts; the side menu only where there is room for both */
  .vf-studio .st-layout.st-studio-layout.has-aside{display:block;padding:0 24px}
  .vf-studio .st-layout.st-studio-layout.has-aside .st-aside{display:none}
}
@media (min-width:1440px){
  .vf-studio .st-layout.st-studio-layout.has-aside{display:grid;max-width:1320px;grid-template-columns:260px minmax(0,1fr)}
  .vf-studio .st-layout.st-studio-layout.has-aside .st-aside{display:block}
}
@media (min-width:1024px){.vf-studio .st-crumb{max-width:1040px;padding-inline:24px}}
@media (min-width:1440px){.vf-studio .st-crumb{max-width:1320px}}

/* Creator Studio > Einnahmen & Wallet: bookings as cards on phones, table from 640 px (templates/studio/earnings.html) */
.tx-cards{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.tx-card{padding:12px 14px;border-radius:var(--st-radius,14px);background:var(--st-card,#151519);border:1px solid var(--st-line,#27272a);display:grid;gap:10px;min-width:0}
.tx-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.tx-card-main{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;min-width:0}
.tx-card-who{display:grid;gap:2px;min-width:0}
.tx-card-member{font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tx-card-date{font-size:12.5px;color:var(--st-muted,#a1a1aa)}
.tx-card-amounts{display:grid;justify-items:end;gap:2px;flex:none;text-align:right}
.tx-card-net{font-size:18px;font-weight:700;line-height:1.2}
.tx-card-gross{font-size:12.5px;color:var(--st-muted,#a1a1aa)}
.tx-table{display:none}
@media (min-width:640px){.tx-cards{display:none}.tx-table{display:block}}
.tx-filter{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;min-width:0}
.tx-filter-label{font-size:13px;color:var(--st-muted,#a1a1aa)}
.tx-filter-select{min-width:0;width:auto;max-width:15rem;height:38px;padding-top:0;padding-bottom:0;border-radius:99px}

/* ================= Settings > Wallet =================
   One large balance card, a big violet payout button, payout account row and a plain history. Mobile first. */
.wl-card{position:relative;display:grid;justify-items:center;text-align:center;gap:6px;padding:28px 18px 22px;border-radius:20px;
  background:radial-gradient(120% 100% at 50% 0%,#9146ff38 0%,#9146ff10 45%,var(--st-card) 75%);border:1px solid #9146ff47;
  box-shadow:0 22px 48px -30px #9146ffcc;overflow:hidden}
.wl-card-sm{padding:20px 18px 18px}
.wl-card-ico{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--st-violet-soft);color:#c4a6ff;margin-bottom:4px}
.wl-label{margin:0;font-size:14px;font-weight:500;color:var(--st-muted)}
.wl-amount{margin:0;font-size:clamp(40px,12vw,54px);font-weight:700;line-height:1.08;letter-spacing:-.02em;color:#fff;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.wl-card-sm .wl-amount{font-size:clamp(32px,9vw,40px)}
.wl-btn{display:flex;align-items:center;justify-content:center;width:100%;max-width:420px;min-height:54px;margin-top:14px;padding:0 20px;border:0;border-radius:16px;
  background:linear-gradient(180deg,#9d58ff,#9146ff 55%,#7d32f0);color:#fff;font:inherit;font-size:16px;font-weight:600;text-decoration:none;cursor:pointer;
  box-shadow:0 10px 26px -12px #9146ffe6,inset 0 1px 0 #ffffff2e;-webkit-tap-highlight-color:transparent;transition:transform .12s,filter .15s,box-shadow .15s}
.wl-btn:hover{filter:brightness(1.08);color:#fff}
.wl-btn:active{transform:scale(.985)}
.wl-btn:focus-visible{outline:2px solid #c4a6ff;outline-offset:3px}
.wl-btn:disabled,.wl-btn[aria-disabled="true"]{background:#2a2335;color:#a1a1aa;box-shadow:none;cursor:not-allowed;filter:none;transform:none}
.wl-blocker{margin:6px 0 0;max-width:420px;font-size:13px;line-height:1.45;color:var(--st-muted)}
.wl-method{margin-top:16px}
.wl-history{margin-top:26px}
.wl-h2{margin:0 0 10px 2px;font-size:17px;font-weight:700}
.wl-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:4px;min-height:60px;padding:10px 14px}
.wl-row-main{display:grid;gap:2px;min-width:0}
.wl-row-amount{font-size:16px;font-weight:600}
.wl-row-date{font-size:13px;color:var(--st-muted)}
.wl-row-note{grid-column:1/-1;font-size:12.5px;line-height:1.4;color:var(--st-dim);overflow-wrap:anywhere}
.wl-pill{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:99px;font-size:12.5px;font-weight:600;white-space:nowrap}
.wl-pill.is-warn{background:#fbbf241f;color:#fcd34d}
.wl-pill.is-violet{background:var(--st-violet-soft);color:#c4a6ff}
.wl-pill.is-ok{background:#4ade801f;color:#86efac}
.wl-pill.is-bad{background:#f871711f;color:#fca5a5}
.wl-empty{margin:0;padding:22px 16px;border:1px dashed var(--st-line-strong);border-radius:var(--st-radius);text-align:center;font-size:14px;color:var(--st-muted)}
.wl-foot{margin:22px 2px 0;font-size:13px;line-height:1.5;color:var(--st-dim)}
.wl-form{margin-top:16px;display:grid}
.wl-field-label{display:block;margin:0 0 6px;font-size:13.5px;font-weight:600;color:#e4e4e7}
.wl-input{width:100%;height:50px;padding:0 14px;border:1px solid var(--st-line-strong);border-radius:12px;background:#0d0d10;color:#fff;font:inherit;font-size:16px;-webkit-appearance:none;appearance:none}
.wl-input:focus{outline:none;border-color:#9146ff;box-shadow:0 0 0 3px #9146ff40}
.wl-amount-input{position:relative}
.wl-amount-input .wl-input{height:58px;padding-right:44px;font-size:24px;font-weight:700}
.wl-cur{position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:20px;font-weight:600;color:var(--st-muted);pointer-events:none}
.wl-hint{margin:8px 0 0;font-size:13px;line-height:1.45;color:var(--st-muted)}
.wl-max{border:0;background:none;padding:0;color:#c4a6ff;font:inherit;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.wl-dest{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;column-gap:12px;padding:12px;border:1px solid var(--st-line);border-radius:12px;background:#0d0d10}
.wl-confirm{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:start;margin-top:18px;font-size:14px;line-height:1.45;color:#d4d4d8;cursor:pointer}
.wl-confirm input{width:20px;height:20px;margin:1px 0 0;accent-color:#9146ff}
.wl-error{margin:14px 0 0;padding:10px 12px;border-radius:10px;background:#f871711a;color:#fca5a5;font-size:14px;line-height:1.4}
.wl-form .wl-btn{max-width:none}
.wl-cancel{display:block;margin-top:10px;padding:10px;text-align:center;font-size:14px;color:var(--st-muted);text-decoration:none}
.wl-cancel:hover{color:#fff}
.wl-foot-top{margin:0 2px 14px}
.wl-form .mt-3{margin-top:14px}.wl-form .mt-4{margin-top:20px}

/* Creator einladen: quiet premium entry on the settings main panel (apps.referrals) */
.sn-invite{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;column-gap:12px;margin:10px 0 2px;padding:10px 12px;
  border:1px solid #2d2738;border-radius:14px;background:#17141d;color:#fff;text-decoration:none;-webkit-tap-highlight-color:transparent;transition:border-color .15s,background-color .15s}
.sn-invite:hover{border-color:#9146ff59;background:#1b1722;color:#fff}
.sn-invite:focus-visible{outline:2px solid #c4a6ff;outline-offset:2px}
.sn-invite-ico{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#9146ff1f;color:#b794ff}
.sn-invite-ico svg{width:19px;height:19px}
.sn-invite-txt{display:flex;flex-direction:column;gap:1px;min-width:0}
.sn-invite-title{font-size:15px;font-weight:600;line-height:1.25}
.sn-invite-desc{font-size:12.5px;color:#9995a3;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sn-invite-chev{display:grid;place-items:center;color:#6f6b78}
.sn-invite-chev svg{width:16px;height:16px;transform:rotate(-90deg)}

/* ---------------------------------------------------------------- Creator Studio: Kündigungen (templates/studio/cancellations.html) */
.cx-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
@media (min-width:640px){.cx-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
.cx-kpi{display:grid;gap:.15rem;min-width:0;padding:.9rem;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);color:#fff;transition:border-color .15s}
.cx-kpi:hover{border-color:rgba(145,70,255,.55)}
.cx-kpi.is-accent{background:rgba(145,70,255,.1);border-color:rgba(145,70,255,.35)}
.cx-kpi-ico{display:inline-grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:10px;background:rgba(255,255,255,.06);color:rgba(255,255,255,.7);margin-bottom:.35rem}
.cx-kpi-ico.is-ok{color:#4ade80;background:rgba(74,222,128,.1)}
.cx-kpi-ico.is-warn{color:#fbbf24;background:rgba(251,191,36,.1)}
.cx-kpi-ico.is-violet{color:#c4a6ff;background:rgba(145,70,255,.18)}
.cx-kpi-num{font-size:1.6rem;font-weight:700;line-height:1.1}
.cx-kpi-label{font-size:.85rem;font-weight:600}
.cx-kpi-sub{font-size:.75rem;color:rgba(255,255,255,.5)}
.cx-list{display:grid;gap:.6rem}
.cx-item{border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);padding:.8rem .9rem}
.cx-item[open]{border-color:rgba(145,70,255,.45)}
.cx-item summary{display:flex;align-items:center;gap:.7rem;list-style:none;cursor:pointer;min-width:0}
.cx-item summary::-webkit-details-marker{display:none}
.cx-sum-text{display:grid;gap:.2rem;justify-items:start;min-width:0;flex:1;line-height:1.25}
.cx-sum-pill{margin-top:.15rem;white-space:nowrap}
.cx-chev{color:rgba(255,255,255,.45);transition:transform .15s}
.cx-item[open] .cx-chev{transform:rotate(180deg)}
.cx-gone{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:999px;background:rgba(255,255,255,.06);color:rgba(255,255,255,.5)}
:target>.cx-item{border-color:#9146FF}
