/* /trending/: sky ground (edge-sky.css), one hero with search as the focal point,
   a top-three podium, then one glass sheet holding a ruled list (no box per row)
   and a slim rail. Colours come from the site tokens; the few local ones are
   declared for light, dark by system preference and dark by explicit choice. */
@font-face{font-family:"Edge Inter Tight";src:url('/trending/inter-tight-800.woff2') format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:"Edge Inter Tight";src:url('/trending/inter-tight-700.woff2') format('woff2');font-weight:700;font-display:swap}
:root{
 --tr-display:"Edge Inter Tight","Edge Inter",Inter,system-ui,sans-serif;
 --tr-ink:var(--sky-ink,#101114);--tr-muted:var(--sky-muted,#5a6374);--tr-blue:var(--sky-blue,#154cff);
 --tr-line:rgba(16,17,20,.08);--tr-hover:rgba(255,255,255,.6);--tr-soft:rgba(16,17,20,.06);--tr-tint:rgba(21,76,255,.1);
 --tr-seg-on:#fff;--tr-podium-first:linear-gradient(160deg,#fff 0%,rgba(255,255,255,.82) 60%,rgba(214,228,255,.92));
 --tr-rank-ghost:rgba(21,76,255,.16);--tr-focus:rgba(21,76,255,.09);--tr-promo:#101114;--tr-promo-ink:#fff;--tr-promo-muted:#b8c0d0;
 --tr-dark-btn:#101114;--tr-dark-btn-ink:#fff;--tr-backdrop:rgba(10,16,40,.38);
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
 --tr-line:rgba(160,185,255,.14);--tr-hover:rgba(160,185,255,.07);--tr-soft:rgba(160,185,255,.1);--tr-tint:rgba(107,146,255,.16);
 --tr-seg-on:rgba(160,185,255,.18);--tr-podium-first:linear-gradient(160deg,rgba(40,56,120,.85),rgba(24,32,66,.78) 60%,rgba(21,76,255,.28));
 --tr-rank-ghost:rgba(107,146,255,.24);--tr-focus:rgba(107,146,255,.14);--tr-promo:#f2f5fb;--tr-promo-ink:#090b10;--tr-promo-muted:#3f4a60;
 --tr-dark-btn:#f2f5fb;--tr-dark-btn-ink:#090b10;--tr-backdrop:rgba(0,0,0,.6);
}}
:root[data-theme="dark"]{
 --tr-line:rgba(160,185,255,.14);--tr-hover:rgba(160,185,255,.07);--tr-soft:rgba(160,185,255,.1);--tr-tint:rgba(107,146,255,.16);
 --tr-seg-on:rgba(160,185,255,.18);--tr-podium-first:linear-gradient(160deg,rgba(40,56,120,.85),rgba(24,32,66,.78) 60%,rgba(21,76,255,.28));
 --tr-rank-ghost:rgba(107,146,255,.24);--tr-focus:rgba(107,146,255,.14);--tr-promo:#f2f5fb;--tr-promo-ink:#090b10;--tr-promo-muted:#3f4a60;
 --tr-dark-btn:#f2f5fb;--tr-dark-btn-ink:#090b10;--tr-backdrop:rgba(0,0,0,.6);
}
body{margin:0;font:15px/1.5 var(--ch-font,Inter,"Edge Inter",system-ui,sans-serif);-webkit-font-smoothing:antialiased}
.skip{position:absolute;left:16px;top:-100px;background:var(--sky-glass-float);color:var(--tr-ink);padding:12px;border-radius:10px;z-index:20}
.skip:focus{top:8px}
.tr-page{color:var(--tr-ink)}
.tr-wrap{max-width:1180px;margin:0 auto;padding:0 24px 64px}
.tr-wrap a{color:inherit}
.tr-i{width:16px;height:16px;flex:none}
.tr-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tr-glass,.tr-sheet,.tr-rail-card,.tr-pod,.tr-search,.tr-share{background:var(--sky-glass);border:1px solid var(--sky-glass-line);box-shadow:var(--sky-glass-shadow);-webkit-backdrop-filter:var(--sky-filter);backdrop-filter:var(--sky-filter)}

/* Hero */
.tr-hero{padding:48px 0 28px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:40px;align-items:end}
.tr-eyebrow{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--tr-blue);font-size:14px;margin:0}
.tr-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.18)}
.tr-hero h1{font:800 clamp(40px,5.4vw,64px)/1.02 var(--tr-display);letter-spacing:-.035em;margin:14px 0;text-wrap:balance}
.tr-sub{color:var(--tr-muted);font-size:18px;line-height:1.5;max-width:34em;margin:0}
.tr-creator{display:flex;align-items:center;gap:8px;margin:18px 0 0;font-size:14px;color:var(--tr-muted)}
.tr-creator .tr-i{color:var(--tr-blue)}
.tr-creator button{border:0;background:none;padding:0;font-weight:600;font-size:14px;font-family:inherit;color:var(--tr-blue);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.tr-search{margin-top:16px;display:flex;align-items:center;gap:12px;background:var(--sky-glass-strong);border-radius:18px;padding:8px 8px 8px 20px;box-shadow:0 30px 70px -28px rgba(21,76,255,.35)}
.tr-search>.tr-i{width:20px;height:20px;color:var(--tr-muted)}
.tr-search input{flex:1;min-width:0;border:0;background:none;font-weight:500;font-size:17px;line-height:1.2;font-family:inherit;outline:none;padding:12px 0;color:var(--tr-ink)}
.tr-search input::placeholder{color:var(--tr-muted)}
.tr-search input::-webkit-search-cancel-button{cursor:pointer}
.tr-search:focus-within{outline:2px solid var(--focus-ring,#154cff);outline-offset:2px}
.tr-search kbd{font-weight:600;font-size:12px;font-family:inherit;color:var(--tr-muted);border:1px solid var(--tr-line);border-radius:6px;padding:3px 7px}
.tr-search button{border:0;background:var(--tr-blue);color:#fff;font-weight:600;font-size:15px;font-family:inherit;padding:12px 20px;border-radius:12px;cursor:pointer}
.tr-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.tr-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:var(--sky-chip);border:1px solid var(--sky-glass-line);font-weight:500;font-size:14px;font-family:inherit;color:var(--tr-ink);cursor:pointer}
.tr-chip .tr-i{width:15px;height:15px;color:var(--tr-blue)}
.tr-chip:hover{background:var(--sky-glass-strong)}
.tr-chip[aria-pressed="true"]{background:var(--tr-blue);border-color:var(--tr-blue);color:#fff}
.tr-chip[aria-pressed="true"] .tr-i{color:#fff}

/* Logos: publisher avatar, or a lettermark */
.tr-logo{display:inline-grid;place-items:center;flex:none;object-fit:cover;background:#fff;font:800 16px var(--tr-display);color:#fff}
.tr-logo-sm{width:28px;height:28px;border-radius:8px;font-size:13px}
.tr-logo-md{width:36px;height:36px;border-radius:10px}
.tr-logo-lg{width:52px;height:52px;border-radius:14px;font-size:24px;box-shadow:0 6px 16px -6px rgba(0,0,0,.25)}
.tr-tone0{background:linear-gradient(150deg,#3d6bff,#154cff)}.tr-tone1{background:linear-gradient(150deg,#34d399,#059669)}.tr-tone2{background:linear-gradient(150deg,#f59e0b,#d97706)}
.tr-tone3{background:linear-gradient(150deg,#a78bfa,#7c3aed)}.tr-tone4{background:linear-gradient(150deg,#f472b6,#db2777)}.tr-tone5{background:linear-gradient(150deg,#38bdf8,#0284c7)}

/* Podium */
.tr-podium{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.tr-pod{position:relative;display:flex;flex-direction:column;padding:20px;border-radius:22px;min-width:0}
.tr-pod.is-first{background:var(--tr-podium-first);box-shadow:0 30px 60px -30px rgba(21,76,255,.45)}
.tr-pod.is-focus{outline:2px solid var(--tr-blue);outline-offset:2px}
.tr-pod-rank{position:absolute;top:12px;right:16px;font:800 40px/1 var(--tr-display);color:var(--tr-rank-ghost);letter-spacing:-.04em}
.tr-pod-name{display:block;font:700 17px/1.2 var(--tr-display);margin-top:14px;letter-spacing:-.01em;text-decoration:none;overflow-wrap:anywhere}
.tr-pod-name:hover{text-decoration:underline;text-underline-offset:3px}
.tr-pod-pub{color:var(--tr-muted);font-size:13px}
.tr-pod-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:auto;padding-top:10px}
.tr-pod-n{font:800 26px/1 var(--tr-display);letter-spacing:-.03em}.tr-pod-n small{font-weight:500;font-size:13px;font-family:inherit;color:var(--tr-muted);margin-left:4px;letter-spacing:0}
.tr-share-pod{padding:6px!important}.tr-share-pod span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* Sheet and ruled list */
.tr-main{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;margin:22px 0 0;align-items:start}
.tr-sheet{border-radius:26px;padding:8px 8px 14px;min-width:0}
.tr-bar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 14px 14px}
.tr-seg{display:flex;background:var(--tr-soft);border-radius:12px;padding:4px}
.tr-seg button{display:flex;gap:6px;align-items:center;padding:7px 14px;border:0;border-radius:9px;background:none;font-weight:600;font-size:14px;font-family:inherit;color:var(--tr-muted);cursor:pointer}
.tr-seg button .tr-i{width:15px;height:15px}
.tr-seg button[aria-pressed="true"]{background:var(--tr-seg-on);color:var(--tr-ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.tr-toggle{margin-left:auto;display:flex;align-items:center;gap:8px;border:0;background:none;color:var(--tr-muted);font-weight:500;font-size:14px;font-family:inherit;cursor:pointer;padding:6px 0}
.tr-sw{width:34px;height:20px;border-radius:999px;background:var(--tr-soft);box-shadow:inset 0 0 0 1px var(--tr-line);position:relative;transition:background .15s}
.tr-sw::after{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform .15s}
.tr-toggle[aria-checked="true"]{color:var(--tr-ink)}
.tr-toggle[aria-checked="true"] .tr-sw{background:var(--tr-blue)}
.tr-toggle[aria-checked="true"] .tr-sw::after{transform:translateX(14px)}
.tr-head,.tr-row{display:grid;align-items:center;column-gap:12px;padding:0 14px}
.tr-head{font-weight:600;font-size:12px;font-family:inherit;letter-spacing:.04em;text-transform:uppercase;color:var(--tr-muted);padding-bottom:8px}
.tr-list{list-style:none;margin:0;padding:0}
.tr-row{grid-template-columns:44px 36px minmax(0,1fr) 190px 150px;padding:11px 14px;border-top:1px solid var(--tr-line);transition:background .12s}
.tr-row:hover{background:var(--tr-hover)}
.tr-row.is-focus{background:var(--tr-focus);box-shadow:inset 3px 0 0 var(--tr-blue)}
.tr-head{grid-template-columns:44px 36px minmax(0,1fr) 190px 150px}
.tr-head span:nth-child(2){grid-column:2/4}
.tr-rk{font:700 15px var(--tr-display);color:var(--tr-muted);font-variant-numeric:tabular-nums}
.tr-who{display:flex;flex-direction:column;min-width:0}
.tr-name{font-weight:600;text-decoration:none;overflow-wrap:anywhere}
a.tr-name:hover{text-decoration:underline;text-underline-offset:3px}
.tr-pub{color:var(--tr-muted);font-size:13px;overflow-wrap:anywhere}
.tr-v{font:700 15px var(--tr-display);font-variant-numeric:tabular-nums}
.tr-track{display:block;height:5px;border-radius:999px;background:var(--tr-tint);margin-top:6px}
.tr-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#154cff,#6b92ff)}
.tr-act{display:flex;justify-content:flex-end;gap:6px}
.tr-share-btn,.tr-try{display:inline-flex;gap:5px;align-items:center;padding:6px 11px;border-radius:9px;font-weight:600;font-size:13px;font-family:inherit;text-decoration:none;cursor:pointer;white-space:nowrap}
.tr-share-btn{border:1px solid var(--tr-line);background:var(--sky-glass-strong);color:var(--tr-ink)}
.tr-share-btn:hover{border-color:var(--tr-blue);color:var(--tr-blue)}
.tr-try{background:var(--tr-dark-btn);color:var(--tr-dark-btn-ink)!important}
.tr-share-btn .tr-i,.tr-try .tr-i{width:14px;height:14px}
.tr-row.tr-top{display:none}
.tr-filtering .tr-row.tr-top{display:grid}
.tr-row[hidden],.tr-filtering .tr-row.tr-top[hidden]{display:none}
.tr-status{margin:10px 16px 0;font-size:14px;color:var(--tr-muted)}
.tr-status button{border:0;background:none;padding:0;margin-left:6px;font-weight:600;font-size:14px;font-family:inherit;color:var(--tr-blue);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.tr-empty,.tr-empty-note{margin:16px;color:var(--tr-muted)}
.tr-empty a{color:var(--tr-blue)!important;font-weight:600}
.tr-note{color:var(--tr-muted);font-size:12px;padding:12px 16px 0;margin:0}
.tr-cat-ic .tr-i{width:15px;height:15px}
.tr-row .tr-cat-ic{background:var(--tr-tint);color:var(--tr-blue)}

/* Rail */
.tr-rail{display:flex;flex-direction:column;gap:16px}
.tr-rail-card{border-radius:22px;padding:18px}
.tr-rail h2,.tr-promo h2{font:700 16px/1.25 var(--tr-display);margin:0 0 4px;letter-spacing:-.01em}
.tr-rail-card p{color:var(--tr-muted);font-size:13px;margin:0 0 12px}
.tr-cats{list-style:none;margin:0;padding:0}
.tr-cat{display:grid;grid-template-columns:28px 1fr auto;gap:2px 10px;align-items:center;padding:6px;margin:0 -6px;border-radius:10px;transition:background .3s}
.tr-cat.is-lit{background:var(--tr-focus)}
.tr-cat-ic{width:28px;height:28px;border-radius:8px;background:var(--tr-tint);display:grid;place-items:center;color:var(--tr-blue);grid-row:1/3}
.tr-cat-nm{font-weight:500;font-size:14px}.tr-cat-ct{font:700 14px var(--tr-display);font-variant-numeric:tabular-nums}
.tr-cat-tr{grid-column:2/4;height:4px;border-radius:9px;background:var(--tr-soft)}.tr-cat-tr i{display:block;height:100%;background:var(--tr-blue);border-radius:9px}
.tr-cat-empty{color:var(--tr-muted);font-size:14px}
.tr-promo{background:var(--tr-promo);color:var(--tr-promo-ink);border-radius:22px;padding:20px}
.tr-promo h2{font-size:18px;margin-bottom:6px}.tr-promo p{color:var(--tr-promo-muted);font-size:14px;margin:0 0 14px}
.tr-promo-cta{display:inline-block;background:var(--tr-promo-ink);color:var(--tr-promo)!important;padding:9px 14px;border-radius:10px;font-weight:600;text-decoration:none;font-size:14px}
.tr-method{margin:28px 4px 0;color:var(--tr-muted);font-size:12px;max-width:820px}
.tr-method p{margin:0 0 8px}.tr-method a{color:var(--tr-blue)!important}

/* Share sheet */
.tr-share{width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border-radius:24px;padding:22px;color:var(--tr-ink);background:var(--sky-glass-float)}
.tr-share::backdrop{background:var(--tr-backdrop);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.tr-share-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.tr-share-kicker{margin:0;color:var(--tr-blue);font-weight:600;font-size:13px}
.tr-share h2{margin:2px 0 0;font:800 24px/1.15 var(--tr-display);letter-spacing:-.02em;overflow-wrap:anywhere}
.tr-share-close{border:0;background:var(--tr-soft);color:var(--tr-ink);width:36px;height:36px;border-radius:50%;display:grid;place-items:center;cursor:pointer;flex:none}
.tr-share-format{display:inline-flex;background:var(--tr-soft);border-radius:10px;padding:3px;margin:16px 0 12px}
.tr-share-format button{border:0;background:none;padding:6px 12px;border-radius:8px;font-weight:600;font-size:13px;font-family:inherit;color:var(--tr-muted);cursor:pointer}
.tr-share-format button[aria-pressed="true"]{background:var(--tr-seg-on);color:var(--tr-ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.tr-share-preview{margin:0;display:flex;justify-content:center;background:var(--tr-soft);border-radius:16px;padding:10px}
.tr-share-preview img{display:block;width:100%;height:auto;border-radius:10px;box-shadow:0 10px 30px -12px rgba(21,76,255,.45);aspect-ratio:1200/630;object-fit:cover;background:#bfdcfb}
.tr-share-preview[data-format="square"] img{width:min(100%,340px);aspect-ratio:1}
.tr-share-text{margin:14px 0;font-size:14px;line-height:1.5;padding:12px 14px;border-radius:12px;background:var(--tr-soft)}
.tr-share-url{color:var(--tr-blue);overflow-wrap:anywhere}
.tr-share-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.tr-sa{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 12px;border-radius:12px;font-weight:600;font-size:14px;font-family:inherit;text-decoration:none;cursor:pointer;border:1px solid var(--tr-line);background:var(--sky-glass-strong);color:var(--tr-ink)!important;white-space:nowrap}
.tr-sa-x{background:#000;border-color:#000;color:#fff!important}
.tr-sa-li{background:#0a66c2;border-color:#0a66c2;color:#fff!important}
.tr-sa .tr-i{width:16px;height:16px}
.tr-share-dl{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;font-size:13px;color:var(--tr-muted)}
.tr-share-dl span{margin-right:4px}
.tr-share-dl a{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:9px;border:1px solid var(--tr-line);color:var(--tr-ink)!important;text-decoration:none;font-weight:600}
.tr-share-dl a:hover,.tr-sa-copy:hover{border-color:var(--tr-blue)}

@media (max-width:980px){
 .tr-hero,.tr-main{grid-template-columns:minmax(0,1fr)}
 .tr-hero{gap:24px;padding-top:28px}
}
@media (max-width:720px){
 .tr-wrap{padding:0 14px 48px}
 .tr-hero h1{font-size:38px}
 .tr-sub{font-size:16px}
 .tr-search{padding:6px 6px 6px 14px;gap:8px}
 .tr-search kbd{display:none}
 .tr-search button{padding:10px 14px}
 .tr-chips{flex-wrap:nowrap;overflow-x:auto;margin:14px -14px 0;padding:0 14px 4px;scrollbar-width:none}
 .tr-chip{flex:none}
 .tr-podium{grid-template-columns:1fr;gap:10px}
 .tr-pod{display:grid;grid-template-columns:52px minmax(0,1fr) auto;column-gap:14px;align-items:center;padding:14px 16px}
 .tr-pod .tr-logo-lg{grid-row:1/3}
 .tr-pod-name{margin-top:0;padding-right:44px}
 .tr-pod-pub{grid-column:2}
 .tr-pod-foot{grid-column:3;grid-row:1/3;flex-direction:column;align-items:flex-end;padding-top:20px}
 .tr-pod-rank{font-size:28px;top:10px;right:14px}
 .tr-pod-n{font-size:20px}
 .tr-sheet{border-radius:20px;padding:4px 4px 12px}
 .tr-bar{padding:10px 10px 12px}
 .tr-seg{width:100%}.tr-seg button{flex:1;justify-content:center;padding:8px 6px;font-size:13px;white-space:nowrap}.tr-seg button .tr-i{display:none}
 .tr-repo{display:none}
 .tr-pod{align-content:center;row-gap:2px}
 .tr-toggle{margin-left:0}
 .tr-head{display:none}
 .tr-row{grid-template-columns:24px 36px minmax(0,1fr) auto;row-gap:6px;padding:12px 10px}
 .tr-rk,.tr-row>.tr-logo{grid-row:1/3}
 .tr-ins{grid-column:3/4;grid-row:2}
 .tr-act{grid-column:4;grid-row:1/3}
 .tr-try{display:none}
 .tr-share-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .tr-share-btn{padding:9px}
 .tr-share{padding:16px;border-radius:20px}
 .tr-share-actions{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){.tr-row,.tr-sw,.tr-sw::after,.tr-cat{transition:none}}
