/* =========================================================
   PROFILE
   Chucky1337 Community
========================================================= */

.profile-page {
  padding: 42px 0 100px;
}

/* =========================================================
   PROFILE HEADER
========================================================= */

.profile-header {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .05);
}

.profile-banner {
  position: relative;
  height: 260px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 72% 25%,
      rgba(139, 92, 246, .23),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      var(--bg-soft),
      var(--bg)
    );
}

.profile-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      transparent 52%,
      rgba(0, 0, 0, .28)
    );
}

.profile-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* =========================================================
   PROFILE MAIN
========================================================= */

.profile-main {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 26px;
  padding: 0 34px 32px;
}

.profile-avatar-wrap {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin-top: -72px;
}

.profile-avatar {
  width: 145px;
  height: 145px;
  display: block;
  object-fit: cover;
  border: 6px solid var(--panel-solid);
  border-radius: 28px;
  background: var(--bg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}

.profile-identity {
  min-width: 0;
  flex: 1 1 auto;
  padding-top: 18px;
}

/* =========================================================
   NAME / VERIFIED
========================================================= */

.profile-name-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-name-row h1 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 620;
}

.verified-check {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  line-height: 0;
}

.verified-check-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 18px;
}

.profile-username {
  margin-top: 7px;
  color: var(--text-faint);
  overflow-wrap: anywhere;
}

/* =========================================================
   CONNECTED ACCOUNTS HEADER
========================================================= */

.profile-connected-accounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.profile-connected-account {
  min-width: 0;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: .72rem;
  text-decoration: none;
}

.profile-connected-account strong {
  min-width: 0;
  overflow: hidden;
  font-size: .72rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-connected-account small {
  min-width: 0;
  overflow: hidden;
  color: var(--text-faint);
  font-size: .62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connected-account-platform {
  flex: 0 0 auto;
  font-size: .57rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* =========================================================
   TWITCH HEADER ACCOUNT
========================================================= */

.twitch-profile-link {
  border-color: rgba(169, 112, 255, .22);
  background: rgba(145, 70, 255, .08);
  color: #a970ff;
  transition:
    border-color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.twitch-profile-link:hover {
  transform: translateY(-1px);
  border-color: rgba(169, 112, 255, .42);
  background: rgba(145, 70, 255, .13);
}

/* =========================================================
   DISCORD HEADER ACCOUNT
========================================================= */

.discord-profile-account {
  border-color: rgba(88, 101, 242, .22);
  background: rgba(88, 101, 242, .08);
  color: #b9beff;
}

.discord-profile-account .connected-account-platform {
  color: #8791ff;
}

/* =========================================================
   ROLES
========================================================= */

.role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.role-chip {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-soft);
  font-size: .72rem;
  font-weight: 650;
}

.role-chip img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
}

/* =========================================================
   PROFILE LAYOUT
========================================================= */

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 18px;
  margin-top: 18px;
}

.profile-content,
.profile-sidebar {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.profile-sidebar {
  align-content: start;
}

/* =========================================================
   CARDS
========================================================= */

.profile-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .035);
}

.profile-card h2 {
  margin: 7px 0 17px;
  font-size: 1.35rem;
  letter-spacing: -.03em;
  font-weight: 620;
}

.profile-kicker {
  color: var(--accent);
  font-size: .66rem;
  font-weight: 760;
  letter-spacing: .15em;
}

/* =========================================================
   BIO
========================================================= */

.profile-bio {
  margin: 0;
  white-space: pre-line;
  color: var(--text-soft);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.profile-empty {
  margin: 0;
  color: var(--text-faint);
}

/* =========================================================
   ACCOUNT META
========================================================= */

.profile-meta {
  display: grid;
  gap: 0;
}

.profile-meta > div {
  min-width: 0;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
}

.profile-meta > div:first-child {
  padding-top: 0;
}

.profile-meta > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.profile-meta span {
  flex: 0 0 auto;
  color: var(--text-faint);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-meta strong {
  min-width: 0;
  max-width: 64%;
  font-size: .85rem;
  font-weight: 620;
  line-height: 1.4;
  text-align: right;
  overflow-wrap: anywhere;
}

/* =========================================================
   ACCOUNT CONNECTION STATUS
========================================================= */

.account-connected {
  color: #3ecf8e;
}

.account-connected::before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  vertical-align: middle;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(62, 207, 142, .09);
}

.account-not-connected {
  color: var(--text-faint);
}

/* =========================================================
   CONNECTED ACCOUNTS CARD
========================================================= */

.profile-account-list {
  display: grid;
  gap: 9px;
}

.profile-account-entry {
  min-width: 0;
  min-height: 66px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--bg-soft);
  color: var(--text);
  text-decoration: none;
  transition:
    border-color .2s ease,
    background .2s ease,
    transform .2s ease;
}

a.profile-account-entry:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background:
    color-mix(
      in srgb,
      var(--bg-soft) 88%,
      var(--accent-soft)
    );
}

/* =========================================================
   ACCOUNT ICONS
========================================================= */

.profile-account-icon,
.profile-account-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
}

.profile-account-icon {
  display: grid;
  place-items: center;
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .04em;
}

.profile-account-avatar {
  display: block;
  object-fit: cover;
}

.profile-account-icon-twitch {
  border: 1px solid rgba(169, 112, 255, .2);
  background: rgba(145, 70, 255, .11);
  color: #b98aff;
}

.profile-account-icon-discord {
  border: 1px solid rgba(88, 101, 242, .22);
  background: rgba(88, 101, 242, .11);
  color: #8e97ff;
}

/* =========================================================
   ACCOUNT COPY
========================================================= */

.profile-account-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.profile-account-copy small {
  color: var(--text-faint);
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .11em;
}

.profile-account-copy strong {
  min-width: 0;
  overflow: hidden;
  font-size: .77rem;
  font-weight: 670;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-account-copy > span {
  min-width: 0;
  overflow: hidden;
  color: var(--text-faint);
  font-size: .62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================================================
   ACCOUNT STATE
========================================================= */

.profile-account-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 5px 7px;
  border: 1px solid rgba(62, 207, 142, .15);
  border-radius: 7px;
  background: rgba(62, 207, 142, .07);
  color: #3ecf8e;
  font-size: .55rem;
  font-weight: 750;
}

.profile-account-state::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* =========================================================
   TWITCH STATUS
========================================================= */

.twitch-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.twitch-status-list span {
  padding: 6px 9px;
  border: 1px solid rgba(145, 70, 255, .22);
  border-radius: 8px;
  background: rgba(145, 70, 255, .09);
  color: #b99aff;
  font-size: .7rem;
}

/* =========================================================
   SOCIAL LINKS
========================================================= */

.social-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-link-list a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: .77rem;
  text-decoration: none;
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;
}

.social-link-list a:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: var(--accent-soft);
}

/* =========================================================
   TEAM SECURITY CARD
========================================================= */

.profile-security-card {
  position: relative;
  overflow: hidden;
  border-color:
    color-mix(
      in srgb,
      var(--accent) 28%,
      var(--line)
    );
  background:
    linear-gradient(
      145deg,
      color-mix(
        in srgb,
        var(--accent-soft) 42%,
        transparent
      ),
      transparent 34%
    ),
    var(--panel);
}

.profile-security-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      color-mix(
        in srgb,
        var(--accent) 82%,
        white
      ),
      transparent
    );
  opacity: .8;
}

.profile-security-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.profile-security-heading h2 {
  margin-bottom: 0;
}

/* =========================================================
   SECURITY RISK BADGE
========================================================= */

.profile-security-risk {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-soft);
  font-size: .61rem;
  font-weight: 780;
  line-height: 1;
  white-space: nowrap;
}

.profile-security-risk::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: currentColor;
}

.profile-security-risk-low {
  border-color: rgba(62, 207, 142, .18);
  background: rgba(62, 207, 142, .08);
  color: #48d99a;
}

.profile-security-risk-medium {
  border-color: rgba(245, 183, 67, .2);
  background: rgba(245, 183, 67, .08);
  color: #efba55;
}

.profile-security-risk-high {
  border-color: rgba(255, 126, 61, .22);
  background: rgba(255, 126, 61, .09);
  color: #ff8c55;
}

.profile-security-risk-critical {
  border-color: rgba(255, 80, 80, .22);
  background: rgba(255, 80, 80, .09);
  color: #ff7373;
}

.profile-security-risk-unknown {
  color: var(--text-faint);
}

/* =========================================================
   SECURITY SCORE
========================================================= */

.profile-security-score {
  min-height: 74px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 20px 0 14px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background:
    radial-gradient(
      circle at 100% 0,
      color-mix(
        in srgb,
        var(--accent) 13%,
        transparent
      ),
      transparent 55%
    ),
    var(--bg-soft);
}

.profile-security-score > span {
  color: var(--text-faint);
  font-size: .62rem;
  font-weight: 760;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.profile-security-score strong {
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 680;
  text-align: right;
}

/* =========================================================
   SECURITY META
========================================================= */

.profile-security-meta {
  padding-top: 2px;
}

.profile-security-meta > div {
  min-height: 46px;
}

.profile-security-meta span {
  font-size: .62rem;
}

.profile-security-meta strong {
  max-width: 62%;
  font-size: .78rem;
}

.profile-security-ip {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;
  font-size: .74rem !important;
  letter-spacing: -.02em;
}

.security-state-warning {
  color: #ff8c55;
}

/* =========================================================
   SECURITY STATS
========================================================= */

.profile-security-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.profile-security-stats > div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background:
    color-mix(
      in srgb,
      var(--bg-soft) 93%,
      transparent
    );
}

.profile-security-stats span {
  color: var(--text-faint);
  font-size: .55rem;
  font-weight: 730;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.profile-security-stats strong {
  font-size: .92rem;
  font-weight: 670;
}

/* =========================================================
   SECURITY SHARED IP
========================================================= */

.profile-security-shared {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(245, 183, 67, .18);
  border-radius: 11px;
  background: rgba(245, 183, 67, .07);
}

.profile-security-shared span {
  color: #efba55;
  font-size: .58rem;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-security-shared strong {
  color: var(--text);
  font-size: .72rem;
  font-weight: 650;
  text-align: right;
}

/* =========================================================
   SECURITY RISK REASONS
========================================================= */

.profile-security-reasons {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.profile-security-reasons-title {
  margin-bottom: 2px;
  color: var(--text-faint);
  font-size: .58rem;
  font-weight: 780;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.profile-security-reason {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: 10px;
  background: var(--bg-soft);
}

.profile-security-reason strong {
  font-size: .72rem;
  font-weight: 690;
}

.profile-security-reason span {
  color: var(--text-soft);
  font-size: .67rem;
  line-height: 1.5;
}

.profile-security-reason small {
  color: var(--text-faint);
  font-size: .58rem;
  font-weight: 700;
}

.profile-security-reason-info {
  border-left-color: #6ba7ff;
}

.profile-security-reason-warning {
  border-left-color: #efba55;
}

.profile-security-reason-high {
  border-left-color: #ff8c55;
}

.profile-security-reason-critical {
  border-left-color: #ff7373;
}

/* =========================================================
   SECURITY NOTE
========================================================= */

.profile-security-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: .61rem;
  line-height: 1.55;
}

/* =========================================================
   PROFILE HEADER ACTIONS
========================================================= */

.profile-header-actions {
  flex: 0 0 auto;
  align-self: flex-end;
  margin-left: auto;
}

/* =========================================================
   REPORT BUTTON
========================================================= */

.profile-report-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 13px;
  border-color: rgba(248, 113, 113, .18);
  background: rgba(248, 113, 113, .045);
  color: var(--text-soft);
  white-space: nowrap;
  transition:
    color .18s ease,
    border-color .18s ease,
    background .18s ease,
    transform .18s ease;
}

.profile-report-button-icon {
  color: #f87171;
  font-size: .82rem;
  line-height: 1;
}

.profile-report-button:hover {
  transform: translateY(-1px);
  border-color: rgba(248, 113, 113, .38);
  background: rgba(248, 113, 113, .09);
  color: #f87171;
}

/* =========================================================
   DISCORD VOICE CARD
========================================================= */

.profile-voice-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(88, 101, 242, .22);
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(88, 101, 242, .13),
      transparent 46%
    ),
    var(--panel);
}

.profile-voice-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(120, 130, 255, .95),
      transparent
    );
  opacity: .85;
  pointer-events: none;
}

/* =========================================================
   VOICE HEADING
========================================================= */

.profile-voice-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.profile-voice-heading h2 {
  margin-bottom: 0;
}

/* =========================================================
   LIVE BADGE
========================================================= */

.profile-voice-live {
  flex: 0 0 auto;
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(62, 207, 142, .18);
  border-radius: 999px;
  background: rgba(62, 207, 142, .075);
  color: #48d99a;
  font-size: .52rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .09em;
}

.profile-voice-live::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(62, 207, 142, .08);
}

/* =========================================================
   VOICE CHANNEL
========================================================= */

.profile-voice-channel {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 13px;
  border: 1px solid rgba(88, 101, 242, .18);
  border-radius: 13px;
  background: rgba(88, 101, 242, .055);
}

/* =========================================================
   VOICE CHANNEL ICON
========================================================= */

.profile-voice-channel-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(88, 101, 242, .22);
  border-radius: 11px;
  background: rgba(88, 101, 242, .10);
  color: #8e97ff;
}

.profile-voice-channel-icon span {
  font-size: .82rem;
  line-height: 1;
}

/* =========================================================
   VOICE CHANNEL COPY
========================================================= */

.profile-voice-channel-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.profile-voice-channel-copy small {
  color: var(--text-faint);
  font-size: .52rem;
  font-weight: 780;
  letter-spacing: .09em;
}

.profile-voice-channel-copy strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: .82rem;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-voice-channel-copy > span {
  color: var(--text-faint);
  font-size: .62rem;
  line-height: 1.45;
}

.profile-voice-duration {
  color: var(--text-soft);
  font-weight: 650;
}

/* =========================================================
   VOICE STATUS LIST
========================================================= */

.profile-voice-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.profile-voice-status {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text-soft);
  font-size: .58rem;
  font-weight: 650;
}

.profile-voice-status.is-streaming {
  border-color: rgba(248, 113, 113, .18);
  background: rgba(248, 113, 113, .065);
  color: #f87171;
}

.profile-voice-status.is-camera {
  border-color: rgba(103, 167, 255, .18);
  background: rgba(103, 167, 255, .065);
  color: #67a7ff;
}

.profile-voice-status.is-muted {
  border-color: rgba(245, 183, 67, .18);
  background: rgba(245, 183, 67, .06);
  color: #efba55;
}

.profile-voice-status.is-deaf {
  color: var(--text-faint);
}

/* =========================================================
   VOICE MINDESTDAUER HINWEIS
========================================================= */

.profile-voice-estimated {
  margin: 12px 0 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: .58rem;
  line-height: 1.55;
}

/* =========================================================
   RESPONSIVE 1000
========================================================= */

@media (max-width: 1000px) {
  .profile-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .profile-main {
    padding-inline: 28px;
  }

  .profile-security-card {
    padding-inline: 22px;
  }

  .profile-security-heading {
    gap: 10px;
  }

  .profile-header-actions {
    margin-left: auto;
  }
}

/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 820px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-sidebar {
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-main {
    gap: 22px;
  }

  .profile-sidebar .profile-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .profile-security-card {
    grid-column: 1 / -1;
  }

  .profile-security-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .profile-header-actions {
    align-self: center;
  }

  .profile-voice-card {
    grid-column: auto;
  }
}

/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 620px) {
  .profile-page {
    padding: 18px 0 70px;
  }

  .profile-header {
    border-radius: var(--radius-lg);
  }

  .profile-banner {
    height: 180px;
  }

  .profile-main {
    display: block;
    padding: 0 20px 24px;
  }

  .profile-avatar-wrap {
    width: fit-content;
    margin-top: -54px;
  }

  .profile-avatar {
    width: 108px;
    height: 108px;
    border-width: 5px;
    border-radius: 22px;
  }

  .profile-identity {
    padding-top: 15px;
  }

  .profile-name-row {
    align-items: flex-start;
  }

  .profile-name-row h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .verified-check {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
    margin-top: 2px;
  }

  .verified-check-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .profile-connected-accounts {
    display: grid;
    grid-template-columns: 1fr;
  }

  .profile-connected-account {
    width: 100%;
  }

  .profile-connected-account strong,
  .profile-connected-account small {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .profile-card {
    padding: 22px;
  }

  .profile-sidebar {
    grid-template-columns: 1fr;
  }

  .profile-sidebar .profile-card:last-child:nth-child(odd),
  .profile-security-card {
    grid-column: auto;
  }

  .profile-meta > div {
    min-height: 48px;
  }

  .profile-account-entry {
    min-height: 64px;
  }

  .profile-security-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-header-actions {
    width: 100%;
    margin: 15px 0 0;
  }

  .profile-report-button {
    width: 100%;
  }

  .profile-voice-channel-copy strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {
  .profile-page {
    padding-top: 12px;
  }

  .profile-banner {
    height: 150px;
  }

  .profile-main {
    padding: 0 16px 20px;
  }

  .profile-avatar-wrap {
    margin-top: -46px;
  }

  .profile-avatar {
    width: 94px;
    height: 94px;
    border-radius: 19px;
  }

  .profile-name-row h1 {
    font-size: 2rem;
  }

  .profile-card {
    padding: 18px;
  }

  .profile-card h2 {
    font-size: 1.2rem;
  }

  .role-list {
    gap: 6px;
  }

  .role-chip {
    min-height: 32px;
    font-size: .67rem;
  }

  .profile-meta > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .profile-meta strong,
  .profile-security-meta strong {
    max-width: 100%;
    text-align: left;
  }

  .profile-account-entry {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
  }

  .profile-account-state {
    grid-column: 2;
    width: fit-content;
    margin-top: 2px;
  }

  .profile-account-copy strong,
  .profile-account-copy > span {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .social-link-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .social-link-list a {
    width: 100%;
    text-align: center;
  }

  .profile-security-heading {
    display: grid;
    gap: 10px;
  }

  .profile-security-risk {
    width: fit-content;
  }

  .profile-security-score {
    min-height: 68px;
    align-items: center;
  }

  .profile-security-score strong {
    font-size: 1.3rem;
  }

  .profile-security-stats {
    grid-template-columns: 1fr 1fr;
  }

  .profile-security-shared {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .profile-security-shared strong {
    text-align: left;
  }

  .profile-voice-heading {
    display: grid;
    gap: 9px;
  }

  .profile-voice-live {
    width: fit-content;
  }

  .profile-voice-channel {
    align-items: flex-start;
  }

  .profile-voice-status-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .profile-voice-status {
    width: 100%;
  }
}

/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) and (pointer: coarse) {
  .profile-connected-account,
  .profile-account-entry,
  .social-link-list a,
  .profile-report-button {
    min-height: 44px;
  }

  .twitch-profile-link:hover,
  a.profile-account-entry:hover,
  .social-link-list a:hover,
  .profile-report-button:hover {
    transform: none;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .twitch-profile-link,
  .profile-account-entry,
  .social-link-list a,
  .profile-report-button {
    transition: none;
  }
}