@charset "utf-8";
/* =============================================================================
   daxling-daily.css —— 「憨憨的马叔每日早报」专用版式（列表页 + 详情页）
   -----------------------------------------------------------------------------
   设计原则
     · 只写早报版式，站头 / 页脚 / 按钮 / 设计令牌全部复用 daxling.css，
       本文件不重复定义 --brand-* / --ink* / --line* 等任何全站令牌。
     · 类名统一前缀：
         .dx-daily-*  → 列表页（宽栏，跟着 dx-wrap 1240px 走）
         .rp-*        → 详情页（窄栏 480px 居中 + 深色天气面板）
     · 详情页是「导出图片」的捕获范围，凡是交互件（固定动作条 / 提示条 /
       「切回汕头」按钮）都必须在 body.is-exporting 下一律隐藏。

   修改后请把 layout/daily.html 里的 ?v= 数字加一，否则浏览器读缓存。
   ============================================================================= */

/* =============================================================================
   1. 页面骨架
   ============================================================================= */
body.dx-daily-shell {
    /* 早报内容列宽度：只有详情页用，写在 body 上让固定动作条也能继承 */
    --rp-col: 480px;

    /* 浅色画布 + 两团极淡品牌色光晕：480px 窄栏在宽屏下两侧不会太空 */
    background-color: var(--bg);
    background-image:
        radial-gradient(620px 340px at 10% -60px, rgba(14, 165, 233, .10), rgba(14, 165, 233, 0) 70%),
        radial-gradient(560px 320px at 90% 30px, rgba(16, 185, 129, .10), rgba(16, 185, 129, 0) 70%);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.dx-daily-main { display: block; padding: 20px 16px 26px; }

/* 详情页内容列：底部留出固定动作条的高度，列表页不受影响 */
.rp-col { width: 100%; max-width: var(--rp-col); margin: 0 auto 104px; }

/* =============================================================================
   2. 列表页（/index/daily）
   ============================================================================= */
.dx-daily-list { display: block; }

.dx-daily-head {
    display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px;
    padding: 22px 0 18px;
}
.dx-daily-head h1 {
    font-size: 28px; font-weight: 900; letter-spacing: -.025em; line-height: 1.25; margin: 0;
}
.dx-daily-head h1 em { font-style: normal; color: var(--brand-2); }
.dx-daily-head .sub { color: var(--ink-3); font-size: 13px; margin-top: 6px; }
.dx-daily-head .sub b { color: var(--brand-1); font-weight: 700; }

.dx-daily-search { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.dx-daily-search input[type=text],
.dx-daily-search select {
    height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
    background: var(--surface); font-size: 13.5px; outline: 0; color: var(--ink);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.dx-daily-search input[type=text] { width: 210px; }
.dx-daily-search input[type=text]:focus,
.dx-daily-search select:focus { border-color: #0ea5e966; box-shadow: 0 0 0 4px #0ea5e914; }

/* align-items:start 很关键：默认 stretch 会把没有配图的卡片拉到与最高卡片同高，
   中段被 .meta 的 margin-top:auto 顶到底部 ⇒ 卡片中间空出一大片 */
.dx-daily-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.dx-daily-card {
    display: flex; flex-direction: column; gap: 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
    padding: 16px 18px 14px; box-shadow: var(--sh-1);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.dx-daily-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #0ea5e933; }
.dx-daily-card .row1 { display: flex; align-items: center; gap: 8px; }
.dx-daily-card .date { font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.dx-daily-card .wd { font-size: 11.5px; color: var(--muted); }
.dx-daily-card .badge-city {
    margin-left: auto; font-size: 11px; font-weight: 600; color: var(--brand-1);
    background: #0ea5e912; border: 1px solid #0ea5e930; border-radius: var(--radius-pill); padding: 2px 8px;
}
.dx-daily-card h3 { font-size: 14.5px; font-weight: 700; margin: 0; line-height: 1.5; color: var(--ink); }
.dx-daily-card .excerpt { font-size: 12.8px; color: var(--ink-3); line-height: 1.72; margin: 0; }
.dx-daily-card .meta {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px;
    border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted);
}
.dx-daily-card .meta b { color: var(--ink-3); font-weight: 600; }
.dx-daily-card .alert-tag { color: #b45309; font-weight: 600; }

/* 带配图的卡片（定时任务切片后显示缩略图） */
.dx-daily-thumb {
    display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top center;
    border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--surface-2);
}

.dx-daily-empty {
    padding: 56px 0; text-align: center; color: var(--muted); font-size: 14px;
    background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius-l);
}
.dx-daily-pager { margin: 22px 0 6px; text-align: center; }
.dx-daily-pager .pagination { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.dx-daily-pager .pagination li > a,
.dx-daily-pager .pagination li > span {
    display: inline-block; min-width: 36px; padding: 7px 11px; border-radius: 10px;
    border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2);
    font-size: 13px; text-align: center;
}
.dx-daily-pager .pagination .active > span {
    background: var(--brand-grad); border-color: transparent; color: #fff; font-weight: 700;
}

/* =============================================================================
   3. 详情页 · 整卡容器（导出图片的捕获范围）
   ============================================================================= */
.rp-card { display: block; background: transparent; border-radius: var(--radius-l); padding: 14px; }
.rp-card > * + * { margin-top: 12px; }

/* =============================================================================
   4. 详情页 · 报头（「憨憨的马叔每日早报」要一眼看见）
   ============================================================================= */
.rp-mast {
    position: relative; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
    padding: 20px 20px 18px; box-shadow: var(--sh-2);
}
.rp-mast::after {
    content: ""; position: absolute; inset: auto -70px -95px auto; width: 230px; height: 230px; border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, .16), rgba(14, 165, 233, 0) 68%); pointer-events: none;
}
.rp-mast-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.rp-kicker {
    display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .05em;
    color: var(--brand-1); background: #0ea5e912; border: 1px solid #0ea5e930; border-radius: var(--radius-pill); padding: 3px 10px;
}
.rp-kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-grad); display: inline-block; }
.rp-datechip { font-size: 12.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }

.rp-title {
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 2px;
    font-size: 29px; font-weight: 900; letter-spacing: -.025em; line-height: 1.24;
}
.rp-title .rp-bar {
    align-self: center; width: 5px; height: 26px; margin-right: 11px; border-radius: 3px; background: var(--brand-grad); flex: 0 0 auto;
}
.rp-title .rp-t1 { color: var(--brand-2); }
.rp-title .rp-t2 { color: var(--ink); }
.rp-slogan { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); letter-spacing: .01em; }
.rp-slogan b { color: var(--brand-1); font-weight: 700; }
.rp-slogan-sub { margin-top: 5px; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.rp-slogan-sub i { font-style: normal; color: var(--line-strong); margin: 0 6px; }

/* =============================================================================
   5. 详情页 · 天气主视觉（深色面板，与首页 Hero 同一套色）
   ============================================================================= */
.rp-hero {
    position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-l);
    background: linear-gradient(150deg, #0b2536 0%, #0d3a3c 52%, #0f3d33 100%);
    box-shadow: var(--sh-3);
}
.rp-hero::before { /* 网格纹理：和首页 Hero 的工程感底纹一致 */
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 26px 26px;
}
.rp-hero::after {
    content: ""; position: absolute; width: 280px; height: 280px; right: -110px; top: -120px; border-radius: 50%;
    background: radial-gradient(circle, #0ea5e955, #0ea5e900 68%); pointer-events: none;
}
.rp-hero-in { position: relative; padding: 18px 18px 16px; }

.rp-alert {
    display: flex; align-items: flex-start; gap: 8px; margin-bottom: 14px;
    background: linear-gradient(100deg, #f59e0b2e, #f59e0b14);
    border: 1px solid #f59e0b66; border-radius: var(--radius-s); padding: 9px 12px;
    font-size: 12.5px; line-height: 1.55; color: #fde68a;
}
.rp-alert svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 2px; color: #fbbf24; }
/* 注意：作者样式里的 display 会压过浏览器对 [hidden] 的 display:none，必须显式复位 */
.rp-alert[hidden], .rp-back[hidden],
.rp-panel[hidden], .rp-hourswrap[hidden] { display: none !important; }

.rp-loc { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.rp-loc-l { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--panel-ink); }
.rp-loc-l svg { width: 14px; height: 14px; color: #7dd3fc; }
.rp-loc-r { font-size: 11.5px; color: var(--panel-ink-2); display: inline-flex; align-items: center; gap: 8px; }
.rp-back {
    font-size: 11px; font-weight: 600; color: #fff; -webkit-text-fill-color: #fff;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .34);
    border-radius: var(--radius-pill); padding: 2px 9px; line-height: 1.6;
    transition: background var(--t-fast), border-color var(--t-fast);
}
.rp-back:hover { background: rgba(255, 255, 255, .26); border-color: rgba(255, 255, 255, .6); }

.rp-now { display: flex; align-items: center; gap: 14px; margin: 6px 0 2px; }
.rp-temp { font-size: 58px; font-weight: 200; line-height: 1; letter-spacing: -.04em; color: #fff; }
.rp-temp sup { font-size: 20px; font-weight: 400; vertical-align: top; margin-left: 2px; color: var(--panel-ink-2); }
.rp-now-ico { width: 52px; height: 52px; flex: 0 0 auto; margin-left: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.rp-now-txt { font-size: 14.5px; font-weight: 600; color: #fff; margin-top: 2px; }
.rp-now-sub { font-size: 12.5px; color: var(--panel-ink-2); margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; }

.rp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 15px; }
.rp-tile { background: rgba(255, 255, 255, .07); border: 1px solid var(--panel-line); border-radius: var(--radius-s); padding: 8px 9px; }
.rp-tile dt { font-size: 10.5px; color: var(--panel-ink-2); display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.rp-tile dt svg { width: 11px; height: 11px; }
.rp-tile dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; letter-spacing: -.01em; }
.rp-tile dd small { font-size: 10px; font-weight: 400; color: var(--panel-ink-2); margin-left: 2px; }

.rp-hourswrap { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--panel-line); }
.rp-hours { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.rp-hour { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; }
.rp-hour .h-t { font-size: 10.5px; color: var(--panel-ink-2); letter-spacing: .02em; }
.rp-hour .h-i { width: 22px; height: 22px; }
.rp-hour .h-v { font-size: 13.5px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.rp-hour .h-w { font-size: 9.5px; color: var(--panel-ink-2); white-space: nowrap; transform: scale(.94); }
.rp-hour .h-bar { width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.rp-hour .h-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #7dd3fc, #34d399); }

/* =============================================================================
   6. 详情页 · 浅色面板 + 栏目标题（左侧渐变竖条，同首页「快捷导航」）
   ============================================================================= */
.rp-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--sh-2); overflow: hidden; }
.rp-panel-hd { display: flex; align-items: center; gap: 10px; padding: 15px 18px 12px; border-bottom: 1px solid var(--line); }
.rp-panel-hd .b { width: 4px; height: 17px; border-radius: 3px; background: var(--brand-grad); flex: 0 0 auto; }
.rp-panel-hd h2 { font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; }
.rp-panel-hd .desc { font-size: 11.5px; color: var(--muted); margin-left: 2px; }
.rp-panel-hd .tail { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--brand-1); background: #0ea5e912; border-radius: var(--radius-pill); padding: 2px 9px; white-space: nowrap; }
.rp-panel-bd { padding: 14px 18px 18px; }

/* 今日概况 */
.rp-summary { position: relative; padding-left: 32px; font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.rp-summary svg { position: absolute; left: 0; top: 4px; width: 18px; height: 18px; color: var(--brand-1); }
.rp-summary b { color: var(--ink); font-weight: 700; }

/* 未来 7 天 */
.rp-days { display: grid; gap: 2px; }
.rp-day { display: grid; grid-template-columns: 70px 26px 1fr 82px; align-items: center; gap: 9px; padding: 7px 0; border-radius: 10px; }
.rp-day:hover { background: var(--surface-2); }
.rp-day .d-n { font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; display: flex; align-items: baseline; gap: 5px; }
.rp-day .d-n em { font-style: normal; font-size: 10.5px; font-weight: 400; color: var(--muted); }
.rp-day .d-i { width: 24px; height: 24px; }
.rp-day .d-bar { position: relative; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.rp-day .d-bar i { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, #7dd3fc, #0ea5e9 45%, #10b981); }
.rp-day .d-v { font-size: 12.5px; text-align: right; color: var(--ink-3); white-space: nowrap; }
.rp-day .d-v b { color: var(--ink); font-weight: 700; }

/* 骨架屏 */
.rp-sk { height: 14px; border-radius: 7px; background: linear-gradient(90deg, #eef2f8 25%, #e2eaf5 37%, #eef2f8 63%); background-size: 400% 100%; animation: rpSk 1.3s ease-in-out infinite; }
@keyframes rpSk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.rp-empty { margin: 0; padding: 10px 0 6px; text-align: center; font-size: 12.5px; color: var(--muted); }
.rp-skwrap { display: grid; gap: 12px; }
.rp-skwrap > div { display: grid; grid-template-columns: 70px 26px 1fr 82px; gap: 9px; align-items: center; }

/* 新闻列表 */
.rp-list { display: grid; gap: 2px; }
.rp-item { display: flex; gap: 11px; padding: 9px 10px; border-radius: var(--radius-s); transition: background var(--t-fast); }
.rp-item:hover { background: var(--brand-grad-soft); }
.rp-num {
    flex: 0 0 auto; width: 21px; height: 21px; margin-top: 2px; border-radius: 7px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: var(--brand-1);
    background: #0ea5e912; border: 1px solid #0ea5e926;
}
.rp-item.is-top .rp-num { background: var(--brand-grad); border-color: transparent; color: #fff; }
.rp-txt { font-size: 13.8px; line-height: 1.72; color: var(--ink-2); }
.rp-txt .t { color: var(--ink); font-weight: 500; }
.rp-src { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }

/* 页脚 */
.rp-foot { padding: 16px 18px; text-align: center; font-size: 11.5px; color: var(--muted); line-height: 1.9; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); }
.rp-foot b { color: var(--ink-3); font-weight: 600; }
.rp-foot .dot { margin: 0 6px; opacity: .5; }

/* =============================================================================
   7. 详情页 · 上一期 / 下一期 / 返回列表
   ============================================================================= */
.rp-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.rp-nav a, .rp-nav span {
    display: block; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--sh-1);
    font-size: 13px; color: var(--ink-2); line-height: 1.5;
    transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
}
.rp-nav a:hover { transform: translateY(-2px); border-color: #0ea5e933; box-shadow: var(--sh-2); color: var(--brand-1); }
.rp-nav .k { display: block; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.rp-nav .v { font-weight: 700; color: var(--ink); }
.rp-nav a:hover .v { color: var(--brand-1); }
.rp-nav .is-dis { opacity: .5; }
.rp-nav .next { text-align: right; }

.rp-backlist { margin-top: 12px; text-align: center; }
.rp-backlist a {
    display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 18px;
    background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
    font-size: 13.5px; font-weight: 600; color: var(--ink-2);
    transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.rp-backlist a:hover { border-color: #0ea5e966; color: var(--brand-1); background: #0ea5e90d; }

/* =============================================================================
   7.5 详情页 · 长图版（定时任务切出的新闻截图）
   —— 刻意放在 #rpCard 之外：截图本身就是这一页的「扁平复刻」，
      放进捕获范围会自己套自己（越导越长）；放外面则是纯展示区。
   ============================================================================= */
.rp-figs {
    margin-top: 14px; padding: 16px 16px 6px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-l); box-shadow: var(--sh-1);
}
.rp-figs-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.rp-figs-hd i.b {
    width: 4px; height: 16px; border-radius: 2px; background: var(--grad); flex: 0 0 auto;
}
.rp-figs-hd h2 { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.rp-figs-hd .tail { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.rp-figs-tip { margin: 6px 0 12px; font-size: 12px; color: var(--muted); line-height: 1.7; }

.rp-fig { margin: 0 0 14px; }
.rp-fig a { display: block; border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); background: #eef3f9; }
.rp-fig img { display: block; width: 100%; height: auto; }
.rp-fig figcaption {
    margin-top: 7px; font-size: 11.5px; color: var(--muted);
    display: flex; align-items: center; gap: 6px;
}
.rp-fig figcaption b { color: var(--ink-3); font-weight: 600; }
.rp-fig figcaption .dot { opacity: .5; }

/* 长图很高，窄屏先给「顶部一截 + 渐隐提示」，点开看原图（避免 4 张长图刷 7 屏）
   ⚠ 不能靠 img{object-fit} 来裁：img 是 height:auto，object-fit 根本不生效；
     要裁的是承载它的框（.rp-fig a），靠 overflow:hidden 才收得住。 */
@media (max-width: 760px) {
    .rp-fig a { position: relative; max-height: 300px; overflow: hidden; }
    .rp-fig a::after {
        content: '点击查看原图';
        position: absolute; left: 0; right: 0; bottom: 0;
        padding: 26px 10px 11px; text-align: center;
        font-size: 12px; font-weight: 600; letter-spacing: .3px; color: #fff;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, .74));
    }
}

/* =============================================================================
   8. 详情页 · 底部固定动作条（不进导出图片）
   ============================================================================= */
.rp-actions {
    position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 800;
    width: min(var(--rp-col), calc(100% - 24px));
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    padding: 9px; border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .82); border: 1px solid var(--line-strong);
    -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    box-shadow: var(--sh-3);
}
.rp-actions .dx-btn { height: 40px; padding: 0 10px; font-size: 13px; border-radius: var(--radius-pill); }
.rp-actions .dx-btn:disabled { opacity: .6; cursor: progress; }
.rp-actions .dx-btn .dx-ico { width: 16px; height: 16px; }

/* 提示条 */
.rp-toast {
    position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 10px); z-index: 950;
    max-width: min(var(--rp-col), calc(100% - 32px));
    padding: 10px 16px; border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, .92); color: #fff; font-size: 13px; font-weight: 500;
    box-shadow: var(--sh-3); opacity: 0; pointer-events: none; transition: opacity var(--t), transform var(--t);
    text-align: center;
}
.rp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* 后台预览条：只有带 ?preview=1 时服务端才输出，导出图片时也会隐藏 */
.rp-preview {
    margin: 0 auto 12px; max-width: var(--rp-col);
    display: flex; align-items: center; gap: 8px;
    padding: 9px 14px; border-radius: var(--radius-pill);
    background: #f59e0b14; border: 1px solid #f59e0b55; color: #b45309; font-size: 12.5px; font-weight: 600;
}
.rp-preview svg { width: 15px; height: 15px; flex: 0 0 auto; }

/* 导出时的干净态：隐藏悬浮层与交互件 */
body.is-exporting .rp-actions,
body.is-exporting .rp-toast,
body.is-exporting .rp-back,
body.is-exporting .rp-preview { display: none !important; }

/* =============================================================================
   9. 响应式
   ============================================================================= */
@media (max-width: 1000px) { .dx-daily-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 760px) {
    .dx-daily-main { padding: 14px 12px 22px; }
    .rp-col { margin-bottom: 96px; }
    .rp-card { padding: 10px; border-radius: 22px; }
    .rp-title { font-size: 26px; }
    .rp-temp { font-size: 52px; }
    .rp-tile dd { font-size: 13px; }
    .rp-hour .h-w { display: none; }
    .rp-day { grid-template-columns: 64px 24px 1fr 74px; gap: 7px; }
    .rp-actions { bottom: 12px; }
    .rp-actions .dx-btn { font-size: 12px; padding: 0 6px; }
    .rp-actions .dx-btn .dx-ico { width: 15px; height: 15px; }
    .rp-nav { grid-template-columns: 1fr; }

    .dx-daily-grid { grid-template-columns: 1fr; }
    .dx-daily-head { padding: 16px 0 14px; }
    .dx-daily-head h1 { font-size: 23px; }
    .dx-daily-search { margin-left: 0; width: 100%; }
    .dx-daily-search input[type=text] { flex: 1 1 auto; width: auto; }
}

@media (max-width: 420px) {
    .rp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rp-actions .dx-btn { font-size: 11.5px; padding: 0 4px; gap: 4px; }
    .rp-actions .dx-btn .dx-ico { width: 14px; height: 14px; }
}
/* 极窄屏（<360px）才收成纯图标，避免文字挤成一团 */
@media (max-width: 359px) {
    .rp-actions .dx-btn span { display: none; }
    .rp-actions .dx-btn .dx-ico { width: 19px; height: 19px; }
}
@media print {
    .dx-header, .rp-actions, .rp-toast, .rp-nav, .rp-backlist, .rp-preview { display: none !important; }
    .dx-daily-main { padding: 0; }
    .rp-col { margin-bottom: 0; max-width: none; }
}
