    /* ── Match-import: bell notification in the header ────── */
    .match-bell { position: relative; display: inline-flex; }

    #btn-match-bell {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 7px 9px;
      border: 1px solid rgba(255,255,255,.22);
      border-radius: var(--radius);
      background: transparent;
      color: rgba(255,255,255,.92);
      cursor: pointer;
      transition: background .15s;
    }
    #btn-match-bell:hover { background: rgba(255,255,255,.12); }
    #btn-match-bell svg { width: 18px; height: 18px; }

    .match-bell-badge {
      position: absolute;
      top: -6px;
      right: -6px;
      min-width: 17px;
      height: 17px;
      padding: 0 4px;
      border-radius: 999px;
      background: #e74c3c;
      color: #fff;
      font-size: .68rem;
      font-weight: 700;
      line-height: 17px;
      text-align: center;
      border: 1.5px solid var(--clr-header);
    }

    /* Gentle glow pulse when a new match arrives */
    @keyframes match-bell-pulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(241,196,15,0); }
      50%      { box-shadow: 0 0 0 7px rgba(241,196,15,.4); }
    }
    #btn-match-bell.pulse { animation: match-bell-pulse .9s ease-in-out 3; }
    @media (prefers-reduced-motion: reduce) {
      #btn-match-bell.pulse { animation: none; }
    }

    /* Dropdown with pending matches */
    .match-bell-menu {
      display: none;
      position: absolute;
      top: calc(100% + 6px);
      right: 0;
      min-width: 280px;
      max-width: 360px;
      max-height: 60vh;
      overflow-y: auto;
      background: var(--clr-white);
      border: 1px solid #dfe6e9;
      border-radius: var(--radius);
      box-shadow: 0 6px 18px rgba(0,0,0,.18);
      padding: 6px;
      z-index: 100;
      flex-direction: column;
      gap: 2px;
    }
    .match-bell.open .match-bell-menu { display: flex; }

    .match-bell-item {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
      width: 100%;
      padding: 8px 10px;
      border: none;
      border-radius: 4px;
      background: transparent;
      color: var(--clr-dark);
      text-align: left;
      cursor: pointer;
      transition: background .12s;
    }
    .match-bell-item:hover { background: var(--clr-light); }
    .match-bell-item__name { font-size: .88rem; font-weight: 600; }
    .match-bell-item__meta { font-size: .76rem; color: #7f8c8d; }

    /* ── Match detail: score + comparison table ───────────── */
    .match-score {
      text-align: center;
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--clr-primary);
      line-height: 1.1;
    }
    .match-score-level {
      margin: 0;
      text-align: center;
      font-size: .85rem;
      color: #7f8c8d;
    }

    .match-compare-table {
      width: 100%;
      border-collapse: collapse;
      font-size: .86rem;
    }
    .match-compare-table th,
    .match-compare-table td {
      padding: 6px 10px;
      border: 1px solid #dfe6e9;
      text-align: left;
      vertical-align: top;
    }
    .match-compare-table thead th {
      background: var(--clr-light);
      font-size: .78rem;
      text-transform: uppercase;
      letter-spacing: .4px;
    }
    .match-compare-table tbody th {
      width: 130px;
      font-weight: 600;
      color: #7f8c8d;
      background: transparent;
      white-space: nowrap;
    }
    .match-compare-table td.cell-eq { background: rgba(39,174,96,.14); }
    /* Partial match (year agrees, full date needed for the score) */
    .match-compare-table td.cell-partial { background: rgba(241,196,15,.18); }

    /* ── Import wizard ─────────────────────────────────────── */
    .match-wizard-steps {
      display: flex;
      gap: 6px;
      padding: 10px 24px 0;
    }
    .match-wizard-step {
      flex: 1;
      text-align: center;
      font-size: .78rem;
      font-weight: 600;
      color: #95a5a6;
      padding: 6px 4px;
      border-bottom: 3px solid #dfe6e9;
    }
    .match-wizard-step.active { color: var(--clr-primary); border-bottom-color: var(--clr-primary); }
    .match-wizard-step.done { color: #27ae60; border-bottom-color: #27ae60; }

    .match-wizard-summary { font-size: .88rem; line-height: 1.5; }

    .match-wizard-mini-btn {
      padding: 5px 12px;
      border: 1px solid #dcdde1;
      border-radius: var(--radius);
      background: var(--clr-white);
      color: var(--clr-dark);
      font-size: .8rem;
      font-weight: 600;
      cursor: pointer;
      transition: background .12s;
    }
    .match-wizard-mini-btn:hover { background: var(--clr-light); }

    .match-wizard-table {
      width: 100%;
      border-collapse: collapse;
      font-size: .84rem;
    }
    .match-wizard-table th,
    .match-wizard-table td {
      padding: 5px 8px;
      border-bottom: 1px solid #eef1f3;
      text-align: left;
      vertical-align: top;
    }
    .match-wizard-table thead th {
      font-size: .74rem;
      text-transform: uppercase;
      letter-spacing: .4px;
      color: #7f8c8d;
      border-bottom: 2px solid #dfe6e9;
    }
    .match-wizard-table input[type="checkbox"] { cursor: pointer; }
    .match-wizard-self-row td { background: rgba(52,152,219,.07); }

    .match-wizard-badge {
      display: inline-block;
      font-size: .68rem;
      font-weight: 700;
      padding: 1px 7px;
      border-radius: 999px;
      margin-right: 4px;
      white-space: nowrap;
    }
    .match-wizard-badge--exists { background: rgba(230,126,34,.15); color: #b9650f; }
    .match-wizard-badge--complete { background: rgba(39,174,96,.15); color: #1d8a4e; }
    .match-wizard-badge--self { background: rgba(52,152,219,.15); color: #1f6da5; }

    /* ── Merge wizard: volba přeživšího záznamu ────────────── */
    .merge-choice {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    @media (max-width: 640px) {
      .merge-choice { grid-template-columns: 1fr; }
    }
    .merge-choice-card {
      display: flex;
      flex-direction: column;
      gap: 3px;
      padding: 12px 14px;
      border: 2px solid #dfe6e9;
      border-radius: var(--radius);
      background: var(--clr-white);
      color: var(--clr-dark);
      text-align: left;
      cursor: pointer;
      transition: border-color .15s, background .15s;
    }
    .merge-choice-card:hover { border-color: #b2bec3; }
    .merge-choice-card.selected {
      border-color: #27ae60;
      background: rgba(39,174,96,.06);
    }
    .merge-choice-card__name { font-size: .95rem; font-weight: 700; margin-bottom: 3px; }
    .merge-choice-card__row { font-size: .8rem; color: #5d6d7e; }
    .merge-choice-card__badge {
      margin-top: 8px;
      font-size: .76rem;
      font-weight: 700;
      color: #b9650f;
    }
    .merge-choice-card.selected .merge-choice-card__badge { color: #1d8a4e; }
