/* ============================================================
   学习站 · 浅色极简风格（2026-10-12 站长定：苹果官网风）
   白底、黑字、大量留白；去渐变、去阴影、去装饰
   ============================================================ */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
background:#fff;color:#1d1d1f;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit}
.dim{color:#6e6e73}

/* ---------- 顶栏 ---------- */
.topbar{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.85);backdrop-filter:blur(12px);
border-bottom:1px solid #d2d2d7}
.topbar-inner{max-width:1020px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.brand{font-size:18px;font-weight:600}.brand .ver{font-size:11px;color:#6e6e73;border:1px solid #d2d2d7;border-radius:10px;padding:1px 8px;margin-left:8px;font-weight:400}
.tabs{display:flex;gap:4px;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.tabs button{flex-shrink:0;background:none;border:none;color:#1d1d1f;font-size:14px;
border-radius:8px;padding:8px 16px;cursor:pointer;font-weight:400}
.tabs button.active{background:#FFE14D;color:#1d1d1f;font-weight:700}
.tabs button:hover{background:#f5f5f7}
.tabs button.active:hover{background:#e8e8ed !important}
.wrap{max-width:1020px;margin:0 auto;padding:32px 20px 80px}
.tabpage{display:none}.tabpage.active{display:block}

/* ---------- hero ---------- */
.hero{background:#f5f5f7;border:none;
border-radius:16px;padding:48px 40px;margin-bottom:32px;text-align:center}
.hero h1{font-size:32px;font-weight:700;color:#1d1d1f;letter-spacing:-.5px}
.hero h1 .hl{background:linear-gradient(transparent 60%, #FFE14D 60%);padding:0 4px}
.hero p{color:#6e6e73;margin-top:12px;font-size:15px;max-width:600px;margin-left:auto;margin-right:auto}
.hero .eyebrow{display:inline-block;font-size:12px;color:#6e6e73;
border:1px solid #d2d2d7;border-radius:20px;padding:4px 14px;
margin-bottom:16px;background:#fff;font-weight:500}
.hero .eyebrow b{color:#0071e3;font-weight:700}
.stats{display:flex;gap:32px;margin-top:28px;flex-wrap:wrap;justify-content:center}
.stat{background:none;border:none;border-radius:0;padding:0;text-align:center}
.stat b{font-size:28px;color:#1d1d1f;display:block;font-weight:700}
.stat b .y{color:#E6B800}
.stat span{font-size:13px;color:#6e6e73}

/* ---------- 首页双栏 ---------- */
.home-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:32px;align-items:start}
.panel{background:#fff;border:none;border-radius:0;padding:0;min-width:0}
.panel-head{display:flex;align-items:baseline;gap:10px;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #d2d2d7}
.panel-head h2{font-size:20px;margin:0;font-weight:700}
.feed-count{font-size:12px;color:#6e6e73}

/* ---------- 信息流 ---------- */
.feed{max-height:640px;overflow-y:auto;padding-right:6px}
.feed-day{font-size:12px;font-weight:600;color:#6e6e73;margin:20px 0 8px;padding-bottom:8px;border-bottom:1px solid #e8e8ed;text-transform:uppercase;letter-spacing:.5px}
.feed-day:first-child{margin-top:0}
.feed-item{display:block;text-decoration:none;border-left:none;border-bottom:1px solid #f5f5f7;padding:12px 4px;border-radius:0;margin-bottom:0}
.feed-item:hover{background:#f5f5f7}
.feed-title{font-size:15px;font-weight:600;color:#1d1d1f}
.feed-title a{color:#1d1d1f;text-decoration:none}
.feed-title a:hover{color:#0071e3;text-decoration:none}
.feed-title small{font-weight:400;font-size:12px;color:#6e6e73}
.feed-sub{font-size:13px;color:#6e6e73;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.feed-more{display:inline-block;margin-top:16px;font-size:14px;color:#0071e3;text-decoration:none;font-weight:500}
.feed-more:hover{text-decoration:underline}

/* ---------- 知识地图 ---------- */
.map-block{margin-bottom:32px}
.map-block:last-child{margin-bottom:0}
.map-sub{font-size:13px;color:#6e6e73;font-weight:600;margin-bottom:16px}
.bubbles{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center;min-height:120px}
.bubble{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;
background:#f5f5f7;border:1px solid #e8e8ed;
text-decoration:none;transition:transform .15s,background .15s;flex-shrink:0}
.bubble:hover{transform:scale(1.05);background:#e8e8ed;border-color:#d2d2d7}
.bubble-icon{font-size:22px}
.bubble-cat{font-size:12px;color:#1d1d1f;margin-top:4px;font-weight:500}
.bubble-n{font-size:16px;font-weight:700;color:#0071e3}
.tagcloud{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
.tagchip{color:#1d1d1f;text-decoration:none;background:#f5f5f7;border:none;
border-radius:16px;padding:6px 16px;line-height:1.5;transition:background .15s;font-size:13px}
.tagchip i{font-style:normal;font-size:.85em;color:#6e6e73;margin-left:4px}
.tagchip:hover{background:#e8e8ed;color:#1d1d1f}
.matrix-legend{font-size:12px;margin-top:12px;color:#6e6e73}
table.matrix{width:100%;border-collapse:collapse;font-size:13px}
.matrix th,.matrix td{padding:8px 10px;text-align:center;border:1px solid #e8e8ed}
.matrix thead th{background:#f5f5f7;font-weight:600;color:#1d1d1f;border-bottom:2px solid #d2d2d7}
.matrix th.mrow{text-align:left;color:#1d1d1f;cursor:pointer;white-space:nowrap;background:#fff;font-weight:500}
.matrix th.mrow:hover{background:#f5f5f7}
.matrix .mcell{font-weight:600}
.matrix .mcell.empty{color:#d2d2d7;font-weight:400}
.mc-ing{background:#f0faf4;color:#1d7a3a}
.mc-done{background:#f0f7ff;color:#0071e3}
.mc-eval{background:#fffbf0;color:#b7791f}
.mc-plan{background:#f5f5f7;color:#6e6e73}
.mc-know{background:#f5f0ff;color:#6d28d9}
.matrix .mcell.total{background:#f5f5f7;color:#1d1d1f}

/* ---------- 学习地图 ---------- */
h2.sec{font-size:24px;margin:40px 0 16px;font-weight:700;letter-spacing:-.3px}
.roadmap{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
.step{background:#f5f5f7;border:none;border-radius:12px;padding:24px 20px}
.step .n{width:32px;height:32px;border-radius:50%;background:#1d1d1f;color:#fff;
display:flex;align-items:center;justify-content:center;font-weight:700;margin-bottom:12px;font-size:14px}
.step p{font-size:14px;color:#6e6e73;margin-top:8px}
.step h3,.step h4{font-size:16px;font-weight:600;color:#1d1d1f}

/* ---------- 通用 tab ---------- */
.secdesc{color:#6e6e73;font-size:15px;margin-bottom:20px}
.toolbar{margin-bottom:20px}
.toolbar input{width:100%;background:#f5f5f7;border:1px solid #e8e8ed;color:#1d1d1f;
border-radius:12px;padding:14px 18px;font-size:15px;margin-bottom:12px}
.toolbar input:focus{outline:none;border-color:#0071e3;background:#fff}
.toolbar input::placeholder{color:#aeaeb2}
.catfilter{display:flex;gap:8px;flex-wrap:wrap}
.catfilter button{background:#f5f5f7;border:none;color:#1d1d1f;border-radius:20px;
padding:8px 18px;font-size:13px;cursor:pointer;font-weight:500}
.catfilter button.on{background:#1d1d1f;color:#fff}
.catfilter button:hover{background:#e8e8ed}
.catfilter button.on:hover{background:#1d1d1f}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.card{background:#fff;border:1px solid #e8e8ed;border-radius:12px;padding:24px;position:relative}
.card:hover{border-color:#d2d2d7;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.card .chead{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.card .icon{font-size:28px}
.card h3{font-size:17px;margin-top:12px;font-weight:700;color:#1d1d1f}
.card h3 small{font-size:12px;font-family:ui-monospace,monospace;font-weight:400;color:#6e6e73}
.card .oneliner{font-size:14px;color:#1d1d1f;margin:10px 0;font-weight:500}
.card .desc{font-size:14px;color:#6e6e73;line-height:1.6}
.card .meta{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap;align-items:center}
.catlab{margin-left:auto;font-size:12px;color:#6e6e73}
.tag{font-size:11px;background:#f5f5f7;border-radius:10px;padding:3px 12px;color:#6e6e73;font-weight:500}
.status{font-size:11px;border-radius:10px;padding:3px 12px;font-weight:600}
.status.st-ing{background:#e8f5e9;color:#1b7a3d}
.status.st-done{background:#e3f2fd;color:#0071e3}
.status.st-eval{background:#fff8e1;color:#b7791f}
.status.st-plan{background:#f5f5f7;color:#6e6e73}
.status.st-know{background:#f3e8ff;color:#6d28d9}
.card .date{font-size:12px;color:#aeaeb2}
.card-link{display:block;text-decoration:none;color:inherit}
.card-go{margin-left:auto;font-size:13px;font-weight:600;color:#0071e3;white-space:nowrap}
.card-link:hover .card-go{color:#0058b0}

/* ---------- 问答 ---------- */
.qa-card{display:block;text-decoration:none;background:#fff;border-bottom:1px solid #f5f5f7;
border-radius:0;padding:20px 4px;margin-bottom:0;transition:background .15s}
.qa-card:hover{background:#f5f5f7;border-color:#f5f5f7}
.qc-q{display:flex;gap:12px;align-items:flex-start;font-weight:600;font-size:16px;color:#1d1d1f}
.qc-a{color:#6e6e73;font-size:14px;margin:10px 0 0 38px;line-height:1.6}
.qc-meta{font-size:12px;color:#aeaeb2;margin:10px 0 0 38px}
.qc-go{float:right;font-weight:600;color:#0071e3}
.qbadge,.abadge{flex-shrink:0;width:28px;height:28px;border-radius:50%;
display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700}
.qbadge{background:#1d1d1f;color:#fff}
.abadge{background:#f5f5f7;color:#0071e3}

/* ---------- 二级详情页 ---------- */
.detail-body{white-space:pre-wrap;font-size:16px;line-height:1.8;color:#1d1d1f}
.qa-detail-q{display:flex;gap:12px;align-items:flex-start}
.qa-detail-q h3{font-size:22px;margin:2px 0 0;font-weight:700}
.qa-detail-a{display:flex;gap:12px;align-items:flex-start;margin-top:24px;padding-top:20px;border-top:1px solid #e8e8ed}
.qa-detail-a .detail-body{font-size:16px;color:#1d1d1f;flex:1;min-width:0}

/* 趋势详情配图 */
.trend-img{margin:24px 0}
.trend-img img{width:100%;border-radius:12px;border:1px solid #e8e8ed;display:block}
.trend-img figcaption{font-size:13px;color:#6e6e73;margin-top:10px;text-align:center;line-height:1.6}

/* ---------- 新闻 ---------- */
.newsitem{background:#fff;border-bottom:1px solid #f5f5f7;border-radius:0;padding:16px 4px;margin-bottom:0}
.newsitem a{color:#1d1d1f;text-decoration:none;font-size:15px;font-weight:600}
.newsitem a:hover{color:#0071e3;text-decoration:none}
.newsitem .nsrc{font-size:12px;color:#aeaeb2;margin-top:6px}

/* ---------- 免费 Token ---------- */
.deals{display:flex;flex-direction:column;gap:0}
.deal-list-row{display:flex;align-items:stretch;gap:8px}
.deal-list-row .deal-list-item{flex:1;min-width:0}
.dli-share{display:flex;align-items:center;justify-content:center;width:48px;flex-shrink:0;
background:#fff;border:1px solid #e8e8ed;border-radius:12px;color:#6e6e73;
text-decoration:none;font-size:16px;transition:background .15s}
.dli-share:hover{background:#f5f5f7;color:#1d1d1f}
.btn-share{display:inline-block;margin-left:8px;background:#f5f5f7;border:none;
color:#1d1d1f;text-decoration:none;font-weight:600;font-size:13px;border-radius:20px;
padding:10px 18px;white-space:nowrap}
.btn-share:hover{background:#e8e8ed}
.deal-cta{display:flex;align-items:center;flex-wrap:wrap;gap:0}
.deal-list-item{display:flex;align-items:center;gap:16px;text-decoration:none;
background:#fff;border-bottom:1px solid #f5f5f7;border-radius:0;
padding:18px 4px;transition:background .15s}
.deal-list-item:hover{background:#f5f5f7}
.dli-ico{font-size:28px;flex-shrink:0}
.dli-body{flex:1;min-width:0}
.dli-title{font-size:16px;font-weight:700;color:#1d1d1f}
.dli-headline{font-size:14px;color:#1d1d1f;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.dli-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:#6e6e73;margin-top:6px}
.dli-models{color:#0071e3}
.dli-go{font-size:14px;font-weight:600;color:#0071e3;white-space:nowrap;flex-shrink:0}
.page-banner{width:100%;max-width:100%;border-radius:12px;display:block;
  margin:16px 0 24px;border:1px solid #e8e8ed}
.back-link{display:inline-block;font-size:14px;color:#0071e3;text-decoration:none;margin-bottom:16px;font-weight:500}
.back-link:hover{text-decoration:underline}

.deal{background:#fff;border:1px solid #e8e8ed;border-radius:12px;padding:28px;margin-bottom:20px}
.banner-deal{display:flex;align-items:center;gap:16px;text-decoration:none;
background:#FFE14D;border:none;
border-radius:12px;padding:18px 24px;margin-bottom:24px}
.banner-deal:hover{background:#FFD500}
.bd-ico{font-size:28px}
.bd-text{flex:1;font-size:15px;color:#1d1d1f}
.bd-text b{color:#1d1d1f;font-size:16px;margin-right:4px;font-weight:700}
.bd-go{font-size:14px;font-weight:600;color:#fff;background:#0071e3;
border-radius:20px;padding:8px 18px;white-space:nowrap}

.deal:hover{border-color:#d2d2d7}
.deal-head{display:flex;gap:16px;align-items:flex-start}
.deal-ico{font-size:36px;line-height:1.1}
.deal-title{flex:1;min-width:0}
.deal-title h3{font-size:22px;margin:0;font-weight:700}
.deal-by{font-size:13px;color:#6e6e73;margin-top:4px;font-family:ui-monospace,monospace}
.deal-cta{flex-shrink:0}
.btn-deal{display:inline-block;background:#0071e3;color:#fff;
text-decoration:none;font-weight:600;font-size:14px;border-radius:20px;padding:10px 24px;white-space:nowrap}
.btn-deal:hover{background:#0058b0}
.deal-headline{font-size:16px;color:#1d1d1f;font-weight:700;margin:18px 0 8px}
.deal-desc{font-size:15px;color:#1d1d1f;line-height:1.7}
.deal-block{margin-top:20px;padding-top:18px;border-top:1px solid #e8e8ed}
.deal-sub{font-size:13px;font-weight:700;color:#1d1d1f;margin-bottom:12px}
.mchips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.mlab{font-size:12px;color:#6e6e73;margin-right:2px}
.mchip{font-size:13px;background:#f5f5f7;border:none;border-radius:8px;padding:4px 12px;color:#1d1d1f}
.mchip.mfree{background:#e8f5e9;color:#1b7a3d}
.steps{list-style:none;display:flex;flex-direction:column;gap:10px}
.steps li{display:flex;gap:12px;font-size:14px;color:#1d1d1f;align-items:flex-start;line-height:1.6}
.steps .snum{flex-shrink:0;width:24px;height:24px;border-radius:50%;background:#1d1d1f;color:#fff;
display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}
.urls{display:flex;flex-direction:column;gap:8px}
.url-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#f5f5f7;
border:none;border-radius:10px;padding:10px 14px}
.url-row .proto{font-size:12px;color:#6e6e73;white-space:nowrap}
.url-row code{flex:1;font-family:ui-monospace,monospace;font-size:13px;color:#0071e3;
overflow-x:auto;white-space:nowrap;min-width:0}
.url-row .copy{background:#fff;border:1px solid #d2d2d7;color:#1d1d1f;border-radius:8px;
padding:6px 14px;font-size:13px;cursor:pointer;white-space:nowrap;font-weight:500}
.url-row .copy:hover{background:#f5f5f7}
.url-row .url-link{flex:1;font-family:ui-monospace,monospace;font-size:13px;color:#0071e3;word-break:break-all;min-width:0}
.tips{list-style:none;display:flex;flex-direction:column;gap:8px}
.tips li{font-size:14px;color:#1d1d1f;padding-left:18px;position:relative;line-height:1.6}
.tips li::before{content:"•";position:absolute;left:4px;color:#aeaeb2}
.deal-foot{display:flex;gap:8px;align-items:center;margin-top:20px;flex-wrap:wrap}
.deal-foot .dim{margin-left:auto;font-size:12px}

/* ---------- 页脚 ---------- */
footer{padding:40px 20px;color:#6e6e73;font-size:13px;border-top:1px solid #e8e8ed;text-align:center;background:#f5f5f7;margin-top:60px}
footer .dim{font-size:12px;margin-top:8px}
footer a{color:#0071e3;text-decoration:none}

/* ---------- 其他 ---------- */
.empty{color:#aeaeb2;text-align:center;padding:60px 20px;font-size:15px}
*{scrollbar-width:thin;scrollbar-color:#d2d2d7 transparent}
*::-webkit-scrollbar{width:8px;height:8px}
*::-webkit-scrollbar-thumb{background:#d2d2d7;border-radius:8px}
*::-webkit-scrollbar-track{background:transparent}
.newbadge{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.5px;
color:#1d1d1f;background:#FFE14D;border-radius:6px;padding:2px 8px;margin-left:8px;vertical-align:middle}
.pinnedbadge{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.5px;color:#fff;background:#1d1d1f;border-radius:6px;padding:2px 8px;margin-left:8px;vertical-align:middle}

/* ---------- 团队故事 ---------- */
.story-body{margin-top:8px;max-width:680px}
.sb-h{font-size:20px;margin:32px 0 12px;color:#1d1d1f;font-weight:700;letter-spacing:-.3px}
.story-body .sb-h:first-child{margin-top:8px}
.sb-p{font-size:16px;color:#1d1d1f;margin:14px 0;line-height:1.8}
.sb-quote{margin:20px 0;padding:16px 20px;background:#f5f5f7;border-left:3px solid #1d1d1f;
border-radius:0 8px 8px 0;color:#1d1d1f;font-size:16px;line-height:1.7}
.sb-code{background:#f5f5f7;border:none;border-radius:8px;padding:16px 18px;
font-family:ui-monospace,monospace;font-size:13px;color:#1d1d1f;overflow-x:auto;margin:16px 0;white-space:pre-wrap}
.sb-ul,.sb-ol{margin:14px 0 14px 24px;display:flex;flex-direction:column;gap:8px}
.sb-ul li,.sb-ol li{font-size:16px;color:#1d1d1f;line-height:1.7}
.sb-p code,.sb-ul code,.sb-ol code{background:#f5f5f7;border-radius:4px;padding:2px 8px;
font-family:ui-monospace,monospace;font-size:14px;color:#0071e3}
.story-body a{color:#0071e3;text-decoration:none}
.story-body a:hover{text-decoration:underline}

/* ---------- 响应式 ---------- */
@media (max-width:860px){
  .home-grid{grid-template-columns:1fr;gap:24px}
  .feed{max-height:420px}
  .hero{padding:36px 24px}
  .hero h1{font-size:26px}
}
@media (max-width:560px){
  .roadmap{grid-template-columns:repeat(2,1fr);gap:12px}
  .deal-head{flex-wrap:wrap}
  .deal-cta{width:100%;margin-top:12px}
  .btn-deal{display:block;text-align:center}
  .wrap{padding:24px 16px 60px}
}
:focus-visible{outline:2px solid #0071e3;outline-offset:2px}
::selection{background:#cce4ff}

/* ---------- 音乐盒（极简） ---------- */
.music-player {
  display: flex; align-items: center; gap: 16px;
  background: #f5f5f7;
  border-radius: 12px; padding: 18px 20px; margin: 20px 0;
  color: #1d1d1f;
}
.mp-cover { font-size: 40px; line-height: 1; flex-shrink: 0; }
.mp-main { flex: 1; min-width: 0; }
.mp-title { font-weight: 700; font-size: 16px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-tags { margin-bottom: 10px; }
.mp-tags .tag { display: inline-block; background: #e8e8ed; border-radius: 10px; padding: 3px 10px; font-size: 12px; margin-right: 6px; color:#1d1d1f; }
.mp-progress { height: 4px; background: #d2d2d7; border-radius: 2px; cursor: pointer; margin-bottom: 6px; }
.mp-bar { height: 100%; width: 0%; background: #1d1d1f; border-radius: 2px; }
.mp-time { font-size: 12px; color: #6e6e73; }
.mp-controls { display: flex; gap: 8px; flex-shrink: 0; }
.mp-controls button {
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: #e8e8ed; color: #1d1d1f; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mp-controls button:hover { background: #d2d2d7; }
.mp-controls #mpPlay { width: 52px; height: 52px; font-size: 20px; background: #1d1d1f; color:#fff; }
.music-card.playing { border-color: #1d1d1f; }

/* ---------- 情绪大药房（极简适配：保留白底药房风，去多余装饰） ---------- */
#tab-music { background: #fff; border-radius: 0; padding: 0; }
#tab-music .secdesc.rx-motto { color: #6e6e73; }
.rx-signboard {
  background: #f5f5f7;
  border: none;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}
.rx-sign-title { color: #1d1d1f; font-size: 24px; font-weight: 700; letter-spacing: 1px; }
.rx-sign-sub { color: #6e6e73; font-size: 13px; margin-top: 8px; }
.rx-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.rx-chip {
  border: none; background: #f5f5f7; color: #1d1d1f;
  border-radius: 999px; padding: 8px 18px; font-size: 13px; cursor: pointer; font-weight:500;
}
.rx-chip.on { background: #1d1d1f; color: #fff; font-weight: 600; }
#tab-music .rx-playbar {
  background: #f5f5f7;
  border: none;
  border-radius: 12px;
  padding: 16px;
  color: #1d1d1f;
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 20px;
}
.rx-playbtn {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: #1d1d1f; color: #fff; border: none;
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.rx-playinfo { flex: 1; min-width: 0; }
.rx-playtitle {
  font-weight: 700; font-size: 15px; color: #1d1d1f;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rx-playtitle .rx-no { color: #0071e3; font-size: 12px; font-weight: 700; margin-right: 6px; }
#tab-music .rx-playbar .mp-progress { height: 4px; background: #d2d2d7; border-radius: 2px; cursor: pointer; margin: 10px 0 6px; }
#tab-music .rx-playbar .mp-bar { background: #1d1d1f; }
#tab-music .rx-playbar .mp-time { color: #6e6e73; }
.rx-card {
  display: block; text-decoration: none; color: #1d1d1f;
  background: #fff;
  border: 1px solid #e8e8ed; border-radius: 12px; padding: 18px; margin-bottom: 12px;
}
.rx-card.playing { border-color: #1d1d1f; }
.rx-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rx-cross {
  color: #fff; background: #1d1d1f; border-radius: 50%;
  width: 26px; height: 26px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.rx-effect{background:#1d1d1f;color:#fff;font-size:12px;padding:4px 14px;border-radius:999px;flex-shrink:0;font-weight:600}
.rx-title { flex: 1; font-weight: 700; font-size: 15px; min-width: 0; color: #1d1d1f; }
.rx-rows { border-top: 1px solid #f5f5f7; padding-top: 10px; }
.rx-row { display: flex; gap: 10px; font-size: 13px; margin: 6px 0; align-items: flex-start; }
.rx-k {
  flex-shrink: 0; min-width: 44px; color: #6e6e73;
  font-size: 12px; font-weight:600;
}
.rx-v { color: #1d1d1f; }
.rx-foot { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.rx-foot .tag { background: #f5f5f7; color: #6e6e73; }

/* ---------- AI搞钱栏目 ---------- */
.money-line{display:inline-block;font-size:11px;font-weight:700;border-radius:6px;
  padding:3px 10px;margin-left:8px;vertical-align:middle;white-space:nowrap}
.money-line.replace{color:#fff;background:#1d7a3a;}
.money-line.inspire{color:#fff;background:#b7791f;}
.money-card{border-left:3px solid #1d1d1f;}
.money-sec{margin-bottom:32px}
.money-sec-head{display:flex;align-items:center;gap:10px;margin:4px 0 16px;flex-wrap:wrap}
.money-sec-head h3{font-size:19px;margin:0;font-weight:700}
.money-sec-head .dim{font-size:13px;color:#6e6e73}
.money-count{font-size:12px;color:#aeaeb2;margin-left:auto}

/* 通用分享组件 */
.shw{position:relative;display:inline-block}
.shw-menu{position:absolute;left:0;top:calc(100% + 6px);background:#fff;border:1px solid #e8e8ed;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.1);min-width:200px;z-index:50;overflow:hidden}
.shw-menu a{display:block;padding:12px 16px;font-size:14px;color:#1d1d1f;text-decoration:none}
.shw-menu a:hover{background:#f5f5f7}
#shw-toast{position:fixed;left:50%;bottom:60px;transform:translateX(-50%) translateY(20px);background:#1d1d1f;color:#fff;padding:12px 20px;border-radius:10px;font-size:14px;opacity:0;transition:all .25s;z-index:9999;pointer-events:none}
#shw-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* 柠檬黄点缀（2026-10-12 站长：极简风加亮色） */
.btn-lemon{background:#FFE14D;color:#1d1d1f;border:none;border-radius:20px;padding:10px 24px;font-weight:700;font-size:14px;cursor:pointer}
.btn-lemon:hover{background:#FFD60A}
.hl-lemon{background:#FFF9DB;padding:2px 6px;border-radius:4px}

/* ---------- 水流切换动效（2026-10-12） ---------- */
/* tab 切换：底部水流波纹 */
.tabs{position:relative}
.tabs button{position:relative;overflow:hidden;transition:background .3s,color .3s}
.tabs button.active::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,#FFE14D,#FFD60A,#FFE14D);
  background-size:200% 100%;
  animation:waterFlow 2s linear infinite;
  border-radius:2px;
}
@keyframes waterFlow{
  0%{background-position:200% 0}
  100%{background-position:-200% 0}
}
/* 内容页切换：水波淡入 */
.tabpage.active{animation:waterIn .45s ease-out}
@keyframes waterIn{
  0%{opacity:0;transform:translateY(12px)}
  60%{opacity:1;transform:translateY(-2px)}
  100%{opacity:1;transform:translateY(0)}
}
@media (prefers-reduced-motion:reduce){
  .tabs button.active::after{animation:none}
  .tabpage.active{animation:none}
}

/* ---------- SVG 图标（2026-10-12 黑色线条极简风） ---------- */
.ic{width:1.1em;height:1.1em;vertical-align:-0.18em;flex-shrink:0}
button .ic,.tabpage h2 .ic,.secdesc .ic{width:1.2em;height:1.2em}
.bubble-icon .ic{width:1.4em;height:1.4em}
.dli-ico .ic,.deal-ico .ic{width:1.5em;height:1.5em}
.brand .ic{width:1.3em;height:1.3em;vertical-align:-0.22em}

/* 免费Token tab 鲜艳黄色高亮（2026-10-12） */
.tabs button[data-tab=deals]{background:#FFE14D;color:#1d1d1f;font-weight:700;border-radius:8px;padding:6px 12px}
.tabs button[data-tab=deals]:hover{background:#FFD500}
.tabs button[data-tab=deals].active{background:#FFD500;box-shadow:0 2px 8px rgba(255,213,0,.4)}

/* 大药房药丸按心情配色 */
.rx-effect{background:#1d1d1f;color:#fff;font-size:12px;padding:4px 14px;border-radius:999px;flex-shrink:0;font-weight:600}
.rx-effect[data-mood=助眠]{background:#4C1D95;color:#fff}
.rx-effect[data-mood=解压]{background:#059669;color:#fff}
.rx-effect[data-mood=治愈]{background:#EC4899;color:#fff}
.rx-effect[data-mood=提神]{background:#F59E0B;color:#fff}
.rx-effect[data-mood=燃]{background:#DC2626;color:#fff}
.rx-effect[data-mood=专注]{background:#0891B2;color:#fff}
.rx-effect[data-mood=待验]{background:#9CA3AF;color:#fff}


/* ============ 情绪大药房 v2：QQ音乐推荐 + 药房货架 + 注射器播放器 ============ */
#tab-music { background: #fafafa; padding-bottom: 20px; }

/* ---- 今日推荐横滑卡片 ---- */
.rx-recommend { margin: 16px 0 8px; }
.rx-rec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; padding: 0 4px; }
.rx-rec-title { font-size: 18px; font-weight: 700; color: #1d1d1f; }
.rx-rec-sub { font-size: 12px; color: #8e8e93; }
.rx-rec-cards { display: flex; gap: 12px; overflow-x: auto; padding: 4px 4px 8px; -webkit-overflow-scrolling: touch; }
.rx-rec-card {
  flex: 0 0 150px; background: #fff; border-radius: 12px; padding: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); cursor: pointer; color: #1d1d1f;
  display: flex; flex-direction: column; gap: 8px;
}
.rx-rec-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.rx-rec-cover { font-size: 40px; text-align: center; }
.rx-rec-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx-rec-effect { font-size: 12px; color: #fff; background: #1d1d1f; border-radius: 999px; padding: 2px 10px; align-self: flex-start; }
.rx-rec-cure { font-size: 12px; color: #8e8e93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- 药效筛选 chips ---- */
.rx-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 4px; }

/* ---- 货架区 ---- */
.rx-shelves { display: flex; flex-direction: column; gap: 6px; }
.rx-shelf-zone { margin-top: 14px; }
.rx-zone-head { display: flex; align-items: center; gap: 10px; padding: 0 4px; margin-bottom: 8px; }
.rx-zone-sign {
  font-size: 16px; font-weight: 800; color: #fff; background: var(--zone-c, #8e8e93);
  border-radius: 8px; padding: 4px 14px; letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.rx-zone-count { font-size: 12px; color: #8e8e93; }
.rx-shelf {
  display: flex; gap: 14px; overflow-x: auto; padding: 10px 6px 4px;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
/* 货架木板 */
.rx-plank {
  height: 14px; margin: 0 2px; border-radius: 3px;
  background: linear-gradient(to bottom, #c89b6a 0%, #a9763f 55%, #8a5a28 100%);
  box-shadow: 0 4px 8px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.35);
  position: relative;
}
.rx-plank::after {
  content: ''; position: absolute; left: 12px; right: 12px; top: 5px; height: 2px;
  background: rgba(0,0,0,.12); border-radius: 1px;
}

/* ---- 药盒（包装盒样式） ---- */
.rx-medbox {
  flex: 0 0 148px; scroll-snap-align: start; cursor: pointer;
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,.1);
  border: 1px solid #ececf0;
  display: flex; flex-direction: column;
  transition: transform .15s;
  position: relative;
}
.rx-medbox:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.14); }
.rx-medbox.playing { outline: 2px solid #1d1d1f; outline-offset: -2px; }
.rx-box-band {
  background: var(--zone-c, #8e8e93); color: #fff;
  font-size: 11px; font-weight: 700; padding: 5px 10px;
  display: flex; justify-content: space-between; align-items: center; letter-spacing: .5px;
}
.rx-box-cover { font-size: 38px; text-align: center; padding: 10px 0 2px; background: #fafafc; }
.rx-box-label { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.rx-box-name { font-weight: 700; font-size: 13px; line-height: 1.35; min-height: 35px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rx-box-spec { font-size: 11px; color: #8e8e93; }
.rx-box-badges { display: flex; gap: 4px; flex-wrap: wrap; }
.rx-form-badge { font-size: 10px; padding: 2px 7px; border-radius: 6px; font-weight: 600; }
.rx-form-片剂 { background: #e8f4fd; color: #0071e3; }
.rx-form-注射剂 { background: #fde8e8; color: #d70015; }
.rx-form-口服液 { background: #e8f8e8; color: #1d8127; }
.rx-form-贴剂 { background: #fff3e0; color: #e65100; }
.rx-form-气雾剂 { background: #f0e8fd; color: #6c3ce0; }
.rx-box-price { font-size: 13px; font-weight: 800; color: #b25e09; margin-top: 2px; }
.rx-box-price small { font-size: 10px; font-weight: 400; color: #8e8e93; }
.rx-box-actions { display: flex; border-top: 1px solid #f0f0f4; }
.rx-box-actions button {
  flex: 1; border: none; background: none; padding: 8px 0; font-size: 14px; cursor: pointer; color: #1d1d1f;
}
.rx-box-actions button:first-child { border-right: 1px solid #f0f0f4; }
.rx-box-actions button:hover { background: #f5f5f7; }
.rx-box-play.playing { color: #0071e3; font-weight: 700; }

/* ---- 歌词（说明书纸面风格） ---- */
.rx-lyrics { background: #fffdf7; border: 1px solid #e8e0cf; border-radius: 10px; margin: 16px 0; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.rx-lyrics-head { display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; font-weight: 800; font-size: 14px; color: #1d1d1f;
  border-bottom: 1px solid #e8e0cf; background: #faf6ec; letter-spacing: 1px; }
.rx-lyrics-head button { background: none; border: none; color: #8e8e93; font-size: 15px; cursor: pointer; }
.rx-lyrics-body { max-height: 260px; overflow-y: auto; padding: 14px 18px; text-align: center; }
.rx-lyrics-empty { color: #a09a8a; font-size: 13px; padding: 18px; }
.rx-lrc-line { padding: 7px 0; color: #6e6a5e; font-size: 14px; line-height: 1.7; transition: all .25s; }
.rx-lrc-line.active { color: #1d1d1f; font-size: 16px; font-weight: 700; }
.rx-lrc-trans { display: block; font-size: 12px; color: #a09a8a; margin-top: 2px; }
.rx-lrc-line.active .rx-lrc-trans { color: #6e6a5e; }

/* ---- 📜 药品说明书弹窗 ---- */
.rx-sheet-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 18px; }
.rx-sheet-mask[hidden] { display: none; }
.rx-sheet {
  background: #fffdf7; color: #2b2b28; width: 100%; max-width: 600px; max-height: 88vh;
  overflow-y: auto; border-radius: 6px; padding: 30px 30px 24px; position: relative;
  box-shadow: 0 12px 48px rgba(0,0,0,.35); border-top: 6px solid #1d1d1f;
  font-family: Georgia, "Songti SC", "SimSun", serif;
}
.rx-sheet-close { position: absolute; top: 10px; right: 12px; background: none; border: none;
  font-size: 18px; cursor: pointer; color: #8e8e93; }
.rx-sheet-head { text-align: center; border-bottom: 2px solid #1d1d1f; padding-bottom: 12px; margin-bottom: 8px; }
.rx-sheet-head .t1 { font-size: 19px; font-weight: 800; letter-spacing: 3px; }
.rx-sheet-head .t2 { font-size: 12px; color: #8e8e93; margin-top: 4px; letter-spacing: 1px; }
.rx-sheet h4 { font-size: 14px; margin: 16px 0 4px; color: #1d1d1f; letter-spacing: .5px; }
.rx-sheet p { font-size: 13.5px; line-height: 2; margin: 0 0 4px; text-align: justify; }
.rx-sheet .rx-sheet-lyrics { background: #faf6ec; border: 1px dashed #d8cfae; border-radius: 6px; padding: 12px 16px; margin-top: 6px; }
.rx-sheet .rx-sheet-lyrics .l { text-align: center; padding: 4px 0; font-size: 13.5px; line-height: 1.8; }
.rx-sheet .rx-sheet-lyrics .l .tr { display: block; font-size: 12px; color: #8e8e93; }
.rx-sheet-foot { margin-top: 18px; text-align: center; font-size: 11px; color: #a09a8a; border-top: 1px solid #e8e0cf; padding-top: 10px; }
.rx-sheet-play {
  display: block; width: 100%; margin-top: 16px; padding: 13px; border: none; border-radius: 10px;
  background: #1d1d1f; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; letter-spacing: 1px;
}
.rx-sheet-play:hover { background: #333; }

/* ============ 💉 注射器播放器 ============ */
.syringe-player {
  position: sticky; bottom: 0; z-index: 50;
  background: #fff; border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 -2px 20px rgba(0,0,0,.1); margin-top: 16px;
}
.syr-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.syr-playbtn {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: #1d1d1f; color: #fff; border: none; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.syr-info { flex: 1; min-width: 0; }
.syr-title { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.syr-no { color: #0071e3; font-size: 12px; font-weight: 700; margin-right: 6px; }
.syr-tags { margin-top: 4px; display: flex; gap: 6px; flex-wrap: wrap; }
.syr-tags .tag { font-size: 11px; background: #f5f5f7; border-radius: 8px; padding: 2px 8px; color: #6e6e73; }
.syr-controls { display: flex; gap: 6px; flex-shrink: 0; }
.syr-controls button {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: #f5f5f7; color: #1d1d1f; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.syr-controls button:hover { background: #e8e8ed; }

/* 注射器本体 */
.syringe { display: flex; align-items: center; cursor: pointer; }
.syr-needle {
  width: 26px; height: 6px; flex-shrink: 0;
  background: linear-gradient(to bottom, #c7c7cc, #8e8e93, #c7c7cc);
  clip-path: polygon(0 35%, 70% 35%, 100% 50%, 70% 65%, 0 65%);
}
.syr-barrel-wrap { flex: 1; min-width: 0; }
.syr-barrel {
  height: 34px; position: relative;
  background: rgba(0,113,227,.06);
  border: 2px solid #1d1d1f; border-radius: 4px 10px 10px 4px;
  overflow: hidden;
}
.syr-ticks { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.syr-ticks .tick { position: absolute; top: 0; width: 1px; background: rgba(29,29,31,.35); }
.syr-ticks .tick.minor { height: 8px; }
.syr-ticks .tick.major { height: 14px; width: 2px; background: rgba(29,29,31,.55); }
.syr-scale { position: relative; height: 14px; margin-top: 2px; }
.syr-scale .tick-label {
  position: absolute; top: 0; transform: translateX(-50%);
  font-size: 9px; color: #8e8e93; white-space: nowrap; font-variant-numeric: tabular-nums;
}
/* 药液分段：未播放=彩色药液，播放过=白色（已注射排空） */
.syr-segs { position: absolute; inset: 0; display: flex; z-index: 1; }
.syr-seg { height: 100%; position: relative; }
.syr-seg + .syr-seg { border-left: 1px solid rgba(255,255,255,.75); }
.syr-played {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: rgba(255,255,255,.94); z-index: 2;
}
.syr-gloss {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.35) 0%, transparent 30%);
  pointer-events: none; z-index: 3;
}
.syr-plunger { position: absolute; top: -4px; bottom: -4px; left: 0%; z-index: 5; pointer-events: none; }
.syr-plunger-rod { position: absolute; top: 50%; left: -3px; width: 6px; height: 4px; background: #1d1d1f; transform: translateY(-50%); border-radius: 2px; }
.syr-plunger-thumb {
  position: absolute; top: 50%; left: -11px; width: 17px; height: 42px;
  background: #1d1d1f; border-radius: 4px; transform: translateY(-50%);
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.syr-plunger-thumb::after {
  content: ''; position: absolute; inset: 6px 5px;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.2) 0 2px, transparent 2px 5px);
  border-radius: 2px;
}
.syr-time { font-size: 11px; color: #8e8e93; flex-shrink: 0; margin-left: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* 旧版 rx-playbar 隐藏（保留兼容） */
#tab-music .rx-playbar { display: none; }

.tabs::-webkit-scrollbar{display:none}
