.site-footer {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 11px;
  padding-block: 50px;
  color: var(--mh-text-muted);
  font-size: calc(12px * var(--mh-ui-scale));
  line-height: 1.65;
}
.site-footer:is(:lang(ja), :lang(zh)) { word-break: normal; }
.home-page > #home:not(:has(> :is(#studio-page, #models-page):not([hidden]))) { min-height: max(260px, calc(100svh - var(--mh-header-height) - 265px)); }
.site-footer__head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 20px; }
.site-footer__logos { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 16px; max-inline-size: 100%; margin-inline-start: auto; }
.site-footer__logo-pair { display: flex; flex: none; align-items: center; column-gap: inherit; }
.site-footer__summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 20px; }
.site-footer__release { color: var(--mh-text-muted); font-size: calc(11px * var(--mh-ui-scale)); white-space: nowrap; }
.site-footer__version-number { color: var(--mh-accent); }
.site-footer button.site-footer__play {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--mh-control-surface);
  font-size: calc(11px * var(--mh-ui-scale));
}
.site-footer button.site-footer__play:is(:hover, :focus-visible) { background: var(--mh-focus-surface); }
.site-footer__play img { flex: none; }
.site-footer nav { display: flex; flex: 1 1 0; min-inline-size: 0; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.site-footer button { padding: 2px 0; border: 0; background: none; color: var(--mh-text); font: inherit; cursor: pointer; }
.site-footer nav a { padding-block: 2px; color: var(--mh-text); font: inherit; }
.site-footer nav > :is(a, button) { white-space: nowrap; }
.site-footer button:is(:hover, :focus-visible), .site-footer a[href]:hover { color: var(--mh-accent-bright); }
.site-footer p > :is(a, button) { color: var(--mh-text); text-decoration: underline; text-underline-offset: 2px; }
.site-footer address { font-style: normal; overflow-wrap: anywhere; }
.site-footer a { color: inherit; }
.site-footer img { object-fit: contain; object-position: left center; }
.site-footer img.site-footer__zeroalive { object-fit: fill; translate: 0 2.5px; }
@media (max-width: 760px) {
  .site-footer { text-align: center; }
  .site-footer__head, .site-footer nav, .site-footer__logos { justify-content: center; }
  .site-footer nav { flex-basis: 100%; }
  .site-footer__logos { margin-inline-start: 0; }
  .site-footer__summary { grid-template-columns: minmax(0, 1fr); }
  .site-footer button.site-footer__play { justify-self: center; }
  .site-footer img { object-position: center; }
}
.mh-dialog--service { --mh-dialog-width: 772px; }
.mh-dialog.mh-dialog--app-install {
  --mh-dialog-scrollbar-gutter: auto;
  position: fixed;
  inset: auto var(--mh-content-gutter) max(16px, env(safe-area-inset-bottom)) auto;
  width: min(410px, calc(100% - 2 * var(--mh-content-gutter)));
  height: auto;
  max-height: calc(100dvh - 32px);
  margin: 0;
  border-radius: var(--mh-radius-lg);
}
.mh-dialog--app-install::backdrop { background: #08070c26; backdrop-filter: none; }
.mh-dialog--app-install .mh-dialog__surface { height: auto; max-height: calc(100dvh - 32px); }
.mh-dialog--app-install .mh-dialog__header { padding-block: 12px 4px; padding-inline-end: calc(var(--mh-dialog-padding) - 4px); border: 0; }
.mh-dialog--app-install .mh-dialog__body { padding-block: 4px 16px; }
.mh-dialog--news {
  --mh-news-arrow-size: calc(38px * var(--mh-ui-scale));
  --mh-dialog-width: min(880px, calc(100vw - 2 * (24px + var(--mh-news-arrow-size))));
  --mh-dialog-padding: clamp(16px, 4vw, 40px);
  --mh-dialog-header-height: calc(64px * var(--mh-ui-scale));
  --mh-dialog-scrollbar-gutter: auto;
}
.mh-dialog--news:has(.mh-news[data-development-note]) {
  --mh-dialog-width: 880px;
  --mh-dialog-scrollbar-gutter: stable both-edges;
}
.mh-dialog--news .mh-dialog__header { padding-inline: var(--mh-dialog-padding); border: 0; }
.mh-dialog--news .mh-dialog__header h2 { font-size: calc(18px * var(--mh-ui-scale)); }
.mh-dialog--news .mh-dialog__body { padding-block: 0 clamp(24px, 4vw, 36px); }
.mh-dialog--news .mh-dialog__error:not(:empty) { position: static; }
.mh-news { display: grid; gap: 14px; min-width: 0; }
.mh-news__date { color: var(--mh-text-muted); font-size: calc(12px * var(--mh-ui-scale)); }
.mh-news__image {
  display: block;
  width: 100%;
  max-height: min(48dvh, 410px);
  object-fit: contain;
  border-radius: var(--mh-radius-sm);
  background: var(--mh-surface);
}
.mh-news__title { font-size: calc(clamp(17px, 3vw, 25px) * var(--mh-ui-scale)); line-height: 1.32; overflow-wrap: anywhere; }
.mh-news__copy { white-space: pre-wrap; }
.mh-news__status { display: grid; min-height: 96px; place-items: center; text-align: center; }
.mh-news__arrow {
  position: absolute;
  inset-block-start: 50%;
  translate: 0 -50%;
  --mh-icon-button-size: var(--mh-news-arrow-size);
  --mh-icon-size: calc(16px * var(--mh-ui-scale));
  background: var(--mh-dialog-surface);
}
.mh-news__arrow--previous { inset-inline-end: calc(100% + 12px); }
.mh-news__arrow--previous .mh-icon { rotate: 180deg; }
.mh-news__arrow--next { inset-inline-start: calc(100% + 12px); }
.mh-news__arrow[aria-disabled="true"] { opacity: .45; cursor: default; }
@media (max-width: 640px), (hover: none) and (max-height: 540px) {
  .mh-dialog--news {
    --mh-news-arrow-size: calc(32px * var(--mh-ui-scale));
    --mh-news-arrow-inset: 8px;
  }
  .mh-dialog--news:has(> .mh-news__arrow:not([hidden])) .mh-dialog__body {
    padding-inline: calc(var(--mh-news-arrow-inset) + var(--mh-news-arrow-size) + 8px);
  }
  .mh-news__arrow--previous { inset-inline: var(--mh-news-arrow-inset) auto; }
  .mh-news__arrow--next { inset-inline: auto var(--mh-news-arrow-inset); }
}
.mh-development-notes { display: grid; gap: clamp(22px, 5vw, 48px); min-width: 0; padding-bottom: clamp(26px, 5vw, 56px); }
.mh-development-notes__back { justify-self: start; color: var(--mh-text-muted); }
.mh-development-notes__back:hover { color: var(--mh-accent-bright); }
.mh-development-notes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 50px) clamp(12px, 4vw, 50px);
}
@media (max-width: 760px) {
  .mh-development-notes__grid {
    --mh-development-note-font-increase: 2px;
    grid-template-columns: minmax(0, 1fr);
  }
}
.mh-development-notes__card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 100%;
  border-radius: var(--mh-radius-sm);
  color: var(--mh-text);
}
.mh-development-notes__card:is(:hover, :focus-visible) .mh-development-notes__title { color: var(--mh-accent-bright); }
.mh-development-notes__cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  margin-block-end: 14px;
  overflow: hidden;
  border-radius: var(--mh-radius-sm);
  background: var(--mh-surface);
}
.mh-development-notes__cover > .primary-nav__recent {
  position: absolute;
  z-index: 1;
  inset-block-start: clamp(3px, .6vw, 7px);
  inset-inline-start: clamp(3px, .6vw, 7px);
}
.mh-development-notes__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.mh-development-notes__title, .mh-development-notes__preview {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}
.mh-development-notes__title {
  -webkit-line-clamp: 2;
  font-size: calc(clamp(12px, 1.45vw, 16px) * var(--mh-ui-scale) + var(--mh-development-note-font-increase, 0px));
  font-weight: 700;
  line-height: 1.35;
}
.mh-development-notes__preview {
  -webkit-line-clamp: 2;
  min-block-size: 3em;
  color: var(--mh-text-muted);
  font-size: calc(clamp(10px, 1.2vw, 13px) * var(--mh-ui-scale) + var(--mh-development-note-font-increase, 0px));
  line-height: 1.5;
}
.mh-development-notes__date {
  display: block;
  color: var(--mh-text-subtle);
  font-size: calc(clamp(8px, .9vw, 10px) * var(--mh-ui-scale));
  line-height: 1.35;
}
.mh-development-notes__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mh-development-notes__card .mh-development-notes__tags { margin-block-start: 9px; }
.mh-development-notes__tags li {
  max-inline-size: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mh-accent-soft);
  color: var(--mh-accent-bright);
  font-size: calc(clamp(9px, 1vw, 11px) * var(--mh-ui-scale));
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.mh-development-notes__pagination { display: flex; justify-content: center; align-items: center; gap: 8px; }
.mh-development-notes__pagination .gallery-more { margin-block-start: 0; }
.mh-development-notes__guide-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; text-align: center; }
.mh-development-notes__status { padding: 22px 0; color: var(--mh-text-muted); text-align: center; }
.mh-development-notes__article { display: grid; gap: 18px; width: min(100%, 760px); margin-inline: auto; overflow-wrap: anywhere; }
.mh-development-notes__article h1, .mh-news[data-development-note] .mh-news__title {
  font-size: calc(clamp(16px, 2.4vw, 19px) * var(--mh-ui-scale));
  line-height: 1.35;
}
.mh-development-notes__article-image { display: block; width: 100%; height: auto; margin-block: 36px; border-radius: var(--mh-radius-sm); }
.mh-development-notes__article .mh-news__copy { margin-block-end: 36px; }
.mh-news[data-development-note] .mh-news__image { height: auto; max-height: none; margin-block: 28px; }
.mh-news[data-development-note] .mh-news__copy { margin-block-end: 28px; font-size: calc(15px * var(--mh-ui-scale)); }
:is(.mh-development-notes__article, .mh-news[data-development-note]) .mh-news__copy {
  color: var(--mh-text-muted);
  line-height: 1.75;
}
.mh-service { display: grid; grid-template-columns: minmax(96px, 150px) minmax(0, 1fr); gap: clamp(16px, 4vw, 38px); align-items: start; }
.mh-service__nav { display: grid; gap: 3px; }
.mh-service__nav .mh-button { justify-content: flex-start; padding-inline: 12px; white-space: normal; text-align: start; }
.mh-service__nav [aria-pressed="true"] { background: var(--mh-accent-soft); color: var(--mh-accent-bright); }
.mh-service__form { display: grid; gap: 14px; min-width: 0; }
.mh-service__form h3 { margin: 0; font-size: calc(15px * var(--mh-ui-scale)); font-weight: 650; }
.mh-service__form p { color: var(--mh-text-muted); overflow-wrap: anywhere; }
.mh-service__form label { display: grid; gap: 6px; }
.mh-service__form :is(.mh-input,.mh-textarea) { width: 100%; }
.mh-service__form .mh-textarea { min-height: 136px; }
.mh-service__form > .mh-button { justify-self: end; }
.mh-dialog--policy {
  --mh-dialog-width: 1020px;
  --mh-dialog-padding: clamp(24px, 4vw, 42px);
}
.mh-dialog--policy .mh-dialog__surface { scrollbar-width: none; }
.mh-dialog--policy .mh-dialog__header h2 { font-size: calc(20px * var(--mh-ui-scale)); }
.mh-dialog--policy .mh-dialog__body { padding-block: clamp(22px, 4vw, 34px) clamp(30px, 5vw, 48px); }
.mh-policy-page {
  max-inline-size: 1080px;
  margin-inline: auto;
  padding: clamp(20px, 5vw, 64px);
}
.mh-policy-page__home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mh-text-muted);
}
.mh-policy-page__home img { object-fit: contain; }
.mh-policy-page h1 { margin-block: 24px 32px; font-size: clamp(22px, 4vw, 36px); }
.mh-policy {
  display: grid;
  grid-template-columns: minmax(0, 196px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}
.mh-policy__toc {
  position: sticky;
  inset-block-start: 20px;
  min-width: 0;
  max-height: calc(100dvh - 80px);
  overflow-y: auto;
  scrollbar-width: none;
}
.mh-policy__toc > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 6px;
  color: var(--mh-text-muted);
  font-size: calc(12px * var(--mh-ui-scale));
  cursor: pointer;
  list-style: none;
}
.mh-policy__toc > summary::-webkit-details-marker { display: none; }
.mh-policy__toc > summary .mh-icon { --mh-icon-size: calc(12px * var(--mh-ui-scale)); --mh-icon-stroke-width: 1.6; }
.mh-policy__toc[open] > summary .mh-icon { transform: rotate(180deg); }
.mh-policy__toc nav { display: grid; gap: 2px; margin-block-start: 8px; }
.mh-policy__toc .mh-button {
  --mh-control-height: calc(33px * var(--mh-ui-scale));
  --mh-control-size: calc(12px * var(--mh-ui-scale));
  justify-content: flex-start;
  padding: 6px 8px;
  color: var(--mh-text-muted);
  text-align: start;
  white-space: normal;
}
.mh-policy__toc .mh-button:is(:hover, :focus-visible) { color: var(--mh-text); }
.mh-policy__article { display: grid; min-width: 0; gap: 24px; font-size: calc(14px * var(--mh-ui-scale)); line-height: 1.82; word-break: keep-all; }
.mh-policy:is(:lang(ja), :lang(zh)) :is(.mh-policy__article, .mh-policy__toc) { word-break: normal; }
.mh-policy__article .mh-policy__intro { color: var(--mh-text); }
.mh-policy__article > section {
  display: grid;
  gap: 8px;
  padding-block-start: 20px;
  border-block-start: 1px solid var(--mh-border);
  scroll-margin-block-start: 20px;
}
.mh-policy__article h3 { margin: 0; font-size: calc(15px * var(--mh-ui-scale)); font-weight: 650; }
.mh-policy__article ul { display: grid; gap: 8px; margin: 0; padding-inline-start: 1.25em; color: var(--mh-text-muted); }
.mh-policy__article li { overflow-wrap: anywhere; }
.mh-policy__article li::marker { color: var(--mh-text-subtle); }
.mh-policy__sources { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: calc(12px * var(--mh-ui-scale)); }
.mh-policy__sources a { color: var(--mh-accent-bright); text-underline-offset: 3px; }
.mh-dialog--usage .mh-dialog__header:has(> .mh-dialog__close) {
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
  align-self: start;
  align-items: center;
  width: 100%;
  padding-block: 28px 8px;
  padding-inline-end: var(--mh-dialog-padding);
  background: var(--mh-dialog-surface);
}
.mh-dialog__header:has(> .mh-dialog__close) > .mh-dialog__leading { margin-inline-start: 0; }
.mh-dialog__header > .mh-dialog__close {
  position: relative;
  inset: auto;
  margin-inline-start: auto;
}
.mh-dialog__surface:has(> .mh-dialog__header > .mh-dialog__close) { scrollbar-gutter: var(--mh-dialog-scrollbar-gutter, stable); }
.mh-dialog--mp-shop {
  --mh-dialog-width: 620px;
  --mh-dialog-padding: clamp(18px, 4vw, 32px);
  --mh-dialog-primary-track: 1.6fr;
  --mh-mp-shop-box-padding: 20px;
}
.mh-dialog--mp-shop .mh-dialog__header {
  position: sticky;
  z-index: 5;
  inset-block-start: 0;
  padding-inline-end: var(--mh-dialog-padding);
  border: 0;
  background: var(--mh-dialog-surface);
}
.mh-dialog--mp-shop .mh-dialog__header h2 { font-size: calc(21px * var(--mh-ui-scale)); }
.mh-dialog--mp-shop .mh-dialog__body { padding-block: 0 20px; }
.mh-dialog--mp-shop :is(.mh-usage__charge, .mh-usage__balances) { padding: var(--mh-mp-shop-box-padding); }
.mh-dialog--mp-shop .mh-dialog__surface:has(.mh-mp-shop__panel--plus:not([hidden])) > :is(.mh-dialog__footer, .mh-dialog__error) { display: none; }
.mh-mp-shop { min-width: 0; }
.mh-mp-shop__tabs {
  display: flex;
  gap: 22px;
  margin-block-end: 20px;
  border-bottom: 1px solid var(--mh-border);
}
.mh-mp-shop__tab {
  min-height: 41px;
  padding: 0 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--mh-text-muted);
  font: inherit;
  font-weight: 620;
  cursor: pointer;
}
.mh-mp-shop__tab:is(:hover, [aria-selected="true"]) { color: var(--mh-text); }
.mh-mp-shop__tab[aria-selected="true"] { border-bottom-color: var(--mh-accent-bright); }
.mh-mp-shop__plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-inline-size: 0;
  gap: 13px;
}
.mh-mp-shop__plan-summary h3 { margin: 0; color: var(--mh-text); font: inherit; font-weight: 650; }
.mh-mp-shop__plan-price { justify-self: end; margin: 0; text-align: end; }
.mh-mp-shop__plan-price strong { font-variant-numeric: tabular-nums; }
.mh-mp-shop__plan-price span { margin-inline-start: 4px; color: var(--mh-text-muted); font-size: calc(12px * var(--mh-ui-scale)); }
.mh-mp-shop__play:not([hidden]) {
  display: grid;
  place-content: center;
  justify-items: center;
  min-block-size: 148px;
  gap: 10px;
  padding: var(--mh-mp-shop-box-padding);
  text-align: center;
}
.mh-mp-shop__play p { margin: 0; font-size: calc(13px * var(--mh-ui-scale)); }
.mh-mp-shop__plan-actions {
  display: grid;
  gap: 10px;
}
.mh-mp-shop__member strong { color: var(--mh-text); }
.mh-mp-shop__member p, .mh-mp-shop__plan-message { margin: 0; }
.mh-mp-shop__plan-message:empty { display: none; }
.mh-mp-shop__plan-actions .mh-button {
  justify-self: start;
  --mh-control-height: calc(40px * var(--mh-ui-scale));
}
.mh-mp-shop__plan-actions > .mh-button--primary { justify-self: stretch; }
.mh-purchase { display: grid; gap: 13px; }
.mh-purchase:has(.mh-purchase__packages) { grid-template-columns: minmax(0, 1fr); min-inline-size: 0; }
.mh-purchase__packages {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.mh-purchase__packages legend { margin-block-end: 10px; padding: 0; font-weight: 650; }
.mh-purchase__package-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.mh-purchase__package {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 3px 4px;
  min-inline-size: 0;
  padding: var(--mh-mp-shop-box-padding);
  border: 0;
  border-radius: var(--mh-radius);
  background: var(--mh-field-surface);
}
.mh-purchase__package:has(input:not(:disabled)) { cursor: pointer; }
@media (min-width: 441px) {
  .mh-purchase__package-grid > .mh-purchase__package { grid-column: span 2; }
  .mh-purchase__package-grid > .mh-purchase__package:nth-last-child(-n + 2) { grid-column: span 3; }
}
@media (max-width: 440px) {
  .mh-purchase__package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-purchase__package-grid > .mh-purchase__package:nth-child(odd):last-child { grid-column: 1 / -1; }
}
.mh-purchase__package > strong { line-height: 1.2; color: var(--mh-text); }
.mh-purchase__package > span { grid-row: 2; color: var(--mh-text-muted); font-size: calc(12px * var(--mh-ui-scale)); }
.mh-purchase__package:has(input:not(:disabled)):hover { background: rgba(255, 255, 255, 0.05); }
.mh-purchase__package:has(input:checked) { background: var(--mh-accent-soft); }
.mh-purchase__package:has(input:checked) > strong { color: var(--mh-accent); }
.mh-purchase__package:has(input:focus-visible) { background: var(--mh-field-focus-surface); }
.mh-purchase__package:has(input:focus-visible) > strong { color: var(--mh-text); }
.mh-mp-shop__plan-summary { grid-template-columns: minmax(0, 1fr) auto; }
.mh-purchase__estimates {
  display: grid;
  gap: 8px;
  padding: var(--mh-mp-shop-box-padding);
  border: 1px solid var(--mh-border);
  border-radius: var(--mh-radius);
  font-size: calc(12px * var(--mh-ui-scale));
}
.mh-purchase__estimates dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
}
.mh-purchase__estimates dt { color: var(--mh-text-muted); }
.mh-purchase__estimates dd { margin: 0; color: var(--mh-text); font-weight: 650; }
.mh-purchase__estimates p { margin: 0; color: var(--mh-text-muted); font-size: calc(11px * var(--mh-ui-scale)); }
@media (min-width: 761px) {
  .mh-purchase__estimates dl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.mh-mp-shop__benefits dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
.mh-mp-shop__features > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  padding-block: 8px;
}
.mh-mp-shop__features > div:first-child { padding-block-start: 0; }
.mh-mp-shop__features > div + div { border-top: 1px solid var(--mh-border); }
.mh-mp-shop__features dt { color: var(--mh-text); font-weight: 650; }
.mh-mp-shop__features .mh-mp-shop__benefit-note { grid-column: 1 / -1; color: var(--mh-text-muted); font-weight: 400; }
.mh-mp-shop__benefit-amount { text-align: end; }
.mh-purchase__bank { display: grid; gap: 6px; }
.mh-purchase__bank .mh-input { width: 100%; }
.mh-dialog__body .mh-purchase__bank-details {
  margin: 0;
  padding: var(--mh-mp-shop-box-padding, 20px);
  border: 1px solid var(--mh-border);
  border-radius: var(--mh-radius);
  background: var(--mh-surface-raised);
  color: var(--mh-text);
  font-size: calc(12px * var(--mh-ui-scale));
  line-height: 1.5;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.mh-purchase__card { min-width: 0; }
.mh-purchase__paypal:not([hidden]) {
  display: grid;
  gap: 12px;
  padding: var(--mh-mp-shop-box-padding);
  border-radius: var(--mh-radius);
  background: var(--mh-field-surface);
}
.mh-purchase__paypal > .mh-select {
  --mh-field-surface: var(--mh-control-surface);
  --mh-field-focus-surface: var(--mh-control-surface-hover);
}
.mh-purchase__paypal .mh-select__trigger { box-shadow: inset 0 0 0 1px var(--mh-border); }
.mh-purchase__paypal .mh-select__chevron { color: var(--mh-text-muted); }
.mh-purchase__rate-source:not([hidden]) {
  justify-self: end;
  color: var(--mh-text-muted);
  font-size: calc(10px * var(--mh-ui-scale));
}
.mh-purchase__feedback { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.mh-purchase__paypal .mh-purchase__feedback { order: 1; margin-block-start: 2px; }
.mh-purchase__feedback:has(> p:empty):has(> button[hidden]) { display: none; }
.mh-purchase__feedback > p { flex: 1; margin: 0; }
.mh-purchase__feedback > .mh-button {
  --mh-control-height: calc(26px * var(--mh-ui-scale));
  --mh-control-size: calc(11px * var(--mh-ui-scale));
}
.mh-purchase__methods { display: flex; }
.mh-purchase__methods > .mh-segmented__option { flex: 1; }
.mh-purchase__methods > .mh-segmented__option > span { padding-inline: clamp(4px, 1.5vw, 12px); }
.mh-purchase:has(.mh-purchase__packages) .mh-purchase__methods > .mh-segmented__option { min-inline-size: 0; }
.mh-purchase:has(.mh-purchase__packages) .mh-purchase__methods > .mh-segmented__option > span {
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}
.mh-purchase:has(.mh-purchase__packages) .auth-verification__consent > span:last-child {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}
.mh-purchase__links { display: flex; justify-content: space-between; gap: 8px; }
.mh-purchase__links .mh-button { --mh-control-height: calc(26px * var(--mh-ui-scale)); --mh-control-size: calc(11px * var(--mh-ui-scale)); color: var(--mh-text-muted); }
.mh-purchase-history {
  min-width: 0;
  padding-block: 7px var(--mh-dialog-padding);
}
.mh-purchase-history__list {
  list-style: none;
  margin: 0;
  padding: 0 12px;
  border-radius: var(--mh-radius);
  background: var(--mh-surface-raised);
}
.mh-purchase-history__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 10px;
  padding-block: 10px;
  line-height: 1.4;
}
.mh-purchase-history__row + .mh-purchase-history__row { border-top: 1px solid var(--mh-divider); }
.mh-purchase-history__row .mh-usage__amount { font-size: calc(14px * var(--mh-ui-scale)); }
.mh-purchase-history__price { justify-self: end; font-size: calc(13px * var(--mh-ui-scale)); font-weight: 600; font-variant-numeric: tabular-nums; }
.mh-purchase-history__details {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  color: var(--mh-text-muted);
  font-size: calc(11px * var(--mh-ui-scale));
}
.mh-purchase-history__status {
  justify-self: end;
  padding: 2px 7px;
  border-radius: var(--mh-radius-pill);
  background: var(--mh-control-surface);
  color: var(--mh-text-muted);
  font-size: calc(11px * var(--mh-ui-scale));
}
.mh-purchase-history__status[data-state="approved"] { background: var(--mh-accent-soft); color: var(--mh-accent-bright); }
.mh-purchase-history__reason { grid-column: 1 / -1; font-size: calc(12px * var(--mh-ui-scale)); }
.mh-purchase-history__feedback:not([hidden]) {
  display: grid;
  min-height: 100px;
  place-items: center;
  border-radius: var(--mh-radius);
  background: var(--mh-surface-raised);
  color: var(--mh-text-muted);
}
.mh-purchase-history__more:not([hidden]) { display: flex; margin: 10px auto 0; --mh-control-height: calc(30px * var(--mh-ui-scale)); --mh-control-size: calc(12px * var(--mh-ui-scale)); }
@media (min-width: 641px) and (min-height: 541px), (min-width: 641px) and (hover: hover) {
  .mh-purchase-history__row { grid-template-columns: minmax(0, 1fr) max-content max-content; }
  .mh-purchase-history__price { grid-column: 2; grid-row: 1 / 3; }
  .mh-purchase-history__status { grid-column: 3; grid-row: 1 / 3; }
}
@media (max-width: 640px), (hover: none) and (max-height: 540px) {
  .mh-dialog--mp-shop .mh-dialog__surface {
    --mh-purchase-footer-padding: max(12px, env(safe-area-inset-bottom));
    --mh-purchase-footer-height: calc(44px * var(--mh-ui-scale) + 13px + var(--mh-purchase-footer-padding));
    scroll-padding-block-end: var(--mh-purchase-footer-height);
  }
  .mh-dialog--mp-shop .mh-dialog__surface > .mh-dialog__footer {
    position: sticky;
    z-index: 6;
    inset-block-end: 0;
    padding-block: 12px var(--mh-purchase-footer-padding);
    border-top: 1px solid var(--mh-border);
    background: var(--mh-dialog-surface);
  }
  .mh-dialog--mp-shop .mh-dialog__surface > .mh-dialog__error:not(:empty) {
    inset-block-end: var(--mh-purchase-footer-height);
  }
  .mh-service, .mh-policy { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mh-service__nav .mh-button { padding-inline: 8px; }
  .mh-policy__toc { position: static; max-height: none; overflow: visible; }
  .mh-service__nav, .mh-policy__toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
