[hidden] { display: none !important; }
#access { max-width: 30rem; margin: 12vh auto 0; padding: 1.5rem; }
#access label { display: block; margin: .7rem 0; }
#access input { display: block; width: 100%; }
#cloud { padding: 1rem; max-width: 38rem; width: calc(100% - 2rem); border: 1px solid #bac7be; border-radius: 16px; }
#cloud::backdrop { background: #14251db0; }
#cloud button { margin: .2rem; }
#syncBanner { position: fixed; bottom: 0; inset-inline: 0; z-index: 100; background: #ffe08a; color: #332504; padding: .5rem 1rem; display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; }


#trainingExcelDetails { padding: 1rem; margin: .75rem 0 1rem; border: 1px solid var(--line); border-radius: 12px; }
#trainingExcelDetails h3 { margin-top: 0; }
#trainingExcelDetails dt { font-weight: 750; }
#trainingExcelDetails dd { margin: 0 0 .75rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.training-divider { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }
.training-library-keep { display: flex; align-items: center; gap: .45rem; margin-bottom: 1rem; }

#matchTimeDialog {
  width: min(340px, calc(100% - 24px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--ink);
}
#matchTimeDialog::backdrop { background: #0009; }
#matchTimeTitle { margin: 0 0 8px; font-size: 19px; }
#matchTimeValue {
  display: block;
  text-align: center;
  font-size: 2rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
#matchTimeError { min-height: 1.45em; margin: 0 0 6px; }
.match-time-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
#matchTimeDialog .btn { min-height: 44px; padding: 6px 8px; touch-action: manipulation; }

#teamLogo { flex-shrink: 0; }
#teamLogo img, #settingsBranches .photo img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: inherit;
}
#settingsBranches [hidden] { display: none; }
