.sports-entry-page,
.work-entry-stage,
html[data-work-mode="choose"] #main {
  background: radial-gradient(ellipse at 72% 14%, #d1e8fd 0, transparent 60%), #edf4fe;
}
.sports-entry-page { min-height: 100svh; padding: clamp(16px, 4vw, 44px); }
.sports-entry-frame {
  width: min(100%, 1010px);
  margin: auto;
  overflow: hidden;
  border: 1px solid #c9dff7;
  border-radius: 21px;
  background: #f7fbff;
  color: #102c50;
  box-shadow: 0 16px 44px #163e7422;
}
.sports-entry-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px clamp(15px,3vw,29px);
  color: #f2f7ff;
  font-size: .84rem;
  font-weight: 700;
  background: linear-gradient(90deg,#061a38 5%,#0a3264e8 55%,#09386e7a),url("sports-panorama.webp") center 56% / cover no-repeat;
}
.sports-entry-footer img { flex: none; object-fit: contain; border-radius: 2px; }
.sports-choices-content { padding: clamp(16px, 3.6vw, 36px); }
.sports-choices-content .work-entry-intro { margin: 0 0 18px; }
.sports-choices-content h1 { margin: 0; color: #102c50; letter-spacing: -.035em; font-size: clamp(1.49rem, 3.7vw, 2.2rem); line-height: 1.2; }
.sports-choices-content .work-mode-cards { gap: 15px; }
.sports-choices-content .work-mode-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px 12px;
  min-height: 185px;
  padding: clamp(15px, 2.5vw, 24px);
  border-color: #cbdff7;
  border-radius: 16px;
  box-shadow: 0 6px 13px #123f7617;
}
.sports-choices-content .work-mode-card.terrain {
  background: linear-gradient(102deg,#062142 25%,#073065d9 81%,#0632649e),url("sports-stadium.webp") center / cover;
  border-color: #2963a1;
  box-shadow: 0 7px 16px #082b5e2c;
}
.sports-choices-content .work-mode-card.preparation { background: linear-gradient(160deg,#fff,#edf5ff); }
.sports-choices-content .work-mode-card .work-mode-icon { grid-row: auto; width: 48px; height: 48px; margin: 0; }
.sports-choices-content .terrain .work-mode-icon { background: #fff0bf; color: #754500; }
.sports-choices-content .work-mode-card strong { min-width: 0; margin: 0; font-size: clamp(1.23rem, 3.5vw, 1.64rem); }
.sports-choices-content .work-mode-description { grid-column: 1 / -1; margin: 0; font-size: .96rem; }
.sports-choices-content .terrain .work-mode-description { color: #e7f2ff; }
.sports-choices-content .work-mode-enter {
  grid-column: 1 / -1;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 3px;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  color: #fff;
  background: #0955c2;
}
.sports-choices-content .terrain .work-mode-enter { color: #20283c; background: #ffce57; }
.sports-choices-content .work-entry-footer { margin-top: 15px; }
.sports-entry-frame > .work-start-status { padding: 0 12px 13px; }
.sports-entry-frame .offline-entry-readiness { margin: 0 0 15px; }

.sports-offline-grid { display: grid; grid-template-columns: 1.12fr 1fr; }
.sports-entry-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 355px;
  padding: clamp(23px, 5vw, 57px);
  color: #fff;
  background: linear-gradient(99deg,#061a38f2 9%,#0b3264de 58%,#09336562),url("sports-stadium.webp") 60% center / cover;
}
.sports-entry-kicker { color: #ffda7c; font-size: .76rem; font-weight: 800; letter-spacing: .09em; }
.sports-entry-hero h1 { margin: 10px 0 9px; font-size: clamp(1.65rem, 4.2vw, 2.85rem); line-height: 1.11; letter-spacing: -.035em; }
.sports-entry-hero p { margin: 0; max-width: 33ch; color: #eef6ff; line-height: 1.55; }
.sports-offline-panel { padding: clamp(19px, 4vw, 39px); min-width: 0; }
.sports-online-panel.auth-panel { display: block; min-height: 0; background: #f7fbff; }
.sports-online-panel .auth-form-wrap { max-width: none; }
.sports-online-panel .auth-lead { margin-bottom: 17px; }
.sports-offline-panel h2 { margin: 0 0 13px; font-size: 1.24rem; }
.sports-offline-status { padding: 11px 13px; border: 1px solid #c9ddf5; border-radius: 9px; background: #eaf3ff; color: #17477c; font-weight: 700; font-size: .9rem; line-height: 1.5; }
.sports-offline-status[data-state="setup"] { background: #fff4d9; border-color: #f0daa2; color: #70430b; }
.sports-offline-status[data-state="ready"] { background: #e5f7ee; border-color: #bde7d5; color: #145d49; }
.sports-offline-status[data-state="error"] { background: #fff1ef; border-color: #ebc7c0; color: #8c301f; }
.offline-entry-help { color: #284564; line-height: 1.55; }
.offline-entry-form label { display: block; margin: 15px 0 6px; font-size: .94rem; font-weight: 700; }
.offline-entry-form input { width: 100%; border: 1px solid #a9c1e3; border-radius: 9px; min-height: 48px; margin: 0 0 11px; padding: 8px 12px; font-size: 1rem; }
.offline-entry-date { font-size: .82rem; color: #476687; }
.offline-entry-date:empty { display: none; }
.sports-offline-panel .auth-submit { background: #0757ce; }
.sports-offline-panel .auth-submit:hover { background: #0648ae; }
.sports-online-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 9px; font-weight: 700; text-underline-offset: .2em; }
.sports-entry-page :focus-visible { outline: 3px solid #0a63da; outline-offset: 3px; }
@media (max-width: 650px) {
  .sports-entry-page { padding: 11px; }
  .work-entry-stage,
  html[data-work-mode="choose"] #main { padding: 12px; }
  .sports-entry-frame { border-radius: 14px; }
  .sports-offline-grid { grid-template-columns: 1fr; }
  .sports-entry-hero { min-height: 0; padding: 23px 17px; background-position: 66% 54%; }
  .sports-choices-content .work-mode-cards { grid-template-columns: 1fr; gap: 10px; }
  .sports-choices-content .work-mode-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sports-choices-content .work-mode-card { transition: none; }
}
