/* Persönliche Bereiche sind getrennt, bestehende Turnier- und Ticketoberflächen bleiben eingebettet. */
body.public-layout .players-profile[data-premium-locked="true"] .players-hero-kpis strong,
body.public-layout .players-profile[data-premium-locked="true"] .players-stats-grid strong,
body.public-layout .players-profile[data-premium-locked="true"] .players-history-meta,
body.public-layout .players-profile[data-premium-locked="true"] .players-mode-btn em { filter: blur(5px); user-select: none; }
body.public-layout .players-profile[data-premium-locked="true"] .profile-empty-stats { display: none; }
body.public-layout .profile-workspace[data-profile-structure] [hidden] { display: none !important; }
body.public-layout .profile-workspace[data-profile-structure] { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 0 32px; background: #080808; border: 0; border-radius: 0; overflow: visible; }
body.public-layout .profile-workspace[data-profile-structure] > .profile-workspace-nav { grid-column: 1; grid-row: 1 / 5; display: flex; flex-direction: column; align-items: stretch; align-self: stretch; padding: 4px 20px 0 0; border: 0; border-right: 1px solid #393126; gap: 24px; }
body.public-layout .profile-personal-menu { display: grid; gap: 6px; }
body.public-layout .profile-personal-menu > .btn { justify-content: flex-start; text-align: left; font-size: 13px; min-height: 46px; padding: 12px; border: 1px solid transparent; background: transparent; border-radius: 6px; }
body.public-layout .profile-personal-menu > .is-active { background: #251d0f; color: #f5ba42; box-shadow: inset 3px 0 #f5a524; }
body.public-layout .profile-workspace[data-view="tickets"][data-ticket-scope="team"] [data-support-team-link] { background: #251d0f; color: #f5ba42; border-color: #8a631e; }
body.public-layout .profile-work-links { display: grid; gap: 8px; border-top: 1px solid #393126; padding-top: 20px; }
body.public-layout .profile-work-links > p { color: #b5b3ae; font-size: 11px; margin: 0 0 4px; }
body.public-layout .profile-work-links .btn { min-height: 44px; padding: 10px; font-size: 12px; white-space: normal; justify-content: flex-start; }
body.public-layout .profile-workspace[data-profile-structure] .profile-workspace-nav .players-profile-tabs { display: block; flex: none; padding: 0; min-width: 0; }
body.public-layout .profile-workspace[data-profile-structure] .players-inline-search { width: 100%; margin: 0; }
body.public-layout .profile-workspace[data-profile-structure] .players-inline-search-input { min-width: 0; width: 100%; padding-left: 30px; }
body.public-layout .profile-workspace[data-profile-structure] .players-inline-results { width: min(360px, calc(100vw - 48px)); left: 0; right: auto; z-index: 40; }
body.public-layout .profile-workspace[data-profile-structure] > .profile-workspace-pane { grid-column: 2; min-width: 0; }
body.public-layout .profile-workspace[data-profile-structure] .profile-view-title { font-size: 28px; margin: 0 0 20px; }
body.public-layout .profile-workspace[data-profile-structure] .players-meta { font-size: 11px !important; padding: 0 0 12px; color: #b5b3ae; }
/* Die Profilkarte bleibt beim Bedienen ihrer Inhalte ruhig und dauerhaft erkennbar. */
body.public-layout .profile-workspace[data-profile-structure] .players-discord-card,
body.public-layout .profile-workspace[data-profile-structure] .players-discord-card:hover { background: #111112; border: 1px solid #51412a; border-radius: 12px; padding: 20px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24); transform: none; transition: none; overflow: visible; }
body.public-layout .profile-workspace[data-profile-structure] .players-discord-card::before { content: none; }
body.public-layout .profile-workspace[data-profile-structure] .players-discord-body { padding: 0; display: block; }
body.public-layout .profile-workspace[data-profile-structure] .players-hero { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: center; padding: 0 0 16px; margin: 0 0 16px; border: 0; border-bottom: 1px solid #393126; gap: 20px; }
body.public-layout .profile-workspace[data-profile-structure] .players-head--discord { display: flex; flex-direction: row; align-items: center; gap: 14px; min-width: 0; flex: 1; }
body.public-layout .profile-workspace[data-profile-structure] .players-name-wrap { min-width: 0; text-align: left; }
body.public-layout .profile-workspace[data-profile-structure] .players-head--discord .players-avatar { width: 60px; height: 60px; border-radius: 12px; }
body.public-layout .profile-workspace[data-profile-structure] .players-profile-name { font-size: 24px; overflow-wrap: anywhere; }
body.public-layout .profile-workspace[data-profile-structure] .players-role-chip { font-size: 11px; margin-top: 6px; padding: 0; border: 0; background: transparent; color: #b5b3ae; }
body.public-layout .profile-workspace[data-profile-structure] .profile-compact-rank { min-width: 120px; padding: 0 0 0 20px; border: 0; border-left: 1px solid #51412a; text-align: right; }
body.public-layout .profile-workspace[data-profile-structure] .profile-compact-rank > .players-section-title { display: none; }
body.public-layout .profile-workspace[data-profile-structure] .players-ranking-grid { display: block; }
body.public-layout .profile-workspace[data-profile-structure] .players-ranking-grid > div { display: none; border: 0; padding: 0; }
body.public-layout .profile-workspace[data-profile-structure] .players-ranking-grid > .is-active { display: flex; flex-direction: column; gap: 3px; align-items: flex-end; }
body.public-layout .profile-workspace[data-profile-structure] .players-ranking-grid span { font-size: 11px; color: #b5b3ae; }
body.public-layout .profile-workspace[data-profile-structure] .players-ranking-grid strong { font-size: 24px; color: #f5ba42; }
body.public-layout .profile-workspace[data-profile-structure] .profile-performance h3 { font-size: 18px; margin: 0 0 12px; }
body.public-layout .profile-workspace[data-profile-structure] .players-mode-switch { display: flex; width: 100%; justify-content: flex-start; padding: 0; gap: 6px; border: 0; border-bottom: 1px solid #393126; background: transparent; border-radius: 0; margin-bottom: 12px; }
body.public-layout .profile-workspace[data-profile-structure] .players-mode-btn { flex: 0 1 auto; min-height: 48px; padding: 10px 18px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; }
body.public-layout .profile-workspace[data-profile-structure] .players-mode-btn.is-active { background: #1b160e; border-bottom-color: #f5a524; color: #f5ba42; }
body.public-layout .profile-workspace[data-profile-structure] .players-mode-btn em { display: none; }
body.public-layout .profile-workspace[data-profile-structure] .players-hero-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; max-width: none; gap: 0; border: 0; background: transparent; }
body.public-layout .profile-workspace[data-profile-structure] .players-hero-kpis > div { background: transparent; border: 0; border-left: 1px solid #393126; border-radius: 0; min-height: 0; padding: 0 20px; }
body.public-layout .profile-workspace[data-profile-structure] .players-hero-kpis > div:first-child { border-left: 0; padding-left: 0; }
body.public-layout .profile-workspace[data-profile-structure] .players-hero-kpis span { font-size: 11px; color: #b5b3ae; text-transform: none; letter-spacing: 0; }
body.public-layout .profile-workspace[data-profile-structure] .players-hero-kpis strong { font-size: 30px; line-height: 1.4; }
body.public-layout .profile-workspace[data-profile-structure] .has-no-data .players-hero-kpis strong { font-size: 16px; }
body.public-layout .profile-empty-stats { display: none; margin: 0; font-size: 13px; line-height: 1.6; color: #b5b3ae; }
body.public-layout .profile-workspace[data-profile-structure] .has-no-data .players-hero-kpis { display: none; }
body.public-layout .has-no-data .profile-empty-stats { display: block; }
body.public-layout .profile-workspace[data-profile-structure] .profile-stat-details { margin: 8px 0 0; border-bottom: 1px solid #393126; padding-bottom: 0; }
body.public-layout .profile-stat-details > summary, body.public-layout .profile-account-info > summary { cursor: pointer; min-height: 44px; padding: 12px 0; color: #e0d7c6; font-size: 13px; }
body.public-layout .profile-workspace[data-profile-structure] .profile-stat-details .players-panel { background: #111112; padding: 16px; border: 1px solid #393126; margin-top: 12px; }
body.public-layout .profile-workspace[data-profile-structure] .players-panels:empty { display: none; }
body.public-layout .profile-workspace[data-profile-structure] .players-history-wrap { border: 0; margin: 0; padding: 8px 0 0; }
body.public-layout .profile-overview-extras { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; margin: 28px 0; }
body.public-layout .profile-overview-extras h3 { font-size: 18px; margin: 0 0 16px; }
body.public-layout .profile-muted { color: #b5b3ae; font-size: 13px; line-height: 1.6; }
body.public-layout .profile-next-entry { max-width: 380px; border: 1px solid #604725; border-radius: 8px; background: #111112; padding: 16px; margin: 0 0 12px; }
body.public-layout .profile-next-entry.has-image { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 16px; align-items: center; }
body.public-layout .profile-next-content { min-width: 0; overflow-wrap: anywhere; }
body.public-layout .profile-next-image { display: block; width: 100%; max-height: 180px; aspect-ratio: 1; object-fit: contain; border-radius: 6px; }
body.public-layout .profile-next-entry h4 { font-size: 16px; margin: 0 0 16px; }
body.public-layout .profile-highlight { color: #f5ba42; font-size: 14px; }
body.public-layout .profile-ticket-link { display: block; padding: 12px 0; border-bottom: 1px solid #393126; font-size: 13px; }
body.public-layout .profile-text-link { display: inline-block; padding: 12px 0; color: #f5ba42; font-size: 12px; }
body.public-layout .profile-unread-count { padding: 2px 6px; border-radius: 4px; background: #f5a524; color: #171007; font-size: 11px; margin-left: auto; }
body.public-layout .profile-passkey-hint { font-size: 11px; color: #b5b3ae; margin: 8px 0 0; }
body.public-layout .profile-passkey-hint .profile-text-link { padding: 0; }
body.public-layout .profile-workspace[data-profile-structure][data-view="settings"] .profile-performance,
body.public-layout .profile-workspace[data-profile-structure][data-view="settings"] .profile-stat-details,
body.public-layout .profile-workspace[data-profile-structure][data-view="settings"] .players-history-wrap,
body.public-layout .profile-workspace[data-profile-structure][data-view="settings"] .profile-passkey-hint,
body.public-layout .profile-workspace[data-profile-structure][data-view="settings"] .profile-overview-extras,
body.public-layout .profile-workspace[data-profile-structure]:not([data-view="settings"]) .profile-settings-content { display: none; }
body.public-layout .profile-workspace[data-profile-structure] .profile-settings-content > .players-panel { border: 0; background: transparent; padding: 0 0 24px; }
body.public-layout .profile-workspace[data-profile-structure] .players-links-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
body.public-layout .profile-workspace[data-profile-structure] .players-profile-edit-row { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 0; border: 0; }
body.public-layout .profile-workspace[data-profile-structure] .players-profile-edit-input { min-height: 44px; width: 100%; }
body.public-layout .profile-workspace[data-profile-structure] .players-profile-save-row { grid-column: 1 / -1; }
body.public-layout .profile-account-info { border-top: 1px solid #393126; border-bottom: 1px solid #393126; margin-top: 24px; }
body.public-layout .profile-account-info > div { display: flex; gap: 16px; justify-content: space-between; padding: 12px 0; font-size: 12px; overflow-wrap: anywhere; }
body.public-layout .profile-security .passkey-section { padding: 0; margin: 0; }
body.public-layout .profile-security .passkey-section > .container { width: 100%; max-width: none; margin: 0; padding: 0; }
body.public-layout .profile-security .passkey-panel { padding: 20px; margin: 0; background: #111112; }
body.public-layout .profile-security .passkey-message { overflow-wrap: anywhere; word-break: break-word; }
body.public-layout .profile-ticket-context { border-top: 1px solid #393126; margin-top: 28px; padding: 20px 0; }
body.public-layout .profile-ticket-context h3 { font-size: 16px; }
body.public-layout .profile-ticket-context p { color: #b5b3ae; font-size: 13px; }
body.public-layout .profile-workspace[data-profile-structure] .support-tabs { border-bottom: 1px solid #393126; }
body.public-layout .profile-workspace[data-profile-structure] .support-tabs [data-support-view="tickets"],
body.public-layout .profile-workspace[data-profile-structure] .support-tabs [data-support-view="team"] { min-height: 44px; }
body.public-layout .profile-workspace[data-profile-structure] select, body.public-layout .profile-workspace[data-profile-structure] option { color: #fafafa; background-color: #171718; }
body.public-layout .profile-workspace[data-profile-structure] :is(button, a, input, select, summary):focus-visible { outline: 2px solid #f5ba42; outline-offset: 4px; }
body.public-layout .profile-workspace[data-profile-structure][data-profile-self="false"] .profile-work-links { display: none; }
body.public-layout .profile-tournament-periods { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
body.public-layout .profile-tournament-periods .btn { min-height: 44px; font-size: 12px; padding: 10px 14px; }
body.public-layout .profile-tournament-periods [aria-pressed="true"] { border-color: #f5a524; color: #f5ba42; background: #251d0f; }
body.public-layout .profile-tournament-time { color: #f5ba42; font-size: 12px; }
body.public-layout .profile-tournament-relation { color: #b5b3ae; font-size: 12px; }
@media (max-width: 1050px) {
  body.public-layout .profile-workspace[data-profile-structure] { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
  body.public-layout .profile-overview-extras { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body.public-layout .profile-next-entry.has-image { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.public-layout .profile-next-image { order: -1; }
  body.public-layout .profile-workspace[data-profile-structure] .players-discord-card,
  body.public-layout .profile-workspace[data-profile-structure] .players-discord-card:hover { padding: 16px; }
  body.public-layout .profile-workspace[data-profile-structure] { display: block; }
  body.public-layout .profile-workspace[data-profile-structure] > .profile-workspace-nav { border: 0; padding: 0; margin: 0 0 24px; gap: 16px; }
  body.public-layout .profile-personal-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.public-layout .profile-personal-menu > .btn { min-width: 0; background: #111112; font-size: 12px; }
  body.public-layout .profile-workspace[data-profile-structure] .players-profile-name { font-size: 21px; }
  body.public-layout .profile-workspace[data-profile-structure] .players-head--discord .players-avatar { width: 48px; height: 48px; }
  body.public-layout .profile-workspace[data-profile-structure] .players-hero { gap: 14px; }
  body.public-layout .profile-workspace[data-profile-structure] .profile-compact-rank { min-width: 95px; padding-left: 10px; }
  body.public-layout .profile-workspace[data-profile-structure] .players-ranking-grid strong { font-size: 20px; }
  body.public-layout .profile-workspace[data-profile-structure] .players-mode-switch { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 0; }
  body.public-layout .profile-workspace[data-profile-structure] .players-mode-btn { padding: 10px 5px; min-width: 0; font-size: 11px; white-space: normal; }
  body.public-layout .profile-workspace[data-profile-structure] .players-mode-btn span { white-space: normal; }
  body.public-layout .profile-workspace[data-profile-structure] .players-hero-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
  body.public-layout .profile-workspace[data-profile-structure] .players-hero-kpis > div:nth-child(3) { border-left: 0; padding-left: 0; }
  body.public-layout .profile-workspace[data-profile-structure] .players-links-grid { grid-template-columns: minmax(0, 1fr); }
  body.public-layout .profile-work-links { grid-template-columns: 1fr 1fr; }
  body.public-layout .profile-work-links > p { grid-column: 1 / -1; }
}

/* Mobile Zusatztexte und Kennzahlen bleiben auch bei größerer Schrift lesbar. */
@media (max-width: 640px) {
  body.public-layout .profile-workspace[data-profile-structure] :is(.players-role-chip, .players-ranking-grid span, .players-hero-kpis span, .players-mode-btn) { font-size: 13px; line-height: 1.5; }
  body.public-layout .profile-workspace[data-profile-structure] .players-meta { font-size: 13px !important; }
  body.public-layout :is(.profile-work-links > p, .profile-passkey-hint, .profile-unread-count) { font-size: 12px; }
  body.public-layout .profile-personal-menu > .btn { font-size: 13px; }
  body.public-layout .profile-workspace[data-profile-structure] :is(.players-hero-kpis strong, .players-ranking-grid strong) { white-space: normal; overflow-wrap: anywhere; }
}
