/* B 精修-inspired production study: real controls remain in the HTML.
   Artwork is still a flat visual candidate and is not a game capture. */
:root {
  --studio-ink:#09070b;
  --studio-burgundy:#270b15;
  --studio-red:#db2340;
  --studio-blush:#f2c5ba;
  --studio-paper:#fff5ee;
  --studio-rule:#d76a6b66;
  --studio-serif:'Noto Serif SC','Songti SC','SimSun',serif;
}

/* Origin: an editorial story panel balances the film-like frame. */
.story {
  position:relative;
  background:radial-gradient(ellipse at 8% 7%,#52121e55,transparent 42%),linear-gradient(145deg,#110a10,#08080c 72%);
  border-top:1px solid #a6364347;
  border-bottom:1px solid #a6364333;
}
.story-left h2,.story-caption strong,.red2-origin h2,.red2-ensemble h2,
.red2-stage h2,.world-head h2,.companion-head h2,.feature-title h2 {
  font-family:var(--studio-serif);
  color:var(--studio-paper);
  text-wrap:balance;
}
.story-left .overline,.red2-overline,.world-head .overline,
.companion-head .overline,.feature-title .overline { color:#f4b7ae; }
.story-left .overline::after,.world-head .overline::after,
.companion-head .overline::after,.feature-title .overline::after {
  content:'';display:block;width:54px;height:1px;margin-top:14px;
  background:linear-gradient(90deg,#f65a69,#ac1e37 70%,transparent);
}
.story-left h2 { line-height:1.14;letter-spacing:-.035em; }
.story-left p { color:#f4ddd7; }
.story-picture {
  border:1px solid #e8868066;
  box-shadow:16px 16px 0 #2d0c15,0 18px 55px #0009;
}
.story-picture::before {
  content:'';position:absolute;z-index:2;inset:11px;
  border:1px solid #f4b7a32c;pointer-events:none;
}
.story-caption { text-shadow:0 3px 18px #000; }
.story-caption strong { line-height:1.25; }
.media-note { color:#e9c3ba; }
.red2-origin__shade {
  background:linear-gradient(90deg,#0d080dea 0%,#15070cc4 35%,transparent 76%),linear-gradient(0deg,#100a0f 0%,transparent 36%);
}
.red2-origin__copy { border-left:1px solid #ed6f6c80; }
.red2-origin__number { color:#f2ae9d12; }

/* Character stage: the active, real selector has a red-cut silhouette. */
.red2-stage__wash {
  background:linear-gradient(90deg,#0b080df7 0%,#15080de8 32%,#15080d62 55%,transparent 79%),linear-gradient(0deg,#10090e 0%,transparent 27%);
}
.red2-stage__index { color:#ffb8a8; }
.red2-stage h2 { letter-spacing:.015em; }
.red2-stage__tag { color:#ffd2c2; }
.red2-stage__description,.red2-stage__source { color:#f2d8d1; }
.red2-stage__controls { gap:8px; }
.red2-stage__controls button {
  min-height:48px;
  background:#15090edb;
  border:1px solid #d9817d8a;
  border-radius:0;
}
.red2-stage__controls button[aria-pressed=true] {
  background:linear-gradient(115deg,#941329,#c12138);
  border-color:#ffb5a4;
  box-shadow:0 0 20px #d9253a55;
}
.red2-stage__controls button span { color:#ffc5b2; }
.red2-reference-toggle { color:#f3d4c8;border-color:#db7f77;min-height:44px; }
.red2-ensemble__veil { background:linear-gradient(0deg,#10090e 0%,#10090ecb 26%,transparent 70%),linear-gradient(90deg,#1b090f99,transparent 65%); }

/* World: allow the scene to remain the hero while giving tabs real hierarchy. */
.world {
  background:radial-gradient(ellipse at 85% 8%,#55111d4d,transparent 43%),#0b080d;
  border-top:1px solid #b53a4438;
}
.world-head p,.companion-head p { color:#eed3ca; }
.world-stage { border:1px solid #e7928266;box-shadow:0 22px 60px #000a; }
.world-shade { background:linear-gradient(90deg,#12090ef5 0%,#17080dc4 40%,transparent 78%),linear-gradient(0deg,#10090ee8,transparent 49%); }
.world-text h3 { font-family:var(--studio-serif);color:var(--studio-paper);text-shadow:0 3px 18px #000; }
.world-text p { color:#fff0e9;text-shadow:0 2px 10px #000; }
.world-tabs button,.world-times button {
  color:#ffeae2;background:#160b10e6;border:1px solid #d5857e91;
  min-height:44px;
}
.world-tabs button.active,.world-times button.active {
  color:#fff;background:#aa1b31;border-color:#ffc0ad;
  box-shadow:0 0 16px #e5263a66;
}
.world-tabs button:focus-visible,.world-times button:focus-visible { outline:3px solid #ffddc9;outline-offset:2px; }
.world-source { color:#f6ded4;background:#15090de8; }
.world-locked { color:#e7c5bc; }

/* Companions: warm, dark stage and clear interaction group, without identity changes. */
.companions { background:linear-gradient(135deg,#170b11,#0b080c 70%);border-top:1px solid #b53a4438; }
.companion-layout { background:#160b11;border:1px solid #db7b7466;box-shadow:0 20px 55px #0009; }
.companion-stage { background:radial-gradient(ellipse at 50% 38%,#783344,#35131e 52%,#12090e 100%); }
.companion-info { background:linear-gradient(145deg,#241019,#100a0e); }
.companion-info h3 { color:var(--studio-paper);font-family:var(--studio-serif); }
.companion-info>p:not(.companion-note),.companion-note { color:#f1d4cb; }
.companion-actions button,.companion-choice button {
  min-height:44px;color:#fff1e9;background:#200b13;border:1px solid #d58c7d99;
}
.companion-actions button:hover,.companion-actions button:focus-visible,
.companion-choice button[aria-pressed=true] { border-color:#ffd3bb;background:#7e1b30;color:#fff; }
.companion-bubble { color:#291116;background:#fff0e5; }
.companion-credit { color:#f6ded4;background:#15090de8; }

/* Experience: separate selectors and scene caption from the artwork itself. */
.feature { background:linear-gradient(160deg,#140a10,#09080c 70%);border-top:1px solid #b53a4438; }
.feature-title>p { color:#efd3cc; }
.feature-panel { border:1px solid #df938267;box-shadow:0 20px 55px #000a; }
.feature-panel-shade { background:linear-gradient(90deg,#10080eed,transparent 76%),linear-gradient(0deg,#10080ef2,transparent 61%); }
.feature-panel-copy h3 { font-family:var(--studio-serif);color:#fff5ed;text-shadow:0 3px 16px #000; }
.feature-tabs button { min-height:48px;color:#f7ded5;background:#160b10;border:1px solid #c77b7490; }
.feature-tabs button.active,.feature-tabs button.active:hover { background:#a91c35;border-color:#ffc2ae;color:#fff; }
.feature-bottom { color:#ead0c8; }

@media(max-width:800px){
  .story-picture{box-shadow:8px 8px 0 #2d0c15,0 12px 34px #0008}
  .red2-origin__copy{border-left:0;border-bottom:1px solid #d96e6480}
  .red2-origin__shade{background:linear-gradient(0deg,#11090d 4%,#11090df0 32%,#11090d38 70%,transparent)}
  .red2-stage__wash{background:linear-gradient(0deg,#10090e 7%,#10090ef5 30%,#10090e55 65%,transparent 88%)}
  .world-shade{background:linear-gradient(0deg,#10090efc,#18090fcf 55%,#10090e20)}
  .world-tabs button,.world-times button{min-height:44px}
  .companion-layout{box-shadow:0 12px 35px #0008}
  .feature-panel-shade{background:linear-gradient(0deg,#10080ef5,transparent 70%)}
}
@media(prefers-reduced-motion:reduce){
  .red2-stage__controls button,.companion-actions button,.feature-tabs button{transition:none!important}
}
.user-reduce-motion .red2-stage__controls button,
.user-reduce-motion .companion-actions button,
.user-reduce-motion .feature-tabs button{transition:none!important}
