/* 小程序端视觉（后台预览 / H5 模拟器共用） */
.mp-page {
  background: linear-gradient(180deg, var(--dsoft, #fff1e8) 0, rgba(255, 247, 240, 0) 240px), #fff7f0;
  min-height: 100%;
  padding-bottom: 84px;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #2a211c;
  -webkit-font-smoothing: antialiased;
}
.mp-page::-webkit-scrollbar { width: 0; }

.mp-block { position: relative; }
.mp-block.editor { cursor: pointer; }
.mp-block.editor:hover { outline: 1px dashed rgba(239, 100, 68, 0.55); outline-offset: -1px; }
.mp-block.editor.sel { outline: 2px solid #ef6444; outline-offset: -2px; }
.mp-block-tag {
  position: absolute; left: 6px; top: 6px; background: rgba(239, 100, 68, 0.92); color: #fff;
  font-size: 10px; padding: 2px 7px; border-radius: 5px; opacity: 0; transition: 0.15s; pointer-events: none; z-index: 9;
}
.mp-block.editor:hover .mp-block-tag, .mp-block.editor.sel .mp-block-tag { opacity: 1; }

.mp-block-pad { padding: 4px 14px 10px; }
.mp-empty-tip { margin: 10px 14px; padding: 16px; border-radius: 12px; background: #fff; color: #b9a396; font-size: 12px; text-align: center; }

/* 情侣卡片 */
.mp-couple-card {
  height: 196px; background-size: cover; background-position: center; border-radius: 0 0 24px 24px;
  display: flex; align-items: flex-end; padding: 22px 20px; color: #fff; position: relative; overflow: hidden;
  box-shadow: inset 0 -70px 70px -46px rgba(30, 12, 6, 0.6);
}
.mp-couple-card.center { justify-content: center; text-align: center; }
.mp-couple-inner { position: relative; z-index: 2; width: 100%; }
.mp-couple-title { font-size: 20px; font-weight: 900; letter-spacing: -0.4px; text-shadow: 0 2px 10px rgba(40, 18, 8, 0.35); }
.mp-couple-sub { font-size: 11.5px; opacity: 0.92; margin-top: 6px; letter-spacing: 0.4px; }
.mp-couple-chip {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 11px;
  background: rgba(255, 255, 255, 0.22); border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 10px; border-radius: 20px; backdrop-filter: blur(6px);
}
.mp-couple-cta {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 13px; cursor: pointer;
  font-size: 11.5px; font-weight: 700; color: var(--dp); background: #fff;
  padding: 7px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(30, 12, 6, 0.28);
}

/* 搜索 */
.mp-search-wrap { padding: 10px 14px 8px; }
.mp-search { height: 36px; background: #fff; border-radius: 10px; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 12px; color: #a48f81; box-shadow: 0 2px 8px rgba(120, 70, 40, 0.06); }
.mp-search.round { border-radius: 20px; }
.mp-search-input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 12px; color: #5c4b41; height: 100%; }
.mp-search-input::placeholder { color: #a48f81; }

/* 公告 */
.mp-notice { margin: 4px 14px 8px; background: #fdf1e7; border-radius: 10px; padding: 8px 11px; display: flex; align-items: center; gap: 7px; }
.mp-notice-ico { font-size: 13px; }
.mp-notice-txt { font-size: 11px; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* 轮播 */
.mp-banner { margin: 6px 14px 10px; overflow: hidden; position: relative; background: #f4e6dc; }
.mp-banner-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; }
.mp-banner-track::-webkit-scrollbar { height: 0; }
.mp-banner-item { flex: 0 0 100%; height: 100%; scroll-snap-align: start; position: relative; }
.mp-banner-item img { width: 100%; height: 100%; object-fit: cover; }
.mp-banner-cap { position: absolute; left: 14px; bottom: 12px; color: #fff; font-size: 12px; font-weight: 700; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
.mp-banner-dots { position: absolute; right: 14px; bottom: 10px; display: flex; gap: 4px; }
.mp-banner-dots i { width: 5px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.55); }
.mp-banner-dots i.on { width: 14px; background: #fff; }
.mp-ph { width: 100%; height: 100%; display: grid; place-items: center; color: #b99e8d; font-size: 12px; background: repeating-linear-gradient(45deg, #f7ece4, #f7ece4 8px, #f2e2d7 8px, #f2e2d7 16px); }
.mp-ph[style*="height:130px"] { border-radius: 12px; }

/* 金刚区 */
.mp-nav { display: grid; gap: 4px; margin: 6px 14px 10px; background: #fff; border-radius: 16px; padding: 14px 6px; box-shadow: 0 2px 10px rgba(120, 70, 40, 0.05); }
.mp-nav-item { text-align: center; padding: 4px 0; }
.mp-nav-ico { width: 40px; height: 40px; margin: 0 auto 5px; border-radius: 14px; background: #fff2eb; display: grid; place-items: center; font-size: 19px; }
.mp-nav-txt { font-size: 11px; color: #5c4b41; }

/* 标题 */
.mp-title { padding: 14px 16px 8px; }
.mp-title.center { text-align: center; }
.mp-title-main { font-size: 17px; font-weight: 900; letter-spacing: -0.3px; display: flex; align-items: center; gap: 7px; }
.mp-title-main::before { content: ''; width: 3px; height: 0.92em; border-radius: 3px; background: linear-gradient(180deg, var(--dg1), var(--dp)); flex: 0 0 auto; }
.mp-title.center .mp-title-main { justify-content: center; }
.mp-title.center .mp-title-main::before { display: none; }
.mp-title-main.small { font-size: 14px; margin-bottom: 9px; }
.mp-title-main.small:first-child { margin-top: 6px; }
.mp-title-sub { font-size: 11px; color: #a48f81; margin-top: 4px; }

/* 菜品 */
.mp-dishlist { padding: 0; }
.mp-dish-wrap.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px 6px; }
.mp-dish-wrap.list { display: flex; flex-direction: column; gap: 10px; padding: 0 14px 6px; }
.mp-dish-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid rgba(232, 143, 107, 0.14); box-shadow: 0 6px 18px rgba(120, 70, 40, 0.08); transition: transform 0.16s, box-shadow 0.16s; }
.mp-dish-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(120, 70, 40, 0.13); }
.mp-dish-cover { position: relative; aspect-ratio: 1 / 1; background: #f7ece4; overflow: hidden; }
.mp-dish-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.mp-dish-card:hover .mp-dish-cover img { transform: scale(1.05); }
.mp-dish-cover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(180deg, rgba(40, 18, 8, 0), rgba(40, 18, 8, 0.22)); pointer-events: none; }
.mp-dish-body { padding: 9px 10px 11px; }
.mp-dish-name { font-size: 13px; font-weight: 800; line-height: 1.3; letter-spacing: -0.1px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mp-dish-tags { display: flex; gap: 4px; margin-top: 5px; min-height: 0; flex-wrap: wrap; }
.mp-dish-tags i { font-style: normal; font-size: 9px; color: #c9603c; background: #fff0e8; border-radius: 999px; padding: 2px 6px; }
.mp-dish-sales { font-size: 10px; color: #b2a094; margin-top: 5px; }
.mp-dish-bottom { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 7px; }
.mp-price { color: #e8573a; font-weight: 900; font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: -0.2px; }
.mp-price::first-letter { font-size: 11px; }
.mp-add {
  width: 27px; height: 27px; border-radius: 50%; border: none; color: #fff; font-size: 15px; line-height: 1;
  background: linear-gradient(135deg, #ff9a76, #ef6444); box-shadow: 0 5px 12px rgba(239, 100, 68, 0.36); cursor: pointer;
  display: grid; place-items: center; flex: 0 0 auto; transition: transform 0.12s, filter 0.12s;
}
.mp-add:hover { filter: brightness(1.06); }
.mp-add:active { transform: scale(0.9); }

.mp-dish-row { display: flex; gap: 11px; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 3px 12px rgba(120, 70, 40, 0.06); }
.mp-dish-row .mp-dish-cover { width: 88px; height: 88px; flex: 0 0 auto; border-radius: 11px; aspect-ratio: auto; }
.mp-dish-main { flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative; }
.mp-dish-main .mp-dish-name { font-size: 14px; }
.mp-dish-main .mp-dish-bottom { margin-top: auto; }
/* 官方菜「移出我们的菜单」按钮：与右下角「＋」同一竖列、同尺寸（27px / right:0），上下对齐 */
.mp-dish-x {
  position: absolute; top: 0; right: 0; box-sizing: border-box;
  width: 27px; height: 27px; line-height: 25px; text-align: center;
  border-radius: 50%; border: 1px solid #ece0d6; background: #f7f0ea; color: #b9a294;
  font-size: 13px; font-weight: 700; cursor: pointer; z-index: 2;
  transition: transform 0.12s, background 0.14s, color 0.14s, border-color 0.14s;
}
.mp-dish-x:hover { background: #fdeae4; color: #e8573a; border-color: #f7cfc4; }
.mp-dish-x:active { transform: scale(0.9); }
/* 扩大点击热区（≈39px），视觉仍是 27px */
.mp-dish-x::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; }
/* 菜名给右上角 ✕ 让位，避免长菜名压到按钮 */
.mp-dish-main .mp-dish-name { padding-right: 32px; }
/* 管理菜单：已移出的官方菜恢复区 */
.mn-hidden-block { margin-top: 14px; padding-top: 10px; border-top: 1px dashed #e7dbd1; }
.mn-hidden-hd { font-size: 11px; color: #a48f81; margin-bottom: 8px; }
.mn-row-dim { opacity: .72; }

/* 热销榜 */
.mp-rank { background: #fff; border-radius: 14px; padding: 6px 12px; box-shadow: 0 3px 12px rgba(120, 70, 40, 0.06); }
.mp-rank-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #f5e7dd; }
.mp-rank-row:last-child { border-bottom: 0; }
.mp-rank-no { width: 18px; font-size: 12px; font-weight: 800; color: #c4b2a6; text-align: center; }
.mp-rank-no.r1 { color: #ef6444; }
.mp-rank-no.r2 { color: #e8903f; }
.mp-rank-no.r3 { color: #c8912f; }
.mp-rank-row img { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; background: #f7ece4; }
.mp-rank-main { flex: 1; min-width: 0; }
.mp-rank-name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-rank-sub { font-size: 10px; color: #b2a094; margin-top: 2px; }
.mp-rank-row .mp-price { font-size: 13px; }

/* 图文 */
.mp-imgtext { border-radius: 14px; overflow: hidden; box-shadow: 0 3px 12px rgba(120, 70, 40, 0.07); }
.mp-imgtext.top .mp-imgtext-img img { width: 100%; height: 148px; object-fit: cover; }
.mp-imgtext.left { display: flex; align-items: center; gap: 12px; padding: 10px; }
.mp-imgtext.left .mp-imgtext-img { width: 96px; flex: 0 0 auto; }
.mp-imgtext.left .mp-imgtext-img img { width: 96px; height: 96px; border-radius: 11px; object-fit: cover; }
.mp-imgtext-txt { padding: 11px 13px 13px; }
.mp-imgtext.left .mp-imgtext-txt { padding: 0; flex: 1; }
.mp-imgtext-title { font-size: 14px; font-weight: 800; }
.mp-imgtext-sub { font-size: 11px; color: #a48f81; margin-top: 4px; line-height: 1.6; }
.mp-imgtext-more { font-size: 11px; color: #ef6444; margin-top: 8px; font-weight: 600; }

/* 倒计时 */
.mp-countdown { margin: 8px 14px; border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.mp-cd-title { flex: 1; font-size: 13px; font-weight: 700; color: #8a4a2c; }
.mp-cd-timer { display: flex; align-items: center; gap: 3px; }
.mp-cd-num { background: #2a211c; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 5px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.mp-cd-timer i { font-style: normal; font-size: 12px; color: #2a211c; font-weight: 700; }

/* 底部 tabbar（H5） */
.mp-tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62px; background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #f6e6db; display: flex; backdrop-filter: blur(10px); z-index: 20; padding-bottom: 4px;
}
.mp-tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10px; color: #a48f81; cursor: pointer; }
.mp-tab .i { font-size: 18px; filter: grayscale(0.55); }
.mp-tab.on { color: #e8573a; font-weight: 700; }
.mp-tab.on .i { filter: none; }
.mp-tab .badge { position: absolute; margin-left: 16px; margin-top: -10px; background: #ef6444; color: #fff; font-size: 9px; border-radius: 10px; padding: 0 4px; }

/* H5 浮层 */
.mp-cartbar {
  position: absolute; left: 12px; right: 12px; bottom: 74px; background: #2a211c; color: #fff; border-radius: 16px;
  display: flex; align-items: center; gap: 10px; padding: 9px 9px 9px 14px; box-shadow: 0 12px 30px rgba(40, 20, 10, 0.28); z-index: 21;
}
.mp-cartbar .t1 { font-size: 12px; opacity: 0.75; }
.mp-cartbar .t2 { font-size: 14px; font-weight: 700; }
.mp-cartbar .go { margin-left: auto; background: linear-gradient(135deg, #ff9a76, #ef6444); border: none; color: #fff; padding: 7px 16px; border-radius: 10px; font-size: 12px; font-weight: 700; cursor: pointer; }

.mp-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 20px 20px 0 0; z-index: 30;
  box-shadow: 0 -12px 40px rgba(40, 20, 10, 0.18); max-height: 82%; display: flex; flex-direction: column;
  animation: sheetUp 0.22s ease;
}
@keyframes sheetUp { from { transform: translateY(30px); opacity: 0.4; } to { transform: none; opacity: 1; } }
.mp-sheet-mask { position: absolute; inset: 0; background: rgba(42, 30, 24, 0.36); z-index: 25; }
.mp-sheet-hd { padding: 16px 16px 10px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #f6e6db; }
.mp-sheet-hd b { font-size: 15px; }
.mp-sheet-hd .x { margin-left: auto; color: #a48f81; cursor: pointer; font-size: 16px; }
.mp-sheet-body { padding: 12px 16px; overflow: auto; flex: 1; }
.mp-sheet-foot { padding: 10px 16px 16px; border-top: 1px solid #f6e6db; display: flex; gap: 10px; align-items: center; }
.mp-sheet-foot .amt { flex: 1; font-size: 15px; font-weight: 800; color: #e8573a; }
.mp-btn-primary { background: linear-gradient(135deg, #ff9a76, #ef6444); color: #fff; border: none; border-radius: 22px; padding: 10px 22px; font-size: 13px; font-weight: 700; cursor: pointer; }
.mp-btn-ghost { background: #fdf3ea; color: #8a6a55; border: none; border-radius: 22px; padding: 10px 16px; font-size: 13px; cursor: pointer; }

.mp-cart-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed #f5e7dd; }
.mp-cart-row img { width: 50px; height: 50px; border-radius: 9px; object-fit: cover; background: #f7ece4; }
.mp-cart-row .m { flex: 1; min-width: 0; }
.mp-cart-row .m .n { font-size: 13px; font-weight: 600; }
.mp-cart-row .m .by { font-size: 10px; color: #b2a094; margin-top: 2px; }
.mp-step { display: flex; align-items: center; gap: 6px; }
.mp-step button { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #f0d8c9; background: #fff; color: #e8573a; font-size: 13px; cursor: pointer; line-height: 1; }
.mp-step span { font-size: 12px; min-width: 16px; text-align: center; }

/* ------------------------------ 防御性布局（防止样式未加载时错位） ------------------------------ */.mp-page { display: block; }
.mp-page > .mp-block { display: block; width: 100%; box-sizing: border-box; }
.mp-page img { max-width: 100%; }
.mp-banner, .mp-nav, .mp-couple-card, .mp-search-wrap, .mp-notice, .mp-title, .mp-countdown { max-width: 100%; box-sizing: border-box; }
/* 组件标签默认彻底隐藏，仅编辑器 hover/选中时显示 */
.mp-block-tag { display: none; }
.mp-block.editor:hover .mp-block-tag,
.mp-block.editor.sel .mp-block-tag { display: block; }

/* ============================ 主题令牌与智能装修 ============================ */
.mp-page {
  --dp: #e8573a; --dg1: #ff9a6b; --dg2: #e23e5a; --dd: #4a2418; --ds: #94766a;
  --dsoft: #fff1e8; --dpage: #fff8f3; --dline: #f6e3d8; --dglow: rgba(232, 87, 58, 0.28);
}
.mp-price { color: var(--dp); }
.mp-dish-cover { background: var(--dsoft); }
.mp-dish-tags i { color: var(--dp); background: var(--dsoft); }
.mp-dish-sales, .mp-rank-sub, .mp-title-sub, .mp-notice-txt { color: var(--ds); }
.mp-notice { background: var(--dsoft); }
.mp-notice-txt { color: var(--dd); }
.mp-nav { background: #fff; }
.mp-nav-ico { background: var(--dsoft); }
.mp-nav-txt { color: var(--dd); }
.mp-couple-card { background-image: linear-gradient(135deg, var(--dg1), var(--dg2)); }
.mp-couple-card.st-glass { background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)); border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.mp-couple-card.st-glass::after {
  content: ""; position: absolute; inset: 0; backdrop-filter: blur(10px); z-index: 1;
  background: linear-gradient(135deg, var(--dg1), var(--dg2)); opacity: 0.72;
}
.mp-couple-card.st-glass .mp-couple-inner { z-index: 3; }
.mp-couple-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mp-couple-chip.pulse { animation: decoPulse 1.6s ease-in-out infinite; }
@keyframes decoPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); } }
.mp-title-main { color: var(--dd); }
.mp-imgtext-more { color: var(--dp); }
.mp-cd-title { color: var(--dd); }
.mp-cd-num { background: var(--dd); }
.mp-cd-timer i { color: var(--dd); }
.mp-rank-no.r1 { color: var(--dp); }
.mp-add { background: linear-gradient(135deg, var(--dg1), var(--dp)); box-shadow: 0 3px 8px var(--dglow); }
.mp-btn-primary { background: linear-gradient(135deg, var(--dg1), var(--dp)); }

/* 区块入场：错位渐显 */
.mp-block > * { animation: decoIn 0.5s cubic-bezier(0.22, 0.8, 0.3, 1) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes decoIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 情侣数据墙 */
.mp-hero { position: relative; margin: 12px 14px 10px; padding: 20px 18px 18px; border-radius: 24px; overflow: hidden; color: #fff; background: radial-gradient(130% 100% at 100% 0%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 46%), linear-gradient(140deg, var(--dg1), var(--dg2) 66%, var(--dp)); box-shadow: 0 16px 34px var(--dglow); border: 1px solid rgba(255, 255, 255, 0.2); }
.mp-hero-glow { position: absolute; right: -30px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.42), transparent 62%); animation: heroFloat 6s ease-in-out infinite; }
@keyframes heroFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-14px, 12px); } }
.mp-hero-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.mp-hero-title { font-size: 16px; font-weight: 900; letter-spacing: -0.2px; }
.mp-hero-slot { font-size: 10px; padding: 4px 9px; border-radius: 20px; background: rgba(255, 255, 255, 0.26); backdrop-filter: blur(4px); }
.mp-hero-num { display: flex; align-items: baseline; gap: 4px; margin-top: 12px; position: relative; z-index: 2; }
.mp-hero-num b { font-size: 46px; font-weight: 900; letter-spacing: -1.4px; font-variant-numeric: tabular-nums; text-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); }
.mp-hero-num i { font-style: normal; font-size: 13px; opacity: 0.9; }
.mp-hero-sub { font-size: 11.5px; opacity: 0.9; margin-top: 3px; position: relative; z-index: 2; }
.mp-hero-chips { display: flex; gap: 6px; margin-top: 13px; position: relative; z-index: 2; flex-wrap: wrap; }
.mp-hero-chips span { font-size: 10px; padding: 5px 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.22); border: 1px solid rgba(255, 255, 255, 0.32); backdrop-filter: blur(6px); }
.mp-hero-cta { position: absolute; right: 16px; bottom: 16px; z-index: 3; font-size: 12px; font-weight: 700; background: #fff; color: var(--dp); padding: 8px 15px; border-radius: 20px; cursor: pointer; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22); }

/* 待确认订单 */
.mp-confirm { display: flex; align-items: center; gap: 12px; margin: 10px 14px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 4px 14px rgba(120, 70, 40, 0.07); }
.mp-confirm.hot { background: linear-gradient(120deg, var(--dsoft), #fff); border: 1px solid var(--dline); }
.mp-confirm.ok { opacity: 0.9; }
.mp-confirm-ico { font-size: 26px; flex: 0 0 auto; }
.mp-confirm-main { flex: 1; min-width: 0; }
.mp-confirm-title { font-size: 14px; font-weight: 800; color: var(--dd); }
.mp-confirm-note { font-size: 11px; color: var(--ds); margin-top: 3px; }
.mp-confirm-items { display: flex; gap: 5px; margin-top: 7px; flex-wrap: wrap; }
.mp-confirm-items i { font-style: normal; font-size: 10px; color: var(--dp); background: #fff; border: 1px solid var(--dline); padding: 2px 7px; border-radius: 12px; }
.mp-confirm-btn { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--dg1), var(--dp)); padding: 9px 15px; border-radius: 20px; cursor: pointer; box-shadow: 0 5px 12px var(--dglow); animation: decoBreath 2.2s ease-in-out infinite; }
@keyframes decoBreath { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

/* 今日饭局 */
.mp-plan { background: #fff; border-radius: 16px; padding: 4px 12px; box-shadow: 0 3px 12px rgba(120, 70, 40, 0.06); }
.mp-plan-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--dline); }
.mp-plan-row:last-child { border-bottom: 0; }
.mp-plan-slot { flex: 0 0 auto; font-size: 10px; font-weight: 700; color: var(--dp); background: var(--dsoft); padding: 3px 8px; border-radius: 10px; }
.mp-plan-cover { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: var(--dsoft); flex: 0 0 auto; }
.mp-plan-main { flex: 1; min-width: 0; }
.mp-plan-dish { font-size: 13px; font-weight: 700; color: var(--dd); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-plan-cook { font-size: 10px; color: var(--ds); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-plan-tag { flex: 0 0 auto; font-size: 10px; color: var(--ds); }
.mp-plan-tag.done { color: #3fa96b; font-weight: 700; }
.mp-plan-empty { background: #fff; border: 1px dashed var(--dline); border-radius: 14px; padding: 18px; text-align: center; font-size: 12px; color: var(--ds); }
.mp-plan-more { margin-top: 8px; padding: 10px 0; border-radius: 12px; background: #fff; text-align: center; font-size: 12px; font-weight: 700; color: var(--dp); cursor: pointer; }

/* 积分与奖励 */
.mp-pts { margin: 10px 14px; border-radius: 16px; background: linear-gradient(120deg, var(--dd), #2a211c); color: #fff; padding: 14px 16px; box-shadow: 0 8px 18px rgba(40, 20, 10, 0.18); }
.mp-pts-hd { display: flex; align-items: center; justify-content: space-between; font-size: 11px; opacity: 0.82; }
.mp-pts-hd b { font-size: 13px; opacity: 1; }
.mp-pts-body { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.mp-pts-num { display: flex; align-items: baseline; gap: 4px; }
.mp-pts-num b { font-size: 30px; font-weight: 900; font-variant-numeric: tabular-nums; }
.mp-pts-num i { font-style: normal; font-size: 11px; opacity: 0.8; }
.mp-pts-side { flex: 1; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.mp-pts-btn { font-size: 11px; font-weight: 700; color: var(--dd); background: #fff; padding: 7px 13px; border-radius: 18px; cursor: pointer; }
.mp-pts-btn.on { opacity: 0.6; cursor: default; }

/* 横滑小卡 */
.mp-dish-wrap.scroll { display: flex; gap: 10px; padding: 0 14px 8px; overflow-x: auto; scroll-snap-type: x proximity; }
.mp-dish-wrap.scroll::-webkit-scrollbar { height: 0; }
.mp-dish-slip { flex: 0 0 auto; width: 116px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 3px 12px rgba(120, 70, 40, 0.07); scroll-snap-align: start; }
.mp-dish-slip .mp-dish-cover { aspect-ratio: 4 / 3; }
.mp-slip-name { font-size: 12px; font-weight: 700; color: var(--dd); padding: 7px 8px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-slip-foot { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 9px; }
.mp-slip-foot .mp-price { font-size: 13px; }
.mp-ribbon { position: absolute; left: 8px; top: 8px; font-size: 9px; color: #fff; background: rgba(42, 33, 28, 0.6); padding: 2px 6px; border-radius: 8px; backdrop-filter: blur(4px); }
.mp-dish-mine { font-size: 10px; color: var(--dp); margin-top: 4px; }

/* 热度条 */
.mp-rank-bar { height: 5px; border-radius: 4px; background: var(--dsoft); margin-top: 5px; overflow: hidden; }
.mp-rank-bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--dg1), var(--dp)); animation: barIn 0.7s ease both; }
@keyframes barIn { from { width: 0 !important; } }

/* 我们的故事 */
.mp-story { position: relative; padding-left: 18px; }
.mp-story::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--dg1), var(--dline)); border-radius: 2px; }
.mp-story-row { position: relative; padding: 8px 0 12px 12px; }
.mp-story-row::before { content: ""; position: absolute; left: -17px; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--dp); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--dsoft); }
.mp-story-date { font-size: 11px; color: var(--dp); font-weight: 700; }
.mp-story-event { font-size: 13px; color: var(--dd); margin-top: 3px; }
.mp-story-main img { width: 100%; margin-top: 6px; border-radius: 10px; max-height: 150px; object-fit: cover; }

/* 照片墙 */
.mp-wall { display: grid; gap: 6px; }
.mp-wall-i { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--dsoft); }
.mp-wall-i.big { grid-column: span 2; grid-row: span 2; }

/* 纪念日 */
.mp-anni { margin: 10px 14px; background: var(--dsoft); border-radius: 16px; padding: 16px; text-align: center; border: 1px solid var(--dline); }
.mp-anni-label { font-size: 12px; color: var(--ds); }
.mp-anni-num { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin: 6px 0; }
.mp-anni-num b { font-size: 32px; font-weight: 900; color: var(--dp); font-variant-numeric: tabular-nums; }
.mp-anni-num i { font-style: normal; font-size: 12px; color: var(--dp); }
.mp-anni-note { font-size: 11px; color: var(--ds); }

/* 今日一句话 */
.mp-daily { margin: 10px 14px; background: #fff; border-radius: 16px; padding: 15px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 3px 12px rgba(120, 70, 40, 0.06); }
.mp-daily-ico { font-size: 32px; flex: 0 0 auto; }
.mp-daily-title { font-size: 11px; color: var(--ds); }
.mp-daily-text { font-size: 14px; color: var(--dd); margin-top: 3px; line-height: 1.55; }

/* 谁点菜 */
.mp-draw { margin: 10px 14px; background: var(--dsoft); border-radius: 16px; padding: 16px; text-align: center; }
.mp-draw-title { font-size: 13px; color: var(--ds); }
.mp-draw-body { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; cursor: pointer; }
.mp-draw-slot { flex: 1; background: #fff; border-radius: 13px; padding: 14px 0; font-size: 16px; font-weight: 800; color: var(--dd); transition: 0.12s; }
.mp-draw-slot.blur { filter: blur(2.5px); opacity: 0.6; }
.mp-draw-slot.win { color: #fff; background: linear-gradient(135deg, var(--dg1), var(--dp)); box-shadow: 0 6px 16px var(--dglow); transform: scale(1.04); }
.mp-draw-vs { font-size: 15px; font-weight: 800; color: var(--dp); }
.mp-draw-tip { font-size: 10px; color: var(--ds); margin-top: 9px; }

/* 小约定 */
.mp-agree { margin: 10px 14px; background: #fff; border-radius: 16px; padding: 15px 16px; box-shadow: 0 3px 12px rgba(120, 70, 40, 0.06); }
.mp-agree-hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.mp-agree-hd b { font-size: 13px; font-weight: 800; color: var(--dd); }
.mp-agree-hd i { font-style: normal; font-size: 10px; color: var(--ds); }

/* 分类导航 */
.mp-catnav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.mp-catnav::-webkit-scrollbar { height: 0; }
.mp-cat-pill { flex: 0 0 auto; padding: 8px 13px; background: #fff; border-radius: 18px; font-size: 12px; color: var(--dd); border: 1px solid var(--dline); cursor: pointer; }
.mp-cat-pill i { font-style: normal; font-size: 10px; color: var(--ds); margin-left: 4px; }
.mp-cat-pill.mine { border-color: var(--dp); color: var(--dp); background: var(--dsoft); }

/* 情话 */
.mp-quote { margin: 12px 14px; background: linear-gradient(135deg, var(--dsoft), #fff); border-radius: 18px; padding: 26px 18px 22px; text-align: center; position: relative; overflow: hidden; }
.mp-quote-mark { position: absolute; left: 12px; top: 2px; font-size: 46px; color: var(--dline); font-family: Georgia, serif; }
.mp-quote-txt { font-size: 16px; font-weight: 800; color: var(--dp); line-height: 1.75; position: relative; z-index: 2; }

/* 分割线 */
.mp-div-line { padding: 6px 14px; }
.mp-div-dots { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 0; color: var(--dline); font-size: 9px; }
.mp-div-dots span { color: var(--dp); opacity: 0.5; }
/* 首页快捷操作条 */
.home-qa {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 2px 14px 14px; padding: 12px 10px;
  background: rgba(255, 255, 255, 0.82); border: 1px solid var(--dline); border-radius: 20px;
  backdrop-filter: blur(8px); box-shadow: 0 8px 22px rgba(190, 120, 90, 0.07);
}
.home-qa::-webkit-scrollbar { height: 0; }
.home-qa-i {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  padding: 9px 4px 8px; border-radius: 15px; font-size: 11px; color: var(--dd);
  background: linear-gradient(180deg, #fff, #fffaf6); border: 1px solid var(--dline);
  transition: transform 0.12s, box-shadow 0.12s;
}
.home-qa-i .i { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; background: var(--dsoft); }
.home-qa-i:hover { transform: translateY(-1px); box-shadow: 0 6px 14px var(--dglow); }
.home-qa-i:active { transform: scale(0.96); box-shadow: 0 0 0 2px var(--dglow); }

/* ============================ 组件视觉冲击升级 ============================ */

/* 金刚区：每个入口独立色相、按压缩放 */
.mp-nav { position: relative; border-radius: 20px; padding: 14px 8px 12px; box-shadow: 0 8px 22px rgba(190, 120, 90, 0.08); }
.mp-nav-ico { position: relative; overflow: hidden; width: 44px; height: 44px; margin: 0 auto 6px; border-radius: 15px; background: var(--dsoft); display: grid; place-items: center; font-size: 20px; transition: transform 0.16s, box-shadow 0.16s; }
.mp-nav-ico::after { content: ""; position: absolute; inset: 0; background: linear-gradient(calc(150deg + var(--k, 0) * 17deg), var(--dg1), var(--dg2)); opacity: 0.16; }
.mp-nav-item { padding: 4px 0 5px; border-radius: 14px; transition: background 0.16s, transform 0.16s; cursor: pointer; }
.mp-nav-item:hover .mp-nav-ico { transform: translateY(-3px) scale(1.04); box-shadow: 0 8px 16px var(--dglow); }
.mp-nav-item:active .mp-nav-ico { transform: scale(0.92); }
.mp-nav-item:hover .mp-nav-txt { color: var(--dp); }
.mp-nav-txt { font-size: 11px; font-weight: 600; transition: color 0.16s; }
.mp-nav.st-glass { background: rgba(255, 255, 255, 0.62); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.75); }
.mp-nav.st-glass .mp-nav-ico { border-radius: 50%; background: #fff; box-shadow: 0 4px 12px var(--dglow); }
.mp-nav.st-flat .mp-nav-ico { width: auto; height: auto; background: none; font-size: 22px; }
.mp-nav.st-flat .mp-nav-ico::after { display: none; }
.mp-nav.st-flat .mp-nav-txt { border-bottom: 2px solid var(--dline); padding-bottom: 3px; }
.mp-nav.st-flat .mp-nav-item:hover .mp-nav-txt { border-color: var(--dp); }

/* 点餐榜：前三名做成奖牌 */
.mp-rank { border-radius: 18px; padding: 6px 12px 8px; box-shadow: 0 8px 22px rgba(190, 120, 90, 0.08); }
.mp-rank-row { margin: 0 -8px; padding: 9px 8px; border-radius: 12px; transition: background 0.14s; }
.mp-rank-row:hover { background: var(--dsoft); }
.mp-rank-no { width: 22px; height: 22px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; background: var(--dsoft); color: var(--ds); font-weight: 900; }
.mp-rank-no.r1 { background: linear-gradient(135deg, var(--dg1), var(--dp)); color: #fff; box-shadow: 0 5px 12px var(--dglow); transform: rotate(-5deg); }
.mp-rank-no.r2 { background: linear-gradient(135deg, #ffd79a, #e8903f); color: #fff; box-shadow: 0 5px 12px rgba(232, 144, 63, 0.28); }
.mp-rank-no.r3 { background: linear-gradient(135deg, #f6e3a8, #c8912f); color: #fff; box-shadow: 0 5px 12px rgba(200, 145, 47, 0.24); }
.mp-rank-row img { border-radius: 12px; box-shadow: 0 3px 10px rgba(120, 70, 40, 0.14); }
.mp-rank-name { font-weight: 700; }
.mp-rank-bar { height: 6px; background: var(--dsoft); }
.mp-rank-bar span { position: relative; overflow: hidden; box-shadow: 0 1px 4px var(--dglow); }
.mp-rank-bar span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: translateX(-100%); animation: barShine 2.4s ease-in-out infinite; }

/* 积分卡：光泽扫过 + 距离下一奖励进度条 */
.mp-pts { position: relative; overflow: hidden; border-radius: 20px; background: linear-gradient(135deg, var(--dd), #2a211c 48%, var(--dp) 210%); box-shadow: 0 14px 28px rgba(40, 20, 10, 0.24); }
.mp-pts > * { position: relative; z-index: 2; }
.mp-pts-shine { position: absolute; top: 0; left: -45%; width: 34%; height: 100%; z-index: 1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent); animation: ptsShine 3.8s ease-in-out infinite; }
.mp-pts-num b { font-size: 34px; letter-spacing: -1px; text-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }
.mp-pts-btn { box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2); transition: transform 0.14s; }
.mp-pts-btn:hover { transform: translateY(-1px); }
.mp-pts-btn:active { transform: scale(0.95); }
.mp-pts-goal { margin-top: 12px; cursor: pointer; }
.mp-pts-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.mp-pts-bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--dg1), var(--dg2)); box-shadow: 0 0 10px var(--dglow); animation: barIn 0.8s ease both; }
.mp-pts-to { font-size: 10.5px; opacity: 0.86; margin-top: 7px; letter-spacing: 0.2px; }
.mp-pts-to b { font-size: 14px; font-weight: 900; opacity: 1; }

/* 纪念日：环形倒计时 */
.mp-anni { position: relative; overflow: hidden; border-radius: 20px; box-shadow: 0 10px 24px rgba(190, 120, 90, 0.1); }
.mp-anni::before { content: ""; position: absolute; left: -20%; top: -60%; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, var(--dg1), transparent 68%); opacity: 0.18; }
.mp-anni > * { position: relative; z-index: 2; }
.mp-anni-label { font-weight: 700; color: var(--dd); letter-spacing: 0.4px; }
.mp-anni-ring { position: relative; width: 112px; height: 112px; margin: 12px auto 10px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--dp) calc(var(--p, 0) * 1%), var(--dline) 0); transition: background 0.4s; }
.mp-anni-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; box-shadow: inset 0 2px 8px rgba(120, 70, 40, 0.1); }
.mp-anni-ring .mp-anni-num { position: relative; z-index: 2; margin: 0; }
.mp-anni.near .mp-anni-ring { animation: anniPulse 1.9s ease-in-out infinite; }
.mp-anni.near .mp-anni-num b { color: var(--dg2); }

/* 我们的故事：日期胶囊 + 节点发光 */
.mp-story-date { display: inline-block; background: var(--dsoft); color: var(--dp); padding: 2px 9px; border-radius: 999px; font-weight: 800; }
.mp-story-row::before { box-shadow: 0 0 0 3px var(--dsoft), 0 0 12px var(--dglow); }
.mp-story-event { font-weight: 700; }
.mp-story-main img { box-shadow: 0 6px 16px rgba(120, 70, 40, 0.14); }

/* 照片墙：错落 + 悬停放大 */
.mp-wall { gap: 5px; }
.mp-wall-i { border-radius: 12px; transition: transform 0.26s cubic-bezier(0.22, 0.8, 0.3, 1), box-shadow 0.26s; }
.mp-wall-i:hover { transform: scale(1.045); z-index: 2; box-shadow: 0 10px 24px rgba(120, 70, 40, 0.24); }
.mp-wall-i.big { border-radius: 14px; box-shadow: 0 8px 20px rgba(120, 70, 40, 0.16); }

/* 小约定：编号章 + 便签纸 */
.mp-agree { border-radius: 18px; border: 1px solid var(--dline); box-shadow: 0 8px 22px rgba(190, 120, 90, 0.08); }
.mp-agree-hd b { font-size: 14px; }
.mp-agree-row { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--dd); padding: 6px 0; }
.mp-agree-row em { flex: 0 0 auto; width: 19px; height: 19px; border-radius: 50%; background: var(--dsoft); color: var(--dp); font-style: normal; font-size: 10px; font-weight: 900; display: grid; place-items: center; }
.mp-agree-row:hover em { background: linear-gradient(135deg, var(--dg1), var(--dp)); color: #fff; }
.mp-agree-none { font-size: 11px; color: var(--ds); text-align: center; padding: 10px 0 4px; }

/* 分类导航：数量徽标 + 自建分类实色 */
.mp-catnav { gap: 9px; padding: 2px 2px 6px; }
.mp-cat-pill { display: flex; align-items: center; gap: 5px; padding: 9px 14px; border-radius: 15px; background: #fff; font-weight: 700; box-shadow: 0 4px 12px rgba(190, 120, 90, 0.1); transition: transform 0.14s, box-shadow 0.14s; }
.mp-cat-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 18px var(--dglow); }
.mp-cat-pill:active { transform: scale(0.96); }
.mp-cat-pill i { font-style: normal; font-size: 10px; font-weight: 800; color: var(--dp); background: var(--dsoft); border-radius: 999px; padding: 1px 7px; margin-left: 3px; }
.mp-cat-pill.mine { background: linear-gradient(135deg, var(--dg1), var(--dp)); color: #fff; border-color: transparent; }
.mp-cat-pill.mine i { background: rgba(255, 255, 255, 0.26); color: #fff; }

/* 情话墙：引号漂浮 + 渐变描边 */
.mp-quote { border: 1px solid var(--dline); background: linear-gradient(150deg, var(--dsoft), #fff 62%); box-shadow: 0 12px 28px rgba(190, 120, 90, 0.1); }
.mp-quote-mark { animation: quoteFloat 4.2s ease-in-out infinite; }
.mp-quote::after { content: "\2764"; position: absolute; right: 16px; bottom: 11px; font-size: 11px; color: var(--dp); opacity: 0.4; }
.mp-quote-txt { font-size: 17px; letter-spacing: -0.3px; }

/* 开饭倒计时：翻牌数字 */
.mp-countdown { border: 1px solid var(--dline); background: linear-gradient(120deg, var(--dsoft), #fff); }
.mp-cd-title { font-size: 12.5px; }
.mp-cd-num { position: relative; min-width: 26px; text-align: center; padding: 5px 6px; border-radius: 7px; font-size: 13px; background: linear-gradient(180deg, #4a3a31, var(--dd)); box-shadow: 0 4px 10px rgba(40, 20, 10, 0.26); }
.mp-cd-num::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, 0.16); }
.mp-cd-timer i { animation: cdTick 1s steps(1) infinite; }

/* 今日饭局：行悬停、时段徽标加重 */
.mp-plan { border-radius: 18px; padding: 6px 12px 8px; box-shadow: 0 8px 22px rgba(190, 120, 90, 0.08); }
.mp-plan-row { margin: 0 -8px; padding: 11px 8px; border-radius: 12px; transition: background 0.14s; }
.mp-plan-row:hover { background: var(--dsoft); }
.mp-plan-slot { min-width: 44px; text-align: center; }
.mp-plan-cover { box-shadow: 0 3px 10px rgba(120, 70, 40, 0.14); }
.mp-plan-tag { font-weight: 600; }

/* 谁点菜：VS 徽章 + 卡片底纹 */
.mp-draw { position: relative; overflow: hidden; border: 1px solid var(--dline); background: linear-gradient(140deg, var(--dsoft), #fff); }
.mp-draw > * { position: relative; z-index: 2; }
.mp-draw-slot { border: 1px solid var(--dline); box-shadow: 0 4px 12px rgba(120, 70, 40, 0.08); }
.mp-draw-body:hover .mp-draw-slot { transform: translateY(-2px); }
.mp-draw-vs { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--dg1), var(--dp)); color: #fff; font-size: 10px; letter-spacing: -0.3px; box-shadow: 0 5px 12px var(--dglow); }

/* 搜索 / 播报 / 图文：一致的按压与光影 */
.mp-search { border: 1px solid var(--dline); transition: border-color 0.16s, box-shadow 0.16s; cursor: text; }
.mp-search:hover { border-color: var(--dp); box-shadow: 0 4px 14px var(--dglow); }
.mp-notice { position: relative; overflow: hidden; border: 1px solid var(--dline); }
.mp-notice::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--dg1), var(--dp)); }
.mp-notice-ico { animation: noticeRing 2.6s ease-in-out infinite; }
.mp-imgtext { border-radius: 18px; border: 1px solid var(--dline); box-shadow: 0 10px 24px rgba(190, 120, 90, 0.1); transition: transform 0.18s, box-shadow 0.18s; }
.mp-imgtext:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(190, 120, 90, 0.16); }
.mp-imgtext-img { position: relative; overflow: hidden; }
.mp-imgtext-img img { transition: transform 0.32s; }
.mp-imgtext:hover .mp-imgtext-img img { transform: scale(1.045); }
.mp-imgtext-title { letter-spacing: -0.2px; }
.mp-imgtext-more { display: inline-flex; align-items: center; gap: 3px; }
.mp-imgtext-more::after { content: "\2192"; transition: transform 0.16s; }
.mp-imgtext:hover .mp-imgtext-more::after { transform: translateX(3px); }

/* 轮播 / 待确认 / 今日一句话 / 分割线 收尾润色 */
.mp-banner { border-radius: 16px; box-shadow: 0 12px 26px rgba(120, 70, 40, 0.14); }
.mp-banner-cap { background: rgba(30, 18, 10, 0.34); backdrop-filter: blur(6px); padding: 4px 11px; border-radius: 999px; font-weight: 600; left: 12px; bottom: 12px; }
.mp-confirm { border-radius: 18px; }
.mp-confirm-ico { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--dsoft); font-size: 20px; }
.mp-daily { border: 1px solid var(--dline); box-shadow: 0 8px 22px rgba(190, 120, 90, 0.08); }
.mp-daily-ico { animation: noticeRing 3s ease-in-out infinite; }
.mp-div-dots span { animation: divBeat 1.8s ease-in-out infinite; }
.mp-div-dots span:nth-child(2) { animation-delay: 0.2s; }
.mp-div-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes ptsShine { 0% { left: -45%; } 58%, 100% { left: 125%; } }
@keyframes anniPulse { 0%, 100% { box-shadow: 0 0 0 0 var(--dglow); } 50% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }
@keyframes quoteFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-5px) rotate(3deg); } }
@keyframes cdTick { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes noticeRing { 0%, 62%, 100% { transform: rotate(0); } 68% { transform: rotate(-14deg); } 74% { transform: rotate(12deg); } 80% { transform: rotate(-8deg); } 86% { transform: rotate(0); } }
@keyframes barShine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(220%); } }
@keyframes divBeat { 0%, 100% { transform: scale(1); opacity: 0.45; } 50% { transform: scale(1.25); opacity: 0.8; } }

/* ---------------- 扩展组件：card / note / progress / tiles 四种通用版式 ---------------- */
.mp-x { margin: 10px 14px; padding: 13px 14px; border-radius: 16px; background: var(--dsoft, #fff1e8); border: 1px solid var(--dline, #f6e3d8); color: var(--dd, #4a2418); }
.mp-x-hd { display: flex; align-items: center; gap: 9px; }
.mp-x-emoji { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #fff; font-size: 16px; box-shadow: 0 2px 8px rgba(150, 90, 60, 0.1); }
.mp-x-hdmain { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mp-x-hdmain b { font-size: 13px; font-weight: 800; }
.mp-x-hdmain small { font-size: 10px; color: var(--ds, #94766a); }
.mp-x-body { margin-top: 10px; font-size: 12.5px; line-height: 1.7; white-space: pre-wrap; }
.mp-x-foot { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--dline, #f6e3d8); font-size: 10px; color: var(--ds, #94766a); }
.mp-x-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mp-x-tags i { padding: 3px 9px; border-radius: 20px; background: #fff; color: var(--dp, #e8573a); font-size: 10.5px; font-style: normal; font-weight: 700; }
.mp-x-rows { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.mp-x-row { display: flex; align-items: center; gap: 8px; font-size: 10.5px; }
.mp-x-row > span { flex: 0 0 62px; color: var(--ds, #94766a); }
.mp-x-row > b { flex: 0 0 38px; text-align: right; color: var(--dp, #e8573a); }
.mp-x-bar { flex: 1; height: 7px; border-radius: 20px; background: rgba(255, 255, 255, 0.8); overflow: hidden; }
.mp-x-bar i { display: block; height: 100%; border-radius: 20px; background: linear-gradient(90deg, var(--dg1, #ff9a6b), var(--dp, #e8573a)); }
.mp-x-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
.mp-x-tile { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.86); }
.mp-x-tile > span { font-size: 16px; }
.mp-x-tile > b { font-size: 11px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mp-x-tile > small { font-size: 9px; color: var(--ds, #94766a); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mp-x-note { display: flex; align-items: center; gap: 8px; margin: 10px 14px; padding: 10px 12px; border-radius: 12px; background: var(--dsoft, #fff1e8); color: var(--dd, #4a2418); font-size: 11.5px; }
.mp-x-note .mp-x-emoji { width: 22px; height: 22px; border-radius: 7px; font-size: 13px; }
.mp-x-note-txt { flex: 1; min-width: 0; font-weight: 600; }
.mp-x-note small { flex: 0 0 auto; font-size: 9.5px; color: var(--ds, #94766a); }
