:root {
    --m2-bg: #1b1410;
    --m2-surface: #2b211a;
    --m2-surface-2: #3a281e;
    --m2-line: rgba(228, 173, 102, .28);
    --m2-text: #f4e9d5;
    --m2-muted: #c6b39f;
    --m2-gold: #dfa85b;
    --m2-gold-light: #ffe1a5;
}

html { min-width: 0; scroll-behavior: smooth; }
body.m2-site {
    min-width: 0;
    min-height: 100%;
    margin: 0;
    background: var(--m2-bg);
    color: var(--m2-text);
    font: 400 15px/1.6 Inter, Arial, sans-serif;
}
.m2-site * { box-sizing: border-box; }
.m2-site a { color: inherit; }
.m2-site a:focus-visible,
.m2-site button:focus-visible,
.m2-site input:focus-visible,
.m2-site textarea:focus-visible { outline: 2px solid var(--m2-gold-light); outline-offset: 3px; }
.m2-site img { max-width: 100%; }
.m2-skip { position: absolute; left: -9999px; top: 10px; z-index: 100; background: #fff; color: #111 !important; padding: 10px 16px; }
.m2-skip:focus { left: 10px; }

.m2-header {
    position: relative;
    z-index: 20;
    background: rgba(30, 20, 15, .97);
    border-bottom: 1px solid var(--m2-line);
    border-top: 2px solid #9d6035;
}
.m2-header-inner {
    max-width: 1440px;
    min-height: 104px;
    margin: auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
}
.m2-brand { flex: 0 0 auto; display: inline-flex; align-items: center; width: 205px; }
.m2-brand img { width: 205px; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.m2-nav { display: flex; align-items: center; gap: clamp(13px, 1.8vw, 28px); flex: 1; }
.m2-nav a {
    position: relative;
    text-decoration: none;
    color: #e4d1b7;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 42px 0;
    transition: color .2s;
}
.m2-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 25px; height: 2px; background: var(--m2-gold); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.m2-nav a:hover, .m2-nav a.is-active { color: var(--m2-gold-light); }
.m2-nav a:hover::after, .m2-nav a.is-active::after { transform: scaleX(1); }
.m2-header-actions { display: flex; align-items: center; gap: 16px; }
.m2-languages { position: relative; color: #e7d2b5; font-size: 11px; font-weight: 700; }
.m2-languages summary { cursor: pointer; list-style: none; padding: 8px; display: flex; align-items: center; gap: 6px; }
.m2-languages summary::-webkit-details-marker { display: none; }
.m2-languages summary::after { content: "⌄"; color: var(--m2-gold); margin-left: 5px; }
.m2-language-list { position: absolute; z-index: 30; right: 0; top: 100%; min-width: 190px; max-height: 320px; overflow-y: auto; padding: 8px; background: #2a1d17; border: 1px solid var(--m2-line); box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.m2-language-list-title { display: block; padding: 4px 8px 8px; color: var(--m2-gold); font-size: 10px; letter-spacing: .04em; }
.m2-language-list a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; color: #e6d5c1; text-decoration: none; }
.m2-language-list a:hover, .m2-language-list a[aria-current] { color: var(--m2-gold-light); background: #543221; }
.m2-flag { display: block; flex: 0 0 22px; width: 22px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.28); }
.m2-header-login { text-decoration: none; color: #f1dfc0 !important; font-size: 12px; font-weight: 700; white-space: nowrap; }
.m2-header-login:hover { color: var(--m2-gold-light) !important; }
.m2-menu-toggle { display: none; }
.m2-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 12px 24px;
    border: 1px solid #bb8244;
    border-radius: 3px;
    background: linear-gradient(160deg, #7b3f2e 0%, #4e2b22 50%, #2d1b17 100%);
    color: #ffdfa3 !important;
    font: 700 12px/1.2 Inter, Arial, sans-serif;
    letter-spacing: .08em;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: inset 0 1px rgba(255, 231, 180, .24), inset 0 -2px rgba(24, 10, 7, .5), 0 3px 12px rgba(0, 0, 0, .22);
    transition: transform .2s, box-shadow .2s, filter .2s;
}
.m2-button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0, 0, 0, .27); filter: brightness(1.08); }
.m2-button-small { min-height: 38px; padding: 9px 16px; font-size: 11px; }
.m2-button-outline { color: var(--m2-gold-light) !important; background: rgba(33, 23, 18, .65); border-color: rgba(236, 190, 124, .65); }
.m2-button-block { width: 100%; }
.m2-eyebrow { color: var(--m2-gold); font: 700 11px/1.5 Inter, Arial, sans-serif; letter-spacing: .22em; text-transform: uppercase; }

.m2-hero {
    position: relative;
    min-height: clamp(510px, 49vw, 690px);
    background: #2b1b12 url(../img/hero-starlongju2.png) center center / cover no-repeat;
    overflow: hidden;
}
.m2-hero::after { content: ""; position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; height: clamp(160px, 18vw, 250px); background: linear-gradient(to bottom, transparent, rgba(27, 20, 16, .72) 60%, var(--m2-bg) 100%); pointer-events: none; }
.m2-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27, 17, 12, .82) 0%, rgba(37, 22, 13, .55) 40%, transparent 67%), linear-gradient(0deg, rgba(24, 14, 10, .88), transparent 35%); }
.m2-hero-inner { position: relative; z-index: 2; max-width: 1440px; min-height: inherit; margin: auto; padding: 76px 40px 30px; display: flex; flex-direction: column; justify-content: space-between; }
.m2-hero-copy { width: min(590px, 55%); margin-top: clamp(10px, 3vw, 45px); }
.m2-hero-eyebrow { display: inline-block; padding-left: 36px; position: relative; }
.m2-hero-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--m2-gold); position: absolute; top: 50%; left: 0; }
.m2-hero h1 { max-width: 760px; margin: 18px 0; color: #fff1c8; font: 600 clamp(44px, 6vw, 88px)/1.07 Cinzel, Georgia, serif; letter-spacing: -.045em; text-shadow: 0 4px 4px rgba(20, 8, 3, .85), 0 0 24px rgba(244, 166, 67, .22); }
.m2-hero-copy p { max-width: 520px; margin: 0; color: #f2ddbd; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.7; text-shadow: 0 2px 9px rgba(16, 8, 5, .8); }
.m2-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.m2-hero-bottom { display: flex; align-items: center; gap: 20px; color: #e5c8a0; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.m2-hero-line { display: block; width: 46px; height: 1px; background: var(--m2-gold); }
.m2-hero-bottom span:last-child { margin-left: auto; color: var(--m2-gold-light); }

.m2-page-shell { max-width: 1440px; display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: clamp(34px, 4vw, 66px); margin: 0 auto; padding: 72px 40px 90px; }
.m2-main { min-width: 0; }
.m2-aside { display: flex; flex-direction: column; gap: 18px; }
.m2-aside-card { background: linear-gradient(145deg, rgba(72, 46, 31, .93), rgba(34, 24, 19, .98)); border: 1px solid var(--m2-line); padding: 25px; box-shadow: inset 0 1px rgba(255, 222, 165, .09), 0 15px 30px rgba(0, 0, 0, .15); }
.m2-aside-card h2 { margin: 8px 0 14px; color: #fff2dc; font: 600 21px/1.2 Cinzel, Georgia, serif; }
.m2-aside-card p { color: var(--m2-muted); margin: 0 0 20px; font-size: 13px; }
.m2-download-card { background: radial-gradient(circle at 100% 0%, rgba(166, 99, 48, .27), transparent 65%), linear-gradient(150deg, #4a2a1b, #211713); }
.m2-login-form { display: flex; flex-direction: column; gap: 7px; }
.m2-login-form label { color: #e6c9a9; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.m2-login-form input { min-width: 0; height: 42px; padding: 10px 12px; background: #cdb297; border: 1px solid #9c7554; border-radius: 2px; color: #2b1b16; font: inherit; margin-bottom: 9px; }
.m2-login-form .m2-button { margin-top: 3px; }
.m2-text-link { display: inline-block; color: var(--m2-gold-light) !important; text-decoration: none; font-size: 12px; font-weight: 700; margin-top: 15px; }
.m2-text-link:hover, .m2-section-link:hover { text-decoration: underline; }
.m2-ranking { list-style: none; margin: 0; padding: 0; }
.m2-ranking li { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--m2-line); color: #efddc6; font-size: 13px; }
.m2-ranking li span:first-child { color: var(--m2-gold); font-family: Cinzel, Georgia, serif; width: 18px; }

.m2-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 24px; }
.m2-section-heading h2 { margin: 4px 0 0; color: #fff0cd; font: 600 clamp(28px, 3vw, 42px)/1.15 Cinzel, Georgia, serif; }
.m2-section-link { flex: 0 0 auto; color: var(--m2-gold-light) !important; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.m2-lead { color: var(--m2-muted); max-width: 680px; margin: 0 0 30px; font-size: 16px; line-height: 1.7; }
.m2-shoutbox { margin-bottom: 42px; }
.m2-shoutbox .m2-section-heading { margin-bottom: 13px; }
.m2-shoutbox .m2-section-heading h2 { font-size: clamp(23px, 2.5vw, 30px); }
.m2-shout-list { border: 1px solid var(--m2-line); background: linear-gradient(145deg, rgba(63, 40, 27, .94), rgba(31, 22, 17, .98)); }
.m2-shout-message { display: grid; grid-template-columns: 145px minmax(0, 1fr); align-items: start; gap: 14px; padding: 10px 14px; }
.m2-shout-message + .m2-shout-message { border-top: 1px solid var(--m2-line); }
.m2-shout-message:first-child { background: linear-gradient(90deg, rgba(161, 93, 42, .15), transparent 68%); border-left: 3px solid #d39a57; padding-left: 11px; }
.m2-shout-meta { display: flex; align-items: center; gap: 8px; color: #c4aa8d; font-size: 10px; white-space: nowrap; }
.m2-shout-gm { display: inline-flex; align-items: center; padding: 1px 5px; border: 1px solid #b98244; color: #ffe0a9; font-weight: 700; letter-spacing: .1em; }
.m2-shout-message p { margin: 0; color: #f4e4ce; font-size: 12px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.m2-shout-empty { margin: 0; padding: 20px 22px; color: var(--m2-muted); }
.m2-shout-quick-form { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 18px; border: 1px solid var(--m2-line); background: #2d211a; }
.m2-shout-quick-form label { color: #f2d9b5; font-size: 12px; font-weight: 700; }
.m2-shout-quick-form textarea { width: 100%; min-height: 74px; padding: 11px 13px; border: 1px solid #a57c58; border-radius: 2px; background: #e4d0ba; color: #2b1b16; font: 14px/1.5 Inter, Arial, sans-serif; resize: vertical; }
.m2-shout-admin-form { margin-bottom: 28px; }
.m2-shout-admin-list { border-top: 1px solid var(--m2-line); }
.m2-shout-admin-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--m2-line); }
.m2-shout-admin-row small { color: #caa77e; }
.m2-shout-admin-row p { margin: 5px 0 0; color: #f3dfc3; white-space: pre-wrap; overflow-wrap: anywhere; }
.m2-shout-admin-row button { padding: 4px; border: 0; background: transparent; color: #eab4a5; font: 700 12px Inter, Arial, sans-serif; cursor: pointer; }
.m2-shout-admin-row button:hover { text-decoration: underline; }
.m2-admin-sibling-link { display: inline-block; margin-bottom: 21px; }
.m2-news-home { margin-bottom: 0; }
.m2-news-page h1, .m2-news-admin h1 { margin: 4px 0 0; color: #fff0cd; font: 600 clamp(29px, 3vw, 42px)/1.15 Cinzel, Georgia, serif; }
.m2-news-feed { border-top: 1px solid var(--m2-line); }
.m2-news-item { display: grid; grid-template-columns: 73px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--m2-line); }
.m2-news-date { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 4px; border-right: 1px solid #a46d3f; color: var(--m2-gold-light); text-align: center; text-transform: uppercase; }
.m2-news-date strong { font: 600 30px/1 Cinzel, Georgia, serif; }
.m2-news-date span { margin-top: 5px; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.m2-news-copy h3 { margin: 0 0 6px; color: #ffe5bb; font: 600 19px/1.35 Cinzel, Georgia, serif; }
.m2-news-copy h3 a { text-decoration: none; }
.m2-news-copy h3 a:hover { color: var(--m2-gold-light); }
.m2-news-copy p { margin: 0; color: var(--m2-muted); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.m2-news-more { display: inline-block; margin-top: 8px; color: var(--m2-gold-light) !important; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.m2-news-more:hover { text-decoration: underline; }
.m2-news-empty { padding: 30px 0; color: var(--m2-muted); }
.m2-news-pagination { margin-top: 25px; }
.m2-news-pagination nav { color: var(--m2-muted); }
.m2-news-pagination a, .m2-news-pagination span { color: var(--m2-gold-light); }
.m2-news-article { max-width: 790px; }
.m2-news-article h1 { margin: 10px 0 22px; color: #fff0cd; font: 600 clamp(30px, 4vw, 46px)/1.18 Cinzel, Georgia, serif; }
.m2-news-body { padding: 26px 0; border-top: 1px solid var(--m2-line); color: #e8d5bd; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.m2-news-success, .m2-news-error { padding: 10px 14px; border-left: 3px solid #d49c55; background: rgba(197, 133, 61, .12); color: #ffdea9; }
.m2-news-admin-list { border-top: 1px solid var(--m2-line); }
.m2-news-admin-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--m2-line); }
.m2-news-admin-row h2 { margin: 5px 0; color: #f8dec0; font: 600 18px/1.35 Cinzel, Georgia, serif; }
.m2-news-admin-row small { color: var(--m2-muted); }
.m2-news-state { color: #cbb39e; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.m2-news-state.is-live { color: #a8d698; }
.m2-news-admin-actions { display: flex; align-items: center; gap: 15px; }
.m2-news-admin-actions a, .m2-news-admin-actions button { color: var(--m2-gold-light); background: none; border: 0; font: 700 12px Inter, Arial, sans-serif; cursor: pointer; text-decoration: none; }
.m2-news-admin-actions button { color: #eab4a5; }
.m2-news-admin-actions a:hover, .m2-news-admin-actions button:hover { text-decoration: underline; }
.m2-news-form { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--m2-line); background: linear-gradient(145deg, #3e2a20, #241a16); }
.m2-news-form > label:not(.m2-news-check) { color: #efd4ad; font-size: 12px; font-weight: 700; }
.m2-news-form input[type=text], .m2-news-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #a57c58; border-radius: 2px; background: #e4d0ba; color: #2b1b16; font: 14px/1.5 Inter, Arial, sans-serif; }
.m2-news-form textarea { resize: vertical; min-height: 220px; }
.m2-news-check { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: #f1ddbf; font-weight: 700; }
.m2-news-check input { width: 18px; height: 18px; accent-color: #b98548; }
.m2-news-hint { margin: 0 0 12px; color: var(--m2-muted); font-size: 12px; }
.m2-news-form-actions { display: flex; align-items: center; gap: 20px; }
.m2-news-form-actions a { color: var(--m2-gold-light); font-size: 12px; }
@media (max-width: 580px) { .m2-news-item { grid-template-columns: 54px minmax(0, 1fr); gap: 12px; } .m2-news-date strong { font-size: 24px; } .m2-news-admin-row { align-items: flex-start; flex-direction: column; } }
.m2-footer { border-top: 1px solid var(--m2-line); background: #150d0b; }
.m2-footer-inner { max-width: 1440px; min-height: 160px; padding: 40px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.m2-footer-brand { text-decoration: none; color: var(--m2-gold-light) !important; font: 600 27px/1 Cinzel, Georgia, serif; }
.m2-footer p { margin: 8px 0 0; color: #ae9177; font-size: 12px; }
.m2-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.m2-footer nav a { color: #d2bba4; font-size: 12px; text-decoration: none; }
.m2-footer nav a:hover { color: var(--m2-gold-light); }
.m2-copyright { white-space: nowrap; }

/* Existing Blade pages keep their content markup inside the new shell. */
.m2-main .col-2 { float: none; display: block; width: 100%; margin: 0; }
.m2-main .content, .m2-main .two-boxes { max-width: 100%; }
.m2-main .content { margin-bottom: 12px; }
.m2-main .content .content-bg-bottom { max-width: 100%; }
.m2-main .shadow { max-width: 100%; }

/* Bring the older content templates into the new responsive page shell. */
.m2-main .content,
.m2-main .content .content-bg,
.m2-main .content .content-bg-bottom,
.m2-main .two-boxes,
.m2-main .two-boxes .two-boxes-top,
.m2-main .two-boxes .two-boxes-bottom {
    width: 100% !important;
    max-width: 100%;
    background-image: none;
}
.m2-main .content,
.m2-main .two-boxes {
    background: linear-gradient(145deg, #4a3224, #281c17);
    border: 1px solid var(--m2-line);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .2);
}
.m2-main .content .content-bg-bottom,
.m2-main .two-boxes .two-boxes-bottom { padding: clamp(18px, 3vw, 32px) !important; overflow: visible; }
.m2-main .content h2,
.m2-main .box h2 { width: auto; margin: 0 0 20px; padding: 0 0 14px; background: none; border-bottom: 1px solid var(--m2-line); color: #ffe3ac; font: 600 clamp(22px, 2.4vw, 31px)/1.2 Cinzel, Georgia, serif; }
.m2-main .content h3,
.m2-main .content h4 { color: #f9dfb7; }
.m2-main .content p,
.m2-main .content li,
.m2-main .content td,
.m2-main .content label { color: #e7d4bd; font-size: 14px; line-height: 1.65; }
.m2-main .content a { color: #ffca79; }
.m2-main .content a:hover { color: #ffe3aa; }
.m2-main .shadow { display: none; }
.m2-main .firststepsbox-1,
.m2-main .firststepsbox-2,
.m2-main .firststepsbox-3,
.m2-main .firststeps-inner-content .tutorialsbox,
.m2-main .firststeps-inner-content .community,
.m2-main .about-inner-content > div { width: 100%; max-width: 100%; min-height: 0; padding: 18px 20px; background: rgba(24, 16, 13, .32); border: 1px solid var(--m2-line); margin-bottom: 12px; }
.m2-main .firststeps-inner-content h4 { background: none; color: #ffe0ad; font-size: 16px; }
.m2-main .firststeps-inner-content p { margin: 8px 0; }
.m2-main .content .tabs-nav { display: flex; flex-wrap: wrap; width: 100%; height: auto; margin: 0 0 22px; padding: 0; gap: 8px; }
.m2-main .content .tabs-nav li,
.m2-main .content .tabs-nav li a { float: none; display: block; width: auto !important; height: auto; background: none !important; }
.m2-main .content .tabs-nav li a { padding: 9px 14px; border: 1px solid var(--m2-line); color: #ead0af; text-decoration: none; }
.m2-main .content .tabs-nav li.selected a,
.m2-main .content .tabs-nav li a:hover { background: #6a4030 !important; color: #fff0cb; }
.m2-main .inner-form-border,
.m2-main .inner-form-box { width: 100%; max-width: 620px; margin: 0 auto; background: rgba(23, 15, 12, .38); border-color: var(--m2-line); }
.m2-main .inner-form-box { padding: clamp(18px, 3vw, 30px); }
.m2-main .inner-form-box h3 { height: auto !important; color: #ffe2b0 !important; }
.m2-main .trenner { width: 100%; max-width: 100%; background: none; border-color: var(--m2-line); }
.m2-main .inner-form-box form,
.m2-main .inner-form-box form div { width: 100% !important; max-width: 100%; }
.m2-main .inner-form-box input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.m2-main .inner-form-box select,
.m2-main .inner-form-box textarea { width: 100% !important; max-width: 100%; min-height: 42px; height: auto; padding: 9px 12px; background: #ddc1a0; border: 1px solid #9d7656; color: #2a1a15; font: inherit; }
.m2-main .inner-form-box label { color: #f4ddbb; }
.m2-main .btn-big,
.m2-main input.btn-big { display: inline-flex; width: auto; min-height: 42px; height: auto; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid #be8750; border-radius: 3px; background: linear-gradient(#86503a, #4e2c23); color: #ffe3ae !important; font: 700 12px/1.2 Inter, Arial, sans-serif; text-decoration: none; text-align: center; cursor: pointer; }
.m2-main #topwLost,
.m2-main #toAdmin,
.m2-main #toLogin { float: right; width: auto; height: auto; padding: 0; background: none; color: #ffca79; }
.m2-main .content img { height: auto; max-width: 100%; }
.m2-main #highscore table,
.m2-main #guildHighscore table { width: 100%; max-width: 100%; }
.m2-main #progressTracker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 620px; height: auto; margin: 0 auto 24px; padding: 0; }
.m2-main #progressTracker > div,
.m2-main #progressTracker #progress3 { float: none; position: static; width: auto; min-width: 0; padding: 12px 8px; border: 1px solid var(--m2-line); background: rgba(26, 17, 13, .36); text-align: center; }
.m2-main #progressTracker .step,
.m2-main #progressTracker .active .step { width: 38px; height: 38px; line-height: 38px; margin: 0 auto 8px; border-radius: 50%; background: #8b5538; color: #fff0cd; font-size: 17px; text-shadow: none; }
.m2-main #progressTracker .progress-text { position: static; width: auto; margin: 0; color: #ead4b7; font-size: 11px; }
.m2-main #progressTracker .inactive .progress-text { color: #c2a98d; }
.m2-main .download-inner-content h3 { background: none; text-shadow: none; }
.m2-main .download-box-foot { display: none; }

/* Login and registration */
.m2-auth-page { max-width: 760px; margin: 0 auto; }
.m2-auth-intro { margin-bottom: 24px; }
.m2-auth-intro h1 { margin: 5px 0 0; color: #fff0cf; font: 600 clamp(32px, 4vw, 48px)/1.16 Cinzel, Georgia, serif; }
.m2-auth-intro p { margin: 9px 0 0; color: var(--m2-muted); }
.m2-auth-card { padding: clamp(22px, 4vw, 42px); border: 1px solid var(--m2-line); background: linear-gradient(145deg, #493024, #251a16); box-shadow: inset 0 1px rgba(255, 222, 165, .08), 0 18px 38px rgba(0, 0, 0, .18); }
.m2-auth-form { display: grid; gap: 20px; }
.m2-auth-field label { display: block; margin-bottom: 8px; color: #efd4ad; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.m2-auth-field input { display: block; width: 100%; height: 48px; padding: 10px 14px; border: 1px solid #ae855f; border-radius: 3px; background: #e2cbb3; color: #251711; font: 15px Inter, Arial, sans-serif; }
.m2-auth-field input:focus { border-color: #f8cc84; outline: 2px solid rgba(248, 204, 132, .35); }
.m2-auth-field input[aria-invalid="true"] { border-color: #dc8b72; }
.m2-auth-hint { display: block; margin-top: 7px; color: #c8ad90; font-size: 12px; }
.m2-auth-help { justify-self: end; margin-top: -8px; color: var(--m2-gold-light) !important; font-size: 12px; font-weight: 700; text-decoration: none; }
.m2-auth-help:hover { text-decoration: underline; }
.m2-auth-form > .m2-button { margin-top: 2px; }
.m2-auth-divider { height: 1px; margin: 30px 0; background: var(--m2-line); }
.m2-auth-switch { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.m2-auth-switch h2 { margin: 0 0 5px; color: #ffe0aa; font: 600 21px/1.3 Cinzel, Georgia, serif; }
.m2-auth-switch p { margin: 0; color: var(--m2-muted); font-size: 13px; }
.m2-auth-switch .m2-button { flex: 0 0 auto; }
.m2-auth-page #progressTracker { max-width: none; margin-bottom: 20px; }
.m2-auth-page #progressTracker > div { margin: 0; }

/* Account dashboard */
.m2-account-page { min-width: 0; }
.m2-account-heading { margin-bottom: 26px; }
.m2-account-heading h1 { margin: 7px 0 5px; color: #fff0cf; font: 600 clamp(30px, 4vw, 46px)/1.15 Cinzel, Georgia, serif; }
.m2-account-heading p { margin: 0; color: var(--m2-muted); }
.m2-account-profile,
.m2-account-balance,
.m2-account-details,
.m2-account-action { border: 1px solid var(--m2-line); background: linear-gradient(145deg, rgba(72, 45, 32, .92), rgba(36, 25, 20, .97)); box-shadow: inset 0 1px rgba(255, 222, 165, .07), 0 12px 28px rgba(0, 0, 0, .14); }
.m2-account-profile { display: flex; align-items: center; gap: 22px; min-width: 0; padding: clamp(20px, 3vw, 32px); margin-bottom: 16px; }
.m2-account-emblem { display: grid; place-items: center; flex: 0 0 68px; width: 68px; height: 68px; border: 1px solid #b78348; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #8c5436, #3b261e 75%); color: #ffe0a5; font: 44px/1 Georgia, serif; text-shadow: 0 2px 9px #1b0e09; }
.m2-account-profile-copy { display: flex; flex-direction: column; min-width: 0; }
.m2-account-profile-copy span:first-child,
.m2-account-balance > span,
.m2-account-detail > span { color: #d8b48b; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.m2-account-profile-copy strong { color: #fff1d2; font: 600 clamp(23px, 3vw, 32px)/1.2 Cinzel, Georgia, serif; overflow-wrap: anywhere; }
.m2-account-profile-copy span:last-child { color: var(--m2-muted); font-size: 13px; overflow-wrap: anywhere; }
.m2-account-balances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.m2-account-balance { display: flex; flex-direction: column; min-width: 0; padding: 22px 26px; }
.m2-account-balance strong { color: #ffe3ac; font: 600 38px/1.25 Cinzel, Georgia, serif; }
.m2-account-balance small { color: var(--m2-muted); font-size: 12px; }
.m2-account-details { padding: 5px 26px; margin-bottom: 24px; }
.m2-account-detail { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; min-width: 0; padding: 17px 0; }
.m2-account-detail + .m2-account-detail { border-top: 1px solid var(--m2-line); }
.m2-account-detail > span { flex: 0 0 175px; }
.m2-account-detail strong { min-width: 0; color: #f4e4cd; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.m2-account-detail a { margin-left: auto; color: var(--m2-gold-light); font-size: 12px; font-weight: 700; text-decoration: none; }
.m2-account-detail a:hover { text-decoration: underline; }
.m2-account-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.m2-account-action { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 14px; min-height: 108px; padding: 18px; color: #f7e6cd !important; text-decoration: none !important; transition: border-color .2s, transform .2s, background .2s; }
.m2-account-action:hover { transform: translateY(-2px); border-color: #c39153; background: linear-gradient(145deg, #69432f, #35231b); }
.m2-account-action-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--m2-line); color: #f3c98a; font: 25px/1 Georgia, serif; }
.m2-account-action strong { display: block; color: #ffdfac; font: 600 17px/1.3 Cinzel, Georgia, serif; }
.m2-account-action small { display: block; margin-top: 6px; color: #cbb49d; font-size: 12px; line-height: 1.4; }
.m2-account-action-arrow { color: #f0c082; font-size: 20px; }
.m2-account-subpage { min-width: 0; }
.m2-account-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--m2-gold-light) !important; font-size: 12px; font-weight: 700; text-decoration: none; }
.m2-account-back:hover { text-decoration: underline; }
.m2-account-panel,
.m2-character-card { border: 1px solid var(--m2-line); background: linear-gradient(145deg, rgba(72, 45, 32, .92), rgba(36, 25, 20, .97)); box-shadow: inset 0 1px rgba(255, 222, 165, .07), 0 12px 28px rgba(0, 0, 0, .14); }
.m2-account-panel { padding: clamp(22px, 4vw, 42px); }
.m2-secret-code { width: fit-content; max-width: 100%; margin: 22px 0; padding: 20px 26px; border: 1px solid #a87541; background: #211711; color: #ffe2a9; font: 600 clamp(24px, 5vw, 42px)/1.2 Cinzel, Georgia, serif; letter-spacing: .18em; overflow-wrap: anywhere; }
.m2-account-warning { max-width: 650px; margin: 0; padding: 13px 16px; border-left: 3px solid #d29a54; background: rgba(225, 158, 74, .1); color: #edcfaa; font-size: 13px; }
.m2-character-list { display: grid; gap: 16px; }
.m2-character-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 22px; padding: 22px; }
.m2-character-portrait { display: grid; place-items: center; width: 88px; height: 88px; border: 1px solid var(--m2-line); background: radial-gradient(circle at 50% 15%, #72503a, #2a1b15); }
.m2-character-portrait img { width: 56px; height: 56px; object-fit: contain; image-rendering: auto; }
.m2-character-body { min-width: 0; }
.m2-character-body h2 { margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--m2-line); color: #ffe4b4; font: 600 clamp(20px, 2.5vw, 27px)/1.25 Cinzel, Georgia, serif; overflow-wrap: anywhere; }
.m2-character-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 22px; margin: 0; }
.m2-character-stats div { min-width: 0; }
.m2-character-stats dt { color: #d8b48b; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.m2-character-stats dd { margin: 3px 0 0; color: #f4e4cd; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.m2-character-empty p { margin: 0 0 22px; color: var(--m2-muted); }
.m2-account-form { display: grid; gap: 20px; width: min(100%, 560px); }
.m2-account-form label { display: block; margin-bottom: 8px; color: #efd4ad; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.m2-account-form input { display: block; width: 100%; height: 46px; padding: 10px 14px; border: 1px solid #a57c58; border-radius: 2px; background: #d7baa0; color: #2b1b16; font: inherit; }
.m2-account-form input:focus { border-color: #f8cc84; outline: 2px solid rgba(248, 204, 132, .35); }
.m2-account-form .m2-button { width: fit-content; min-width: 190px; }
.m2-form-error { margin: 6px 0 0; color: #ffb6a1; font-size: 12px; }
.m2-form-success { width: fit-content; margin: 0 0 22px; padding: 12px 16px; border: 1px solid #80965d; background: rgba(82, 115, 58, .23); color: #d8f0bc; font-size: 13px; }
.m2-status-panel, .m2-verification-panel { max-width: 760px; }
.m2-status-mark { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border: 1px solid #b78348; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #865237, #302017); color: #ffe2ae; font: 30px/1 Georgia, serif; }
.m2-status-panel p, .m2-verification-panel p { max-width: 650px; margin: 0 0 20px; color: #ead6ba; line-height: 1.7; }
.m2-verification-panel h2 { margin: 0 0 18px; color: #ffe2ae; font: 600 clamp(20px, 3vw, 26px)/1.35 Cinzel, Georgia, serif; }
.m2-verification-panel .m2-verification-spam { max-width: 650px; margin: 0 0 24px; padding: 20px 24px; border: 2px solid #d49c55; border-left-width: 6px; background: rgba(178, 103, 43, .18); color: #fff0c8; font: 700 clamp(21px, 3vw, 31px)/1.3 Cinzel, Georgia, serif; text-transform: uppercase; }
.m2-verification-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.m2-verification-actions .m2-button { text-align: center; }
.m2-verification-panel .m2-form-success { margin: 0 0 20px; }
@media (max-width: 520px) { .m2-verification-actions .m2-button { width: 100%; } }

/* Rankings and download */
.m2-rank-page, .m2-download-page { min-width: 0; }
.m2-rank-tabs { display: flex; gap: 8px; margin: 0 0 16px; }
.m2-rank-tabs a { min-width: 125px; padding: 12px 20px; border: 1px solid var(--m2-line); color: #ddc4a7; font: 700 12px/1.2 Inter, Arial, sans-serif; letter-spacing: .08em; text-align: center; text-decoration: none; text-transform: uppercase; }
.m2-rank-tabs a:hover, .m2-rank-tabs .is-active { border-color: #c18a50; background: linear-gradient(145deg, #835037, #4f2c23); color: #ffe7b5; }
.m2-rank-panel { min-width: 0; padding: clamp(16px, 3vw, 30px); border: 1px solid var(--m2-line); background: linear-gradient(145deg, rgba(72, 45, 32, .92), rgba(36, 25, 20, .97)); box-shadow: 0 12px 28px rgba(0, 0, 0, .14); }
.m2-rank-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 13px; margin-bottom: 25px; }
.m2-rank-filters label { display: block; min-width: 0; color: #efd4ad; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.m2-rank-filters select, .m2-rank-filters input { display: block; width: 100%; min-width: 0; height: 43px; margin-top: 7px; padding: 8px 11px; border: 1px solid #a57c58; border-radius: 2px; background: #d7baa0; color: #2b1b16; font: 500 13px Inter, Arial, sans-serif; }
.m2-rank-filters .m2-button { min-height: 43px; white-space: nowrap; }
.m2-rank-scroll { max-width: 100%; overflow-x: auto; }
.m2-rank-table { width: 100%; min-width: 570px; border-collapse: collapse; text-align: left; }
.m2-rank-table th { padding: 12px 14px; border-bottom: 1px solid #ae7950; color: #e9c38f; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.m2-rank-table td { padding: 13px 14px; border-bottom: 1px solid var(--m2-line); color: #e8d8c3; font-size: 13px; }
.m2-rank-table tbody tr:nth-child(odd) { background: rgba(255, 218, 171, .035); }
.m2-rank-table tbody tr:hover { background: rgba(226, 156, 79, .11); }
.m2-rank-table .m2-rank-number { color: #efb976; font: 700 15px Cinzel, Georgia, serif; }
.m2-rank-table .m2-rank-name { color: #fff0d2; font-weight: 700; overflow-wrap: anywhere; }
.m2-rank-empire { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.m2-rank-empire img { width: 26px; height: 26px; object-fit: contain; }
.m2-rank-empty { margin: 0; padding: 34px 15px; border: 1px dashed var(--m2-line); color: var(--m2-muted); text-align: center; }
.m2-rank-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; margin-top: 19px; }
.m2-rank-pages { display: flex; flex-wrap: wrap; gap: 10px; }
.m2-rank-pages a { display: inline-block; padding: 8px 11px; border: 1px solid var(--m2-line); color: var(--m2-gold-light); font-size: 11px; text-decoration: none; }
.m2-rank-pages a:hover { border-color: #c18a50; background: #60402f; }
.m2-rank-footer small { color: #b99e82; font-size: 11px; }
.m2-download-hero { display: flex; align-items: center; min-height: 310px; padding: clamp(24px, 5vw, 48px); border: 1px solid #9c6842; background: linear-gradient(90deg, rgba(30, 17, 13, .97), rgba(37, 20, 14, .72) 63%, rgba(37, 20, 14, .18)), url(../img/hero-starlongju2.png) center / cover; }
.m2-download-copy { max-width: 460px; }
.m2-download-copy h2 { margin: 9px 0 25px; color: #fff0cd; font: 600 clamp(25px, 3vw, 38px)/1.2 Cinzel, Georgia, serif; }
.m2-download-cta { display: inline-flex; align-items: center; gap: 15px; }
.m2-requirements { margin-top: 18px; border: 1px solid var(--m2-line); background: linear-gradient(145deg, #493024, #271b16); }
.m2-requirements summary { padding: 19px 24px; color: #ffe0ac; font: 600 16px Cinzel, Georgia, serif; cursor: pointer; }
.m2-requirements summary:hover { background: rgba(255, 215, 160, .05); }
.m2-requirements-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0 20px 18px; }
.m2-requirements-card { min-width: 0; padding: 20px; border: 1px solid var(--m2-line); background: rgba(23, 16, 13, .4); }
.m2-requirements-card h3 { margin: 0 0 14px; color: #ffe0ac; font: 600 18px/1.3 Cinzel, Georgia, serif; }
.m2-requirements-card dl { margin: 0; }
.m2-requirements-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--m2-line); font-size: 12px; }
.m2-requirements-card dt { flex: 0 0 40%; color: #cda67d; }
.m2-requirements-card dd { margin: 0; color: #eee0cb; text-align: right; }
.m2-download-note { margin: 0; padding: 0 24px 23px; color: var(--m2-muted); font-size: 12px; line-height: 1.6; }
@media (max-width: 900px) { .m2-rank-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .m2-rank-filters, .m2-requirements-grid { grid-template-columns: 1fr; } .m2-rank-filters .m2-button { width: 100%; } .m2-download-hero { min-height: 280px; } .m2-requirements-card dl div { display: block; } .m2-requirements-card dd { margin-top: 3px; text-align: left; } }
@media (max-width: 700px) {
    .m2-character-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .m2-auth-switch { align-items: stretch; flex-direction: column; }
    .m2-auth-switch .m2-button { width: 100%; }
    .m2-shout-message { display: block; }
    .m2-shout-meta { margin-bottom: 5px; }
    .m2-account-balances,
    .m2-account-actions { grid-template-columns: 1fr; }
    .m2-account-profile { gap: 14px; }
    .m2-account-emblem { flex-basis: 54px; width: 54px; height: 54px; font-size: 34px; }
    .m2-account-detail > span { flex-basis: 100%; }
    .m2-account-detail a { margin-left: 0; }
    .m2-character-card { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; padding: 16px; }
    .m2-character-portrait { width: 60px; height: 60px; }
    .m2-character-portrait img { width: 42px; height: 42px; }
    .m2-character-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .m2-secret-code { padding: 16px; letter-spacing: .1em; }
}
@media (max-width: 720px) {
    .m2-main .content .content-bg-bottom,
    .m2-main .two-boxes .two-boxes-bottom { padding: 18px !important; }
    .m2-main .content table { display: block; max-width: 100%; overflow-x: auto; }
}

@media (max-width: 1180px) {
    .m2-header-inner { padding: 0 25px; gap: 20px; }
    .m2-brand, .m2-brand img { width: 170px; }
    .m2-nav { gap: 14px; }
    .m2-nav a { font-size: 11px; }
    .m2-header-actions { gap: 10px; }
}
@media (max-width: 980px) {
    .m2-menu-toggle { display: flex; order: 3; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; border: 1px solid var(--m2-line); background: transparent; cursor: pointer; }
    .m2-menu-toggle span { width: 20px; height: 2px; margin: 0 auto; background: var(--m2-gold-light); }
    .m2-header-inner { min-height: 96px; }
    .m2-header-actions { margin-left: auto; }
    .m2-nav { display: none; position: absolute; top: 96px; left: 0; right: 0; padding: 12px 25px 22px; background: #2a1a14; border-bottom: 1px solid var(--m2-line); flex-direction: column; align-items: stretch; gap: 0; }
    .m2-nav.is-open { display: flex; }
    .m2-nav a { padding: 12px 0; font-size: 12px; }
    .m2-nav a::after { bottom: 7px; right: auto; width: 35px; }
    .m2-page-shell { grid-template-columns: minmax(0, 1fr) 245px; gap: 26px; padding: 55px 25px 70px; }
    .m2-hero-inner { padding-left: 25px; padding-right: 25px; }
}
@media (max-width: 720px) {
    .m2-header-inner { min-height: 80px; padding: 0 18px; }
    .m2-nav { top: 80px; }
    .m2-brand, .m2-brand img { width: 142px; }
    .m2-header-login { display: none; }
    .m2-header-actions .m2-button { min-height: 35px; padding: 7px 10px; font-size: 9px; max-width: 132px; }
    .m2-hero { min-height: 580px; background-position: 63% center; }
    .m2-hero-shade { background: linear-gradient(90deg, rgba(32, 18, 12, .85), rgba(35, 19, 11, .25)), linear-gradient(0deg, rgba(25, 13, 9, .88), transparent 65%); }
    .m2-hero-inner { padding: 75px 22px 25px; }
    .m2-hero-copy { width: 100%; max-width: 500px; }
    .m2-hero h1 { font-size: clamp(37px, 9vw, 56px); }
    .m2-page-shell { display: block; padding: 48px 20px 62px; }
    .m2-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 55px; }
    .m2-footer-inner { padding: 32px 20px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
    .m2-header-inner { gap: 8px; padding: 0 12px; }
    .m2-brand, .m2-brand img { width: 110px; }
    .m2-header-actions { gap: 3px; }
    .m2-header-actions .m2-button { max-width: 106px; padding: 6px; font-size: 8px; }
    .m2-languages summary { padding: 4px; }
    .m2-hero { min-height: 560px; }
    .m2-hero-actions { gap: 9px; }
    .m2-hero-actions .m2-button { width: 100%; }
    .m2-section-heading { align-items: flex-start; }
    .m2-section-heading .m2-section-link { margin-top: 8px; font-size: 10px; }
    .m2-aside { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .m2-site *, .m2-site *::before, .m2-site *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
