/* 데굴 랜딩 — 게임과 같은 장난감 부품(D안: 말랑 버튼·나무·펠트).
   그림은 DiceRoll img/hud/*.webp를 그대로 복사(나인패치 border-image 값도 게임 css/toy.css와 같음). */

@font-face { font-family: "Jua"; src: url("../font/jua-sub.woff2") format("woff2"); font-display: swap; }

/* 말랑 버튼: .tb + 색 */
.tb {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 58px; padding: 0 12px; font: inherit; font-size: 19px; line-height: 1.1; white-space: nowrap;
  color: var(--ink); text-decoration: none; background: none; cursor: pointer;
  border-style: solid; border-width: 17px 19px 20px; border-image: url(../img/hud/btn-cream.webp) 42 46 50 fill / 17px 19px 20px;
  transition: transform .08s, filter .08s; text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}
.tb > * { margin-top: -2px; }
.tb small { font-size: .72em; opacity: .75; }
.tb.yellow { border-image-source: url(../img/hud/btn-yellow.webp); }
.tb.cream { border-image-source: url(../img/hud/btn-cream.webp); }
.tb.off { border-image-source: url(../img/hud/btn-off.webp); color: rgba(107, 63, 42, .55); text-shadow: none; cursor: default; }
.tb.big { min-height: 72px; font-size: 26px; border-width: 20px 24px 24px; border-image-width: 20px 24px 24px; }
a.tb:active, button.tb:active { transform: translateY(2px) scale(.98); filter: brightness(.97); }
a.tb:hover, button.tb:hover { filter: brightness(1.03); }

/* 나무 이름판(섹션 제목) */
.sign {
  display: inline-block; margin: 0; padding: 0 10px; font-weight: 400; font-size: 22px; line-height: 1.6; color: #5a311c;
  text-shadow: 0 1px 0 rgba(255, 240, 200, .7);
  border-style: solid; border-width: 14px 22px; border-image: url(../img/hud/panel-sign.webp) 26 40 fill / 14px 22px;
}

/* 쿠션 쪽(여권 바탕) */
.page { border-style: solid; border-width: 22px; border-image: url(../img/hud/panel-page.webp) 30 fill / 22px; }
/* 나무 액자 */
.frame { border-style: solid; border-width: 26px 20px 20px; border-image: url(../img/hud/panel-frame.webp) 50 34 34 fill / 26px 20px 20px; }

@media (prefers-reduced-motion: reduce) {
  .tb { transition: none; }
  a.tb:active, button.tb:active { transform: none; }
}
