:root{
  --mtfw-yellow:#f5bd1f;
  --mtfw-yellow-2:#ffd65a;
  --mtfw-navy:#071728;
  --mtfw-navy-2:#0b2035;
  --mtfw-ink:#101828;
  --mtfw-muted:#667085;
  --mtfw-border:#e3e8ef;
  --mtfw-surface:#fff;
  --mtfw-soft:#f7f9fc;
  --mtfw-shadow:0 24px 60px rgba(15,23,42,.12);
}

.mtfw-page{overflow:hidden;margin-top:0;background:linear-gradient(180deg,#edf2f7 0,#f8fafc 38%,#f6f8fb 100%);color:var(--mtfw-ink)}
.mtfw-page *{box-sizing:border-box}
.mtfw-page button,.mtfw-page input{font:inherit}
.mtfw-page svg{width:1.35em;height:1.35em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mtfw-page img{max-width:100%}
.mtfw-page .mt-container{width:min(1500px,calc(100% - 42px));margin-inline:auto}

/* Firmware page starts directly under the MinerTools toolbar. */
body.mtfw-page-active .mt-main{padding-top:0!important;margin-top:0!important}
body.mtfw-page-active .mt-header{position:relative;z-index:120;margin:0!important;border-bottom:1px solid rgba(245,189,31,.10)!important;box-shadow:0 7px 18px rgba(1,8,17,.22)!important}
body.mtfw-page-active .mt-navbar{margin:0!important;box-shadow:none!important}

.mtfw-hero{position:relative;isolation:isolate;min-height:520px;padding:54px 0 116px;background-color:#03101c;background-image:url("../images/firmware-center/firmware-hero.webp");background-repeat:no-repeat;background-size:cover;background-position:center 52%;color:#fff;border-bottom:1px solid rgba(245,189,31,.22)}
.mtfw-hero::before,.mtfw-hero::after{content:"";position:absolute;inset:0;pointer-events:none}
.mtfw-hero::before{z-index:-1;background:linear-gradient(90deg,rgba(2,10,18,.02) 0%,rgba(2,10,18,.13) 24%,rgba(2,10,18,.68) 40%,rgba(2,10,18,.78) 50%,rgba(2,10,18,.68) 60%,rgba(2,10,18,.13) 76%,rgba(2,10,18,.02) 100%)}
.mtfw-hero::after{z-index:-1;background:linear-gradient(180deg,rgba(1,8,15,.08) 0%,transparent 52%,rgba(1,8,15,.48) 100%)}
.mtfw-hero__inner{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;min-height:350px}
.mtfw-hero__content{position:relative;z-index:2;width:min(800px,100%);margin-inline:auto;text-align:center;text-shadow:0 2px 16px rgba(0,0,0,.34)}
.mtfw-hero__brandmark{display:flex;justify-content:center;align-items:center;min-height:52px;margin-bottom:9px}
.mtfw-hero__brandmark .custom-logo-link{display:inline-flex;align-items:center;justify-content:center}
.mtfw-hero__brandmark .custom-logo{max-width:255px;max-height:58px;width:auto;height:auto;object-fit:contain}
.mtfw-hero__brandmark>strong{font-size:34px;letter-spacing:-1.8px}.mtfw-hero__brandmark>strong span{color:var(--mtfw-yellow)}.mtfw-hero__brandmark>strong small{font-size:14px;margin-inline-start:3px}
.mtfw-eyebrow{display:inline-flex;align-items:center;min-height:36px;padding:7px 16px;border:1px solid rgba(245,189,31,.42);border-radius:999px;color:var(--mtfw-yellow-2);background:rgba(6,20,34,.66);font-size:12px;font-weight:900;margin:7px 0 17px;box-shadow:0 10px 30px rgba(0,0,0,.14)}
.mtfw-hero h1{margin:0 auto;max-width:740px;font-size:clamp(34px,3.4vw,59px);line-height:1.45;letter-spacing:-1.8px;color:#fff}
.mtfw-hero__lead{max-width:750px;margin:15px auto 0;color:#d3dbe6;font-size:15px;line-height:2.05}
.mtfw-hero__features{display:flex;justify-content:center;gap:14px;margin-top:28px}
.mtfw-hero__features>div{display:flex;align-items:center;gap:11px;min-width:230px;padding:12px 15px;border:1px solid rgba(245,189,31,.16);border-radius:17px;background:rgba(5,18,31,.78);box-shadow:0 15px 35px rgba(0,0,0,.18);backdrop-filter:blur(5px);text-align:right}
.mtfw-hero__features>div>span{display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;border-radius:13px;background:rgba(245,189,31,.1);color:var(--mtfw-yellow)}
.mtfw-hero__features p{display:grid;gap:3px;margin:0}.mtfw-hero__features b{font-size:13px;color:#fff}.mtfw-hero__features small{font-size:10px;color:#aeb9c8}

.mtfw-workspace-wrap{position:relative;z-index:4;margin-top:-80px;padding-bottom:54px}
.mtfw-workspace{border:1px solid rgba(213,219,228,.95);border-radius:34px;background:rgba(255,255,255,.98);box-shadow:var(--mtfw-shadow);overflow:hidden}
.mtfw-picker,.mtfw-models,.mtfw-download{padding:28px 34px}
.mtfw-picker{background:linear-gradient(180deg,#fff,#fbfcfe);border-bottom:1px solid var(--mtfw-border)}
.mtfw-section-title{display:flex;align-items:center;gap:12px}
.mtfw-section-title>span{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:12px;background:linear-gradient(135deg,var(--mtfw-yellow),var(--mtfw-yellow-2));box-shadow:0 8px 20px rgba(245,189,31,.24);font-size:13px;font-weight:950;color:#172033}
.mtfw-section-title small{display:block;color:#b77900;font-size:10px;font-weight:900;margin-bottom:4px}
.mtfw-section-title h2{margin:0;font-size:22px;line-height:1.55;color:#1d2939}
.mtfw-section-title--compact h2{font-size:19px}.mtfw-section-title--compact>span{width:32px;height:32px;flex-basis:32px}
.mtfw-picker__controls{display:grid;grid-template-columns:minmax(350px,.9fr) minmax(420px,1.3fr);gap:20px;align-items:stretch;margin-top:20px}
.mtfw-brand-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mtfw-brand-tabs button{position:relative;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;min-height:64px;padding:10px 15px;border:1px solid #dfe5ed;border-radius:15px;background:#fff;color:#344054;cursor:pointer;transition:.2s ease;box-shadow:0 4px 14px rgba(16,24,40,.03)}
.mtfw-brand-tabs button:hover{border-color:#efc553;transform:translateY(-1px)}
.mtfw-brand-tabs button.is-active{border-color:#eab308;background:linear-gradient(135deg,#f6bd1d,#ffd75e);color:#172033;box-shadow:0 10px 28px rgba(245,189,31,.24)}
.mtfw-brand-tabs img{width:32px;height:32px;object-fit:contain}.mtfw-brand-tabs span{font-size:16px;font-weight:950;text-align:right}.mtfw-brand-tabs small{font-size:9px;opacity:.7;white-space:nowrap}
.mtfw-search{position:relative;display:flex;align-items:center;min-height:64px;border:1px solid #dfe5ed;border-radius:15px;background:#fff;box-shadow:inset 0 1px 2px rgba(16,24,40,.02)}
.mtfw-search>svg{position:absolute;inset-inline-start:19px;width:22px;height:22px;color:#667085}
.mtfw-search input{width:100%;height:62px;border:0;outline:0;background:transparent;padding:0 54px 0 46px;color:#1d2939;font-size:13px}
.mtfw-search input::placeholder{color:#98a2b3}
.mtfw-search button{position:absolute;inset-inline-end:13px;width:30px;height:30px;border:0;border-radius:50%;background:#eef1f5;color:#667085;cursor:pointer;font-size:20px;line-height:1}

.mtfw-models{border-bottom:1px solid var(--mtfw-border);background:#fff}
.mtfw-models__head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.mtfw-models__head>p{margin:0;padding:7px 12px;border-radius:999px;background:#fff8dd;color:#9a6700;font-size:11px}.mtfw-models__head>p b{font-size:14px}
.mtfw-rail-shell{position:relative;padding-inline:44px}
.mtfw-model-rail{display:flex;gap:12px;overflow-x:auto;padding:4px 3px 13px;scrollbar-width:thin;scrollbar-color:#e3c463 #eef1f5;scroll-snap-type:x proximity;cursor:grab;overscroll-behavior-inline:contain}
.mtfw-model-rail.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.mtfw-model-rail::-webkit-scrollbar{height:7px}.mtfw-model-rail::-webkit-scrollbar-track{background:#f1f3f6;border-radius:999px}.mtfw-model-rail::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#d5b54d,#f5cf54);border-radius:999px}
.mtfw-model-card{position:relative;flex:0 0 190px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:222px;padding:14px;border:1px solid #e3e8ef;border-radius:20px;background:linear-gradient(180deg,#fff,#fafbfc);cursor:pointer;transition:.22s ease;color:#1d2939}
.mtfw-model-card:hover{transform:translateY(-3px);border-color:#e8c34c;box-shadow:0 13px 30px rgba(15,23,42,.08)}
.mtfw-model-card.is-active{border-color:#eab308;box-shadow:0 0 0 2px rgba(245,189,31,.13),0 18px 32px rgba(137,100,0,.13);background:linear-gradient(180deg,#fff,#fffcf2)}
.mtfw-model-card[hidden]{display:none!important}
.mtfw-model-card__check{position:absolute;top:10px;inset-inline-start:10px;display:none;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--mtfw-yellow);color:#172033}.mtfw-model-card.is-active .mtfw-model-card__check{display:grid}.mtfw-model-card__check svg{width:15px;height:15px;stroke-width:2.6}
.mtfw-model-card__image{display:grid;place-items:center;width:145px;height:125px;margin-bottom:8px}.mtfw-model-card__image img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 9px 8px rgba(15,23,42,.14))}
.mtfw-model-card strong{font-size:19px;line-height:1.4;direction:ltr}.mtfw-model-card small{margin-top:3px;color:#7a8699;font-size:10px}
.mtfw-rail-button{position:absolute;top:50%;z-index:3;display:grid;place-items:center;width:40px;height:40px;margin-top:-25px;border:1px solid #e0e5ec;border-radius:50%;background:#fff;color:#344054;box-shadow:0 10px 24px rgba(15,23,42,.1);cursor:pointer;transition:.2s}.mtfw-rail-button:hover{background:var(--mtfw-yellow);border-color:var(--mtfw-yellow);color:#172033}.mtfw-rail-button--next{inset-inline-start:0}.mtfw-rail-button--prev{inset-inline-end:0}.mtfw-rail-button--prev svg{transform:rotate(180deg)}
.mtfw-rail-help{display:flex;align-items:center;justify-content:center;gap:7px;margin:5px 0 0;color:#8a94a5;font-size:10px}.mtfw-rail-help svg{width:17px;height:17px}
.mtfw-empty{padding:30px;text-align:center;border:1px dashed #e6c85d;border-radius:16px;background:#fffdf5;color:#8a6500}

.mtfw-download{background:linear-gradient(180deg,#fbfcfe,#fff)}
.mtfw-download__header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.mtfw-selected{display:grid;grid-template-columns:34px auto 62px;align-items:center;gap:10px;min-width:250px;padding:7px 8px 7px 13px;border:1px solid #e4e8ee;border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(16,24,40,.05)}
.mtfw-selected__logo{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#fff8d8}.mtfw-selected__logo img{max-width:26px;max-height:26px}.mtfw-selected div{display:grid}.mtfw-selected small{font-size:9px;color:#667085}.mtfw-selected strong{font-size:18px;direction:ltr}.mtfw-selected__image{display:grid;place-items:center;width:58px;height:49px;border:1px solid #eceff3;border-radius:11px;background:#fafbfc}.mtfw-selected__image img{max-width:52px;max-height:45px;object-fit:contain}
.mtfw-firmware-table{overflow:hidden;border:1px solid #e4e8ee;border-radius:18px;background:#fff}
.mtfw-firmware-table__head,.mtfw-firmware-row{display:grid;grid-template-columns:1.25fr .95fr .75fr .85fr 1fr .8fr;align-items:center;gap:8px}
.mtfw-firmware-table__head{min-height:47px;padding:0 18px;background:#f3f5f8;color:#667085;font-size:10px;font-weight:900}
.mtfw-firmware-row{min-height:72px;padding:11px 18px;border-top:1px solid #edf0f4;color:#344054;font-size:12px;transition:.18s}
.mtfw-firmware-row:hover{background:#fffdf5}.mtfw-firmware-row.is-recommended{background:linear-gradient(90deg,#fffef8,#fff9df);border-inline-end:4px solid var(--mtfw-yellow)}
.mtfw-firmware-version{display:flex;align-items:center;gap:8px}.mtfw-firmware-version strong{font-size:15px;direction:ltr;color:#172033}.mtfw-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:4px 8px;border-radius:999px;background:#fff0b8;color:#946200;font-size:9px;font-weight:900;white-space:nowrap}.mtfw-badge--recommended{background:var(--mtfw-yellow);color:#172033}
.mtfw-detail-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 12px;border:1px solid #dfe5ec;border-radius:10px;background:#fff;color:#475467;font-size:10px;font-weight:900;cursor:pointer}.mtfw-detail-button:hover{border-color:#e4b711;color:#946200}
.mtfw-download-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 14px;border:0;border-radius:11px;background:linear-gradient(135deg,#f3b916,#ffd65a);color:#172033;font-size:11px;font-weight:950;text-decoration:none;box-shadow:0 8px 18px rgba(245,189,31,.23)}.mtfw-download-button:hover{transform:translateY(-1px);color:#172033}.mtfw-download-button svg{width:17px;height:17px}.mtfw-download-button.is-disabled{background:#eef1f5;color:#98a2b3;box-shadow:none;cursor:not-allowed}
.mtfw-no-versions{padding:30px;text-align:center;color:#667085}
.mtfw-firmware-detail{margin-top:14px;padding:18px;border:1px solid #e5e9ef;border-radius:17px;background:#fff;box-shadow:0 10px 25px rgba(16,24,40,.05)}
.mtfw-firmware-detail__grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px}.mtfw-firmware-detail figure{margin:0;display:grid;place-items:center;min-height:150px;border-radius:15px;background:linear-gradient(145deg,#071728,#0e2944)}.mtfw-firmware-detail figure img{max-height:130px;max-width:150px;object-fit:contain}.mtfw-firmware-detail h3{margin:0 0 9px;font-size:17px}.mtfw-firmware-detail p{margin:0 0 13px;color:#667085;line-height:1.9;font-size:12px}.mtfw-firmware-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}.mtfw-firmware-detail dl div{padding:9px 11px;border-radius:10px;background:#f7f8fa}.mtfw-firmware-detail dt{font-size:9px;color:#98a2b3}.mtfw-firmware-detail dd{margin:3px 0 0;font-size:10px;color:#344054;direction:ltr;overflow-wrap:anywhere}.mtfw-firmware-detail a{color:#a36e00;font-weight:900}
.mtfw-firmware-detail dl:has(.mtfw-firmware-detail__seo,.mtfw-firmware-detail__source){grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.mtfw-firmware-detail__seo,.mtfw-firmware-detail__source{padding-block:8px!important}
.mtfw-firmware-detail__seo a,.mtfw-firmware-detail__source a{display:inline-flex;align-items:center;gap:6px;text-decoration:none;line-height:1.8}
.mtfw-firmware-detail__seo svg,.mtfw-firmware-detail__source svg{width:14px;height:14px;flex:0 0 14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.mtfw-firmware-detail__seo a{color:#16803c}
.mtfw-firmware-detail__source a{color:#a36e00}

.mtfw-guide{margin:0 34px 26px;border:1px solid rgba(245,189,31,.24);border-radius:24px;background:linear-gradient(135deg,#071728,#0c2138);color:#fff;box-shadow:0 20px 45px rgba(7,23,40,.18);overflow:hidden}
.mtfw-guide>header{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:13px;padding:22px 25px;border-bottom:1px solid rgba(255,255,255,.08)}
.mtfw-guide__icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:rgba(245,189,31,.1);color:var(--mtfw-yellow)}.mtfw-guide__icon svg{width:27px;height:27px}
.mtfw-guide header small{display:block;color:#e6bb42;font-size:10px}.mtfw-guide header h2{margin:4px 0 0;color:#fff;font-size:20px}.mtfw-guide header a{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 14px;border-radius:11px;background:var(--mtfw-yellow);color:#172033;text-decoration:none;font-size:10px;font-weight:950}.mtfw-guide header a svg{width:17px;height:17px}
.mtfw-guide__steps{display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding:25px 16px 28px;counter-reset:guide}
.mtfw-guide-step{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 14px;counter-increment:guide}.mtfw-guide-step:not(:last-child)::after{content:"";position:absolute;top:22px;inset-inline-end:calc(-50% + 32px);width:calc(100% - 64px);border-top:1px dashed rgba(245,189,31,.48)}
.mtfw-guide-step__number{position:relative;z-index:2;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--mtfw-yellow);color:#172033;font-weight:950;box-shadow:0 0 0 6px rgba(245,189,31,.08)}
.mtfw-guide-step h3{margin:13px 0 5px;font-size:12px;color:#fff}.mtfw-guide-step p{margin:0;color:#aab7c8;font-size:10px;line-height:1.8}

.mtfw-security{display:grid;grid-template-columns:66px 1fr;align-items:center;gap:17px;margin:0 34px 32px;padding:20px 23px;border:1px solid #edd685;border-radius:20px;background:linear-gradient(90deg,#fffdf5,#fff);color:#344054}
.mtfw-security>span{display:grid;place-items:center;width:62px;height:62px;border-radius:17px;background:#fff6d5;color:#c48600}.mtfw-security>span svg{width:37px;height:37px}.mtfw-security h2{margin:0 0 5px;font-size:17px}.mtfw-security p{margin:0;color:#667085;font-size:11px;line-height:1.9}
.mtfw-editor{padding:0 0 60px}.mtfw-editor article{padding:28px;border:1px solid #e4e8ee;border-radius:22px;background:#fff;box-shadow:0 14px 35px rgba(15,23,42,.06);line-height:2;color:#475467}.mtfw-missing-plugin{max-width:900px;margin:70px auto;padding:35px;border:1px solid #e4e8ee;border-radius:20px;background:#fff;text-align:center}

html[data-mt-theme="dark"] .mtfw-page{background:#07111f;color:#eef2f7}
html[data-mt-theme="dark"] .mtfw-workspace{background:#0e1b2d;border-color:rgba(255,255,255,.1)}
html[data-mt-theme="dark"] .mtfw-picker,html[data-mt-theme="dark"] .mtfw-models,html[data-mt-theme="dark"] .mtfw-download{background:#0e1b2d;border-color:rgba(255,255,255,.08)}
html[data-mt-theme="dark"] .mtfw-section-title h2,html[data-mt-theme="dark"] .mtfw-selected strong,html[data-mt-theme="dark"] .mtfw-model-card strong,html[data-mt-theme="dark"] .mtfw-firmware-version strong{color:#f6f8fb}
html[data-mt-theme="dark"] .mtfw-brand-tabs button,html[data-mt-theme="dark"] .mtfw-search,html[data-mt-theme="dark"] .mtfw-model-card,html[data-mt-theme="dark"] .mtfw-selected,html[data-mt-theme="dark"] .mtfw-firmware-table,html[data-mt-theme="dark"] .mtfw-firmware-detail,html[data-mt-theme="dark"] .mtfw-editor article{background:#111f34;border-color:rgba(255,255,255,.1);color:#e8edf4}
html[data-mt-theme="dark"] .mtfw-brand-tabs button.is-active{background:linear-gradient(135deg,#d7a516,#f5ca48);color:#172033}
html[data-mt-theme="dark"] .mtfw-search input{color:#f6f8fb}
html[data-mt-theme="dark"] .mtfw-model-card.is-active{background:#152640}
html[data-mt-theme="dark"] .mtfw-firmware-table__head{background:#152640;color:#aab7c8}
html[data-mt-theme="dark"] .mtfw-firmware-row{border-color:rgba(255,255,255,.07);color:#dce4ef}
html[data-mt-theme="dark"] .mtfw-firmware-row:hover,html[data-mt-theme="dark"] .mtfw-firmware-row.is-recommended{background:#142338}
html[data-mt-theme="dark"] .mtfw-detail-button{background:#152640;border-color:rgba(255,255,255,.12);color:#d6dfeb}
html[data-mt-theme="dark"] .mtfw-firmware-detail p,html[data-mt-theme="dark"] .mtfw-security p,html[data-mt-theme="dark"] .mtfw-editor article{color:#aab7c8}
html[data-mt-theme="dark"] .mtfw-firmware-detail dl div{background:#152640}
html[data-mt-theme="dark"] .mtfw-firmware-detail dd{color:#e2e8f0}
html[data-mt-theme="dark"] .mtfw-security{background:#111f34;border-color:rgba(245,189,31,.3);color:#eef2f7}

@media (max-width:1180px){
  .mtfw-hero__content{width:min(760px,100%)}
  .mtfw-picker__controls{grid-template-columns:1fr}.mtfw-guide__steps{grid-template-columns:repeat(3,1fr);row-gap:30px}.mtfw-guide-step::after{display:none}
}
@media (max-width:900px){
  .mtfw-page .mt-container{width:min(100% - 24px,760px)}
  .mtfw-hero{min-height:auto;padding:42px 0 104px;background-position:center 50%}.mtfw-hero__content{width:min(690px,100%);padding-inline:52px}.mtfw-hero h1{font-size:36px}.mtfw-hero__features{flex-wrap:wrap}.mtfw-hero__features>div{min-width:210px}
  .mtfw-workspace-wrap{margin-top:-66px}.mtfw-workspace{border-radius:26px}.mtfw-picker,.mtfw-models,.mtfw-download{padding:22px}.mtfw-download__header{align-items:flex-start;flex-direction:column}.mtfw-selected{width:100%}
  .mtfw-firmware-table__head{display:none}.mtfw-firmware-row{grid-template-columns:1fr 1fr 1fr;gap:12px}.mtfw-firmware-row>*::before{display:block;margin-bottom:4px;color:#98a2b3;font-size:8px}.mtfw-firmware-row>*:nth-child(1)::before{content:"نسخه"}.mtfw-firmware-row>*:nth-child(2)::before{content:"تاریخ"}.mtfw-firmware-row>*:nth-child(3)::before{content:"حجم"}.mtfw-firmware-row>*:nth-child(4)::before{content:"نوع"}.mtfw-firmware-row>*:nth-child(5)::before{content:"تغییرات"}.mtfw-firmware-row>*:nth-child(6)::before{content:"دانلود"}
  .mtfw-guide,.mtfw-security{margin-inline:22px}.mtfw-guide>header{grid-template-columns:46px 1fr}.mtfw-guide header a{grid-column:1/-1;justify-self:stretch;justify-content:center}.mtfw-guide__steps{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .mtfw-page .mt-container{width:min(100% - 14px,560px)}
  .mtfw-hero{padding:34px 0 88px;background-size:auto 100%;background-position:center}.mtfw-hero::before{background:rgba(2,10,18,.64)}.mtfw-hero__content{padding:0 10px}.mtfw-hero__brandmark .custom-logo{max-width:190px}.mtfw-hero h1{font-size:28px;line-height:1.55}.mtfw-hero__lead{font-size:12px}.mtfw-hero__features{display:grid;grid-template-columns:1fr 1fr;gap:7px}.mtfw-hero__features>div{min-width:0;padding:9px}.mtfw-hero__features>div>span{width:36px;height:36px;flex-basis:36px}.mtfw-hero__features b{font-size:10px}.mtfw-hero__features small{font-size:8px}
  .mtfw-workspace-wrap{margin-top:-54px}.mtfw-workspace{border-radius:21px}.mtfw-picker,.mtfw-models,.mtfw-download{padding:17px 13px}.mtfw-section-title h2{font-size:17px}.mtfw-picker__controls{gap:12px;margin-top:15px}.mtfw-brand-tabs button{grid-template-columns:27px 1fr;min-height:58px;padding:9px}.mtfw-brand-tabs img{width:26px;height:26px}.mtfw-brand-tabs span{font-size:13px}.mtfw-brand-tabs small{display:none}.mtfw-search{min-height:55px}.mtfw-search input{height:53px;font-size:11px}
  .mtfw-models__head{align-items:flex-end}.mtfw-models__head>p{font-size:9px}.mtfw-rail-shell{padding-inline:31px}.mtfw-rail-button{width:32px;height:32px}.mtfw-model-card{flex-basis:148px;min-height:185px;border-radius:16px}.mtfw-model-card__image{width:116px;height:100px}.mtfw-model-card strong{font-size:16px}
  .mtfw-selected{grid-template-columns:30px 1fr 51px}.mtfw-selected strong{font-size:16px}.mtfw-selected__image{width:48px;height:44px}
  .mtfw-firmware-row{grid-template-columns:1fr 1fr;padding:14px 12px}.mtfw-download-button,.mtfw-detail-button{width:100%}.mtfw-firmware-detail__grid{grid-template-columns:1fr}.mtfw-firmware-detail figure{min-height:120px}.mtfw-firmware-detail dl{grid-template-columns:1fr}
  .mtfw-guide,.mtfw-security{margin:0 13px 18px;border-radius:18px}.mtfw-guide>header{padding:17px}.mtfw-guide header h2{font-size:16px}.mtfw-guide__steps{grid-template-columns:1fr;padding:20px}.mtfw-guide-step{align-items:flex-start;text-align:right;padding:0 0 18px 0;display:grid;grid-template-columns:40px 1fr;column-gap:12px}.mtfw-guide-step__number{grid-row:1/3;width:38px;height:38px}.mtfw-guide-step h3{margin:0}.mtfw-guide-step p{margin-top:4px}.mtfw-security{grid-template-columns:48px 1fr;padding:15px}.mtfw-security>span{width:48px;height:48px}.mtfw-security>span svg{width:28px;height:28px}.mtfw-security h2{font-size:14px}.mtfw-security p{font-size:9px}
}

/* =========================================================
 * Firmware Center UI v504
 * Hero cleanup, premium cards, centered brand picker and
 * WordPress admin-bar/header spacing correction.
 * ======================================================= */
body.mtfw-page-active.admin-bar .mt-header{
  top:0!important;
  transform:none!important;
}
body.mtfw-page-active .mt-header{
  box-shadow:0 6px 16px rgba(1,8,17,.18)!important;
}
body.mtfw-page-active .mt-main{
  padding-top:0!important;
  padding-bottom:0!important;
}

.mtfw-hero{
  min-height:500px;
  padding:48px 0 112px;
  background-position:center 52%;
}
.mtfw-hero__inner{
  min-height:340px;
}
.mtfw-hero__content{
  width:min(820px,100%);
}
.mtfw-hero__brandmark,
.mtfw-eyebrow,
.mtfw-hero__lead{
  display:none!important;
}
.mtfw-hero-title{
  display:grid;
  justify-items:center;
  gap:8px;
  max-width:820px!important;
  margin:0 auto!important;
  letter-spacing:0!important;
  text-wrap:balance;
}
.mtfw-hero-title__fa{
  display:block;
  color:#fff;
  font-size:clamp(31px,3.15vw,54px);
  font-weight:950;
  line-height:1.45;
  text-shadow:0 4px 25px rgba(0,0,0,.55);
}
.mtfw-hero-title__brands{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  color:#fff;
  font-size:clamp(31px,3.35vw,57px);
  font-weight:950;
  line-height:1.15;
  letter-spacing:-1.5px;
  text-shadow:0 5px 28px rgba(0,0,0,.62);
}
.mtfw-hero-title__brands b{
  color:#fff;
  font-weight:950;
}
.mtfw-hero-title__brands i{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid rgba(245,189,31,.58);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(245,189,31,.24),rgba(245,189,31,.06));
  color:var(--mtfw-yellow-2);
  font-size:.58em;
  font-style:normal;
  box-shadow:0 0 0 5px rgba(245,189,31,.055),0 12px 28px rgba(0,0,0,.2);
}
.mtfw-hero__features{
  display:grid;
  grid-template-columns:repeat(2,minmax(240px,300px));
  justify-content:center;
  gap:16px;
  margin-top:30px;
}
.mtfw-hero__features>div{
  position:relative;
  min-width:0;
  min-height:84px;
  padding:14px 16px;
  border:1px solid rgba(245,189,31,.24);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(9,26,43,.92),rgba(5,17,30,.78));
  box-shadow:0 22px 46px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
  overflow:hidden;
}
.mtfw-hero__features>div::before{
  content:"";
  position:absolute;
  inset:0 18% auto;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--mtfw-yellow),transparent);
  box-shadow:0 0 15px rgba(245,189,31,.8);
}
.mtfw-hero__features>div>span{
  width:50px;
  height:50px;
  flex-basis:50px;
  border:1px solid rgba(245,189,31,.22);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(245,189,31,.18),rgba(245,189,31,.055));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 24px rgba(0,0,0,.18);
}
.mtfw-hero__features>div>span svg{
  width:28px;
  height:28px;
  stroke-width:1.65;
}
.mtfw-hero__features b{
  font-size:14px;
  font-weight:950;
}
.mtfw-hero__features small{
  color:#b7c2d0;
  font-size:10.5px;
}

.mtfw-workspace-wrap{
  padding-bottom:22px;
}
.mtfw-picker{
  padding-top:30px;
  padding-bottom:30px;
}
.mtfw-simple-heading{
  text-align:center;
  margin:0 0 19px;
}
.mtfw-simple-heading h2{
  margin:0;
  color:#1d2939;
  font-size:22px;
  font-weight:950;
  line-height:1.55;
}
.mtfw-simple-heading--inline{
  margin:0;
  text-align:right;
}
.mtfw-simple-heading--inline h2{
  font-size:19px;
}
.mtfw-picker__controls{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:15px;
  margin-top:0;
}
.mtfw-brand-tabs{
  width:min(720px,100%);
  gap:12px;
}
.mtfw-brand-tabs button{
  min-height:76px;
  padding:12px 18px;
  border-radius:19px;
  box-shadow:0 9px 24px rgba(16,24,40,.055);
}
.mtfw-brand-tabs button.is-active{
  box-shadow:0 13px 34px rgba(245,189,31,.25),inset 0 1px 0 rgba(255,255,255,.38);
}
.mtfw-brand-tabs img{
  width:38px;
  height:38px;
}
.mtfw-brand-tabs span{
  font-size:18px;
}
.mtfw-search{
  width:min(640px,100%);
  min-height:60px;
  border-radius:18px;
  box-shadow:0 8px 24px rgba(16,24,40,.045),inset 0 1px 2px rgba(16,24,40,.025);
}
.mtfw-search input{
  height:58px;
  text-align:center;
  padding-inline:55px;
}
.mtfw-search>svg{
  inset-inline-start:20px;
}
.mtfw-models__head,
.mtfw-download__header{
  min-height:46px;
}
.mtfw-security{
  margin:0 34px;
}
.mtfw-editor{
  display:none!important;
}

html[data-mt-theme="dark"] .mtfw-simple-heading h2{
  color:#f6f8fb;
}

@media (max-width:900px){
  .mtfw-hero{
    min-height:auto;
    padding:42px 0 100px;
  }
  .mtfw-hero__content{
    padding-inline:36px;
  }
  .mtfw-hero-title__fa{
    font-size:clamp(29px,6vw,42px);
  }
  .mtfw-hero-title__brands{
    font-size:clamp(29px,6vw,43px);
  }
  .mtfw-hero__features{
    grid-template-columns:repeat(2,minmax(210px,1fr));
  }
  .mtfw-picker__controls{
    grid-template-columns:none;
  }
  .mtfw-security{
    margin-inline:22px;
  }
}

@media (max-width:640px){
  body.mtfw-page-active.admin-bar .mt-header{
    top:0!important;
  }
  .mtfw-hero{
    padding:34px 0 84px;
  }
  .mtfw-hero__content{
    padding:0 8px;
  }
  .mtfw-hero-title{
    gap:7px;
  }
  .mtfw-hero-title__fa{
    font-size:25px;
    line-height:1.55;
  }
  .mtfw-hero-title__brands{
    gap:8px;
    font-size:25px;
    letter-spacing:-.8px;
  }
  .mtfw-hero-title__brands i{
    width:31px;
    height:31px;
    border-radius:10px;
  }
  .mtfw-hero__features{
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:22px;
  }
  .mtfw-hero__features>div{
    min-height:72px;
    padding:9px;
    border-radius:15px;
  }
  .mtfw-hero__features>div>span{
    width:38px;
    height:38px;
    flex-basis:38px;
    border-radius:12px;
  }
  .mtfw-hero__features>div>span svg{
    width:22px;
    height:22px;
  }
  .mtfw-hero__features b{
    font-size:10px;
  }
  .mtfw-hero__features small{
    font-size:8px;
  }
  .mtfw-picker{
    padding-top:20px;
    padding-bottom:20px;
  }
  .mtfw-simple-heading{
    margin-bottom:14px;
  }
  .mtfw-simple-heading h2{
    font-size:17px;
  }
  .mtfw-simple-heading--inline{
    margin-bottom:0;
  }
  .mtfw-brand-tabs{
    gap:8px;
  }
  .mtfw-brand-tabs button{
    min-height:62px;
    padding:9px 10px;
    border-radius:15px;
  }
  .mtfw-brand-tabs img{
    width:28px;
    height:28px;
  }
  .mtfw-brand-tabs span{
    font-size:13px;
  }
  .mtfw-search{
    min-height:54px;
    border-radius:15px;
  }
  .mtfw-search input{
    height:52px;
    font-size:10.5px;
    padding-inline:48px;
  }
  .mtfw-security{
    margin:0 13px;
  }
  .mtfw-workspace-wrap{
    padding-bottom:22px;
  }
}

/* =========================================================
 * Firmware Center UI v505
 * Brand logos, reliable model selection, hero balance and
 * exact 22px footer spacing.
 * ======================================================= */
body.mtfw-page-active .mt-footer{
  margin-top:0!important;
  padding-top:0!important;
}
body.mtfw-page-active .mt-main{
  padding-bottom:0!important;
}
.mtfw-workspace-wrap{
  padding-bottom:22px!important;
}
.mtfw-security{
  margin:0 34px 28px!important;
}

/* Hero: title above devices, compact equal feature cards between them. */
.mtfw-hero-title__brands i{
  display:inline!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  color:var(--mtfw-yellow-2)!important;
  font-size:1em!important;
  line-height:1!important;
  box-shadow:none!important;
  text-shadow:0 0 18px rgba(245,189,31,.24)!important;
}
@media (min-width:901px){
  .mtfw-hero{
    min-height:500px;
    padding:0;
  }
  .mtfw-hero__inner{
    min-height:500px;
    align-items:stretch;
  }
  .mtfw-hero__content{
    position:relative;
    width:min(900px,100%);
    min-height:500px;
    padding:0;
  }
  .mtfw-hero-title{
    position:absolute;
    top:34px;
    inset-inline:0;
    z-index:3;
  }
  .mtfw-hero__features{
    position:absolute;
    inset-inline-start:50%;
    bottom:52px;
    z-index:3;
    width:max-content;
    margin:0;
    transform:translateX(50%);
    grid-template-columns:repeat(2,230px);
    gap:14px;
  }
  .mtfw-hero__features>div{
    width:230px;
    min-height:66px;
    padding:9px 12px;
    border-radius:17px;
    gap:9px;
  }
  .mtfw-hero__features>div>span{
    width:42px;
    height:42px;
    flex-basis:42px;
    border-radius:13px;
  }
  .mtfw-hero__features>div>span svg{
    width:24px;
    height:24px;
  }
  .mtfw-hero__features b{
    font-size:12px;
  }
  .mtfw-hero__features small{
    font-size:9px;
  }
}

/* Authentic full brand marks, presented as the primary category visual. */
.mtfw-brand-tabs button{
  grid-template-columns:minmax(0,1fr) auto;
  min-height:98px;
  padding:14px 22px;
  direction:ltr;
}
.mtfw-brand-tabs__logo{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  height:62px;
}
.mtfw-brand-tabs__logo img,
.mtfw-brand-tabs img{
  width:min(230px,100%)!important;
  height:58px!important;
  max-width:100%;
  object-fit:contain;
}
.mtfw-brand-tabs button small{
  direction:rtl;
  min-width:52px;
  color:inherit;
  font-size:10px;
  font-weight:900;
  text-align:center;
  opacity:.68;
}
html[data-mt-theme="dark"] .mtfw-brand-tabs button:not(.is-active) img{
  filter:invert(1) brightness(1.18);
}
html[data-mt-theme="dark"] .mtfw-selected__logo img{
  filter:invert(1) brightness(1.18);
}
html[data-mt-theme="dark"] .mtfw-brand-tabs button.is-active img{
  filter:none;
}

/* Improve click affordance and prevent text/image selection during rail drag. */
.mtfw-model-card{
  touch-action:pan-y;
  -webkit-user-select:none;
  user-select:none;
}
.mtfw-model-card img{
  pointer-events:none;
  -webkit-user-drag:none;
  user-select:none;
}
.mtfw-model-rail.is-dragging .mtfw-model-card{
  pointer-events:none;
}

/* Give the security card breathing room inside the main rounded shell. */
.mtfw-security{
  box-shadow:0 10px 26px rgba(15,23,42,.035);
}

@media (max-width:900px){
  .mtfw-hero-title{
    transform:translateY(-8px);
  }
  .mtfw-hero__features{
    margin-top:44px;
  }
  .mtfw-brand-tabs button{
    min-height:84px;
    padding:11px 14px;
  }
  .mtfw-brand-tabs__logo{
    height:50px;
  }
  .mtfw-brand-tabs__logo img,
  .mtfw-brand-tabs img{
    height:46px!important;
  }
  .mtfw-security{
    margin:0 22px 24px!important;
  }
}
@media (max-width:640px){
  .mtfw-hero-title__brands{
    gap:8px;
  }
  .mtfw-hero-title__brands i{
    font-size:.85em!important;
  }
  .mtfw-hero__features{
    margin-top:32px;
  }
  .mtfw-brand-tabs button{
    grid-template-columns:1fr;
    gap:4px;
    min-height:72px;
    padding:8px 10px;
  }
  .mtfw-brand-tabs__logo{
    height:38px;
  }
  .mtfw-brand-tabs__logo img,
  .mtfw-brand-tabs img{
    width:min(150px,100%)!important;
    height:36px!important;
  }
  .mtfw-brand-tabs button small{
    min-width:0;
    font-size:8px;
  }
  .mtfw-security{
    margin:0 13px 20px!important;
  }
}

/* =========================================================
 * Firmware Center UI v506
 * Hero card balance, logo-only brand tabs, cleaner model rail,
 * and simplified selection metadata.
 * ======================================================= */
body.mtfw-page-active .mt-footer{
  margin-top:0!important;
  padding-top:0!important;
}
body.mtfw-page-active .mt-main{
  padding-bottom:0!important;
}
.mtfw-workspace-wrap{
  margin-top:-26px!important;
  padding-bottom:22px!important;
}
.mtfw-picker{
  padding-top:24px!important;
  padding-bottom:20px!important;
}
.mtfw-models{
  padding-top:8px!important;
}
.mtfw-models__head,
.mtfw-picker .mtfw-simple-heading,
.mtfw-models .mtfw-simple-heading,
.mtfw-models__head > p,
.mtfw-brand-tabs button small{
  display:none!important;
}

/* Hero layout */
@media (min-width:901px){
  .mtfw-hero{
    min-height:560px!important;
    padding:0!important;
  }
  .mtfw-hero__inner{
    min-height:560px!important;
    align-items:stretch!important;
  }
  .mtfw-hero__content{
    position:relative;
    width:min(920px,100%);
    min-height:560px;
    padding:0;
  }
  .mtfw-hero-title{
    position:absolute;
    inset-inline:0;
    top:22px;
    z-index:3;
  }
  .mtfw-hero__features{
    position:absolute;
    inset-inline-start:50%;
    bottom:96px!important;
    z-index:3;
    width:max-content;
    margin:0!important;
    transform:translateX(50%);
    grid-template-columns:repeat(2, 218px)!important;
    gap:12px!important;
  }
  .mtfw-hero__features > div{
    width:218px;
    min-height:58px!important;
    padding:8px 11px!important;
    gap:8px!important;
    border-radius:16px!important;
  }
  .mtfw-hero__features > div > span{
    width:38px!important;
    height:38px!important;
    flex-basis:38px!important;
  }
  .mtfw-hero__features b{
    font-size:11px!important;
  }
  .mtfw-hero__features small{
    font-size:8.5px!important;
  }
}
.mtfw-hero-title__brands i{
  display:inline!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  color:var(--mtfw-yellow-2)!important;
}

/* Brand tabs */
.mtfw-picker__controls{
  gap:14px!important;
}
.mtfw-brand-tabs{
  width:min(760px,100%)!important;
  gap:16px!important;
}
.mtfw-brand-tabs button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:108px!important;
  padding:14px 18px!important;
  direction:ltr!important;
}
.mtfw-brand-tabs__logo{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:64px!important;
}
.mtfw-brand-tabs__logo img,
.mtfw-brand-tabs img{
  width:min(250px,100%)!important;
  height:60px!important;
  object-fit:contain!important;
}

/* Model rail */
.mtfw-rail-shell{
  margin-top:2px;
}
.mtfw-model-card{
  min-height:230px!important;
  padding:16px 14px 18px!important;
  justify-content:flex-start!important;
}
.mtfw-model-card__brand{
  display:flex;
  align-items:center;
  justify-content:center;
  width:92px;
  height:34px;
  margin:0 auto 8px;
}
.mtfw-model-card__brand img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.mtfw-model-card__image{
  width:146px!important;
  height:126px!important;
  margin:0 auto 12px!important;
}
.mtfw-model-card strong{
  display:block;
  margin-top:auto;
  font-size:16px!important;
  font-weight:900;
  line-height:1.5;
  text-align:center;
  white-space:nowrap;
}

/* Selected summary */
.mtfw-download__header{
  align-items:center!important;
}
.mtfw-selected{
  grid-template-columns:44px auto 62px!important;
  min-width:310px!important;
  padding:8px 10px 8px 14px!important;
}
.mtfw-selected__logo{
  width:44px!important;
  height:44px!important;
}
.mtfw-selected__logo img{
  max-width:34px!important;
  max-height:34px!important;
}
.mtfw-selected strong{
  font-size:17px!important;
  font-weight:900;
  line-height:1.5;
}

/* Security spacing */
.mtfw-security{
  margin:12px 34px 22px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.035);
}

@media (max-width:900px){
  .mtfw-workspace-wrap{
    margin-top:-16px!important;
  }
  .mtfw-hero{
    padding:38px 0 96px!important;
  }
  .mtfw-hero__features{
    margin-top:24px!important;
    grid-template-columns:repeat(2,minmax(0,178px))!important;
    justify-content:center;
  }
  .mtfw-brand-tabs button{
    min-height:88px!important;
  }
  .mtfw-brand-tabs__logo{
    height:52px!important;
  }
  .mtfw-brand-tabs__logo img,
  .mtfw-brand-tabs img{
    height:48px!important;
  }
  .mtfw-security{
    margin:10px 22px 22px!important;
  }
}
@media (max-width:640px){
  .mtfw-workspace-wrap{
    margin-top:-10px!important;
  }
  .mtfw-hero{
    padding:32px 0 84px!important;
  }
  .mtfw-hero__features{
    margin-top:18px!important;
    grid-template-columns:1fr 1fr!important;
  }
  .mtfw-hero__features > div{
    min-height:66px!important;
  }
  .mtfw-brand-tabs{
    gap:10px!important;
  }
  .mtfw-brand-tabs button{
    min-height:76px!important;
    padding:10px 12px!important;
  }
  .mtfw-brand-tabs__logo{
    height:40px!important;
  }
  .mtfw-brand-tabs__logo img,
  .mtfw-brand-tabs img{
    width:min(160px,100%)!important;
    height:36px!important;
  }
  .mtfw-model-card{
    min-height:200px!important;
  }
  .mtfw-model-card__brand{
    width:72px;
    height:28px;
    margin-bottom:6px;
  }
  .mtfw-model-card__image{
    width:118px!important;
    height:96px!important;
  }
  .mtfw-model-card strong{
    font-size:13px!important;
  }
  .mtfw-selected{
    grid-template-columns:38px auto 48px!important;
    min-width:0!important;
    width:100%;
  }
  .mtfw-selected__logo{
    width:38px!important;
    height:38px!important;
  }
  .mtfw-selected__logo img{
    max-width:28px!important;
    max-height:28px!important;
  }
  .mtfw-selected strong{
    font-size:14px!important;
  }
  .mtfw-security{
    margin:8px 13px 22px!important;
  }
}

/* =========================================================
 * Firmware Center UI v507
 * Narrower hero cards and animated neon firmware badge.
 * ======================================================= */
.mtfw-hero__floating-badge{
  position:absolute;
  inset-inline-start:50%;
  bottom:172px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-width:180px;
  padding:12px 18px;
  border:1px solid rgba(245,189,31,.28);
  border-radius:20px;
  background:linear-gradient(135deg, rgba(5,22,42,.78), rgba(8,34,62,.6));
  color:#7ee7ff;
  transform:translateX(50%);
  box-shadow:0 0 0 1px rgba(126,231,255,.06) inset, 0 0 24px rgba(56,189,248,.18), 0 10px 40px rgba(0,0,0,.22);
  backdrop-filter:blur(6px);
  animation:mtfwFloatFirmware 3.8s ease-in-out infinite;
}
.mtfw-hero__floating-badge::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  background:linear-gradient(120deg, rgba(125,211,252,.2), rgba(245,189,31,.18), rgba(34,211,238,.18));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  padding:1px;
  pointer-events:none;
}
.mtfw-hero__floating-badge::after{
  content:"";
  position:absolute;
  width:62%;
  height:2px;
  inset-inline:19% auto;
  bottom:-8px;
  background:radial-gradient(circle, rgba(126,231,255,.85) 0%, rgba(56,189,248,.35) 45%, transparent 78%);
  filter:blur(1px);
  opacity:.85;
}
.mtfw-hero__floating-icon{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:14px;
  background:radial-gradient(circle at 30% 30%, rgba(31,41,55,.82), rgba(2,12,27,.96));
  color:#47d7ff;
  box-shadow:0 0 0 1px rgba(71,215,255,.22) inset, 0 0 18px rgba(71,215,255,.28);
}
.mtfw-hero__floating-icon svg{
  width:24px;
  height:24px;
  filter:drop-shadow(0 0 8px rgba(71,215,255,.44));
}
.mtfw-hero__floating-text{
  font-size:18px;
  font-weight:900;
  letter-spacing:.16em;
  color:#9aefff;
  text-shadow:0 0 10px rgba(71,215,255,.55), 0 0 22px rgba(71,215,255,.24);
}
@keyframes mtfwFloatFirmware{
  0%,100%{transform:translateX(50%) translateY(0)}
  50%{transform:translateX(50%) translateY(-8px)}
}

@media (min-width:901px){
  .mtfw-hero__floating-badge{
    bottom:176px;
  }
  .mtfw-hero__features{
    grid-template-columns:repeat(2, 182px)!important;
    gap:18px!important;
    bottom:84px!important;
  }
  .mtfw-hero__features>div{
    width:182px!important;
    min-height:54px!important;
    padding:8px 10px!important;
  }
  .mtfw-hero__features b{
    font-size:10.6px!important;
  }
  .mtfw-hero__features small{
    font-size:8px!important;
  }
}
@media (max-width:900px){
  .mtfw-hero__floating-badge{
    position:relative;
    inset:auto;
    bottom:auto;
    margin:24px auto 0;
    transform:none;
    animation:mtfwFloatFirmwareMobile 3.8s ease-in-out infinite;
  }
  .mtfw-hero__features{
    margin-top:18px!important;
  }
}
@keyframes mtfwFloatFirmwareMobile{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-6px)}
}
@media (max-width:640px){
  .mtfw-hero__floating-badge{
    min-width:150px;
    padding:10px 14px;
    gap:10px;
    border-radius:16px;
  }
  .mtfw-hero__floating-icon{
    width:36px;
    height:36px;
    border-radius:12px;
  }
  .mtfw-hero__floating-icon svg{
    width:20px;
    height:20px;
  }
  .mtfw-hero__floating-text{
    font-size:14px;
  }
}

/* =========================================================
 * Firmware Center UI v508
 * Compact, future-ready brand rail and collision-proof miner cards.
 * ======================================================= */
.mtfw-brand-tabs{
  display:grid!important;
  grid-template-columns:none!important;
  grid-auto-flow:column!important;
  grid-auto-columns:240px!important;
  justify-content:center!important;
  width:min(650px,100%)!important;
  max-width:100%;
  gap:14px!important;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 2px 8px;
  direction:rtl;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
  scrollbar-color:rgba(210,158,0,.55) transparent;
}
.mtfw-brand-tabs.is-scrollable{
  justify-content:start!important;
  width:100%!important;
}
.mtfw-brand-tabs::-webkit-scrollbar{
  height:5px;
}
.mtfw-brand-tabs::-webkit-scrollbar-thumb{
  background:rgba(210,158,0,.5);
  border-radius:99px;
}
.mtfw-brand-tabs button{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:86px!important;
  padding:10px 16px!important;
  border-radius:18px!important;
  direction:ltr!important;
  scroll-snap-align:center;
}
.mtfw-brand-tabs__logo{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:50px!important;
  margin:0!important;
}
.mtfw-brand-tabs__logo img,
.mtfw-brand-tabs img{
  display:block!important;
  width:min(190px,100%)!important;
  height:46px!important;
  margin:auto!important;
  object-fit:contain!important;
  object-position:center!important;
}
.mtfw-brand-tabs__logo b{
  display:block;
  max-width:100%;
  overflow:hidden;
  color:inherit;
  font-size:22px;
  font-weight:900;
  line-height:1.2;
  text-align:center;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.mtfw-model-card{
  display:grid!important;
  grid-template-rows:32px minmax(0,1fr) 34px!important;
  align-items:center!important;
  justify-items:center!important;
  min-height:238px!important;
  padding:14px 14px 16px!important;
  overflow:hidden!important;
}
.mtfw-model-card__brand{
  display:grid!important;
  place-items:center!important;
  width:104px!important;
  height:32px!important;
  margin:0!important;
  overflow:hidden;
}
.mtfw-model-card__brand img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:104px!important;
  max-height:32px!important;
  object-fit:contain!important;
  object-position:center!important;
}
.mtfw-model-card__image{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:144px!important;
  min-height:0!important;
  margin:0!important;
  overflow:hidden!important;
}
.mtfw-model-card__image img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:136px!important;
  object-fit:contain!important;
  object-position:center!important;
}
.mtfw-model-card strong{
  align-self:end!important;
  width:100%;
  margin:0!important;
  overflow:hidden;
  font-size:17px!important;
  font-weight:900!important;
  line-height:1.35!important;
  text-align:center!important;
  text-overflow:ellipsis;
  white-space:nowrap;
}

@media (max-width:900px){
  .mtfw-brand-tabs{
    grid-auto-columns:210px!important;
    width:min(570px,100%)!important;
  }
  .mtfw-brand-tabs button{
    min-height:78px!important;
  }
  .mtfw-brand-tabs__logo{
    height:44px!important;
  }
  .mtfw-brand-tabs__logo img,
  .mtfw-brand-tabs img{
    width:min(170px,100%)!important;
    height:40px!important;
  }
}
@media (max-width:640px){
  .mtfw-brand-tabs{
    grid-auto-columns:165px!important;
    justify-content:start!important;
    width:100%!important;
    gap:9px!important;
  }
  .mtfw-brand-tabs button{
    min-height:68px!important;
    padding:8px 10px!important;
    border-radius:15px!important;
  }
  .mtfw-brand-tabs__logo{
    height:36px!important;
  }
  .mtfw-brand-tabs__logo img,
  .mtfw-brand-tabs img{
    width:min(138px,100%)!important;
    height:34px!important;
  }
  .mtfw-model-card{
    grid-template-rows:27px minmax(0,1fr) 28px!important;
    min-height:196px!important;
    padding:11px 10px 13px!important;
  }
  .mtfw-model-card__brand{
    width:82px!important;
    height:27px!important;
  }
  .mtfw-model-card__brand img{
    max-width:82px!important;
    max-height:27px!important;
  }
  .mtfw-model-card__image{
    height:112px!important;
  }
  .mtfw-model-card__image img{
    max-height:106px!important;
  }
  .mtfw-model-card strong{
    font-size:14px!important;
  }
}

/* =========================================================
 * Firmware Center UI v509
 * Image badge hero, tighter brand rail, centered miner cards,
 * no side padding in model rail, reversed arrow movement.
 * ======================================================= */
.mtfw-hero__floating-badge{
  min-width:0!important;
  padding:0!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  bottom:176px!important;
}
.mtfw-hero__floating-badge::before,
.mtfw-hero__floating-badge::after,
.mtfw-hero__floating-icon,
.mtfw-hero__floating-text{
  display:none!important;
}
.mtfw-hero__floating-badge img{
  display:block;
  width:min(540px,42vw);
  min-width:280px;
  height:auto;
  margin:0 auto;
  filter:drop-shadow(0 10px 22px rgba(34,211,238,.18)) drop-shadow(0 0 18px rgba(56,189,248,.22));
  animation:mtfwHeroBadgeFloat 3.8s ease-in-out infinite;
}
@keyframes mtfwHeroBadgeFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-8px)}
}

.mtfw-brand-tabs{
  grid-auto-columns:214px!important;
  width:min(584px,100%)!important;
  gap:10px!important;
  padding:0 0 8px!important;
}
.mtfw-brand-tabs button{
  min-height:76px!important;
  padding:8px 12px!important;
}
.mtfw-brand-tabs__logo{
  width:100%!important;
  height:42px!important;
  margin:0 auto!important;
  justify-self:center!important;
}
.mtfw-brand-tabs__logo img,
.mtfw-brand-tabs img{
  width:min(170px,100%)!important;
  height:40px!important;
  margin:0 auto!important;
}

.mtfw-rail-shell{
  padding-inline:0!important;
}
.mtfw-model-rail{
  padding-inline:0!important;
}
.mtfw-rail-button--next{
  inset-inline-start:12px!important;
}
.mtfw-rail-button--prev{
  inset-inline-end:12px!important;
}

.mtfw-model-card{
  grid-template-rows:34px minmax(118px,1fr) auto!important;
  min-height:236px!important;
  padding:14px 12px 16px!important;
}
.mtfw-model-card__brand{
  width:100%!important;
  height:34px!important;
  margin:0 auto 6px!important;
}
.mtfw-model-card__brand img{
  max-width:112px!important;
  max-height:34px!important;
  margin:0 auto!important;
}
.mtfw-model-card__image{
  width:100%!important;
  height:134px!important;
  margin:0 auto 8px!important;
}
.mtfw-model-card__image img{
  max-width:92%!important;
  max-height:126px!important;
  margin:0 auto!important;
}
.mtfw-model-card strong{
  width:100%!important;
  margin:0 auto!important;
  padding-top:2px!important;
  text-align:center!important;
  justify-self:center!important;
}

@media (max-width:900px){
  .mtfw-hero__floating-badge{
    margin:18px auto 0!important;
  }
  .mtfw-hero__floating-badge img{
    width:min(420px,74vw);
    min-width:220px;
  }
  .mtfw-brand-tabs{
    grid-auto-columns:196px!important;
    width:min(520px,100%)!important;
  }
}
@media (max-width:640px){
  .mtfw-brand-tabs{
    grid-auto-columns:156px!important;
    width:100%!important;
  }
  .mtfw-brand-tabs button{
    min-height:64px!important;
  }
  .mtfw-brand-tabs__logo{
    height:34px!important;
  }
  .mtfw-brand-tabs__logo img,
  .mtfw-brand-tabs img{
    width:min(128px,100%)!important;
    height:32px!important;
  }
  .mtfw-model-card{
    grid-template-rows:28px minmax(96px,1fr) auto!important;
    min-height:194px!important;
    padding:10px 9px 12px!important;
  }
  .mtfw-model-card__brand{
    height:28px!important;
  }
  .mtfw-model-card__brand img{
    max-width:88px!important;
    max-height:28px!important;
  }
  .mtfw-model-card__image{
    height:104px!important;
  }
  .mtfw-model-card__image img{
    max-height:98px!important;
  }
  .mtfw-model-card strong{
    font-size:13px!important;
  }
}

/* =========================================================
 * Firmware Center UI v510 — final visual polish
 * Precise hero spacing, refined motion/hover, tablet/mobile.
 * ======================================================= */

/* Smooth, premium interactions without changing layout. */
.mtfw-brand-tabs button,
.mtfw-model-card,
.mtfw-rail-button,
.mtfw-download-button,
.mtfw-detail-button{
  transition:
    transform .22s cubic-bezier(.2,.8,.2,1),
    box-shadow .22s ease,
    border-color .22s ease,
    background-color .22s ease,
    color .22s ease!important;
}
.mtfw-brand-tabs button:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 14px 30px rgba(15,23,42,.08)!important;
}
.mtfw-brand-tabs button.is-active:hover{
  box-shadow:0 16px 34px rgba(245,189,31,.28)!important;
}
.mtfw-brand-tabs button:hover .mtfw-brand-tabs__logo img{
  transform:scale(1.025);
}
.mtfw-brand-tabs__logo img{
  transition:transform .24s cubic-bezier(.2,.8,.2,1);
}
.mtfw-model-card:hover{
  transform:translateY(-4px)!important;
  box-shadow:0 17px 34px rgba(15,23,42,.09)!important;
}
.mtfw-model-card.is-active{
  box-shadow:0 0 0 2px rgba(245,189,31,.12),0 18px 34px rgba(137,100,0,.14)!important;
}
.mtfw-model-card__image img{
  transition:transform .25s cubic-bezier(.2,.8,.2,1),filter .25s ease;
}
.mtfw-model-card:hover .mtfw-model-card__image img{
  transform:translateY(-2px) scale(1.018);
  filter:drop-shadow(0 12px 11px rgba(15,23,42,.17));
}
.mtfw-rail-button:hover{
  transform:translateY(-1px) scale(1.04);
  box-shadow:0 13px 28px rgba(15,23,42,.14);
}

/* Desktop hero: exact vertical rhythm between title, badge and cards. */
@media (min-width:901px){
  .mtfw-hero{
    min-height:560px!important;
  }
  .mtfw-hero__inner,
  .mtfw-hero__content{
    min-height:560px!important;
  }
  .mtfw-hero-title{
    top:18px!important;
  }
  .mtfw-hero__floating-badge{
    bottom:178px!important;
  }
  .mtfw-hero__floating-badge img{
    width:min(520px,40vw)!important;
    min-width:310px!important;
    filter:drop-shadow(0 10px 24px rgba(34,211,238,.19)) drop-shadow(0 0 20px rgba(56,189,248,.22))!important;
  }
  .mtfw-hero__features{
    bottom:78px!important;
    grid-template-columns:repeat(2,176px)!important;
    gap:22px!important;
  }
  .mtfw-hero__features>div{
    width:176px!important;
    min-height:54px!important;
    padding:8px 9px!important;
  }
}

/* Cleaner focus states for keyboard navigation. */
.mtfw-brand-tabs button:focus-visible,
.mtfw-model-card:focus-visible,
.mtfw-rail-button:focus-visible,
.mtfw-search input:focus-visible{
  outline:3px solid rgba(245,189,31,.34)!important;
  outline-offset:3px!important;
}

/* Tablet polish. */
@media (min-width:641px) and (max-width:900px){
  .mtfw-hero{
    padding:34px 0 92px!important;
  }
  .mtfw-hero__floating-badge{
    margin-top:16px!important;
  }
  .mtfw-hero__floating-badge img{
    width:min(390px,62vw)!important;
    min-width:260px!important;
  }
  .mtfw-hero__features{
    grid-template-columns:repeat(2,178px)!important;
    gap:14px!important;
    margin-top:14px!important;
  }
  .mtfw-brand-tabs{
    grid-auto-columns:188px!important;
    width:min(500px,100%)!important;
  }
  .mtfw-model-card{
    flex-basis:176px!important;
  }
}

/* Mobile polish and reduced visual density. */
@media (max-width:640px){
  .mtfw-hero{
    padding:28px 0 78px!important;
  }
  .mtfw-hero-title{
    gap:5px!important;
  }
  .mtfw-hero-title__fa,
  .mtfw-hero-title__brands{
    font-size:23px!important;
  }
  .mtfw-hero__floating-badge{
    margin-top:12px!important;
  }
  .mtfw-hero__floating-badge img{
    width:min(310px,88vw)!important;
    min-width:210px!important;
  }
  .mtfw-hero__features{
    gap:7px!important;
    margin-top:10px!important;
  }
  .mtfw-hero__features>div{
    min-height:62px!important;
    padding:7px 8px!important;
    border-radius:14px!important;
  }
  .mtfw-hero__features>div>span{
    width:34px!important;
    height:34px!important;
    flex-basis:34px!important;
  }
  .mtfw-hero__features b{
    font-size:9.5px!important;
  }
  .mtfw-hero__features small{
    font-size:7.4px!important;
  }
  .mtfw-picker{
    padding-top:18px!important;
  }
  .mtfw-brand-tabs{
    grid-auto-columns:148px!important;
    gap:8px!important;
  }
  .mtfw-model-card{
    flex-basis:146px!important;
    border-radius:16px!important;
  }
  .mtfw-rail-button{
    width:34px!important;
    height:34px!important;
  }
  .mtfw-rail-button--next{
    inset-inline-start:7px!important;
  }
  .mtfw-rail-button--prev{
    inset-inline-end:7px!important;
  }
}

/* Respect accessibility preferences. */
@media (prefers-reduced-motion:reduce){
  .mtfw-hero__floating-badge img,
  .mtfw-brand-tabs button,
  .mtfw-brand-tabs__logo img,
  .mtfw-model-card,
  .mtfw-model-card__image img,
  .mtfw-rail-button{
    animation:none!important;
    transition:none!important;
    transform:none!important;
  }
  .mtfw-model-rail{
    scroll-behavior:auto!important;
  }
}

/* =========================================================
 * Firmware Center UI v511
 * Hard-center alignment for brand logo, miner image, and model title.
 * ======================================================= */
.mtfw-model-card{
  display:grid!important;
  grid-template-rows:34px minmax(128px,1fr) auto!important;
  justify-items:center!important;
  align-items:center!important;
  align-content:center!important;
  text-align:center!important;
  padding-inline:10px!important;
}
.mtfw-model-card__brand,
.mtfw-model-card__image,
.mtfw-model-card strong{
  justify-self:center!important;
  align-self:center!important;
  text-align:center!important;
  margin-inline:auto!important;
}
.mtfw-model-card__brand{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
}
.mtfw-model-card__brand img{
  display:block!important;
  margin-inline:auto!important;
}
.mtfw-model-card__image{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
}
.mtfw-model-card__image img{
  display:block!important;
  margin-inline:auto!important;
}
.mtfw-model-card strong{
  width:100%!important;
  direction:ltr!important;
}

@media (max-width:640px){
  .mtfw-model-card{
    grid-template-rows:28px minmax(96px,1fr) auto!important;
    padding-inline:8px!important;
  }
}

/* =========================================================
 * Firmware Center UI v512
 * Tighter hero, lower title, higher feature cards.
 * ======================================================= */
@media (min-width:901px){
  .mtfw-hero{
    min-height:500px!important;
    padding:42px 0 96px!important;
  }
  .mtfw-hero__inner,
  .mtfw-hero__content{
    min-height:500px!important;
  }
  .mtfw-hero-title{
    top:44px!important;
  }
  .mtfw-hero__floating-badge{
    bottom:162px!important;
  }
  .mtfw-hero__features{
    bottom:108px!important;
  }
}

@media (min-width:641px) and (max-width:900px){
  .mtfw-hero{
    padding:30px 0 82px!important;
  }
  .mtfw-hero-title{
    margin-top:18px!important;
  }
  .mtfw-hero__features{
    margin-top:8px!important;
  }
}

@media (max-width:640px){
  .mtfw-hero{
    padding:24px 0 70px!important;
  }
  .mtfw-hero-title{
    margin-top:14px!important;
  }
  .mtfw-hero__features{
    margin-top:8px!important;
  }
}

/* =========================================================
 * Firmware Center UI v513
 * More compact hero height and exact 22px spacing rhythm.
 * ======================================================= */
@media (min-width:901px){
  .mtfw-hero{
    min-height:470px!important;
    padding:0!important;
    background-position:center 54%!important;
  }
  .mtfw-hero__inner{
    min-height:470px!important;
    align-items:stretch!important;
  }
  .mtfw-hero__content{
    min-height:470px!important;
  }
  .mtfw-hero-title{
    top:22px!important;
  }
  .mtfw-hero__floating-badge{
    bottom:128px!important;
  }
  .mtfw-hero__features{
    bottom:60px!important;
  }
  .mtfw-workspace-wrap{
    margin-top:-22px!important;
  }
}

@media (min-width:641px) and (max-width:900px){
  .mtfw-hero{
    padding:22px 0 72px!important;
  }
  .mtfw-workspace-wrap{
    margin-top:-22px!important;
  }
}

@media (max-width:640px){
  .mtfw-hero{
    padding:20px 0 64px!important;
  }
  .mtfw-workspace-wrap{
    margin-top:-18px!important;
  }
}


/* =========================================================
 * v514 — Final hard-center fix for miner model cards
 * Root cause: cascade conflicts from repeated card rules +
 * optical drift from image/logo wrappers in the horizontal rail.
 * This final block force-centers brand logo, miner image and
 * model title inside each card without changing data structure.
 * ======================================================= */
.mtfw-model-rail{
  padding-inline: 0 !important;
  align-items: stretch !important;
}

.mtfw-model-card{
  display: grid !important;
  grid-template-rows: auto 1fr auto !important;
  justify-items: center !important;
  align-content: start !important;
  text-align: center !important;
  padding-inline: 16px !important;
}

.mtfw-model-card__brand,
.mtfw-model-card__image,
.mtfw-model-card strong{
  width: 100% !important;
  justify-self: center !important;
  margin-inline: auto !important;
  text-align: center !important;
}

.mtfw-model-card__brand{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 34px !important;
  margin-bottom: 10px !important;
}

.mtfw-model-card__brand img{
  display: block !important;
  margin-inline: auto !important;
}

.mtfw-model-card__image{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 110px !important;
  margin-bottom: 10px !important;
}

.mtfw-model-card__image img{
  display: block !important;
  margin-inline: auto !important;
  object-position: center center !important;
}

.mtfw-model-card strong{
  display: block !important;
  width: 100% !important;
  margin-top: 0 !important;
}

@media (max-width: 767px){
  .mtfw-model-card{
    padding-inline: 12px !important;
  }
  .mtfw-model-card__image{
    min-height: 96px !important;
  }
}

/* =========================================================
 * v515 — hard centering fix for miner model cards
 * ======================================================= */
.mtfw-page .mtfw-model-card{
  direction:ltr !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  gap:10px !important;
  padding:18px 16px 20px !important;
}

.mtfw-page .mtfw-model-card > .mtfw-model-card__brand,
.mtfw-page .mtfw-model-card > .mtfw-model-card__image,
.mtfw-page .mtfw-model-card > strong{
  position:static !important;
  inset:auto !important;
  transform:none !important;
  margin-inline:auto !important;
  text-align:center !important;
}

.mtfw-page .mtfw-model-card > .mtfw-model-card__brand{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  width:100% !important;
  min-height:32px !important;
  margin-block:0 !important;
}

.mtfw-page .mtfw-model-card > .mtfw-model-card__brand img{
  display:block !important;
  margin:0 auto !important;
}

.mtfw-page .mtfw-model-card > .mtfw-model-card__image{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  width:100% !important;
  min-height:120px !important;
  margin-block:0 !important;
}

.mtfw-page .mtfw-model-card > .mtfw-model-card__image img{
  display:block !important;
  margin:0 auto !important;
  transform:none !important;
  object-position:center center !important;
}

.mtfw-page .mtfw-model-card > strong{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin-block:0 !important;
}

@media (max-width:767px){
  .mtfw-page .mtfw-model-card{
    padding:16px 12px 18px !important;
    gap:8px !important;
  }
  .mtfw-page .mtfw-model-card > .mtfw-model-card__image{
    min-height:100px !important;
  }
}

/* =========================================================
 * v516 — all-brand tab and brand logo optical alignment
 * ======================================================= */
.mtfw-page .mtfw-brand-tabs{
  width:min(690px,100%)!important;
  direction:rtl!important;
}

.mtfw-page .mtfw-brand-tabs button{
  direction:ltr!important;
}

.mtfw-page .mtfw-brand-tabs__logo{
  overflow:visible!important;
}

.mtfw-page .mtfw-brand-tabs__logo--all{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  color:inherit;
  direction:rtl!important;
}

.mtfw-page .mtfw-brand-tabs__logo--all svg{
  width:24px!important;
  height:24px!important;
  flex:0 0 24px!important;
  stroke-width:1.9!important;
}

.mtfw-page .mtfw-brand-tabs__logo--all b{
  width:auto!important;
  color:inherit!important;
  font-size:19px!important;
  line-height:1!important;
}

.mtfw-page .mtfw-brand-tab--antminer .mtfw-brand-tabs__logo{
  transform:translateY(-3px);
}

.mtfw-page .mtfw-brand-tab--antminer .mtfw-brand-tabs__logo img{
  object-position:center center!important;
}

@media (min-width:641px) and (max-width:900px){
  .mtfw-page .mtfw-brand-tabs{
    width:min(620px,100%)!important;
    grid-auto-columns:190px!important;
  }
}

@media (max-width:640px){
  .mtfw-page .mtfw-brand-tabs{
    width:100%!important;
    grid-auto-columns:150px!important;
    justify-content:start!important;
  }
  .mtfw-page .mtfw-brand-tabs__logo--all{
    gap:7px!important;
  }
  .mtfw-page .mtfw-brand-tabs__logo--all svg{
    width:20px!important;
    height:20px!important;
    flex-basis:20px!important;
  }
  .mtfw-page .mtfw-brand-tabs__logo--all b{
    font-size:15px!important;
  }
}

.mtfw-page .mtfw-model-card[hidden]{
  display:none!important;
}

.mtfw-page [data-mtfw-scroll-models],
.mtfw-page [data-mtfw-scroll-guide]{
  cursor:pointer;
}

.mtfw-page [data-mtfw-scroll-models]:focus-visible,
.mtfw-page [data-mtfw-scroll-guide]:focus-visible{
  outline:3px solid rgba(245,189,31,.42)!important;
  outline-offset:5px!important;
}
