/* === FIX BASELINE === */
html, body { margin:0; padding:0; }
* { box-sizing: border-box; }
img { max-width: 100%; }
.app { max-width: 480px; margin: 0 auto; min-height: 100vh; position: relative; }
svg { vertical-align: middle; }
/* === /FIX BASELINE === */

/* ============================================================
   夕云易游俱乐部 - 全局样式
   ============================================================ */
:root {
    --blue-light: #e6f3ff;
    --blue: #7ec8f1;
    --blue-deep: #4aa3d8;
    --yellow-light: #fff8e1;
    --yellow: #ffd97a;
    --white: #ffffff;
    --text: #2c3e50;
    --text-light: #8aa4bd;
    --border: #eef4f9;
    --shadow: 0 4px 16px rgba(126, 200, 241, 0.15);
    --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(180deg, #e6f3ff 0%, #ffffff 40%, #fff8e1 100%);
    background-attachment: fixed;
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
button { border: none; outline: none; font-family: inherit; cursor: pointer; }

.app {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    padding-bottom: 80px;
    position: relative;
}

/* ============ 顶部蓝色头 ============ */
.hd {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px;
    background: linear-gradient(135deg, #7ec8f1 0%, #4aa3d8 100%);
    color: #fff;
    position: sticky; top: 0; z-index: 100;
}
.hd-left { display: flex; align-items: center; gap: 10px; }
.hd-logo {
    width: 40px; height: 40px;
    border-radius: 10px; overflow: hidden; background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: #4aa3d8; font-weight: 800;
    flex-shrink: 0;
}
.hd-logo img { width: 100%; height: 100%; object-fit: cover; }
.hd-logo .logo-fb { display: none; }
.hd-logo.noimg .logo-fb { display: block; }
.hd-name { font-size: 17px; font-weight: 700; letter-spacing: 0.5px; }
.hd-right { display: flex; gap: 14px; }
.hd-icon {
    width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.hd-icon svg { width: 22px; height: 22px; }
.hd-icon:active { transform: scale(0.9); }

.hd-tabs {
    display: flex; gap: 24px;
    padding: 8px 16px 0;
    background: linear-gradient(180deg, #4aa3d8 0%, #7ec8f1 100%);
    position: sticky; top: 64px; z-index: 99;
}
.hd-tab {
    color: rgba(255,255,255,0.7);
    font-size: 15px; font-weight: 500;
    padding: 6px 0 10px;
    position: relative;
}
.hd-tab.active { color: #fff; font-weight: 700; }
.hd-tab.active::after {
    content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 24px; height: 3px; background: #fff; border-radius: 2px;
}

.page { padding: 12px 10px 0; }

/* ============ Banner ============ */
.banner {
    border-radius: var(--radius); overflow: hidden;
    margin-bottom: 12px; box-shadow: var(--shadow);
    background: #111;
}
.banner-img { width: 100%; display: block; }
.banner-default {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #fff; padding: 14px;
    position: relative; overflow: hidden;
}
.banner-title {
    color: #ff3b3b; font-size: 20px; font-weight: 900;
    margin-bottom: 6px;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff;
}
.banner-sub { color: #ffd97a; font-size: 12px; text-align: right; margin-bottom: 8px; font-weight: 700; }
.banner-rules { font-size: 11px; line-height: 1.7; color: #f0f0f0; }
.banner-badge {
    position: absolute; right: 10px; top: 55px;
    font-size: 28px; font-weight: 900; font-style: italic;
    background: linear-gradient(90deg, #ffd97a, #ffb347, #7ec8f1);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    transform: rotate(-8deg);
    text-shadow: 0 0 10px rgba(126,200,241,0.5);
}
.banner-tip { text-align: right; margin-top: 8px; font-size: 13px; font-weight: 700; color: #ffd97a; }

/* ============ 公告条 ============ */
.notice {
    display: flex; align-items: center; gap: 10px;
    background: #fff; border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(74,163,216,0.1);
    animation: slideDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.notice-icon {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-light); border-radius: 8px;
    flex-shrink: 0;
}
.notice-icon svg { width: 16px; height: 16px; }
.notice-text {
    font-size: 13px; color: var(--text);
    flex: 1; min-width: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============ 圆形分类入口 ============ */
.topcats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
    padding: 14px 6px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(74,163,216,0.1);
}
.topcat { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.topcat-circle {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 900;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.topcat:active .topcat-circle { transform: scale(0.9); }
.topcat.active .topcat-circle {
    animation: pulseRing 1.8s infinite;
}
@keyframes pulseRing {
    0%,100% { box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 0 0 0 rgba(192,57,43,0.5); }
    50%     { box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 0 0 10px rgba(192,57,43,0); }
}
.topcat-pill {
    font-size: 11px; color: #333;
    background: #f0f4f8; padding: 3px 10px;
    border-radius: 12px; font-weight: 500;
    white-space: nowrap;
    transition: 0.25s;
}
.topcat.active .topcat-pill {
    background: linear-gradient(135deg, #7ec8f1, #4aa3d8);
    color: #fff;
}

/* ============ 筛选条 ============ */
.filter {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px; padding: 0 2px;
}
.filter-tabs { display: flex; gap: 8px; }
.filter-tab {
    padding: 6px 16px;
    background: #fff; color: var(--text);
    border-radius: 18px; font-size: 13px; font-weight: 500;
    box-shadow: 0 2px 6px rgba(74,163,216,0.08);
    transition: 0.2s;
}
.filter-tab.active {
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    color: #fff;
    box-shadow: 0 3px 10px rgba(74,163,216,0.35);
}
.filter-tab:active { transform: scale(0.95); }
.filter-cols {
    display: flex; align-items: center; gap: 4px;
    padding: 5px 10px;
    background: var(--blue-light);
    border-radius: 14px;
    color: var(--blue-deep);
    font-size: 12px; font-weight: 600;
}

/* ============ 商品三列（首页） ============ */
.goods {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.good {
    background: #fff; border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(74,163,216,0.1);
    display: flex; flex-direction: column;
    transition: 0.2s;
    animation: cardIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.good:active { transform: scale(0.97); }
@keyframes cardIn {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}
.good-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.good-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.good-img-default {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #ffd97a 0%, #ffe9a8 100%);
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.gi-emoji { font-size: 36px; opacity: 0.5; }
.gi-corner {
    position: absolute; top: 4px; left: 4px;
    font-size: 9px; color: #fff;
    background: rgba(74,163,216,0.9);
    padding: 1px 5px; border-radius: 3px;
}
.gi-tag {
    position: absolute; bottom: 4px; left: 4px; right: 4px;
    font-size: 9px; color: #c0392b; font-weight: 700;
    text-align: center;
    background: rgba(255,255,255,0.85);
    border-radius: 4px;
    padding: 1px 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.good-body { padding: 6px 6px 8px; }
.good-title {
    font-size: 12px; font-weight: 600; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 4px;
}
.good-price { color: #ff3b3b; font-size: 14px; font-weight: 700; }

/* ============================================================
   分类页专属
   ============================================================ */
.cat-hero {
    background: linear-gradient(180deg, #4aa3d8 0%, #7ec8f1 100%);
    padding: 14px 0 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cat-hero::before {
    content: ''; position: absolute; top: -50px; left: -40px;
    width: 140px; height: 140px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    animation: floatBall 6s ease-in-out infinite;
}
@keyframes floatBall {
    0%,100% { transform: translate(0,0); }
    50%     { transform: translate(20px,10px); }
}
.cat-hero-title {
    color: #fff; font-size: 22px; font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.15);
    position: relative; z-index: 1;
}
.cat-page { padding: 0 10px 0; margin-top: -14px; position: relative; z-index: 2; }
.cat-body { display: flex; gap: 10px; padding-bottom: 20px; }
.side {
    flex: 0 0 76px;
    display: flex; flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 80px;
    align-self: flex-start;
}
.side-item {
    display: block;
    padding: 12px 6px;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(74,163,216,0.08);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.side-item:active { transform: scale(0.95); }
.side-item.active {
    background: linear-gradient(135deg, #7ec8f1, #4aa3d8);
    color: #fff; font-weight: 700;
    box-shadow: 0 4px 14px rgba(74,163,216,0.45);
    transform: translateX(2px);
}
.main { flex: 1; min-width: 0; }
.sortbar {
    display: flex; gap: 6px;
    margin-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.sortbar::-webkit-scrollbar { display: none; }
.sort-item {
    flex-shrink: 0;
    padding: 6px 14px;
    background: #fff;
    color: #4a5568;
    border-radius: 16px;
    font-size: 12px; font-weight: 500;
    box-shadow: 0 2px 6px rgba(74,163,216,0.08);
    transition: all 0.2s;
    white-space: nowrap;
}
.sort-item:active { transform: scale(0.94); }
.sort-item.active {
    background: linear-gradient(135deg, #7ec8f1, #4aa3d8);
    color: #fff; font-weight: 700;
    box-shadow: 0 3px 10px rgba(74,163,216,0.4);
}
.goods-list { display: flex; flex-direction: column; gap: 10px; }
.goods-card {
    display: flex; gap: 10px;
    background: linear-gradient(180deg, #fefefe 0%, #f5faff 100%);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 4px 14px rgba(74,163,216,0.12);
    position: relative; overflow: hidden;
    animation: cardIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    transition: transform 0.25s, box-shadow 0.25s;
}
.goods-card:active { transform: scale(0.98); }
.goods-img {
    width: 90px; height: 90px;
    flex-shrink: 0; border-radius: 10px;
    overflow: hidden; position: relative;
}
.goods-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.goods-img-default {
    width: 100%; height: 100%;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ffd97a 0%, #fff8e1 100%);
}
.goods-img-default .gi-emoji { font-size: 34px; opacity: 0.5; }
.goods-img-default .gi-corner {
    position: absolute; top: 3px; left: 3px;
    font-size: 8px; color: #fff;
    background: rgba(74,163,216,0.9);
    padding: 1px 4px; border-radius: 3px;
}
.goods-img-default .gi-tag {
    position: absolute; bottom: 3px; left: 3px; right: 3px;
    font-size: 9px; color: #c0392b; font-weight: 700;
    text-align: center;
    background: rgba(255,255,255,0.85);
    border-radius: 3px;
    padding: 1px 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.goods-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.goods-title {
    font-size: 14px; font-weight: 700; color: #1a202c;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 4px;
}
.goods-sales { font-size: 12px; color: #8aa4bd; margin-bottom: 6px; }
.goods-bottom { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.goods-price { color: #ff3b3b; font-size: 17px; font-weight: 800; }
.goods-btn {
    padding: 7px 16px;
    background: linear-gradient(135deg, #7ec8f1, #4aa3d8);
    color: #fff; font-size: 13px; font-weight: 600;
    border-radius: 18px;
    box-shadow: 0 3px 10px rgba(74,163,216,0.4);
    transition: all 0.2s;
    position: relative; overflow: hidden;
    white-space: nowrap;
    border: none; cursor: pointer; font-family: inherit;
}
.goods-btn:active { transform: scale(0.92); box-shadow: 0 1px 4px rgba(74,163,216,0.6); }
.goods-btn::after {
    content: ''; position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}
.goods-btn:active::after { width: 120px; height: 120px; }

/* ============================================================
   打手页专属
   ============================================================ */
.sel-banner {
    background: linear-gradient(180deg, #4aa3d8 0%, #7ec8f1 100%);
    padding: 14px 0 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sel-banner::before {
    content: ''; position: absolute;
    top: -40px; left: -40px;
    width: 120px; height: 120px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    animation: floatBall 6s ease-in-out infinite;
}
.sel-title {
    color: #fff; font-size: 22px; font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.15);
    position: relative; z-index: 1;
}
.sel-page {
    padding: 0 12px 0;
    margin-top: -14px;
    position: relative; z-index: 2;
}
.sel-search {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.95);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 6px 20px rgba(74,163,216,0.2);
    margin-bottom: 16px;
    transition: all 0.3s;
}
.sel-search:focus-within {
    box-shadow: 0 6px 24px rgba(74,163,216,0.45), 0 0 0 3px rgba(126,200,241,0.25);
    transform: translateY(-2px);
}
.sel-search-icon {
    width: 18px; height: 18px;
    color: #8aa4bd;
    flex-shrink: 0;
    transition: color 0.3s;
}
.sel-search:focus-within .sel-search-icon { color: #4aa3d8; }
.sel-search input {
    flex: 1; border: none; background: transparent; outline: none;
    font-size: 14px; color: #2c3e50; font-family: inherit;
}
.sel-search input::placeholder { color: #8aa4bd; }

.sel-topcats { padding: 10px 0 14px; }
.sel-topcats .topcat-pill { background: #f0f4f8; }

.gender-tabs {
    display: flex;
    position: relative;
    border-bottom: 1px solid rgba(126,200,241,0.25);
    margin-bottom: 18px;
}
.gender-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    color: #8aa4bd;
    font-weight: 500;
    transition: all 0.3s;
    position: relative; z-index: 1;
}
.gender-tab.active {
    color: #4aa3d8;
    font-weight: 700;
    font-size: 16px;
}
.gender-underline {
    position: absolute;
    bottom: -1px;
    width: 25%;
    height: 3px;
    background: linear-gradient(90deg, #7ec8f1, #4aa3d8);
    border-radius: 2px;
    transition: left 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(74,163,216,0.5);
}

.staff-wrap { min-height: 40vh; }
.staff-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 60px 20px;
    animation: fadeIn 0.6s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.empty-icon {
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #e6f3ff, #fff8e1);
    border-radius: 50%;
    margin-bottom: 16px;
    color: #b0c4d8;
    animation: bob 3s ease-in-out infinite;
}
.empty-icon svg { width: 44px; height: 44px; }
@keyframes bob {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-8px); }
}
.empty-text { color: #b0c4d8; font-size: 16px; letter-spacing: 1px; }

.staff-list { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; }
.staff-card {
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(180deg, #fefefe 0%, #f5faff 100%);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 4px 14px rgba(74,163,216,0.12);
    animation: cardIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative; overflow: hidden;
}
.staff-card:active { transform: scale(0.98); }
.staff-avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    background: linear-gradient(135deg, #e6f3ff, #fff8e1);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(74,163,216,0.2);
}
.staff-avatar img { width: 100%; height: 100%; object-fit: cover; }
.online-dot {
    position: absolute; bottom: 2px; right: 2px;
    width: 12px; height: 12px;
    background: #52c41a;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
    0%,100% { box-shadow: 0 0 0 0 rgba(82,196,26,0.6); }
    50%     { box-shadow: 0 0 0 6px rgba(82,196,26,0); }
}
.staff-info { flex: 1; min-width: 0; }
.staff-name {
    font-size: 15px; font-weight: 700;
    display: flex; align-items: center; gap: 6px;
    color: #1a202c;
    margin-bottom: 4px;
}
.staff-badge {
    font-size: 10px; padding: 2px 6px;
    background: linear-gradient(90deg, #ffd97a, #ffc94d);
    color: #7a5200;
    border-radius: 6px;
    font-weight: 500;
    white-space: nowrap;
}
.staff-desc { font-size: 12px; color: #8aa4bd; margin-bottom: 4px; }
.staff-price { font-size: 15px; color: #ff3b3b; font-weight: 700; }
.staff-price small { font-size: 11px; color: #8aa4bd; font-weight: 400; }
.staff-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #7ec8f1, #4aa3d8);
    color: #fff; font-size: 13px; font-weight: 600;
    border-radius: 18px;
    box-shadow: 0 3px 10px rgba(74,163,216,0.4);
    white-space: nowrap;
    transition: all 0.2s;
    border: none; cursor: pointer; font-family: inherit;
}
.staff-btn:active { transform: scale(0.92); }

/* ============================================================
   消息页专属
   ============================================================ */
.msg-hero {
    background: linear-gradient(180deg, #4aa3d8 0%, #7ec8f1 100%);
    padding: 18px 16px 60px;
    position: relative; overflow: hidden;
}
.msg-hero::before {
    content: ''; position: absolute;
    top: -60px; right: -60px;
    width: 180px; height: 180px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    animation: floatBall 7s ease-in-out infinite;
}
.msg-tabs { display: flex; gap: 12px; position: relative; z-index: 1; }
.msg-tab {
    flex: 1; text-align: center;
    padding: 12px 0;
    font-size: 15px; font-weight: 500;
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
}
.msg-tab.active {
    color: #fff; font-weight: 700;
    background: linear-gradient(135deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.25) 100%);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.5);
    transform: translateY(-1px);
}
.msg-tab:active { transform: scale(0.97); }

.msg-page {
    padding: 0 14px;
    margin-top: -46px;
    position: relative; z-index: 2;
}
.msg-card {
    display: none;
    background: #fff;
    border-radius: 20px;
    padding: 18px 16px;
    box-shadow: 0 8px 30px rgba(74,163,216,0.18);
    margin-bottom: 14px;
    animation: cardSlideIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-height: 200px;
}
.msg-card.show { display: block; }
@keyframes cardSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.msg-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 50px 20px;
    animation: fadeIn 0.6s ease;
}
.msg-empty.sm { padding: 24px 20px 6px; }
.empty-ico {
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #e6f3ff, #fff8e1);
    border-radius: 50%;
    margin-bottom: 16px;
    color: #b0c4d8;
    animation: bob 3s ease-in-out infinite;
}
.empty-ico svg { width: 42px; height: 42px; }
.empty-txt { color: #b0c4d8; font-size: 15px; letter-spacing: 1px; }

.official-title {
    font-size: 13px; color: #8aa4bd;
    margin-bottom: 12px;
    padding-left: 2px;
    letter-spacing: 0.5px;
}
.official-list { display: flex; flex-direction: column; gap: 6px; }
.official-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 8px;
    border-radius: 14px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: itemIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    position: relative;
}
@keyframes itemIn {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}
.official-item:active { transform: scale(0.97); background: #e6f3ff; }
.official-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(74,163,216,0.25);
    position: relative;
    animation: avatarBob 4s ease-in-out infinite;
}
@keyframes avatarBob {
    0%,100% { transform: translateY(0) rotate(0); }
    50%     { transform: translateY(-4px) rotate(-3deg); }
}
.official-emoji { font-size: 26px; }
.official-badge {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 20px; height: 20px;
    padding: 0 6px;
    background: linear-gradient(135deg, #ff5f6d, #ff3b3b);
    color: #fff;
    font-size: 11px; font-weight: 700;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(255,59,59,0.5);
    animation: badgePulse 1.8s infinite;
}
@keyframes badgePulse {
    0%,100% { box-shadow: 0 2px 8px rgba(255,59,59,0.5), 0 0 0 0 rgba(255,59,59,0.6); }
    50%     { box-shadow: 0 2px 8px rgba(255,59,59,0.5), 0 0 0 8px rgba(255,59,59,0); }
}
.official-info { flex: 1; min-width: 0; }
.official-name { font-size: 15px; font-weight: 700; color: #1a202c; margin-bottom: 3px; }
.official-sub { font-size: 12px; color: #8aa4bd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.official-arrow {
    width: 20px; height: 20px;
    color: #c8d8e6;
    flex-shrink: 0;
    transition: transform 0.25s, color 0.25s;
}
.official-arrow svg { width: 100%; height: 100%; }
.official-item:active .official-arrow { transform: translateX(3px); color: #4aa3d8; }

/* ============================================================
   我的页专属
   ============================================================ */
.mine-hero {
    background: linear-gradient(180deg, #4aa3d8 0%, #7ec8f1 100%);
    padding: 18px 16px 30px;
    position: relative; overflow: hidden;
}
.mine-hero::before {
    content: ''; position: absolute;
    top: -80px; right: -80px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    animation: floatBall 8s ease-in-out infinite;
}
.mine-user {
    display: flex; align-items: center; gap: 14px;
    position: relative; z-index: 1;
    text-decoration: none; color: inherit;
}
.mine-user:active { transform: scale(0.98); }
.mine-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border: 3px solid rgba(255,255,255,0.6);
    transition: transform 0.3s;
    animation: avatarPulse 3s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes avatarPulse {
    0%,100% { box-shadow: 0 6px 20px rgba(0,0,0,0.15), 0 0 0 0 rgba(255,255,255,0.6); }
    50%     { box-shadow: 0 6px 20px rgba(0,0,0,0.15), 0 0 0 10px rgba(255,255,255,0); }
}
.mine-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mine-avatar svg { width: 60%; height: 60%; }
.mine-info { flex: 1; min-width: 0; color: #fff; }
.mine-nickname {
    font-size: 20px; font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.mine-id { font-size: 13px; color: rgba(255,255,255,0.85); margin-bottom: 6px; }
.mine-level .level-badge {
    display: inline-block;
    font-size: 11px;
    background: linear-gradient(135deg, rgba(255,217,122,0.9), rgba(255,179,71,0.9));
    color: #7a5200;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255,179,71,0.4);
}
.mine-page {
    padding: 0 14px;
    margin-top: -16px;
    position: relative; z-index: 2;
}
.tip-bar {
    display: flex; align-items: center; gap: 8px;
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(74,163,216,0.1);
    animation: slideDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tip-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px;
    background: #ff4d4f;
    color: #fff;
    font-size: 13px;
    border-radius: 6px;
    flex-shrink: 0;
    animation: tipShake 2.5s infinite;
}
@keyframes tipShake {
    0%,90%,100% { transform: rotate(0); }
    93%         { transform: rotate(-12deg); }
    96%         { transform: rotate(12deg); }
}
.tip-text { font-size: 13px; color: #333; }
.balance-card {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(74,163,216,0.12);
    animation: cardUp 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes cardUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.balance-label { font-size: 13px; color: #8aa4bd; margin-bottom: 6px; }
.balance-num {
    font-size: 26px; font-weight: 800;
    color: #1a202c;
    display: flex; align-items: baseline; gap: 2px;
}
.balance-num .currency { font-size: 18px; }
.balance-btn {
    padding: 10px 26px;
    background: linear-gradient(135deg, #7ec8f1 0%, #4aa3d8 100%);
    color: #fff; font-size: 15px; font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(74,163,216,0.4);
    transition: all 0.25s;
    text-decoration: none;
}
.balance-btn:active { transform: scale(0.94); }
.block {
    background: #fff;
    border-radius: 16px;
    padding: 16px 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(74,163,216,0.1);
    animation: cardUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: 0.15s;
}
.block-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
}
.block-head h2 { font-size: 15px; font-weight: 700; color: #1a202c; }
.block-more { font-size: 13px; color: #8aa4bd; }
.order-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 8px;
}
.order-item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 6px 0;
    border-radius: 10px;
    transition: all 0.2s;
    text-decoration: none; color: inherit;
}
.order-item:active { background: #e6f3ff; transform: scale(0.94); }
.order-num {
    font-size: 22px; font-weight: 800;
    color: #1a202c;
    line-height: 1;
    font-family: 'DIN Alternate', -apple-system, sans-serif;
}
.order-name { font-size: 12px; color: #8aa4bd; }
.func-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 8px;
}
.func-item {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 6px 0;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: funcIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    text-decoration: none; color: inherit;
}
@keyframes funcIn {
    from { opacity: 0; transform: translateY(15px) scale(0.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.func-item:active { background: #e6f3ff; transform: scale(0.92); }
.func-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: #2c3e50;
    transition: all 0.3s;
}
.func-icon svg { width: 30px; height: 30px; }
.func-item:active .func-icon { color: #4aa3d8; transform: scale(0.9); }
.func-name { font-size: 12px; color: #2c3e50; font-weight: 500; text-align: center; line-height: 1.3; }

.footer-copy {
    margin: 20px 0 16px;
    text-align: center;
    animation: fadeIn 0.8s ease;
}
.copy-line1 {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 13px;
    color: #4aa3d8;
    background: linear-gradient(135deg, #e6f3ff, #fff8e1);
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(74,163,216,0.15);
    margin-bottom: 10px;
}
.copy-icon { font-size: 14px; }
.copy-line2 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #7ec8f1 0%, #4aa3d8 50%, #7ec8f1 100%);
    background-size: 200% 100%;
    padding: 12px 24px;
    border-radius: 24px;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(74,163,216,0.4);
    animation: shine 3s linear infinite;
}
@keyframes shine {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================================
   底部导航栏
   ============================================================ */
.tabbar {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 480px;
    display: flex;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(126,200,241,0.12);
}
.tab-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 6px 0; color: #8aa4bd; font-size: 11px;
    transition: 0.2s; position: relative;
    text-decoration: none;
}
.tab-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.tab-icon svg { width: 100%; height: 100%; transition: 0.25s; }
.tab-item.active { color: var(--blue-deep); font-weight: 600; }
.tab-item.active .tab-icon svg {
    transform: translateY(-2px);
    filter: drop-shadow(0 2px 4px rgba(74,163,216,0.4));
}
.tab-item.active::before {
    content: ''; position: absolute; top: 0;
    width: 20px; height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--yellow));
    border-radius: 0 0 4px 4px;
}

/* ============================================================
   商品详情页
   ============================================================ */
.detail-app { background: #fff8e1; min-height: 100vh; }

.dt-nav {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px;
    background: #fff;
    border-bottom: 1px solid #eef4f9;
}
.dt-nav-btn {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    color: #2c3e50;
    transition: transform 0.2s;
}
.dt-nav-btn svg { width: 22px; height: 22px; }
.dt-nav-btn:active { transform: scale(0.9); }
.dt-nav-title { font-size: 17px; font-weight: 700; color: #1a202c; }
.dt-nav-close { color: #2c3e50; }

.dt-scroll { padding-bottom: 10px; }

/* Banner */
.dt-banner {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    background: #ffd97a;
    overflow: hidden;
    animation: fadeIn 0.6s;
}
.dt-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

.dt-banner-draw {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #ffe177 0%, #fff8b3 50%, #ffd97a 100%);
    position: relative;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}
.db-tag {
    position: absolute; top: 20px; left: 20px;
    font-size: 28px; font-weight: 900;
    color: #d0d8ff;
    -webkit-text-stroke: 2px #fff;
    letter-spacing: 3px;
    font-style: italic;
    text-shadow: 0 2px 0 rgba(74,163,216,0.6);
}
.db-left {
    position: absolute;
    top: 35%; left: 8%;
    display: grid;
    grid-template-columns: repeat(3, 50px);
    gap: 6px;
    transform: perspective(400px) rotateX(30deg) rotateZ(-12deg) skewX(-8deg);
}
.db-box {
    width: 50px; height: 22px;
    background: linear-gradient(180deg, #fff8b3 0%, #e6b93e 100%);
    border: 2px solid #7a5200;
    border-radius: 3px;
    box-shadow: 0 3px 0 #7a5200, inset 0 2px 0 rgba(255,255,255,0.5);
}
.db-box::before {
    content: 'Lv7';
    font-size: 9px;
    font-weight: 800;
    color: #7a5200;
    display: block;
    text-align: center;
    line-height: 18px;
}
.db-right {
    position: absolute;
    right: 4%; top: 18%;
    font-size: 180px;
    line-height: 1;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
    animation: bob 3s ease-in-out infinite;
}
.db-bottom {
    position: absolute;
    bottom: 18%; left: 0; right: 0;
    text-align: center;
}
.db-title1 {
    font-size: 30px; font-weight: 900;
    color: #fff;
    -webkit-text-stroke: 3px #1a3a5c;
    letter-spacing: 2px;
    margin-bottom: 6px;
    text-shadow: 0 4px 0 rgba(26,58,92,0.4);
}
.db-title2 {
    font-size: 26px; font-weight: 900;
    color: #ff3b3b;
    -webkit-text-stroke: 2px #fff;
    letter-spacing: 2px;
    text-shadow: 0 3px 0 rgba(255,59,59,0.4);
}

/* 通用卡片 */
.dt-card {
    background: #fff;
    border-radius: 16px;
    margin: 10px 12px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(74,163,216,0.08);
    animation: cardUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.dt-card:nth-of-type(1) { animation-delay: 0.05s; }
.dt-card:nth-of-type(2) { animation-delay: 0.12s; }
.dt-card:nth-of-type(3) { animation-delay: 0.19s; }
.dt-card:nth-of-type(4) { animation-delay: 0.26s; }

.dt-title-card { padding: 18px 16px; }
.dt-title { font-size: 20px; font-weight: 700; color: #1a202c; }

.dt-price-card {
    display: flex; align-items: center; justify-content: space-between;
}
.dt-price-left { display: flex; align-items: center; gap: 6px; }
.dt-price-right { display: flex; align-items: center; gap: 4px; opacity: 0.5; }
.dt-diamond { font-size: 18px; }
.dt-diamond.pink { filter: hue-rotate(280deg) saturate(1.5); }
.dt-price-now {
    font-size: 22px; font-weight: 800;
    color: #ff8c42;
    font-family: 'DIN Alternate', -apple-system, sans-serif;
}
.dt-price-old {
    font-size: 16px; color: #8aa4bd;
    text-decoration: line-through;
}

.dt-promise {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 8px; padding: 14px 8px;
}
.promise-item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    font-size: 11px; color: #4a5568;
}
.promise-item svg { width: 22px; height: 22px; }

.dt-detail { padding: 16px 16px 20px; }
.dt-detail-head {
    display: flex; align-items: center; gap: 6px;
    font-size: 15px; font-weight: 700;
    color: #1a202c;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f4f8;
    margin-bottom: 12px;
}
.dt-detail-head svg { width: 20px; height: 20px; }
.dt-detail-body {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.8;
}

/* 底部固定栏 */
.dt-bottom-bar {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 480px;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #eef4f9;
    box-shadow: 0 -4px 20px rgba(74,163,216,0.1);
    z-index: 999;
}
.dt-service-btn {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: #4aa3d8;
    border-radius: 50%;
    background: #e6f3ff;
    transition: all 0.2s;
}
.dt-service-btn:active { transform: scale(0.9); }
.dt-service-btn svg { width: 22px; height: 22px; }
.dt-order-btn {
    flex: 1;
    height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #7ec8f1, #4aa3d8);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 24px;
    box-shadow: 0 6px 18px rgba(74,163,216,0.4);
    letter-spacing: 1px;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.dt-order-btn:active { transform: scale(0.97); }
.dt-order-btn::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}
.dt-order-btn:active::after { width: 300px; height: 300px; }

/* ============================================================
   提交订单页
   ============================================================ */
.order-app { background: #fff8e1; min-height: 100vh; }

.od-nav {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px;
    background: #fff;
    border-bottom: 1px solid #eef4f9;
}
.od-nav-left { display: flex; gap: 8px; }
.od-nav-left .nav-btn {
    width: 36px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    color: #2c3e50;
    background: #f7fbff;
    border-radius: 8px;
    transition: all 0.2s;
}
.od-nav-left .nav-btn svg { width: 18px; height: 18px; }
.od-nav-left .nav-btn:active { transform: scale(0.9); background: #e6f3ff; }
.od-nav-title { font-size: 17px; font-weight: 700; color: #1a202c; }
.od-nav-right { width: 80px; }

.od-scroll { padding: 12px 12px 0; }

.od-toast {
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    text-align: center;
    animation: shake 0.4s;
}
.od-toast.error { background: #fff1f0; color: #ff4d4f; border: 1px solid #ffccc7; }

.od-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(74,163,216,0.08);
    animation: cardUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.od-card:nth-of-type(1) { animation-delay: 0.05s; }
.od-card:nth-of-type(2) { animation-delay: 0.12s; }

.od-card-title { font-size: 13px; color: #8aa4bd; margin-bottom: 12px; }

.od-goods {
    display: flex; align-items: center; gap: 12px;
}
.od-goods-img {
    width: 80px; height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffd97a, #fff8e1);
    flex-shrink: 0;
    position: relative;
}
.od-goods-img img { width: 100%; height: 100%; object-fit: cover; }
.od-img-default {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #ffd97a 0%, #fff8b3 100%);
}
.od-img-default::before {
    content: '🎮';
    font-size: 32px;
    opacity: 0.5;
}
.odi-tag {
    position: absolute; top: 3px; left: 3px;
    font-size: 8px; color: #fff;
    background: rgba(74,163,216,0.85);
    padding: 1px 4px; border-radius: 3px;
}
.odi-text {
    position: absolute; bottom: 3px; left: 3px; right: 3px;
    font-size: 9px; color: #7a5200; font-weight: 700;
    text-align: center;
    background: rgba(255,255,255,0.85);
    border-radius: 3px;
    padding: 1px 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.od-goods-info { flex: 1; min-width: 0; }
.od-goods-title {
    font-size: 15px; font-weight: 700;
    color: #1a202c;
    margin-bottom: 6px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.od-goods-price {
    font-size: 16px; font-weight: 700;
    color: #ff3b3b;
}
.od-goods-qty { color: #8aa4bd; font-size: 14px; }

.od-divider { height: 1px; background: #f0f4f8; margin: 14px 0; }

.od-pay {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 15px; color: #2c3e50;
}
.od-pay-num { font-size: 18px; font-weight: 800; color: #ff3b3b; }

/* 表单 */
.od-form { padding: 4px 16px 16px; }

.od-field { padding: 14px 0; border-bottom: 1px solid #f5f8fc; }
.od-field:last-child { border-bottom: none; }
.od-field .od-label {
    font-size: 14px; color: #2c3e50; font-weight: 600;
    margin-bottom: 10px;
}
.od-field input[type="text"],
.od-field input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    background: #f5f8fc;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    color: #2c3e50;
    font-family: inherit;
    outline: none;
    transition: all 0.25s;
}
.od-field input::placeholder { color: #b0c4d8; }
.od-field input:focus {
    background: #fff;
    border-color: #7ec8f1;
    box-shadow: 0 0 0 4px rgba(126,200,241,0.18);
}

/* 选项 chips */
.od-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.od-chip {
    position: relative;
    display: inline-flex; align-items: center;
    padding: 10px 22px;
    background: #f5f8fc;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid transparent;
    user-select: none;
}
.od-chip input { display: none; }
.od-chip:active { transform: scale(0.95); }
.od-chip.active {
    background: #1a202c;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(26,32,44,0.35);
    transform: translateY(-1px);
}

/* 数量控制 */
.od-qty-field {
    display: flex; align-items: center; justify-content: space-between;
}
.od-qty-field .od-label { margin-bottom: 0; }
.qty-ctrl {
    display: flex; align-items: center;
    gap: 0;
    background: #f5f8fc;
    border-radius: 10px;
    overflow: hidden;
    padding: 3px;
}
.qty-btn {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    color: #4aa3d8;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.qty-btn:active { transform: scale(0.88); background: #e6f3ff; }
.qty-ctrl input {
    width: 48px;
    padding: 0;
    background: transparent;
    border: none;
    outline: none;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #1a202c;
    font-family: inherit;
    -moz-appearance: textfield;
}
.qty-ctrl input::-webkit-outer-spin-button,
.qty-ctrl input::-webkit-inner-spin-button {
    -webkit-appearance: none; margin: 0;
}

/* 底部下单栏 */
.od-bottom-bar {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 480px;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #eef4f9;
    box-shadow: 0 -4px 20px rgba(74,163,216,0.1);
    z-index: 999;
}
.od-total { font-size: 14px; color: #2c3e50; }
.od-total-num {
    font-size: 20px; font-weight: 800;
    color: #ff3b3b;
    font-family: 'DIN Alternate', -apple-system, sans-serif;
}
.od-submit-btn {
    flex: 1;
    height: 48px;
    background: linear-gradient(135deg, #ffd97a 0%, #ffb347 100%);
    color: #7a5200;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255,179,71,0.45);
    transition: all 0.25s;
    letter-spacing: 1px;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}
.od-submit-btn:active { transform: scale(0.97); box-shadow: 0 3px 12px rgba(255,179,71,0.6); }
.od-submit-btn::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}
.od-submit-btn:active::after { width: 300px; height: 300px; }


/* ============================================================
   SVG 尺寸保护（防止图标被渲染成巨大图形）
   ============================================================ */
.dt-nav-btn,
.dt-nav-btn svg,
.nav-btn,
.nav-btn svg,
.od-nav-left .nav-btn,
.od-nav-left .nav-btn svg {
    max-width: 24px !important;
    max-height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    overflow: hidden !important;
}
.dt-nav-btn svg,
.nav-btn svg,
.od-nav-left .nav-btn svg {
    width: 22px !important;
    height: 22px !important;
    fill: none !important;
}
.dt-nav-btn,
.nav-btn,
.od-nav-left .nav-btn {
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
