:root{color-scheme:dark;--bg:#0f0f0f;--panel:#171717;--panel2:#1d1d1d;--line:#292929;--muted:#929292;--text:#f4f4f4;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}.topbar{height:76px;display:flex;align-items:center;gap:34px;padding:0 clamp(18px,5vw,76px);border-bottom:1px solid #202020;background:rgba(15,15,15,.96);position:sticky;top:0;z-index:5}.brand{display:flex;align-items:baseline;gap:8px;text-decoration:none;color:var(--text);font-weight:900;letter-spacing:-1.5px;font-size:23px;white-space:nowrap}.brand i{font-size:11px;font-style:normal;font-weight:700;letter-spacing:2px;color:#a2a2a2}.main-nav{display:flex;align-items:center;gap:23px;height:100%}.nav{height:100%;border:0;background:none;color:#999;font:600 13px inherit;cursor:pointer;position:relative;padding:0 2px}.nav:hover,.nav.active{color:#fff}.nav.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:#fff}.count{font-size:10px;color:#aaa;margin-left:3px}.search-wrap{margin-left:auto;width:min(280px,26vw);height:39px;border:1px solid #303030;border-radius:8px;display:flex;align-items:center;gap:10px;padding:0 12px;background:#171717}.search-wrap svg,.icon-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.search-wrap svg{color:#888;flex:none}.search-wrap input{width:100%;background:none;border:0;outline:0;color:white;font:inherit;font-size:12px}.icon-btn{width:38px;height:38px;border:1px solid #303030;border-radius:50%;background:#1b1b1b;color:#bbb;display:grid;place-items:center;cursor:pointer;font-size:21px}.page{display:none}.page.active{display:block}main{max-width:1500px;margin:auto;padding:0 clamp(18px,5vw,76px) 64px}.hero{min-height:420px;border-radius:13px;overflow:hidden;position:relative;margin:30px 0 52px;background:radial-gradient(ellipse at 80% 48%,#343434 0,#1d1d1d 25%,#131313 61%);display:flex;align-items:center;padding:clamp(28px,6vw,78px)}.hero:before,.hero:after{content:"";position:absolute;border:1px solid #ffffff0d;border-radius:50%;width:440px;height:440px;right:7%;top:-12%;box-shadow:0 0 0 42px #ffffff05,0 0 0 90px #ffffff03}.hero:after{width:300px;height:300px;right:12%;top:5%;box-shadow:0 0 0 35px #ffffff04}.hero-content{position:relative;z-index:1;max-width:540px}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:800;color:#aaa}.hero h1,.page-heading h1{font-size:clamp(38px,5vw,62px);line-height:1.02;letter-spacing:-2.8px;margin:16px 0}.hero h1 em{font-style:normal;color:#999}.hero p,.page-heading p{max-width:440px;color:#a5a5a5;font-size:14px}.hero-actions{display:flex;gap:10px;margin-top:25px}.primary-btn,.secondary-btn{border:0;border-radius:7px;padding:11px 16px;font-weight:750;font-size:12px;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;gap:12px}.primary-btn{background:#f1f1f1;color:#101010}.primary-btn:hover{background:#d7d7d7}.secondary-btn{background:#292929;color:#f5f5f5;border:1px solid #393939}.secondary-btn:hover{background:#353535}.hero-mark{position:absolute;right:16%;top:50%;transform:translateY(-50%);z-index:1;display:flex;align-items:center;gap:12px;color:#777;opacity:.5}.hero-mark span{font-size:140px;font-weight:950;letter-spacing:-18px}.hero-mark b{font-size:13px;letter-spacing:3px;line-height:1.4}.section{margin:0 0 48px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-head h2{font-size:19px;letter-spacing:-.4px;margin:0}.section-head p{font-size:11px;color:#858585;margin:3px 0 0}.text-btn{border:0;background:none;color:#aaa;font:600 11px inherit;cursor:pointer}.text-btn:hover{color:#fff}.empty-panel{min-height:180px;border:1px dashed #333;border-radius:10px;background:#141414;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;color:#aaa}.empty-panel h3{color:#eee;font-size:15px;margin:8px 0 2px}.empty-panel p{font-size:12px;max-width:480px;margin:4px 0 0;color:#888}.empty-icon{font-size:25px;color:#777}.empty-panel .primary-btn{margin-top:18px}.compact{min-height:92px}.compact p{max-width:560px}.discover-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.discover-card{position:relative;text-align:left;min-height:122px;padding:20px;border:1px solid #292929;border-radius:9px;background:linear-gradient(140deg,#202020,#151515);color:#eee;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.discover-card:hover{border-color:#555;transform:translateY(-2px)}.discover-icon{font-size:19px;color:#aaa;margin-bottom:8px}.discover-card b{font-size:13px}.discover-card small{font-size:11px;color:#888}.discover-card .arrow{position:absolute;right:18px;top:18px;color:#777}.page-heading{padding:48px 0 25px}.page-heading h1{font-size:44px;margin:8px 0}.filter-row{display:flex;gap:8px;margin-bottom:25px;flex-wrap:wrap}.filter{background:#1b1b1b;border:1px solid #303030;color:#aaa;border-radius:20px;padding:8px 14px;font-size:11px;cursor:pointer}.filter.active,.filter:hover{background:#eee;color:#111;border-color:#eee}.catalog-empty{min-height:310px}.catalog-empty p{line-height:1.7}footer{border-top:1px solid #242424;padding:24px clamp(18px,5vw,76px);display:flex;align-items:center;gap:22px;color:#777;font-size:11px}footer .brand{font-size:16px;margin-right:auto}footer .brand i{font-size:9px}footer a{color:#aaa;text-decoration:none}footer a:hover{color:white}dialog{width:min(460px,calc(100% - 30px));border:1px solid #383838;border-radius:12px;background:#181818;color:#eee;padding:24px;box-shadow:0 20px 90px #000b}dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.dialog-head h2{margin:4px 0;font-size:22px}.dialog-head .icon-btn{font-size:18px}#add-form label{display:block;color:#aaa;font-size:11px;margin:14px 0}#add-form input{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #363636;border-radius:7px;background:#101010;color:white;font:inherit;font-size:12px;outline:none}#add-form input:focus{border-color:#888}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#eee;color:#111;padding:10px 16px;border-radius:8px;font-size:12px;display:none;z-index:10;box-shadow:0 5px 30px #0008}@media(max-width:850px){.topbar{gap:18px}.main-nav{gap:13px}.hero-mark{right:7%;opacity:.25}.search-wrap{width:180px}}@media(max-width:650px){.topbar{height:auto;min-height:65px;flex-wrap:wrap;padding:12px 16px;gap:12px}.brand{font-size:20px}.main-nav{order:3;width:100%;height:35px;justify-content:space-between}.nav{font-size:11px}.search-wrap{margin-left:auto;width:min(210px,45vw)}.icon-btn{display:none}main{padding:0 16px 42px}.hero{min-height:370px;margin:18px 0 38px;padding:27px}.hero-mark{display:none}.hero h1{font-size:42px}.discover-grid{grid-template-columns:1fr}.discover-card{min-height:95px}.section{margin-bottom:38px}.page-heading{padding-top:34px}.page-heading h1{font-size:38px}footer{padding:20px 16px;gap:12px}}
/* TMDB catalog */
.skeleton-row{height:240px;border-radius:10px;background:linear-gradient(90deg,#171717,#242424,#171717);background-size:200% 100%;animation:shimmer 1.5s infinite;margin:14px 0 42px}@keyframes shimmer{to{background-position:-200% 0}}.poster-row{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(125px,15vw,190px);gap:14px;overflow-x:auto;padding:2px 2px 14px;scrollbar-width:thin;scrollbar-color:#444 transparent}.poster-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:22px 15px}.poster-card{position:relative;min-width:0}.poster-open{width:100%;aspect-ratio:2/3;position:relative;padding:0;border:0;border-radius:8px;overflow:hidden;background:#202020;cursor:pointer;display:grid;place-items:center}.poster-open img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.poster-open:hover img{transform:scale(1.045)}.poster-fallback{font-size:56px;font-weight:900;color:#555}.poster-rating{position:absolute;bottom:8px;left:8px;padding:4px 7px;border-radius:5px;background:#0b0b0bdc;color:#eee;font-size:10px}.poster-meta{padding:8px 24px 0 1px;display:flex;flex-direction:column;gap:2px}.poster-meta b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.poster-meta small{font-size:10px;color:#888}.quick-save{position:absolute;right:7px;bottom:7px;width:28px;height:28px;border:1px solid #555;border-radius:50%;background:#111d;color:white;cursor:pointer}.quick-save:hover{background:#eee;color:#111}.row-empty{color:#888;font-size:12px;padding:25px}.setup-panel{min-height:230px}.settings-note,.muted{color:#888;font-size:11px;line-height:1.6}.detail-dialog{width:min(900px,calc(100% - 24px));max-width:900px;max-height:90vh;overflow:auto;padding:0;border:1px solid #333;background:#141414}.detail-dialog::backdrop{background:#000c;backdrop-filter:blur(4px)}.detail-backdrop{position:relative;min-height:390px;background-color:#1a1a1a;background-size:cover;background-position:center;display:flex;align-items:flex-end;padding:35px}.detail-close{position:absolute;right:16px;top:14px;width:34px;height:34px;border-radius:50%;border:1px solid #666;background:#111c;color:white;font-size:22px;cursor:pointer;z-index:2}.detail-main{display:flex;align-items:flex-end;gap:25px;position:relative;z-index:1;width:100%}.detail-poster{width:150px;border-radius:8px;box-shadow:0 8px 35px #0009}.detail-copy{max-width:590px}.detail-copy h2{font-size:clamp(27px,5vw,42px);line-height:1.05;margin:8px 0}.detail-facts,.detail-genres{font-size:11px;color:#bbb}.detail-overview{font-size:13px;line-height:1.7;color:#ddd}.detail-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.detail-lower{padding:22px 35px 30px}.detail-lower section+section{margin-top:22px}.detail-lower h3{font-size:14px;margin:0 0 10px}.cast-list,.provider-list{display:flex;gap:8px;flex-wrap:wrap}.cast-name,.provider-pill{font-size:10px;color:#ccc;padding:7px 10px;border:1px solid #333;border-radius:20px}.detail-loading,.detail-error{padding:50px;text-align:center;color:#aaa}.detail-error{position:relative}.detail-error .detail-close{top:10px;right:10px}#settings-form label{display:block;color:#aaa;font-size:11px;margin:14px 0}#settings-form input{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #363636;border-radius:7px;background:#101010;color:white;font:inherit;font-size:12px;outline:none}#settings-form input:focus{border-color:#888}@media(max-width:650px){.poster-row{grid-auto-columns:130px;gap:11px}.poster-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.detail-backdrop{padding:22px;min-height:0}.detail-main{align-items:flex-start;gap:14px}.detail-poster{width:100px}.detail-overview{font-size:11px}.detail-lower{padding:18px 22px}.detail-copy h2{font-size:25px}}

/* Multi-source player */
.player-dialog{width:min(1120px,calc(100% - 24px));max-width:1120px;max-height:94vh;overflow:auto;padding:0;background:#101010;border:1px solid #383838}.player-shell{padding:20px}.player-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}.player-top h2{font-size:19px;margin:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-top .icon-btn{display:grid;flex:none}.player-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:12px}.player-toolbar label{font-size:11px;color:#999}.player-toolbar select{background:#202020;color:#eee;border:1px solid #393939;border-radius:7px;padding:9px 30px 9px 11px;font:inherit;font-size:12px;outline:none}.player-toolbar .secondary-btn{margin-left:auto}.player-frame-wrap{width:100%;aspect-ratio:16/9;background:#050505;border:1px solid #292929;border-radius:8px;overflow:hidden}.player-frame-wrap iframe{width:100%;height:100%;display:block;border:0;background:#050505}.player-help{font-size:11px;color:#888;margin:11px 2px 0;line-height:1.6}@media(max-width:650px){.player-shell{padding:13px}.player-toolbar{flex-wrap:wrap}.player-toolbar .secondary-btn{margin-left:0}.player-top h2{font-size:15px}}

/* Compact in-player server switcher */
.player-toolbar{position:relative;min-height:38px}.server-change-btn{border:1px solid #393939;border-radius:7px;background:#202020;color:#eee;padding:8px 11px;font:600 11px inherit;cursor:pointer;white-space:nowrap}.server-change-btn:hover,.server-change-btn[aria-expanded="true"]{background:#303030;border-color:#555}.player-source-menu{position:absolute;z-index:4;left:0;top:calc(100% + 6px);display:flex;align-items:center;gap:9px;padding:9px 11px;border:1px solid #393939;border-radius:8px;background:#1a1a1a;box-shadow:0 8px 24px #0009}.player-source-menu[hidden]{display:none}.player-source-menu label{font-size:11px;color:#aaa}.player-source-menu select{background:#202020;color:#eee;border:1px solid #393939;border-radius:6px;padding:8px 28px 8px 9px;font:inherit;font-size:11px;outline:none}.player-toolbar .secondary-btn{margin-left:auto}@media(max-width:650px){.player-source-menu{max-width:calc(100vw - 60px);flex-wrap:wrap}.player-toolbar .secondary-btn{margin-left:auto}}

/* Player expands to the available screen instead of using a fixed 16:9 box */
.player-dialog{width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden}
.player-shell{height:100%;min-height:0;display:flex;flex-direction:column;padding:clamp(10px,1.6vw,20px)}
.player-top{flex:none}
.player-toolbar{flex:none}
.player-frame-wrap{flex:1 1 auto;min-height:0;aspect-ratio:auto;width:100%}
.player-frame-wrap iframe{width:100%;height:100%;min-height:0}
.player-help{flex:none;max-height:48px;overflow:auto}
@media(max-width:650px){.player-shell{padding:10px}.player-top{margin-bottom:8px}.player-toolbar{margin-bottom:8px}.player-frame-wrap{min-height:180px}.player-help{font-size:10px;max-height:38px;margin-top:7px}}
@media(max-height:520px){.player-top{margin-bottom:6px}.player-top h2{font-size:15px}.player-toolbar{margin-bottom:6px}.player-help{max-height:28px;font-size:9px}}

/* NERO Movies v1.2.0: fit the embedded mobile viewport, including detail dialogs. */
html,body{width:100%;min-width:0;overflow-x:hidden}
@media(max-width:650px){
  .topbar{
    width:100%;
    min-width:0;
    gap:9px;
    padding:10px 12px;
  }
  .brand{font-size:19px;letter-spacing:-1px}
  .brand i{font-size:9px;letter-spacing:1.4px}
  .main-nav{min-width:0;gap:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
  .main-nav::-webkit-scrollbar{display:none}
  .nav{flex:0 0 auto;font-size:10px;padding:0 2px}
  .search-wrap{width:min(190px,48%);min-width:0;height:35px;padding:0 9px}
  .search-wrap input{min-width:0;font-size:11px}
  main{width:100%;min-width:0;padding:0 12px 36px}
  .page-heading{padding:27px 0 18px}
  .page-heading h1{font-size:34px}
  .section{min-width:0;margin-bottom:30px}
  .section-head{gap:8px}
  .section-head h2{font-size:16px}
  .poster-row{grid-auto-columns:clamp(108px,34vw,145px);gap:10px;padding-bottom:10px}
  .poster-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
  .poster-meta{padding-right:3px}
  .poster-meta b{font-size:11px}
  .detail-dialog{
    width:calc(100vw - 12px);
    max-width:calc(100vw - 12px);
    max-height:94dvh;
    margin:auto;
    overflow-x:hidden;
    overflow-y:auto;
    border-radius:12px;
  }
  .detail-backdrop{
    min-height:0;
    padding:42px 16px 18px;
    background-position:center top;
  }
  .detail-main{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:13px;
    min-width:0;
  }
  .detail-poster{
    width:clamp(96px,34vw,132px);
    max-height:190px;
    object-fit:cover;
    align-self:flex-start;
  }
  .detail-copy{width:100%;max-width:none;min-width:0}
  .detail-copy h2{font-size:clamp(23px,7vw,30px);line-height:1.08;overflow-wrap:anywhere}
  .detail-facts,.detail-genres{font-size:10px;line-height:1.5}
  .detail-overview{font-size:12px;line-height:1.55;overflow-wrap:anywhere}
  .detail-actions{gap:7px}
  .detail-actions>*{font-size:10px;padding:9px 10px}
  .detail-lower{padding:16px}
  .detail-close{top:9px;right:9px;width:31px;height:31px}
}
@media(max-width:380px){
  .topbar{gap:8px;padding:9px 10px}
  .main-nav{gap:7px}
  .nav{font-size:9px}
  main{padding-right:10px;padding-left:10px}
  .poster-row{grid-auto-columns:112px}
  .detail-backdrop{padding-right:13px;padding-left:13px}
  .detail-overview{font-size:11px}
}


/* NERO Aero theme bridge — follows the theme selected in the NERO browser shell. */
html[data-nero-theme="aero-glass"]{
  --bg:#17283d;--panel:#263d58;--panel2:#304a67;--line:rgba(220,239,255,.28);
  --muted:#b3c4d6;--text:#f4f8fc;--white:#fff;color-scheme:dark;
}
html[data-nero-theme="aero-glass"] body{
  background:radial-gradient(ellipse at 12% 5%,rgba(214,238,255,.18),transparent 36%),
  radial-gradient(ellipse at 88% 85%,rgba(92,157,211,.18),transparent 42%),#17283d;
}
html[data-nero-theme="aero-glass"] .topbar,
html[data-nero-theme="aero-glass"] footer{
  background:linear-gradient(180deg,rgba(220,238,255,.19),rgba(65,100,137,.25));
  border-color:var(--line);backdrop-filter:blur(20px) saturate(1.35);
  box-shadow:inset 0 1px rgba(255,255,255,.18),0 5px 18px rgba(5,17,31,.18);
}
html[data-nero-theme="aero-glass"] .hero,
html[data-nero-theme="aero-glass"] .discover-card,
html[data-nero-theme="aero-glass"] .empty-panel,
html[data-nero-theme="aero-glass"] .poster-card,
html[data-nero-theme="aero-glass"] .detail-lower,
html[data-nero-theme="aero-glass"] .player-shell{
  background:linear-gradient(145deg,rgba(223,240,255,.14),rgba(35,61,87,.48));
  border-color:var(--line);box-shadow:inset 0 1px rgba(255,255,255,.12),0 10px 28px rgba(5,18,32,.18);
  backdrop-filter:blur(14px) saturate(1.2);
}
html[data-nero-theme="aero-glass"] .hero{background-image:radial-gradient(ellipse at 80% 48%,rgba(164,207,240,.3),transparent 58%),linear-gradient(145deg,rgba(223,240,255,.14),rgba(35,61,87,.48))}
html[data-nero-theme="aero-glass"] .nav.active:after{background:var(--acc);box-shadow:0 0 12px var(--acc)}
html[data-nero-theme="aero-glass"] .nav:hover,
html[data-nero-theme="aero-glass"] .nav.active{color:var(--text)}
html[data-nero-theme="aero-glass"] .search-wrap,
html[data-nero-theme="aero-glass"] .icon-btn,
html[data-nero-theme="aero-glass"] .secondary-btn,
html[data-nero-theme="aero-glass"] .server-change-btn,
html[data-nero-theme="aero-glass"] .player-source-menu,
html[data-nero-theme="aero-glass"] .player-toolbar select{
  color:var(--text);background:rgba(13,29,47,.58);border-color:var(--line);
  box-shadow:inset 0 1px rgba(255,255,255,.1);
}
html[data-nero-theme="aero-glass"] .primary-btn{
  color:#10263b;background:linear-gradient(180deg,#e5f5ff,#a9d8f8 48%,#78b5e5);
  border:1px solid rgba(242,250,255,.78);box-shadow:inset 0 1px rgba(255,255,255,.9),0 2px 7px rgba(4,20,36,.24);
}
html[data-nero-theme="aero-glass"] .detail-dialog,
html[data-nero-theme="aero-glass"] .player-dialog{
  color:var(--text);background:rgba(30,51,73,.97);border-color:var(--line);
}
html[data-nero-theme="aero-glass"] .detail-backdrop{
  background-color:#203b57;
}
html[data-nero-theme="aero-glass"] .detail-overview,
html[data-nero-theme="aero-glass"] .detail-facts,
html[data-nero-theme="aero-glass"] .detail-genres{color:#d2e1ef}
html[data-nero-theme="aero-glass"] .cast-name,
html[data-nero-theme="aero-glass"] .provider-pill{color:var(--text);border-color:var(--line);background:rgba(220,239,255,.08)}
html[data-nero-theme="aero-glass"] .poster-rating{background:rgba(20,43,65,.88);color:#fff}
html[data-nero-theme="aero-glass"] .quick-save{background:rgba(20,43,65,.88);border-color:var(--line)}
html[data-nero-theme="aero-glass"] .detail-close{background:rgba(20,43,65,.85);border-color:var(--line);color:#fff}
html[data-nero-theme="aero-glass"][data-nero-aero-color="silver"]{--bg:#303944;--panel:#46515e;--panel2:#566372;--acc:#d5e0eb}
html[data-nero-theme="aero-glass"][data-nero-aero-color="emerald"]{--bg:#18352f;--panel:#285247;--panel2:#356757;--acc:#8fe0bd}
html[data-nero-theme="aero-glass"][data-nero-aero-color="violet"]{--bg:#29243e;--panel:#3d3659;--panel2:#4c426d;--acc:#c5b4f5}
html[data-nero-theme="aero-glass"][data-nero-aero-color="rose"]{--bg:#3b2835;--panel:#56394b;--panel2:#68465a;--acc:#f0aeca}
html[data-nero-theme="aero-glass"][data-nero-aero-color="silver"] body{background:radial-gradient(ellipse at 12% 5%,rgba(222,232,242,.16),transparent 36%),#303944}
html[data-nero-theme="aero-glass"][data-nero-aero-color="emerald"] body{background:radial-gradient(ellipse at 12% 5%,rgba(128,222,184,.18),transparent 36%),#18352f}
html[data-nero-theme="aero-glass"][data-nero-aero-color="violet"] body{background:radial-gradient(ellipse at 12% 5%,rgba(194,174,244,.19),transparent 36%),#29243e}
html[data-nero-theme="aero-glass"][data-nero-aero-color="rose"] body{background:radial-gradient(ellipse at 12% 5%,rgba(242,173,204,.18),transparent 36%),#3b2835}

/* Continue Watching history controls */
.section-actions{display:flex;align-items:center;gap:16px;flex:none}.clear-history-btn{color:#888}.clear-history-btn:hover{color:#f08080}
@media(max-width:420px){.section-actions{gap:10px}.section-actions .text-btn{font-size:10px}}

/* Rotating featured movie banner */
.featured{position:relative;isolation:isolate;min-height:390px;margin:28px 0 42px;border:1px solid #303030;border-radius:13px;overflow:hidden;background:#171717;display:flex;align-items:center}
.featured-backdrop,.featured-shade{position:absolute;inset:0;z-index:-1}
.featured-backdrop{background-size:cover;background-position:center 35%;filter:saturate(.9);transform:scale(1.015);transition:background-image .35s ease}
.featured-shade{background:linear-gradient(90deg,rgba(8,8,8,.97) 0%,rgba(8,8,8,.82) 42%,rgba(8,8,8,.25) 100%),linear-gradient(0deg,rgba(8,8,8,.6),transparent 45%)}
.featured-content{max-width:620px;padding:clamp(28px,5vw,64px);position:relative;z-index:1}
.featured-content h1{font-size:clamp(34px,5vw,58px);line-height:1.02;letter-spacing:-2px;margin:12px 0}
.featured-content>p{font-size:13px;line-height:1.7;color:#ddd;max-width:510px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.featured-meta{font-size:11px;color:#ddd;margin-top:15px}
.featured-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.featured-pagination{position:absolute;right:24px;bottom:22px;display:flex;gap:7px;z-index:2}
.featured-dot{width:7px;height:7px;padding:0;border:0;border-radius:99px;background:#ffffff70;cursor:pointer;transition:width .2s,background .2s}
.featured-dot.active{width:23px;background:#fff}
.featured .secondary-btn{background:rgba(20,20,20,.72);backdrop-filter:blur(8px)}
@media(max-width:650px){
 .featured{min-height:350px;margin:16px 0 32px;border-radius:10px;align-items:flex-end}
 .featured-shade{background:linear-gradient(0deg,rgba(7,7,7,.97),rgba(7,7,7,.74) 55%,rgba(7,7,7,.12))}
 .featured-content{padding:22px 18px 42px}
 .featured-content h1{font-size:clamp(29px,9vw,42px);letter-spacing:-1.2px}
 .featured-content>p{font-size:11px;-webkit-line-clamp:3}
 .featured-pagination{right:18px;bottom:16px}
}
@media(prefers-reduced-motion:reduce){.featured-backdrop,.featured-dot{transition:none}}
