
.mi { --tile: 40px; --cs: 7px; position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px;
  margin: 0; padding: 4px 10px 4px 4px; border: 0; border-radius: var(--radius); background: none; color: var(--bone);
  font: inherit; text-align: left; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mi-tile { flex: none; display: grid; place-items: center; width: var(--tile); height: var(--tile); background: var(--field);
  border-radius: 3px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.35); }
.mi-tile .sprite { --spx: 2; }
.mi--ask .mi-tile .sprite { --spx: 1; }
.mi-tile .nav-piece { grid-template-columns: repeat(4, var(--cs)); grid-template-rows: repeat(2, var(--cs)); gap: 1px; margin: 0; }
.mi-dot { width: 8px; height: 8px; border-radius: 1px; background: var(--bone-soft); opacity: .7; }
.mi-text { display: grid; gap: 2px; min-width: 0; }
.mi-text > strong { font-weight: 750; font-size: 1rem; line-height: 1.2; font-stretch: 105%; }
.mi-text > span { color: var(--bone-soft); font-size: .86rem; line-height: 1.3; }
.mi-short { display: none; }
.mi-key { flex: none; margin-left: auto; min-width: 26px; height: 26px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 3px;
  background: var(--field); box-shadow: inset 0 0 0 1px var(--field-edge), inset 0 -2px 0 rgba(0, 0, 0, .35); color: var(--bone-soft); font: 400 .82rem/1 "DotGothic16", ui-monospace, monospace; }
.mi-num { color: var(--number); font-weight: 800; white-space: nowrap; }
.mi-go { flex: none; margin-left: auto; padding: 0 10px; color: var(--bone); font-size: .86rem; font-weight: 750; }
.mi--tool .mi-text > strong .mi-long, .mi--tool .mi-text > strong .mi-short { font-weight: 750; }

.mi-tile--evo { --tile: 56px; width: 56px; height: 64px; background: var(--syl-plum); box-shadow: inset 0 -3px 0 var(--evo, var(--syl-pink)); }
.mi-evo { image-rendering: pixelated; }

@media (hover: hover) { .mi:hover { background: var(--field-2); } }
.mi:active { background: var(--field-2); }
.mi[data-here] { background: color-mix(in srgb, var(--th-accent) 13%, transparent); box-shadow: inset 0 0 0 2px var(--th-accent); }
.mi[data-here] .mi-text > strong::after { content: "Here"; margin-left: 8px; padding: 1px 6px; border-radius: 2px; background: var(--th-accent); color: var(--th-on-accent, var(--ink));
  font-size: .72rem; font-weight: 800; vertical-align: .12em; }
.mp-hide-here .mi[data-here] .mi-text > strong::after { content: none; }
@media (prefers-reduced-motion: no-preference) {
  .mi-tile > * { --drop: 8px; }
  @media (hover: hover) { .mi:hover .mi-tile > * { animation: lock-drop var(--m-lock, 240ms) steps(4, end) both; } }
  .mi:focus-visible .mi-tile > * { animation: lock-drop var(--m-lock, 240ms) steps(4, end) both; }
}

.mp-evo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.mp-evo-a { display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 2px 10px 2px 4px; border-radius: var(--radius); background: var(--field); color: var(--bone);
  text-decoration: none; box-shadow: inset 0 -3px 0 var(--evo); }
.mp-evo-a b { display: block; font-size: .86rem; font-weight: 800; line-height: 1.15; }
.mp-evo-a span > span { display: block; color: var(--evo); font-size: .84rem; font-weight: 700; }
.mp-evo-img { flex: none; image-rendering: pixelated; }
@media (hover: hover) { .mp-evo-a:hover { background: var(--field-2); } }
.mp-evo li:last-child { grid-column: 1 / -1; }
.mp-evo .mp-evo-a { display: flex; width: 100%; }
.mp-evo-a > span { min-width: 0; }
.mp-evo-a--design b { margin-bottom: 2px; }

.mp-site { display: flex; align-items: center; gap: 2px; }
.mp-site > .mi { flex: 1 1 auto; min-width: 0; }
.mp-visit { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--bone-soft); font-size: .8rem; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
@media (hover: hover) { .mp-visit:hover { color: var(--bone); } }
.mp-list { margin: 0; padding: 0; list-style: none; }
.mp-head { margin: 0 0 6px; color: var(--bone-soft); font-size: .8rem; font-weight: 800; letter-spacing: .02em; }
.mp-sub { margin: 8px 0 4px; color: var(--bone-soft); font-size: .8rem; font-weight: 700; }

.mi--route { --out: var(--piece-t); }
.mi--route[data-outcome="found"] { --out: var(--found); } .mi--route[data-outcome="understood"] { --out: var(--understood); }
.mi--route[data-outcome="chosen"] { --out: var(--chosen); } .mi--route[data-outcome="proof"] { --out: var(--proof); }
.mi--route .mi-tile { box-shadow: inset 0 -3px 0 var(--out); }
.mi--route .nav-piece i { background: var(--out); }

.mp-demo .bella-launch, .mp-demo .bella-tip { display: none !important; }
.mp-demo .draft-bar { position: static; }

.mi[href="/portfolio/design/"]:not([aria-current]), .mp-evo-a[href="/portfolio/design/"]:not([aria-current]) { background-image: none; }
.mi[href="/portfolio/design/"]:not([aria-current])::after, .mp-evo-a[href="/portfolio/design/"]:not([aria-current])::after { content: none; }
.mi[href="/portfolio/design/"] .mi-text > strong, .mp-evo-a[href="/portfolio/design/"] b { width: fit-content; padding-bottom: 3px; color: var(--syl-pink);
  background: linear-gradient(90deg, var(--syl-pink) 45%, var(--syl-ribbon) 55%) no-repeat 0 100% / 100% 3px; }
@media (hover: hover) { .mi[href="/portfolio/design/"]:hover { background-color: var(--syl-plum); } }
.mp-site > .mi { width: auto; }
.mh .wordmark .hs-logo { width: 38px; height: auto; }

.mp-evo { gap: 4px; }
.mp-evo-a { min-height: 56px; padding: 0 10px 0 2px; }
.mp-evo-img { width: 68px !important; height: 56px !important; object-fit: none; object-position: 50% 100%; }
.mp-evo-a--design { flex-direction: row-reverse; padding: 0 2px 0 12px; text-align: right; }
.mp-evo-a--design > span { margin-left: auto; }
.mp-evo-a--design b { margin-left: auto; }

.mp-totals { display: grid; gap: 0; margin: 6px 0 0; padding: 0; list-style: none; }
.mp-total { display: grid; gap: 1px; padding: 8px 0; border-top: 1px solid var(--field-line); }
.mp-total:first-child { border-top: 0; padding-top: 2px; }
.mp-total-n { color: var(--src, var(--number)); font-size: 1.55rem; font-weight: 900; line-height: 1.05; font-stretch: 125%; font-variant-numeric: tabular-nums; }
.mp-total[data-src="google"] { --src: var(--src-google); } .mp-total[data-src="bing"] { --src: var(--src-bing); } .mp-total[data-src="ai"] { --src: var(--src-ai); }
.mp-total .nf-text { color: var(--bone); font-size: .86rem; line-height: 1.3; }
.mp-total .nf-src { color: var(--bone-soft); font-size: .78rem; line-height: 1.3; }

@media print { .mh { display: none !important; } }

@media (max-width: 420px) { .site-header.mh .wordmark { gap: 8px; } .site-header.mh .wm-name { font-size: .74rem; } .site-header.mh .wm-role { font-size: .54rem; } .site-header.mh .wordmark .wm-text { min-width: 0; } }
.site-header.mh--c :is(.mc-top, .mc-resume) { white-space: nowrap; min-width: max-content; }
