
/* Approved five-card layout. Scoped to rankings; shared navigation and zoom stay in their own stylesheet. */
html body.td-featured-ranking{margin:0;background:#f6f6f6!important;color:#202124;font-family:var(--td-menu-font,Arial,sans-serif)}
body.td-featured-ranking .td-rank-main{box-sizing:border-box;width:calc(100% - 48px);max-width:1360px;margin:0 auto;padding:30px 0 64px}
body.td-featured-ranking .td-rank-main *,body.td-featured-ranking .td-rank-main *::before,body.td-featured-ranking .td-rank-main *::after{box-sizing:border-box}
body.td-featured-ranking .td-rank-main [hidden]{display:none!important}
body.td-featured-ranking .td-rank-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.td-featured-ranking .td-rank-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;align-items:start}
body.td-featured-ranking .td-rank-card{min-width:0;overflow:hidden;border:1px solid #d9dadd;border-radius:14px;background:#fff;padding:0 22px;box-shadow:0 2px 6px #151b2408}
body.td-featured-ranking .td-rank-card-head{display:flex;align-items:center;gap:15px;min-height:78px;padding:17px 0;border-bottom:1px solid #dadce0;background:#fff;color:#25272a}
body.td-featured-ranking .td-rank-icon{display:block;width:23px;height:23px;flex:0 0 23px;color:currentColor}
body.td-featured-ranking .td-rank-card-head>.td-rank-icon{width:35px;height:35px;flex-basis:35px}
body.td-featured-ranking .td-rank-title{margin:0;padding:0;border:0;background:transparent;color:#232426;font:700 25px/1.35 var(--td-menu-font,Arial,sans-serif);letter-spacing:-.25px;overflow-wrap:anywhere}
body.td-featured-ranking .td-rank-metric{margin:0;padding:10px 0 2px;color:#64666b;font-size:14px;line-height:1.45}
body.td-featured-ranking .td-rank-items{min-width:0}
body.td-featured-ranking .td-rank-item{display:grid;grid-template-columns:38px 72px minmax(0,1fr);gap:14px;align-items:center;min-height:119px;padding:12px 0;border-bottom:1px solid #e2e3e5}
body.td-featured-ranking .td-rank-position{display:flex;align-items:center;justify-content:center;justify-self:center;width:36px;height:36px;border-radius:50%;background:#ececee;color:#303136;font-size:20px;line-height:1;font-weight:700;font-variant-numeric:tabular-nums}
body.td-featured-ranking .td-rank-position.is-first{background:#303236;color:#fff}
body.td-featured-ranking .td-rank-photo{display:flex;align-items:center;justify-content:center;width:72px;height:94px;border-radius:5px;background:#fff;color:#777;text-decoration:none;overflow:hidden}
body.td-featured-ranking .td-rank-photo img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#fff}
body.td-featured-ranking .td-rank-no-photo{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:6px;border:1px solid #e7e7e9;border-radius:6px;background:#f7f7f7;text-align:center;font-size:11px;line-height:1.4;color:#72757a}
body.td-featured-ranking .td-rank-item-detail{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) max-content;column-gap:18px;align-items:center}
body.td-featured-ranking .td-rank-name{grid-column:1;grid-row:1;margin:0;color:#151619;font:400 19px/1.45 'TDDeviceName6',var(--td-menu-font,Arial,sans-serif);letter-spacing:-.2px;overflow-wrap:anywhere;min-width:0}
body.td-featured-ranking .td-rank-name a{color:inherit;text-decoration:none;font:inherit}
body.td-featured-ranking .td-rank-name a:hover{text-decoration:none}
body.td-featured-ranking .td-rank-score{grid-column:2;grid-row:1 / span 2;justify-self:end;margin:0;padding:7px 10px;border-radius:7px;background:#f0f1f3;color:#17191d;font-size:17px;line-height:1.45;white-space:nowrap;font-variant-numeric:tabular-nums}
body.td-featured-ranking .td-rank-score strong{font-weight:700}
body.td-featured-ranking .td-rank-meter{grid-column:1;grid-row:2;width:100%;height:4px;margin:10px 0 3px;overflow:hidden;border-radius:99px;background:#e4e6e9}
body.td-featured-ranking .td-rank-meter-fill{display:block;height:100%;border-radius:inherit;background:#565c65}
body.td-featured-ranking .td-rank-card-foot{display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:59px;padding:8px 0}
body.td-featured-ranking .td-rank-card-foot button,body.td-featured-ranking .td-rank-card-foot a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:5px 0;border:0;border-radius:5px;background:transparent;color:#24262b;font:500 15px/1.4 var(--td-menu-font,Arial,sans-serif);text-decoration:none;cursor:pointer}
body.td-featured-ranking .td-rank-card-foot button:disabled{color:#85878b;cursor:default}
body.td-featured-ranking .td-rank-card-foot a:hover,body.td-featured-ranking .td-rank-card-foot button:not(:disabled):hover{text-decoration:none}
body.td-featured-ranking .td-rank-criteria{border-top:1px solid #e2e3e5;padding:18px 0 20px;color:#3c4046;font-size:14px;line-height:1.6}
body.td-featured-ranking .td-rank-criteria-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}
body.td-featured-ranking .td-rank-criteria-list li{position:relative;padding-left:24px}
body.td-featured-ranking .td-rank-criteria-list li::before{content:'✓';position:absolute;left:0;top:0;color:#3b3f44;font-weight:700}
body.td-featured-ranking .td-rank-note{margin-top:18px;padding:16px;border-radius:10px;background:#f4f4f5;color:#555960}
body.td-featured-ranking .td-rank-note p{margin:7px 0 0}
body.td-featured-ranking .td-rank-note .td-rank-note-title{display:flex;align-items:center;gap:9px;margin:0 0 9px;color:#303236;font-size:16px}
body.td-featured-ranking .td-rank-note .td-rank-icon{width:21px;height:21px;flex-basis:21px}
body.td-featured-ranking .td-rank-state{display:flex;align-items:center;justify-content:center;min-height:357px;margin:0;padding:30px 12px;text-align:center;color:#73767b;font-size:15px;line-height:1.6}
body.td-featured-ranking .td-rank-retry{display:block;margin:-68px auto 25px;position:relative;border:1px solid #bfc2c8;border-radius:7px;padding:9px 16px;background:#fff;color:#25272b;font:500 14px/1.4 var(--td-menu-font,Arial,sans-serif);cursor:pointer}
body.td-featured-ranking .td-rank-main :focus-visible{outline:2px solid #4c5664;outline-offset:4px}
body.td-featured-ranking .td-rank-main-detail{width:100%;max-width:1120px;padding:30px 22px 64px}
body.td-featured-ranking .td-rank-grid-detail{grid-template-columns:minmax(0,1fr)}
body.td-featured-ranking .td-rank-back{display:inline-flex;align-items:center;gap:8px;margin:0 0 18px;padding:4px 0;min-height:40px;color:#3d4147;font-size:15px;line-height:1.4;text-decoration:none}
body.td-featured-ranking .td-rank-back:hover{text-decoration:none}
body.td-featured-ranking .td-rank-notice{margin:6px 0 12px;color:#696d73;font-size:14px;line-height:1.6;max-width:900px}
body.td-featured-ranking .td-rank-main-detail .td-rank-item{grid-template-columns:48px 95px minmax(0,1fr);gap:20px;min-height:140px}
body.td-featured-ranking .td-rank-main-detail .td-rank-photo{width:95px;height:112px}
body.td-featured-ranking .td-rank-main-detail .td-rank-name{font-size:21px}
body.td-featured-ranking .td-rank-main-detail .td-rank-score{font-size:20px}
body.td-featured-ranking .td-rank-chip{grid-column:1 / -1;margin:7px 0 0;color:#676b72;font-size:13px;line-height:1.5}
body.td-featured-ranking .td-rank-battery-facts{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:10px 28px;margin:13px 0 0;font-size:14px;line-height:1.45}
body.td-featured-ranking .td-rank-battery-facts dt{color:#6c7076}
body.td-featured-ranking .td-rank-battery-facts dd{margin:3px 0 0;color:#30343a;font-weight:600}
/* Compact overview with a separate sidebar. Detail categories retain their own scale. */
body.td-featured-ranking .td-rank-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
body.td-featured-ranking .td-rank-layout>.td-rank-grid{min-width:0;gap:24px}
body.td-featured-ranking .td-rank-layout .td-rank-card{padding:0 18px}
body.td-featured-ranking .td-rank-layout .td-rank-card-head{gap:12px;min-height:68px;padding:14px 0}
body.td-featured-ranking .td-rank-layout .td-rank-card-head>.td-rank-icon{width:28px;height:28px;flex-basis:28px}
body.td-featured-ranking .td-rank-layout .td-rank-title{font-size:23px}
body.td-featured-ranking .td-rank-layout .td-rank-metric{font-size:13px}
body.td-featured-ranking .td-rank-layout .td-rank-item{grid-template-columns:32px 54px minmax(0,1fr);gap:10px;min-height:94px;padding:9px 0}
body.td-featured-ranking .td-rank-layout .td-rank-position{width:32px;height:32px;font-size:18px}
body.td-featured-ranking .td-rank-layout .td-rank-photo{width:54px;height:76px}
body.td-featured-ranking .td-rank-layout .td-rank-item-detail{column-gap:12px}
body.td-featured-ranking .td-rank-layout .td-rank-name{font-size:18px}
body.td-featured-ranking .td-rank-layout .td-rank-score{padding:6px 8px;font-size:15px}
body.td-featured-ranking .td-rank-layout .td-rank-card-foot{min-height:55px;padding:6px 0}
body.td-featured-ranking .td-rank-layout .td-rank-state{min-height:282px}

body.td-featured-ranking .td-rank-sidebar{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;min-width:0;align-items:start}
body.td-featured-ranking .td-rank-side-card{min-width:0;overflow:hidden;border:1px solid #d9dadd;border-radius:12px;background:#fff}
body.td-featured-ranking .td-rank-side-title{margin:0;padding:13px 15px;background:#242424;color:#fff;font:700 17px/1.4 var(--td-menu-font,Arial,sans-serif)}
body.td-featured-ranking .td-rank-brand-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px}
body.td-featured-ranking .td-rank-brand-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:64px;padding:7px 4px;border:1px solid #e5e5e7;border-radius:7px;background:#fff;color:#24262b;text-decoration:none}
body.td-featured-ranking .td-rank-brand-picture{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;height:30px;overflow:hidden}
body.td-featured-ranking .td-rank-brand-picture img{display:block;width:100%;height:30px;max-width:76px;object-fit:contain;filter:none!important;opacity:1!important}
body.td-featured-ranking .td-rank-brand-name{font-size:11px;line-height:1.3;text-align:center;overflow-wrap:anywhere}
body.td-featured-ranking .td-rank-side-pairs{display:grid;grid-template-columns:minmax(0,1fr);padding:4px 10px}
body.td-featured-ranking .td-rank-side-pair{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;min-width:0;padding:9px 6px;border-bottom:1px solid #e9e9eb;border-radius:6px;background:#fff;color:#202124;text-decoration:none}
body.td-featured-ranking .td-rank-side-pair:last-child{border-bottom:0}
body.td-featured-ranking .td-rank-side-device{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;min-width:0}
body.td-featured-ranking .td-rank-sidebar .td-rank-side-thumb{display:flex;align-items:center;justify-content:center;flex:0 0 40px;min-width:0;width:40px;height:46px;overflow:hidden;border-radius:5px;background:#fff!important}
body.td-featured-ranking .td-rank-sidebar .td-rank-side-thumb img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;filter:none}
body.td-featured-ranking .td-rank-side-no-photo{padding:3px;color:#777;font-size:10px;line-height:1.3;text-align:center}
body.td-featured-ranking .td-rank-side-name{min-width:0;color:inherit;font:400 14px/1.45 'TDDeviceName6',var(--td-menu-font,Arial,sans-serif);overflow-wrap:anywhere}
body.td-featured-ranking .td-rank-side-vs{display:block;padding-left:52px;color:#777;font-size:11px;line-height:1.4;text-align:center}
body.td-featured-ranking .td-rank-side-products{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;padding:8px}
body.td-featured-ranking .td-rank-side-product{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;min-width:0;min-height:58px;padding:5px 8px;border-radius:8px;background:#fff;color:#202124;text-decoration:none}
body.td-featured-ranking .td-rank-side-empty{margin:0;padding:18px 14px;color:#777;font-size:13px;line-height:1.6}
body.td-featured-ranking .td-rank-sidebar a:is(:hover,:focus-visible){background:#f0f0f0;color:#202124;text-decoration:none}
body.td-featured-ranking .td-rank-sidebar a:focus-visible{outline-offset:-2px}
@media(max-width:1280px){
 body.td-featured-ranking .td-rank-layout{grid-template-columns:minmax(0,1fr)}
 body.td-featured-ranking .td-rank-sidebar{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1200px){
 body.td-featured-ranking .td-rank-main{padding:24px 0 50px}
 body.td-featured-ranking .td-rank-main-detail{padding:24px 18px 50px}
 body.td-featured-ranking .td-rank-grid{gap:20px}
 body.td-featured-ranking .td-rank-card{padding:0 18px}
 body.td-featured-ranking .td-rank-card-head{gap:11px}
 body.td-featured-ranking .td-rank-title{font-size:22px}
 body.td-featured-ranking .td-rank-item{grid-template-columns:32px 62px minmax(0,1fr);gap:10px}
 body.td-featured-ranking .td-rank-position{width:31px;height:31px;font-size:18px}
 body.td-featured-ranking .td-rank-photo{width:62px;height:90px}
 body.td-featured-ranking .td-rank-item-detail{column-gap:12px}
 body.td-featured-ranking .td-rank-name{font-size:17px}
 body.td-featured-ranking .td-rank-score{padding:6px 8px;font-size:15px}
}
@media(max-width:960px){
 body.td-featured-ranking .td-rank-grid{grid-template-columns:minmax(0,1fr)}
 body.td-featured-ranking .td-rank-main{max-width:800px}
 body.td-featured-ranking .td-rank-name{font-size:19px}
 body.td-featured-ranking .td-rank-score{font-size:17px}
}
@media(max-width:900px){
 body.td-featured-ranking .td-rank-sidebar{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:550px){
 body.td-featured-ranking .td-rank-main{width:calc(100% - 28px);padding:18px 0 40px}
 body.td-featured-ranking .td-rank-main-detail{width:100%;padding:18px 12px 40px}
 body.td-featured-ranking .td-rank-grid{gap:18px}
 body.td-featured-ranking .td-rank-card{padding:0 15px;border-radius:12px}
 body.td-featured-ranking .td-rank-card-head{min-height:68px;padding:14px 0;gap:10px}
 body.td-featured-ranking .td-rank-card-head>.td-rank-icon{width:29px;height:29px;flex-basis:29px}
 body.td-featured-ranking .td-rank-title{font-size:21px}
 body.td-featured-ranking .td-rank-metric{font-size:12px}
 body.td-featured-ranking .td-rank-item,body.td-featured-ranking .td-rank-main-detail .td-rank-item{grid-template-columns:29px 54px minmax(0,1fr);gap:9px;min-height:111px;padding:10px 0}
 body.td-featured-ranking .td-rank-position{width:29px;height:29px;font-size:17px}
 body.td-featured-ranking .td-rank-photo,body.td-featured-ranking .td-rank-main-detail .td-rank-photo{width:54px;height:83px}
 body.td-featured-ranking .td-rank-name,body.td-featured-ranking .td-rank-main-detail .td-rank-name{font-size:17px}
 body.td-featured-ranking .td-rank-item-detail{column-gap:10px}
 body.td-featured-ranking .td-rank-score,body.td-featured-ranking .td-rank-main-detail .td-rank-score{font-size:14px;padding:6px 7px}
 body.td-featured-ranking .td-rank-meter{margin-top:8px}
 body.td-featured-ranking .td-rank-card-foot{min-height:57px}
 body.td-featured-ranking .td-rank-card-foot button,body.td-featured-ranking .td-rank-card-foot a{font-size:14px}
 body.td-featured-ranking .td-rank-criteria{font-size:13px}
 body.td-featured-ranking .td-rank-state{min-height:333px}
 body.td-featured-ranking .td-rank-layout>.td-rank-grid{gap:18px}
 body.td-featured-ranking .td-rank-layout .td-rank-card{padding:0 15px}
 body.td-featured-ranking .td-rank-layout .td-rank-title{font-size:21px}
 body.td-featured-ranking .td-rank-layout .td-rank-item{grid-template-columns:29px 50px minmax(0,1fr);gap:9px;min-height:111px}
 body.td-featured-ranking .td-rank-layout .td-rank-position{width:29px;height:29px;font-size:17px}
 body.td-featured-ranking .td-rank-layout .td-rank-photo{width:50px;height:76px}
 body.td-featured-ranking .td-rank-layout .td-rank-name{font-size:17px}
 body.td-featured-ranking .td-rank-layout .td-rank-score{padding:6px 7px;font-size:14px}
 body.td-featured-ranking .td-rank-layout .td-rank-state{min-height:333px}
}
@media(max-width:430px){
 body.td-featured-ranking .td-rank-item-detail,body.td-featured-ranking .td-rank-layout .td-rank-item-detail{grid-template-columns:minmax(0,1fr)}
 body.td-featured-ranking .td-rank-name{grid-column:1;grid-row:1}
 body.td-featured-ranking .td-rank-score{grid-column:1;grid-row:2;justify-self:start;margin-top:6px}
 body.td-featured-ranking .td-rank-meter{grid-column:1;grid-row:3}
}

/* Ranking-only navigation and sidebar links. */
body.td-featured-ranking a:hover,body.td-featured-ranking .td-rank-main button:hover{text-decoration:none!important}
body.td-featured-ranking .td-rank-scrollnav{position:fixed;top:var(--td-rank-header-height,120px);left:0;right:0;z-index:1100;background:#fff;border-bottom:1px solid #ddd;font-family:var(--td-menu-font,Arial,sans-serif)}
body.td-featured-ranking .td-rank-scrollnav[hidden]{display:none!important}
body.td-featured-ranking .td-rank-scrollnav-inner{display:flex;justify-content:safe center;gap:24px;overflow-x:auto;scrollbar-width:none;padding:0 16px}
body.td-featured-ranking .td-rank-scrollnav a{flex:none;display:block;padding:15px 8px;color:#444;font-size:16px;font-weight:500;white-space:nowrap;text-decoration:none!important}
body.td-featured-ranking .td-rank-scrollnav a:hover{color:#000;background:#f0f0f0}
body.td-featured-ranking .td-rank-scrollnav a:focus-visible{outline:2px solid #555;outline-offset:-3px}
body.td-featured-ranking .td-rank-sidebar .td-rank-side-all{display:block;margin:4px 10px 10px;padding:10px 8px;border-radius:7px;text-align:center;color:#666;background:transparent;font-size:14px;text-decoration:none!important}
body.td-featured-ranking .td-rank-sidebar .td-rank-side-all:is(:hover,:focus-visible){background:#ddd;color:#000}

/* Match all ranking footer links to the sidebar hover treatment. */
body.td-featured-ranking .td-rank-card-foot a.td-rank-all{color:#666;background:transparent;padding-inline:8px;margin-inline-end:-8px;border-radius:7px;text-decoration:none!important;transition:background-color .18s,color .18s}
body.td-featured-ranking .td-rank-card-foot a.td-rank-all:is(:hover,:focus-visible){background:#ddd;color:#000;text-decoration:none!important}
