
    body.single-post .nex-media-gallery{min-width:0;padding:12px;border-radius:12px;background:#19232f;color:#d9e3ee;overflow:hidden}
    .nex-media-gallery [hidden]{display:none!important}
    .nex-gallery-stage{background:#080c11;border-radius:6px;overflow:hidden}
    .nex-gallery-panel{position:relative;min-width:0}
    .nex-gallery-panel>a:not(.nex-gallery-watch){display:block}
    /* 点击播放：首屏只出海报，不创建 <video> */
    body.single-post .nex-gallery-play{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;aspect-ratio:16/9;padding:0;margin:0;border:0;border-radius:0;background:#0b1219;cursor:pointer;overflow:hidden}
    body.single-post .nex-gallery-play .nex-gallery-poster{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;margin:0;border-radius:0;opacity:.88;transition:opacity .2s,transform .35s}
    body.single-post .nex-gallery-play:hover .nex-gallery-poster{opacity:1;transform:none}
    .nex-gallery-play-icon{position:relative;z-index:1;display:grid;place-items:center;width:66px;height:66px;border-radius:50%;background:rgba(10,18,28,.62);border:1px solid rgba(255,255,255,.30);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:transform .2s,background .2s}
    .nex-gallery-play-icon::after{content:"";display:block;margin-left:5px;border-style:solid;border-width:11px 0 11px 18px;border-color:transparent transparent transparent #fff}
    body.single-post .nex-gallery-play:hover .nex-gallery-play-icon{transform:none;background:rgba(24,60,110,.74)}
    .nex-gallery-play-text{position:relative;z-index:1;color:#dbe7f3;font-size:13px;line-height:1.5;text-shadow:0 1px 6px rgba(0,0,0,.5)}
    body.single-post .nex-gallery-panel img,body.single-post .nex-gallery-panel video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#080c11;border-radius:0;margin:0;transform:none;box-shadow:none}
    body.single-post .nex-gallery-panel .nex-gallery-watch{display:block;padding:8px 12px;background:#101923;color:#a9d9ff;font-size:12px;text-align:right;text-decoration:none;line-height:1.6}
    .nex-gallery-stream{position:relative;min-height:160px;display:grid;place-items:center}
    .nex-gallery-stream p{padding:12px;text-align:center;color:#d9e3ee}
    .nex-gallery-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;font-size:13px}
    .nex-gallery-tools>div{display:flex;gap:6px;flex-shrink:0}
    .nex-gallery-caption{min-width:0;overflow-wrap:anywhere}
    body.single-post .nex-gallery-tools button{display:inline-flex;justify-content:center;align-items:center;width:40px;height:36px;padding:0;border:1px solid #40566a;border-radius:4px;background:#263a4b;color:#dcecff;font-size:26px;line-height:1;cursor:pointer}
    body.single-post .nex-gallery-tools button:disabled{opacity:.35;cursor:default}
    .nex-gallery-strip{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:3px 2px 12px;scrollbar-color:#7396b1 #101923;scrollbar-width:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
    .nex-gallery-strip::-webkit-scrollbar{height:12px}.nex-gallery-strip::-webkit-scrollbar-track{background:#101923;border-radius:4px}.nex-gallery-strip::-webkit-scrollbar-thumb{background:#7396b1;border:2px solid #101923;border-radius:4px}
    body.single-post button.nex-gallery-thumb{position:relative;flex:0 0 140px;width:140px;aspect-ratio:16/9;padding:0;margin:0;overflow:hidden;border:2px solid transparent;border-radius:3px;background:#304354;cursor:pointer;box-sizing:border-box;transform:none}
    body.single-post .nex-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;margin:0;transform:none;box-shadow:none}
    body.single-post .nex-gallery-thumb[aria-pressed="true"]{border-color:#82c9ff;box-shadow:0 0 0 1px #82c9ff}
    .nex-gallery-kind{position:absolute;left:0;bottom:0;padding:2px 7px;background:#07121de0;color:#fff;font-size:11px;line-height:1.7}
    .nex-media-gallery :is(a,button):focus-visible{outline:3px solid #9cd7ff;outline-offset:2px}
    @media(max-width:600px){body.single-post .nex-media-gallery{padding:8px;border-radius:8px}body.single-post button.nex-gallery-thumb{flex-basis:106px;width:106px}.nex-gallery-tools{font-size:12px}.nex-gallery-tools button{min-height:44px;min-width:44px}}
    