@font-face {
  font-family: MinecraftInspired;
  src: url("minecraft-inspired.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: MinecraftInspired;
  src: url("minecraft-inspired-bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --font-ui: MinecraftInspired, sans-serif;
  --font-body: MinecraftInspired, sans-serif;
  --size: 16px;
  --size-big: 20px;
  --panel: #171922;
  --panel-dark: #0e0f15;
  --slot: #252831;
  --btn-stone: #c6c6c6;
  --btn-grass: #4a9635;
  --btn-stone-lo: #777;
  --btn-grass-lo: #2c5e22;
  --border: 2px;
  --gold: #f0cf69;
  --emerald: #72c963;
  --red: #e97171;
  --text: #f5f5f5;
  --text-muted: #c7c7ce;
  --muted: #c7c7ce;
  --line: #444751;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; color-scheme: dark; }
body {
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--size);
  line-height: 1.4;
  background-color: #111019;
  background-image: linear-gradient(150deg, transparent 20%, #28203466 20% 28%, transparent 28% 60%, #29233955 60% 70%, transparent 70%), linear-gradient(180deg, #15141e, #090a10);
  background-attachment: fixed;
}
html[data-bg="void"] body { background-color: #0a0915; background-image: linear-gradient(150deg, #19132f 20%, transparent 20% 48%, #261b3b99 48% 58%, transparent 58%), linear-gradient(#100d20, #08080e); }
html[data-bg="nether"] body { background-color: #210c0c; background-image: linear-gradient(150deg, #4a191955 20%, transparent 20% 55%, #3b101088 55% 65%, transparent 65%), linear-gradient(#2c1111, #100909); }
html[data-bg="aurora"] body {
  background-color: #08131b;
  background-image:
    radial-gradient(ellipse at 20% 25%, #36d7a866 0, transparent 38%),
    radial-gradient(ellipse at 80% 15%, #816cf277 0, transparent 34%),
    linear-gradient(145deg, #09151e, #10131c 55%, #071018);
  background-size: 140% 140%, 130% 130%, 100% 100%;
  animation: bg-aurora 18s ease-in-out infinite alternate;
}
html[data-bg="estrellas"] body {
  background-color: #090a18;
  background-image:
    radial-gradient(circle at 18px 24px, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 72px 58px, #aebcff 0 1px, transparent 1.5px),
    radial-gradient(ellipse at 50% 120%, #28205b88, transparent 55%),
    linear-gradient(180deg, #090a18, #11182b);
  background-size: 96px 96px, 128px 128px, 100% 100%, 100% 100%;
  animation: bg-stars 38s linear infinite;
}
html[data-bg="magma"] body {
  background-color: #190907;
  background-image:
    radial-gradient(ellipse at 30% 100%, #ff6a1b66 0, transparent 38%),
    radial-gradient(ellipse at 75% 110%, #a81d0b55 0, transparent 42%),
    linear-gradient(150deg, #27100d, #120909 58%, #090506);
  background-size: 130% 130%, 150% 150%, 100% 100%;
  animation: bg-magma 14s ease-in-out infinite alternate;
}
@keyframes bg-aurora { to { background-position: 20% 30%, -12% 35%, 0 0; } }
@keyframes bg-stars { to { background-position: 96px 96px, -128px 128px, 0 0, 0 0; } }
@keyframes bg-magma { to { background-position: -8% 8%, 12% 18%, 0 0; } }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden], .is-hidden, .hidden { display: none !important; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mc-root { width: min(100% - 40px, 1240px); margin: 0 auto; padding-bottom: 70px; }
.mc-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 78px;
  margin: 0 calc((min(100vw - 40px, 1240px) - 100vw) / 2);
  padding: 10px max(20px, calc((100vw - 1240px) / 2));
  background: #4c5153;
  border-bottom: 5px solid #202224;
  box-shadow: inset 0 -3px #707477, 0 6px 15px #0008;
}
.mc-topbar-brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 0 1 190px; padding: 0; border: 0; background: transparent; text-align: left; }
.mc-topbar-name { overflow: hidden; color: white; font-weight: 700; font-size: 19px; line-height: 1.1; text-overflow: ellipsis; }
.mc-topbar-brand .mc-demo-badge { flex: 0 0 auto; margin: 0; font-size: 12px; }
.mc-logo { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; image-rendering: pixelated; }
.mc-logo-fallback { background: #34373b; border: 2px solid #111; color: white; font-size: 30px; font-weight: 700; }
.mc-logo-wrap .mc-logo-img { width: 100%; height: 100%; object-fit: contain; }
.mc-logo-wrap .mc-logo-fallback-inline { display: none; }
.mc-logo-wrap.mc-logo-missing .mc-logo-fallback-inline { display: grid; place-items: center; width: 100%; height: 100%; }
.mc-topbar-tabs { flex: 1 1 auto; min-width: 0; }
.mc-tabs { display: flex; align-items: stretch; gap: 7px; overflow-x: auto; scrollbar-width: thin; }
.mc-topbar-tabs .mc-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; justify-content: safe center; padding-bottom: 4px; }
.mc-topbar-tabs .mc-tab { padding-left: 9px; padding-right: 9px; font-size: 15px; }
.mc-tab, .mc-btn, .mc-panel-tab, .mc-mode-float-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 45px;
  padding: 8px 14px 11px;
  border: 2px solid #111;
  border-radius: 0;
  background: #c6c6c6;
  box-shadow: inset 2px 2px #f4f4f4, inset -2px -5px #777;
  color: #1b1b1b;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
}
.mc-tab { flex: 0 0 auto; font-size: 16px; white-space: nowrap; }
.mc-tab.active, .mc-btn-grass, .mc-panel-tab.is-active {
  color: #fff;
  background: #498f35;
  box-shadow: inset 2px 2px #85c86b, inset -2px -5px #2c5e22;
  text-shadow: 1px 2px #244e1b;
}
.mc-tab:hover, .mc-btn:hover, .mc-panel-tab:hover, .mc-mode-float-close:hover { filter: brightness(1.13); }
.mc-tab:active, .mc-btn:active, .mc-panel-tab:active, .mc-mode-float-close:active { transform: translateY(2px); box-shadow: inset 2px 3px #5559; }
.mc-btn:disabled { opacity: .55; cursor: not-allowed; }
.mc-topbar-account { flex: 0 0 auto; }
.mc-account-corner { position: relative; }
.mc-account-toggle { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-account-drop { max-width: 560px; }
.mc-account-drop .mc-shop-user, .mc-account-drop .mc-shop-nametag { overflow-wrap: anywhere; }
.mc-account-drop .mc-store-logout { margin: 8px; }
.mc-shop-auth-buttons, .mc-shop-form-actions, .mc-form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mc-shop-auth-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mc-shop-auth-buttons > * { min-width: 0; }
.mc-shop-auth-panel-head, .mc-mode-float-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mc-shop-auth-panel-head h3 { margin: 14px 0; }
.mc-shop-auth { display: none; }
.mc-shop-auth.is-active { display: grid; gap: 12px; }
.mc-field { display: grid; gap: 4px; min-width: 0; margin-bottom: 12px; }
.mc-field input, .mc-field select, .mc-field textarea, .mc-form-field input, .mc-form-field select, .mc-form-field textarea, .mc-input-sm {
  width: 100%; min-width: 0; min-height: 43px; padding: 8px; border: 2px solid #090909; border-radius: 0; background: #e5e5e5; color: #171717; box-shadow: inset 2px 2px #858585;
}
.mc-mcname-field { position: relative; }
.mc-mcname-suggest { position: absolute; z-index: 5; top: 100%; width: 100%; margin: 0; padding: 5px; background: #292a31; list-style: none; }
.mc-banner { margin: 24px 0 18px; }
.mc-banner-text { min-width: 0; padding: 24px; background: #08090bdc; }
.mc-title { margin: 0 0 10px; overflow-wrap: anywhere; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; text-shadow: 3px 4px #444; }
.mc-tagline { margin: 0; color: #e2dce9; font-size: 1.15em; }
.mc-hero-status { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mc-hero-chip, .mc-demo-badge, .mc-badge, .mc-mode-badge, .mc-health-badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; background: #b286ce; color: #16121b; font-size: .82em; }
.mc-demo-badge { margin: 4px 0 10px; background: #e6ca68; }
.mc-hero-ip { border: 0; font: inherit; cursor: pointer; }
.mc-dot { width: 8px; height: 8px; background: #55b447; }
.mc-join-strip { margin-bottom: 16px; }
.mc-nav-wrap { display: none; }
.mc-section-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; }
[data-section-group="profile"] .mc-section-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mc-section-tabs .mc-panel-tab { min-width: 0; }
.mc-profile-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.mc-ico { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; vertical-align: middle; }
.mc-ico img { display: block; image-rendering: pixelated; object-fit: contain; }
.mc-view { display: none; min-width: 0; }
.mc-views { margin-top: 18px; }
.mc-view.active { display: block; }
.mc-panel, .mc-news-banner, .mc-shop-card, .mc-mode {
  min-width: 0; margin: 0 0 16px; border: 2px solid #050506; background: #0d0e13ed; box-shadow: inset 0 0 0 1px #ffffff16;
}
.mc-panel { padding: 20px; }
.mc-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: -20px -20px 16px; padding: 13px 20px; border-bottom: 2px solid #32333a; background: #23252c; }
.mc-panel-head h2, .mc-section-title { display: flex; align-items: center; gap: 9px; min-width: 0; margin: 0; color: #fff; font-size: 1.15em; line-height: 1.2; overflow-wrap: anywhere; }
.mc-server-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mc-stat-card { padding: 15px; background: #2a2c34; border: 2px solid #0b0b0c; box-shadow: inset 2px 2px #42444d; }
.mc-stat-lbl { color: #d3d3d5; font-size: .8em; }
.mc-stat-val { color: #a7db8f; font-size: 1.35em; font-weight: 700; overflow-wrap: anywhere; }
.mc-server-stats + .mc-panel-head { margin: 16px -20px; }
.mc-mini, .mc-players, .mc-top-list, .mc-art-list, .mc-shop-orders { padding: 0; margin: 0; list-style: none; }
.mc-mini li, .mc-player, .mc-top-list li { display: flex; align-items: center; gap: 10px; padding: 9px; border-bottom: 1px solid #393a42; }
.mc-mini-val { margin-left: auto; min-width: max-content; max-width: 38%; color: #b4df9b; text-align: right; overflow-wrap: anywhere; }
.mc-mini li > span:not(.mc-mini-val), .mc-mini li > .mc-top-name { min-width: 0; overflow-wrap: anywhere; }
.mc-top-val { flex: 0 1 38%; min-width: 0; margin-left: auto; color: #b4df9b; text-align: right; overflow-wrap: anywhere; }
.mc-top-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.mc-rank { display: inline-grid; position: relative; place-items: center; min-width: 30px; }
.mc-rank-num { position: absolute; color: #111; font-size: 13px; font-weight: 700; }
.mc-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 8px; }
.mc-podium-slot { min-width: 0; padding: 18px 8px; text-align: center; background: #282a32; overflow-wrap: anywhere; }
.mc-podium-slot.p1 { background: #554833; padding-top: 28px; }
.mc-cats, .mc-modes, .mc-shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.mc-cats > *, .mc-modes > *, .mc-shop-grid > * { margin: 0; }
.mc-empty, .mc-shop-empty, .mc-art-empty { padding: 24px; color: #cbcbd0; background: #22232a; text-align: center; }
.mc-empty h2, .mc-empty p { margin: 8px 0; }
.mc-empty-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mc-empty-steps span { padding: 8px; background: #35353e; }
.mc-empty-orbit { display: none; }
.mc-empty-kicker { color: #c6a1e2; }
.mc-table-wrap { max-width: 100%; overflow-x: auto; }
.mc-table { width: 100%; border-collapse: collapse; text-align: left; }
.mc-table th, .mc-table td { padding: 10px; border-bottom: 1px solid #444; white-space: nowrap; }
.mc-table th { background: #303139; }
.mc-news-list { display: grid; gap: 14px; }
.mc-news-banner { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; }
.mc-news-banner:has(.mc-news-banner-img) { grid-template-columns: minmax(180px, 1fr) 1fr; }
.mc-news-banner-img img { width: 100%; height: 100%; max-height: 300px; object-fit: cover; }
.mc-news-banner-body { padding: 22px; }
.mc-news-title, .mc-shop-title { margin: 0 0 8px; }
.mc-news-text, .mc-shop-desc, .mc-field-hint { color: #c7c7ce; }
.mc-shop-storefront { display: flex; align-items: center; gap: 12px; padding: 16px; margin-bottom: 14px; background: #24252d; }
.mc-shop-storefront-title { margin: 0; }
.mc-shop-img { position: relative; display: grid; place-items: center; height: 190px; overflow: hidden; background: #30283b; }
.mc-shop-img > img { width: 100%; height: 100%; object-fit: cover; }
.mc-shop-img-ph img { width: 70px; height: 70px; }
.mc-shop-price-badge { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; background: #b286ce; color: #16121b; }
.mc-shop-card { display: flex; flex-direction: column; }
.mc-shop-body { display: flex; flex: 1; flex-direction: column; align-items: stretch; gap: 8px; padding: 16px; }
.mc-shop-body .mc-btn,
.mc-shop-actions,
.mc-shop-actions .mc-btn,
.mc-shop-body .mc-shop-soon { width: 100%; }
.mc-shop-body .mc-btn,
.mc-shop-actions .mc-btn { margin-top: auto; }
.mc-shop-soon { color: #c9c9cf; }
.mc-mode { position: relative; display: grid; justify-items: center; gap: 10px; min-height: 180px; padding: 20px; color: #fff; font-size: 1em; }
.mc-mode:hover, .mc-mode-selected { border-color: #a8d88d; background: #252b25; }
.mc-mode-badge { position: absolute; top: 8px; right: 8px; background: #86c96a; }
.mc-mode-backdrop { position: fixed; z-index: 40; inset: 0; background: #000b; }
.mc-mode-float { position: fixed; z-index: 41; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(540px, calc(100% - 24px)); max-height: calc(100vh - 24px); overflow-y: auto; border: 3px solid #080808; background: #202127; box-shadow: inset 3px 3px #55565c, 0 16px 40px #000b; }
.mc-mode-float-panel { padding: 20px; }
.mc-mode-float-title { display: flex; align-items: center; gap: 10px; font-size: 1.2em; font-weight: 700; }
.mc-mode-float-close { min-width: 45px; font-size: 24px; }
.mc-art-preview { width: 128px; height: 128px; image-rendering: pixelated; background: #383838; }
.mc-splash { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; background: #111019; transition: opacity .3s; }
.mc-splash-out { opacity: 0; pointer-events: none; }
.mc-splash-inner { text-align: center; }
.mc-splash-logo { display: grid; place-items: center; width: 80px; height: 80px; margin: auto; }
.mc-splash-name { font-size: 1.5em; }
.mc-splash-hint { color: #aaa; }
.mc-splash-progress { width: min(250px, 70vw); height: 22px; margin: 18px auto 0; padding: 3px; border: 2px solid #050505; background: #373737; box-shadow: inset 2px 2px #1b1b1b, inset -2px -2px #777; }
.mc-splash-progress-fill { height: 100%; width: 0; background: repeating-linear-gradient(90deg, #72bd51 0 15px, #4a9635 15px 19px); box-shadow: inset 0 2px #a4df83, inset 0 -3px #2c5e22; animation: mc-loading 1.7s ease-out forwards; transition: width .3s; }
.mc-splash.is-finishing .mc-splash-progress-fill { animation: none; width: 100%; }
@keyframes mc-loading { to { width: 90%; } }
.mc-purchase-toast { position: fixed; z-index: 50; right: 15px; bottom: 15px; padding: 14px; background: #498f35; }
.mc-install { position: fixed; z-index: 30; right: 16px; bottom: 16px; width: min(360px, calc(100% - 32px)); padding: 18px; border: 2px solid #090909; background: #202127; box-shadow: inset 2px 2px #52545b, 0 12px 30px #000a; }
.mc-install-logo { width: 48px; height: 48px; }
.mc-install-actions { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 1000px) {
  .mc-topbar-brand { flex-basis: 150px; }
  .mc-topbar-tabs .mc-tabs { justify-content: flex-start; }
  .mc-tab { font-size: 15px; }
}
@media (max-width: 1100px) {
  .mc-root { padding-bottom: 95px; }
  .mc-topbar { display: flex; }
  .mc-topbar-brand { flex: 1 1 auto; }
  .mc-topbar-tabs { display: none; }
  .mc-nav-wrap { position: fixed; z-index: 20; display: block; left: 0; right: 0; bottom: 0; padding: 7px 8px max(7px, env(safe-area-inset-bottom)); background: #4c5153; border-top: 3px solid #202224; }
  .mc-nav-wrap .mc-tabs { gap: 6px; padding-bottom: 3px; }
  .mc-nav-wrap .mc-tab { flex: 1 1 0; min-width: 0; min-height: 54px; flex-direction: column; padding: 5px 2px 8px; font-size: 12px; }
  .mc-install { bottom: 95px; }
}
@media (max-width: 640px) {
  .mc-root { width: calc(100% - 24px); padding: 0 0 95px; }
  .mc-topbar { display: flex; margin: 0 -12px; padding: 8px 12px; min-height: 64px; }
  .mc-topbar-brand { flex: 1 1 auto; }
  .mc-topbar-brand .mc-logo { width: 42px; height: 42px; flex-basis: 42px; }
  .mc-topbar-name { font-size: 17px; }
  .mc-account-toggle { max-width: 120px; }
  .mc-section-tabs .mc-panel-tab { padding: 8px 4px 11px; font-size: 14px; overflow-wrap: anywhere; }
  .mc-banner { margin: 14px 0; }
  .mc-banner-text { padding: 18px; }
  .mc-title { font-size: 32px; }
  .mc-server-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-panel { padding: 14px; }
  .mc-panel-head { margin: -14px -14px 14px; padding: 12px 14px; }
  .mc-server-stats + .mc-panel-head { margin: 14px -14px; }
  .mc-news-banner:has(.mc-news-banner-img) { grid-template-columns: 1fr; }
  .mc-cats, .mc-shop-grid { grid-template-columns: 1fr; }
  .mc-modes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
}

.mc-hero:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr); background: #08090bdc; border: 2px solid #050506; box-shadow: inset 0 0 0 1px #ffffff16; }
.mc-hero:not(:has(.mc-hero-text)):not([hidden]) { grid-template-columns: 1fr; }
.mc-hero:not(:has(.mc-hero-text)) .mc-home-connection { border-left: 0; }
.mc-hero-text { background: transparent; }
.mc-home-connection { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; min-width: 0; padding: 24px; border-left: 2px solid #32333a; }
.mc-home-connection .mc-hero-status { margin: 0; }
.mc-home-connection .mc-join-strip { margin: 0; width: 100%; }
.mc-home-connection .mc-btn-play { display: flex; justify-content: center; width: 100%; }
.mc-hero-ip { max-width: 100%; overflow-wrap: anywhere; text-align: left; }
.mc-home-no-address { margin: 0; color: #d3d3d5; }
.mc-home-top-link { width: 100%; max-width: none; margin-top: 16px; }
.mc-home-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-bottom: 16px; }
.mc-home-feature { display: flex; flex-direction: column; margin: 0; }
.mc-home-feature-image { height: 190px; margin: 0 -20px; overflow: hidden; background: #30283b; }
.mc-home-feature-image img { width: 100%; height: 100%; object-fit: cover; }
.mc-home-feature-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 16px; min-width: 0; }
.mc-home-feature-body h3, .mc-home-feature-body p { margin: 0; overflow-wrap: anywhere; }
.mc-home-feature-body .mc-btn { width: 100%; max-width: none; margin-top: auto; }
.mc-home-price { color: #a7db8f; }
.mc-home-news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.mc-home-news-item { min-width: 0; padding: 12px; background: #23252c; border: 2px solid #050506; }
.mc-home-news-item h3, .mc-home-news-item p { margin: 8px 0 0; overflow-wrap: anywhere; }
.mc-home-news-label { color: #a7db8f; font-size: .82em; }
.mc-home-news-image { height: 125px; margin: 10px 0; overflow: hidden; background: #30283b; }
.mc-home-news-image img { width: 100%; height: 100%; object-fit: cover; }
.mc-home-news-toggle { width: 100%; max-width: none; margin-top: 16px; }
.mc-news-page-bar { display: flex; align-items: center; margin: 0 0 16px; }
.mc-news-back { min-width: 120px; }
.mc-news-page-bar { justify-content: flex-end; }
.mc-news-back {
  min-width: 48px; width: 48px; height: 48px;
  padding: 0 0 4px; font-size: 28px; line-height: 1;
}
@media (max-width: 640px) {
  .mc-hero:not([hidden]) { grid-template-columns: 1fr; }
  .mc-home-connection { padding: 0 18px 18px; border-left: 0; }
  .mc-hero:not(:has(.mc-hero-text)) .mc-home-connection { padding: 18px; }
  .mc-home-connection .mc-join-strip { width: 100%; }
  .mc-home-connection .mc-btn-play { min-height: 58px; font-size: 1.15em; }
  .mc-home-news-toggle { width: 100%; }
  .mc-home-feature-image { margin: 0 -14px; }
  .mc-home-feature-body .mc-btn, .mc-home-top-link { width: 100%; }
}

.mc-skip-link {
  position: fixed; z-index: 110; top: 8px; left: 8px;
  padding: 12px; background: #fff; color: #111;
  transform: translateY(-150%);
}
.mc-skip-link:focus { transform: translateY(0); }
.mc-topbar {
  background: #2a3033; border-bottom-color: #111719;
  box-shadow: inset 0 -3px #495256, 0 8px 24px #0008;
}
.mc-topbar-brand .mc-logo { box-shadow: inset 0 0 0 2px #87948b, 0 3px #0b100d; }
.mc-hero:not([hidden]) {
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background-image: var(--hero-image, none), linear-gradient(120deg, #263d2e 0%, #171f21 56%, #171722 100%);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 3px #647e65, 0 8px 0 #070909, 0 14px 28px #0006;
}
.mc-hero:not([hidden])::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(5, 8, 7, var(--hero-overlay, .55));
  pointer-events: none;
}
.mc-hero-text { padding: clamp(24px, 4vw, 48px); }
.mc-hero-eyebrow { margin: 0 0 12px; color: #b6e698; font-size: .75em; letter-spacing: .12em; }
.mc-title { font-size: clamp(32px, 4vw, 52px); text-shadow: 3px 4px #0a140c; }
.mc-tagline { max-width: 42ch; line-height: 1.55; }
.mc-home-connection { padding: 28px; border-left-color: #66776866; background: #0c140e66; }
.mc-panel, .mc-news-banner, .mc-shop-card, .mc-mode {
  background: #161a1eed; border-color: #080b0c;
  box-shadow: inset 0 2px #525c57, 0 5px 0 #080b0c, 0 10px 22px #0004;
}
.mc-panel-head { background: #2b3330; border-bottom-color: #080b0c; }
.mc-panel-head h2, .mc-section-title { letter-spacing: .015em; }
.mc-stat-card { background: #29312d; border-color: #111813; box-shadow: inset 2px 2px #59675d; }
.mc-stat-val { margin-top: 5px; font-size: 1.5em; }
.mc-podium-slot { border: 2px solid #111813; box-shadow: inset 0 2px #58645e; }
.mc-podium-slot.p1 { background: #594c2c; box-shadow: inset 0 2px #b19d62; }
.mc-home-news-item { background: #252e2a; box-shadow: inset 0 2px #4e5e52; }
.mc-tab, .mc-btn, .mc-panel-tab, .mc-mode-float-close { transition: filter .15s ease, transform .15s ease; }
.mc-nav-wrap { background: #2a3033; box-shadow: 0 -6px 20px #0008; }
@media (max-width: 640px) {
  .mc-hero-text { padding: 24px 18px; }
  .mc-home-connection { padding: 18px; border-top: 2px solid #66776866; }
  .mc-nav-wrap .mc-tabs { gap: 4px; }
  .mc-nav-wrap .mc-tab { min-height: 58px; font-size: 12px; }
  .mc-root { padding-bottom: calc(105px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.mc-home-connection { box-sizing: border-box; }
.mc-home-connection .mc-join-strip,
.mc-home-connection .mc-btn-play {
  width: 100%;
  max-width: none;
}
.mc-mode-float,
.mc-account-drop,
.mc-install {
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  overflow-x: hidden;
}
.mc-mode-float { width: min(540px, calc(100vw - 24px)); }
.mc-mode-float-close,
.mc-news-back {
  flex: 0 0 auto;
}
.mc-shop-auth-close,
.mc-shop-auth-back {
  width: 48px;
  min-width: 48px;
  height: 48px;
  padding: 0;
  font-size: 26px;
  line-height: 1;
}
.mc-btn, .mc-panel-tab, .mc-mode-float-close { overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .mc-home-connection {
    width: 100%;
    min-width: 0;
  }
  .mc-home-connection .mc-join-strip,
  .mc-home-connection .mc-btn-play {
    max-width: none;
  }
  .mc-home-connection .mc-btn-play {
    min-height: 56px;
  }
  .mc-mode-float {
    top: 50%;
    bottom: auto;
  }
  .mc-mode-float-panel { padding: 14px; }
  .mc-news-page-bar { position: sticky; z-index: 5; top: 8px; }
  .mc-install-actions .mc-btn,
  .mc-shop-auth-buttons > *,
  .mc-form-actions > * { flex: 1 1 140px; }
  .mc-table-wrap { margin-inline: -2px; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-bg="aurora"] body,
  html[data-bg="estrellas"] body,
  html[data-bg="magma"] body { animation: none; }
}
