/* where: TMAworld入口 / what: 30秒短編のレスポンシブ表示 / why: まず物語と選択肢を読みやすく見せる */
:root { color-scheme: dark; font-family: "Noto Sans JP", "Yu Gothic", sans-serif; background: #111015; color: #f1eadb; }
* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: radial-gradient(ellipse at 50% 0, #342a24 0, #17151b 48%, #101015 100%); }
a { color: inherit; }
.trial-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1080px; margin: auto; padding: 18px 22px; }
.trial-brand { display: inline-flex; align-items: center; gap: 9px; color: #e6cf89; font: 700 12px/1.4 "JetBrains Mono", monospace; letter-spacing: .12em; text-decoration: none; }
.trial-brand img { width: 30px; height: 30px; object-fit: contain; }
.trial-back { color: #c7beb0; font-size: 13px; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.trial-shell { width: min(920px, calc(100% - 28px)); margin: clamp(12px, 5vh, 52px) auto 28px; }
.trial-card { position: relative; display: grid; grid-template-columns: minmax(180px, 34%) 1fr; min-height: 440px; overflow: hidden; border: 1px solid #716044; border-radius: 16px; background: #17151bee; box-shadow: 0 24px 80px #0008; }
.trial-art { min-height: 100%; background: linear-gradient(160deg, #493829aa, #17151a33 65%), url("../assets/bg/top/neon-crossroad.webp") center / cover, #30251d; }
.trial-content { align-self: center; padding: clamp(22px, 5vw, 52px); }
.trial-kicker { margin: 0 0 22px; color: #d6bd74; font: 600 11px/1.5 "JetBrains Mono", monospace; letter-spacing: .08em; }
.trial-character { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.trial-character img { width: 64px; height: 64px; border: 1px solid #b3985c; border-radius: 50%; background: #25212a; object-fit: cover; }
.trial-character div { display: grid; gap: 3px; }
.trial-character span { color: #aaa197; font-size: 11px; }
.trial-character strong { color: #e6cf89; font-size: 15px; }
.trial-content h1 { margin: 0 0 16px; font: 700 clamp(23px, 3.5vw, 34px)/1.5 "Noto Serif JP", "Yu Mincho", serif; }
.trial-dialogue { min-height: 3.5em; margin: 0; color: #e0d8ce; font: 500 15px/1.95 "Noto Serif JP", "Yu Mincho", serif; }
.trial-choices, .trial-actions { display: grid; gap: 10px; margin-top: 22px; }
.trial-choices[hidden] { display: none; }
.trial-choices button, .trial-primary, .trial-secondary { min-height: 48px; padding: 11px 14px; border: 1px solid #76653e; border-radius: 8px; background: #211e20; color: #f1eadb; font: inherit; text-align: left; cursor: pointer; }
.trial-choices button:hover, .trial-choices button:focus-visible, .trial-secondary:hover, .trial-secondary:focus-visible { border-color: #e3c46b; outline: 2px solid #e3c46b55; outline-offset: 2px; }
.trial-primary { display: inline-flex; align-items: center; justify-content: center; width: 100%; border-color: #d2b75f; background: linear-gradient(110deg, #8a692d, #493a26); color: #fff7df; font-weight: 700; text-align: center; }
.trial-primary:hover, .trial-primary:focus-visible { filter: brightness(1.15); outline: 2px solid #e3c46b88; outline-offset: 2px; }
.trial-secondary { text-align: center; }
.trial-actions a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 8px; color: #c7beb0; font-size: 13px; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.trial-status { min-height: 1em; margin: 10px 0 0; color: #aaa197; font-size: 12px; }
.trial-footnote { margin: 15px 4px; color: #8f8984; font-size: 12px; line-height: 1.7; text-align: center; }
@media (max-width: 620px) {
  .trial-top { padding: 12px 16px; }
  .trial-shell { width: min(500px, calc(100% - 20px)); margin-top: 12px; }
  .trial-card { grid-template-columns: 1fr; }
  .trial-art { min-height: 118px; max-height: 118px; background-position: center 48%; }
  .trial-content { padding: 20px; }
  .trial-kicker { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .trial-card { animation: trial-arrive .45s ease-out both; }
  @keyframes trial-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
