/* Mobile responsive layout */@media (max-width: 768px) {  html, body {    width: 100%;    min-height: 100%;    overflow-x: hidden;  }  body {    min-height: 100dvh;    padding-bottom: 76px;  }  .header {    padding: 10px 12px;    flex-direction: column;    gap: 10px;    align-items: stretch;  }  .logo {    font-size: 1rem;    text-align: center;    line-height: 1.6;  }  .lang-selector {    width: 100%;    justify-content: center;    gap: 4px;  }  .lang-btn {    flex: 1;    padding: 8px 5px;    font-size: .85rem;  }  .left-sidebar {    position: fixed;    left: 0;    right: 0;    top: auto;    bottom: 0;    transform: none;    flex-direction: row;    justify-content: space-around;    gap: 5px;    padding: 8px 7px calc(8px + env(safe-area-inset-bottom));    background: #111c30;    border-top: 1px solid #334155;    z-index: 1000;  }  .tool-btn {    flex: 1;    width: auto;    min-width: 0;    padding: 7px 3px;    border-radius: 12px;    font-size: .68rem;    gap: 3px;  }  .tool-btn span { font-size: 1.2rem; }  .tool-btn:hover { transform: none; }  .main-container {    width: 100%;    min-height: 0;    padding: 14px 12px 18px;    justify-content: flex-start;    overflow-x: hidden;  }  .avatars-wrapper {    width: 100%;    justify-content: center;    gap: 12px;    margin: 4px 0 14px;  }  .avatar-box {    width: min(42vw, 175px);    height: clamp(165px, 28vh, 220px);    border-radius: 20px;    overflow: hidden;  }  .avatar-box img {    max-width: 100%;    max-height: 100%;    object-fit: contain;  }  .avatar-box.active { transform: none; }  .avatar-name {    padding: 8px 4px;    font-size: .82rem;  }  .subtitle-area {    width: 100%;    max-width: none;    min-height: 76px;    max-height: 23vh;    padding: 12px;    margin-bottom: 12px;    font-size: .95rem;    border-radius: 15px;    overflow-wrap: anywhere;  }  .chat-input-box {    width: 100%;    max-width: none;    gap: 7px;    margin-bottom: 12px;  }  .chat-input-box input {    min-width: 0;    padding: 12px 10px;    font-size: .9rem;  }  .chat-input-box button {    padding: 0 12px;    font-size: .9rem;  }  .controls {    width: 100%;    justify-content: center;  }  .control-btn {    width: 100%;    max-width: 360px;    padding: 13px 18px;    font-size: 1rem;  }  .footer { display: none; }  .modal-overlay { padding: 12px; }  .modal-box {    width: 100%;    max-width: 520px;    max-height: 85dvh;    overflow-y: auto;    padding: 18px 14px;  }  .modal-header { gap: 10px; }  .modal-title { font-size: 1rem; }  .file-item {    gap: 8px;    padding: 11px 9px;    flex-wrap: wrap;  }  .file-name {    font-size: .85rem;    overflow-wrap: anywhere;  }  .qr-container {    max-width: 100%;    overflow: auto;    padding: 12px;  }}@media (max-width: 380px) {  .avatar-box {    width: 41vw;    height: 155px;  }  .tool-btn { font-size: .62rem; }  .lang-btn { font-size: .78rem; }}