*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Arial,Helvetica,sans-serif;color:#eaf0ff;background:#070b16}body{background:radial-gradient(circle at 50% -10%,#1b2c57 0,#080c18 42%,#050810 100%)}button,input{font:inherit}.site-header{background:#080c18;border-bottom:1px solid #28334d;box-shadow:0 4px 25px #0008}.header-inner{height:62px;max-width:1200px;margin:auto;display:flex;align-items:center;gap:22px;padding:0 16px}.logo{font-weight:900;font-size:22px;color:#fff;text-decoration:none;white-space:nowrap}.logo span{color:#ff2e4f}.logo b{color:#ff2e4f;font-size:16px;margin-left:2px}.search{display:flex;max-width:430px;flex:1;margin:auto}.search input{width:100%;background:#151c2c;border:1px solid #303b55;border-radius:8px 0 0 8px;color:#fff;padding:9px 12px;outline:0}.search button{width:42px;border:0;background:#27314a;color:#fff;border-radius:0 8px 8px 0}.auth{display:flex;gap:7px}.auth button{border:1px solid #33405b;background:#111827;color:#e7ebf4;border-radius:7px;padding:7px 10px;font-size:11px}.auth .signup{background:#ef2d4e;border-color:#ef2d4e}.nav{height:38px;max-width:1200px;margin:auto;display:flex;align-items:center;gap:26px;padding:0 16px;border-top:1px solid #121a2b}.nav a{color:#b4bdd0;text-decoration:none;font-size:11px}.nav a.active,.nav a:hover{color:#fff}.adult{margin-left:auto;background:#e52343;color:#fff;border-radius:10px;padding:4px 7px;font-size:9px;font-weight:700}.banner{width:min(728px,calc(100% - 30px));height:74px;margin:10px auto 14px}.ad{border:1px dashed #7383a4;background:linear-gradient(145deg,#14264b,#101b35);border-radius:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;color:#cdd8ef;overflow:hidden}.ad span{position:absolute;top:5px;font-size:7px;color:#687995;letter-spacing:1px}.ad strong{font-size:13px}.ad small{font-size:10px;margin-top:3px;color:#9aabc8}.layout{width:min(1200px,calc(100% - 28px));margin:auto;display:grid;grid-template-columns:80px minmax(0,1fr) 145px 80px;gap:10px;align-items:start}.side-ad{height:600px}.side-ad strong{font-size:12px;text-align:center;line-height:1.45}.side-ad small{font-size:9px;margin-top:5px}.main-column{min-width:0}.watch-card{background:#0d1424;border:1px solid #2b3854;border-radius:8px;overflow:hidden;box-shadow:0 12px 35px #0008}.player-head{height:28px;display:flex;justify-content:space-between;align-items:center;padding:0 10px;color:#7e8ba5;font-size:8px;letter-spacing:1px}.player-head b{background:#25304a;color:#fff;padding:4px 6px;border-radius:4px;font-size:8px}.player{aspect-ratio:16/9;background:#000;position:relative;overflow:hidden}.player video{width:100%;height:100%;display:block;object-fit:cover}.center-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;border-radius:50%;border:0;background:#111c;color:#fff;font-size:27px;cursor:pointer;box-shadow:0 0 0 8px #fff2,0 10px 30px #000b;z-index:3}.center-play:hover{transform:translate(-50%,-50%) scale(1.08)}.center-play.hide{opacity:0;pointer-events:none}.player-gradient{position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#000c);pointer-events:none}.fake-controls{position:absolute;left:0;right:0;bottom:0;height:29px;display:flex;align-items:center;gap:8px;padding:0 9px;color:#fff;font-size:10px;z-index:4}.progress{height:3px;background:#454d5d;flex:1;border-radius:3px;overflow:hidden}.progress i{display:block;height:100%;width:0;background:#ef304f}.title-row{padding:9px 10px;display:flex;justify-content:space-between;gap:10px}.title-row h1{font-size:13px;margin:0 0 5px}.title-row p{font-size:9px;color:#8591a7;margin:0}.actions{display:flex;gap:5px;align-items:center}.actions button{background:none;border:0;color:#9da8bb;font-size:9px;white-space:nowrap}.bottom{margin:10px auto 0}.related{background:#0d1424;border:1px solid #2b3854;border-radius:7px;padding:7px}.related h3{font-size:10px;margin:0 0 7px;color:#e3e8f2}.related a{display:grid;grid-template-columns:1fr 34px;grid-template-rows:auto auto;gap:2px 5px;position:relative;margin-bottom:7px;color:#dbe3f3;text-decoration:none}.related img{width:100%;height:56px;object-fit:cover;grid-row:1/3;border-radius:5px}.related b{font-size:8px;align-self:end}.related em{font-size:8px;color:#aab5ca;font-style:normal;align-self:start}.crumb{font-size:9px;color:#8f9bb0;margin:0 0 8px}.popup-backdrop{position:fixed;inset:0;background:#02050bd9;backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:15px;opacity:0;visibility:hidden;pointer-events:none;transition:.25s;z-index:999}.popup-backdrop.show{opacity:1;visibility:visible;pointer-events:auto}.popup{width:min(370px,100%);background:#0d1424;border:1px solid #303c58;border-radius:18px;box-shadow:0 30px 90px #000;overflow:hidden;position:relative;padding:12px}.close{position:absolute;right:10px;top:10px;width:28px;height:28px;border:1px solid #4c5770;border-radius:50%;background:#0b1020;color:#fff;font-size:20px;line-height:20px;z-index:5;cursor:pointer}.ad-box{height:105px;background:#f2f5fb;color:#17213b;border-color:#a9b4c7;margin-bottom:10px}.ad-box strong{font-size:16px}.ad-box small{font-size:12px;color:#4a5670}.popup-image{height:170px;border-radius:8px;overflow:hidden;position:relative;background:#161d2e;text-align:center}.popup-image img{width:100%;height:100%;object-fit:cover;filter:blur(1px) brightness(.7)}.loading-ring{position:absolute;left:50%;top:43%;width:54px;height:54px;border:7px dotted #fff;border-radius:50%;transform:translate(-50%,-50%);animation:spin .8s linear infinite}.opening{position:absolute;top:59%;left:0;right:0;font-weight:bold;font-size:15px}.popup-image>small{position:absolute;top:70%;left:0;right:0;font-size:9px}.loading-bar{position:absolute;left:10%;right:10%;bottom:12px;height:7px;background:#444d61;border-radius:8px;overflow:hidden}.loading-bar i{display:block;height:100%;width:10%;background:#1f8fff;box-shadow:0 0 12px #1f8fff;transition:width .3s}.redirect-note{text-align:center;background:#f5f7fd;color:#1d2940;border-radius:20px;margin:10px auto 2px;padding:9px;font-size:10px}.redirect-note b{color:#1378db}.popup.second{text-align:center;padding-bottom:18px}.countdown-circle{width:82px;height:82px;border-radius:50%;border:7px solid #1f91ff;border-left-color:#26364f;display:flex;align-items:center;justify-content:center;margin:15px auto 10px;box-shadow:0 0 20px #168cff55}.countdown-circle b{font-size:31px}.popup.second h2{font-size:14px;margin:8px 0}.popup.second p{font-size:9px;color:#8e9ab0;margin:0 0 14px}.go{border:0;background:#ffd400;color:#111827;border-radius:12px;padding:11px 35px;font-size:15px;font-weight:900;cursor:pointer;box-shadow:0 6px 20px #0006}.go span{font-size:11px}.final-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.redirect-card{width:min(620px,100%);background:#f8fafc;color:#111827;border-radius:18px;padding:50px 35px;text-align:center;box-shadow:0 25px 80px #0009}.check{width:70px;height:70px;background:#20b957;color:#fff;border-radius:50%;font-size:48px;line-height:70px;margin:auto}.redirect-card h1{font-size:27px;margin:15px 0 7px}.redirect-card p{color:#4c5668}.redirect-progress{height:15px;background:#dce4e9;border-radius:10px;overflow:hidden;margin-top:28px}.redirect-progress i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#13a84d,#45d86d);animation:progress 3s linear}@keyframes progress{from{width:0}to{width:100%}}@keyframes spin{to{transform:translate(-50%,-50%) rotate(360deg)}}@media(max-width:900px){.layout{grid-template-columns:1fr}.side-ad,.related{display:none}.header-inner{gap:10px}.auth{display:none}.search{max-width:none}.nav{gap:14px;overflow:hidden}.banner{width:calc(100% - 20px)}}@media(min-width:901px) and (max-width:1050px){.layout{grid-template-columns:70px minmax(0,1fr) 125px 70px}}

/* Hosting-safe responsive patch — preserves the original HotPlay design */
img,video{max-width:100%}
.site-header,.layout,.banner{width:100%}
@media(max-width:900px){
  body{overflow-x:hidden}
  .header-inner{
    height:62px;
    padding:0 14px;
    gap:12px;
  }
  .logo{font-size:21px}
  .search{min-width:0;max-width:none}
  .search input{min-width:0;font-size:16px;height:42px}
  .search button{height:42px}
  .nav{
    height:44px;
    padding:0 14px;
    gap:22px;
    white-space:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
  }
  .nav::-webkit-scrollbar{display:none}
  .nav a{font-size:14px;flex:0 0 auto}
  .adult{font-size:12px;padding:6px 9px;flex:0 0 auto}
  .banner{
    width:calc(100% - 36px);
    height:132px;
    margin:18px auto 26px;
  }
  .banner strong{font-size:18px}
  .banner small{font-size:15px}
  .ad span{font-size:11px;top:11px}
  .layout{
    width:100%;
    display:block;
    margin:0;
  }
  .main-column{width:100%}
  .watch-card{
    width:calc(100% - 36px);
    margin:0 auto;
    border-radius:12px;
  }
  .player-head{height:50px;padding:0 18px;font-size:12px}
  .player-head b{font-size:12px;padding:7px 10px}
  .player{aspect-ratio:16/9}
  .center-play{
    width:88px;height:88px;font-size:34px;
    box-shadow:0 0 0 10px #fff1,0 12px 35px #000b;
  }
  .fake-controls{height:43px;padding:0 16px;gap:10px;font-size:13px}
  .progress{height:5px}
  .title-row{padding:16px 18px}
  .title-row h1{font-size:20px;line-height:1.25}
  .title-row p{font-size:14px}
  .actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
  .actions button{font-size:12px}
  .bottom{
    width:calc(100% - 52px);
    height:132px;
    margin:18px auto 0;
  }
  .side-ad,.related{display:none!important}
}
@media(max-width:420px){
  .header-inner{padding:0 10px;gap:8px}
  .logo{font-size:19px}
  .search input{font-size:15px}
  .nav{gap:18px}
  .watch-card{width:calc(100% - 26px)}
  .title-row h1{font-size:18px}
  .bottom{width:calc(100% - 36px)}
}
