/* ask.css — 每日一问（总第 9 步第 ⑧ 条，设计稿 v4 ⑤ ⑨）：对话里那张卡、「每日一问」那张纸、写答案的弹框、揭晓时裂开的蜡封。
   照精修规矩：字号 17 / 15 / 13 / 12，0.5px 细线，只一个陶土强调色，卡片细线和阴影二选一（这里只用阴影 + 一圈极淡的边）；三套皮肤 × 浅深。 */

/* 卡片 */
.ct-row--ask { justify-content: center; }
.ak-card { width: min(318px, 88%); margin: 10px auto 4px; padding: 14px 16px 6px; border-radius: 22px; background: var(--surface); color: var(--ink); text-align: left;
  box-shadow: 0 0 0 .5px color-mix(in srgb, var(--ink) 12%, transparent), 0 8px 20px -12px rgba(60, 40, 20, .32); }
.ak-h { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; font-weight: 600; line-height: 16px; letter-spacing: .6px; color: var(--clay-d); }
.ak-h > svg { flex: none; }
.ak-d { margin-left: auto; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.ak-q { margin: 8px 0 8px; font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 26px; letter-spacing: .2px; color: var(--ink); overflow-wrap: anywhere; }
.ak-card.is-wait .ak-q { min-height: 26px; }
.ak-r { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 0; }
.ak-r + .ak-r::before { content: ""; position: absolute; left: 40px; right: 0; top: 0; height: .5px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.ak-r.is-a { align-items: flex-start; padding: 10px 0; }
.ak-m { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 14px; font-style: normal; background: var(--c-soft); }
.ak-m .ui-char { --size: 16px; color: var(--c-deep); }
.ak-w { flex: 1; min-width: 0; font-size: 15px; line-height: 20px; color: var(--muted); }
.ak-a { flex: 1; min-width: 0; padding-top: 2px; font-family: var(--font-display); font-size: 15px; line-height: 24px; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.ak-go { flex: none; min-height: 44px; padding: 0 16px; border-radius: 22px; background: var(--clay-soft); color: var(--clay-d); font-size: 13px; font-weight: 600; }
.ak-go:active { transform: scale(.96); }

/* 蜡封：写好了、封着；揭晓时裂成两半落下（ask.js 克隆两份、各裁一半） */
.ak-sw { position: relative; flex: none; display: inline-flex; width: 30px; height: 30px; margin-right: 2px; }
.ak-seal { position: absolute; inset: 0; display: inline-flex; align-items: center; justify-content: center; font-style: normal; }
.ak-seal-svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #A9523A; filter: drop-shadow(0 1px 1.5px rgba(70, 30, 10, .35)); }
.ak-seal .ui-char { position: relative; --size: 15px; color: #F7E3D6; text-shadow: 0 1px 0 rgba(70, 25, 8, .4); }
.ak-half { pointer-events: none; }
.ak-half.is-l { clip-path: inset(-20% 50% -20% -20%); }
.ak-half.is-r { clip-path: inset(-20% -20% -20% 50%); }

/* 「每日一问」那张纸 */
.ak-list { padding: 4px 0 24px; }
.ak-list .ak-card { width: auto; margin: 0 0 12px; }
.ak-foot { margin: 14px 0 0; text-align: center; font-size: 12px; line-height: 16px; color: var(--muted); }
.ak-empty { margin: 40px 0; text-align: center; font-size: 13px; color: var(--muted); }

/* 写答案 */
.ak-sq { margin: 2px 0 2px; font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 26px; color: var(--ink); overflow-wrap: anywhere; }
.ak-ta { height: auto; min-height: 140px; padding: 12px 14px; line-height: 24px; resize: none; }
.ak-cnt { margin: -4px 2px 0; text-align: right; font-size: 12px; line-height: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* 极简：一根细线、黑白，蜡封墨色 */
:root[data-skin="minimal"] .ak-card { border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
:root[data-skin="minimal"] .ak-h { color: var(--ink); }
:root[data-skin="minimal"] .ak-go { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
:root[data-skin="minimal"] .ak-seal-svg { fill: var(--ink); filter: none; }
:root[data-skin="minimal"] .ak-seal .ui-char { color: var(--surface); text-shadow: none; }
/* 可爱：手绘描边 + 错位投影 */
:root[data-skin="cute"] .ak-card { border-radius: var(--wob, 22px); box-shadow: 0 0 0 2px var(--sk-out, var(--ink)), 4px 5px 0 2px var(--sk-fill, var(--clay-soft)); }
:root[data-skin="cute"] .ak-go { box-shadow: 0 0 0 1.5px var(--sk-out, var(--ink)); }
:root[data-skin="cute"] .ak-m { box-shadow: 0 0 0 1.5px var(--sk-out, var(--ink)); }
