:root {
  color-scheme: light;

  --moe-color-paper: #f4f0e8;
  --moe-color-paper-soft: #faf7f0;
  --moe-color-surface: #fffdfa;
  --moe-color-surface-muted: #ebe4d8;
  --moe-color-ink: #11110f;
  --moe-color-text: #24231f;
  --moe-color-muted: #666158;
  --moe-color-subtle: #9b9488;
  --moe-color-line: #d5ccbf;
  --moe-color-line-strong: #a99f91;
  --moe-color-accent: #11110f;
  --moe-color-accent-strong: #000000;
  --moe-color-accent-soft: #ece6db;
  --moe-color-terracotta: #9c6046;
  --moe-color-dried-flower: #c4a16f;
  --moe-color-link: #11110f;
  --moe-color-focus: #8f806b;
  --moe-color-matcha: #c7dd46;
  --moe-color-status-success: #607a55;
  --moe-color-status-warning: #a8793a;
  --moe-color-status-error: #9a5546;
  --moe-color-status-info: #68758c;
  --moe-color-status-draft: #817b72;
  --moe-color-status-deleted: #675f57;

  --moe-radius-xs: 2px;
  --moe-radius-sm: 4px;
  --moe-radius-md: 2px;
  --moe-radius-lg: 4px;
  --moe-radius-pill: 999px;

  --moe-shadow-card: 0 18px 48px rgba(17, 17, 15, 0.08);
  --moe-shadow-popup: 0 34px 96px rgba(17, 17, 15, 0.22);
  --moe-shadow-focus: 0 0 0 3px rgba(111, 132, 99, 0.22);

  --moe-space-1: 4px;
  --moe-space-2: 8px;
  --moe-space-3: 12px;
  --moe-space-4: 16px;
  --moe-space-5: 20px;
  --moe-space-6: 24px;
  --moe-space-8: 32px;
  --moe-space-10: 40px;
  --moe-space-12: 48px;
  --moe-space-16: 64px;

  --moe-font-sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --moe-font-serif: Georgia, "Times New Roman", serif;
  --moe-font-size-xs: 12px;
  --moe-font-size-sm: 14px;
  --moe-font-size-md: 16px;
  --moe-font-size-lg: 20px;
  --moe-font-size-xl: 28px;
  --moe-font-size-2xl: 48px;
  --moe-font-size-display: 76px;
  --moe-line-tight: 1.15;
  --moe-line-base: 1.5;
  --moe-line-loose: 1.7;

  --moe-container: 1180px;
  --home-edge-x: 32px;
  --moe-edge-x: var(--home-edge-x);
}

/* Dev / admin UX sprint refinements */
.moe-home-calendar__grid button {
  align-items: start;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #000;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: inherit;
  min-height: clamp(42px, 8vh, 82px);
  padding: 8px 0 0;
  position: relative;
  text-align: left;
}

.moe-home-calendar__grid button.is-empty {
  cursor: default;
}

.moe-home-calendar__grid button:focus-visible {
  outline: 1px solid #000;
  outline-offset: 2px;
}

.moe-home-calendar__grid button:not(.is-empty):hover::before,
.moe-home-calendar__grid button:not(.is-empty):hover::after,
.moe-home-calendar__grid button.is-today::before,
.moe-home-calendar__grid button.is-today::after {
  border: 2px solid var(--moe-color-matcha);
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.moe-home-calendar__grid button:not(.is-empty):hover::before,
.moe-home-calendar__grid button.is-today::before {
  border-radius: 50% 46% 54% 48% / 46% 57% 43% 54%;
  height: 0.86em;
  left: -0.08em;
  top: 0.01em;
  transform: rotate(-8deg);
  width: 1.12em;
}

.moe-home-calendar__grid button:not(.is-empty):hover::after,
.moe-home-calendar__grid button.is-today::after {
  border-radius: 48% 54% 42% 57% / 55% 45% 58% 43%;
  height: 0.92em;
  left: -0.13em;
  top: -0.01em;
  transform: rotate(5deg);
  width: 1.2em;
}

.moe-home-telegram {
  border-top: 1px solid #000;
  color: #000;
  display: grid;
  gap: 8px;
  max-width: min(420px, calc(100vw - 44px));
  padding-top: 12px;
  position: absolute;
  right: 22px;
  text-decoration: none;
  top: 104px;
  z-index: 1;
}

.moe-home-telegram span,
.moe-home-telegram em {
  color: rgba(0, 0, 0, 0.58);
  font-size: 10px;
  font-style: normal;
  line-height: 1.1;
}

.moe-home-telegram strong {
  color: #000;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.18;
}

.moe-home-telegram:hover strong,
.moe-home-telegram:focus-visible strong {
  background: var(--moe-color-matcha);
}

.moe-favorite-button {
  border: 0;
  height: 32px;
  width: 32px;
}

.moe-favorite-button svg {
  fill: transparent;
  height: 28px;
  stroke: #000;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  transform: rotate(-5deg);
  width: 30px;
}

.moe-favorite-button.is-active svg {
  fill: rgba(199, 221, 70, 0.78);
  stroke-width: 2.8;
}

.moe-favorite-button:hover svg,
.moe-favorite-button:focus-visible svg {
  transform: rotate(3deg) scale(1.04);
}

.moe-hand-stars {
  align-items: center;
  display: inline-flex;
  gap: 1px;
  vertical-align: middle;
}

.moe-hand-stars svg {
  fill: rgba(199, 221, 70, 0.72);
  height: 15px;
  stroke: #000;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 15px;
}

.moe-hand-stars svg:nth-child(2n) {
  transform: rotate(5deg);
}

.moe-hand-stars svg:nth-child(2n + 1) {
  transform: rotate(-4deg);
}

.moe-rating-empty {
  color: rgba(0, 0, 0, 0.58);
  font-size: 11px;
}

.moe-admin-search {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.moe-admin-search .moe-mock-field {
  min-width: min(420px, 100%);
}

.moe-admin-search button,
.moe-mock-upload button,
.moe-mock-upload input::file-selector-button {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  padding: 9px 10px;
  text-transform: uppercase;
}

.moe-mock-upload button:disabled {
  color: rgba(0, 0, 0, 0.52);
  cursor: not-allowed;
}

.moe-mock-upload input {
  color: #000;
  font: inherit;
  font-size: 11px;
  max-width: 100%;
}

.moe-mock-upload__message {
  color: #000;
}

.moe-admin-dictionaries {
  display: grid;
  gap: 18px;
}

.moe-admin-tabs--sub {
  margin-top: 6px;
}

.moe-admin-create-form--compact {
  padding: 18px;
}

@media (max-width: 780px) {
  .moe-home-telegram {
    left: var(--home-edge-x);
    right: var(--home-edge-x);
    top: auto;
    bottom: 58px;
  }
}

* {
  box-sizing: border-box;
}

[data-moe-space-root] {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(250, 247, 240, 0.96), rgba(244, 240, 232, 1)),
    var(--moe-color-paper);
  color: var(--moe-color-text);
  font-family: var(--moe-font-sans);
  font-size: var(--moe-font-size-md);
  line-height: var(--moe-line-base);
}

.moe-topbar,
.moe-home-first-screen {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

[data-moe-space-root] button,
[data-moe-space-root] input,
[data-moe-space-root] select,
[data-moe-space-root] textarea {
  font: inherit;
}

[data-moe-space-root] a {
  color: var(--moe-color-link);
  text-decoration: none;
}

[data-moe-space-root] a:hover {
  text-decoration: underline;
}

[data-moe-space-root] :focus-visible {
  border-radius: var(--moe-radius-sm);
  box-shadow: var(--moe-shadow-focus);
  outline: none;
}

.moe-page {
  max-width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  width: 100%;
}

#moe-space-root,
#moe-space-root .moe-page,
#moe-space-root main {
  max-width: 100%;
  overflow-x: clip;
}

.moe-container {
  margin: 0 auto;
  max-width: var(--moe-container);
  padding: 0 var(--moe-space-6);
  width: 100%;
}

.moe-topbar {
  background: transparent;
  border-bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 30;
}

.moe-topbar__inner {
  align-items: center;
  display: grid;
  gap: var(--moe-space-4);
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 64px;
  padding: 18px var(--home-edge-x);
}

.moe-topbar__brand {
  align-items: center;
  display: inline-flex;
  gap: 14px;
  min-width: 0;
}

.moe-burger {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: grid;
  gap: 5px;
  justify-self: start;
  margin: 0;
  padding: 0;
  position: relative;
  width: 36px;
}

.moe-burger span {
  background: #000;
  display: block;
  height: 2px;
  margin-left: 0;
  width: 36px;
}

.moe-topbar-logo {
  background: transparent;
  border: 0;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  margin: 0;
  padding: 0;
}

.moe-topbar-logo .moe-logo__name {
  font-size: clamp(16px, 1.8vw, 22px);
}

[data-moe-space-root] .moe-logo,
[data-moe-space-root] .moe-logo:hover,
[data-moe-space-root] .moe-logo:focus,
[data-moe-space-root] .moe-logo:focus-visible,
[data-moe-space-root] .moe-logo:visited,
[data-moe-space-root] .moe-logo:active,
[data-moe-space-root] .moe-home-logo,
[data-moe-space-root] .moe-home-logo:hover,
[data-moe-space-root] .moe-home-logo:focus,
[data-moe-space-root] .moe-home-logo:focus-visible,
[data-moe-space-root] .moe-home-logo:visited,
[data-moe-space-root] .moe-home-logo:active,
[data-moe-space-root] .moe-home-logo * {
  background: none;
  border-bottom: 0;
  border-color: transparent;
  box-shadow: none;
  outline: 0;
  text-decoration: none;
}

[data-moe-space-root] .moe-logo::before,
[data-moe-space-root] .moe-logo::after,
[data-moe-space-root] .moe-home-logo::before,
[data-moe-space-root] .moe-home-logo::after {
  content: none;
}

.moe-logo__name {
  color: var(--moe-color-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1;
}

.moe-logo__yo {
  position: relative;
}

.moe-logo__dots {
  display: flex;
  gap: 0.12em;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: -0.16em;
  transform: translateX(-50%);
}

.moe-logo__dots span {
  animation: moeYoDot 1.35s ease-in-out infinite;
  background: var(--moe-color-matcha);
  border-radius: 50%;
  display: block;
  height: 0.16em;
  width: 0.16em;
}

.moe-logo__dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.moe-logo__caption,
.moe-kicker,
.moe-card__meta,
.moe-form-label,
.moe-footer,
.moe-placeholder__meta {
  color: var(--moe-color-muted);
  font-size: var(--moe-font-size-xs);
  line-height: 1.4;
}

.moe-topbar-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
}

.moe-topbar-actions button {
  background: #fff;
  border: 1px solid #000;
  border-radius: var(--moe-radius-pill);
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  line-height: 1;
  padding: 8px 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.moe-topbar-actions button:hover,
.moe-topbar-actions button:focus-visible {
  background: #fff;
  border-color: #000;
  color: #000;
  outline: 0;
}

.moe-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.moe-nav__link {
  align-items: center;
  background: transparent;
  border: 0;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  font-size: 10px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  text-align: center;
}

.moe-nav__link::before,
.moe-nav__link::after {
  display: inline-block;
  opacity: 0;
  transition: opacity 140ms ease;
  width: 0.8ch;
}

.moe-nav__link::before {
  content: "[";
}

.moe-nav__link::after {
  content: "]";
}

.moe-nav__link:hover::before,
.moe-nav__link:hover::after,
.moe-nav__link:focus-visible::before,
.moe-nav__link:focus-visible::after {
  opacity: 1;
}

.moe-nav__link[aria-current="page"] {
  background: transparent;
  color: #000;
  text-decoration: none;
}

.moe-user-icon {
  fill: none;
  height: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  width: 15px;
}

.moe-time-badge {
  align-items: center;
  background: var(--moe-color-matcha);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  color: #000;
  display: flex;
  font-size: 11px;
  gap: 8px;
  justify-self: end;
  line-height: 1;
  padding: 8px 10px;
  white-space: nowrap;
}

.moe-menu-overlay {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 40;
}

.moe-menu-overlay__backdrop {
  background: rgba(255, 255, 255, 0.72);
  border: 0;
  bottom: 0;
  cursor: default;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.moe-menu-panel {
  background: #fff;
  border-right: 1px solid #000;
  bottom: 0;
  color: #000;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  left: 0;
  padding: 24px;
  position: absolute;
  top: 0;
  width: min(360px, 88vw);
}

.moe-menu-close {
  background: transparent;
  border: 0;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 22px;
  top: 20px;
}

.moe-menu-panel__items {
  display: grid;
  margin-top: 72px;
  row-gap: 10px;
}

.moe-menu-panel__user {
  border-top: 1px solid #000;
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding-top: 18px;
}

.moe-menu-panel__user > span {
  color: rgba(0, 0, 0, 0.58);
  font-size: 10px;
  text-transform: uppercase;
}

.moe-menu-panel__user > strong {
  color: #000;
  font-size: 12px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.moe-menu-item {
  background: transparent;
  border: 0;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  isolation: isolate;
  padding: 10px 0;
  position: relative;
  text-align: left;
  width: 100%;
}

.moe-menu-item--muted {
  color: rgba(0, 0, 0, 0.58);
}

.moe-menu-item span {
  display: inline-block;
  position: relative;
}

.moe-menu-item span::before {
  background: var(--moe-color-matcha);
  border-radius: 58% 42% 53% 47% / 45% 57% 43% 55%;
  content: "";
  height: 1.1em;
  left: -0.35em;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-48%) rotate(-1deg) scaleX(0.96);
  transition: opacity 120ms ease;
  width: calc(100% + 0.7em);
  z-index: -1;
}

.moe-menu-item:hover,
.moe-menu-item:focus-visible {
  outline: 0;
}

.moe-menu-item:hover span::before,
.moe-menu-item:focus-visible span::before {
  opacity: 1;
}

.moe-time-badge__dot {
  animation: moeBlink 1.2s steps(2, start) infinite;
  background: #000;
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  width: 8px;
}

@keyframes moeBlink {
  50% {
    opacity: 0;
  }
}

@keyframes moeYoDot {
  0%,
  100% {
    transform: translateY(0);
  }

  45% {
    transform: translateY(-0.08em);
  }
}

.moe-home-first-screen {
  align-items: center;
  background: #fff;
  color: #000;
  display: flex;
  justify-content: center;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.moe-home-logo {
  bottom: 22px;
  color: #000;
  left: var(--home-edge-x);
  margin: 0;
  padding: 0;
  position: fixed;
  transform: none;
}

.moe-home-logo .moe-logo__name {
  font-size: clamp(15px, 1.6vw, 21px);
}

.moe-home-calendar {
  color: #000;
  display: grid;
  gap: clamp(10px, 1.2vh, 18px);
  max-width: min(1040px, calc(100vw - 48px));
  position: relative;
  width: 78vw;
}

.moe-home-calendar__head {
  display: grid;
  gap: 0;
}

.moe-home-calendar__head h1 {
  color: #000;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(42px, 7vw, 108px);
  font-weight: 400;
  line-height: 0.88;
  margin: 0;
}

.moe-home-calendar__weekdays,
.moe-home-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.moe-home-calendar__weekdays {
  border-bottom: 1px solid #000;
  font-size: clamp(9px, 0.9vw, 12px);
  padding-bottom: 8px;
}

.moe-home-calendar__weekdays span {
  text-align: left;
}

.moe-home-calendar__grid {
  font-size: clamp(25px, 4.6vw, 72px);
  line-height: 0.9;
}

.moe-home-calendar__grid span {
  align-items: start;
  border-bottom: 1px solid #000;
  display: flex;
  flex-direction: column;
  min-height: clamp(42px, 8vh, 82px);
  padding-top: 8px;
  position: relative;
}

.moe-home-calendar__grid .is-empty {
  color: transparent;
}

.moe-home-calendar__grid b {
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.moe-home-calendar__grid .is-past b::before,
.moe-home-calendar__grid .is-past b::after {
  background: var(--moe-color-matcha);
  border-radius: 71% 44% 66% 49% / 44% 70% 38% 61%;
  clip-path: polygon(0 45%, 8% 25%, 23% 38%, 39% 20%, 56% 34%, 73% 18%, 100% 42%, 96% 67%, 75% 62%, 58% 78%, 42% 62%, 21% 80%, 4% 66%);
  content: "";
  height: 0.1em;
  left: -0.09em;
  opacity: 0.68;
  pointer-events: none;
  position: absolute;
  top: 46%;
  transform: rotate(37deg) skewX(-7deg);
  transform-origin: center;
  width: 1.09em;
  z-index: 2;
}

.moe-home-calendar__grid .is-past b::after {
  border-radius: 43% 76% 48% 69% / 64% 39% 72% 42%;
  clip-path: polygon(0 58%, 7% 36%, 19% 44%, 32% 24%, 47% 40%, 61% 29%, 79% 42%, 100% 31%, 95% 63%, 82% 58%, 65% 76%, 50% 61%, 35% 82%, 17% 62%, 3% 78%);
  height: 0.085em;
  left: -0.16em;
  opacity: 0.62;
  top: 49%;
  transform: rotate(-48deg) skewY(5deg);
  width: 1.2em;
}

.moe-home-calendar__grid em {
  color: #000;
  font-size: clamp(8px, 0.78vw, 11px);
  font-style: italic;
  line-height: 1;
  margin-top: 5px;
  max-width: 90%;
  position: relative;
  transform: rotate(-3deg);
  z-index: 1;
}

.moe-home-calendar__grid .is-today::before,
.moe-home-calendar__grid .is-today::after,
.moe-home-calendar__grid span:not(.is-empty):hover::before,
.moe-home-calendar__grid span:not(.is-empty):hover::after {
  border: 2px solid var(--moe-color-matcha);
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.moe-home-calendar__grid .is-today::before,
.moe-home-calendar__grid span:not(.is-empty):hover::before {
  border-radius: 50% 46% 54% 48% / 46% 57% 43% 54%;
  height: 0.86em;
  left: -0.08em;
  top: 0.01em;
  transform: rotate(-8deg);
  width: 1.12em;
}

.moe-home-calendar__grid .is-today::after,
.moe-home-calendar__grid span:not(.is-empty):hover::after {
  border-radius: 48% 54% 42% 57% / 55% 45% 58% 43%;
  height: 0.92em;
  left: -0.13em;
  top: -0.01em;
  transform: rotate(5deg);
  width: 1.2em;
}

.moe-home-calendar__grid .is-today::before,
.moe-home-calendar__grid .is-today:hover::before {
  transform: rotate(-10deg) scale(1.03);
}

.moe-home-calendar__grid .is-today::after,
.moe-home-calendar__grid .is-today:hover::after {
  transform: rotate(7deg) scale(1.04);
}

.moe-home-calendar__grid .has-note em::after {
  background: var(--moe-color-matcha);
  content: "";
  height: 2px;
  left: -20px;
  position: absolute;
  top: 50%;
  transform: rotate(-12deg);
  width: 16px;
}

.moe-home-legal {
  align-items: flex-end;
  bottom: 22px;
  display: flex;
  gap: 18px;
  position: absolute;
  right: 22px;
}

.moe-footer-legal {
  align-items: center;
  border-top: 1px solid #000;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  padding: 14px 22px 18px;
}

.moe-footer-legal button {
  background: transparent;
  border: 0;
  color: #222;
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
  padding: 0;
  text-transform: uppercase;
}

.moe-footer-legal button:hover,
.moe-footer-legal button:focus-visible {
  color: #000;
  outline: 0;
  text-decoration: underline;
  text-decoration-color: var(--moe-color-matcha);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

#moe-space-root .moe-footer-legal button,
#moe-space-root .moe-footer-legal button:hover,
#moe-space-root .moe-footer-legal button:active,
#moe-space-root .moe-footer-legal button:focus-visible,
[data-moe-space-root] .moe-footer-legal button,
[data-moe-space-root] .moe-footer-legal button:hover,
[data-moe-space-root] .moe-footer-legal button:active,
[data-moe-space-root] .moe-footer-legal button:focus-visible {
  color: #111 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

#moe-space-root .moe-home-legal,
#moe-space-root .moe-home-legal a,
#moe-space-root .moe-home-legal a:link,
#moe-space-root .moe-home-legal a:visited,
#moe-space-root .moe-home-legal a:hover,
#moe-space-root .moe-home-legal a:active,
#moe-space-root .moe-home-legal a:focus,
#moe-space-root .moe-home-legal a:focus-visible,
[data-moe-space-root] .moe-home-legal,
[data-moe-space-root] .moe-home-legal a,
[data-moe-space-root] .moe-home-legal a:link,
[data-moe-space-root] .moe-home-legal a:visited,
[data-moe-space-root] .moe-home-legal a:hover,
[data-moe-space-root] .moe-home-legal a:active,
[data-moe-space-root] .moe-home-legal a:focus,
[data-moe-space-root] .moe-home-legal a:focus-visible {
  color: rgba(0, 0, 0, 0.58) !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  text-transform: uppercase;
}

.moe-calendar-screen {
  background: #fff;
  color: #000;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  min-height: 100vh;
  padding: 78px var(--home-edge-x) 72px;
  text-transform: uppercase;
}

.moe-calendar-screen__inner {
  display: grid;
  gap: clamp(28px, 5vw, 58px);
  margin: 0 auto;
  max-width: 1180px;
}

.moe-calendar-screen__head {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.moe-calendar-screen__head h1 {
  color: #000;
  font-family: inherit;
  font-size: clamp(56px, 12vw, 168px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.86;
  margin: 0;
}

.moe-calendar-view-switch,
.moe-calendar-selector-row,
.moe-marker-filter-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.moe-calendar-view-switch {
  gap: 14px;
  justify-content: flex-end;
}

.moe-calendar-period {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.moe-calendar-view-switch button,
.moe-calendar-period button,
.moe-calendar-selector,
.moe-marker-chip,
.moe-calendar-event__main {
  background: transparent;
  border: 0;
  color: #000;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0;
  text-transform: uppercase;
}

.moe-calendar-selector:disabled,
.moe-marker-chip:disabled {
  cursor: not-allowed;
}

.moe-calendar-selector:disabled {
  color: #222;
  opacity: 0.72;
}

.moe-marker-chip:disabled {
  opacity: 0.72;
}

.moe-calendar-view-switch button {
  font-size: 12px;
  padding: 0;
  position: relative;
}

.moe-calendar-period button {
  border: 1px solid #000;
  border-radius: var(--moe-radius-pill);
  font-size: 13px;
  line-height: 1;
  padding: 6px 10px;
}

.moe-calendar-period button:hover,
.moe-calendar-period button:focus-visible {
  background: var(--moe-color-matcha);
  outline: 0;
}

.moe-calendar-period span {
  border: 1px solid #000;
  border-radius: var(--moe-radius-pill);
  color: #000;
  font-size: 11px;
  line-height: 1;
  padding: 8px 12px;
  text-transform: uppercase;
}

.moe-calendar-view-switch button::before,
.moe-calendar-selector::before,
.moe-marker-chip span::before {
  background: var(--moe-color-matcha);
  border-radius: 54% 46% 58% 42% / 44% 63% 37% 56%;
  content: "";
  opacity: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.moe-calendar-view-switch button::before {
  height: 1.1em;
  left: -0.36em;
  top: 50%;
  transform: translateY(-50%) rotate(-2deg);
  width: calc(100% + 0.72em);
}

.moe-calendar-view-switch button.is-active::before,
.moe-calendar-view-switch button:hover::before,
.moe-calendar-view-switch button:focus-visible::before {
  opacity: 0.95;
}

.moe-calendar-filters {
  display: grid;
  gap: 20px;
}

.moe-filter-toolbar {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.moe-filter-control {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.moe-filter-control span {
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.moe-filter-control select,
.moe-filter-control input {
  appearance: none;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  color: #000;
  font: inherit;
  font-size: 12px;
  min-height: 34px;
  padding: 7px 0;
  text-transform: uppercase;
  width: 100%;
}

.moe-filter-control input {
  text-transform: none;
}

.moe-filter-control select:disabled,
.moe-filter-control input:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.moe-filter-reset {
  align-self: end;
  background: #fff;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  min-height: 34px;
  padding: 7px 10px;
  text-transform: uppercase;
}

.moe-filter-reset:hover,
.moe-filter-reset:focus-visible {
  background: var(--moe-color-matcha);
  outline: 0;
}

.moe-empty-state {
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
  font-size: 16px;
  padding: 34px 0;
  text-align: center;
  text-transform: uppercase;
}

.moe-calendar-selector-row {
  gap: 10px;
}

.moe-calendar-selector {
  border-bottom: 1px solid #000;
  display: inline-flex;
  font-size: 12px;
  gap: 20px;
  justify-content: space-between;
  min-width: 156px;
  padding: 8px 0 7px;
  position: relative;
}

.moe-calendar-selector::before {
  bottom: 0.25em;
  height: 1em;
  left: -0.28em;
  transform: rotate(-1deg);
  width: calc(100% + 0.56em);
}

.moe-calendar-selector:hover::before,
.moe-calendar-selector:focus-visible::before {
  opacity: 0.48;
}

.moe-marker-filter-row {
  gap: 8px 12px;
}

.moe-marker-chip {
  display: inline-flex;
  font-size: 12px;
  padding: 5px 0;
}

.moe-marker-chip span {
  display: inline-block;
  padding: 2px 4px;
  position: relative;
  z-index: 0;
}

.moe-marker-chip span::before {
  bottom: 0.05em;
  clip-path: polygon(0 38%, 8% 20%, 22% 32%, 39% 18%, 57% 30%, 73% 17%, 100% 34%, 96% 72%, 78% 63%, 61% 79%, 44% 62%, 25% 82%, 4% 68%);
  height: 1.28em;
  left: -0.22em;
  transform: rotate(-1deg);
  width: calc(100% + 0.44em);
}

.moe-marker-chip.is-active span::before {
  opacity: 0.86;
}

.moe-marker-chip:not(.is-active) span::before {
  opacity: 0.28;
}

.moe-marker-chip:hover span::before,
.moe-marker-chip:focus-visible span::before {
  opacity: 0.94;
}

.moe-marker-chip:disabled:hover span::before,
.moe-marker-chip:disabled:focus-visible span::before,
.moe-calendar-selector:disabled:hover::before,
.moe-calendar-selector:disabled:focus-visible::before {
  opacity: inherit;
}

.moe-calendar-list {
  border-top: 1px solid #000;
  display: grid;
  gap: 0;
}

.moe-calendar-grid {
  border-left: 1px solid #000;
  border-top: 1px solid #000;
  display: grid;
}

.moe-calendar-week-grid {
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  overflow-x: auto;
}

.moe-calendar-month-grid {
  grid-template-columns: repeat(7, minmax(94px, 1fr));
}

.moe-calendar-month-grid__weekday {
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  color: #666;
  font-size: 10px;
  line-height: 1;
  padding: 10px 8px;
  text-align: right;
}

.moe-calendar-grid-day {
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  display: grid;
  gap: 14px;
  min-height: 178px;
  padding: 12px 10px;
  position: relative;
}

.moe-calendar-week-grid .moe-calendar-grid-day {
  min-height: 260px;
}

.moe-calendar-grid-day.is-today {
  box-shadow: inset 0 0 0 2px var(--moe-color-matcha);
}

.moe-calendar-grid-day.is-today::before {
  border: 1px solid #000;
  border-radius: 999px;
  content: "";
  height: 18px;
  pointer-events: none;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 18px;
}

.moe-calendar-grid-day.is-outside-month {
  background: rgba(0, 0, 0, 0.025);
  color: rgba(0, 0, 0, 0.38);
}

.moe-calendar-grid-day__head {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.moe-calendar-grid-day__head span,
.moe-calendar-grid-day__head small,
.moe-calendar-grid-empty,
.moe-calendar-grid-more,
.moe-calendar-grid-event small {
  color: #666;
  font-size: 10px;
  line-height: 1.15;
}

.moe-calendar-grid-day__head strong {
  color: #000;
  font-size: 24px;
  font-weight: 400;
  line-height: 0.9;
}

.moe-calendar-grid-day__events {
  align-content: start;
  display: grid;
  gap: 7px;
}

.moe-calendar-grid-event {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.42);
  color: #000;
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 5px;
  line-height: 1.05;
  padding: 7px 8px;
  text-align: left;
  text-transform: uppercase;
}

.moe-calendar-grid-event span {
  font-size: 11px;
}

.moe-calendar-grid-event:hover,
.moe-calendar-grid-event:focus-visible {
  background: var(--moe-color-matcha);
  outline: 0;
}

.moe-calendar-grid-more {
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  padding-top: 6px;
}

.moe-calendar-day-group {
  border-bottom: 1px solid #000;
  display: grid;
  gap: 0;
  grid-template-columns: 180px minmax(0, 1fr);
}

.moe-calendar-day-group__label {
  border-right: 1px solid #000;
  display: grid;
  gap: 8px;
  padding: 18px 18px 18px 0;
}

.moe-calendar-day-group__label span {
  font-size: 18px;
  line-height: 1;
}

.moe-calendar-day-group__label small,
.moe-calendar-event__meta,
.moe-calendar-event__tags {
  color: #666;
  font-size: 11px;
  line-height: 1.2;
}

.moe-calendar-day-group__events {
  display: grid;
}

.moe-calendar-event {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(160px, auto);
  padding: 18px 0 18px 24px;
}

.moe-calendar-event + .moe-calendar-event {
  border-top: 1px solid rgba(0, 0, 0, 0.18);
}

.moe-calendar-event__title {
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1;
}

.moe-calendar-event__main {
  display: grid;
  gap: 7px;
  padding: 0;
  position: relative;
  text-align: left;
}

.moe-calendar-event__title {
  display: inline-block;
  position: relative;
  width: fit-content;
  z-index: 0;
}

.moe-calendar-event__title::before {
  background: var(--moe-color-matcha);
  border-radius: 54% 46% 63% 37% / 45% 58% 42% 55%;
  bottom: 0.02em;
  clip-path: polygon(0 47%, 11% 28%, 25% 38%, 41% 21%, 59% 34%, 78% 19%, 100% 43%, 95% 72%, 78% 64%, 60% 80%, 43% 65%, 23% 82%, 4% 69%);
  content: "";
  height: 0.95em;
  left: -0.2em;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: rotate(-1deg);
  transition: opacity 120ms ease;
  width: calc(100% + 0.4em);
  z-index: -1;
}

.moe-calendar-event__main:hover .moe-calendar-event__title::before,
.moe-calendar-event__main:focus-visible .moe-calendar-event__title::before {
  opacity: 0.72;
}

.moe-calendar-event__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.moe-calendar-event__tags span {
  position: relative;
}

.moe-entry-type,
.moe-dog-badge {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.42);
  color: #000;
  display: inline-flex;
  min-height: 24px;
  justify-content: center;
  padding: 5px 7px;
  position: relative;
  width: auto;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.moe-dog-badge {
  height: 28px;
  padding: 0;
  width: 28px;
}

.moe-entry-type svg,
.moe-dog-badge svg {
  display: block;
  height: 17px;
  overflow: visible;
  width: 17px;
}

.moe-entry-type path,
.moe-dog-badge path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.moe-dog-badge path {
  fill: rgba(199, 221, 70, 0.2);
}

.moe-entry-type--free::before,
.moe-entry-type--registration::before,
.moe-dog-badge::before {
  background:
    linear-gradient(176deg, transparent 8%, rgba(199, 221, 70, 0.74) 9%, rgba(199, 221, 70, 0.62) 78%, transparent 80%);
  content: "";
  inset: 6px 3px;
  pointer-events: none;
  position: absolute;
  transform: rotate(-5deg);
  z-index: -1;
}

.moe-entry-type--paid {
  border-radius: 50% 45% 52% 48%;
}

.moe-favorite-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 16px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: relative;
  width: 34px;
  z-index: 0;
}

.moe-favorite-button::before {
  content: none;
}

.moe-favorite-button:focus-visible {
  box-shadow: none;
  outline: 0;
}

.moe-application-status {
  border: 1px solid #000;
  color: #000;
  display: inline-flex;
  font-size: 11px;
  line-height: 1;
  padding: 5px 7px;
  position: relative;
  width: fit-content;
  z-index: 0;
}

.moe-application-status--open::before {
  background: var(--moe-color-matcha);
  border-radius: 54% 46% 63% 37% / 45% 58% 42% 55%;
  clip-path: polygon(0 47%, 11% 28%, 25% 38%, 41% 21%, 59% 34%, 78% 19%, 100% 43%, 95% 72%, 78% 64%, 60% 80%, 43% 65%, 23% 82%, 4% 69%);
  content: "";
  inset: 1px -3px 0;
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
  transform: rotate(-1deg);
  z-index: -1;
}

.moe-markets-screen {
  background: #fff;
  color: #000;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  min-height: 100vh;
  padding: 78px var(--home-edge-x) 72px;
  text-transform: uppercase;
}

.moe-markets-screen__inner {
  display: grid;
  gap: clamp(30px, 5vw, 64px);
  margin: 0 auto;
  max-width: 1180px;
}

.moe-markets-screen__head {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

.moe-markets-screen__head h1 {
  color: #000;
  font-family: inherit;
  font-size: clamp(56px, 12vw, 168px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.86;
  margin: 0;
}

.moe-heading-count {
  background: var(--moe-color-matcha);
  border: 1px solid #000;
  display: inline-flex;
  font-size: clamp(9px, 0.62vw, 13px);
  line-height: 1;
  margin-left: 0.04em;
  padding: 2px 5px;
  position: relative;
  top: -0.74em;
  transform: rotate(-2deg);
  vertical-align: middle;
}

.moe-market-list {
  border-top: 1px solid #000;
  display: grid;
}

.moe-market-row {
  align-items: center;
  border-bottom: 1px solid #000;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 0.9fr) minmax(150px, auto);
  min-height: 124px;
  padding: 18px 0;
}

.moe-market-row__main {
  align-items: center;
  background: transparent;
  border: 0;
  color: #000;
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 16px;
  grid-template-columns: 46px minmax(0, 1fr);
  padding: 0;
  text-align: left;
  text-transform: uppercase;
}

.moe-market-row__mark {
  border: 2px solid var(--moe-color-matcha);
  border-radius: 52% 48% 45% 55% / 46% 58% 42% 54%;
  display: block;
  height: 46px;
  position: relative;
  transform: rotate(-7deg);
  width: 46px;
}

.moe-market-row__mark::after {
  border: 2px solid var(--moe-color-matcha);
  border-radius: 43% 57% 59% 41% / 56% 39% 61% 44%;
  content: "";
  inset: 3px -2px -1px 2px;
  position: absolute;
  transform: rotate(12deg);
}

.moe-market-row__title {
  font-size: clamp(24px, 3vw, 44px);
  line-height: 0.95;
  position: relative;
  width: fit-content;
  z-index: 0;
}

.moe-market-row__title::before {
  background: var(--moe-color-matcha);
  border-radius: 54% 46% 63% 37% / 45% 58% 42% 55%;
  bottom: 0.02em;
  clip-path: polygon(0 47%, 11% 28%, 25% 38%, 41% 21%, 59% 34%, 78% 19%, 100% 43%, 95% 72%, 78% 64%, 60% 80%, 43% 65%, 23% 82%, 4% 69%);
  content: "";
  height: 0.95em;
  left: -0.18em;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: rotate(-1deg);
  transition: opacity 120ms ease;
  width: calc(100% + 0.36em);
  z-index: -1;
}

.moe-market-row__main:hover .moe-market-row__title::before,
.moe-market-row__main:focus-visible .moe-market-row__title::before {
  opacity: 0.72;
}

.moe-market-row__meta,
.moe-market-row__stats {
  color: #666;
  display: grid;
  font-size: 11px;
  gap: 8px;
  line-height: 1.25;
}

.moe-market-row__stats {
  color: #000;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.moe-markets-screen .moe-filter-toolbar,
.moe-reviews-screen .moe-filter-toolbar {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(128px, 1fr)) auto;
}

.moe-reviews-screen {
  background: #fff;
  color: #000;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  min-height: 100vh;
  padding: 78px var(--home-edge-x) 72px;
  text-transform: uppercase;
}

.moe-reviews-screen__inner {
  display: grid;
  gap: clamp(30px, 5vw, 64px);
  margin: 0 auto;
  max-width: 1180px;
}

.moe-reviews-screen__head {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

.moe-reviews-screen .moe-filter-toolbar {
  grid-template-columns: repeat(3, minmax(128px, 1fr)) minmax(180px, 1.4fr) auto;
}

.moe-reviews-screen__head h1 {
  color: #000;
  font-family: inherit;
  font-size: clamp(56px, 12vw, 168px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.86;
  margin: 0;
}

.moe-review-list {
  border-top: 1px solid #000;
  display: grid;
}

.moe-review-row {
  border-bottom: 1px solid #000;
  display: grid;
  gap: 22px;
  grid-template-columns: 120px minmax(0, 1fr) 170px;
  padding: 20px 0;
}

.moe-review-row__date,
.moe-review-row__main,
.moe-review-row__side {
  display: grid;
  gap: 8px;
}

.moe-review-row__date span {
  font-size: 18px;
  line-height: 1;
}

.moe-review-row__date small,
.moe-review-row__main span,
.moe-review-row__side span {
  color: #666;
  font-size: 11px;
  line-height: 1.2;
}

.moe-review-row__main h2 {
  color: #000;
  font: inherit;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 0.96;
  margin: 0;
}

.moe-review-row__main p {
  color: #222;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  max-width: 720px;
  text-transform: none;
}

.moe-review-row__side {
  justify-items: end;
}

.moe-review-row__side button {
  background: transparent;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  line-height: 1;
  padding: 7px 9px;
  text-transform: uppercase;
}

.moe-review-row__side button:hover,
.moe-review-row__side button:focus-visible {
  background: var(--moe-color-matcha);
  outline: 0;
}

.moe-hero {
  align-items: center;
  display: grid;
  gap: var(--moe-space-12);
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  padding: var(--moe-space-16) 0 var(--moe-space-12);
  position: relative;
}

.moe-hero__title {
  color: var(--moe-color-ink);
  font-family: var(--moe-font-serif);
  font-size: var(--moe-font-size-display);
  font-weight: 500;
  line-height: var(--moe-line-tight);
  margin: 0 0 var(--moe-space-4);
  max-width: 780px;
}

.moe-hero__text {
  color: var(--moe-color-muted);
  font-size: var(--moe-font-size-lg);
  line-height: var(--moe-line-base);
  margin: 0;
  max-width: 620px;
}

.moe-hero--compact {
  padding-bottom: var(--moe-space-8);
}

.moe-catalog-intro {
  min-height: 360px;
}

.moe-editorial-hero,
.moe-showcase-hero {
  min-height: 560px;
}

.moe-editorial-hero__copy,
.moe-showcase-hero__copy {
  position: relative;
  z-index: 2;
}

.moe-editorial-hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--moe-space-2);
  margin-top: var(--moe-space-6);
}

.moe-showcase {
  display: grid;
  gap: var(--moe-space-4);
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  min-height: 520px;
}

.moe-showcase__visual,
.moe-image-placeholder {
  background-color: #d6c8b8;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  position: relative;
}

.moe-showcase__visual {
  align-items: end;
  display: flex;
  min-height: 520px;
  padding: var(--moe-space-6);
}

.moe-showcase__visual span {
  background: rgba(255, 253, 250, 0.88);
  color: var(--moe-color-ink);
  font-family: var(--moe-font-serif);
  font-size: var(--moe-font-size-xl);
  padding: var(--moe-space-3) var(--moe-space-4);
}

.moe-showcase__panel {
  align-self: end;
  background: var(--moe-color-ink);
  color: var(--moe-color-paper-soft);
  display: grid;
  gap: var(--moe-space-4);
  min-height: 300px;
  padding: var(--moe-space-6);
}

.moe-showcase__panel .moe-kicker,
.moe-showcase__panel p {
  color: rgba(250, 247, 240, 0.74);
}

.moe-showcase__panel h2 {
  color: var(--moe-color-paper-soft);
  font-family: var(--moe-font-serif);
  font-size: 34px;
  font-weight: 500;
  line-height: var(--moe-line-tight);
  margin: 0;
}

.moe-collage {
  display: grid;
  gap: var(--moe-space-4);
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 430px;
  position: relative;
}

.moe-collage__sheet {
  background: var(--moe-color-surface);
  border: 1px solid var(--moe-color-line);
  box-shadow: var(--moe-shadow-card);
  display: grid;
  gap: var(--moe-space-3);
  padding: var(--moe-space-5);
  position: relative;
}

.moe-collage__sheet::before {
  background: var(--moe-color-dried-flower);
  content: "";
  height: 1px;
  left: var(--moe-space-5);
  opacity: 0.6;
  position: absolute;
  right: var(--moe-space-5);
  top: var(--moe-space-4);
}

.moe-collage__sheet--tall {
  align-self: end;
  min-height: 380px;
  transform: rotate(-2deg);
}

.moe-collage__sheet--small {
  align-self: start;
  margin-top: var(--moe-space-10);
  min-height: 250px;
  transform: rotate(2deg);
}

.moe-collage__label {
  color: var(--moe-color-muted);
  font-size: var(--moe-font-size-xs);
  text-transform: uppercase;
}

.moe-collage__title {
  color: var(--moe-color-ink);
  font-family: var(--moe-font-serif);
  font-size: 34px;
  font-weight: 500;
  line-height: var(--moe-line-tight);
  margin: var(--moe-space-8) 0 0;
}

.moe-collage__note {
  color: var(--moe-color-muted);
  margin: auto 0 0;
}

.moe-collage__stamp {
  align-items: center;
  background: var(--moe-color-accent-soft);
  border: 1px solid var(--moe-color-accent);
  border-radius: 50%;
  color: var(--moe-color-accent-strong);
  display: flex;
  font-family: var(--moe-font-serif);
  height: 104px;
  justify-content: center;
  line-height: 1.1;
  padding: var(--moe-space-3);
  position: absolute;
  right: 14%;
  text-align: center;
  top: 44%;
  transform: rotate(-10deg);
  width: 104px;
  z-index: 2;
}

.moe-search {
  background: var(--moe-color-surface);
  border: 1px solid var(--moe-color-line);
  border-radius: var(--moe-radius-xs);
  box-shadow: none;
  display: grid;
  gap: var(--moe-space-4);
  padding: var(--moe-space-5);
}

.moe-search__row {
  display: grid;
  gap: var(--moe-space-3);
  grid-template-columns: minmax(0, 1fr) auto;
}

.moe-input,
.moe-select,
.moe-textarea {
  background: var(--moe-color-paper-soft);
  border: 1px solid var(--moe-color-line);
  border-radius: var(--moe-radius-sm);
  color: var(--moe-color-text);
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

.moe-textarea {
  min-height: 112px;
  resize: vertical;
}

.moe-actions,
.moe-stat-grid,
.moe-card-grid,
.moe-state-grid,
.moe-stack {
  display: grid;
  gap: var(--moe-space-4);
}

.moe-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: var(--moe-space-12);
}

.moe-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: var(--moe-space-8);
}

.moe-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.moe-review-grid {
  display: grid;
  gap: var(--moe-space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.moe-state-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--moe-space-6);
}

.moe-stack {
  grid-template-columns: 1fr;
}

.moe-section {
  border-top: 1px solid var(--moe-color-line);
  padding: var(--moe-space-12) 0;
  position: relative;
}

.moe-section__head {
  align-items: end;
  display: flex;
  gap: var(--moe-space-4);
  justify-content: space-between;
  margin-bottom: var(--moe-space-5);
}

.moe-section__title {
  color: var(--moe-color-ink);
  font-family: var(--moe-font-serif);
  font-size: var(--moe-font-size-xl);
  font-weight: 500;
  line-height: var(--moe-line-tight);
  margin: 0;
}

.moe-section__note {
  color: var(--moe-color-muted);
  margin: 0;
  max-width: 460px;
}

.moe-button {
  align-items: center;
  background: var(--moe-color-accent);
  border: 1px solid var(--moe-color-accent);
  border-radius: 0;
  color: #fffdf8;
  cursor: default;
  display: inline-flex;
  gap: var(--moe-space-2);
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  text-align: center;
}

.moe-button--secondary {
  background: transparent;
  border-color: var(--moe-color-line-strong);
  color: var(--moe-color-text);
}

.moe-button--ghost {
  background: transparent;
  border-color: var(--moe-color-line);
  color: var(--moe-color-accent-strong);
}

.moe-stat-card,
.moe-entity-card,
.moe-filter-panel,
.moe-form-section,
.moe-state,
.moe-popup {
  background: var(--moe-color-surface);
  border: 1px solid var(--moe-color-line);
  border-radius: var(--moe-radius-xs);
}

.moe-stat-card {
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.9), rgba(235, 228, 216, 0.32)),
    var(--moe-color-surface);
  padding: var(--moe-space-5);
}

.moe-stat-card__value {
  color: var(--moe-color-ink);
  font-family: var(--moe-font-serif);
  font-size: var(--moe-font-size-xl);
  line-height: var(--moe-line-tight);
  margin-bottom: var(--moe-space-2);
}

.moe-stat-card__label {
  color: var(--moe-color-muted);
  font-size: var(--moe-font-size-sm);
}

.moe-entity-card {
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.96), rgba(255, 253, 250, 0.86)),
    var(--moe-color-surface);
  box-shadow: none;
  display: grid;
  gap: var(--moe-space-3);
  overflow: hidden;
  position: relative;
}

.moe-entity-card::after,
.moe-review-card::after {
  border: 1px solid rgba(213, 204, 191, 0.48);
  bottom: var(--moe-space-2);
  content: "";
  left: var(--moe-space-2);
  pointer-events: none;
  position: absolute;
  right: var(--moe-space-2);
  top: var(--moe-space-2);
}

.moe-entity-card__body {
  display: grid;
  gap: var(--moe-space-3);
  padding: 0 var(--moe-space-5) var(--moe-space-5);
  position: relative;
  z-index: 1;
}

.moe-entity-card__title {
  color: var(--moe-color-ink);
  font-family: var(--moe-font-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: var(--moe-line-tight);
  margin: 0;
}

.moe-entity-card__text {
  color: var(--moe-color-muted);
  font-size: var(--moe-font-size-sm);
  margin: 0;
}

.moe-entity-card__meta-row,
.moe-review-card__head,
.moe-review-card__foot {
  align-items: center;
  display: flex;
  gap: var(--moe-space-3);
  justify-content: space-between;
}

.moe-image-placeholder {
  align-items: end;
  aspect-ratio: 1 / 1;
  display: flex;
  min-height: 180px;
  padding: var(--moe-space-4);
}

.moe-image-placeholder--event {
  aspect-ratio: 2 / 3;
}

.moe-image-placeholder--review {
  aspect-ratio: 4 / 3;
}

.moe-image-placeholder__label {
  background: rgba(17, 17, 15, 0.78);
  border: 1px solid rgba(255, 253, 250, 0.24);
  border-radius: var(--moe-radius-xs);
  color: var(--moe-color-paper-soft);
  font-size: var(--moe-font-size-xs);
  padding: 6px 10px;
}

.moe-visual--people {
  background-image:
    linear-gradient(135deg, rgba(17, 17, 15, 0.08), rgba(17, 17, 15, 0.22)),
    radial-gradient(circle at 28% 30%, rgba(244, 221, 190, 0.95) 0 9%, transparent 10%),
    radial-gradient(circle at 54% 26%, rgba(92, 70, 56, 0.95) 0 8%, transparent 9%),
    radial-gradient(circle at 70% 34%, rgba(191, 157, 116, 0.9) 0 7%, transparent 8%),
    linear-gradient(115deg, #d9c7ad 0 28%, #8d7964 29% 54%, #e7ded0 55% 72%, #2f2d29 73%);
}

.moe-visual--objects {
  background-image:
    linear-gradient(135deg, rgba(17, 17, 15, 0.1), transparent),
    radial-gradient(circle at 28% 54%, #e8dfce 0 14%, transparent 15%),
    radial-gradient(circle at 60% 44%, #8f6e58 0 11%, transparent 12%),
    radial-gradient(circle at 72% 68%, #c0a984 0 9%, transparent 10%),
    linear-gradient(135deg, #f0e8da 0 35%, #b9a58d 36% 62%, #302c27 63%);
}

.moe-visual--lifestyle {
  background-image:
    linear-gradient(180deg, rgba(17, 17, 15, 0.05), rgba(17, 17, 15, 0.25)),
    linear-gradient(120deg, #1f1e1b 0 24%, #ddd1c0 25% 48%, #a78768 49% 62%, #f4eee3 63%);
}

.moe-visual--exhibition {
  background-image:
    linear-gradient(135deg, rgba(17, 17, 15, 0.12), rgba(17, 17, 15, 0.05)),
    linear-gradient(90deg, #f7f1e6 0 18%, #151515 19% 21%, #d8c6ad 22% 46%, #f7f1e6 47% 60%, #6c5d50 61% 78%, #f2eadc 79%);
}

.moe-visual--botanical {
  background-image:
    linear-gradient(135deg, rgba(17, 17, 15, 0.08), rgba(17, 17, 15, 0.18)),
    radial-gradient(ellipse at 35% 64%, #6f7a55 0 14%, transparent 15%),
    radial-gradient(ellipse at 58% 42%, #a6a56f 0 12%, transparent 13%),
    linear-gradient(135deg, #ede4d2 0 42%, #3c4632 43% 58%, #c7b28d 59%);
}

.moe-status {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: var(--moe-radius-pill);
  display: inline-flex;
  font-size: var(--moe-font-size-xs);
  line-height: 1;
  padding: 5px 8px;
  width: fit-content;
}

.moe-status--success {
  color: var(--moe-color-status-success);
}

.moe-status--warning {
  color: var(--moe-color-status-warning);
}

.moe-status--error {
  color: var(--moe-color-status-error);
}

.moe-status--info {
  color: var(--moe-color-status-info);
}

.moe-dev-notice {
  border: 1px solid #000;
  color: #000;
  display: inline-block;
  font-size: 11px;
  line-height: 1.35;
  max-width: 520px;
  padding: 7px 10px;
  position: relative;
  text-transform: uppercase;
  width: fit-content;
  z-index: 0;
}

.moe-dev-notice::before {
  background: rgba(199, 221, 70, 0.68);
  content: "";
  inset: 45% -4px 8% -4px;
  position: absolute;
  transform: rotate(-1deg);
  z-index: -1;
}

.moe-dev-notice--mock {
  margin-top: 4px;
}

.moe-chip-row,
.moe-tag-row,
.moe-link-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--moe-space-2);
}

.moe-chip,
.moe-tag,
.moe-link-action {
  border-radius: var(--moe-radius-pill);
  font-size: var(--moe-font-size-xs);
  line-height: 1;
}

.moe-chip {
  background: rgba(255, 253, 247, 0.58);
  border: 1px solid var(--moe-color-line);
  color: var(--moe-color-muted);
  padding: 8px 10px;
}

.moe-chip--active {
  background: var(--moe-color-accent-soft);
  border-color: var(--moe-color-accent);
  color: var(--moe-color-accent-strong);
}

.moe-tag {
  background: var(--moe-color-paper-soft);
  border: 1px solid var(--moe-color-line);
  color: var(--moe-color-muted);
  padding: 6px 8px;
}

.moe-link-action {
  background: transparent;
  border: 0;
  color: var(--moe-color-link);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.moe-date-group {
  display: grid;
  gap: var(--moe-space-4);
}

.moe-date-group__label {
  align-items: baseline;
  border-bottom: 1px solid var(--moe-color-line);
  color: var(--moe-color-ink);
  display: flex;
  font-family: var(--moe-font-serif);
  font-size: var(--moe-font-size-lg);
  justify-content: space-between;
  padding-bottom: var(--moe-space-2);
}

.moe-date-group__label small {
  color: var(--moe-color-muted);
  font-family: var(--moe-font-sans);
  font-size: var(--moe-font-size-xs);
}

.moe-review-card {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.95), rgba(247, 241, 230, 0.72)),
    var(--moe-color-surface);
  border: 1px solid var(--moe-color-line);
  border-radius: var(--moe-radius-xs);
  display: grid;
  gap: var(--moe-space-4);
  padding: var(--moe-space-5);
  position: relative;
}

.moe-review-card__title {
  color: var(--moe-color-ink);
  font-family: var(--moe-font-serif);
  font-size: var(--moe-font-size-lg);
  font-weight: 500;
  line-height: var(--moe-line-tight);
  margin: var(--moe-space-1) 0 0;
}

.moe-review-card__text {
  color: var(--moe-color-text);
  margin: 0;
}

.moe-review-card__foot {
  border-top: 1px solid var(--moe-color-line);
  color: var(--moe-color-muted);
  font-size: var(--moe-font-size-sm);
  padding-top: var(--moe-space-3);
}

.moe-filter-panel,
.moe-form-section,
.moe-state {
  padding: var(--moe-space-5);
}

.moe-filter-panel__grid,
.moe-form-section__grid {
  display: grid;
  gap: var(--moe-space-3);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.moe-form-field {
  display: grid;
  gap: var(--moe-space-2);
}

.moe-popup-demo {
  background: rgba(34, 33, 30, 0.12);
  border: 1px dashed var(--moe-color-line-strong);
  border-radius: var(--moe-radius-md);
  padding: var(--moe-space-5);
}

.moe-popup {
  box-shadow: var(--moe-shadow-popup);
  margin: 0 auto;
  max-width: 520px;
  padding: var(--moe-space-5);
}

.moe-popup__head {
  align-items: start;
  display: flex;
  gap: var(--moe-space-4);
  justify-content: space-between;
  margin-bottom: var(--moe-space-4);
}

.moe-popup__title,
.moe-state__title,
.moe-form-section__title {
  color: var(--moe-color-ink);
  font-family: var(--moe-font-serif);
  font-size: var(--moe-font-size-lg);
  font-weight: 500;
  line-height: var(--moe-line-tight);
  margin: 0;
}

.moe-state {
  display: grid;
  gap: var(--moe-space-3);
  min-height: 150px;
}

.moe-state__text,
.moe-popup__text {
  color: var(--moe-color-muted);
  margin: 0;
}

.moe-modal-backdrop {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: var(--moe-space-6);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 80;
}

.moe-modal {
  background: #fff;
  border: 1px solid #000;
  border-radius: 0;
  box-shadow: none;
  color: #000;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  isolation: isolate;
  max-height: min(820px, calc(100vh - 48px));
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  max-width: 920px;
  overflow: auto;
  position: relative;
  width: min(100%, 920px);
}

.moe-cookie-popup {
  background: #fff;
  border: 1px solid #000;
  bottom: 20px;
  color: #000;
  display: grid;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  gap: 12px;
  left: 20px;
  max-width: min(420px, calc(100vw - 40px));
  padding: 16px;
  position: fixed;
  text-transform: uppercase;
  z-index: 40;
}

.moe-cookie-popup::before {
  background: var(--moe-color-matcha);
  content: "";
  height: 5px;
  left: 16px;
  position: absolute;
  right: 16px;
  top: -3px;
  transform: rotate(-1deg);
}

.moe-cookie-popup p {
  font-size: 11px;
  line-height: 1.35;
  margin: 0;
}

.moe-cookie-popup button {
  align-self: start;
  background: #fff;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  padding: 9px 12px;
}

.moe-cookie-popup button:hover,
.moe-cookie-popup button:focus-visible {
  background: var(--moe-color-matcha);
  box-shadow: none;
}

.moe-paid-telegram-popup {
  background: #fff;
  border: 1px solid #000;
  bottom: 28px;
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--moe-color-matcha) 74%, transparent);
  color: #000;
  display: grid;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  gap: 12px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 18px;
  position: fixed;
  right: 24px;
  text-transform: uppercase;
  z-index: 80;
}

.moe-paid-telegram-popup::before {
  background: var(--moe-color-matcha);
  content: "";
  height: 8px;
  left: 18px;
  position: absolute;
  right: 52px;
  top: -5px;
  transform: rotate(-1deg);
  z-index: -1;
}

.moe-paid-telegram-popup span {
  font-size: 11px;
}

.moe-paid-telegram-popup strong {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.moe-paid-telegram-popup a {
  border: 1px solid #000;
  color: #000;
  display: inline-flex;
  font-size: 12px;
  justify-content: center;
  padding: 10px 12px;
  text-decoration: none;
}

.moe-paid-telegram-popup a:hover,
.moe-paid-telegram-popup a:focus-visible {
  background: var(--moe-color-matcha);
  outline: 0;
}

.moe-paid-telegram-popup__close {
  align-items: center;
  background: transparent;
  border: 0;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 22px;
  height: 28px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 10px;
  top: 8px;
  width: 28px;
}

.moe-back-to-top {
  background: #fff;
  border: 1px solid #000;
  bottom: 24px;
  color: #000;
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  line-height: 1;
  opacity: 0;
  padding: 11px 13px;
  pointer-events: none;
  position: fixed;
  right: 24px;
  text-transform: uppercase;
  transform: translateY(12px) rotate(-1deg);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 35;
}

.moe-back-to-top::before {
  background: var(--moe-color-matcha);
  content: "";
  height: 5px;
  left: 10px;
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
  right: 10px;
  top: -3px;
  transform: rotate(2deg);
}

.moe-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) rotate(-1deg);
}

.moe-back-to-top:hover,
.moe-back-to-top:focus-visible {
  background: var(--moe-color-matcha);
  outline: 0;
}

.moe-calendar-share,
.moe-modal__secondary-action,
.moe-modal__action-button,
.moe-admin-backup-actions button {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 11px;
  min-height: 38px;
  line-height: 1;
  padding: 10px 12px;
  text-transform: uppercase;
}

.moe-calendar-share:hover,
.moe-calendar-share:focus-visible,
.moe-modal__secondary-action:hover,
.moe-modal__secondary-action:focus-visible,
.moe-modal__action-button:hover,
.moe-modal__action-button:focus-visible,
.moe-admin-backup-actions button:hover,
.moe-admin-backup-actions button:focus-visible {
  background: var(--moe-color-matcha);
  outline: 0;
}

.moe-admin-stats {
  border: 1px solid #000;
  display: grid;
  gap: 14px;
  margin: 22px 0;
  padding: 14px;
}

.moe-admin-stats__grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.moe-admin-stat {
  background: #fff;
  border: 1px solid #000;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
}

.moe-admin-stat strong {
  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.moe-admin-stat span,
.moe-admin-backup-actions small {
  color: rgba(0, 0, 0, 0.64);
  font-size: 10px;
  line-height: 1.25;
  text-transform: uppercase;
}

.moe-admin-backup-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.moe-modal--market {
  display: block;
  max-height: min(820px, calc(100vh - 48px));
  max-width: 860px;
  width: min(100%, 860px);
}

.moe-modal--event {
  display: block;
  max-height: min(820px, calc(100vh - 48px));
  max-width: 940px;
  width: min(100%, 940px);
}

.moe-modal--review {
  display: block;
  max-height: min(760px, calc(100vh - 48px));
  max-width: 760px;
  width: min(100%, 760px);
}

.moe-modal--form,
.moe-modal--auth {
  display: block;
  max-height: min(860px, calc(100vh - 48px));
  max-width: 920px;
  width: min(100%, 920px);
}

.moe-modal--form .moe-core-form {
  border: 0;
  padding: 44px 34px 30px;
}

.moe-modal--form .moe-core-form__head {
  padding-right: 98px;
}

.moe-modal--auth {
  max-width: 620px;
}

.moe-modal__close {
  background: #fff;
  border: 1px solid #000;
  border-radius: 0;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  line-height: 1.1;
  min-height: 38px;
  padding: 11px 12px;
  pointer-events: auto;
  position: absolute;
  right: 18px;
  text-transform: uppercase;
  top: 18px;
  width: auto;
  z-index: 6;
}

.moe-modal__close:hover,
.moe-modal__close:focus-visible {
  background: var(--moe-color-matcha);
  outline: 0;
}

.moe-modal__body {
  display: grid;
  gap: 22px;
  align-content: center;
  padding: 64px 42px 42px;
}

.moe-modal--market .moe-modal__body {
  align-content: start;
  gap: 16px;
  padding: 44px 34px 30px;
}

.moe-modal--review .moe-modal__body {
  align-content: start;
  gap: 18px;
  padding: 44px 34px 30px;
}

.moe-modal--event .moe-modal__body {
  align-content: start;
  gap: 16px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 54px 34px 30px;
}

.moe-modal--event.has-image .moe-modal__body {
  padding-right: clamp(238px, 29vw, 292px);
}

.moe-modal--event.has-compact-media .moe-modal__body {
  padding-right: 196px;
}

.moe-modal--event .moe-modal__title {
  font-size: clamp(24px, 3.6vw, 46px);
  line-height: 1.04;
  max-width: 100%;
}

.moe-modal--event .moe-modal__text {
  max-width: 100%;
}

.moe-modal--event.has-compact-media .moe-image-placeholder {
  border: 1px solid #000;
  height: 132px;
  min-height: 0;
  position: absolute;
  right: 34px;
  top: 92px;
  width: 132px;
}

.moe-modal--event.has-compact-media .moe-image-placeholder::before {
  height: 72px;
  width: 72px;
}

.moe-modal--event.has-compact-media .moe-image-placeholder::after {
  left: 22%;
  top: 18%;
  width: 54%;
}

.moe-modal--event.has-compact-media .moe-image-placeholder__label {
  font-size: 9px;
  left: 14px;
  right: 14px;
}

.moe-modal--auth .moe-modal__body {
  align-content: start;
  gap: 18px;
  padding: 44px 34px 30px;
}

.moe-auth-tabs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-right: 98px;
}

.moe-auth-tabs button {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  line-height: 1;
  padding: 8px 10px;
  text-transform: uppercase;
}

.moe-auth-tabs button.is-active {
  background: var(--moe-color-matcha);
}

.moe-auth-form {
  display: grid;
  gap: 12px;
}

.moe-modal--market .moe-modal__title {
  font-size: clamp(34px, 6vw, 72px);
}

.moe-modal--market .moe-modal__text {
  max-width: 680px;
}

.moe-modal--review .moe-modal__text {
  max-width: 680px;
}

.moe-modal .moe-image-placeholder {
  background: #fff;
  border-right: 1px solid #000;
  min-height: 100%;
}

.moe-modal__image {
  background: #fff;
  border: 1px solid #000;
  aspect-ratio: 1 / 1;
  height: clamp(180px, 22vw, 232px);
  min-height: 0;
  overflow: hidden;
  position: absolute;
  right: 34px;
  top: 92px;
  width: clamp(180px, 22vw, 232px);
}

.moe-modal__image img {
  display: block;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.moe-modal .moe-image-placeholder::before {
  border: 2px solid var(--moe-color-matcha);
  border-radius: 50% 46% 54% 48% / 46% 57% 43% 54%;
  content: "";
  height: min(42%, 220px);
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-7deg);
  width: min(64%, 260px);
}

.moe-modal .moe-image-placeholder::after {
  background: var(--moe-color-matcha);
  clip-path: polygon(0 46%, 10% 32%, 24% 39%, 41% 25%, 58% 37%, 78% 22%, 100% 43%, 94% 66%, 77% 61%, 61% 76%, 44% 63%, 24% 80%, 5% 66%);
  content: "";
  height: 10px;
  left: 18%;
  opacity: 0.58;
  position: absolute;
  top: 24%;
  transform: rotate(-4deg);
  width: 48%;
}

.moe-modal .moe-image-placeholder__label {
  background: transparent;
  border: 0;
  bottom: 24px;
  color: #000;
  font-family: inherit;
  font-size: 11px;
  left: 24px;
  padding: 0;
  position: absolute;
  text-transform: uppercase;
}

.moe-modal__meta-line,
.moe-modal__footer {
  align-items: center;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 14px;
  line-height: 1.2;
  text-transform: uppercase;
}

.moe-modal--legal {
  grid-template-columns: minmax(0, 1fr);
  max-width: min(880px, calc(100vw - 32px));
}

.moe-legal-document {
  color: #111;
  display: grid;
  font-size: 13px;
  gap: 12px;
  line-height: 1.55;
  max-width: 72ch;
}

.moe-legal-document p {
  margin: 0;
  white-space: normal;
}

.moe-modal__title {
  color: #000;
  font-family: inherit;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 400;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.moe-modal__meta {
  color: #000;
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  text-transform: uppercase;
}

.moe-modal__text {
  color: #222;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  max-width: 540px;
  text-transform: none;
}

.moe-modal__footer {
  border-top: 1px solid #000;
  padding-top: 16px;
}

.moe-modal__footer .moe-status {
  border-color: #000;
  color: #000;
}

.moe-popup-review-section {
  display: grid;
  gap: 10px;
}

.moe-popup-review-list {
  display: grid;
  gap: 8px;
}

.moe-popup-review-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.38);
  color: #000;
  cursor: pointer;
  display: grid;
  gap: 7px;
  padding: 10px 12px;
  text-align: left;
}

.moe-popup-review-card:hover,
.moe-popup-review-card:focus-visible {
  background: color-mix(in srgb, var(--moe-color-matcha) 34%, #fff);
  outline: 0;
}

.moe-popup-review-card__head,
.moe-popup-review-card__source {
  align-items: center;
  color: rgba(0, 0, 0, 0.64);
  display: flex;
  flex-wrap: wrap;
  font-size: 10px;
  gap: 8px;
  line-height: 1.2;
  text-transform: uppercase;
}

.moe-popup-review-card p {
  color: #111;
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
  text-transform: none;
}

.moe-popup-review-card a,
.moe-popup-review-card a:visited {
  color: #000 !important;
  text-decoration: none;
}

.moe-popup-review-card a:hover,
.moe-popup-review-card a:focus-visible {
  color: #000 !important;
  outline: 0;
  text-decoration: underline;
  text-decoration-color: var(--moe-color-matcha);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.moe-popup-review-more {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  line-height: 1;
  min-height: 34px;
  padding: 9px 11px;
  text-transform: uppercase;
  width: fit-content;
}

.moe-popup-review-more:hover,
.moe-popup-review-more:focus-visible {
  background: var(--moe-color-matcha);
  outline: 0;
}

.moe-modal__market-action {
  background: transparent;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 12px;
  min-height: 38px;
  line-height: 1;
  padding: 10px 12px;
  text-transform: uppercase;
}

.moe-modal__market-action:hover,
.moe-modal__market-action:focus-visible {
  background: var(--moe-color-matcha);
  outline: 0;
}

.moe-modal__complaint-action {
  background: transparent;
  border: 1px solid #000;
  color: #000;
  cursor: default;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  padding: 6px 9px;
  text-transform: uppercase;
}

.moe-review-detail-target,
.moe-review-detail-author {
  border-top: 1px solid #000;
  display: grid;
  gap: 7px;
  grid-template-columns: 150px minmax(0, 1fr);
  padding-top: 12px;
}

.moe-review-detail-target span,
.moe-review-detail-author span {
  color: #666;
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.moe-review-detail-target strong,
.moe-review-detail-author strong {
  color: #000;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.moe-forms-screen {
  background: #fff;
  color: #000;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  min-height: 100vh;
  padding: 96px 34px 56px;
  text-transform: uppercase;
}

.moe-forms-screen__inner {
  margin: 0 auto;
  max-width: 1180px;
}

.moe-forms-screen__head {
  align-items: end;
  border-bottom: 1px solid #000;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  padding-bottom: 24px;
}

.moe-forms-screen__head span {
  color: #666;
  display: block;
  font-size: 11px;
  margin-bottom: 10px;
}

.moe-forms-screen__head h1 {
  color: #000;
  font-size: clamp(48px, 9vw, 124px);
  font-weight: 400;
  line-height: 0.92;
  margin: 0;
}

.moe-forms-screen__head p {
  color: #333;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.moe-form-submit-note {
  background:
    linear-gradient(178deg, transparent 4%, rgba(199, 221, 70, 0.78) 5%, rgba(199, 221, 70, 0.72) 82%, transparent 84%);
  color: #000;
  display: inline-block;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 24px;
  max-width: 680px;
  padding: 8px 12px;
}

.moe-forms-stack {
  display: grid;
  gap: 32px;
  margin-top: 34px;
}

.moe-core-form {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  display: grid;
  gap: 22px;
  padding: 24px;
}

.moe-core-form__head {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 380px);
}

.moe-core-form__head span,
.moe-form-section h3,
.moe-mock-field span,
.moe-mock-upload span,
.moe-mock-upload small {
  color: #666;
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
}

.moe-core-form__head h2 {
  color: #000;
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 400;
  line-height: 0.95;
  margin: 8px 0 0;
}

.moe-core-form__head p {
  color: #333;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.moe-form-warning,
.moe-form-helper {
  color: #000;
  font-size: 12px;
  line-height: 1.45;
  max-width: 760px;
  padding: 8px 10px;
}

.moe-form-warning {
  background:
    linear-gradient(176deg, transparent 7%, rgba(199, 221, 70, 0.74) 8%, rgba(199, 221, 70, 0.64) 80%, transparent 82%);
}

.moe-form-helper {
  border-left: 2px solid var(--moe-color-matcha);
  padding-left: 14px;
}

.moe-form-section {
  border-top: 1px solid #000;
  display: grid;
  gap: 16px;
  padding-top: 18px;
}

.moe-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.moe-date-pair {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(150px, 220px));
}

.moe-mock-field {
  display: grid;
  gap: 8px;
}

.moe-mock-field input {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  color: #000;
  font-size: 13px;
  min-height: 42px;
  padding: 9px 0;
  text-transform: none;
  width: 100%;
}

.moe-mock-field select,
.moe-mock-field textarea {
  appearance: none;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  color: #000;
  font-size: 13px;
  min-height: 42px;
  padding: 9px 0;
  width: 100%;
}

.moe-mock-field select {
  background:
    linear-gradient(45deg, transparent 50%, #000 50%) right 8px top 18px / 6px 6px no-repeat,
    linear-gradient(135deg, #000 50%, transparent 50%) right 2px top 18px / 6px 6px no-repeat,
    #fff;
  padding-right: 24px;
  text-transform: uppercase;
}

.moe-mock-field input[type="date"] {
  min-height: 42px;
  text-transform: uppercase;
}

.moe-mock-field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: grayscale(1) contrast(1.6);
  opacity: 1;
}

.moe-mock-field textarea {
  min-height: 86px;
  resize: vertical;
  text-transform: none;
}

.moe-mock-field--wide {
  grid-column: 1 / -1;
}

.moe-date-pair {
  grid-column: 1 / -1;
}

.moe-mock-field--date input {
  max-width: 220px;
}

.moe-mock-field small,
.moe-form-choice-group small,
.moe-rating-mock small {
  color: #666;
  display: block;
  font-size: 10px;
  line-height: 1.35;
}

.moe-mock-field input::placeholder {
  color: #777;
}

.moe-mock-field input:focus,
.moe-mock-field select:focus,
.moe-mock-field textarea:focus {
  border-bottom-color: #000;
  box-shadow: inset 0 -7px 0 rgba(199, 221, 70, 0.5);
  outline: 0;
}

.moe-form-choice-group {
  display: grid;
  gap: 10px;
}

.moe-form-choice-group > span,
.moe-rating-mock > span {
  color: #666;
  display: block;
  font-size: 11px;
  line-height: 1.3;
}

.moe-form-chip-row,
.moe-rating-mock__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.moe-form-chip {
  background: transparent;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font-size: 12px;
  padding: 6px 10px;
  position: relative;
  text-transform: uppercase;
  z-index: 0;
}

.moe-form-chip::before {
  background:
    linear-gradient(176deg, transparent 8%, rgba(199, 221, 70, 0) 9%, rgba(199, 221, 70, 0) 78%, transparent 80%);
  content: "";
  inset: 2px 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: rotate(-1deg);
  z-index: -1;
}

.moe-form-chip.is-active::before,
.moe-form-chip:hover::before,
.moe-form-chip:focus-visible::before {
  background:
    linear-gradient(176deg, transparent 5%, rgba(199, 221, 70, 0.88) 6%, rgba(199, 221, 70, 0.78) 82%, transparent 84%);
  opacity: 1;
}

.moe-form-chip.is-active {
  border-color: transparent;
}

.moe-form-chip:focus-visible {
  box-shadow: none;
  outline: 0;
}

.moe-form-section.is-muted {
  opacity: 0.78;
}

.moe-rating-mock {
  display: grid;
  gap: 10px;
}

.moe-rating-mock__bar {
  background: #fff;
  border: 1px solid #000;
  height: 18px;
  overflow: hidden;
  position: relative;
  width: min(100%, 420px);
}

.moe-rating-mock__bar span {
  background:
    linear-gradient(176deg, transparent 7%, rgba(199, 221, 70, 0.9) 8%, rgba(199, 221, 70, 0.76) 79%, transparent 82%);
  display: block;
  height: 100%;
  transform: rotate(-0.6deg);
  transform-origin: left center;
  width: var(--rating-fill, 100%);
}

.moe-rating-mock small {
  color: #000;
  font-size: 13px;
  width: fit-content;
}

.moe-mock-upload {
  align-items: center;
  border: 1px dashed #000;
  display: grid;
  gap: 8px;
  min-height: 94px;
  padding: 18px;
}

.moe-mock-upload.is-disabled {
  background:
    linear-gradient(176deg, transparent 0 44%, rgba(199, 221, 70, 0.35) 45% 54%, transparent 55% 100%),
    #fff;
}

.moe-mock-upload.is-disabled input {
  opacity: 0.45;
}

.moe-mock-upload span {
  color: #000;
  font-size: 13px;
}

.moe-form-actions {
  border-top: 1px solid #000;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
}

.moe-form-actions button {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font-size: 12px;
  padding: 10px 12px;
  text-transform: uppercase;
}

.moe-form-actions button:hover,
.moe-form-actions button:focus-visible {
  background:
    linear-gradient(176deg, transparent 14%, rgba(199, 221, 70, 0.82) 15%, rgba(199, 221, 70, 0.78) 76%, transparent 78%);
  box-shadow: none;
  outline: 0;
}

.moe-cabinet-screen {
  background: #fff;
  color: #000;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  min-height: 100vh;
  padding: 96px 34px 56px;
  text-transform: uppercase;
}

.moe-cabinet-screen__inner {
  display: grid;
  gap: 32px;
  margin: 0 auto;
  max-width: 1180px;
}

.moe-cabinet-hero {
  border-bottom: 1px solid #000;
  display: grid;
  gap: 12px;
  padding-bottom: 24px;
}

.moe-cabinet-hero span,
.moe-cabinet-section__head p,
.moe-cabinet-row__meta,
.moe-cabinet-row__main small,
.moe-cabinet-row__side small,
.moe-cabinet-profile-row span,
.moe-cabinet-profile-row small,
.moe-cabinet-draft span,
.moe-cabinet-draft small,
.moe-cabinet-favorite-group > h3,
.moe-cabinet-favorite-row__meta,
.moe-cabinet-favorite-row__main small,
.moe-cabinet-notifications span {
  color: #666;
  font-size: 11px;
  line-height: 1.35;
}

.moe-cabinet-hero h1 {
  color: #000;
  font-size: clamp(48px, 9vw, 124px);
  font-weight: 400;
  line-height: 0.92;
  margin: 0;
}

.moe-cabinet-hero p {
  color: #333;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  max-width: 640px;
}

.moe-cabinet-section {
  border: 1px solid #000;
  display: grid;
  gap: 18px;
  padding: 24px;
}

.moe-cabinet-section__head {
  align-items: end;
  border-bottom: 1px solid #000;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  padding-bottom: 16px;
}

.moe-cabinet-section__head h2 {
  color: #000;
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 400;
  line-height: 0.98;
  margin: 0;
}

.moe-cabinet-section__head p {
  margin: 0;
}

.moe-cabinet-profile {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.moe-cabinet-profile-row {
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  display: grid;
  gap: 7px;
  min-height: 92px;
  padding: 12px;
}

.moe-cabinet-profile-row:nth-child(3n) {
  border-right: 0;
}

.moe-cabinet-profile-row strong {
  color: #000;
  font-size: 14px;
  font-weight: 400;
}

.moe-cabinet-profile-row--action {
  align-content: center;
}

.moe-cabinet-profile-row--action button,
.moe-cabinet-profile-edit__actions button {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  padding: 10px 12px;
  text-transform: uppercase;
}

.moe-cabinet-profile-row--action button:hover,
.moe-cabinet-profile-row--action button:focus-visible,
.moe-cabinet-profile-edit__actions button:hover,
.moe-cabinet-profile-edit__actions button:focus-visible {
  background: var(--moe-color-matcha);
  outline: 0;
}

.moe-cabinet-profile-edit {
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 12px 0;
}

.moe-cabinet-profile-edit .moe-form-submit-note,
.moe-cabinet-profile-edit__actions {
  grid-column: 1 / -1;
}

.moe-cabinet-profile-edit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.moe-cabinet-list {
  display: grid;
}

.moe-cabinet-row {
  border-bottom: 1px solid #000;
  display: grid;
  gap: 18px;
  grid-template-columns: 170px minmax(0, 1fr) minmax(190px, 260px);
  padding: 16px 0;
}

.moe-cabinet-row:first-child {
  padding-top: 0;
}

.moe-cabinet-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.moe-cabinet-row__meta,
.moe-cabinet-row__main,
.moe-cabinet-row__side {
  display: grid;
  gap: 8px;
  align-content: start;
}

.moe-cabinet-row__main h3,
.moe-cabinet-draft h3 {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

.moe-cabinet-row__main p,
.moe-cabinet-draft p {
  color: #333;
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.moe-cabinet-row__side {
  justify-items: start;
}

.moe-cabinet-row__side button {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  padding: 8px 10px;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.moe-cabinet-row__side button:hover,
.moe-cabinet-row__side button:focus-visible {
  background:
    linear-gradient(176deg, transparent 8%, rgba(199, 221, 70, 0.74) 9%, rgba(199, 221, 70, 0.62) 78%, transparent 80%);
  border-color: #000;
  box-shadow: 0 2px 0 #000;
  outline: 0;
  transform: translateY(-1px) rotate(-0.2deg);
}

.moe-cabinet-row__side button:active {
  box-shadow: none;
  transform: translateY(1px);
}

.moe-cabinet-row__side button:disabled {
  background: #f5f5f1;
  border-color: #999;
  box-shadow: none;
  color: #777;
  cursor: not-allowed;
  transform: none;
}

.moe-cabinet-favorites {
  display: grid;
  gap: 22px;
}

.moe-cabinet-favorite-group {
  display: grid;
  gap: 12px;
}

.moe-cabinet-favorite-group > h3 {
  font-weight: 400;
  margin: 0;
}

.moe-cabinet-favorite-row {
  border-bottom: 1px solid #000;
  display: grid;
  gap: 18px;
  grid-template-columns: 150px minmax(0, 1fr) minmax(180px, 240px);
  padding: 14px 0;
}

.moe-cabinet-favorite-row:first-child {
  padding-top: 0;
}

.moe-cabinet-favorite-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.moe-cabinet-favorite-row__meta,
.moe-cabinet-favorite-row__main,
.moe-cabinet-favorite-row__actions {
  align-content: start;
  display: grid;
  gap: 8px;
}

.moe-cabinet-favorite-row__main h3 {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

.moe-cabinet-favorite-row__main p {
  color: #333;
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.moe-cabinet-favorite-row__actions {
  justify-items: start;
}

.moe-cabinet-favorite-row__actions button {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  padding: 8px 10px;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.moe-cabinet-favorite-row__actions button:hover,
.moe-cabinet-favorite-row__actions button:focus-visible {
  background:
    linear-gradient(176deg, transparent 8%, rgba(199, 221, 70, 0.74) 9%, rgba(199, 221, 70, 0.62) 78%, transparent 80%);
  box-shadow: 0 2px 0 #000;
  outline: 0;
  transform: translateY(-1px) rotate(-0.2deg);
}

.moe-cabinet-favorite-row__actions button:active {
  box-shadow: none;
  transform: translateY(1px);
}

.moe-cabinet-favorite-row__actions button:disabled {
  background: #f5f5f1;
  border-color: #999;
  box-shadow: none;
  color: #777;
  cursor: not-allowed;
  transform: none;
}

.moe-cabinet-status {
  border: 1px solid #000;
  color: #000;
  display: inline-flex;
  font-size: 11px;
  line-height: 1;
  padding: 6px 8px;
  width: fit-content;
}

.moe-cabinet-status--pending,
.moe-cabinet-status--published {
  background:
    linear-gradient(176deg, transparent 8%, rgba(199, 221, 70, 0.74) 9%, rgba(199, 221, 70, 0.66) 78%, transparent 80%);
  border-color: transparent;
}

.moe-cabinet-status--declined {
  background:
    linear-gradient(176deg, transparent 8%, rgba(0, 0, 0, 0.1) 9%, rgba(0, 0, 0, 0.08) 78%, transparent 80%);
}

.moe-cabinet-status--draft,
.moe-cabinet-status--muted {
  color: #666;
}

.moe-cabinet-drafts,
.moe-cabinet-notifications {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.moe-cabinet-draft,
.moe-cabinet-notifications div {
  border: 1px solid #000;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.moe-cabinet-draft {
  background: #fff;
  color: #000;
  cursor: pointer;
  text-align: left;
}

.moe-cabinet-draft:hover,
.moe-cabinet-draft:focus-visible {
  background: color-mix(in srgb, var(--moe-color-matcha) 32%, #fff);
  outline: 0;
}

.moe-cabinet-notifications div {
  align-content: start;
}

.moe-admin-screen {
  background: #fff;
  color: #000;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  min-height: 100vh;
  padding: 96px 34px 56px;
  text-transform: uppercase;
}

.moe-admin-screen__inner {
  display: grid;
  gap: 28px;
  margin: 0 auto;
  max-width: 1180px;
}

.moe-admin-hero {
  border-bottom: 1px solid #000;
  display: grid;
  gap: 12px;
  padding-bottom: 24px;
}

.moe-admin-hero span,
.moe-admin-hero p,
.moe-admin-create-panel__head span,
.moe-admin-create-panel__head p,
.moe-admin-create-form__head span,
.moe-admin-create-form__head p,
.moe-admin-application-row__type,
.moe-admin-application-row__author,
.moe-admin-detail-section h3,
.moe-admin-preview-card span,
.moe-admin-preview-card small {
  color: #666;
  font-size: 11px;
  line-height: 1.35;
}

.moe-admin-hero h1 {
  color: #000;
  font-size: clamp(44px, 8vw, 112px);
  font-weight: 400;
  line-height: 0.92;
  margin: 0;
}

.moe-admin-hero p {
  color: #333;
  margin: 0;
  max-width: 680px;
}

.moe-admin-controls {
  border: 1px solid #000;
  display: grid;
  gap: 18px;
  padding: 18px;
}

.moe-admin-create-panel {
  border: 1px solid #000;
  display: grid;
  gap: 18px;
  padding: 18px;
}

.moe-admin-create-panel__head {
  align-items: end;
  border-bottom: 1px solid #000;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  padding-bottom: 16px;
}

.moe-admin-create-panel__head h2,
.moe-admin-create-form__head h2 {
  color: #000;
  font-size: clamp(26px, 4vw, 54px);
  font-weight: 400;
  line-height: 0.98;
  margin: 0;
}

.moe-admin-create-panel__head p,
.moe-admin-create-form__head p {
  color: #333;
  margin: 0;
}

.moe-admin-create-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.moe-admin-create-button {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  padding: 8px 10px;
  position: relative;
  text-transform: uppercase;
  z-index: 0;
}

.moe-admin-create-button.is-active {
  border-color: transparent;
}

.moe-admin-create-button.is-active::before,
.moe-admin-create-button:hover::before,
.moe-admin-create-button:focus-visible::before {
  background:
    linear-gradient(176deg, transparent 7%, rgba(199, 221, 70, 0.84) 8%, rgba(199, 221, 70, 0.72) 80%, transparent 82%);
  content: "";
  inset: 3px 0;
  pointer-events: none;
  position: absolute;
  transform: rotate(-1deg);
  z-index: -1;
}

.moe-admin-create-form {
  border-top: 1px solid #000;
  display: grid;
  gap: 16px;
  padding-top: 18px;
}

.moe-inline-dictionary-field {
  display: grid;
  gap: 8px;
}

.moe-inline-dictionary-field .moe-mock-field {
  min-width: 0;
}

.moe-inline-dictionary-field__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.moe-inline-dictionary-field__actions button,
.moe-admin-inline-dictionary .moe-form-actions button {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  line-height: 1;
  padding: 7px 9px;
  text-transform: uppercase;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.moe-inline-dictionary-field__actions button:hover,
.moe-inline-dictionary-field__actions button:focus-visible,
.moe-admin-inline-dictionary .moe-form-actions button:hover,
.moe-admin-inline-dictionary .moe-form-actions button:focus-visible {
  background:
    linear-gradient(176deg, transparent 8%, rgba(199, 221, 70, 0.74) 9%, rgba(199, 221, 70, 0.62) 78%, transparent 80%);
  box-shadow: 0 2px 0 #000;
  outline: 0;
  transform: translateY(-1px) rotate(-0.2deg);
}

.moe-admin-inline-dictionary {
  border: 1px solid #000;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.moe-admin-inline-dictionary header {
  display: grid;
  gap: 4px;
}

.moe-admin-inline-dictionary h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

.moe-admin-inline-dictionary header span,
.moe-admin-inline-dictionary__message,
.moe-admin-inline-dictionary__warning {
  color: #000;
  font-size: 11px;
  text-transform: uppercase;
}

.moe-admin-inline-dictionary__warning {
  background:
    linear-gradient(176deg, transparent 8%, rgba(199, 221, 70, 0.7) 9%, rgba(199, 221, 70, 0.56) 78%, transparent 80%);
  width: fit-content;
}

.moe-admin-create-form__head {
  display: grid;
  gap: 8px;
}

.moe-admin-create-message {
  background:
    linear-gradient(176deg, transparent 8%, rgba(199, 221, 70, 0.74) 9%, rgba(199, 221, 70, 0.66) 78%, transparent 80%);
  color: #000;
  font-size: 12px;
  padding: 10px 12px;
  width: fit-content;
}

.moe-admin-tabs,
.moe-admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.moe-admin-tab,
.moe-admin-filter {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  padding: 8px 10px;
  position: relative;
  text-transform: uppercase;
  z-index: 0;
}

.moe-admin-filter {
  border-color: transparent;
}

.moe-admin-tab.is-active,
.moe-admin-filter.is-active {
  border-color: transparent;
}

.moe-admin-tab.is-active::before,
.moe-admin-filter.is-active::before,
.moe-admin-filter:hover::before {
  background:
    linear-gradient(176deg, transparent 7%, rgba(199, 221, 70, 0.84) 8%, rgba(199, 221, 70, 0.72) 80%, transparent 82%);
  content: "";
  inset: 3px 0;
  pointer-events: none;
  position: absolute;
  transform: rotate(-1deg);
  z-index: -1;
}

.moe-admin-application-list {
  border: 1px solid #000;
  display: grid;
}

.moe-admin-application-row {
  border-bottom: 1px solid #000;
  cursor: pointer;
  display: grid;
  gap: 16px;
  grid-template-columns: 130px 180px minmax(0, 1fr) minmax(150px, 200px);
  padding: 16px;
}

.moe-admin-application-row:hover,
.moe-admin-application-row:focus-visible {
  background:
    linear-gradient(176deg, transparent 4%, rgba(199, 221, 70, 0.18) 5%, rgba(199, 221, 70, 0.12) 90%, transparent 92%);
  outline: 0;
}

.moe-admin-application-row:last-child {
  border-bottom: 0;
}

.moe-admin-application-row__type,
.moe-admin-application-row__author,
.moe-admin-application-row__main,
.moe-admin-application-row__side {
  align-content: start;
  display: grid;
  gap: 7px;
}

.moe-admin-application-row__main h2 {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

.moe-admin-application-row__main p {
  color: #333;
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.moe-admin-application-row__side {
  justify-items: start;
}

.moe-admin-application-row__side button {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  padding: 8px 10px;
  text-transform: uppercase;
}

.moe-admin-filter:disabled {
  cursor: not-allowed;
}

.moe-admin-filter:disabled:not(.is-active) {
  opacity: 0.46;
}

.moe-admin-status {
  border: 1px solid #000;
  color: #000;
  display: inline-flex;
  font-size: 11px;
  line-height: 1;
  padding: 6px 8px;
  width: fit-content;
}

.moe-admin-status--new,
.moe-admin-status--pending,
.moe-admin-status--published {
  background:
    linear-gradient(176deg, transparent 8%, rgba(199, 221, 70, 0.74) 9%, rgba(199, 221, 70, 0.66) 78%, transparent 80%);
  border-color: transparent;
}

.moe-admin-status--declined {
  color: #555;
}

.moe-admin-readonly-note {
  border-left: 2px solid var(--moe-color-matcha);
  color: #000;
  display: inline-block;
  font-size: 11px;
  line-height: 1.35;
  padding: 6px 0 6px 12px;
  width: fit-content;
}

.moe-modal--admin button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.moe-modal--admin {
  display: block;
  max-height: min(820px, calc(100vh - 48px));
  max-width: 900px;
  width: min(100%, 900px);
}

.moe-modal--admin .moe-modal__body {
  align-content: start;
  gap: 16px;
  padding: 44px 34px 30px;
}

.moe-admin-detail-section {
  border-top: 1px solid #000;
  display: grid;
  gap: 12px;
  padding-top: 12px;
}

.moe-admin-detail-section h3 {
  margin: 0;
}

.moe-admin-detail-note {
  color: #555;
  font-size: 12px;
  line-height: 1.4;
  margin: -4px 0 0;
  max-width: 620px;
}

.moe-modal--admin .moe-modal__market-grid div {
  min-width: 0;
}

.moe-modal--admin .moe-modal__market-grid strong {
  overflow-wrap: anywhere;
}

.moe-admin-edit-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.moe-admin-preview-card {
  border: 1px solid #000;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.moe-admin-preview-card h4 {
  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

.moe-admin-preview-card p {
  color: #333;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

.moe-admin-action-note {
  background:
    linear-gradient(176deg, transparent 7%, rgba(199, 221, 70, 0.84) 8%, rgba(199, 221, 70, 0.74) 80%, transparent 82%);
  color: #000;
  font-size: 12px;
  line-height: 1.35;
  padding: 8px 10px;
  width: fit-content;
}

.moe-market-detail-section {
  border-top: 1px solid #000;
  display: grid;
  gap: 10px;
  padding-top: 12px;
}

.moe-market-detail-section h3 {
  color: #000;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  margin: 0;
  position: relative;
  text-transform: uppercase;
  width: fit-content;
  z-index: 0;
}

.moe-market-detail-section h3::before {
  background: var(--moe-color-matcha);
  border-radius: 54% 46% 63% 37% / 45% 58% 42% 55%;
  clip-path: polygon(0 47%, 11% 28%, 25% 38%, 41% 21%, 59% 34%, 78% 19%, 100% 43%, 95% 72%, 78% 64%, 60% 80%, 43% 65%, 23% 82%, 4% 69%);
  content: "";
  height: 1.1em;
  left: -0.24em;
  opacity: 0.48;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(-1deg);
  width: calc(100% + 0.48em);
  z-index: -1;
}

.moe-modal__market-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr;
}

.moe-modal__market-grid div {
  border-bottom: 1px solid #000;
  display: grid;
  gap: 6px;
  padding: 9px 0;
}

.moe-modal__market-grid div:nth-child(odd) {
  border-right: 1px solid #000;
  padding-right: 14px;
}

.moe-modal__market-grid div:nth-child(even) {
  padding-left: 14px;
}

.moe-modal__market-grid span,
.moe-modal__market-events > span {
  color: #666;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.moe-modal__market-grid strong {
  color: #000;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.moe-modal__market-events {
  display: grid;
  gap: 7px;
}

.moe-modal__market-events button,
.moe-market-compact-list button,
.moe-market-links a,
.moe-market-links span {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #000;
  color: #000;
  cursor: default;
  font: inherit;
  font-size: 12px;
  line-height: 1.25;
  padding: 7px 0;
  text-align: left;
  text-transform: uppercase;
}

.moe-market-compact-list button[data-open-detail],
.moe-market-compact-list button[data-open-market-detail] {
  cursor: pointer;
}

.moe-market-compact-list button[data-open-detail]:hover,
.moe-market-compact-list button[data-open-detail]:focus-visible,
.moe-market-compact-list button[data-open-market-detail]:hover,
.moe-market-compact-list button[data-open-market-detail]:focus-visible {
  background:
    linear-gradient(176deg, transparent 5%, rgba(199, 221, 70, 0.62) 6%, rgba(199, 221, 70, 0.54) 82%, transparent 84%);
  outline: 0;
}

.moe-market-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.moe-market-links a,
.moe-market-links span {
  width: fit-content;
}

.moe-modal a,
.moe-modal a:visited,
.moe-market-links a,
.moe-market-links a:visited,
.moe-review-detail-author a,
.moe-review-detail-author a:visited {
  color: #000;
  text-decoration-color: #000;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.moe-modal a:hover,
.moe-modal a:focus-visible,
.moe-market-links a:hover,
.moe-market-links a:focus-visible,
.moe-review-detail-author a:hover,
.moe-review-detail-author a:focus-visible {
  color: #000;
  outline: 0;
  text-decoration-color: var(--moe-color-matcha);
}

.moe-market-links a {
  cursor: pointer;
}

#moe-space-root .moe-page a,
#moe-space-root .moe-page a:link,
#moe-space-root .moe-page a:visited,
#moe-space-root .moe-page a:hover,
#moe-space-root .moe-page a:active,
#moe-space-root .moe-modal a,
#moe-space-root .moe-modal a:link,
#moe-space-root .moe-modal a:visited,
#moe-space-root .moe-modal a:hover,
#moe-space-root .moe-modal a:active {
  color: #000 !important;
}

#moe-space-root .moe-page a:hover,
#moe-space-root .moe-page a:focus-visible,
#moe-space-root .moe-modal a:hover,
#moe-space-root .moe-modal a:focus-visible {
  text-decoration-color: var(--moe-color-matcha) !important;
}

.moe-market-two-columns {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.moe-market-compact-list {
  display: grid;
  gap: 7px;
}

.moe-market-compact-list > span {
  color: #666;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.moe-loading-line {
  background: linear-gradient(90deg, var(--moe-color-surface-muted), var(--moe-color-paper-soft), var(--moe-color-surface-muted));
  border-radius: var(--moe-radius-pill);
  height: 10px;
  width: 100%;
}

.moe-loading-line:nth-child(2) {
  width: 78%;
}

.moe-loading-line:nth-child(3) {
  width: 52%;
}

@media (max-width: 900px) {
  .moe-hero,
  .moe-collage,
  .moe-showcase,
  .moe-actions,
  .moe-stat-grid,
  .moe-card-grid,
  .moe-review-grid,
  .moe-state-grid,
  .moe-filter-panel__grid,
  .moe-form-section__grid {
    grid-template-columns: 1fr 1fr;
  }

  .moe-hero__title {
    font-size: 34px;
  }

  .moe-editorial-hero {
    min-height: auto;
  }

  .moe-collage__sheet--tall,
  .moe-collage__sheet--small,
  .moe-entity-card:nth-child(2n),
  .moe-entity-card:nth-child(3n) {
    transform: none;
  }

  .moe-collage__stamp {
    right: var(--moe-space-5);
    top: var(--moe-space-5);
  }

  .moe-showcase {
    min-height: auto;
  }

  .moe-showcase__visual {
    min-height: 380px;
  }

  .moe-modal {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .moe-modal--event,
  .moe-modal--event.has-compact-media {
    display: block;
    max-width: 620px;
    width: min(100%, 620px);
  }

  .moe-modal .moe-image-placeholder {
    border-right: 0;
    border-bottom: 1px solid #000;
    min-height: 260px;
  }

  .moe-modal--event.has-compact-media .moe-image-placeholder {
    height: 118px;
    margin: 54px 22px 0;
    min-height: 0;
    position: relative;
    right: auto;
    top: auto;
    width: 118px;
  }

  .moe-modal--event .moe-modal__image {
    height: min(220px, calc(100vw - 44px));
    margin: 54px 22px 0;
    max-height: none;
    position: relative;
    right: auto;
    top: auto;
    width: min(220px, calc(100vw - 44px));
  }

  .moe-modal--event .moe-modal__image img {
    min-height: 0;
  }

  .moe-modal--event.has-image .moe-modal__body,
  .moe-modal--event.has-compact-media .moe-modal__body {
    padding: 24px 22px 28px;
  }

  .moe-home-calendar {
    width: 84vw;
  }

  .moe-home-telegram {
    bottom: 82px;
    left: var(--home-edge-x);
    max-width: min(420px, calc(100vw - 44px));
    right: auto;
    top: auto;
  }

  .moe-home-calendar__grid span {
    min-height: clamp(38px, 7vh, 68px);
  }

  .moe-calendar-screen__head,
  .moe-markets-screen__head,
  .moe-reviews-screen__head,
  .moe-forms-screen__head,
  .moe-cabinet-section__head,
  .moe-admin-create-panel__head,
  .moe-core-form__head,
  .moe-calendar-day-group,
  .moe-calendar-event,
  .moe-market-row,
  .moe-review-row,
  .moe-cabinet-row,
  .moe-cabinet-favorite-row,
  .moe-admin-application-row,
  .moe-admin-edit-grid,
  .moe-form-grid,
  .moe-admin-stats__grid {
    grid-template-columns: 1fr;
  }

  .moe-modal-backdrop {
    align-items: stretch;
    padding: 12px;
  }

  .moe-modal {
    max-height: calc(100dvh - 24px);
    max-width: calc(100vw - 24px);
    width: calc(100vw - 24px);
  }

  .moe-topbar__inner {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .moe-topbar-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
  }

  .moe-cabinet-profile,
  .moe-cabinet-profile-edit,
  .moe-cabinet-drafts,
  .moe-cabinet-favorite-row__actions,
  .moe-cabinet-notifications {
    grid-template-columns: 1fr;
  }

  .moe-cabinet-profile-row {
    border-right: 0;
  }

  .moe-calendar-view-switch,
  .moe-calendar-period,
  .moe-calendar-event__tags {
    justify-content: flex-start;
  }

  .moe-calendar-day-group__label {
    border-right: 0;
    border-bottom: 1px solid #000;
    padding-right: 0;
  }

  .moe-calendar-week-grid {
    grid-auto-columns: minmax(180px, 78vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .moe-calendar-week-grid .moe-calendar-grid-day {
    scroll-snap-align: start;
  }

  .moe-calendar-month-grid {
    grid-template-columns: repeat(7, minmax(38px, 1fr));
  }

  .moe-calendar-month-grid__weekday {
    font-size: 9px;
    padding: 8px 4px;
  }

  .moe-calendar-month-grid .moe-calendar-grid-day {
    gap: 8px;
    min-height: 118px;
    padding: 8px 5px;
  }

  .moe-calendar-grid-day__head strong {
    font-size: 18px;
  }

  .moe-calendar-grid-day__head small,
  .moe-calendar-grid-event small,
  .moe-calendar-grid-empty {
    display: none;
  }

  .moe-calendar-grid-event {
    padding: 5px;
  }

  .moe-calendar-grid-event span {
    font-size: 9px;
  }

  .moe-calendar-event {
    padding-left: 0;
  }

  .moe-market-row__stats {
    justify-content: flex-start;
  }

  .moe-review-row__side {
    justify-items: start;
  }

  .moe-markets-screen .moe-filter-toolbar,
  .moe-reviews-screen .moe-filter-toolbar {
    display: flex;
    gap: 12px;
    margin-right: calc(var(--home-edge-x) * -1);
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }

  .moe-markets-screen .moe-filter-control,
  .moe-reviews-screen .moe-filter-control {
    flex: 0 0 min(210px, 76vw);
    scroll-snap-align: start;
  }

  .moe-markets-screen .moe-filter-reset,
  .moe-reviews-screen .moe-filter-reset {
    flex: 0 0 auto;
  }

}

@media (max-width: 640px) {
  .moe-container {
    padding: 0 var(--moe-space-4);
  }

  .moe-section__head {
    align-items: start;
    flex-direction: column;
  }

  .moe-topbar__inner {
    padding-top: 14px;
  }

  .moe-topbar-actions {
    gap: 6px;
  }

  .moe-topbar-actions button,
  .moe-time-badge {
    font-size: 10px;
    padding: 7px 8px;
  }

  .moe-hero,
  .moe-collage,
  .moe-showcase,
  .moe-actions,
  .moe-stat-grid,
  .moe-card-grid,
  .moe-review-grid,
  .moe-state-grid,
  .moe-filter-panel__grid,
  .moe-form-section__grid,
  .moe-search__row {
    grid-template-columns: 1fr;
  }

  .moe-hero {
    padding-top: var(--moe-space-8);
  }

  .moe-hero__title {
    font-size: 30px;
  }

  .moe-collage {
    min-height: auto;
  }

  .moe-collage__sheet--small {
    margin-top: 0;
  }

  .moe-collage__stamp {
    height: 78px;
    position: static;
    transform: none;
    width: 78px;
  }

  .moe-date-group__label {
    align-items: start;
    flex-direction: column;
    gap: var(--moe-space-1);
  }

  .moe-home-calendar {
    max-width: calc(100vw - 28px);
    width: calc(100vw - 28px);
  }

  .moe-cookie-popup {
    bottom: 14px;
    left: 14px;
    max-width: calc(100vw - 28px);
    right: 14px;
  }

  .moe-paid-telegram-popup {
    bottom: 72px;
    left: 14px;
    max-width: calc(100vw - 28px);
    right: 14px;
  }

  .moe-back-to-top {
    bottom: 14px;
    right: 14px;
  }

  .moe-home-calendar__head {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .moe-home-calendar__grid span {
    min-height: clamp(34px, 7vh, 54px);
  }

  .moe-calendar-screen {
    padding-left: var(--home-edge-x);
    padding-right: var(--home-edge-x);
  }

  .moe-markets-screen {
    padding-left: var(--home-edge-x);
    padding-right: var(--home-edge-x);
  }

  .moe-reviews-screen {
    padding-left: var(--home-edge-x);
    padding-right: var(--home-edge-x);
  }

  .moe-forms-screen {
    padding-left: var(--home-edge-x);
    padding-right: var(--home-edge-x);
  }

  .moe-cabinet-screen {
    padding-left: var(--home-edge-x);
    padding-right: var(--home-edge-x);
  }

  .moe-admin-screen {
    padding-left: var(--home-edge-x);
    padding-right: var(--home-edge-x);
  }

  .moe-calendar-screen__head h1,
  .moe-markets-screen__head h1,
  .moe-reviews-screen__head h1,
  .moe-forms-screen__head h1,
  .moe-cabinet-hero h1,
  .moe-admin-hero h1 {
    font-size: clamp(42px, 15vw, 78px);
  }

  .moe-calendar-selector {
    min-width: 132px;
  }

  .moe-showcase__visual {
    min-height: 320px;
  }

  .moe-showcase__panel {
    min-height: auto;
  }

  .moe-modal__body {
    padding: 48px 24px 28px;
  }

  .moe-modal--event .moe-modal__body {
    padding: 54px 22px 26px;
  }

  .moe-modal--event.has-image .moe-modal__body,
  .moe-modal--event.has-compact-media .moe-modal__body {
    padding-right: 22px;
  }

  .moe-modal--event .moe-modal__title {
    font-size: clamp(26px, 10vw, 42px);
    max-width: 100%;
  }

  .moe-modal__market-grid {
    grid-template-columns: 1fr;
  }

  .moe-market-two-columns {
    grid-template-columns: 1fr;
  }

  .moe-review-detail-target,
  .moe-review-detail-author {
    grid-template-columns: 1fr;
  }

  .moe-core-form {
    padding: 18px;
  }

  .moe-form-actions button {
    width: 100%;
  }

  .moe-date-pair {
    grid-template-columns: 1fr;
  }

  .moe-mock-field--date input {
    max-width: none;
  }

  .moe-modal__market-grid div:nth-child(odd),
  .moe-modal__market-grid div:nth-child(even) {
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}
