.mh {
  --mh-ink: #141210;
  --mh-muted: #6b645e;
  --mh-faint: #8a827b;
  --mh-line: rgba(20, 18, 16, .1);
  --mh-orange: #d97706;
  --mh-pink: #db3d72;
  --mh-green: #16815f;
  min-height: 100vh;
  background: #f6f5f3;
  color: var(--mh-ink);
}

.mh-wrap { width: min(1280px, calc(100vw - 40px)); margin: 0 auto; }

.mh-hero { padding: 58px 0 42px; border-bottom: 1px solid var(--mh-line); background: #fff; }
.mh-hero-inner { display: grid; grid-template-columns: minmax(320px, .78fr) minmax(460px, 1.22fr); gap: 72px; align-items: end; }
.mh-eyebrow, .mh-label, .mh-owner p { margin: 0 0 10px; color: var(--mh-orange); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.mh-hero-copy h1 { margin: 0; font-size: 48px; font-weight: 800; line-height: 1.04; }
.mh-hero-copy h1 span { color: var(--mh-orange); background: linear-gradient(105deg, #e98309, #f36a57 56%, #db3d72); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.mh-hero-copy > p:last-child { max-width: 520px; margin: 16px 0 0; color: var(--mh-muted); font-size: 15px; line-height: 1.6; }

.mh-search { height: 56px; padding: 6px 6px 6px 16px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(20,18,16,.18); border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(20,18,16,.08); }
.mh-search:focus-within { border-color: var(--mh-orange); box-shadow: 0 0 0 3px rgba(217,119,6,.1), 0 10px 28px rgba(20,18,16,.08); }
.mh-search > i { color: var(--mh-faint); }
.mh-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--mh-ink); font: 500 15px/1.2 inherit; }
.mh-search button { height: 42px; padding: 0 20px; border: 0; border-radius: 6px; background: var(--mh-ink); color: #fff; font-size: 13px; font-weight: 700; }
.mh-stats { margin-top: 13px; display: flex; gap: 20px; color: var(--mh-faint); font-size: 12px; }
.mh-stats strong { color: var(--mh-ink); font-weight: 800; }

.mh-shortcuts { min-height: 76px; display: grid; grid-template-columns: repeat(3, 1fr); border-right: 1px solid var(--mh-line); border-bottom: 1px solid var(--mh-line); border-left: 1px solid var(--mh-line); background: #fff; }
.mh-shortcuts a { min-width: 0; padding: 15px 20px; display: grid; grid-template-columns: 34px 1fr 18px; gap: 12px; align-items: center; border-right: 1px solid var(--mh-line); color: inherit; text-decoration: none; }
.mh-shortcuts a:last-child { border-right: 0; }
.mh-shortcuts a > i:first-child { color: var(--mh-orange); font-size: 18px; }
.mh-shortcuts a:nth-child(2) > i:first-child { color: var(--mh-pink); }
.mh-shortcuts a:nth-child(3) > i:first-child { color: var(--mh-green); }
.mh-shortcuts a > i:last-child { color: #aaa39d; }
.mh-shortcuts strong, .mh-shortcuts small { display: block; }
.mh-shortcuts strong { font-size: 14px; }
.mh-shortcuts small { margin-top: 2px; color: var(--mh-faint); font-size: 11px; }
.mh-shortcuts a:hover { background: #faf9f7; }

.mh-section { padding-top: 62px; }
.mh-section-head { margin-bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.mh-label { margin-bottom: 7px; }
.mh-label.is-pink { color: var(--mh-pink); }
.mh-label.is-green { color: var(--mh-green); }
.mh-section-head h2 { margin: 0; font-size: 27px; font-weight: 800; line-height: 1.12; }
.mh-section-head div > p:last-child:not(.mh-label) { margin: 7px 0 0; color: var(--mh-muted); font-size: 13px; }
.mh-section-head > a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; color: var(--mh-ink); font-size: 12px; font-weight: 700; text-decoration: none; }
.mh-section-head > a:hover { color: var(--mh-orange); }

.mh-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mh-product { min-width: 0; min-height: 142px; padding: 11px; display: grid; grid-template-columns: 86px 1fr; gap: 13px; border: 1px solid var(--mh-line); border-radius: 8px; background: #fff; color: inherit; text-decoration: none; transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.mh-product:hover { border-color: rgba(217,119,6,.34); box-shadow: 0 10px 24px rgba(20,18,16,.08); color: inherit; transform: translateY(-1px); }
.mh-product-image { width: 86px; aspect-ratio: 5 / 7; display: grid; place-items: center; overflow: hidden; border-radius: 6px; background: #eeece9; color: #aaa39d; }
.mh-product-image img { width: 100%; height: 100%; object-fit: cover; }
.mh-product-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.mh-product-copy > strong { max-width: 100%; overflow: hidden; color: var(--mh-ink); font-size: 14px; line-height: 1.28; text-overflow: ellipsis; white-space: nowrap; }
.mh-product-copy small { max-width: 100%; margin-top: 4px; overflow: hidden; color: var(--mh-faint); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.mh-product-price { margin-top: 15px; color: var(--mh-orange); font-size: 14px; font-weight: 800; }

.mh-game-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.mh-game-list a { min-width: 0; min-height: 66px; padding: 13px 16px; display: grid; grid-template-columns: 28px 1fr 16px; gap: 10px; align-items: center; border: 1px solid var(--mh-line); border-radius: 8px; background: #fff; color: inherit; text-decoration: none; }
.mh-game-list a > i:first-child { color: var(--mh-pink); font-size: 17px; }
.mh-game-list a > i:last-child { color: #aaa39d; }
.mh-game-list strong { min-width: 0; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.mh-game-list a:hover { background: #fff; }

.mh-store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mh-store { min-width: 0; padding: 16px; display: grid; grid-template-columns: 40px 1fr auto 18px; gap: 12px; align-items: center; border: 1px solid var(--mh-line); border-radius: 8px; background: #fff; color: inherit; text-decoration: none; }
.mh-store:hover { border-color: rgba(22,129,95,.35); box-shadow: 0 8px 20px rgba(20,18,16,.07); color: inherit; }
.mh-store-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 7px; background: #242326; color: #fff; font-size: 13px; font-weight: 800; }
.mh-store-copy, .mh-store-copy strong, .mh-store-copy small, .mh-store-stock strong, .mh-store-stock small { min-width: 0; display: block; }
.mh-store-copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.mh-store-copy small { margin-top: 3px; overflow: hidden; color: var(--mh-faint); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.mh-store-stock { text-align: right; }
.mh-store-stock strong { font-size: 14px; }
.mh-store-stock small { color: var(--mh-faint); font-size: 9px; text-transform: uppercase; }
.mh-store > i { color: #aaa39d; }

.mh-owner { margin-top: 72px; padding: 52px 0; background: #222124; color: #fff; }
.mh-owner-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.mh-owner p { color: #f59e0b; }
.mh-owner h2 { margin: 0; font-size: 30px; font-weight: 800; }
.mh-owner span { display: block; margin-top: 9px; color: #b8b3ae; font-size: 13px; }
.mh-owner a { min-height: 42px; padding: 10px 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: 7px; background: #fff; color: var(--mh-ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.tm-footer { margin-top: 0; }

@media (max-width: 980px) {
  .mh-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .mh-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .mh-wrap { width: calc(100vw - 28px); }
  .mh-hero { padding: 42px 0 30px; }
  .mh-hero-copy h1 { font-size: 38px; }
  .mh-search { height: 52px; }
  .mh-search button { width: 40px; padding: 0; font-size: 0; }
  .mh-search button::before { content: "\F52A"; font-family: "bootstrap-icons"; font-size: 15px; }
  .mh-stats { gap: 12px; flex-wrap: wrap; }
  .mh-shortcuts { grid-template-columns: 1fr; }
  .mh-shortcuts a { border-right: 0; border-bottom: 1px solid var(--mh-line); }
  .mh-shortcuts a:last-child { border-bottom: 0; }
  .mh-section { padding-top: 50px; }
  .mh-section-head { align-items: start; }
  .mh-product-grid, .mh-store-grid { grid-template-columns: 1fr; }
  .mh-product:nth-child(n+5) { display: none; }
  .mh-game-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-owner { margin-top: 58px; padding: 42px 0; }
  .mh-owner-inner { grid-template-columns: 1fr; }
  .mh-owner h2 { font-size: 26px; }
  .mh-owner a { justify-self: start; }
}
