/* アジテーターの色：ゲーム画面と同じ、箱の絵を暗く沈めた地（コンクリート #17181a）に白い字。
   役と点は金（#d9a83c）、ペナルティは赤（#c8102e）。段の見出しの線は 場=灰・プレイエリア=赤・手札=金（ゲームと同じ）。 */
.st[data-story="agitator"] {
  --st-bg: linear-gradient(rgba(23, 24, 26, .55), rgba(23, 24, 26, .9) 70%), url(/assets/story/agitator/bg.webp) top center / 100% auto no-repeat, #17181a;
  --st-fg: #fff;
  --st-shade: 0, 0, 0;
  --st-dots: 0;
  --ink: #111214;
  --sun: #d9a83c;
}
.st[data-story="agitator"] .st-hero h1 img { width: min(92%, 560px); filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .6)); }
.st[data-story="agitator"] .st-catch { color: #fff; }
.st[data-story="agitator"] .st-hero-cards { aspect-ratio: 100 / 52; width: min(64%, 290px); }
.st[data-story="agitator"] .st-hero-cards img { width: 30%; border-radius: 6%; box-shadow: 0 12px 18px rgba(0, 0, 0, .6); }
.st[data-story="agitator"] .st-hero-cards img:nth-child(1) { left: 6%; top: 10%; transform: rotate(-10deg); }
.st[data-story="agitator"] .st-hero-cards img:nth-child(2) { left: 35%; top: 0; transform: rotate(1deg); }
.st[data-story="agitator"] .st-hero-cards img:nth-child(3) { left: 64%; top: 10%; transform: rotate(11deg); }
.st[data-story="agitator"] .st-num { background: #d9a83c; color: #111214; box-shadow: none; }
.st[data-story="agitator"] .st-big { color: #fff; -webkit-text-stroke: 9px #c8102e; text-shadow: 0 6px 0 rgba(0, 0, 0, .6); white-space: nowrap; font-size: clamp(30px, 9.4vw, 44px); }
.st[data-story="agitator"] .st-note-text { background: rgba(255, 255, 255, .07); color: #e9e9ea; box-shadow: inset 0 0 0 1px rgba(217, 168, 60, .35); }
.st[data-story="agitator"] .st-know-list li, .st[data-story="agitator"] .st-author-card { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(217, 168, 60, .3); }
.st[data-story="agitator"] .st-ico { color: #d9a83c; }
.st[data-story="agitator"] .st-prog i { background: rgba(255, 255, 255, .25); }
.st[data-story="agitator"] .st-prog i.is-past { background: rgba(255, 255, 255, .6); }
.st[data-story="agitator"] .st-prog i.is-now, .st[data-story="agitator"] .st-prog.is-done i { background: #d9a83c; }
.st[data-story="agitator"] .st-prog em { color: #d9a83c; }
/* ボタン：ゲームの「プレイエリアに出す」と同じ、金の縁の黒い札と、赤い「次の場面へ」 */
.st[data-story="agitator"] .st-bub { background: #111214; color: #d9a83c; text-shadow: none; box-shadow: inset 0 0 0 2px #d9a83c; border-radius: 6px; }
.st[data-story="agitator"] .st-bub-go { background: #c8102e; color: #fff; box-shadow: none; }
.st[data-story="agitator"] .st-bub::before, .st[data-story="agitator"] .st-bub::after { content: none; }
.st[data-story="agitator"] .st-next span { background: #c8102e; color: #fff; }
.st[data-story="agitator"] .st-meta li:not(:first-child) { color: #fff; background: rgba(255, 255, 255, .1); }

/* ---- 卓 ---- */
.st[data-story="agitator"] .st-table { container-type: inline-size; }
.st[data-story="agitator"] .ags-card { border-radius: .9cqw; box-shadow: 0 .8cqw 1.6cqw rgba(0, 0, 0, .55); transition: left .55s cubic-bezier(.3, 1.1, .5, 1), top .55s cubic-bezier(.3, 1.1, .5, 1), width .55s cubic-bezier(.3, 1.1, .5, 1), transform .35s, filter .3s; }
.st[data-story="agitator"] .ags-card.is-glow { animation: agsGlow .9s ease-in-out infinite; }
@keyframes agsGlow { 0%, 100% { scale: 1; box-shadow: 0 0 0 .5cqw #d9a83c, 0 .8cqw 1.6cqw rgba(0, 0, 0, .55); } 50% { scale: 1.07; box-shadow: 0 0 0 .7cqw #f3cc6a, 0 0 4cqw rgba(217, 168, 60, .8); } }
.st[data-story="agitator"] .ags-card.is-lift { filter: drop-shadow(0 0 1.6cqw #d9a83c); }
/* めくりは scale だけで動かす（持ち上げ・傾きを上書きしない） */
.st[data-story="agitator"] .ags-card.ags-flip { animation: agsFlip .5s ease-in-out; }
@keyframes agsFlip { 0%, 100% { scale: 1 1; } 46%, 54% { scale: .02 1.06; } }
/* 空いている置き場（ゲームと同じ、うす暗い枠） */
.st[data-story="agitator"] .ags-slot { border-radius: .9cqw; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 .4cqw rgba(255, 255, 255, .18); }
.st[data-story="agitator"] .ags-slot.is-glow { animation: agsSlot .9s ease-in-out infinite; }
@keyframes agsSlot { 50% { background: rgba(217, 168, 60, .28); box-shadow: inset 0 0 0 .5cqw #d9a83c; } }
/* 段の見出し */
.st[data-story="agitator"] .st-label.ags-head { display: flex; justify-content: space-between; align-items: baseline; padding-left: 1.6cqw; text-shadow: none; -webkit-text-stroke: 0; font-size: 3.4cqw; line-height: 1.2; border-left: .8cqw solid #8a8d92; }
.st[data-story="agitator"] .st-label.ags-head.is-area { border-left-color: #c8102e; }
.st[data-story="agitator"] .st-label.ags-head.is-hand { border-left-color: #d9a83c; }
.st[data-story="agitator"] .ags-head b { color: #fff; font-weight: 700; }
.st[data-story="agitator"] .ags-head em { font-style: normal; font-weight: 900; color: #d9a83c; }
.st[data-story="agitator"] .st-label.ags-small { text-align: center; text-shadow: none; -webkit-text-stroke: 0; font-size: 2.8cqw; color: rgba(255, 255, 255, .7); }
/* 役と点（場面1） */
.st[data-story="agitator"] .st-label.ags-yaku { text-align: center; text-shadow: none; -webkit-text-stroke: 0; font-size: 6cqw; font-weight: 900; color: #fff; }
.st[data-story="agitator"] .ags-yaku b { margin-left: 2.4cqw; color: #d9a83c; }
/* 得点計算の段（ゲームの「プレイエリアの結果」：破れた紙の帯に名前と札、右に大きな点） */
.st[data-story="agitator"] .ags-row { border-radius: 1cqw; background: linear-gradient(90deg, rgba(230, 226, 218, .95), rgba(205, 201, 194, .92)); box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, .5); transition: left .6s cubic-bezier(.3, 1.1, .5, 1), top .6s cubic-bezier(.3, 1.1, .5, 1), background .4s; }
.st[data-story="agitator"] .ags-row.is-bad { background: linear-gradient(90deg, rgba(200, 16, 46, .92), rgba(150, 12, 34, .92)); }
.st[data-story="agitator"] .ags-row.is-glow { animation: agsRow 1s ease-in-out infinite; }
@keyframes agsRow { 50% { box-shadow: 0 0 0 .6cqw #d9a83c, 0 0 5cqw rgba(217, 168, 60, .7); } }
.st[data-story="agitator"] .st-label.ags-rname { display: flex; gap: 2cqw; align-items: baseline; text-shadow: none; -webkit-text-stroke: 0; font-size: 3.6cqw; line-height: 1.3; transition: left .6s cubic-bezier(.3, 1.1, .5, 1), top .6s cubic-bezier(.3, 1.1, .5, 1); }
.st[data-story="agitator"] .ags-rname b { color: #111214; font-weight: 900; }
.st[data-story="agitator"] .ags-rname.is-onbad b, .st[data-story="agitator"] .ags-rname.is-onbad em, .st[data-story="agitator"] .ags-rank.is-onbad { color: #fff; }
.st[data-story="agitator"] .ags-rname em { font-style: normal; font-weight: 700; color: #7a5a12; font-size: 3cqw; }
.st[data-story="agitator"] .st-label.ags-rank { text-align: center; text-shadow: none; -webkit-text-stroke: 0; font-size: 4.6cqw; font-weight: 900; color: #111214; transition: left .6s cubic-bezier(.3, 1.1, .5, 1), top .6s cubic-bezier(.3, 1.1, .5, 1); }
.st[data-story="agitator"] .ags-rank small { font-size: 2.6cqw; }
.st[data-story="agitator"] .ags-rank.is-first { color: #b07d10; }
.st[data-story="agitator"] .ags-rank.is-second { color: #c8102e; }
.st[data-story="agitator"] .st-label.ags-score { text-align: right; text-shadow: none; -webkit-text-stroke: 0; font-size: 10cqw; line-height: 1; transition: left .6s cubic-bezier(.3, 1.1, .5, 1), top .6s cubic-bezier(.3, 1.1, .5, 1); }
.st[data-story="agitator"] .ags-score b { font-weight: 900; color: #111214; }
.st[data-story="agitator"] .ags-score b.is-neg { color: #c8102e; }
.st[data-story="agitator"] .ags-score.is-glow { animation: agsScore .8s ease-in-out infinite; }
@keyframes agsScore { 50% { scale: 1.12; filter: drop-shadow(0 0 1.6cqw #fff); } }
.st[data-story="agitator"] .ags-score.is-onbad b, .st[data-story="agitator"] .ags-score.is-onbad b.is-neg { color: #fff; }
/* タイル */
.st[data-story="agitator"] .ags-tile { border-radius: .8cqw; box-shadow: 0 1.2cqw 2.4cqw rgba(0, 0, 0, .6); transition: left .6s cubic-bezier(.4, 0, .2, 1), top .6s cubic-bezier(.4, 0, .2, 1), width .6s cubic-bezier(.4, 0, .2, 1); }
.st[data-story="agitator"] .ags-tile.is-glow { animation: agsGlow .9s ease-in-out infinite; }
@media (min-width: 900px) { .st[data-story="agitator"] .st-big { font-size: 52px; } }
.st[data-story="agitator"] .st-label.ags-rank.is-onbad { color: #fff; }
