:root {
  --base: #0b0b0b; --sizecolor: #f2f2f2; --clickcolor: #fe2c55; --contrast: #222; --contrast-2: #aaa;
}
body { background: #1a1a1a; margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; }

*,*::before,*::after{box-sizing:border-box}
:root{
  --cine-bg:#0a0810;
  --cine-strip:#120f1a;
  --cine-accent:#a78bfa;
  --cine-text:#ece8e4;
  --cine-muted:#9088a0;
  --cine-line:rgba(255,255,255,.08);
  --cine-max:720px;
  --cine-frame-min:42vh;
}
html{scroll-behavior:smooth;overflow-x:hidden}
body{margin:0;font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;background:var(--cine-bg);color:var(--cine-text);line-height:1.65;font-size:16px}
img{max-width:100%;height:auto;display:block}
a{color:var(--cine-accent);text-decoration:none}
a:hover{text-decoration:underline}

.cine-bar{display:flex;flex-wrap:wrap;gap:.35rem 1rem;justify-content:center;padding:.45rem 1rem;font-size:.78rem;color:var(--cine-muted);border-bottom:1px solid var(--cine-line);background:rgba(0,0,0,.35)}
.cine-bar-brand{color:var(--cine-text);font-weight:600}
.cine-header{position:sticky;top:0;z-index:100;background:rgba(8,8,12,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--cine-line)}
.cine-header-inner{display:flex;align-items:center;gap:1rem;max-width:1100px;margin:0 auto;padding:.65rem 1rem}
.cine-brand{display:flex;align-items:center;gap:.65rem;color:var(--cine-text);text-decoration:none;flex-shrink:0}
.cine-brand:hover{text-decoration:none;opacity:.9}
.cine-brand-text{display:flex;flex-direction:column;line-height:1.25}
.cine-brand-text b{font-size:1.05rem}
.cine-brand-text span{font-size:.78rem;color:var(--cine-muted)}
.cine-nav{display:flex;flex-wrap:wrap;align-items:center;gap:.15rem .55rem;margin-left:auto}
.cine-nav a{padding:.35rem .55rem;font-size:.88rem;color:var(--cine-muted);border-radius:4px;text-decoration:none}
.cine-nav a:hover,.cine-nav a.active{color:var(--cine-text);background:rgba(255,255,255,.06);text-decoration:none}
.cine-nav-cta{background:var(--cine-accent)!important;color:#111!important;font-weight:600}

.menu-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:42px;height:42px;margin-left:auto;padding:0;border:1px solid var(--cine-line);border-radius:6px;background:transparent;cursor:pointer}
.menu-toggle span{display:block;width:20px;height:2px;margin:0 auto;background:var(--cine-text);transition:transform .2s,opacity .2s}

.cine-ads{max-width:1100px;margin:0 auto;padding:1rem 1rem 0}
.cine-reel{display:flex;flex-direction:column;gap:0}

.cine-frame{width:100%;margin:0}
.cine-frame-visual{width:100%;min-height:var(--cine-frame-min);max-height:72vh;overflow:hidden;background:#000}
.cine-frame-visual img{width:100%;height:100%;object-fit:cover;min-height:var(--cine-frame-min);max-height:72vh}
.cine-frame-strip{background:var(--cine-strip);padding:1.25rem 1rem 1.5rem;border-bottom:1px solid var(--cine-line)}
.cine-frame-strip h1,.cine-frame-strip h2{margin:0 0 .5rem;font-size:clamp(1.15rem,3vw,1.65rem);line-height:1.3;font-weight:700}
.cine-frame-strip h1{font-size:clamp(1.35rem,3.5vw,2rem)}
.cine-frame-strip p{margin:0;color:var(--cine-muted);font-size:.95rem;max-width:var(--cine-max)}
.cine-tag{display:inline-block;margin-bottom:.45rem;padding:.15rem .55rem;font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--cine-accent);border:1px solid var(--cine-accent);border-radius:2px}

.cine-copy{padding:2.5rem 1rem;background:var(--cine-bg)}
.cine-copy-inner{max-width:var(--cine-max);margin:0 auto}
.cine-copy h1,.cine-copy h2,.cine-copy h3{color:var(--cine-text);margin:1.5rem 0 .65rem;line-height:1.35}
.cine-copy h1{margin-top:0;font-size:clamp(1.4rem,3.5vw,2rem)}
.cine-copy h2{font-size:1.25rem;border-left:3px solid var(--cine-accent);padding-left:.65rem}
.cine-copy h3{font-size:1.05rem;color:var(--cine-accent)}
.cine-copy p,.cine-copy li{color:var(--cine-muted);font-size:.95rem}
.cine-copy ul{padding-left:1.2rem}
.cine-copy .cine-lead{font-size:1.05rem;color:var(--cine-text)}
.cine-col{margin-bottom:1.25rem}
.cine-col h2{font-size:1.1rem;margin-top:0}

.cine-inline-figures{display:flex;flex-direction:column;gap:1rem;margin:1.25rem 0}
.cine-inline-fig{margin:0;background:var(--cine-strip);border:1px solid var(--cine-line)}
.cine-inline-fig img{width:100%}
.cine-inline-cap{padding:.85rem 1rem}
.cine-inline-cap p{margin:.35rem 0 0}

.outlinks{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}
.outlinks a{padding:.4rem .75rem;border:1px solid var(--cine-line);border-radius:4px;font-size:.88rem;color:var(--cine-text);text-decoration:none}
.outlinks a:hover{border-color:var(--cine-accent);color:var(--cine-accent);text-decoration:none}

.faq{margin:1rem 0}
.faq details{border:1px solid var(--cine-line);border-radius:4px;margin-bottom:.5rem;background:var(--cine-strip)}
.faq summary{padding:.75rem 1rem;cursor:pointer;color:var(--cine-text);font-weight:600}
.faq details p{margin:0;padding:0 1rem 1rem;color:var(--cine-muted);font-size:.92rem}

.cine-footer{border-top:1px solid var(--cine-line);padding:2rem 1rem;margin-top:0;background:rgba(0,0,0,.4)}
.cine-footer-inner{max-width:1100px;margin:0 auto;display:flex;flex-wrap:wrap;gap:1.5rem;align-items:flex-start;justify-content:space-between}
.cine-footer-brand strong{display:block;margin-bottom:.25rem}
.cine-footer-brand p{margin:0;font-size:.88rem;color:var(--cine-muted);max-width:24rem}
.cine-footer-links{display:flex;flex-wrap:wrap;gap:.5rem 1rem}
.cine-footer-links a{font-size:.88rem;color:var(--cine-muted);text-decoration:none}
.cine-footer-links a:hover{color:var(--cine-accent);text-decoration:none}
.cine-copyright{width:100%;margin:.75rem 0 0;font-size:.8rem;color:var(--cine-muted)}

.cine-page{padding:1rem 0 2rem}
.cine-prose h2{font-size:1.1rem;margin:1.25rem 0 .5rem;color:var(--cine-text)}
.cine-prose p{color:var(--cine-muted);font-size:.93rem}

.cine-error{min-height:70vh;display:flex;align-items:center;justify-content:center;padding:2rem 1rem}
.cine-error-box{text-align:center;max-width:420px}
.cine-error-box h1{font-size:3rem;margin:0 0 .5rem;color:var(--cine-accent)}
.cine-error-box p{color:var(--cine-muted)}
.cine-btn{display:inline-block;margin-top:1rem;padding:.55rem 1.25rem;background:var(--cine-accent);color:#111!important;font-weight:600;border-radius:4px;text-decoration:none!important}

.ads-wrap{margin:0;padding:.75rem 1rem 1rem;border:1px solid var(--cine-line);border-radius:6px;background:var(--cine-strip)}
.ads-head{max-width:1100px;margin:0 auto;padding:0}
.applist-title{text-align:center;color:var(--cine-muted);font-size:.95rem;margin:0 0 .55rem}
#applist{width:100%}
#ads{display:flex!important;justify-content:center;align-items:flex-start;flex-wrap:wrap;gap:12px;margin:0;padding:0;background:transparent}
#ads>div{display:flex!important;flex-direction:column;align-items:center;width:72px!important;min-width:72px;box-sizing:border-box;flex:0 0 72px}
#ads figure{margin:0;padding:0;width:72px;display:flex;flex-direction:column;align-items:center}
#ads a{display:block;width:65px;height:65px;border-radius:12px;overflow:hidden;text-decoration:none;flex-shrink:0}
#ads img{width:65px!important;height:65px!important;max-width:65px!important;max-height:65px!important;object-fit:cover!important;border-radius:12px;display:block!important;border:0;background:#1a1a22}
#ads figcaption,#ads .caption{display:block;width:72px;margin-top:6px;font-size:11px!important;line-height:1.2;color:var(--cine-muted);text-align:center;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}

@media(max-width:860px){
  .menu-toggle{display:flex}
  .cine-nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;padding:.75rem 1rem 1rem;background:rgba(8,8,12,.98);border-bottom:1px solid var(--cine-line);margin-left:0}
  .cine-nav.open{display:flex}
  .cine-header-inner{position:relative;flex-wrap:wrap}
  .cine-frame-visual,.cine-frame-visual img{min-height:28vh;max-height:50vh}
  :root{--cine-frame-min:28vh}
}


/* === shell layout (paired with target theme CSS above) === */
.header-box { width: 100%; }
.header {
  height: 70px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; position: sticky; top: 0; z-index: 1000;
  background: var(--base, #000); color: var(--sizecolor, #fff);
}
.logo img { height: 50px; width: auto; border-radius: 10px; }
.nav { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.nav a { color: var(--sizecolor, #fff); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a.active { color: var(--clickcolor, #fe2c55); }
button.menu-btn {
  display: none; background: none; border: none; color: var(--sizecolor, #fff);
  font-size: 26px; cursor: pointer;
}
main {
  max-width: 1100px; margin: 16px auto; padding: 28px 24px;
  background: var(--base, #111); border-radius: 8px;
  color: var(--sizecolor, #eee);
}
.content a { color: var(--clickcolor, #fe2c55); font-weight: 600; }
.content h1, .content h2 {
  font-size: 20px; padding: 0.9em 1em; text-align: center; margin: 0 0 18px;
  background: #fff; color: #111;
}
.content h3 { margin: 1.2em 0 0.6em; font-size: 18px; }
.content p { margin: 0 0 1.2em; line-height: 1.75; }
.content ul, .content ol { margin: 0 0 1.2em 1.6em; }
.img-box { text-align: center; margin: 16px 0 22px; }
.img-box img, .content img {
  max-width: 860px; width: 100%; height: auto; border-radius: 12px; display: block; margin: 0 auto;
}
.footer {
  background: var(--base, #000); color: var(--sizecolor, #fff);
  padding: 28px 16px; margin-top: 28px; text-align: center;
}
.footer a { color: var(--sizecolor, #fff); margin: 0 10px 8px; display: inline-block; text-decoration: none; }
.footer-bottom { margin-top: 14px; font-size: 13px; opacity: 0.85; }
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: none; z-index: 2000;
}
.overlay.is-open { display: block; }
.sidebar {
  width: 280px; height: 100%; background: var(--base, #111); padding: 20px; position: relative;
}
.sidebar .menu a {
  display: block; padding: 14px 8px; color: var(--sizecolor, #fff); text-decoration: none; font-size: 18px;
}
button.close-btn {
  position: absolute; top: 16px; right: -52px; width: 40px; height: 40px;
  background: #333; color: #fff; border: none; cursor: pointer;
}
.right-area { position: absolute; left: 280px; right: 0; top: 0; bottom: 0; }
.ads-top-bar { margin: 10px 0 22px; }
#applist {
  text-align: center; margin: 8px 0; padding: 14px 10px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; background: rgba(0,0,0,0.35);
}
#applist .applist-title { font-weight: bold; margin-bottom: 10px; }
#ads { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
#ads .ads-item, #ads > div { width: 70px; text-align: center; }
#ads img { width: 65px; height: 65px; object-fit: cover; border-radius: 18px; display: block; margin: 0 auto; }
#ads .caption, #ads figcaption {
  font-size: 12px; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 4px auto 0;
}
.related { margin-top: 28px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 768px) {
  .nav { display: none !important; }
  button.menu-btn { display: block !important; }
}
