/* ノーブルの色：ゲーム画面と同じ、暗い赤のひし形の地（scene/bg）に金の縁取り。
   字は明朝（ゲームもノーブルだけ明朝）。強調は金（#e2bf63）、あなたは赤のチップ・あいては青のチップ。 */
.st[data-story="noble"] {
  --st-bg: linear-gradient(rgba(40, 0, 6, .35), rgba(20, 0, 4, .85) 70%), url(/assets/story/noble/bg.webp) top center / 100% auto repeat-y, #2a0307;
  --st-fg: #fbefd6;
  --st-shade: 20, 0, 4;
  --st-dots: 0;
  --ink: #2a0307;
  --sun: #e2bf63;
}
.st[data-story="noble"] .st-hero h1 img { width: min(84%, 440px); filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6)); }
.st[data-story="noble"] .st-hero-cards { aspect-ratio: 100 / 56; width: min(72%, 330px); }
.st[data-story="noble"] .st-hero-cards img { width: 25%; border-radius: 4%; box-shadow: 0 10px 16px rgba(0, 0, 0, .55); }
.st[data-story="noble"] .st-hero-cards img:nth-child(1) { left: 0; top: 16%; transform: rotate(-9deg); }
.st[data-story="noble"] .st-hero-cards img:nth-child(2) { left: 25%; top: 4%; transform: rotate(-3deg); }
.st[data-story="noble"] .st-hero-cards img:nth-child(3) { left: 50%; top: 4%; transform: rotate(3deg); }
.st[data-story="noble"] .st-hero-cards img:nth-child(4) { left: 75%; top: 16%; transform: rotate(9deg); }
.st[data-story="noble"] .st-catch, .st[data-story="noble"] .st-head-t { font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif; }
.st[data-story="noble"] .st-num { background: #e2bf63; color: #2a0307; box-shadow: none; }
.st[data-story="noble"] .st-big { color: #fbe7a8; -webkit-text-stroke: 9px #4a0610; text-shadow: 0 0 20px rgba(226, 191, 99, .7), 0 6px 0 rgba(0, 0, 0, .5); white-space: nowrap; font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif; font-size: clamp(32px, 10vw, 46px); }
.st[data-story="noble"] .st-note-text { background: rgba(251, 239, 214, .07); color: #fbefd6; box-shadow: inset 0 0 0 1px rgba(226, 191, 99, .35); }
.st[data-story="noble"] .st-know-list li, .st[data-story="noble"] .st-author-card { background: rgba(251, 239, 214, .06); box-shadow: inset 0 0 0 1px rgba(226, 191, 99, .3); }
.st[data-story="noble"] .st-ico { color: #e2bf63; }
.st[data-story="noble"] .st-prog i { background: rgba(251, 239, 214, .28); }
.st[data-story="noble"] .st-prog i.is-past { background: rgba(251, 239, 214, .65); }
.st[data-story="noble"] .st-prog i.is-now, .st[data-story="noble"] .st-prog.is-done i { background: #e2bf63; }
.st[data-story="noble"] .st-prog em { color: #e2bf63; }
/* ボタン：ゲームと同じ、えんじ色に金の縁 */
.st[data-story="noble"] .st-bub { background: linear-gradient(#8a1420, #5e0a14); color: #fbefd6; text-shadow: none; box-shadow: 0 4px 0 #2a0307, inset 0 0 0 2px #e2bf63; border-radius: 6px; font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif; }
.st[data-story="noble"] .st-bub-go { background: linear-gradient(#f0d07a, #c99a3c); color: #2a0307; box-shadow: 0 4px 0 #4a0610, inset 0 0 0 2px #fff3c8; }
.st[data-story="noble"] .st-bub::before, .st[data-story="noble"] .st-bub::after { content: none; }
.st[data-story="noble"] .st-next span { background: #e2bf63; color: #2a0307; }
.st[data-story="noble"] .st-meta li:not(:first-child) { color: #fbefd6; background: rgba(255, 255, 255, .12); }

/* ---- 卓（ひし形の地に金の縁） ---- */
.st[data-story="noble"] .st-table { container-type: inline-size; }
.st[data-story="noble"] .nbs-felt { border-radius: 3cqw; background: radial-gradient(ellipse at 50% 45%, rgba(190, 20, 30, .45), transparent 70%), url(/assets/story/noble/bg.webp) center / 100% auto, #3a0409; box-shadow: inset 0 0 0 .6cqw #c9a24a, inset 0 0 0 1.2cqw #4a0610, inset 0 0 6cqw rgba(0, 0, 0, .6), 0 2cqw 4cqw rgba(0, 0, 0, .5); }
.st[data-story="noble"] .nbs-card { border-radius: 1.4cqw; background: #2a0307; box-shadow: 0 1cqw 1.6cqw rgba(0, 0, 0, .55); }
.st[data-story="noble"] .nbs-card.is-glow { animation: nbsGlow .9s ease-in-out infinite; }
@keyframes nbsGlow { 0%, 100% { scale: 1; box-shadow: 0 0 0 0 #e2bf63, 0 1cqw 1.6cqw rgba(0, 0, 0, .55); } 50% { scale: 1.05; box-shadow: 0 0 0 .6cqw #e2bf63, 0 0 4cqw rgba(226, 191, 99, .9); } }
/* 置ける場所：ゲームと同じ、暗い丸に払うコストの数字 */
.st[data-story="noble"] .st-label.nbs-spot { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: rgba(36, 0, 6, .88); box-shadow: inset 0 0 0 .35cqw rgba(226, 191, 99, .7); color: #e9d39a; text-shadow: none; -webkit-text-stroke: 0; font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif; font-size: 3.6cqw; font-weight: 700; line-height: 1; }
.st[data-story="noble"] .st-label.nbs-spot.is-glow { animation: nbsSpot .9s ease-in-out infinite; }
@keyframes nbsSpot { 0%, 100% { scale: 1; background-color: rgba(36, 0, 6, .88); } 50% { scale: 1.3; background-color: #e2bf63; color: #2a0307; } }
.st[data-story="noble"] .nbs-chip { filter: drop-shadow(0 .6cqw .6cqw rgba(0, 0, 0, .6)); }
.st[data-story="noble"] .nbs-chip.nbs-drop { animation: nbsDrop .4s cubic-bezier(.3, 1.5, .5, 1) backwards; }
@keyframes nbsDrop { 0% { translate: 0 -240%; scale: 1.4; opacity: 0; } 55% { opacity: 1; } 100% { translate: 0 0; scale: 1; opacity: 1; } }
.st[data-story="noble"] .nbs-chip.is-glow { animation: nbsHop .7s ease-in-out infinite; }
@keyframes nbsHop { 50% { translate: 0 -18%; scale: 1.15; } }
/* 2ラウンドめのカードが、上から配られる */
.st[data-story="noble"] .nbs-card.nbs-drop:not(.is-glow) { animation: nbsDeal .45s cubic-bezier(.3, 1.2, .5, 1) backwards; }
@keyframes nbsDeal { 0% { translate: 0 -30%; opacity: 0; } 60% { opacity: 1; } 100% { translate: 0 0; opacity: 1; } }
/* 文字の札 */
.st[data-story="noble"] .st-label { font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif; }
.st[data-story="noble"] .st-label.nbs-plate { display: flex; align-items: center; gap: 1.4cqw; padding: 1cqw 2cqw; border-radius: 1cqw; background: linear-gradient(#5e0a14, #3a0409); box-shadow: inset 0 0 0 .4cqw #c9a24a, 0 1cqw 1.4cqw rgba(0, 0, 0, .5); color: #fbefd6; text-shadow: none; -webkit-text-stroke: 0; font-size: 3.8cqw; font-weight: 700; white-space: nowrap; }
.st[data-story="noble"] .nbs-plate img { width: 4.6cqw; height: 4.6cqw; }
.st[data-story="noble"] .nbs-plate small { margin-left: auto; margin-right: 10cqw; color: #e2bf63; font-size: 3cqw; }
.st[data-story="noble"] .st-label.nbs-cost { text-align: center; color: #fbe7a8; text-shadow: 0 .4cqw 0 rgba(0, 0, 0, .6); -webkit-text-stroke: 0; font-size: 5cqw; font-weight: 900; line-height: 1.1; }
.st[data-story="noble"] .st-label.nbs-cost.is-won { font-size: 3.6cqw; padding-top: .6cqw; }
.st[data-story="noble"] .st-label.nbs-cost.is-glow { animation: nbsBeat .8s ease-in-out infinite; }
@keyframes nbsBeat { 50% { scale: 1.3; color: #fff; } }
/* コストに注意：名札が赤く脈打つ */
.st[data-story="noble"] .st-label.nbs-plate.nbs-warn { animation: nbsWarn .7s ease-in-out infinite; }
@keyframes nbsWarn { 50% { box-shadow: inset 0 0 0 .4cqw #ff6a5a, 0 0 4cqw rgba(255, 70, 60, .9); } }
.st[data-story="noble"] .st-label.nbs-cost.nbs-warn { animation: nbsWarnN .7s ease-in-out infinite; }
@keyframes nbsWarnN { 50% { scale: 1.35; color: #ff8a7a; } }
.st[data-story="noble"] .st-label.nbs-tag { display: flex; justify-content: center; gap: 1.2cqw; padding: .6cqw 0; border-radius: 99px; background: rgba(30, 0, 4, .85); box-shadow: inset 0 0 0 .35cqw #c9a24a; color: #fbefd6; text-shadow: none; -webkit-text-stroke: 0; font-size: 3.4cqw; font-weight: 700; white-space: nowrap; }
.st[data-story="noble"] .nbs-tag span { display: inline-grid; place-items: center; width: 5cqw; height: 5cqw; border-radius: 50%; color: #fff; font-size: 3.2cqw; }
.st[data-story="noble"] .nbs-tag span.r { background: #c4232c; }
.st[data-story="noble"] .nbs-tag span.b { background: #2a5fb8; }
.st[data-story="noble"] .st-label.nbs-tag.is-me { background: #c4232c; box-shadow: inset 0 0 0 .35cqw #fbe7a8; }
.st[data-story="noble"] .st-label.nbs-tag.is-rv { background: #2a5fb8; box-shadow: inset 0 0 0 .35cqw #fbe7a8; }
.st[data-story="noble"] .st-label.nbs-tag.is-tie { background: #5a4a46; color: #fbefd6; }
.st[data-story="noble"] .st-label.nbs-tag.nbs-tie { animation: nbsBeat .5s ease-in-out infinite; }
.st[data-story="noble"] .st-label.nbs-tag.is-vp { background: rgba(30, 0, 4, .85); color: #fbe7a8; font-size: 3.8cqw; }
.st[data-story="noble"] .st-label.nbs-tag.is-vp.is-glow { animation: nbsBeat .8s ease-in-out infinite; }
.st[data-story="noble"] .st-label.nbs-small { text-align: left; color: #e2bf63; text-shadow: 0 .3cqw 0 rgba(0, 0, 0, .6); -webkit-text-stroke: 0; font-size: 3.4cqw; font-weight: 700; white-space: nowrap; }
.st[data-story="noble"] .st-label.nbs-small.is-lose { text-align: center; color: #fff; padding: .8cqw 0; border-radius: 99px; background: #9a1420; box-shadow: inset 0 0 0 .35cqw #fbe7a8; font-size: 3.8cqw; }
.st[data-story="noble"] .nbs-pen, .st[data-story="noble"] .nbs-seal { filter: drop-shadow(0 1cqw 1.2cqw rgba(0, 0, 0, .6)); }
.st[data-story="noble"] .st-label.nbs-side { text-align: center; color: #fbefd6; text-shadow: none; -webkit-text-stroke: 0; font-size: 3.4cqw; font-weight: 700; line-height: 1.5; }
.st[data-story="noble"] .nbs-side img { display: inline-block; width: 5.2cqw; height: 5.2cqw; vertical-align: middle; }
.st[data-story="noble"] .nbs-side b { color: #fbe7a8; font-size: 5.2cqw; }
.st[data-story="noble"] .st-label.nbs-calc { padding: 1.6cqw 0; border-radius: 99px; text-align: center; background: linear-gradient(#5e0a14, #3a0409); box-shadow: inset 0 0 0 .4cqw #c9a24a; color: #fbefd6; text-shadow: none; -webkit-text-stroke: 0; font-size: 3.8cqw; font-weight: 700; white-space: nowrap; }
.st[data-story="noble"] .nbs-calc b { color: #fbe7a8; font-size: 5cqw; }
@media (min-width: 900px) { .st[data-story="noble"] .st-big { font-size: 52px; } }
