@media (max-width: 767px) {
  :root {
    --dock-height: 92px;
  }
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: 96px;
  }

  .screen {
    padding: 24px 20px 32px;
    gap: 24px;
    max-width: 100%;
    padding-bottom: 120px;
  }

  .profile-page .screen {
    padding-top: 0;
  }

  .stage {
    border-radius: 28px;
    min-height: 55vh;
  }

  .tasks-view {
    padding: 20px;
    gap: 16px;
  }

  .chat-view {
    padding: 20px;
    padding-bottom: 24px;
    gap: 16px;
  }

  .chat-panel {
    padding: 16px;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    margin-bottom: 0;
  }

  .tasks-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .tasks-title h1 {
    font-size: 22px;
  }

  .tasks-grid {
    grid-template-columns: 1fr;
  }

  .countdown-card {
    padding: 20px 16px;
  }

  .countdown-title {
    font-size: 20px;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .countdown-value {
    font-size: 24px;
  }

  .ambient-glow {
    inset: -20% 15% 35% 15%;
  }

  .bottom-dock {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: 12px !important;
    width: calc(100% - 16px);
    padding: 14px 18px 16px;
    border-radius: 22px;
    max-width: none;
    margin: 0 !important;
    z-index: 999;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    transform: translateX(-50%) !important;
  }

  .dock-btn {
    flex-direction: column;
    flex: 1;
    font-size: 9px;
    gap: 7px;
    padding: 12px 10px;
    min-width: 0;
    letter-spacing: 0.02em;
  }

  .dock-btn--play {
    padding: 12px 10px;
  }

  .icon {
    width: 26px;
    height: 26px;
  }

  .label {
    white-space: nowrap;
  }

  .chat-form {
    padding: 10px;
    border-radius: 18px;
    min-height: 56px;
  }

  .chat-list {
    padding-bottom: 0;
  }


  .profile-card {
    width: 100%;
    padding: 18px 16px 24px;
    max-width: 100%;
  }

  .avatar-wrap {
    width: 96px;
    height: 96px;
  }

  .avatar {
    font-size: 44px;
  }

  .profile-name {
    font-size: 20px;
  }

  .profile-actions {
    margin-top: 16px;
  }

  .profile-quick-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-action-btn {
    justify-content: center;
    padding: 10px 8px;
    font-size: 10px;
  }

  .auth-btn {
    padding: 8px 12px;
  }

  .admin-panel {
    padding: 14px;
    max-width: 100%;
  }

  .admin-head h3 {
    font-size: 16px;
  }

  .admin-head p {
    font-size: 12px;
  }

  .admin-section h4 {
    font-size: 13px;
  }

  .admin-tabs {
    gap: 6px;
  }

  .admin-tab {
    font-size: 10px;
    padding: 6px 10px;
  }

  .admin-user__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-users__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-users-layout {
    grid-template-columns: 1fr;
  }

  .admin-users-list {
    max-height: none;
  }

  .admin-select,
  .admin-input {
    width: 100%;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .profile-stats__grid {
    grid-template-columns: 1fr;
  }

  .profile-stat__value {
    font-size: 16px;
  }

  .admin-stat__value {
    font-size: 16px;
  }

  .admin-user {
    padding: 12px;
  }

  .admin-actions {
    gap: 8px;
  }

  .admin-task-controls {
    grid-template-columns: 1fr;
  }

  .modal-card {
    padding: 18px 16px 24px;
  }

  .modal-hero__shape {
    width: 130px;
    height: 100px;
  }

}
