.ttt-fav.is-busy {
  cursor: progress;
}

.ttt-fav.is-busy::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 2px solid rgba(11, 47, 107, 0.18);
  border-top-color: #0b2f6b;
  animation: ttt-fav-spin 0.7s linear infinite;
}

.tur-wish.ttt-fav {
  position: relative;
}

.ttt-fav.is-locked {
  opacity: 0.45;
  cursor: default;
}

.disc-deal {
  position: relative;
}

.disc-deal > .ttt-fav {
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
}

@keyframes ttt-fav-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ttt-fav.is-busy::after { animation: none; }
}

.fav-page {
  background: #f4f7fb;
  padding: 28px 0 64px;
}

.fav-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.fav-head h1 {
  margin: 0;
  color: #0b2f6b;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.fav-head p {
  margin: 8px 0 0;
  max-width: 42rem;
  color: #52627a;
}

.fav-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 72px;
  margin: 0;
  color: #0b2f6b;
}

.fav-total strong {
  font-size: 1.8rem;
  line-height: 1;
}

.fav-total span {
  font-size: 0.82rem;
  color: #52627a;
}

.fav-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fav-tabs button {
  flex: 0 0 auto;
  border: 1px solid #d5deec;
  background: #fff;
  color: #0b2f6b;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.fav-tabs button.is-on {
  background: #0b2f6b;
  border-color: #0b2f6b;
  color: #fff;
}

.fav-tabs button:focus-visible,
.fav-pages button:focus-visible,
.ttt-fav:focus-visible {
  outline: 3px solid #0b2f6b;
  outline-offset: 2px;
}

.fav-counts {
  margin: 0 0 16px;
  color: #52627a;
  font-size: 0.92rem;
}

.fav-alert,
.fav-loading,
.fav-gate p {
  margin: 12px 0;
  color: #0b2f6b;
}

.fav-list {
  display: grid;
  gap: 14px;
}

.fav-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e3eaf5;
  border-radius: 18px;
  overflow: hidden;
}

.fav-media {
  position: relative;
  min-height: 124px;
  background: #e8eef8;
}

.fav-media img,
.fav-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.fav-media img {
  object-fit: cover;
}

.fav-media > p,
.fav-gone {
  margin: 0;
  color: #52627a;
}

.fav-media > p {
  padding: 16px;
}

.fav-body {
  padding: 14px 4px 14px 0;
  min-width: 0;
}

.fav-kind {
  margin: 0 0 4px;
  color: #0b2f6b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fav-body h2 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
}

.fav-body h2 a,
.fav-agency a {
  color: #0b2f6b;
  text-decoration: none;
}

.fav-body h2 a:hover,
.fav-agency a:hover {
  text-decoration: underline;
}

.fav-cat,
.fav-place,
.fav-agency,
.fav-gone {
  margin: 6px 0 0;
  color: #52627a;
}

.fav-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 14px 16px;
  text-align: right;
}

.fav-side strong {
  color: #0b2f6b;
  font-size: 1.05rem;
}

.fav-side small {
  color: #52627a;
}

.fav-card.is-off .fav-body {
  padding-right: 16px;
}

.fav-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 42px 16px;
  background: #fff;
  border: 1px solid #e3eaf5;
  border-radius: 18px;
  text-align: center;
}

.fav-empty-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f4f7fb;
  color: #e11d48;
  font-size: 1.5rem;
}

.fav-empty p {
  margin: 0;
  color: #0b2f6b;
  font-weight: 700;
}

.fav-pages {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.fav-pages button {
  border: 1px solid #d5deec;
  background: #fff;
  color: #0b2f6b;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.fav-pages button:disabled {
  opacity: 0.45;
  cursor: default;
}

.fav-gate {
  padding: 48px 0 72px;
}

@media (max-width: 720px) {
  .fav-page { padding-top: 18px; }
  .fav-head { align-items: flex-start; flex-direction: column; }
  .fav-head h1 { font-size: 1.6rem; }
  .fav-total { align-items: flex-start; }
  .fav-tabs { flex-wrap: nowrap; }
  .fav-card { grid-template-columns: 1fr; }
  .fav-media { height: 190px; }
  .fav-body { padding: 0 14px 8px; }
  .fav-side {
    align-items: flex-start;
    text-align: left;
    padding: 0 14px 14px;
  }
  .fav-card.is-off .fav-body { padding: 0 14px 14px; }
}
