/* C39: keep the original visual assets; make real states readable. */
[hidden] { display: none !important; }
#practiceArea .coach-act[aria-pressed="true"] { opacity: 1; color: var(--brand-deep); background: var(--brand-soft); border-color: var(--brand); }
.cloud-app { background: var(--paper, #f4f3ee); }
.cloud-app .main { min-height: 0; }
.cloud-app .main.scroll { padding: 18px 20px 24px; }
.cloud-app .topbar { gap: 10px; padding: 10px 16px; background: var(--bg, #fff); }
.cloud-account { min-height: 44px; max-width: 44%; padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--brand); background: var(--panel); overflow-wrap: anywhere; }
.cloud-app .cloud-hero { padding: 6px 0 20px; }
.cloud-app .hero-mascot { width: 128px; height: auto; margin: 0 auto 12px; }
.cloud-app .hero-mascot img { width: 128px; height: auto; display: block; object-fit: contain; }
.cloud-app .hero-title { font-size: clamp(22px, 5.5vw, 28px); line-height: 1.35; letter-spacing: -.4px; margin-bottom: 8px; }
.cloud-app .hero-sub { color: var(--sub); font-size: 14px; line-height: 1.65; }
.cloud-context-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 12px; font-size: 13px; }
.cloud-context-row label { color: var(--sub); }
.cloud-context-row select { flex: 1; min-width: 128px; }
.cloud-optional { font-size: 12px; }
.cloud-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 10px; color: var(--brand); font: inherit; text-decoration: none; }
.cloud-status { color: var(--sub); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; padding: 10px 0; }
.cloud-status:empty { display: none; }
.cloud-replies { padding-top: 2px; }
.cloud-replies .reply-card { overflow-wrap: anywhere; background: var(--bg, #fff); }
.cloud-replies .reply-text { white-space: pre-wrap; }
.cloud-replies .why { white-space: pre-wrap; }
.cloud-replies button { min-height: 44px; }
.cloud-chat-state { margin: 20px 0 4px; padding: 16px; min-width: 0; border: 1px solid var(--border); border-radius: 18px; background: var(--brand-soft, #eaf4f0); overflow-wrap: anywhere; }
.cloud-chat-state-eyebrow { margin: 0 0 7px; font-size: 12px; color: var(--sub); }
.cloud-chat-state-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.cloud-chat-state-heading span { font-size: 24px; line-height: 1.3; flex-shrink: 0; }
.cloud-chat-state-heading h2 { margin: 0; color: var(--brand-deep); font-size: 21px; line-height: 1.4; }
.cloud-chat-state > p:not(.cloud-chat-state-eyebrow):not(.cloud-chat-state-footer) { margin: 6px 0; font-size: 14px; line-height: 1.7; }
.cloud-chat-state-suggestion { color: var(--brand-deep); }
.cloud-chat-state-footer { margin: 12px 0 0; color: var(--sub); font-size: 11px; line-height: 1.6; }
.cloud-empty { font-size: 14px; color: var(--sub); line-height: 1.75; padding: 16px; overflow-wrap: anywhere; }
.cloud-empty p + p { margin-top: 8px; }
.cloud-panel { margin: 0 0 16px; padding: 16px; background: var(--bg, #fff); border: 1px solid var(--border); border-radius: 18px; }
.cloud-section-title { font-size: 16px; line-height: 1.45; margin: 0 0 10px; color: var(--ink); }
.cloud-note { margin: 10px 0; color: var(--sub); font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.cloud-module { margin-top: 18px; }
.cloud-module-badge { display: inline-flex; padding: 4px 9px; margin: 0 0 6px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-deep); font-size: 12px; }
.cloud-module-result { overflow-wrap: anywhere; line-height: 1.75; }
.cloud-module-result p, .cloud-module-result li { white-space: pre-wrap; font-size: 14px; }
.cloud-module-result ul { margin: 8px 0; padding-left: 20px; }
.cloud-module-result li + li { margin-top: 8px; }
.cloud-module-section { padding-top: 16px; margin-top: 12px; border-top: 1px solid var(--border); }
.cloud-module-result h4 { font-size: 14px; margin: 0 0 8px; }
.cloud-module-result details summary, .cloud-module-fold > summary { min-height: 44px; padding: 12px 0; color: var(--brand-deep); cursor: pointer; }
.cloud-module-result .coach-card { padding: 12px; margin: 10px 0; }
.cloud-module-practice .coach-act[aria-pressed="true"] { opacity: 1; color: var(--brand-deep); background: var(--brand-soft); border-color: var(--brand); }
.cloud-module-fold { margin-top: 18px; }
.cloud-module-fold[open] > summary { font-weight: 600; }
.cloud-app .sub-title { font-size: 19px; font-weight: 700; line-height: 1.4; }
.cloud-app .sub-note { font-size: 14px; line-height: 1.75; color: var(--sub); margin-bottom: 16px; }
.cloud-form { display: grid; gap: 14px; margin: 16px 0; }
.cloud-form label { display: grid; gap: 6px; color: var(--ink); font-size: 14px; line-height: 1.55; }
.cloud-form input:not([type="checkbox"]), .cloud-form textarea, .cloud-form select, .cloud-context-row select { font: inherit; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg, #fff); color: var(--ink); }
.cloud-form textarea { resize: vertical; }
.cloud-form details label { margin-top: 12px; }
.cloud-form details summary, .cloud-thoughts summary { min-height: 44px; padding: 11px 0; font-size: 13px; color: var(--sub); cursor: pointer; }
.cloud-form .cloud-check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 0; }
.cloud-check input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; accent-color: var(--brand); }
.cloud-form .cbtn, .cloud-app .cbtn { min-height: 44px; line-height: 1.4; }
.cloud-settings { background: var(--bg, #fff); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin: 16px 0; }
.cloud-entry { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; width: 100%; padding: 13px 16px; text-align: left; font-size: 14px; color: var(--ink); background: var(--bg, #fff); border-bottom: 1px solid var(--border); }
.cloud-entry:last-child { border-bottom: 0; }
.cloud-tool-list { display: grid; gap: 10px; }
.cloud-tool-list button { width: 100%; min-height: 52px; text-align: left; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg, #fff); color: var(--ink); }
.cloud-app .composer { background: var(--bg, #fff); padding: 8px 14px; }
.cloud-app .cloud-composer { display: block; padding: 10px 12px; background: var(--panel); border-radius: 20px; }
.cloud-tone { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--sub); margin-bottom: 4px; }
.cloud-tone button { min-height: 44px; padding: 7px 13px; border-radius: 999px; border: 1px solid transparent; color: var(--sub); background: transparent; }
.cloud-tone button.on, .cloud-tone button[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand-deep); border-color: var(--brand); }
.cloud-input-label { display: block; font-size: 12px; color: var(--sub); margin-bottom: 4px; }
.cloud-app .cloud-composer .field-input { width: 100%; min-width: 0; min-height: 44px; max-height: 180px; padding: 2px 0 6px; resize: vertical; color: var(--ink); font-size: 16px; background: transparent; }
.cloud-app .cloud-her-input { min-height: 68px; }
.cloud-compose-actions { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 6px; }
.cloud-compose-actions button { min-height: 44px; padding: 8px 10px; font-size: 12px; border-radius: 12px; }
.cloud-compose-actions #generateButton { margin-left: auto; padding: 10px 16px; font-size: 14px; }
.cloud-compose-actions button:disabled { color: var(--sub); opacity: .65; }
.cloud-app .tabbar { flex-shrink: 0; }
.cloud-app .tabbar .tab { min-height: 52px; }
.cloud-app .drawer-panel { overflow-y: auto; max-height: 100dvh; }
.cloud-app .drawer-mask { border-radius: 0; }
.cloud-app .drawer-title { font-size: 16px; }
.cloud-return { margin-top: 22px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.result-entry .main { display: grid; align-items: center; }
.cloud-noscript { position: fixed; inset: auto 12px 12px; padding: 16px; background: #fff; color: var(--ink); border: 1px solid var(--border); z-index: 100; font-size: 14px; }
.cloud-app button:focus-visible, .cloud-app a:focus-visible, .cloud-app input:focus-visible, .cloud-app select:focus-visible, .cloud-app textarea:focus-visible, .cloud-app summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
@media (max-width: 370px) { .cloud-app .main.scroll { padding: 14px; } .cloud-app .composer { padding: 6px 10px; } .cloud-compose-actions { gap: 2px; } .cloud-compose-actions button { font-size: 11px; padding: 7px; } .cloud-context-row select { min-width: 120px; } }
@media (prefers-reduced-motion: reduce) { .cloud-app *, .cloud-app *::before, .cloud-app *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
/* Local trial refinement: keep the established green identity and legible states. */
.cloud-app { --sub: #555e68; --faint: #586157; }
.cloud-app .cloud-panel p, .cloud-app #materialLibrary p, .cloud-app #materialLibrary li,
.cloud-app .cloud-module-result p, .cloud-app .cloud-module-result li { font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.cloud-app input:not([type="checkbox"]), .cloud-app textarea, .cloud-app select { font-size: 16px; min-width: 0; }
.cloud-app .tabbar .tab { font-size: 13px; }
.cloud-app #savedHistory, .cloud-app #materialLibrary { min-width: 0; overflow-wrap: anywhere; }
.cloud-app .history-row { padding-block: 12px; }
.cloud-app .history-row + .history-row { border-top: 1px solid var(--border); }
.cloud-app #materialLibrary blockquote { margin: 14px 0; font-size: 20px; line-height: 1.55; white-space: pre-wrap; }
.cloud-app :is(input,textarea)::placeholder { color: #636973; opacity: 1; }
.cloud-app ::selection { color: var(--ink); background: #c8e7de; }
.cloud-app :is(input,textarea) { caret-color: var(--brand-deep); }
.cloud-app #page-shiyong .cloud-panel { line-height: 1.75; }
.cloud-app #page-shiyong p + p { margin-top: 12px; }

/* Two-input screenshot reply composer & dual-axis relationship UI */
.reply-screenshot-field, .reply-intent-field { margin: 0 0 10px; }
.reply-screenshot-field { padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.reply-field-title { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; font-size: 14px; line-height: 1.4; font-weight: 650; color: var(--ink); }
.reply-field-title span { font-size: 12px; font-weight: 400; color: var(--sub); }
.reply-screenshot-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.reply-screenshot-row p, .reply-screenshot-excerpt { margin: 0; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; color: var(--sub); }
.reply-screenshot-row .reply-screenshot-pick { min-height: 44px; min-inline-size: 108px; padding: 8px 13px; border: 1px solid var(--brand-deep); background: var(--bg); color: var(--brand-deep); flex: 0 0 auto; white-space: nowrap; }
.reply-screenshot-field .reply-screenshot-excerpt:not([hidden]) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 4px; }
.cloud-app .cloud-composer .reply-intent-field textarea.field-input { display: block; min-height: 58px; padding: 7px 10px; border: 1px solid var(--border); border-radius: var(--r-s); background: var(--bg); }
.cloud-app .reply-intent-field .cloud-note { margin: 5px 0 0; }
.cloud-app .cloud-composer #generateButton:disabled, .cloud-app .reply-screenshot-row #shotBtn:disabled { opacity: 1; background: var(--paper); color: var(--ink); border: 1px solid var(--border); cursor: default; }
.reply-turn-analysis { margin: 0 0 12px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--r-m); background: var(--bg); }
.reply-turn-analysis > summary { min-height: 44px; padding: 11px 0; color: var(--ink); font-size: 14px; font-weight: 650; line-height: 22px; cursor: pointer; }
.reply-turn-analysis > summary::marker { color: var(--brand-deep); }
.reply-turn-analysis > dl { display: grid; gap: 12px; margin: 0; padding: 12px 0 14px; border-top: 1px solid var(--border); font-size: 14px; line-height: 1.55; }
.reply-turn-analysis dt { margin: 0 0 3px; color: var(--ink); font-weight: 650; }
.reply-turn-analysis dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.rel-axis-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.rel-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--border); background: var(--paper); color: var(--ink); }
.rel-pill.window { border-color: #1f7a6d; color: #165e53; background: #edf7f4; }
.rel-pill.cooling { border-color: #c26d1f; color: #8c4a0d; background: #fdf5ec; }
.rel-pill.icebreak { border-color: #5b7290; color: #364b68; background: #f2f5f9; }
.rel-upgrade-box { margin: 8px 0; padding: 8px 10px; border-radius: var(--r-s); border: 1px solid #1f7a6d; background: #edf7f4; font-size: 13px; }
.rel-milestones { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.rel-milestones button { font-size: 12px; padding: 4px 8px; }
.rel-rules-body { padding: 8px 0 12px; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.6; }
.rel-rules-body h3 { margin: 10px 0 4px; font-size: 13px; color: var(--ink); }
.rel-rules-body ul { margin: 4px 0 8px; padding-left: 18px; }
@media (max-width: 460px) { .cloud-app .cloud-compose-actions #generateButton { width: 100%; margin: 0; } }

/* Game-like progression, ? rule help modal, streak calendar & community square */
.rule-help-btn { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--brand-deep); background: var(--bg); color: var(--brand-deep); font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.rule-dialog { box-sizing: border-box; max-width: 440px; width: calc(100vw - 28px); max-height: calc(100dvh - 32px); margin: auto; inset: 0; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--r-m); padding: 16px; background: var(--bg); color: var(--ink); }
.rule-dialog::backdrop { background: rgba(15, 23, 42, .45); }
.rule-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.rule-dialog-head h2 { margin: 0; font-size: 16px; }
.xp-bar-wrap { margin: 8px 0; }
.xp-bar-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--sub); margin-bottom: 4px; }
.xp-bar-track { height: 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--border); overflow: hidden; }
.xp-bar-fill { height: 100%; background: linear-gradient(90deg, #1f7a6d, #2fb39b); border-radius: 999px; transition: width .25s ease; }
.hit-quote-banner { margin: 0 0 10px; padding: 8px 12px; border-radius: var(--r-s); border: 1px solid #d4a017; background: #fffbeb; color: #78350f; font-size: 13px; font-weight: 600; }
.streak-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 10px 0 12px; }
.streak-cell { border: 1px solid var(--border); border-radius: var(--r-s); padding: 8px 4px; text-align: center; background: var(--paper); font-size: 11px; }
.streak-cell strong { display: block; font-size: 13px; margin-top: 2px; color: var(--ink); }
.streak-cell.done { border-color: #1f7a6d; background: #edf7f4; color: #165e53; }
.streak-cell.next { border-color: #d97706; background: #fffbeb; }
.streak-cell.day7 { border-style: dashed; }
.square-banner { padding: 10px 12px; border-radius: var(--r-s); background: linear-gradient(135deg, #edf7f4, #fffbeb); border: 1px solid #1f7a6d; margin-bottom: 12px; font-size: 13px; line-height: 1.55; }
.square-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; margin-right: 6px; }
.square-badge.official { background: #fef3c7; color: #92400e; border: 1px solid #f59e0b; }
.square-badge.super_hot { background: #fce7f3; color: #9d174d; border: 1px solid #ec4899; }
.square-badge.hot { background: #ffedd5; color: #9a3412; border: 1px solid #f97316; }
.ref-code-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px dashed var(--brand-deep); border-radius: var(--r-s); background: #edf7f4; margin: 10px 0; }
.ref-code-val { font-size: 18px; font-weight: 800; letter-spacing: 1px; color: var(--brand-deep); }
.daily-plan-card { margin: 8px 0 12px; padding: 12px 14px; border-radius: var(--r-m); border: 1px solid #cce7e1; background: linear-gradient(135deg, #f3fbf9 0%, #ffffff 65%, #fff9f2 100%); box-shadow: 0 2px 8px rgba(31, 122, 109, .06); }
.daily-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.daily-plan-head-left { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.daily-plan-head-right { display: flex; align-items: center; gap: 6px; }
.daily-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #e3f4f0; color: #155c52; }
.daily-badge.window_invite { background: #ffe9d6; color: #9c3d00; }
.daily-badge.hot_followup { background: #e0f5ea; color: #166534; }
.daily-badge.cooling_pause { background: #e8eef5; color: #36506b; }
.daily-badge.level_up_sprint { background: #fff0c7; color: #8c5a00; }
.daily-streak-pill { font-size: 11px; font-weight: 700; color: #9a4a00; background: #fff3df; padding: 2px 7px; border-radius: 999px; }
.daily-due-banner { margin: 6px 0; padding: 7px 10px; border-radius: var(--r-s); background: #fff5e5; border: 1px solid #f5cf93; color: #7c4400; font-size: 12px; font-weight: 600; }
.daily-plan-title { margin: 4px 0; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.daily-plan-reason { margin: 4px 0 8px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.daily-inspiration { margin: 8px 0; padding: 9px 11px; border-radius: var(--r-s); background: #fff; border: 1px solid var(--line); font-size: 13px; }
.daily-inspiration-sample { margin: 6px 0 0; padding: 6px 8px; border-radius: 6px; background: #f5f9f8; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.daily-spark-row { display: flex; gap: 6px; margin: 8px 0; flex-wrap: wrap; }
.daily-spark-row input { flex: 1 1 180px; min-width: 0; }
.daily-openers-list { margin: 8px 0 0; display: grid; gap: 6px; }
.daily-opener-item { padding: 8px 10px; border-radius: var(--r-s); background: #fff; border: 1px solid #d5ebe6; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.daily-opener-style { display: inline-block; font-size: 11px; font-weight: 700; color: #1f7a6d; margin-right: 6px; }
.daily-profile-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 8px; }
.daily-time-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.mode-switch-bar { display: flex; gap: 6px; margin: 8px 0 10px; padding: 4px; border-radius: 999px; background: #edf5f3; border: 1px solid #d5e8e3; }
.mode-pill { flex: 1; border: 0; border-radius: 999px; padding: 7px 10px; font-size: 13px; font-weight: 700; background: transparent; color: var(--muted); cursor: pointer; }
.mode-pill.on { background: #fff; color: var(--brand-deep); box-shadow: 0 1px 4px rgba(15, 76, 68, .12); }
.precheck-card { margin-top: 10px; padding: 12px; border-radius: var(--r-s); border: 1px solid var(--line); background: #fff; }
.precheck-card ul { margin: 6px 0 8px; padding-left: 20px; line-height: 1.55; }
.precheck-card li { margin: 3px 0; }
.precheck-card.red { border-color: #f3b5b5; background: #fff6f6; }
.precheck-card.yellow { border-color: #f2d399; background: #fffbf2; }
.precheck-card.green { border-color: #b7e4cf; background: #f2fbf6; }
.precheck-os-box { margin: 8px 0; padding: 8px 10px; border-left: 3px solid var(--brand-deep); background: rgba(255, 255, 255, .85); border-radius: 6px; font-size: 13px; color: var(--ink); }
.rank-panel { background: linear-gradient(135deg, #f0faf7 0%, #ffffff 60%, #f8f4ff 100%); border: 1px solid #cce7e1; }
.rank-hero { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.rank-title-big { font-size: 18px; font-weight: 800; color: var(--brand-deep); }
.rank-dim-grid { display: grid; gap: 6px; margin: 8px 0; }
.rank-dim-row { display: grid; grid-template-columns: 78px 1fr 38px; align-items: center; gap: 8px; font-size: 12px; }
.rank-dim-track { height: 7px; border-radius: 999px; background: #e6efed; overflow: hidden; }
.rank-dim-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #1f7a6d, #43b09c); }
.rank-badge-wall { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rank-badge-chip { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #fff4dd; color: #8a4b00; border: 1px solid #f5d89e; }
.boss-roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 8px; margin: 8px 0; }
.boss-card-btn { text-align: left; padding: 9px 10px; border-radius: var(--r-s); border: 1px solid var(--line); background: #fff; cursor: pointer; display: flex; flex-direction: column; gap: 3px; }
.boss-card-btn.on { border-color: var(--brand-deep); background: #edf8f5; box-shadow: 0 0 0 1px var(--brand-deep); }
.boss-chat-arena { margin-top: 10px; border: 1px solid #cce7e1; border-radius: var(--r-m); overflow: hidden; background: #f3f5f6; }
.boss-hud { padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.boss-hp-track { height: 9px; border-radius: 999px; background: #e8ecef; overflow: hidden; margin: 5px 0; }
.boss-hp-fill { height: 100%; border-radius: 999px; transition: width .3s ease; background: linear-gradient(90deg, #e07a5f, #f2cc8f, #2a9d8f); }
.boss-feed { padding: 10px; display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow-y: auto; }
.boss-msg-row { display: flex; flex-direction: column; max-width: 86%; gap: 4px; }
.boss-msg-row.boss { align-self: flex-start; }
.boss-msg-row.user { align-self: flex-end; align-items: flex-end; }
.boss-bubble { padding: 8px 11px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; word-break: break-word; }
.boss-msg-row.boss .boss-bubble { background: #fff; color: var(--ink); border: 1px solid #e3e8ea; border-top-left-radius: 4px; }
.boss-msg-row.user .boss-bubble { background: #95ec69; color: #112211; border-top-right-radius: 4px; }
.boss-os-fold { font-size: 11.5px; color: var(--muted); background: rgba(255, 255, 255, .9); padding: 4px 8px; border-radius: 8px; border: 1px dashed #cddbd8; max-width: 100%; }
.boss-input-bar { padding: 9px 10px; background: #fff; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.boss-debrief { padding: 12px; background: linear-gradient(135deg, #fffdf6 0%, #f1faf7 100%); border-top: 1px solid #cce7e1; }
.boss-grade-pill { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; font-size: 17px; font-weight: 900; background: var(--brand-deep); color: #fff; margin-right: 8px; }
.onboarding-banner { margin: 6px 0 8px; padding: 10px 12px; border-radius: var(--r-m); border: 1px dashed var(--brand-deep); background: linear-gradient(135deg, #fff8eb 0%, #edf9f6 100%); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ob-step-head { display: flex; gap: 6px; margin-bottom: 10px; }
.ob-step-pill { flex: 1; text-align: center; padding: 6px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #eef3f2; color: var(--muted); }
.ob-step-pill.on { background: var(--brand-deep); color: #fff; }
.ob-group { margin: 10px 0; }
.ob-group-title { font-size: 13px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ob-chip { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; cursor: pointer; color: var(--ink); }
.ob-chip.on { border-color: var(--brand-deep); background: #e2f5f0; color: var(--brand-deep); font-weight: 700; }
.ob-reaction { margin: 8px 0; padding: 8px 10px; border-radius: var(--r-s); background: #fff7e6; border: 1px solid #f4d399; color: #7a4600; font-size: 12.5px; font-weight: 600; }
.bionic-mem-box { margin: 8px 0; padding: 8px 10px; border-radius: var(--r-s); background: #f1f9f7; border: 1px solid #c6e5dd; }
.bionic-mem-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.vault-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin: 6px 0 10px; padding: 8px 11px; border-radius: 12px; background: linear-gradient(135deg, #fffdf7, #f4f8ff); border: 1px solid #e1e8f5; font-size: 12px; color: #364152; cursor: pointer; }
.vault-strip-pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.vault-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: #eef5ff; color: #26528f; font-size: 11.5px; font-weight: 600; }
.vault-pill.active { background: #e8f7ee; color: #196b45; }
.vault-highlight { margin: 6px 0; padding: 7px 10px; border-radius: 10px; background: #fff8e6; border: 1px solid #f0d799; color: #7a5200; font-size: 12.5px; font-weight: 600; }
.vault-playbook-note { margin: 6px 0; padding: 7px 10px; border-radius: 10px; background: #f2f7ff; border: 1px solid #d5e4ff; color: #244a7d; font-size: 12.5px; }
.daily-badge.key_date_radar { background: #fff0e6; color: #b54708; border: 1px solid #f7c59f; }
.dossier-box { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: #fafbfd; border: 1px solid #e4e9f2; }
.dossier-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: #1f2937; margin-bottom: 6px; }
.dossier-slots { display: flex; flex-wrap: wrap; gap: 5px; margin: 7px 0; }
.dossier-slot { padding: 2px 8px; border-radius: 999px; font-size: 11.5px; background: #f1f3f7; color: #667085; border: 1px solid #e4e7ec; }
.dossier-slot.done { background: #eaf7ef; color: #166534; border-color: #bbf0cf; font-weight: 600; }
.dossier-fold { margin-top: 8px; border: 1px solid #e6ebf2; border-radius: 10px; padding: 7px 10px; background: #fff; }
.dossier-fold summary { cursor: pointer; font-size: 12.5px; font-weight: 600; color: #28527a; }
.dossier-sec { margin-top: 10px; padding-top: 8px; border-top: 1px dashed #e7ecf3; }
.dossier-sec:first-of-type { border-top: none; padding-top: 4px; }
.dossier-sec-title { font-size: 12px; font-weight: 700; color: #344054; margin: 0 0 6px; }
.dossier-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 7px 9px; margin-bottom: 6px; border-radius: 9px; background: #f8fafc; font-size: 12.5px; line-height: 1.45; }
.dossier-item-body { display: flex; align-items: flex-start; gap: 6px; flex: 1; min-width: 0; }
.dossier-item-text { flex: 1; min-width: 0; word-break: break-word; color: #1f2937; }
.dossier-item-acts { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.dossier-mini-btn { padding: 3px 8px !important; font-size: 11.5px !important; min-height: 26px !important; line-height: 1.2 !important; }
.dossier-mini-btn.danger { color: #b42318 !important; border-color: #f3d0ce !important; }
.dossier-hint { margin: 0 0 7px; font-size: 11.5px; color: #667085; line-height: 1.45; }
.dossier-warn { margin: 0 0 8px; padding: 7px 9px; border-radius: 8px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-size: 12px; line-height: 1.45; }
.dossier-mem-tag { flex: 0 0 auto; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 999px; margin-top: 1px; }
.dossier-mem-tag.safety { background: #fef2f2; color: #b42318; border: 1px solid #fecaca; }
.dossier-mem-tag.l1 { background: #eaf7ef; color: #166534; border: 1px solid #bbf0cf; }
.dossier-mem-tag.l2 { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.dossier-edit-form { display: flex; flex-direction: column; gap: 6px; margin: -2px 0 8px; padding: 9px; border-radius: 10px; background: #ffffff; border: 1px solid #1F7A6D; box-shadow: 0 2px 8px rgba(31,122,109,0.08); }
.dossier-edit-form .finput { width: 100%; box-sizing: border-box; padding: 6px 8px; font-size: 12.5px; }
.dossier-edit-foot { display: flex; justify-content: flex-end; gap: 6px; }
.dossier-check-inline { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #344054; cursor: pointer; }
.dossier-mini-form { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.dossier-mini-form .finput { flex: 1 1 120px; padding: 6px 8px; font-size: 12.5px; }
.dossier-timeline { list-style: none; padding: 0; margin: 4px 0 0; }
.dossier-timeline li { font-size: 12px; color: #475467; padding: 4px 0 4px 10px; border-left: 2px solid #cbd5e1; margin-bottom: 4px; }
.dossier-timeline li strong { color: #1d2939; }
.humor-card { padding: 12px 13px; border-radius: 14px; background: #fff; border: 1px solid #e7ebf2; margin-bottom: 10px; box-shadow: 0 2px 6px rgba(15,23,42,0.03); }
.humor-card-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.humor-dialogue { display: flex; flex-direction: column; gap: 7px; margin: 6px 0 10px; }
.humor-line { display: flex; align-items: flex-start; gap: 8px; }
.humor-role { flex: 0 0 auto; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; margin-top: 2px; }
.humor-role.her { background: #f2f4f7; color: #475467; }
.humor-role.god { background: #e8f7ee; color: #157347; }
.humor-bubble { flex: 1; padding: 8px 11px; border-radius: 12px; font-size: 14px; line-height: 1.5; word-break: break-word; }
.humor-bubble.her { background: #f8fafc; color: #344054; border: 1px solid #eaecf0; }
.humor-bubble.god { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); color: #0f3d26; border: 1px solid #bbf7d0; font-weight: 600; }
.humor-search-row { display: flex; gap: 6px; margin: 10px 0 8px; align-items: center; }
.humor-search-row .finput { flex: 1 1 0; min-width: 0; }

/* ═══ Flagship UI Polish: Clean · Symmetrical · Hierarchical (WeChat-inspired order × Lingyao #1F7A6D) ═══ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.cloud-app h1[tabindex="-1"]:focus,
.cloud-app h1[tabindex="-1"]:focus-visible { outline: none !important; box-shadow: none !important; }

.cloud-app {
  --paper: #F3F4F2;
  --bg: #FFFFFF;
  --panel: #F8F9F8;
  --border: #EAECE9;
  --line: #EAECE9;
  --ink: #181B1F;
  --sub: #737B84;
  --muted: #737B84;
  --brand: #1F7A6D;
  --brand-deep: #175E54;
  --brand-soft: #EAF5F2;
  background: var(--paper);
  color: var(--ink);
}

/* Topbar: calm seamless header */
.cloud-app .topbar {
  height: 50px;
  padding: 6px 14px;
  background: #F3F4F2;
  border-bottom: 0.5px solid #E3E6E3;
}
.cloud-app .topbar-title {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #181B1F;
}
.cloud-app .cloud-account {
  min-height: 32px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-deep);
  background: #FFFFFF;
  border: 0.5px solid #E0E5E2;
  border-radius: 999px;
}

/* Main scroll spacing */
html, body {
  max-width: 100%;
  overflow-x: clip;
}
.cloud-app {
  width: 100%;
  max-width: 480px;
  overflow-x: clip;
}
.cloud-app .main.scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  padding: 12px 14px 20px;
  background: var(--paper);
}
.cloud-app select,
.cloud-app .finput,
.cloud-app .tool-card,
.cloud-app .cloud-module-fold {
  max-width: 100%;
  box-sizing: border-box;
}
.cloud-app #practiceArea select {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 6px 0 10px;
  padding: 9px 12px;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid #D5DBD7;
  background: #FFFFFF;
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
  text-overflow: ellipsis;
}
.cloud-app #practiceArea .coach-act {
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  text-align: left;
  line-height: 1.45;
}
.cloud-app .cbtn {
  padding: 9px 15px;
  border-radius: 10px;
  border: 1px solid #D5DBD7;
  background: #FFFFFF;
  color: #1F2937;
  font-weight: 600;
}
.cloud-app .cbtn.primary {
  border-color: #1F7A6D;
  background: #1F7A6D;
  color: #FFFFFF;
}
.cloud-app .reply-intent-fold {
  margin: 2px 0;
}
.cloud-app .reply-intent-toggle {
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  color: #6B7773;
  padding: 2px 2px 4px;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cloud-app .reply-intent-toggle::-webkit-details-marker {
  display: none;
}
.cloud-app .reply-intent-fold[open] .reply-intent-toggle {
  color: #1F7A6D;
  margin-bottom: 4px;
}
.cloud-app #myInput {
  min-height: 38px;
  overflow: hidden;
  line-height: 1.4;
}
.cloud-app .reply-selection-condition {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cloud-app .reply-list-hint {
  font-size: 12px;
  color: #7D8A85;
  text-align: center;
  margin: 4px 0 8px;
}
.cloud-app .reply-shot-excerpt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.cloud-app .reply-shot-excerpt-row .reply-screenshot-excerpt {
  margin: 0;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cloud-app .shot-edit-link {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #1F7A6D;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 4px;
  cursor: pointer;
}
.onboard-opt {
  border: 1px solid #D9DFDC !important;
  background: #F6F8F7 !important;
  color: #26313D !important;
  border-radius: 999px !important;
  padding: 6px 12px !important;
}
.onboard-opt.on {
  border-color: #1F7A6D !important;
  background: #E6F4F1 !important;
  color: #145B51 !important;
}
.cloud-app .sub-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.cloud-app .sub-title {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.2px;
  color: #181B1F;
}
.cloud-app .sub-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--sub);
  margin: 0 0 12px;
}

/* Home compact horizontal welcome header (frees +200px viewport) */
.cloud-app .home-welcome-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 11px 14px;
  margin: 0 0 10px;
  background: #FFFFFF;
  border: 1px solid #EAECE9;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}
.cloud-app .home-welcome-card .hero-mascot {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  margin: 0;
  padding: 4px;
  border-radius: 12px;
  background: #EAF5F2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cloud-app .home-welcome-card .hero-mascot img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  animation: none !important;
  filter: none !important;
}
.home-welcome-copy { min-width: 0; flex: 1; }
.cloud-app .home-welcome-card .hero-title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.2px;
  margin: 0 0 2px;
  color: #181B1F;
}
.cloud-app .home-welcome-card .hero-sub {
  font-size: 12.5px;
  line-height: 1.4;
  color: #737B84;
  margin: 0;
}

/* Unified clean white surfaces — zero rainbow clutter */
.cloud-app .vault-strip {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #EAECE9;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .02);
}
.cloud-app .vault-pill {
  background: #F2F4F3;
  color: #535D68;
  font-weight: 500;
  padding: 3px 9px;
}
.cloud-app .vault-pill.active {
  background: #EAF5F2;
  color: #175E54;
  font-weight: 600;
}
.wx-chevron-sm { font-size: 12px; color: #8A929B; font-weight: 500; }

.cloud-app .onboarding-banner {
  margin: 0 0 10px;
  padding: 11px 13px;
  border-radius: 14px;
  border: 1px solid #EAECE9;
  border-left: 3px solid #1F7A6D;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}
.ob-banner-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ob-banner-copy strong { font-size: 14px; font-weight: 650; color: #181B1F; }
.ob-banner-copy span { font-size: 12px; color: #737B84; }
.cloud-app .onboarding-banner .cbtn { min-height: 36px; padding: 6px 13px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }

.cloud-app .daily-plan-card {
  margin: 0 0 10px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid #EAECE9;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}
.cloud-app .daily-inspiration {
  background: #F8F9F8;
  border: 1px solid #ECEEEB;
  border-radius: 10px;
}
.cloud-app .daily-inspiration-sample {
  background: #FFFFFF;
  border: 1px solid #EAECE9;
}
.cloud-app .daily-inspiration-sample button,
.cloud-app .daily-opener-item button {
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 32px;
  padding: 5px 12px;
  font-size: 12.5px;
}

/* Segmented control mode switch */
.cloud-app .mode-switch-bar {
  display: flex;
  gap: 4px;
  margin: 0 0 10px;
  padding: 3px;
  border-radius: 12px;
  background: #E6EAE8;
  border: none;
}
.cloud-app .mode-pill {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #5C656F;
  background: transparent;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.cloud-app .mode-pill.on {
  background: #FFFFFF;
  color: #175E54;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .08);
}
.wx-ic-sm {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Unified crisp cards */
.cloud-app .coach-card,
.cloud-app .cloud-panel {
  background: #FFFFFF;
  border: 1px solid #EAECE9;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}
.cloud-app .rank-panel {
  background: #FFFFFF;
  border: 1px solid #EAECE9;
}
.cloud-app .square-banner {
  background: #F5FAF8;
  border: 1px solid #D7ECE6;
  color: #1D4942;
}

/* Compact, calm bottom composer */
.cloud-app .composer {
  background: #F8F9F8;
  border-top: 0.5px solid #E3E6E3;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
}
.cloud-app .cloud-composer {
  padding: 10px 12px;
  background: #FFFFFF;
  border: 1px solid #E6E9E6;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .03);
}
.cloud-app .reply-screenshot-field {
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 0.5px solid #ECEEEB;
}
.reply-shot-meta { min-width: 0; flex: 1; }
.cloud-app .reply-field-title { margin: 0 0 2px; font-size: 13.5px; }
.cloud-app .reply-screenshot-row p { font-size: 12px; color: #818A94; }
.cloud-app .reply-screenshot-row .reply-screenshot-pick {
  min-height: 36px;
  min-inline-size: 88px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 9px;
}
.cloud-app .reply-intent-field { margin: 0 0 8px; }
.cloud-app .cloud-composer .reply-intent-field textarea.field-input {
  min-height: 40px;
  max-height: 110px;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 9px;
  border: 1px solid #E5E8E5;
  background: #F8F9F8;
}
.cloud-app .cloud-composer .reply-intent-field textarea.field-input:focus {
  background: #FFFFFF;
  border-color: var(--brand);
}
.cloud-app .cloud-compose-actions #generateButton {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
}
.cloud-app .cloud-composer #generateButton:disabled {
  background: #EDF0EE;
  color: #8C959E;
  border-color: #E3E7E4;
}

/* WeChat-style "Me" identity card & segmented grouped lists */
.wx-profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  margin: 0 0 12px;
  background: #FFFFFF;
  border: 1px solid #EAECE9;
  border-radius: 16px;
}
.wx-avatar-box {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 14px;
  background: #EAF5F2;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wx-avatar-box img { width: 48px; height: 48px; object-fit: contain; }
.wx-profile-meta { flex: 1; min-width: 0; }
.wx-profile-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wx-profile-name-row strong { font-size: 19px; font-weight: 700; color: #181B1F; line-height: 1.25; }
.wx-mini-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: #EAF5F2;
  color: #175E54;
}
.wx-profile-sub {
  margin: 4px 0 8px;
  font-size: 12.5px;
  color: #7A828C;
}
.wx-profile-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.wx-pill-btn {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #E1E5E2;
  background: #F8F9F8;
  font-size: 12px;
  font-weight: 500;
  color: #3D4650;
}
.wx-pill-btn:active { background: #EAF5F2; border-color: #1F7A6D; color: #175E54; }
.wx-hero-chevron {
  font-size: 22px;
  color: #BFC5CC;
  padding: 6px 4px;
  flex-shrink: 0;
}

.wx-group {
  background: #FFFFFF;
  border: 1px solid #EAECE9;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 10px;
}
.wx-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  background: #FFFFFF;
  text-align: left;
  position: relative;
  transition: background .12s ease;
}
.wx-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 52px;
  right: 0;
  bottom: 0;
  height: 0.5px;
  background: #ECEEEB;
}
.wx-row:active { background: #F5F7F6; }
.wx-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wx-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wx-icon.c-brand { color: #1F7A6D; }
.wx-icon.c-blue { color: #2D6FB3; }
.wx-icon.c-amber { color: #C5831B; }
.wx-icon.c-coral { color: #C9573B; }
.wx-icon.c-indigo { color: #5C60B8; }
.wx-icon.c-slate { color: #64707D; }
.wx-row-label {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  color: #181B1F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wx-row-hint {
  font-size: 12.5px;
  color: #8A929B;
  white-space: nowrap;
  max-width: 48%;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
}
.wx-row-rich {
  align-items: center;
  padding: 13px 15px;
  min-height: 62px;
}
.wx-row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wx-row-title {
  font-size: 15.5px;
  font-weight: 600;
  color: #181B1F;
  line-height: 1.3;
}
.wx-row-desc {
  font-size: 12.5px;
  color: #7B848E;
  line-height: 1.4;
}
.wx-chevron {
  font-size: 18px;
  color: #C4C9CF;
  line-height: 1;
  margin-left: 2px;
  transition: transform .16s ease;
}
.wx-fold {
  position: relative;
}
.wx-group > .wx-fold:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 52px;
  right: 0;
  bottom: 0;
  height: 0.5px;
  background: #ECEEEB;
  pointer-events: none;
}
.wx-fold-head {
  list-style: none;
  cursor: pointer;
}
.wx-fold-head::-webkit-details-marker {
  display: none;
}
.wx-fold[open] > .wx-fold-head .wx-chevron {
  transform: rotate(90deg);
  color: #1F7A6D;
}
.wx-fold-body {
  padding: 6px 12px 14px;
  background: #FAFBF9;
  border-top: 0.5px solid #ECEEEB;
}
.wx-fold-body > .coach-card,
.wx-fold-body > .cloud-panel {
  margin-bottom: 10px;
}
.wx-fold-body > :last-child {
  margin-bottom: 0;
}
.pwa-install-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: #EDF6F4;
  border: 1px solid #CDE5E0;
  border-radius: 10px;
  padding: 6px 10px;
  margin: 0 0 8px;
}
.pwa-install-trigger {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #155A50;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  padding: 2px 0;
  cursor: pointer;
}
.pwa-install-close {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #6B8B85;
  font-size: 16px;
  line-height: 1;
  padding: 2px 4px;
  cursor: pointer;
}
.wx-footnote {
  text-align: center;
  font-size: 11.5px;
  color: #969EA7;
  margin: 14px 0 6px;
}
.wx-tool-groups { display: block; }

/* WeChat Contacts style "Her Profiles" */
.wx-dangan-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 12px;
}
.wx-dangan-actions .cbtn { font-size: 13.5px; padding: 9px 10px; border-radius: 11px; }
.wx-contact-card { padding: 14px; margin-bottom: 10px; }
.wx-contact-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.wx-contact-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.wx-contact-avatar.av-sage { background: #E4F3EF; color: #175E54; }
.wx-contact-avatar.av-slate { background: #E9EFF6; color: #2F557D; }
.wx-contact-avatar.av-amber { background: #FBF1DF; color: #8F5A12; }
.wx-contact-avatar.av-rose { background: #F9EAE6; color: #9C432D; }
.wx-contact-info { flex: 1; min-width: 0; }
.wx-contact-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wx-contact-title-row h3 { margin: 0; font-size: 16px; font-weight: 650; color: #181B1F; }
.wx-contact-sub { margin: 3px 0 0; font-size: 12.5px; color: #737B84; }
.wx-form-fold {
  margin: 12px 0;
  padding: 4px 14px 12px;
  background: #FFFFFF;
  border: 1px solid #EAECE9;
  border-radius: 14px;
}
.wx-form-fold > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand-deep);
  cursor: pointer;
}

/* Bottom Tabbar: crisp WeChat 4-grid symmetry + notification dot */
.cloud-app .tabbar {
  height: 56px;
  background: rgba(248, 249, 248, 0.96);
  backdrop-filter: blur(10px);
  border-top: 0.5px solid #E2E5E2;
  padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
}
.cloud-app .tabbar .tab {
  min-height: 48px;
  color: #6B737C;
  gap: 2px;
}
.cloud-app .tabbar .tab.on {
  color: #1F7A6D;
}
.cloud-app .tabbar .tab.on svg {
  stroke: #1F7A6D;
  fill: rgba(31, 122, 109, 0.14);
}
.tab-ic-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wx-tab-dot {
  position: absolute;
  top: -1px;
  right: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FA5151;
  border: 1.5px solid #F8F9F8;
}
.wx-tab-badge {
  position: absolute;
  top: -5px;
  right: -9px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: #FA5151;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 700;
  font-style: normal;
  line-height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #F8F9F8;
  box-shadow: 0 1px 3px rgba(250, 81, 81, .28);
  pointer-events: none;
}
.wx-tab-badge[hidden],
.wx-tab-dot[hidden] {
  display: none !important;
}
.wx-row-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FA5151;
  flex-shrink: 0;
}
.boss-resume-ping {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #1F7A6D;
  font-weight: 500;
}

/* Symmetrical topbar without redundant hamburger button */
.topbar-spacer {
  width: 64px;
  flex: 0 0 64px;
}

/* User-posted Humor Plaza cards: author header, likes & comments */
.humor-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.humor-author-av {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #EAF5F2;
  color: #175E54;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.humor-author-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #2A3138;
}
.humor-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.humor-act-btn {
  padding: 5px 11px;
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid #E3E7E4;
  background: #FFFFFF;
  color: #4D5660;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}
.humor-act-btn.on {
  border-color: #1F7A6D;
  background: #EAF5F2;
  color: #175E54;
  font-weight: 600;
}
.humor-act-btn.primary {
  border-color: #1F7A6D;
  background: #1F7A6D;
  color: #FFFFFF;
  font-weight: 600;
}
@media (max-width: 420px) {
  .humor-action-bar { gap: 4px; }
  .humor-act-btn { padding: 5px 7px; font-size: 12px; }
}
.humor-comments-box {
  margin-top: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #F6F7F6;
  border: 0.5px solid #EAECE9;
}
.humor-comments-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.humor-comment-item {
  font-size: 12.5px;
  line-height: 1.45;
  color: #434B54;
}
.humor-comment-item strong {
  color: #1F2937;
  font-weight: 600;
}
.humor-comment-form {
  display: flex;
  gap: 6px;
  margin-top: 7px;
}
.humor-comment-form .finput {
  flex: 1;
  min-height: 34px;
  padding: 5px 9px;
  font-size: 13px;
  background: #FFFFFF;
}
.humor-comment-form button {
  min-height: 34px;
  padding: 4px 12px;
  white-space: nowrap;
}

/* ── Investor Live Demo Gate & Quick Sample Chips ── */
.demo-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(243, 244, 242, 0.96);
  backdrop-filter: blur(8px);
}
.demo-gate-card {
  width: 100%;
  max-width: 390px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 26px 22px 22px;
  box-shadow: 0 12px 36px rgba(17, 24, 39, 0.08);
  border: 1px solid #EBECE8;
}
.demo-gate-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #E8F4F1;
  color: #1F7A6D;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.demo-gate-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #18212D;
}
.demo-gate-desc {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #55606E;
}
.demo-gate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-gate-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #2C3540;
}
.demo-gate-form input {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #D9DED9;
  background: #FAFBFA;
  font-size: 15px;
  color: #18212D;
  box-sizing: border-box;
}
.demo-gate-form input:focus {
  outline: none;
  border-color: #1F7A6D;
  background: #FFFFFF;
}
.demo-gate-status {
  margin: 0;
  min-height: 18px;
  font-size: 13px;
  color: #C2410C;
}
.demo-gate-btn {
  min-height: 46px;
  border: none;
  border-radius: 10px;
  background: #1F7A6D;
  color: #FFFFFF;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
}
.demo-gate-btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.demo-gate-consent {
  margin: 2px 0 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: #828C96;
}
.demo-quick-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.demo-quick-chip {
  border: 1px solid #D9E6E2;
  background: #F4FAF8;
  color: #1F7A6D;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.demo-quick-chip:active {
  background: #E2F2EE;
}
.demo-her-input {
  width: 100%;
  min-height: 44px;
  margin-bottom: 6px;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 10px;
  border: 1px solid #E2E5E2;
  background: #FAFBFA;
  resize: none;
  box-sizing: border-box;
}
#privacyPanel form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
}
#privacyPanel form label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}
.shot-why-btn {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid #D5E5E0;
  background: #F3FAF8;
  color: #1F7A6D;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  vertical-align: middle;
}
.shot-why-btn:active {
  background: #E2F2EE;
}
.review-dev-badge {
  display: none !important;
}
.review-auto-banner {
  margin: 6px 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #EFF8F5;
  border: 1px solid #CFE8E1;
  color: #165B51;
  font-size: 13px;
  line-height: 1.5;
}
.review-auto-banner.empty {
  background: #F6F7F6;
  border-color: #E4E7E4;
  color: #5D666F;
}
.review-focus-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auto-mem-receipt {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #F3FAF7;
  border: 1px solid #D4EBE3;
  font-size: 12.5px;
  color: #1A5C52;
  line-height: 1.5;
}
.auto-mem-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.auto-mem-title {
  font-weight: 600;
}
.auto-mem-undo {
  border: none;
  background: transparent;
  color: #6B7780;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  padding: 2px 4px;
}
.auto-mem-undo:disabled {
  opacity: 0.5;
  cursor: default;
}
.auto-mem-details {
  margin-top: 6px;
}
.auto-mem-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #1D5E54;
  list-style: none;
  user-select: none;
}
.auto-mem-toggle::-webkit-details-marker {
  display: none;
}
.auto-mem-toggle::after {
  content: '▾';
  font-size: 11px;
  transition: transform .15s ease;
}
.auto-mem-details[open] .auto-mem-toggle::after {
  transform: rotate(180deg);
}
.auto-mem-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.auto-mem-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #CDE4DC;
  color: #1D5E54;
  font-size: 12px;
}
.time-gap-banner {
  margin: 0 0 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #FFF8EC;
  border: 1px solid #F3DFBA;
  color: #8A5410;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
}

/* ── .213 Flagship Polish: Clickable My Rank Hero, Collapsible Daily Plan, RPG Roster & Detail, Clean Review & Boss Sim ── */
.cloud-app .cloud-panel p.cloud-note,
.cloud-app .coach-card p.cloud-note {
  font-size: 13px;
  line-height: 1.55;
  color: #6B747E;
}

.wx-profile-card-clickable {
  cursor: pointer;
  transition: background .12s ease, transform .1s ease;
}
.wx-profile-card-clickable:active {
  background: #F8FAF9;
  transform: scale(0.995);
}
.wx-hero-chevron {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.wx-hero-rank-tag {
  font-size: 12px;
  font-weight: 600;
  color: #1F7A6D;
  background: #EAF5F2;
  padding: 2px 7px;
  border-radius: 999px;
}

/* Collapsible Daily Plan inside Her Profiles */
.cloud-app .daily-plan-collapsible {
  padding: 0;
  overflow: hidden;
  border: 1px solid #D7EAE5;
  background: linear-gradient(135deg, #F6FCFA 0%, #FFFFFF 65%, #FFFBF5 100%);
}
.daily-plan-fold-head {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
}
.daily-plan-fold-head::-webkit-details-marker { display: none; }
.daily-plan-fold-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.daily-plan-fold-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.daily-count-pill {
  font-size: 11px;
  font-weight: 600;
  color: #4D5966;
  background: #EFF2F5;
  padding: 2px 7px;
  border-radius: 999px;
}
.daily-plan-fold-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #1E262E;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.daily-plan-fold-right {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.daily-fold-hint {
  font-size: 12px;
  font-weight: 600;
  color: #1F7A6D;
}
.daily-plan-fold[open] > .daily-plan-fold-head .wx-chevron {
  transform: rotate(90deg);
  color: #1F7A6D;
}
.daily-plan-fold-body {
  padding: 10px 14px 14px;
  border-top: 0.5px solid #E3ECE9;
  background: #FFFFFF;
}

/* RPG Roster Overview Cards (#profileList) */
.wx-profile-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.rpg-roster-card {
  width: 100%;
  text-align: left;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid #E6EAE7;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .035);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: border-color .14s ease, transform .1s ease, background .12s ease;
}
.rpg-roster-card:active {
  background: #F7FAF9;
  border-color: #BFE0D8;
  transform: scale(0.992);
}
.rpg-roster-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rpg-avatar-wrap {
  position: relative;
  flex: 0 0 46px;
}
.rpg-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 19px;
}
.rpg-lv-tag {
  position: absolute;
  right: -5px;
  bottom: -4px;
  padding: 1px 5px;
  border-radius: 999px;
  background: #175E54;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 1.5px solid #FFFFFF;
  line-height: 1.25;
}
.rpg-roster-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rpg-roster-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.rpg-roster-name {
  font-size: 16px;
  font-weight: 700;
  color: #181B1F;
  line-height: 1.25;
}
.rpg-roster-badges {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.rpg-upgrade-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: #FFF3D1;
  color: #9A5B00;
  border: 1px solid #F2D28B;
}
.rpg-roster-stats {
  margin: 0;
  font-size: 12.5px;
  color: #6B747E;
  line-height: 1.35;
}
.rpg-xp-wrap {
  margin: 0;
}
.rpg-xp-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #54616D;
  margin-bottom: 4px;
}
.rpg-xp-track {
  height: 7px;
  border-radius: 999px;
  background: #EEF2F1;
  border: none;
}
.rpg-xp-fill {
  background: linear-gradient(90deg, #1F7A6D 0%, #34B79F 100%);
}
.rpg-roster-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.rpg-mini-tag {
  font-size: 11px;
  color: #53606C;
  background: #F4F6F5;
  border: 1px solid #EAECEB;
  padding: 2px 8px;
  border-radius: 999px;
}

/* RPG Character Detail Page (#page-dangan-detail) */
.rpg-detail-hero,
.rpg-bio-card,
.rpg-dossier-card {
  padding: 14px;
  margin-bottom: 10px;
}
.rpg-detail-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.rpg-detail-info {
  flex: 1;
  min-width: 0;
}
.rpg-detail-name {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  color: #181B1F;
}
.rpg-detail-subbadges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}
.rpg-stat-chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #F3F5F4;
  color: #4A5560;
}
.rpg-stat-chip.accent {
  background: #EAF5F2;
  color: #175E54;
}
.rpg-detail-tip {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #5B6670;
}
.rpg-detail-actions {
  display: grid;
  grid-template-columns: 1.35fr 1fr auto;
  gap: 8px;
  margin-top: 12px;
}
.rpg-detail-actions .cbtn {
  min-height: 40px;
  padding: 7px 12px;
  font-size: 13.5px;
}
.rpg-btn-danger {
  color: #B43D2C !important;
  border-color: #F0D4CF !important;
  background: #FFF9F8 !important;
}
.rpg-milestone-block {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 0.5px solid #ECEEEB;
}
.rpg-mini-title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: #65707A;
}
.rpg-bio-item {
  margin-top: 10px;
}
.rpg-bio-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6B7580;
  margin-bottom: 3px;
}
.rpg-bio-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #202730;
  white-space: pre-wrap;
}
.rpg-boundary-box {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #FFF8F5;
  border: 1px solid #F4D8CC;
}
.rpg-boundary-box strong {
  display: block;
  font-size: 12.5px;
  color: #9C3A22;
  margin-bottom: 3px;
}
.rpg-boundary-box p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #4E271E;
}
.rpg-bio-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* Clean Review Page Typography (#page-jiantao) */
.cloud-app .review-panel {
  margin-top: 0;
  padding: 15px 14px;
}
.cloud-app .review-panel .review-intro-note {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #66707A;
}
.review-form {
  margin: 0;
  gap: 12px;
}
.review-field {
  display: grid;
  gap: 6px;
}
.review-field > span,
.review-field-label {
  font-size: 13px;
  font-weight: 600;
  color: #2A333D;
  line-height: 1.4;
}
.review-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.review-chip {
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid #DFE4E1;
  background: #F8FAF9;
  color: #39444E;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.review-chip.on {
  border-color: #1F7A6D;
  background: #E8F5F1;
  color: #155A50;
  font-weight: 700;
}
.review-shot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #F7F9F8;
  border: 1px solid #E5EAE7;
}
.review-shot-copy {
  flex: 1;
  min-width: 0;
}
.review-shot-copy strong {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  color: #1D252D;
  line-height: 1.35;
}
.cloud-app .review-panel .review-shot-desc {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #747E88;
}
.cloud-app .review-shot-btn {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 6px 12px;
  font-size: 13px;
  border-color: #1F7A6D;
  color: #175E54;
  white-space: nowrap;
}
.cloud-app #page-jiantao .cloud-module-result p,
.cloud-app #page-jiantao .cloud-module-result li {
  font-size: 14.5px;
  line-height: 1.68;
  color: #202830;
}
.cloud-app #page-jiantao .cloud-module-draft {
  padding: 10px 12px;
  border-radius: 10px;
  background: #EFF8F5;
  border: 1px solid #CBE6DD;
  color: #144A42;
  font-weight: 600;
  margin: 0 0 8px;
}

/* Clean Boss Sim Page Typography (#page-jubensha) */
.boss-sim-shell {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.boss-lobby-card,
.boss-custom-card {
  padding: 14px;
  margin: 0;
}
.boss-lobby-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.boss-lobby-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #181B1F;
}
.boss-met-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #EAF5F2;
  color: #175E54;
  white-space: nowrap;
}
.boss-lobby-sub {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #6B747E;
}
.boss-turn-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 3px;
  border-radius: 11px;
  background: #E9EDEB;
  margin-bottom: 10px;
}
.boss-turn-pill {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #55606A;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .14s ease, color .14s ease, box-shadow .14s ease;
}
.boss-turn-pill.on {
  background: #FFFFFF;
  color: #175E54;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .08);
}
.boss-sub-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #1F2730;
}
.cloud-app .boss-roster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}
.cloud-app .boss-card-btn {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #E5E9E6;
  background: #FAFBFA;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 0;
}
.cloud-app .boss-card-btn.on {
  border-color: #1F7A6D;
  background: #EDF8F5;
  box-shadow: 0 0 0 1px #1F7A6D;
}
.boss-card-top {
  display: flex;
  align-items: center;
  gap: 5px;
}
.boss-card-av {
  font-size: 16px;
  line-height: 1;
}
.boss-card-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #181B1F;
  line-height: 1.25;
}
.boss-card-meta {
  font-size: 11px;
  font-weight: 600;
  color: #1F7A6D;
  background: #E8F4F0;
  padding: 1px 6px;
  border-radius: 6px;
  line-height: 1.4;
}
.boss-card-tagline {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #6B747E;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.boss-custom-form {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 0.5px solid #ECEEEB;
}
.boss-custom-form .finput {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #DFE4E1;
  background: #FAFBFA;
}
.boss-hud-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.boss-resume-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  margin: 0;
  border-left: 3px solid #1F7A6D;
}
.boss-resume-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.boss-resume-copy strong {
  font-size: 14px;
  color: #181B1F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.boss-resume-copy span {
  font-size: 12px;
  color: #6B747E;
}
.cloud-app .boss-resume-card .cbtn {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 6px 14px;
  font-size: 13.5px;
  white-space: nowrap;
}
.boss-switch-btn {
  flex: 0 0 auto;
  padding: 4px 10px;
  font-size: 12px;
  white-space: nowrap;
}
.cloud-form label.conversation-records-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.cloud-context-row select {
  min-width: 156px;
}
.rank-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}
.rank-stat-cell {
  padding: 9px 6px;
  border-radius: 10px;
  background: #F6F8F7;
  border: 1px solid #EAECEB;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rank-stat-cell strong {
  font-size: 17px;
  font-weight: 750;
  color: #175E54;
  line-height: 1.2;
}
.rank-stat-cell span {
  font-size: 11.5px;
  color: #6B747E;
}
.profile-match-banner {
  margin: 8px 0 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #B7DDD5;
  background: #F3FAF8;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.profile-match-banner.limit {
  border-color: #F4C790;
  background: #FFF8EE;
}
.profile-match-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #18222D;
  line-height: 1.45;
}
.profile-match-sub {
  margin: 0;
  font-size: 12px;
  color: #52606D;
  line-height: 1.45;
}
.profile-match-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.profile-quota-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 11px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #F4F7F6;
  border: 1px solid #E3E8E6;
  font-size: 12px;
  color: #344054;
}
.profile-quota-strip.reached {
  background: #FFF7ED;
  border-color: #FCD39D;
  color: #9A3412;
}
.profile-quota-copy {
  flex: 1 1 180px;
  line-height: 1.45;
}
.profile-quota-btn {
  flex: 0 0 auto;
  border: 1px solid #1F7A6D;
  background: #FFFFFF;
  color: #1F7A6D;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}
.profile-quota-strip.reached .profile-quota-btn {
  background: #1F7A6D;
  color: #FFFFFF;
}
.rpg-alias-history {
  margin: 4px 0 0;
  font-size: 11.5px;
  color: #6B747E;
}
.sync-transfer-box {
  margin: 10px 0 12px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #F4FAF8;
  border: 1px solid #C3E3DC;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sync-transfer-title {
  font-size: 13px;
  font-weight: 700;
  color: #145B51;
}
.sync-code-result {
  padding: 9px 10px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px dashed #1F7A6D;
  text-align: center;
}
.sync-code-display {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #145B51;
  margin-bottom: 4px;
  user-select: all;
}
.sync-claim-form {
  display: flex;
  gap: 6px;
  align-items: center;
}
.sync-claim-form .finput {
  flex: 1 1 0;
  min-width: 0;
  padding: 7px 9px;
  font-size: 12.5px;
}
.vp-learned-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 10px;
}
.vp-auto-sec {
  margin: 8px 0 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #F6F9F8;
  border: 1px solid #E2ECE9;
}
.vp-auto-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: #344054;
}
.vp-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.vp-auto-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #C6DFD9;
  font-size: 12px;
  font-weight: 600;
  color: #145B51;
}
.vp-chip-rm {
  border: 0;
  background: transparent;
  color: #8A94A0;
  font-size: 14px;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
}
.boss-tier-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.2px;
}
.boss-tier-badge.easy {
  background: #E8F7EE;
  color: #166534;
  border: 1px solid #BBF0CF;
}
.boss-tier-badge.normal {
  background: #EEF5FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}
.boss-tier-badge.hard {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}
.boss-tier-badge.hard.lv6 {
  background: #450A0A;
  color: #FEE2E2;
  border: 1px solid #991B1B;
}
.boss-card-stars {
  font-size: 10.5px;
  letter-spacing: 0.5px;
  color: #D97706;
  line-height: 1.2;
}
.boss-tier-badge.custom {
  background: #FFF7ED;
  color: #B45309;
  border: 1px solid #FED7AA;
}
.boss-hud-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.boss-kb-note {
  font-size: 11.5px;
  color: #175E54;
  font-weight: 600;
  margin: 4px 0 0;
}
.boss-overtime-btn {
  border-color: #1F7A6D !important;
  color: #175E54 !important;
  font-weight: 600;
}
.boss-end-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.boss-card-voice {
  font-size: 11px;
  color: #5C6B73;
  font-weight: 500;
}
.boss-hud-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.boss-voice-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  background: #F3F4F6;
  color: #374151;
  border: 1px solid #E5E7EB;
}
.boss-bubble-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.boss-voice-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #D5E6E2;
  background: #FFFFFF;
  color: #175E54;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}
.boss-voice-btn.playing {
  background: #1F7A6D;
  color: #FFFFFF;
  border-color: #1F7A6D;
}
.boss-voice-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}
.boss-coach-tag {
  font-size: 10.5px;
  color: #175E54;
  font-weight: 600;
}
.boss-coach-drawer {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.boss-coach-opt {
  padding: 8px 10px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #D6E7E2;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.boss-coach-opt-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.boss-coach-style {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 999px;
  background: #E8F7EE;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
}
.boss-coach-kb {
  font-size: 11px;
  color: #175E54;
  font-weight: 600;
}
.boss-coach-opt-text {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #181B1F;
  line-height: 1.45;
}
.boss-coach-opt-reason {
  margin: 0;
  font-size: 11.5px;
  color: #5C6B73;
  line-height: 1.4;
}
.boss-coach-opt-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
/* WeChat-style fixed top-left back button on deep sub-pages */
.topbar-back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 36px;
  padding: 4px 8px 4px 2px;
  border: 0;
  background: transparent;
  color: #181B1F;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  flex: 0 0 auto;
}
.topbar-back svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.topbar-back[hidden] { display: none !important; }
.topbar-spacer[hidden] { display: none !important; }
.cloud-app .topbar-title {
  flex: 1 1 auto;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 6px;
}
/* Slim featherweight home banner */
.home-welcome-slim {
  padding: 8px 12px !important;
  margin-bottom: 8px !important;
  gap: 8px !important;
}
.home-welcome-slim .hero-mascot img {
  width: 32px;
  height: 32px;
}
.home-welcome-slim .hero-title {
  font-size: 15px !important;
  margin: 0 !important;
}
.boss-debrief-lead {
  margin: 6px 0 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #181B1F;
  line-height: 1.45;
}
.boss-debrief-fold {
  margin: 6px 0 10px;
}
.boss-master-box {
  margin: 10px 0;
}
.boss-master-trigger {
  border-color: #1F7A6D !important;
  color: #175E54 !important;
  font-weight: 700;
}
.boss-master-card {
  padding: 10px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #C8E4DD;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.boss-master-title {
  font-size: 14px;
  color: #145B51;
}
.square-top-tabs {
  margin-bottom: 10px;
}
.serial-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.serial-head-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.serial-title {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #181B1F;
  line-height: 1.4;
}
.serial-turns-fold {
  margin-top: 4px;
  border: 1px solid #E4EBE8;
  border-radius: 10px;
  padding: 7px 9px;
  background: #FAFDFC;
}
.serial-turns-fold summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #175E54;
}
.serial-turns-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.serial-turn-card {
  padding: 8px 10px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E6ECEA;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  line-height: 1.45;
}
.serial-turn-card p { margin: 0; }
.serial-turn-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}
.serial-turn-num {
  font-size: 11.5px;
  font-weight: 800;
  color: #FFFFFF;
  background: #1F7A6D;
  padding: 1px 7px;
  border-radius: 999px;
}
.serial-hp-pill {
  font-size: 11px;
  font-weight: 700;
  color: #166534;
  background: #E8F7EE;
  padding: 1px 7px;
  border-radius: 999px;
}
.serial-line-her { color: #1F2937; font-weight: 600; }
.serial-line-sub { color: #6B7280; }
.serial-line-bad { color: #B91C1C; background: #FEF2F2; padding: 3px 6px; border-radius: 6px; }
.serial-line-good { color: #145B51; background: #EAF7F1; padding: 4px 7px; border-radius: 6px; font-weight: 700; }
.serial-line-why { color: #374151; }
.serial-lock-card {
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFFBF0 0%, #EEF9F5 100%);
  border: 1px dashed #1F7A6D;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* WeChat-style collapsible 52px bottom composer bar <-> expandable action sheet */
.cloud-app .composer.composer-collapsed {
  padding: 6px 12px 7px !important;
  background: #F7F8F7;
  border-top: 0.5px solid #E3E7E4;
}
.composer-mini-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}
.composer-mini-bar[hidden],
#composerExpandedSheet[hidden] {
  display: none !important;
}
.composer-mini-shot {
  flex: 1 1 0;
  min-width: 0;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #1F7A6D;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(31, 122, 109, 0.22);
}
.composer-mini-shot:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.composer-mini-shot svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.composer-mini-sample {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #C6DFD9;
  background: #FFFFFF;
  color: #175E54;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.composer-mini-sample[hidden] {
  display: none !important;
}
.composer-mini-expand {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #D8DFDC;
  background: #FFFFFF;
  color: #374151;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.composer-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.composer-sheet-title {
  font-size: 12px;
  font-weight: 700;
  color: #5C6B73;
}
.composer-collapse-btn {
  border: 0;
  background: transparent;
  color: #5C6B73;
  font-size: 12.5px;
  font-weight: 600;
  padding: 2px 6px;
  cursor: pointer;
}

/* Global deduplication: fixed .topbar already shows ‹ 返回 + page title */
.cloud-app .sub-head .back-btn2,
.cloud-app .sub-head .tool-back {
  display: none !important;
}
.cloud-app .sub-head .sub-title,
.cloud-app .sub-head:not(.sub-head-has-help) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cloud-app .sub-head.sub-head-has-help {
  justify-content: flex-end;
  margin: -4px 0 6px;
  min-height: 30px;
}

/* Minimalist 2-mode 实战复盘 (#page-jiantao) */
.review-mode-bar {
  margin: 0 0 10px;
}
.review-pane {
  display: grid;
  gap: 10px;
}
.review-pane[hidden],
.review-field[hidden],
.review-text-toggle[hidden] {
  display: none !important;
}
.review-auto-banner {
  margin: 0;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.45;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.review-inline-switch {
  border: 0;
  background: transparent;
  padding: 0;
  color: #1F7A6D;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.review-text-toggle {
  justify-self: end;
  border: 0;
  background: transparent;
  padding: 2px 2px;
  color: #6B7780;
  font-size: 12px;
  cursor: pointer;
}
.review-text-toggle:hover {
  color: #1F7A6D;
}
#module-review-status:empty {
  display: none;
}

/* Slim single-row home object picker & minimalist Pre-Send Check (.236) */
#homeContextRow {
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 10px;
}
#homeContextRow label {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: #5C6B73;
}
#homeContextRow select {
  min-height: 38px;
  padding: 6px 10px;
  font-size: 13.5px;
}
.precheck-panel {
  margin-top: 0;
  padding: 14px;
}
.precheck-form {
  margin: 0;
  gap: 10px;
}
.precheck-field {
  margin: 0;
}
.precheck-her-fold {
  margin: 0;
}
.precheck-her-fold input {
  margin-top: 6px;
}

/* Coach page low-frequency diagnostics fold */
.coach-more-fold {
  margin-top: 12px;
}
.coach-more-toggle {
  list-style: none;
  cursor: pointer;
  text-align: center;
  font-size: 12.5px;
  color: #7A868E;
  padding: 8px 4px;
  user-select: none;
}
.coach-more-toggle::-webkit-details-marker {
  display: none;
}
.coach-more-fold[open] .coach-more-toggle {
  color: #1F7A6D;
  margin-bottom: 6px;
}

/* Foldable minimalist Boss Sim lobby */
.boss-lobby-slim {
  display: grid;
  gap: 12px;
  padding: 14px;
}
.boss-fold {
  padding: 0;
  overflow: hidden;
}
.boss-fold-head {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px;
  min-height: 48px;
  user-select: none;
}
.boss-fold-head::-webkit-details-marker {
  display: none;
}
.boss-fold-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #1D252D;
}
.boss-fold[open] .boss-fold-head .wx-chevron {
  transform: rotate(90deg);
}
.boss-fold-body {
  padding: 0 14px 14px;
  display: grid;
  gap: 10px;
  border-top: 0.5px solid #EDF0EE;
  padding-top: 12px;
}
.boss-card-slim {
  padding: 10px;
  gap: 5px;
}
.composer-sheet-head-end {
  justify-content: flex-end;
  margin-bottom: 2px;
}
#replyScreenshotStatus:empty {
  display: none;
}

/* Whole-app WeChat minimalist UI refinement (.237) */
.cloud-app .cloud-module-badge {
  display: none !important;
}
.cloud-app .cloud-status:empty,
.cloud-app .partner-notice:empty {
  display: none;
}
.cloud-app .main.scroll {
  background: #F4F5F4;
  padding: 10px 14px 22px;
}
.cloud-app .coach-card,
.cloud-app .cloud-panel,
.cloud-app .wx-group,
.cloud-app .wx-profile-card,
.cloud-app .humor-card,
.cloud-app .reply-card {
  border-radius: 14px;
  border-color: #E7ECE9;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.cloud-app .wx-profile-card {
  padding: 14px;
  margin-bottom: 10px;
}
.cloud-app .wx-group {
  margin-bottom: 10px;
}
.cloud-app .wx-row {
  min-height: 50px;
}
.cloud-app .square-top-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}
.cloud-app .square-top-tabs > button {
  min-height: 36px;
  padding: 6px 4px;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cloud-app .invite-extra-fields {
  margin-top: 8px;
  gap: 8px;
}
.cloud-app #page-guangchang .cloud-panel,
.cloud-app #page-shezhi .cloud-panel {
  padding: 12px 14px;
}
.cloud-app #page-shezhi .wx-group {
  margin-top: 10px;
}

/* .238: restored one-tap 继续上次 chip next to the single-row object picker */
.last-session-chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #1F7A6D;
  background: #FFFFFF;
  color: #1F7A6D;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.last-session-chip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.last-session-chip[hidden] {
  display: none !important;
}
.precheck-context-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: #5C6B73;
}

/* .240: Compact reply cards with single-row 3-button bar & inline tweak drawer */
.cloud-app .reply-card {
  padding: 11px 13px;
  margin-bottom: 8px;
}
.cloud-app .reply-card .reply-tag {
  margin-bottom: 5px;
}
.cloud-app .reply-card .reply-text {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.5;
}
.cloud-app .reply-card .reply-why-fold {
  margin: 0 0 6px;
}
.cloud-app .reply-card .reply-why-fold summary {
  font-size: 12px;
  color: #6B7780;
  padding: 2px 0;
  min-height: 24px;
}
.reply-card-actions {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
}
.reply-act-btn {
  min-height: 36px;
  padding: 6px 6px;
  border-radius: 9px;
  border: 1px solid #DCE3DF;
  background: #F8FAF9;
  color: #2C3A36;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.reply-act-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.reply-act-primary {
  background: #1F7A6D;
  border-color: #1F7A6D;
  color: #FFFFFF;
}
.reply-act-primary.adopted {
  background: #E8F5F1;
  border-color: #B7DDD2;
  color: #166055;
}
.reply-tweak-bar {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 0.5px solid #EAEFED;
  display: grid;
  gap: 7px;
}
.reply-tweak-bar[hidden] {
  display: none !important;
}
.reply-tweak-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.reply-tweak-chip {
  min-height: 28px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #CFE3DC;
  background: #F3FAF7;
  color: #1A675C;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.reply-tweak-form {
  display: flex;
  gap: 6px;
  align-items: center;
}
.reply-tweak-input {
  flex: 1 1 0;
  min-width: 0;
  min-height: 36px !important;
  padding: 6px 10px !important;
  font-size: 13px !important;
}
.reply-tweak-go {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 6px 10px;
  font-size: 12.5px;
  white-space: nowrap;
}
@keyframes replyFlash {
  0% { background: #E3F6EF; border-radius: 6px; }
  100% { background: transparent; }
}
.reply-text-flash {
  animation: replyFlash 0.9s ease-out;
}

/* .241 Voice-Print 2.0 Screenshot DNA Cloning */
.vp-clone-card {
  margin: 10px 0 12px;
  padding: 12px 13px;
  border-radius: 13px;
  background: #F3FAF7;
  border: 1px solid #CBE4DC;
  display: grid;
  gap: 8px;
}
.vp-clone-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #15594F;
}
.vp-clone-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #46615B;
}
.vp-clone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.vp-clone-actions .cbtn {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 13.5px;
}
.vp-clone-status {
  margin: 0;
  font-size: 12.5px;
  color: #186459;
  font-weight: 600;
}
.vp-paste-fold {
  margin-top: 2px;
}
.vp-paste-fold > summary {
  font-size: 12.5px;
  color: #546A64;
  cursor: pointer;
  user-select: none;
}
.vp-paste-body {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}
.vp-dna-card {
  margin: 0 0 12px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #E4EAE7;
  display: grid;
  gap: 7px;
}
.vp-dna-summary {
  font-size: 14px;
  font-weight: 700;
  color: #18221F;
  line-height: 1.45;
}
.vp-dna-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.45;
}
.vp-dna-k {
  color: #6B7874;
  font-weight: 600;
}
.vp-dna-v {
  color: #2A3532;
}
.vp-avoid-chip {
  background: #FDF2F0 !important;
  border-color: #F0CFC8 !important;
  color: #8F382B !important;
}

/* .241 Global Shimmering "AI 思考中 | 趣味随机轮播" Indicator */
@keyframes aiThinkShimmer {
  0% { background-position: 140% 0; }
  100% { background-position: -80% 0; }
}
@keyframes aiQuipIn {
  0% { opacity: 0; transform: translateY(3px); }
  100% { opacity: 1; transform: translateY(0); }
}
.ai-thinking-card {
  margin: 10px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid #EAEFED;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  box-shadow: 0 2px 10px rgba(24, 34, 31, 0.03);
}
.ai-thinking-inline {
  margin: 6px 0;
  padding: 7px 11px;
  border-radius: 10px;
  background: #F6F9F8;
  border: 1px solid #E5ECE9;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}
.ai-thinking-label {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: linear-gradient(90deg, #98A2AC 0%, #98A2AC 32%, #1C2630 50%, #98A2AC 68%, #98A2AC 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: aiThinkShimmer 1.9s linear infinite;
}
.ai-thinking-sep {
  width: 1.5px;
  height: 13px;
  border-radius: 1px;
  background: #D4E1E8;
  flex: 0 0 1.5px;
}
.ai-thinking-quip {
  font-size: 13px;
  color: #8C96A0;
  line-height: 1.35;
  animation: aiQuipIn 0.35s ease;
}
.ai-thinking-inline .ai-thinking-label { font-size: 12.5px; }
.ai-thinking-inline .ai-thinking-quip { font-size: 12px; }

/* .250 Afterglow Companion Mode & Chatted Character History */
.boss-afterglow-teaser {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFF1F5 0%, #FFF7ED 100%);
  border: 1px solid #FECDD3;
  color: #9F1239;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
}
.boss-companion-card {
  border-color: #FECDD3;
  background: linear-gradient(180deg, #FFF9FB 0%, #FFFFFF 45%);
}
.boss-companion-quota {
  padding: 2px 8px;
  border-radius: 999px;
  background: #FFE4E6;
  color: #BE123C;
  font-size: 11px;
  font-weight: 700;
}
.boss-companion-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.boss-companion-item,
.boss-history-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #EAECEF;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.boss-companion-item {
  border-color: #FBCFE8;
  box-shadow: 0 2px 8px rgba(190, 24, 93, 0.04);
}
.boss-companion-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.boss-companion-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13.5px;
  color: #1F2937;
}
.boss-companion-pill,
.boss-hist-tag {
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  background: #F3F4F6;
  color: #4B5563;
}
.boss-companion-pill,
.boss-hist-tag.ok {
  background: #FFE4E6;
  color: #BE123C;
}
.boss-companion-meta {
  font-size: 11.5px;
  color: #6B7280;
}
.boss-companion-preview {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #374151;
  white-space: normal;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.boss-companion-acts {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.boss-companion-acts > :first-child {
  flex: 1 1 auto;
  min-height: 36px;
}
.boss-companion-acts > .boss-del-btn {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 6px 12px;
}
.boss-del-btn {
  color: #9CA3AF !important;
  border-color: #E5E7EB !important;
}
.boss-del-btn:hover {
  color: #DC2626 !important;
  border-color: #FCA5A5 !important;
}
.boss-hud-top {
  flex-wrap: wrap;
}
.boss-hud-acts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
}
.boss-hud.afterglow {
  background: linear-gradient(135deg, #FFF1F5 0%, #FFF7FB 100%);
  border-bottom: 1px solid #FECDD3;
}
.boss-tier-badge.afterglow {
  background: #FFE4E6;
  color: #BE123C;
  border: 1px solid #FDA4AF;
}
.boss-billing-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}
.boss-afterglow-hud-note {
  margin: 6px 0 0;
  font-size: 11.5px;
  color: #9F1239;
}
.boss-unlock-nudge {
  margin-top: 6px;
  font-size: 11.5px;
  color: #BE123C;
  font-weight: 500;
}
.boss-afterglow-divider {
  margin: 12px auto 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #FFF1F5;
  border: 1px solid #FECDD3;
  color: #BE123C;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  align-self: center;
}
.boss-afterglow-mood {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #FFF1F5;
  color: #BE123C;
  font-size: 11px;
  font-weight: 600;
}
.boss-afterglow-bill {
  font-size: 11.5px;
  color: #6B7280;
  align-self: center;
}
.boss-afterglow-cta-card {
  margin: 10px 0 12px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FFF1F5 0%, #FFF7ED 100%);
  border: 1px solid #FDA4AF;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.boss-afterglow-cta-title {
  font-size: 14px;
  color: #9F1239;
}
.boss-afterglow-price-note {
  margin: 0;
  font-size: 11px;
  color: #78350F;
}
.boss-slot-limit-box {
  margin-top: 8px;
  padding: 10px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #FDA4AF;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.boss-mem-btn {
  border-color: #FDA4AF !important;
  color: #BE123C !important;
  background: #FFF1F5 !important;
}
.boss-mem-dialog {
  max-width: 460px;
  width: min(94vw, 460px);
}
.boss-mem-sec {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #EEF1EE;
}
.boss-mem-sec:first-of-type {
  margin-top: 6px;
  padding-top: 0;
  border-top: none;
}
.boss-mem-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 13.5px;
  color: #18212D;
}
.boss-mem-tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: #FFE4E6;
  color: #BE123C;
}
.boss-mem-tag.auto {
  background: #E8F4F1;
  color: #175E54;
}
.boss-mem-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 7px 0 4px;
}
.boss-mem-chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  color: #4B5563;
  font-size: 12px;
  cursor: pointer;
}
.boss-mem-form-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
}
.boss-mem-form-row .finput {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  padding: 8px 10px;
}
.boss-mem-add-btn {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px !important;
  font-size: 13px !important;
  white-space: nowrap;
}
.boss-mem-empty {
  margin: 4px 0 0;
  font-size: 12px;
  color: #9CA3AF;
}
.boss-mem-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  max-height: 220px;
  overflow-y: auto;
}
.boss-mem-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 9px;
  background: #FFF7F8;
  border: 1px solid #FECDD3;
}
.boss-mem-row.auto {
  background: #F6FAF9;
  border-color: #D7EAE5;
}
.boss-mem-text {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #1F2937;
  word-break: break-word;
}
.boss-mem-acts {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* ── .254 Zero-Friction Boss Sim Funnel Bridges (Home Empty Hook + Battle Tab Strip + Post-Reply Nudge) ── */
.home-boss-hook {
  margin: 12px 0 6px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF6F8 100%);
  border: 1px solid #FAD5DD;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-boss-hook[hidden] {
  display: none;
}
.home-boss-hook-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #18212D;
  line-height: 1.4;
}
.home-boss-hook-sub {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6B7280;
}
.home-boss-hook-link {
  align-self: center;
  border: none;
  background: transparent;
  color: #1F7A6D;
  font-size: 12.5px;
  font-weight: 600;
  padding: 2px 6px;
  cursor: pointer;
}
.wx-row-featured {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF7F8 100%);
}
.coach-companions-strip {
  margin: 0 0 10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFF5F7 0%, #FFFFFF 100%);
  border: 1px solid #FECDD3;
}
.coach-companions-strip[hidden] {
  display: none;
}
.coach-comp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #9F1239;
}
.coach-comp-all {
  border: none;
  background: transparent;
  color: #1F7A6D;
  font-size: 12px;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}
.coach-comp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.coach-comp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #FDA4AF;
  background: #FFFFFF;
  color: #18212D;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.coach-comp-pill small {
  font-size: 11px;
  font-weight: 600;
  color: #BE123C;
}
.coach-comp-pill.ready {
  border-color: #A7F3D0;
  background: #ECFDF5;
}
.coach-comp-pill.ready small {
  color: #047857;
}
.reply-boss-nudge {
  display: block;
  width: 100%;
  margin: 10px 0 4px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px dashed #D7EAE5;
  background: #F7FBFA;
  color: #1F7A6D;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

/* ── .255 Full-Height 390px WeChat Arena, Top Toast, Thin Scrollbars & Modals ── */
.scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 163, 175, 0.45) transparent;
}
.wx-row-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #DC3B2E;
  flex: 0 0 auto;
  margin-right: 4px;
}
.wx-row-dot[hidden] {
  display: none;
}
.insufficient-pts-acts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.boss-launching-card {
  margin: 28px 0;
  padding: 28px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.boss-launching-title {
  font-size: 15px;
  font-weight: 700;
  color: #18212D;
}
.boss-companion-foot {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: #7B848E;
  text-align: center;
}
.boss-hud-name {
  font-size: 14px;
  font-weight: 700;
  color: #18212D;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.boss-hud-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
}
.boss-hud-progress {
  font-size: 11.5px;
  font-weight: 600;
  color: #4B5563;
}
.boss-scene-toggle {
  border: 1px solid #DCE2DE;
  background: #FFFFFF;
  color: #1F7A6D;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}
.boss-scene-brief {
  margin: 6px 0 0;
  padding: 6px 9px;
  border-radius: 8px;
  background: #F6F8F7;
  font-size: 12px;
  line-height: 1.45;
  color: #4B5563;
}
.boss-scene-brief[hidden] {
  display: none;
}
.boss-wechat-input-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.boss-input-field {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 40px;
  max-height: 96px;
  padding: 9px 11px !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  resize: none;
}
.boss-send-btn {
  flex: 0 0 auto;
  min-height: 40px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  white-space: nowrap;
}
.boss-sub-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.boss-coach-trigger {
  min-height: 30px !important;
  padding: 3px 10px !important;
  font-size: 12px !important;
}
.boss-coach-dialog,
.boss-review-dialog {
  max-width: 460px;
  width: min(94vw, 460px);
}
.boss-coach-dialog-body,
.boss-review-dialog-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 70dvh;
  overflow-y: auto;
  margin-top: 8px;
}
.boss-coach-diag {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #18212D;
  font-weight: 600;
}
.boss-review-secrets {
  padding: 10px 12px;
  border-radius: 10px;
  background: #F7FAF9;
  border: 1px solid #D7EAE5;
  font-size: 12.5px;
  line-height: 1.5;
}
.boss-review-secrets p {
  margin: 3px 0;
}
.boss-optimistic-row {
  opacity: 0.92;
}

/* Full-viewport WeChat chat layout when inside an active or Afterglow Boss Sim arena */
.cloud-app.in-boss-arena .tabbar {
  display: none !important;
}
.cloud-app.in-boss-arena #page-jubensha {
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}
.cloud-app.in-boss-arena #bossSimPanel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.cloud-app.in-boss-arena .boss-chat-arena {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
  margin: 0;
  overflow: hidden;
}
.cloud-app.in-boss-arena .boss-hud {
  flex: 0 0 auto;
  padding: 8px 12px;
}
.cloud-app.in-boss-arena .boss-feed {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none !important;
  overflow-y: auto;
  padding: 12px 12px 14px;
  background: #EDEDED;
}
.cloud-app.in-boss-arena .boss-input-bar {
  flex: 0 0 auto;
  padding: 8px 10px max(10px, env(safe-area-inset-bottom));
  background: #F7F7F7;
  border-top: 1px solid #E5E7EB;
  margin: 0;
}
.cloud-app.in-boss-arena .boss-debrief {
  flex: 0 1 58%;
  overflow-y: auto;
  padding: 12px;
  border-top: 1px solid #E5E7EB;
  background: #FFFFFF;
}
.cloud-app.in-boss-arena .toast {
  top: 62px !important;
  bottom: auto !important;
  z-index: 90;
}

/* Boutique 1v1 Offline Mentor Pain-Point Hero Card (.257) */
.partner-hero-card {
  background: linear-gradient(155deg, #FFFFFF 0%, #F4FAF8 100%);
  border: 1px solid #D9EBE5;
}
.partner-hero-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #132A26;
  line-height: 1.35;
}
.partner-hero-sub {
  margin: 0 0 12px;
  font-size: 13px;
  color: #51615D;
  line-height: 1.5;
}
.partner-pain-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.partner-pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 11px;
  background: #FFFFFF;
  border: 1px solid #E6F0EC;
  border-radius: 12px;
}
.partner-pain-ic {
  font-size: 18px;
  line-height: 1.2;
  flex: 0 0 auto;
  margin-top: 1px;
}
.partner-pain-list strong {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  color: #182321;
  margin-bottom: 2px;
}
.partner-pain-list p {
  margin: 0;
  font-size: 12.2px;
  color: #62706D;
  line-height: 1.45;
}
.partner-trust-note {
  margin: 0;
  padding: 8px 10px;
  background: #EDF7F4;
  border-radius: 10px;
  font-size: 12px;
  color: #1A5C52;
  line-height: 1.5;
}

/* WeChat Moments-Style Minimalist Humor Square + Prominent Publish Banner (.257) */
.humor-publish-banner {
  margin: 8px 0 10px;
  padding: 12px;
  background: linear-gradient(155deg, #FFFFFF 0%, #EFF8F5 100%);
  border: 1px solid #CFE6DF;
  border-radius: 14px;
}
.humor-publish-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.humor-publish-copy {
  flex: 1;
  min-width: 0;
}
.humor-publish-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #13312C;
  margin-bottom: 6px;
}
.humor-reward-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.humor-reward-pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #D4E8E2;
  color: #1A6256;
  font-size: 11px;
  font-weight: 600;
}
.humor-publish-cta {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(31, 122, 109, 0.22);
}
.humor-publish-meta {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px dashed #D9EAE4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: #5C6E6A;
}
.humor-rules-link {
  flex: 0 0 auto;
  background: none;
  border: none;
  padding: 0;
  color: #1F7A6D;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}
.humor-publish-form {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #E1EFEA;
}
.humor-search-minimal {
  margin: 0 0 8px;
}
.humor-moments-feed {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid #ECEFED;
  overflow: hidden;
}
.humor-moment {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 12px;
  border-bottom: 1px solid #F0F2F1;
  background: #FFFFFF;
}
.humor-moment:last-child {
  border-bottom: none;
}
.humor-moment-av {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin-top: 1px;
}
.humor-moment-av.av-sage { background: #E4F3EF; color: #175E54; }
.humor-moment-av.av-slate { background: #E9EFF6; color: #2F557D; }
.humor-moment-av.av-amber { background: #FBF1DF; color: #8F5A12; }
.humor-moment-av.av-rose { background: #F9EAE6; color: #9C432D; }
.humor-moment-main {
  flex: 1;
  min-width: 0;
}
.humor-moment-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}
.humor-moment-name {
  font-size: 14.5px;
  font-weight: 650;
  color: #576B95;
  line-height: 1.3;
}
.humor-moment-tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
}
.humor-moment-tag.official {
  background: #E8F5F1;
  color: #176659;
}
.humor-moment-tag.hot {
  background: #FEF2E8;
  color: #C25E12;
}
.humor-moment-body {
  margin-bottom: 8px;
}
.humor-moment-her {
  margin: 0 0 4px;
  font-size: 13px;
  color: #828A93;
  line-height: 1.45;
}
.humor-moment-god {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #191919;
  line-height: 1.55;
  word-break: break-word;
}
.humor-moment-acts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.humor-moment-act-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.humor-m-btn {
  background: none;
  border: none;
  padding: 3px 2px;
  font-size: 12.5px;
  color: #7A828C;
  cursor: pointer;
  line-height: 1.2;
}
.humor-m-btn.on {
  color: #D9483B;
  font-weight: 600;
}
.humor-m-btn.fav {
  color: #1F7A6D;
  font-weight: 600;
}
.humor-m-btn.fav-on {
  color: #166558;
  font-weight: 600;
}
.humor-m-btn.subtle {
  color: #A5ACB5;
  font-size: 11.5px;
}
.humor-moment-comments {
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #F7F7F7;
  font-size: 13px;
  line-height: 1.5;
}
.humor-moment-comments .humor-comment-item strong {
  color: #576B95;
  font-weight: 600;
}

/* Subtle Game Addiction Mechanics & Lightweight GPU Micro-Effects (.258) */
@keyframes lySparkleFly {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  22% { opacity: 1; transform: translate(calc(-50% + var(--dx) * 0.4), calc(-50% + var(--dy) * 0.4)) scale(1.1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.5); }
}
@keyframes lyBurstFloat {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(0.92); }
  14% { opacity: 1; transform: translate(-50%, 0) scale(1.02); }
  82% { opacity: 1; transform: translate(-50%, -4px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -14px) scale(0.96); }
}
@keyframes bossHpGlow {
  0% { filter: brightness(1); box-shadow: none; }
  40% { filter: brightness(1.22); box-shadow: 0 0 12px rgba(245, 179, 53, 0.7); }
  100% { filter: brightness(1); box-shadow: none; }
}
.boss-hp-fill.boss-hp-pulse {
  animation: bossHpGlow 0.85s ease-out;
}
.ly-sparkle-layer {
  position: fixed;
  left: 50%;
  top: 22%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 140;
}
.ly-sparkle-dot {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  color: #1F9D85;
  animation: lySparkleFly 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.ly-sparkle-layer.gold .ly-sparkle-dot {
  color: #E5A024;
  font-size: 16px;
}
.ly-burst-pill {
  position: fixed;
  left: 50%;
  top: 72px;
  z-index: 135;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
  animation: lyBurstFloat 2.15s ease-out forwards;
}
.ly-burst-pill.emerald {
  background: linear-gradient(135deg, #167967, #1E9982);
  color: #FFFFFF;
}
.ly-burst-pill.gold {
  background: linear-gradient(135deg, #D98617, #F0B429);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(217, 134, 23, 0.32);
}
.ly-burst-pill.coach {
  background: linear-gradient(135deg, #2563EB, #1F7A6D);
  color: #FFFFFF;
}

/* Celebration Milestone Modal */
.ly-celeb-dialog {
  max-width: 340px;
  text-align: center;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #FFF9EA 0%, #FFFFFF 55%);
}
.ly-celeb-wrap {
  padding: 6px 4px 2px;
}
.ly-celeb-eyebrow {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #FEF3D6;
  color: #9A5F0A;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 10px;
}
.ly-celeb-icon {
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.ly-celeb-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 750;
  color: #142824;
}
.ly-celeb-sub {
  margin: 0 0 12px;
  font-size: 13px;
  color: #5C6B68;
  line-height: 1.45;
}
.ly-celeb-perks {
  text-align: left;
  padding: 10px 12px;
  background: #F4FAF8;
  border: 1px solid #D7EAE4;
  border-radius: 12px;
  margin-bottom: 10px;
}
.ly-celeb-perks-head {
  font-size: 12px;
  font-weight: 700;
  color: #166558;
  margin-bottom: 5px;
}
.ly-celeb-perk-item {
  margin: 3px 0;
  font-size: 12.5px;
  color: #203733;
  line-height: 1.45;
}
.ly-celeb-progress {
  margin: 0 0 12px;
  font-size: 12px;
  color: #6B7875;
}
.ly-celeb-acts {
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* 6-Level Codex Compact 1-Line Fold & 3x2 Grid */
.boss-codex-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: 6px;
}
.boss-codex-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #DCE3E0;
}
.boss-codex-dot.lit {
  background: #E5A024;
  box-shadow: 0 0 4px rgba(229, 160, 36, 0.55);
}
.boss-codex-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}
.boss-codex-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 6px;
  border-radius: 12px;
  border: 1px solid #E6ECEA;
  background: #F7F9F8;
  color: #6C7774;
  text-align: center;
  cursor: pointer;
}
.boss-codex-tile.lit {
  background: linear-gradient(160deg, #FFFDF6 0%, #EFF9F5 100%);
  border-color: #C7E3DA;
  color: #162E2A;
}
.boss-codex-tile-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  margin-bottom: 4px;
}
.boss-codex-lv {
  font-weight: 700;
  color: #6B7673;
}
.boss-codex-grade {
  font-size: 10.5px;
}
.boss-codex-grade.lit {
  padding: 1px 5px;
  border-radius: 999px;
  background: #FEF2D4;
  color: #A66509;
  font-weight: 750;
}
.boss-codex-av {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 3px;
}
.boss-codex-name {
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.25;
  margin-bottom: 2px;
}
.boss-codex-sub {
  font-size: 10px;
  color: #7D8986;
}
.boss-codex-tile.lit .boss-codex-sub {
  color: #1F7A6D;
}

/* Rank Perks Subtle Collapsible Drawer & Rank Badges */
.rank-hero-pills {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.rank-codex-mini {
  font-size: 11px;
  font-weight: 650;
  color: #8F5A12;
  background: #FBF1DF;
  padding: 2px 7px;
  border-radius: 999px;
}
.rank-perks-fold {
  margin-top: 8px;
  padding: 6px 10px;
  background: #F7FAF9;
  border: 1px solid #E3EEEA;
  border-radius: 10px;
}
.rank-perks-fold > summary {
  font-size: 12px;
  font-weight: 600;
  color: #1A6256;
  cursor: pointer;
  line-height: 1.4;
}
.rank-perks-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rank-perk-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #EDF1F0;
  font-size: 11.5px;
  color: #6B7572;
}
.rank-perk-row.unlocked {
  color: #182E2A;
  border-color: #D2E8E1;
}
.rank-perk-row.current {
  background: #EEF8F5;
  border-color: #1F7A6D;
}
.rank-perk-desc {
  min-width: 0;
  line-height: 1.35;
}
.boss-mem-rank-tip {
  font-size: 11px;
  color: #6E7E7A;
  font-weight: 500;
}
.humor-rank-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 999px;
  background: #FBF3DF;
  color: #8F5A12;
  font-size: 10.5px;
  font-weight: 650;
}
.humor-rank-badge.mini {
  margin-left: 4px;
  padding: 0 5px;
  font-size: 10px;
}

/* WeChat-Style Unread Proactive Ping Badge & Afterglow Milestone Pill */
.wx-unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: #FA5151;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
}
.wx-unread-badge.mini {
  min-width: 15px;
  height: 15px;
  font-size: 9.5px;
  margin-left: 4px;
}
.home-boss-hook-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.home-boss-ping-preview {
  margin: 4px 0 10px;
  font-size: 13px;
  color: #1D3430;
  background: #F2F9F6;
  padding: 7px 10px;
  border-radius: 10px;
  line-height: 1.45;
}
.boss-companion-preview.unread {
  color: #164C42;
  font-weight: 600;
}
.boss-milestone-pill {
  align-self: center;
  margin: 6px auto 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 236, 0.92);
  border: 1px solid #F3DC9E;
  color: #8F5A12;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
}

/* Daily 3 Micro-Challenges (Discreet inside Checkin Page) */
.daily-challenges-card {
  margin-top: 14px;
  padding: 12px;
  background: #F8FBFA;
  border: 1px solid #E1EFEA;
  border-radius: 12px;
}
.daily-challenges-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13.5px;
  color: #14302B;
}
.daily-challenges-streak {
  font-size: 11.5px;
  font-weight: 650;
  color: #B45A0D;
  background: #FEF3DF;
  padding: 2px 8px;
  border-radius: 999px;
}
.daily-challenges-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.daily-ch-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  background: #FFFFFF;
  border: 1px solid #EAF0EE;
  border-radius: 10px;
  font-size: 12.5px;
  color: #243532;
}
.daily-ch-row.done {
  color: #6B7E7A;
  background: #F3F8F6;
}
.daily-ch-lbl {
  flex: 1;
  min-width: 0;
}
.daily-ch-go {
  background: none;
  border: none;
  padding: 2px 4px;
  color: #1F7A6D;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

/* Minimalist Reward Mailbox Envelope & Claim-All Dialog (.259) */
.wx-hero-right-acts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.wx-mail-btn {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #E4EAE7;
  background: #F6F9F8;
  color: #6B7774;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.wx-mail-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wx-mail-btn.has-unread {
  border-color: #D2E9E2;
  background: #EDF8F4;
  color: #1A6A5C;
}
.wx-mail-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  border: 1.5px solid #FFFFFF;
}
.ly-mailbox-dialog {
  max-width: 380px;
}
.ly-mailbox-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ly-mailbox-claim-all {
  box-shadow: 0 4px 14px rgba(31, 122, 109, 0.24);
}
.ly-mailbox-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ly-activity-strip {
  padding: 9px 11px;
  border-radius: 12px;
  background: #F4FAF8;
  border: 1px solid #DFEEE9;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ly-activity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.ly-activity-title {
  font-size: 12.5px;
  font-weight: 650;
  color: #154C44;
}
.ly-activity-pills {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ly-activity-pill {
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #6B7C78;
  border: 1px solid #DCE7E3;
}
.ly-activity-pill.ready {
  background: #FEF3DF;
  color: #B45A0D;
  border-color: #F2CE8A;
}
.ly-activity-pill.done {
  background: #E5F5F0;
  color: #175E54;
  border-color: #BCE2D6;
}
.ly-activity-track {
  height: 5px;
  border-radius: 999px;
  background: #E2ECE9;
  overflow: hidden;
}
.ly-activity-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1F7A6D 0%, #32A894 100%);
  transition: width .24s ease;
}
.ly-mail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #E3EEEA;
}
.ly-mail-item.unread_gift {
  background: linear-gradient(155deg, #FFFDF6 0%, #FFFFFF 100%);
  border-color: #F2DB9F;
}
.ly-mail-item.claimed {
  opacity: 0.72;
  background: #F8FAFA;
}
.ly-mail-ic {
  font-size: 20px;
  flex: 0 0 auto;
}
.ly-mail-info {
  flex: 1;
  min-width: 0;
}
.ly-mail-title {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  color: #162B27;
  margin-bottom: 2px;
}
.ly-mail-desc {
  margin: 0;
  font-size: 11.8px;
  color: #63736F;
  line-height: 1.4;
}
.ly-mail-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex: 0 0 auto;
}
.ly-mail-reward {
  font-size: 12px;
  font-weight: 700;
  color: #B45A0D;
  background: #FEF3DF;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.ly-mail-reward.done {
  color: #6E7B78;
  background: #EEF2F1;
}
.ly-mailbox-empty {
  margin: 8px 0;
  text-align: center;
  font-size: 13px;
  color: #6C7A77;
  line-height: 1.55;
}
.ly-mailbox-history {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed #E1EAE7;
}
.ly-mailbox-history > summary {
  font-size: 12px;
  color: #647470;
  cursor: pointer;
  margin-bottom: 8px;
}
.ly-mailbox-challenges {
  padding: 8px 10px;
  border-radius: 11px;
  background: #FAFDFC;
  border: 1px solid #E3ECE9;
}
.ly-mailbox-challenges > summary {
  font-size: 12px;
  font-weight: 600;
  color: #244C45;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ly-mailbox-challenges > summary::-webkit-details-marker { display: none; }
.ly-mailbox-challenges > summary::after { content: '›'; color: #8A9A96; font-size: 14px; transition: transform .15s; }
.ly-mailbox-challenges[open] > summary::after { transform: rotate(90deg); }
.ly-mailbox-ch-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
/* 390px visual & anti-mistap polish (.260) */
.streak-grid .streak-cell.day7 {
  grid-column: span 2;
}
.boss-comp-del-link {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #9AA5A2;
  font-size: 11.5px;
  padding: 2px 6px;
  cursor: pointer;
  flex: 0 0 auto;
}
.boss-comp-del-link:hover,
.boss-comp-del-link:active {
  color: #C8443A;
}
.account-act-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.account-act-row > button {
  flex: 1 1 120px;
}
.account-danger-zone {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #E7D9D8;
}
.coach-act.danger,
.coach-act.ghost.danger {
  color: #C83E35;
  border-color: #F0CFCB;
  background: #FFF9F8;
}
.cloud-app .pwa-install-close {
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cloud-app .sub-head-has-help {
  margin-bottom: 4px;
  min-height: 28px;
}
dialog.rule-dialog .ly-burst-pill {
  position: fixed;
  z-index: 200;
}
dialog.rule-dialog .ly-sparkle-layer {
  position: fixed;
  z-index: 210;
}
/* .262 text/screenshot dual composer & concise 3-line context strip */
.composer-mini-expand.composer-mini-paste {
  width: auto;
  min-width: 78px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  gap: 4px;
  color: #1F5B52;
  border-color: #C7DCD6;
  background: #F4FAF8;
}
.reply-shot-tip {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #5C6F6B;
}
.reply-her-input {
  width: 100%;
  margin-top: 8px;
  resize: vertical;
  min-height: 56px;
}
.reply-context-strip {
  margin: 10px 0 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #F6FAF8;
  border: 1px solid #E1ECE8;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.reply-ctx-line {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #36504B;
}
.auto-mem-inline {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.auto-mem-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.auto-mem-inline .auto-mem-undo {
  flex: 0 0 auto;
  font-size: 12px;
  padding: 2px 6px;
}
.auto-mem-inline .auto-mem-details {
  margin-top: 2px;
}
.auto-mem-inline .auto-mem-toggle {
  font-size: 12px;
  color: #1F7A6D;
  cursor: pointer;
}
