/* ec-account-extras.css — §SUPPORT-V2 / §GIFT-CODES 2026-10-27 (Owner-Go E6/E8)
 *
 * „Meine Tickets“ (ec-account-extras.js) im Obsidian-Glas wie der Melde-Dialog: ueber Support-Dialog
 * und Einstellungen (Desktop 10050, Handy-Modalebene 2147482700), unter Lightbox und Toasts.
 * Handy (< 600 px): Bottom-Sheet, scrollt intern. Doppelte ID + !important nur dort, wo die
 * Mobile-Shell (mobile-overrides.css 26.14) selbst !important setzt (Lehre §MODERATION-REPORTS).
 */
html body #ec-support-inbox.modal-overlay { z-index: 10050 !important; }
html body.ec-mobile-shell-active #ec-support-inbox.modal-overlay { z-index: 2147482700 !important; }
html body #ec-support-inbox#ec-support-inbox.active {
  display: flex; align-items: center; justify-content: center;
  padding: 20px calc(16px + env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) calc(16px + env(safe-area-inset-left, 0px));
  background: rgba(2, 3, 6, .72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
html body #ec-support-inbox#ec-support-inbox .ec-supbox {
  position: relative; width: 100%; max-width: 520px !important; box-sizing: border-box;
  max-height: min(92vh, 820px); max-height: min(92dvh, 820px); overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  text-align: left; color: #eef0f6 !important;
  background: linear-gradient(180deg, rgba(22, 24, 30, .94), rgba(10, 11, 14, .96)) !important;
  border: 1px solid rgba(255, 255, 255, .10) !important; border-radius: 20px !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
}
html body #ec-support-inbox#ec-support-inbox .modal-handle { display: none; }
html body #ec-support-inbox#ec-support-inbox h2 { margin: 0 44px 6px 0; font-size: 18px; font-weight: 700; color: #f6f7fb; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; min-width: 40px; padding: 0; margin: 0;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); color: inherit; font-size: 22px; line-height: 1; cursor: pointer;
}
html body #ec-support-inbox#ec-support-inbox .ec-supbox-hint,
html body #ec-support-inbox#ec-support-inbox .ec-supbox-note { margin: 0 0 12px; font-size: 12px; line-height: 1.5; color: rgba(230, 230, 230, .66); }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 56px; margin: 0; padding: 10px 12px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(255, 255, 255, .04); color: inherit; text-align: left; cursor: pointer; box-sizing: border-box;
}
html body #ec-support-inbox#ec-support-inbox .ec-supbox-row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-row-main strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-row-main small { font-size: 11.5px; color: rgba(230, 230, 230, .6); }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-state { flex: 0 0 auto; font-size: 11.5px; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: rgba(230, 230, 230, .8); }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-state.is-new { border-color: rgba(193, 193, 193, .6); color: #e3e3e3; background: rgba(193, 193, 193, .1); }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-back { margin: 0 0 10px; padding: 6px 0; border: 0; background: none; color: #e3e3e3; font-size: 13px; cursor: pointer; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-tk { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-tk strong { font-size: 15px; overflow-wrap: anywhere; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-tk small { font-size: 11.5px; color: rgba(230, 230, 230, .6); }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-thread { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-msg { max-width: 90%; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(255, 255, 255, .04); }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-msg--team { align-self: flex-start; border-color: rgba(193, 193, 193, .35); background: rgba(193, 193, 193, .07); }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-msg--me { align-self: flex-end; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-msg-h { font-size: 11px; color: rgba(230, 230, 230, .6); margin-bottom: 4px; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-msg-b { font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; color: #f6f7fb; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-reply label { display: block; margin-bottom: 6px; font-size: 13px; color: rgba(230, 230, 230, .8); }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-reply textarea {
  display: block; width: 100% !important; box-sizing: border-box; min-height: 96px; resize: vertical; margin: 0;
  padding: 10px 12px !important; border-radius: 12px !important; font: inherit; font-size: 16px !important; line-height: 1.45;
  color: #f6f7fb !important; background: rgba(0, 0, 0, .35) !important; border: 1px solid rgba(255, 255, 255, .12) !important;
}
html body #ec-support-inbox#ec-support-inbox .ec-supbox-reply-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-reply-foot small { font-size: 11px; color: rgba(230, 230, 230, .6); }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-btn {
  min-height: 44px; margin: 0; padding: 0 16px; border-radius: 12px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700;
  color: #eef0f6; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
}
html body #ec-support-inbox#ec-support-inbox .ec-supbox-btn--primary { color: #101010; background: linear-gradient(180deg, #cecece, #afafaf); border-color: rgba(206, 206, 206, .7); }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-btn[disabled] { opacity: .5; cursor: not-allowed; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-empty { text-align: center; padding: 24px 8px; color: rgba(230, 230, 230, .7); }
@media (max-width: 599px) {
  html body #ec-support-inbox#ec-support-inbox.active { align-items: flex-end; padding: 0; }
  html body #ec-support-inbox#ec-support-inbox .ec-supbox {
    max-width: none !important; border-radius: 20px 20px 0 0 !important;
    max-height: calc(100vh - 24px - env(safe-area-inset-top, 0px)); max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px));
    padding: 10px calc(16px + env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) calc(16px + env(safe-area-inset-left, 0px)) !important;
  }
  html body #ec-support-inbox#ec-support-inbox .modal-handle { display: block; width: 40px; height: 4px; margin: 0 auto 10px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
  html body #ec-support-inbox#ec-support-inbox .ec-supbox-msg { max-width: 100%; }
}

/* §SUPPORT-DIAG-2026-11-13: Diagnose-Paket (Support-Key) im Ticket + Vorschau */
html body #ec-support-inbox#ec-support-inbox .ec-supbox-diag { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(193, 193, 193, .25); background: rgba(193, 193, 193, .05); }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-diag-h { display: flex; flex-direction: column; gap: 4px; margin: 0 0 10px; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-diag-h small { font-size: 12px; line-height: 1.45; color: rgba(230, 230, 230, .66); }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-diag-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-diag-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-diag-item > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-diag-item small { color: rgba(230, 230, 230, .6); font-size: 11px; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-diag-dl { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 6px 12px; margin: 0 0 12px; font-size: 13px; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-diag-dl dt { color: rgba(230, 230, 230, .66); }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-diag-dl dd { margin: 0; overflow-wrap: anywhere; font-family: var(--font-mono, monospace); font-size: 12px; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-diag-raw { margin: 0 0 12px; font-size: 12px; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-diag-raw summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-diag-raw pre { max-height: 40vh; overflow: auto; margin: 0; padding: 10px; border-radius: 10px; background: rgba(0, 0, 0, .35); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-diag-ttl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; font-size: 13px; }
html body #ec-support-inbox#ec-support-inbox .ec-supbox-diag-ttl select { min-height: 44px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(193, 193, 193, .35); background: var(--bg, #0b0b0b); color: inherit; font: inherit; font-size: 16px; }

/* Einstieg im Support-Dialog + Plaketten */
.ec-sup-inbox-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; margin: 0 0 12px; padding: 0 14px;
  border-radius: 12px; border: 1px solid rgba(193, 193, 193, .35); background: rgba(193, 193, 193, .07); color: inherit; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-sizing: border-box;
}
.ec-sup-diag-btn { font-weight: 500; }
.ec-sup-badge, .ec-sup-row-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  background: #b91c1c; color: #fff; font-size: 11px; font-weight: 700;
}
.ec-sup-badge[hidden], .ec-sup-row-badge[hidden] { display: none !important; }

/* Gutschein im Premium-Dialog (nur Web) */
.pm-gift { margin: 0 16px 16px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(114, 114, 114, .3); background: rgba(114, 114, 114, .06); }
.pm-gift[hidden] { display: none !important; }
.pm-gift-t { font-size: 13px; font-weight: 700; margin-bottom: 10px; color: var(--text, #f1f1f1); }
.pm-gift-row { display: flex; gap: 8px; }
.pm-gift-row input {
  flex: 1 1 auto; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(114, 114, 114, .35);
  background: var(--bg, #0b0b0b); color: var(--text, #fff); font-family: var(--font-mono, monospace); font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
}
.pm-gift-row button { flex: 0 0 auto; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(114, 114, 114, .5); background: rgba(114, 114, 114, .18); color: var(--text, #fff); font-weight: 700; cursor: pointer; }
.pm-gift-row button[disabled] { opacity: .5; cursor: wait; }
.pm-gift-msg { min-height: 16px; margin-top: 8px; font-size: 12.5px; line-height: 1.45; }
.pm-gift-msg.is-ok { color: #d4d4d4; }
.pm-gift-msg.is-err { color: #fca5a5; }

/* §TRUST-SAFETY-2026-10-28: Sperr-Dialog beim Login (#ec-suspension-box) im selben Glas wie „Meine Tickets“
   (Regeln gespiegelt), dazu Abschnitts-Titel „Hinweise vom Moderationsteam“ und das 2FA-Feld. */
html body #ec-suspension-box.modal-overlay { z-index: 10050 !important; }
html body.ec-mobile-shell-active #ec-suspension-box.modal-overlay { z-index: 2147482700 !important; }
html body #ec-suspension-box#ec-suspension-box.active {
  display: flex; align-items: center; justify-content: center;
  padding: 20px calc(16px + env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) calc(16px + env(safe-area-inset-left, 0px));
  background: rgba(2, 3, 6, .72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
html body #ec-suspension-box#ec-suspension-box .ec-supbox {
  position: relative; width: 100%; max-width: 520px !important; box-sizing: border-box;
  max-height: min(92vh, 820px); max-height: min(92dvh, 820px); overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  text-align: left; color: #eef0f6 !important;
  background: linear-gradient(180deg, rgba(22, 24, 30, .94), rgba(10, 11, 14, .96)) !important;
  border: 1px solid rgba(255, 255, 255, .10) !important; border-radius: 20px !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
}
html body #ec-suspension-box#ec-suspension-box .modal-handle { display: none; }
html body #ec-suspension-box#ec-suspension-box h2 { margin: 0 44px 6px 0; font-size: 18px; font-weight: 700; color: #f6f7fb; }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; min-width: 40px; padding: 0; margin: 0;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); color: inherit; font-size: 22px; line-height: 1; cursor: pointer;
}
html body #ec-suspension-box#ec-suspension-box .ec-supbox-hint,
html body #ec-suspension-box#ec-suspension-box .ec-supbox-note { margin: 0 0 12px; font-size: 12px; line-height: 1.5; color: rgba(230, 230, 230, .66); }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 56px; margin: 0; padding: 10px 12px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(255, 255, 255, .04); color: inherit; text-align: left; cursor: pointer; box-sizing: border-box;
}
html body #ec-suspension-box#ec-suspension-box .ec-supbox-row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-row-main strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-row-main small { font-size: 11.5px; color: rgba(230, 230, 230, .6); }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-state { flex: 0 0 auto; font-size: 11.5px; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: rgba(230, 230, 230, .8); }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-state.is-new { border-color: rgba(193, 193, 193, .6); color: #e3e3e3; background: rgba(193, 193, 193, .1); }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-back { margin: 0 0 10px; padding: 6px 0; border: 0; background: none; color: #e3e3e3; font-size: 13px; cursor: pointer; }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-tk { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-tk strong { font-size: 15px; overflow-wrap: anywhere; }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-tk small { font-size: 11.5px; color: rgba(230, 230, 230, .6); }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-thread { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-msg { max-width: 90%; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(255, 255, 255, .04); }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-msg--team { align-self: flex-start; border-color: rgba(193, 193, 193, .35); background: rgba(193, 193, 193, .07); }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-msg--me { align-self: flex-end; }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-msg-h { font-size: 11px; color: rgba(230, 230, 230, .6); margin-bottom: 4px; }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-msg-b { font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; color: #f6f7fb; }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-reply label { display: block; margin-bottom: 6px; font-size: 13px; color: rgba(230, 230, 230, .8); }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-reply textarea {
  display: block; width: 100% !important; box-sizing: border-box; min-height: 96px; resize: vertical; margin: 0;
  padding: 10px 12px !important; border-radius: 12px !important; font: inherit; font-size: 16px !important; line-height: 1.45;
  color: #f6f7fb !important; background: rgba(0, 0, 0, .35) !important; border: 1px solid rgba(255, 255, 255, .12) !important;
}
html body #ec-suspension-box#ec-suspension-box .ec-supbox-reply-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-reply-foot small { font-size: 11px; color: rgba(230, 230, 230, .6); }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-btn {
  min-height: 44px; margin: 0; padding: 0 16px; border-radius: 12px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700;
  color: #eef0f6; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
}
html body #ec-suspension-box#ec-suspension-box .ec-supbox-btn--primary { color: #101010; background: linear-gradient(180deg, #cecece, #afafaf); border-color: rgba(206, 206, 206, .7); }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-btn[disabled] { opacity: .5; cursor: not-allowed; }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-empty { text-align: center; padding: 24px 8px; color: rgba(230, 230, 230, .7); }
@media (max-width: 599px) {
  html body #ec-suspension-box#ec-suspension-box.active { align-items: flex-end; padding: 0; }
  html body #ec-suspension-box#ec-suspension-box .ec-supbox {
    max-width: none !important; border-radius: 20px 20px 0 0 !important;
    max-height: calc(100vh - 24px - env(safe-area-inset-top, 0px)); max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px));
    padding: 10px calc(16px + env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) calc(16px + env(safe-area-inset-left, 0px)) !important;
  }
  html body #ec-suspension-box#ec-suspension-box .modal-handle { display: block; width: 40px; height: 4px; margin: 0 auto 10px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
  html body #ec-suspension-box#ec-suspension-box .ec-supbox-msg { max-width: 100%; }
}
html body #ec-support-inbox#ec-support-inbox .ec-supbox-sub { margin: 4px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(230, 230, 230, .7); }
html body #ec-support-inbox#ec-support-inbox .ec-notice-row { border-color: rgba(187, 187, 187, .35); }
html body #ec-suspension-box#ec-suspension-box .ec-supbox-reply input {
  display: block; width: 100% !important; box-sizing: border-box; margin: 0 0 8px; padding: 10px 12px !important; border-radius: 12px !important;
  font-size: 16px !important; letter-spacing: .2em; color: #f6f7fb !important; background: rgba(0, 0, 0, .35) !important; border: 1px solid rgba(255, 255, 255, .12) !important;
}
html body #ec-suspension-box#ec-suspension-box .ec-supbox-hint { font-size: 14px; color: #eef0f6; }
