#chatSection .chat-phone.is-camera-view { height:min(60dvh,520px); max-height:60%; }
#chatSection .chat-phone.is-camera-view.is-compact { height:88px; max-height:88px; }
.chat-phone-camera { flex:1; min-height:0; overflow:auto; background:#101113; color:#fff; }
.dress-camera { display:flex; flex-direction:column; min-height:100%; font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans",sans-serif; }
.dress-camera-viewfinder { position:relative; display:flex; align-items:center; justify-content:center; flex:1 0 140px; height:clamp(140px,24dvh,220px); min-height:140px; max-height:220px; overflow:hidden; background:#050505; }
.dress-camera-preview { display:block; width:100%; height:100%; max-height:220px; object-fit:contain; }
.dress-camera-hud { position:absolute; inset:0 0 auto; display:flex; align-items:center; justify-content:space-between; min-height:40px; padding:0 16px; background:linear-gradient(#0009,transparent); color:#fff; font-size:11px; letter-spacing:.5px; }
.dress-camera-hud span:first-child { color:#ffd45c; font-size:23px; }
.dress-camera-focus { position:absolute; inset:22% 26%; border:1px solid #ffffff28; border-radius:8px; pointer-events:none; }
.dress-camera-focus::before,.dress-camera-focus::after { content:""; position:absolute; width:18px; height:18px; border-color:#ffd45c; border-style:solid; }
.dress-camera-focus::before { top:-1px; left:-1px; border-width:2px 0 0 2px; border-radius:8px 0 0; }
.dress-camera-focus::after { right:-1px; bottom:-1px; border-width:0 2px 2px 0; border-radius:0 0 8px; }
.dress-camera-selection { position:absolute; bottom:10px; left:50%; transform:translateX(-50%); max-width:90%; padding:5px 12px; border-radius:18px; background:#0009; color:#fff; font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dress-camera-working { position:absolute; inset:0; display:grid; place-items:center; padding:20px; background:#0009; color:#fff; font-size:13px; }
.dress-camera-working::before { content:""; width:25px; height:25px; border:2px solid #ffffff40; border-top-color:#ffd45c; border-radius:50%; animation:dress-camera-spin 1s linear infinite; }
.dress-camera-controls { flex:none; padding:8px 0 12px; background:#17181b; }
.dress-camera-status { margin:0; min-height:18px; padding:0 12px 4px; color:#b7b8bb; font-size:10px; text-align:center; line-height:1.5; }
.dress-camera-status[role=alert] { color:#ffb4ab; }
.dress-camera-tabs { display:flex; justify-content:center; gap:18px; }
.dress-camera-tabs button { padding:8px 12px; min-height:36px; border:0; background:transparent; color:#b7b8bb; font-size:11px; }
.dress-camera-tabs [aria-pressed=true] { color:#ffd45c; }
.dress-camera-rail { display:flex; gap:10px; overflow-x:auto; padding:2px 12px 8px; overscroll-behavior-x:contain; scrollbar-width:none; }
.dress-camera-choice { display:flex; flex:none; flex-direction:column; align-items:center; gap:4px; width:62px; min-height:72px; padding:0; border:0; color:#b7b8bb; background:transparent; font-size:9px; }
.dress-camera-choice img,.dress-camera-choice-symbol { display:grid; place-items:center; width:52px; height:52px; object-fit:cover; border:2px solid transparent; border-radius:13px; background:#303136; font-size:25px; box-sizing:border-box; }
.dress-camera-choice[aria-pressed=true] img,.dress-camera-choice[aria-pressed=true] .dress-camera-choice-symbol { border-color:#ffd45c; }
.dress-camera-choice[aria-pressed=true] { color:#ffd45c; }
.dress-camera-choice-label { width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dress-camera-shutter-row { display:grid; grid-template-columns:1fr 64px 1fr; align-items:center; justify-items:center; gap:12px; padding:4px 12px 0; }
.dress-camera-shutter { position:relative; width:56px; height:56px; min-height:56px; border:3px solid #fff; border-radius:50%; background:#fff; box-shadow:inset 0 0 0 3px #17181b; }
.dress-camera-shutter:active:not(:disabled) { transform:scale(.94); }
.dress-camera-shutter:disabled { opacity:.4; }
.dress-camera-remaining,.dress-camera-shutter-label { color:#b7b8bb; font-size:10px; }
.dress-camera-result-actions { display:flex; align-items:center; flex-wrap:wrap; justify-content:center; gap:8px; padding:12px; }
.dress-camera-result-actions button,.dress-camera-retry { min-height:44px; border:0; border-radius:24px; padding:10px 14px; background:#303136; color:#fff; font-size:12px; }
.dress-camera-result-actions .dress-camera-use { background:#ffd45c; color:#181818; font-weight:600; }
.dress-camera-custom { display:block; width:calc(100% - 24px); box-sizing:border-box; margin:4px 12px 8px; padding:10px 12px; border:1px solid #4c4d50; border-radius:8px; background:#252629; color:#fff; font-size:16px; }
.dress-camera button:disabled { opacity:.45; }
@keyframes dress-camera-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .dress-camera-working::before { animation:none; } }

.dress-camera-difficulty { color:#b7b8bb; font-size:10px; line-height:1.3; white-space:nowrap; }
.dress-camera-choice[aria-pressed=true] .dress-camera-difficulty { color:#ffd45c; }
