/* =========================================================
   uniqor.css — 按 uniqor 原型重做的样式层
   加载顺序：style.css（旧）→ uniqor.css（新，覆盖）
   新组件一律 uq- 前缀；末尾「Legacy」段把旧页面(分类/404/support)套上新 token
   ========================================================= */
:root {
    --ink: #17181C;
    --white: #FFFFFF;
    --orange: #E4572E;
    --orange-text: #C8431D;
    --orange-deep: #A8361A;
    --orange-tint: #FFF1EB;
    --orange-tint-2: #FFE7DD;
    --text: #2F3036;
    --text-2: #45474E;
    --muted: #5E6068;
    --line: #ECEAE6;
    --line-2: #F1EFEB;
    --surface: #F4F4F5;
    --ad-bg: #F1F1F1;
    --ink-line: #33353C;
    --on-ink-muted: #B3B4BB;
    --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
    --font-body: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- base ---------- */
body.uq {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
/* :where() 把优先级压到 0，既盖过旧 style.css 的 * { color:#111; font-family } 又不压住后面的 class */
:where(body.uq) * {
    font-family: var(--font-body);
    color: inherit;
}
:where(body.uq) a { color: inherit; text-decoration: none; }
body.uq a:hover { color: var(--orange-text); }
.uq svg { flex: none; }
.uq-clamp1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.uq-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.uq a:focus-visible, .uq button:focus-visible, .uq input:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}
.uq-sr {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.uq-h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(22px, 2.4vw, 26px);
    letter-spacing: -0.5px;
    line-height: 1.2;
}
body.uq .uq-h2 { font-family: var(--font-display); }
body.uq .uq-display, body.uq .uq-h2 *, body.uq .uq-logo-text { font-family: var(--font-display); }

/* ---------- header / logo ---------- */
.uq-header { background: var(--white); border-bottom: 1px solid var(--line); }
.uq-header-in {
    max-width: 1200px; margin: 0 auto; padding: 0 16px;
    display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.uq-logo { display: flex; align-items: center; gap: 8px; }
.uq-logo-text { font-weight: 800; font-size: 22px; letter-spacing: -0.5px; line-height: 1; }
.uq-search-btn {
    width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--surface);
    display: inline-flex; align-items: center; justify-content: center; cursor: default; padding: 0;
}

/* ---------- footer ---------- */
.uq-footer { background: var(--ink); color: var(--white); margin-top: 64px; }
/* 首页、详情类页面自带底部留白，不重复加 */
.uq-home + .uq-footer, .uq-layout + .uq-footer { margin-top: 0; }
.uq-footer-in {
    max-width: 1200px; margin: 0 auto; padding: 32px 16px;
    display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.uq-footer .uq-logo { color: var(--white); }
.uq-footer .uq-logo-text { font-size: 21px; color: var(--white); }
.uq-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; font-size: 14px; }
body.uq .uq-footer-nav a { color: #E2E2E6; padding: 10px 8px; }
body.uq .uq-footer-nav a:hover { color: var(--white); text-decoration: underline; }
.uq-footer-copy { font-size: 12px; color: var(--on-ink-muted); }

/* ---------- 页面布局：主栏 + 侧栏(移动端在主栏之后) ---------- */
.uq-layout {
    max-width: 1200px; margin: 0 auto; padding: 16px 16px 48px;
    display: flex; flex-wrap: wrap; gap: 36px 48px; align-items: flex-start;
}
.uq-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.uq-side { flex: 1 1 280px; min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 10px; }
.uq-section { display: flex; flex-direction: column; gap: 12px; }

/* ---------- 广告位：只负责 SPONSORED 标签，广告内容与样式由 view/ads/ 下的文件决定 ---------- */
.uq-ad { display: flex; flex-direction: column; gap: 6px; }
.uq-ad-label { display: flex; align-items: center; gap: 10px; }
.uq-ad-label::before, .uq-ad-label::after { content: ''; flex: 1; height: 1px; background: #E4E4E4; }
.uq-ad-label span {
    font-size: 11px; font-weight: 600; letter-spacing: 1.2px; color: var(--muted); text-transform: uppercase;
}
.uq-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none !important; }
body.uq .leftbox > .uq-ad { margin: 20px 0 24px; }

/* ---------- 应用头 ---------- */
.uq-apphead { display: flex; gap: 14px; align-items: center; }
.uq-apphead-icon {
    width: 64px; height: 64px; border-radius: 26%; object-fit: cover; flex: none;
    background-color: var(--surface);
}
.uq-apphead-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.uq-apphead-title {
    margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 26px;
    letter-spacing: -0.5px; line-height: 1.1; overflow-wrap: anywhere;
}
body.uq .uq-apphead-title a { font-family: var(--font-display); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.uq-rating {
    display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
    font-size: 14px; font-weight: 600; color: var(--orange-deep); background: var(--orange-tint);
    padding: 4px 9px; border-radius: 8px;
}
.uq-rating svg { width: 13px; height: 13px; fill: var(--orange-text); }
.uq-rating-plain { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.uq-rating-plain svg { width: 12px; height: 12px; fill: var(--orange-text); }

/* ---------- 信息表 ---------- */
.uq-facts { border: 1px solid var(--line); border-radius: 16px; padding: 6px 18px; }
.uq-facts dl {
    margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); column-gap: 28px;
}
.uq-fact {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid var(--line-2);
}
.uq-fact dt { font-size: 13px; color: var(--muted); }
.uq-fact dd { margin: 0; font-size: 14px; font-weight: 600; text-align: right; min-width: 0; }
.uq-intro { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text); }
.uq-intro > * { font-size: inherit; }

/* ---------- 截图 ---------- */
.uq-shots { position: relative; }
.uq-shots-track {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px;
    scrollbar-width: none; -ms-overflow-style: none;
}
.uq-shots-track::-webkit-scrollbar { display: none; }
.uq-shot {
    flex: none; height: 256px; width: auto; min-width: 128px; border-radius: 14px; scroll-snap-align: start;
    background: var(--surface); cursor: default;
}
.uq-shots-next {
    position: absolute; right: 6px; top: 50%; margin-top: -22px; width: 44px; height: 44px;
    border-radius: 999px; border: 0; background: var(--ink); cursor: pointer; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
}
.uq-shots-next svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.2; }
.uq-shots-next[hidden] { display: none; }

/* ---------- Editorial Note / Security Notice ---------- */
.uq-note {
    border: 1.5px solid var(--ink); border-radius: 16px; padding: 16px 18px;
    display: flex; gap: 12px; align-items: flex-start;
}
.uq-note svg { width: 22px; height: 22px; stroke: var(--orange-text); fill: none; stroke-width: 2; margin-top: 1px; }
.uq-note strong { font-size: 15px; display: block; margin-bottom: 4px; }
.uq-note p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-2); }

/* ---------- 评测正文（后端输出的 raw HTML，只能用选择器套样式）---------- */
.uq-review { display: flex; flex-direction: column; gap: 14px; }
.uq-review h3, .uq-review .layout-art-tit {
    margin: 18px 0 0; font-family: var(--font-display); font-weight: 700;
    font-size: clamp(22px, 2.4vw, 26px); letter-spacing: -0.5px; line-height: 1.2;
}
.uq-review h3:first-child { margin-top: 0; }
.uq-review h4 { margin: 8px 0 0; font-size: 17px; font-weight: 600; }
.uq-review p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--text); }
.uq-review p b, .uq-review p strong { color: var(--ink); font-weight: 600; }
.uq-review ul, .uq-review ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.uq-review ul { list-style: disc; }
.uq-review ol { list-style: decimal; }
.uq-review li { list-style: inherit; font-size: 15px; line-height: 1.65; color: var(--text); }
/* 「Title: 说明」型段落 → 卡片感（有 <b> 开头的段落） */
.uq-review p:has(> b:first-child) {
    border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; color: var(--text-2);
}
.uq-review p > b:first-child { display: block; margin-bottom: 2px; font-size: 15px; }

/* ---------- 按钮 ---------- */
.uq-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
    min-height: 50px; padding: 0 12px; border-radius: 12px; font-weight: 600; font-size: 14px;
    border: 0; cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s;
}
.uq-btn:active { transform: scale(.98); transition-duration: 80ms; }
.uq-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; }
body.uq .uq-btn-orange { background: var(--orange); color: var(--ink); height: 52px; font-size: 16px; }
body.uq .uq-btn-orange:hover { background: #D44B23; color: var(--ink); }
body.uq .uq-btn-ink { background: var(--ink); color: var(--white); }
body.uq .uq-btn-ink:hover { background: #2B2D33; color: var(--white); }
body.uq .uq-btn-outline { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
body.uq .uq-btn-outline:hover { background: var(--ink); color: var(--white); }
.uq-btn-off { background: var(--surface); color: #9A9BA2; cursor: default; box-shadow: none; }
body.uq .uq-btn-off { color: #9A9BA2; }
.uq-btnbox { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.uq-btnbox > .uq-btn:only-child { grid-column: 1 / -1; }
.uq-btnstack { display: flex; flex-direction: column; gap: 10px; }
.uq-btn .uq-pc { display: none; }
@media (min-width: 640px) {
    .uq-btn .uq-pc { display: inline; }
    .uq-btn .uq-mob { display: none; }
}

/* ---------- 应用行（Similar / 侧栏）---------- */
.uq-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.uq-row {
    border: 1px solid var(--line); border-radius: 14px; padding: 12px;
    display: flex; align-items: center; gap: 12px; background: var(--white);
    transition: border-color .15s;
}
.uq-row:hover { border-color: var(--ink); }
.uq-row:hover .uq-row-name { color: var(--orange-text); }
.uq-row:hover .uq-pill { background: #2B2D33; }
.uq-row-icon { width: 48px; height: 48px; border-radius: 26%; object-fit: cover; flex: none; background-color: var(--surface); }
.uq-side .uq-row-icon { width: 44px; height: 44px; }
.uq-row-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.uq-row-name { font-weight: 600; font-size: 15px; display: block; }
body.uq a.uq-pill, body.uq .uq-pill {
    display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px;
    background: var(--ink); color: var(--white); font-weight: 600; font-size: 13px; flex: none;
}
body.uq a.uq-pill:hover { background: #2B2D33; color: var(--white); }
.uq-side .uq-rows, .uq-side .uq-rows-col { display: flex; flex-direction: column; gap: 10px; }
.uq-hide-m { }
@media (max-width: 639px) {
    .uq-rows > .uq-row:nth-child(n+7), .uq-side > .uq-row:nth-of-type(n+7) { display: none; }
}

/* ---------- 下载页 ---------- */
.uq-filecard { border: 1px solid var(--line); border-radius: 16px; padding: 6px 18px; display: flex; flex-direction: column; }
.uq-filecard h2 { margin: 12px 0 4px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.3px; }
.uq-filecard dl { margin: 0; }
.uq-filecard .uq-fact:last-child { border-bottom: 0; }
.uq-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.uq-step { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; gap: 14px; align-items: flex-start; }
.uq-step-n { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--orange-text); flex: none; width: 26px; }
.uq-step-d { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.uq-step-d b { color: var(--ink); font-weight: 600; }

/* =========================================================
   首页
   ========================================================= */
.uq-hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.uq-hero-ring1 { position: absolute; right: -180px; top: 40px; width: 520px; height: 520px; border-radius: 999px; border: 2px solid #3A2A26; }
.uq-hero-ring2 { position: absolute; right: -60px; top: 160px; width: 280px; height: 280px; border-radius: 999px; border: 2px solid var(--orange); opacity: .55; }
.uq-hero-in { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.uq-hero-bar { display: flex; align-items: center; justify-content: space-between; height: 60px; }
body.uq .uq-hero .uq-logo, body.uq .uq-hero .uq-logo-text { color: var(--white); }
body.uq .uq-cat-pill {
    display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px;
    border: 1px solid #44464D; color: var(--white); font-size: 14px; font-weight: 500;
}
body.uq .uq-cat-pill:hover { color: var(--white); border-color: var(--white); }
/* 白底 header 里的 Categories 按钮 */
body.uq .uq-header .uq-cat-pill { color: var(--ink); border: 1.5px solid var(--ink); }
body.uq .uq-header .uq-cat-pill:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
/* 本版不可点击（分类页未设计）：无 hover、默认光标 */
body.uq .uq-cat-pill[aria-disabled="true"] { cursor: default; }
body.uq .uq-header .uq-cat-pill[aria-disabled="true"]:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.uq-hero-body {
    padding: clamp(28px, 6vw, 72px) 0 clamp(28px, 5vw, 56px);
    display: flex; flex-direction: column; gap: 20px; max-width: 760px;
}
.uq-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: #F4A889; }
.uq-hero h1 {
    margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 8vw, 96px);
    line-height: .95; letter-spacing: -2px; color: var(--white);
}
.uq-hero h1 span { color: var(--orange); font-family: var(--font-display); }
.uq-hero p { margin: 0; font-size: 16px; line-height: 1.6; color: #C4C5CB; max-width: 460px; }
.uq-hero-search {
    display: flex; align-items: center; gap: 8px; background: var(--white); border-radius: 999px;
    padding: 6px 6px 6px 18px; max-width: 520px;
}
.uq-hero-search svg { width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 2; }
.uq-hero-search input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    font: 400 16px Inter, sans-serif; color: var(--ink); height: 40px;
}
.uq-hero-search button {
    height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--orange);
    color: var(--ink); font: 600 15px Inter, sans-serif; cursor: default; flex: none;
}
.uq-promises {
    list-style: none; margin: 0; padding: 0 0 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--ink-line);
}
.uq-promises li { padding: 16px 12px 0 0; display: flex; flex-direction: column; gap: 4px; }
.uq-promises b { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 3vw, 34px); color: var(--white); line-height: 1.1; }
.uq-promises span { font-size: 13px; color: var(--on-ink-muted); line-height: 1.4; }

.uq-home { max-width: 1200px; margin: 0 auto; padding: 32px 16px 56px; display: flex; flex-direction: column; gap: 48px; }
.uq-block { display: flex; flex-direction: column; gap: 16px; }
.uq-block-tit {
    margin: 0; display: flex; flex-direction: column; gap: 2px; font-family: var(--font-display);
    font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -1px; line-height: 1;
}
.uq-block-tit small { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 1.4px; color: var(--orange-text); }

/* Spotlight */
.uq-spot { border-radius: 24px; overflow: hidden; background: var(--ink); color: var(--white); display: flex; flex-wrap: wrap; }
.uq-spot-img { flex: 1 1 360px; min-height: 220px; position: relative; display: block; background: #2B2D33; }
.uq-spot-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uq-spot-info { flex: 1 1 300px; padding: 24px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.uq-chip { align-self: flex-start; font-size: 12px; font-weight: 600; background: var(--white); color: var(--ink); padding: 4px 10px; border-radius: 999px; }
body.uq .uq-spot .uq-chip { color: var(--ink); }
.uq-spot-head { display: flex; align-items: center; gap: 12px; }
.uq-spot-icon { width: 56px; height: 56px; border-radius: 26%; object-fit: cover; flex: none; background-color: #3A3B40; }
.uq-spot-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.15; }
body.uq .uq-spot-name, body.uq .uq-spot-name:hover { color: var(--white); }
body.uq .uq-spot-name:hover { text-decoration: underline; }
.uq-spot-meta { font-size: 14px; color: rgba(255,255,255,.82); }
body.uq .uq-spot-meta { color: rgba(255,255,255,.82); }
body.uq .uq-get-white {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 24px;
    border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; font-size: 15px;
}
body.uq .uq-get-white:hover { background: var(--orange); color: var(--ink); }
.uq-get-white svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; }

/* Featured 横滑 */
.uq-hscroll { position: relative; }
.uq-hscroll-track {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px;
    scrollbar-width: none; -ms-overflow-style: none;
}
.uq-hscroll-track::-webkit-scrollbar { display: none; }
.uq-hscroll-btn {
    display: none; position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 999px;
    border: 0; background: var(--ink); cursor: pointer; padding: 0; align-items: center; justify-content: center;
    z-index: 2; box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.uq-hscroll-btn svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.2; }
.uq-hscroll-btn.prev { left: -14px; }
.uq-hscroll-btn.next { right: -14px; }
@media (min-width: 1024px) {
    .uq-hscroll:hover .uq-hscroll-btn:not([hidden]) { display: inline-flex; }
}
.uq-fcard {
    flex: 0 0 260px; scroll-snap-align: start; border-radius: 20px; border: 1px solid var(--line);
    overflow: hidden; background: var(--white); display: flex; flex-direction: column; transition: border-color .15s;
}
.uq-fcard:hover { border-color: var(--ink); }
.uq-fcard:hover .uq-fcard-name { color: var(--orange-text); }
.uq-fcard:hover .uq-pill { background: #2B2D33; }
.uq-fcard-img { position: relative; aspect-ratio: 16 / 9; display: block; background: var(--surface); overflow: hidden; }
.uq-fcard-img img { width: 100%; height: 100%; object-fit: cover; }
.uq-fcard-chip {
    position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 600; background: var(--white);
    color: var(--ink); padding: 3px 9px; border-radius: 999px;
}
body.uq .uq-fcard-chip { color: var(--ink); }
.uq-fcard-body { padding: 12px 14px 14px; display: flex; align-items: center; gap: 10px; }
.uq-fcard-icon { width: 40px; height: 40px; border-radius: 26%; object-fit: cover; flex: none; background-color: var(--surface); }
.uq-fcard-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.uq-fcard-name { font-weight: 600; font-size: 14px; display: block; }
.uq-fcard .uq-pill { height: 36px; padding: 0 14px; }

/* 分类胶囊（本版不可点）*/
.uq-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.uq-catchip {
    display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 6px; border-radius: 999px;
    border: 1.5px solid var(--ink); font-size: 15px; font-weight: 600; cursor: default;
}
.uq-catchip i {
    width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-style: normal; font-weight: 800; font-size: 15px;
}
.uq-catchip:nth-child(odd) i { background: var(--orange-tint-2); color: var(--orange-deep); }
.uq-catchip:nth-child(even) i { background: var(--ink); color: var(--white); }
body.uq .uq-catchip i { color: inherit; font-family: var(--font-display); }
body.uq .uq-catchip:nth-child(odd) i { color: var(--orange-deep); }
body.uq .uq-catchip:nth-child(even) i { color: var(--white); }

/* Trending 排行 */
.uq-rank { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); column-gap: 40px; }
.uq-rank-item {
    display: flex; align-items: center; gap: 14px; padding: 14px 0; margin: 0; border-bottom: 1px solid var(--line);
    border-radius: 0; transition: background-color .15s, padding .15s, margin .15s;
}
.uq-rank-item:hover { background: var(--orange-tint); padding-left: 12px; padding-right: 12px; margin: 0 -12px; border-radius: 14px; }
.uq-rank-item:hover .uq-rank-name { color: var(--orange-text); }
.uq-rank-n { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1; width: 48px; flex: none; color: var(--ink); }
.uq-rank-item:nth-child(-n+3) .uq-rank-n { color: var(--orange); }
.uq-rank-icon { width: 52px; height: 52px; border-radius: 26%; object-fit: cover; flex: none; background-color: var(--surface); }
.uq-rank-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.uq-rank-name { font-weight: 600; font-size: 16px; display: block; }
.uq-rank-sub { font-size: 13px; color: var(--muted); }
body.uq a.uq-pill-orange, body.uq .uq-pill-orange { background: var(--orange); color: var(--ink); height: 40px; padding: 0 18px; font-size: 14px; }
.uq-rank-item:hover .uq-pill-orange { background: #D44B23; }
body.uq a.uq-pill-orange:hover { background: #D44B23; color: var(--ink); }

/* New & Updated 两行 */
.uq-fresh { display: flex; flex-direction: column; gap: 10px; }
.uq-fresh-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.uq-fresh-label i { width: 8px; height: 8px; border-radius: 999px; background: var(--orange); }
.uq-fresh-label.upd i { background: var(--ink); }
.uq-fresh-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
.uq-fresh-track::-webkit-scrollbar { display: none; }
.uq-ncard {
    flex: 1 0 148px; scroll-snap-align: start; border-radius: 18px; border: 1px solid var(--line); padding: 16px 12px;
    display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0;
    transition: border-color .15s;
}
.uq-ncard:hover { border-color: var(--ink); }
.uq-ncard:hover .uq-ncard-name { color: var(--orange-text); }
.uq-ncard-icon { width: 60px; height: 60px; border-radius: 26%; object-fit: cover; margin-bottom: 4px; background-color: var(--surface); }
.uq-ncard-name { font-weight: 600; font-size: 14px; max-width: 100%; display: block; }
.uq-ncard-dev { font-size: 12px; color: var(--muted); max-width: 100%; }

@media (min-width: 640px) {
    .uq-spot-info { padding: 32px; }
}

/* =========================================================
   Legacy：分类页 / 404 / support 等未设计页面，套新 token
   ========================================================= */
body.uq .maxbox { max-width: 1200px; padding-left: 16px; padding-right: 16px; }
body.uq .tit-comm-h1, body.uq .tit-comm-h2, body.uq .tit-comm-h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.5px; }
body.uq .tit-comm-h4 { font-weight: 600; }
body.uq .simapp-item, body.uq .minapp-item, body.uq .catcard-item, body.uq .newapp-item, body.uq .maxapp-item {
    border-color: var(--line); border-radius: 14px;
}
body.uq .simapp-item:hover, body.uq .minapp-item:hover, body.uq .catcard-item:hover,
body.uq .newapp-item:hover, body.uq .maxapp-item:hover { border-color: var(--ink); box-shadow: none; }
body.uq .simapp-item:hover .simapp-tit { color: var(--orange-text); }
body.uq .simapp-img, body.uq .minapp-img, body.uq .newapp-img, body.uq .maxapp-icon { border-radius: 26%; box-shadow: none; }
body.uq .simapp-btn, body.uq .minapp-btn, body.uq .maxapp-btn { background: var(--ink); color: #fff; border-radius: 999px; }
body.uq .simapp-btn, body.uq .minapp-btn, body.uq .maxapp-btn, body.uq .simapp-btn * { color: #fff; }
body.uq .simapp-item:hover .simapp-btn, body.uq .minapp-item:hover .minapp-btn, body.uq .maxapp-item:hover .maxapp-btn { background: #2B2D33; }
body.uq .simapp-star, body.uq .maxapp-star { filter: hue-rotate(0deg); }
body.uq .page404-banner-btn { background: var(--orange); color: var(--ink); fill: var(--ink); stroke: var(--ink); border-radius: 999px; }
body.uq .page404-banner-btn:hover { background: #D44B23; }
body.uq .page404-banner-btn * { color: var(--ink); }
body.uq .page404-banner-svg { stroke: var(--orange-text); fill: var(--orange-text); background-color: var(--orange-tint-2); }
body.uq .beyond-ads-tip-inner { color: var(--muted); }
body.uq .beyond-ads-tip::before, body.uq .beyond-ads-tip::after { border-top-color: #E4E4E4; }

/* ---------- 响应式 ---------- */
@media (min-width: 1024px) {
    .uq-main { gap: 28px; }
}
@media (max-width: 639px) {
    .uq-apphead-title { font-size: 24px; }
}
