:root {
  --red: #ff4d6d;
  --gold: #e8a317;
  --up: #ff4d6d;
  --down: #1db86a;
  --text: #222222;
  --muted: #9a9a9a;
  --faint: #b5b5b5;
  --line: #f0f0f0;
  --bg: #ffffff;
  --page: #eceff3;
  --green: #21c07a;
  --star: #c8c8c8;
  --star-on: #f5b400;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--page);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.app {
  width: 472px;
  height: 1024px;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.top {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 8px 0 14px;
  flex: none;
}

.sports {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 100%;
}

.sport {
  position: relative;
  font-size: 16px;
  color: #6b6b6b;
  height: 100%;
  display: flex;
  align-items: center;
}

.sport.active {
  color: var(--red);
  font-size: 24px;
  font-weight: 600;
}

.sport.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
  transform: translateX(-50%);
}

.tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #4a4a4a;
}

.filters {
  display: flex;
  height: 44px;
  flex: none;
  border-bottom: 1px solid #f3f3f3;
}

.filter {
  position: relative;
  flex: 1;
  font-size: 18px;
  color: #8d8d8d;
}

.filter.active {
  color: #222;
  font-weight: 600;
}

.filter.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 20px;
  height: 2px;
  background: #222;
  transform: translateX(-50%);
}

.dates {
  display: flex;
  align-items: center;
  height: 54px;
  flex: none;
  padding: 4px 6px 4px 2px;
  gap: 2px;
  border-bottom: 1px solid #f3f3f3;
}

.date {
  flex: 1;
  height: 44px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: #9a9a9a;
  line-height: 1.15;
}

.date span { font-size: 12px; }

.date b {
  font-size: 13px;
  font-weight: 500;
  color: #666;
}

.date.on {
  background: #ffe8ee;
  color: #ff4d6d;
}

.date.on b { color: #ff4d6d; font-weight: 600; }

.date-cal {
  width: 34px;
  flex: none;
  display: grid;
  place-items: center;
  color: #8a8a8a;
}

.cal-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 22;
  height: 62%;
  background: #fff;
  border-radius: 16px 16px 0 0;
  transform: translateY(110%);
  transition: transform 0.28s ease;
  padding: 8px 16px 24px;
}

.cal-sheet.open { transform: translateY(0); }

.cal-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #e4e4e4;
  margin: 2px auto 14px;
}

.cal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
}

.cal-top h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
}

.cal-top button,
.cal-nav button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #666;
}

.cal-nav {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  margin-top: 18px;
}

.cal-nav b {
  text-align: center;
  font-size: 16px;
  font-weight: 650;
}

.cal-week,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-week {
  margin-top: 16px;
  color: #c8c8c8;
  font-size: 12px;
  text-align: center;
}

.cal-grid { margin-top: 8px; row-gap: 10px; }

.cal-day {
  width: 32px;
  height: 32px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  justify-self: center;
  font-size: 16px;
  color: #222;
}

.cal-day.on {
  background: #ff3b55;
  color: #fff;
  font-weight: 600;
}

.cal-day.today {
  background: #ffe8ee;
  color: #ff4d6d;
}

.list {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 8px;
}

.list::-webkit-scrollbar { width: 0; }

.match {
  padding: 9px 12px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  width: 100%;
  display: block;
}

.match.bb { cursor: pointer; }
.match.bb:active { background: #fafafa; }

.mhead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 18px;
}

.meta {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.meta b {
  font-weight: 500;
  color: #8a8a8a;
}

.neutral {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  line-height: 14px;
  padding: 0 3px;
  border-radius: 2px;
  color: var(--gold);
  border: 1px solid #f0d48a;
}

.status {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.status.long {
  text-align: right;
  font-size: 12px;
}

.status.hot { color: var(--red); }
.status.mute { color: #a0a0a0; }

.mbody {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.star {
  width: 22px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--star);
}

.star.on { color: var(--star-on); }

.names {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.team {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  height: 18px;
}

.bat {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

.bat.off {
  background: transparent;
}

.nm {
  font-size: 14px;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rk {
  color: #a6a6a6;
  font-size: 12px;
  flex: none;
}

.lab-spacer { height: 12px; flex: none; }

.side {
  flex: none;
  max-width: 226px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.side::-webkit-scrollbar { display: none; }

.srow, .labs {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1px;
  height: 18px;
}

.labs { height: 12px; }

.cell {
  width: 16px;
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #333;
  flex: none;
}

.cell.line { color: var(--gold); font-weight: 500; }
.cell.mute { color: #c8c8c8; }
.cell.total {
  width: 26px;
  margin-left: 4px;
  font-size: 15px;
  font-weight: 650;
  color: #222;
}

.match.final .meta b { color: #ef4b66; }

.match.final .status {
  flex: none;
  width: 148px;
  margin-left: auto;
  text-align: center;
  padding-right: 0;
  font-weight: 400;
}

.match.bb .mhead,
.match.bk .mhead {
  display: grid;
  grid-template-columns: 198px minmax(0, 1fr);
  align-items: baseline;
}

.match.bb .status,
.match.final.bb .status,
.match.bb .status.long,
.match.bk .status,
.match.final.bk .status,
.match.bk .status.long {
  flex: none;
  width: auto;
  margin: 0;
  grid-column: 2;
  justify-self: start;
  text-align: left;
  font-size: 14px;
}

.match.final .cell.total { color: #ff4d6d; }

.match.final .mfoot { color: #a3a3a3; }

.labs .cell {
  font-size: 10px;
  color: #c5c5c5;
  font-weight: 400;
}

.cell.spread { width: 28px; }

.odds {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  height: 18px;
}

.odds.bb .od-line { width: 44px; }

.od-line {
  width: 32px;
  text-align: right;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.od-odd {
  width: 34px;
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #8e8e8e;
}

.od-odd.up { color: var(--up); }
.od-odd.down { color: var(--down); }
.od-odd.seal { color: var(--gold); }

.od-ou {
  width: 62px;
  text-align: right;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.badge, .badge-slot {
  width: 18px;
  height: 18px;
  flex: none;
}

.live-marks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: none;
}

.live-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
}

.host {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  flex: none;
}

.badge {
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.badge.red { background: var(--red); }
.badge.green { background: var(--green); }

.badge.video,
.badge.anim {
  width: 18px;
  height: 18px;
  background: none;
  border-radius: 0;
}

.badge.video img {
  width: 18px;
  height: 18px;
  display: block;
}

.mfoot {
  margin-top: 2px;
  padding-left: 26px;
  text-align: right;
  font-size: 13px;
  color: var(--faint);
  letter-spacing: 0.2px;
}

.empty {
  padding: 72px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.empty-follow {
  min-height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  padding: 24px 16px 72px;
}

.empty-follow img {
  width: 148px;
  height: auto;
  display: block;
}

.empty-follow p {
  margin: 18px 0 16px;
  color: #808483;
  font-size: 14px;
}

.empty-follow button {
  height: 36px;
  padding: 0 22px;
  border-radius: 18px;
  background: #fa324c;
  color: #fff;
  font-size: 14px;
}

.fb {
  position: relative;
  padding: 8px 10px 6px;
}

.fb-top {
  display: flex;
  align-items: center;
  min-height: 18px;
  padding-right: 22px;
}

.fb-league b {
  color: #18a058;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  max-width: 78px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.fb-league span {
  margin-left: 6px;
  color: #9a9a9a;
  font-size: 13px;
}

.fb-status {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  color: #ff4d6d;
  font-size: 13px;
  font-weight: 500;
}

.fb-status.mute {
  color: #b0b0b0;
  font-weight: 400;
}

.fb-vs {
  text-align: center;
  color: #c4c4c4;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.fb-plan {
  position: absolute;
  top: 7px;
  right: 8px;
  height: 16px;
  padding: 0 4px;
  border: 1px solid #ff4d6d;
  border-radius: 3px;
  color: #ff4d6d;
  font-size: 10px;
  line-height: 14px;
  background: #fff;
}

.fb-row,
.fb-sub {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 46px minmax(0, 1fr) 22px;
  align-items: center;
  column-gap: 4px;
}

.fb.is-upcoming .fb-row {
  grid-template-columns: 22px minmax(0, 1fr) 108px minmax(0, 1fr) 22px;
}

.fb-odds {
  text-align: center;
  font-size: 11px;
  line-height: 15px;
  color: #8e8e8e;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fb-odds b {
  color: var(--gold);
  font-weight: 500;
  margin-right: 3px;
}

.fb-row { margin-top: 2px; }

.fb.final .fb-row,
.fb.final .fb-sub {
  grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
}

.fb-team {
  min-width: 0;
  font-size: 14px;
  line-height: 18px;
  color: #222;
}

.fb-team.home { text-align: right; }
.fb-team.away { text-align: left; }

.fb-name {
  display: inline;
  word-break: break-all;
}

.fb-score {
  text-align: center;
  color: #ff4d6d;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.fb-sub {
  margin-top: 1px;
  color: #b0b0b0;
  font-size: 11px;
}

.fb-corner {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.fb-corner.home { justify-content: flex-end; }
.fb-corner.away { justify-content: flex-start; }

.fb-half { text-align: center; }

.card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 14px;
  margin: 0 1px;
  border-radius: 2px;
  font-size: 10px;
  font-style: normal;
  line-height: 1;
  vertical-align: -2px;
}

.card.y { background: #f5c400; color: #333; }
.card.r { background: #ff4d4f; color: #fff; }

.fb-marks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.mark {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
}

.mark.green {
  box-sizing: border-box;
  border: 1.5px solid #2fbe6a;
  border-radius: 50%;
}

.mark.avatar {
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #f3c7a2 0 28%, transparent 29%),
    radial-gradient(circle at 50% 78%, #6aa8e8 0 42%, transparent 43%),
    #d9ecff;
}

.fab {
  position: absolute;
  right: 12px;
  bottom: 74px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  z-index: 4;
  box-shadow: 0 4px 10px rgba(255, 77, 109, 0.35);
}

.tabbar {
  height: 64px;
  flex: none;
  display: flex;
  border-top: 1px solid #f2f2f2;
  background: #fff;
  z-index: 5;
  padding-bottom: env(safe-area-inset-bottom);
}

.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #333333;
  font-size: 13px;
}

.tab.active { color: #f2465e; }

.tab:disabled {
  opacity: 1;
  color: #333333;
  cursor: default;
}

.tab-ico {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.tab-ico img {
  display: block;
  object-fit: contain;
}

.tab-ico img.home { width: 22px; height: 22px; }
.tab-ico img.scores { width: 32px; height: 32px; }
.tab-ico img.discover { width: 23px; height: 21px; }
.tab-ico img.messages { width: 22px; height: 22px; }
.tab-ico img.me { width: 20px; height: 20px; }

.pop {
  position: absolute;
  top: 52px;
  right: 8px;
  z-index: 12;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  min-width: 148px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.pop button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: #333;
}

.pop button.on,
.pop button:hover { background: #fff1f4; color: var(--red); }

.pop p {
  margin: 4px 8px 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 20;
}

.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 21;
  background: #fff;
  border-radius: 14px 14px 0 0;
  max-height: 78%;
  overflow: auto;
  padding: 14px 16px 28px;
}

.sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #e6e6e6;
  margin: 0 auto 10px;
}

.sheet h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.sheet .sub {
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.kv {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 4px 8px;
  padding: 7px 0;
  border-top: 1px solid #f5f5f5;
  font-size: 13px;
}

.kv .k {
  color: #333;
  font-size: 12px;
  line-height: 16px;
  word-break: break-all;
}

.kv .k span {
  display: block;
  color: var(--faint);
  font-size: 10px;
  line-height: 14px;
}

.kv .v { line-height: 18px; }

.sheet-note {
  margin-top: 8px;
  font-size: 11px;
  color: var(--faint);
  line-height: 1.5;
}

.placeholder {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 64px;
  background: #fff;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}

.detail {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  background: #f4f5f7;
  color: var(--text);
}

.dh {
  position: relative;
  flex: none;
  background: #1b2433;
  color: #fff;
  padding: 14px 16px 16px;
  text-align: center;
}

.dh [data-detail-back] {
  position: absolute;
  left: 6px;
  top: 8px;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 28px;
  line-height: 36px;
}

.dh-league { font-size: 16px; font-weight: 600; }
.dh-when, .dh-status { margin-top: 4px; font-size: 12px; color: rgba(255, 255, 255, 0.72); }

.dh-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.dh-teams strong { display: block; font-size: 16px; font-weight: 600; }
.dh-teams em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.dh-teams > div:last-child { text-align: right; }
.dh-teams > div:first-child { text-align: left; }

.dh-score { min-width: 88px; font-size: 28px; font-weight: 700; letter-spacing: 1px; }
.dh-score i { margin: 0 6px; font-style: normal; color: rgba(255, 255, 255, 0.45); }
.dh-score .vs { font-size: 18px; letter-spacing: 2px; color: rgba(255, 255, 255, 0.7); }

.dh-anim {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
}

.dtabs {
  flex: none;
  display: flex;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.dtabs button {
  flex: 1;
  height: 42px;
  font-size: 15px;
  color: #666;
}

.dtabs button.on {
  color: var(--red);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--red);
}

.dbody { flex: 1; overflow: auto; padding: 10px 12px 24px; }
.dbody.chat {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.chat-log { flex: 1; overflow: auto; padding: 18px 16px 12px; }
.chat-end { margin: 4px 0 16px; text-align: center; color: #c4c4c4; font-size: 13px; }
.chat-notice {
  border: 1px solid #ffd6dc;
  border-radius: 8px;
  padding: 12px 14px;
  color: #e23b4a;
  font-size: 14px;
  line-height: 1.6;
}
.chat-mine { display: flex; justify-content: flex-end; margin-top: 12px; }
.chat-mine span {
  max-width: 78%;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff1f3;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.chat-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 14px;
  border-top: 1px solid #f3f3f3;
  background: #fff;
}
.chat-flag {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #de2910;
  position: relative;
  flex: none;
}
.chat-flag::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 7px;
  height: 7px;
  background: #ffde00;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.chat-login {
  flex: 1;
  height: 36px;
  border-radius: 8px;
  background: #f2f2f2;
  color: #b5b5b5;
  font-size: 14px;
}
.chat-bar input {
  flex: 1;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #f2f2f2;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  outline: none;
}
.chat-bar button[type="submit"] {
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
}

.dcard {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}

.dcard h3 { margin: 0 0 10px; font-size: 14px; font-weight: 600; }

.dempty {
  margin: 24px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.board-wrap { overflow-x: auto; }

.board, .grid { width: 100%; border-collapse: collapse; font-size: 12px; }
.board th, .board td, .grid th, .grid td { padding: 6px 4px; text-align: center; white-space: nowrap; }
.board thead th, .grid thead th { color: var(--muted); font-weight: 400; }
.board tbody th, .grid td:first-child { text-align: left; font-weight: 500; }
.board .sum, .grid .sum { color: var(--red); font-weight: 700; }
.grid .club td { text-align: left; color: var(--muted); font-weight: 500; background: #fafafa; }

.sit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.sit div { background: #fff; border-radius: 10px; padding: 10px 12px; }
.sit b { display: block; font-size: 15px; }
.sit span { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }

.seg { display: flex; gap: 8px; margin-bottom: 10px; }
.seg button {
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  background: #fff;
  font-size: 13px;
  color: #666;
}
.seg button.on { background: var(--red); color: #fff; }

.cmp {
  display: grid;
  grid-template-columns: 28px 1fr 56px 1fr 28px;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
  font-size: 12px;
}
.cmp b { text-align: center; }
.cmp span { text-align: center; color: #666; }
.cmp i { display: block; height: 6px; border-radius: 3px; justify-self: end; }
.cmp i.away { justify-self: start; background: #3d7cff; }
.cmp i.home { background: var(--red); }

.grid.prices td:nth-child(2),
.grid.prices td:nth-child(3) { font-variant-numeric: tabular-nums; }
.grid .up { color: var(--up); }
.grid .down { color: var(--down); }
.grid .seal { color: var(--gold); font-weight: 600; }

.rate { margin: 0 0 8px; font-size: 13px; color: #444; }

@media (min-width: 600px) {
  body { padding: 16px 0; }
  .app {
    border-radius: 16px;
    overflow: hidden;
  }
}
