.mc-vram {
  --mc-ink: #17213a;
  --mc-muted: #495774;
  --mc-blue: #2b55ff;
  --mc-border: #d7dfef;
  --mc-bg: #eff2f9;
  box-sizing: border-box;
  container-type: inline-size;
  width: 100%;
  margin-block: 24px;
  color: var(--mc-ink);
  font-family: inherit !important;
  font-size: 15px;
  line-height: 1.75;
  text-align: start;
}
.mc-vram *, .mc-vram *::before, .mc-vram *::after { box-sizing: inherit; }
.mc-vram [hidden] { display: none !important; }
.mc-vram .mc-vram__title, .mc-vram .mc-vram__section-title { color: inherit; font-family: inherit; font-weight: 700; line-height: 1.5; margin: 0; }
.mc-vram .mc-vram__title { font-size: clamp(21px, 4vw, 32px); }
.mc-vram .mc-vram__section-title { font-size: 17px; }
.mc-vram p { margin: 8px 0 0; }
.mc-vram .mc-vram__intro {
  padding: clamp(16px, 4vw, 32px);
  background: #2B55FF;
  color: #fff;
  border-radius: 20px;
}
.mc-vram .mc-vram__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.mc-vram .mc-vram__panel { min-width: 0; padding: clamp(12px, 2.2vw, 22px); border: 1px solid var(--mc-border); border-radius: 18px; background: #fff; }
.mc-vram .mc-vram__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; margin-top: 14px; }
.mc-vram .mc-vram__wide { grid-column: 1 / -1; }
.mc-vram label { min-width: 0; display: block; font-weight: 650; font-size: 14px; }
.mc-vram input, .mc-vram select {
  display: block; width: 100%; min-width: 0; min-height: 44px; margin: 5px 0 0; padding: 6px 9px; border: 1px solid var(--mc-border); border-radius: 8px; color: var(--mc-ink); background: #fff; font: inherit; font-size: 14px; font-weight: 400; box-shadow: none;
}
.mc-vram [aria-invalid="true"] { border-color: #ae2222; }
.mc-vram :is(input, select, summary, button):focus-visible { outline: 2px solid var(--mc-blue); outline-offset: 2px; }
.mc-vram small { display: block; margin-top: 4px; color: var(--mc-muted); font-size: 12px; font-weight: 400; overflow-wrap: anywhere; }
.mc-vram .mc-vram__details { margin-top: 18px; padding: 10px; border-radius: 10px; background: var(--mc-bg); }
.mc-vram summary { cursor: pointer; font-weight: 700; }
.mc-vram .mc-vram__method { margin-top: 14px; padding: 14px; }
.mc-vram .mc-vram__method ul { margin: 8px 0; padding-inline-start: 22px; }
.mc-vram .mc-vram__total { padding: 12px 14px; border-radius: 12px; background: var(--mc-bg); }
.mc-vram .mc-vram__total strong { font-size: clamp(26px, 5vw, 42px); line-height: 1.4; color: #1d3dbf; overflow-wrap: anywhere; }
.mc-vram .mc-vram__bar { display: flex; height: 8px; margin-top: 15px; overflow: hidden; border-radius: 8px; background: var(--mc-bg); }
.mc-vram [data-bar="weights"] { background: #2b55ff; }
.mc-vram [data-bar="cache"] { background: #0e897c; }
.mc-vram [data-bar="extra"] { background: #aa5196; }
.mc-vram .mc-vram__breakdown { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 10px 0 18px; }
.mc-vram .mc-vram__breakdown div { padding-inline-start: 5px; border-inline-start: 3px solid #2b55ff; }
.mc-vram .mc-vram__breakdown div:nth-child(2) { border-color: #0e897c; }
.mc-vram .mc-vram__breakdown div:nth-child(3) { border-color: #aa5196; }
.mc-vram .mc-vram__breakdown dt { font-size: 12px; }
.mc-vram .mc-vram__breakdown dd { margin: 0; font-weight: 700; font-size: 13px; overflow-wrap: anywhere; }
.mc-vram .mc-vram__toolbar { display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: space-between; align-items: center; }
.mc-vram button { min-height: 44px; padding: 6px 10px; border: 0; border-radius: 8px; color: #fff; background: #2346d6; font: inherit; font-size: 13px; cursor: pointer; }
.mc-vram button:disabled { opacity: .5; cursor: default; }
.mc-vram .mc-vram__table { width: 100%; margin: 8px 0 0; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.mc-vram .mc-vram__table :is(th,td) { padding: 6px 4px; text-align: start; border: 0; border-bottom: 1px solid var(--mc-border); color: inherit; overflow-wrap: anywhere; }
.mc-vram .mc-vram__table th { background: var(--mc-bg); }
.mc-vram .mc-vram__table th:first-child { width: 35%; }
.mc-vram .mc-vram__table th:nth-child(2) { width: 16%; }
.mc-vram .mc-vram__table [data-fit="yes"] { color: #09634c; }
.mc-vram .mc-vram__table [data-fit="multi"] { color: #935316; }
.mc-vram .mc-vram__note, .mc-vram .mc-vram__feedback { font-size: 12px; color: var(--mc-muted); }
.mc-vram .mc-vram__error { color: #a11c1c; font-size: 13px; }

.mc-vram .mc-vram__recommend { margin-bottom: 16px; padding: 12px 14px; border-inline-start: 3px solid #168578; border-radius: 8px; background: #edf7f5; }
.mc-vram .mc-vram__startup { padding: 10px 14px; background: #fff5e5; border-radius: 8px; color: #74430b; }
.mc-vram input, .mc-vram select { max-width: 100%; }
.mc-vram input { direction: ltr; text-align: right; }
.mc-vram [data-recommend] bdi { display: inline; }
.mc-vram .mc-vram__table tbody tr:nth-child(even) { background: #f7f9fd; }
.mc-vram .mc-vram__table td:nth-child(3) { font-weight: 700; }
.mc-vram textarea { font: inherit; margin-top: 8px; }
@container (max-width: 520px) {
  .mc-vram .mc-vram__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-vram .mc-vram__table { font-size: 11px; }
  .mc-vram .mc-vram__table :is(th,td) { padding: 6px 3px; }
}
@container (max-width: 330px) {
  .mc-vram .mc-vram__fields { grid-template-columns: minmax(0, 1fr); }
}

.mc-vram { width: min(100%, 750px); margin: 0 auto; padding: 0 3px 8px; }
.mc-vram .mc-vram__intro { padding: 16px clamp(14px, 4vw, 26px); }
.mc-vram .mc-vram__title { font-size: clamp(20px, 4vw, 28px); }
.mc-vram .mc-vram__panel { padding: clamp(10px, 2.5vw, 18px); }
.mc-vram .mc-vram__fields { margin-top: 10px; gap: 9px; }
.mc-vram .mc-vram__details { margin-top: 12px; }
.mc-vram .mc-vram__table :is(td,th) { padding-block: 5px; }
.mc-vram .mc-vram__note a { color: #2346d6; }
.mc-vram :where(*) { font-family: inherit !important; }
.mc-vram .mc-vram__select { display: block; position: relative; }
.mc-vram .mc-vram__select select {
  appearance: none !important;
  background-image: none !important;
  padding-left: 34px !important;
  cursor: pointer;
}
.mc-vram .mc-vram__chevron { flex: none; color: #2548c5; }
.mc-vram .mc-vram__select .mc-vram__chevron {
  position: absolute; top: 50%; left: 10px; transform: translateY(-50%); pointer-events: none;
}
.mc-vram .mc-vram__details > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; list-style: none;
}
.mc-vram .mc-vram__details > summary::-webkit-details-marker { display: none; }
.mc-vram .mc-vram__details[open] > summary .mc-vram__chevron { transform: rotate(180deg); }
.mc-vram .mc-vram__bar {
  height: 22px; border: 1px solid #cbd6ec; border-radius: 8px; background: #e8edf7;
}
.mc-vram .mc-vram__bar > span {
  display: block; width: 0; flex: 0 0 auto; transition: width 200ms ease-out;
}
.mc-vram .mc-vram__bar [data-bar="weights"] { background: linear-gradient(180deg, #3865ff); }
.mc-vram .mc-vram__bar [data-bar="cache"] { background: linear-gradient(180deg, #72E8A4); }
.mc-vram .mc-vram__bar [data-bar="extra"] { background: linear-gradient(180deg, #FF9400); }
.mc-vram .mc-vram__breakdown > div { padding: 6px; border-radius: 5px; background: #eef3ff; }
.mc-vram .mc-vram__breakdown > div:nth-child(2) { background: #EDFDF3; border-color: #72E8A4; }
.mc-vram .mc-vram__breakdown > div:nth-child(3) { background: #FFF4E8; border-color: #FF9400; }
.mc-vram .mc-vram__share { display: block; color: #364562; font-size: 11px; direction: ltr; unicode-bidi: isolate; text-align: right; }
@media (prefers-reduced-motion: reduce) {
  .mc-vram .mc-vram__bar > span { transition: none; }
}

.mc-vram details.mc-vram__architecture {
  box-sizing: border-box;
  min-width: 0;
  padding: 14px clamp(12px, 3cqw, 20px);
  border: 1px solid var(--mc-border);
  background: #f5f7fc;
}
.mc-vram .mc-vram__architecture[open] > summary {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mc-border);
}
.mc-vram .mc-vram__architecture > .mc-vram__fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 12px 0 0;
}
.mc-vram .mc-vram__architecture label {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 5px;
  margin: 0;
  text-align: right;
}
.mc-vram .mc-vram__architecture input[data-field] {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 44px;
  margin: 0 !important;
  padding: 6px 10px;
}
.mc-vram .mc-vram__architecture small { margin: 0; }
@container (max-width: 500px) {
  .mc-vram .mc-vram__architecture > .mc-vram__fields { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
