/* ── NH Video Player Styles ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600;700&display=swap');

.nhp-wrapper{max-width:900px;margin:0 auto 32px;font-family:'Noto Sans',sans-serif;color:#f1f1f1}

/* Player shell */
.nhp-player{position:relative;width:100%;background:#000;border-radius:12px;overflow:hidden;aspect-ratio:16/9;cursor:pointer}
.nhp-video{width:100%;height:100%;display:block;object-fit:contain}

/* Overlay */
.nhp-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.3);opacity:0;transition:opacity .2s}
.nhp-player:hover .nhp-overlay,.nhp-player.paused .nhp-overlay{opacity:1}
.nhp-big-play{width:68px;height:48px;background:#ff0000;border-radius:12px;display:flex;align-items:center;justify-content:center;transition:transform .15s,background .15s}
.nhp-big-play:hover{background:#cc0000;transform:scale(1.08)}
.nhp-big-play svg{fill:#fff;width:26px;height:26px}

/* Controls */
.nhp-controls{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,.88));padding:28px 12px 10px;display:flex;flex-direction:column;gap:5px;opacity:0;transition:opacity .25s}
.nhp-player:hover .nhp-controls,.nhp-player.paused .nhp-controls{opacity:1}

/* Progress */
.nhp-progress{position:relative;height:14px;display:flex;align-items:center;cursor:pointer}
.nhp-prog-bg{position:absolute;left:0;right:0;height:4px;background:rgba(255,255,255,.25);border-radius:2px;overflow:hidden;transition:height .15s}
.nhp-progress:hover .nhp-prog-bg{height:6px}
.nhp-fill{height:100%;background:#ff0000;border-radius:2px;width:0%;transition:width .05s linear}
.nhp-buf{position:absolute;left:0;height:100%;background:rgba(255,255,255,.35);border-radius:2px;width:0%;pointer-events:none}
.nhp-thumb{position:absolute;top:50%;transform:translateY(-50%);width:12px;height:12px;background:#fff;border-radius:50%;left:0;margin-left:-6px;opacity:0;transition:opacity .15s;pointer-events:none}
.nhp-progress:hover .nhp-thumb{opacity:1}

/* Bottom row */
.nhp-ctrl-row{display:flex;align-items:center;gap:6px}
.nhp-btn{background:none;border:none;color:#fff;cursor:pointer;padding:4px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background .15s}
.nhp-btn:hover{background:rgba(255,255,255,.15)}
.nhp-btn svg{width:20px;height:20px;fill:currentColor}
.nhp-time{font-size:12px;color:#fff;white-space:nowrap;margin:0 4px}
.nhp-time span{color:rgba(255,255,255,.6)}
.nhp-vol-wrap{display:flex;align-items:center;gap:3px}
.nhp-vol{-webkit-appearance:none;appearance:none;width:0;max-width:60px;height:3px;border-radius:2px;background:rgba(255,255,255,.4);overflow:hidden;cursor:pointer;transition:width .2s;outline:none}
.nhp-vol-wrap:hover .nhp-vol,.nhp-vol-wrap:focus-within .nhp-vol{width:60px}
.nhp-vol::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:12px;height:12px;border-radius:50%;background:#fff;cursor:pointer;box-shadow:-60px 0 0 56px rgba(255,255,255,.9)}
.nhp-spacer{flex:1}
.nhp-quality{font-size:11px;font-weight:700;background:rgba(255,255,255,.15);color:#fff;padding:2px 7px;border-radius:4px;letter-spacing:.5px}

/* Ad banner */
.nhp-ad{position:absolute;bottom:58px;left:12px;right:12px;background:rgba(18,18,18,.93);border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:28px 12px 10px;display:flex;align-items:center;gap:12px;backdrop-filter:blur(8px);transition:opacity .3s}
.nhp-ad.nhp-hidden{display:none}
.nhp-ad-meta{position:absolute;top:6px;left:12px;font-size:10px;color:#aaa;display:flex;align-items:center;gap:5px}
.nhp-ad-label{color:#065fd4;font-weight:600}
.nhp-ad-dot{font-size:8px}
.nhp-ad-logo{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#fff;flex-shrink:0}
.nhp-ad-text{flex:1}
.nhp-ad-text strong{font-size:13px;display:block;color:#f1f1f1}
.nhp-ad-text small{font-size:11px;color:#aaa}
.nhp-ad-cta{background:#fff;color:#000;font-weight:700;font-size:12px;border:none;border-radius:18px;padding:7px 16px;cursor:pointer;white-space:nowrap;text-decoration:none;transition:background .15s}
.nhp-ad-cta:hover{background:#e0e0e0}
.nhp-ad-skip{background:rgba(255,255,255,.12);color:#fff;font-size:11px;border:none;border-radius:18px;padding:7px 12px;cursor:pointer;white-space:nowrap;transition:background .15s}
.nhp-ad-skip:hover{background:rgba(255,255,255,.25)}

/* Info below player */
.nhp-title{font-size:18px;font-weight:700;margin:14px 0 10px;line-height:1.35;color:#0f0f0f}
.nhp-meta-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.nhp-ch-logo{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff;flex-shrink:0}
.nhp-ch-name{font-size:14px;font-weight:600;color:#0f0f0f;display:flex;align-items:center;gap:5px}
.nhp-verified{width:14px;height:14px;fill:#aaa}
.nhp-ch-subs{font-size:12px;color:#606060}
.nhp-actions{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}
.nhp-action-btn{display:flex;align-items:center;gap:6px;background:#f2f2f2;border:none;color:#0f0f0f;font-size:13px;font-weight:500;padding:8px 16px;border-radius:18px;cursor:pointer;transition:background .15s;font-family:inherit}
.nhp-action-btn:hover{background:#e5e5e5}
.nhp-action-btn svg{width:18px;height:18px;fill:currentColor}
.nhp-action-btn.nhp-subscribe{background:#0f0f0f;color:#fff}
.nhp-action-btn.nhp-subscribe:hover{background:#333}
.nhp-action-btn.nhp-like.liked{background:#e8f0fe;color:#065fd4}

/* Dark mode support */
@media (prefers-color-scheme:dark){
  .nhp-title{color:#f1f1f1}
  .nhp-ch-name{color:#f1f1f1}
  .nhp-ch-subs{color:#aaa}
  .nhp-action-btn{background:#272727;color:#f1f1f1}
  .nhp-action-btn:hover{background:#3f3f3f}
  .nhp-action-btn.nhp-subscribe{background:#f1f1f1;color:#0f0f0f}
}

/* Responsive */
@media(max-width:540px){
  .nhp-title{font-size:15px}
  .nhp-actions{gap:6px}
  .nhp-action-btn{padding:7px 12px;font-size:12px}
  .nhp-ad{padding:28px 8px 8px;gap:8px}
}
