/* moondl: the brand over the 5.0 UI (loaded after hybrid.css; the same selectors win by order).
   The look of moondl.com today (its home and premium pages): black and yellow on a neutral grey,
     yellow #fecb2f (the logo, the calls to action, with black text), near black #161616
     (text, the dark cards and bars), grey #f3f3f3 (the page), Roboto.
   Light theme: the accent is the near black (white text on it reads), the selections are a
   pale yellow, the main calls to action are yellow. Dark theme: the accent is the yellow, so
   the text on it turns dark. Only tokens and the colours hybrid.css spells out; the layout
   stays 5.0's. */

/* ---------- Font: Roboto, as moondl.com ---------- */
:root{
  --hy-font:Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-sans:Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;
}

/* ---------- Admin and user panel ---------- */
:root{
  --hy-bg:#f3f3f3;--hy-sf:#fff;--hy-bd:#e3e3e3;--hy-tx:#161616;--hy-t2:#5c5c5c;--hy-t3:#8c8c8c;
  --hy-ac:#161616;--hy-ac2:#cfcfcf;--hy-acb:#fff4cc;--hy-act:#161616;--hy-sel:#fff8de;--hy-tg:#d6d6d6;
  --hy-bar:#161616;--hy-barb:#2e2e2e;--hy-grp:#f7f7f7;
}
:root[data-theme="dark"]{
  --hy-bg:#121212;--hy-sf:#1b1b1b;--hy-bd:#2e2e2e;--hy-tx:#ececec;--hy-t2:#a8a8a8;--hy-t3:#777;
  --hy-ac:#fecb2f;--hy-ac2:#5a4a12;--hy-acb:#3a3115;--hy-act:#fecb2f;--hy-sel:#2b2615;--hy-tg:#3a3a3a;
  --hy-bar:#1b1b1b;--hy-barb:#333;--hy-grp:#202020;
}
/* the outline of picked items and the second colour of the charts ("Premium sales" in the reports) */
:root{--accent-line:#fecb2f}
:root[data-theme="dark"]{--accent-line:#8a6d12}

/* dark theme: dark text on the yellow accent */
:root[data-theme="dark"] .sb-btn.primary,:root[data-theme="dark"] .sb-bulk .sb-move-menu .sb-btn.primary,
:root[data-theme="dark"] .hy-av,:root[data-theme="dark"] .sb-root .hy-btn.pr,:root[data-theme="dark"] .hy-btn.pr,
:root[data-theme="dark"] .hp .hp-pc .hp-bd.hp-pop,:root[data-theme="dark"] .hc .hc-go,
:root[data-theme="dark"] .hc .hc-chip.on,:root[data-theme="dark"] .sb-root .hc a.hc-chip.on,
:root[data-theme="dark"] .hdoc .hda-ki,:root[data-theme="dark"] .hdoc .hda-btn.pr,:root[data-theme="dark"] .sb-root .hdoc a.hda-btn.pr,
:root[data-theme="dark"] .pd-mode.on .ic,:root[data-theme="dark"] .hi-n.cur{color:#161616}

/* ---------- Public pages: home, upload, file, download, premium, docs ---------- */
.hw,.hh,.hf,.hd,.hp,.hc,.hdoc{--bg:#f3f3f3;--bd:#e3e3e3;--tx:#161616;--t2:#5c5c5c;--t3:#8c8c8c;--ac:#161616;--acb:#fff4cc;--act:#161616;--gold:#fecb2f;--grp:#f6f6f6}
.hh{--h1:#0f0f0f;--h2:#2e2e2e}
:root[data-theme="dark"] .hw,:root[data-theme="dark"] .hh,:root[data-theme="dark"] .hf,:root[data-theme="dark"] .hd,
:root[data-theme="dark"] .hp,:root[data-theme="dark"] .hc,:root[data-theme="dark"] .hdoc{--bg:#121212;--sf:#1b1b1b;--bd:#2e2e2e;--tx:#ececec;--t2:#a8a8a8;--t3:#777;--ac:#fecb2f;--acb:#3a3115;--act:#fecb2f;--grp:#202020}
:root[data-theme="dark"] .hh{--h1:#0a0a0a;--h2:#262626}

/* the dark bands at the top of the public pages (moondl's black cards) */
.hd .hd-top,.hp .hp-top,.hc .hc-top,.hdoc .hdoc-top{background:linear-gradient(125deg,#0f0f0f 0%,#161616 55%,#2a2a2a 100%)}
/* the public header of 4.0_custom: a light bar above the page, not a black band */
.hw-band,.hw-band.hero{background:#f7f7f9;border-bottom:0;--topline-fg:#161616}
.hw,.hw.hw-home{--hw-hh:64px}
.hw-hdr,.sb-root .hw-hdr a,.hw-hdr button{color:#161616}
.sb-root .hw-hdr a:not(.hw-reg,.r):hover,.hw-hdr button:hover{color:#000}
.sb-root .hw-hdr .on{color:#161616;border-bottom-color:#161616}
.hw-hdr .hw-nv{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:5px;font-weight:500}
.sb-root .hw-hdr a.hw-nv:hover,.sb-root .hw-hdr button.hw-nv:hover{background:#f4f4f4}
.sb-root .hw-hdr .hw-prem{background:#fff;color:#161616;border:1px solid #d9dbe4;border-radius:6px;padding:7px 14px;font-weight:700;display:inline-flex;align-items:center;height:34px}
.sb-root .hw-hdr a.hw-prem:hover{background:#f4f4f4;border-color:#bfc6d4;color:#161616}
.sb-root .hw-hdr .hw-reg{background:none;color:#161616;border-radius:5px;padding:6px 10px}
.sb-root .hw-hdr a.hw-reg:hover{background:#f4f4f4;color:#000}
.hw-hdr .hw-lang img{width:22px;height:15px;display:block;border-radius:2px}
.hw-hdr .hw-av{background:#e9e9e9;color:#161616}
.hw-hdr .hw-av:hover,.hw-hdr .hw-av[aria-expanded="true"]{background:#161616;color:#fff}
.hh .hh-hero.md-sp{background:transparent}
.hh .hh-hero{background:linear-gradient(125deg,var(--h1) 0%,#161616 45%,var(--h2) 100%)}
.hh .hh-hero h3 em{background:linear-gradient(90deg,#fecb2f,#ffe9a8);-webkit-background-clip:text;background-clip:text}
.hh .hh-cta{background:linear-gradient(120deg,#161616,#2e2e2e)}

/* the calls to action: yellow with black text, as moondl.com's "Go to Premium" / "Buy" */
.hh .hh-bt.hh-p,.hf .hf-btn.hf-fast{background:#fecb2f;border-color:#fecb2f;color:#161616;box-shadow:0 7px 18px -6px rgba(254,203,47,.6)}
.hh .hh-bt.hh-p:hover,.hf .hf-btn.hf-fast:hover{background:#ffd54f}

/* icons, bars and charts */
.hh .hh-dz .hh-ic,.hd .hd-upl i.hd-b{background:#161616;color:#fecb2f}
.hh .hh-pf .hh-bar i,.hf .hf-cb .hf-pr i{background:linear-gradient(90deg,#fecb2f,#ffd95c)}
.hh .hh-chart i{background:linear-gradient(180deg,#161616,#5c5c5c)}
.hd .hd-thumb{background:linear-gradient(135deg,#0f0f0f,#2a2a2a 60%,#5c5c5c)}
.hd .hd-stp .hd-s.hd-cu b{color:#161616}
.hd .hd-code span:nth-child(1),.hd .hd-capw td > div[style] span:nth-child(4n+1){color:#161616}

/* the file page (download1: .hf) and the panel's coloured headers */
.hf .hf-top{background:radial-gradient(circle at 88% -10%,rgba(254,203,47,.12) 0 220px,transparent 221px),linear-gradient(100deg,#0f0f0f,#2a2a2a)}
.hf .hf-upl{background:linear-gradient(100deg,#161616,#2e2e2e)}
.hf .hf-scr{background:radial-gradient(120% 90% at 20% 20%,#3a3a3a 0%,#161616 45%,#050505 100%)}
.pd-hero{background:radial-gradient(circle at 92% -30%,rgba(254,203,47,.14) 0 180px,transparent 181px),linear-gradient(100deg,#0f0f0f,#2a2a2a)}
.hi-top{background:radial-gradient(circle at 88% -10%,rgba(254,203,47,.12) 0 220px,transparent 221px),linear-gradient(100deg,#0f0f0f,#2a2a2a)}

/* ---------- moondl.com's premium cards (_md_tiers.html: /premium and the home page) ---------- */
.md-tiers{display:grid;grid-template-columns:repeat(var(--n,2),minmax(0,1fr));gap:24px;align-items:start;text-align:left}
.md-tier{background:var(--sf,#fff);border-radius:8px;overflow:hidden;box-shadow:0 16px 35px rgba(0,0,0,.08);display:flex;flex-direction:column;outline:3px solid transparent;transition:outline-color .15s}
.md-tier.md-cur{outline-color:#fecb2f}
.md-dark{background:#161616;color:#fff;padding:32px 44px;display:flex;flex-direction:column;gap:24px}
.md-name{display:flex;align-items:center;justify-content:center;gap:16px;border:2px solid #fff;border-radius:6px;padding:16px;font-size:clamp(18px,1.9vw,24px);font-weight:700;line-height:1.2;text-align:center}
.md-full .md-name{border-color:#fecb2f}
.md-name img{width:42px;height:42px}
.md-price{background:#262626;border-radius:6px;padding:14px;text-align:center}
.md-price .md-month{font-size:34px;font-weight:600;line-height:40px;color:#fff}
.md-price .md-month b{display:inline;font-size:34px;font-weight:600;line-height:40px}
.md-price .md-month small{font-size:18px;font-weight:600}
.md-price .md-from{font-size:14px;font-weight:700}
.md-price span,.md-vol span{font-size:13px;color:rgba(255,255,255,.75)}
.md-vol{text-align:center;margin-top:-6px}
.md-vol b{display:block;font-size:32px;font-weight:700;line-height:1.2}
.md-full .md-vol b{color:#fecb2f}
.md-speed{position:relative;height:34px;border-radius:100px;background:#24A148;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;font-weight:700;margin-bottom:10px}
.md-speed>i{position:absolute;left:0;top:0;bottom:0;width:100%;background:#24A148}
.md-speed>span{position:relative;display:flex;align-items:center;gap:8px;font-weight:700}
.md-speed>span i{font-size:20px}
.md-speed.md-part{background:#2E2E2E}
.md-speed.md-part>i{width:90%;border-radius:100px}
.md-feat{list-style:none;margin:0;padding:14px 44px 0;text-align:center;flex:1}
.md-feat li{padding:13px 0;border-bottom:1px solid var(--bd);font-weight:600;font-size:15px;color:var(--tx)}
.md-feat li.md-no{font-weight:400;color:var(--t3)}
.md-buyw{padding:28px 44px 36px;text-align:center}
.md-buy,.md-go{display:inline-flex;align-items:center;gap:10px;padding:11px 24px;border-radius:6px;border:1px solid var(--bd);background:var(--sf,#fff);color:var(--tx);font:inherit;font-size:17px;font-weight:700;cursor:pointer;text-decoration:none}
.md-full .md-buy,.md-go{background:#fecb2f;border-color:#fecb2f;color:#161616}
.md-buy:hover,.md-go:hover{filter:brightness(.96);color:#161616}
.md-tier:not(.md-full) .md-buy:hover{color:var(--tx)}
.md-buy:focus-visible,.md-go:focus-visible{outline:2px solid var(--ac);outline-offset:2px}

/* on /premium the cards sit on the dark band, the periods follow (payments.html) */
.hp .md-tiers{position:relative;z-index:2;margin:-121.33px calc(var(--gut) + 21px) 0}
.hp .md-ph{margin:36px calc(var(--gut) + 21px) 14px;font-size:18px;color:var(--t2);display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;scroll-margin-top:80px}
.hp .md-ph b{color:var(--tx)}
.hp .md-ph a{margin-left:auto;font-size:14px;color:var(--act);text-decoration:underline}
.hp .hp-plans.md-after{margin-top:0}

/* the home page: "File Storage" and "Our Best Offers" (upload_form.html .md-home) */
.hh .md-home{text-align:left}
.hh .md-fs{display:flex;align-items:center;justify-content:space-between;gap:32px;background:var(--sf);border-radius:8px;padding:48px 60px;margin-bottom:48px}
.hh .md-fs h4{font-size:clamp(30px,4vw,48px);font-weight:700;margin:0 0 18px;text-align:left}
.hh .md-fs p{font-size:15px;color:var(--t2);margin:0 0 22px;max-width:34ch}
.hh .md-fs img{width:100%;max-width:385px;height:auto}
.hh .md-oh{text-align:center;font-size:clamp(24px,3vw,32px);margin:0 0 32px}
.hh .md-pay{text-align:center;margin-top:40px;color:var(--t2);font-size:15px}
.hh .md-pay p{margin:0 0 24px;line-height:1.6}
.hh .md-pay img{max-width:100%;height:auto}
:root[data-theme="dark"] .hh .md-pay img{filter:invert(.75)}

/* the footer: moondl's black instead of navy */
.hw,.hh{--ft:#161616;--ftt:#a8a8a8}
:root[data-theme="dark"] .hw,:root[data-theme="dark"] .hh{--ft:#0a0a0a}

@media (max-width:860px){
  .md-tiers{grid-template-columns:1fr;gap:16px}
  .md-dark{padding:24px 20px}
  .md-feat{padding:10px 20px 0}
  .md-buyw{padding:22px 20px 26px}
  .hp .md-tiers{margin:-121.33px 14px 0}
  .hp .md-ph{margin:28px 14px 12px}
  .hp .md-ph a{margin-left:0}
  .hh .md-fs{flex-direction:column-reverse;padding:28px 22px;text-align:center}
  .hh .md-fs h4,.hh .md-fs p{text-align:center;margin-left:auto;margin-right:auto}
}

/* the drop zone of the home uploader: a yellow dashed line instead of the light blue */
.hh .hh-dz{border-color:#f5d67a}
:root[data-theme="dark"] .hh .hh-dz{border-color:#6b5a1f}
.hh .hh-dz.hh-over{border-color:var(--ac)}

/* the splash home (show_splash_main, upload_form.html): a short dark band under the header,
   the "File Storage" card over its lower edge */
.hh .hh-hero.md-sp{padding-bottom:110px}
.hh .md-home.md-up{position:relative;z-index:2;margin-top:-90px;padding-top:0}

/* the buy popup of the old /premium (payments.html): the kind, its periods, the methods */
.md-modal{position:fixed;inset:0;z-index:1060;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.55)}
.md-modal-box{width:min(920px,100%);max-height:calc(100vh - 32px);overflow:auto;background:var(--sf,#fff);border-radius:12px;box-shadow:0 24px 70px rgba(0,0,0,.35)}
.md-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-bottom:1px solid var(--bd);font-size:clamp(17px,2vw,21px)}
.md-modal-x{border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;color:var(--t2);padding:0 4px}
.md-modal-body{display:grid;grid-template-columns:minmax(220px,1fr) minmax(320px,1.55fr)}
.md-modal-plan{padding:24px;border-right:1px solid var(--bd)}
.md-modal-price{text-align:center;padding:4px 0 20px}
.md-modal-month b{font-size:32px;font-weight:800}
.md-modal-month span{font-size:15px;color:var(--t3)}
.md-modal-sub{margin-top:6px;color:var(--t3);font-size:13px;line-height:1.5}
.md-modal-plans label{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid var(--bd);border-radius:8px;margin-bottom:8px;cursor:pointer;font-weight:700}
.md-modal-plans label.on{background:#fecb2f;border-color:#fecb2f}
.md-modal-plans input{position:absolute;opacity:0;pointer-events:none}
.md-modal-plans label span{flex:1}
.md-modal-plans label i{font-size:18px}
.md-modal-pays{padding:24px;background:#f9f9f9;border-radius:0 0 12px 0}
.md-modal-h{font-weight:800;font-size:15px;margin:0 0 10px}
.md-modal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px;margin-bottom:20px}
.md-modal-grid a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px 8px;background:#fff;border:1px solid #e0e0e0;border-radius:8px;text-decoration:none}
.md-modal-grid a:hover{border-color:#fecb2f;box-shadow:inset 0 0 0 1px #fecb2f}
.md-modal-grid img{max-width:108px;max-height:34px}
.md-modal-grid i{font-size:24px;color:var(--tx)}
.md-modal-note{color:var(--t3);font-size:14px}
@media (max-width:760px){.md-modal-body{grid-template-columns:1fr}.md-modal-plan{border-right:0;border-bottom:1px solid var(--bd)}.md-modal-pays{border-radius:0 0 12px 12px}}

/* the public folder page of 4.0_custom (user_public.html): two striped tables */
.up-page .up-wrap{padding:16px 24px}
@media (max-width:768px){.up-page .up-wrap{padding:16px 12px}}
.up-page .up-head{display:flex;flex-direction:row;align-items:flex-start;gap:12px;margin-bottom:24px}
.up-page .up-head img{flex:none;width:32px;height:32px}
.up-page .up-head h1{font-size:24px;font-weight:600;line-height:1.2;margin:0;word-break:break-all;white-space:normal;text-align:left}
.up-page .up-title{font-weight:700;font-size:16px;line-height:1.5;color:#161616;margin:12px 0 0}
.up-page .up-table{width:100%;border-collapse:collapse;margin:12px auto;font-size:16px}
.up-page .up-table thead td{font-size:14px;color:#6F6F6F;padding:4px 6px}
.up-page .up-table td{padding:12px 6px;border-top:1px solid #E0E0E0;vertical-align:middle;color:#161616}
.up-page .up-table tbody tr:last-child td{border-bottom:1px solid #E0E0E0}
.up-page .up-table tbody tr:nth-child(odd) td{background:#F9F9F9}
.up-page .up-table td:first-child{padding-left:12px;width:1%}
.up-page .up-table td:last-child{padding-right:16px;text-transform:uppercase}
.up-page .up-table td:nth-child(2){word-break:break-all;white-space:normal}
.up-page .up-table td:nth-child(3),.up-page .up-table td:nth-child(4),.up-page .up-table td:nth-child(5){color:#6F6F6F}
.up-page .up-table a{color:#161616}
.up-page .up-table a:hover{color:#FF0624}
.up-page .up-ico img{display:block;width:18px;height:18px}
.up-page .up-table td.up-empty{text-align:center;text-transform:initial;color:#6F6F6F}
.up-page .up-add{margin-left:8px;border:0;background:transparent;color:#1f9d63;font-weight:700;cursor:pointer}
.up-page .up-added{margin-left:8px;color:#1f9d63;font-weight:700}

/* the 4.0_custom footer: a light line of links under the page */
.hw-foot-up{background:#f3f3f3;border-top:0;padding:20px 16px 24px;text-align:center;color:#545454;font-size:13px}
.hw-foot-up .links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 26px;margin-bottom:10px}
.hw-foot-up a{color:#545454;text-decoration:none}
.hw-foot-up a:hover{color:#000}
.hw-foot-up .copy{color:#8a8a8a}

/* exact metrics of moondl.com's old home (measured at 1280px) */
.hw,.hh{--bg:#f4f4f4}
.hw-band{background:#f4f4f4}
.hw-foot-up{background:#f4f4f4}
@media (min-width:900px){
  .hw,.hw.hw-home{--hw-hh:68px}
  .hw-hdr{padding:0 52px;gap:24px}
  .hw-hdr .hw-lg,.hw-hdr.home .hw-lg{height:21px}
  .hw-hdr .hw-lg img,.hw-hdr.home .hw-lg img{height:21px;width:auto}
  .sb-root .hw-hdr .hw-prem{height:42px;padding:0 27px;font-size:16px;border-radius:8px}
  .hw-hdr .hw-nv{font-size:16px;height:48px;padding:0 10px;display:inline-flex;align-items:center}
  .sb-root .hw-hdr .hw-reg{font-size:16px;font-weight:400;height:48px;padding:0 10px;display:inline-flex;align-items:center}
  .hw-hdr .hw-lang img{width:28px;height:20px}
  .hh .md-home{max-width:1160px;margin:0 auto;padding-top:30px}
  .hh .md-fs{padding:58px;margin-bottom:20px;min-height:419px}
  .hh .md-fs>div:first-child{width:522px;flex:0 0 522px}
  .hh .md-fs h4{font-size:48px;line-height:1.33;margin-bottom:18px}
  .hh .md-fs p{font-size:16px;line-height:1.5;max-width:522px;margin-bottom:22px}
  .hh .md-fs img{max-width:385px}
  .hh .md-go{font-size:16px;height:44px;padding:0 20px}
  .hh .md-oh{padding-top:30px;font-size:34px;line-height:40px;font-weight:600;margin:0 0 54px}
  .md-tiers{gap:23px}
  .md-name{padding:16px;font-size:24px;height:78px}
  .md-price{padding:20px 14px}
  .md-price b{font-size:34px;line-height:1.2}
  .md-price span{font-size:12px}
  .md-vol b{font-size:34px}
  .md-speed{height:36px;margin-bottom:10px}
  .md-feat li{padding:15px 0;font-size:14px;font-weight:700}
  .md-buyw{padding:28px 44px 36px}
  .md-buy{font-size:16px;padding:9px 24px}
  .hw-foot-up{padding:18px 16px 20px;font-size:14px}
  .hw-foot-up .links{gap:8px 24px;margin-bottom:12px}
  .hw-foot-up .copy{font-size:14px;color:#6f6f6f}
}

/* second pass: align to the old page's measured boxes */
.hw-band,.hw-band.hero{background:#f4f4f4}
body.sb-pub,.hw,.hh{background:#f4f4f4;--bg:#f4f4f4}
@media (min-width:900px){
  .hw-hdr,.hw-hdr.home{padding:0 max(52px, calc((100% - 1160px) / 2))}
  .hh .md-home{max-width:1160px;margin:0 auto;padding:60px 0 0}
  .hh .md-fs{padding:58px;margin-bottom:20px;min-height:419px;align-items:flex-start}
  .hh .md-fs>div:first-child{width:522px;flex:0 0 522px;margin-top:48px}
  .hh .md-fs h4{margin-bottom:30px;line-height:64px}
  .hh .md-fs p{max-width:300px;line-height:24px;height:48px;margin-bottom:20px}
  .hh .md-go{padding:0 22px}
  .md-dark{gap:16px;padding:32px 45px}
  .md-name{margin-bottom:8px}
  .md-price{padding:19px 14px 13px}
  .md-vol{padding:2px 0}
  .md-feat{padding:0 44px}
  .md-feat li{padding:15px 0;line-height:19px}
  .md-buyw{padding:28px 44px 36px}
}

/* third pass: final box alignment */
@media (min-width:900px){
  .hh .md-home{padding-top:90px}
  .hh .md-home .md-oh{font-size:34px;font-weight:600;line-height:44px;padding-top:30px;margin:0 0 50px}
  .md-price{padding:14px 14px 12px}
  .md-vol{height:60px;padding:0}
  .md-buyw{padding:51px 44px 50px}
  .md-buy{height:42px;padding:0 24px}
}

/* fourth pass */
@media (min-width:900px){
  .hh .md-home.md-up{padding-top:30px}
  .md-vol{margin-top:0}
  .md-feat li{line-height:19px;padding:14.5px 0}
}

/* fifth pass: the last few boxes */
@media (min-width:900px){
  .md-feat{padding:4px 44px 0}
  .md-buyw{padding:36px 44px 50px}
  .hh .md-pay{margin-top:74px}
  .sb-root .hw-hdr .hw-prem{padding:0 25px}
  .hw-hdr .hw-lang{padding:0}
  .hw-foot-up{padding:28px 0 10px;font-size:14px}
  .hw-foot-up .links a{line-height:16px}
}

/* header menu positions of the old page */
@media (min-width:900px){
  .hw-hdr .hw-lang{min-width:70px;justify-content:center}
  .hw-hdr a[href="/register/"]{margin-left:-20px}
}

/* the price line in the old card is 87px tall */
@media (min-width:900px){
  .md-price{box-sizing:border-box;height:87px;padding:14px 14px 12px;display:flex;flex-direction:column;justify-content:center}
  .md-price .md-month{line-height:40px;height:40px}
  .md-price>span{font-size:12px;line-height:14px}
}

/* the fonts of 4.0_custom */
@font-face{font-family:'OpenSans';src:url('/font/OpenSans-Regular.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'OpenSans';src:url('/font/OpenSans-Semibold.woff') format('woff');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'OpenSans';src:url('/font/OpenSans-Bold.woff') format('woff');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'OpenSans';src:url('/font/OpenSans-Light.woff') format('woff');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Candara';src:url('/font/Candara.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Candara';src:url('/font/Candarab.woff') format('woff');font-weight:700;font-style:normal;font-display:swap}
.hw,.hh{font-family:'OpenSans',Arial,sans-serif;font-size:13px}
.hw-band,.hw-band.hero{background:#fff}

/* final font match: moondl.com's old pages use Roboto, not OpenSans */
.hw,.hh{font-family:Roboto,sans-serif;font-size:16px}
@media (min-width:900px){
  .hw-hdr .hw-nv{font-weight:400}
  .md-name{font-weight:600}
  .md-price .md-month,.md-price .md-month b{font-weight:600}
  .md-price .md-month small{font-size:20px}
  .md-vol b{font-weight:600}
  .md-vol span{font-size:12px}
  .hh .md-pay{font-size:16px}
  .sb-root .hw-hdr .hw-prem{padding:0 21px}
}

/* final 4px: footer position */
@media (min-width:900px){
  .hh .md-pay{margin-top:70px}
  .hw-foot-up{padding:28px 0 9px}
}

/* login and registration as 4.0_custom */
.sb-authp{background:#f4f4f4}
.sb-authp-main{padding:50px 24px 64px}
.sb-authp-grid{max-width:480px;display:block;background:#fff;border:1px solid #e5e5e5;border-radius:8px;overflow:visible}
.sb-authp-grid.solo{max-width:480px}
.sb-authp-side{display:none!important}
.sb-authf{padding:32px;gap:18px;font-family:Roboto,sans-serif}
.auth-logo{width:32px;height:32px;display:block;margin:0 auto 2px}
.sb-authf h1{font-size:20px;font-weight:700;text-align:center;margin:0 0 8px;line-height:1.2;letter-spacing:0}
.sb-authf .sub{display:none}
.sb-authf .sb-field{position:relative;display:flex;flex-direction:column;gap:0;padding-top:0}
.sb-authf .sb-field>label,.sb-authf .lbl-row label{position:absolute;top:-8px;left:10px;z-index:2;background:#fff;padding:0 4px;font-size:12px;line-height:1;color:#6f6f6f;font-weight:400;margin:0;white-space:nowrap}
.sb-authf .sb-input{order:1;height:52px;border:1px solid #d9d9d9;border-radius:8px;background:#fff;display:flex;align-items:center;padding-left:12px}
.sb-authf .sb-input .ico{display:none}
.sb-authf .sb-input input{font-size:15px;color:#161616;padding:0 12px;height:50px}
.sb-authf .lbl-row{order:2;display:block;position:static;margin-top:8px}
.sb-authf .lbl-row a{display:block;color:#ff5a6b;font-size:14px;font-weight:700;text-decoration:none;margin:0}
.sb-authf .submit-btn{height:52px;background:#fecb2f;color:#161616;border:0;border-radius:8px;font-size:16px;font-weight:700}
.sb-authf .submit-btn:hover{background:#f2b800}
.sb-authf .submit-btn .sb-ic{display:none}
.sb-authf .auth-create{height:52px;display:flex;align-items:center;justify-content:center;border:1px solid #d9d9d9;border-radius:8px;background:#fff;color:#161616;font-size:16px;font-weight:600;text-decoration:none}
.sb-authf .auth-create:hover{background:#f7f7f7}
.sb-authf .login-social{margin:8px -32px -32px;padding:18px 32px 24px;border-top:1px solid #eee;background:#fff;border-radius:0 0 8px 8px}
.sb-authf .sb-or{display:none}
.sb-authf .sb-social{display:flex;justify-content:center;gap:8px}
.sb-authf .sb-social .sb-btn{min-width:120px}
.sb-authf .sb-earn{display:none}
.sb-authf .sb-strength,.sb-authf [data-sb-strength-text]{display:none}
.sb-authf .auth-inline>label{display:none}
.sb-authf .sb-check-l{font-size:12px}

/* separate cards for the old login: the form and the social block */
.sb-authp-grid{display:flex;flex-direction:column;gap:16px;background:transparent;border:0}
.sb-authf{background:#fff;border:1px solid #e5e5e5;border-radius:8px}
.sb-authp-grid>.login-social{margin:0;padding:14px;background:#fff;border:1px solid #e5e5e5;border-radius:8px;display:flex;justify-content:center}
.sb-authf .sb-or{display:none}
.sb-authp-grid>.login-social .sb-social{gap:8px}
.sb-authp-grid>.login-social .sb-btn{min-width:120px;font-size:0;gap:0;padding:8px}
.sb-authp-grid>.login-social .sb-btn img{width:24px;height:24px}
.sb-authf .sb-hint,.sb-authf .help,.sb-authf .sb-check-l{display:none}

/* the old login card and its social card: 5px apart */
.sb-authp-grid{gap:5px}
.sb-authf.auth-login{padding-bottom:61px}

/* login card bottom edge as the old page */
.sb-authf.auth-login{padding-bottom:56px}

/* Google sign-in: just the icon, centered, no button frame */
.sb-authp-grid>.login-social{border:0}
.sb-authp-grid>.login-social .sb-social{justify-content:center}
.sb-authp-grid>.login-social .sb-btn{border:0;background:none;box-shadow:none;min-width:0;padding:6px;height:auto;font-size:0}
.sb-authp-grid>.login-social .sb-btn:hover{background:none;color:inherit}
.sb-authp-grid>.login-social .sb-btn img{width:26px;height:26px}

/* center the social icon in the card */
.sb-authp-grid>.login-social .sb-social{width:100%;justify-content:center}
.sb-authp-grid>.login-social .sb-btn img{width:32px;height:32px}

/* the social row is flex, not the kit's grid */
.sb-authp-grid>.login-social{padding:14px;height:60px;display:flex;align-items:center;justify-content:center}
.sb-authp-grid>.login-social .sb-social{display:flex;width:100%;justify-content:center;margin:0}
.sb-authp-grid>.login-social .sb-btn{width:auto;min-width:0;height:32px;padding:0}

/* the file page of 4.0_custom: one white bar with the file and two download buttons, then the offers */
.hf{background:#f4f4f4}
.hf .hf-top{display:none}
.hf .hf-main{display:flex;flex-direction:column;width:100%;max-width:1160px;margin:0 auto;padding:36px 0 0;gap:0}
.hf .hf-player{order:2;max-width:600px;margin-top:24px}
.hf .hf-card.hf-dec{order:1;display:flex;align-items:center;gap:16px;min-height:106px;padding:24px;background:#fff;border:0;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.05)}
.hf .hf-dec .hf-chips,.hf .hf-dec .hf-nums,.hf .hf-dec .hf-meta,.hf .hf-dec .hf-ipv,.hf .hf-dec .hf-repc,.hf .hf-dec .hf-trust,.hf .hf-dec .hf-spd,.hf .hf-dec .hf-plans,.hf [name="catalog_item"]{display:none}
.odl-ico{width:42px;height:42px;flex:none}
.odl-fin{min-width:0;flex:1}
.hf .hf-dec .hf-fn{font-size:20px;font-weight:700;line-height:1.3;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.odl-size{font-size:16px;color:#6f6f6f;margin-top:4px}
.hf .hf-dec .hf-bts{display:flex;gap:16px;margin-left:auto;flex:none}
.hf .hf-dec .hf-btn{width:244px;height:58px;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:14px;font-weight:700;line-height:1.2;text-decoration:none}
.hf .hf-dec .hf-btn b{font-size:14px}
.hf .hf-dec .hf-btn span{font-size:12px;font-weight:400;color:#6f6f6f}
.hf .hf-dec .hf-btn.hf-fast{background:#fecb2f;border:0;color:#161616}
.hf .hf-dec .hf-btn.hf-fast span{color:#161616}
.hf .hf-dec .hf-btn:not(.hf-fast){background:#fff;border:1px solid #d9d9d9;color:#161616}
.hf .hf-dec .hf-btn .ti{display:none}
.hf .hf-row2,.hf .hf-more,.hf .hf-upl,.hf .hf-repc,.hf .hf-adz,.hf .hf-cms{display:none}
.odl-offers{max-width:1160px;margin:50px auto 0}
.odl-h2{text-align:center;font-size:34px;font-weight:600;line-height:40px;margin:0 0 50px}
.odl-offers .md-pay{text-align:center;margin-top:60px;color:#5c5c5c;font-size:16px}
.odl-offers .md-pay p{margin:0 0 24px;line-height:1.6}

/* download page: full-width 1160 bar and offers, two horizontal buttons */
.hf.hf-file .hf-main{max-width:1160px;margin:0 auto;padding-top:104px}
.hf .hf-dec .hf-bts{flex-direction:row}
.hf .hf-dec .hf-btn{padding:0}
.odl-offers{width:min(1160px,100%);flex:0 0 auto;margin:50px auto 0}

/* download page boxes: file bar, offers heading, card row and footer */
.hf.hf-file .hf-main{padding-top:100px}
.hf .hf-card.hf-dec{min-height:111px}
.hf .hf-dec .hf-bts{gap:24px}
.hf .hf-dec .hf-btn.hf-fast{width:196px}
.odl-offers{margin-top:20px}
.odl-h2{padding-top:30px;line-height:40px;margin:0 0 54px;height:70px}
.odl-offers .md-pay{margin-top:70px}

/* the file bar actions: the star sits under the file kind icon, "Create download link" under the name */
.hf .odl-ico{align-self:flex-start}
.hf .odl-acts{display:flex;align-items:center;gap:16px;margin-top:5px;margin-left:-58px}
.hf .odl-create{display:inline-flex;align-items:center;gap:8px;height:68px;padding:0 24px;border:0;border-radius:8px;background:#fecb2f;color:#161616;font-family:inherit;font-size:15px;font-weight:600;line-height:1;cursor:pointer}
.hf .odl-create .ti{font-size:22px}
.hf .odl-create:hover{background:#f5be1a}
.hf .odl-create:disabled{opacity:.6;cursor:default}
.hf .odl-fav{display:inline-flex;align-items:center;justify-content:center;width:68px;height:68px;padding:0;border:1px solid #d9d9d9;border-radius:8px;background:#fff;color:#8a8a8a;font-size:30px;line-height:1;cursor:pointer}
.hf .odl-fav .ti{font-size:30px}
.hf .odl-fav:hover{border-color:#f5b41e;color:#f5b41e}
.hf .odl-fav[aria-pressed="true"]{border-color:#f5b41e;color:#f5b41e}
.hf .odl-fav:disabled{opacity:.6;cursor:default}

/* /premium: the plans start the page, no dark band above them */
.hp{padding-top:var(--hw-hh)}
.hp .hp-stat{display:inline-flex;align-items:center;gap:7px;margin:26px 0 0 calc(var(--gut) + 25.67px);padding:8px 14px;border-radius:10px;background:#fff;border:1px solid var(--bd);color:var(--tx);font-weight:600;font-size:14px}
.hp .hp-stat .ti{color:#f5b41e;font-size:18px}
.hp .md-tiers{margin-top:26px}
.hp .hp-plans{margin-top:0}
@media (max-width:767px){
  .hp .hp-stat{margin:16px 14px 0}
  .hp .md-tiers{margin-top:16px}
}

/* /premium: the note under the plans, as on the old site */
.hp .hp-paynote{text-align:center;color:var(--t2);font-size:16px;line-height:1.6;padding:50px 20px 50px}
.hp .hp-paynote p{margin:0 auto 32px;max-width:820px}
.hp .hp-paynote img{display:inline-block;max-width:100%;height:35px;width:auto}
@media (max-width:767px){.hp .hp-paynote{padding:32px 16px}}

/* the signed-in pages: the 1200px block of the old site (menu + content together), centred */
body.hy-panel .hy-body{width:100%;max-width:1200px;margin-left:auto;margin-right:auto}
body.hy-panel .hy-mn .hy-content{width:100%;max-width:1200px;margin-left:0;margin-right:auto}

/* the centred panel: the menu has no white column of its own, it sits on the page background
   (on phones it is a drawer and keeps its card) */
@media (min-width:861px){
  body.hy-panel .hy-sb{background:transparent;border-right:0}
}

/* the panel's top bar is the same 1200px block as the sidebar and the content, centred */
@media (min-width:861px){
  body.hy-panel .hy-top{background:transparent}
  body.hy-panel .hy-tb{width:100%;max-width:1200px;margin-left:auto;margin-right:auto;border-radius:0 0 10px 10px}
}

/* =====================================================================
   The signed-in panel in the look of the old site (4.0_custom):
   Roboto, grey page, white cards with 8px corners, yellow main buttons
   ===================================================================== */
body.hy-panel{
  --font-sans:'Roboto',system-ui,-apple-system,sans-serif;
  --hy-bg:#f4f4f4;--hy-sf:#fff;--hy-bd:#e0e0e0;--hy-tx:#161616;--hy-t2:#6f6f6f;--hy-t3:#8c8c8c;
  --hy-ac:#fecb2f;--hy-act:#161616;--hy-acb:#fff4cc;--hy-sel:#ededed;--hy-grp:#f9f9f9;--hy-tg:#d9d9d9;
  --surface-page:#f4f4f4;--surface-panel:#fff;--surface-raised:#fff;--surface-hover:#f4f4f4;--surface-sunken:#e0e0e0;
  --text-1:#161616;--text-2:#6f6f6f;--text-3:#8c8c8c;
  --border:#e0e0e0;--border-row:#e0e0e0;--border-strong:#e0e0e0;--border-control:#cfcfcf;
  --accent:#fecb2f;--accent-hover:#febe2d;--accent-press:#edb027;--accent-soft:#fff4cc;--accent-soft-2:#fff4cc;
  --accent-line:#f2d27a;--accent-text:#161616;--accent-brand:#fecb2f;--on-accent:#161616;
  --radius-md:8px;--control-px:16px;--old-row:#f9f9f9;
  color:#161616;
}
:root[data-theme="dark"] body.hy-panel{
  --hy-bg:#121212;--hy-sf:#1b1b1b;--hy-bd:#2e2e2e;--hy-tx:#ececec;--hy-t2:#a8a8a8;--hy-t3:#777;
  --hy-ac:#fecb2f;--hy-act:#fecb2f;--hy-acb:#3a3115;--hy-sel:#262626;--hy-grp:#202020;--hy-tg:#3a3a3a;
  --surface-page:#121212;--surface-panel:#1b1b1b;--surface-raised:#1b1b1b;--surface-hover:#262626;--surface-sunken:#333;
  --text-1:#ececec;--text-2:#a8a8a8;--text-3:#777;
  --border:#2e2e2e;--border-row:#2e2e2e;--border-strong:#2e2e2e;--border-control:#3d3d3d;
  --accent-soft:#3a3115;--accent-soft-2:#3a3115;--accent-line:#6b5a1c;--accent-text:#fecb2f;
  --old-row:#202020;
  color:#ececec;
}
body.hy-panel .hy-tb{border-bottom:1px solid var(--border);background:var(--surface-panel)}
body.hy-panel .hy-tb b{font-weight:700}
body.hy-panel .hy-hd .t{font-size:20px;font-weight:700;letter-spacing:0}
body.hy-panel .hy-hd .hy-mu{font-size:12px}
/* buttons: white with a light border, the main one yellow */
body.hy-panel .hy-btn{background:var(--surface-panel);border:1px solid var(--border);border-radius:8px;padding:8px 14px;font-family:inherit;font-size:14px;font-weight:700;line-height:1.2;color:var(--text-1);gap:8px}
body.hy-panel .hy-btn:hover{background:var(--surface-hover);border-color:var(--border);color:var(--text-1)}
body.hy-panel .hy-btn:active{background:var(--surface-sunken)}
body.hy-panel .hy-btn.pr{background:#fecb2f;border-color:#fecb2f;color:#161616}
body.hy-panel .hy-btn.pr:hover{background:#febe2d;border-color:#febe2d;color:#161616}
body.hy-panel .hy-btn.pr:active{background:#edb027;border-color:#edb027;color:#161616}
/* filters */
body.hy-panel .hy-chip{background:var(--surface-panel);border:1px solid var(--border);border-radius:8px;padding:6px 12px;font-size:14px;color:var(--text-1)}
body.hy-panel .hy-chip:hover{background:var(--surface-hover)}
body.hy-panel .hy-chip-q input{font-size:14px}
/* tables and the file grid: one white card with 8px corners */
body.hy-panel .hy-tbl{border:1px solid var(--border);border-radius:8px;background:var(--surface-panel);overflow:clip}
body.hy-panel .hy-tbl th{font-family:inherit;font-size:14px;font-weight:700;color:var(--text-1);padding:10px 8px}
body.hy-panel .hy-tbl td{font-size:14px;padding:10px 8px}
body.hy-panel .hy-tbl tbody tr:nth-child(odd) td{background:var(--old-row)}
body.hy-panel .hy-tbl.hy-grid tbody tr:nth-child(odd) td{background:none}
body.hy-panel .hy-grid tbody tr:hover{background:var(--surface-hover)}
/* dropdowns */
body.hy-panel .hy-menu{border:1px solid var(--border);border-radius:8px;box-shadow:0 5px 15px rgba(0,0,0,.2)}
/* the left menu: a white pill for the current section, as on the old site */
body.hy-panel .hy-it.on,body.hy-panel .hy-sub.on{background:var(--surface-panel);color:var(--text-1);font-weight:600}
body.hy-panel .hy-it.on i{color:var(--text-1)}
body.hy-panel .hy-it:hover{background:var(--surface-hover)}
/* inputs */
body.hy-panel .form-control,body.hy-panel .form-select{border:1px solid var(--border);border-radius:8px;font-size:14px;color:var(--text-1);background:var(--surface-panel);padding:6px 12px;min-height:36px}
body.hy-panel .form-control:focus,body.hy-panel .form-select:focus{border-color:#fecb2f;box-shadow:0 0 0 1px #fecb2f}
/* links inside the content */
body.hy-panel .hy-tbl a,body.hy-panel .hy-fn{color:var(--text-1)}
body.hy-panel .hy-tbl a:hover{color:#ff0624}

/* /premium: the whole plan card opens the payment popup */
.md-tier.md-click{cursor:pointer}
.md-tier.md-click:hover{box-shadow:0 16px 35px rgba(0,0,0,.14)}
.md-tier.md-click:active{transform:translateY(1px)}

/* the global dialog ("Payment fee", prompts, confirmations) sits above the plan popup */
.sb-scrim{z-index:1200}

/* /account: the cards of the old site (premium, traffic, balance, disk) */
body.hy-panel .acc-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 16px}
body.hy-panel .acc-card{display:flex;gap:14px;align-items:flex-start;padding:18px 20px;background:var(--surface-panel);border:1px solid var(--border);border-radius:8px;min-width:0}
body.hy-panel .acc-card>img{width:32px;height:32px;flex:none;margin-top:2px;object-fit:contain}
body.hy-panel .acc-card>div{min-width:0}
body.hy-panel .acc-card .l{display:block;font-size:14px;color:var(--text-2);margin-bottom:5px}
body.hy-panel .acc-card b{display:block;font-size:20px;font-weight:600;line-height:1.3;color:var(--text-1);margin-bottom:5px;word-break:break-word}
body.hy-panel .acc-card .s{display:block;font-size:12px;color:var(--text-3);margin-bottom:4px}
body.hy-panel .acc-card a{color:#ff0624;font-weight:700;font-size:14px}
body.hy-panel .acc-card a:hover{text-decoration:underline}
@media (max-width:1200px){body.hy-panel .acc-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){body.hy-panel .acc-cards{grid-template-columns:1fr}}
