/* ==========================================================================
   mrnz-1 theme
   Sand top bar + dark rounded navbar with centered logo, sepia hero with
   server clock / game status / fortress strip, gold-framed home widgets.
   ========================================================================== */

:root,
[data-bs-theme="dark"] {
    --m-bg: #140d07;
    --m-bg-2: #1b120a;
    --m-panel: #20150b;
    --m-panel-2: #2a1c10;
    --m-black: #0d0805;

    --m-sand: #b8966a;
    --m-sand-hi: #d6b88c;
    --m-sand-lo: #8a6b45;
    --m-gold: #e2b764;
    --m-gold-hi: #f6dc9c;
    --m-gold-lo: #a67a35;
    --m-yellow: #f1d24a;
    --m-orange: #e8913a;
    --m-green: #45d64a;
    --m-teal: #0f5f6e;
    --m-danger: #d9483b;

    --m-text: #e9dcc3;
    --m-muted: #a8957a;
    --m-heading: #f8ead0;

    --m-line: rgba(214, 170, 100, .2);
    --m-line-strong: rgba(226, 183, 100, .55);

    --m-grad-gold: linear-gradient(180deg, #fff1c8 0%, #f0cf86 38%, #c99540 72%, #8a5a1c 100%);
    --m-grad-btn: linear-gradient(180deg, #f7dc93 0%, #e2b764 50%, #b9883c 100%);
    --m-grad-panel: linear-gradient(180deg, rgba(37, 25, 13, .97) 0%, rgba(22, 14, 8, .98) 100%);
    --m-frame: 0 0 0 3px #110a05, 0 0 0 4px rgba(226, 183, 100, .45), 0 18px 40px -18px rgba(0, 0, 0, .95);
    --m-shadow: 0 18px 40px -18px rgba(0, 0, 0, .95);
    --m-glow: 0 0 22px rgba(226, 183, 100, .3);

    --m-font-head: 'Cinzel', 'Times New Roman', serif;
    --m-font-body: 'Alegreya Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --m-radius: 10px;

    --bs-body-bg: var(--m-bg);
    --bs-body-color: var(--m-text);
    --bs-body-font-family: var(--m-font-body);
    --bs-emphasis-color: var(--m-heading);
    --bs-secondary-color: var(--m-muted);
    --bs-tertiary-bg: var(--m-panel);
    --bs-secondary-bg: var(--m-panel-2);
    --bs-border-color: var(--m-line);
    --bs-heading-color: var(--m-heading);
    --bs-link-color: var(--m-gold);
    --bs-link-color-rgb: 226, 183, 100;
    --bs-link-hover-color: var(--m-gold-hi);
    --bs-link-hover-color-rgb: 246, 220, 156;
    --bs-primary: #e2b764;
    --bs-primary-rgb: 226, 183, 100;
    --bs-primary-text-emphasis: #f6dc9c;
    --bs-primary-bg-subtle: #2b1f0b;
    --bs-primary-border-subtle: #6b4c12;
    --bs-body-bg-rgb: 20, 13, 7;
    --bs-tertiary-bg-rgb: 32, 21, 11;
    --bs-dark-rgb: 27, 18, 10;
    --bs-focus-ring-color: rgba(226, 183, 100, .3);
    --bs-border-radius: 6px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body.m-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--m-font-body);
    font-size: 1rem;
    color: var(--m-text);
    background-color: var(--m-bg);
}
.m-main { flex: 1 0 auto; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--m-font-head);
    color: var(--m-heading);
    letter-spacing: .02em;
}

a { color: var(--m-gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--m-gold-hi); }

::selection { background: rgba(226, 183, 100, .35); color: #fff; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--m-black); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--m-sand), var(--m-sand-lo)); border-radius: 8px; }

img { max-width: 100%; height: auto; }
.m-muted { color: var(--m-muted) !important; }
.text-body-secondary { color: var(--m-muted) !important; }
.text-primary { color: var(--m-gold) !important; }
.bg-body-tertiary { background-color: var(--m-panel) !important; }
.bg-dark, .bg-black { background-color: var(--m-bg-2) !important; }
.m-empty { justify-content: center !important; text-align: center; color: var(--m-muted); padding: 1rem !important; }

.m-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--m-green);
    box-shadow: 0 0 8px var(--m-green);
    vertical-align: middle;
}

/* Ornamental divider: ◇ ──────── ◇ */
.m-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 1.8rem auto;
    color: var(--m-sand);
    font-size: .75rem;
    line-height: 1;
}
.m-divider::before,
.m-divider::after { content: "\25C7\2009\2726"; }
.m-divider::after { content: "\2726\2009\25C7"; }
.m-divider span {
    flex: 0 1 640px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--m-sand) 8%, var(--m-sand) 92%, transparent);
}
.m-divider--section { margin: 2.6rem auto; opacity: .75; }

/* ---------- Top bar (sand) ---------- */
.m-header { position: relative; z-index: 1030; }

.m-topbar {
    padding: 6px 0;
    background: linear-gradient(180deg, #c4a274 0%, #b08d60 100%);
    border-bottom: 1px solid #7a5c38;
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .75);
}
.m-topbar__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    font-size: .85rem;
    color: var(--m-sand-hi);
    background: #3a2919;
    border: 1px solid #2a1c10;
    border-radius: 4px;
    transition: all .2s ease;
}
.m-topbar__social a:hover { color: #fff; background: #241709; }

.m-pill-btn,
.m-lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 16px;
    font-family: var(--m-font-head);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--m-sand-hi);
    background: linear-gradient(180deg, #4a3520, #2d1e10);
    border: 2px solid #2a1c10;
    border-radius: 50px;
    box-shadow: inset 0 1px 0 rgba(255, 220, 160, .15);
    transition: all .2s ease;
}
.m-pill-btn:hover,
.m-lang:hover,
.m-pill-btn.show { color: #fff; background: linear-gradient(180deg, #5a4128, #33220f); }
.m-lang { padding: 5px 9px; border-radius: 4px; }
.m-lang img { border-radius: 2px; }
.m-pill-btn.dropdown-toggle::after,
.m-lang.dropdown-toggle::after { margin-left: 2px; }

/* ---------- Navbar (dark rounded bar, centered logo) ---------- */
.m-navwrap { position: absolute; left: 0; right: 0; top: 100%; margin-top: 18px; pointer-events: none; }
.m-navwrap .container { pointer-events: auto; }

.m-navbar {
    padding: 0 1.25rem;
    min-height: 48px;
    background: rgba(13, 8, 5, .94);
    border: 1px solid rgba(184, 150, 106, .25);
    border-radius: var(--m-radius);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .9);
}
.m-navbar .navbar-collapse { align-items: center; }
.m-nav { flex: 1 1 0; gap: .25rem; }
.m-nav--left { justify-content: flex-end; }
.m-nav--right { justify-content: flex-start; }

.m-navbar .nav-link {
    position: relative;
    padding: .8rem 1rem !important;
    font-family: var(--m-font-body);
    font-size: 1.02rem;
    font-weight: 500;
    color: #d9c7a4;
    white-space: nowrap;
}
.m-navbar .nav-link:hover,
.m-navbar .nav-link.active,
.m-navbar .nav-link.show { color: var(--m-gold-hi); text-shadow: 0 0 10px rgba(226, 183, 100, .4); }
.m-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 22px;
    height: 2px;
    margin-left: -11px;
    background: var(--m-gold);
    border: 0;
}
.m-navbar .dropdown-toggle::after { vertical-align: .2em; border-top-width: .28em; }

.m-brand { display: flex; align-items: center; justify-content: center; }
.m-brand img { width: auto; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .9)); transition: transform .3s ease, filter .3s ease; }
.m-brand--center { flex: 0 0 auto; margin: -38px 1.6rem -46px; }
.m-brand--center img { height: 124px; }
.m-brand:hover img { transform: scale(1.04); filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .9)) drop-shadow(0 0 12px rgba(226, 183, 100, .4)); }
.m-brand--mobile img { height: 50px; }

.m-toggler { color: var(--m-sand-hi); border: 1px solid var(--m-line-strong); padding: 5px 11px; font-size: 1.2rem; }
.m-toggler:focus { box-shadow: 0 0 0 .2rem rgba(226, 183, 100, .25); }

@media (max-width: 991.98px) {
    .m-navwrap { position: static; margin: 0; padding: 10px 0; background: var(--m-black); }
    .m-navbar { padding: .4rem .8rem; }
    .m-nav { flex: none; gap: 0; }
    .m-navbar .nav-link { padding: .65rem .4rem !important; border-bottom: 1px solid rgba(214, 170, 100, .1); }
    .m-navbar .nav-link.active::after { display: none; }
    .m-navbar .navbar-collapse { padding: .4rem 0 .6rem; }
}
@media (max-width: 575.98px) {
    .m-pill-btn { padding: 4px 11px; font-size: .66rem; }
    .m-topbar__social { display: none !important; }
}

/* ---------- Dropdowns ---------- */
.dropdown-menu {
    --bs-dropdown-bg: #160e07;
    --bs-dropdown-border-color: var(--m-line-strong);
    --bs-dropdown-link-color: var(--m-text);
    --bs-dropdown-link-hover-color: #1d1206;
    --bs-dropdown-link-hover-bg: var(--m-sand);
    --bs-dropdown-link-active-color: #1d1206;
    --bs-dropdown-link-active-bg: var(--m-gold);
    --bs-dropdown-link-disabled-color: var(--m-muted);
    --bs-dropdown-divider-bg: var(--m-line);
    padding: .4rem;
    border-radius: 8px;
    box-shadow: var(--m-shadow);
    font-size: .95rem;
}
.dropdown-item { border-radius: 5px; padding: .42rem .8rem; }

/* ---------- Hero (home) ---------- */
.m-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 150px 0 28px;
    min-height: min(78vh, 640px);
    display: flex;
    align-items: flex-end;
}
.m-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--m-hero-bg) center top / cover no-repeat;
    filter: sepia(.45) saturate(1.05) brightness(.95);
}
.m-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(20, 13, 7, .92) 0%, rgba(20, 13, 7, .35) 14%, transparent 30%, transparent 70%, rgba(20, 13, 7, .35) 86%, rgba(20, 13, 7, .92) 100%),
        linear-gradient(180deg, rgba(20, 13, 7, .15) 0%, rgba(20, 13, 7, .05) 45%, rgba(20, 13, 7, .75) 82%, var(--m-bg) 100%);
}
.m-hero > .container { width: 100%; }
.m-hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.6rem; }

.m-hero__title {
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 4.4rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: var(--m-grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 3px 0 rgba(60, 30, 5, .95)) drop-shadow(0 0 22px rgba(0, 0, 0, .8));
}
.m-hero__tagline {
    margin: .7rem 0 0;
    font-family: var(--m-font-head);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--m-heading);
    text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
}

.m-hero__boxes { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; }
.m-statbox {
    width: 260px;
    padding: .6rem .8rem .8rem;
    text-align: left;
    background: rgba(18, 12, 7, .78);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.m-statbox__head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--m-font-head);
    font-size: .92rem;
    font-weight: 800;
    color: var(--m-sand-hi);
}
.m-statbox__head::after {
    content: "";
    flex: 1;
    height: 1px;
    margin-top: 2px;
    background: linear-gradient(90deg, var(--m-sand), var(--m-sand-lo));
}
.m-statbox__body { display: flex; align-items: center; gap: 8px; margin-top: .55rem; }
.m-statbox__big { font-size: 1.6rem; font-weight: 500; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.m-statbox__body small { color: var(--m-muted); font-size: .8rem; }
.m-statbox__led {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #8cff8c, var(--m-green) 55%, #138a16);
    box-shadow: 0 0 12px rgba(69, 214, 74, .75);
}

/* Fortress strip */
.m-fortress-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin: 0; padding: 0; }
.m-fortress-pill {
    --m-fort-color: #8a4a12;
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 330px;
    padding: 3px 4px 3px 6px;
    font-family: var(--m-font-head);
    font-size: .82rem;
    font-weight: 800;
    color: #1c130b;
    background: #f4ecdc;
    border: 2px solid #d9c7a2;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .55);
}
.m-fortress-pill--1 { --m-fort-color: #b3122a; }
.m-fortress-pill--3 { --m-fort-color: #0f6b6b; }
.m-fortress-pill--4 { --m-fort-color: #5b3a8a; }
.m-fortress-pill--6 { --m-fort-color: #9a5a1c; }
.m-fortress-pill__fort { display: inline-flex; align-items: center; gap: 4px; color: var(--m-fort-color); }
.m-fortress-pill__fort img { border-radius: 50%; }
.m-fortress-pill__sep { color: #b8a27e; font-weight: 400; letter-spacing: -.1em; }
.m-fortress-pill__guild { flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-fortress-pill__guild a { color: #1c130b; }
.m-fortress-pill__guild a:hover { color: var(--m-fort-color); }
.m-fortress-pill__tax { color: #8a6b45; white-space: nowrap; }
.m-fortress-pill__tax b { margin-left: 2px; padding: 0 6px; color: #fff; background: var(--m-teal); border-radius: 50px; font-size: .74rem; }

@media (max-width: 991.98px) {
    .m-hero { padding-top: 60px; min-height: 0; }
}
@media (max-width: 575.98px) {
    .m-statbox { width: 100%; }
    .m-fortress-pill { min-width: 0; width: 100%; }
}

/* ---------- Page hero (inner pages) ---------- */
.m-page-hero {
    position: relative;
    isolation: isolate;
    padding: 160px 0 3.2rem;
    text-align: center;
    overflow: hidden;
}
.m-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--m-page-bg) center 30% / cover no-repeat;
    filter: sepia(.5) brightness(.85);
}
.m-page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(20, 13, 7, .9) 0%, transparent 25%, transparent 75%, rgba(20, 13, 7, .9) 100%),
        linear-gradient(180deg, rgba(20, 13, 7, .35), rgba(20, 13, 7, .55) 50%, var(--m-bg));
}
.m-page-hero__title {
    margin: 0 0 .6rem;
    font-size: clamp(1.9rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: var(--m-grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 3px 0 rgba(60, 30, 5, .9));
}
.breadcrumb {
    --bs-breadcrumb-divider-color: var(--m-sand);
    --bs-breadcrumb-item-active-color: var(--m-text);
    font-family: var(--m-font-head);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.breadcrumb-item + .breadcrumb-item::before { content: "\2726"; }
@media (max-width: 991.98px) {
    .m-page-hero { padding-top: 3rem; }
}

/* ---------- Content wrapper ---------- */
.m-content { padding-top: 2.6rem; padding-bottom: 4rem; }
.m-section-head { text-align: center; margin-bottom: 1.6rem; }
.m-section-title {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0;
    background: var(--m-grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Cards (gold frame) ---------- */
.card {
    --bs-card-bg: transparent;
    --bs-card-border-color: var(--m-gold-lo);
    --bs-card-cap-bg: transparent;
    --bs-card-color: var(--m-text);
    --bs-card-title-color: var(--m-heading);
    background: var(--m-grad-panel);
    border: 1px solid var(--m-gold-lo);
    border-radius: var(--m-radius);
    box-shadow: var(--m-frame);
}
.card-header {
    font-family: var(--m-font-head);
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--m-gold-hi);
    background: linear-gradient(180deg, rgba(74, 52, 24, .55), rgba(30, 20, 10, .15)) !important;
    border-bottom: 1px solid var(--m-line);
    padding: .75rem 1rem;
}
.card-header:first-child { border-radius: calc(var(--m-radius) - 1px) calc(var(--m-radius) - 1px) 0 0; }
.card-footer { background: rgba(0, 0, 0, .2); border-top: 1px solid var(--m-line); }
.card-title { font-family: var(--m-font-head); color: var(--m-heading); }
.card .card { box-shadow: none; background: rgba(0, 0, 0, .25); border-color: var(--m-line); }

.m-card__head { display: flex; align-items: center; gap: 8px; }
.m-card__head > i { color: var(--m-gold); font-size: .78rem; }
.m-card__head h3 { margin: 0; font-size: .86rem; font-weight: 800; color: var(--m-gold-hi); letter-spacing: .04em; }
.m-card--fill { height: 100%; }
.m-card--tall { height: 100%; }
.m-card__scroll { height: 330px; overflow-y: auto; padding: .7rem; }
.m-card__scroll::-webkit-scrollbar { width: 6px; }

.m-more {
    font-family: var(--m-font-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--m-muted);
    padding: 1px 8px;
    border: 1px solid var(--m-line);
    border-radius: 4px;
}
.m-more:hover { color: var(--m-gold); border-color: var(--m-gold); }

/* Row 1 equal heights */
.m-home-top > [class*="col"] > * { height: 100%; min-height: 290px; margin-bottom: 0 !important; }

/* Server info box */
.m-info { padding: .5rem 0; }
.m-info li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: .34rem 1rem;
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--m-heading);
}
.m-info__online { color: var(--m-green) !important; font-weight: 800 !important; }
.m-info__icon, .m-info__icon i { color: var(--m-gold); width: 18px; text-align: center; }
.m-info__value { color: var(--m-text); font-weight: 500; }

/* Ranking table */
.m-rank-table { width: 100%; border-collapse: separate; border-spacing: 0 5px; font-size: .86rem; text-align: center; }
.m-rank-table th { padding: .2rem .4rem; font-size: .74rem; font-weight: 500; color: var(--m-muted); }
.m-rank-table td {
    padding: .3rem .5rem;
    background: rgba(0, 0, 0, .38);
    border-top: 1px solid var(--m-line);
    border-bottom: 1px solid var(--m-line);
}
.m-rank-table td:first-child { width: 36px; border-left: 1px solid var(--m-line); border-radius: 4px 0 0 4px; }
.m-rank-table td:last-child { border-right: 1px solid var(--m-line); border-radius: 0 4px 4px 0; font-variant-numeric: tabular-nums; }
.m-rank-table td:nth-child(2) { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-rank-table a { color: var(--m-text); }
.m-rank-table a:hover { color: var(--m-gold-hi); }
.m-rank-pos { font-weight: 800; color: var(--m-muted); }
.m-rank-pos--1 { color: #ffd34d; }
.m-rank-pos--2 { color: #d8dde3; }
.m-rank-pos--3 { color: #e09b62; }

.m-dots { display: flex; justify-content: center; gap: 6px; margin-top: .4rem; }
.m-dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--m-gold);
    border-radius: 3px;
}
.m-dots button.active { background: var(--m-gold); box-shadow: 0 0 6px rgba(226, 183, 100, .6); }

/* News carousel */
.m-carousel {
    min-height: 290px;
    overflow: hidden;
    border: 1px solid var(--m-gold-lo);
    border-radius: var(--m-radius);
    box-shadow: var(--m-frame);
    background: var(--m-panel);
}
.m-carousel__slide {
    position: relative;
    display: block;
    height: 100%;
    min-height: 290px;
    background-color: var(--m-panel-2);
    background-size: cover;
    background-position: center;
}
.m-carousel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 8, 5, .05) 30%, rgba(13, 8, 5, .9) 100%); }
.m-carousel__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.2rem 1.1rem; }
.m-carousel__row { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.m-carousel__btn {
    padding: 3px 14px;
    font-family: var(--m-font-head);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #2a1a08;
    background: var(--m-grad-btn);
    border-radius: 50px;
}
.m-carousel__btn:hover { color: #2a1a08; filter: brightness(1.08); }
.m-carousel__title { font-family: var(--m-font-head); font-size: 1.15rem; font-weight: 800; color: var(--m-gold-hi); text-shadow: 0 2px 6px rgba(0, 0, 0, .9); }
.m-carousel__excerpt { font-size: .82rem; color: #d8c8a6; }
.m-carousel__dots { top: 10px; bottom: auto; left: 14px; right: auto; margin: 0; justify-content: flex-start; gap: 5px; }
.m-carousel__dots [data-bs-target] {
    width: 13px;
    height: 13px;
    margin: 0;
    border: 1px solid var(--m-gold);
    border-radius: 3px;
    background: rgba(0, 0, 0, .4);
    opacity: 1;
}
.m-carousel__dots .active { background: var(--m-gold); }
.m-carousel .carousel-control-prev,
.m-carousel .carousel-control-next { width: 46px; color: var(--m-gold-hi); opacity: .55; font-size: 1.2rem; }
.m-carousel .carousel-control-prev:hover,
.m-carousel .carousel-control-next:hover { opacity: 1; }

/* Top banners */
.m-banners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.m-banner {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 92px;
    padding: .6rem 1.1rem;
    overflow: hidden;
    background: linear-gradient(100deg, #1b1209 0%, #2a1c0f 55%, #4a3219 100%);
    border: 1px solid var(--m-gold-lo);
    border-radius: 4px;
    box-shadow: var(--m-frame);
}
.m-banner__art {
    position: absolute;
    right: 8px;
    top: 50%;
    z-index: -1;
    font-size: 4.6rem;
    color: rgba(226, 183, 100, .16);
    transform: translateY(-50%) rotate(-8deg);
}
.m-banner__img {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    height: 115%;
    width: auto;
    opacity: .9;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
    mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.m-banner__img + .m-banner__art,
.m-banner__art:has(+ .m-banner__img) { display: none; }
.m-banner__label { font-family: var(--m-font-head); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--m-gold); }
.m-banner__label i { font-size: .6rem; margin-right: 3px; }
.m-banner__name {
    max-width: 82%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--m-font-head);
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.15;
    color: #f3e5c5;
    text-shadow: 0 2px 0 rgba(0, 0, 0, .9), 0 0 14px rgba(0, 0, 0, .6);
}
a.m-banner__name:hover { color: var(--m-gold-hi); }
@media (max-width: 1199.98px) { .m-banners { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .m-banners { grid-template-columns: 1fr; } }

/* Panels (globals / uniques) */
.m-panel {
    height: 100%;
    min-height: 150px;
    background: linear-gradient(180deg, #24180c 0%, #170f08 100%);
    border: 1px solid var(--m-gold-lo);
    border-radius: 4px;
    box-shadow: var(--m-frame);
}
.m-panel__head { display: flex; align-items: center; gap: 8px; padding: .75rem 1rem .5rem; }
.m-panel__head > i { color: var(--m-gold); }
.m-panel__head h3 { margin: 0; font-size: .86rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--m-gold-hi); }
.m-globals { padding: 0 1rem .9rem 2.4rem; }
.m-globals li { padding: .2rem 0; font-size: .9rem; overflow-wrap: anywhere; }
.m-globals__name { font-weight: 800; color: var(--m-yellow); }
.m-globals__msg { color: var(--m-text); }
.m-globals__time { margin-left: 6px; color: var(--m-muted); font-size: .72rem; }
.m-uniques { padding: 0 1rem .9rem; }
.m-uniques li { display: flex; align-items: center; gap: .6rem; padding: .25rem 0; font-size: .9rem; }
.m-uniques__avatar {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--m-gold);
    background: #120b05;
    border: 1px solid var(--m-line-strong);
    border-radius: 50%;
    font-size: .75rem;
}
.m-uniques__avatar img { width: 100%; height: 100%; object-fit: cover; }
.m-uniques__mob { color: var(--m-heading); font-weight: 700; }
.m-uniques a { color: var(--m-yellow); font-weight: 700; }

/* Event schedule / sox */
.m-trio { position: relative; }
.m-trio__wing {
    position: absolute;
    top: 50%;
    font-size: 6rem;
    color: var(--m-gold-lo);
    opacity: .5;
    pointer-events: none;
}
.m-trio__wing::before { content: "\e2cd"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.m-trio__wing--left { left: -110px; transform: translateY(-50%) rotate(-35deg); }
.m-trio__wing--right { right: -110px; transform: translateY(-50%) scaleX(-1) rotate(-35deg); }
@media (max-width: 1499.98px) { .m-trio__wing { display: none; } }

.m-schedule li { display: flex; gap: .4rem; margin-bottom: .45rem; font-size: .82rem; }
.m-schedule__name,
.m-schedule__time {
    padding: .35rem .6rem;
    text-align: center;
    background: rgba(0, 0, 0, .38);
    border: 1px solid var(--m-line);
    border-radius: 4px;
}
.m-schedule__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-schedule__time { flex: 0 0 auto; min-width: 104px; font-variant-numeric: tabular-nums; color: var(--m-heading); }
.m-schedule__time--live { color: #0d1a08; background: var(--m-green); border-color: var(--m-green); font-weight: 800; }

.m-sox li { display: flex; align-items: flex-start; gap: .55rem; padding: .35rem 0; border-bottom: 1px solid rgba(214, 170, 100, .08); }
.m-sox li:last-child { border-bottom: 0; }
.m-sox__icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: #0e0905;
    border: 1px solid var(--m-line-strong);
    border-radius: 3px;
}
.m-sox__icon img { width: 30px; height: 30px; object-fit: contain; }
.m-sox__text { min-width: 0; font-size: .8rem; line-height: 1.3; overflow-wrap: anywhere; }
.m-sox__text a { color: var(--m-yellow); font-weight: 700; }
.m-sox__item { color: #ffcf6b; }
.m-sox__mob { color: var(--m-muted); }
.m-sox__plus { color: var(--m-orange); font-weight: 800; }
.m-sox__time { display: block; color: var(--m-muted); font-size: .72rem; }

/* Generic list / feed (sidebar widgets, inner pages) */
.m-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: .6rem 1rem;
    border-bottom: 1px solid rgba(214, 170, 100, .08);
    font-size: .92rem;
}
.m-list li:last-child { border-bottom: 0; }
.m-list__title { font-weight: 700; color: var(--m-heading); }
.m-fort-icon { width: 28px; height: 28px; object-fit: contain; }
.m-tag {
    display: inline-block;
    padding: 1px 9px;
    font-size: .74rem;
    font-weight: 700;
    color: #fff;
    background: var(--m-teal);
    border-radius: 50px;
    white-space: nowrap;
}

.m-feed li { display: flex; align-items: center; gap: 12px; padding: .65rem 1rem; border-bottom: 1px solid rgba(214, 170, 100, .08); }
.m-feed li:last-child { border-bottom: 0; }
.m-feed__avatar {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--m-gold);
    background: radial-gradient(circle, #3a2810, #140d06);
    border: 1px solid var(--m-line-strong);
    border-radius: 50%;
}
.m-feed__avatar img { width: 100%; height: 100%; object-fit: cover; }
.m-feed__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.m-feed__title { font-size: .92rem; font-weight: 700; color: var(--m-gold-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-feed__meta { font-size: .8rem; color: var(--m-muted); overflow: hidden; text-overflow: ellipsis; }
.m-feed__time { flex: 0 0 auto; font-size: .72rem; color: var(--m-muted); }

/* Status widget */
.m-stat-num { font-family: var(--m-font-head); font-size: 1.9rem; font-weight: 800; line-height: 1; color: var(--m-gold-hi); }
.m-stat-num--sm { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.m-progress, .progress {
    --bs-progress-bg: rgba(0, 0, 0, .5);
    height: 9px;
    border: 1px solid var(--m-line);
    border-radius: 20px;
    overflow: hidden;
}
.progress-bar { background: linear-gradient(90deg, #1f8a2a, var(--m-green)); box-shadow: 0 0 10px rgba(69, 214, 74, .5); }

/* Account widget */
.m-account { text-align: center; margin-bottom: 1rem; }
.m-account__name {
    display: inline-block;
    min-width: 70%;
    padding: .3rem 1rem;
    font-family: var(--m-font-head);
    font-size: .9rem;
    font-weight: 800;
    color: #2a1a08;
    background: var(--m-grad-btn);
    border-radius: 50px;
}
.m-account__silk {
    width: fit-content;
    margin: .8rem auto 0;
    padding: .45rem 1.2rem;
    border: 1px solid var(--m-line-strong);
    border-radius: 12px;
    color: var(--m-gold-hi);
    line-height: 1.2;
}
.m-account__silk strong { display: block; font-size: 1.1rem; }
.m-account__silk span { font-size: .8rem; color: var(--m-muted); }

/* Discord */
.m-discord {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 6px;
    border: 1px solid var(--m-gold-lo);
    border-radius: 6px;
    background: #15100a;
    box-shadow: var(--m-frame), 0 0 80px 10px rgba(226, 160, 60, .12);
}
.m-discord iframe { display: block; border-radius: 4px; }

/* News cards */
.m-news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--m-grad-panel);
    border: 1px solid var(--m-gold-lo);
    border-radius: 6px;
    box-shadow: var(--m-frame);
    transition: transform .25s ease;
}
.m-news-card:hover { transform: translateY(-3px); }
.m-news-card__media {
    display: grid;
    place-items: center;
    height: 170px;
    font-size: 2rem;
    color: var(--m-gold-lo);
    background: #120c07 center / cover no-repeat;
    border-bottom: 1px solid var(--m-line);
}
.m-news-card__body { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem 1rem; }
.m-news-card__date { font-size: .76rem; color: var(--m-muted); }
.m-news-card__title { font-family: var(--m-font-head); font-size: 1rem; font-weight: 800; color: var(--m-heading); }
.m-news-card:hover .m-news-card__title { color: var(--m-gold-hi); }

/* ---------- Login (image + form) ---------- */
.m-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 340px;
    overflow: hidden;
    border: 1px solid rgba(184, 150, 106, .2);
    background: #17100a;
}
.m-login__art { background: center 25% / cover no-repeat; filter: sepia(.25); min-height: 300px; }
.m-login__panel { display: flex; flex-direction: column; }
.m-login__head {
    padding: .9rem 1.2rem;
    text-align: center;
    font-family: var(--m-font-head);
    font-size: .8rem;
    font-weight: 700;
    color: var(--m-heading);
    border-bottom: 1px solid var(--m-line);
}
.m-login__title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 .2rem;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--m-sand-hi);
}
.m-login__title::before,
.m-login__title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--m-sand));
}
.m-login__title::after { background: linear-gradient(90deg, var(--m-sand), transparent); }
.m-login__body { padding: 1.4rem 1.2rem; }
.m-login .form-label { text-transform: none; letter-spacing: 0; font-size: .92rem; color: var(--m-heading); }
@media (max-width: 767.98px) {
    .m-login { grid-template-columns: 1fr; }
    .m-login__art { min-height: 180px; }
}

/* ---------- Buttons ---------- */
.btn {
    --bs-btn-font-family: var(--m-font-head);
    --bs-btn-font-weight: 800;
    --bs-btn-border-radius: 50px;
    --bs-btn-focus-box-shadow: 0 0 0 .2rem rgba(226, 183, 100, .3);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .8rem;
    padding: .5rem 1.3rem;
    transition: all .2s ease;
}
.btn i { margin-right: .35rem; }
.btn-primary,
.btn-warning,
.btn-secondary {
    --bs-btn-color: var(--m-sand-hi);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    --bs-btn-disabled-color: var(--m-sand);
    --bs-btn-bg: #3a2919;
    --bs-btn-hover-bg: #4b3520;
    --bs-btn-active-bg: #2d1e10;
    --bs-btn-border-color: #5c4329;
    --bs-btn-hover-border-color: var(--m-sand);
    --bs-btn-active-border-color: var(--m-sand);
    background-image: linear-gradient(180deg, #4a3520, #2d1e10);
    box-shadow: inset 0 1px 0 rgba(255, 220, 160, .15), 0 4px 12px -6px rgba(0, 0, 0, .9);
}
.btn-primary:hover,
.btn-warning:hover,
.btn-secondary:hover { box-shadow: inset 0 1px 0 rgba(255, 220, 160, .2), var(--m-glow); }
.btn-outline-primary,
.btn-outline-warning,
.btn-outline-secondary,
.btn-dark,
.btn-outline-light {
    --bs-btn-color: var(--m-gold-hi);
    --bs-btn-border-color: var(--m-line-strong);
    --bs-btn-bg: rgba(20, 13, 6, .55);
    --bs-btn-hover-color: #2a1a08;
    --bs-btn-hover-bg: var(--m-gold);
    --bs-btn-hover-border-color: var(--m-gold);
    --bs-btn-active-color: #2a1a08;
    --bs-btn-active-bg: var(--m-gold);
    --bs-btn-active-border-color: var(--m-gold);
}
.btn-success { --bs-btn-bg: #2f7a2a; --bs-btn-border-color: #45a03c; --bs-btn-hover-bg: #3a9134; --bs-btn-hover-border-color: var(--m-green); }
.btn-danger { --bs-btn-bg: #9b2c1f; --bs-btn-border-color: var(--m-danger); --bs-btn-hover-bg: #b8382a; --bs-btn-hover-border-color: #ff6a5a; }
.btn-link { --bs-btn-color: var(--m-gold); --bs-btn-hover-color: var(--m-gold-hi); text-transform: none; letter-spacing: 0; font-family: var(--m-font-body); font-weight: 500; }
.btn-close { filter: invert(80%) sepia(40%) saturate(600%) hue-rotate(5deg); }

/* ---------- Forms ---------- */
.form-control,
.form-select {
    color: var(--m-text);
    background-color: #0f0a06;
    border: 1px solid #5c4329;
    border-radius: 3px;
    padding: .55rem .85rem;
}
.form-control::placeholder { color: #6f6150; }
.form-control:focus,
.form-select:focus {
    color: var(--m-heading);
    background-color: #0b0704;
    border-color: var(--m-sand);
    box-shadow: 0 0 0 .2rem rgba(184, 150, 106, .2);
}
.form-control:disabled, .form-control[readonly] { background-color: rgba(255, 255, 255, .03); color: var(--m-muted); }
.form-label, .col-form-label { font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: var(--m-muted); }
.form-check-input { background-color: #0f0a06; border-color: var(--m-sand-lo); }
.form-check-input:checked { background-color: var(--m-sand-lo); border-color: var(--m-sand); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(184, 150, 106, .2); border-color: var(--m-sand); }
.input-group-text { color: var(--m-gold); background: var(--m-panel-2); border-color: #5c4329; }
.invalid-feedback { color: #ff8a6a; }

/* ---------- Tables ---------- */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--m-text);
    --bs-table-border-color: rgba(214, 170, 100, .12);
    --bs-table-striped-bg: rgba(226, 183, 100, .03);
    --bs-table-striped-color: var(--m-text);
    --bs-table-hover-bg: rgba(226, 183, 100, .07);
    --bs-table-hover-color: var(--m-heading);
    --bs-table-active-bg: rgba(226, 183, 100, .1);
    font-size: .92rem;
    vertical-align: middle;
}
.table > thead > tr > th,
.table thead th,
.table-dark {
    --bs-table-bg: rgba(74, 52, 24, .45);
    --bs-table-color: var(--m-gold-hi);
    font-family: var(--m-font-head);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--m-gold-hi);
    background-color: rgba(74, 52, 24, .45);
    border-bottom: 1px solid var(--m-line-strong);
    white-space: nowrap;
}
.table > tbody > tr:hover > * { background-color: rgba(226, 183, 100, .05); }
.table a { color: var(--m-text); font-weight: 500; }
.table a:hover { color: var(--m-gold-hi); }
.table img[src*="rank"] { width: 26px; }
.table-responsive { border-radius: 6px; }

/* ---------- Nav tabs / pills ---------- */
.nav-tabs {
    --bs-nav-tabs-border-color: var(--m-line);
    --bs-nav-tabs-link-hover-border-color: transparent;
    --bs-nav-tabs-link-active-color: var(--m-gold-hi);
    --bs-nav-tabs-link-active-bg: rgba(226, 183, 100, .06);
    --bs-nav-tabs-link-active-border-color: var(--m-line) var(--m-line) transparent;
    --bs-nav-link-color: var(--m-muted);
    --bs-nav-link-hover-color: var(--m-gold);
}
.nav-tabs .nav-link { font-family: var(--m-font-head); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.nav-tabs .nav-link.active { box-shadow: inset 0 2px 0 var(--m-gold); }
.nav-pills {
    --bs-nav-pills-link-active-color: #2a1a08;
    --bs-nav-pills-link-active-bg: var(--m-gold);
    --bs-nav-link-color: var(--m-text);
    --bs-nav-link-hover-color: var(--m-gold-hi);
    gap: 2px;
}
.nav-pills .nav-link { border-radius: 5px; padding: .5rem .9rem; }
.nav-pills .nav-link:hover { background: rgba(226, 183, 100, .06); }
.nav-pills .nav-link.active { background: var(--m-grad-btn); font-weight: 700; }
[data-link].btn { margin: 2px; }

/* ---------- List group ---------- */
.list-group {
    --bs-list-group-bg: rgba(0, 0, 0, .25);
    --bs-list-group-color: var(--m-text);
    --bs-list-group-border-color: var(--m-line);
    --bs-list-group-action-hover-bg: rgba(226, 183, 100, .06);
    --bs-list-group-action-hover-color: var(--m-gold-hi);
    --bs-list-group-active-bg: var(--m-gold);
    --bs-list-group-active-border-color: var(--m-gold);
    --bs-list-group-active-color: #2a1a08;
}
.list-group-item strong { color: var(--m-muted); font-weight: 700; font-size: .9rem; }
.list-group-item > span { color: var(--m-gold-hi); font-weight: 700; }

/* ---------- Pagination ---------- */
.pagination {
    --bs-pagination-color: var(--m-text);
    --bs-pagination-bg: rgba(0, 0, 0, .35);
    --bs-pagination-border-color: var(--m-line);
    --bs-pagination-hover-color: #2a1a08;
    --bs-pagination-hover-bg: var(--m-sand);
    --bs-pagination-hover-border-color: var(--m-sand);
    --bs-pagination-focus-color: var(--m-gold-hi);
    --bs-pagination-focus-bg: rgba(0, 0, 0, .5);
    --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(226, 183, 100, .25);
    --bs-pagination-active-color: #2a1a08;
    --bs-pagination-active-bg: var(--m-gold);
    --bs-pagination-active-border-color: var(--m-gold);
    --bs-pagination-disabled-color: #5a4d3b;
    --bs-pagination-disabled-bg: rgba(0, 0, 0, .25);
    --bs-pagination-disabled-border-color: var(--m-line);
    gap: 4px;
}
.page-link { border-radius: 4px !important; font-weight: 700; }

/* ---------- Alerts / badges / modals ---------- */
.alert { border-radius: 6px; border-left-width: 4px; }
.alert-warning, .alert-info, .alert-primary { color: #ffe3a1; background: rgba(226, 183, 100, .08); border-color: rgba(226, 183, 100, .35); border-left-color: var(--m-gold); }
.alert-danger { color: #ffb8a6; background: rgba(217, 72, 59, .1); border-color: rgba(217, 72, 59, .35); border-left-color: var(--m-danger); }
.alert-success { color: #c6f0b6; background: rgba(69, 214, 74, .08); border-color: rgba(69, 214, 74, .3); border-left-color: var(--m-green); }
.badge.bg-primary, .badge.bg-warning { color: #2a1a08 !important; background: var(--m-grad-btn) !important; }
.modal-content {
    --bs-modal-bg: #170f08;
    --bs-modal-border-color: var(--m-line-strong);
    --bs-modal-header-border-color: var(--m-line);
    --bs-modal-footer-border-color: var(--m-line);
    box-shadow: var(--m-shadow);
}
.modal-title { font-family: var(--m-font-head); color: var(--m-gold-hi); }

/* ---------- Content pages ---------- */
.m-content article img,
.m-content .card-body img { border-radius: 4px; }
.m-content blockquote { border-left: 3px solid var(--m-sand); padding-left: 1rem; color: var(--m-muted); }
.m-content hr { border-color: var(--m-line); opacity: 1; }
.sro-item-detail .tooltip,
.m-content .tooltip-inner {
    background-color: rgba(18, 12, 6, .96);
    border: 1px solid var(--m-line-strong);
    color: #fff;
}
.m-guest > .card,
.m-guest section.card { max-width: 760px; margin: 0 auto; }
.m-guest h2 { font-size: 1.5rem; text-align: center; }
.m-guest .m-login__title { text-align: left; }

/* ---------- Footer ---------- */
.m-footer {
    margin-top: auto;
    padding-top: 2.6rem;
    background: var(--m-bg-2);
    border-top: 1px solid rgba(184, 150, 106, .15);
}
.m-footer__brand { text-align: center; }
.m-footer__logo { height: 120px; width: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .8)); }
.m-footer .m-divider { margin: 1.4rem auto 1.8rem; }
.m-footer__grid { padding-bottom: 2.4rem; }
.m-footer__links li { margin-bottom: .35rem; }
.m-footer__links a { font-size: .95rem; color: var(--m-sand); }
.m-footer__links a::before { content: "\2756"; margin-right: 6px; font-size: .6rem; vertical-align: middle; color: var(--m-sand-lo); }
.m-footer__links a:hover { color: var(--m-gold-hi); }
.m-footer__partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.m-footer__partners a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 4px;
    overflow: hidden;
    background: var(--m-sand);
    border: 1px solid var(--m-sand-hi);
    border-radius: 2px;
    transition: filter .2s ease, transform .2s ease;
}
.m-footer__partners a:hover { filter: brightness(1.15); transform: translateY(-2px); }
.m-footer__partners img { max-width: 100%; max-height: 100%; object-fit: contain; }
.m-footer__bottom {
    padding: .55rem 0;
    text-align: center;
    font-size: .85rem;
    color: #2a1a0c;
    background: linear-gradient(180deg, #c4a274, #b08d60);
}
.m-footer__bottom a { color: #6e3d14; font-weight: 700; }
.m-footer__bottom a:hover { color: #3a1e06; }

.m-totop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--m-sand-hi);
    background: linear-gradient(180deg, #4a3520, #2d1e10);
    border: 2px solid #2a1c10;
    border-radius: 50%;
    box-shadow: var(--m-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
}
.m-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.m-totop:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
