.mdb-public,
.mdb-portal {
  --mdb-accent: var(--wp--preset--color--primary, #6d5dfc);
  --mdb-accent-strong: #5145cd;
  --mdb-discord: #5865f2;
  --mdb-surface: var(--wp--preset--color--base, #fff);
  --mdb-text: var(--wp--preset--color--contrast, #172033);
  --mdb-muted: #667085;
  --mdb-border: #dce3ec;
  --mdb-soft: #f6f7fb;
  --mdb-success: #16845b;
  --mdb-danger: #b42318;
  box-sizing: border-box;
  color: var(--mdb-text);
  font: inherit;
}

/* Prevent a stale side-cart state from covering plugin pages before its own
   JavaScript has initialized. A deliberate click on the theme cart removes
   this guard, so the existing header keeps its normal cart behaviour. */
body.mrdinobot-page:not(.mdb-cart-user-opened) .elementor-menu-cart__container,
body.mrdinobot-page:not(.mdb-cart-user-opened) .wc-block-components-drawer__screen-overlay,
body.mrdinobot-page:not(.mdb-cart-user-opened) .xoo-wsc-modal {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(100%) !important;
}

.mdb-public *,
.mdb-portal * {
  box-sizing: border-box;
}

.mdb-public {
  width: min(1160px, calc(100% - 32px));
  margin: clamp(32px, 6vw, 80px) auto;
}

.mdb-portal {
  width: min(980px, 100%);
  margin: clamp(24px, 5vw, 64px) auto;
}

.mdb-account-portal {
  display: grid;
  gap: 20px;
}

.mdb-account-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  overflow: hidden;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--mdb-border);
  border-radius: 24px;
  background: radial-gradient(circle at 90% 10%, rgba(111, 93, 252, .2), transparent 32%), linear-gradient(145deg, var(--mdb-surface), var(--mdb-soft));
  box-shadow: 0 22px 60px rgba(23, 32, 51, .1);
}

.mdb-account-hero::after {
  position: absolute;
  right: -34px;
  bottom: -62px;
  width: 180px;
  height: 180px;
  border: 32px solid rgba(88, 101, 242, .08);
  border-radius: 50%;
  content: "";
}

.mdb-account-mark {
  z-index: 1;
  display: grid;
  flex: 0 0 auto;
  width: clamp(64px, 10vw, 96px);
  height: clamp(64px, 10vw, 96px);
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(145deg, #26233d, #111827);
  box-shadow: 0 14px 32px rgba(17, 24, 39, .22);
  font-size: clamp(34px, 6vw, 52px);
  transform: rotate(-3deg);
}

.mdb-account-hero > div {
  z-index: 1;
}

.mdb-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--mdb-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.mdb-account-hero h2,
.mdb-account-portal h3 {
  color: var(--mdb-text);
  font-family: inherit;
  line-height: 1.15;
}

.mdb-account-hero h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -.035em;
}

.mdb-account-hero p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--mdb-muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.65;
}

:where(.mdb-public, .mdb-portal) .mdb-card {
  margin: 20px 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--mdb-border);
  border-radius: 20px;
  background: var(--mdb-surface);
  box-shadow: 0 12px 38px rgba(23, 32, 51, .07);
}

:where(.mdb-public, .mdb-portal) .mdb-card > img {
  width: 100%;
  border-radius: 14px;
}

.mdb-account-state,
.mdb-connect-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 22px;
}

.mdb-state-icon,
.mdb-discord-orb {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 16px;
  background: rgba(88, 101, 242, .11);
  color: var(--mdb-discord);
  font-size: 25px;
  font-weight: 800;
}

.mdb-state-icon.is-error {
  background: #fee4e2;
  color: var(--mdb-danger);
}

.mdb-account-portal h3 {
  margin: 8px 0;
  font-size: clamp(21px, 3vw, 28px);
}

.mdb-account-portal p {
  color: var(--mdb-muted);
  line-height: 1.65;
}

.mdb-account-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--mdb-border);
}

.mdb-account-identity h3 {
  margin: 8px 0 2px;
}

.mdb-account-identity p {
  margin: 0;
}

.mdb-avatar {
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  border: 4px solid var(--mdb-surface);
  border-radius: 24px;
  box-shadow: 0 0 0 1px var(--mdb-border), 0 12px 28px rgba(23, 32, 51, .16);
  object-fit: cover;
}

.mdb-avatar-fallback {
  display: grid;
  place-items: center;
  background: var(--mdb-soft);
  font-size: 36px;
}

.mdb-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.mdb-benefit-grid > div {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--mdb-border);
  border-radius: 14px;
  background: var(--mdb-soft);
}

.mdb-benefit-grid > div > span {
  font-size: 24px;
}

.mdb-benefit-grid small {
  color: var(--mdb-muted);
  line-height: 1.5;
}

.mdb-account-controls,
.mdb-language-form,
.mdb-inline-actions {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.mdb-account-controls {
  justify-content: space-between;
  padding-top: 4px;
}

.mdb-language-form label {
  display: grid;
  gap: 6px;
  color: var(--mdb-muted);
  font-size: 13px;
  font-weight: 700;
}

:where(.mdb-public, .mdb-portal) input,
:where(.mdb-public, .mdb-portal) select,
:where(.mdb-public, .mdb-portal) textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--mdb-border);
  border-radius: 10px;
  background: var(--mdb-surface);
  color: var(--mdb-text);
  font: inherit;
}

:where(.mdb-public, .mdb-portal) input:focus,
:where(.mdb-public, .mdb-portal) select:focus,
:where(.mdb-public, .mdb-portal) textarea:focus {
  border-color: var(--mdb-accent);
  box-shadow: 0 0 0 3px rgba(109, 93, 252, .14);
  outline: none;
}

:where(.mdb-public, .mdb-portal) form:not(.mdb-inline-actions):not(.mdb-language-form) {
  display: grid;
  gap: 14px;
}

:where(.mdb-public, .mdb-portal) form label {
  display: grid;
  gap: 6px;
  font-weight: 650;
}

.mdb-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border: 0;
  border-radius: 10px;
  background: var(--mdb-accent);
  box-shadow: 0 8px 20px rgba(81, 69, 205, .2);
  color: #fff !important;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.mdb-button:hover,
.mdb-button:focus-visible {
  box-shadow: 0 11px 25px rgba(81, 69, 205, .3);
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.mdb-button-discord {
  background: var(--mdb-discord);
}

.mdb-button-secondary {
  border: 1px solid var(--mdb-border);
  background: var(--mdb-surface);
  box-shadow: none;
  color: var(--mdb-text) !important;
}

.mdb-text-danger {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--mdb-danger);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.mdb-feature-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.mdb-feature-list li::before {
  margin-right: 9px;
  color: var(--mdb-success);
  content: "✓";
  font-weight: 900;
}

.mdb-privacy-note {
  margin: 14px 0 0 !important;
  font-size: 13px;
}

.mdb-connection-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}

.mdb-connection-flow > div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--mdb-border);
  border-radius: 12px;
  background: var(--mdb-soft);
}

.mdb-connection-flow span:not(.mdb-flow-arrow) {
  color: var(--mdb-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.mdb-flow-arrow {
  color: var(--mdb-accent);
  font-size: 22px;
}

.mdb-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #a6f4c5;
  border-radius: 12px;
  background: #ecfdf3;
  color: #067647;
  font-weight: 650;
}

.mdb-error {
  color: var(--mdb-danger) !important;
}

.mdb-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(88, 101, 242, .11);
  color: #444fca;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.mdb-status.is-connected {
  background: #ecfdf3;
  color: #067647;
}

.mdb-status.is-connected i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #12b76a;
}

.mdb-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  padding: clamp(28px, 6vw, 58px);
  border-radius: 24px;
  background: linear-gradient(135deg, #111827, #312e81 62%, #5145cd);
  box-shadow: 0 20px 50px rgba(17, 24, 39, .18);
  color: #fff;
}

.mdb-hero > img {
  width: 100%;
  max-height: 390px;
  margin-bottom: 24px;
  border-radius: 16px;
  object-fit: cover;
}

.mdb-hero h1 {
  margin: 7px 0;
  color: #fff;
  font-size: clamp(34px, 6vw, 64px);
  letter-spacing: -.04em;
}

.mdb-hero p {
  color: rgba(255, 255, 255, .82);
}

.mdb-tagline {
  font-size: clamp(18px, 3vw, 24px);
}

.mdb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.mdb-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.mdb-check input {
  width: auto;
  min-height: auto;
}

.mdb-video {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  border-radius: 14px;
  background: #111827;
}

.mdb-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.mdb-prose {
  line-height: 1.75;
}

.mdb-support-intro {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--mdb-surface), var(--mdb-soft)) !important;
}

.mdb-support-intro h2 {
  margin: 4px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.mdb-step-form {
  gap: 0 !important;
}

.mdb-wizard-progress {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  max-width: 520px;
  margin: 0 auto 34px;
}

.mdb-wizard-progress span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--mdb-border);
  border-radius: 50%;
  background: var(--mdb-surface);
  color: var(--mdb-muted);
  font-weight: 800;
  transition: .2s ease;
}

.mdb-wizard-progress span.is-active,
.mdb-wizard-progress span.is-complete {
  border-color: var(--mdb-accent);
  background: var(--mdb-accent);
  color: #fff;
}

.mdb-wizard-progress i {
  height: 2px;
  background: var(--mdb-border);
}

.mdb-wizard-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.mdb-wizard-step[hidden] {
  display: none;
}

.mdb-wizard-step legend {
  display: grid;
  margin: 0 0 8px;
  color: var(--mdb-text);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
}

.mdb-wizard-step legend small {
  margin-bottom: 6px;
  color: var(--mdb-accent);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mdb-option-grid,
.mdb-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.mdb-field-grid .is-wide,
.mdb-choice-group {
  grid-column: 1 / -1;
}

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

.mdb-choice-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.mdb-choice {
  position: relative;
}

.mdb-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mdb-choice span {
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--mdb-border);
  border-radius: 12px;
  background: var(--mdb-soft);
  cursor: pointer;
  font-weight: 700;
  transition: .16s ease;
}

.mdb-choice input:checked + span {
  border-color: var(--mdb-accent);
  background: rgba(109, 93, 252, .1);
  box-shadow: 0 0 0 2px rgba(109, 93, 252, .13);
  color: var(--mdb-accent-strong);
}

.mdb-wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}

.mdb-upload-zone {
  display: grid;
  min-height: 180px;
  place-items: center;
  gap: 7px;
  padding: 28px;
  border: 2px dashed #b9c2d0;
  border-radius: 16px;
  background: var(--mdb-soft);
  text-align: center;
}

.mdb-upload-zone > span:first-child {
  font-size: 36px;
}

.mdb-upload-zone input {
  max-width: 440px;
  margin-top: 10px;
}

.mdb-upload-preview {
  width: 90px;
  height: 70px;
  margin: 4px;
  border-radius: 9px;
  object-fit: cover;
}

.mdb-existing-upload-previews,
.mdb-selected-image-previews {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.mdb-selected-image-previews img {
  width: 82px;
  height: 64px;
  border: 2px solid color-mix(in srgb, var(--mdb-accent) 52%, #fff);
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .18);
}

.mdb-selected-image-previews small {
  flex-basis: 100%;
  color: var(--mdb-muted);
  font-weight: 750;
}

.mdb-field-error,
.mdb-form-validation-summary {
  display: block;
  border: 1px solid rgba(248, 113, 113, .58);
  border-radius: 10px;
  background: #3a151c;
  color: #fecaca;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.mdb-field-error {
  width: 100%;
  margin-top: 7px;
  padding: 8px 10px;
}

.mdb-form-validation-summary {
  margin-bottom: 18px;
  padding: 12px 14px;
}

:where(.mdb-portal, .mdb-public) :is(input, select, textarea).is-invalid,
.mdb-choice-group:has(.is-invalid) .mdb-choice span {
  border-color: #f87171;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, .14);
}

:where(.mdb-portal, .mdb-public) .mdb-button:disabled {
  cursor: wait;
  opacity: .68;
}

.mdb-entry-image {
  width: 100%;
  max-height: 320px;
  margin: 10px 0;
  border-radius: 13px;
  object-fit: cover;
}

.mdb-contest-entry > p {
  max-width: 720px;
}

.mdb-review-box {
  margin: 20px 0;
  padding: 17px;
  border: 1px solid #a6f4c5;
  border-radius: 12px;
  background: #ecfdf3;
}

.mdb-review-box p {
  margin: 5px 0 0;
}

.mdb-event-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 22px 0 34px;
}

.mdb-event-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.mdb-event-card > img {
  width: calc(100% + 40px);
  height: 210px;
  margin: -20px -20px 20px;
  border-radius: 16px 16px 0 0;
  object-fit: cover;
}

.mdb-event-card .mdb-button {
  margin-top: auto;
}

.mdb-event-detail {
  max-width: 980px;
  margin: 28px auto;
}

.mdb-event-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.mdb-event-gallery img {
  width: 100%;
  height: 260px;
  border-radius: 14px;
  object-fit: cover;
}

.mdb-event-detail dl {
  display: grid;
  grid-template-columns: minmax(110px, 180px) 1fr;
  gap: 10px 18px;
  padding: 18px;
  border-radius: 14px;
  background: var(--mdb-soft);
}

.mdb-event-detail dt {
  font-weight: 800;
}

.mdb-event-detail dd {
  margin: 0;
}

.mdb-contest-public,
.mdb-contest-portal {
  --mdb-surface: #111722;
  --mdb-text: #f7f8fb;
  --mdb-muted: #aeb7c8;
  --mdb-border: rgba(255, 255, 255, .1);
  --mdb-soft: #0c111a;
  --mdb-success: #53e6a4;
  --mdb-danger: #ff6b7a;
  position: relative;
  isolation: isolate;
  color: var(--mdb-text);
  color-scheme: dark;
}

.mdb-public.mdb-contest-public {
  width: 100%;
  max-width: none;
  min-height: 76vh;
  margin: 0;
  padding: clamp(36px, 6vw, 88px) max(20px, calc((100% - 1240px) / 2));
  background: transparent;
}

.mdb-contest-portal {
  width: 100%;
  max-width: none;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 28px;
  background:
    radial-gradient(circle at 5% 0%, color-mix(in srgb, var(--mdb-accent) 22%, transparent), transparent 24rem),
    linear-gradient(160deg, #080b12, #0b101a);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

.mdb-contest-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.mdb-contest-portal::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  pointer-events: none;
}

.mdb-contest-lobby {
  position: relative;
  display: grid;
  min-height: 390px;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 340px);
  align-items: center;
  gap: clamp(24px, 6vw, 80px);
  overflow: hidden;
  padding: clamp(36px, 7vw, 78px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 32px;
  background:
    radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--mdb-accent) 38%, transparent), transparent 20rem),
    linear-gradient(135deg, rgba(19, 25, 38, .98), rgba(8, 11, 18, .98));
  box-shadow: 0 34px 90px rgba(0, 0, 0, .4), inset 0 1px rgba(255, 255, 255, .06);
}

.mdb-contest-lobby::after {
  position: absolute;
  right: -8%;
  bottom: -62%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .018), 0 0 0 140px rgba(255, 255, 255, .012);
  content: "";
}

.mdb-contest-lobby-copy {
  z-index: 1;
}

.mdb-contest-kicker {
  display: block;
  margin-bottom: 16px;
  color: color-mix(in srgb, var(--mdb-accent) 58%, #fff);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
}

.mdb-contest-lobby h1 {
  max-width: 780px;
  margin: 0;
  color: #fff !important;
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.mdb-contest-lobby-copy > p {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--mdb-muted) !important;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.mdb-contest-meta {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.mdb-contest-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: #dce2ec;
  font-size: 12px;
  font-weight: 750;
}

.mdb-contest-emblem {
  z-index: 1;
  display: grid;
  width: min(260px, 100%);
  aspect-ratio: 1;
  place-content: center;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 38%;
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 28px 50px rgba(0, 0, 0, .35);
  text-align: center;
  transform: rotate(3deg);
}

.mdb-contest-emblem span {
  font-size: clamp(64px, 9vw, 105px);
  line-height: 1;
}

.mdb-contest-emblem strong {
  margin-top: 8px;
  color: #fff;
  font-size: 32px;
  letter-spacing: .18em;
}

.mdb-contest-emblem small {
  color: var(--mdb-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .32em;
}

.mdb-contest-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  margin: clamp(30px, 5vw, 54px) 0 0;
}

:where(.mdb-contest-public, .mdb-contest-portal) .mdb-card {
  border-color: var(--mdb-border);
  background: linear-gradient(155deg, rgba(19, 25, 36, .98), rgba(12, 17, 26, .98));
  box-shadow: 0 24px 55px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .04);
  color: var(--mdb-text);
}

:where(.mdb-contest-public, .mdb-contest-portal) :is(h1, h2, h3, h4, legend, strong, dt) {
  color: var(--mdb-text);
}

:where(.mdb-contest-public, .mdb-contest-portal) :is(p, small, dd, li) {
  color: var(--mdb-muted);
}

:where(.mdb-contest-public, .mdb-contest-portal) a:not(.mdb-button) {
  color: color-mix(in srgb, var(--mdb-accent) 55%, #fff);
}

.mdb-contest-card {
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.mdb-contest-card:hover {
  border-color: color-mix(in srgb, var(--mdb-accent) 55%, transparent);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
  transform: translateY(-4px);
}

.mdb-contest-card-media {
  position: relative;
  display: grid;
  min-height: 230px;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle, color-mix(in srgb, var(--mdb-accent) 32%, transparent), transparent 65%), #090d15;
}

.mdb-contest-card-media > img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  transition: transform .35s ease;
}

.mdb-contest-card:hover .mdb-contest-card-media > img {
  transform: scale(1.035);
}

.mdb-contest-card-media > span:not(.mdb-status) {
  font-size: 72px;
}

.mdb-contest-card-media .mdb-status {
  position: absolute;
  right: 16px;
  bottom: 16px;
}

.mdb-contest-card-body {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.mdb-contest-card-body h2 {
  margin: 3px 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
}

.mdb-contest-card-body p {
  line-height: 1.7;
}

.mdb-contest-card-body .mdb-button {
  margin-top: auto;
}

:where(.mdb-contest-public, .mdb-contest-portal) .mdb-status {
  border: 1px solid color-mix(in srgb, var(--mdb-accent) 40%, transparent);
  background: color-mix(in srgb, var(--mdb-accent) 18%, rgba(5, 8, 13, .85));
  color: color-mix(in srgb, var(--mdb-accent) 45%, #fff);
  backdrop-filter: blur(12px);
}

.mdb-contest-empty {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 72px);
  border: 1px dashed rgba(255, 255, 255, .16);
  border-radius: 28px;
  background: rgba(255, 255, 255, .025);
  text-align: center;
}

.mdb-contest-empty-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin: 0 auto 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  background: color-mix(in srgb, var(--mdb-accent) 16%, #111722);
  font-size: 38px;
  transform: rotate(-4deg);
}

.mdb-contest-empty h2 {
  margin: 7px 0 10px;
  font-size: clamp(26px, 4vw, 40px);
}

.mdb-contest-empty p {
  max-width: 590px;
  margin: 0 auto;
  line-height: 1.7;
}

.mdb-contest-back {
  margin-bottom: 18px;
}

.mdb-contest-back a,
.mdb-contest-text-link {
  font-weight: 800;
  text-decoration: none;
}

.mdb-contest-hero {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(145deg, #111827, #0a0e17);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
}

.mdb-contest-hero > img {
  width: 100%;
  max-height: 520px;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

.mdb-contest-hero-copy {
  padding: clamp(30px, 6vw, 64px);
}

.mdb-contest-hero-mark {
  display: grid;
  min-height: 280px;
  place-items: center;
  background: radial-gradient(circle, color-mix(in srgb, var(--mdb-accent) 35%, transparent), transparent 60%);
  font-size: 100px;
}

.mdb-contest-live {
  overflow: hidden;
  padding: 0 !important;
}

.mdb-contest-now {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--mdb-border);
  background: linear-gradient(120deg, color-mix(in srgb, var(--mdb-accent) 12%, transparent), transparent 55%);
}

.mdb-contest-phase-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--mdb-accent) 38%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--mdb-accent) 15%, #0b1019);
  font-size: 25px;
}

.mdb-contest-now h2 { margin: 3px 0 5px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.mdb-contest-now p { margin: 0; color: #d6dce7 !important; font-size: 14px; line-height: 1.55; }
.mdb-contest-now .mdb-eyebrow { color: color-mix(in srgb, var(--mdb-accent) 62%, #fff); font-size: 12px; }

.mdb-contest-countdown {
  display: grid;
  min-width: 185px;
  gap: 2px;
  padding: 13px 15px;
  border: 1px solid color-mix(in srgb, var(--mdb-accent) 42%, transparent);
  border-radius: 14px;
  background: rgba(5, 8, 13, .68);
  text-align: right;
}

.mdb-contest-countdown small,
.mdb-contest-countdown span { color: #cbd3df !important; font-size: 11px; font-weight: 750; line-height: 1.4; }
.mdb-contest-countdown small { letter-spacing: .08em; text-transform: uppercase; }
.mdb-contest-countdown strong { color: #fff; font-size: clamp(23px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.02em; }

.mdb-contest-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 20px 22px 23px;
  list-style: none;
}

.mdb-contest-timeline li {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 22px minmax(0, 1fr);
  grid-template-rows: 22px auto;
  align-items: start;
  gap: 8px;
  padding-right: 16px;
}

.mdb-contest-timeline li::before {
  position: absolute;
  z-index: 0;
  top: 7px;
  right: -7px;
  left: 7px;
  height: 2px;
  background: var(--mdb-border);
  content: "";
}

.mdb-contest-timeline li:last-child::before { display: none; }
.mdb-contest-timeline li > i { z-index: 1; grid-column: 1; grid-row: 1; width: 16px; height: 16px; border: 2px solid #718096; border-radius: 50%; background: #111722; }
.mdb-contest-timeline li > span { z-index: 1; grid-column: 1; grid-row: 2; font-size: 17px; line-height: 1.25; }
.mdb-contest-timeline li > div { z-index: 1; min-width: 0; grid-column: 2; grid-row: 2; }
.mdb-contest-timeline strong,
.mdb-contest-timeline time { display: block; }
.mdb-contest-timeline strong { color: #f7f8fb !important; font-size: 13px; line-height: 1.35; }
.mdb-contest-timeline time { margin-top: 5px; color: #c1cad8 !important; font-size: 11.5px; font-weight: 650; line-height: 1.45; }
.mdb-contest-timeline .is-complete > i { border-color: var(--mdb-success); background: var(--mdb-success); }
.mdb-contest-timeline .is-complete::before { background: color-mix(in srgb, var(--mdb-success) 48%, var(--mdb-border)); }
.mdb-contest-timeline .is-next > i { border-color: var(--mdb-accent); background: var(--mdb-accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--mdb-accent) 15%, transparent); }
.mdb-contest-timeline .is-next strong { color: color-mix(in srgb, var(--mdb-accent) 40%, #fff); }

.mdb-contest-overview {
  padding: clamp(26px, 5vw, 48px) !important;
}

.mdb-contest-dates > div {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--mdb-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
}

.mdb-contest-dates > div > span {
  margin-bottom: 4px;
  font-size: 24px;
}

.mdb-contest-dates small {
  line-height: 1.55;
}

:where(.mdb-contest-public, .mdb-contest-portal) input,
:where(.mdb-contest-public, .mdb-contest-portal) select,
:where(.mdb-contest-public, .mdb-contest-portal) textarea {
  border-color: rgba(255, 255, 255, .12);
  background: #090e16;
  color: #f7f8fb;
}

:where(.mdb-contest-public, .mdb-contest-portal) .mdb-choice span,
:where(.mdb-contest-public, .mdb-contest-portal) .mdb-upload-zone {
  border-color: rgba(255, 255, 255, .12);
  background: #0b1019;
  color: #dce2ec;
}

:where(.mdb-contest-public, .mdb-contest-portal) .mdb-choice input:checked + span {
  border-color: var(--mdb-accent);
  background: color-mix(in srgb, var(--mdb-accent) 17%, #0b1019);
  color: color-mix(in srgb, var(--mdb-accent) 40%, #fff);
}

:where(.mdb-contest-public, .mdb-contest-portal) .mdb-wizard-progress span {
  border-color: rgba(255, 255, 255, .15);
  background: #0b1019;
  color: #aeb7c8;
}

:where(.mdb-contest-public, .mdb-contest-portal) .mdb-wizard-progress i {
  background: rgba(255, 255, 255, .12);
}

:where(.mdb-contest-public, .mdb-contest-portal) .mdb-review-box {
  border-color: rgba(83, 230, 164, .28);
  background: rgba(83, 230, 164, .07);
}

:where(.mdb-contest-public, .mdb-contest-portal) .mdb-notice {
  border-color: rgba(83, 230, 164, .28);
  background: #0c211a;
  color: #78efb8;
}

:where(.mdb-contest-public, .mdb-contest-portal) .mdb-notice.is-error {
  border-color: rgba(248, 113, 113, .5);
  background: #39161c;
  color: #fecaca;
}

:where(.mdb-contest-public, .mdb-contest-portal) .mdb-button-secondary {
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .055);
  color: #f7f8fb !important;
}

:where(.mdb-contest-public, .mdb-contest-portal) dl {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 8px 18px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
}

:where(.mdb-contest-public, .mdb-contest-portal) dd {
  margin: 0;
}

.mdb-public-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.mdb-public-section-heading h2 {
  margin: 3px 0 6px;
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.12;
}

.mdb-public-section-heading p { margin: 0; }

.mdb-entry-public-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.mdb-entry-public-status.is-pending-review { border-color: rgba(251, 191, 36, .28); background: rgba(251, 191, 36, .12); color: #fcd34d; }
.mdb-entry-public-status.is-approved { border-color: rgba(83, 230, 164, .28); background: rgba(83, 230, 164, .1); color: #78efb8; }
.mdb-entry-public-status.is-rejected { border-color: rgba(255, 107, 122, .3); background: rgba(255, 107, 122, .1); color: #ff9ca6; }
.mdb-entry-public-status.is-disqualified { border-color: rgba(232, 121, 249, .3); background: rgba(232, 121, 249, .1); color: #f0abfc; }
.mdb-entry-public-status.is-withdrawn { border-color: rgba(174, 183, 200, .22); background: rgba(174, 183, 200, .08); color: #c7ceda; }

.mdb-my-entry-layout {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(22px, 4vw, 38px);
}

.mdb-my-entry-layout h3 {
  margin: 7px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.mdb-entry-number {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--mdb-accent) 18%, transparent);
  color: color-mix(in srgb, var(--mdb-accent) 48%, #fff);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .06em;
}

.mdb-my-entry-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.mdb-my-entry-meta > span {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid var(--mdb-border);
  border-radius: 11px;
  background: rgba(255, 255, 255, .025);
  color: var(--mdb-muted);
  font-size: 12px;
}

.mdb-my-entry-meta strong { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }

.mdb-entry-guidance {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 15px 17px;
  border: 1px solid rgba(251, 191, 36, .24);
  border-radius: 12px;
  background: rgba(251, 191, 36, .07);
  color: #fcd34d;
}

.mdb-entry-guidance span { display: grid; gap: 4px; color: #e5e7eb; }
.mdb-entry-guidance.is-review-note { border-color: rgba(255, 107, 122, .28); background: rgba(255, 107, 122, .07); }

.mdb-entry-showcase {
  margin: clamp(38px, 7vw, 78px) 0;
  padding-top: clamp(28px, 5vw, 50px);
  border-top: 1px solid var(--mdb-border);
}

.mdb-entry-public-counts {
  display: flex;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid var(--mdb-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
}

.mdb-entry-public-counts span {
  display: grid;
  min-width: 94px;
  gap: 2px;
  padding: 12px 16px;
  color: var(--mdb-muted);
  font-size: 11px;
  text-align: center;
}

.mdb-entry-public-counts span + span { border-left: 1px solid var(--mdb-border); }
.mdb-entry-public-counts strong { font-size: 22px; }

.mdb-gallery-empty {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 19px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px dashed rgba(255, 255, 255, .17);
  border-radius: 20px;
  background: rgba(255, 255, 255, .025);
}

.mdb-gallery-empty > span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 17px;
  background: color-mix(in srgb, var(--mdb-accent) 15%, #111722);
  font-size: 28px;
}

.mdb-gallery-empty h3 { margin: 0 0 6px; font-size: 21px; }
.mdb-gallery-empty p { margin: 0; }

.mdb-public-entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 292px));
  align-items: start;
  justify-content: start;
  gap: 16px;
}

:where(.mdb-contest-public, .mdb-contest-portal) .mdb-public-entry-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.mdb-public-entry-media {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background: radial-gradient(circle, color-mix(in srgb, var(--mdb-accent) 30%, transparent), transparent 64%), #090d15;
}

.mdb-public-entry-card > .mdb-public-entry-media { border-radius: 0; }
.mdb-public-entry-media.mdb-video { aspect-ratio: auto; }
.mdb-public-entry-media > img { width: 100%; height: 100%; object-fit: cover; }
.mdb-public-entry-media.is-placeholder > span { font-size: 56px; }

.mdb-entry-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .42s ease;
}

@media (prefers-reduced-motion: reduce) {
  .mdb-entry-carousel-track { transition: none; }
}

.mdb-entry-carousel-slide {
  min-width: 100%;
  height: 100%;
  margin: 0;
}

.mdb-entry-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mdb-carousel-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(8, 12, 20, .76);
  color: #fff;
  cursor: pointer;
  font: 700 24px/1 sans-serif;
  transform: translateY(-50%);
}

.mdb-carousel-arrow:hover,
.mdb-carousel-arrow:focus-visible { background: var(--mdb-accent); }
.mdb-carousel-arrow.is-previous { left: 9px; }
.mdb-carousel-arrow.is-next { right: 9px; }

.mdb-carousel-dots {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  left: 50%;
  display: flex;
  gap: 5px;
  transform: translateX(-50%);
}

.mdb-carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
}

.mdb-carousel-dots button.is-active { width: 19px; border-radius: 8px; background: #fff; }

.mdb-carousel-count {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 9px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(8, 12, 20, .76);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
}

.mdb-public-entry-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.mdb-public-entry-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--mdb-muted);
  font-size: 12px;
}

.mdb-public-entry-body h3 {
  overflow: hidden;
  margin: 10px 0 7px;
  font-size: 19px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mdb-public-entry-description {
  display: -webkit-box;
  overflow: hidden;
  min-height: 58px;
  margin: 0 0 11px;
  color: var(--mdb-muted);
  font-size: 13px;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.mdb-entry-badges { display: flex; flex-wrap: wrap; gap: 7px; margin: 6px 0 14px; }

.mdb-contest-results { border-color: rgba(250, 204, 21, .45); }
.mdb-contest-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px;
}
.mdb-contest-result {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding: 14px;
  border: 1px solid rgba(250, 204, 21, .32);
  border-radius: 14px;
  background: rgba(30, 41, 59, .68);
}
.mdb-contest-result-banner {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  margin: -14px -14px 13px;
  border-bottom: 1px solid rgba(250, 204, 21, .24);
  background: #090d15;
}
.mdb-contest-result-banner > img { width: 100%; height: 100%; object-fit: cover; transition: transform .24s ease; }
.mdb-contest-result-banner > span:not(.mdb-contest-result-banner-placeholder) { position: absolute; right: 9px; bottom: 9px; padding: 5px 8px; border-radius: 999px; background: rgba(9, 13, 21, .82); color: #fef3c7; font-size: 10px; font-weight: 800; }
.mdb-contest-result:hover .mdb-contest-result-banner > img, .mdb-contest-result:focus-within .mdb-contest-result-banner > img { transform: scale(1.04); }
.mdb-contest-result-banner-placeholder { display: grid; width: 100%; height: 100%; place-items: center; font-size: 52px; }
.mdb-contest-result-content { display: flex; flex: 1; flex-direction: column; width: 100%; }
.mdb-contest-result-heading { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.mdb-contest-result-medal { grid-row: span 3; font-size: 27px; }
.mdb-contest-result-place { color: #fde68a; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.mdb-contest-result h3 { margin: 3px 0; color: #fff; font-size: 16px; }
.mdb-contest-result p { margin: 0; color: #cbd5e1; font-size: 12px; }
.mdb-contest-result-prize { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(148, 163, 184, .2); }
.mdb-contest-result-prize small { display: block; color: #94a3b8; font-size: 10px; text-transform: uppercase; }
.mdb-contest-result-prize strong { color: #fef3c7; font-size: 13px; }
.mdb-contest-result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 12px; }
.mdb-contest-result-actions a { color: #fef3c7; font-size: 11px; font-weight: 800; text-decoration: none; }
.mdb-contest-result-actions a:hover, .mdb-contest-result-actions a:focus-visible { color: #fff; text-decoration: underline; }
.mdb-public-entry-card { scroll-margin-top: 28px; }
.mdb-public-entry-card:target { outline: 2px solid rgba(250, 204, 21, .84); outline-offset: 4px; }

.mdb-public-entry-details {
  margin-top: auto;
  padding: 10px 0;
  border-top: 1px solid var(--mdb-border);
  border-bottom: 1px solid var(--mdb-border);
}

.mdb-public-entry-details > summary { cursor: pointer; color: #e5e7eb; font-size: 12px; font-weight: 750; }
.mdb-public-entry-details dl { margin-bottom: 0; }

.mdb-public-entry-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.mdb-public-entry-actions form { margin: 0; }
.mdb-public-entry-actions .mdb-button { width: auto; min-height: 36px; padding: 8px 11px; font-size: 11px; }

.mdb-vote-button {
  border-color: #d9468d;
  background: linear-gradient(135deg, #d9468d, #9f3bcc);
  color: #fff;
  box-shadow: none;
}

.mdb-vote-button:hover,
.mdb-vote-button:focus-visible { border-color: #f472b6; background: #c23980; }

.mdb-vote-selected {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid #d9468d;
  border-radius: 10px;
  background: rgba(217, 70, 141, .13);
  color: #f9a8d4;
  font-size: 11px;
  font-weight: 850;
}

.mdb-contest-leaderboard {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--mdb-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, .025);
}

.mdb-leaderboard-total {
  padding: 7px 10px;
  border: 1px solid var(--mdb-border);
  border-radius: 999px;
  color: var(--mdb-muted);
  font-size: 12px;
  font-weight: 750;
}

.mdb-leaderboard-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.mdb-leaderboard-list li {
  display: grid;
  min-width: 0;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--mdb-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}

.mdb-leaderboard-rank {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--mdb-accent) 18%, #111722);
  color: #fff;
  font-weight: 850;
}

.mdb-leaderboard-list li > span:nth-child(2) { min-width: 0; }
.mdb-leaderboard-list strong,
.mdb-leaderboard-list small { display: block; }
.mdb-leaderboard-list strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.mdb-leaderboard-list small { margin-top: 2px; color: var(--mdb-muted); font-size: 10px; font-weight: 650; }
.mdb-leaderboard-list b { color: #fff; font-size: 16px; text-align: right; }
.mdb-leaderboard-list b small { white-space: nowrap; }

@media (max-width: 720px) {
  .mdb-public.mdb-contest-public {
    padding: 24px 14px 56px;
  }

  .mdb-contest-portal {
    padding: 22px 14px;
    border-radius: 20px;
  }

  .mdb-contest-lobby {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 30px 24px;
    border-radius: 22px;
  }

  .mdb-contest-now {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .mdb-contest-countdown {
    min-width: 0;
    grid-column: 1 / -1;
    text-align: left;
  }

  .mdb-contest-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mdb-contest-timeline li { min-height: 58px; grid-template-columns: 18px 24px minmax(0, 1fr); grid-template-rows: auto; gap: 6px; padding: 0 0 18px; }
  .mdb-contest-timeline li::before { top: 13px; right: auto; bottom: -1px; left: 7px; width: 2px; height: auto; }
  .mdb-contest-timeline li > i { grid-column: 1; grid-row: 1; margin-top: 1px; }
  .mdb-contest-timeline li > span { grid-column: 2; grid-row: 1; }
  .mdb-contest-timeline li > div { grid-column: 3; grid-row: 1; }
  .mdb-contest-timeline li:last-child { min-height: 0; padding-bottom: 0; }
  .mdb-contest-timeline li:last-child::before { display: none; }

  .mdb-contest-emblem {
    display: none;
  }

  .mdb-contest-meta {
    align-items: stretch;
    flex-direction: column;
  }

  :where(.mdb-contest-public, .mdb-contest-portal) dl {
    grid-template-columns: 1fr;
  }

  .mdb-public-section-heading,
  .mdb-public-entry-topline,
  .mdb-public-entry-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mdb-my-entry-layout,
  .mdb-my-entry-meta,
  .mdb-gallery-empty {
    grid-template-columns: 1fr;
  }

  .mdb-entry-public-status { align-self: flex-start; }
  .mdb-entry-public-counts { width: 100%; }
  .mdb-entry-public-counts span { flex: 1; }

  .mdb-account-state,
  .mdb-connect-card {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .mdb-account-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .mdb-benefit-grid {
    grid-template-columns: 1fr;
  }

  .mdb-option-grid,
  .mdb-field-grid {
    grid-template-columns: 1fr;
  }

  .mdb-field-grid .is-wide,
  .mdb-choice-group {
    grid-column: auto;
  }

  .mdb-account-controls,
  .mdb-language-form,
  .mdb-inline-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mdb-language-form label,
  .mdb-language-form select,
  .mdb-button {
    width: 100%;
  }

  .mdb-connection-flow {
    grid-template-columns: 1fr;
  }

  .mdb-event-toolbar {
    justify-content: stretch;
  }

  .mdb-event-detail dl {
    grid-template-columns: 1fr;
  }

  .mdb-flow-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}
