/* Blacksmith stat icons and Monk sanctuary refresh, beta 2026.10.23.34 */

/* Blacksmith: replace stat names with compact, readable icon chips. */
.blacksmith-stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 7px;
}
.blacksmith-stats-grid span:last-child {
  grid-column: auto;
}
.blacksmith-stat-chip {
  display: inline-flex;
  min-width: 0;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 5px;
  border: 1px solid rgba(235, 199, 126, .38);
  border-radius: 10px;
  color: #fff0c7;
  background: linear-gradient(145deg, rgba(50, 81, 55, .9), rgba(20, 39, 29, .95));
  box-shadow: inset 0 1px rgba(255, 242, 196, .08), 0 2px 5px rgba(0, 0, 0, .3);
  font-size: 10px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.blacksmith-stat-chip img {
  display: block;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .75));
}
.blacksmith-added-stats {
  gap: 5px;
}
.blacksmith-added-stats .blacksmith-stat-chip {
  min-height: 29px;
  padding: 3px 7px;
  border-color: rgba(127, 255, 140, .34);
  color: #a8ffad;
  background: linear-gradient(145deg, rgba(41, 105, 50, .58), rgba(17, 52, 28, .82));
}
.blacksmith-added-stats .blacksmith-stat-chip img {
  width: 19px;
  height: 19px;
}
.blacksmith-added-stats .blacksmith-stat-chip b {
  line-height: 1;
}

/* Monk: a calmer temple palette that keeps the character visible and the rewards readable. */
.monk-frame {
  background-position: center top;
}
.monk-frame::before {
  background:
    linear-gradient(180deg, rgba(3, 12, 17, .06) 0%, rgba(4, 15, 18, .12) 42%, rgba(2, 9, 13, .7) 100%);
}
.monk-back-button {
  color: #ffe5a1;
  background: linear-gradient(180deg, rgba(91, 39, 32, .94), rgba(35, 18, 22, .97));
  border-color: rgba(238, 192, 102, .72);
}
.monk-title-box {
  background: linear-gradient(145deg, rgba(11, 40, 39, .88), rgba(8, 23, 29, .92));
  border-color: rgba(231, 194, 111, .58);
  box-shadow: inset 0 1px rgba(255, 244, 207, .08), 0 4px 12px rgba(0, 0, 0, .28);
  backdrop-filter: blur(5px);
}
.monk-title {
  color: #f4d485;
}
.monk-subtitle {
  color: rgba(233, 245, 237, .88);
}
.monk-message,
.monk-loading {
  color: #f8e7b6;
  background: linear-gradient(145deg, rgba(11, 42, 39, .9), rgba(7, 19, 25, .94));
  border-color: rgba(227, 190, 107, .5);
  backdrop-filter: blur(7px);
}
.monk-card {
  background:
    linear-gradient(155deg, rgba(15, 48, 43, .88), rgba(7, 20, 25, .95) 64%, rgba(22, 15, 24, .96));
  border-color: rgba(226, 188, 101, .76);
  box-shadow:
    inset 0 1px rgba(255, 244, 208, .09),
    inset 0 0 26px rgba(90, 181, 145, .06),
    0 9px 24px rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px);
}
.monk-dialog {
  color: #fff1c9;
  background: rgba(4, 21, 23, .66);
  border-color: rgba(225, 190, 111, .3);
}
.monk-quote {
  color: #edf8ee;
  background: linear-gradient(145deg, rgba(59, 95, 72, .28), rgba(74, 39, 47, .34));
  border-color: rgba(214, 186, 112, .26);
}
.monk-stars {
  gap: 7px;
  margin-top: 14px;
}
.monk-star {
  height: 68px;
  border-color: rgba(229, 194, 111, .7);
  border-radius: 17px;
  background:
    radial-gradient(circle at 50% 38%, rgba(126, 192, 151, .24), rgba(10, 39, 37, .92) 68%);
  box-shadow: inset 0 0 14px rgba(150, 226, 183, .08), 0 3px 8px rgba(0, 0, 0, .42);
}
.monk-star.is-full {
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 232, 150, .52), rgba(71, 88, 50, .94) 70%);
}
.monk-star-fill {
  background: linear-gradient(180deg, rgba(241, 211, 118, .88), rgba(88, 153, 99, .94));
}
.monk-star span {
  color: #fff0a8;
  font-size: 38px;
}
.monk-cycle {
  color: #f2d17d;
}
.monk-claim-button {
  color: #ffe39a;
  background: linear-gradient(180deg, #6f3329 0%, #9d5632 45%, #48231f 100%);
  border-color: rgba(244, 190, 85, .8);
}
@media (max-width: 360px) {
  .blacksmith-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-height: 760px) {
  .monk-stars {
    margin-top: 10px;
  }
  .monk-star {
    height: 58px;
  }
  .monk-star span {
    font-size: 33px;
  }
}
