/* 6090ti page module "model-names": the "模型名称字节" tab in the "使用 API 密钥" window. */
/* While the tab is on, only the client tab row and this panel are shown. Original nodes
   are hidden with an attribute selector; nothing Sub2API rendered is removed. */
[data-p6mn-on] > :not([data-p6mn-keep]):not([data-p6mn-panel]) { display: none !important; }
[data-p6mn-on] nav[aria-label="Client"] > button:not([data-p6mn-tab]) {
  border-bottom-color: transparent !important;
  color: var(--p6mn-inactive, #6b7280) !important;
}
.p6mn-panel[hidden] { display: none !important; }
.p6mn-panel { container-type: inline-size; min-width: 0; }
.p6mn-note { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: inherit; }
/* Search box: right of the note on wide windows, its own full row on narrow ones. */
.p6mn-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 12px; }
.p6mn-head .p6mn-note { margin: 0; flex: 1 1 320px; min-width: 0; text-wrap: pretty; }
.p6mn-search { position: relative; flex: 0 0 240px; margin-left: auto; min-width: 0; }
@container (max-width: 559.98px) {
  .p6mn-search { flex-basis: 100%; }
}
.p6mn-search-icon {
  position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  color: #8a9c93; pointer-events: none;
}
.p6mn-search-input {
  box-sizing: border-box; width: 100%; height: 40px; margin: 0; padding: 0 40px 0 36px;
  border: 1px solid #d1d5db; border-radius: 8px; background: #fff; color: #111827;
  font: inherit; font-size: 14px; line-height: 1.4; outline: none;
  -webkit-appearance: none; appearance: none;
}
.p6mn-search-input::placeholder { color: #8a9c93; opacity: 1; }
.p6mn-search-input:hover { border-color: #b9cfc2; }
.p6mn-search-input:focus { border-color: #2f9e6e; box-shadow: 0 0 0 3px rgba(47, 158, 110, .2); }
.p6mn-search-input::-webkit-search-cancel-button,
.p6mn-search-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.p6mn-search-clear {
  position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; margin-top: -16px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 6px; background: transparent; color: #6b7280; cursor: pointer;
}
.p6mn-search-clear:hover { background: #eef5f1; color: #1f7a55; }
.p6mn-search-clear:focus-visible { outline: 2px solid #1f7a55; outline-offset: 1px; }
.p6mn-search-x { width: 16px; height: 16px; }
.p6mn-search-clear[hidden], .p6mn-list[hidden], .p6mn-item[hidden], .p6mn-nomatch[hidden] { display: none !important; }
.p6mn-body { min-width: 0; }
.p6mn-message { margin: 8px 0; font-size: 14px; color: #4b5563; }
.p6mn-error { color: #b42318; }
.p6mn-list {
  list-style: none; margin: 0; padding: 0 2px 2px 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px;
  max-height: min(52vh, 480px); overflow-y: auto; overscroll-behavior: contain;
}
@container (min-width: 560px) {
  .p6mn-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.p6mn-item {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  padding: 8px 8px 8px 12px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff;
}
.p6mn-id {
  flex: 1 1 auto; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 15px; line-height: 1.45; color: #111827; overflow-wrap: anywhere; word-break: break-all;
  user-select: text; -webkit-user-select: text; background: transparent; padding: 0;
}
.p6mn-copy, .p6mn-retry {
  flex: 0 0 auto; min-height: 44px; min-width: 5.5em; padding: 0 14px; border-radius: 8px;
  border: 1px solid #1f7a55; background: #1f7a55; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
  white-space: nowrap;
}
.p6mn-copy:hover, .p6mn-retry:hover { background: #18613f; }
.p6mn-copy[data-result="copied"] { background: #fff; color: #1f7a55; }
.p6mn-copy[data-result="failed"] { background: #fff; color: #b42318; border-color: #b42318; white-space: normal; }
.p6mn-copy:focus-visible, .p6mn-retry:focus-visible { outline: 2px solid #1f7a55; outline-offset: 2px; }
.p6mn-live { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.p6mn-copy-buffer { position: fixed; top: 0; left: -9999px; opacity: 0; }
