.topic-page {
  --surface: #05241c;
  --edge: #205043;
  --accent: #a1ef9e;
  font: 16px/1.5 "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: #f0f6f2;
}
.topic-page main { width: 89%; max-width: 1536px; padding: 10px 0 40px; }
.topic-page .crumbs { font-size: 14px; margin-bottom: 15px; }
.topic-layout { display: grid; grid-template-columns: minmax(0, 1.79fr) minmax(0, 1fr); gap: clamp(12px, 1.4vw, 24px); align-items: start; }
.topic-layout:not(:has(aside)) { grid-template-columns: minmax(0, 1fr); }
.topic-column { min-width: 0; display: grid; align-content: start; gap: 12px; }
.topic-hero, .topic-panel {
  border: 1px solid var(--edge); border-radius: 12px; margin: 0;
  background: var(--surface); padding: clamp(12px, 1.05vw, 19px) clamp(15px, 1.35vw, 24px);
}
.topic-page h1,.topic-page h2,.topic-page h3 { letter-spacing: .015em; color: #f2f8f2; }
.topic-panel h2 { font-size: clamp(18px,1.35vw,24px); margin: 0 0 9px; display: flex; align-items: center; gap: 10px; }
.topic-panel h3 { margin: 0; font-size: clamp(16px,1.12vw,20px); line-height: 1.3; }
.topic-panel p { margin: 0; line-height: 1.6; }
.topic-icon { flex: 0 0 auto; vertical-align: middle; }
.topic-hero { position: relative; isolation: isolate; min-height: clamp(150px,10vw,190px); overflow: hidden; display: grid; align-items: center; }
.topic-cover { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.topic-hero-copy { align-self: center; text-shadow: 0 1px 6px #00130d; }
.topic-hero h1 { font-size: clamp(26px,2.2vw,42px); margin: 10px 0 3px; line-height: 1.36; }
.topic-hero p { margin: 0; font-size: clamp(15px,1.12vw,20px); max-width: 72ch; }
.topic-hero nav, .topic-tags { gap: 8px; }
.topic-tag,.topic-tags a { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #25583e; padding: 3px 12px; border-radius: 18px; background: #123b29; color: #eff8ee; text-decoration: none; font-size: 14px; }
.topic-hero .topic-tag:nth-child(3) { background: #99501a; border-color: #b97032; }
.topic-tag .topic-icon { width: 18px; height: 18px; }
.topic-scenes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.topic-scenes article { display: flex; gap: 10px; background: #0d3025; padding: 13px; border: 1px solid #1d4937; border-radius: 12px; }
.topic-scenes article>.topic-icon { width: 32px; height: 32px; }
.topic-scenes article p { margin: 4px 0 0; color: #d8e5dc; font-size: 14px; }
.topic-table-scroll { overflow-x: auto; border: 1px solid #1d493b; border-radius: 8px; }
.topic-panel table { width: 100%; border-collapse: collapse; text-align: left; font-size: clamp(13px,.95vw,17px); }
.topic-panel th,.topic-panel td { padding: 6px 12px; border-bottom: 1px solid #153a2d; white-space: normal; }
.topic-panel tr:last-child td { border-bottom: 0; }
.topic-panel th { background: #10352a; color: var(--accent); white-space: nowrap; }
.topic-scores { display: flex; align-items: stretch; gap: clamp(14px,1.8vw,32px); }
.topic-grade { min-width: 26%; padding: 4px 12px; display: grid; justify-items: center; align-content: center; border: 1px solid #347156; border-radius: 10px; color: #8ceb9a; background: #0f3126; }
.topic-grade strong { font-size: clamp(40px,3.9vw,70px); line-height: 1.05; }.topic-grade span{font-weight:650}
.topic-bars { flex: 1; display: grid; gap: 5px; }
.topic-bars label { display: grid; grid-template-columns: minmax(68px,auto) 1fr; align-items: center; gap: 12px; font-size: 15px; }
.topic-bars meter { width: 100%; min-width: 48px; height: 16px; }
.topic-bars meter::-webkit-meter-bar { background: #284039; border: 0; }
.topic-bars meter::-webkit-meter-optimum-value { background: #66da83; }
.topic-timeline,.topic-directions { list-style: none; padding: 0; margin: 0; }
.topic-timeline li { display: grid; grid-template-columns: minmax(65px,auto) 1fr; align-items: baseline; gap: 10px; padding: 4px 0 4px 14px; border-left: 2px solid #427453; }
.topic-timeline li span { color: var(--accent); font-weight: 650; }
.topic-directions li { display: flex; align-items: baseline; gap: 8px; margin: 4px 0; }
.topic-directions .topic-icon { align-self: center; width: 18px; height: 18px; }
.topic-member { margin: 20px 0 0; }.topic-member #action-status:empty,.topic-member #extended:empty{display:none}
@media(max-width:1100px){.topic-scenes{gap:6px}.topic-scenes article{display:block}.topic-bars label{font-size:13px;gap:4px}}
@media(max-width:760px){.topic-page main{width:auto;margin:0 16px}.topic-layout{grid-template-columns:minmax(0,1fr)}.topic-column{gap:10px}.topic-scenes{grid-template-columns:1fr}.topic-scenes article{display:flex}.topic-hero h1{font-size:25px}.topic-hero{min-height:170px}.topic-panel table{min-width:560px}.topic-table-scroll{overscroll-behavior-x:contain}.topic-page .crumbs{margin:2px 0 10px}}

.topic-column{grid-template-columns:minmax(0,1fr)}.topic-panel,.topic-hero{min-width:0}.topic-page .topic-grade strong{line-height:1.0}.topic-page .topic-scores{min-height:82px}.topic-page .topic-bars{gap:2px}.topic-page .topic-hero{padding-block:12px}.topic-scenes article{padding:10px}.topic-scenes article p{line-height:1.45}.topic-panel h2{margin-bottom:7px}
@media(max-width:760px){.topic-table-scroll{max-width:100%}}

.topic-timeline li span{border-radius:12px;background:#103727;text-align:center;padding:1px 6px}

.topic-page main { width:89.5%; }
.topic-page .crumbs { margin-bottom:17px; font-size:15px; }
.topic-panel { padding-block:12px; }
.topic-panel h2 { font-size:clamp(17px,1.33vw,23px); }
.topic-panel td,.topic-panel th { padding-block:7px; }
.topic-timeline li { position:relative; border:0; padding-left:24px; }
.topic-timeline li:before { content:""; position:absolute; left:5px; top:0; bottom:0; width:2px; background:#65ca7a; }
.topic-timeline li:after { content:""; position:absolute; left:1px; top:11px; width:10px; height:10px; border-radius:50%; background:#82e88f; }
.topic-timeline li:first-child:before { top:13px; }
.topic-timeline li:last-child:before { bottom:auto; height:13px; }
@media(max-width:760px){ .topic-page main{width:auto}.topic-page .crumbs{font-size:13px;margin-bottom:9px} }
