.mc-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); display: grid; place-items: center; padding: clamp(12px, 2vw, 24px); z-index: 9999; } .mc-dialog { width: min(880px, 100%); max-height: 90dvh; overflow: auto; border-radius: 12px; background: #0b0b0c; color: #e8e8ea; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); outline: none; } .mc-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); position: sticky; top: 0; backdrop-filter: blur(6px); background: linear-gradient(to bottom, rgba(11, 11, 12, 0.9), rgba(11, 11, 12, 0.7)); z-index: 1; } .mc-titlewrap { display: flex; align-items: center; gap: 12px; min-width: 0; } .mc-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.1); background: #1a1a1d; } .mc-avatar--placeholder { background: linear-gradient(135deg, #2a2a2e, #1e1e22); } .mc-title { font-size: 1.1rem; font-weight: 600; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mc-subtitle { font-size: 0.85rem; color: #b8b8bf; } .mc-close { appearance: none; border: none; background: transparent; color: #bfbfc7; font-size: 1.6rem; line-height: 1; border-radius: 8px; padding: 4px 8px; cursor: pointer; } .mc-close:hover { color: #ffffff; background: rgba(255, 255, 255, 0.06); } .mc-body { padding: 20px; display: grid; gap: 18px; } .mc-desc { margin: 0; color: #d8d8de; } .mc-badges { display: flex; flex-wrap: wrap; gap: 8px; } .mc-badge { font-size: 0.78rem; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); color: #e8e8ea; } .mc-section { display: grid; gap: 10px; } .mc-section-title { font-size: 0.95rem; font-weight: 600; color: #f0f0f3; margin: 0; } .mc-capabilities { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 14px; padding: 0; margin: 0; } .mc-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); } .mc-cap-label { color: #d8d8de; font-size: 0.92rem; } .mc-cap-state { font-size: 0.82rem; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.06); } .mc-cap-state.is-yes { background: rgba(16, 185, 129, 0.22); border-color: rgba(16, 185, 129, 0.35); } .mc-cap-state.is-no { background: rgba(239, 68, 68, 0.22); border-color: rgba(239, 68, 68, 0.35); } .mc-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); } .mc-table th, .mc-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); vertical-align: top; } .mc-table th { width: 30%; color: #bfc0c7; font-weight: 500; } .mc-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; } .mc-links a { color: #a6c8ff; text-decoration: none; word-break: break-all; } .mc-links a:hover { text-decoration: underline; } /* disclosure (advanced details) */ .mc-disclosure { border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; background: rgba(255, 255, 255, 0.03); overflow: hidden; } .mc-disclosure+.mc-disclosure { margin-top: 8px; } .mc-disclosure-summary { cursor: pointer; list-style: none; user-select: none; padding: 12px 14px; font-weight: 600; color: #f0f0f3; } .mc-disclosure[open] .mc-disclosure-summary { border-bottom: 1px solid rgba(255, 255, 255, 0.08); } .mc-disclosure-body { padding: 12px 14px; display: grid; gap: 16px; } /* nested disclosure for raw json */ .mc-disclosure--nested { border: 1px dashed rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.02); } .mc-disclosure--nested .mc-disclosure-summary { font-weight: 500; color: #d8d8de; } .mc-pre { margin: 0; padding: 12px; overflow: auto; max-height: 40dvh; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 0.82rem; line-height: 1.4; border-radius: 8px; background: #0f0f12; border: 1px solid rgba(255, 255, 255, 0.08); } /* responsive adjustments */ @media (max-width: 520px) { .mc-header { padding: 14px 16px; } .mc-body { padding: 16px; } .mc-title { font-size: 1rem; } } .selected-model-card { margin-top: 0.5rem; width: 100%; display: grid; gap: 0.25rem; padding: 0.75rem 1rem; border-radius: var(--radius-md); border: 1px solid color-mix(in srgb, var(--border), transparent 30%); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, transparent), color-mix(in srgb, var(--card) 92%, transparent)); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease; outline: none; position: relative; } .selected-model-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: 0 6px 20px rgba(15, 27, 51, 0.35); transform: translateY(-1px); } .selected-model-card:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 65%, white 20%); outline-offset: 2px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); } .selected-model-title { font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; } .selected-model-meta { font-size: 0.8rem; color: var(--muted); } .selected-model-desc { font-size: 0.78rem; color: color-mix(in srgb, var(--muted) 85%, var(--text)); opacity: 0.92; } .selected-model-hint { margin-top: 0.1rem; font-size: 0.75rem; color: color-mix(in srgb, var(--accent) 70%, var(--text)); display: inline-flex; align-items: center; gap: 0.25rem; } .selected-model-hint::after { content: '↗'; font-size: 0.75rem; }