.bt {
  border-radius: var(--r-lg);
  background: linear-gradient(
    180deg,
    var(--f-sky),
    color-mix(in srgb, var(--f-sky) 30%, var(--bg))
  );
  padding: 18px 12px;
}
.bt-panel {
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 16px;
}
.bt-ctrl {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.seg {
  display: flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}
.seg::-webkit-scrollbar {
  display: none;
}
.seg button {
  flex: 1;
  padding: 7px 12px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--mute);
  font: 600 13px var(--ar);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.seg button[aria-pressed='true'] {
  background: var(--btn);
  color: var(--btn-ink);
}
.heat-scroll {
  overflow-x: auto;
  margin-top: 14px;
  padding-bottom: 6px;
}
.heat {
  display: grid;
  grid-template-columns: 62px repeat(20, minmax(22px, 1fr));
  gap: 3px;
  min-width: 560px;
  font-size: 11px;
}
.heat .hl {
  color: var(--mute);
  font: 500 10px var(--en);
  text-align: center;
  align-self: end;
}
.heat .dl {
  color: var(--text-2);
  font-weight: 600;
  font-size: 12px;
  align-self: center;
  white-space: nowrap;
}
.heat .dl small {
  display: block;
  font-weight: 500;
  color: var(--mute);
  font-size: 10px;
  line-height: 1;
}
.cell {
  height: 26px;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  border: 0;
  padding: 0;
  transition: transform 0.15s;
}
.cell:hover {
  transform: scale(1.12);
  z-index: 2;
}
.cell.pray {
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 3px,
    rgba(11, 15, 36, 0.22) 3px 4.5px
  ) !important;
}
:root[data-theme='dark'] .cell.pray {
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 3px,
    rgba(255, 255, 255, 0.25) 3px 4.5px
  ) !important;
}
.cell.best {
  box-shadow: 0 0 0 2px var(--ink);
}
.cell.sel {
  box-shadow:
    0 0 0 2px var(--primary),
    0 0 0 4px var(--surface);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--mute);
}
.legend i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  vertical-align: -3px;
  margin-inline-end: 5px;
}
.bt-side {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--text-2);
}
.note i {
  color: var(--primary);
  font-size: 18px;
  margin-top: 2px;
}
