/* D-HR · Stat tiles, celebrations, lists */
/* ---------- stat tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 16px;
}
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px 12px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.tile b {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.1;
  color: var(--ink);
}
.tile span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.tile i {
  position: absolute;
  right: -14px;
  top: -14px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  opacity: 0.18;
}

.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 16px;
}
.qk {
  border: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px 4px;
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow);
}
.qk em {
  font-style: normal;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 21px;
  background: var(--chip);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.06);
}

/* ---------- celebrations ---------- */
.hscroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 16px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar {
  display: none;
}
.celeb {
  flex: 0 0 78%;
  max-width: 330px;
  scroll-snap-align: start;
  border-radius: 24px;
  padding: 16px;
  color: #fff;
  background: linear-gradient(140deg, #ff8a65, #d64d8e 55%, #5a3482);
  box-shadow: var(--shadow2);
  position: relative;
  overflow: hidden;
}
.celeb.ann {
  background: linear-gradient(140deg, #3ddc97, #1b8f62 50%, #2a1742);
}
.celeb::after {
  content: '🎉';
  position: absolute;
  right: 10px;
  top: 4px;
  font-size: 44px;
  opacity: 0.25;
}
.celeb .who {
  display: flex;
  gap: 10px;
  align-items: center;
}
.celeb .av {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.celeb b {
  font-size: 16px;
  display: block;
}
.celeb small {
  opacity: 0.9;
}
.celeb p {
  margin: 10px 0 12px;
  font-size: 13.5px;
  opacity: 0.95;
}
.celeb .btn {
  background: rgba(255, 255, 255, 0.95);
  color: #5a3482;
  min-height: 38px;
  padding: 7px 14px;
  font-size: 13.5px;
}

/* ---------- lists ---------- */
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.row:last-child {
  border-bottom: 0;
}
.row .ic {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 19px;
  background: var(--chip);
}
.row .tx {
  flex: 1;
  min-width: 0;
}
.row .tx b {
  display: block;
  font-size: 14.5px;
}
.row .tx small {
  color: var(--muted);
  font-size: 12.5px;
}
.row .end {
  text-align: right;
  font-weight: 800;
  font-size: 15px;
}
.post h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.post p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  white-space: pre-wrap;
}
