:root {
  --color-primary: #FF7043;
  --color-primary-light: #FF8A65;
  --color-primary-dark: #E64A19;
  --color-accent: #FFB74D;
  --color-accent-light: #FFD54F;
  --color-success: #66BB6A;
  --color-warning: #FFA726;
  --color-danger: #EF5350;
  --color-bg: #FFF8F0;
  --color-surface: #FFFFFF;
  --color-surface-2: #FFF0E6;
  --color-text: #2D1B0E;
  --color-text-2: #8B7355;
  --color-text-3: #B8A08A;
  --color-border: #F0E0D0;
  --color-border-2: #E8D5C4;
  --gradient-warm: linear-gradient(135deg, #FF7043 0%, #FF8A65 50%, #FFB74D 100%);
  --gradient-sunset: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FFC93C 100%);
  --gradient-coral: linear-gradient(135deg, #FF9A9E 0%, #FAD0C4 100%);
  --gradient-ocean: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
  --gradient-forest: linear-gradient(135deg, #11998E 0%, #38EF7D 100%);
  --gradient-lavender: linear-gradient(135deg, #A18CD1 0%, #FBC2EB 100%);
  --gradient-mint: linear-gradient(135deg, #89F7FE 0%, #66A6FF 100%);
  --font-heading: 'Varela Round', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50%;
  --shadow-sm: 0 1px 3px rgba(45,27,14,0.06);
  --shadow-md: 0 4px 12px rgba(45,27,14,0.08);
  --shadow-lg: 0 8px 24px rgba(45,27,14,0.12);
  --shadow-card: 0 6px 20px rgba(45,27,14,0.15), 0 2px 6px rgba(45,27,14,0.08);
  --shadow-glow: 0 4px 20px rgba(255,112,67,0.25);
  --max-width: 720px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 14px; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); min-height: 100vh; min-height: 100dvh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5,h6,.heading { font-family: var(--font-heading); font-weight: 700; }
h1 { font-size: 24px; }
h2 { font-size: 18px; }
h3 { font-size: 15px; }
h4 { font-size: 14px; }
a { color: var(--color-primary); text-decoration: none; }
img { max-width: 100%; display: block; }

.app { max-width: var(--max-width); margin: 0 auto; min-height: 100vh; min-height: 100dvh; position: relative; padding-bottom: 72px; }
.screen { display: none; padding: 16px; animation: fadeIn 0.25s ease; }
.screen.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@keyframes heartBeat { 0% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } 60% { transform: scale(1); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 24px; border: none; border-radius: var(--radius-md); font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; }
.btn-primary { background: var(--gradient-warm); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(255,112,67,0.35); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-border-2); }
.btn-secondary:hover { background: var(--color-surface-2); }
.btn-small { height: 32px; padding: 0 16px; font-size: 12px; font-weight: 500; border-radius: 6px; }
.btn-ghost { background: transparent; color: var(--color-text-2); }
.btn-ghost:hover { color: var(--color-primary); }
.btn-full { width: 100%; }
.btn-round { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-full); }
.btn:disabled { opacity: 0.5; pointer-events: none; }

.input { width: 100%; height: 40px; padding: 0 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); font-family: var(--font-body); font-size: 14px; color: var(--color-text); background: var(--color-surface); transition: border-color 0.2s; outline: none; }
.input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(255,112,67,0.12); }
.input-label { display: block; font-size: 13px; font-weight: 600; color: var(--color-text-2); margin-bottom: 6px; }
.textarea { min-height: 80px; padding: 12px 14px; resize: vertical; }

.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-sm); }
.card-elevated { box-shadow: var(--shadow-md); border: none; }

.chip { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 12px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; background: var(--color-surface-2); color: var(--color-text-2); border: 1px solid var(--color-border); cursor: pointer; transition: all 0.15s; }
.chip.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.chip:hover { border-color: var(--color-primary-light); }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--radius-sm); font-size: 11px; font-weight: 600; }
.badge-warm { background: rgba(255,112,67,0.12); color: var(--color-primary-dark); }
.badge-success { background: rgba(102,187,106,0.12); color: #2E7D32; }
.badge-info { background: rgba(102,178,255,0.12); color: #1565C0; }

.avatar-placeholder { width: 48px; height: 48px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: #fff; flex-shrink: 0; }

.nav-bottom { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--max-width); height: 64px; background: var(--color-surface); border-top: 1px solid var(--color-border); display: flex; align-items: center; justify-content: space-around; z-index: 100; padding: 0 8px; }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 12px; border-radius: var(--radius-md); cursor: pointer; transition: all 0.15s; color: var(--color-text-3); }
.nav-item.active { color: var(--color-primary); }
.nav-item svg { width: 22px; height: 22px; }
.nav-item span { font-size: 10px; font-weight: 600; }
.nav-create { width: 48px; height: 48px; border-radius: var(--radius-full); background: var(--gradient-warm); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-glow); cursor: pointer; transition: transform 0.2s; margin-top: -12px; }
.nav-create:hover { transform: scale(1.08); }
.nav-create svg { width: 24px; height: 24px; }

.header-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; margin-bottom: 12px; }
.header-bar h1 { font-size: 22px; background: var(--gradient-warm); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.voice-card { background: var(--color-surface); border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow-md); animation: slideUp 0.3s ease; }
.voice-card-portrait { width: 100%; height: 200px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.voice-card-portrait svg { width: 100%; height: 100%; }
.voice-card-play { position: absolute; bottom: 12px; right: 12px; width: 44px; height: 44px; border-radius: var(--radius-full); background: rgba(255,255,255,0.9); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.15s; box-shadow: var(--shadow-md); }
.voice-card-play:hover { transform: scale(1.08); }
.voice-card-play.playing { background: var(--color-primary); color: #fff; }
.voice-card-play svg { width: 20px; height: 20px; }
.voice-card-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--gradient-warm); transition: width 0.1s linear; border-radius: 0 0 0 var(--radius-xl); }
.voice-card-body { padding: 14px 16px; }
.voice-card-author { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.voice-card-author-name { font-family: var(--font-heading); font-size: 14px; font-weight: 700; }
.voice-card-author-meta { font-size: 11px; color: var(--color-text-2); display: flex; align-items: center; gap: 6px; }
.voice-card-text { font-size: 14px; line-height: 1.5; color: var(--color-text); margin-bottom: 10px; }
.voice-card-spark { font-size: 12px; color: var(--color-primary); font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 4px; }
.voice-card-actions { display: flex; align-items: center; gap: 4px; padding-top: 10px; border-top: 1px solid var(--color-border); }
.voice-card-action { display: flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 20px; font-size: 12px; color: var(--color-text-2); cursor: pointer; transition: all 0.15s; background: none; border: none; font-family: var(--font-body); }
.voice-card-action:hover { background: var(--color-surface-2); color: var(--color-primary); }
.voice-card-action.liked { color: var(--color-primary); }
.voice-card-action.liked svg { animation: heartBeat 0.6s ease; }
.voice-card-action svg { width: 16px; height: 16px; }


.text-card { border-radius: 20px; overflow: hidden; min-width: 0; margin-bottom: 24px; animation: slideUp 0.4s ease; border: none; padding: 0; transition: transform 0.2s ease; position: relative; }
.text-card:hover { transform: rotate(0deg) scale(1.01) !important; z-index: 2; }
.text-card:nth-child(6n+1) { transform: rotate(-1.5deg); width: 82%; }
.text-card:nth-child(6n+2) { transform: rotate(1deg); width: 78%; margin-left: auto; }
.text-card:nth-child(6n+3) { transform: rotate(-0.5deg); width: 85%; }
.text-card:nth-child(6n+4) { transform: rotate(1.5deg); width: 76%; margin-left: 12%; }
.text-card:nth-child(6n+5) { transform: rotate(-1deg); width: 80%; margin-left: auto; }
.text-card:nth-child(6n+6) { transform: rotate(0.5deg); width: 84%; }
.tc-color { padding: 28px 24px 16px; min-height: 140px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; text-align: center; }
.tc-author { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; justify-content: center; }
.tc-initial { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 16px; color: #fff; font-weight: 700; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.25); }
.tc-name { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.85); cursor: pointer; }
.tc-text { font-family: var(--font-heading); font-size: 19px; line-height: 1.5; color: #fff; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.tc-text.long { font-size: 15px; font-weight: 400; font-family: var(--font-body); }
.tc-spark { font-size: 11px; color: rgba(255,255,255,0.7); margin-bottom: 8px; display: flex; align-items: center; gap: 4px; }
.tc-glass { background: rgba(255,255,255,0.12); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid rgba(255,255,255,0.2); }
.tc-wave { padding: 8px 16px; height: 44px; display: flex; align-items: center; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.15); background: rgba(0,0,0,0.08); }
.tc-wave svg { display: block; height: 100%; width: 100%; }
.tc-actions { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-top: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.1); }
.tc-actions .voice-card-action { color: rgba(255,255,255,0.6); }
.tc-actions .voice-card-action:hover { color: #fff; background: rgba(255,255,255,0.1); }
.tc-actions .voice-card-action.liked { color: #fff; }

.spark-card { background: var(--gradient-coral); border-radius: var(--radius-xl); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow-md); }
.spark-card h3 { color: #fff; font-size: 16px; line-height: 1.4; margin-bottom: 12px; }
.spark-card .btn { background: rgba(255,255,255,0.9); color: var(--color-primary-dark); }

.match-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--color-surface); border-radius: var(--radius-lg); margin-bottom: 8px; cursor: pointer; transition: background 0.15s; }
.match-item:hover { background: var(--color-surface-2); }
.match-last-msg { font-size: 12px; color: var(--color-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }

.chat-messages { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); overflow-y: auto; }
.chat-bubble { max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; animation: fadeIn 0.2s ease; }
.chat-bubble.sent { background: var(--gradient-warm); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-bubble.received { background: var(--color-surface); border: 1px solid var(--color-border); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-input-bar { display: flex; gap: 8px; padding: 12px 0; position: sticky; bottom: 72px; background: var(--color-bg); }

.trust-indicator { display: flex; gap: 4px; align-items: center; }
.trust-dot { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--color-border); transition: background 0.3s; }
.trust-dot.active { background: var(--color-primary); }
.trust-dot.current { background: var(--color-accent); box-shadow: 0 0 8px rgba(255,183,77,0.5); }

.onboarding { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; min-height: 100dvh; padding: 32px 24px; text-align: center; }
.onboarding-logo { font-size: 32px; font-family: var(--font-heading); background: var(--gradient-warm); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px; }
.onboarding-tagline { font-size: 14px; color: var(--color-text-2); margin-bottom: 32px; }
.onboarding-step { width: 100%; max-width: 360px; animation: fadeIn 0.3s ease; }
.onboarding-step h2 { margin-bottom: 16px; }
.onboarding-progress { display: flex; gap: 6px; margin-bottom: 24px; }
.onboarding-progress-dot { width: 32px; height: 4px; border-radius: 2px; background: var(--color-border); transition: background 0.3s; }
.onboarding-progress-dot.done { background: var(--color-primary); }

.color-picker { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 16px 0; }
.color-option { width: 40px; height: 40px; border-radius: var(--radius-full); cursor: pointer; border: 3px solid transparent; transition: all 0.15s; }
.color-option.selected { border-color: var(--color-text); transform: scale(1.15); }

.font-picker { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 16px 0; }
.font-option { padding: 8px 16px; border-radius: var(--radius-md); cursor: pointer; border: 2px solid var(--color-border); transition: all 0.15s; font-size: 14px; }
.font-option.selected { border-color: var(--color-primary); background: var(--color-surface-2); }

.voice-recorder { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px; }
.rec-btn { width: 72px; height: 72px; border-radius: var(--radius-full); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.rec-btn.idle { background: var(--gradient-warm); color: #fff; box-shadow: var(--shadow-glow); }
.rec-btn.recording { background: var(--color-danger); color: #fff; animation: pulse 1.5s infinite; }
.rec-btn svg { width: 28px; height: 28px; }
.rec-timer { font-family: var(--font-heading); font-size: 24px; color: var(--color-text); }
.rec-hint { font-size: 12px; color: var(--color-text-2); }

.ai-disclosure { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--color-surface-2); border-radius: var(--radius-md); font-size: 12px; color: var(--color-text-2); margin-bottom: 12px; }

.profile-header { text-align: center; padding: 24px 0; }
.profile-visual { width: 80px; height: 80px; border-radius: var(--radius-full); margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; font-family: var(--font-heading); color: #fff; }
.profile-name { font-family: var(--font-heading); font-size: 20px; margin-bottom: 4px; }
.profile-headline { font-size: 13px; color: var(--color-text-2); margin-bottom: 8px; }
.profile-interests { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 12px 0; }

.empty-state { text-align: center; padding: 48px 24px; color: var(--color-text-2); }
.empty-state svg { width: 48px; height: 48px; margin: 0 auto 12px; opacity: 0.4; }
.empty-state p { font-size: 14px; }

.toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: var(--color-text); color: #fff; padding: 10px 20px; border-radius: var(--radius-md); font-size: 13px; z-index: 999; animation: fadeIn 0.25s ease; box-shadow: var(--shadow-lg); }

.modal-overlay { position: fixed; inset: 0; background: rgba(45,27,14,0.4); backdrop-filter: blur(4px); z-index: 200; display: flex; align-items: flex-end; justify-content: center; animation: fadeIn 0.2s; }
.modal { background: var(--color-surface); border-radius: var(--radius-xl) var(--radius-xl) 0 0; width: 100%; max-width: var(--max-width); max-height: 80vh; overflow-y: auto; padding: 24px; animation: slideUp 0.3s ease; }
.modal-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--color-border); margin: 0 auto 16px; }

.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-sm { font-size: 12px; }
.text-muted { color: var(--color-text-2); }
.w-full { width: 100%; }

#flow-feed { padding: 8px 4px; display: flex; flex-direction: column; align-items: center; }

.spark-card { transform: rotate(-0.5deg); }
.spark-card:hover { transform: rotate(0deg) scale(1.01); }

.tc-play { position: absolute; bottom: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.9); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.15); transition: transform 0.15s, background 0.15s; }
.tc-play:hover { transform: scale(1.1); }
.tc-play.playing { background: #fff; }
.tc-play svg { width: 20px; height: 20px; color: var(--color-text); }
.tc-color { position: relative; }
.tc-duration { position: absolute; bottom: 16px; right: 66px; font-size: 11px; color: rgba(255,255,255,0.7); font-weight: 500; }









.chat-desktop { display: flex; height: calc(100vh - 76px); height: calc(100dvh - 76px); margin: 0 -16px; }
.chat-sidebar { width: 320px; min-width: 320px; border-right: 1px solid var(--color-border); display: flex; flex-direction: column; background: var(--color-surface); overflow: hidden; }
.chat-sidebar-header { padding: 16px; border-bottom: 1px solid var(--color-border); }
.chat-sidebar-header h2 { font-size: 18px; }
.chat-sidebar-list { flex: 1; overflow-y: auto; }
.chat-sidebar-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; transition: background 0.15s; border-bottom: 1px solid var(--color-border); }
.chat-sidebar-item:hover { background: var(--color-surface-2); }
.chat-sidebar-item.active { background: var(--color-surface-2); border-left: 3px solid var(--color-primary); }
.chat-sidebar-name { font-family: var(--font-heading); font-size: 14px; font-weight: 700; }
.chat-sidebar-preview { font-size: 12px; color: var(--color-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.chat-sidebar-time { font-size: 11px; color: var(--color-text-3); margin-left: auto; white-space: nowrap; }
.chat-main { flex: 1; display: flex; flex-direction: column; background: var(--color-bg); min-width: 0; }
.chat-main-header { display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.chat-main-header-name { font-family: var(--font-heading); font-size: 16px; font-weight: 700; }
.chat-main-header-sub { font-size: 12px; color: var(--color-text-2); }
.chat-main-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.chat-main-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--color-text-3); text-align: center; padding: 40px; }
.chat-main-empty svg { width: 64px; height: 64px; margin-bottom: 16px; opacity: 0.3; }
.chat-main-empty p { font-size: 16px; }
.chat-main-input { display: flex; gap: 10px; padding: 14px 20px; background: var(--color-surface); border-top: 1px solid var(--color-border); }
.chat-main-input .input { flex: 1; height: 44px; border-radius: 22px; padding: 0 20px; }
.chat-main-input .btn-round { width: 44px; height: 44px; }
.chat-bubble { max-width: 65%; padding: 10px 16px; border-radius: 18px; font-size: 14px; line-height: 1.5; }
.chat-bubble.sent { background: var(--gradient-warm); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-bubble.received { background: var(--color-surface); border: 1px solid var(--color-border); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-bubble-time { font-size: 10px; opacity: 0.6; margin-top: 4px; }

.dq-card{background:var(--color-surface);border-radius:24px;padding:32px 24px;text-align:center;margin:16px 0;position:relative;border:2px solid transparent;transition:border-color 0.3s}
.dq-card.recording{border-color:#66BB6A;box-shadow:0 0 20px rgba(102,187,106,0.3);animation:dqGlow 2s linear infinite}
.dq-card.ending{border-color:#EF5350;box-shadow:0 0 30px rgba(239,83,80,0.4);animation:dqGlowRed 0.5s linear infinite}
.dq-card.done{border-color:var(--color-primary);box-shadow:0 0 12px rgba(255,112,67,0.2)}
@keyframes dqGlow{0%{box-shadow:0 0 20px rgba(102,187,106,0.2)}50%{box-shadow:0 0 35px rgba(102,187,106,0.5)}100%{box-shadow:0 0 20px rgba(102,187,106,0.2)}}
@keyframes dqGlowRed{0%{box-shadow:0 0 20px rgba(239,83,80,0.3)}50%{box-shadow:0 0 40px rgba(239,83,80,0.6)}100%{box-shadow:0 0 20px rgba(239,83,80,0.3)}}
.dq-cat{font-size:11px;color:var(--color-text-3);text-transform:uppercase;letter-spacing:2px;margin-bottom:12px}
.dq-text{font-family:var(--font-heading);font-size:22px;line-height:1.5;color:var(--color-text-1);margin-bottom:24px}
.dq-timer{font-family:var(--font-heading);font-size:48px;font-weight:700;margin:16px 0;transition:color 0.3s}
.dq-timer.warn{color:#EF5350}
.dq-hint{font-size:13px;color:var(--color-text-3);margin-top:12px}
.dq-progress{height:4px;background:var(--color-border);border-radius:2px;margin:16px 0;overflow:hidden}
.dq-progress-bar{height:100%;background:linear-gradient(90deg,#66BB6A,#66BB6A);border-radius:2px;transition:width 0.3s,background 0.3s}
.dq-progress-bar.warn{background:linear-gradient(90deg,#FFB74D,#EF5350)}
.dq-rec-btn{width:72px;height:72px;border-radius:50%;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 auto;transition:all 0.2s}
.dq-rec-btn.idle{background:linear-gradient(135deg,var(--color-primary),#FFB74D);color:#fff;box-shadow:0 4px 20px rgba(255,112,67,0.3)}
.dq-rec-btn.idle:hover{transform:scale(1.08)}
.dq-rec-btn.active{background:#EF5350;color:#fff;box-shadow:0 4px 20px rgba(239,83,80,0.4);animation:dqPulse 1s ease-in-out infinite}
@keyframes dqPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
.dq-answered{text-align:center;padding:16px}
.dq-answered audio{width:100%;margin:12px 0}

.wall-card{background:var(--color-surface);border-radius:20px;padding:20px;margin-bottom:14px;border:1px solid var(--color-border);transition:transform 0.2s}
.wall-card:hover{transform:translateY(-2px)}
.wall-wave{height:44px;margin:12px 0}
.wall-actions{display:flex;gap:12px;justify-content:center;margin-top:12px}
.wall-btn{width:52px;height:52px;border-radius:50%;border:2px solid var(--color-border);background:var(--color-surface);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.2s}
.wall-btn:hover{transform:scale(1.1)}
.wall-btn.like{border-color:#FF7043;color:#FF7043}
.wall-btn.like:hover{background:#FF7043;color:#fff}
.wall-btn.skip{border-color:var(--color-text-3);color:var(--color-text-3)}

.rank-item{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--color-border)}
.rank-score{font-family:var(--font-heading);font-size:24px;font-weight:700;color:var(--color-primary);min-width:40px;text-align:center}
.rank-info{flex:1}
.rank-name{font-family:var(--font-heading);font-size:14px;font-weight:700}
.rank-unlock{font-size:11px;color:var(--color-text-3);margin-top:2px}
.rank-dots{display:flex;gap:3px;margin-top:4px}
.rank-dot{width:8px;height:8px;border-radius:50%;background:var(--color-border)}
.rank-dot.filled{background:var(--color-primary)}

.tc-avatar-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.25); }
