:root {
  --ua-bg: #f4f6fb;
  --ua-card: #ffffff;
  --ua-card2: #ffffff;
  --ua-text: #0b0f16;
  --ua-muted: rgba(11,15,22,0.60);
  --ua-border: rgba(11,15,22,0.10);
  --ua-brand: #1d9b4b;
  --ua-accent: #22c55e;
  --ua-accent2: #2563eb;
}

body.user-app {
  background: var(--ua-bg);
  color: var(--ua-text);
}
body.user-app .container { padding-top: 0; padding-bottom: 88px; }
body.user-app a { color: inherit; }

.ua-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ua-border);
}
.ua-topbar-inner {
  position: relative;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 14px;
  gap: 10px;
}
.ua-brand {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}
.ua-brand a { display: inline-flex; align-items: center; justify-content: flex-start; }
.ua-brand img { max-height: 120px; width: auto; display: block; }
.ua-menu-btn {
  flex: 0 0 auto;
  background: var(--ua-brand);
  border: 0;
  color: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 800;
}
.ua-menu-btn:active { transform: translateY(1px); }
.ua-menu {
  display: none;
  padding: 10px 14px 14px;
}
.ua-menu.open { display: block; }
.ua-menu a {
  display: flex;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(11,15,22,0.04);
  border: 1px solid var(--ua-border);
  margin-top: 10px;
  font-weight: 700;
}

.ua-section-title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin: 16px 14px 10px;
}

.ua-banner {
  margin: 0 0 16px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--ua-border);
  background: var(--ua-card2);
}
.ua-banner-media { width: 100%; aspect-ratio: 16 / 5; position: relative; }
.ua-banner img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.ua-banner-dots { display: flex; gap: 6px; justify-content: center; padding: 10px; }
.ua-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(11,15,22,0.18); }
.ua-dot.active { background: rgba(11,15,22,0.55); }

.ua-list { display: flex; flex-direction: column; gap: 12px; padding: 0 14px 0; }
.ua-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--ua-border);
}
.ua-card-title { font-size: 20px; font-weight: 900; }
.ua-card-title.ua-with-ico { display: flex; align-items: center; gap: 10px; }
.ua-card-title .ua-sport { width: 22px; height: 22px; flex: 0 0 auto; display: inline-block; }
.ua-card-title .ua-sport svg { width: 100%; height: 100%; display: block; }
.ua-card-sub { margin-top: 6px; color: var(--ua-muted); }
.ua-card-right { color: rgba(11,15,22,0.55); font-weight: 900; }

.ua-card-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ua-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(11,15,22,0.06);
}
.ua-card-icon svg { width: 48px; height: 48px; display: block; }
.ua-card-icon .ua-card-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}
.ua-card-text { min-width: 0; }

.ua-card.ua-card-green {
  background: var(--ua-brand);
  border-color: rgba(0,0,0,0.00);
  color: #fff;
}
.ua-card.ua-card-green .ua-card-sub { color: rgba(255,255,255,0.86); }
.ua-card.ua-card-green .ua-card-right { color: rgba(255,255,255,0.92); }
.ua-card.ua-card-green .ua-card-icon { background: rgba(255,255,255,0.18); }

.ua-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 14px 6px;
  color: rgba(11,15,22,0.70);
  font-weight: 800;
}

.ua-note {
  margin: 0 14px 10px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  background: rgba(245, 158, 11, 0.12);
  color: rgba(11,15,22,0.82);
}
.ua-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}
.ua-note p {
  margin: 0;
  line-height: 1.45;
}

.ua-days {
  display: flex;
  gap: 10px;
  padding: 10px 14px 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ua-day {
  flex: 0 0 auto;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--ua-border);
  background: rgba(255,255,255,0.92);
  min-width: 92px;
  text-align: center;
}
.ua-day .d { font-weight: 900; }
.ua-day .w { margin-top: 4px; color: var(--ua-muted); font-size: 12px; }
.ua-day.active { outline: 2px solid rgba(37,99,235,0.55); }

.ua-time-row { display: flex; flex-direction: column; gap: 12px; padding: 10px 14px; }
.ua-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--ua-border);
  background: rgba(255,255,255,0.92);
}
.ua-time strong { font-size: 18px; }
.ua-time .muted { color: var(--ua-muted); margin-top: 4px; }
.ua-time .arrow { color: rgba(11,15,22,0.55); font-weight: 900; }

.ua-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 10px 14px;
}
.ua-video {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--ua-border);
  background: rgba(255,255,255,0.92);
}
.ua-video img { width: 100%; height: 120px; object-fit: cover; display: block; }
.ua-video .t { padding: 10px; text-align: center; color: rgba(11,15,22,0.80); font-weight: 900; }

.ua-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: rgba(29,155,75,0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--ua-border);
}
.ua-bottom-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 10px 14px;
}
.ua-bottom a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 10px;
  border-radius: 16px;
  border: 0;
  background: transparent;
  color: rgba(0,0,0,0.86);
  font-weight: 800;
  font-size: 12px;
}
.ua-bottom a.active { color: rgba(0,0,0,1); }
.ua-bottom a .ua-ico { width: 26px; height: 26px; display: block; color: currentColor; }
.ua-bottom a .ua-ico svg { width: 100%; height: 100%; display: block; }
.ua-bottom a .ua-txt { line-height: 1; }

@media (min-width: 900px) {
  body.user-app .container { max-width: 520px; }
  .ua-brand img { max-height: 124px; }
}

@media (max-width: 700px) {
  body.user-app .container { padding-left: 18px; padding-right: 18px; }
  .ua-banner { margin-left: -18px; margin-right: -18px; border-radius: 0; }
  .ua-note { margin-left: 0; margin-right: 0; }
  .ua-list { margin-left: -18px; margin-right: -18px; padding-left: 0; padding-right: 0; }
  .ua-card { border-radius: 0; }
}
