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

    --grape: #212738;
    --coral: #F97068;
    --sky: #57C4E5;
    --green: #D1D646;
    --slate: #EDF2EF;

    --white: #ffffff;
    --soft-bg: #f4f8f7;
    --soft-pink: #fff4f3;
    --soft-blue: #eef9fd;
    --border-soft: #dbe6ea;

    --bg: #f3f6f5;
    --page: #ffffff;
    --soft: #eef2f1;
    --border: rgba(33, 39, 56, .18);

    --text: #1e1e1e;
    --muted: rgba(33, 39, 56, .65);

    --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(87, 196, 229, .14), transparent 60%),
        radial-gradient(900px 600px at 85% 10%, rgba(249, 112, 104, .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(33, 39, 56, .10), rgba(33, 39, 56, .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(87, 196, 229, .18), rgba(249, 112, 104, .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(33, 39, 56, .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(33, 39, 56, .55);
}

.mh-search__btn {
    width: 42px;
    height: 42px;
    border: 0;
    cursor: pointer;
    background: radial-gradient(circle at 50% 50%, rgba(87, 196, 229, .18), rgba(87, 196, 229, .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(33, 39, 56, .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(249, 112, 104, .28), rgba(87, 196, 229, .22));
    border: 1px solid rgba(33, 39, 56, .14);
}

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

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

.mh-account__avatar {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(33, 39, 56, .18);
    background: rgba(33, 39, 56, .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(33, 39, 56, .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, var(--grape), #2a3145);
    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(33, 39, 56, .16);
    border-radius: 999px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-weight: 900;
    color: rgba(33, 39, 56, .80);
    display: flex;
    gap: 8px;
    align-items: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .06);
}

.mh-breadcrumbs a {
    color: rgba(33, 39, 56, .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-panel h2,
.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(33, 39, 56, .16);
    position: relative;
}

.mh-panel h2::after,
.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-panel h3,
.mh-h3 {
    margin: 14px 0 10px;
    padding: 0;

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

    color: rgba(33, 39, 56, .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(249, 112, 104, .85), rgba(87, 196, 229, .75));
    box-shadow: 0 0 0 3px rgba(87, 196, 229, .10);
}

.mh-panel {
    background: var(--page);
    border: 1px solid rgba(33, 39, 56, .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(33, 39, 56, .82);

    background: rgba(87, 196, 229, .10);
    border: 1px solid rgba(33, 39, 56, .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(33, 39, 56, .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(87, 196, 229, .55), rgba(209, 214, 70, .45));
    box-shadow:
        0 0 0 3px rgba(87, 196, 229, .10),
        0 8px 14px rgba(0, 0, 0, .06);
    border: 1px solid rgba(33, 39, 56, .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(87, 196, 229, .95);
    text-decoration: underline;
}

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

.mh-list--boxed li {
    padding: 12px 12px 12px 40px;
    border-radius: 14px;
    background: rgba(87, 196, 229, .07);
    border: 1px solid rgba(33, 39, 56, .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(33, 39, 56, .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(249, 112, 104, .95), rgba(33, 39, 56, .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(33, 39, 56, .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(87, 196, 229, .10), rgba(209, 214, 70, .08));
    border-bottom: 1px solid rgba(33, 39, 56, .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(87, 196, 229, .95), rgba(209, 214, 70, .88));
    box-shadow: 0 10px 16px rgba(0, 0, 0, .08);
}

.mh-faq-a {
    padding: 12px 14px 14px;
    color: rgba(33, 39, 56, .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(249, 112, 104, .92), rgba(33, 39, 56, .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(249, 112, 104, .85), rgba(87, 196, 229, .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(33, 39, 56, .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, var(--sky), var(--green));
}

.mh-sidebox__body {
    padding: 12px 14px;
    color: rgba(33, 39, 56, .88);
    font-size: 14px;
}

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

.mh-sidebox__body a {
    font-weight: 900;
}

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

.mh-sidelinks li {
    border-top: 1px solid rgba(33, 39, 56, .10);
}

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

.mh-sidelinks a:hover {
    background: rgba(87, 196, 229, .08);
}

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

.mh-badge--live {
    background: rgba(209, 214, 70, .16);
    border-color: rgba(209, 214, 70, .28);
}

.mh-badge--info {
    background: rgba(87, 196, 229, .16);
    border-color: rgba(87, 196, 229, .30);
}

.mh-badge--sale {
    background: rgba(249, 112, 104, .16);
    border-color: rgba(249, 112, 104, .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(33, 39, 56, .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(33, 39, 56, .12);
    background: linear-gradient(135deg, var(--grape), var(--sky));
}

.mh-btn--outline {
    background: rgba(255, 255, 255, .86);
    border-color: rgba(249, 112, 104, .28);
}

.mh-btn--soft {
    background: rgba(87, 196, 229, .10);
    border-color: rgba(87, 196, 229, .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(33, 39, 56, .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(33, 39, 56, .16);
    background: rgba(33, 39, 56, .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(33, 39, 56, .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(33, 39, 56, .82);
    font-weight: 800;
}

.mh-usercard__stats span {
    color: rgba(33, 39, 56, .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(33, 39, 56, .10), rgba(33, 39, 56, .04));
    border-top: 1px solid rgba(33, 39, 56, .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(33, 39, 56, .14);
    border-radius: var(--r);
    box-shadow: var(--shadow2);
}

.mh-footcol__title {
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .10em;
    color: rgba(33, 39, 56, .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(33, 39, 56, .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(87, 196, 229, .35);
    box-shadow: 0 0 0 2px rgba(87, 196, 229, .10);
}

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

.mh-footlinks a:hover::before {
    background: rgba(249, 112, 104, .45);
    box-shadow: 0 0 0 2px rgba(249, 112, 104, .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(33, 39, 56, .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(209, 214, 70, .95), rgba(87, 196, 229, .88));
    color: #fff;
    border-color: rgba(87, 196, 229, .25);
}

.mh-footbtn--top {
    background: linear-gradient(135deg, rgba(249, 112, 104, .92), rgba(33, 39, 56, .90));
    color: #fff;
    border-color: rgba(249, 112, 104, .24);
}

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

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

.mh-sep {
    display: inline-block;
    margin: 0 10px;
    color: rgba(87, 196, 229, .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(87, 196, 229, .10);
    border: 1px solid rgba(87, 196, 229, .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(33, 39, 56, .18);
    background: rgba(255, 255, 255, .92);
    font-weight: 800;
}

.mh-card {
    background: rgba(255, 255, 255, .90);
    border: 1px solid rgba(33, 39, 56, .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(33, 39, 56, .14);
}

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

.mh-thumb {
    object-fit: contain;
    border: 1px solid rgba(33, 39, 56, .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(87, 196, 229, .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(249, 112, 104, .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;
}

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

.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;
}

/* BLOCKQUOTE */
.mh-blockquote {
    position: relative;
    margin: 20px 0;
    padding: 28px 24px 22px;
    background: linear-gradient(180deg, #fff7f6 0%, #fff 100%);
    border: 1px solid #f2c7c1;
    border-radius: 18px;
    color: #6b5560;
    font-size: 15px;
    line-height: 1.8;
}

.mh-blockquote::before {
    content: "❝";
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);

    width: 42px;
    height: 42px;
    border-radius: 50%;

    background: linear-gradient(135deg, var(--coral), #f59b90);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 40px;
    line-height: 1;
    padding-top: 13px;

    box-shadow: 0 4px 12px rgba(238, 99, 82, 0.25);
}

.mh-blockquote p {
    margin: 0 0 14px;
}

.mh-blockquote p:last-child {
    margin-bottom: 0;
}

.mh-blockquote strong {
    color: var(--grape);
    font-weight: 700;
}

.mh-blockquote em {
    color: var(--coral);
    font-style: italic;
}

.mh-blockquote cite {
    display: block;
    margin-top: 14px;
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sky);
}

/* Mystery Item Setup */
.mh-mi-hero {
    text-align: center;
    margin-bottom: 20px;
}

.mh-mi-hero-title {
    font-size: 20px;
    font-weight: 1000;
    color: var(--grape);
    margin-bottom: 10px;
}

.mh-mi-hero-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    padding: 16px;
    border-radius: 18px;

    background: var(--soft-bg);
    border: 1px solid var(--border-soft);
}

.mh-mi-hero-box img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.mh-mi-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mh-mi-status {
    font-weight: 900;
    font-size: 14px;
}

.mh-mi-status.success {
    color: #2e7d32;
}

.mh-mi-status.fail {
    color: var(--coral);
}

.mh-mi-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
  gap:14px;
}

.mh-mi-card {
  background:var(--page);
  border:1px solid var(--border-soft);
  border-radius:14px;
  padding:10px;
  text-align:center;
}

.mh-mi-card img {
  width:80px;
  height:80px;
}

.mh-mi-name {
  margin-top:6px;
  font-weight:700;
}

.mh-mi-tools {
  display:flex;
  flex-direction:column;
  gap:10px;
}

.mh-mi-url {
  display:flex;
  gap:10px;
}

.mh-mi-status.success { color:#2e7d32; }
.mh-mi-status.fail { color:var(--coral); }

/* Mystery Item Page */
.mh-today-wrap {
  text-align: center;
}

.mh-mystery-img {
  width: 80px;
  height: 80px;
  margin: 10px auto;
}

.mh-item-img {
  width: 80px;
  display: block;
  margin: 10px auto;
}

.mh-item-name {
  font-weight: 700;
  font-size: 16px;
}

.mh-item-id {
  font-size: 11px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 10px;
}

.mh-old-note {
  font-size: 11px;
  text-transform: uppercase;
  margin: 10px 0;
  color: #666;
}

.mh-old-img {
  width: 70px;
  margin-top: 5px;
}

.mh-old-name {
  font-size: 13px;
}

/* SEARCH */
#search {
  display: block;
  margin: 0 auto 15px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #ccc;
  width: 280px;
  text-align: center;
}

/* RESULT CARD */
.mh-result-card {
  text-align: center;
  margin-bottom: 25px;
}

.mh-result-images {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.mh-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.mh-today-images {
  display: inline-flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 10px;
}

.mh-result-name {
  font-weight: 700;
}

.mh-result-id {
  font-size: 11px;
  text-transform: uppercase;
  opacity: 0.7;
}

.mh-result-note {
  font-size: 10px;
  text-transform: uppercase;
  margin-top: 4px;
  color: #777;
}

/* =========================
   MOBILE RESPONSIVE FIXES
   ========================= */

@media (max-width: 900px) {

  /* STACK SIDEBAR */
  .mh-body {
    grid-template-columns: 1fr;
  }

  .mh-sidebar {
    order: 2;
  }

  .mh-main {
    order: 1;
  }

  /* HEADER SEARCH FIX */
  .mh-search input {
    width: 180px;
  }

}

/* =========================
   SMALL DEVICES (PHONES)
   ========================= */

@media (max-width: 600px) {

  /* TITLE */
  .mh-title {
    font-size: 26px;
  }

  /* TODAY SECTION */
  .mh-today-images {
    gap: 15px;
    flex-wrap: wrap;
  }

  .mh-mystery-img,
  .mh-item-img {
    width: 70px;
    height: 70px;
  }

  .mh-old-img {
    width: 60px;
  }

  .mh-item-name {
    font-size: 15px;
  }

  .mh-item-id {
    font-size: 10px;
  }

  /* SEARCH BAR */
  #search {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
  }

  /* RESULT CARDS */
  .mh-result-images {
    gap: 8px;
    flex-wrap: wrap;
  }

  .mh-img {
    width: 65px;
    height: 65px;
  }

  .mh-result-name {
    font-size: 14px;
  }

  .mh-result-id {
    font-size: 10px;
  }

  .mh-result-note {
    font-size: 9px;
  }

  /* PANELS */
  .mh-panel {
    padding: 12px;
  }

  .mh-card {
    padding: 12px;
  }

}

.subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #333;
    font-weight: 700;
	text-align: center;
}

/* Extras Table */
.mh-history-grid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 12px; /* spacing between items */
}

.mh-history-grid td {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
	text-align: center;
    padding: 10px;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.mh-history-grid td:nth-child(odd) {
    width: 90px;
    text-align: center;
}

.mh-history-grid td:nth-child(even) {
    padding-left: 6px;
}

/* Image styling */
.mh-history-grid img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    transition: transform 0.2s ease;
}

/* Link styling */
.mh-history-grid a {
    font-weight: 700;
    color: #009695;
    text-decoration: none;
    font-size: 15px;
}

.mh-history-grid a:hover {
    color: #df8e77;
    text-decoration: underline;
}

.mh-species-directory {
    margin-top: 15px;
}

.mh-species-heading {
    font-size: 22px;
    font-weight: 800;
    color: #009695;
    margin: 20px 0 10px;
}

.mh-gag-heading {
    color: #df8e77;
}

.mh-species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.mh-species-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mh-species-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.mh-species-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 6px;
}

.mh-species-name {
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

/* Gag styling */
.mh-gag-card {
    border: 1px dashed #df8e77;
    background: rgba(243,186,170,0.15);
}