/* Profile, sidebar, library, myth, tools — mobile UI */

#profName {
  color: #050505 !important;
}

.prof-status-pills {
  display: none;
}

.prof-status-pills.prof-status--highlight {
  outline: 2px solid rgba(26, 38, 128, 0.22);
  outline-offset: 4px;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .prof-status-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
  }

  .prof-status-pills .prof-status__pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid #dde3ec;
    border-radius: 999px;
    background: #fff;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    color: #0d1230;
    cursor: pointer;
  }

  .prof-status-pills .prof-status__pill--active {
    border-color: #1a2680;
    background: rgba(26, 38, 128, 0.08);
    color: #1a2680;
  }

  .prof-status-pills .prof-status__icon {
    font-size: 0.85rem;
    line-height: 1;
  }

  #profStatusBlock {
    display: none;
  }

  .cab-profile-custom .cab-sub {
    display: none;
  }

  .cab-profile-custom__grid {
    margin-top: 8px;
    gap: 12px;
  }

  .cab-sidebar__collapse {
    display: flex !important;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f0f2f9;
  }

  .cab-sidebar--collapsed {
    padding: 6px 10px !important;
  }

  .cab-sidebar--collapsed .cab-sidebar__title,
  .cab-sidebar--collapsed .cab-nav,
  .cab-sidebar--collapsed .cab-sidebar__footer {
    display: none;
  }

  .cab-sidebar--collapsed .cab-sidebar__header {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .cab-nav__item {
    font-size: 0;
  }

  .cab-nav__item svg {
    margin: 0;
  }

  #cabChatBadge {
    font-size: 0.6rem !important;
    margin-left: 2px !important;
    padding: 0 5px !important;
    line-height: 1.6 !important;
  }

  .cab-sidebar__admin-btn,
  .cab-sidebar__logout-btn,
  .cab-sidebar__home-btn {
    font-size: 0;
    min-width: 40px;
    padding: 8px;
  }

  .cab-sidebar__admin-btn svg,
  .cab-sidebar__logout-btn svg,
  .cab-sidebar__home-btn svg {
    margin: 0;
  }

  .book-card__cta {
    display: none;
  }

  .myth-game__notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(108, 71, 255, 0.2);
    border-left: 4px solid #6c47ff;
    background: #fff;
    box-shadow: 0 6px 20px rgba(108, 71, 255, 0.1);
  }

  .myth-game__notice-badge {
    flex-shrink: 0;
    min-height: auto;
    padding: 4px 8px;
    font-size: 0.58rem;
  }

  .myth-game__notice-body strong {
    display: block;
    font-size: 0.74rem;
    line-height: 1.35;
    color: #1e1b2e;
  }

  .myth-game__notice-body p {
    display: none;
  }

  .myth-game__sidebar {
    order: 2;
  }

  .myth-game__stage {
    order: 1;
  }

  .myth-game__card-shell {
    margin-bottom: 8px;
  }

  .myth-game__face--front {
    min-height: 300px;
    box-shadow: 0 12px 32px rgba(108, 71, 255, 0.15);
  }

  .cab-tool-card--wide .debt-test__head-docs {
    margin-top: 8px;
    gap: 6px;
  }

  .cab-tool-card--wide .debt-test__head-doc {
    padding: 4px 8px;
    font-size: 0.65rem;
  }

  .cab-tool-card--wide .debt-test__question h4 {
    font-size: 0.88rem;
  }

  .cab-tool-card--wide .debt-test__hint {
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  .cab-tool-card--wide .debt-test__option {
    padding: 10px 12px;
    font-size: 0.78rem;
  }
}
