/* Eine fließende Profilkarte mit zwei Ansichten, ohne Skalierung von Text oder Bedienelementen. */
.profile-workspace { --profile-gap: clamp(10px, 1.5vh, 20px); border: 1px solid #3b3020; border-radius: 12px; background: #111112; overflow: clip; overflow-anchor: none; }
.profile-workspace-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px clamp(16px, 2vw, 26px); border-bottom: 1px solid #302a22; }
.profile-workspace-nav .btn { min-height: 40px; padding: 8px 16px; font-size: 13px; }
.profile-workspace-nav .is-active { color: #f5ba42; border-color: #8a631e; background: #292011; }
.profile-workspace-pane[hidden] { display: none !important; }
body.public-layout .profile-workspace-pane > .players-meta { margin: 0 !important; padding: 12px 20px 0; font-size: 12px !important; }
body.public-layout .profile-workspace-pane .players-profile { margin: 0; width: 100%; }
body.public-layout .profile-workspace-pane .players-discord-card { border: 0; border-radius: 0; box-shadow: none; }
body.public-layout .profile-workspace .players-profile-tabs [data-my-tournaments] { display: none; }
body.public-layout .profile-workspace .players-profile-tabs:empty { display: none; }
body.public-layout .profile-workspace .players-grid:empty { display: none; }
body.public-layout .profile-workspace .reveal { opacity: 1; transform: none; transition: none; }
body.public-layout .profile-workspace #meine-turniere { padding: 0; margin: 0; border: 0; background: transparent; scroll-margin-top: 128px; }
body.public-layout .profile-workspace .registration-active-list { display: grid; gap: 14px; }
body.public-layout .profile-workspace .registration-archive { margin-top: 14px; border-top: 1px solid #302a22; padding-top: 12px; }
body.public-layout .profile-workspace .registration-archive > summary { cursor: pointer; color: #f5ba42; font-size: 13px; }
body.public-layout .profile-workspace .registration-archive-list { display: grid; gap: 10px; padding-top: 12px; }
body.public-layout .profile-workspace #meine-turniere > .container { width: 100%; max-width: none; padding: var(--profile-gap) clamp(16px, 2vw, 26px); box-sizing: border-box; }
body.public-layout .profile-workspace .registration-heading { margin-bottom: 12px; gap: 12px; }
body.public-layout .profile-workspace .registration-heading h2 { font-size: clamp(22px, 2vw, 28px); }
body.public-layout .profile-workspace .registration-heading .eyebrow { display: none; }
body.public-layout .profile-workspace .registration-heading p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; }
body.public-layout .profile-workspace .registration-heading p:not(.registration-note):not(.eyebrow) { display: none; }
body.public-layout .profile-workspace .has-active-registration > .container > a.btn { display: none; }
body.public-layout .profile-workspace .registration-heading .btn { min-height: 36px; padding: 8px 12px; font-size: 12px; }
body.public-layout .profile-workspace .registration-ticket-head { padding: 14px 16px; }
body.public-layout .profile-workspace .registration-ticket-head h3 { font-size: clamp(20px, 1.8vw, 26px); }
body.public-layout .profile-workspace .registration-ticket-head h3 { margin: 4px 0; }
body.public-layout .profile-workspace .registration-ticket-head .registration-team-name { margin: 0; font-size: 14px; }
body.public-layout .profile-workspace .registration-status { font-size: 12px; }
body.public-layout .profile-workspace .registration-sync { font-size: 12px; padding: 6px 10px; }
body.public-layout .profile-workspace .registration-ticket-setup,
body.public-layout .profile-workspace .registration-ticket-rules { padding: var(--profile-gap) 16px; }
body.public-layout .profile-workspace .registration-ticket h4 { font-size: 16px; margin: 0 0 10px; }
body.public-layout .profile-workspace .registration-ticket .btn { min-height: 38px; font-size: 13px; padding: 8px 12px; }
body.public-layout .profile-workspace .registration-ticket-form { gap: 10px; margin: 10px 0; }
body.public-layout .profile-workspace .registration-ticket-form input { padding: 10px 12px; }
body.public-layout .profile-workspace .registration-ticket-members li { padding: 9px 0; }
body.public-layout .profile-workspace .registration-ticket-setup > p,
body.public-layout .profile-workspace .registration-ticket-rules > p { margin-block: 8px; font-size: 14px; }
body.public-layout .profile-workspace .registration-ticket > details { margin: 0; }
@media (min-width: 761px) {
  body.public-layout .profile-workspace .players-profile-tabs .players-inline-search { order: 1; margin-left: auto; }
  body.public-layout.page-template-page-meinprofil-php .players-page:has(.profile-workspace) { padding-top: 82px; padding-bottom: 24px; }
  body.public-layout.page-template-page-meinprofil-php .players-page:has(.profile-workspace) > .container { width: min(1480px, calc(100% - 48px)); }
  body.public-layout.page-template-page-meinprofil-php .players-page:has(.profile-workspace) .events-header { margin-bottom: 12px; }
  body.public-layout.page-template-page-meinprofil-php .players-page:has(.profile-workspace) .section-title { font-size: clamp(26px, 2.6vw, 36px); margin: 0; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-profile-tabs { padding: 8px 20px; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-event-card { display: block; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-event-header--mode { padding: 10px 20px; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-discord-body { padding: var(--profile-gap) 20px; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-hero { margin-bottom: var(--profile-gap); padding-bottom: var(--profile-gap); }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-avatar { width: clamp(48px, 5vw, 68px); height: clamp(48px, 5vw, 68px); }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-profile-name { font-size: clamp(23px, 2.3vw, 32px); }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-hero-kpis > div { padding: 8px 12px; min-height: 0; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-hero-kpis strong { font-size: 22px; line-height: 1.2; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-panels { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 16px 24px; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-panel:first-child { grid-column: 1; grid-row: 1 / 3; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-panel:nth-child(2),
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-panel:nth-child(3) { grid-column: 2; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-links-grid > div,
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-ranking-grid > div,
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-stats-grid > div { padding: 8px 0; min-height: 32px; gap: 10px; font-size: 13px; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-profile-edit-input { min-height: 36px; padding: 8px 10px; font-size: 13px; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-links-grid { grid-template-columns: minmax(0, 1fr); }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-profile-edit-row { display: grid; grid-template-columns: minmax(88px, 110px) minmax(0, 1fr); align-items: center; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-history-wrap { margin-top: var(--profile-gap); padding-top: var(--profile-gap); }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-history-toggle { min-height: 36px; padding: 8px 14px; font-size: 12px; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-history-scroll { max-height: 200px; overflow: auto; }
}
@media (min-width: 761px) and (max-height: 820px) {
  .profile-workspace { --profile-gap: 10px; }
  .profile-workspace-nav { padding-block: 8px; }
  .profile-workspace-nav .btn { min-height: 36px; }
  body.public-layout.page-template-page-meinprofil-php .players-page:has(.profile-workspace) { padding-top: 74px; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-mode-btn { min-height: 38px; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-event-header--mode { padding-block: 6px; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-profile-edit-input { min-height: 32px; padding-block: 6px; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-head--discord .players-avatar { width: 48px; height: 48px; }
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-links-grid > div,
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-ranking-grid > div,
  body.public-layout.page-template-page-meinprofil-php .profile-workspace .players-stats-grid > div { min-height: 26px; padding-block: 3px; }
}
@media (max-width: 760px) {
  .profile-workspace { border-radius: 9px; }
  .profile-workspace-nav { padding: 12px; }
  .profile-workspace-nav .btn { flex: 1 1 auto; min-height: 44px; }
  body.public-layout .profile-workspace .registration-ticket-body { grid-template-columns: minmax(0, 1fr); }
  body.public-layout .profile-workspace .registration-ticket-rules { border-left: 0; border-top: 1px solid #302a22; }
}

/* Ansichten, Werkzeuge und Suche teilen sich eine gemeinsame Navigationsleiste. */
body.public-layout.page-template-page-meinprofil-php .profile-workspace-nav .players-profile-tabs { flex: 1 1 340px; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; }
body.public-layout .profile-workspace-nav > .btn { border-color: transparent; background: transparent; }
body.public-layout .profile-workspace-nav > .btn.is-active { color: #f5ba42; background: #292011; border-color: #8a631e; }
@media (max-width: 760px) {
  body.public-layout.page-template-page-meinprofil-php .profile-workspace-nav .players-profile-tabs { flex-basis: 100%; }
}
body.public-layout .profile-workspace-nav .players-inline-results { left: auto; right: 0; max-width: calc(100vw - 48px); }
