

.dt {
  font-family: var(--fd);
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink)
}

.card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--rl);
  padding: 22px
}

.card-t {
  font-family: var(--fd);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 13px;
  padding-bottom: 11px;
  border-bottom: 1.5px solid var(--border);
  color: var(--ink)
}

.chart {
  height: 130px;
  display: flex;
  align-items: flex-end;
  gap: 5px
}

.cal-day.today .cal-dot {
  opacity: .85
}

.cal-dots {
  display: flex;
  gap: 2px;
  margin-top: 3px;
  flex-wrap: wrap;
  justify-content: center
}

.cal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0
}

.av {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid rgba(255, 90, 31, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: 29px;
  color: var(--on-orange)
}

.av-wrap {
  position: relative;
  width: 86px;
  flex-shrink: 0
}

.av-btn {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  color: var(--on-orange)
}

.sm-ov {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t)
}

.sm-ov.on {
  opacity: 1;
  pointer-events: all
}

.sm-box {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--rl);
  padding: 28px;
  width: 90%;
  max-width: 550px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(14px);
  transition: transform var(--t2);
  box-shadow: var(--sh2)
}

.sm-ov.on .sm-box {
  transform: none
}

.sm-x {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px
}

.sm-x:hover {
  color: var(--ink)
}

/* Review star picker */
.rv-stars {
  display: flex;
  gap: 4px;
}

.rv-stars span {
  font-size: 22px;
  cursor: pointer;
  color: #d1d5db;
  transition: color .15s;
  line-height: 1;
  user-select: none;
}

.rv-stars span.on {
  color: #f59e0b
}

.rv-stars span:hover {
  color: #f59e0b
}

/* Review card */
.rv-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.rv-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.rv-card-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.rv-card-stars {
  color: #f59e0b;
  font-size: 13px;
}

.rv-card-date {
  font-size: 11px;
  color: var(--muted);
}

.rv-card-text {
  font-size: 13.5px;
  color: var(--ink2);
  line-height: 1.7;
}

.rv-card-sub {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.rv-card-sub span {
  font-size: 11.5px;
  color: var(--muted);
}

.hgrid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  margin-top: 8px
}

.hblock {
  padding: 6px 2px;
  border-radius: 4px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid var(--border);
  color: var(--muted);
  background: var(--bg2);
  transition: all var(--t);
  user-select: none;
  line-height: 1.3
}

.hblock:hover {
  border-color: rgba(255, 90, 31, .4);
  color: var(--orange)
}

.hblock.sel-s {
  background: var(--orange);
  border-color: var(--hot);
  color: var(--on-orange);
  border-radius: 4px 0 0 4px
}

.hblock.sel-m {
  background: rgba(255, 90, 31, .12);
  border-color: rgba(255, 90, 31, .3);
  color: var(--orange);
  border-radius: 0
}

.hblock.sel-e {
  background: var(--orange);
  border-color: var(--hot);
  color: var(--on-orange);
  border-radius: 0 4px 4px 0
}

.hblock.sel {
  background: var(--orange);
  border-color: var(--hot);
  color: var(--on-orange)
}

.hblock.dis {
  opacity: .28;
  cursor: not-allowed;
  pointer-events: none
}

.toggle {
  position: relative;
  width: 42px;
  height: 22px;
  flex-shrink: 0
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute
}

.capf2-h {
  background: #dc2626
}

#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--lime);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13.5px;
  transform: translateY(60px);
  opacity: 0;
  transition: all .32s cubic-bezier(.34, 1.56, .64, 1);
  pointer-events: none;
  max-width: 320px;
  box-shadow: var(--sh2)
}

#toast.show {
  transform: translateY(0);
  opacity: 1
}

#toast.err {
  background: #dc2626
}

.no-results {
  text-align: center;
  padding: 56px 0;
  color: var(--muted);
  display: none
}

.lektor-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color var(--t), background var(--t)
}

.lektor-chip:hover {
  border-color: var(--orange);
  background: rgba(255, 90, 31, .04)
}

.lchip-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--orange);
  flex-shrink: 0
}

/* ── Mobil: tabulky v kartách se posouvají uvnitř karty, ne s celou stránkou (refaktor D5) ── */

