/* FriendHub 2.9 Voice Lounge V6 — staging */
#fh29-v6-tab { display: inline-flex; align-items:center; gap:6px; }
#fh29-v6-panel { margin-top: 12px; border: 1px solid var(--line, #405578); border-radius: 16px; padding: 20px;
  background: linear-gradient(155deg, rgba(46,75,125,.25), rgba(12,21,34,.35)); }
#fh29-v6-panel.hidden { display:none !important; }
.fh29-v6-top { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.fh29-v6-top h2 { margin:0 0 4px; }
.fh29-v6-top p { margin:0; color:var(--muted, #a8b8d5); font-size:13px; }
.fh29-v6-status { border:1px solid #455977; border-radius:999px; padding:5px 11px; font-size:12px; color:#b9d5f2; }
.fh29-v6-status.live { color:#85ebc6; border-color:#27775e; }
.fh29-v6-people { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:10px; margin:20px 0; }
.fh29-v6-person { background:rgba(40,60,100,.45); border:1px solid rgba(135,163,212,.23); border-radius:14px; padding:15px 12px; min-width:0; }
.fh29-v6-person strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fh29-v6-person small { color:var(--muted,#a8b8d5); display:block; margin-top:5px; }
.fh29-v6-avatar { width:38px; height:38px; border-radius:12px; background:#314f80; display:flex;align-items:center;justify-content:center;margin-bottom:9px; }
.fh29-v6-controls {display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.fh29-v6-controls button {border-radius:12px; padding:10px 15px; cursor:pointer}
.fh29-v6-controls button[disabled] {opacity:.5;cursor:not-allowed}
.fh29-v6-hint {font-size:12px;color:var(--muted,#a8b8d5);margin-top:15px;line-height:1.5}
.fh29-v6-error {color:#ffa3a6;font-size:13px;min-height:16px;margin:10px 0 0}
#fh29-v6-audio {display:none}
@media(max-width:640px){#fh29-v6-panel{padding:15px}.fh29-v6-people{grid-template-columns:repeat(2,minmax(0,1fr))}}
#fh29-v6-people > .muted { grid-column:1 / -1; max-width:none; width:auto; margin:0; }

/* FriendHub V7: low-key speaking states and private call panel */
#fh29-v6-panel { background: linear-gradient(160deg, rgba(28,49,85,.78), rgba(10,18,32,.94)); border-color:rgba(118,151,209,.29); box-shadow:0 14px 32px #0003; }
.fh29-v6-person { position:relative; background:rgba(19,32,54,.7); border-radius:16px; border:1px solid rgba(115,149,213,.28); transition: border .2s, box-shadow .2s; }
.fh29-v6-person.fh29-v7-speaking { border-color:#53d1a0; box-shadow:0 0 0 2px rgba(83,209,160,.19),0 10px 28px rgba(22,65,55,.16); }
.fh29-v6-person.fh29-v7-speaking .fh29-v6-avatar { background:linear-gradient(145deg,#24866e,#356d8e); }
.fh29-v7-activity { display:block; margin-top:8px; font-size:12px; color:#93a7c8; }
.fh29-v7-activity.talking { color:#8cf2c4; font-weight:700; }
#fh29-v7-private-call { margin:0 0 10px; padding:7px 14px; border-radius:10px; background:#264d79; border:1px solid #517cab; color:#f3f7ff; width:max-content; }
#fh29-v7-private-call:hover { background:#315e94; }
.fh29-v7-call-overlay { position:fixed; inset:0; z-index:2147483000; display:flex; align-items:center; justify-content:center; background:rgba(3,7,14,.65); backdrop-filter:blur(7px); padding:16px; }
.fh29-v7-call-overlay.hidden { display:none!important; }
.fh29-v7-call-panel { width:min(440px,100%); padding:25px 22px; color:#f2f6ff; background:radial-gradient(circle at top left, #243f65 0%, #121f35 55%, #0d1627 100%); border:1px solid rgba(123,164,232,.4); border-radius:24px; text-align:center; box-shadow:0 30px 90px #0009; }
.fh29-v7-call-icon { font-size:40px; margin:0 auto 12px; display:grid; place-items:center; width:75px; height:75px; border-radius:24px; background:#355f96; }
.fh29-v7-call-title { font-size:23px; font-weight:800; overflow-wrap:anywhere; }
.fh29-v7-call-status { color:#bacdec; font-size:14px; margin:10px 0 18px; }
.fh29-v7-call-people { display:grid; gap:10px; margin:12px 0 16px; }
.fh29-v7-call-person { background:rgba(25,45,76,.8); border:1px solid #3a5681; border-radius:16px; padding:11px 13px; display:flex; align-items:center; gap:12px; text-align:left; }
.fh29-v7-call-person.fh29-v7-speaking { border-color:#60d7a5; box-shadow:0 0 0 2px #60d7a522; }
.fh29-v7-call-avatar { height:40px; width:40px; flex:none; display:grid; place-items:center; border-radius:14px; background:#476fa6; font-weight:750; }
.fh29-v7-call-person strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; flex:1; }
.fh29-v7-call-person span { font-size:12px; color:#bad0ed; }
.fh29-v7-call-person.fh29-v7-speaking span { color:#8cf2c4; }
.fh29-v7-call-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; }
.fh29-v7-call-actions button { border:1px solid #516b94; background:#263d61; color:#eff6ff; border-radius:12px; padding:10px 13px; }
.fh29-v7-call-actions button.primary { background:#4b88e6; color:#fff; }
.fh29-v7-call-actions button.danger { background:#712d41; border-color:#9f5164; color:#fff; }
.fh29-v7-call-error { color:#ffb8bc; font-size:13px; min-height:0; margin:10px 0 0; }
.fh29-v7-call-note { color:#90a8c8; font-size:11px; margin:12px 0 0; }
@media(prefers-reduced-motion:reduce){.fh29-v6-person,.fh29-v7-call-person{transition:none}}
.fh29-v7-call-panel .hidden { display:none!important; }

/* FriendHub 2.9 V8 — goofy animated avatars & always-available voice dock */
.fh29-v8-pfp-wrap { display:grid; place-items:center; width:64px; height:64px; margin:0 auto 11px; position:relative; border-radius:50%; isolation:isolate; }
.fh29-v8-pfp { width:100%!important; height:100%!important; margin:0!important; flex:none; border-radius:50%!important; object-fit:cover!important; border:3px solid #52759f!important; background:#253957!important; box-shadow:0 3px 12px #0005; }
.fh29-v6-person { text-align:center; min-width:0; }
.fh29-v6-person .fh29-v8-pfp-wrap { width:72px; height:72px; }
.fh29-v7-call-person .fh29-v8-pfp-wrap { width:50px; height:50px; margin:0; flex:none; }
.fh29-v6-person.fh29-v7-speaking .fh29-v8-pfp-wrap,
.fh29-v7-call-person.fh29-v7-speaking .fh29-v8-pfp-wrap {
  animation:fh29-v8-happy-hop .42s ease-in-out infinite;
}
.fh29-v6-person.fh29-v7-speaking .fh29-v8-pfp,
.fh29-v7-call-person.fh29-v7-speaking .fh29-v8-pfp {
  border-color:#75ffd0!important;
  box-shadow:0 0 0 4px #64ebbe45,0 0 22px 7px #41dea187,0 9px 25px #0007!important;
}
.fh29-v6-person.fh29-v7-speaking,
.fh29-v7-call-person.fh29-v7-speaking { border-color:#55e3b4; background:#183c45; }
@keyframes fh29-v8-happy-hop {
  0%,100%{transform:translateY(0) rotate(0deg)}
  20%{transform:translateY(-7px) rotate(-4deg)}
  45%{transform:translateY(-12px) rotate(3deg)}
  70%{transform:translateY(-5px) rotate(-3deg)}
  86%{transform:translateY(-2px) rotate(2deg)}
}
#fh29-v7-call-overlay.fh29-v8-minimized { display:none!important; }
#fh29-v8-dock { position:fixed; z-index:2147482999; bottom:16px; left:16px; width:276px; padding:13px; border-radius:18px; border:1px solid #567dab;
  color:#eff6ff; background:linear-gradient(160deg,#1c3657,#101c2d 70%); box-shadow:0 12px 34px #0009; backdrop-filter:blur(12px); font-size:13px; }
#fh29-v8-dock[hidden] { display:none!important; }
.fh29-v8-dock-head { display:flex; align-items:center; gap:9px; font-weight:760; }
.fh29-v8-connection-dot { width:9px; height:9px; background:#5ff1b5; border-radius:50%; box-shadow:0 0 0 4px #5ff1b52a; flex:none; }
.fh29-v8-dock-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; flex:1; }
#fh29-v8-dock .fh29-v8-fold { padding:4px 8px; border:1px solid #527199; background:#283c58; border-radius:9px; color:#dbeaff; }
.fh29-v8-dock-body { padding-top:8px; }
.fh29-v8-collapsed .fh29-v8-dock-body { display:none; }
.fh29-v8-dock-sub { color:#b6c8e4; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fh29-v8-mini-people { display:flex; align-items:center; gap:6px; min-height:37px; margin:10px 0; }
.fh29-v8-mini-person { position:relative; display:grid; width:33px; height:33px; flex:none; border-radius:50%; }
.fh29-v8-mini-pfp { width:33px!important; height:33px!important; border-radius:50%!important; object-fit:cover; border:2px solid #698bb7; }
.fh29-v8-mini-person.fh29-v8-talking .fh29-v8-mini-pfp { border-color:#7bf5c7; box-shadow:0 0 0 3px #62e8ba47,0 0 15px #65eec58d; }
.fh29-v8-mini-person.fh29-v8-talking { animation:fh29-v8-happy-hop .42s ease-in-out infinite; }
.fh29-v8-mini-empty { color:#a6b9d1; font-size:12px; }
.fh29-v8-dock-controls { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
#fh29-v8-dock .fh29-v8-dock-controls button { border:1px solid #527199; border-radius:10px; padding:9px 4px; color:#eef5ff; background:#27405f; font-size:17px; line-height:1; cursor:pointer; }
#fh29-v8-dock .fh29-v8-dock-controls button:hover:not(:disabled) { background:#3b608c; }
#fh29-v8-dock .fh29-v8-dock-controls button:disabled { opacity:.45; cursor:not-allowed; }
#fh29-v8-dock .fh29-v8-dock-controls .fh29-v8-hangup { background:#873345; border-color:#bf6479; }
#fh29-v8-dock .fh29-v8-dock-controls .fh29-v8-pressed { background:#745129; }
@media(max-width:650px) { #fh29-v8-dock { width:min(276px,calc(100vw - 24px)); left:12px; bottom:12px; } }
@media(prefers-reduced-motion:reduce) {
  .fh29-v6-person.fh29-v7-speaking .fh29-v8-pfp-wrap,
  .fh29-v7-call-person.fh29-v7-speaking .fh29-v8-pfp-wrap,
  .fh29-v8-mini-person.fh29-v8-talking { animation:none; }
}

/* FRIENDHUB_29_VOICE_V9: spirited motion + organized two-column voice hub */
#fh29-v6-panel.fh29-v9-group-redesign { padding:0!important; border:0!important; background:transparent!important; box-shadow:none!important; margin-top:16px; }
.fh29-v9-layout { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(290px, .9fr); gap:16px; align-items:stretch; }
.fh29-v9-stage, .fh29-v9-side { min-width:0; border:1px solid #334d73; border-radius:23px;
  background:radial-gradient(ellipse at 15% 5%,#263e66 0%,#15243c 44%,#111a2d 100%); box-shadow:0 14px 36px #0003; }
.fh29-v9-stage { padding:24px; position:relative; overflow:hidden; }
.fh29-v9-side { background:#101b2e; padding:0; display:flex; min-height:435px; }
.fh29-v9-group-redesign .fh29-v6-top { margin-bottom:12px; align-items:center; }
.fh29-v9-group-redesign .fh29-v6-top h2 { font-size:26px; letter-spacing:-.025em; }
.fh29-v9-group-redesign .fh29-v6-people { grid-template-columns: repeat(auto-fill,minmax(155px,1fr)); gap:18px; margin:20px 0 10px; align-items:stretch; }
.fh29-v9-group-redesign .fh29-v6-person { border-radius:22px; padding:20px 12px 15px; min-height:196px; text-align:center;
  background:linear-gradient(155deg,#1d3150,#19253c); border:1px solid #3b5680; }
.fh29-v9-group-redesign .fh29-v6-person strong { font-size:15px; margin:8px 0 3px; }
.fh29-v9-group-redesign .fh29-v6-person .fh29-v8-pfp-wrap { width:93px; height:93px; margin:0 auto 10px; }
.fh29-v9-group-redesign .fh29-v6-person .fh29-v8-pfp { border-width:4px!important; }
.fh29-v9-group-redesign .fh29-v6-controls { margin-top:18px; gap:10px; }
.fh29-v9-group-redesign .fh29-v6-controls button { background:#263e63; border:1px solid #476c9b; border-radius:13px; padding:12px 16px; color:#eef7ff; }
.fh29-v9-group-redesign .fh29-v6-controls button.primary { background:#4b83db; border-color:#79a3e7; color:white; }
.fh29-v9-group-redesign .fh29-v6-controls button.danger { background:#83364a; border-color:#b15d76; }
.fh29-v9-settings-trigger { border:1px solid #6084ba; background:#203756; color:#d6e8ff; padding:9px 13px; border-radius:12px; cursor:pointer; }
.fh29-v9-tip { color:#99b7de; font-size:12px; margin:11px 0 14px; }
/* First the picture lifts for nearly a second. It then trembles until speech stops.
   When speaking ends, the avatar glides down and the glow softly fades. */
.fh29-v6-person.fh29-v7-speaking .fh29-v8-pfp-wrap,
.fh29-v7-call-person.fh29-v7-speaking .fh29-v8-pfp-wrap {
  animation: fh29-v9-lift .92s cubic-bezier(.22,.75,.18,1.28) both,
             fh29-v9-jiggle .28s ease-in-out .92s infinite alternate!important;
  transform-origin:50% 85%;
}
.fh29-v6-person.fh29-v9-settling .fh29-v8-pfp-wrap,
.fh29-v7-call-person.fh29-v9-settling .fh29-v8-pfp-wrap {
  animation: fh29-v9-land .72s cubic-bezier(.18,.84,.36,1) both!important;
}
.fh29-v6-person.fh29-v7-speaking .fh29-v8-pfp,
.fh29-v7-call-person.fh29-v7-speaking .fh29-v8-pfp {
  box-shadow:0 0 0 4px #59efb374, 0 0 28px #53f1bfaf, 0 10px 28px #08152d!important;
  border-color:#80f5ca!important;
}
.fh29-v6-person.fh29-v9-settling .fh29-v8-pfp,
.fh29-v7-call-person.fh29-v9-settling .fh29-v8-pfp {
  animation: fh29-v9-glow-away .72s ease-out both!important;
}
@keyframes fh29-v9-lift { 0% {transform:translateY(0) rotate(0deg) scale(1)}
  35% {transform:translateY(-12px) rotate(-1deg) scale(1.06)}
  75% {transform:translateY(-17px) rotate(1.2deg) scale(1.09)}
  100% {transform:translateY(-15px) rotate(0deg) scale(1.07)} }
@keyframes fh29-v9-jiggle {0% {transform:translateY(-15px) translateX(-2px) rotate(-3deg) scale(1.07)}
  100% {transform:translateY(-15px) translateX(2px) rotate(3deg) scale(1.07)} }
@keyframes fh29-v9-land {from {transform:translateY(-15px) rotate(2deg) scale(1.07)}
  68% {transform:translateY(2px) rotate(-1deg) scale(.99)} to {transform:translateY(0) rotate(0deg) scale(1)} }
@keyframes fh29-v9-glow-away {from {box-shadow:0 0 0 4px #59efb374, 0 0 28px #53f1bfaf; border-color:#80f5ca}
  to {box-shadow:0 3px 12px #0005; border-color:#52759f}}
.fh29-v8-mini-person.fh29-v8-talking { animation:fh29-v9-jiggle .32s ease-in-out infinite alternate!important; }
body.fh29-v9-no-silly .fh29-v6-person .fh29-v8-pfp-wrap,
body.fh29-v9-no-silly .fh29-v7-call-person .fh29-v8-pfp-wrap,
body.fh29-v9-no-silly .fh29-v8-mini-person {animation:none!important;transform:none!important;}
.fh29-v9-chat { display:flex; flex:1; flex-direction:column; min-width:0; padding:20px; }
.fh29-v9-chat-title {display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid #29405e;padding-bottom:12px;}
.fh29-v9-chat-title strong {font-size:16px;}
.fh29-v9-chat-title span {font-size:11px;background:#254164;border:1px solid #44699b;border-radius:99px;padding:4px 9px;color:#a9d7ff;}
.fh29-v9-chat > p {color:#96adc9;font-size:12px;line-height:1.5;margin:12px 0;}
.fh29-v9-chat-feed {flex:1;min-height:145px;max-height:350px;overflow-y:auto;display:flex;flex-direction:column;gap:9px;padding:8px 2px 16px;}
.fh29-v9-chat-empty {color:#96afc9;text-align:center;font-size:13px;padding:28px 8px;}
.fh29-v9-chat-item {background:#1c2c46;border:1px solid #344e74;padding:9px 11px;border-radius:12px;font-size:13px;display:grid;gap:3px;overflow-wrap:anywhere;}
.fh29-v9-chat-item strong {color:#87b9fc;font-size:12px;}
.fh29-v9-chat-item span {color:#f1f5ff;white-space:pre-wrap;}
.fh29-v9-chat-form, .fh29-v9-gif-form {display:flex;gap:7px;margin-top:8px;}
.fh29-v9-chat-form input, .fh29-v9-gif-form input {min-width:0; flex:1;border-radius:11px;padding:10px 11px;background:#0c172a;color:#eaf4ff;border:1px solid #3e6089;font:inherit;font-size:13px;}
.fh29-v9-chat-form button,.fh29-v9-gif-form button {border-radius:11px;padding:9px 13px;border:1px solid #547eb7;background:#3d73bd;color:#fff;white-space:nowrap;cursor:pointer;}
.fh29-v9-gif-form button {background:#553d86;border-color:#7759ab;}
.fh29-v9-feedback {min-height:16px;margin-top:7px;font-size:12px;color:#ffb6b6;}
.fh29-v9-bubble-lane {position:absolute;inset:60px 10px 20px;pointer-events:none;display:flex;align-items:center;justify-content:center;gap:8px;z-index:3;}
.fh29-v9-gif-bubble {pointer-events:none;background:#e7f4ff;border:3px solid #fff;border-radius:24px;padding:8px 9px;box-shadow:0 16px 40px #0007;max-width:155px;overflow:hidden;
  animation:fh29-v9-float-gif 2.2s ease-out forwards;}
.fh29-v9-gif-bubble small {display:block;color:#17345f;font-weight:800;font-size:11px;}
.fh29-v9-gif-bubble img {width:130px;height:110px;object-fit:contain;display:block;}
@keyframes fh29-v9-float-gif {0% {opacity:0;transform:translateY(42px) scale(.72) rotate(-5deg)}
  15% {opacity:1;transform:translateY(0) scale(1.05) rotate(3deg)}
  65% {opacity:1;transform:translateY(-12px) scale(1) rotate(-2deg)} 100% {opacity:0;transform:translateY(-95px) scale(.8) rotate(6deg)}}
/* Call view: uncluttered app-filling layout with explicit minimize/expand controls. */
#fh29-v7-call-overlay:not(.hidden):not(.fh29-v8-minimized) {padding:24px;background:#040917e8;backdrop-filter:blur(10px);}
#fh29-v7-call-overlay .fh29-v7-call-panel.fh29-v9-call-redesign {width:min(1120px,100%);max-height:calc(100dvh - 48px);overflow-y:auto;text-align:left;padding:0;border-radius:24px;}
.fh29-v9-call-bar {display:flex;justify-content:space-between;gap:12px;align-items:center;padding:15px 24px;border-bottom:1px solid #365278;background:#121f34;position:sticky;top:0;z-index:4;}
.fh29-v9-call-bar > span {color:#91c8ff;font-size:12px;letter-spacing:.08em;font-weight:800;}
.fh29-v9-call-top-actions {display:flex;gap:8px;flex-wrap:wrap;}
.fh29-v9-call-top-actions button {border-radius:10px;border:1px solid #50729f;background:#243a5b;color:#edf5ff;font:inherit;font-size:12px;padding:8px 11px;cursor:pointer;}
.fh29-v9-call-layout {padding:18px;grid-template-columns:minmax(0,1.55fr) minmax(300px,.9fr);}
.fh29-v9-call-layout .fh29-v9-stage {display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:480px;padding:32px;}
.fh29-v9-call-layout .fh29-v7-call-title {font-size:27px;margin:8px 0 0;}
.fh29-v9-call-layout .fh29-v7-call-people {display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:20px;margin:20px 0;width:100%;}
.fh29-v9-call-layout .fh29-v7-call-person {flex:1;min-width:160px;max-width:240px;min-height:190px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border-radius:20px;}
.fh29-v9-call-layout .fh29-v7-call-person .fh29-v8-pfp-wrap {height:100px;width:100px;margin:0 auto 9px;}
.fh29-v9-call-layout .fh29-v7-call-person strong {font-size:16px;}
.fh29-v9-call-layout .fh29-v7-call-actions {margin:14px 0;}
#fh29-v7-call-overlay.fh29-v9-fullscreen .fh29-v7-call-panel {width:100vw!important;max-height:100dvh!important;height:100dvh!important;border:0;border-radius:0!important;}
#fh29-v7-call-overlay.fh29-v9-fullscreen {padding:0!important;}
#fh29-v7-call-overlay.fh29-v9-fullscreen .fh29-v9-call-layout {min-height:calc(100dvh - 64px);}
/* Right-click personal volume menu */
.fh29-v9-volume-menu {position:fixed;z-index:2147483600;display:flex;flex-direction:column;gap:8px;width:230px;padding:15px;background:#14233a;border:1px solid #6288bf;border-radius:15px;box-shadow:0 12px 40px #000a;color:#f2f8ff;}
.fh29-v9-volume-menu.hidden {display:none!important;}
.fh29-v9-volume-menu span {font-size:12px;color:#a9c6ec;}
.fh29-v9-volume-menu input {width:100%;accent-color:#76c4ff;}
.fh29-v9-volume-menu b {text-align:right;font-size:12px;}
/* Voice settings: one place for speaking sensitivity and silly effects */
.fh29-v9-settings-overlay {position:fixed;inset:0;z-index:2147483640;background:#020918b8;backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px;}
.fh29-v9-settings-overlay.hidden {display:none!important;}
.fh29-v9-settings-card {width:min(460px,100%);border:1px solid #5479ae;border-radius:22px;padding:26px;background:linear-gradient(155deg,#1b3556,#101a2e);color:#eff6ff;box-shadow:0 20px 65px #000b;}
.fh29-v9-settings-card header {display:flex;justify-content:space-between;gap:10px;align-items:center;}
.fh29-v9-settings-card h2 {margin:0;font-size:22px;}
.fh29-v9-settings-card header button {background:#243f63;border:1px solid #547baa;border-radius:10px;padding:7px 10px;color:#fff;cursor:pointer;}
.fh29-v9-settings-card p {font-size:13px;color:#afc6e1;line-height:1.5;}
.fh29-v9-settings-card label {display:block;margin:15px 0;color:#eff6ff;font-size:14px;}
.fh29-v9-settings-card label input[type=range] {display:block;width:100%;margin-top:10px;accent-color:#65b8fa;}
.fh29-v9-settings-card .fh29-v9-check {display:flex;align-items:center;gap:10px;}
.fh29-v9-settings-card .fh29-v9-check input {width:18px;height:18px;accent-color:#65b8fa;}
.fh29-v9-done {border-radius:12px;background:#4b87d4;color:#fff;padding:10px 18px;border:0;cursor:pointer;}
#fh29-v8-dock .fh29-v8-dock-controls {grid-template-columns:repeat(5,minmax(0,1fr));}
@media(max-width:1040px){.fh29-v9-layout,.fh29-v9-call-layout {grid-template-columns:minmax(0,1fr);} .fh29-v9-side{min-height:300px}.fh29-v9-chat-feed{max-height:220px;min-height:100px}.fh29-v9-call-layout .fh29-v9-stage{min-height:330px;}}
@media(max-width:550px){.fh29-v9-stage{padding:15px}.fh29-v9-chat{padding:14px}.fh29-v9-call-bar{padding:11px;align-items:flex-start;flex-direction:column}#fh29-v7-call-overlay:not(.hidden):not(.fh29-v8-minimized){padding:4px}.fh29-v9-call-layout{padding:8px}.fh29-v9-call-layout .fh29-v9-stage{padding:18px} .fh29-v9-group-redesign .fh29-v6-people{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fh29-v9-group-redesign .fh29-v6-person .fh29-v8-pfp-wrap{width:70px;height:70px}.fh29-v9-group-redesign .fh29-v6-person{min-height:175px}}
@media(prefers-reduced-motion:reduce){.fh29-v6-person .fh29-v8-pfp-wrap,.fh29-v7-call-person .fh29-v8-pfp-wrap,.fh29-v8-mini-person,.fh29-v9-gif-bubble{animation:none!important;}}

.fh15-live{font-size:11px;border-radius:999px;background:#1f5a4b;color:#e5ffef;padding:3px 7px;margin-left:5px}.fh15-live[hidden]{display:none!important}

/* V18: settings with meaningful sections and developer voice censor tools */
.fh29-v9-settings-card h3{font-size:15px;margin:14px 0 8px}
.fh18-censor-panel{border-top:1px solid #486281;margin-top:14px;padding-top:10px}
.fh18-censor-panel textarea{width:100%;box-sizing:border-box;min-height:75px;background:#0d1e32;color:#f0f6ff;border:1px solid #527da8;border-radius:9px;padding:10px}
.fh18-censor-panel input[type=file]{max-width:100%;font-size:12px}
.fh18-censor-panel label{display:block;margin:12px 0}
.fh18-censor-panel label.fh29-v9-check{display:flex;align-items:center;gap:9px}
.fh18-actions{display:flex;gap:8px;flex-wrap:wrap}
.fh18-actions button,#fh18-upload{background:#315d92;border:1px solid #7399c8;color:white;padding:10px;border-radius:9px;cursor:pointer}
.fh18-actions button:disabled,#fh18-upload:disabled{opacity:.5}
#fh18-detector-status{min-height:18px}

/* V18 upload converter and clip preview */
.fh18-trim-settings{border:1px solid #42698c;border-radius:10px;padding:12px;margin:9px 0;background:#132b42}
.fh18-trim-settings label{display:grid;gap:5px}
.fh18-trim-settings input[type=range]{width:100%}
.fh18-trim-settings button{border-radius:8px;padding:8px 12px;background:#315c8d;border:1px solid #6997c6;color:white}
.fh18-trim-settings[hidden]{display:none!important}

/* V20: voice settings now contain four image libraries */
.fh29-v9-settings-card{max-height:calc(100dvh - 50px);overflow-y:auto;box-sizing:border-box;}
