/* trend 登记页样式（自 trendreg.html 同步，作用域限定在 #trend-native，避免影响主页） */
/* ============================================================
     小馒头BOT 新版设计规范 v1 · Web 落地
     令牌与 协作/设计规范_新排版与新UI_v1.md / tech_service.theme 对齐：
     PRiSM 粉紫青、GLASS_FILL 72% 白、blur 22、R_CARD 18、R_MAST 26、
     SHADOW rgba(86,70,130,.18) 3/8/7、编号块 46×46 / 标题 28×700、
     卡内留白 22、卡距 18~22、页面留白 30。
     ============================================================ */#trend-native {
    --bg:#f6f7fc;
    --ink:#161a28; --ink2:#3d4459; --muted:#6b7488; --faint:#98a1b4;
    --border:#e3e7f2; --border-strong:#d3d9ea; --line:#f0f3f9;
    --surface:#ffffff; --surface-2:#f7f8fc;
    /* CO-1111-09 双色主题：白玻璃 RGB 抽成 --tw，暗色模式只改它 */
    --tw:255,255,255;
    --glass:rgba(var(--tw),.722);
    --tile:rgba(var(--tw),.56);
    --frost:rgba(var(--tw),.392);
    --shadow:rgba(86,70,130,.18);
    --pink:#ff3d7f; --pink-soft:#fff0f6; --pink-dk:#d01a5a;
    --purple:#7b5cff; --purple-soft:#f1edff; --purple-dk:#5638d8;
    --cyan:#0fbcd6; --cyan-soft:#e6f9fc; --cyan-dk:#087485;
    --ok:#1a7f37; --ok-soft:#e7f6ec;
    --warn:#9a6700; --warn-soft:#fff4d6;
    --danger:#cf222e; --danger-soft:#ffeceb;
    --font-cn:"JCYT","Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB",
      "Source Han Sans SC","Noto Sans CJK SC","Microsoft YaHei",sans-serif;
    --font-num:"Helvetica Neue","SF Pro Display",-apple-system,BlinkMacSystemFont,
      "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",Arial,sans-serif;
   }
#trend-native * {box-sizing:border-box;margin:0;padding:0 }
#trend-native {
    min-height:100vh;
    font-family:var(--font-cn);
    color:var(--ink);
    background:var(--bg);
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
    padding:clamp(12px,2.4vw,30px);
    position:relative;
    overflow-x:hidden;
   }
/* ============ 布局 ============ */#trend-native .shell {width:100%;max-width:1120px;margin:0 auto;padding-bottom:26px }
#trend-native .stack {display:flex;flex-direction:column;gap:18px }
#trend-native .card {
    position:relative;
    background:var(--glass);
    border:2px solid var(--border);
    border-radius:18px;
    box-shadow:3px 8px 7px var(--shadow);
    -webkit-backdrop-filter:blur(22px);
    backdrop-filter:blur(22px);
    padding:22px;
   }
#trend-native .card.accent-pink {--accent:var(--pink);--accent-soft:var(--pink-soft);--accent-dk:var(--pink-dk) }
#trend-native .card.accent-purple {--accent:var(--purple);--accent-soft:var(--purple-soft);--accent-dk:var(--purple-dk) }
#trend-native .card.accent-cyan {--accent:var(--cyan);--accent-soft:var(--cyan-soft);--accent-dk:var(--cyan-dk) }
/* ============ 报头（frost 底板 / 无头像变体） ============ */#trend-native .mast {
    position:relative;
    display:flex;align-items:flex-start;justify-content:space-between;gap:24px;
    padding:clamp(22px,3.4vw,38px) clamp(22px,4.2vw,46px);
    margin-bottom:18px;
    border-radius:26px;
    background:var(--frost);
    -webkit-backdrop-filter:blur(22px);
    backdrop-filter:blur(22px);
    box-shadow:3px 8px 7px rgba(86,70,130,.10);
    overflow:hidden;
   }
#trend-native .mast::after {
    content:"";position:absolute;right:-70px;top:-90px;width:260px;height:260px;
    border-radius:50%;pointer-events:none;
    background:radial-gradient(circle,rgba(255,61,127,.16),transparent 68%);
   }
#trend-native .mast-main {min-width:0;position:relative;z-index:1 }
#trend-native .mast-title {
    color:var(--ink);font-weight:700;letter-spacing:.4px;
    font-size:clamp(34px,5.4vw,58px);line-height:1.06;
   }
#trend-native .mast-title span {color:var(--pink-dk) }
#trend-native .mast-tag {
    margin-top:10px;color:var(--muted);font-weight:400;
    font-size:clamp(14px,1.6vw,18px);line-height:1.5;max-width:640px;
   }
#trend-native .mast-stats {
    margin-top:8px;color:var(--faint);font-size:13.5px;line-height:1.5;
   }
#trend-native .mast-side {
    position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-end;
    gap:10px;flex:0 0 auto;padding-top:4px;
   }
#trend-native .brand {
    font-weight:700;font-size:15px;letter-spacing:.4px;color:var(--ink2);
    display:flex;align-items:center;gap:8px;white-space:nowrap;
   }
#trend-native .brand i {
    width:9px;height:9px;border-radius:50%;background:var(--pink);
    box-shadow:0 0 0 4px var(--pink-soft);display:inline-block;
   }
#trend-native .pills {display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end }
#trend-native .pill {
    display:inline-flex;align-items:center;height:34px;padding:0 15px;border-radius:17px;
    font-size:15px;font-weight:700;letter-spacing:.3px;white-space:nowrap;
   }
#trend-native .pill.pink {background:var(--pink-soft);color:var(--pink-dk) }
#trend-native .pill.line {
    background:rgba(var(--tw),.58);border:2px solid var(--border-strong);
    color:var(--muted);height:34px;padding:0 13px;
   }
/* ============ 分区标题格（46×46 编号块 + 28/700 标题 + 分隔线） ============ */#trend-native .sec {
    display:flex;align-items:center;gap:16px;
    margin:0 0 16px;padding:0 0 14px;
    border-bottom:2px solid var(--line);
   }
#trend-native .sec-num {
    width:46px;height:46px;border-radius:14px;flex:0 0 auto;
    display:flex;align-items:center;justify-content:center;
    background:var(--accent-soft);color:var(--accent-dk);
    font-family:var(--font-num);font-size:19px;font-weight:700;letter-spacing:.3px;
    font-variant-numeric:tabular-nums;
   }
#trend-native .sec-main {flex:1;min-width:0 }
#trend-native .sec-title {
    font-size:clamp(21px,2vw,28px);line-height:1.24;font-weight:700;color:var(--ink);
   }
#trend-native .sec-note {margin-top:3px;font-size:16px;line-height:1.5;color:var(--muted) }
#trend-native .sec-side {
    flex:0 0 auto;text-align:right;color:var(--faint);font-size:14px;line-height:1.5;
    font-variant-numeric:tabular-nums;white-space:nowrap;
   }
/* ============ 表单 ============ */#trend-native .qq-row {display:flex;gap:12px;align-items:stretch;flex-wrap:wrap }
#trend-native .qq-avatar {
    width:48px;height:48px;flex:0 0 auto;position:relative;overflow:hidden;
    display:flex;align-items:center;justify-content:center;
    border:2px solid var(--border-strong);border-radius:50%;
    background:var(--accent-soft);box-shadow:3px 8px 7px var(--shadow);
   }
#trend-native .qq-avatar[hidden] {display:none }
#trend-native .qq-avatar img {position:relative;z-index:1;width:100%;height:100%;object-fit:cover;display:block }
#trend-native .qq-avatar .fallback {
    position:absolute;inset:0;z-index:0;
    display:flex;align-items:center;justify-content:center;
    font-family:var(--font-num);font-size:13px;font-weight:700;color:var(--accent-dk);
   }
#trend-native .qq-avatar.failed img {display:none }
#trend-native .field {
    flex:1;min-width:220px;position:relative;display:flex;align-items:center;
    background:rgba(var(--tw),.72);border:2px solid var(--border);border-radius:14px;
    padding:0 14px;transition:border-color .16s,box-shadow .16s;
   }
#trend-native .field:focus-within {border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft) }
#trend-native .field label {font-size:13px;font-weight:700;color:var(--muted);white-space:nowrap;margin-right:10px }
#trend-native .field input {
    flex:1;min-width:0;height:48px;border:0;outline:0;background:transparent;
    color:var(--ink);font-family:inherit;font-size:16px;font-weight:600;
    letter-spacing:.4px;font-variant-numeric:tabular-nums;
   }
#trend-native .field input::placeholder {color:var(--faint);font-weight:400;letter-spacing:0 }
#trend-native .field .ok-dot {
    width:8px;height:8px;border-radius:50%;background:var(--ok);opacity:0;
    transition:opacity .2s;flex:0 0 auto;margin-left:8px;
   }
#trend-native .field.valid .ok-dot {opacity:1 }
#trend-native .hintline {margin-top:9px;color:var(--faint);font-size:13px;line-height:1.5 }
#trend-native .hintline b {color:var(--muted);font-weight:600 }
#trend-native .hintline.err {color:var(--danger) }
/* ============ 按钮 ============ */#trend-native .btn {
    -webkit-appearance:none;appearance:none;
    height:48px;padding:0 22px;border-radius:17px;
    border:2px solid transparent;
    display:inline-flex;align-items:center;justify-content:center;gap:9px;
    font-family:inherit;font-size:15px;font-weight:700;letter-spacing:.2px;
    cursor:pointer;white-space:nowrap;
    transition:transform .12s,box-shadow .12s,opacity .12s,background .12s;
   }
#trend-native .btn:active {transform:translateY(1px) }
#trend-native .btn:disabled {opacity:.45;cursor:not-allowed;transform:none }
#trend-native .btn-primary {
    background:var(--pink);color:#fff;
    box-shadow:3px 8px 7px var(--shadow);
   }
#trend-native .btn-primary:hover:not(:disabled) {box-shadow:3px 10px 12px var(--shadow) }
#trend-native .btn-ghost {
    background:rgba(var(--tw),.66);border-color:var(--border);color:var(--ink2);
   }
#trend-native .btn-ghost:hover:not(:disabled) {border-color:var(--border-strong) }
#trend-native .btn-sm {height:38px;padding:0 14px;border-radius:13px;font-size:13px }
#trend-native .btn svg {width:17px;height:17px;flex:0 0 auto }
#trend-native .spin {
    width:16px;height:16px;border-radius:50%;flex:0 0 auto;
    border:2px solid currentColor;border-right-color:transparent;
    animation:spin .7s linear infinite;
   }
@keyframes spin {to{transform:rotate(360deg)} }
/* ============ 上传区 ============ */#trend-native .drop {
    position:relative;display:flex;align-items:center;justify-content:center;gap:14px;
    min-height:104px;padding:22px;
    border:2px dashed var(--border-strong);border-radius:18px;
    background:rgba(var(--tw),.34);
    color:var(--muted);text-align:left;cursor:pointer;
    transition:border-color .16s,background .16s,transform .12s;
    width:100%;font-family:inherit;
   }
#trend-native .drop:hover,
#trend-native .drop.drag {
    border-color:var(--accent);background:var(--accent-soft);
    color:var(--accent-dk);
   }
#trend-native .drop:active {transform:translateY(1px) }
#trend-native .drop-icon {
    width:54px;height:54px;border-radius:16px;flex:0 0 auto;
    display:flex;align-items:center;justify-content:center;
    background:var(--accent-soft);color:var(--accent-dk);
   }
#trend-native .drop-icon svg {width:27px;height:27px }
#trend-native .drop-text b {display:block;color:var(--ink);font-size:17px;font-weight:700;margin-bottom:4px }
#trend-native .drop-text span {font-size:13.5px;color:var(--muted);line-height:1.5 }
#trend-native .drop:focus-visible {outline:3px solid var(--accent);outline-offset:3px }
#trend-native .list {margin-top:16px;display:flex;flex-direction:column;gap:12px }
#trend-native .empty {
    padding:18px 4px 4px;text-align:center;color:var(--faint);font-size:14px;line-height:1.7;
   }
#trend-native .empty b {display:block;color:var(--muted);font-size:15px;font-weight:600;margin-bottom:2px }
/* ============ 图片行卡（glass tile，嵌套在 03 卡里） ============ */#trend-native .item {
    display:grid;grid-template-columns:104px minmax(0,1fr) auto;gap:16px;
    padding:14px;border-radius:14px;
    background:var(--tile);border:1px solid var(--line);
    transition:border-color .16s,background .16s;
   }
#trend-native .item[data-status=ok] {border-color:rgba(255,61,127,.34);background:var(--pink-soft) }
#trend-native .item[data-status=reject] {border-color:rgba(154,103,0,.25) }
#trend-native .item[data-status=error] {border-color:rgba(207,34,46,.24) }
#trend-native .item[data-status=need_date] {border-color:rgba(15,188,214,.3) }
#trend-native .thumb-wrap {position:relative;width:104px;height:104px;flex:0 0 auto }
#trend-native .thumb {
    width:104px;height:104px;object-fit:cover;display:block;
    border-radius:12px;border:2px solid rgba(255,255,255,.16);
    box-shadow:0 3px 10px rgba(86,70,130,.22);background:var(--surface-2);
   }
#trend-native .thumb-badge {
    position:absolute;left:4px;bottom:4px;
    display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:12px;
    background:rgba(22,26,40,.72);color:#fff;font-size:12px;font-weight:700;
    backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);white-space:nowrap;
   }
#trend-native .item-main {min-width:0;display:flex;flex-direction:column;gap:9px }
#trend-native .item-top {display:flex;align-items:center;gap:10px;min-width:0 }
#trend-native .song {
    min-width:0;flex:1;font-size:18px;font-weight:600;line-height:1.3;color:var(--ink);
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
   }
#trend-native .song.unread {color:var(--faint);font-weight:500 }
#trend-native .chip {
    display:inline-flex;align-items:center;height:28px;padding:0 11px;border-radius:14px;
    font-size:12.5px;font-weight:700;white-space:nowrap;flex:0 0 auto;
    background:var(--surface-2);color:var(--muted);
   }
#trend-native .chip.ok {background:var(--pink-soft);color:var(--pink-dk) }
#trend-native .chip.warn {background:var(--warn-soft);color:var(--warn) }
#trend-native .chip.bad {background:var(--danger-soft);color:var(--danger) }
#trend-native .chip.info {background:var(--cyan-soft);color:var(--cyan-dk) }
#trend-native .chip.purple {background:var(--purple-soft);color:var(--purple-dk) }
#trend-native .diff-pill {
    display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:13px;
    font-size:12.5px;font-weight:700;color:#fff;white-space:nowrap;flex:0 0 auto;
    background:#8c92a0;
   }
#trend-native .diff-pill.d0 {background:#59c26f }
#trend-native .diff-pill.d1 {background:#e6b422;color:#3d2c00 }
#trend-native .diff-pill.d2 {background:#eb5545 }
#trend-native .diff-pill.d3 {background:#9b5cff }
#trend-native .diff-pill.d4 {background:#e6c6ff;color:#3a2a50 }
#trend-native .facts {
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 14px;
    padding:9px 12px;border-radius:12px;background:rgba(var(--tw),.46);
    border:1px solid var(--line);
   }
#trend-native .fact {min-width:0 }
#trend-native .fact .k {font-size:11.5px;color:var(--muted);line-height:1.4;letter-spacing:.2px }
#trend-native .fact .v {
    margin-top:1px;font-family:var(--font-num);font-size:16px;font-weight:700;
    color:var(--ink);line-height:1.35;
    font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
   }
#trend-native .fact .v.dim {color:var(--faint);font-weight:500 }
#trend-native .fact-edit {
    -webkit-appearance:none;appearance:none;border:0;background:transparent;
    color:var(--accent-dk);font-family:inherit;font-size:11px;font-weight:700;
    cursor:pointer;padding:0 2px;text-decoration:underline;text-underline-offset:2px;
   }
#trend-native .override-panel {
    display:flex;flex-direction:column;gap:8px;
    margin-top:10px;padding-top:10px;border-top:1px dashed var(--border);
   }
#trend-native .ov-row {
    display:flex;align-items:center;gap:8px;
    font-size:12.5px;font-weight:600;color:var(--muted);
   }
#trend-native .ov-row span {width:78px;flex:0 0 auto }
#trend-native .ov-row i {font-style:normal;color:var(--faint) }
#trend-native .ov-input,
#trend-native .ov-select {
    height:36px;border:2px solid var(--border);border-radius:10px;
    background:var(--surface);color:var(--ink);padding:0 9px;
    font-family:var(--font-num);font-size:16px;font-variant-numeric:tabular-nums;
   }
#trend-native .ov-input {width:118px }
#trend-native .ov-select {font-family:inherit;font-weight:600 }
#trend-native .ov-input:focus,
#trend-native .ov-select:focus {outline:0;border-color:var(--accent) }
#trend-native .ov-actions {display:flex;gap:8px;padding-top:2px }
#trend-native .date-row {display:flex;align-items:center;gap:9px;flex-wrap:wrap }
#trend-native .date-row .lab {font-size:12.5px;font-weight:700;color:var(--muted);white-space:nowrap }
#trend-native .date-row input {
    height:38px;padding:0 10px;border-radius:11px;
    border:2px solid var(--border);background:var(--surface);color:var(--ink);
    font-family:inherit;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;
    outline:none;min-width:150px;
   }
#trend-native .date-row input:focus {border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft) }
#trend-native .date-row input::-webkit-calendar-picker-indicator {opacity:.55;cursor:pointer }
#trend-native .src {
    display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:12px;
    font-size:11.5px;font-weight:700;background:var(--surface-2);color:var(--muted);
    white-space:nowrap;
   }
#trend-native .src.filename,
#trend-native .src.exif {background:var(--purple-soft);color:var(--purple-dk) }
#trend-native .src.manual {background:var(--cyan-soft);color:var(--cyan-dk) }
#trend-native .why {font-size:12.5px;line-height:1.55;color:var(--muted) }
#trend-native .why.bad {color:var(--danger) }
#trend-native .why.warn {color:var(--warn) }
#trend-native .fileline {
    font-size:11.5px;color:var(--faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    line-height:1.4;
   }
#trend-native .item-actions {display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:64px }
#trend-native .icon-btn {
    -webkit-appearance:none;appearance:none;
    width:36px;height:36px;border-radius:11px;border:1px solid var(--border);
    background:rgba(var(--tw),.65);color:var(--muted);
    display:flex;align-items:center;justify-content:center;cursor:pointer;
    transition:border-color .15s,color .15s,background .15s;
   }
#trend-native .icon-btn:hover {border-color:var(--danger);color:var(--danger);background:var(--danger-soft) }
#trend-native .icon-btn svg {width:17px;height:17px }
#trend-native .mini {
    -webkit-appearance:none;appearance:none;
    height:30px;padding:0 10px;border-radius:10px;border:1px solid var(--border);
    background:rgba(var(--tw),.65);color:var(--muted);font-family:inherit;
    font-size:12px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:5px;
    white-space:nowrap;
   }
#trend-native .mini:hover {color:var(--purple-dk);border-color:var(--purple) }
#trend-native .mini svg {width:13px;height:13px }
#trend-native .mini:disabled {opacity:.45;cursor:not-allowed }
/* ============ 手动追加 ============ */#trend-native .manual-search {display:flex;gap:12px;align-items:stretch }
#trend-native .manual-search .field {flex:1 }
#trend-native .manual-search .btn {height:48px;border-radius:14px }
#trend-native .song-results {
    margin-top:12px;display:flex;flex-direction:column;gap:8px;
    max-height:320px;overflow:auto;padding:2px;
   }
#trend-native .song-hit {
    -webkit-appearance:none;appearance:none;width:100%;text-align:left;
    display:flex;align-items:center;gap:12px;
    padding:11px 14px;border-radius:12px;border:1px solid var(--line);
    background:var(--tile);color:var(--ink);font-family:inherit;cursor:pointer;
    transition:border-color .15s,background .15s;
   }
#trend-native .song-hit:hover,
#trend-native .song-hit:focus-visible {
    border-color:var(--accent);background:var(--accent-soft);outline:none;
   }
#trend-native .song-hit .hit-main {min-width:0;flex:1 }
#trend-native .song-hit .hit-title {
    display:block;font-size:15px;font-weight:700;line-height:1.35;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
   }
#trend-native .song-hit .hit-meta {
    display:block;margin-top:2px;font-size:12px;color:var(--muted);line-height:1.45;
   }
#trend-native .song-hit .hit-type {
    flex:0 0 auto;display:inline-flex;align-items:center;height:24px;padding:0 9px;
    border-radius:12px;background:var(--purple-soft);color:var(--purple-dk);
    font-size:11.5px;font-weight:700;
   }
#trend-native .manual-form {margin-top:16px;padding-top:14px;border-top:2px solid var(--line) }
#trend-native .selected-song {
    display:flex;align-items:center;gap:10px;flex-wrap:wrap;
    padding:12px 14px;border-radius:14px;border:1px solid var(--line);
    background:var(--tile);
   }
#trend-native .selected-title {
    min-width:0;font-size:17px;font-weight:700;color:var(--ink);line-height:1.35;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
   }
#trend-native .selected-extra {font-size:12.5px;color:var(--muted);line-height:1.45 }
#trend-native .selected-song .mini {margin-left:auto }
#trend-native .manual-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px }
#trend-native .mf {display:flex;flex-direction:column;gap:6px;min-width:0 }
#trend-native .mf>span {font-size:12.5px;font-weight:700;color:var(--muted);line-height:1.4 }
#trend-native .mf input,
#trend-native .mf select {
    height:40px;padding:0 10px;border-radius:11px;
    border:2px solid var(--border);background:var(--surface);color:var(--ink);
    font-family:inherit;font-size:14px;font-weight:600;outline:none;min-width:0;
   }
#trend-native .mf input:focus,
#trend-native .mf select:focus {
    border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);
   }
#trend-native .mf input::placeholder {color:var(--faint);font-weight:400 }
#trend-native .manual-actions {display:flex;justify-content:flex-end;margin-top:14px }
#trend-native .manual-result {
    margin-top:12px;padding:12px 14px;border-radius:12px;
    background:var(--ok-soft);color:var(--ok);font-size:13px;line-height:1.6;
   }
#trend-native .manual-result.bad {background:var(--danger-soft);color:var(--danger) }
#trend-native .manual-result b {color:inherit;font-weight:700 }
/* ============ trend all 预览 ============ */#trend-native .chart-box {width:100%;min-height:220px }
#trend-native .chart-box svg,
#trend-native .chart-big svg {display:block;width:100%;height:auto }
#trend-native .chart-empty {
    min-height:220px;display:flex;align-items:center;justify-content:center;
    padding:20px;text-align:center;line-height:1.6;font-size:14px;color:var(--faint);
    border:2px dashed var(--border);border-radius:14px;background:var(--tile);
   }
#trend-native .chart-box,
#trend-native .chart-big {touch-action:pan-y }
#trend-native .range {display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px }
#trend-native .range-dates {display:flex;align-items:center;gap:8px }
#trend-native .range-dates input {
    height:38px;padding:0 10px;border-radius:11px;min-width:136px;
    border:2px solid var(--border);background:var(--surface);color:var(--ink);
    font-family:inherit;font-size:14px;font-weight:600;outline:none;
    font-variant-numeric:tabular-nums;
   }
#trend-native .range-dates input:focus {border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft) }
#trend-native .range-dash {color:var(--faint);font-size:13px }
#trend-native .range-presets {display:flex;gap:6px;flex-wrap:wrap;margin-left:auto }
#trend-native .chip {
    -webkit-appearance:none;appearance:none;height:32px;padding:0 13px;border-radius:16px;
    border:2px solid var(--border);background:var(--tile);color:var(--muted);
    font-family:inherit;font-size:13px;font-weight:700;cursor:pointer;
    transition:border-color .15s,background .15s,color .15s;
   }
#trend-native .chip:hover {color:var(--accent-dk) }
#trend-native .chip[aria-pressed="true"] {
    border-color:var(--accent);background:var(--accent-soft);color:var(--accent-dk);
   }
#trend-native .chart-bar {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;flex-wrap:wrap }
#trend-native .chart-actions {display:flex;align-items:center;gap:8px;flex-wrap:wrap }
#trend-native .mini-select {
    height:34px;padding:0 8px;border:2px solid var(--border);border-radius:10px;
    background:var(--surface);color:var(--ink2);font-family:inherit;
    font-size:13px;font-weight:700;letter-spacing:.2px;
   }
#trend-native .mini-select:focus {outline:0;border-color:var(--accent) }
.chart-tip {
    position:fixed;z-index:70;pointer-events:none;
    padding:8px 12px;border-radius:12px;white-space:nowrap;
    background:var(--glass);border:1px solid var(--border-strong);
    box-shadow:3px 8px 7px var(--shadow);
    -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
   }
.chart-tip[hidden] {display:none }
.chart-tip b {
    display:block;font-size:13px;color:var(--ink);
    font-family:var(--font-num);font-variant-numeric:tabular-nums;
   }
.chart-tip span {
    display:block;margin-top:2px;font-size:12.5px;font-weight:700;
    color:var(--purple-dk);font-family:var(--font-num);font-variant-numeric:tabular-nums;
   }
#trend-native .chart-meta {
    font-size:12.5px;color:var(--muted);line-height:1.5;font-variant-numeric:tabular-nums;
    min-width:0;overflow-wrap:anywhere;
   }
#trend-native .chart-grid {stroke:var(--line);stroke-width:1 }
#trend-native .chart-axis {fill:var(--faint);font-size:11px;font-family:var(--font-num);
    font-variant-numeric:tabular-nums;letter-spacing:.2px }
#trend-native .chart-line {fill:none;stroke:var(--pink);stroke-width:2.4;
    stroke-linejoin:round;stroke-linecap:round }
#trend-native .chart-area {opacity:.9 }
#trend-native .chart-dot {fill:var(--surface);stroke:var(--pink);stroke-width:2 }
#trend-native .chart-dot.has-push {fill:var(--pink) }
#trend-native .chart-dot.sel {fill:var(--purple);stroke:var(--purple);stroke-width:3 }
#trend-native .chart-hit {fill:transparent;cursor:pointer }
#trend-native .chart-guide {stroke:var(--purple);stroke-width:1;stroke-dasharray:4 4;opacity:.5 }
#trend-native .day-detail {margin-top:14px;padding-top:14px;border-top:2px solid var(--line) }
#trend-native .day-detail-head {display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:10px }
#trend-native .day-detail-head b {font-size:16px;font-weight:700;color:var(--ink) }
#trend-native .day-detail-head span {font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums }
#trend-native .day-detail-list {display:flex;flex-direction:column;gap:8px;max-height:320px;overflow:auto }
#trend-native .day-detail-head .del-group {display:flex;gap:6px;flex-wrap:wrap;margin-left:auto }
#trend-native .mini.danger {color:var(--danger);border-color:var(--danger);background:var(--danger-soft) }
#trend-native .mini.danger:hover {color:#fff;background:var(--danger);border-color:var(--danger) }
#trend-native .day-card {
    display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;
    background:var(--tile);border:1px solid var(--line);
   }
#trend-native .day-card .main {min-width:0;flex:1 }
#trend-native .day-card .t {
    display:block;font-size:14px;font-weight:700;color:var(--ink);line-height:1.4;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
   }
#trend-native .day-card .m {display:block;margin-top:2px;font-size:12px;color:var(--muted);line-height:1.5 }
#trend-native .day-card .m i {font-style:normal;color:var(--pink-dk);font-weight:700 }
#trend-native .day-card .b {flex:0 0 auto;font-size:11px;font-weight:700;color:var(--purple-dk);white-space:nowrap }
#trend-native .day-del {
    -webkit-appearance:none;appearance:none;flex:0 0 auto;
    width:26px;height:26px;border-radius:8px;border:0;background:transparent;
    color:var(--faint);cursor:pointer;display:flex;align-items:center;justify-content:center;
    transition:color .15s,background .15s;
   }
#trend-native .day-del:hover {color:var(--danger);background:var(--danger-soft) }
#trend-native .day-pick {
    -webkit-appearance:none;appearance:none;flex:0 0 auto;
    width:26px;height:26px;border-radius:8px;border:0;background:transparent;
    color:var(--faint);cursor:pointer;font-size:15px;line-height:1;
    display:flex;align-items:center;justify-content:center;
    transition:color .15s,background .15s;
   }
#trend-native .day-pick:hover {color:var(--pink-dk);background:var(--pink-soft) }
#trend-native .day-pick.is-on {color:#ff4d88 }
#trend-native .day-move:hover {color:var(--pink-dk);background:var(--pink-soft) }
#trend-native .day-del svg {width:15px;height:15px }
#trend-native .day-card.editing {flex-wrap:wrap;border-color:var(--pink);background:var(--surface) }
#trend-native .day-card.editing .main {flex:1 1 100% }
#trend-native .row-ach {
    width:104px;height:36px;border:2px solid var(--border);border-radius:10px;
    background:var(--surface);color:var(--ink);padding:0 9px;
    font-family:var(--font-num);font-size:16px;font-variant-numeric:tabular-nums;
   }
#trend-native .row-ach:focus {outline:0;border-color:var(--accent) }
/* 放大查看 */#trend-native .modal {
    position:fixed;inset:0;z-index:60;padding:20px;
    display:flex;align-items:center;justify-content:center;
    background:rgba(16,20,30,.56);
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
   }
#trend-native .modal[hidden] {display:none }
#trend-native .modal-box {
    width:min(1200px,96vw);max-height:92vh;overflow:auto;padding:18px;
    background:var(--surface);border:2px solid var(--border-strong);border-radius:18px;
    box-shadow:0 24px 60px rgba(16,20,30,.38);
   }
#trend-native .modal-head {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px }
#trend-native .modal-head b {font-size:18px;font-weight:700 }
/* ============ 手动追加 / 修改 ============ */#trend-native .manual-tabs {display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px }
#trend-native .manual-tabs button {
    -webkit-appearance:none;appearance:none;height:38px;padding:0 16px;
    border-radius:12px;border:2px solid var(--border);background:var(--tile);
    color:var(--muted);font-family:inherit;font-size:13.5px;font-weight:700;
    cursor:pointer;transition:border-color .15s,background .15s,color .15s;
   }
#trend-native .manual-tabs button:hover {color:var(--accent-dk) }
#trend-native .manual-tabs button[aria-selected="true"] {
    border-color:var(--accent);background:var(--accent-soft);color:var(--accent-dk);
   }
#trend-native .manual-pane[hidden] {display:none }
#trend-native .simple-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px }
#trend-native .day-head {display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap }
#trend-native .day-head .mf {flex:1;min-width:200px }
#trend-native .day-head .btn {height:44px;border-radius:14px }
#trend-native .day-panel {margin-top:14px;padding-top:14px;border-top:2px solid var(--line) }
#trend-native .day-rating {
    display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
    padding:12px 14px;border-radius:14px;background:var(--tile);border:1px solid var(--line);
   }
#trend-native .day-rating .now {font-size:13.5px;color:var(--muted);line-height:1.5 }
#trend-native .day-rating .now b {
    font-family:var(--font-num);font-size:23px;color:var(--ink);
    font-variant-numeric:tabular-nums;margin-right:8px;
   }
#trend-native .day-rating .edit {display:flex;align-items:center;gap:8px;flex-wrap:wrap }
#trend-native .day-rating .edit input {
    width:118px;height:38px;padding:0 9px;border-radius:10px;
    border:2px solid var(--border);background:var(--surface);color:var(--ink);
    font-family:inherit;font-size:14px;font-weight:600;outline:none;
   }
#trend-native .day-rating .edit input:focus {border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft) }
#trend-native .day-sub {margin:14px 0 10px;font-size:13px;font-weight:700;color:var(--muted) }
#trend-native .edit-row {
    display:flex;align-items:center;gap:12px;flex-wrap:wrap;
    padding:10px 12px;border-radius:12px;background:var(--tile);border:1px solid var(--line);
   }
#trend-native .edit-row .main {min-width:0;flex:1 }
#trend-native .edit-row .main b {
    display:block;font-size:14px;font-weight:700;color:var(--ink);line-height:1.4;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
   }
#trend-native .edit-row .main span {display:block;margin-top:2px;font-size:12px;color:var(--muted);line-height:1.5 }
#trend-native .edit-row input {
    width:112px;height:36px;padding:0 8px;border-radius:10px;
    border:2px solid var(--border);background:var(--surface);color:var(--ink);
    font-family:inherit;font-size:14px;font-weight:600;outline:none;
   }
#trend-native .edit-row input:focus {border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft) }
/* ============ 提交区 ============ */#trend-native .summary {
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:2px 0 16px;
   }
#trend-native .stat {
    background:var(--tile);border:1px solid var(--line);border-radius:14px;
    padding:13px 14px 12px;min-height:92px;display:flex;flex-direction:column;justify-content:center;
   }
#trend-native .stat .v {
    font-family:var(--font-num);font-size:clamp(24px,3vw,34px);font-weight:700;
    line-height:1;color:var(--ink);font-variant-numeric:tabular-nums;
   }
#trend-native .stat .v.pink {color:var(--pink-dk) }
#trend-native .stat .v.cyan {color:var(--cyan-dk) }
#trend-native .stat .v.warn {color:var(--warn) }
#trend-native .stat .v.dim {color:var(--faint) }
#trend-native .stat .k {margin-top:6px;font-size:12px;color:var(--muted);letter-spacing:.2px }
#trend-native .submit-row {display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap }
#trend-native .submit-note {font-size:12.5px;line-height:1.6;color:var(--faint);max-width:620px }
#trend-native .submit-note b {color:var(--muted);font-weight:600 }
#trend-native .result {
    margin-top:16px;padding:14px;border-radius:14px;
    background:var(--tile);border:1px solid var(--line);
   }
#trend-native .result-head {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px }
#trend-native .result-head b {font-size:15px;font-weight:700;color:var(--ink) }
#trend-native .result-head span {font-size:12.5px;color:var(--muted);font-variant-numeric:tabular-nums }
#trend-native .result-list {display:flex;flex-direction:column;gap:8px }
#trend-native .result-item {display:flex;align-items:flex-start;gap:10px;font-size:12.5px;line-height:1.55 }
#trend-native .result-item .dot {
    width:7px;height:7px;border-radius:50%;flex:0 0 auto;margin-top:5px;background:var(--ok);
   }
#trend-native .result-item.bad .dot {background:var(--danger) }
#trend-native .result-item .txt {min-width:0;color:var(--muted) }
#trend-native .result-item .txt b {color:var(--ink2);font-weight:600 }
#trend-native .result-item .txt i {font-style:normal;color:var(--faint) }
/* ============ 页脚 ============ */#trend-native footer {
    margin-top:22px;padding:4px 2px;
    display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
    color:var(--faint);font-size:12.5px;line-height:1.6;
   }
#trend-native footer .sig {color:var(--muted);font-weight:600;letter-spacing:.2px }
/* ============ toast ============ */#trend-native .toast {
    position:fixed;left:50%;bottom:24px;transform:translate(-50%,18px);
    z-index:50;max-width:min(92vw,640px);
    padding:12px 18px;border-radius:15px;
    background:rgba(22,26,40,.9);color:#fff;font-size:13.5px;line-height:1.5;
    box-shadow:0 10px 30px rgba(0,0,0,.28);
    opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;
    backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
   }
#trend-native .toast.show {opacity:1;transform:translate(-50%,0) }
#trend-native .toast.bad {background:rgba(207,34,46,.94) }
#trend-native .toast.ok {background:rgba(26,127,55,.94) }
/* ============ 响应式 ============ */@media (max-width:760px) {#trend-native {padding:12px }
#trend-native .mast {flex-direction:column;gap:14px;padding:22px 20px;border-radius:22px }
#trend-native .mast-side {align-items:flex-start;flex-direction:row;flex-wrap:wrap;padding-top:0 }
#trend-native .mast-title {font-size:36px }
#trend-native .mast-stats {font-size:12.5px }
#trend-native .card {padding:18px;border-radius:16px }
#trend-native .sec {gap:12px }
#trend-native .sec-num {width:40px;height:40px;border-radius:12px;font-size:17px }
#trend-native .sec-note {font-size:14.5px }
#trend-native .sec-side {display:none }
#trend-native .item {grid-template-columns:76px minmax(0,1fr);gap:12px;padding:12px }
#trend-native .thumb-wrap,
#trend-native .thumb {width:76px;height:76px }
#trend-native .item-top {flex-wrap:wrap;gap:6px 8px }
#trend-native .song {flex:1 0 100% }
#trend-native .item-actions {grid-column:1 / -1;flex-direction:row;justify-content:flex-end;min-width:0 }
#trend-native .facts {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:9px 10px }
#trend-native .summary {grid-template-columns:repeat(2,minmax(0,1fr)) }
#trend-native .drop {min-height:96px;padding:18px;gap:12px }
#trend-native .drop-icon {width:46px;height:46px }
#trend-native .drop-text b {font-size:15px }
#trend-native .date-row input {flex:1;min-width:130px;font-size:16px }
/* CO-1111-02：窄屏溢出修复。实测 390px 下 .ov-select 的 min-content（「Master 11（定数 11.5）」）
   把 layout viewport 撑到 493px：整页横向可滚、卡片右侧被裁、媒体查询基准错位（用户报「移动端排版崩了」）。
   修法 = 表单控件可收缩（min-width:0 + flex）+ 识别卡窄屏改成「缩略图贴标题、其余全宽」单列，
   facts 数值不再被省略号吃掉。仅作用于 <=760px，桌面零变化。 */
#trend-native .item {row-gap:9px }
#trend-native .item-main {display:contents }
#trend-native .item-top {grid-column:2;min-width:0 }
#trend-native .facts,
#trend-native .override-panel,
#trend-native .date-row,
#trend-native .why,
#trend-native .fileline {grid-column:1 / -1 }
#trend-native .facts {padding:8px;gap:8px 8px }
#trend-native .fact .v {font-size:14.5px;letter-spacing:-.1px }
#trend-native .fact .k {font-size:11px }
#trend-native .ov-row {min-width:0;gap:6px;flex-wrap:wrap }
#trend-native .ov-row span {width:auto;min-width:0;flex:0 0 auto }
#trend-native .ov-select {flex:1 1 auto;min-width:0;max-width:100%;width:auto }
#trend-native .ov-input {flex:1 1 0;width:auto;min-width:0;max-width:100% }
#trend-native .manual-search {flex-direction:column }
#trend-native .manual-search .btn {width:100% }
#trend-native .manual-grid,
#trend-native .simple-grid {grid-template-columns:1fr 1fr }
#trend-native .mf input,
#trend-native .mf select,
#trend-native .field input,
#trend-native .manual-search input,
#trend-native .day-rating .edit input,
#trend-native .edit-row input,
#trend-native .range-dates input {font-size:16px }
#trend-native .range-presets {width:100%;margin-left:0 }
#trend-native .range-dates {width:100% }
#trend-native .range-dates input {flex:1;min-width:0 }
#trend-native .manual-actions .btn {width:100% }
#trend-native .manual-tabs button {flex:1;padding:0 10px }
#trend-native .day-head .btn {width:100% }
#trend-native .edit-row .main {flex:1 0 100% }
#trend-native .edit-row input {flex:1;width:auto }
#trend-native .day-detail-list {max-height:400px }
#trend-native .submit-row {align-items:stretch }
#trend-native .submit-row .btn {width:100% } }
@media (prefers-reduced-motion:reduce) {#trend-native * {animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important } }

/* ---------- 主页内嵌布局覆盖 ---------- */
#trend-native {
  display: block;
  min-height: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
  position: static;
  color: var(--ink);
  font-family: var(--font-cn);
}
#trend-native .shell {
  max-width: none;
  margin: 0;
  padding-bottom: 0;
}
#trend-native .tn-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 20px;
  margin-bottom: 18px;
  background: var(--glass);
  border: 2px solid var(--border);
  border-radius: 18px;
  box-shadow: 3px 8px 7px rgba(86, 70, 130, .10);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}
#trend-native .tn-head .qq-avatar { width: 46px; height: 46px; flex: 0 0 46px; }
#trend-native .tn-head .field { flex: 0 0 230px; }
#trend-native .tn-head .hintline { margin: 0; flex: 1 1 260px; }
#trend-native .tn-head .tn-link {
  margin-left: auto;
  color: var(--pink-dk);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
#trend-native .tn-head .tn-link:hover { text-decoration: underline; }
#trend-native .chart-box { min-height: 320px; }
#trend-native .chart-box svg { width: 100%; height: auto; }
#trend-native .tn-chart-card .sec { margin-bottom: 12px; }

@media (min-width: 900px) {
  #trend-native .chart-box { min-height: 480px; }
}
@media (max-width: 760px) {
  #trend-native .tn-head { gap: 10px; padding: 12px 16px; }
  #trend-native .tn-head .field { flex: 1 1 100%; }
  #trend-native .tn-head .hintline { flex: 1 1 100%; }
  #trend-native .tn-head .tn-link { margin-left: 0; }
  #trend-native .chart-box { min-height: 320px; }
  #trend-native .tn-qq-side { display: none; }
}

/* ---------- CO-1107-07 手动登记 tab 标签不折行（窄屏「只追加 Rating」被挤成两行） ---------- */
#trend-native .manual-tabs button { white-space: nowrap; }
@media (max-width: 760px) {
  #trend-native .manual-tabs { gap: 6px; }
  #trend-native .manual-tabs button { flex: 1 1 auto; padding: 0 6px; font-size: 13px; }
}

/* 手动填写（未识别卡片） */
#trend-native .mf-panel { gap: 8px; }
#trend-native .mf-hits { display: flex; flex-direction: column; gap: 4px; max-height: 180px; overflow: auto; margin: 2px 0 4px; }
#trend-native .mf-hit { text-align: left; background: #fff; border: 1px solid #e3e7f2; border-radius: 8px; padding: 6px 8px; cursor: pointer; font-size: 13px; color: #161a28; }
#trend-native .mf-hit:hover { border-color: #7b5cff; }
#trend-native .mf-hit i { color: #6b7488; font-style: normal; font-size: 12px; margin-left: 6px; }
#trend-native .mf-picked { font-size: 12px; color: #5638d8; }
#trend-native .mf-open { white-space: nowrap; }

/* 点击缩略图查看大图 */
#trend-lightbox.trend-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(10, 12, 20, .82); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
#trend-lightbox img { max-width: 96vw; max-height: 92vh; object-fit: contain; border-radius: 8px; box-shadow: 0 16px 48px rgba(0, 0, 0, .5); background: #fff; }
/* CO-1119-24: 移动端导出图长按保存提示 */
#trend-lightbox .trend-lightbox-tip { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); background: rgba(20,22,32,.92); color: #fff; font-size: 15px; line-height: 1.5; padding: 9px 18px; border-radius: 999px; white-space: nowrap; pointer-events: none; z-index: 2; }

/* ============================================================
   CO-1111-09 · 暗色主题（跟随设备主题，无开关无 cookie）
   变量在同一元素作用域内被后声明覆盖 —— 特异性相同、位置在文件末尾，故必定生效。
   半透明白玻璃已统一走 rgba(var(--tw),X)，这里只翻 --tw 与语义色。
   ============================================================ */
@media (prefers-color-scheme: dark) {
  #trend-native {
    color-scheme:dark;
    --tw:27,32,44;
    --bg:#0c0f16;
    --ink:#eef1f7; --ink2:#c7cddc; --muted:#949eb2; --faint:#737d90;
    --border:#2a3141; --border-strong:#3a4254; --line:#222836;
    --surface:#171b25; --surface-2:#1d2230;
    --shadow:rgba(0,0,0,.52);
    --pink:#ff5c95; --pink-soft:rgba(255,61,127,.16); --pink-dk:#ff86ac;
    --purple:#9b85ff; --purple-soft:rgba(123,92,255,.20); --purple-dk:#b9a8ff;
    --cyan:#33d3e9; --cyan-soft:rgba(15,188,214,.16); --cyan-dk:#5fdfef;
    --ok:#4ac26b; --ok-soft:rgba(26,127,55,.20);
    --warn:#e3b341; --warn-soft:rgba(154,103,0,.22);
    --danger:#ff7b72; --danger-soft:rgba(207,34,46,.20);
  }
  /* 危险操作按钮 hover 原本是「亮红底 + 白字」，暗色下改深色字更清楚 */
  #trend-native .mini.danger:hover { color:#2a0b0b }
  /* ★ CO-1111-09：手动搜索命中项原本是白底深字（#fff / #161a28），暗色下会变成
     一块刺眼白卡、还压着浅色字，跟着变量翻面。 */
  #trend-native .mf-hit { background:var(--surface); border-color:var(--border); color:var(--ink2) }
  #trend-native .mf-hit:hover { background:var(--surface-2) }
  #trend-native .mf-hit i { color:var(--muted) }
  /* ★ #trend-native .btn-primary 的 id 权重压过了 style.css 的暗色覆盖，
     白字落在提亮后的 --pink(#ff5c95) 上只有 2.9:1，这里同权重再压深一档（≈4.6:1）。 */
  #trend-native .btn-primary { background:#e01e60; border-color:#e01e60 }
  #trend-native .btn-primary:hover:not(:disabled) { background:#c81a57; border-color:#c81a57 }
  /* 拍照/上传区的虚线框在深底上加深一档，避免和白卡混淆 */
  #trend-native .drop { border-color:var(--border-strong) }
}

/* ★ CO-1114-07：「修改单条成绩」每行支持达成率 + 推分 +N 两个输入框。
   编辑面板的行来自 day?all=1（含被 +0 规则折叠的行），所以要标出「未登记推分」。 */
#trend-native .day-hint {font-size:12px;line-height:1.6;color:var(--muted);margin:-4px 0 10px }
#trend-native .edit-row .ef {display:flex;align-items:center;gap:6px;min-width:0 }
#trend-native .edit-row .ef span {font-size:12px;color:var(--muted);white-space:nowrap }
#trend-native .edit-row .ef input {width:96px;min-width:0 }
#trend-native .edit-row .ef input.row-gain {width:82px }
#trend-native .edit-row .no-gain {font-style:normal;color:var(--warn);font-weight:700 }
#trend-native .row-gain {width:78px }
#trend-native .row-gain::placeholder {font-size:12px;color:var(--faint) }
@media (max-width:760px) {
  #trend-native .edit-row .ef {flex:1 1 42%;min-width:0 }
  #trend-native .edit-row .ef input,
  #trend-native .edit-row .ef input.row-gain {
    flex:1;width:auto;min-width:0;max-width:100%;font-size:16px }
  #trend-native .day-card.editing input.row-ach {
    flex:1 1 0;width:auto;min-width:0;font-size:16px }
}
