/* Jimbo Model Shop */
.mx-i { width: 18px; height: 18px; flex: none; }
.mx-page { display: grid; gap: 18px; padding-bottom: 24px; }
.mx-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 26px 22px 22px; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, rgb(245 165 36 / .35), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgb(31 79 143 / .55), transparent 60%),
  linear-gradient(135deg, #0f1622, #18263b 55%, #0d1118);
  isolation: isolate; }
.mx-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .18;
  background-image: linear-gradient(rgb(255 255 255 / .5) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .5) 1px, transparent 1px); background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.mx-kick { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 800 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #f5a524; }
.mx-hero h1 { margin: 0 0 10px; font: 800 clamp(28px, 6.4vw, 44px)/1.04 var(--font-display, var(--font-body)); letter-spacing: -.02em; }
.mx-hero > p { margin: 0 0 18px; max-width: 46ch; color: rgb(255 255 255 / .82); font-size: 15px; line-height: 1.5; }
.mx-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mx-door { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 14px; border-radius: 16px; border: 1px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .07); color: #fff; cursor: pointer; font: inherit; transition: transform .15s, background .15s, border-color .15s; }
.mx-door span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #f5a524; color: #111; margin-bottom: 6px; }
.mx-door b { font-size: 15px; } .mx-door small { color: rgb(255 255 255 / .7); font-size: 12.5px; line-height: 1.35; }
.mx-door:hover { transform: translateY(-2px); background: rgb(255 255 255 / .12); }
.mx-door.is-on { border-color: #f5a524; background: rgb(245 165 36 / .16); }
@media (max-width: 560px) { .mx-doors { grid-template-columns: 1fr; } .mx-door { grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; } .mx-door span { grid-row: span 2; margin: 0; } }

.mx-card { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: var(--color-surface, #fff); border: 1px solid var(--color-border, rgb(127 127 127 / .2)); }
.mx-card > b { font-size: 16px; } .mx-card small, .mx-card label small { color: var(--color-text-muted, #666); font-size: 12.5px; line-height: 1.45; display: block; }
.mx-card textarea, .mx-f input:not([type=range]):not([type=color]), .mx-f select, .mx-f textarea { width: 100%; box-sizing: border-box; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--color-border, #ccc); background: var(--color-bg, #fff); color: var(--color-text, #111); font: 15px/1.4 var(--font-body); }
.mx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mx-chips button, .mx-scales button, .mx-tog button, .mx-views button, .mx-fin button { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--color-border, #ccc); background: transparent; color: inherit; font: 600 13px/1 var(--font-body); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.mx-chips button:hover { border-color: #f5a524; }
.mx-scales button.is-on, .mx-tog button.is-on { background: #f5a524; border-color: #f5a524; color: #111; }
.mx-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mx-row .btn { display: inline-flex; align-items: center; gap: 8px; }
.mx-drop { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px; border: 2px dashed var(--color-border, #bbb); border-radius: 16px; cursor: pointer; font-weight: 700; }
.mx-drop:hover { border-color: #f5a524; }
.mx-ph { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; align-items: start; }
.mx-ph img { width: 100%; border-radius: 14px; display: block; }
.mx-ph > div { display: grid; gap: 10px; } .mx-ph p { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mx-sw { display: inline-block; width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgb(0 0 0 / .2); }
@media (max-width: 560px) { .mx-ph { grid-template-columns: 1fr; } }
.mx-wait { color: var(--color-text-muted, #666); } .mx-err { color: #dc2626; font-weight: 600; margin: 0; }

.mx-page { container-type: inline-size; }
.mx-work { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; scroll-margin-top: 140px; }
.mx-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #20242b; width: 100%; }
@container (min-width: 880px) { .mx-work { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); } .mx-stage { position: sticky; top: 130px; } }
@container (max-width: 520px) { .mx-stage { aspect-ratio: 1 / 1; } }
.mx-cv { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; touch-action: none; }
.mx-load { position: absolute; inset: 0; display: grid; place-items: center; color: rgb(255 255 255 / .8); font-weight: 700; }
.mx-views, .mx-fin { position: absolute; left: 10px; right: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; pointer-events: none; }
.mx-views { top: 10px; } .mx-fin { bottom: 10px; }
.mx-views button, .mx-fin button { pointer-events: auto; background: rgb(10 12 16 / .62); color: #fff; border-color: rgb(255 255 255 / .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 7px 11px; font-size: 12.5px; }
.mx-views button.is-on, .mx-fin button.is-on { background: #f5a524; color: #111; border-color: #f5a524; }
.mx-views button .mx-i { width: 15px; height: 15px; }
.mx-badge { position: absolute; right: 10px; bottom: 50px; margin: 0; z-index: 2; padding: 5px 9px; border-radius: 999px; background: rgb(10 12 16 / .55); color: rgb(255 255 255 / .85); font: 600 11.5px/1.2 var(--font-body); pointer-events: none; }

.mx-side { display: grid; gap: 12px; }
.mx-ttl { margin: 0; display: flex; align-items: center; gap: 8px; font: 800 16px/1.25 var(--font-body); }
.mx-desc { margin: 0; color: var(--color-text-muted, #555); font-size: 13.5px; line-height: 1.45; }
.mx-f { display: grid; gap: 6px; } .mx-f > span { font: 700 13px/1.2 var(--font-body); display: flex; justify-content: space-between; gap: 8px; }
.mx-f output { font-weight: 600; color: var(--color-text-muted, #666); }
.mx-rg input[type=range] { width: 100%; accent-color: #f5a524; }
.mx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mx-f input[type=color] { width: 100%; height: 40px; border: 1px solid var(--color-border, #ccc); border-radius: 12px; padding: 3px; background: transparent; cursor: pointer; }
.mx-tog { display: flex; flex-wrap: wrap; gap: 6px; }
.mx-trace { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--color-border, #ccc); font-weight: 700; font-size: 14px; }
.mx-trace small { grid-column: 2; color: var(--color-text-muted, #666); font-weight: 500; }
.mx-trace input { width: 18px; height: 18px; accent-color: #f5a524; }
.mx-scales { display: flex; flex-wrap: wrap; gap: 6px; }
.mx-dims { width: 100%; border-collapse: collapse; font-size: 14px; }
.mx-dims th, .mx-dims td { text-align: left; padding: 7px 4px; border-bottom: 1px solid var(--color-border, #e5e5e5); }
.mx-dims th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-muted, #666); }
.mx-dims td:last-child { font-weight: 800; }
.mx-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mx-acts button { display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; text-align: left; align-items: center; padding: 11px; border-radius: 14px; border: 1px solid var(--color-border, #ddd); background: transparent; color: inherit; cursor: pointer; font: inherit; }
.mx-acts button .mx-i { grid-row: span 2; color: #d98a00; }
.mx-acts button b { font-size: 13.5px; } .mx-acts button small { font-size: 11.5px; color: var(--color-text-muted, #666); }
.mx-acts button:hover { border-color: #f5a524; background: rgb(245 165 36 / .08); }
.mx-hand { background: linear-gradient(160deg, rgb(245 165 36 / .1), transparent 60%), var(--color-surface, #fff); }
.mx-hand p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.mx-pr { margin: 0; white-space: pre-wrap; word-break: break-word; padding: 12px; border-radius: 12px; background: var(--color-bg, #f6f6f4); border: 1px solid var(--color-border, #e3e3e3); font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
.mx-hand .btn { display: inline-flex; align-items: center; gap: 6px; }

.mx-builds h2 { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 10px; font-size: 18px; } .mx-builds h2 small { font-size: 12.5px; color: var(--color-text-muted, #666); font-weight: 600; }
.mx-bl { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.mx-b { position: relative; }
.mx-b > button:first-child { width: 100%; display: grid; gap: 4px; text-align: left; padding: 0 0 10px; border-radius: 14px; overflow: hidden; border: 1px solid var(--color-border, #ddd); background: var(--color-surface, #fff); color: inherit; cursor: pointer; font: inherit; }
.mx-b img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: #20242b; }
.mx-b b, .mx-b small { padding: 0 10px; } .mx-b b { font-size: 13.5px; } .mx-b small { font-size: 11.5px; color: var(--color-text-muted, #666); }
.mx-bx { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; border: 0; background: rgb(10 12 16 / .6); color: #fff; cursor: pointer; }
.mx-bx:hover { background: #dc2626; }
.mx-fine { margin: 0; font-size: 12px; line-height: 1.5; color: var(--color-text-muted, #666); }

.js-modal.mx-modal .js-modal__box { max-width: 640px; }
.js-modal.mx-modal--wide .js-modal__box { max-width: 820px; }
.mx-sheetm, .mx-parts, .mx-post, .mx-spinm { display: grid; gap: 12px; }
.mx-sheetm img, .mx-post img { width: 100%; border-radius: 12px; display: block; }
.mx-sheetm small, .mx-parts small { color: var(--color-text-muted, #666); font-size: 12.5px; }
.mx-parts h2 { margin: 0; } .mx-parts h3 { margin: 6px 0 0; font-size: 15px; } .mx-parts p { margin: 0; color: var(--color-text-muted, #555); }
.mx-parts ul, .mx-parts ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.mx-note { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 13px; color: var(--color-text-muted, #555); }
.mx-spinstage { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #20242b; }

.mx-pbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 4px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(120deg, rgb(31 79 143 / .12), rgb(245 165 36 / .12)); border: 1px solid rgb(245 165 36 / .3); }
.mx-pbar > span { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13.5px; margin-right: auto; flex: 1 1 200px; min-width: 0; flex-wrap: wrap; }
.mx-pbar > span small { font-weight: 600; color: var(--color-text-muted, #666); }
.mx-pbar button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 0; background: #f5a524; color: #111; font: 700 13px/1 var(--font-body); cursor: pointer; }
.mx-pbar button + button { background: transparent; border: 1px solid var(--color-border, #ccc); color: inherit; }
