:root{color-scheme:light;font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,system-ui,sans-serif;--bg-base: #f4f8ff;--bg-surface: rgba(255, 255, 255, .9);--bg-soft: rgba(226, 237, 255, .78);--border-soft: rgba(108, 144, 196, .14);--text-main: #1f3653;--text-secondary: #56718f;--text-muted: #7b93ae;--accent-soft: #dceaff;--accent-main: #3f76c5;--accent-deep: #2c5ca6;--accent-shadow: rgba(63, 118, 197, .22);background:var(--bg-base);color:var(--text-main)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:radial-gradient(circle at top left,rgba(135,174,233,.32),transparent 32%),radial-gradient(circle at top right,rgba(191,216,255,.28),transparent 28%),linear-gradient(180deg,#fbfdff,#eef4ff)}button,textarea,input{font:inherit}.page-shell{min-height:100vh;padding:24px 16px 36px}.phone-frame{max-width:420px;margin:0 auto}.page-header{padding:12px 6px 20px}.eyebrow{margin:0 0 8px;color:var(--text-secondary);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.page-header h1,.success-panel h1,.bottom-sheet h2{margin:0;font-size:32px;line-height:1.15}.subtitle,.success-panel p,.sheet-body,.sheet-note{margin:12px 0 0;color:var(--text-secondary);font-size:15px;line-height:1.7}.risk-note-card{display:grid;gap:8px;margin-top:6px;padding:16px 18px;border:1px solid var(--border-soft);border-radius:20px;background:#ffffffc7;box-shadow:0 8px 24px #2139610a}.risk-note-card p{margin:0;color:var(--text-secondary);font-size:13px;line-height:1.65}.editor-section,.route-section{margin-top:24px}.section-heading{display:flex;align-items:baseline;justify-content:space-between}.section-title{display:block;margin:0 0 12px;font-size:15px;font-weight:700}.route-caption,.count,.hint{color:var(--text-muted);font-size:12px}.question-input{width:100%;min-height:220px;padding:20px;border:1px solid var(--border-soft);border-radius:24px;background:var(--bg-soft);color:var(--text-main);resize:none;outline:none;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease}.question-input:focus{border-color:#3f76c547;background:#fff;box-shadow:0 10px 30px #3f76c51f}.editor-meta{display:flex;justify-content:space-between;gap:16px;margin-top:12px}.hint{line-height:1.5}.hint.error,.submit-error{color:#8d3c39}.route-list{display:grid;gap:12px}.route-card{width:100%;border:0;border-radius:22px;padding:18px 18px 16px;background:#ffffffe6;color:inherit;text-align:left;box-shadow:0 8px 24px #2139610d;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}.route-card.selected{background:var(--accent-soft);box-shadow:0 10px 28px #3f76c524}.route-card-head{display:flex;gap:12px;align-items:center}.route-card strong{font-size:17px}.route-card p{margin:10px 0 0;color:var(--text-secondary);font-size:14px;line-height:1.6}.submit-error{margin-top:18px;font-size:14px}.action-footer{position:sticky;bottom:0;padding:24px 0 4px;background:linear-gradient(180deg,#f4f8ff00,#f4f8fff2 28%)}.primary-button,.secondary-button{width:100%;border:0;border-radius:999px;padding:16px 20px;cursor:pointer}.primary-button{background:linear-gradient(135deg,var(--accent-main) 0%,var(--accent-deep) 100%);color:#f3fbff;font-weight:700;box-shadow:0 12px 30px var(--accent-shadow)}.primary-button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.secondary-button:disabled,.back-button:disabled,.link-button:disabled{opacity:.5;cursor:not-allowed}.secondary-button{background:#e2edfff2;color:#35577e;font-weight:600}.page-button-stack{display:grid;gap:12px}.link-button{width:100%;border:0;padding:0;background:transparent;color:#3f6b9f;font-weight:600}.discussion-header{display:flex;align-items:center;gap:10px;padding:4px 2px 8px}.back-button{width:fit-content;border:0;padding:0;background:transparent;color:#3f6b9f;font-weight:600}.compact-nav-button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:#3f6b9f;line-height:1}.compact-nav-button svg{width:20px;height:20px}.discussion-search-section{margin-top:12px}.sort-strip{display:flex;gap:10px;margin-top:14px}.sort-chip{border:0;border-radius:999px;padding:8px 14px;background:#ffffffe0;color:var(--text-secondary);font-size:13px;font-weight:600}.sort-chip.selected{background:var(--accent-soft);color:#315f98}.discussion-title{margin:0;color:#3b6496;font-size:18px;line-height:1.3;font-weight:700}.search-input{width:100%;border:1px solid var(--border-soft);border-radius:18px;padding:14px 16px;background:#ffffffe0;color:var(--text-main);outline:none}.search-input:focus{border-color:#3f76c53d;background:#fff;box-shadow:0 10px 30px #3f76c51a}.topic-strip{display:flex;gap:10px;overflow-x:auto;margin-top:14px;padding-bottom:2px}.topic-strip::-webkit-scrollbar{display:none}.topic-chip{flex:0 0 auto;border:0;border-radius:999px;padding:9px 14px;background:#ffffffe0;color:var(--text-secondary);font-size:13px;font-weight:600}.topic-chip.selected{background:var(--accent-main);color:#f3fbff}.discussion-list{display:grid;gap:14px;margin-top:18px}.discussion-card{border-radius:24px;padding:20px 18px 18px;background:#ffffffeb;border:1px solid var(--border-soft);box-shadow:0 8px 24px #2139610a}.discussion-card-foot{display:flex;align-items:center;justify-content:space-between}.discussion-card h2{margin:0 0 12px;font-size:17px;line-height:1.55}.discussion-age{color:#8ca1b8;font-size:12px}.care-button{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;border:0;border-radius:999px;padding:4px 0;background:transparent;color:#6783a0;font-size:13px;font-weight:600;transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease}.care-icon{width:15px;height:15px;flex:0 0 auto;transition:transform .18s ease,fill .18s ease,stroke .18s ease}.care-button.pending{color:#5b7590}.care-button.cared{color:#d64f5e}.care-button.cared .care-icon,.care-button.pending .care-icon{fill:currentColor}.care-button.just-cared .care-icon{animation:heart-pop .38s ease}.care-button:disabled{cursor:not-allowed}@keyframes heart-pop{0%{transform:scale(.82)}55%{transform:scale(1.24)}to{transform:scale(1)}}.empty-state{display:grid;gap:10px;margin-top:36px;padding:32px 16px;border-radius:24px;background:#ffffffc7;text-align:center}.empty-state h2{margin:0;font-size:24px;line-height:1.3}.empty-state p{margin:0;color:var(--text-secondary);line-height:1.7}.empty-state .page-button-stack,.empty-state .primary-button{margin-top:8px}.discussion-footer{margin-top:10px}.modal-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20}.modal-scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:#161c2247;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.bottom-sheet{position:absolute;inset-inline:0;bottom:0;max-width:420px;margin:0 auto;padding:14px 18px 24px;border-radius:28px 28px 0 0;background:#f8fbfff7;box-shadow:0 -14px 36px #21396124;text-align:center}.sheet-handle{width:52px;height:5px;margin:0 auto 16px;border-radius:999px;background:#7b93ae59}.sheet-visual,.success-visual{display:flex;justify-content:center}.sheet-visual{margin-bottom:16px}.sheet-visual-ring,.success-visual-ring{display:flex;align-items:center;justify-content:center;border-radius:999px;background:#dceaffb8}.sheet-visual-ring{width:64px;height:64px;box-shadow:inset 0 0 0 10px #ffffff8c}.success-visual-ring{width:88px;height:88px;box-shadow:inset 0 0 0 14px #ffffffb8}.success-visual-core{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:999px;background:linear-gradient(135deg,var(--accent-main) 0%,var(--accent-deep) 100%)}.success-check-icon{width:15px;height:15px;color:#eef7f6}.sheet-kicker{margin:0 0 8px;color:var(--text-muted);font-size:12px;font-weight:700;letter-spacing:.12em}.summary-card{width:100%;padding:18px;border-radius:22px;background:#e2edffb8;text-align:left}.summary-label{display:block;margin-bottom:8px;color:var(--text-muted);font-size:12px;font-weight:700;letter-spacing:.08em}.summary-card strong{display:block;font-size:18px;line-height:1.3}.summary-note{margin:8px 0 0;color:var(--text-secondary);font-size:14px;line-height:1.6}.sheet-summary-card{margin-top:20px}.sheet-note{display:inline-flex;margin:14px auto 0;padding:8px 14px;border-radius:999px;background:#dceaff8a;font-size:14px}.sheet-error{margin-top:14px;padding:12px 14px;border-radius:16px;background:#8d3c3914;line-height:1.5}.sheet-actions{display:grid;gap:10px;margin-top:20px}.success-panel{display:flex;min-height:calc(100vh - 32px);flex-direction:column;padding:6px 4px 10px}.success-header{display:grid;grid-template-columns:32px 1fr 32px;align-items:center;gap:12px;padding:4px 2px 18px}.success-header-title{margin:0;color:#315b94;font-size:17px;font-weight:700;text-align:center}.success-header-spacer{width:32px;height:32px}.success-body{display:grid;justify-items:center;gap:22px;width:100%;padding:6px 6px 0;text-align:center}.success-copy{display:grid;gap:12px;justify-items:center;max-width:320px}.success-copy h1{font-size:34px}.success-copy p{margin:0;color:var(--text-secondary);font-size:15px;line-height:1.7}.success-note{color:#6883a0;font-size:14px}.success-divider{width:100%;height:1px;margin-top:2px;background:linear-gradient(90deg,#3f76c500,#3f76c529,#3f76c500)}.success-flow-card{display:grid;gap:12px;justify-items:center;max-width:320px}.success-flow-label{color:var(--text-muted);font-size:14px;font-weight:600}.success-flow-card p{margin:0;color:#7d93ab;font-size:15px;line-height:1.8}.success-scene{position:relative;width:100%;max-width:336px;aspect-ratio:1.62;overflow:hidden;border-radius:26px;box-shadow:0 22px 36px #3f76c52e}.success-scene:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#ffffff14;pointer-events:none}.success-scene-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center 58%;filter:contrast(.8) saturate(.94)}.success-link-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:2px;color:#3668a2;font-size:15px;font-weight:600}.success-link-button svg{width:16px;height:16px}.success-actions{width:100%}.success-footer{margin-top:auto;padding-top:28px;background:none}@media(max-width:420px){.page-shell{padding-inline:12px}.success-copy h1{font-size:30px}}
