/* =====================================================================
   Norynex v1.72 · Final: Mobile-Feinschliff, Bottom-Sheets, Nexa-Einstellungen,
   Werbung im Studio, Login-Optionen, Bezahlarten, Live-Studio
   ===================================================================== */

/* ---------- Bottom-Sheet (Shorts-Menü u. a.) ---------- */
.nx-sheet-overlay { position: fixed; inset: 0; z-index: 10050; background: rgba(0,0,0,0); display: flex; align-items: flex-end; justify-content: center; transition: background .2s; }
.nx-sheet-overlay.is-open { background: rgba(0,0,0,.55); }
.nx-sheet { width: 100%; max-width: 520px; background: var(--bg-card); border: 1px solid var(--border-light); border-bottom: 0; border-radius: 20px 20px 0 0; padding: 8px 10px calc(12px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.nx-sheet-overlay.is-open .nx-sheet { transform: translateY(0); }
.nx-sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--border); margin: 4px auto 10px; }
.nx-sheet-item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 14px; border: 0; background: none; color: var(--text-primary); font: inherit; font-size: 15px; font-weight: 600; border-radius: 12px; cursor: pointer; text-align: left; }
.nx-sheet-item i { width: 20px; text-align: center; color: var(--text-secondary); }
.nx-sheet-item:hover, .nx-sheet-item:active { background: var(--bg-hover); }
.nx-sheet-item.is-danger, .nx-sheet-item.is-danger i { color: #ef4444; }
.nx-sheet-cancel { justify-content: center; margin-top: 6px; background: var(--bg-secondary); }
@media (min-width: 700px) { .nx-sheet-overlay { align-items: center; } .nx-sheet { border-radius: 18px; border-bottom: 1px solid var(--border-light); } }
.short-more i { font-size: 22px; }

/* ---------- Verwarnung (Strike) ---------- */
.nx-strike { padding: 26px 22px 20px; text-align: center; }
.nx-strike-ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; color: #f59e0b; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.35); }
.nx-strike-ico.is-ban { color: #ef4444; background: rgba(239,68,68,.14); border-color: rgba(239,68,68,.35); }
.nx-strike h3 { margin: 0 0 12px; font-size: 20px; font-weight: 800; }
.nx-strike-dots { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.nx-strike-dot { width: 26px; height: 8px; border-radius: 8px; background: var(--bg-secondary); border: 1px solid var(--border); }
.nx-strike-dot.is-on { background: #f59e0b; border-color: #f59e0b; }
.nx-strike-dots b { font-size: 13px; color: var(--text-secondary); margin-left: 4px; }
.nx-strike-reason { text-align: left; background: var(--bg-secondary); border: 1px solid var(--border-light); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.nx-strike-reason span { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.nx-strike-reason p { margin: 4px 0 0; font-size: 14.5px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.nx-strike-reason small { display: block; margin-top: 6px; color: var(--text-muted); font-size: 12.5px; overflow-wrap: anywhere; }
.nx-strike-info { list-style: none; margin: 0 0 16px; padding: 0; text-align: left; display: grid; gap: 8px; font-size: 13.5px; color: var(--text-secondary); }
.nx-strike-info i { width: 18px; color: var(--purple-light, #c77dff); margin-right: 6px; }
.nx-strike-actions { display: flex; gap: 10px; }
.nx-strike-actions .co-btn { flex: 1; }
.nx-strike-link { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--text-muted); }
.nx-acct-status { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; margin-bottom: 12px; }
.nx-acct-status i { font-size: 22px; }
.nx-acct-status b { display: block; font-size: 15px; } .nx-acct-status small { color: var(--text-muted); font-size: 12.5px; }
.nx-acct-status.is-ok { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); } .nx-acct-status.is-ok i { color: #22c55e; }
.nx-acct-status.is-warn { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3); } .nx-acct-status.is-warn i { color: #f59e0b; }
.nx-strike-list { display: grid; gap: 8px; }
.nx-strike-row { display: flex; gap: 12px; padding: 12px; border-radius: 12px; background: var(--bg-secondary); border: 1px solid var(--border-light); }
.nx-strike-row > i { color: #f59e0b; margin-top: 3px; }
.nx-strike-row b { display: block; font-size: 14px; overflow-wrap: anywhere; } .nx-strike-row small { display: block; color: var(--text-muted); font-size: 12px; margin-top: 2px; overflow-wrap: anywhere; }
.nx-strike-row.is-expired { opacity: .55; } .nx-strike-row.is-expired > i { color: var(--text-muted); }
.notif-item--alert .notif-icon { background: rgba(239,68,68,.15) !important; color: #ef4444 !important; }
.notif-badge { align-items: center; justify-content: center; }

/* ---------- Bezahlfenster: Zahlungsarten als Auswahl ---------- */
.co-sec-label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ax-text-dim, var(--text-muted)); margin: 2px 0 -2px; }
.co-method { width: 100%; cursor: pointer; color: inherit; font: inherit; }
.co-method.is-selected { border-color: var(--accent, #a83bff); background: var(--accent-soft, rgba(168,59,255,.12)); box-shadow: 0 0 0 1px var(--accent, #a83bff) inset; }
.co-method .co-method-logo { width: 46px; font-size: 18px; }
.co-card { background: linear-gradient(135deg, #1e3a8a, #3b82f6); color: #fff; }
.co-apple { background: #000; color: #fff; font-size: 20px !important; border: 1px solid rgba(255,255,255,.18); }
.co-google { background: #fff; color: #4285f4; border: 1px solid #e5e7eb; }
.co-sepa { background: #0f766e; color: #fff; }
.co-psc { font-size: 9px !important; line-height: 1.05; text-align: center; font-weight: 900; }
.co-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ax-line-strong, var(--border)); flex-shrink: 0; position: relative; }
.co-method.is-selected .co-radio { border-color: var(--accent, #a83bff); }
.co-method.is-selected .co-radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent, #a83bff); }
.co-inline-link { border: 0; background: none; color: var(--accent-text, #c77dff); font-weight: 700; font-size: 13px; padding: 6px; cursor: pointer; }
.co-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--text-secondary); padding: 10px 12px; border-radius: 12px; background: var(--ax-surface-2, var(--bg-secondary)); border: 1px solid var(--ax-line, var(--border-light)); cursor: pointer; }
.co-consent input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--accent, #a83bff); }
.co-consent a { color: var(--accent-text, #c77dff); white-space: nowrap; }
.co-pay { min-height: 52px; font-size: 15.5px; }
.co-pay:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 480px) {
  .co-method { padding: 10px; gap: 10px; min-height: 58px; }
  .co-method-main b { font-size: 14px; }
  .co-method-main small { font-size: 11.5px; }
}

/* ---------- Watch-Seite: "Mehr"-Menü auf dem Handy als Bottom-Sheet ---------- */
@media (max-width: 768px) {
  .watch-more-dropdown.open {
    position: fixed !important; left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important;
    width: 100% !important; max-width: none !important; max-height: 82vh !important; overflow-y: auto !important;
    border-radius: 20px 20px 0 0 !important; z-index: 10060 !important; margin: 0 !important;
    padding: 10px 8px calc(16px + env(safe-area-inset-bottom)) !important; box-shadow: 0 -12px 40px rgba(0,0,0,.6) !important;
    animation: nxSheetUp .22s cubic-bezier(.2,.8,.2,1) !important;
  }
  .watch-more-dropdown.open::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--border); margin: 0 auto 8px; }
  .watch-more-dropdown.open .watch-more-item { padding: 14px 16px !important; font-size: 15px !important; min-height: 48px; }
  body.nx-sheet-open::after { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 10055; }
}
@keyframes nxSheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ---------- Live: OBS-Tipps & Verbindungsstatus ---------- */
.nx-obs-tips { margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: var(--bg-secondary); border: 1px solid var(--border-light); font-size: 13px; }
.nx-obs-tips ul { margin: 6px 0 0; padding-left: 18px; color: var(--text-secondary); line-height: 1.6; }
#nx-live-net { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 99px; background: rgba(34,197,94,.12); color: #22c55e; }
#nx-live-net[data-state="retry"] { background: rgba(245,158,11,.12); color: #f59e0b; }
#nx-live-net[data-state="ended"] { background: var(--bg-secondary); color: var(--text-muted); }
#nx-live-net i.fa-circle { font-size: 8px; animation: nxPulse 1.4s infinite; }
@keyframes nxPulse { 50% { opacity: .3; } }
.nx-live-net-wrap { margin-top: 10px; min-height: 28px; display: flex; justify-content: center; }

/* ---------- Einstellungen → Nexa AI ---------- */
.nx-nexa-hero { display: flex; align-items: center; gap: 14px; padding: 16px; margin-bottom: 18px; border-radius: 16px; border: 1px solid rgba(168,59,255,.35);
  background: radial-gradient(120% 140% at 0% 0%, rgba(168,59,255,.28), transparent 60%), radial-gradient(120% 140% at 100% 100%, rgba(59,130,246,.22), transparent 60%), var(--bg-card); }
.nx-nexa-hero.is-off { filter: grayscale(.8); opacity: .8; }
.nx-nexa-orb { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 20px; background: conic-gradient(from 200deg, #a855f7, #6366f1, #22d3ee, #a855f7); box-shadow: 0 0 24px rgba(168,85,247,.45); }
.nx-nexa-hero-text { flex: 1; min-width: 0; } .nx-nexa-hero-text b { display: block; font-size: 17px; } .nx-nexa-hero-text span { font-size: 13px; color: var(--text-secondary); }
.nx-nexa-info { display: flex; gap: 10px; padding: 14px; border-radius: 14px; background: var(--bg-secondary); border: 1px solid var(--border-light); font-size: 12.5px; line-height: 1.55; color: var(--text-secondary); margin-top: 6px; }
.nx-nexa-info i { color: var(--purple-light, #c77dff); margin-top: 2px; } .nx-nexa-info p { margin: 0; } .nx-nexa-info a { color: var(--purple-light, #c77dff); margin-left: 4px; }
@media (max-width: 600px) { .st-seg { flex-wrap: wrap; } .st-seg button { flex: 1 1 auto; } }

/* ---------- Creator Studio → Werbung ---------- */
.ads { max-width: 900px; display: flex; flex-direction: column; gap: 16px; }
.ads-hero { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; border: 1px solid rgba(168,59,255,.3); background: radial-gradient(120% 140% at 0% 0%, rgba(168,59,255,.25), transparent 60%), var(--bg-card); }
.ads-hero-ico { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: #fff; background: linear-gradient(135deg, #a855f7, #6366f1); }
.ads-hero h2 { margin: 0 0 4px; font-size: 20px; } .ads-hero p { margin: 0; font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }
.ads-step { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 16px; padding: 16px; }
.ads-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ads-step-head h3 { margin: 0; font-size: 16px; } .ads-step-head small { color: var(--text-muted); font-weight: 500; }
.ads-num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--purple-main, #a83bff); color: #fff; flex-shrink: 0; }
.ads-link-row { display: flex; gap: 8px; } .ads-link-row .ads-input-wrap { flex: 1; min-width: 0; }
.ads-input-wrap { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 12px; background: var(--bg-secondary); border: 1px solid var(--border); min-height: 46px; }
.ads-input-wrap:focus-within { border-color: var(--purple-main, #a83bff); }
.ads-input-wrap i { color: var(--text-muted); } .ads-input-wrap input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--text-primary); font-size: 15px; padding: 11px 0; }
.ads-field-msg { font-size: 13px; margin-top: 8px; } .ads-field-msg:empty { display: none; } .ads-field-msg.is-ok { color: #22c55e; } .ads-field-msg.is-err { color: #f87171; }
.ads-or { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin: 14px 0 8px; }
.ads-vlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ads-vitem { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 12px; border: 1.5px solid var(--border-light); background: var(--bg-secondary); color: var(--text-primary); text-align: left; cursor: pointer; min-width: 0; }
.ads-vitem.is-on { border-color: var(--purple-main, #a83bff); box-shadow: 0 0 0 1px var(--purple-main, #a83bff) inset; }
.ads-vthumb { position: relative; display: grid; place-items: center; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: #000; color: var(--text-muted); }
.ads-vthumb img { width: 100%; height: 100%; object-fit: cover; } .ads-vthumb em { position: absolute; top: 4px; left: 4px; font-style: normal; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 5px; background: rgba(0,0,0,.7); color: #fff; }
.ads-vtitle { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ads-vcard { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 10px; border-radius: 12px; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.3); }
.ads-vcard .ads-vthumb { width: 96px; flex-shrink: 0; } .ads-vcard b { display: block; font-size: 14px; overflow-wrap: anywhere; } .ads-vcard small { color: var(--text-muted); font-size: 12px; }
.ads-pkgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ads-pkg { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 14px 14px; border-radius: 14px; border: 1.5px solid var(--border-light); background: var(--bg-secondary); color: var(--text-primary); cursor: pointer; text-align: left; transition: transform .12s, border-color .12s; }
.ads-pkg:hover { transform: translateY(-1px); border-color: var(--border); }
.ads-pkg.is-on { border-color: var(--purple-main, #a83bff); background: rgba(168,59,255,.1); box-shadow: 0 0 0 1px var(--purple-main, #a83bff) inset; }
.ads-pkg-views { font-size: 22px; font-weight: 900; letter-spacing: -.02em; } .ads-pkg-lbl { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.ads-pkg-price { font-size: 17px; font-weight: 800; } .ads-pkg-per { font-size: 11.5px; color: var(--text-muted); }
.ads-pkg-save { margin-top: 8px; font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: rgba(34,197,94,.15); color: #22c55e; }
.ads-pkg-save.is-base { background: var(--bg-hover); color: var(--text-muted); }
.ads-pkg-badge { position: absolute; top: -9px; right: 10px; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 99px; color: #fff; background: #a855f7; letter-spacing: .02em; }
.ads-pkg-badge--bestpreis { background: #16a34a; }
.ads-hint { font-size: 12.5px; color: var(--text-muted); margin: 8px 0 0; }
.ads-summary { position: relative; background: var(--bg-card); border: 1px solid rgba(168,59,255,.35); border-radius: 16px; padding: 14px 16px; box-shadow: 0 -8px 30px rgba(0,0,0,.25); display: grid; gap: 6px; }
.ads-sum-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-secondary); } .ads-sum-row.is-save b { color: #22c55e; }
.ads-sum-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 700; border-top: 1px solid var(--border-light); padding-top: 8px; margin: 2px 0 6px; } .ads-sum-total b { font-size: 22px; }
.ads-empty { color: var(--text-muted); font-size: 13.5px; margin: 4px 0; }
.ads-camp { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border-light); } .ads-camp:first-child { border-top: 0; }
.ads-camp .ads-vthumb { width: 104px; flex-shrink: 0; align-self: flex-start; }
.ads-camp-main { flex: 1; min-width: 0; display: grid; gap: 6px; }
.ads-camp-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; } .ads-camp-top b { font-size: 14px; overflow-wrap: anywhere; }
.ads-st { flex-shrink: 0; font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: var(--bg-hover); color: var(--text-secondary); white-space: nowrap; }
.ads-st--active { background: rgba(34,197,94,.15); color: #22c55e; } .ads-st--review { background: rgba(245,158,11,.15); color: #f59e0b; } .ads-st--rejected { background: rgba(239,68,68,.15); color: #f87171; }
.ads-bar { height: 6px; border-radius: 6px; background: var(--bg-secondary); overflow: hidden; } .ads-bar span { display: block; height: 100%; background: linear-gradient(90deg, #a855f7, #6366f1); }
.ads-camp-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--text-muted); } .ads-camp-stats b { color: var(--text-primary); }
.ads-rej { color: #f87171; font-size: 12px; }
.ads-legal { font-size: 12px; color: var(--text-muted); display: flex; gap: 8px; align-items: flex-start; margin: 0 0 20px; } .ads-legal i { margin-top: 2px; }
@media (max-width: 600px) {
  .ads-hero { padding: 16px; } .ads-hero-ico { width: 40px; height: 40px; font-size: 17px; }
  .ads-pkgs { grid-template-columns: repeat(2, 1fr); } .ads-pkg { padding: 14px 12px 12px; } .ads-pkg-views { font-size: 19px; }
  .ads-vlist { grid-template-columns: repeat(2, 1fr); }
  .ads-link-row { flex-direction: column; } .ads-link-row .co-btn { width: 100%; }
  .ads-summary { position: static; box-shadow: none; }
  .ads-camp .ads-vthumb { width: 84px; }
}

/* ---------- Anmelden mit Microsoft / Apple / Telefon ---------- */
.nx-social-btns { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0 0 4px; width: 100%; }
/* v1.73: alle Anmelde-Buttons (Google, Microsoft, Apple, Telefon) einheitlich weiß und gleich groß */
#google-signin-btn-login, #google-signin-btn-register { margin-bottom: 8px !important; }
#google-signin-btn-login > button, #google-signin-btn-register > button, .nx-social-btn {
  display: flex !important; align-items: center; justify-content: center; gap: 10px;
  width: 100% !important; max-width: 360px; height: 42px !important; padding: 0 14px !important;
  border-radius: 10px !important; border: 1px solid #dadce0 !important; background: #fff !important; color: #1f1f1f !important;
  font-family: Roboto, Arial, sans-serif !important; font-size: 14px !important; font-weight: 500 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.08) !important; cursor: pointer; transition: background .15s, box-shadow .15s;
}
#google-signin-btn-login > button:hover, #google-signin-btn-register > button:hover, .nx-social-btn:hover { background: #f4f5f7 !important; box-shadow: 0 2px 6px rgba(0,0,0,.14) !important; }
.nx-social-btn svg, .nx-social-btn i, #google-signin-btn-login > button svg, #google-signin-btn-register > button svg { width: 18px; height: 18px; flex-shrink: 0; font-size: 17px; }
.nx-social-apple { color: #000 !important; }
.nx-social-phone i { color: #7c3aed; }
/* Registrieren-Fenster war höher als der Bildschirm und schnitt Apple/Telefon ab → scrollbar */
#auth-modal .modal-box { max-height: calc(100dvh - 24px); overflow-y: auto !important; overscroll-behavior: contain; scrollbar-width: thin; }
#auth-modal .modal-box::-webkit-scrollbar { width: 6px; }
#auth-modal .modal-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 6px; }
#auth-modal .auth-hero { padding-top: 24px; padding-bottom: 14px; }
#auth-modal .auth-body-v2 .form-group { margin-bottom: 10px; }
#google-signin-btn-login button, #google-signin-btn-register button { max-width: 100%; }
#nx-social-signup .nxm-head-ico svg, #nx-social-signup .nxm-head-ico i { width: 20px; height: 20px; }
#ss-user-hint.is-ok { color: #22c55e; } #ss-user-hint.is-bad { color: #f87171; }

/* =====================================================================
   HANDY-DESIGN (9:16) — globale Absicherung + gezielte Korrekturen
   Ziel: nie horizontales Scrollen/Herauszoomen, große Tippflächen, nichts abgeschnitten.
   ===================================================================== */
@media (max-width: 768px) {
  /* Kein seitliches Verrutschen der ganzen Seite (clip statt hidden: position:sticky bleibt intakt) */
  html, body { overflow-x: clip; }
  #main-content { overflow-x: clip; max-width: 100vw; }
  #main-content img, #main-content video, #main-content canvas, #main-content iframe { max-width: 100%; }
  #main-content input, #main-content select, #main-content textarea { max-width: 100%; min-width: 0; }
  /* Eingabefelder mind. 16px → iOS/Android zoomen beim Antippen nicht mehr heran */
  input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="url"], input[type="number"], textarea, select { font-size: 16px !important; }
  /* Tippflächen */
  .btn-primary, .btn-secondary, .co-btn, .st-btn { min-height: 44px; }
  .action-btn { min-height: 40px; }

  /* Creator Studio: zweispaltige Formulare → einspaltig, Zeilen dürfen umbrechen */
  .studio-content [style*="grid-template-columns:1fr 1fr"], .studio-content [style*="grid-template-columns: 1fr 1fr"],
  .studio-content [style*="grid-template-columns:repeat(2"], .studio-content [style*="grid-template-columns:repeat(3"],
  .studio-content [style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr !important; }
  .studio-content [style*="grid-column:span 2"], .studio-content [style*="grid-column: span 2"] { grid-column: auto !important; }
  .studio-content [style*="display:flex"]:not(.nxp-row):not(.nxp-bar) { flex-wrap: wrap; }
  .studio-content [style*="display:grid"] > * , .studio-content [style*="display:flex"] > * { min-width: 0; }
  .studio-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .studio-content { padding-left: 12px; padding-right: 12px; }

  /* Kanalseite: Tabs horizontal wischbar statt Überlauf */
  .channel-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .channel-tabs::-webkit-scrollbar { display: none; }
  .channel-tab { flex-shrink: 0; white-space: nowrap; }
  .channel-header [style*="display:flex"], .channel-info [style*="display:flex"] { flex-wrap: wrap; }

  /* Direktnachrichten: kein negativer Rand mehr (ragte 6 px über den Bildschirm) */
  .dm-shell { margin: 0 !important; }

  /* Watch-Seite: Aktionsleiste wischbar statt umbrechend */
  .watch-meta { flex-direction: column; align-items: stretch !important; gap: 10px; }
  .watch-actions { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 2px; scrollbar-width: none; }
  .watch-actions::-webkit-scrollbar { display: none; }
  .watch-actions > * { flex-shrink: 0; }
  .watch-more-wrap { position: static !important; }
  .watch-title { font-size: 17px !important; line-height: 1.35; }
  .watch-channel { flex-wrap: wrap; gap: 10px; }

  /* Modale Fenster: volle Breite, innen scrollbar, über der unteren Navigation */
  .nxm-overlay { align-items: flex-end !important; }
  .nxm { max-height: 92dvh; width: 100% !important; max-width: 100% !important; border-radius: 20px 20px 0 0 !important; }
  .nxm-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .modal-box { max-height: 92dvh; overflow-y: auto; }

  /* Toasts nicht unter der unteren Navigation */
  #toast-container, .toast-container { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 380px) {
  .ads-pkgs, .ads-vlist { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ads-pkg-views { font-size: 17px; } .ads-pkg-price { font-size: 15px; }
  .co-method .co-method-logo { width: 40px; height: 30px; }
  .nx-social-btn { width: 100%; }
}
