/* Search Page Styles - extends base.css */
    :root {
      --shell-width: min(1100px, 94vw);
    }

    body {
      padding: 40px 0 120px;
    }

    .shell {
      width: var(--shell-width);
      margin: 0 auto;
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    .top-bar {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      padding: 12px 6px 6px;
      gap: 12px;
      min-height: 56px;
    }

    .top-bar--brand-right {
      grid-template-columns: 1fr auto;
    }

    .top-bar__slot {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .top-bar__slot--left {
      justify-content: flex-start;
    }

    .top-bar__slot--right {
      justify-content: flex-end;
    }

    .top-bar__brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-align: center;
      justify-self: center;
    }

    .top-bar--brand-right .top-bar__brand {
      justify-self: end;
      text-align: right;
      align-items: flex-end;
    }

    /* .back-link and .logo are in base.css */

    .hero {
      padding: 40px;
      border-radius: var(--panel-radius);
      background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.8));
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

    .hero h1 {
      margin: 0;
      font-size: clamp(2.3rem, 4vw, 3.3rem);
    }

    .hero p {
      margin: 16px 0 0;
      color: var(--subtle);
      max-width: 640px;
      line-height: 1.6;
    }

    .search-hint {
      display: none;
    }

    /* .panel is in base.css, adding page-specific override */
    .panel {
      /* backdrop-filter removed for performance - causes scroll lag */
      background: rgba(15, 23, 42, 0.95);
    }

    /* Search bar above panel */
    .search-bar-container {
      width: 100%;
      max-width: 500px;
      margin: -40px auto 16px;
      position: relative;
      z-index: 50;
    }

    .search-bar-container .search-input-group {
      margin: 0;
    }

    .search-bar-container .search-input-group input {
      width: 100%;
      text-align: center;
      font-size: 1.1rem;
      padding: 14px 20px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      background: rgba(15, 23, 42, 0.9);
    }

    .search-bar-container .suggestions {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: rgba(15, 23, 42, 0.98);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 0 0 16px 16px;
      max-height: 300px;
      overflow-y: auto;
      z-index: 51;
      margin: 0;
      list-style: none;
      padding: 0;
    }

    .search-bar-container .suggestions.visible {
      display: block;
    }

    .search-bar-container .suggestions li button {
      width: 100%;
      text-align: left;
      border: none;
      background: transparent;
      color: var(--text);
      padding: 12px 20px;
      font-size: 1rem;
      cursor: pointer;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .search-bar-container .suggestions li button:hover {
      background: rgba(99, 102, 241, 0.15);
    }

    /* Search panel - full width for athlete card */
    .search-panel {
      display: block;
      padding: 0;
      background: transparent;
      border: none;
      box-shadow: none;
      position: relative;
    }

    .search-panel .athlete-card {
      position: relative;
      width: 100%;
      padding: 20px 24px;
      display: flex;
      flex-direction: column;
      background: rgba(15, 23, 42, 0.8);
      border: 2px solid transparent;
      border-radius: var(--panel-radius);
      gap: 12px;
    }

    /* Main content row - info left, badges right */
    .athlete-card__content {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
      width: 100%;
    }

    .athlete-card__info {
      display: flex;
      flex-direction: column;
      gap: 8px;
      text-align: left;
      flex: 1;
    }

    .athlete-card__info h2 {
      font-size: 1.5rem;
      margin: 0;
      line-height: 1.2;
    }

    .search-panel .athlete-tags {
      justify-content: flex-start;
      margin: 0;
    }

    .search-panel .athlete-mini-stats {
      justify-content: flex-start;
      display: flex;
      gap: 24px;
      margin: 0;
    }

    .search-panel .athlete-mini-stats > div {
      text-align: left;
    }

    /* Badges on the right side */
    .search-panel .athlete-badges[data-athlete-badges] {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      margin: 0;
      padding: 0;
      flex-shrink: 0;
    }

    /* Lifts grid inside athlete card */
    .athlete-lifts-grid {
      display: flex;
      justify-content: space-around;
      gap: 16px;
      padding-top: 12px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      width: 100%;
    }

    .athlete-lift {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      flex: 1;
    }

    .athlete-lift .lift-label {
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.65rem;
      color: var(--subtle);
    }

    .athlete-lift .lift-value {
      font-size: 1.3rem;
      font-weight: 600;
      color: var(--text);
    }

    .search-input-group {
      display: flex;
      gap: 10px;
      margin-top: 16px;
    }

    input,
    select,
    button {
      font-family: inherit;
    }

    input[type="text"],
    input[type="number"],
    input[type="date"] {
      flex: 1;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(0, 0, 0, 0.35);
      color: var(--text);
      padding: 12px 16px;
      font-size: 1rem;
    }

    button {
      border-radius: 14px;
      border: none;
      background: linear-gradient(120deg, var(--accent-one), var(--accent-two));
      color: #05050a;
      padding: 12px 20px;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.2s;
    }

    button:hover {
      transform: translateY(-2px);
    }

    .suggestions {
      list-style: none;
      margin: 12px 0 0;
      padding: 0;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      overflow: hidden;
      display: none;
    }

    .suggestions.visible {
      display: block;
    }

    .suggestions li button {
      width: 100%;
      text-align: left;
      border: none;
      background: rgba(255, 255, 255, 0.02);
      color: var(--text);
      padding: 12px 16px;
      font-size: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .suggestions li button:hover {
      background: rgba(255, 255, 255, 0.08);
    }

    .mini-label {
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.75rem;
      color: var(--subtle);
    }

    .athlete-card {
      position: relative;
      border-radius: 16px;
      padding: 24px;
      background: rgba(15, 23, 42, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .athlete-card h2[data-athlete-name] {
      margin: 0 0 16px 0;
    }

    .athlete-tags {
      display: flex;
      flex-wrap: nowrap;
      gap: 8px;
      margin: 32px 0 0;
      justify-content: flex-start;
    }

    .athlete-tags .tag {
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 4px 10px;
      font-size: 0.8rem;
      color: var(--subtle);
      white-space: nowrap;
    }

    .athlete-mini-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 16px;
      margin-top: 12px;
    }

    .athlete-mini-stats > div {
      display: flex;
      flex-direction: column;
      gap: 4px;
      align-items: flex-start;
      min-height: auto;
    }

    .mini-value {
      font-size: 1.1rem;
      font-weight: 600;
      line-height: 1.2;
      display: block;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }

    .stat-card {
      padding: 20px;
      border-radius: 16px;
      background: rgba(15, 23, 42, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.05);
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      gap: 8px;
      min-height: 140px;
      justify-content: space-between;
    }

    .stat-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent);
      opacity: 0;
      transition: opacity 0.35s;
    }

    .stat-card:hover::after {
      opacity: 1;
    }

    .stat-value {
      font-size: 2rem;
      font-weight: 600;
      letter-spacing: -0.03em;
      line-height: 1.2;
      display: block;
    }

    .chart-panel {
      position: relative;
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.4) 100%);
      border: 1px solid rgba(56, 189, 248, 0.1);
      border-radius: 20px;
      padding: 24px;
    }

    .chart-wrapper {
      width: 100%;
      height: 420px;
      position: relative;
      background: linear-gradient(135deg, rgba(2, 6, 23, 0.4) 0%, rgba(15, 23, 42, 0.2) 100%);
      border-radius: 16px;
      padding: 16px;
      border: 1px solid rgba(255, 255, 255, 0.04);
    }

    .status-line {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 24px;
      font-size: 0.9rem;
      color: var(--subtle);
    }

    .status-pill {
      background: rgba(255, 255, 255, 0.06);
      padding: 6px 14px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .status-pill.success {
      border-color: rgba(74, 222, 128, 0.7);
      color: #8ef1ae;
    }

    .status-pill.warn {
      border-color: #facc15;
      color: #fde68a;
    }

    /* Athlete meet history table */
    .history-table-wrapper {
      overflow-x: auto;
      margin: 0 -24px;
      padding: 0 24px;
    }

    .history-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.85rem;
    }

    .history-table th,
    .history-table td {
      padding: 11px 10px;
      text-align: left;
      white-space: nowrap;
    }

    .history-table th {
      position: sticky;
      top: 0;
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
      font-weight: 600;
      color: #94a3b8;
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      border-bottom: 1px solid rgba(99, 102, 241, 0.15);
      z-index: 1;
    }

    .history-table td {
      color: #d4d4d8;
    }

    .history-table tbody tr {
      border-bottom: 1px solid rgba(255, 255, 255, 0.03);
      transition: all 0.2s ease;
    }

    .history-table tbody tr:hover {
      background: rgba(99, 102, 241, 0.08);
    }

    .history-table tbody tr:hover td {
      color: #e4e4e7;
    }

    .history-table .col-date {
      width: 95px;
      color: #a1a1aa;
    }

    .history-table .col-place {
      width: 45px;
      text-align: center;
    }

    .history-table .col-fed {
      width: 50px;
    }

    .history-table .col-competition {
      min-width: 180px;
      max-width: 220px;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .history-table .col-lift {
      width: 65px;
      text-align: right;
    }

    .history-table .col-weight {
      width: 50px;
      text-align: right;
    }

    .history-table .col-total {
      width: 65px;
      text-align: right;
    }

    .history-table .col-glp {
      width: 55px;
      text-align: right;
    }

    .history-table td.col-lift {
      font-variant-numeric: tabular-nums;
      text-align: right;
      color: #d4d4d8;
    }

    /* Lift colors - unified blue for all three lifts */
    .history-table td.col-squat,
    .history-table td.col-bench,
    .history-table td.col-deadlift {
      font-variant-numeric: tabular-nums;
      text-align: right;
      color: #3b82f6; /* Blue for all lifts */
      font-weight: 500;
    }

    .history-table td.col-weight {
      font-variant-numeric: tabular-nums;
      text-align: right;
      color: #d4d4d8;
    }

    .history-table td.col-total {
      font-variant-numeric: tabular-nums;
      text-align: right;
      font-weight: 700;
      color: #a78bfa; /* Purple for total */
      background: rgba(167, 139, 250, 0.08);
    }

    .history-table td.col-glp {
      font-variant-numeric: tabular-nums;
      text-align: right;
      font-weight: 600;
      color: #fbbf24; /* Gold/amber for IPF GL */
      background: rgba(251, 191, 36, 0.08);
    }

    .history-table td.col-place {
      text-align: center;
      font-weight: 600;
      color: #e4e4e7;
    }

    .history-table td.col-fed {
      color: #d4d4d8;
    }

    .history-table td.col-competition {
      color: #a1a1aa;
    }

    .country-flag {
      width: 18px;
      height: 13px;
      object-fit: cover;
      border-radius: 2px;
      vertical-align: middle;
      margin-right: 6px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .meet-link {
      color: var(--accent-one);
      text-decoration: none;
      transition: color 0.15s ease;
    }

    .meet-link:hover {
      color: var(--text);
      text-decoration: underline;
    }

    .empty-state {
      text-align: center;
      color: var(--subtle);
      padding: 24px 0;
    }

    @media (max-width: 640px) {
      body {
        padding: 20px 0 80px;
      }
      .shell {
        gap: 16px;
      }
      .hero {
        display: none;
      }
      .panel {
        padding: 16px;
      }
      .hero h1 {
        font-size: 1.8rem;
      }
      /* Mobile search bar - compact and better positioned */
      .search-bar-container {
        max-width: 100%;
        margin: 0 16px 12px;
        width: auto;
      }
      .search-bar-container .search-input-group input {
        font-size: 0.95rem;
        padding: 10px 16px;
        border-radius: 12px;
      }
      .search-bar-container .suggestions {
        max-height: 200px;
        border-radius: 0 0 12px 12px;
      }
      .search-bar-container .suggestions li button {
        padding: 10px 16px;
        font-size: 0.9rem;
      }
      .search-panel {
        grid-template-columns: 1fr;
        gap: 16px;
      }
      .athlete-card {
        padding: 16px;
      }
      .athlete-tags {
        gap: 6px;
        margin: 8px 0 12px;
      }
      .athlete-tags .tag {
        font-size: 0.75rem;
        padding: 2px 8px;
      }
      .athlete-mini-stats {
        gap: 12px;
      }
      .athlete-mini-stats > div {
        min-height: auto;
      }
      .mini-value {
        font-size: 1.1rem;
      }
      .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }
      .stat-card {
        padding: 12px;
        min-height: 100px;
        gap: 4px;
      }
      .stat-value {
        font-size: 1.4rem;
      }
      .chart-wrapper {
        height: 240px;
        padding: 12px;
      }
      .chart-panel {
        padding: 16px;
      }
      th, td {
        padding: 8px 4px;
        font-size: 0.85rem;
      }
      /* Allow horizontal scrolling for history table on mobile */
      .history-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0 16px;
      }
      .history-table {
        min-width: 600px;
      }
      .history-table th,
      .history-table td {
        white-space: nowrap;
        padding: 8px 6px;
        font-size: 0.8rem;
      }
    }

    /* Admin delete button for search results */
    .btn-delete-small {
      background: transparent;
      border: 1px solid rgba(239, 68, 68, 0.5);
      color: #ef4444;
      width: 24px;
      height: 24px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 1rem;
      font-weight: bold;
      line-height: 1;
      padding: 0;
      transition: all 0.2s ease;
    }
    .btn-delete-small:hover {
      background: rgba(239, 68, 68, 0.2);
      border-color: #ef4444;
    }

    /* ========================================
       GAMIFICATION - Tier-Based Profile System
       ======================================== */

    /* Tier Levels - LoL-Style Ranked Border System
       Earned by competing at higher level meets
       1. Local (Iron) - Any competitor
       2. Regional (Bronze) - Regional meets
       3. Provincial/State (Silver) - Provincial championships
       4. National (Gold) - National championships  
       5. World Championship (Platinum) - IPF Worlds
       6. Sheffield (Diamond/Master) - Ultimate achievement
    */

    /* Base Athlete Card */
    .athlete-card {
      position: relative;
      overflow: visible;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      background: rgba(15, 23, 42, 0.6);
    }

    /* Search Panel Container - for tier border */
    .search-panel[data-tier] {
      position: relative;
      overflow: visible;
    }

    /* Thin border line - applied to athlete card instead */
    .search-panel[data-tier] .athlete-card {
      border: 2px solid var(--tier-border-color, transparent);
      box-shadow: 0 0 20px var(--tier-glow-color, transparent);
    }

    /* === TIER FRAME CONTAINER - Holds the emblems === */
    .tier-frame {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 5;
    }

    /* Emblem positions - centered crest emblems */
    .tier-emblem {
      position: absolute;
      pointer-events: none;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .tier-emblem--top {
      top: -26px;
      left: 50%;
      transform: translateX(-50%);
      width: 140px;
      height: 36px;
      z-index: 20;
    }

    .tier-emblem--bottom {
      bottom: -16px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 20px;
    }

    /* Mobile emblem positioning - closer to border */
    @media (max-width: 640px) {
      .tier-emblem--top {
        top: -18px;
        width: 100px;
        height: 28px;
      }
      .tier-emblem--bottom {
        bottom: -12px;
        width: 60px;
        height: 16px;
      }
    }

    /* Corner accents */
    .tier-corner-accent {
      position: absolute;
      width: 24px;
      height: 24px;
      pointer-events: none;
    }

    .tier-corner-accent--tl { top: -2px; left: -2px; }
    .tier-corner-accent--tr { top: -2px; right: -2px; transform: scaleX(-1); }
    .tier-corner-accent--bl { bottom: -2px; left: -2px; transform: scaleY(-1); }
    .tier-corner-accent--br { bottom: -2px; right: -2px; transform: scale(-1); }

    /* Hide old wing classes */
    .tier-wing, .tier-gem {
      display: none !important;
    }

    /* === TIER COLORS & EFFECTS === */
    
    /* TIER 1: LOCAL (Iron/Grey) */
    .search-panel[data-tier="local"] {
      --tier-border-color: #52525b;
      --tier-glow-color: rgba(82, 82, 91, 0.3);
    }
    .search-panel[data-tier="local"] .tier-emblem {
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    }

    /* TIER 2: REGIONAL (Bronze) */
    .search-panel[data-tier="regional"] {
      --tier-border-color: #cd7f32;
      --tier-glow-color: rgba(205, 127, 50, 0.4);
    }
    .search-panel[data-tier="regional"] .tier-emblem {
      filter: drop-shadow(0 2px 8px rgba(205, 127, 50, 0.6));
    }

    /* TIER 3: PROVINCIAL (Silver) */
    .search-panel[data-tier="provincial"] {
      --tier-border-color: #94a3b8;
      --tier-glow-color: rgba(148, 163, 184, 0.4);
    }
    .search-panel[data-tier="provincial"] .tier-emblem {
      filter: drop-shadow(0 2px 10px rgba(148, 163, 184, 0.7));
      /* animation disabled for performance */
    }

    /* TIER 4: NATIONAL (Gold) */
    .search-panel[data-tier="national"] {
      --tier-border-color: #fbbf24;
      --tier-glow-color: rgba(251, 191, 36, 0.5);
    }
    .search-panel[data-tier="national"] .tier-emblem {
      filter: drop-shadow(0 2px 12px rgba(251, 191, 36, 0.8));
      /* animation disabled for performance */
    }

    /* TIER 5: WORLD (Platinum/Diamond) */
    .search-panel[data-tier="world"] {
      --tier-border-color: #22d3ee;
      --tier-glow-color: rgba(34, 211, 238, 0.5);
    }
    .search-panel[data-tier="world"] .tier-emblem {
      filter: drop-shadow(0 2px 15px rgba(34, 211, 238, 0.9));
      /* animation disabled for performance */
    }

    /* TIER 6: SHEFFIELD (Master/Grandmaster) */
    .search-panel[data-tier="sheffield"] {
      --tier-border-color: #ef4444;
      --tier-glow-color: rgba(239, 68, 68, 0.6);
    }
    .search-panel[data-tier="sheffield"] .athlete-card {
      box-shadow: 0 0 30px rgba(239, 68, 68, 0.5), 0 0 60px rgba(251, 191, 36, 0.2);
    }
    .search-panel[data-tier="sheffield"] .tier-emblem {
      filter: drop-shadow(0 2px 20px rgba(239, 68, 68, 0.9)) drop-shadow(0 0 30px rgba(251, 191, 36, 0.5));
      animation: none; /* Disabled for performance */
    }

    /* === EMBLEM ANIMATIONS - Disabled for performance === */
    /* Using static drop-shadows instead of animated ones */
    @keyframes emblemShimmer {
      0%, 100% { opacity: 1; }
    }

    @keyframes emblemGlow {
      0%, 100% { opacity: 1; }
    }

    @keyframes emblemShimmerIntense {
      0%, 100% { opacity: 1; }
    }

    @keyframes emblemFire {
      0%, 100% { opacity: 1; }
    }

    /* Hide old corner ornaments */
    .tier-corner {
      display: none !important;
    }

    /* Tier Banner - HIDDEN (only keeping the animated border frame) */
    .tier-banner {
      display: none !important;
    }

    .tier-banner--local {
      background: linear-gradient(90deg, #8b5a2b, #cd7f32, #daa520, #cd7f32, #8b5a2b);
      color: #fff;
      text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }

    .tier-banner--regional {
      background: linear-gradient(90deg, #808080, #c0c0c0, #e8e8e8, #c0c0c0, #808080);
      color: #1a1a1a;
      text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    }

    .tier-banner--provincial {
      background: linear-gradient(90deg, #b8860b, #ffd700, #ffec8b, #ffd700, #b8860b);
      color: #1a1a1a;
      text-shadow: 0 1px 0 rgba(255,255,255,0.5);
      /* animation disabled for performance */
    }

    /* Banner animations disabled for performance */
    @keyframes bannerGoldGlow {
      0%, 100% { opacity: 1; }
    }

    .tier-banner--national {
      background: linear-gradient(90deg, #607d8b, #b0bec5, #eceff1, #b0bec5, #607d8b);
      color: #1a1a1a;
      text-shadow: 0 1px 0 rgba(255,255,255,0.6);
      /* animation disabled for performance */
    }

    @keyframes bannerPlatinumShine {
      0%, 100% { opacity: 1; }
    }

    .tier-banner--world {
      background: linear-gradient(90deg, #0077b6, #00b4d8, #90e0ef, #caf0f8, #90e0ef, #00b4d8, #0077b6);
      background-size: 200% 100%;
      color: #003045;
      text-shadow: 0 1px 0 rgba(255,255,255,0.7);
      /* animation disabled for performance */
    }

    @keyframes bannerDiamondFlow {
      0%, 100% { opacity: 1; }
    }

    .tier-banner--sheffield {
      background: linear-gradient(90deg, 
        #ff6b6b, #feca57, #48dbfb, #ff9ff3, #54a0ff, #5f27cd, #ff6b6b);
      background-size: 300% 100%;
      color: #fff;
      text-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 0 10px rgba(255,255,255,0.3);
      /* animation disabled for performance */
      position: relative;
    }

    .tier-banner--sheffield::before {
      content: '✦';
      position: absolute;
      left: 15px;
      /* animation disabled for performance */
    }

    .tier-banner--sheffield::after {
      content: '✦';
      position: absolute;
      right: 15px;
      /* animation disabled for performance */
    }

    @keyframes bannerLegendaryRainbow {
      0%, 100% { opacity: 1; }
    }

    @keyframes starTwinkle {
      0%, 100% { opacity: 1; }
    }

    /* ========================================
       EVENT BADGES - Major International Events
       Unique badges for IPF Worlds, World Games,
       Commonwealth, NAPF, Euros, Oceania, Bench Worlds
       ======================================== */
    .event-badges {
      position: absolute;
      top: -20px;
      right: 16px;
      display: flex;
      flex-direction: row;
      gap: 10px;
      z-index: 20;
    }

    .event-badge {
      position: relative;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }

    .event-badge:hover {
      transform: scale(1.15) translateY(-3px);
      z-index: 25;
    }

    .event-badge__icon {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      overflow: hidden;
    }

    /* Medal placement indicator */
    .event-badge__medal {
      position: absolute;
      bottom: -4px;
      right: -4px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: 800;
      z-index: 5;
      border: 2px solid #0a0a0f;
    }

    /* Gold medalist - just the number indicator */
    .event-badge--gold .event-badge__medal {
      background: linear-gradient(145deg, #ffd700, #b8860b);
      color: #1a1a1a;
      box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    }

    /* Silver medalist - just the number indicator */
    .event-badge--silver .event-badge__medal {
      background: linear-gradient(145deg, #e8e8e8, #a0a0a0);
      color: #1a1a1a;
      box-shadow: 0 0 6px rgba(192, 192, 192, 0.5);
    }

    /* Bronze medalist - just the number indicator */
    .event-badge--bronze .event-badge__medal {
      background: linear-gradient(145deg, #deb887, #8b4513);
      color: #fff;
      box-shadow: 0 0 6px rgba(205, 127, 50, 0.5);
    }

    /* Event-specific hover effects */
    .event-badge--ipfWorlds:hover {
      box-shadow: 0 0 20px rgba(74, 144, 217, 0.7), 0 0 40px rgba(30, 58, 95, 0.5);
    }

    .event-badge--worldGames:hover {
      box-shadow: 0 0 20px rgba(223, 0, 36, 0.4), 0 0 20px rgba(0, 133, 199, 0.4), 0 0 20px rgba(0, 159, 61, 0.4);
    }

    .event-badge--commonwealth:hover {
      box-shadow: 0 0 20px rgba(74, 28, 107, 0.7), 0 0 40px rgba(255, 215, 0, 0.4);
    }

    .event-badge--napf:hover {
      box-shadow: 0 0 20px rgba(46, 125, 50, 0.7), 0 0 40px rgba(76, 175, 80, 0.4);
    }

    .event-badge--euros:hover {
      box-shadow: 0 0 20px rgba(0, 51, 153, 0.7), 0 0 40px rgba(255, 215, 0, 0.4);
    }

    .event-badge--oceania:hover {
      box-shadow: 0 0 20px rgba(0, 188, 212, 0.7), 0 0 40px rgba(0, 105, 148, 0.4);
    }

    .event-badge--benchWorlds:hover {
      box-shadow: 0 0 20px rgba(239, 83, 80, 0.6), 0 0 40px rgba(55, 71, 79, 0.5);
    }

    .event-badge--sheffield:hover {
      box-shadow: 0 0 20px rgba(239, 68, 68, 0.7), 0 0 40px rgba(185, 28, 28, 0.4);
    }

    .event-badge--arnoldClassic:hover {
      box-shadow: 0 0 20px rgba(139, 0, 0, 0.7), 0 0 40px rgba(255, 215, 0, 0.4);
    }

    /* === PLACEMENT MEDALS (Elegant Gold/Silver/Bronze) === */
    .placement-medals {
      position: absolute;
      top: -24px;
      right: 16px;
      display: flex;
      flex-direction: row;
      gap: 8px;
      z-index: 20;
    }

    .placement-medal {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    /* Ribbon hanging from top */
    .placement-medal__ribbon {
      width: 18px;
      height: 20px;
      position: relative;
      z-index: 1;
      clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
    }

    /* Medal Disc - Premium look */
    .placement-medal__disc {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      font-weight: 700;
      position: relative;
      margin-top: -5px;
      box-shadow: 
        0 2px 8px rgba(0,0,0,0.3),
        inset 0 1px 2px rgba(255,255,255,0.4),
        inset 0 -1px 3px rgba(0,0,0,0.15);
      border: 2px solid rgba(255,255,255,0.15);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    /* Tier indicator on medal */
    .placement-medal__tier {
      position: absolute;
      bottom: -6px;
      font-size: 0.45rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      white-space: nowrap;
      padding: 1px 3px;
      border-radius: 2px;
      background: rgba(0,0,0,0.75);
      color: #fff;
    }

    /* ========================================
       TIER 1: LOCAL MEETS - Simple matte medals
       ======================================== */
    .placement-medal--local-1 .placement-medal__ribbon {
      background: linear-gradient(180deg, #6b5b3d 0%, #4a3f2b 100%);
    }
    .placement-medal--local-1 .placement-medal__disc {
      background: linear-gradient(145deg, #d4af37 0%, #b8960c 50%, #a68508 100%);
      color: #3d2914;
      border: 2px solid #8b7355;
    }

    .placement-medal--local-2 .placement-medal__ribbon {
      background: linear-gradient(180deg, #5a5a5a 0%, #3d3d3d 100%);
    }
    .placement-medal--local-2 .placement-medal__disc {
      background: linear-gradient(145deg, #a8a8a8 0%, #888888 50%, #707070 100%);
      color: #2d2d2d;
      border: 2px solid #5a5a5a;
    }

    .placement-medal--local-3 .placement-medal__ribbon {
      background: linear-gradient(180deg, #6b4423 0%, #4a2f18 100%);
    }
    .placement-medal--local-3 .placement-medal__disc {
      background: linear-gradient(145deg, #a0522d 0%, #8b4513 50%, #6b3a0f 100%);
      color: #fff;
      border: 2px solid #5c3317;
    }

    /* ========================================
       TIER 2: REGIONAL - Polished medals
       ======================================== */
    .placement-medal--regional-1 .placement-medal__ribbon {
      background: linear-gradient(180deg, #7a6b3d 0%, #5a4f2d 100%);
    }
    .placement-medal--regional-1 .placement-medal__disc {
      background: linear-gradient(145deg, #ffd700 0%, #e6c200 25%, #ccac00 50%, #b89600 75%, #e6c200 100%);
      color: #3d2914;
      border: 2px solid #9a8540;
      box-shadow: 
        0 2px 8px rgba(255, 215, 0, 0.25),
        inset 0 1px 2px rgba(255,255,255,0.4);
    }

    .placement-medal--regional-2 .placement-medal__ribbon {
      background: linear-gradient(180deg, #6a6a6a 0%, #4a4a4a 100%);
    }
    .placement-medal--regional-2 .placement-medal__disc {
      background: linear-gradient(145deg, #c0c0c0 0%, #a8a8a8 50%, #909090 100%);
      color: #2d2d2d;
      border: 2px solid #707070;
    }

    .placement-medal--regional-3 .placement-medal__ribbon {
      background: linear-gradient(180deg, #7a5030 0%, #5a3820 100%);
    }
    .placement-medal--regional-3 .placement-medal__disc {
      background: linear-gradient(145deg, #b87333 0%, #a0522d 50%, #8b4513 100%);
      color: #fff;
      border: 2px solid #6b4020;
    }

    /* ========================================
       TIER 3: PROVINCIAL - Shiny with glow
       ======================================== */
    .placement-medal--provincial-1 .placement-medal__ribbon {
      background: linear-gradient(180deg, #9a8540 0%, #7a6530 100%);
    }
    .placement-medal--provincial-1 .placement-medal__disc {
      background: linear-gradient(145deg, #ffd700 0%, #ffdf40 25%, #e6c200 50%, #ccac00 75%, #ffd700 100%);
      color: #3d2914;
      border: 2px solid #b8960c;
      box-shadow: 
        0 0 12px rgba(255, 215, 0, 0.4),
        inset 0 1px 3px rgba(255,255,255,0.5);
    }

    @keyframes provincialGold {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }

    .placement-medal--provincial-2 .placement-medal__ribbon {
      background: linear-gradient(180deg, #808080 0%, #606060 100%);
    }
    .placement-medal--provincial-2 .placement-medal__disc {
      background: linear-gradient(145deg, #d8d8d8 0%, #c0c0c0 50%, #a8a8a8 100%);
      color: #2d2d2d;
      border: 2px solid #888888;
      box-shadow: 0 0 8px rgba(192, 192, 192, 0.3);
    }

    .placement-medal--provincial-3 .placement-medal__ribbon {
      background: linear-gradient(180deg, #8b5a2b 0%, #6b4020 100%);
    }
    .placement-medal--provincial-3 .placement-medal__disc {
      background: linear-gradient(145deg, #cd7f32 0%, #b87333 50%, #a0522d 100%);
      color: #fff;
      border: 2px solid #8b5a2b;
      box-shadow: 0 0 8px rgba(205, 127, 50, 0.3);
    }

    /* ========================================
       TIER 4: NATIONAL - Premium with shine animation
       ======================================== */
    .placement-medal--national-1 .placement-medal__ribbon {
      background: linear-gradient(180deg, #1e3a5f 0%, #0d1f33 100%);
    }
    .placement-medal--national-1 .placement-medal__disc {
      background: linear-gradient(145deg, #ffd700 0%, #fff2b3 30%, #ffd700 50%, #e6c200 70%, #ffd700 100%);
      /* animation disabled for performance */
      color: #3d2914;
      border: 2px solid #1e3a5f;
      box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    }

    /* Animation disabled for performance */
    @keyframes nationalGoldShine {
      0%, 100% { opacity: 1; }
    }

    .placement-medal--national-2 .placement-medal__ribbon {
      background: linear-gradient(180deg, #2a4a6a 0%, #1a3040 100%);
    }
    .placement-medal--national-2 .placement-medal__disc {
      background: linear-gradient(145deg, #e8e8e8 0%, #f5f5f5 30%, #d0d0d0 50%, #c0c0c0 100%);
      color: #2d2d2d;
      border: 2px solid #2a4a6a;
      box-shadow: 0 0 10px rgba(200, 200, 200, 0.4);
    }

    .placement-medal--national-3 .placement-medal__ribbon {
      background: linear-gradient(180deg, #3a5a7a 0%, #2a4050 100%);
    }
    .placement-medal--national-3 .placement-medal__disc {
      background: linear-gradient(145deg, #cd853f 0%, #deb887 30%, #cd7f32 50%, #b8702c 100%);
      color: #fff;
      border: 2px solid #3a5a7a;
      box-shadow: 0 0 10px rgba(205, 127, 50, 0.3);
    }

    /* ========================================
       TIER 5: WORLD - Elite with dual glow
       ======================================== */
    .placement-medal--world-1 .placement-medal__ribbon {
      background: linear-gradient(180deg, #4a0080 0%, #2a0050 100%);
    }
    .placement-medal--world-1 .placement-medal__disc {
      background: linear-gradient(145deg, #ffd700 0%, #fff5cc 20%, #ffd700 40%, #ffec80 60%, #ffd700 80%, #e6c200 100%);
      /* animation disabled for performance */
      color: #3d2914;
      border: 2px solid #7b00cc;
      box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), 0 0 25px rgba(123, 0, 204, 0.4);
    }

    /* Animation disabled for performance */
    @keyframes worldGoldPulse {
      0%, 100% { opacity: 1; }
    }

    .placement-medal--world-2 .placement-medal__ribbon {
      background: linear-gradient(180deg, #5a1090 0%, #3a0060 100%);
    }
    .placement-medal--world-2 .placement-medal__disc {
      background: linear-gradient(145deg, #f0f0f0 0%, #ffffff 30%, #e0e0e0 50%, #d0d0d0 100%);
      color: #2d2d2d;
      border: 2px solid #6a20a0;
      box-shadow: 0 0 12px rgba(200, 200, 200, 0.5), 0 0 20px rgba(123, 0, 204, 0.3);
    }

    .placement-medal--world-3 .placement-medal__ribbon {
      background: linear-gradient(180deg, #6a20a0 0%, #4a1070 100%);
    }
    .placement-medal--world-3 .placement-medal__disc {
      background: linear-gradient(145deg, #deb887 0%, #e8c89a 30%, #cd7f32 50%, #b87333 100%);
      color: #fff;
      border: 2px solid #7b30b0;
      box-shadow: 0 0 12px rgba(205, 127, 50, 0.4), 0 0 20px rgba(123, 0, 204, 0.2);
    }

    /* ========================================
       TIER 6: SHEFFIELD - Ultimate prestige
       Elegant gold effects, no RGB
       ======================================== */
    .placement-medal--sheffield-1 .placement-medal__ribbon {
      background: linear-gradient(180deg, #b8860b 0%, #8b6914 50%, #6b5010 100%);
    }

    .placement-medal--sheffield-1 .placement-medal__disc {
      background: conic-gradient(from 0deg, #ffd700, #fff8dc, #fffacd, #ffd700, #ffec8b, #ffd700);
      color: #1a1a1a;
      font-weight: 800;
      border: 3px solid #b8860b;
      position: relative;
      /* animation disabled for performance */
      box-shadow: 0 0 20px rgba(255, 215, 0, 0.7), 0 0 40px rgba(255, 215, 0, 0.4);
    }

    .placement-medal--sheffield-1 .placement-medal__disc::before {
      content: '';
      position: absolute;
      inset: -5px;
      border-radius: 50%;
      background: conic-gradient(from 0deg, #ffd700, #b8860b, #ffd700, #daa520, #ffd700);
      z-index: -1;
      /* animation disabled for performance */
    }

    /* Animations disabled for performance */
    @keyframes sheffieldGoldPulse {
      0%, 100% { opacity: 1; }
    }

    @keyframes sheffieldBorderSpin {
      0%, 100% { opacity: 1; }
    }

    .placement-medal--sheffield-2 .placement-medal__ribbon {
      background: linear-gradient(180deg, #9ca3af 0%, #6b7280 100%);
    }
    .placement-medal--sheffield-2 .placement-medal__disc {
      background: conic-gradient(from 0deg, #e8e8e8, #ffffff, #d0d0d0, #e8e8e8);
      color: #1a1a1a;
      border: 3px solid #c0c0c0;
      box-shadow: 
        0 0 15px rgba(200, 200, 200, 0.6),
        0 0 30px rgba(192, 192, 192, 0.4),
        inset 0 1px 3px rgba(255,255,255,0.7);
    }

    .placement-medal--sheffield-3 .placement-medal__ribbon {
      background: linear-gradient(180deg, #92400e 0%, #78350f 100%);
    }
    .placement-medal--sheffield-3 .placement-medal__disc {
      background: conic-gradient(from 0deg, #cd7f32, #deb887, #b87333, #cd7f32);
      color: #fff;
      border: 3px solid #a0522d;
      box-shadow: 
        0 0 12px rgba(205, 127, 50, 0.5),
        0 0 25px rgba(205, 127, 50, 0.3),
        inset 0 1px 3px rgba(255,255,255,0.4);
    }

    /* Medal hover effect */
    .placement-medal:hover .placement-medal__disc {
      transform: scale(1.12);
      transition: transform 0.2s ease;
    }

    /* Tooltip for medal */
    .placement-medal[title] {
      cursor: help;
    }

    /* Hide the old banner element but show edit button when not hidden */
    .athlete-banner[data-athlete-banner] {
      display: none !important;
    }
    
    /* Edit button for profile customization - positioned relative to search-panel */
    .search-panel .athlete-card__edit-btn {
      position: absolute;
      top: 16px;
      right: 16px;
      z-index: 200;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(15, 23, 42, 0.95);
      border: 1px solid rgba(56, 189, 248, 0.4);
      border-radius: 8px;
      color: var(--text);
      font-size: 1rem;
      padding: 0;
      cursor: pointer;
      transition: all 0.15s ease;
      backdrop-filter: blur(8px);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .athlete-card__edit-btn:hover {
      background: rgba(56, 189, 248, 0.2);
      border-color: rgba(56, 189, 248, 0.5);
      transform: scale(1.05);
    }
    
    .athlete-card__edit-btn[hidden] {
      display: none !important;
    }

    /* Athlete badges container - positioned on the right */
    .athlete-badges[data-athlete-badges] {
      display: flex;
      flex-direction: row;
      gap: 8px;
      flex-wrap: wrap;
      justify-content: flex-end;
      align-items: center;
      position: relative;
      z-index: 10;
    }

    .athlete-badges[data-athlete-badges][hidden] {
      display: none !important;
    }

    /* Sheffield SHF Badge */
    .athlete-badge {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .athlete-badge--sheffield {
      width: 54px;
      height: 54px;
      position: relative;
    }

    .athlete-badge--sheffield .shf-logo {
      width: 100%;
      height: 100%;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }

    .athlete-badge--sheffield:hover .shf-logo {
      transform: scale(1.1);
      transition: transform 0.2s ease;
    }

    /* Medal rings for Sheffield podium finishes - uses SVG filter for shield outline */
    .athlete-badge--gold .shf-logo {
      filter: drop-shadow(0 0 3px #ffd700) drop-shadow(0 0 6px #ffd700) drop-shadow(0 0 2px #b8860b);
    }

    .athlete-badge--silver .shf-logo {
      filter: drop-shadow(0 0 3px #c0c0c0) drop-shadow(0 0 6px #e8e8e8) drop-shadow(0 0 2px #a8a8a8);
    }

    .athlete-badge--bronze .shf-logo {
      filter: drop-shadow(0 0 3px #cd7f32) drop-shadow(0 0 6px #cd7f32) drop-shadow(0 0 2px #8b4513);
    }

    /* Ensure text stays readable */
    .athlete-card > * {
      position: relative;
      z-index: 1;
    }

    /* Customize Modal - Hidden since we're using automatic tier system */
    .customize-modal,
    .customize-modal__card,
    .customize-section,
    .bg-picker,
    .bg-option,
    .badge-picker,
    .badge-toggle,
    .banner-select,
    .banner-text-input,
    .customize-preview {
      display: none !important;
    }

    /* ========================================
       BADGE MODAL - Click to expand badge
       ======================================== */
    .badge-modal {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .badge-modal[hidden] {
      display: none;
    }

    .badge-modal__overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(8px);
      cursor: pointer;
    }

    .badge-modal__content {
      position: relative;
      background: linear-gradient(145deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 20px;
      padding: 40px;
      padding-top: 50px;
      max-width: 360px;
      width: 90%;
      text-align: center;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
      animation: badgeModalIn 0.3s ease-out;
      overflow: visible;
    }

    @keyframes badgeModalIn {
      from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
      }
      to {
        opacity: 1;
        transform: scale(1) translateY(0);
      }
    }

    .badge-modal__close {
      position: absolute;
      top: 12px;
      right: 16px;
      background: none;
      border: none;
      color: var(--subtle);
      font-size: 1.8rem;
      cursor: pointer;
      padding: 4px 8px;
      line-height: 1;
      transition: color 0.2s;
    }

    .badge-modal__close:hover {
      color: var(--text);
    }

    .badge-modal__badge {
      width: 160px;
      height: 160px;
      margin: 0 auto 24px;
    }

    .badge-modal__badge svg {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }

    .badge-modal__info {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .badge-modal__title {
      margin: 0;
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--text);
    }

    .badge-modal__placement {
      margin: 0;
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--subtle);
    }

    .badge-modal__meet {
      margin: 8px 0 0;
      font-size: 0.95rem;
      color: var(--subtle);
      line-height: 1.4;
    }

    /* Medal-specific modal styling */
    .badge-modal--gold {
      border-color: rgba(255, 215, 0, 0.4);
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.2);
    }

    .badge-modal--gold .badge-modal__placement {
      color: #ffd700;
    }

    .badge-modal--silver {
      border-color: rgba(192, 192, 192, 0.4);
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(192, 192, 192, 0.2);
    }

    .badge-modal--silver .badge-modal__placement {
      color: #c0c0c0;
    }

    .badge-modal--bronze {
      border-color: rgba(205, 127, 50, 0.4);
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(205, 127, 50, 0.2);
    }

    .badge-modal--bronze .badge-modal__placement {
      color: #cd7f32;
    }

    /* ========================================
       Badge Editor Styles
       ======================================== */
    
    .badge-editor-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    
    .badge-editor-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 14px;
      background: rgba(15, 23, 42, 0.6);
      border: 1px solid rgba(56, 189, 248, 0.15);
      border-radius: 10px;
      cursor: grab;
      transition: all 0.15s ease;
    }
    
    .badge-editor-item:hover {
      background: rgba(15, 23, 42, 0.8);
      border-color: rgba(56, 189, 248, 0.3);
    }
    
    .badge-editor-item--hidden {
      opacity: 0.5;
      background: rgba(15, 23, 42, 0.3);
    }
    
    .badge-editor-item--dragging {
      opacity: 0.6;
      background: rgba(56, 189, 248, 0.1);
      border-color: rgba(56, 189, 248, 0.4);
    }
    
    .badge-editor-item__drag {
      color: var(--subtle);
      font-size: 1.2rem;
      cursor: grab;
      user-select: none;
      opacity: 0.6;
    }
    
    .badge-editor-item:hover .badge-editor-item__drag {
      opacity: 1;
    }
    
    .badge-editor-item__info {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    
    .badge-editor-item__name {
      font-weight: 600;
      color: var(--text);
      font-size: 0.95rem;
    }
    
    .badge-editor-item__detail {
      color: var(--subtle);
      font-size: 0.85rem;
    }
    
    .badge-editor-item__toggle {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 1.3rem;
      padding: 4px 8px;
      border-radius: 6px;
      transition: background 0.15s ease;
    }
    
    .badge-editor-item__toggle:hover {
      background: rgba(255, 255, 255, 0.1);
    }
    
    .badge-editor-item--hidden .badge-editor-item__name {
      text-decoration: line-through;
      opacity: 0.7;
    }