/* ============================================================
   模板：果冻触感 Tactile Digital / Deformable UI
   仅用于模特端（用户端），商务端/管理端仍使用 panel.css
   ============================================================ */
:root {
    --bg: #FBF4F8;
    --card: rgba(255, 255, 255, .82);
    --text: #2E2435;
    --muted: #8E7F99;
    --line: rgba(140, 110, 160, .14);
    --blue: #C2276C;
    --green: #2FA36B;
    --red: #E5484D;
    --orange: #F08C3A;
    --radius: 24px;

    --pink: #FF8FBE;
    --pink-soft: #FFD9EA;
    --pink-deep: #C2276C;
    --purple: #7A3FD1;
    --lavender: #B8A7FF;
    --sky: #87CEEB;
    --mint: #A8E6CF;
    --gold: #FFD9A0;

    --grad-main: linear-gradient(135deg, #D6337F 0%, #A64AC9 55%, #7A3FD1 100%);
    --grad-soft: linear-gradient(135deg, #FFD9EA 0%, #E7D6FF 55%, #DCEEFF 100%);
    --grad-gloss: linear-gradient(150deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 55%);
    --shadow-card: 0 12px 28px rgba(150, 100, 150, .12), 0 2px 6px rgba(150, 100, 150, .06), inset 0 1px 0 #fff;
    --shadow-jelly: 0 10px 22px rgba(198, 49, 116, .32), inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -4px 10px rgba(80, 20, 80, .16);
    --spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* 背景：柔光渐变 + 漂浮圆 */
body.theme-tactile {
    background:
        radial-gradient(120% 90% at 0% 0%, #FFE7F2 0%, rgba(255, 231, 242, 0) 55%),
        radial-gradient(110% 80% at 100% 5%, #E9E2FF 0%, rgba(233, 226, 255, 0) 55%),
        radial-gradient(120% 70% at 50% 100%, #E4F4FF 0%, rgba(228, 244, 255, 0) 60%),
        #FBF4F8;
    background-attachment: fixed;
}

body.theme-tactile .app {
    background: transparent;
    overflow: hidden;
}

/* 底部导航下方的柔化渐隐，避免内容从悬浮 Dock 缝隙中露出 */
body.theme-tactile[data-nav="1"]::after {
    content: "";
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 108px;
    pointer-events: none;
    z-index: 39;
    background: linear-gradient(to top, #FBF4F8 34%, rgba(251, 244, 248, .82) 62%, rgba(251, 244, 248, 0) 100%);
}
body.theme-tactile .page { padding-bottom: 112px; }

body.theme-tactile .app-deco {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
body.theme-tactile .app-deco i {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    opacity: .55;
    animation: jellyFloat 9s ease-in-out infinite;
}
body.theme-tactile .app-deco i:nth-child(1) {
    width: 160px; height: 160px;
    left: -70px; top: 70px;
    background: linear-gradient(135deg, #FFA7CC, #FFD9EA);
}
body.theme-tactile .app-deco i:nth-child(2) {
    width: 130px; height: 130px;
    right: -50px; top: 240px;
    background: linear-gradient(135deg, #C9B8FF, #E7D6FF);
    animation-delay: -3s;
}
body.theme-tactile .app-deco i:nth-child(3) {
    width: 170px; height: 170px;
    left: -60px; bottom: 160px;
    background: linear-gradient(135deg, #A7E4FF, #DCEEFF);
    animation-delay: -6s;
}
body.theme-tactile .app-deco i:nth-child(4) {
    width: 90px; height: 90px;
    right: 8px; top: 8px;
    background: linear-gradient(135deg, #FFE2A8, #FFF3D6);
    animation-delay: -1.5s;
}
@keyframes jellyFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(10px, -16px, 0) scale(1.06); }
    66% { transform: translate3d(-8px, 10px, 0) scale(.96); }
}

/* 顶栏 */
body.theme-tactile .topbar {
    position: sticky;
    top: 8px;
    z-index: 30;
    height: 54px;
    margin: 10px 12px 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .95);
    background: rgba(255, 255, 255, .66);
    backdrop-filter: saturate(170%) blur(22px);
    -webkit-backdrop-filter: saturate(170%) blur(22px);
    box-shadow: 0 10px 24px rgba(150, 100, 150, .12), inset 0 1px 0 #fff;
}
body.theme-tactile .topbar-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .3px;
    color: #3A2440;
}
body.theme-tactile .topbar-right { right: 9px; gap: 7px; }
body.theme-tactile .topbar-icon {
    width: 34px; height: 34px;
    background: linear-gradient(180deg, #fff, #FFF0F7);
    color: #C2276C;
    border: 1px solid rgba(214, 51, 127, .14);
    box-shadow: 0 4px 10px rgba(198, 49, 116, .14), inset 0 1px 0 #fff;
    transition: transform .28s var(--spring);
}
body.theme-tactile .topbar-icon:active { transform: scale(.88) rotate(-8deg); }
body.theme-tactile .topbar-back {
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff, #FFF0F7);
    color: #C2276C;
    border: 1px solid rgba(214, 51, 127, .14);
    box-shadow: 0 4px 10px rgba(198, 49, 116, .14), inset 0 1px 0 #fff;
    transition: transform .28s var(--spring);
}
body.theme-tactile .topbar-back svg { width: 19px; height: 19px; }
body.theme-tactile .topbar-back:active { transform: translateY(-50%) scale(.88) rotate(-8deg); }
body.theme-tactile .topbar-bell {
    left: 9px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff, #FFF0F7);
    color: #C2276C;
    border: 1px solid rgba(214, 51, 127, .14);
    box-shadow: 0 4px 10px rgba(198, 49, 116, .14), inset 0 1px 0 #fff;
}
body.theme-tactile .topbar-bell svg { width: 19px; height: 19px; }
body.theme-tactile .topbar-badge { box-shadow: 0 0 0 2px #FFF3F8; }
body.theme-tactile .topbar-avatar {
    width: 34px; height: 34px;
    background: var(--grad-main);
    font-size: 14px;
    box-shadow: 0 5px 12px rgba(198, 49, 116, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
}
body.theme-tactile .topbar-login { font-size: 13px; color: #8E7F99; }
body.theme-tactile .topbar-reg {
    height: 30px;
    display: flex; align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: var(--grad-main);
    color: #fff;
    box-shadow: 0 5px 12px rgba(198, 49, 116, .28), inset 0 1px 0 rgba(255, 255, 255, .5);
}

body.theme-tactile .page {
    position: relative;
    z-index: 1;
    padding: 14px 14px 122px;
}

/* 卡片 */
body.theme-tactile .card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
body.theme-tactile .card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: #3A2440;
    margin-bottom: 12px;
}
body.theme-tactile .card-title::before {
    content: "";
    width: 16px; height: 16px;
    border-radius: 6px;
    background: var(--grad-main);
    box-shadow: 0 3px 7px rgba(198, 49, 116, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
    transform: rotate(-12deg);
    flex: 0 0 auto;
}
body.theme-tactile .card-desc { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* 按钮：果冻按压回弹 */
body.theme-tactile .btn {
    position: relative;
    overflow: hidden;
    height: 48px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .3px;
    background: linear-gradient(180deg, #fff, #F8F0F7);
    border: 1px solid rgba(140, 110, 160, .12);
    color: #4A3A52;
    box-shadow: 0 8px 18px rgba(150, 100, 150, .16), inset 0 1px 0 #fff;
    transition: transform .28s var(--spring), box-shadow .25s ease, filter .2s ease;
}
body.theme-tactile .btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-gloss);
    pointer-events: none;
}
body.theme-tactile .btn:active {
    transform: scale(.94);
    filter: brightness(.97);
    box-shadow: 0 3px 8px rgba(150, 100, 150, .18), inset 0 3px 8px rgba(120, 80, 130, .13);
}
body.theme-tactile .btn-primary {
    background: var(--grad-main);
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
    box-shadow: var(--shadow-jelly);
    text-shadow: 0 1px 2px rgba(80, 10, 60, .18);
}
body.theme-tactile .btn-primary:active {
    box-shadow: 0 4px 10px rgba(198, 49, 116, .3), inset 0 4px 10px rgba(60, 10, 60, .28);
}
body.theme-tactile .btn-line {
    background: linear-gradient(180deg, #fff, #FFF1F8);
    color: var(--pink-deep);
    border: 1px solid rgba(194, 39, 108, .18);
    box-shadow: 0 6px 16px rgba(194, 39, 108, .12), inset 0 1px 0 #fff;
}
body.theme-tactile .btn[disabled] {
    background: linear-gradient(180deg, #F1EAF0, #EAE2EA);
    color: #B4A8BC;
    border-color: transparent;
    box-shadow: none;
    text-shadow: none;
}
body.theme-tactile .btn-block { display: flex; width: 100%; }
body.theme-tactile .btn-mini {
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    color: #fff;
    background: var(--grad-main);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(198, 49, 116, .24), inset 0 1px 0 rgba(255, 255, 255, .45);
    transition: transform .28s var(--spring);
}
body.theme-tactile .btn-mini:active { transform: scale(.93); }

/* 提示条 */
body.theme-tactile .flash {
    border-radius: 16px;
    padding: 11px 14px;
    font-size: 13px;
    line-height: 1.65;
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 8px 18px rgba(150, 100, 150, .1), inset 0 1px 0 #fff;
}
body.theme-tactile .flash-ok { background: linear-gradient(135deg, #DDF6E8, #EAF9F1); color: #1E7A50; }
body.theme-tactile .flash-err { background: linear-gradient(135deg, #FFE3E6, #FFECEF); color: #B81F45; }
body.theme-tactile .badge {
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, .75);
}

/* 标签栏 / 筛选胶囊 */
body.theme-tactile .tabs { gap: 8px; padding: 2px 0 12px; }
body.theme-tactile .tabs a {
    padding: 8px 15px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 999px;
    color: #8E7F99;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 5px 14px rgba(150, 100, 150, .1), inset 0 1px 0 #fff;
    transition: transform .26s var(--spring), background .2s;
}
body.theme-tactile .tabs a:active { transform: scale(.93); }
body.theme-tactile .tabs a.on {
    background: var(--grad-main);
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
    box-shadow: 0 8px 16px rgba(198, 49, 116, .3), inset 0 1px 0 rgba(255, 255, 255, .45);
}

/* 首页英雄卡 */
body.theme-tactile .hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 20px 18px 18px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #FFD9EA 0%, #EFD9FF 52%, #D9ECFF 100%);
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: 0 16px 34px rgba(170, 110, 160, .18), inset 0 1px 0 rgba(255, 255, 255, .9);
}
body.theme-tactile .hero-card::before,
body.theme-tactile .hero-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
body.theme-tactile .hero-card::before {
    width: 130px; height: 130px;
    right: -44px; top: -52px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 65%);
}
body.theme-tactile .hero-card::after {
    width: 90px; height: 90px;
    right: 28px; bottom: -46px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .05));
    filter: blur(2px);
}
body.theme-tactile .hero-top { position: relative; z-index: 1; }
body.theme-tactile .hero-avatar {
    width: 50px; height: 50px;
    background: var(--grad-main);
    font-size: 20px;
    border: 3px solid rgba(255, 255, 255, .9);
    box-shadow: 0 8px 18px rgba(198, 49, 116, .3);
}
body.theme-tactile .hero-eyebrow { font-size: 12px; color: #7D6080; letter-spacing: .2px; }
body.theme-tactile .hero-title {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.42;
    color: #3A2440;
    margin-top: 4px;
}
body.theme-tactile .hero-title em {
    font-style: normal;
    background: linear-gradient(90deg, #C2276C, #7A3FD1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
body.theme-tactile .hero-chips { position: relative; z-index: 1; gap: 9px; }
body.theme-tactile .hero-chip {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 16px;
    padding: 9px 11px;
    font-size: 11px;
    color: #7D6080;
    box-shadow: 0 5px 12px rgba(170, 110, 160, .1), inset 0 1px 0 #fff;
}
body.theme-tactile .hero-chip b { font-size: 16px; font-weight: 800; color: #3A2440; margin-top: 3px; }
body.theme-tactile .hero-cta { position: relative; z-index: 1; }

/* 板块标题 */
body.theme-tactile .section-head { margin: 18px 2px 10px; }
body.theme-tactile .section-head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 800;
    color: #3A2440;
}
body.theme-tactile .section-head h2::before {
    content: "";
    width: 14px; height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, #fff 0 18%, #FF8FBE 20%, #B8A7FF 100%);
    box-shadow: 0 3px 8px rgba(198, 49, 116, .3);
    flex: 0 0 auto;
}
body.theme-tactile .section-head a { font-size: 12px; color: #A08FA9; }

/* 轮播 */
body.theme-tactile .carousel {
    border-radius: 26px;
    margin-bottom: 14px;
    background: #F1E7F2;
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 14px 30px rgba(150, 100, 150, .16);
}
body.theme-tactile .carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 45%, rgba(120, 60, 130, .18) 100%);
    pointer-events: none;
}
body.theme-tactile .carousel-item img { aspect-ratio: 16 / 8; }
body.theme-tactile .carousel-dots { bottom: 10px; z-index: 2; gap: 6px; }
body.theme-tactile .carousel-dots i {
    width: 7px; height: 7px;
    background: rgba(255, 255, 255, .6);
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 2px 5px rgba(90, 40, 90, .2);
}
body.theme-tactile .carousel-dots i.on {
    background: linear-gradient(135deg, #FF8FBE, #B8A7FF);
    width: 18px;
    border-radius: 999px;
    border-color: rgba(255, 255, 255, .9);
}

/* 搜索 / 排序胶囊 */
body.theme-tactile .search { position: relative; margin-bottom: 10px; }
body.theme-tactile .search svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px; height: 17px;
    color: #B29BB8;
    pointer-events: none;
}
body.theme-tactile .search input {
    height: 46px;
    border-radius: 999px;
    padding: 0 16px 0 40px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 8px 18px rgba(150, 100, 150, .1), inset 0 1px 0 #fff;
    font-size: 14px;
    color: var(--text);
    transition: box-shadow .2s, border-color .2s;
}
body.theme-tactile .search input::placeholder { color: #B6A5BC; }
body.theme-tactile .search input:focus {
    outline: none;
    border-color: rgba(214, 51, 127, .35);
    box-shadow: 0 0 0 4px rgba(255, 143, 190, .2), 0 8px 18px rgba(150, 100, 150, .1);
}
body.theme-tactile .sort-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 12px;
    scrollbar-width: none;
}
body.theme-tactile .sort-row::-webkit-scrollbar { display: none; }
body.theme-tactile .sort-row a {
    flex: 0 0 auto;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #8E7F99;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 4px 10px rgba(150, 100, 150, .08);
}
body.theme-tactile .sort-row a.on {
    background: linear-gradient(135deg, #FFE3F0, #EDE2FF);
    color: #C2276C;
    border-color: rgba(255, 255, 255, .95);
    box-shadow: 0 4px 10px rgba(198, 49, 116, .14), inset 0 1px 0 #fff;
}

/* 任务卡片 */
body.theme-tactile .task-grid { gap: 12px; }
body.theme-tactile .task-card {
    position: relative;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 22px;
    box-shadow: 0 12px 26px rgba(150, 100, 150, .14), inset 0 1px 0 #fff;
    transition: transform .3s var(--spring), box-shadow .25s;
}
body.theme-tactile .task-card:active {
    transform: scale(.96);
    box-shadow: 0 6px 14px rgba(150, 100, 150, .16);
}
body.theme-tactile .task-cover { border-radius: 22px 22px 0 0; background: #F4E9F1; }
body.theme-tactile .task-cover img { transition: transform .45s ease; }
body.theme-tactile .task-cover-empty {
    background: linear-gradient(135deg, #FFA7CC, #C9B8FF);
    font-size: 40px;
    text-shadow: 0 4px 10px rgba(120, 50, 120, .25);
}
body.theme-tactile .task-card:nth-child(3n+2) .task-cover-empty {
    background: linear-gradient(135deg, #A7E4FF, #C9B8FF);
}
body.theme-tactile .task-card:nth-child(3n+3) .task-cover-empty {
    background: linear-gradient(135deg, #FFD9A0, #FFA7CC);
}
body.theme-tactile .task-flag {
    position: absolute;
    left: 8px; top: 8px;
    z-index: 2;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    color: #C2276C;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 4px 10px rgba(120, 60, 120, .16);
    backdrop-filter: blur(8px);
}
body.theme-tactile .task-body { padding: 11px 12px 13px; }
body.theme-tactile .task-title { font-size: 13px; color: #3A2440; font-weight: 600; }
body.theme-tactile .price { font-size: 18px; font-weight: 800; color: #C2276C; }
body.theme-tactile .price small { color: #A08FA9; }
body.theme-tactile .num { font-size: 10px; color: #A08FA9; }
body.theme-tactile .task-tags { height: auto; min-height: 18px; gap: 5px; }
body.theme-tactile .task-tags span {
    font-size: 10px;
    color: #8E6A92;
    background: rgba(255, 214, 234, .55);
    border-radius: 999px;
    padding: 3px 8px;
}
body.theme-tactile .task-card:nth-child(3n+2) .task-tags span { background: rgba(231, 214, 255, .6); }
body.theme-tactile .task-card:nth-child(3n+3) .task-tags span { background: rgba(214, 236, 255, .65); }

/* 空态 */
body.theme-tactile .empty-block {
    position: relative;
    overflow: hidden;
    padding: 30px 20px 24px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(255, 238, 247, .9));
}
body.theme-tactile .empty-block::before {
    content: "";
    display: block;
    width: 76px; height: 76px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2276C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-5l-2 3h-6l-2-3H2'/%3E%3Cpath d='M5.5 5.5 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.5-6.5A2 2 0 0 0 16.7 4H7.3a2 2 0 0 0-1.8 1.5z'/%3E%3C/svg%3E") center / 34px 34px no-repeat,
        #F9ECF5;
    box-shadow: 0 8px 18px rgba(198, 49, 116, .10);
}
body.theme-tactile .empty-title { font-size: 17px; font-weight: 800; color: #3A2440; }
body.theme-tactile .empty-desc { color: #8E7F99; font-size: 13px; }
body.theme-tactile .empty { color: #A08FA9; }

/* 表单 */
body.theme-tactile .form { gap: 11px; }
body.theme-tactile .form input,
body.theme-tactile .form-row input,
body.theme-tactile .form textarea,
body.theme-tactile .form-row textarea,
body.theme-tactile .form select,
body.theme-tactile .form-row select {
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(140, 110, 160, .13);
    background: rgba(255, 255, 255, .9);
    font-size: 15px;
    color: var(--text);
    box-shadow: inset 0 2px 6px rgba(150, 110, 150, .07), 0 1px 0 #fff;
}
body.theme-tactile .form input::placeholder { color: #BBA9C0; }
body.theme-tactile .form input:focus,
body.theme-tactile .form-row input:focus,
body.theme-tactile .form textarea:focus,
body.theme-tactile .form select:focus {
    border-color: rgba(214, 51, 127, .4);
    box-shadow: 0 0 0 4px rgba(255, 143, 190, .2), inset 0 2px 6px rgba(150, 110, 150, .06);
}
body.theme-tactile .form-tip { font-size: 12px; color: #9C8BA4; line-height: 1.7; }
body.theme-tactile .form-tip.ok { color: #2E9E6B; }
body.theme-tactile .form-tip.err { color: #D6336C; }
body.theme-tactile .captcha-img {
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(140, 110, 160, .13);
    box-shadow: inset 0 2px 6px rgba(150, 110, 150, .07), 0 1px 0 #fff;
}

/* 教程中心（果冻风） */
body.theme-tactile .tut-item { border-radius: 22px; }
body.theme-tactile .tut-thumb { border-radius: 16px; background: linear-gradient(140deg, rgba(255, 236, 246, .9), rgba(240, 230, 255, .85)); }
body.theme-tactile .tut-play { background: rgba(214, 51, 127, .55); }
body.theme-tactile .tut-head h2 { color: #3A2440; }
body.theme-tactile .tut-content { color: #5A4662; }
body.theme-tactile .tut-video { border-radius: 20px; }
body.theme-tactile .tut-images img { border-radius: 18px; }
body.theme-tactile .tut-content .tut-inline-img { border-radius: 18px; }
body.theme-tactile .upload-btn {
    min-height: 96px;
    border: 1.5px dashed rgba(194, 39, 108, .3);
    border-radius: 20px;
    background: linear-gradient(140deg, rgba(255, 236, 246, .8), rgba(240, 230, 255, .75));
    color: #C2276C;
    font-weight: 600;
    box-shadow: inset 0 1px 0 #fff;
    transition: transform .28s var(--spring);
}
body.theme-tactile .upload-btn:active { transform: scale(.97); }

/* 键值 / 时间线 / 图片 */
body.theme-tactile .kv {
    padding: 11px 0;
    border-bottom: 1px dashed rgba(140, 110, 160, .16);
    font-size: 14px;
}
body.theme-tactile .kv > span { color: #9C8BA4; }
body.theme-tactile .kv > a { color: #C2276C; }
body.theme-tactile .kv > a.btn-mini {
    flex: 0 0 auto;
    color: #fff;
    white-space: nowrap;
    word-break: keep-all;
}
body.theme-tactile .kv-block > span { color: #9C8BA4; }
body.theme-tactile .timeline {
    position: relative;
    margin-top: 14px;
    padding-left: 18px;
}
body.theme-tactile .timeline::before {
    content: "";
    position: absolute;
    left: 4px; top: 10px; bottom: 10px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, #FFB6D5, #B8A7FF);
    opacity: .6;
}
body.theme-tactile .tl-item { padding: 6px 0; gap: 9px; font-size: 12.5px; color: #5C4B64; }
body.theme-tactile .tl-item i {
    width: 8px; height: 8px;
    margin-left: -18px;
    background: #fff;
    border: 2px solid #FF8FBE;
    box-shadow: 0 2px 6px rgba(198, 49, 116, .25);
}
body.theme-tactile .tl-item time { color: #A08FA9; }

body.theme-tactile .img-grid { gap: 7px; }
body.theme-tactile .img-grid img {
    border-radius: 14px;
    border: 2px solid #fff;
    box-shadow: 0 6px 14px rgba(150, 100, 150, .14);
}
body.theme-tactile .gallery { padding: 0 14px 6px; gap: 10px; }
body.theme-tactile .gallery img {
    height: 250px;
    border-radius: 26px;
    border: 3px solid rgba(255, 255, 255, .92);
    box-shadow: 0 14px 30px rgba(150, 100, 150, .18);
}

/* 分段选择 */
body.theme-tactile .seg {
    background: rgba(244, 235, 243, .85);
    border-radius: 999px;
    padding: 4px;
    box-shadow: inset 0 2px 6px rgba(140, 110, 160, .1);
}
body.theme-tactile .seg span { border-radius: 999px; font-size: 13px; padding: 9px 0; color: #9C8BA4; }
body.theme-tactile .seg input:checked + span {
    background: linear-gradient(180deg, #fff, #FFF2F9);
    color: #C2276C;
    font-weight: 700;
    box-shadow: 0 5px 12px rgba(198, 49, 116, .16), inset 0 1px 0 #fff;
}

/* 详情 */
body.theme-tactile .detail-title { font-size: 21px; font-weight: 800; color: #3A2440; line-height: 1.38; }
body.theme-tactile .detail-meta { gap: 14px; }
body.theme-tactile .detail-sub { color: #9C8BA4; }
body.theme-tactile .req-list li { color: #5C4B64; line-height: 2; font-size: 13.5px; }
body.theme-tactile .req-list li::marker { color: #FF8FBE; }
body.theme-tactile .tip-card {
    background: linear-gradient(135deg, rgba(255, 236, 246, .95), rgba(236, 228, 255, .95));
    color: #7A4A78;
    border-color: rgba(255, 255, 255, .95);
    font-size: 12.5px;
}
body.theme-tactile .settle-card {
    background: linear-gradient(135deg, #DDF6E8, #EAF9F1);
}
body.theme-tactile .settle-card .card-title { color: #1E7A50; }
body.theme-tactile .settle-card .card-title::before { background: linear-gradient(135deg, #6FD9A6, #2FA36B); }

body.theme-tactile .bottom-bar {
    bottom: 96px;
    width: calc(100% - 28px);
    max-width: 452px;
    padding: 10px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 14px 30px rgba(150, 100, 150, .2), inset 0 1px 0 #fff;
    backdrop-filter: blur(22px);
    z-index: 45;
}
body.theme-tactile .bottom-bar .btn { height: 50px; }
/* 悬浮操作栏 + 悬浮 Dock 共同占用的高度 */
body.theme-tactile .page:has(.bottom-bar) { padding-bottom: 192px; }

/* 个人中心 */
body.theme-tactile .profile-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFD9EA 0%, #E9D8FF 55%, #D9ECFF 100%);
    border-radius: 28px;
    padding: 20px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: 0 16px 34px rgba(170, 110, 160, .18), inset 0 1px 0 rgba(255, 255, 255, .9);
}
body.theme-tactile .profile-hero::after {
    content: "";
    position: absolute;
    width: 120px; height: 120px;
    right: -36px; top: -46px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 68%);
}
body.theme-tactile .profile-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 13px;
}
body.theme-tactile .avatar {
    width: 62px; height: 62px;
    background: var(--grad-main);
    font-size: 24px;
    border: 3px solid rgba(255, 255, 255, .92);
    box-shadow: 0 10px 22px rgba(198, 49, 116, .3);
}
body.theme-tactile .profile-name { font-size: 19px; font-weight: 800; color: #3A2440; }
body.theme-tactile .profile-uno { color: #7D6080; }
body.theme-tactile .profile-uno em { color: #C2276C; }
body.theme-tactile .profile-gear { color: #7D6080; background: rgba(255, 255, 255, .55); box-shadow: 0 4px 10px rgba(170, 110, 160, .18); }
body.theme-tactile .profile-gear:hover { color: #C2276C; }

/* 果冻风滚动条（玫粉滑块） */
body.theme-tactile * { scrollbar-color: rgba(198, 49, 116, .4) transparent; }
body.theme-tactile ::-webkit-scrollbar-thumb { background: rgba(198, 49, 116, .28); background-clip: padding-box; }
body.theme-tactile ::-webkit-scrollbar-thumb:hover { background: rgba(198, 49, 116, .5); }
body.theme-tactile .stat-card {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 15px 8px;
}
body.theme-tactile .stat-card > div {
    flex: 1;
    position: relative;
}
body.theme-tactile .stat-card > div + div::before {
    content: "";
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(140, 110, 160, .14);
}
body.theme-tactile .stat-card b {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #3A2440;
}
body.theme-tactile .stat-card span { font-size: 11px; color: #9C8BA4; }

/* 邀请页：组长计划与组员列表 */
body.theme-tactile .leader-bar { background: rgba(140, 110, 160, .14); }
body.theme-tactile .leader-bar i { background: var(--grad-main); }
body.theme-tactile .leader-num { color: #4A3A52; }
body.theme-tactile .leader-note { color: #9C8BA4; }
body.theme-tactile .leader-state {
    border: 1px solid rgba(255, 255, 255, .75);
    box-shadow: 0 6px 14px rgba(150, 100, 150, .12);
}
body.theme-tactile .leader-state.on { background: linear-gradient(135deg, #DDF6E8, #EAF9F1); color: #1E7A50; }
body.theme-tactile .leader-state.wait { background: linear-gradient(135deg, #FFEFD9, #FFF6E8); color: #B96B1F; }
body.theme-tactile .leader-state.reject { background: linear-gradient(135deg, #FFE3E6, #FFECEF); color: #B81F45; }
body.theme-tactile .badge-ok { background: linear-gradient(135deg, #DDF6E8, #EAF9F1); color: #1E7A50; }
body.theme-tactile .badge-gray { background: rgba(140, 110, 160, .12); color: #8E7F99; }
body.theme-tactile .member-row { border-bottom-color: rgba(140, 110, 160, .14); }
body.theme-tactile .member-avatar { box-shadow: 0 3px 10px rgba(150, 100, 150, .16); }

/* 个人中心：顶部横向快捷卡（果冻风） */
body.theme-tactile .quick-card {
    border-radius: 24px;
    padding: 18px 6px 15px;
    background: linear-gradient(160deg, #FFFFFF 0%, #FFF6FA 100%);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 10px 24px rgba(170, 110, 160, .16), inset 0 1px 0 #fff;
    transition: transform .2s var(--spring);
}
body.theme-tactile .quick-card:active { transform: scale(.96); }
body.theme-tactile .quick-ico {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    box-shadow: inset 0 1px 0 #fff, 0 4px 10px rgba(198, 49, 116, .14);
}
body.theme-tactile .quick-card b { color: #3A2440; font-weight: 800; font-size: 12.5px; }
body.theme-tactile .quick-sub { color: #9C8BA4; }
body.theme-tactile .quick-card:nth-child(1) .quick-ico { background: linear-gradient(135deg, #FFE0EF, #F2E4FF); color: #C2276C; }
body.theme-tactile .quick-card:nth-child(2) .quick-ico { background: linear-gradient(135deg, #E9E1FF, #F2E4FF); color: #7A3FD1; }
body.theme-tactile .quick-card:nth-child(3) .quick-ico { background: linear-gradient(135deg, #DDF1FF, #E5F7FF); color: #2F7FA8; }

body.theme-tactile .menu-card { padding: 6px; }
body.theme-tactile .menu-card a {
    padding: 12px 10px;
    gap: 11px;
    font-size: 14.5px;
    font-weight: 600;
    color: #4A3A52;
    border-bottom: 1px dashed rgba(140, 110, 160, .16);
    border-radius: 14px;
    transition: background .2s, transform .2s var(--spring);
}
body.theme-tactile .menu-card a:last-child { border-bottom: 0; }
body.theme-tactile .menu-card a:active { transform: scale(.98); background: rgba(255, 236, 246, .6); }
body.theme-tactile .menu-card a > svg {
    width: 34px; height: 34px;
    padding: 8px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FFE0EF, #F2E4FF);
    color: #C2276C;
    box-shadow: inset 0 1px 0 #fff, 0 4px 10px rgba(198, 49, 116, .12);
    flex: 0 0 auto;
}
body.theme-tactile .menu-card a:nth-child(2) > svg { background: linear-gradient(135deg, #E9E1FF, #F2E4FF); color: #7A3FD1; }
body.theme-tactile .menu-card a:nth-child(3) > svg { background: linear-gradient(135deg, #DDF1FF, #E5F7FF); color: #2F7FA8; }
body.theme-tactile .menu-card a:nth-child(4) > svg { background: linear-gradient(135deg, #DDF6E8, #EAF9F1); color: #2FA36B; }
body.theme-tactile .menu-card a.danger { color: #B8425A; }
body.theme-tactile .menu-card a.danger > svg { background: linear-gradient(135deg, #FFE3E6, #FFECEF); color: #D33A4F; }
body.theme-tactile .menu-tip {
    color: #C2276C;
    background: rgba(255, 143, 190, .18);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 999px;
    padding: 3px 8px;
}

/* 模板选择 */
body.theme-tactile .theme-option {
    border-radius: 18px;
    border: 1px solid rgba(140, 110, 160, .14);
    background: rgba(255, 255, 255, .7);
    transition: transform .28s var(--spring), border-color .2s;
}
body.theme-tactile .theme-option:active { transform: scale(.97); }
body.theme-tactile .theme-option.on {
    border-color: rgba(214, 51, 127, .4);
    background: linear-gradient(135deg, rgba(255, 236, 246, .9), rgba(242, 232, 255, .85));
    box-shadow: 0 8px 18px rgba(198, 49, 116, .14), inset 0 1px 0 #fff;
}
body.theme-tactile .theme-swatch { border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
body.theme-tactile .theme-info b { color: #3A2440; }
body.theme-tactile .theme-info span { color: #9C8BA4; }
body.theme-tactile .theme-check { color: #C2276C; }

/* 底部导航：果冻悬浮 Dock */
body.theme-tactile .tabbar {
    bottom: 12px;
    bottom: calc(12px + constant(safe-area-inset-bottom));
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: calc(100% - 28px);
    max-width: 452px;
    padding: 7px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 18px 40px rgba(140, 90, 140, .24), 0 3px 8px rgba(140, 90, 140, .08), inset 0 1px 0 #fff;
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-top: 1px solid rgba(255, 255, 255, .95);
}
body.theme-tactile .tab {
    gap: 3px;
    padding: 3px 0;
    border-radius: 20px;
    color: #A08FA9;
    font-size: 10px;
    transition: color .2s;
}
body.theme-tactile .tab-ico {
    width: 42px; height: 31px;
    border-radius: 999px;
    transition: transform .34s var(--spring), background .25s, box-shadow .25s, color .2s;
}
body.theme-tactile .tab svg { width: 21px; height: 21px; }
body.theme-tactile .tab-txt { font-size: 10px; letter-spacing: .2px; transition: color .2s; }
body.theme-tactile .tab.on { color: #C2276C; }
body.theme-tactile .tab.on .tab-ico {
    background: var(--grad-main);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(198, 49, 116, .38), 0 0 0 5px rgba(198, 49, 116, .07), inset 0 1px 0 rgba(255, 255, 255, .5);
}
body.theme-tactile .tab.on .tab-txt { color: #C2276C; font-weight: 800; }
body.theme-tactile .tab:active .tab-ico { transform: scale(.86); }
body.theme-tactile .tab-badge {
    background: linear-gradient(135deg, #FF5C8A, #E5484D);
    border: 1.5px solid #fff;
    box-shadow: 0 2px 5px rgba(190, 30, 60, .3);
    font-weight: 700;
}

/* 登录注册 / 收银台 */
body.theme-tactile .auth-box { padding: 44px 0 20px; }
body.theme-tactile .auth-back {
    top: 12px;
    background: linear-gradient(180deg, #fff, #FFF0F7);
    color: #C2276C;
    border: 1px solid rgba(214, 51, 127, .14);
    box-shadow: 0 6px 14px rgba(198, 49, 116, .16), inset 0 1px 0 #fff;
    transition: transform .28s var(--spring);
}
body.theme-tactile .auth-back:active { transform: scale(.88); }
body.theme-tactile .auth-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: .2px;
    color: #3A2440;
    margin-bottom: 6px;
}
body.theme-tactile .auth-slogan {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #9C8BA4;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
}
body.theme-tactile .auth-logo::before {
    content: "";
    display: block;
    width: 78px; height: 78px;
    margin: 0 auto 16px;
    border-radius: 28px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.1 7.4 7.4 2.1-7.4 2.1L12 21.5l-2.1-7.4L2.5 12l7.4-2.1z' fill='%23ffffff' fill-opacity='.92'/%3E%3C/svg%3E") center / 30px 30px no-repeat,
        var(--grad-gloss),
        var(--grad-main);
    box-shadow: 0 16px 32px rgba(198, 49, 116, .3), inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -6px 14px rgba(70, 20, 70, .2);
    transform: rotate(-6deg);
}
/* 已上传自定义 Logo 时隐藏主题默认图标 */
body.theme-tactile .auth-logo.has-img::before { display: none; }
body.theme-tactile .auth-logo.has-img .auth-logo-img { max-height: 84px; border-radius: 20px; margin-bottom: 8px; }
body.theme-tactile .auth-logo.has-img .auth-logo-name { display: block; }
body.theme-tactile .auth-box .card {
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .88);
}
body.theme-tactile .auth-link {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    color: #C2276C;
    font-weight: 600;
    margin-top: 16px;
}
body.theme-tactile .auth-box .card .btn-primary { margin-top: 4px; }

/* 消息列表 */
body.theme-tactile .msg-list { gap: 11px; }
body.theme-tactile .msg-item {
    border-radius: 22px;
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 10px 22px rgba(150, 100, 150, .12), inset 0 1px 0 #fff;
    padding: 13px 14px;
    transition: transform .28s var(--spring);
}
body.theme-tactile .msg-item:active { transform: scale(.97); }
body.theme-tactile .msg-avatar {
    background: linear-gradient(135deg, #FFD9EA, #E7D6FF);
    color: #C2276C;
    box-shadow: inset 0 1px 0 #fff, 0 5px 12px rgba(198, 49, 116, .14);
}
body.theme-tactile .msg-name { color: #3A2440; }
body.theme-tactile .msg-preview { color: #9C8BA4; }
body.theme-tactile .msg-unread {
    background: linear-gradient(135deg, #FF5C8A, #E5484D);
    box-shadow: 0 3px 8px rgba(190, 30, 60, .28);
    font-weight: 700;
}
body.theme-tactile .msg-swipe { border-radius: 22px; background: #fff; }
body.theme-tactile .msg-act-pin { background: linear-gradient(135deg, #B58CFF, #8F6BE8); box-shadow: 0 6px 14px rgba(143, 107, 232, .35), inset 0 1px 0 rgba(255, 255, 255, .4); }
body.theme-tactile .msg-act-del { background: linear-gradient(135deg, #FF5C8A, #E5484D); box-shadow: 0 6px 14px rgba(229, 72, 77, .35), inset 0 1px 0 rgba(255, 255, 255, .4); }
body.theme-tactile .msg-item.pinned { background: rgba(233, 216, 255, .55); }
body.theme-tactile .msg-item.pinned .msg-name span::after { color: #C2276C; }

/* 聊天 */
body.theme-tactile .chat-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 2px 12px;
}
body.theme-tactile .chat-back {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 6px 14px rgba(150, 100, 150, .14), inset 0 1px 0 #fff;
    color: #C2276C;
    flex: 0 0 auto;
}
body.theme-tactile .chat-back svg { width: 20px; height: 20px; }
body.theme-tactile .chat-title { flex: 1; min-width: 0; }
body.theme-tactile .chat-title b { display: block; font-size: 15px; color: #3A2440; }
body.theme-tactile .chat-title span { font-size: 11px; color: #A08FA9; }
body.theme-tactile .chat-order {
    font-size: 12px;
    color: #C2276C;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 5px 12px rgba(198, 49, 116, .12);
}
body.theme-tactile .chat-box {
    height: calc(100vh - 200px);
    padding: 4px 2px 18px;
}
body.theme-tactile .bubble {
    max-width: 76%;
    padding: 10px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 8px 18px rgba(150, 100, 150, .12), inset 0 1px 0 #fff;
    font-size: 14px;
    color: #3A2440;
}
body.theme-tactile .msg.mine .bubble {
    background: var(--grad-main);
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
    box-shadow: 0 10px 22px rgba(198, 49, 116, .28), inset 0 1px 0 rgba(255, 255, 255, .45);
}
body.theme-tactile .bubble img { border-radius: 14px; }
body.theme-tactile .bubble time { font-size: 10px; opacity: .65; }
body.theme-tactile .chat-input {
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .86);
    border-top: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 -10px 30px rgba(150, 100, 150, .12);
    backdrop-filter: blur(24px);
    gap: 9px;
}
body.theme-tactile .chat-img-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(180deg, #fff, #FFF0F7);
    border: 1px solid rgba(214, 51, 127, .14);
    color: #C2276C;
    box-shadow: 0 6px 14px rgba(198, 49, 116, .14), inset 0 1px 0 #fff;
}
body.theme-tactile .chat-img-btn.has { background: linear-gradient(180deg, #FFE3F0, #FFD0E6); }
body.theme-tactile .chat-input input[type=text],
body.theme-tactile .chat-input > input {
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(140, 110, 160, .12);
    box-shadow: inset 0 2px 6px rgba(150, 110, 150, .07);
    padding: 0 15px;
}
body.theme-tactile .chat-send {
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 13px;
}

/* 分页 / 小字 */
body.theme-tactile .pager a {
    min-width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 5px 12px rgba(150, 100, 150, .1);
    font-weight: 600;
}
body.theme-tactile .pager a.on {
    background: var(--grad-main);
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
    box-shadow: 0 7px 15px rgba(198, 49, 116, .3);
}
body.theme-tactile .mini { color: #A08FA9; }

/* Toast / 图片放大 */
body.theme-tactile .toast {
    bottom: 128px;
    background: rgba(58, 36, 64, .92);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 12.5px;
    box-shadow: 0 10px 24px rgba(60, 20, 60, .3);
}
body.theme-tactile .zoom-mask { background: rgba(40, 16, 40, .94); }
body.theme-tactile .zoom-mask img { border-radius: 22px; }

/* 动效可关闭 */
@media (prefers-reduced-motion: reduce) {
    body.theme-tactile .app-deco i { animation: none; }
    body.theme-tactile .btn,
    body.theme-tactile .task-card,
    body.theme-tactile .tab-ico { transition: none; }
}

/* 照片编辑控件（长按拖动 + 右上角删除） */
body.theme-tactile .photo-item img { border-radius: 16px; }
body.theme-tactile .photo-x {
    background: rgba(58, 36, 64, .55);
    box-shadow: 0 3px 8px rgba(80, 20, 80, .25), inset 0 1px 0 rgba(255, 255, 255, .35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
body.theme-tactile .photo-item.dragging {
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(198, 49, 116, .42), 0 4px 12px rgba(80, 20, 80, .18);
}

/* 通用弹窗（果冻风） */
body.theme-tactile .modal-mask { background: rgba(46, 22, 46, .66); }
body.theme-tactile .modal {
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 26px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
body.theme-tactile .modal-x {
    background: linear-gradient(180deg, #fff, #FFF0F7);
    color: #C2276C;
    border: 1px solid rgba(214, 51, 127, .16);
    box-shadow: 0 3px 8px rgba(198, 49, 116, .14);
}
body.theme-tactile .modal-title { color: #3A2440; }
body.theme-tactile .modal-link {
    background: linear-gradient(135deg, #FFF3F8, #F6F0FF);
    color: #7D6080;
    border: 1px solid rgba(214, 51, 127, .1);
}
body.theme-tactile .modal-btns .btn { height: 44px; }
@keyframes modalPop {
    from { transform: scale(.82); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
