/* ==================== 思维链隐藏 ==================== */
.think {
    display: none;
}

/* ========== 特殊元素着色 ========== */
/* 内心想法：渐变蓝 */
.inner-thought, details i.inner-thought {
    background: linear-gradient(120deg, #007aff, #5ac8fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    font-weight: 500;
}

/* =========================================
   1. 顶部状态栏：iOS 灵动岛 / 小组件风格
   ========================================= */
h.ios-top-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(142, 142, 147, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
h.ios-top-bar p {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #515154;
    background: rgba(142, 142, 147, 0.1);
    padding: 6px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

/* =========================================
   2. 订单卡片：融合你的代码与 iOS 风格
   ========================================= */
card {
    display: block;
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(142, 142, 147, 0.2);
    border-radius: 18px; /* 苹果大圆角 */
    padding: 16px 20px;
    margin: 16px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.2, 1);
}
card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
card top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
card name { font-size: 1.2em; font-weight: 700; color: #1d1d1f; letter-spacing: 0.5px; }
card meta { font-size: 0.85em; color: #86868b; font-weight: 600; }
/* 照片描述：左侧科技蓝指示线，淡化背景 */
card pic {
    display: block; font-size: 0.9em; color: #515154; margin-bottom: 14px;
    border-left: 3px solid #007aff; padding-left: 12px; line-height: 1.5;
    background: linear-gradient(90deg, rgba(0,122,255,0.05) 0%, transparent 100%);
    padding-top: 6px; padding-bottom: 6px; border-radius: 0 8px 8px 0;
}
/* 需求：取消浮夸紫，改用苹果深邃钛金属色加粗 */
card req { display: block; font-size: 0.95em; font-weight: 600; color: #1d1d1f; margin-bottom: 14px; line-height: 1.5; }
/* 课时费：保留你的流光暗金，微调色值使其更显“老钱风” */
card price {
    display: inline-block; font-size: 1.2em; font-weight: 800;
    background: linear-gradient(90deg, #9a7b4f, #d4af37, #f3e5ab, #9a7b4f);
    background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: goldShine 3s linear infinite;
}
@keyframes goldShine { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

/* =========================================
   3. 统一底部状态栏：iOS 家族式折叠卡片
   ========================================= */
.ios-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin: 14px 0;
    border: 1px solid #f0f0f2;
    overflow: hidden;
}
.ios-card > summary {
    background: rgba(249, 249, 251, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    font-weight: 600;
    font-size: 15px;
    color: #1d1d1f;
    border-bottom: 1px solid #f0f0f2;
    cursor: pointer;
    list-style: none;
}
.ios-card > summary::-webkit-details-marker { display: none; }
.ios-content { padding: 16px 20px; color: #515154; font-size: 13px; line-height: 1.6; }
.ios-content p { margin: 8px 0; padding-bottom: 8px; border-bottom: 1px solid #f5f5f7; }
.ios-content p:last-child { border-bottom: none; }

/* 嵌套卡片（用于灵魂档案、记忆矩阵内部），形成层级感 */
.ios-nested {
    background: #fbfbfd;
    border-radius: 14px;
    margin: 10px 0;
    border: 1px solid #e5e5ea;
    overflow: hidden;
}
.ios-nested > summary {
    background: #f5f5f7;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    cursor: pointer;
    list-style: none;
}
.ios-nested > summary::-webkit-details-marker { display: none; }
.ios-nested .ios-content { padding: 12px 16px; }

/* =========================================
   4. 通用高级小组件 (标签、高亮、进度条)
   ========================================= */
.ios-badge {
    background: #e5e5ea; color: #1d1d1f; padding: 3px 8px;
    border-radius: 6px; font-size: 11px; font-weight: 600; margin-right: 6px;
}
.ios-badge.blue { background: #e5f0ff; color: #007aff; }
.ios-badge.red { background: #ffe5e5; color: #ff3b30; }
.ios-highlight { color: #007aff; font-weight: 600; }

/* 流光进度条 (工作台使用) */
.ios-progress-box { margin: 12px 0; background: #f5f5f7; padding: 12px; border-radius: 12px; }
.ios-bar-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 600; color: #1d1d1f; font-size: 12px; }
.ios-track { background: #e5e5ea; border-radius: 999px; height: 8px; width: 100%; overflow: hidden; }
.ios-fill {
    height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, #007aff, #34c759, #007aff);
    background-size: 200% 100%;
    animation: ios-liquid-flow 2.5s linear infinite;
}
@keyframes ios-liquid-flow { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* iOS 风格表格 */
.ios-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 10px; overflow: hidden; margin-top: 10px; border: 1px solid #e5e5ea; }
.ios-table th, .ios-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid #e5e5ea; border-right: 1px solid #e5e5ea; font-size: 12px; }
.ios-table th { background: #f5f5f7; color: #1d1d1f; font-weight: 600; }
.ios-table tr:last-child td { border-bottom: none; }
.ios-table td:last-child { border-right: none; }

/* 正文排版微调，增加呼吸感 */
tx { display: block; margin: 18px 0; line-height: 1.8; color: #1d1d1f; font-size: 15px; text-align: justify; }
tx p { margin-bottom: 12px; }