/* ================================================================
   兔兔AI文游阅读器 · 兔兔奶系主题
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=ZCOOL+KuaiLe&display=swap');
@import url('https://cdn.jsdelivr.net/npm/lxgw-wenkai-webfont@1.7.0/style.css');

:root {
    --t-carrot:        #E8956B;
    --t-carrot-soft:   #F4B896;
    --t-carrot-deep:   #C76F47;
    --t-carrot-tint:   rgba(232, 149, 107, 0.12);
    --t-bg:            #FBF6EE;
    --t-bg-card:       #FFFBF3;
    --t-bg-warm:       #F0E6D6;
    --t-bg-pinkish:    #FCEFE3;
    --t-text:          #3D2E22;
    --t-text-soft:     #6B5849;
    --t-text-light:    #A89683;
    --t-text-faint:    #C9B9A4;
    --t-text-on-dark:  #FFFBF3;
    --t-line:          rgba(168, 150, 131, 0.18);
    --t-line-soft:     rgba(168, 150, 131, 0.10);
    --t-line-strong:   rgba(168, 150, 131, 0.32);
    --t-green:         #88B89A;
    --t-pink:          #F5A5A5;
    --t-blue:          #A4C2D8;
    --t-gold:          #D9B574;
    --t-success:       #88B89A;
    --t-warn:          #D9B574;
    --t-danger:        #E07B7B;
    --r-sm:    8px;
    --r-md:    14px;
    --r-lg:    20px;
    --r-xl:    28px;
    --r-pill:  9999px;
    --sh-sm:    0 2px 6px rgba(168, 130, 90, 0.06);
    --sh-md:    0 4px 14px rgba(168, 130, 90, 0.10);
    --sh-lg:    0 8px 28px rgba(168, 130, 90, 0.14);
    --sh-glow:  0 0 0 3px rgba(232, 149, 107, 0.18);
    --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
    --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
    --ff-display: "ZCOOL KuaiLe", "PingFang SC", sans-serif;
    --ff-body:    -apple-system, "PingFang SC", "HarmonyOS Sans", sans-serif;
    --ff-script:  "LXGW WenKai", cursive;
    --ff-num:     "Outfit", "PingFang SC", sans-serif;
    --fs-xs: 11px; --fs-sm: 12px; --fs-base: 14px; --fs-md: 16px;
    --fs-lg: 18px; --fs-xl: 22px; --fs-2xl: 28px; --fs-3xl: 36px;
    --ease:        cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 0.15s; --t-base: 0.25s; --t-slow: 0.4s;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    height: 100%; width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    color: var(--t-text);
    background: var(--t-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select {
    font-family: inherit; font-size: inherit; color: inherit;
    border: none; background: none; outline: none;
}
button { cursor: pointer; user-select: none; }
svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }

.hidden { display: none !important; }


/* ================================================================
   主容器
================================================================ */
.tutu-app {
    min-height: 100vh;
    background: var(--t-bg);
    background-image:
        radial-gradient(ellipse at 0% 0%, rgba(232, 149, 107, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 100% 100%, rgba(232, 149, 107, 0.04) 0%, transparent 40%);
    position: relative;
    overflow-x: hidden;
}


/* ================================================================
   顶栏
================================================================ */
.t-topbar {
    position: sticky;
    top: 0; left: 0; right: 0;
    height: 56px;
    background: rgba(251, 246, 238, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--t-line-soft);
    display: flex;
    align-items: center;
    padding: 0 var(--sp-5);
    z-index: 100;
    gap: var(--sp-3);
}

.t-logo {
    display: flex; align-items: center; gap: 8px;
    cursor: pointer;
    transition: transform var(--t-base);
}
.t-logo:hover { transform: scale(1.04); }

.t-logo-mascot { width: 36px; height: 36px; }

.t-logo-text { display: flex; flex-direction: column; line-height: 1; }
.t-logo-name {
    font-family: var(--ff-display);
    font-size: 16px;
    color: var(--t-text);
    letter-spacing: 0.05em;
}
.t-logo-tag {
    font-size: 9px;
    color: var(--t-carrot-deep);
    letter-spacing: 0.3em;
    margin-top: 2px;
}

.t-topbar-right {
    margin-left: auto;
    display: flex; align-items: center; gap: 8px;
}

.t-radish-pill {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 14px 6px 10px;
    background: linear-gradient(135deg, #FFF5E6, #FFE4C9);
    border: 1.5px solid var(--t-carrot-soft);
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: all var(--t-base) var(--ease-bounce);
    box-shadow: var(--sh-sm);
}
.t-radish-pill:hover {
    transform: translateY(-1px);
    box-shadow: var(--sh-md);
    border-color: var(--t-carrot);
}
.t-radish-icon { width: 18px; height: 18px; color: var(--t-carrot); }
.t-radish-count {
    font-family: var(--ff-num);
    font-weight: 600;
    font-size: 14px;
    color: var(--t-carrot-deep);
    min-width: 20px;
    text-align: center;
}
.t-radish-plus {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--t-carrot);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: bold;
    margin-left: 2px;
}
.t-radish-pill.guest .t-radish-count {
    color: var(--t-text-light);
    font-size: 12px;
    font-family: var(--ff-body);
}

.t-topbar-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--t-text-soft);
    transition: all var(--t-base);
}
.t-topbar-btn:hover {
    background: var(--t-carrot-tint);
    color: var(--t-carrot-deep);
}
.t-topbar-btn svg { width: 22px; height: 22px; }


/* ================================================================
   页面容器
================================================================ */
.t-page {
    display: none;
    position: relative;
    z-index: 1;
    padding-bottom: 80px;
    animation: pageIn 0.4s var(--ease);
}
.t-page.active { display: block; }

@keyframes pageIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ================================================================
   首页 Hero
================================================================ */
.t-hero {
    margin: var(--sp-4) var(--sp-5) var(--sp-5);
    padding: 24px 22px;
    background: linear-gradient(135deg, #FFE4C9 0%, #FCEFE3 60%, #FFF5E6 100%);
    border-radius: var(--r-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--sh-md);
    min-height: 130px;
}

.t-hero::before {
    content: '';
    position: absolute;
    right: -20px; top: -10px;
    width: 140px; height: 140px;
    background: radial-gradient(circle, var(--t-carrot-soft) 0%, transparent 70%);
    opacity: 0.5;
}

.t-hero-mascot {
    position: absolute;
    right: 8px;
    bottom: -10px;
    width: 110px; height: 110px;
    opacity: 0.85;
    pointer-events: none;
}

.t-hero-content { position: relative; z-index: 1; max-width: 65%; }

.t-hero-greeting {
    font-size: 11px;
    color: var(--t-carrot-deep);
    letter-spacing: 0.3em;
    margin-bottom: 6px;
}

.t-hero-title {
    font-family: var(--ff-display);
    font-size: 24px;
    color: var(--t-text);
    line-height: 1.3;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.t-hero-sub {
    font-family: var(--ff-script);
    font-size: 12px;
    color: var(--t-text-soft);
    line-height: 1.6;
    letter-spacing: 0.05em;
}


/* ================================================================
   分类筛选
================================================================ */
.t-categories {
    display: flex; gap: 8px;
    padding: 0 var(--sp-5) var(--sp-4);
    overflow-x: auto;
    scrollbar-width: none;
}
.t-categories::-webkit-scrollbar { display: none; }

.t-cat-chip {
    padding: 8px 18px;
    background: var(--t-bg-card);
    border: 1.5px solid var(--t-line);
    border-radius: var(--r-pill);
    font-size: 13px;
    color: var(--t-text-soft);
    white-space: nowrap;
    transition: all var(--t-base);
    flex-shrink: 0;
}
.t-cat-chip:hover {
    border-color: var(--t-carrot-soft);
    color: var(--t-carrot-deep);
}
.t-cat-chip.active {
    background: var(--t-carrot);
    border-color: var(--t-carrot);
    color: white;
    box-shadow: 0 2px 8px rgba(232, 149, 107, 0.35);
}


/* ================================================================
   区块
================================================================ */
.t-section {
    padding: 0 var(--sp-5);
    margin-bottom: var(--sp-6);
}
.t-section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: var(--sp-4);
}
.t-section-title {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--ff-display);
    font-size: 18px;
    color: var(--t-text);
    letter-spacing: 0.08em;
}
.t-section-title-icon {
    width: 20px; height: 20px;
    color: var(--t-carrot);
}


/* ================================================================
   剧本卡片(改进版)
================================================================ */
.t-scenarios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.t-card {
    background: var(--t-bg-card);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    cursor: pointer;
    transition: all var(--t-base) var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
}

.t-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
}

.t-card-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--t-carrot-soft), var(--t-bg-warm));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.t-card-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.t-card-cover-placeholder {
    font-family: var(--ff-display);
    font-size: 20px;
    color: white;
    text-align: center;
    line-height: 1.3;
    padding: 12px;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 8px rgba(199, 111, 71, 0.4);
    z-index: 1;
}

.t-card-cover-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(232,149,107,0.5), rgba(199,111,71,0.3));
    z-index: -1;
}

.t-card-badge {
    position: absolute;
    top: 8px; left: 8px;
    padding: 3px 9px;
    background: var(--t-carrot);
    color: white;
    border-radius: var(--r-sm);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    box-shadow: 0 2px 6px rgba(232, 149, 107, 0.4);
    z-index: 2;
}
.t-card-badge.hot { background: linear-gradient(135deg, #E07B7B, #E85B5B); }
.t-card-badge.new { background: var(--t-green); }

.t-card-info {
    padding: 10px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.t-card-title {
    font-family: var(--ff-display);
    font-size: 15px;
    color: var(--t-text);
    line-height: 1.3;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.t-card-tags {
    display: flex; gap: 4px; flex-wrap: wrap;
    margin-bottom: 6px;
    min-height: 16px;
}

.t-card-tag {
    font-size: 10px;
    padding: 1px 6px;
    background: var(--t-bg-warm);
    color: var(--t-text-soft);
    border-radius: var(--r-sm);
    letter-spacing: 0.05em;
}

.t-card-stats {
    display: flex; align-items: center; gap: 10px;
    font-size: 11px;
    color: var(--t-text-light);
    font-family: var(--ff-num);
    margin-top: auto;
}

.t-card-stat {
    display: flex; align-items: center; gap: 3px;
}
.t-card-stat svg { width: 11px; height: 11px; }
.t-card-stat.liked { color: var(--t-pink); }


/* ================================================================
   剧本详情(全屏滑入)
================================================================ */
.t-detail {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 150;
    background: var(--t-bg);
    flex-direction: column;
}
.t-detail.active { display: flex; }


.t-detail-header {
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 var(--sp-3);
    background: rgba(251, 246, 238, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--t-line-soft);
    gap: 8px;
}

.t-detail-header-title {
    flex: 1;
    text-align: center;
    font-family: var(--ff-display);
    font-size: 16px;
    color: var(--t-text);
    letter-spacing: 0.15em;
}

.t-detail-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 100px;
}

.t-detail-cover {
    width: calc(100% - 40px);
    margin: 16px auto 0;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-xl);
    background: #F7EFE5;
    position: relative;
    overflow: hidden;
    box-shadow: var(--sh-md);
}

.t-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.t-detail-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.t-detail-cover-text {
    font-family: var(--ff-display);
    font-size: 32px;
    color: white;
    letter-spacing: 0.15em;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 2;
    position: relative;
    padding: 20px;
    text-align: center;
}

.t-detail-badge {
    position: absolute;
    top: 16px; right: 16px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.95);
    color: var(--t-carrot-deep);
    border-radius: var(--r-pill);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    z-index: 2;
}

/* 标题区 */
.t-detail-meta {
    padding: 20px var(--sp-5) var(--sp-4);
}

.t-detail-title {
    font-family: var(--ff-display);
    font-size: 24px;
    color: var(--t-text);
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    line-height: 1.3;
}

.t-detail-tags {
    display: flex; gap: 6px; flex-wrap: wrap;
    margin-bottom: 12px;
}

.t-detail-tags .t-card-tag {
    font-size: 11px;
    padding: 3px 10px;
    background: var(--t-carrot-tint);
    color: var(--t-carrot-deep);
}

.t-detail-stats {
    display: flex; gap: 16px;
    font-size: 12px;
    color: var(--t-text-light);
}

.t-detail-stat {
    display: flex; align-items: center; gap: 4px;
}
.t-detail-stat svg { width: 13px; height: 13px; }


/* Tab 切换 */
.t-detail-tabs {
    display: flex;
    gap: 0;
    padding: 0 var(--sp-5);
    border-bottom: 1px solid var(--t-line);
    margin-bottom: var(--sp-4);
}

.t-detail-tab {
    flex: 1;
    padding: 12px 0;
    font-family: var(--ff-display);
    font-size: 14px;
    color: var(--t-text-light);
    letter-spacing: 0.15em;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all var(--t-base);
}

.t-detail-tab.active {
    color: var(--t-carrot-deep);
    border-bottom-color: var(--t-carrot);
}


.t-detail-content {
    display: none;
    padding: 0 var(--sp-5) var(--sp-5);
    font-size: 14px;
    line-height: 1.8;
    color: var(--t-text-soft);
    letter-spacing: 0.03em;
}
.t-detail-content.active { display: block; }

.t-detail-content p { margin-bottom: 14px; }

.t-detail-content h4 {
    font-family: var(--ff-display);
    font-size: 15px;
    color: var(--t-text);
    margin: 18px 0 8px;
    letter-spacing: 0.1em;
    padding-left: 12px;
    border-left: 3px solid var(--t-carrot);
}

.t-detail-content ul {
    padding-left: 20px;
    margin-bottom: 14px;
}

.t-detail-content li {
    margin-bottom: 6px;
    line-height: 1.8;
}


/* 底部"开始游戏"按钮 */
.t-detail-footer {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 14px var(--sp-5);
    background: rgba(251, 246, 238, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--t-line-soft);
    z-index: 5;
}

.t-btn-large {
    padding: 14px 28px;
    font-size: 15px;
    letter-spacing: 0.2em;
}


/* ================================================================
   底部 Tab
================================================================ */
.t-bottom-tabs {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 64px;
    background: rgba(251, 246, 238, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--t-line-soft);
    display: flex;
    z-index: 100;
}

.t-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 4px;
    color: var(--t-text-light);
    transition: color var(--t-base);
    position: relative;
}

.t-tab svg {
    width: 22px; height: 22px;
    transition: all var(--t-base);
}

.t-tab-label {
    font-size: 10px;
    letter-spacing: 0.15em;
}

.t-tab.active { color: var(--t-carrot); }
.t-tab.active svg { transform: translateY(-2px); }
.t-tab.active::before {
    content: '';
    position: absolute;
    top: 6px;
    width: 24px; height: 3px;
    background: var(--t-carrot);
    border-radius: var(--r-pill);
}


/* ================================================================
   按钮
================================================================ */
.t-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--t-carrot);
    color: white;
    border-radius: var(--r-pill);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: all var(--t-base) var(--ease);
    box-shadow: 0 3px 10px rgba(232, 149, 107, 0.3);
}

.t-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(232, 149, 107, 0.4);
    background: var(--t-carrot-deep);
}

.t-btn:active { transform: translateY(0); }

.t-btn-line {
    background: transparent;
    color: var(--t-carrot-deep);
    border: 1.5px solid var(--t-carrot-soft);
    box-shadow: none;
}

.t-btn-line:hover {
    background: var(--t-carrot-tint);
    border-color: var(--t-carrot);
    box-shadow: none;
}

.t-btn-block { width: 100%; }


/* ================================================================
   弹窗
================================================================ */
.t-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: pageIn 0.25s var(--ease);
}
.t-modal.active { display: flex; }

.t-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(60, 40, 20, 0.4);
    backdrop-filter: blur(4px);
}

.t-modal-box {
    position: relative;
    width: 100%;
    max-width: 340px;
    background: var(--t-bg-card);
    border-radius: var(--r-xl);
    padding: 28px 24px;
    box-shadow: var(--sh-lg);
    text-align: center;
    animation: modalIn 0.35s var(--ease-bounce);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.t-modal-mascot {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto 12px;
}

.t-modal-title {
    font-family: var(--ff-display);
    font-size: 20px;
    color: var(--t-text);
    margin-bottom: 6px;
    letter-spacing: 0.1em;
}

.t-modal-sub {
    font-size: 12px;
    color: var(--t-text-soft);
    margin-bottom: 20px;
    line-height: 1.7;
}

.t-modal-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--t-bg-warm);
    border: 1.5px solid transparent;
    border-radius: var(--r-md);
    font-size: 14px;
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    transition: all var(--t-base);
}

.t-modal-input:focus {
    background: white;
    border-color: var(--t-carrot);
    box-shadow: var(--sh-glow);
}

.t-modal-input::placeholder {
    color: var(--t-text-faint);
    letter-spacing: 0.05em;
}

.t-modal-actions {
    display: flex;
    gap: 10px;
}
.t-modal-actions .t-btn { flex: 1; }

.t-modal-msg {
    font-size: 12px;
    margin-bottom: 12px;
    min-height: 18px;
    color: var(--t-danger);
}
.t-modal-msg.success { color: var(--t-success); }


/* ================================================================
   Toast
================================================================ */
.t-toast-container {
    position: fixed;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.t-toast {
    padding: 10px 22px;
    background: var(--t-text);
    color: var(--t-bg-card);
    border-radius: var(--r-pill);
    font-size: 13px;
    box-shadow: var(--sh-md);
    max-width: 80vw;
    animation: toastIn 0.3s var(--ease-bounce);
    pointer-events: auto;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.t-toast.fade-out {
    animation: toastOut 0.3s var(--ease) forwards;
}

@keyframes toastOut {
    to { opacity: 0; transform: translateY(-12px); }
}

.t-toast.success { background: var(--t-green); }
.t-toast.warn    { background: var(--t-warn); color: white; }
.t-toast.danger  { background: var(--t-danger); }


/* ================================================================
   空状态
================================================================ */
.t-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--t-text-light);
    font-family: var(--ff-script);
    font-size: 14px;
    letter-spacing: 0.1em;
}

.t-empty-mascot {
    width: 80px; height: 80px;
    display: block;
    margin: 0 auto 12px;
    opacity: 0.6;
}


/* ================================================================
   响应式
================================================================ */
@media (min-width: 768px) {
    .tutu-app {
        max-width: 480px;
        margin: 0 auto;
        box-shadow: 0 0 40px rgba(0,0,0,0.06);
    }
}

@media (max-width: 360px) {
    .t-hero { padding: 18px 16px; }
    .t-hero-title { font-size: 20px; }
    .t-section { padding: 0 var(--sp-4); }
    .t-scenarios-grid { gap: 10px; }
}
/* ================================================================
   电脑端 · 手机壳模式
================================================================ */
@media (min-width: 768px) {
    body {
        background: linear-gradient(135deg, #FFF5E6 0%, #FBF6EE 30%, #FCEFE3 70%, #FFE4C9 100%);
    }

    .tutu-app {
        max-width: 480px;
        margin: 0 auto;
        min-height: 100vh;
        background: var(--t-bg);
        box-shadow:
            0 0 60px rgba(168, 130, 90, 0.12),
            0 0 1px rgba(168, 130, 90, 0.2);
        position: relative;
        z-index: 1;
    }

    /* 底部Tab 居中 */
    .t-bottom-tabs {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 100%;
        max-width: 480px;
    }

    /* 详情页 居中 */
    .t-detail {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 100%;
        max-width: 480px;
    }

    .t-detail-footer {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 100%;
        max-width: 480px;
    }


    /* 两侧装饰 */
    .t-decor-left, .t-decor-right {
        position: fixed;
        top: 0;
        bottom: 0;
        width: calc((100vw - 480px) / 2);
        pointer-events: none;
        z-index: 0;
        overflow: hidden;
    }
    .t-decor-left  { left: 0; }
    .t-decor-right { right: 0; }

    .t-decor-item {
        position: absolute;
        opacity: 0.5;
        animation: decorFloat 6s ease-in-out infinite;
    }

    .t-decor-item.slow { animation-duration: 10s; }
    .t-decor-item.fast { animation-duration: 4s; }

    @keyframes decorFloat {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50%      { transform: translateY(-12px) rotate(5deg); }
    }

    .t-decor-item.spin { animation: decorSpin 12s linear infinite; }

    @keyframes decorSpin {
        from { transform: rotate(0deg); }
        to   { transform: rotate(360deg); }
    }
}

@media (max-width: 767px) {
    .t-decor-left, .t-decor-right { display: none; }
}
/* ================================================================
   页面通用 Header
================================================================ */
.t-page-header {
    padding: var(--sp-5) var(--sp-5) var(--sp-3);
    text-align: center;
}
.t-page-header-title {
    font-family: var(--ff-display);
    font-size: 22px;
    color: var(--t-text);
    letter-spacing: 0.15em;
    margin-bottom: 4px;
}
.t-page-header-sub {
    font-family: var(--ff-script);
    font-size: 12px;
    color: var(--t-text-soft);
    letter-spacing: 0.1em;
}


/* ================================================================
   许愿池
================================================================ */
.t-wish-tabs {
    display: flex;
    gap: 0;
    margin: 0 var(--sp-5) var(--sp-4);
    background: var(--t-bg-warm);
    border-radius: var(--r-pill);
    padding: 4px;
}

.t-wish-tab {
    flex: 1;
    padding: 8px 0;
    border-radius: var(--r-pill);
    font-size: 13px;
    color: var(--t-text-soft);
    transition: all var(--t-base);
    letter-spacing: 0.1em;
}

.t-wish-tab.active {
    background: white;
    color: var(--t-carrot-deep);
    font-weight: 600;
    box-shadow: var(--sh-sm);
}

.t-wish-list {
    padding: 0 var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.t-wish-item {
    background: var(--t-bg-card);
    border-radius: var(--r-lg);
    padding: 14px 16px;
    box-shadow: var(--sh-sm);
}

.t-wish-item.completed {
    background: linear-gradient(135deg, #FFE4C9, #FCEFE3);
    border: 1px solid var(--t-carrot-soft);
}

.t-wish-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.t-wish-nickname {
    font-size: 13px;
    color: var(--t-carrot-deep);
    font-weight: 600;
}

.t-wish-status {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: var(--r-sm);
    letter-spacing: 0.1em;
}
.t-wish-status.pending   { background: var(--t-bg-warm); color: var(--t-text-soft); }
.t-wish-status.accepted  { background: rgba(164, 194, 216, 0.3); color: #4a7691; }
.t-wish-status.working   { background: rgba(217, 181, 116, 0.3); color: #8a6f2f; }
.t-wish-status.completed { background: var(--t-green); color: white; }

.t-wish-time {
    margin-left: auto;
    font-size: 11px;
    color: var(--t-text-light);
    font-family: var(--ff-num);
}

.t-wish-title {
    font-family: var(--ff-display);
    font-size: 15px;
    color: var(--t-text);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.t-wish-content {
    font-size: 13px;
    color: var(--t-text);
    line-height: 1.7;
    margin-bottom: 8px;
    white-space: pre-wrap;
    word-break: break-word;
}

.t-wish-reply {
    background: var(--t-carrot-tint);
    border-left: 3px solid var(--t-carrot);
    padding: 8px 12px;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    font-size: 12px;
    color: var(--t-text);
    margin: 8px 0;
    line-height: 1.7;
}

.t-wish-foot {
    display: flex;
    justify-content: flex-end;
    border-top: 1px dashed var(--t-line);
    padding-top: 8px;
    margin-top: 8px;
}

.t-wish-vote {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    background: transparent;
    color: var(--t-text-light);
    font-size: 12px;
    transition: all var(--t-base);
}

.t-wish-vote:hover {
    background: var(--t-carrot-tint);
    color: var(--t-pink);
}

.t-wish-vote.voted {
    color: var(--t-pink);
}

.t-wish-vote svg {
    width: 14px;
    height: 14px;
}


/* ================================================================
   我的
================================================================ */
.t-me-card {
    margin: 0 var(--sp-5) var(--sp-4);
}

.t-me-card-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, #FFF5E6, #FFE4C9);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
}

.t-me-card-inner.guest {
    background: var(--t-bg-card);
}

.t-me-card-mascot {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.t-me-card-info {
    flex: 1;
    min-width: 0;
}

.t-me-card-code {
    font-family: var(--ff-num);
    font-size: 14px;
    color: var(--t-text);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.t-me-card-balance {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--t-carrot-deep);
    font-family: var(--ff-num);
    font-size: 18px;
    font-weight: 600;
}

.t-me-card-balance-label {
    font-size: 11px;
    font-family: var(--ff-body);
    margin-left: 2px;
    color: var(--t-text-soft);
    font-weight: normal;
}

.t-me-card-action {
    padding: 8px 16px;
    background: var(--t-carrot);
    color: white;
    border-radius: var(--r-pill);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all var(--t-base);
    box-shadow: 0 2px 8px rgba(232, 149, 107, 0.35);
}

.t-me-card-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 149, 107, 0.45);
}

.t-me-card-action svg {
    width: 14px;
    height: 14px;
}


.t-me-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 var(--sp-5) var(--sp-4);
}

.t-me-grid-item {
    background: var(--t-bg-card);
    padding: 14px 14px 12px;
    border-radius: var(--r-lg);
    cursor: pointer;
    transition: all var(--t-base);
    box-shadow: var(--sh-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.t-me-grid-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}

.t-me-grid-item svg {
    width: 22px;
    height: 22px;
}

.t-me-grid-label {
    font-size: 13px;
    color: var(--t-text);
    margin-top: 4px;
}

.t-me-grid-count {
    position: absolute;
    top: 12px;
    right: 14px;
    font-family: var(--ff-num);
    font-size: 14px;
    font-weight: 600;
    color: var(--t-carrot-deep);
}


.t-me-list-section {
    padding: 0 var(--sp-5) var(--sp-4);
}

.t-me-list-card {
    background: var(--t-bg-card);
    border-radius: var(--r-lg);
    padding: 14px 16px;
    box-shadow: var(--sh-sm);
}

.t-me-list-title {
    font-family: var(--ff-display);
    font-size: 14px;
    color: var(--t-text);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--t-line);
    letter-spacing: 0.1em;
}

.t-me-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    color: var(--t-text);
    cursor: pointer;
    transition: color var(--t-base);
    border-bottom: 1px solid var(--t-line-soft);
}

.t-me-list-item:last-child { border-bottom: none; }
.t-me-list-item:hover { color: var(--t-carrot-deep); }


.t-me-settings {
    padding: 0 var(--sp-5);
    background: var(--t-bg-card);
    margin: 0 var(--sp-5) var(--sp-4);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
}

.t-me-setting-row {
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--t-text);
    cursor: pointer;
    border-bottom: 1px solid var(--t-line-soft);
    transition: color var(--t-base);
}

.t-me-setting-row:last-child { border-bottom: none; }
.t-me-setting-row:hover { color: var(--t-carrot-deep); }
.t-me-setting-row svg { transform: rotate(180deg); }


.t-me-footer {
    text-align: center;
    color: var(--t-text-faint);
    font-size: 11px;
    padding: 20px 0 100px;
    font-family: var(--ff-script);
    letter-spacing: 0.1em;
}
/* ================================================================
   搜索弹窗(全屏滑入)
================================================================ */
.t-search-panel {
    position: fixed;
    inset: 0;
    z-index: 250;
    background: var(--t-bg);
    display: none;
    flex-direction: column;
    animation: pageIn 0.25s var(--ease);
}
.t-search-panel.active { display: flex; }

.t-search-header {
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 var(--sp-4);
    background: var(--t-bg-card);
    border-bottom: 1px solid var(--t-line-soft);
}

.t-search-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--t-bg-warm);
    border-radius: var(--r-pill);
    padding: 0 12px;
    height: 36px;
}

.t-search-icon-left {
    width: 16px;
    height: 16px;
    color: var(--t-text-light);
    flex-shrink: 0;
}

.t-search-input {
    flex: 1;
    background: transparent;
    padding: 0 8px;
    font-size: 14px;
    color: var(--t-text);
}
.t-search-input::placeholder { color: var(--t-text-faint); }

.t-search-clear {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(168, 150, 131, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.t-search-clear svg { width: 12px; height: 12px; }

.t-search-cancel {
    flex-shrink: 0;
    color: var(--t-carrot-deep);
    font-size: 14px;
    padding: 4px 4px 4px 0;
}

.t-search-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--sp-4) var(--sp-5);
}

.t-search-tip {
    text-align: center;
    padding-top: 60px;
    color: var(--t-text-light);
    font-family: var(--ff-script);
    line-height: 1.8;
}

.t-search-section-title {
    font-size: 12px;
    color: var(--t-text-light);
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.t-search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--t-bg-card);
    border-radius: var(--r-md);
    margin-bottom: 8px;
    cursor: pointer;
    box-shadow: var(--sh-sm);
    transition: all var(--t-base);
}

.t-search-result:hover {
    transform: translateY(-1px);
    box-shadow: var(--sh-md);
}

.t-search-result-cover {
    width: 48px;
    height: 64px;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, var(--t-carrot-soft), var(--t-bg-warm));
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--ff-display);
    font-size: 11px;
    text-align: center;
    padding: 4px;
    line-height: 1.2;
    overflow: hidden;
}

.t-search-result-cover img {
    width: 100%; height: 100%; object-fit: cover;
}

.t-search-result-info {
    flex: 1;
    min-width: 0;
}

.t-search-result-title {
    font-family: var(--ff-display);
    font-size: 15px;
    color: var(--t-text);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.t-search-result-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.t-search-result-intro {
    font-size: 12px;
    color: var(--t-text-light);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.t-search-hl {
    color: var(--t-carrot-deep);
    font-weight: 600;
}

.t-search-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--t-text-light);
    font-family: var(--ff-script);
    line-height: 1.8;
}
/* ================================================================
   免费体验区 / 通行证页
================================================================ */

.t-pass-card {
    margin: 0 var(--sp-5) var(--sp-4);
    padding: 16px;
    background: var(--t-bg-card);
    border: 1px solid var(--t-line-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
}

.t-pass-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-display);
    font-size: 16px;
    color: var(--t-text);
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.t-pass-card-title svg {
    width: 18px;
    height: 18px;
    color: var(--t-carrot);
}

.t-pass-tip {
    font-size: 12px;
    color: var(--t-text-soft);
    line-height: 1.8;
    margin-bottom: 12px;
}

.t-pass-select {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: var(--t-bg-warm);
    border: 1.5px solid transparent;
    border-radius: var(--r-md);
    color: var(--t-text);
    font-size: 13px;
    outline: none;
}

.t-pass-select:focus {
    background: white;
    border-color: var(--t-carrot);
    box-shadow: var(--sh-glow);
}

.t-pass-desc {
    font-size: 12px;
    color: var(--t-text-soft);
    line-height: 1.9;
}

.t-pass-desc p {
    margin-bottom: 6px;
}

.t-pass-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-pass-status-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.t-pass-status-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.t-pass-status-icon.active {
    background: linear-gradient(135deg, var(--t-green), #62A47B);
}

.t-pass-status-icon.inactive {
    background: linear-gradient(135deg, var(--t-bg-warm), var(--t-text-faint));
}

.t-pass-status-main {
    flex: 1;
    min-width: 0;
}

.t-pass-status-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--t-text);
    margin-bottom: 3px;
}

.t-pass-status-sub {
    font-size: 12px;
    color: var(--t-text-soft);
    line-height: 1.6;
}

.t-pass-unlocked-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.t-pass-unlocked-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: var(--t-bg-warm);
    border-radius: var(--r-md);
    font-size: 13px;
    color: var(--t-text);
}

.t-pass-unlocked-item span:last-child {
    color: var(--t-green);
    font-size: 12px;
    white-space: nowrap;
}

.t-pass-empty {
    text-align: center;
    padding: 18px 8px;
    color: var(--t-text-light);
    font-family: var(--ff-script);
    font-size: 13px;
    line-height: 1.8;
}

.t-card-free-reason {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.92);
    color: var(--t-carrot-deep);
    font-size: 10px;
    font-weight: 600;
    box-shadow: var(--sh-sm);
}

.t-card-locked-mark {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: var(--r-pill);
    background: rgba(61, 46, 34, 0.68);
    color: white;
    font-size: 10px;
}
/* ================================================================
   我的页 · 线路 / API 配置
================================================================ */

.t-route-card {
    background: var(--t-bg-card);
    border-radius: var(--r-lg);
    padding: 14px 16px;
    box-shadow: var(--sh-sm);
}

.t-route-title {
    font-family: var(--ff-display);
    font-size: 15px;
    color: var(--t-text);
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.t-route-sub {
    font-size: 12px;
    color: var(--t-text-soft);
    line-height: 1.7;
    margin-bottom: 12px;
}

.t-route-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.t-route-option {
    padding: 14px 10px;
    border-radius: var(--r-lg);
    border: 1.5px solid var(--t-line);
    background: var(--t-bg-warm);
    text-align: center;
    cursor: pointer;
    transition: all var(--t-base);
}

.t-route-option.active {
    border-color: var(--t-carrot);
    background: var(--t-carrot-tint);
    box-shadow: var(--sh-glow);
}

.t-route-option-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--t-text);
    margin-bottom: 3px;
}

.t-route-option-desc {
    font-size: 11px;
    color: var(--t-text-light);
    line-height: 1.5;
}

.t-api-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.t-api-label {
    font-size: 12px;
    color: var(--t-text-soft);
    margin-bottom: 4px;
}

.t-api-input {
    width: 100%;
    padding: 11px 13px;
    background: var(--t-bg-warm);
    border: 1.5px solid transparent;
    border-radius: var(--r-md);
    font-size: 13px;
    outline: none;
}

.t-api-input:focus {
    background: white;
    border-color: var(--t-carrot);
    box-shadow: var(--sh-glow);
}

.t-api-input::placeholder {
    color: var(--t-text-faint);
}

.t-api-msg {
    min-height: 18px;
    font-size: 12px;
    color: var(--t-danger);
    text-align: center;
}

.t-api-msg.success {
    color: var(--t-success);
}

.t-api-actions {
    display: flex;
    gap: 8px;
}

.t-api-actions .t-btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 13px;
}

.t-api-tip {
    padding: 10px 12px;
    background: var(--t-carrot-tint);
    border-radius: var(--r-md);
    color: var(--t-text-soft);
    font-size: 12px;
    line-height: 1.7;
}
/* ━━━ 即将上线的游戏卡片 ━━━ */
.t-card-coming-soon {
    cursor: not-allowed;
    opacity: 0.6;
    filter: grayscale(0.5);
    transition: all 0.3s;
}

.t-card-coming-soon:hover {
    transform: none !important;
    box-shadow: none !important;
}

.t-card-coming-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 32, 36, 0.45);
    z-index: 5;
    pointer-events: none;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.t-card-coming-overlay span {
    padding: 6px 18px;
    background: rgba(255, 253, 247, 0.95);
    color: var(--t-carrot-deep, #C76F47);
    font-family: var(--ff-serif, sans-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    border: 1.5px solid var(--t-carrot, #E8956B);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(232, 149, 107, 0.3);
}
/* ════════════════════════════════════════
   试运营公告弹窗
════════════════════════════════════════ */

.t-modal-announce {
    max-width: 420px;
    width: 100%;
    max-height: 85vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.t-announce-head {
    flex-shrink: 0;
    padding: 24px 24px 16px;
    text-align: center;
    background: linear-gradient(135deg, #FCEFE3 0%, #FFE4C9 100%);
    border-bottom: 1px solid var(--t-line);
}

.t-announce-mascot {
    width: 64px;
    height: 64px;
    margin-bottom: 6px;
}

.t-announce-title {
    font-family: var(--ff-script);
    font-size: 20px;
    font-weight: 700;
    color: var(--t-carrot-deep);
    letter-spacing: 0.05em;
    margin: 0;
}

.t-announce-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 22px;
}

.t-announce-section {
    margin-bottom: 20px;
}

.t-announce-section:last-child {
    margin-bottom: 0;
}

.t-announce-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--t-carrot-deep);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    text-align: left;
}



.t-announce-section-text {
    font-size: 13.5px;
    color: var(--t-text);
    line-height: 1.85;
    letter-spacing: 0.01em;
    text-align: left;
}

.t-announce-section-text p {
    margin: 0 0 8px 0;
}

.t-announce-section-text p:last-child {
    margin-bottom: 0;
}

.t-announce-section-text ul {
    list-style: none;
    padding: 0;
    margin: 6px 0 8px;
}

.t-announce-section-text ul li {
    padding-left: 16px;
    position: relative;
    margin-bottom: 6px;
    line-height: 1.7;
}

.t-announce-section-text ul li:last-child {
    margin-bottom: 0;
}

.t-announce-section-text ul li::before {
    content: '•';
    position: absolute;
    left: 4px;
    top: 0;
    color: var(--t-carrot);
    font-weight: bold;
    line-height: 1.7;
}

.t-announce-section-text b {
    color: var(--t-carrot-deep);
    font-weight: 600;
}

.t-announce-link {
    color: var(--t-carrot-deep);
    text-decoration: underline;
    font-weight: 600;
}

.t-announce-tip {
    margin-top: 12px;
    padding: 12px 14px;
    background: rgba(232, 149, 107, 0.08);
    border-left: 3px solid var(--t-carrot);
    border-radius: 8px;
    font-size: 12.5px;
    line-height: 1.85;
    color: var(--t-text);
    text-align: left;
}


.t-announce-contact {
    text-align: center;
    font-size: 11px;
    color: var(--t-text-light);
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--t-line);
    letter-spacing: 0.05em;
}

.t-announce-footer {
    flex-shrink: 0;
    padding: 14px 22px 18px;
    border-top: 1px solid var(--t-line);
    background: #FBF6EE;
}

.t-announce-dont {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--t-text-light);
    cursor: pointer;
    margin-bottom: 10px;
    user-select: none;
}

.t-announce-dont input {
    cursor: pointer;
    accent-color: var(--t-carrot);
}

/* ════════════════════════════════════════
   模型选择弹窗
════════════════════════════════════════ */

.t-modal-model {
    max-width: 380px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.t-model-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 12px;
}

.t-model-card {
    border: 2px solid var(--t-line);
    border-radius: 14px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #FFFDF8;
    position: relative;
}

.t-model-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.t-model-card.selected {
    border-color: var(--t-carrot);
    background: rgba(232, 149, 107, 0.06);
    box-shadow: 0 2px 8px rgba(232, 149, 107, 0.15);
}

.t-model-card.recommend {
    background: linear-gradient(135deg, #FFF7EE 0%, #FFE9D5 100%);
}

.t-model-card.recommend:not(.selected) {
    border-color: rgba(232, 149, 107, 0.35);
}


.t-model-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.t-model-icon {
    font-size: 16px;
}

.t-model-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--t-text);
    flex: 1;
}

.t-model-tag {
    font-size: 11px;
    background: var(--t-carrot);
    color: #fff;
    padding: 2px 8px;
    border-radius: 8px;
    letter-spacing: 0.04em;
}

.t-model-price {
    font-family: var(--ff-num);
    font-size: 18px;
    font-weight: 600;
    color: var(--t-carrot-deep);
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.t-model-desc {
    font-size: 12.5px;
    color: var(--t-text-light);
    line-height: 1.7;
}

.t-model-extra {
    color: var(--t-text-light);
    font-size: 11.5px;
}

.t-model-tips {
    background: rgba(255, 255, 255, 0.5);
    border: 1px dashed var(--t-line);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.t-model-tips p {
    margin: 0;
    font-size: 11.5px;
    color: var(--t-text-light);
    line-height: 1.85;
    letter-spacing: 0.02em;
}

.t-model-tips p + p {
    margin-top: 4px;
}

.t-modal-model .t-modal-actions {
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 12px;
}

.t-modal-model .t-announce-dont {
    margin-bottom: 0;
    flex: 0 0 auto;
}

.t-modal-model .t-btn {
    flex: 1;
}
/* ════════════════════════════════════════
   "我的兔粮"弹窗 - 切换模型按钮
════════════════════════════════════════ */
.t-exchange-model-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(232, 149, 107, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    margin-bottom: 6px;
    font-family: inherit;
    font-size: 13px;
    color: var(--t-text);
    transition: all 0.2s;
}

.t-exchange-model-btn:hover {
    background: rgba(232, 149, 107, 0.08);
    border-color: rgba(232, 149, 107, 0.5);
    transform: translateY(-1px);
}

.t-exchange-model-label {
    font-weight: 500;
}

.t-exchange-model-value {
    color: var(--t-carrot-deep);
    font-weight: 600;
}
