/* Source: https://hdqwalls.com/wallpaper/2560x1440/markus-detroit-become-human */
/* Full-color edges, long transition to a 50% light veil at the center. */
body{isolation:isolate;background:#eef2f7;font-size:17px;line-height:1.8}
body::before,body::after{content:"";position:fixed;inset:0;pointer-events:none}
body::before{z-index:-2;background:url('底特律壁纸.jpg') right center/cover no-repeat}
body::after{z-index:-1;background:linear-gradient(to right,rgba(244,246,250,0) 0%,rgba(244,246,250,0) 14%,rgba(244,246,250,.5) 50%,rgba(244,246,250,0) 86%,rgba(244,246,250,0) 100%)}
body>header,main,body>footer{width:calc(100% - 48px);max-width:1140px;padding:28px 24px}
.hero{grid-template-columns:1fr;padding:32px 28px;margin-top:28px;gap:30px;background:rgba(250,252,255,.86);box-shadow:0 10px 40px #2435550c}
.hero h1,html[lang="en"] .hero h1{font-size:40px}.hero-subtitle{font-size:.51em;margin-top:14px}.hero .lead{font-size:14px}.presenters-label{font-size:12px}.presenter-names{font-size:15px;gap:7px 16px}.toolbar button{font-size:14px;padding:7px 10px;min-height:40px}.presenters{margin-top:20px}.toolbar{margin-top:20px}
.layout{grid-template-columns:210px minmax(0,1fr);gap:28px}nav,html[lang="en"] nav{font-size:13px}nav a{padding:10px 5px}nav span,html[lang="en"] nav span{width:26px}
section.chapter{padding:28px;margin-bottom:26px}h2{font-size:28px}h3{font-size:21px}.thesis{font-size:21px;margin:14px 0 22px}.meta{font-size:13px;margin-bottom:16px}.meta>span:first-child{font-size:15px}.box{padding:20px}.two{gap:16px}table{font-size:15px}th,td{padding:12px;line-height:1.65}.flow b{font-size:15px;padding:10px 12px}.flow{gap:9px;margin:20px 0}.small{font-size:14px}.end{font-size:26px}
body.presenting{font-size:20px}body.presenting main{max-width:1140px}body.presenting .thesis{font-size:25px}body.presenting table{font-size:18px}body.presenting .hero.current-slide{min-height:calc(100dvh - 145px)}
@media(max-width:1100px){.layout{display:block}nav{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:24px}.hero h1,html[lang="en"] .hero h1{font-size:34px}body::after{background:linear-gradient(to right,rgba(244,246,250,0) 0%,rgba(244,246,250,0) 14%,rgba(244,246,250,.5) 50%,rgba(244,246,250,0) 86%,rgba(244,246,250,0) 100%)}}
@media(max-width:700px){body{font-size:17px}body>header,main,body>footer{width:calc(100% - 24px);padding:20px 0}.hero{padding:24px;margin-top:12px;gap:22px}.hero h1,html[lang="en"] .hero h1{font-size:32px}.hero-subtitle{font-size:19px}.hero .lead{font-size:13px}.presenter-names{font-size:14px}nav{grid-template-columns:repeat(2,minmax(0,1fr))}section.chapter{padding:22px 18px}h2{font-size:25px}.thesis{font-size:20px}.two{grid-template-columns:1fr}table{font-size:15px}th,td{padding:10px 8px}.small{font-size:14px}body.presenting{font-size:18px}body.presenting .thesis{font-size:22px}body.presenting table{font-size:16px}body.presenting .hero.current-slide{min-height:0}}
@media print{body::before,body::after{display:none}body{background:white;font-size:11pt}body>header,main,body>footer,body.presenting main{width:100%;max-width:none}body.presenting{font-size:11pt}.hero{background:white}.hero h1,html[lang="en"] .hero h1{font-size:28pt}body.presenting .thesis{font-size:14pt}body.presenting table{font-size:10pt}}

.hero-content{max-width:none;width:100%}
.adaptation-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:center}.adaptation-intro .yushou-cover{margin:0}.adaptation-intro ul{font-size:17px;line-height:1.75}.adaptation-intro p{font-size:15px;color:var(--muted)}
@media(max-width:800px){.adaptation-intro{grid-template-columns:1fr;gap:16px}}
.yushou-cover{display:block;width:100%;height:auto;max-height:43vh;object-fit:contain;margin:0 0 20px;border-radius:12px;background:#201d17}
.ending-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}
.ending-card{padding:0;overflow:hidden;text-align:left;border:1px solid #d6cbe8;border-radius:14px;background:#fff;color:var(--ink)}
.ending-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
@media(min-width:1000px){body.presenting .ending-card img{max-height:29vh}body.presenting #s3 .ending-grid{margin-top:18px}}
.ending-card>span{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 18px}
.ending-card small{font-size:13px;color:#7760a3}.ending-card:hover{border-color:#7760a3;box-shadow:0 6px 20px #7760a322}
#ending-dialog{position:fixed;inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;background:#000;overflow:hidden}
#ending-dialog::backdrop{background:#000}#ending-player{width:100%;height:100%;object-fit:contain}
#close-ending{position:absolute;z-index:2;right:20px;top:16px;color:white;background:#222b;border:1px solid #ffffff60;border-radius:8px;padding:7px 16px}
body.ending-open{overflow:hidden}@media(max-width:600px){.ending-grid{gap:10px}.ending-card>span{padding:10px}.ending-card small{font-size:11px}}
.feature-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:center}
.feature-media{overflow:hidden;border-radius:14px;background:#121723;line-height:0;box-shadow:0 8px 24px #26345418}
.feature-media video{display:block;width:100%;height:auto;max-height:52vh;object-fit:contain}
#s2 .feature-layout .box{padding:16px 18px}
#s2 .feature-layout ul{margin:8px 0 0;padding-left:1.2em}
@media(min-width:1000px){body.presenting .feature-layout{grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr)}body.presenting #s2 .two{grid-template-columns:1fr;gap:12px}body.presenting #s2 .feature-layout{font-size:17px;line-height:1.65}}
@media print{.feature-media{display:none}}


