/* polish.css - visual fixes + the blue / yellow / white palette, loaded last */

/* Discover cards: readable tags, gradient photo area, tidy scrolling */
body.dark .tag {
  background: var(--gold);
  color: var(--goldink);
}
body.dark .ver {
  background: #fff;
  color: #0a2f73;
}
.sw .ph,
.card .ph {
  background: linear-gradient(135deg, #dfeafb, #fff3cf) !important;
}
.sw .ph {
  height: 112px;
}
.sw .cb {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  padding-bottom: 36px;
}
.sw .cb::-webkit-scrollbar {
  width: 6px;
}
.sw .cb::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 9px;
}
.sw:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  background: linear-gradient(transparent, var(--card));
  pointer-events: none;
}
.dpage .deck {
  height: min(700px, calc(100dvh - 170px));
}

/* palette: yellow accents on blue/white surfaces */
header.stuck {
  border-bottom-color: var(--gold);
}
.sh h2:after {
  content: "";
  display: block;
  height: 6px;
  width: 56px;
  border-radius: 9px;
  background: var(--gold);
  margin-top: 6px;
}
.hero .stats b {
  background: linear-gradient(transparent 68%, var(--gold) 68%);
  padding: 0 4px;
}
#finder {
  background: linear-gradient(#fff, #f1f6ff);
}
#owners {
  background: linear-gradient(135deg, #fff6d6, #eef4fd);
}
#addForm .btn {
  background: var(--gold);
  color: var(--goldink);
  border-color: var(--gold);
}
.card:hover {
  border-color: var(--gold);
}
.card.feat {
  box-shadow: 0 0 0 2px var(--gold);
}
.chip[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
footer {
  background: var(--ink);
  color: #cfe0ff;
}
footer .wrap {
  padding: 22px 0;
  height: auto;
}
body:not(.dark) .star {
  color: #b88a00;
}
.hero .stats b {
  display: inline-block;
  line-height: 1.15;
}
.np {
  font-size: 15px;
  font-weight: 700;
  color: var(--mute);
}
.star {
  white-space: nowrap;
}
