/* Pass D — events */

/* ===== homeMatchShowcaseStyle ===== */

.home-match-layout {
  margin: .4rem 0 .8rem;
}

.home-match-date {
  text-align: center;
  color: #d7f3e0;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.home-match-teams {
  display: grid;
  grid-template-columns: minmax(0,1fr) 4.8rem minmax(0,1fr);
  align-items: start;
  gap: .45rem;
  margin-top: .55rem;
}

.home-match-club {
  display: flex;
  align-self: start;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  height: 2.15rem;
  text-align: center;
  font-size: 1.06rem;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.home-match-club-left,.home-match-club-right {
  text-align: center;
}

.home-match-kickoff {
  text-align: center;
}

.home-match-kickoff b {
  display: block;
  padding: .42rem .2rem;
  border-radius: 8px;
  background: #fff;
  color: var(--deep);
  font-size: 1.14rem;
  line-height: 1;
}

.home-match-kickoff span {
  display: block;
  margin-top: .35rem;
  color: #d7f3e0;
  font-size: .7rem;
  font-weight: 800;
  white-space: nowrap;
}

/* ===== matchSportStyle ===== */

.answer.match-answer {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: 1rem;
  border: 1px solid rgba(214, 243, 224, .35);
  border-radius: 18px;
  background: radial-gradient(circle at 12% 18%, rgba(255,255,255,.12) 0 2px, transparent 3px 100%),
            radial-gradient(circle at 92% 88%, rgba(255,255,255,.1) 0 1px, transparent 2px 100%),
            linear-gradient(145deg, #075b4a 0%, #064638 58%, #04372e 100%);
  box-shadow: 0 14px 28px rgba(3, 48, 38, .18);
}

.answer.match-answer::before,
        .answer.match-answer::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(221, 250, 231, .14);
  border-radius: 999px;
}

.answer.match-answer::before {
  width: 18rem;
  height: 18rem;
  right: -9rem;
  top: -11rem;
}

.answer.match-answer::after {
  width: 12rem;
  height: 12rem;
  left: -8rem;
  bottom: -9rem;
}

.answer.match-answer > .eyebrow {
  margin-bottom: .45rem;
  color: rgba(201, 239, 214, .82);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.answer.match-answer .home-match-layout {
  margin: .25rem 0 .5rem;
}

.answer.match-answer .home-match-date {
  color: #e8fff0;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .1em;
}

.answer.match-answer .home-match-teams {
  grid-template-columns: minmax(0, 1fr) 4.2rem minmax(0, 1fr);
  gap: .3rem;
  margin-top: .65rem;
}

.answer.match-answer .home-match-club {
  min-height: 2.7rem;
  height: auto;
  min-width: 0;
  color: #fff;
  overflow: visible;
  white-space: nowrap;
  font-size: clamp(.68rem, 3.55vw, 1.45rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.answer.match-answer .home-match-kickoff {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.answer.match-answer .home-match-kickoff b {
  padding: .32rem .16rem;
  border: 1px solid rgba(7, 91, 74, .18);
  border-radius: 10px;
  background: #f2fff6;
  color: #064638;
  font-size: clamp(1.1rem, 4.1vw, 1.45rem);
  font-weight: 700;
  box-shadow: 0 5px 12px rgba(0,0,0,.12);
}

.answer.match-answer .home-match-kickoff span {
  margin-top: .32rem;
  color: rgba(235, 255, 242, .78);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.answer.match-answer .answer-actions {
  position: relative;
  z-index: 1;
  gap: .45rem;
  margin-top: .55rem;
}

.answer.match-answer .answer-actions button {
  min-height: 40px;
  padding: .38rem .68rem;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 600;
}

.answer.match-answer .answer-actions .present {
  border-color: #b7f0c8;
  background: #eaffef;
  color: #075b4a;
}

.answer.match-answer .answer-actions .present.selected {
  background: #0b713d;
  border-color: #c5f7d5;
  color: #fff;
}

.answer.match-answer .answer-actions .absent {
  border-color: #efb2ad;
  background: rgba(255, 232, 230, .96);
  color: #8e2f2a;
}

.answer.match-answer .answer-actions .absent.selected {
  background: #b94c45;
  color: #fff;
}

.answer.match-answer .convocation-status {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(90%, 25rem);
  min-height: 44px;
  margin: .45rem auto;
  padding: .45rem .7rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  line-height: 1.15;
}

.answer.match-answer .convocation-status.is-convoked {
  background: rgba(46, 125, 90, 0.28);
  border: 1px solid rgba(135, 210, 170, 0.55);
  color: #f3fff7;
}

.answer.match-answer .convocation-status.is-not-convoked {
  background: rgba(145, 58, 63, 0.3);
  border: 1px solid rgba(232, 145, 150, 0.62);
  color: #fff0ef;
}

.answer.match-answer .match-missions-summary {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.match-missions-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem .65rem;
  margin: .15rem 0 .45rem;
  color: #eaffef;
  font-size: .68rem;
  font-weight: 600;
}

.match-missions-summary span {
  white-space: nowrap;
}

.answer.match-answer .home-match-logistics {
  width: 100%;
  margin: .18rem auto .15rem;
  text-align: center;
  color: #d7f3e0;
  font-size: .78rem;
  line-height: 1.3;
}

.answer.match-answer .home-match-logistics > div {
  max-width: 100%;
  white-space: nowrap;
  overflow-wrap: normal;
}

.answer.match-answer .home-match-logistics .home-match-meeting {
  margin-top: .12rem;
  opacity: .86;
  font-size: .74rem;
}

.answer.match-answer > .actions {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: .55rem;
}

.answer.match-answer > .actions:empty {
  display: none;
}

.answer.match-answer > .actions button {
  width: auto;
  min-height: 36px;
  padding: .35rem .2rem .35rem .55rem;
  border: 0;
  background: transparent;
  color: #eaffef;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
}

.answer.match-answer > .actions button:hover,
.answer.match-answer > .actions button:focus-visible {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 440px) {
  .answer.match-answer .home-match-logistics {
    font-size: .76rem;
  }
  .answer.match-answer .home-match-logistics .home-match-meeting {
    font-size: .71rem;
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .answer.match-answer .home-match-teams {
    grid-template-columns: minmax(0, 1fr) 3.8rem minmax(0, 1fr);
  }
  .answer.match-answer .home-match-club {
    font-size: clamp(.62rem, 3.35vw, .95rem);
  }
  .answer.match-answer .home-match-date {
    font-size: .76rem;
    letter-spacing: .075em;
  }
  .answer.match-answer .answer-actions button {
    padding-inline: .62rem;
    font-size: .82rem;
  }
}

@media (min-width: 700px) {
  .answer.match-answer {
    padding: 1.2rem 1.35rem;
  }
  .answer.match-answer .home-match-teams {
    gap: 1rem;
  }
}

/* ===== trainingAnswerStyle ===== */

.answer.training-answer {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220, 242, 250, .45);
  border-radius: 18px;
  background: radial-gradient(circle at 88% 18%, rgba(255,255,255,.12) 0 2px, transparent 3px 100%),
            linear-gradient(145deg, #2d7e92 0%, #256c80 58%, #1f5b6c 100%);
}

.answer.training-answer > .eyebrow {
  margin-bottom: .45rem;
  color: #d9f1f7;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .13em;
}

.answer.training-answer .training-schedule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  margin: .2rem 0 .45rem;
}

.answer.training-answer .training-date {
  color: #eaf9fc;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.answer.training-answer .training-time {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: .84rem;
  font-weight: 500;
  line-height: 1;
}

.answer.training-answer .training-time strong {
  font-weight: 700;
}

.answer.training-answer > h2 {
  margin: .25rem 0 .35rem;
  color: #fff;
  font-size: clamp(1.08rem, 4vw, 1.3rem);
  font-weight: 600;
}

.answer.training-answer .answer-actions {
  margin-top: .55rem;
}

.answer.training-answer .answer-actions button {
  min-height: 40px;
  padding: .38rem .68rem;
  font-size: .82rem;
}

.answer.training-answer .answer-actions .present.selected {
  background: #0b713d;
  border-color: #c5f7d5;
  color: #fff;
}

.answer.training-answer > .actions {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: .55rem;
}

.answer.training-answer .actions button {
  width: auto;
  min-height: 36px;
  padding: .35rem .2rem .35rem .55rem;
  border: 0;
  background: transparent;
  color: #eaf9fc;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
}

.answer.training-answer .actions:empty {
  display: none;
}

@media (max-width: 360px) {
  .answer.training-answer .training-schedule {
    align-items: flex-start;
  }
  .answer.training-answer .training-date {
    font-size: .76rem;
    letter-spacing: .075em;
  }
  .answer.training-answer .training-time {
    font-size: .8rem;
  }
}

/* ===== importantInfoStyle ===== */

.important-info {
  position: relative;
  z-index: 3;
  margin-top: -2.6rem;
  box-shadow: 0 12px 28px #173b251c;
}

.important-info .coach-card-menu {
  position: absolute;
  top: .6rem;
  right: .6rem;
  left: auto;
}

.important-info-modal-backdrop {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: #062d1d88;
}

.important-info-modal {
  width: min(100%,520px);
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 60px #001f1299;
}

.important-info-modal .title {
  align-items: center;
}

.important-info-modal .title .text {
  min-height: 34px;
  padding: .2rem .45rem;
}

@media (min-width:700px) {
  .important-info {
    margin-top: -3.2rem;
  }
}
