/* Steam 商店页复刻 · P34 */
:root{
  --steam-bg:#1b2838;
  --steam-deep:#171a21;
  --steam-panel:#16202d;
  --steam-panel-2:#2a475e;
  --steam-line:#2a3f55;
  --steam-text:#c7d5e0;
  --steam-dim:#8f98a0;
  --steam-blue:#66c0f4;
  --steam-green:#a4d007;
  --steam-green-2:#beee11;
  --steam-red:#a34c4c;
}

*{box-sizing:border-box}

html,body{margin:0;padding:0}

body{
  background:var(--steam-bg);
  color:var(--steam-text);
  font-family:"Motiva Sans","Segoe UI",Arial,"Microsoft YaHei",sans-serif;
  font-size:14px;
  line-height:1.6;
}

a{color:var(--steam-text);text-decoration:none}
a:hover{color:#fff}

/* 顶部全局导航 */
.global-header{background:var(--steam-deep);border-bottom:1px solid #000}
.gh-inner{max-width:1180px;margin:0 auto;display:flex;align-items:center;gap:22px;height:58px;padding:0 12px}
.gh-logo{font-weight:700;font-size:22px;letter-spacing:.14em;color:#dfe6ea}
.gh-nav{display:flex;gap:18px;font-size:13px;color:#b8c3cc;text-transform:uppercase;letter-spacing:.04em}
.gh-nav span:first-child{color:#fff}
.gh-user{margin-left:auto;display:flex;align-items:center;gap:14px;font-size:12px;color:#b8c3cc}
.gh-search{background:#316282;border:1px solid #4b7a99;color:#c6d4df;font-size:12px;padding:4px 8px;width:180px;border-radius:2px;outline:none}
.gh-search::placeholder{color:#a6b8c4}

/* 二级导航 */
.subnav{background:#1e2a37;border-bottom:1px solid #000}
.subnav-inner{max-width:1180px;margin:0 auto;display:flex;gap:16px;padding:7px 12px;font-size:12.5px;color:#8f98a0}
.subnav-inner b{color:#c7d5e0;font-weight:500}

/* 主体 */
.wrap{max-width:1180px;margin:0 auto;padding:26px 20px 90px}

.crumbs{font-size:12px;color:#7d868e;margin:6px 0 14px}
.crumbs span{color:#55646f;margin:0 6px}

/* 两栏 */
.apphub{display:grid;grid-template-columns:minmax(0,1fr) 352px;gap:30px;align-items:start}

/* 左栏 */
.media{position:relative;background:#0f1620;border:1px solid #000}
.screen{
  aspect-ratio:16/9;width:100%;
  background:
    radial-gradient(80% 70% at 30% 20%, #2c565a 0%, #17383c 45%, #0c1f22 100%);
  display:grid;place-items:center;position:relative;overflow:hidden;
}
.screen::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%);
}
.screen .glyph{font-size:64px;letter-spacing:.2em;color:#9fc7c2;opacity:.85}
.screen img{width:100%;height:100%;object-fit:cover;display:block}
.screen video{width:100%;height:100%;object-fit:contain;display:block;background:#000}

.media{position:relative}
.arrow{
  position:absolute;top:calc(50% - 34px);transform:translateY(-50%);
  width:34px;height:68px;border:0;cursor:pointer;
  background:rgba(10,18,24,.55);color:#c7d5e0;font-size:26px;line-height:1;
  display:grid;place-items:center;
}
.arrow:hover{background:rgba(10,18,24,.8);color:#fff}
.arrow.prev{left:0}
.arrow.next{right:0}

.thumbs{display:flex;gap:2px;padding:2px;background:#0f1620;overflow-x:auto;position:relative;scrollbar-width:thin;scrollbar-color:#3a5a78 #0f1620}
.thumbs::-webkit-scrollbar{height:8px}
.thumbs::-webkit-scrollbar-thumb{background:#3a5a78}
.thumbs::-webkit-scrollbar-track{background:#0f1620}
.thumbs button{flex:0 0 168px;padding:0;border:1px solid #0a1118;background:#0a1118;cursor:pointer;display:block;opacity:.65;transition:opacity .15s}
.thumbs button:hover{opacity:.9}
.thumbs button.on{opacity:1;outline:1px solid #66c0f4}
.thumbs button img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:16/9}
.thumbs button{position:relative}
.thumbs button .play{
  position:absolute;inset:0;margin:auto;width:26px;height:26px;border-radius:50%;
  background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.6);
  display:grid;place-items:center;color:#fff;font-size:11px;
}
.thumbs button .play::after{content:"▶";transform:translateX(1px)}

.short-desc{margin:18px 0 0;font-size:15px;color:#c7d5e0}

.block{border-top:1px solid var(--steam-line);margin-top:26px;padding-top:20px}
.block h3{margin:0 0 12px;font-size:15px;font-weight:600;color:#fff;letter-spacing:.02em}

/* 好评率条 */
.rating-row{display:grid;grid-template-columns:170px 1fr;gap:14px;align-items:center;margin-bottom:10px}
.rating-row .label{font-size:12.5px;color:var(--steam-dim)}
.rating-row .value{font-size:13px;color:var(--steam-blue)}
.bar{height:12px;background:#101821;border:1px solid #000;display:flex;overflow:hidden}
.bar i{display:block;height:100%}
.bar .pos{background:linear-gradient(180deg,#8ed629,#5c9a10)}
.bar .neg{background:#3a2a2a}
.bar-meta{font-size:11.5px;color:#7d868e;display:flex;justify-content:space-between;margin-top:6px}

/* 语言表 / 系统需求 */
table.lang{width:100%;border-collapse:collapse;font-size:12.5px}
table.lang th,table.lang td{text-align:left;padding:8px 10px;border-bottom:1px solid #22364a;color:#b6c3cd}
table.lang th{color:#8f98a0;font-weight:500;font-size:11.5px;text-transform:uppercase;letter-spacing:.06em}
table.lang td.c{text-align:center;color:#8f98a0}

.sysreq{font-size:12.5px;color:#a9b5bf}
table.sys{width:100%;border-collapse:collapse;font-size:12.5px}
table.sys th,table.sys td{text-align:left;padding:6px 8px;border-bottom:1px solid #22364a;color:#b6c3cd}
table.sys th{color:#8f98a0;font-weight:500;font-size:11.5px;text-transform:uppercase;letter-spacing:.06em}

.about{font-size:13px;color:#b9c7d1;line-height:1.8;margin:0 0 10px}
.about.dim{color:#7d868e;font-size:12px}

.loadmore{margin:6px 0 0}
.loadmore a{display:inline-block;background:#22364a;border:1px solid #2f4a63;padding:7px 14px;font-size:12.5px;color:#c6d4df}

/* 右栏 */
.right-col{font-size:13px}
.title-img{
  width:100%;aspect-ratio:460/215;border:1px solid #000;overflow:hidden;
  background:radial-gradient(70% 80% at 45% 35%, #2f5f63 0%, #143034 55%, #0b1c1f 100%);
  display:grid;place-items:center;font-size:52px;letter-spacing:.18em;color:#a9cdc8;
}
.title-img img{width:100%;height:100%;object-fit:cover;display:block}
.right-col h1{font-size:24px;margin:18px 0 8px;color:#fff;font-weight:500}
.meta-line{font-size:13px;color:var(--steam-dim);margin:4px 0}
.meta-line b{color:#c7d5e0;font-weight:400}

.brief{
  background:linear-gradient(180deg, rgba(38,64,84,.55), rgba(20,34,46,.55));
  border:1px solid #22364a;padding:15px 16px;margin:16px 0;font-size:13.5px;line-height:1.75;color:#b9c7d1;
}

.summary-box{background:#22364a;padding:13px 15px;margin:14px 0;font-size:13px}
.summary-box b{color:#fff}
.summary-box .pos{color:#8ed629}

.tags{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 20px}
.tags span{font-size:11.5px;color:#c7d5e0;background:rgba(103,193,245,.12);border:1px solid rgba(103,193,245,.25);padding:3px 8px;border-radius:2px}
.tags .add{color:#8f98a0;background:transparent;border-style:dashed}

.buybox{background:#16202d;border:1px solid #000;padding:18px}
.buybox .price{font-size:13px;color:#beee11;margin-bottom:10px}
.buybox .btn{
  display:block;text-align:center;padding:11px 14px;margin-bottom:10px;border-radius:3px;
  background:linear-gradient(180deg,#75b022,#588a11);color:#fff;font-size:13px;
}
.buybox .btn.ghost{background:linear-gradient(180deg,#3d4450,#2c333c);color:#c6d4df}
.buybox .note{font-size:11px;color:#7d868e;margin-top:8px}

/* 评测区 */
.all-reviews{margin-top:44px;border-top:1px solid var(--steam-line);padding-top:26px}
.all-reviews h2{font-size:21px;color:#fff;font-weight:500;margin:0 0 16px}

.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}
.filters .chip{font-size:12.5px;color:#b6c3cd;background:#22364a;border:1px solid #2f4a63;padding:6px 12px}
.filters .chip.on{background:#3a5a78;color:#fff;border-color:#4a6f92}

.review{
  background:rgba(0,0,0,.18);border:1px solid #22364a;padding:18px;margin-bottom:14px;
  display:grid;grid-template-columns:200px 1fr;gap:20px;
}
.review .who{font-size:12px;color:#8f98a0}
.review .who .name{display:flex;align-items:center;gap:8px;color:#c7d5e0;font-size:13px;margin-bottom:6px}
.review .avatar{width:32px;height:32px;border-radius:2px;background:linear-gradient(140deg,#3b5a66,#1d3038);border:1px solid #2f4a63}
.review .who .row{margin:2px 0}
.review .rec{display:flex;align-items:center;gap:6px;font-size:12.5px;margin-bottom:6px}
.review .rec.up{color:#8ed629}
.review .rec.down{color:#c17a7a}
.review .body{font-size:14px;color:#b9c7d1;line-height:1.85}
.review .body p{margin:0}
.review .foot{margin-top:10px;font-size:11.5px;color:#7d868e;display:flex;gap:14px;flex-wrap:wrap}
.review .foot .helpful:hover{color:#beee11}

.pagefoot{margin-top:26px;font-size:11.5px;color:#6d7780;border-top:1px solid #22364a;padding-top:12px}

@media (max-width:860px){
  .apphub{grid-template-columns:1fr}
  .review{grid-template-columns:1fr}
  .gh-nav{display:none}
  .subnav-inner{overflow:auto}
}

/* itch 试玩入口 */
.itch-link{
  display:block;text-align:center;
  margin:14px 0 0;padding:11px 14px;
  background:linear-gradient(180deg, rgba(250,92,95,.16), rgba(250,92,95,.08));
  border:1px solid rgba(250,92,95,.4);border-radius:3px;
  font-size:13px;color:#ffb3b3;letter-spacing:.02em;
}
.itch-link a{color:#ff7d7d;border-bottom:1px solid rgba(255,125,125,.5)}
.itch-link a:hover{color:#ffa1a1}
.itch-link .hint{font-size:11.5px;color:#a08b8b}

/* 缩略图右缘渐隐，提示可横向滚动 */
.media .thumbs{ -webkit-mask-image:linear-gradient(to right, #000 92%, rgba(0,0,0,.25) 100%); mask-image:linear-gradient(to right, #000 92%, rgba(0,0,0,.25) 100%); }
