:root {
    --wrap: 1300px;
    --sidebar: 340px;

    --coral: #EE6352;
    --sky: #08B2E3;
    --green: #57A773;
    --grape: #484D6D;
    --slate: #c0c0c0;

    --bg: #f6f3ef;
    --page: #ffffff;
    --soft: #f4f1ed;
    --border: rgba(72, 77, 109, .18);

    --text: #252525;
    --muted: rgba(72, 77, 109, .78);

    --shadow: 0 14px 30px rgba(0, 0, 0, .10);
    --shadow2: 0 10px 20px rgba(0, 0, 0, .08);
    --r: 16px;

    --header-bg-image: url("https://images.maraholic.org/layout/main/holiclogin.png");
}

/* === BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Quicksand", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(1200px 700px at 20% 0%, rgba(8, 178, 227, .14), transparent 60%),
        radial-gradient(900px 600px at 85% 10%, rgba(238, 99, 82, .12), transparent 55%),
        var(--bg);
    color: var(--text);
}

.mh-wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 14px;
}

/* === HEADER === */
.mh-top {
    position: relative;
    overflow: visible;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    background: linear-gradient(180deg, rgba(72, 77, 109, .10), rgba(72, 77, 109, .02));
}

.mh-top::before {
    content: "";
    position: absolute;
    inset: -40px;
    height: 182px;
    background-image: var(--header-bg-image);
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) contrast(1.05);
    opacity: .12;
    pointer-events: none;
}

.mh-top::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 178, 227, .18), rgba(238, 99, 82, .14)),
        linear-gradient(180deg, rgba(255, 255, 255, .20), transparent 60%);
    pointer-events: none;
}

.mh-masthead {
    position: relative;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0 12px;
}

.mh-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.mh-brand__img {
    display: block;
    height: 62px;
    width: auto;
    max-width: 520px;
    border-radius: 14px;
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .12));
}

.mh-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.mh-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(72, 77, 109, .20);
    margin: 0;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: var(--shadow2);
}

.mh-search input {
    border: 0;
    padding: 10px 12px;
    width: 290px;
    outline: none;
    background: transparent;
    color: var(--text);
}

.mh-search input::placeholder {
    color: rgba(72, 77, 109, .55);
}

.mh-search__btn {
    width: 42px;
    height: 42px;
    border: 0;
    cursor: pointer;
    background: radial-gradient(circle at 50% 50%, rgba(8, 178, 227, .18), rgba(8, 178, 227, .06)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%23484D6D' d='M10 18a8 8 0 1 1 5.29-14.03A8 8 0 0 1 10 18m11 3l-6.2-6.2l1.4-1.4L22.4 19.6z'/%3E%3C/svg%3E") center/18px 18px no-repeat;
}

.mh-account {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(72, 77, 109, .20);
    text-decoration: none;
    color: var(--grape);
    box-shadow: var(--shadow2);
    font-weight: 900;
}

.mh-account__icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(238, 99, 82, .28), rgba(8, 178, 227, .22));
    border: 1px solid rgba(72, 77, 109, .14);
}

.mh-account__chev {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(72, 77, 109, .70);
}

.mh-account--user {
    gap: 10px;
    padding: 8px 10px;
}

.mh-account__avatar {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(72, 77, 109, .18);
    background: rgba(72, 77, 109, .06);
}

.mh-account__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.mh-account__name {
    font-size: 13px;
    font-weight: 1000;
}

.mh-account__link {
    font-size: 12px;
    color: rgba(72, 77, 109, .78);
    text-decoration: none;
    font-weight: 800;
}

.mh-account__logout {
    margin-left: 6px;
    font-size: 12px;
    font-weight: 1000;
    color: var(--coral);
    text-decoration: none;
}

/* === 404 PAGE === */
.mara-404-subtitle {
    font-size: 12px;
    margin-bottom: 18px;
    text-align: center;
    color: #555;
    font-weight: 600;
}

.mara-404-url {
    font-family: monospace;
    font-size: 13px;
    background: #f4f4f4;
    padding: 6px 10px;
    border-radius: 6px;
    display: block;
    width: fit-content;
    margin: 0 auto 18px auto;
    max-width: 100%;
    word-break: break-all;
    margin-bottom: 18px;
}

/* === SINGLE NAV === */
.mh-nav {
    position: relative;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 10px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(180deg, rgba(72, 77, 109, .95), rgba(72, 77, 109, .88));
    box-shadow: 0 12px 24px rgba(0, 0, 0, .10);
}

.mh-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 11px;
}

.mh-nav a:hover {
    background: rgba(255, 255, 255, .14);
}

.mh-nav__right {
    margin-left: auto;
}

/* ===== MAIN BODY ASSETS ===== */
.mh-body {
    display: grid;
    grid-template-columns: var(--sidebar) 1fr;
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 26px;
}

.mh-sidebar,
.mh-main {
    min-width: 0;
}

.mh-breadcrumbs {
    background: rgba(255, 255, 255, .70);
    border: 1px solid rgba(72, 77, 109, .16);
    border-radius: 999px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-weight: 900;
    color: rgba(72, 77, 109, .80);
    display: flex;
    gap: 8px;
    align-items: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .06);
}

.mh-breadcrumbs a {
    color: rgba(72, 77, 109, .80);
    text-decoration: none;
}

.mh-title {
    margin: 0 0 14px;
    font-size: 34px;
    font-weight: 1500;
    text-align: center;
    text-transform: uppercase;
    color: var(--grape);
    letter-spacing: .2px;
}

.mh-h2 {
    margin: 18px 0 12px;
    padding: 0 0 10px;

    font-size: 22px;
    font-weight: 1000;
    letter-spacing: .2px;

    color: var(--grape);

    border-bottom: 2px solid rgba(72, 77, 109, .16);
    position: relative;
}

.mh-h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 130px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--coral), var(--sky), var(--green));
}

.mh-h3 {
    margin: 14px 0 10px;
    padding: 0;

    font-size: 16px;
    font-weight: 1000;
    letter-spacing: .12em;
    text-transform: uppercase;

    color: rgba(72, 77, 109, .90);

    display: flex;
    align-items: center;
    gap: 10px;
}

.mh-panel h3::before,
.mh-h3::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(238, 99, 82, .85), rgba(8, 178, 227, .75));
    box-shadow: 0 0 0 3px rgba(8, 178, 227, .10);
}

.mh-panel {
    background: var(--page);
    border: 1px solid rgba(72, 77, 109, .14);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 16px;
}

.mh-lastupdated {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;

    margin: 0 0 14px;
    padding: 8px 12px;

    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .12em;
    text-transform: uppercase;

    color: rgba(72, 77, 109, .82);

    background: rgba(8, 178, 227, .10);
    border: 1px solid rgba(72, 77, 109, .14);
    border-radius: 999px;

    box-shadow: 0 8px 16px rgba(0, 0, 0, .06);
}

.mh-lastupdated span {
    color: var(--coral);
}

/* === LISTS === */
.mh-panel ul,
.mh-panel ol {
    margin: 12px 0;
    padding-left: 0;
}

.mh-list {
    list-style: none;
    margin: 12px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mh-list li {
    position: relative;
    padding-left: 28px;
    color: rgba(72, 77, 109, .92);
    line-height: 1.45;
    font-weight: 700;
}

.mh-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(8, 178, 227, .55), rgba(87, 167, 115, .45));
    box-shadow:
        0 0 0 3px rgba(8, 178, 227, .10),
        0 8px 14px rgba(0, 0, 0, .06);
    border: 1px solid rgba(72, 77, 109, .12);
}

.mh-list li b,
.mh-list li strong {
    color: var(--grape);
    font-weight: 1000;
}

.mh-list li a {
    color: var(--coral);
    font-weight: 1000;
    text-decoration: none;
}

.mh-list li a:hover {
    color: rgba(8, 178, 227, .95);
    text-decoration: underline;
}

.mh-list--boxed {
    gap: 10px;
}

.mh-list--boxed li {
    padding: 12px 12px 12px 40px;
    border-radius: 14px;
    background: rgba(8, 178, 227, .07);
    border: 1px solid rgba(72, 77, 109, .12);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .05);
}

.mh-list--boxed li::before {
    left: 14px;
    top: 14px;
}

.mh-list--compact {
    gap: 6px;
}

.mh-list--compact li {
    padding-left: 24px;
    font-size: 14px;
}

.mh-list--compact li::before {
    width: 10px;
    height: 10px;
    top: 6px;
}

.mh-olist {
    margin: 12px 0;
    padding: 0;
    list-style: none;
    counter-reset: mhStep;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mh-olist li {
    counter-increment: mhStep;
    position: relative;
    padding-left: 44px;
    line-height: 1.45;
    color: rgba(72, 77, 109, .92);
    font-weight: 700;
}

.mh-olist li::before {
    content: counter(mhStep);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 1000;
    color: #fff;
    background: linear-gradient(135deg, rgba(238, 99, 82, .95), rgba(72, 77, 109, .90));
    box-shadow: 0 10px 16px rgba(0, 0, 0, .08);
}

.mh-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mh-faq-item {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(72, 77, 109, .14);
    border-radius: 16px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .06);
    overflow: hidden;
}

.mh-faq-q {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    font-weight: 1000;
    color: var(--grape);
    background: linear-gradient(90deg, rgba(8, 178, 227, .10), rgba(87, 167, 115, .08));
    border-bottom: 1px solid rgba(72, 77, 109, .10);
}

.mh-faq-q::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 12px;
    font-weight: 1000;
    color: #fff;
    background: linear-gradient(135deg, rgba(8, 178, 227, .95), rgba(87, 167, 115, .88));
    box-shadow: 0 10px 16px rgba(0, 0, 0, .08);
}

.mh-faq-a {
    padding: 12px 14px 14px;
    color: rgba(72, 77, 109, .88);
    line-height: 1.55;
}

.mh-faq-a::before {
    content: "A";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 12px;
    font-weight: 1000;
    color: #fff;
    background: linear-gradient(135deg, rgba(238, 99, 82, .92), rgba(72, 77, 109, .90));
    box-shadow: 0 10px 16px rgba(0, 0, 0, .08);
    margin-right: 10px;
    float: left;
}

/* === LINKS === */
.mh-link {
    color: var(--grape);
    font-weight: 1000;
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 2px 2px;
}

.mh-link::after,
.mh-link--external::after {
    content: "";
    position: absolute;
    left: 2px;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(238, 99, 82, .85), rgba(8, 178, 227, .75));
    opacity: .35;
    transform: scaleX(.25);
    transform-origin: left;
    transition: transform .15s ease, opacity .15s ease;
}

.mh-link:hover {
    color: var(--coral);
}

.mh-link:hover::after {
    opacity: .9;
    transform: scaleX(1);
}

.mh-link--external span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mh-link--external span::after {
    content: "↗";
    font-weight: 1000;
    opacity: .8;
}

/* === SIDEBAR === */
.mh-sidebox {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(72, 77, 109, .14);
    border-radius: var(--r);
    box-shadow: var(--shadow2);
    overflow: hidden;
    margin-bottom: 14px;
}

.mh-sidebox__title {
    padding: 12px 14px;
    font-weight: 1000;
    color: #fff;
    background: linear-gradient(90deg, rgba(8, 178, 227, .95), rgba(87, 167, 115, .88));
}

.mh-sidebox__body {
    padding: 12px 14px;
    color: rgba(72, 77, 109, .88);
    font-size: 14px;
}

.mh-sidebox__body p {
    margin: 0 0 10px;
}

.mh-sidebox__body a {
    color: var(--grape);
    font-weight: 900;
}

.mh-sidelinks {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mh-sidelinks li {
    border-top: 1px solid rgba(72, 77, 109, .10);
}

.mh-sidelinks a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    text-decoration: none;
    color: rgba(72, 77, 109, .92);
    font-weight: 900;
}

.mh-sidelinks a:hover {
    background: rgba(8, 178, 227, .08);
}

.mh-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 1000;
    font-size: 11px;
    padding: 5px 8px;
    border-radius: 999px;
    border: 1px solid rgba(72, 77, 109, .14);
    background: rgba(72, 77, 109, .06);
    color: rgba(72, 77, 109, .90);
}

.mh-badge--live {
    background: rgba(87, 167, 115, .16);
    border-color: rgba(87, 167, 115, .28);
}

.mh-badge--info {
    background: rgba(8, 178, 227, .16);
    border-color: rgba(8, 178, 227, .30);
}

.mh-badge--sale {
    background: rgba(238, 99, 82, .16);
    border-color: rgba(238, 99, 82, .30);
}

/* === BUTTONS === */
.mh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(72, 77, 109, .16);
    text-decoration: none;
    font-weight: 1000;
    color: var(--grape);
    background: rgba(255, 255, 255, .88);

    box-shadow: 0 10px 18px rgba(0, 0, 0, .06);
    transition: transform .12s ease, filter .12s ease;
}

.mh-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.mh-btn--primary {
    color: #fff;
    border-color: rgba(72, 77, 109, .12);
    background: linear-gradient(135deg, rgba(72, 77, 109, .92), rgba(8, 178, 227, .78));
}

.mh-btn--outline {
    background: rgba(255, 255, 255, .86);
    border-color: rgba(238, 99, 82, .28);
}

.mh-btn--soft {
    background: rgba(8, 178, 227, .10);
    border-color: rgba(8, 178, 227, .24);
}

.mh-btnstack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.mh-btnrow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.mh-usercard {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(72, 77, 109, .14);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .06);
}

.mh-usercard__avatar {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    border: 1px solid rgba(72, 77, 109, .16);
    background: rgba(72, 77, 109, .06);
}

.mh-usercard__profile {
    margin-top: 6px;
    justify-content: center;
}

.mh-usercard__name {
    font-weight: 1000;
    color: var(--grape);
    font-size: 15px;
    line-height: 1.2;
}

.mh-usercard__meta {
    margin-top: 4px;
    color: rgba(72, 77, 109, .72);
    font-weight: 800;
    font-size: 12px;
}

.mh-usercard__stats {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: rgba(72, 77, 109, .82);
    font-weight: 800;
}

.mh-usercard__stats span {
    color: rgba(72, 77, 109, .72);
    font-weight: 800;
}

.mh-usercard__stats b {
    color: var(--coral);
    font-weight: 1000;
}

/* === FOOTER === */
.mh-footer {
    margin-top: 26px;
    background:
        linear-gradient(180deg, rgba(72, 77, 109, .10), rgba(72, 77, 109, .04));
    border-top: 1px solid rgba(72, 77, 109, .12);
}

.mh-footer__inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 22px 14px 16px;
}

.mh-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    gap: 18px;
    padding: 16px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(72, 77, 109, .14);
    border-radius: var(--r);
    box-shadow: var(--shadow2);
}

.mh-footcol__title {
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .10em;
    color: rgba(72, 77, 109, .90);
    margin-bottom: 10px;
}

.mh-footlinks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mh-footlinks a {
    text-decoration: none;
    color: rgba(72, 77, 109, .86);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mh-footlinks a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(8, 178, 227, .35);
    box-shadow: 0 0 0 2px rgba(8, 178, 227, .10);
}

.mh-footlinks a:hover {
    color: var(--coral);
}

.mh-footlinks a:hover::before {
    background: rgba(238, 99, 82, .45);
    box-shadow: 0 0 0 2px rgba(238, 99, 82, .12);
}

.mh-footactions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.mh-footbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(72, 77, 109, .16);
    text-decoration: none;
    font-weight: 1000;
    letter-spacing: .2px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .08);
    transition: transform .12s ease, filter .12s ease;
}

.mh-footbtn:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.mh-footbtn--marapets {
    background: linear-gradient(135deg, rgba(87, 167, 115, .95), rgba(8, 178, 227, .88));
    color: #fff;
    border-color: rgba(8, 178, 227, .25);
}

.mh-footbtn--top {
    background: linear-gradient(135deg, rgba(238, 99, 82, .92), rgba(72, 77, 109, .90));
    color: #fff;
    border-color: rgba(238, 99, 82, .24);
}

.mh-footfuture {
    min-height: 58px;
    border-radius: 14px;
    border: 1px dashed rgba(72, 77, 109, .18);
    background: rgba(72, 77, 109, .04);
}

.mh-footbottom {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .12em;
    color: rgba(72, 77, 109, .78);
    text-transform: uppercase;
}

.mh-sep {
    display: inline-block;
    margin: 0 10px;
    color: rgba(8, 178, 227, .85);
}

/* === SEARCH PAGE === */
.mh-search-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.mh-searchpage {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}

.mh-searchpage input {
    height: 44px;
    width: 100%;
    line-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .12);
    box-sizing: border-box;
}

.mh-searchpage button {
    height: 44px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mh-search-result {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, .10);
    background: rgba(255, 255, 255, .92);
    text-decoration: none;
}

.mh-search-thumb {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .10);
    object-fit: cover;
}

.mh-search-top {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.mh-search-title {
    font-weight: 1000;
    color: var(--grape);
}

.mh-search-snippet {
    margin-top: 6px;
    color: rgba(0, 0, 0, .65);
    font-weight: 700;
    font-size: 12px;
}

.mh-pill {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(8, 178, 227, .10);
    border: 1px solid rgba(8, 178, 227, .18);
    font-weight: 1000;
    font-size: 11px;
}

.mh-filters {
    margin-top: 12px;
}

.mh-filters__row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.mh-input,
.mh-select {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(72, 77, 109, .18);
    background: rgba(255, 255, 255, .92);
    font-weight: 800;
}

.mh-card {
    background: rgba(255, 255, 255, .90);
    border: 1px solid rgba(72, 77, 109, .12);
    border-radius: 18px;
    padding: 14px;
    box-shadow: var(--shadow2);
}

.mh-table-wrap {
    width: 100%;
    overflow: auto;
}

.mh-table {
    width: 100%;
    border-collapse: collapse;
}

.mh-table thead th {
    text-align: left;
    padding: 12px;
    font-weight: 1000;
    color: var(--grape);
    border-bottom: 1px solid rgba(72, 77, 109, .14);
}

.mh-table tbody td {
    padding: 12px;
    border-top: 1px solid rgba(72, 77, 109, .10);
    vertical-align: top;
}

.mh-thumb {
    object-fit: contain;
    border: 1px solid rgba(72, 77, 109, .12);
    background: rgba(255, 255, 255, .70);
}

.mh-table a,
.mh-pager a {
    color: var(--grape);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: rgba(8, 178, 227, .45);
    text-underline-offset: 3px;
    transition: transform .08s ease, background .12s ease, text-decoration-color .12s ease, color .12s ease;
}

.mh-table a:hover,
.mh-pager a:hover {
    color: #1f2a4a;
    text-decoration-color: rgba(238, 99, 82, .55);
}

.mh-table thead th:nth-child(2),
.mh-table tbody td:nth-child(2) {
    text-align: center;
}

.mh-table tbody td:nth-child(2) .mh-badge--grape {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 6px auto 0;
}

.mh-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.mh-badge--coral {
    background: rgba(238, 99, 82, .14);
    border-color: rgba(238, 99, 82, .25);
    color: #7a1f15;
}

.mh-badge--sky {
    background: rgba(8, 178, 227, .14);
    border-color: rgba(8, 178, 227, .25);
    color: #084a5c;
}

.mh-badge--green {
    background: rgba(87, 167, 115, .14);
    border-color: rgba(87, 167, 115, .25);
    color: #1f4e34;
}

.mh-badge--grape {
    background: #1f2a4a;
    border-color: rgba(72, 77, 109, .35);
    color: #fff;
}

.mh-badge--soft {
    background: rgba(192, 192, 192, .22);
    border-color: rgba(72, 77, 109, .12);
    color: var(--grape);
}

.mh-pager {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
}

.mh-pager__btn {
    padding: 8px 12px;
    border-radius: 14px;
    border: 1px solid rgba(72, 77, 109, .16);
    background: rgba(255, 255, 255, .75);
    font-weight: 1000;
    text-decoration: none;
}

.mh-pager__btn.is-disabled {
    opacity: .45;
    pointer-events: none;
}

.mh-pager__meta {
    font-weight: 900;
    color: rgba(72, 77, 109, .75);
}

.mh-avatar-hero {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.mh-avatar-hero__img {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    border: 1px solid rgba(72, 77, 109, .12);
    background: rgba(255, 255, 255, .7);
    object-fit: contain;
}

.mh-avatar-hero__meta {
    flex: 1;
}

/* === GUIDES === */
.mh-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    width: 100%;
}

.mh-mini-card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(72, 77, 109, .14);
    border-radius: 18px;
    padding: 14px;
    text-decoration: none;
    box-shadow: var(--shadow2);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mh-mini-card:hover {
    transform: translateY(-2px);
    border-color: rgba(8, 178, 227, .35);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .10);
}

.mh-mini-card__img {
    width: 100%;
    border-radius: 14px;
    background: rgba(192, 192, 192, .20);
    border: 1px solid rgba(72, 77, 109, .10);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mh-mini-card__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mh-mini-card__title {
    margin-top: 10px;
    font-weight: 1000;
    text-align: center;
    color: rgba(103, 152, 192, .95);
    text-transform: none;
    letter-spacing: .2px;
}

.mh-mini-card:hover .mh-mini-card__title {
    color: var(--grape);
}

/* === ACCOUNT DROPDOWN === */
.mh-topacct {
  position: relative;
  z-index: 999999;
}

.mh-topacct__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(0, 0, 0, .10);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
    cursor: pointer;
    font: inherit;
}

.mh-topacct__avatar {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, .12);
    background: rgba(0, 0, 0, .06);
}

.mh-topacct__text {
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mh-topacct__chev {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, .55);
}

.mh-topacct__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;

    display: none;
    z-index: 999999;

    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 14px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .18);
    padding: 8px;
}

.mh-topacct__menu a {
    display: block;
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 900;
    color: var(--text);
}

.mh-topacct__menu a:hover {
    background: rgba(8, 178, 227, .10);
}

.mh-topacct__danger {
    color: #8f1d1f !important;
}

.mh-topacct.is-open .mh-topacct__menu {
    display: block;
}

/* === AVATARS === */
.mh-filters__row {
    display: grid;
    gap: 10px;
    width: 100%;
    margin-bottom: 5px;
}

.mh-filters__row--top {
    grid-template-columns: 1fr 260px 140px;
    align-items: center;
}

.mh-filters__row--mid {
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.mh-filters__row--bot {
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.mh-filters .mh-input,
.mh-filters .mh-select {
    width: 100%;
}

.mh-filters .mh-btn {
    width: 100%;
    justify-content: center;
}

.mh-count {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: rgba(72, 77, 109, .75);
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
    :root {
        --sidebar: 320px;
    }
}

@media (max-width: 980px) {
    .mh-body {
        grid-template-columns: 1fr;
    }

    .mh-search input {
        width: 48vw;
    }

    .mh-footer__grid {
        grid-template-columns: 1fr;
    }

    .mh-footactions {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .mh-masthead {
        flex-direction: column;
        align-items: flex-start;
    }

    .mh-tools {
        width: 100%;
        justify-content: flex-start;
    }

    .mh-search {
        width: 100%;
    }

    .mh-search input {
        width: 100%;
    }

    .mh-nav {
        flex-wrap: wrap;
        border-radius: 16px;
    }

    .mh-brand__img {
        height: 54px;
    }
}

@media (max-width: 520px) {
    .mh-footactions {
        grid-template-columns: 1fr;
    }
}

/* Newest Items */
.mh-newest-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
}

@media (max-width: 900px){
  .mh-newest-grid{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px){
  .mh-newest-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}

.mh-newest-item{
  text-align:center;
}

.mh-newest-thumb{
  display:inline-block;
  width:80px;
  height:80px;
  border-radius:12px;
  overflow:hidden;
}

.mh-newest-name{
  display:block;
  margin-top:8px;
  font-weight:700;
  font-size:13px;
  text-decoration:none;
}
.mh-newest-name:hover{ text-decoration:underline; }

.item-overlay{
  position:relative;
  width:80px;
  height:80px;
  display:inline-block;

  --overlay-url: none;
  --overlay-url-2: none;
  --bg-color: #ccc;
}

.item-overlay img{
  position:absolute;
  width: var(--img-size, 100%);
  height: var(--img-size, 100%);
  left:50%;
  top: var(--img-top, 50%);
  transform:translate(-50%, -50%);
  object-fit:contain;
  z-index:1;
}

.item-overlay::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--overlay-url), var(--overlay-url-2);
  background-size: contain, contain;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  z-index:2;
  pointer-events:none;
}

.item-overlay::after{
  content:"";
  position:absolute;
  inset:0;
  background: var(--overlay-url) center/contain no-repeat;
  z-index:2;
  pointer-events:none;
}

.item-overlay.color-bg{
  background: transparent;
}

.item-overlay.color-bg img{
  display:none;
}

.item-overlay .item-swatch{
  position:absolute;
  left:50%;
  top:50%;
  width:76px;
  height:76px;
  transform:translate(-50%, -50%);
  background: var(--bg-color);
  border-radius: 10px;
  z-index:0;
}

.item--common {
    --overlay-url: url("https://images.maraholic.org/assets/overlays/overlay-common.gif");
    --img-size: 80px;
    --img-top: 50%;
}

.item--commontwo {
    --overlay-url-2: url("https://images.maraholic.org/assets/overlays/common2.gif");
    --img-size: 80px;
    --img-top: 50%;
}

.item--fake-costume {
    --overlay-url: url("https://images.maraholic.org/assets/overlays/overlay-fakebox.png");
    --img-size: 66px;
    --img-top: 48%;
}

.item--photo {
    --overlay-url: url("https://images.maraholic.org/assets/overlays/overlay-photo.png");
    --img-size: 38px;
    --img-top: 45%;
}

.item--minipet-plate {
    --overlay-url: url("https://images.maraholic.org/assets/overlays/overlay-minipet-plate.png");
    --img-size: 44px;
    --img-top: 50%;
}

/* Hair Dye */
.item--hair-dye {
    --overlay-url: url("https://images.maraholic.org/assets/overlays/hairdye.png");
}

/* Eyebrow Colors */
.item--eyebrow-color {
    --overlay-url: url("https://images.maraholic.org/assets/overlays/eyebrow.png");
}

/* Lipstick */
.item--lipstick {
    --overlay-url: url("https://images.maraholic.org/assets/overlays/lipstick.png");
}

/* Face Dye */
.item--face-dye {
    --overlay-url: url("https://images.maraholic.org/assets/overlays/facedye.png");
}

/* Eye Makeup */
.item--eye-makeup {
    --overlay-url: url("https://images.maraholic.org/assets/overlays/eyemakeup.png");
}

.item--contact-lenses {
    --overlay-url: url("https://images.maraholic.org/assets/overlays/contacts.png");
}

a{
  color: var(--link, #448ad5);
  text-decoration:none;
}

.mh-newest-name{
  color: var(--text, #659b7d);
  font-weight:700;
  text-decoration:none;
}
.mh-newest-name:hover{
  text-decoration:underline;
}

.btn--news {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 1000;
    text-decoration: none;
    background: linear-gradient(135deg, #f8f9ff, #eef1ff);
    border: 1px solid rgba(72, 77, 109, .18);
    color: var(--grape);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .06);
    transition: all .15s ease;
}

.btn--news:hover {
    background: linear-gradient(135deg, #eef1ff, #e3e7ff);
    color: var(--coral);
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
}

.btn--news-search{
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid rgba(72,77,109,.18);
  background: linear-gradient(135deg, #f6f7ff, #eef1ff);
  color: var(--grape);
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0,0,0,.06);
  transition: all .15s ease;
}

.btn--news-search:hover{
  background: linear-gradient(135deg, #eef1ff, #e3e7ff);
  color: var(--coral);
  transform: translateY(-1px);
}

/* Latest Updates + News */
.mh-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 12px;
}

.mh-section-title {
    font-size: 26px;
    font-weight: 1000;
    letter-spacing: .5px;
    margin: 0;
}

.mh-newest-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 14px;
    padding: 6px 0 0;
}

@media (max-width: 900px) {
    .mh-newest-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .mh-newest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.mh-newest-item {
    text-align: center;
}

.mh-newest-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    border: 1px solid rgba(72, 77, 109, .18);
    background: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .05);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.mh-newest-name {
    display: inline-block;
    margin-top: 8px;
    font-weight: 900;
    font-size: 13px;
    line-height: 1.2;
    color: var(--ink, #2d3142);
    text-decoration: none;
}

.mh-newest-name:hover {
    color: var(--coral, #ef8354);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mh-home-cta {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.mh-updates-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mh-news-post {
    background: #fff;
    border: 1px solid rgba(72, 77, 109, .16);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
}

.mh-news-title {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 1000;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.mh-news-title a {
    color: var(--ink, #2d3142);
    text-decoration: none;
}

.mh-news-title a:hover {
    color: var(--coral, #ef8354);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mh-news-meta {
    font-size: 13px;
    font-weight: 900;
    opacity: .75;
    margin-bottom: 10px;
}

.mh-news-body {
    line-height: 1.55;
    font-size: 14px;
}

.mh-news-actions {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.btn--flat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 15px;
    border-radius: 999px;
    font-weight: 1000;
    border: 1px solid rgba(72, 77, 109, .20);
    background: #fff;
    color: var(--ink, #2d3142);
    text-decoration: none;
}

.btn--flat:hover {
    transform: translateY(-1px);
    border-color: rgba(72, 77, 109, .32);
    color: var(--coral, #ef8354);
}

.btn--flat.btn--primary {
    background: #f6f7ff;
}

.mh-news-footer {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.mh-section a {
    color: inherit;
}

.mh-newest-thumb{
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
}

.mh-newest-name{
  display:block;
  margin-top: 8px;
  text-align:center;
  text-decoration:none;
}

/* SINGLE PAGE */
.mh-item-page{ padding: 10px 0 24px; }

.mh-item-head h1{
  margin: 0;
  font-size: 30px;
  font-weight: 1000;
  letter-spacing: .3px;
}

.mh-item-subline{
  margin-top: 6px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  font-size: 13px;
}
.mh-dot{ opacity:.35; }
.mh-muted{ opacity:.7; }

.mh-item-grid{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  margin-top: 14px;
}
@media (max-width: 900px){
  .mh-item-grid{ grid-template-columns: 1fr; }
}

.mh-item-hero{
  display:flex;
  justify-content:center;
  padding: 14px;
  border: 1px solid rgba(72,77,109,.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
}

.mh-item-hero .item-overlay{
  width: 250px;
  height: 250px;
}
.mh-item-hero .item-overlay img{
  width: var(--img-size, 250px);
  height: var(--img-size, 250px);
  object-fit: contain;
}

/* Chips */
.mh-item-chips{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top: 12px;
}

.mh-chip{
  border: 1px solid rgba(72,77,109,.14);
  background:#fff;
  border-radius: 14px;
  padding: 10px 12px;
}
.mh-chip-label{
  display:block;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .7px;
  text-transform: uppercase;
  opacity:.55;
}
.mh-chip-value{
  display:block;
  margin-top: 3px;
  font-weight: 900;
}

/* Box sections */
.mh-box{
  text-align: center;
  font-style: italic;
  font-size: 13px;
  margin-top: -18px;
  margin-bottom: 18px;
}

.mh-box + .mh-box{ margin-top: 14px; }
.mh-box-title{
  font-weight: 1000;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Description content */
.mh-prose{ line-height: 1.55; font-size: 14px; }
.mh-prose img{ max-width:100%; height:auto; }

/* Status badges */
.mh-badge{
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 1000;
  font-size: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
}
.mh-badge--active{ background:#eefaf3; }
.mh-badge--retired{ background:#fff2f2; }
.mh-badge--unreleased{ background:#fff8e8; }

/* Icon flags */
.mh-item-icons{
  display:flex;
  gap:10px;
  margin-top: 12px;
  justify-content:center;
}
.mh-item-icons img{ height: 22px; width:auto; }

/* Tags */
.mh-tag-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.mh-tag{
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(72,77,109,.18);
  background:#fff;
  font-weight: 900;
  text-decoration:none;
}
.mh-tag:hover{ text-decoration: underline; text-underline-offset: 3px; }

.mh-mini-grid{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px 10px;
}
@media (max-width: 900px){
  .mh-mini-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 650px){
  .mh-mini-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}

.mh-mini-card{ text-align:center; }
.mh-mini-thumb{ display:inline-block; text-decoration:none; }
.mh-mini-thumb .item-overlay{ width: 80px; height: 80px; display:inline-block; }
.mh-mini-name{
  display:block;
  margin-top: 7px;
  font-weight: 900;
  font-size: 13px;
  text-decoration:none;
}
.mh-mini-name:hover{ text-decoration: underline; text-underline-offset: 3px; }

/* Old art */
.mh-art-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 900px){
  .mh-art-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 650px){
  .mh-art-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.mh-art-card{
  border: 1px solid rgba(72,77,109,.14);
  border-radius: 14px;
  background:#fff;
  padding: 10px;
  text-align:center;
}
.mh-art-card img{
  max-width:100%;
  height:auto;
  border-radius: 10px;
}
.mh-art-name{
  margin-top: 8px;
  font-weight: 1000;
  font-size: 13px;
}
.mh-art-date{
  margin-top: 3px;
  font-size: 12px;
  opacity: .7;
}
