/* 狐友圈主平台：手机优先。狐友黑黄 + 暖纸底，保留第一版训练营的游戏化（闯关地图、成长角色、徽章）。 */
:root {
  --ink: #141617; --ink-2: #1f2223; --paper: #f6f2e7; --card: #fffdf7; --line: #e8e1cf; --line-2: #f0eadb;
  --text: #1b1d1d; --muted: #7a776c; --yellow: #f4d74b; --yellow-2: #ffe56a; --yellow-soft: #fbf2c4;
  --ok: #2f9e63; --ok-soft: #e3f4ea; --bad: #c2412d; --bad-soft: #fbe5e0; --blue: #4a63e8;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --num: "DIN Alternate", "Bahnschrift", "Avenir Next Condensed", "Helvetica Neue", Arial, sans-serif;
  --tab-h: 64px; --safe-b: env(safe-area-inset-bottom, 0px);
  --stage: radial-gradient(70% 90% at 90% 80%, rgba(244, 215, 75, .32), transparent 60%),
           radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.5px) 0 0 / 20px 20px, var(--ink);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text);
  font: 15px/1.6 -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; }
h1 { font-size: 26px; letter-spacing: -.01em; }
h2 { font-size: 17px; margin-bottom: 10px; }
.sub, .quiet { color: var(--muted); }
.sub { margin: 4px 0 0; font-size: 13px; }
.good { color: var(--ok); } .bad { color: var(--bad); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

/* ---------- 外壳 ---------- */
.q-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(20, 22, 23, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; }
.q-brand { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.q-brand img { width: 30px; height: 30px; transition: transform .5s var(--ease); }
.q-brand:hover img { transform: rotate(-14deg) scale(1.08); }
.q-brand b { font-size: 16px; letter-spacing: .04em; }
.q-club { display: flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; font-size: 12px; color: #d8d6cc; background: rgba(255, 255, 255, .07); }
.q-club svg { width: 16px; height: 16px; }
.q-who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.q-who em { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-style: normal; font-weight: 800; display: grid; place-items: center; }
.q-who span { display: none; min-width: 0; }
.q-who b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.tier { font-size: 11px; padding: 0 7px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #ddd; }
.tier.grow { background: var(--yellow-soft); color: #7a5d00; }
.tier.fixed { background: var(--yellow); color: var(--ink); }
.q-main > .tier, p .tier { background: var(--line-2); color: var(--muted); }
p .tier.grow { background: var(--yellow-soft); color: #7a5d00; } p .tier.fixed { background: var(--ink); color: var(--yellow); }
.q-main { width: 100%; max-width: 1080px; margin: 0 auto; padding: 16px 16px calc(var(--tab-h) + var(--safe-b) + 24px); }
.q-main > * { animation: rise .5s var(--ease) both; }
.q-main > :nth-child(2) { animation-delay: .05s; } .q-main > :nth-child(3) { animation-delay: .1s; } .q-main > :nth-child(n+4) { animation-delay: .15s; }
.q-side { display: none; }
.q-tabs { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(6, 1fr);
  height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: rgba(255, 253, 247, .94); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.q-tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--muted); position: relative; }
.q-tabs svg, .q-side svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.q-tabs a.on { color: var(--ink); font-weight: 700; }
.q-tabs a.on svg { transform: translateY(-2px); }
.q-tabs a.on::before { content: ""; position: absolute; top: 6px; width: 34px; height: 26px; border-radius: 999px; background: var(--yellow); z-index: -1; animation: pop .35s var(--ease); }
.q-pending { background: var(--ink); color: #ddd; border-radius: 16px; padding: 12px 16px; font-size: 13px; margin-bottom: 14px; }
.q-pending b { color: var(--yellow); margin-right: 8px; }

/* ---------- 通用 ---------- */
.q-kicker { font: 12px/1 var(--num); letter-spacing: .18em; color: #b39200; margin: 0 0 10px; text-transform: uppercase; }
.q-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 12px; padding: 11px 18px; font: inherit; font-weight: 700;
  background: var(--yellow); color: var(--ink); cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s; text-decoration: none; }
.q-btn:hover { background: var(--yellow-2); box-shadow: 0 10px 20px -12px rgba(180, 140, 0, .9); }
.q-btn:active { transform: scale(.96); }
.q-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.q-btn.ghost { background: var(--card); border: 1px solid var(--line); font-weight: 600; }
.q-btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.q-btn.wide { width: 100%; padding: 14px; font-size: 16px; }
.q-btn.done { background: var(--ok); color: #fff; }
.q-panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px; margin-bottom: 14px; }
.q-form { display: grid; gap: 10px; }
.q-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px;
  transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(244, 215, 75, .45); }
textarea { resize: vertical; }
.err { color: var(--bad); min-height: 1em; margin: 0; font-size: 13px; }
.q-fine { font-size: 12px; color: var(--muted); margin: 6px 0; }
.q-seg { display: flex; gap: 4px; padding: 4px; margin: 0 0 14px; background: var(--line-2); border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.q-seg::-webkit-scrollbar { display: none; }
.q-seg a { flex: 1 0 auto; text-align: center; padding: 8px 14px; border-radius: 11px; font-size: 14px; color: var(--muted); white-space: nowrap; transition: all .25s var(--ease); }
.q-seg a.on { background: var(--ink); color: #fff; font-weight: 700; }
.q-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.q-chips a, .q-chip { padding: 6px 13px; border-radius: 999px; font-size: 13px; background: var(--card); border: 1px solid var(--line); cursor: pointer; transition: all .2s; }
.q-chips a.on, .q-chip:has(input:checked) { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.q-chip input { display: none; }
.q-tag { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--line-2); color: var(--muted); white-space: nowrap; }
.q-tag.project { background: var(--ink); color: var(--yellow); }
.q-tag.card { background: var(--yellow-soft); color: #7a5d00; }
.q-tag.hot { background: var(--bad-soft); color: var(--bad); }
.q-tag.k-daily { background: var(--ink); color: var(--yellow); } .q-tag.k-ask { background: #e7ebfd; color: var(--blue); } .q-tag.k-share { background: var(--ok-soft); color: var(--ok); }
.q-st { font-style: normal; font-size: 11px; padding: 2px 9px; border-radius: 999px; background: var(--line-2); color: var(--muted); white-space: nowrap; }
.q-st.approved, .q-st.shipped, .q-st.done { background: var(--ok-soft); color: var(--ok); }
.q-st.rejected, .q-st.cancelled { background: var(--bad-soft); color: var(--bad); }
.q-st.submitted, .q-st.pending, .q-st.paid { background: var(--yellow-soft); color: #7a5d00; }
.q-toast { background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 14px; margin-bottom: 12px; font-size: 14px; animation: pop .4s var(--ease); }
.q-ok, .q-bad { padding: 14px 16px; border-radius: 16px; margin-bottom: 14px; }
.q-ok { background: var(--ok-soft); color: #1f5f3c; } .q-bad { background: var(--bad-soft); color: #8a2c1c; }
.q-ok b, .q-bad b { margin-right: 8px; }
.q-empty, .q-lock { text-align: center; padding: 36px 20px; background: var(--card); border: 1px dashed var(--line); border-radius: 22px; color: var(--muted); }
.q-empty img, .q-lock img { width: 110px; animation: float 6s ease-in-out infinite; }
.q-lock h3 { color: var(--text); margin: 8px 0; }
.q-back { display: inline-block; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.q-h1 { margin-bottom: 14px; }
.q-pre { white-space: pre-wrap; margin: 0; line-height: 1.75; }
.dl { display: inline-block; font: 600 12px/1 var(--num); padding: 4px 7px; border-radius: 999px; vertical-align: middle; }
.dl.up { background: var(--ok-soft); color: var(--ok); } .dl.down { background: var(--bad-soft); color: var(--bad); } .dl.flat { background: var(--line-2); color: var(--muted); }
.eco { font-style: normal; font-size: 11px; padding: 1px 8px; border-radius: 999px; margin: 0 4px 4px 0; display: inline-block; }
.eco.good { background: var(--ok-soft); color: #1f7a4a; } .eco.bad { background: var(--bad-soft); color: #a4321f; } .eco.mid { background: var(--line-2); color: var(--muted); }
.q-search { display: flex; gap: 8px; margin-bottom: 10px; }
.q-search input { flex: 1; }

/* ---------- 登录 ---------- */
body.bare { background: var(--paper); }
.q-login { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; }
.q-login-stage { position: relative; overflow: hidden; background: var(--stage); color: #fff; padding: 36px 24px 120px; }
.q-login-stage h1 { font-size: clamp(28px, 7vw, 54px); line-height: 1.18; margin: 0 0 18px; animation: rise .8s var(--ease) both; }
.q-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-width: 360px; }
.q-perks li { color: #cfd0c9; font-size: 14px; animation: rise .7s var(--ease) both; }
.q-perks li:nth-child(2) { animation-delay: .08s; } .q-perks li:nth-child(3) { animation-delay: .16s; } .q-perks li:nth-child(4) { animation-delay: .24s; }
.q-perks b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--yellow); color: var(--ink); margin-right: 10px; font-size: 13px; }
.q-login-stage .q-fox { position: absolute; right: -10px; bottom: -6px; width: 170px; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .4)); }
.q-login-card { position: relative; margin: -80px 16px 24px; background: var(--card); border-radius: 26px; padding: 26px 20px; box-shadow: 0 30px 60px -36px rgba(20, 22, 23, .55);
  animation: rise .7s var(--ease) .15s both; align-self: start; }
.q-login-card .q-logo { width: 46px; display: block; margin-bottom: 8px; }
.q-login-card h2 { font-size: 22px; margin-bottom: 14px; }

/* ---------- 首页 ---------- */
.q-hero { position: relative; overflow: hidden; background: var(--stage); color: #fff; border-radius: 26px; padding: 24px 22px 22px; margin-bottom: 14px; }
.q-hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 215, 75, .4), transparent 65%); animation: glow 5s ease-in-out infinite; }
.q-hero-txt { position: relative; z-index: 1; max-width: 70%; }
.q-hero h1 { font-size: 26px; }
.q-hero h1 em { font-style: normal; color: var(--yellow); }
.q-lede { color: #c9cbc5; margin: 6px 0 16px; font-size: 13px; }
.q-hero .q-kicker { color: var(--yellow); }
.q-hero-kpis { display: flex; gap: 10px; }
.q-hero-kpis div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 8px 12px; min-width: 70px; }
.q-hero-kpis b { display: block; font: 700 22px/1.1 var(--num); }
.q-hero-kpis span { font-size: 11px; color: #a4a8a2; }
.q-hero .q-fox { position: absolute; right: 6px; bottom: 0; width: 120px; z-index: 1; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .35)); }
.q-grid { display: grid; gap: 12px; }
.q-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 16px 18px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: rise .55s var(--ease) both; }
.q-card:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -26px rgba(46, 38, 8, .5); }
.q-card header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.q-card header span { font: 12px var(--num); color: var(--muted); }
.q-card h3 { font-size: 16px; }
.q-list { list-style: none; margin: 0; padding: 0; }
.q-list li { padding: 7px 0; border-top: 1px solid var(--line-2); font-size: 14px; display: flex; gap: 8px; align-items: baseline; }
.q-list li:first-child { border-top: 0; }
.q-camp { display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, var(--yellow-soft), var(--card) 70%); border-color: var(--yellow); }
.q-camp img { width: 76px; image-rendering: pixelated; animation: float 5s ease-in-out infinite; }
.q-camp p { margin: 4px 0 8px; font-size: 13px; color: var(--muted); }
.q-prog { height: 8px; border-radius: 99px; background: rgba(20, 22, 23, .08); overflow: hidden; }
.q-prog i { display: block; height: 100%; width: calc(var(--v) * 1%); background: var(--ink); border-radius: 99px; transform-origin: left; animation: grow 1s var(--ease) both; }
.q-statrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.q-statrow b { display: block; font: 700 22px/1.2 var(--num); }
.q-statrow span { font-size: 12px; color: var(--muted); }
.q-spark { width: 100%; height: 40px; }
.q-spark polyline { fill: none; stroke: var(--ink); stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.q-spark circle { fill: var(--yellow); stroke: var(--ink); }
.q-diag { margin: 8px 0 0; font-size: 13px; }
.q-diag i { font-style: normal; font-size: 11px; font-weight: 700; background: var(--ink); color: var(--yellow); padding: 2px 8px; border-radius: 999px; margin-right: 8px; }
.q-owner { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }

/* ---------- 圈子分析 ---------- */
.q-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.q-ring { --size: 76px; position: relative; flex: none; width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: conic-gradient(var(--yellow) calc(var(--v) * 1%), var(--line-2) 0); }
.q-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--card); }
.q-ring b, .q-ring span { position: relative; }
.q-ring b { font: 800 24px/1 var(--num); }
.q-ring span { font-size: 10px; color: var(--muted); }
.q-ring.big { --size: 104px; }
.q-ring.big b { font-size: 32px; }
.q-kcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.q-kc { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; animation: rise .5s var(--ease) both; }
.q-kc span { display: block; font-size: 12px; color: var(--muted); }
.q-kc b { font: 700 22px/1.35 var(--num); margin-right: 6px; }
.q-kc small { display: block; font-size: 11px; color: var(--muted); }
.trend { width: 100%; height: auto; display: block; }
.trend .area { fill: url(#tg); } .trend .line { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-dasharray: 1; animation: draw 1.6s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.trend .bar { fill: rgba(20, 22, 23, .15); } .trend .hol { fill: #ebe6d6; opacity: .7; } .trend .grid { stroke: var(--line-2); }
.trend .ax { font: 12px var(--num); fill: var(--muted); text-anchor: end; } .trend .dot { fill: var(--yellow); stroke: var(--ink); stroke-width: 2; }
.trend .mark line { stroke: var(--bad); stroke-dasharray: 3 3; } .trend .mark circle { fill: var(--bad); }
.q-two { display: grid; gap: 14px; }
.q-meter { display: grid; grid-template-columns: 66px minmax(0, 1fr) 70px; gap: 10px; align-items: center; margin: 10px 0; font-size: 13px; }
.q-meter > div { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.q-meter i { display: block; height: 100%; width: calc(var(--v) * 1%); background: linear-gradient(90deg, var(--yellow), #d9a900); border-radius: 99px; transform-origin: left; animation: grow 1s var(--ease) both; }
.q-meter b { font: 600 12px var(--num); text-align: right; }
.q-diaglist { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.q-diaglist li { background: var(--paper); border-radius: 14px; padding: 12px 14px; }
.q-diaglist h4 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.q-diaglist h4::before { content: "!"; width: 18px; height: 18px; border-radius: 50%; background: var(--bad); color: #fff; font-size: 12px; display: grid; place-items: center; }
.q-diaglist p { margin: 4px 0 6px; font-size: 13px; color: var(--muted); }
.q-diaglist div { display: flex; gap: 12px; }
.q-diaglist a { font-size: 13px; font-weight: 700; color: #8a6b00; }

/* ---------- 学习 ---------- */
.q-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.q-docc { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 120px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px;
  transition: transform .25s var(--ease), border-color .2s; animation: rise .45s var(--ease) both; }
.q-docc:hover { transform: translateY(-3px); border-color: var(--yellow); }
.q-docc i { font-style: normal; font-size: 11px; color: var(--muted); }
.q-docc h4 { font-size: 15px; }
.q-docc span { margin-top: auto; font-size: 12px; font-weight: 700; color: #8a6b00; }
.q-docc.done { background: var(--ok-soft); border-color: #cfe8d6; }
.q-docc.done span { color: var(--ok); }
.q-doc { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px 18px; }
.q-doc h1 { margin-bottom: 14px; }
.q-doc-body { font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.q-doc-body p { margin: 6px 0; }
.q-doc-body h4 { margin: 18px 0 6px; font-size: 16px; padding-left: 10px; border-left: 4px solid var(--yellow); }
.q-doc-body h3 { margin: 18px 0 8px; }
.q-doc-body .manual-red { color: var(--bad); }
.q-doc-body img, .doc-img { display: block; max-width: 100%; max-height: 520px; width: auto; height: auto; margin: 10px auto; border-radius: 12px; border: 1px solid var(--line); }
.q-doc-body table { width: 100%; border-collapse: collapse; font-size: 13px; display: block; overflow-x: auto; }
.q-doc-body td { border: 1px solid var(--line); padding: 6px 8px; vertical-align: top; }
.q-cases { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.q-case { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.q-case h4 { margin: 8px 0 4px; }
.q-case p { margin: 0 0 6px; font-size: 13px; color: #4a4a44; }
.q-case small { color: var(--muted); }
.q-faqs details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; }
.q-faqs summary { cursor: pointer; font-weight: 600; }
.q-faqs p { margin: 8px 0 0; color: #4a4a44; font-size: 14px; }

/* ---------- 训练营 ---------- */
.q-camp-head { display: flex; align-items: center; gap: 14px; background: var(--stage); color: #fff; border-radius: 22px; padding: 18px; margin-bottom: 14px; }
.q-camp-head img { width: 72px; image-rendering: pixelated; animation: float 5s ease-in-out infinite; }
.q-camp-head .q-kicker { color: var(--yellow); margin-bottom: 4px; }
.q-camp-head p { margin: 4px 0 0; color: #c9cbc5; font-size: 13px; }
.q-map { list-style: none; padding: 0 0 0 26px; margin: 0; position: relative; }
.q-map::before { content: ""; position: absolute; left: 10px; top: 20px; bottom: 20px; border-left: 3px dotted #d9cfae; }
.q-lv { position: relative; margin-bottom: 12px; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.q-lv::before { content: ""; position: absolute; left: -23px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: #d9cfae; box-shadow: 0 0 0 4px var(--paper); }
.q-lv.done::before { background: var(--ok); } .q-lv.open::before { background: var(--yellow); animation: glow 1.4s infinite; }
.q-lv a { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; transition: transform .25s var(--ease); }
.q-lv a[href]:hover { transform: translateX(4px); }
.q-lv img { grid-row: span 2; width: 58px; image-rendering: pixelated; }
.q-lv b { font-size: 16px; }
.q-lv span { font-size: 12px; color: var(--muted); grid-column: 2; }
.q-lv small { grid-row: 1 / 3; grid-column: 3; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--line-2); color: var(--muted); }
.q-lv.open a { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }
.q-lv.open small { background: var(--yellow); color: var(--ink); }
.q-lv.done small { background: var(--ok-soft); color: var(--ok); }
.q-lv.lock { opacity: .55; } .q-lv.lock img { filter: grayscale(1); }
.q-levelpage h1 { margin: 2px 0 4px; }
.q-quizform { margin-top: 14px; display: grid; gap: 12px; }
.q-quiz { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 14px; margin: 0; display: grid; gap: 8px; }
.q-quiz legend { font-weight: 700; padding: 0 4px; }
.q-quiz button { text-align: left; font: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; cursor: pointer; transition: all .2s; color: var(--text); }
.q-quiz button:hover:not(:disabled) { border-color: var(--ink); }
.q-quiz button.right { background: var(--ok-soft); border-color: var(--ok); color: #1f5f3c; font-weight: 700; animation: pop .35s var(--ease); }
.q-quiz button.wrong { background: var(--bad-soft); border-color: var(--bad); animation: shake .4s; }
.q-quiz button:disabled { cursor: default; }
.q-explain { background: var(--yellow-soft); border-radius: 12px; padding: 10px 12px; font-size: 13px; animation: rise .35s var(--ease); }
.q-explain .tip { margin: 0 0 4px; font-weight: 700; }
.q-explain ul { margin: 4px 0; padding-left: 18px; }

/* ---------- 活动 ---------- */
.q-camps { display: grid; gap: 12px; }
.q-camp-card { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 16px 18px;
  animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * 50ms); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.q-camp-card:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -26px rgba(46, 38, 8, .5); }
.q-camp-card.project { background: linear-gradient(160deg, #23262a, var(--ink)); color: #fff; border-color: var(--ink); }
.q-camp-card.project p, .q-camp-card.project footer span { color: #b9bab3; }
.q-camp-card header { display: flex; gap: 6px; }
.q-camp-card p { margin: 0; font-size: 13px; color: var(--muted); }
.q-camp-card footer { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); margin-top: 4px; }
.q-camp-card footer b { font-size: 14px; color: #8a6b00; }
.q-camp-card.project footer b { color: var(--yellow); }
.q-act-head { margin-bottom: 14px; }
.q-act-head h1 { margin: 8px 0 2px; }
.q-steps { list-style: none; display: flex; padding: 0; margin: 16px 0 0; counter-reset: s; }
.q-steps li { flex: 1; position: relative; text-align: center; font-size: 12px; color: var(--muted); }
.q-steps li::before { content: ""; position: absolute; top: 13px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.q-steps li:first-child::before { display: none; }
.q-steps i { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 4px; border-radius: 50%; background: var(--line-2); font-style: normal; font-weight: 700; }
.q-steps li.done i { background: var(--ok); color: #fff; } .q-steps li.done::before { background: var(--ok); }
.q-steps li.on i { background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 4px var(--yellow-soft); } .q-steps li.on { color: var(--text); font-weight: 700; }
.q-sticky { position: sticky; bottom: calc(var(--tab-h) + var(--safe-b) + 10px); z-index: 5; }
.q-timeline { list-style: none; margin: 14px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--line); }
.q-timeline li { position: relative; padding: 0 0 12px 8px; }
.q-timeline li::before { content: ""; position: absolute; left: -23px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
.q-timeline time { font: 600 12px var(--num); color: var(--muted); }
.q-timeline p { margin: 2px 0; }

/* ---------- 工具 ---------- */
.q-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.q-tool { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; min-height: 150px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 16px;
  animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * 45ms); transition: transform .3s var(--ease), border-color .2s; }
.q-tool:hover { transform: translateY(-4px); border-color: var(--yellow); }
.q-tool img { width: 54px; height: 54px; object-fit: contain; transition: transform .4s var(--ease); }
.q-tool:hover img { transform: rotate(-8deg) scale(1.1); }
.q-tool h3 { font-size: 16px; margin-top: 4px; }
.q-tool p { margin: 0; font-size: 12px; color: var(--muted); }
.q-tool.off { opacity: .55; }
.q-gen textarea { margin: 6px 0 10px; }
.q-out { margin-top: 12px; white-space: pre-wrap; line-height: 1.75; }
.q-out:empty { display: none; }
.q-out.busy { color: var(--muted); }
.q-out.busy::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--ink); vertical-align: -2px; animation: spin .8s linear infinite; }
.q-out.done { background: var(--paper); border-radius: 14px; padding: 12px 14px; animation: rise .4s var(--ease); }
.q-topics { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.q-topic { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.q-topic p { margin: 0 0 8px; }
.q-topic div { display: flex; gap: 8px; }
.q-howto { padding-left: 20px; margin: 0; display: grid; gap: 8px; }
.q-howto b { display: block; }

/* ---------- 商城 ---------- */
.q-shop-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.q-wallet { flex: none; text-align: center; background: var(--stage); color: #fff; border-radius: 18px; padding: 10px 16px; }
.q-wallet span { display: block; font-size: 11px; color: #a4a8a2; }
.q-wallet b { font: 800 26px/1.1 var(--num); color: var(--yellow); }
.q-prods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.q-prod { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 10px; animation: rise .5s var(--ease) both;
  animation-delay: calc(var(--i) * 40ms); transition: transform .3s var(--ease); }
.q-prod:hover { transform: translateY(-3px); }
.q-prod-img { aspect-ratio: 1; border-radius: 14px; background: var(--yellow-soft); display: grid; place-items: center; overflow: hidden; margin-bottom: 8px; }
.q-prod-img img { width: 100%; height: 100%; object-fit: cover; }
.q-prod h3 { font-size: 14px; }
.q-prod p { margin: 2px 0 8px; font-size: 12px; color: var(--muted); flex: 1; }
.q-prod footer { display: flex; justify-content: space-between; align-items: center; }
.q-prod footer b { font: 800 18px var(--num); }
.q-prod footer small { font-size: 11px; margin-left: 2px; color: var(--muted); }
.q-prod form { margin: 0; }
.q-soldout { font-size: 12px; color: var(--muted); }

/* ---------- 圈主中心 ---------- */
.q-me-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.q-me-head em { flex: none; width: 54px; height: 54px; border-radius: 18px; background: var(--ink); color: var(--yellow); font-style: normal; font-weight: 800; font-size: 24px; display: grid; place-items: center; }
.q-me-head div { flex: 1; min-width: 0; }
.q-me-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.q-me-head form { margin: 0; }
.q-score { display: flex; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px; margin-bottom: 14px; }
.q-score-parts { flex: 1; display: grid; gap: 10px; }
.q-score-parts > div { display: grid; grid-template-columns: 72px minmax(0, 1fr) 30px; grid-template-rows: auto auto; column-gap: 8px; align-items: center; font-size: 13px; }
.q-score-parts small { grid-column: 2 / 4; font-size: 11px; color: var(--muted); }
.q-bar { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.q-bar i { display: block; height: 100%; width: calc(var(--v) * 1%); background: var(--ink); border-radius: 99px; transform-origin: left; animation: grow 1s var(--ease) both; }
.q-score-parts b { font: 700 14px var(--num); text-align: right; }
.q-rank { list-style: none; padding: 0; margin: 0; }
.q-rank li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 6px; border-bottom: 1px solid var(--line-2);
  animation: rise .45s var(--ease) both; animation-delay: calc(var(--i) * 35ms); }
.q-rank em { font: italic 800 18px var(--num); color: #c9c4b4; }
.q-rank li:nth-child(-n+3) em { color: #d4a800; }
.q-rank b { font: 800 18px var(--num); }
.q-rank li.me { background: var(--yellow-soft); border-radius: 12px; }
.q-rows { list-style: none; padding: 0; margin: 0; }
.q-rows li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.q-rows li > span { flex: 1; min-width: 0; }
.q-rows small { display: block; font-size: 11px; color: var(--muted); }
.q-rows b { font: 700 15px var(--num); white-space: nowrap; }

/* ---------- 社区 ---------- */
.q-compose summary { cursor: pointer; font-weight: 700; list-style: none; }
.q-compose summary::-webkit-details-marker { display: none; }
.q-compose[open] summary { margin-bottom: 10px; }
.q-feed { display: grid; gap: 10px; }
.q-post { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; animation: rise .45s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.q-post.pin { border-color: var(--yellow); box-shadow: inset 0 3px 0 var(--yellow); }
.q-post header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.q-post header em { flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--ink); color: var(--yellow); font-style: normal; font-weight: 800; display: grid; place-items: center; }
.q-post header div { flex: 1; min-width: 0; }
.q-post header b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-post header small { font-size: 11px; color: var(--muted); }
.q-post h3 { font-size: 16px; }
.q-post p { margin: 4px 0 0; font-size: 14px; color: #4a4a44; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.q-post.full p { -webkit-line-clamp: unset; display: block; }
.q-post.full h1 { margin: 6px 0 10px; font-size: 22px; }
.q-post footer { display: flex; gap: 16px; align-items: center; margin-top: 10px; font-size: 13px; color: var(--muted); }
.q-post footer form { margin: 0; }
.q-like { background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer; padding: 0; transition: transform .2s; }
.q-like.on { color: var(--bad); font-weight: 700; }
.q-like:active { transform: scale(1.3); }
.q-comments { list-style: none; padding: 0; margin: 0 0 12px; }
.q-comments li { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.q-comments li b { font-size: 13px; }
.q-comments li p { margin: 2px 0; }
.q-comments li small { font-size: 11px; color: var(--muted); }
.q-comments li.staff b { color: #8a6b00; }
.q-comments li.staff b::before { content: "★ "; }

/* ---------- 电脑 ---------- */
@media (min-width: 900px) {
  body.q:not(.bare) { display: grid; grid-template-columns: 232px minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .q-top { grid-column: 1 / 3; padding: 12px 24px; }
  .q-who span { display: block; }
  .q-side { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 56px; align-self: start; height: calc(100vh - 56px); padding: 18px 12px; background: var(--ink); }
  .q-side a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 13px; color: #a4a8a2; transition: all .2s var(--ease); }
  .q-side a:hover { color: #fff; background: rgba(255, 255, 255, .06); transform: translateX(3px); }
  .q-side a.on { background: var(--yellow); color: var(--ink); font-weight: 700; }
  .q-tabs, .q-club { display: none; }
  .q-main { padding: 26px 32px 60px; }
  .q-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-hero { padding: 34px 36px; }
  .q-hero h1 { font-size: 34px; }
  .q-hero .q-fox { width: 190px; right: 30px; }
  .q-kcs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .q-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .q-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .q-prods { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .q-camps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; }
  .q-map::before, .q-lv::before { display: none; }
  .q-lv { margin: 0; }
  .q-sticky { position: static; }
  .q-login { grid-template-columns: 1.2fr .8fr; grid-template-rows: none; }
  .q-login-stage { padding: 70px 64px; display: flex; flex-direction: column; justify-content: center; }
  .q-login-stage .q-fox { width: 300px; right: 40px; bottom: 30px; }
  .q-login-card { margin: auto 40px; padding: 34px 30px; align-self: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* 手机点按区域 ≥ 32px；环形图内小字放到 11px */
.q-back { padding: 8px 12px 8px 0; margin-bottom: 4px; }
.q-like, .q-post footer > a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 4px; }
.q-diaglist div a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 2px; }
.q-ring span { font-size: 11px; }
/* 电脑端：页面滚动交给 body，侧栏固定 */
@media (min-width: 900px) { .q-side { overflow-y: auto; } }

/* ---------- 第二版 ---------- */
.q-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.q-row > label { flex: 1 1 150px; }
.q-notice { display: flex; gap: 10px; align-items: center; padding: 10px 14px; margin-bottom: 12px; border-radius: 14px; background: var(--yellow); color: var(--ink); font-size: 14px; animation: pop .4s var(--ease); }
.q-notice b { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-size: 12px; }
.q-rulelink { text-align: center; font-size: 12px; color: var(--muted); margin: 14px 0 0; }
.q-rulelink a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.q-rules { max-width: 680px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px 20px 14px; }
.q-rules h1 { font-size: 20px; margin-bottom: 10px; }
.q-rules ol { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.75; color: #4a4a44; }
.q-rules li { margin: 4px 0; }
.q-rules li::marker { color: var(--bad); font-weight: 700; }
.q-fine a { color: inherit; text-decoration: underline; }

/* 功能推广 */
.q-feats { display: grid; gap: 10px; }
.q-featc { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: 14px; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * 60ms); transition: transform .3s var(--ease), border-color .2s; }
.q-featc:hover { transform: translateY(-3px); border-color: var(--yellow); }
.q-featc img { width: 64px; height: 64px; object-fit: contain; transition: transform .4s var(--ease); }
.q-featc:hover img { transform: rotate(-8deg) scale(1.08); }
.q-featc h3 { font-size: 17px; margin: 4px 0 2px; }
.q-featc p { margin: 0; font-size: 12.5px; color: var(--muted); }
.q-featc > b { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--line-2); color: var(--muted); white-space: nowrap; }
.q-featc.on > b { background: var(--yellow-soft); color: #7a5d00; } .q-featc.promo > b { background: var(--ok-soft); color: var(--ok); }
.q-feat-hero { display: flex; gap: 14px; align-items: center; background: var(--stage); color: #fff; border-radius: 22px; padding: 18px; margin-bottom: 14px; }
.q-feat-hero img { width: 84px; flex: none; animation: float 5s ease-in-out infinite; }
.q-feat-hero h1 { margin: 6px 0 4px; } .q-feat-hero p { margin: 0; color: #c9cbc5; font-size: 13px; }

/* 学其他圈子：异动 */
.q-moves { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.q-move { background: var(--paper); border-radius: 14px; padding: 12px 14px; animation: rise .45s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
.q-move header { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.q-move header span { font: 700 13px var(--num); color: var(--ok); white-space: nowrap; }
.q-move p { margin: 4px 0 0; font-size: 13px; color: #4a4a44; padding-left: 14px; position: relative; }
.q-move p::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.q-move p.ops { color: var(--ink); font-weight: 600; } .q-move p.ops::before { background: var(--ok); }

/* 工具 */
.q-tgroup { font-size: 13px; color: var(--muted); letter-spacing: .1em; margin: 18px 0 10px; }
.q-note ul { margin: 0; padding-left: 18px; font-size: 13px; color: #4a4a44; display: grid; gap: 6px; }
.q-tplout { background: var(--paper); border-radius: 14px; padding: 12px 14px; min-height: 60px; }
.q-calcout .q-kc b { font-size: 20px; }
.q-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.q-checks.big { grid-template-columns: 1fr; }
.q-chk { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 13px; cursor: pointer; }
.q-chk input { width: 18px; height: 18px; flex: none; accent-color: var(--ink); margin: 2px 0 0; }
.q-chk:has(input:checked) { background: var(--yellow-soft); border-color: var(--yellow); }
.q-chk small { display: block; color: var(--muted); font-size: 12px; }
.q-ideas { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.q-ideas li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px; animation: rise .45s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.q-ideas h3 { font-size: 16px; } .q-ideas p { margin: 4px 0; font-size: 13px; } .q-ideas small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.q-cheat { width: 100%; border-collapse: collapse; font-size: 13px; }
.q-cheat th { text-align: left; white-space: nowrap; padding: 9px 12px 9px 0; vertical-align: top; color: var(--ink); }
.q-cheat td { padding: 9px 0; color: #4a4a44; } .q-cheat tr + tr > * { border-top: 1px solid var(--line-2); }

/* 报销 */
.q-claims, .q-claimrecs { list-style: none; padding: 0; margin: 0; }
.q-claimc { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); animation: rise .4s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.q-claimc b { display: block; } .q-claimc small { color: var(--muted); font-size: 12px; }
.q-claimbox { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
.q-claimbox > div { background: var(--stage); color: #fff; border-radius: 16px; padding: 12px 14px; }
.q-claimbox span { display: block; font-size: 12px; color: #a4a8a2; }
.q-claimbox b { display: block; font: 800 24px/1.2 var(--num); color: var(--yellow); }
.q-claimbox b.txt { font: 700 15px/1.4 inherit; font-family: inherit; color: #fff; margin: 4px 0; }
.q-claimbox small { font-size: 11px; color: #a4a8a2; }
.q-upload { display: block; border: 2px dashed var(--line); border-radius: 16px; padding: 14px; background: #fff; cursor: pointer; }
.q-upload input { margin-top: 8px; border: 0; padding: 0; background: none; }
.q-upload small { color: var(--muted); }
.q-thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.q-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); animation: pop .3s var(--ease); }
.q-claimrec { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.q-claimrec header { display: flex; justify-content: space-between; gap: 8px; }
.q-claimrec p { margin: 4px 0 6px; font-size: 13px; color: var(--muted); }
.q-claimrec details { margin-top: 8px; font-size: 13px; } .q-claimrec summary { cursor: pointer; color: #8a6b00; font-weight: 600; }

/* 圈主日报 */
.q-daily { position: relative; overflow: hidden; background: #fffbea; border: 2px solid var(--ink); border-radius: 22px; padding: 16px 18px 18px; margin-bottom: 14px;
  box-shadow: 6px 6px 0 var(--ink); animation: rise .6s var(--ease) both; }
.q-daily::after { content: "号外"; position: absolute; right: -24px; top: 14px; transform: rotate(35deg); background: var(--bad); color: #fff; font-size: 12px; font-weight: 800;
  padding: 3px 34px; letter-spacing: .2em; }
.q-daily header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 6px; margin-bottom: 10px; }
.q-daily header span { font-weight: 900; letter-spacing: .2em; font-size: 13px; }
.q-daily header time { font: 700 12px var(--num); color: var(--muted); padding-right: 30px; }
.q-daily h2 { font-size: 21px; line-height: 1.35; margin: 0 0 6px; }
.dl-sub { margin: 2px 0; font-size: 14px; font-weight: 700; color: var(--bad); }
.dl-sub::before { content: "▶ "; }
.dl-sec { margin-top: 12px; }
.dl-sec h4 { font-size: 14px; margin: 0 0 6px; }
.dl-sec ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13px; }
.dl-sec li b { margin-right: 6px; } .dl-sec li span { font: 700 12px var(--num); color: var(--ok); }
.dl-sec li small { display: block; color: var(--muted); font-size: 12px; }
.dl-sec p { margin: 0; font-size: 13px; color: #4a4a44; } .dl-sec a { color: #8a6b00; font-weight: 700; }
.dl-tip { display: flex; gap: 10px; align-items: center; margin-top: 12px; background: var(--yellow); border-radius: 14px; padding: 10px 12px; }
.dl-tip img { width: 44px; flex: none; animation: float 5s ease-in-out infinite; }
.dl-tip p { margin: 0; font-size: 13px; } .dl-tip b { display: block; font-size: 12px; }
.q-dailycard .dl-head { margin: 0 0 8px; font-weight: 800; font-size: 15px; line-height: 1.4; }
.q-boards { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.q-boards::-webkit-scrollbar { display: none; }
.q-boards a { white-space: nowrap; }
.q-tag.k-lx { background: #e3f4ea; color: var(--ok); } .q-tag.k-act { background: var(--yellow-soft); color: #7a5d00; } .q-tag.k-biz { background: #ece6fb; color: #6a4fd0; }
.q-tag.k-ad { background: var(--bad-soft); color: var(--bad); } .q-tag.k-run { background: #e7f2fb; color: #2f78b5; } .q-tag.k-anon { background: var(--ink); color: #ddd; }
.q-post header em.anon { background: #3a3d40; color: #ddd; }

@media (min-width: 900px) {
  .q-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-claimbox { grid-template-columns: 1fr 2fr; }
}

/* 企业微信绑定 */
.q-bindhead, .q-bindok { display: flex; gap: 14px; align-items: center; }
.q-bindhead img, .q-bindok img { width: 72px; flex: none; animation: float 5s ease-in-out infinite; }
.q-bindhead p, .q-bindok p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.q-bindok { border-color: var(--ok); background: linear-gradient(135deg, var(--ok-soft), var(--card) 70%); }
.q-picks { display: grid; gap: 8px; }
.q-pick { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.q-pick input { width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.q-pick:has(input:checked) { border-color: var(--ink); background: var(--yellow-soft); }
.q-pick b { display: block; } .q-pick small { color: var(--muted); font-size: 12px; }
.q-code { font: 800 28px/1 var(--num); letter-spacing: .5em; text-align: center; padding: 14px; }
.q-resend { text-align: center; margin: -4px 0 14px; }
.q-bindtip { background: var(--ink); color: #fff; text-decoration: none; }
.q-bindtip b { background: var(--yellow); color: var(--ink); }

/* 活动详情：奖励 / 内容 / 时间 / 门槛 / 物料 */
.q-reward { background: var(--ink); color: #fff; border-color: var(--ink); background-image: var(--stage); }
.q-reward h2 { color: var(--yellow); }
.q-rw { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.q-rw div { display: grid; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.08); animation: pop .45s var(--ease) both; }
.q-rw div:nth-child(2) { animation-delay: .06s; } .q-rw div:nth-child(3) { animation-delay: .12s; } .q-rw div:nth-child(4) { animation-delay: .18s; }
.q-rw b { font: 700 22px/1.2 var(--num); color: var(--yellow); } .q-rw span { font-size: 12px; color: #d8d4c6; overflow-wrap: anywhere; }
.q-note { margin: 10px 0 0; font-size: 13px; color: #e9e5d8; }
.q-md { line-height: 1.8; } .q-md .wc-q { display: block; border-left: 3px solid var(--line); padding-left: 8px; color: var(--muted); }
.q-md .wc-warning { color: #c57800; } .q-md .wc-info { color: var(--ok); } .q-md .wc-comment { color: var(--muted); }
.q-kv { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.q-kv li { display: flex; justify-content: space-between; gap: 12px; } .q-kv b { color: var(--muted); font-weight: 500; }
.q-stages { margin: 10px 0 0; padding-left: 18px; font-size: 13px; color: var(--muted); } .q-stages li { margin: 3px 0; }
.q-gate { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.q-gate li { display: flex; gap: 8px; align-items: flex-start; }
.q-gate i { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--num); font-style: normal; }
.q-gate .ok i { background: var(--ok-soft); color: var(--ok); } .q-gate .no i { background: var(--bad-soft); color: var(--bad); }
.q-gate .no { color: var(--bad); } .q-gate .info i { background: var(--line-2); color: var(--muted); } .q-gate .info { color: var(--muted); font-size: 13px; }
.q-mats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.q-mats li a, .q-mats li.lock { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; min-height: 46px; }
.q-mats li a span { color: var(--blue); font-size: 13px; white-space: nowrap; } .q-mats li a:active { transform: scale(.98); }
.q-mats li.lock { background: var(--line-2); color: var(--muted); } .q-mats li.lock span { font-size: 12px; white-space: nowrap; }
.q-btn[disabled] { opacity: .55; cursor: not-allowed; }
.q-gate .ok i { color: #217a4b; }
