.mc-trigger { border: 0; padding: 0; color: inherit; background: none; font: inherit; text-decoration: underline dotted; cursor: pointer; }
.mc-trigger:focus-visible { outline: 3px solid #e6b900; outline-offset: 3px; }
.mc-fallback-trigger { position: fixed; right: 16px; bottom: 16px; z-index: 100; border: 0; padding: 10px 16px; background: #ffd600; color: #222; font: inherit; cursor: pointer; }
.mc-dialog {
  box-sizing: border-box;
  width: min(720px, calc(100% - 32px));
  max-width: 720px;
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #222;
  background: #fff;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .25);
}
.mc-dialog::backdrop { background: rgba(0, 0, 0, .55); }
.mc-content { padding: 28px; }
.mc-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mc-header h2 { margin: 0 0 20px; font-size: 24px; line-height: 1.2; }
.mc-close { align-self: flex-start; border: 0; background: transparent; color: #333; font-size: 32px; line-height: 1; cursor: pointer; }
.mc-label { display: block; margin-bottom: 8px; font-weight: 600; }
.mc-search { box-sizing: border-box; width: 100%; padding: 10px 12px; border: 1px solid #aaa; border-radius: 4px; font: inherit; }
.mc-search:focus-visible, .mc-dialog button:focus-visible, .mc-list a:focus-visible { outline: 3px solid #e6b900; outline-offset: 2px; }
.mc-status { margin: 12px 0; }
.mc-status:empty { display: none; }
.mc-retry { padding: 9px 14px; border: 0; border-radius: 4px; background: #ffd600; color: #222; cursor: pointer; font: inherit; }
.mc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.mc-list li[hidden] { display: none; }
.mc-list a { display: block; padding: 6px 0; color: #222; text-decoration: none; overflow-wrap: anywhere; }
.mc-list a:hover, .mc-list a[aria-current] { color: #765e00; text-decoration: underline; }
@media (max-width: 600px) {
  .mc-content { padding: 20px; }
  .mc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
