/* =========================================================
   PITCH. / USER REPORTS
   ========================================================= */

.profile-content {
  position: relative;
}

.profile-hero-actions {
  margin-left: auto;
  align-self: flex-start;
}

.pitch-report-trigger {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(225, 231, 239, 0.68);
  border-radius: 11px;
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: 160ms ease;
}

.pitch-report-trigger:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.065);
}

.pitch-report-trigger svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.pitch-report-trigger--match {
  margin-top: 7px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  font-size: 12px;
  opacity: 0.72;
}

.pitch-report-trigger--match:hover {
  opacity: 1;
}

.season-calendar-match__side--away .pitch-report-trigger--match {
  margin-left: auto;
}

.pitch-report-open,
.pitch-report-open body {
  overflow: hidden;
}

.pitch-report-modal[hidden],
.pitch-report-auth[hidden],
.pitch-report-form[hidden],
.pitch-report-success[hidden],
.pitch-report-error[hidden] {
  display: none !important;
}

.pitch-report-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 24px;
}

.pitch-report-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 8, 0.78);
  backdrop-filter: blur(12px);
}

.pitch-report-dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: min(780px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 0%, rgba(0, 255, 102, 0.08), transparent 35%),
    #090d12;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.56);
  color: #f6f8fb;
}

.pitch-report-dialog__head {
  padding: 22px 22px 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pitch-report-dialog__head span,
.pitch-report-target span,
.pitch-report-success > span {
  color: #00ff66;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.pitch-report-dialog__head h2 {
  margin: 5px 0 0;
  font-size: 22px;
  line-height: 1.1;
}

.pitch-report-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #a9b2bf;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.pitch-report-target {
  margin: 18px 22px 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pitch-report-target__avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background-color: #121922;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.pitch-report-target strong,
.pitch-report-target small {
  display: block;
}

.pitch-report-target strong {
  margin-top: 3px;
  font-size: 15px;
}

.pitch-report-target small {
  margin-top: 3px;
  color: #778392;
  font-size: 11px;
}

.pitch-report-form,
.pitch-report-auth,
.pitch-report-success {
  padding: 20px 22px 22px;
}

.pitch-report-form label {
  display: block;
  margin-bottom: 16px;
}

.pitch-report-form label > span {
  display: block;
  margin-bottom: 8px;
  color: #9da7b5;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pitch-report-form select,
.pitch-report-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: #0d131a;
  color: #f5f7fa;
  font: inherit;
  outline: none;
  transition: 160ms ease;
}

.pitch-report-form select {
  height: 46px;
  padding: 0 13px;
}

.pitch-report-form textarea {
  min-height: 140px;
  resize: vertical;
  padding: 13px;
  line-height: 1.55;
}

.pitch-report-form select:focus,
.pitch-report-form textarea:focus {
  border-color: rgba(0, 255, 102, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 255, 102, 0.08);
}

.pitch-report-form label > small {
  display: block;
  margin-top: 6px;
  text-align: right;
  color: #596575;
  font-size: 12px;
}

.pitch-report-note,
.pitch-report-error {
  border-radius: 11px;
  padding: 11px 12px;
  font-size: 11px;
  line-height: 1.5;
}

.pitch-report-note {
  color: #788494;
  background: rgba(255, 255, 255, 0.025);
}

.pitch-report-error {
  margin-top: 12px;
  color: #ff9b9b;
  border: 1px solid rgba(255, 89, 89, 0.16);
  background: rgba(255, 89, 89, 0.06);
}

.pitch-report-form footer {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.pitch-report-primary,
.pitch-report-secondary {
  min-height: 42px;
  border-radius: 11px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.pitch-report-primary {
  border: 1px solid #00ff66;
  background: #00ff66;
  color: #031008;
}

.pitch-report-primary:disabled {
  opacity: 0.5;
  cursor: wait;
}

.pitch-report-secondary {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: transparent;
  color: #a9b2bf;
}

.pitch-report-auth,
.pitch-report-success {
  text-align: center;
}

.pitch-report-auth strong,
.pitch-report-success h3 {
  display: block;
  margin: 0 0 7px;
  font-size: 20px;
}

.pitch-report-auth p,
.pitch-report-success p {
  margin: 0 auto 18px;
  max-width: 380px;
  color: #7f8a98;
  line-height: 1.55;
  font-size: 12px;
}

.pitch-report-success__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border: 1px solid rgba(0, 255, 102, 0.35);
  border-radius: 50%;
  background: rgba(0, 255, 102, 0.08);
  color: #00ff66;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
}

.pitch-report-success h3 {
  margin-top: 7px;
}

@media (max-width: 760px) {
  .profile-hero-actions {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
  }

  .pitch-report-trigger--profile {
    width: 100%;
  }

  .pitch-report-modal {
    padding: 12px;
  }

  .pitch-report-dialog {
    border-radius: 17px;
    max-height: calc(100vh - 24px);
  }

  .pitch-report-dialog__head,
  .pitch-report-form,
  .pitch-report-auth,
  .pitch-report-success {
    padding-left: 17px;
    padding-right: 17px;
  }

  .pitch-report-target {
    margin-left: 17px;
    margin-right: 17px;
  }
}

.season-calendar-match__identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.season-calendar-match__side--away .season-calendar-match__identity {
  align-items: flex-end;
}

@media (max-width: 760px) {
  .season-calendar-match__identity,
  .season-calendar-match__side--away .season-calendar-match__identity {
    align-items: center;
  }

  .pitch-report-trigger--match {
    margin-inline: auto;
  }
}

/* =========================================================
   PROFILE / DIRECT MESSAGE ACTION
   ========================================================= */
.profile-hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-message-trigger {
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(238, 255, 245, 0.94);
  background: linear-gradient(180deg, rgba(0, 255, 102, 0.105), rgba(0, 255, 102, 0.055));
  border: 1px solid rgba(0, 255, 102, 0.19);
  border-radius: 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  transition: 160ms ease;
}

.profile-message-trigger[hidden] {
  display: none !important;
}

.profile-message-trigger svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #00ff66;
}

.profile-message-trigger:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 255, 102, 0.15), rgba(0, 255, 102, 0.075));
  border-color: rgba(0, 255, 102, 0.3);
  transform: translateY(-1px);
}

.profile-message-trigger:focus-visible {
  outline: 2px solid rgba(0, 255, 102, 0.52);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .profile-hero-actions {
    width: 100%;
    margin-left: 0;
    align-self: stretch;
    justify-content: flex-start;
  }

  .profile-message-trigger,
  .pitch-report-trigger--profile {
    min-height: 38px;
  }
}

/* =========================================================
   PROFILE / FRIEND ACTION
   ========================================================= */

.profile-friend-trigger {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(0,255,102,.18);
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0,255,102,.07);
  color: rgba(221,255,234,.9);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .01em;
  cursor: pointer;
  transition: 160ms ease;
}

.profile-friend-trigger[hidden] {
  display: none !important;
}

.profile-friend-trigger svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #00ff66;
}

.profile-friend-trigger:hover:not(:disabled) {
  color: #fff;
  border-color: rgba(0,255,102,.3);
  background: rgba(0,255,102,.115);
  transform: translateY(-1px);
}

.profile-friend-trigger.is-incoming {
  border-color: rgba(0,255,102,.28);
  background: rgba(0,255,102,.12);
  color: #effff5;
}

.profile-friend-trigger.is-pending,
.profile-friend-trigger.is-friends {
  border-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  color: rgba(224,232,236,.54);
}

.profile-friend-trigger.is-friends svg,
.profile-friend-trigger.is-pending svg {
  color: rgba(0,255,102,.62);
}

.profile-friend-trigger:disabled {
  cursor: default;
}

.profile-friend-trigger[aria-busy="true"] {
  opacity: .62;
}

.profile-action-toast[hidden] {
  display: none !important;
}

.profile-action-toast {
  position: fixed;
  z-index: 10120;
  right: 22px;
  bottom: 22px;
  max-width: min(380px, calc(100vw - 32px));
  padding: 11px 14px;
  border: 1px solid rgba(0,255,102,.18);
  border-radius: 12px;
  background: rgba(8,14,12,.95);
  color: rgba(236,244,240,.9);
  box-shadow: 0 18px 55px rgba(0,0,0,.4);
  backdrop-filter: blur(16px);
  font-size: 12px;
}

.profile-action-toast.is-error {
  border-color: rgba(255,91,113,.22);
  background: rgba(19,9,12,.95);
}

@media (max-width: 700px) {
  .profile-friend-trigger,
  .profile-message-trigger,
  .pitch-report-trigger--profile {
    flex: 1 1 auto;
  }
}

/* =========================================================
   PROFILE / BLOCK ACTION
   ========================================================= */

.profile-block-trigger {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255,91,113,.12);
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,91,113,.035);
  color: rgba(239,221,225,.62);
  font: inherit;
  font-size: 13px;
  font-weight: 620;
  cursor: pointer;
  transition: 160ms ease;
}

.profile-block-trigger[hidden] { display: none !important; }
.profile-block-trigger svg { width: 16px; height: 16px; flex: 0 0 16px; }
.profile-block-trigger:hover {
  border-color: rgba(255,91,113,.24);
  background: rgba(255,91,113,.07);
  color: #ff9dac;
  transform: translateY(-1px);
}
.profile-block-trigger.is-blocked {
  border-color: rgba(255,255,255,.075);
  background: rgba(255,255,255,.03);
  color: rgba(229,235,238,.56);
}

@media (max-width: 700px) {
  .profile-block-trigger { flex: 1 1 auto; min-height: 38px; }
}
