[v-cloak] { display: none !important; }
.profile-header-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      min-height: 38px;
      box-sizing: border-box;
      padding: 0 12px;
      border: 1px solid var(--profile-action-border);
      border-radius: 12px;
      background: var(--profile-action-bg);
      color: var(--profile-action-color);
      font-size: 12px;
      font-weight: 800;
      line-height: 1;
      text-decoration: none;
      white-space: nowrap;
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
      transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    }
    .profile-header-action:hover {
      background: var(--profile-action-hover-bg);
      border-color: var(--profile-action-hover-border);
      color: var(--profile-action-hover-color);
      box-shadow: 0 4px 12px var(--profile-action-shadow);
      transform: translateY(-1px);
    }
    .profile-header-action:active {
      transform: translateY(0) scale(0.97);
    }
    .profile-header-action:focus-visible {
      outline: 2px solid var(--profile-action-hover-border);
      outline-offset: 2px;
    }
    .profile-header-action--search {
      --profile-action-bg: rgba(14, 165, 233, 0.12);
      --profile-action-border: rgba(56, 189, 248, 0.35);
      --profile-action-color: #6ee7b7;
      --profile-action-hover-bg: rgba(14, 165, 233, 0.22);
      --profile-action-hover-border: rgba(56, 189, 248, 0.65);
      --profile-action-hover-color: #ffffff;
      --profile-action-shadow: rgba(14, 165, 233, 0.16);
    }
    .profile-header-action--leaderboard {
      --profile-action-bg: rgba(245, 158, 11, 0.12);
      --profile-action-border: rgba(245, 158, 11, 0.35);
      --profile-action-color: #fbbf24;
      --profile-action-hover-bg: rgba(245, 158, 11, 0.22);
      --profile-action-hover-border: rgba(245, 158, 11, 0.65);
      --profile-action-hover-color: #fef3c7;
      --profile-action-shadow: rgba(245, 158, 11, 0.16);
    }
    .profile-header-action--theme {
      --profile-action-bg: rgba(51, 65, 85, 0.62);
      --profile-action-border: rgba(148, 163, 184, 0.22);
      --profile-action-color: #cbd5e1;
      --profile-action-hover-bg: rgba(71, 85, 105, 0.75);
      --profile-action-hover-border: rgba(148, 163, 184, 0.4);
      --profile-action-hover-color: #ffffff;
      --profile-action-shadow: rgba(148, 163, 184, 0.12);
    }
    .profile-header-action--home {
      --profile-action-bg: rgba(37, 99, 235, 0.16);
      --profile-action-border: rgba(59, 130, 246, 0.38);
      --profile-action-color: #93c5fd;
      --profile-action-hover-bg: rgba(37, 99, 235, 0.28);
      --profile-action-hover-border: rgba(96, 165, 250, 0.65);
      --profile-action-hover-color: #ffffff;
      --profile-action-shadow: rgba(37, 99, 235, 0.18);
    }
    .profile-header-action--me {
      --profile-action-bg: rgba(16, 185, 129, 0.14);
      --profile-action-border: rgba(16, 185, 129, 0.4);
      --profile-action-color: #6ee7b7;
      --profile-action-hover-bg: rgba(16, 185, 129, 0.26);
      --profile-action-hover-border: rgba(52, 211, 153, 0.7);
      --profile-action-hover-color: #ecfdf5;
      --profile-action-shadow: rgba(16, 185, 129, 0.18);
    }
    @media (prefers-reduced-motion: reduce) {
      .profile-header-action {
        transition: none;
      }
      .profile-header-action:hover {
        transform: none;
      }
    }
    .profile-tabs-grid {
      display: flex;
      align-items: center;
      gap: 5px;
      background: rgba(15, 23, 42, 0.75);
      padding: 4px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
      overflow-x: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x proximity;
    }
    @media (max-width: 639px) {
      .profile-tabs-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        overflow: visible;
        scroll-snap-type: none;
      }
      .profile-tab-btn {
        width: 100%;
        min-width: 0;
        min-height: 40px;
        padding: 6px 4px;
        gap: 4px;
        font-size: 10.5px;
        white-space: normal;
      }
      .profile-tab-badge {
        flex: 0 0 auto;
        font-size: 8.5px;
        padding: 0.5px 3.5px;
      }
    }
    .profile-tabs-grid::-webkit-scrollbar {
      height: 3px;
    }
    .profile-tabs-grid::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.18);
      border-radius: 999px;
    }
    @media (min-width: 900px) {
      .profile-tabs-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 8px;
        padding: 6px;
        overflow-x: visible;
      }
    }
    .profile-tab-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      padding: 7px 7px;
      border-radius: 10px;
      background: transparent;
      border: 1px solid transparent;
      color: #94a3b8;
      font-size: 11.5px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      white-space: nowrap;
      user-select: none;
      flex-shrink: 0;
      scroll-snap-align: start;
    }
    @media (min-width: 640px) {
      .profile-tab-btn {
        padding: 9px 10px;
        font-size: 12.5px;
        gap: 6px;
      }
    }
    .profile-tab-btn:hover {
      color: #ffffff;
      background: rgba(59, 130, 246, 0.08);
    }
    .profile-tab-btn.active {
      background: linear-gradient(135deg, #2563eb, #6366f1) !important;
      color: #ffffff !important;
      border-color: rgba(255, 255, 255, 0.18) !important;
      box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
    }
    .profile-tab-badge {
      font-size: 9.5px;
      font-weight: 900;
      padding: 1px 5px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.22);
      color: #fff;
    }
    @media (max-width: 380px) {
      .profile-tabs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .profile-tab-btn {
        min-height: 38px;
      }
      .profile-tab-badge {
        font-size: 8.5px;
        padding: 0.5px 3.5px;
      }
    }
    @media (max-width: 639px) {
      .profile-support-card-footer {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 2px;
        min-width: 0;
        padding: 4px 5px;
      }
      .profile-support-card-level {
        font-size: 9px;
        letter-spacing: -0.035em;
      }
      .profile-support-card-level span {
        font-size: 8px;
      }
      .profile-support-card-progress {
        gap: 2px;
      }
      .profile-support-card-progress .lb-diamonds {
        gap: 2px;
      }
      .profile-support-card-progress .lb-diamond {
        width: 5px;
        height: 5px;
      }
      .profile-support-card-progress > span {
        margin-left: 0;
        font-size: 7px;
      }
    }
    @media (max-width: 380px) {
      .profile-support-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .profile-support-card-footer {
        padding-right: 7px;
        padding-left: 7px;
      }
    }

    /* Подфильтры в карточках и персонажах */
    .profile-subfilter-btn {
      padding: 6px 12px;
      border-radius: 10px;
      font-size: 11.5px;
      font-weight: 700;
      transition: all 0.2s ease;
      cursor: pointer;
      background: rgba(30, 41, 59, 0.7);
      color: #94a3b8;
      border: 1px solid rgba(255, 255, 255, 0.08);
      user-select: none;
    }
    .profile-subfilter-btn:hover {
      color: #ffffff;
      background: rgba(51, 65, 85, 0.8);
    }
    .profile-subfilter-btn.active {
      background: linear-gradient(135deg, #2563eb, #6366f1) !important;
      color: #ffffff !important;
      border-color: rgba(255, 255, 255, 0.18) !important;
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
    }

/* Отступ для основного контента чтобы не перекрывался нижней панелью навигации */
    .profile-main-wrap {
      padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Стили карточек в стиле uma.moe */
    .uma-rank-badge {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 3px 8px;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.25);
    }
    .uma-rank-badge.rank-uf {
      background: linear-gradient(135deg, #f59e0b, #ef4444);
      color: #fff;
      box-shadow: 0 0 14px rgba(239, 68, 68, 0.45);
    }
    .uma-rank-badge.rank-ug {
      background: linear-gradient(135deg, #8b5cf6, #3b82f6);
      color: #fff;
      box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
    }
    .uma-rank-badge.rank-ss {
      background: linear-gradient(135deg, #10b981, #06b6d4);
      color: #fff;
    }
    .uma-rank-badge.rank-s {
      background: linear-gradient(135deg, #eab308, #84cc16);
      color: #1e293b;
    }

    /* Официальные иконки игровых рангов uma.moe */
    .rank-badge-wrap {
      min-height: 40px;
    }
    .rank-badge-img {
      height: 40px;
      width: auto;
      max-width: 96px;
      object-fit: contain;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: crisp-edges;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.65));
      transition: transform 0.2s ease;
      display: inline-block;
    }
    .rank-crisp {
      image-rendering: -webkit-optimize-contrast;
      image-rendering: crisp-edges;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.65));
    }
    .horse-hall-card:hover .rank-badge-img {
      transform: scale(1.05);
    }
    @media (max-width: 640px) {
      .rank-badge-img {
        height: 34px;
        max-width: 80px;
      }
      .rank-badge-wrap {
        min-height: 34px;
      }
    }

    .scenario-badge {
      display: inline-flex;
      align-items: center;
      padding: 1px 6px;
      border-radius: 6px;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.2px;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }
    .scenario-badge.sc-ura {
      background: rgba(132, 204, 22, 0.2);
      color: #bef264;
      border-color: rgba(132, 204, 22, 0.35);
    }
    .scenario-badge.sc-aoharu {
      background: rgba(6, 182, 212, 0.2);
      color: #67e8f9;
      border-color: rgba(6, 182, 212, 0.35);
    }
    .scenario-badge.sc-gl {
      background: rgba(234, 179, 8, 0.2);
      color: #fef08a;
      border-color: rgba(234, 179, 8, 0.35);
    }
    .scenario-badge.sc-climax {
      background: rgba(168, 85, 247, 0.2);
      color: #e9d5ff;
      border-color: rgba(168, 85, 247, 0.35);
    }
    .scenario-badge.sc-gm {
      background: rgba(139, 92, 246, 0.2);
      color: #c4b5fd;
      border-color: rgba(139, 92, 246, 0.35);
    }
    .scenario-badge.sc-larc {
      background: rgba(236, 72, 153, 0.2);
      color: #fbcfe8;
      border-color: rgba(236, 72, 153, 0.35);
    }
    .scenario-badge.sc-uaf {
      background: rgba(239, 68, 68, 0.2);
      color: #fca5a5;
      border-color: rgba(239, 68, 68, 0.35);
    }
    .scenario-badge.sc-default {
      background: rgba(100, 116, 139, 0.2);
      color: #cbd5e1;
      border-color: rgba(100, 116, 139, 0.35);
    }

    /* Стили колонок статов в карточках ветеранов */
    .stat-col-box {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 6px 3px;
      border-radius: 12px;
      border: 1px solid var(--border-subtle, rgba(38, 53, 69, 0.65));
      background: rgba(20, 29, 35, 0.8);
      transition: transform 0.15s ease, border-color 0.15s ease;
    }
    .stat-col-box:hover {
      transform: translateY(-1px);
    }
    .stat-col-speed {
      background: linear-gradient(180deg, rgba(14, 165, 233, 0.14), rgba(20, 29, 35, 0.85));
      border-color: rgba(14, 165, 233, 0.25);
    }
    .stat-col-stamina {
      background: linear-gradient(180deg, rgba(244, 63, 94, 0.14), rgba(20, 29, 35, 0.85));
      border-color: rgba(244, 63, 94, 0.25);
    }
    .stat-col-power {
      background: linear-gradient(180deg, rgba(245, 158, 11, 0.14), rgba(20, 29, 35, 0.85));
      border-color: rgba(245, 158, 11, 0.25);
    }
    .stat-col-guts {
      background: linear-gradient(180deg, rgba(236, 72, 153, 0.14), rgba(20, 29, 35, 0.85));
      border-color: rgba(236, 72, 153, 0.25);
    }
    .stat-col-wit {
      background: linear-gradient(180deg, rgba(16, 185, 129, 0.14), rgba(20, 29, 35, 0.85));
      border-color: rgba(16, 185, 129, 0.25);
    }
    /* Компактный режим для карточек нераскрытых Ум во "Все ветераны" */
    .stat-col-compact {
      padding: 3.5px 2px !important;
      border-radius: 9px !important;
    }
    .stat-col-compact .stat-col-hdr {
      font-size: 8px !important;
      gap: 1.5px !important;
      line-height: 1 !important;
    }
    .stat-col-compact .stat-col-val {
      font-size: 11px !important;
      margin: 1.5px 0 1px 0 !important;
    }
    .stat-col-compact .stat-rank-wrap {
      min-height: 17px !important;
    }
    .stat-col-compact .stat-rank-img {
      height: 16px !important;
      max-width: 32px !important;
    }
    .stat-col-compact .stat-col-rank {
      font-size: 8px !important;
      padding: 0.5px 3.5px !important;
    }
    @media (min-width: 640px) {
      .stat-col-compact {
        padding: 5px 3px !important;
        border-radius: 11px !important;
      }
      .stat-col-compact .stat-col-hdr {
        font-size: 8.5px !important;
      }
      .stat-col-compact .stat-col-val {
        font-size: 13.5px !important;
        margin: 2px 0 1px 0 !important;
      }
      .stat-col-compact .stat-rank-wrap {
        min-height: 20px !important;
      }
      .stat-col-compact .stat-rank-img {
        height: 18px !important;
        max-width: 36px !important;
      }
    }
    .stat-col-hdr {
      font-size: 9px;
      font-weight: 800;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 2px;
      line-height: 1;
      opacity: 0.9;
    }
    .stat-col-speed .stat-col-hdr { color: #34d399; }
    .stat-col-stamina .stat-col-hdr { color: #fb7185; }
    .stat-col-power .stat-col-hdr { color: #fbbf24; }
    .stat-col-guts .stat-col-hdr { color: #f472b6; }
    .stat-col-wit .stat-col-hdr { color: #34d399; }
    .stat-hdr-icon {
      width: 18px;
      height: 18px;
      object-fit: contain;
      margin: 0 auto;
      display: block;
      filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
    }
    .stat-col-compact .stat-hdr-icon {
      width: 15px;
      height: 15px;
    }
    @media (min-width: 640px) {
      .stat-hdr-icon {
        width: 22px;
        height: 22px;
      }
    }
    .stat-col-val {
      font-family: ui-monospace, monospace;
      font-weight: 900;
      font-size: 13px;
      color: #fff;
      line-height: 1.1;
      margin: 3px 0 2px 0;
    }
    @media (min-width: 640px) {
      .stat-col-val {
        font-size: 15px;
      }
    }
    .stat-rank-wrap {
      min-height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .stat-rank-img {
      height: 22px;
      width: auto;
      max-width: 44px;
      object-fit: contain;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: crisp-edges;
      filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7));
      transition: transform 0.15s ease;
      display: inline-block;
    }
    .horse-hall-card:hover .stat-rank-img {
      transform: scale(1.1);
    }
    @media (max-width: 640px) {
      .stat-rank-img {
        height: 19px;
        max-width: 38px;
      }
      .stat-rank-wrap {
        min-height: 20px;
      }
    }
    .stat-col-rank {
      font-size: 8.5px;
      font-weight: 900;
      padding: 1px 5px;
      border-radius: 5px;
      line-height: 1.1;
      text-transform: uppercase;
      letter-spacing: 0.3px;
    }
    .stat-col-rank.sr-uf {
      background: linear-gradient(135deg, #06b6d4, #a855f7);
      color: #fff;
      box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
    }
    .stat-col-rank.sr-ug {
      background: linear-gradient(135deg, #a855f7, #ec4899);
      color: #fff;
      box-shadow: 0 0 6px rgba(168, 85, 247, 0.5);
    }
    .stat-col-rank.sr-ss {
      background: linear-gradient(135deg, #f59e0b, #ef4444);
      color: #fff;
      box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
    }
    .stat-col-rank.sr-s {
      background: linear-gradient(135deg, #8b5cf6, #3b82f6);
      color: #fff;
    }
    .stat-col-rank.sr-a {
      background: rgba(239, 68, 68, 0.25);
      color: #fca5a5;
      border: 1px solid rgba(239, 68, 68, 0.4);
    }
    .stat-col-rank.sr-b {
      background: rgba(245, 158, 11, 0.25);
      color: #fde68a;
      border: 1px solid rgba(245, 158, 11, 0.4);
    }
    .stat-col-rank.sr-c {
      background: rgba(16, 185, 129, 0.2);
      color: #a7f3d0;
      border: 1px solid rgba(16, 185, 129, 0.35);
    }
    .stat-col-rank.sr-below {
      background: rgba(148, 163, 184, 0.2);
      color: #cbd5e1;
      border: 1px solid rgba(148, 163, 184, 0.3);
    }

    /* Блок пригодности в аутентичном стиле uma.moe */
    .aptitudes-panel {
      border: 1px solid var(--border-subtle, rgba(38, 53, 69, 0.65));
      background: rgba(20, 29, 35, 0.88);
    }
    .apt-badge-item {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 11px;
    }
    .apt-letter-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 17px;
      height: 17px;
      border-radius: 4px;
      font-weight: 900;
      font-size: 10.5px;
      line-height: 1;
      letter-spacing: -0.2px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    }
    .apt-pill-s { background: #f59e0b; color: #1e1b4b; }
    .apt-pill-a { background: #ea580c; color: #ffffff; }
    .apt-pill-b { background: #eab308; color: #1c1917; }
    .apt-pill-c { background: #10b981; color: #ffffff; }
    .apt-pill-d { background: #0284c7; color: #ffffff; }
    .apt-pill-e { background: #8b5cf6; color: #ffffff; }
    .apt-pill-f { background: #475569; color: #cbd5e1; }
    .apt-pill-g { background: #1e293b; color: #64748b; }

    /* Бейджи навыков персонажа (Learned skills) */
    .skill-chip {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 2px 7px 2px 4px;
      border-radius: 7px;
      font-size: 11px;
      background: rgba(20, 29, 35, 0.9);
      border: 1px solid var(--border-subtle, rgba(38, 53, 69, 0.75));
      color: #f1f5f9;
      transition: transform 0.15s ease, border-color 0.15s ease;
      max-width: 100%;
    }
    .skill-chip:hover {
      border-color: rgba(16, 185, 129, 0.45);
      transform: translateY(-1px);
    }
    .skill-chip-gold {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(20, 29, 35, 0.95));
      border-color: rgba(245, 158, 11, 0.5);
      color: #fef08a;
    }
    .skill-chip-unique {
      background: linear-gradient(135deg, rgba(244, 114, 182, 0.16), rgba(20, 29, 35, 0.95));
      border-color: rgba(236, 72, 153, 0.5);
      color: #fbcfe8;
    }
    .skill-chip-icon {
      width: 18px;
      height: 18px;
      object-fit: contain;
      border-radius: 3px;
      shrink-0;
    }
    .skill-chip-name {
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 140px;
    }
    @media (min-width: 640px) {
      .skill-chip-name {
        max-width: 190px;
      }
    }
    .skill-chip-lv {
      font-size: 9px;
      font-weight: 800;
      font-family: ui-monospace, monospace;
      padding: 0 4px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.15);
      color: #fff;
    }

    .chara-roster-card {
      cursor: pointer;
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .chara-roster-card:hover {
      transform: translateY(-2px);
      border-color: rgba(245, 158, 11, 0.4);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    }

    .aptitude-item {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      color: #cbd5e1;
    }

    /* ========================================================
       СТИЛИ ВКЛАДКИ ТИТУЛОВ (HONORS / TITLES)
       ======================================================== */
    .honor-plate-card {
      background: linear-gradient(145deg, rgba(22, 33, 52, 0.96), rgba(10, 16, 29, 0.92));
      border: 1px solid rgba(148, 163, 184, 0.18);
      border-radius: 14px;
      min-height: 56px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 7px 12px;
      cursor: pointer;
      user-select: none;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
      overflow: hidden;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 12px rgba(0, 0, 0, 0.18);
    }
    .honor-plate-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.06) 50%, transparent 75%);
      transform: translateX(-100%);
      transition: transform 0.45s ease;
      pointer-events: none;
    }
    .honor-plate-card:hover {
      border-color: rgba(251, 191, 36, 0.5);
      transform: translateY(-2px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 20px -4px rgba(0, 0, 0, 0.65);
    }
    .honor-plate-card:hover::before {
      transform: translateX(100%);
    }
    .honor-plate-card.honor-plate--obtained {
      border-color: rgba(52, 211, 153, 0.32);
      background: linear-gradient(145deg, rgba(12, 48, 48, 0.72), rgba(10, 22, 34, 0.94));
    }
    .honor-plate-card.honor-plate--obtained:hover {
      border-color: rgba(52, 211, 153, 0.65);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 20px -4px rgba(16, 185, 129, 0.35);
    }
    .honor-plate-card.is-active {
      border-color: #fbbf24 !important;
      outline: 2px solid rgba(251, 191, 36, 0.8);
      outline-offset: 1px;
      box-shadow: 0 0 22px rgba(245, 158, 11, 0.38), inset 0 0 20px rgba(245, 158, 11, 0.08) !important;
      background: linear-gradient(145deg, rgba(74, 48, 13, 0.78), rgba(24, 25, 34, 0.96)) !important;
    }
    .honor-plate-card.honor-plate--locked {
      opacity: 0.65;
    }
    .honor-plate-card.honor-plate--locked:hover {
      opacity: 0.95;
    }
    .honor-plate-img {
      max-width: 100%;
      height: 30px;
      object-fit: contain;
      display: block;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
      transition: transform 0.2s ease, filter 0.2s ease;
      will-change: transform;
    }
    .honor-plate-card:hover .honor-plate-img {
      transform: scale(1.02);
      filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.65)) brightness(1.05);
    }
    .honor-plate-card .honor-badge-pill:hover {
      transform: none;
      box-shadow: none;
    }

    .honor-badge-pill {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 5px 12px 5px 6px;
      border-radius: 9999px;
      min-width: 0;
      width: 100%;
      cursor: pointer;
      user-select: none;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
    }
    .honor-badge-pill:hover {
      transform: translateY(-2px);
      filter: brightness(1.08);
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    }
    .honor-badge-pill.is-active {
      outline: 2px solid #60a5fa;
      outline-offset: 2px;
      box-shadow: 0 0 16px rgba(96, 165, 250, 0.65) !important;
    }
    .honor-badge-lg {
      padding: 5px 12px 5px 6px;
      gap: 8px;
      width: auto;
      max-width: 100%;
    }
    .honor-badge-icon {
      width: 30px;
      height: 30px;
      border-radius: 9999px;
      background: rgba(0, 0, 0, 0.35);
      border: 1.5px solid rgba(255, 255, 255, 0.85);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      overflow: hidden;
      font-size: 14px;
    }
    .honor-badge-lg .honor-badge-icon {
      width: 32px;
      height: 32px;
      font-size: 16px;
      border-width: 1.5px;
    }
    .honor-chara-avatar {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 9999px;
    }
    .honor-badge-text {
      font-weight: 800;
      font-size: 12px;
      color: #ffffff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.7);
      letter-spacing: 0.015em;
    }
    .honor-badge-lg .honor-badge-text {
      font-size: 12px;
    }
    
    /* Rank color schemes */
    .honor-rank-1 {
      background: linear-gradient(135deg, #78350f 0%, #b45309 40%, #92400e 70%, #d97706 100%);
      border: 1.5px solid #fed7aa;
      box-shadow: 0 2px 8px rgba(180, 83, 9, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    }
    .honor-rank-2 {
      background: linear-gradient(135deg, #475569 0%, #94a3b8 40%, #64748b 70%, #cbd5e1 100%);
      border: 1.5px solid #f8fafc;
      box-shadow: 0 2px 8px rgba(148, 163, 184, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    }
    .honor-rank-3 {
      background: linear-gradient(135deg, #b45309 0%, #f59e0b 35%, #d97706 70%, #fbbf24 100%);
      border: 1.5px solid #fef08a;
      box-shadow: 0 2px 10px rgba(245, 158, 11, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.7);
    }
    .honor-rank-4 {
      background: linear-gradient(135deg, #6d28d9 0%, #a855f7 35%, #7c3aed 70%, #c084fc 100%);
      border: 1.5px solid #f3e8ff;
      box-shadow: 0 2px 12px rgba(168, 85, 247, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.75);
    }
    .honor-rank-5 {
      background: linear-gradient(135deg, #ec4899 0%, #f97316 25%, #eab308 50%, #22c55e 75%, #06b6d4 100%);
      border: 1.5px solid #ffffff;
      box-shadow: 0 2px 14px rgba(236, 72, 153, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    }

    .profile-hero-honor {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }
    .profile-hero-oshi {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 3.5px 12px 3.5px 5px;
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(236, 72, 153, 0.16) 0%, rgba(168, 85, 247, 0.12) 60%, rgba(244, 114, 182, 0.08) 100%);
      border: 1px solid rgba(244, 114, 182, 0.4);
      backdrop-filter: blur(8px);
      box-shadow: 0 4px 18px -2px rgba(236, 72, 153, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .profile-hero-oshi:hover {
      background: linear-gradient(135deg, rgba(236, 72, 153, 0.22) 0%, rgba(168, 85, 247, 0.18) 60%, rgba(244, 114, 182, 0.14) 100%);
      border-color: rgba(244, 114, 182, 0.7);
      transform: translateY(-1px);
      box-shadow: 0 6px 22px rgba(236, 72, 153, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
    .profile-hero-oshi--empty {
      border-style: dashed;
      background: rgba(236, 72, 153, 0.08);
      border-color: rgba(236, 72, 153, 0.4);
    }
    .profile-hero-oshi--empty:hover {
      background: rgba(236, 72, 153, 0.16);
      border-color: rgba(236, 72, 153, 0.7);
    }
    .profile-hero-oshi-tag {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3.5px 8px;
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(236, 72, 153, 0.35) 0%, rgba(219, 39, 119, 0.45) 100%);
      border: 1px solid rgba(244, 114, 182, 0.6);
      font-size: 9.5px;
      font-weight: 900;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #ffffff;
      line-height: 1;
      flex-shrink: 0;
      box-shadow: 0 2px 6px rgba(219, 39, 119, 0.3);
    }
    .profile-hero-oshi-char {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-width: 0;
    }
    .profile-hero-oshi-avatar {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      object-fit: contain;
      flex-shrink: 0;
      border: 0;
      background: transparent;
      box-shadow: none;
    }
    .profile-hero-oshi-name {
      font-size: 13px;
      font-weight: 900;
      color: #ffffff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 180px;
      min-width: 0;
    }
    @media (min-width: 640px) {
      .profile-hero-oshi-name {
        max-width: 320px;
      }
    }
    .profile-hero-oshi-edit {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
      border-radius: 999px;
      background: rgba(236, 72, 153, 0.25);
      border: 1px solid rgba(244, 114, 182, 0.45);
      color: #fbcfe8;
      font-size: 9px;
      flex-shrink: 0;
      margin-left: 2px;
      transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    }
    .profile-hero-oshi-edit .icon {
      width: 10px;
      height: 10px;
    }
    .profile-hero-oshi:hover .profile-hero-oshi-edit {
      background: rgba(236, 72, 153, 0.45);
      color: #ffffff;
      transform: scale(1.1);
    }
    html[data-theme="light"] .profile-hero-oshi-edit {
      background: rgba(236, 72, 153, 0.15);
      border-color: rgba(219, 39, 119, 0.35);
      color: #be185d;
    }
    html[data-theme="light"] .profile-hero-oshi {
      background: #fdf2f8;
      border-color: #fbcfe8;
      box-shadow: 0 2px 10px rgba(236, 72, 153, 0.1);
    }
    html[data-theme="light"] .profile-hero-oshi-tag {
      background: #fce7f3;
      border-color: #f472b6;
      color: #db2777;
    }
    html[data-theme="light"] .profile-hero-oshi-name {
      color: #831843;
    }
    .oshi-card--special {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(236, 72, 153, 0.18)) !important;
      border-color: rgba(245, 158, 11, 0.45) !important;
    }
    .oshi-card--special:hover {
      border-color: rgba(245, 158, 11, 0.8) !important;
      box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25) !important;
    }
    .oshi-card-avatar--gold {
      background: rgba(245, 158, 11, 0.2) !important;
      border: 1px solid rgba(245, 158, 11, 0.5) !important;
    }

    .career-stat-icon {
      width: 20px;
      height: 20px;
      object-fit: contain;
      display: block;
      margin: 0 auto;
      flex-shrink: 0;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
    }
    .career-stat-fallback {
      font-size: 17px;
      line-height: 1;
      height: 20px;
      align-items: center;
      justify-content: center;
    }
    @media (min-width: 640px) {
      .career-stat-icon {
        width: 22px;
        height: 22px;
      }
    }

    /* Модальное окно выбора Оши */
    .oshi-modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 100060;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      background: rgba(2, 6, 23, 0.82);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    .oshi-modal-panel {
      width: 100%;
      max-width: 760px;
      max-height: 86vh;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border-radius: 20px;
      background: linear-gradient(160deg, #141b2b, #0b101c 72%);
      border: 1px solid rgba(236, 72, 153, 0.3);
      box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), inset 0 1px rgba(255, 255, 255, 0.05);
    }
    .oshi-modal-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      padding: 16px 18px 13px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    .oshi-modal-title {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 15px;
      font-weight: 900;
      color: #ffffff;
      letter-spacing: -0.01em;
    }
    .oshi-modal-sub {
      margin-top: 3px;
      font-size: 11.5px;
      line-height: 1.45;
      color: #94a3b8;
    }
    .oshi-modal-close {
      width: 32px;
      height: 32px;
      flex-shrink: 0;
      border: 0;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      color: #e2e8f0;
      font-size: 20px;
      line-height: 1;
      cursor: pointer;
      transition: background 0.15s ease, color 0.15s ease;
    }
    .oshi-modal-close:hover {
      background: rgba(236, 72, 153, 0.28);
      color: #ffffff;
    }
    .oshi-modal-search {
      position: relative;
      display: flex;
      align-items: center;
      padding: 12px 18px 0;
    }
    .oshi-modal-search .icon {
      position: absolute;
      left: 32px;
      width: 15px;
      height: 15px;
      color: #64748b;
      pointer-events: none;
    }
    .oshi-modal-search input {
      width: 100%;
      height: 42px;
      padding: 0 38px;
      border-radius: 12px;
      background: rgba(2, 6, 23, 0.6);
      border: 1px solid rgba(148, 163, 184, 0.18);
      color: #ffffff;
      font-size: 12.5px;
      outline: none;
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }
    .oshi-modal-search input::placeholder {
      color: #64748b;
    }
    .oshi-modal-search input::-webkit-search-cancel-button {
      display: none;
    }
    .oshi-modal-search input:focus {
      border-color: rgba(236, 72, 153, 0.65);
      box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.14);
    }
    .oshi-modal-clear {
      position: absolute;
      right: 28px;
      width: 22px;
      height: 22px;
      border: 0;
      border-radius: 999px;
      background: rgba(148, 163, 184, 0.18);
      color: #cbd5e1;
      font-size: 10px;
      line-height: 1;
      cursor: pointer;
    }
    .oshi-modal-clear:hover {
      background: rgba(148, 163, 184, 0.32);
      color: #ffffff;
    }
    .oshi-modal-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
      padding: 12px 18px 16px;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(148, 163, 184, 0.3) transparent;
    }
    .oshi-modal-grid::-webkit-scrollbar {
      width: 6px;
    }
    .oshi-modal-grid::-webkit-scrollbar-thumb {
      background: rgba(148, 163, 184, 0.28);
      border-radius: 999px;
    }
    .oshi-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      min-width: 0;
      padding: 10px 6px;
      border-radius: 14px;
      background: rgba(30, 41, 59, 0.5);
      border: 1px solid rgba(148, 163, 184, 0.14);
      cursor: pointer;
      transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    }
    .oshi-card:hover {
      transform: translateY(-1px);
      border-color: rgba(236, 72, 153, 0.45);
      background: rgba(49, 30, 48, 0.6);
    }
    .oshi-card.is-active {
      border-color: #ec4899;
      background: linear-gradient(160deg, rgba(236, 72, 153, 0.22), rgba(30, 41, 59, 0.6));
      box-shadow: inset 0 0 0 1px rgba(236, 72, 153, 0.5), 0 10px 22px -16px rgba(236, 72, 153, 0.8);
    }
    .oshi-card:disabled {
      opacity: 0.6;
      cursor: wait;
    }
    .oshi-card-avatar {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      border-radius: 999px;
      overflow: hidden;
      background: rgba(236, 72, 153, 0.14);
      flex-shrink: 0;
    }
    .oshi-card-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .oshi-card-name {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      max-width: 100%;
      font-size: 10px;
      font-weight: 700;
      line-height: 1.25;
      text-align: center;
      color: #e2e8f0;
    }
    .oshi-modal-empty {
      grid-column: 1 / -1;
      padding: 26px 10px;
      text-align: center;
      font-size: 12px;
      color: #94a3b8;
    }
    .oshi-modal-foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 10px 18px 14px;
      border-top: 1px solid rgba(255, 255, 255, 0.07);
      font-size: 11px;
      color: #94a3b8;
    }
    .oshi-modal-count {
      white-space: nowrap;
    }
    .oshi-modal-remove {
      margin-left: auto;
      padding: 6px 12px;
      border-radius: 9px;
      border: 1px solid rgba(248, 113, 113, 0.4);
      background: rgba(239, 68, 68, 0.12);
      color: #fca5a5;
      font-size: 11px;
      font-weight: 800;
      cursor: pointer;
      transition: background 0.15s ease, color 0.15s ease;
    }
    .oshi-modal-remove:hover {
      background: rgba(239, 68, 68, 0.24);
      color: #ffffff;
    }
    .oshi-modal-saving {
      margin-left: auto;
      font-weight: 700;
      color: #f9a8d4;
    }
    @media (max-width: 639px) {
      .oshi-modal-overlay {
        padding: 8px;
      }
      .oshi-modal-panel {
        max-height: 92vh;
      }
      .oshi-modal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 10px 12px 14px;
      }
      .oshi-modal-head,
      .oshi-modal-search,
      .oshi-modal-foot {
        padding-left: 12px;
        padding-right: 12px;
      }
      .oshi-modal-search .icon {
        left: 26px;
      }
      .oshi-modal-clear {
        right: 22px;
      }
    }
    @media (max-width: 380px) {
      .oshi-modal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    html[data-theme="light"] .oshi-modal-panel {
      background: linear-gradient(160deg, #ffffff, #f8fafc);
      border-color: rgba(236, 72, 153, 0.28);
      box-shadow: 0 30px 70px -24px rgba(15, 23, 42, 0.4);
    }
    html[data-theme="light"] .oshi-modal-title {
      color: #0f172a;
    }
    html[data-theme="light"] .oshi-modal-sub,
    html[data-theme="light"] .oshi-modal-count,
    html[data-theme="light"] .oshi-modal-empty {
      color: #64748b;
    }
    html[data-theme="light"] .oshi-modal-search input {
      background: #ffffff;
      border-color: rgba(148, 163, 184, 0.35);
      color: #0f172a;
    }
    html[data-theme="light"] .oshi-card {
      background: #ffffff;
      border-color: rgba(148, 163, 184, 0.28);
    }
    html[data-theme="light"] .oshi-card:hover {
      background: #fdf2f8;
      border-color: rgba(236, 72, 153, 0.45);
    }
    html[data-theme="light"] .oshi-card.is-active {
      background: #fce7f3;
      border-color: #ec4899;
    }
    html[data-theme="light"] .oshi-card-name {
      color: #0f172a;
    }
    .honor-locked {
      background: rgba(30, 41, 59, 0.6) !important;
      border: 1.5px dashed rgba(148, 163, 184, 0.3) !important;
      box-shadow: none !important;
      opacity: 0.6;
      filter: grayscale(0.5);
    }
    .honor-locked:hover {
      opacity: 0.85;
      filter: grayscale(0.15);
    }
    .honor-filter-chip {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 5px 11px;
      border-radius: 9999px;
      font-size: 11.5px;
      font-weight: 700;
      background: rgba(30, 41, 59, 0.75);
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: #94a3b8;
      cursor: pointer;
      transition: all 0.18s ease;
      white-space: nowrap;
      user-select: none;
    }
    .honor-filter-chip:hover {
      color: #ffffff;
      background: rgba(59, 130, 246, 0.15);
      border-color: rgba(59, 130, 246, 0.3);
    }
    .honor-filter-chip.active {
      background: linear-gradient(135deg, #2563eb, #6366f1);
      color: #ffffff;
      border-color: rgba(255, 255, 255, 0.2);
      box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
    }
    .honor-progress-bar {
      height: 8px;
      border-radius: 9999px;
      background: rgba(255, 255, 255, 0.08);
      overflow: hidden;
      position: relative;
    }
    .honor-progress-fill {
      height: 100%;
      border-radius: 9999px;
      background: linear-gradient(90deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
      box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
      transition: width 0.4s ease;
    }

    /* ===== Кнопки действий внутри профиля (2026) ===== */
    /* Кнопки действий в hero-карточке */
    .profile-hero-actions {
      align-content: stretch;
    }
    .profile-hero-actions .hero-btn-secondary,
    .profile-hero-actions .hero-btn-primary {
      position: relative;
      border-radius: 13px;
      overflow: hidden;
      isolation: isolate;
      transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
    }
    .profile-hero-actions .hero-btn-primary {
      min-height: 42px;
    }
    .profile-hero-actions .hero-btn-secondary {
      min-height: 38px;
    }
    .profile-hero-actions .hero-btn-secondary .icon,
    .profile-hero-actions .hero-btn-primary .icon {
      width: 15px;
      height: 15px;
      flex-shrink: 0;
    }
    .profile-hero-actions .hero-btn-secondary:hover {
      transform: translateY(-1px);
    }
    .profile-hero-actions .hero-btn-primary {
      box-shadow: 0 10px 24px -10px rgba(245, 158, 11, 0.55), inset 0 1px rgba(255, 255, 255, 0.35);
    }
    .profile-hero-actions .hero-btn-primary::after {
      position: absolute;
      inset: 0;
      z-index: -1;
      background: linear-gradient(110deg, rgba(255, 255, 255, 0.35), transparent 45%);
      content: "";
      opacity: 0.55;
      pointer-events: none;
    }
    .profile-hero-actions .hero-btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 14px 28px -10px rgba(245, 158, 11, 0.7), inset 0 1px rgba(255, 255, 255, 0.45);
    }
    .profile-share-btn {
      min-height: 44px;
      border-radius: 13px;
      border-color: rgba(56, 189, 248, 0.32) !important;
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(59, 130, 246, 0.06)) !important;
      color: #bae6fd !important;
      box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
    }
    .profile-share-btn:hover {
      border-color: rgba(125, 211, 252, 0.6) !important;
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.26), rgba(59, 130, 246, 0.12)) !important;
      color: #ffffff !important;
      box-shadow: 0 10px 22px -14px rgba(56, 189, 248, 0.6), inset 0 1px rgba(255, 255, 255, 0.12);
    }

    /* Полоса вкладок профиля */
    .profile-tab-btn .icon {
      width: 15px;
      height: 15px;
      flex-shrink: 0;
      opacity: 0.8;
      transition: opacity 0.18s ease, transform 0.18s ease;
    }
    .profile-tab-btn:hover .icon {
      opacity: 1;
    }
    .profile-tab-btn.active .icon {
      opacity: 1;
      transform: scale(1.06);
    }
    .profile-tab-btn.active {
      background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
      border-color: rgba(255, 255, 255, 0.22) !important;
      box-shadow: 0 6px 18px -6px rgba(37, 99, 235, 0.7), inset 0 1px rgba(255, 255, 255, 0.24) !important;
    }
    .profile-tab-btn:active {
      transform: scale(0.975);
    }
    .profile-tab-badge {
      background: rgba(255, 255, 255, 0.16);
      transition: background 0.18s ease;
    }
    .profile-tab-btn:hover .profile-tab-badge {
      background: rgba(255, 255, 255, 0.26);
    }
    .profile-tab-btn.active .profile-tab-badge {
      background: rgba(255, 255, 255, 0.28);
    }
    @media (max-width: 639px) {
      .profile-tab-btn {
        gap: 5px;
      }
      .profile-tab-btn .icon {
        width: 14px;
        height: 14px;
      }
    }
    @media (max-width: 389px) {
      .stat-vet-badge {
        font-size: 8.5px;
      }
      .stat-vet-badge .icon {
        display: none;
      }
    }

    /* Вторичные кнопки внутри карточек */
    .skills-toggle-btn {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px 8px;
      border-radius: 8px;
      border: 1px solid rgba(56, 189, 248, 0.22);
      background: rgba(56, 189, 248, 0.1);
      color: #6ee7b7;
      line-height: 1.4;
      white-space: nowrap;
      transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }
    .skills-toggle-btn:hover {
      background: rgba(56, 189, 248, 0.22);
      border-color: rgba(56, 189, 248, 0.42);
      color: #ffffff;
    }
    .profile-chip-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      min-height: 32px;
      border-radius: 10px;
      transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    }
    .profile-chip-btn:hover {
      border-color: rgba(148, 163, 184, 0.35);
    }

    /* Светлая тема для новых кнопок профиля */
    html[data-theme="light"] .profile-share-btn {
      border-color: #bae6fd !important;
      background: linear-gradient(135deg, #e0f2fe, #f0f9ff) !important;
      color: #075985 !important;
      box-shadow: inset 0 1px #ffffff;
    }
    html[data-theme="light"] .profile-share-btn:hover {
      border-color: #7dd3fc !important;
      background: linear-gradient(135deg, #bae6fd, #e0f2fe) !important;
      color: #0c4a6e !important;
      box-shadow: 0 10px 22px -16px rgba(2, 132, 199, 0.5), inset 0 1px #ffffff;
    }
    html[data-theme="light"] .profile-hero-actions .hero-btn-secondary {
      background: #f1f5f9;
      border-color: rgba(148, 163, 184, 0.4);
      color: #334155;
    }
    html[data-theme="light"] .profile-hero-actions .hero-btn-secondary:hover {
      background: #e2e8f0;
      border-color: rgba(100, 116, 139, 0.45);
      color: #0f172a;
    }
    html[data-theme="light"] .skills-toggle-btn {
      color: #0369a1;
      background: #e0f2fe;
      border-color: #bae6fd;
    }
    html[data-theme="light"] .skills-toggle-btn:hover {
      color: #075985;
      background: #bae6fd;
      border-color: #6ee7b7;
    }
    html[data-theme="light"] .profile-chip-btn {
      background: #f1f5f9;
      border-color: rgba(148, 163, 184, 0.35);
      color: #475569;
    }
    html[data-theme="light"] .profile-chip-btn:hover {
      background: #e2e8f0;
      color: #0f172a;
    }
