/* MIDT の色：ゲームの背景（オレンジの放射とうず巻き）と、公式PVのベタ塗り5色
   （橙 #EF8B31・青 #2960AB・黄 #FDCF00・白・黒）。縁取りや光は使わず、文字は黒。 */
.st[data-story="midt"] {
  --st-bg: linear-gradient(180deg, #ef8b31 0, #ec8230 50%, #e8782a 100%);
  --st-fg: #141414;
  --st-shade: 120, 56, 10;
  --st-dots: 0;
  --ink: #141414;
  --sun: #fdcf00;
}
/* 入口：題字（黒）と、箱と同じ3枚の札 */
.st[data-story="midt"] .st-hero { background: linear-gradient(180deg, rgba(239,139,49,0) 70%, #ef8b31 100%), #ef8b31 url(/assets/story/midt/bg.webp) center top / cover no-repeat; }
.st[data-story="midt"] .st-hero h1 img { width: min(78%, 420px); height: auto; display: block; margin: 0 auto; }
.st[data-story="midt"] .st-catch { color: #141414; text-shadow: none; }
.st[data-story="midt"] .st-sub { color: #141414; text-shadow: none; }
.st[data-story="midt"] .st-hero-cards { aspect-ratio: 100 / 66; width: min(78%, 330px); }
.st[data-story="midt"] .st-hero-cards img { width: 30%; border-radius: 7% / 4.6%; background: #fff; box-shadow: 0 10px 20px rgba(120, 56, 10, .4); }
.st[data-story="midt"] .st-hero-cards img:nth-child(1) { left: 8%; top: 12%; transform: rotate(-12deg); }
.st[data-story="midt"] .st-hero-cards img:nth-child(2) { left: 35%; top: 2%; transform: rotate(-2deg); }
.st[data-story="midt"] .st-hero-cards img:nth-child(3) { left: 62%; top: 10%; transform: rotate(9deg); }
.st[data-story="midt"] .st-next { color: #141414; }
.st[data-story="midt"] .st-next span { background: #141414; color: #fff; }

/* 見出し・字幕・説明の板 */
.st[data-story="midt"] .st-head, .st[data-story="midt"] .st-say, .st[data-story="midt"] .st-title { color: #141414; text-shadow: none; }
.st[data-story="midt"] .st-num { background: #2960ab; color: #fff; box-shadow: none; }
.st[data-story="midt"] .st-note-text { background: rgba(255, 255, 255, .5); color: #141414; }
.st[data-story="midt"] .st-know-list li, .st[data-story="midt"] .st-author-card { background: rgba(255, 255, 255, .55); box-shadow: none; }
.st[data-story="midt"] .st-ico { color: #141414; }
.st[data-story="midt"] .st-big { color: #fdcf00; -webkit-text-stroke: 9px #141414; text-shadow: none; }

/* 進み具合の点 */
.st[data-story="midt"] .st-prog i { background: rgba(20, 20, 20, .2); }
.st[data-story="midt"] .st-prog i.is-past { background: rgba(20, 20, 20, .55); }
.st[data-story="midt"] .st-prog i.is-now, .st[data-story="midt"] .st-prog.is-done i { background: #141414; }
.st[data-story="midt"] .st-prog em { color: #141414; }
/* ボタン：白い丸と、青い「次へ」（ベタ塗り・ふち無し） */
.st[data-story="midt"] .st-bub { background: #fff; color: #141414; text-shadow: none; box-shadow: none; }
.st[data-story="midt"] .st-bub-go { background: #2960ab; color: #fff; }
.st[data-story="midt"] .st-bub::before, .st[data-story="midt"] .st-bub::after { content: none; }
.st[data-story="midt"] .st-meta li:not(:first-child) { color: #141414; background: rgba(255, 255, 255, .8); box-shadow: none; }
.st[data-story="midt"] .st-meta-ico { background: rgba(20, 20, 20, .1); }

/* ---- 卓 ---- */
/* 段：アプリの卓と同じ白い面。あなたの段は少し黄色 */
.st[data-story="midt"] .midt-row { border-radius: 14px; background: #fff; }
.st[data-story="midt"] .midt-row.is-me { background: #fff6cf; }
.st[data-story="midt"] .st-label.is-tag { background: #141414; color: #fff; box-shadow: none; text-shadow: none; }
/* 札：白い地・ベタの影 */
.st[data-story="midt"] .st-pc { box-shadow: 0 4px 0 rgba(20, 20, 20, .16); }
.st[data-story="midt"] .midt-slot { border-radius: 7% / 4.6%; background: rgba(255, 255, 255, .28); }
/* 目盛り：両はしから数えた数。黒い丸、真ん中だけ黄色（アプリと同じ） */
.st[data-story="midt"] .midt-cnt { aspect-ratio: 1; border-radius: 50%; background: #141414; color: #fff; text-shadow: none;
  display: grid; place-items: center; font-size: clamp(11px, 3.2vw, 15px); }
.st[data-story="midt"] .midt-cnt.is-mid { background: #fdcf00; color: #141414; }
/* 重ねた札の合計：アプリと同じ青い札 */
.st[data-story="midt"] .midt-sum { border-radius: 99px; background: #2960ab; color: #fff; text-shadow: none; font-size: clamp(12px, 3.4vw, 16px); padding: 1px 0; }
/* 王冠：箱の絵と同じ黄色 */
.st[data-story="midt"] .midt-crown svg { display: block; width: 100%; height: 100%; }
/* 8切りの斜線 */
.st[data-story="midt"] .midt-slash { aspect-ratio: 300 / 429; background: linear-gradient(to top right, transparent calc(50% - 3px), #141414 calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)); }

/* ヘッダー：明るい地なので黒い文字・元の色のロゴ */
body:has(.st[data-story="midt"]) { --hd-fg: #141414; --hd-bg: rgba(255, 255, 255, .3); --hd-line: rgba(255, 255, 255, .55); --hd-hover: rgba(255, 255, 255, .45); --hd-logo: none; }

/* アプリの画面の動画：MIDTは横持ちのゲームなので、スマホの枠も横向きに */
.st[data-story="midt"] .st-phone { aspect-ratio: 844 / 390; width: min(92vw, 560px); border-radius: 26px; }
@media (min-width: 900px) { .st[data-story="midt"] .st-film .st-phone { width: 560px; } }
