/* Current functional IDs inside the r55 common toolbar. */
#live .interaction-tools label{display:flex;align-items:center;gap:9px;white-space:nowrap}
#live .interaction-tools .motion-download-status{min-width:0;flex:1;font-size:12px}
#download-interaction-motion{flex-shrink:0}
#download-interaction-motion:before{content:'↓';font-size:20px;line-height:1}
#studio .ix-mode,#studio .ix-audio-methods{display:none}
#studio #text-fields,#studio #audio-fields{display:block}
#studio #text-fields.inactive-input{opacity:.6}
#studio .ix-audio-upload{cursor:pointer}
#studio .ix-audio-upload:focus-visible{outline:2px solid #2459d6;outline-offset:3px}
#studio .ix-audio-upload audio{width:100%;max-width:100%}
#studio .ix-audio-upload button:disabled{cursor:not-allowed}
.ui-language-toggle{font:inherit}
#live{container-type:inline-size}
/* Parent toolbar and embedded child share the same width breakpoint. */
@container(max-width:600px){
 .live-2d-shell,.live-shell.ix-chat-stage{height:688px!important}
 #live #interaction-panel-3d .live-toolbar{top:20px;left:26px;right:26px;width:auto;grid-template-columns:minmax(0,1fr);gap:4px}
 #live #interaction-panel-3d .live-select{height:24px;grid-template-columns:36px minmax(0,1fr);grid-template-rows:24px;gap:8px;align-items:center}
 #live #interaction-panel-3d .live-select>span:first-child{grid-column:1;grid-row:1;line-height:24px}
 #live #interaction-panel-3d .live-select strong{grid-column:2;grid-row:1;height:24px;padding:1px 27px 1px 9px;font-size:12px;line-height:20px;border-radius:6px}
 #live #interaction-panel-3d .live-select>span:last-child{right:8px;bottom:5px;width:14px;height:14px;font-size:0;background:url('/showcase-20261119-r55/design/chevron-down.svg') center/14px no-repeat}
}
@media(max-width:600px){
 #live .interaction-tools label{min-width:0;flex:1;font-size:12px}
 #live .interaction-tools #interaction-algorithm{min-width:0;flex:1;width:0}
 #live .interaction-tools .motion-download-status:empty{display:none}
 #live .interaction-tools #download-interaction-motion{font-size:0;width:32px;padding:0}
 #download-interaction-motion:before{font-size:21px}
 header .wrap{flex-wrap:wrap}
 header nav{order:3;flex-basis:100%;justify-content:center;gap:16px;padding-top:7px;font-size:12px}
 header .wrap>.btn{margin-left:auto}
}
