/* The public MWDS theme. Admin continues using its preserved templates. */
:root {
    --mh-site-max: 1320px;
    --mh-soft-line: #9bb7c21c;
    --mh-panel-raised: #101c25;
}
.mh-page .mh-header, .mh-page .mh-footer { font-family: var(--mh-sans); }
.mh-page .mh-nav > a { display: inline-flex; align-items: center; min-height: 44px; }
.mh-page .mh-nav a:hover, .mh-page .mh-nav summary:hover { color: var(--mh-gold); }
.mh-account-menu { position: relative; }
.mh-account-toggle { display: flex; align-items: center; gap: 9px; min-height: 44px; list-style: none; cursor: pointer; }
.mh-account-toggle::-webkit-details-marker { display: none; }
.mh-account-toggle svg { width: 13px; height: 13px; }
.mh-account-menu[open] .mh-account-toggle svg { transform: rotate(180deg); }
.mh-account-panel { position: absolute; right: 0; top: calc(100% + 13px); width: 255px; padding: 17px; border: 1px solid var(--mh-line); background: #0a141dfc; box-shadow: 0 18px 45px #0007; z-index: 80; letter-spacing: 0; }
.mh-account-name { overflow-wrap: anywhere; color: var(--mh-white); font-size: 13px; font-weight: 600; }
.mh-account-currency { display: flex; gap: 16px; color: var(--mh-gold); font-size: 10px; margin: 7px 0 13px; }
.mh-account-panel > a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; border-top: 1px solid var(--mh-soft-line); font-size: 12px; color: var(--mh-copy); }
.mh-account-panel > a svg { width: 15px; height: 15px; }
.mh-account-panel > a:first-of-type { margin-top: 12px; }
.mh-page .mh-footer { position: relative; z-index: 1; }
.mh-page .mh-language select { color: var(--mh-copy); }
.mh-page .mh-language input[type=hidden] { display: none; }
.mh-back-top { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border: 1px solid var(--mh-line); background: #101c25f5; color: var(--mh-ice); opacity: 0; pointer-events: none; z-index: 40; cursor: pointer; }

/* A quiet extension of the homepage artwork, with clear, solid content panels. */
body.mh-page.mh-interior { position: relative; min-height: 100vh; padding-top: 0 !important; margin: 0; background: var(--mh-bg) !important; color: var(--mh-white); font-family: var(--mh-sans); cursor: auto; }
body.mh-interior::before { content: ""; position: absolute; top: 70px; left: 0; right: 0; height: 650px; pointer-events: none; background: linear-gradient(180deg, #060c1299, #060c12 95%), linear-gradient(90deg, #060c12b3, #060c1233), url(./images/hero-desktop.webp) center top/cover no-repeat; opacity: .48; z-index: 0; }
body.mh-interior::after { display: none !important; }
.mh-interior-content { position: relative; z-index: 1; min-height: 55vh; outline: none; }
.mh-interior :is(h1, h2, h3, p, strong, small) { overflow-wrap: anywhere; }
.mh-interior :is(input, select, textarea) { max-width: 100%; font-family: var(--mh-sans); }
.mh-interior :is(input, select, textarea):focus-visible { outline: 2px solid var(--mh-ice); outline-offset: 3px; }
.mh-interior :is(button, a, input, select) { -webkit-tap-highlight-color: #9edce922; }
.mh-interior .force-wrap { overflow-wrap: anywhere; min-width: 0; }
.mh-embedded > .mh-header, .mh-embedded > .mh-footer, .mh-embedded > .mh-skip, .mh-embedded > .mh-snow, .mh-embedded > .mh-back-top { display: none !important; }

/* Realm: existing statistics, search, roster and two-column lower panels. */
.portal-shell, .news-v12-shell { width: min(var(--mh-site-max), calc(100% - 80px)); margin: 48px auto 72px; position: relative; }
.portal-hero, .v12-hero { position: relative; padding: 36px 0 34px; border-bottom: 1px solid var(--mh-line); }
.portal-kicker, .v12-kicker { color: var(--mh-gold); font: 650 10px/1.7 var(--mh-sans); letter-spacing: .21em; text-transform: uppercase; }
.portal-title, .v12-title { margin: 14px 0 18px; color: var(--mh-white); font: 400 clamp(38px, 4.6vw, 60px)/1.1 MWDSWarcraft, var(--mh-serif); letter-spacing: .015em; }
.portal-copy, .v12-copy { max-width: 700px; color: var(--mh-copy); font: 400 14px/1.85 var(--mh-sans); }
.portal-actions, .portal-tabs, .v12-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.portal-btn, .v12-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 11px 17px; border: 1px solid var(--mh-line); background: #10212d80; color: #cfdee4 !important; text-decoration: none; font: 650 11px/1.4 var(--mh-sans); letter-spacing: .03em; cursor: pointer; transition: background .18s, border-color .18s; }
.portal-btn:hover, .v12-btn:hover { background: #1b303e; border-color: #6b92a1; color: var(--mh-white) !important; }
.portal-btn.primary, .v12-btn.primary { border-color: #d4ba89; background: linear-gradient(135deg, #e3cda1, #bd9d68); color: #1a160f !important; }
.portal-btn.primary:hover, .v12-btn.primary:hover { background: #eddbb6; }
.v12-btn.active { color: var(--mh-gold) !important; border-color: #d6b78377; background: #d6b7830c; }
.portal-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto !important; gap: 12px; margin-top: 25px; }
.portal-field { position: relative; min-width: 0; }
.portal-field i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--mh-copy); font-size: 14px; }
.portal-field input, .portal-field select, .portal-input { width: 100%; min-height: 46px; border: 1px solid var(--mh-line); border-radius: 2px; padding: 11px 14px; background: #0a131c; color: var(--mh-white); font-size: 14px; }
.portal-field.has-icon input { padding-left: 42px; }
.portal-field input::placeholder { color: #8296a4; }
.portal-section, .v12-section { margin-top: 24px; padding: 25px; border: 1px solid var(--mh-soft-line); background: #0c151df5; }
.portal-section-head, .v12-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 17px; border-bottom: 1px solid var(--mh-soft-line); }
.portal-section-head h2, .v12-section-head h2 { font: 400 25px/1.3 var(--mh-serif); color: var(--mh-white); letter-spacing: -.02em; }
.portal-section-head p, .v12-section-head p, .portal-section-head small { margin-top: 5px; color: var(--mh-copy); font-size: 12px; line-height: 1.7; }
.portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.portal-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.portal-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-card { display: block; min-width: 0; padding: 17px; border: 1px solid var(--mh-soft-line); background: #09121b; }
.portal-card-title { display: block; color: #d6e2e8; font-size: 13px; font-weight: 600; }
.portal-card-meta { display: block; color: var(--mh-copy); font-size: 11px; margin-top: 5px; }
.portal-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid var(--mh-line); border-radius: 2px; background: #13202b66; color: var(--mh-ice); font: 600 10px/1.5 var(--mh-sans); letter-spacing: .025em; }
.portal-badge.online { color: #9dd4b3; border-color: #9dd4b333; background: #9dd4b309; }
.portal-badge.online i { font-size: 6px; }
.portal-badge.alliance { color: #a9cde7; border-color: #a9cde72b; }
.portal-badge.horde { color: #e6aaa3; border-color: #e6aaa32b; }
.portal-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 25px; }
.portal-stat { min-width: 0; padding: 21px; border: 1px solid var(--mh-soft-line); background: #0b151ef2; }
.portal-stat b { display: block; font: 400 32px/1.15 var(--mh-serif); color: #dfc59a; }
.portal-stat span { display: block; margin-top: 8px; color: var(--mh-copy); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.portal-section .portal-stat-grid { margin-top: 0; }
.portal-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #354d5a #0a121a; }
.portal-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.portal-table th { padding: 10px 13px 14px; color: #8fa5b3; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: left; border-bottom: 1px solid var(--mh-line); }
.portal-table td { padding: 15px 13px; border-bottom: 1px solid var(--mh-soft-line); color: var(--mh-copy); font-size: 13px; }
.portal-table tbody tr:last-child td { border-bottom: 0; }
.portal-table tr:hover td { background: #9edce905; }
.portal-table a { color: #e2ebef; }
.portal-table a:hover { color: var(--mh-gold); }
.portal-player-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.portal-player-cell > span:last-child { display: block; min-width: 0; }
.portal-player-cell strong { display: block; font-weight: 600; }
.portal-player-cell small { display: block; margin-top: 3px; color: #8fa5b3; font-size: 10px; line-height: 1.5; }
.portal-player-icons { position: relative; width: 42px; height: 34px; display: inline-block; flex: 0 0 42px; }
.portal-player-icons img { display: block; object-fit: cover; background: #0a141e; }
.portal-player-race { position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #9edce94d; }
.portal-player-class { position: absolute; right: 0; bottom: -1px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #0c151d; }
.realm-v12-zone { color: var(--mh-copy); }
.portal-empty, .v12-empty { padding: 46px 22px; border: 1px dashed var(--mh-line); background: #09121b; color: var(--mh-copy); text-align: center; font-size: 13px; }
.v12-empty i { display: block; margin-bottom: 14px; color: var(--mh-gold); font-size: 24px; }
.v12-empty strong { display: block; margin-bottom: 7px; color: var(--mh-white); font: 400 24px/1.3 var(--mh-serif); }

/* News: preserve categories, featured story, card grid and article layout. */
.news-v12-filter { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.news-v12-filter a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 15px; color: var(--mh-copy); border: 1px solid var(--mh-line); font-size: 11px; background: #0a141c; }
.news-v12-filter a.active, .news-v12-filter a:hover { color: #e4cc9f; border-color: #d6b78370; background: #d6b7830b; }
.news-v12-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-v12-card { display: flex; flex-direction: column; min-height: 320px; min-width: 0; border: 1px solid var(--mh-soft-line); background: #09121b; overflow: hidden; transition: border-color .2s; }
.news-v12-card:hover { border-color: #9edce966; }
.news-v12-card > img { width: 100%; height: 175px; object-fit: cover; }
.news-v12-card-body { display: flex; flex-direction: column; flex: 1; padding: 23px; }
.news-v12-card .meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; color: var(--mh-gold); font: 500 9px/1.6 var(--mh-sans); letter-spacing: .09em; text-transform: uppercase; }
.news-v12-card .meta > span:last-child { color: #8fa5b3; }
.news-v12-card h2 { margin: 14px 0 12px; color: var(--mh-white); font: 400 25px/1.3 var(--mh-serif); letter-spacing: -.02em; }
.news-v12-card p { color: var(--mh-copy); font: 400 13px/1.8 var(--mh-sans); }
.news-v12-featured { grid-column: span 2; }
.news-v12-featured > img { height: 250px; }
.news-v12-featured h2 { font-size: 32px; }
.news-v12-shell > article > .v12-section { background: #0c151d; }
.news-v12-shell article .v12-copy { color: var(--mh-copy); }
.news-v12-shell > article > .v12-section > div { max-width: 920px; margin-inline: auto; color: var(--mh-copy) !important; font-size: 15px !important; line-height: 1.9 !important; }
.news-v12-shell article .v12-section :is(p, ul, ol, blockquote, h2, h3) { margin-bottom: 1.1em; }
.news-v12-shell article .v12-section :is(h2, h3) { margin-top: 1.4em; color: var(--mh-white); font: 400 28px/1.35 var(--mh-serif); }
.news-v12-shell article .v12-section :is(ul, ol) { padding-left: 1.4em; }
.news-v12-shell article .v12-section ul { list-style: disc; }
.news-v12-shell article .v12-section ol { list-style: decimal; }
.news-v12-shell article .v12-section a { color: var(--mh-ice); text-decoration: underline; text-underline-offset: 4px; }
.news-v12-shell article .v12-section blockquote { border-left: 2px solid var(--mh-gold); padding-left: 22px; color: #c4d2db; }

/* Existing shop layout, refreshed surfaces and type. */
.qm-page { width: min(1400px, calc(100% - 80px)); padding: 48px 0 72px; font-family: var(--mh-sans); }
.qm-topbar { padding: 34px 0; margin-bottom: 25px; background: none; border: 0; border-bottom: 1px solid var(--mh-line); border-radius: 0; box-shadow: none; backdrop-filter: none; }
.qm-title { font: 400 clamp(34px, 4.2vw, 54px)/1.15 MWDSWarcraft, var(--mh-serif); margin: 12px 0 15px; letter-spacing: .01em; }
.qm-subtitle { color: var(--mh-copy); line-height: 1.85; max-width: 650px; }
.qm-kicker { color: var(--mh-gold); font-size: 10px; font-weight: 650; letter-spacing: .21em; }
.qm-section-head h2, .qm-category-head h2 { color: var(--mh-white); font: 400 25px/1.3 var(--mh-serif); letter-spacing: -.02em; }
.qm-hero h2 { color: var(--mh-white); font-family: var(--mh-serif); font-weight: 400; line-height: 1.15; }
.qm-hero-tag { font-size: 9px; letter-spacing: .1em; font-weight: 600; }
.qm-card-title { font: 400 20px/1.3 var(--mh-serif); }
.qm-card-desc { font-size: 12px; line-height: 1.75; }
.qm-modal-copy h2, .qm-confirm-body h2 { font-family: var(--mh-serif); font-weight: 400; }
.qm-category-tile strong, .qm-confirm-product strong, .qm-bundle-list h3 { font-family: var(--mh-serif); font-weight: 400; }
.qm-price { color: var(--mh-gold); font-size: 12px; }
.qm-modal { z-index: 150; }
.qm-primary-btn, .qm-secondary-btn, .qm-ghost-btn, .qm-login-link { min-height: 44px; }
.qm-searchbox input, .qm-character-select, .qm-sort-select, .qm-modal-select { font-size: 14px; }
.qm-account-strip .qm-balance { border-color: var(--mh-soft-line); background: #0c151de6; }
.qm-nav a.is-active { color: #e4cc9f; border-color: #d6b78366; background: #d6b7830c; }
.qm-nav a.is-active .qm-nav-count { color: #e4cc9f; background: #d6b78314; }
.qm-primary-btn, .qm-login-link { color: #1a160f; background: linear-gradient(135deg, #e3cda1, #bd9d68); box-shadow: none; border-color: #d4ba89; }
.qm-primary-btn:hover, .qm-login-link:hover { background: #eddbb6; box-shadow: none; }
.qm-secondary-btn { color: #cfdee4; background: #10212d80; border-color: var(--mh-line); }
.qm-hero { box-shadow: none; }

/* Account: keep all existing tabs, characters, history and forms. */
:root {
    --acct-bg: var(--mh-bg); --acct-panel: var(--mh-panel); --acct-card: #0b151e; --acct-card-2: #101d27;
    --acct-line: #9bb7c224; --acct-line-strong: #9edce959; --acct-cyan: var(--mh-gold); --acct-cyan2: #e2cfac;
    --acct-text: var(--mh-white); --acct-muted: var(--mh-copy); --acct-dim: #8a9eab; --acct-gold: var(--mh-gold);
}
.acct-shell { width: min(var(--mh-site-max), calc(100% - 80px)); margin: 48px auto 72px; padding: 0; min-height: 60vh; font-family: var(--mh-sans); }
.acct-frame { max-width: none; background: none; border: 0; box-shadow: none; }
.acct-frame::before, .acct-frame::after { display: none; }
.acct-hero { min-height: 0; padding: 36px 0 34px; background: none; gap: 30px; }
.acct-hero h1 { font: 400 clamp(38px, 4.6vw, 60px)/1.1 MWDSWarcraft, var(--mh-serif); text-transform: none; letter-spacing: .015em; color: var(--mh-white); background: none; -webkit-background-clip: border-box; -webkit-text-fill-color: var(--mh-white); margin: 14px 0 18px; text-shadow: none; }
.acct-hero p { line-height: 1.85; }
.acct-eyebrow, .acct-mini-label { font-size: 10px; font-weight: 650; letter-spacing: .17em; }
.acct-last-login { background: #0c151de6; border-color: var(--mh-soft-line); padding: 15px 19px; }
.acct-summary { margin: 26px 0 0; background: #0c151df5; }
.acct-identity h2, .acct-profile-main h3, .acct-character-name h3, .profile-v11-copy h3 { font-family: var(--mh-serif); font-weight: 400; }
.acct-stat strong { color: #dfc59a; font-family: var(--mh-serif); font-weight: 400; font-size: 23px; }
.acct-tabs { margin: 26px 0 0; padding-bottom: 17px; gap: 9px; border-bottom-color: var(--mh-line); }
.acct-tab { min-height: 44px; height: auto; padding: 10px 15px; background: #0c151dd9; color: var(--mh-copy); font-weight: 600; border-radius: 2px; }
.acct-tab.active { color: #e4cc9f; border-color: #d6b78370; background: #d6b7830c; box-shadow: none; }
.acct-tab.active i { color: var(--mh-gold); }
.acct-tab:hover { border-color: #9edce966; background: #15232e; }
.acct-content { padding: 28px 0 0; }
.acct-section-head { padding: 0; }
.acct-section-head h2 { font: 400 27px/1.3 var(--mh-serif); letter-spacing: -.02em; }
.acct-card, .acct-table-card, .acct-character-card, .acct-danger-row, .profile-v11-card { background: #0c151df5; box-shadow: none; }
.acct-card-title > span { font: 400 19px/1.4 var(--mh-serif); }
.acct-card-title { padding-bottom: 15px; margin-bottom: 20px; }
.acct-profile-main h3 { font-size: 25px; }
.acct-roster-preview { background: #0c151df5; }
.acct-character-name h3 { font-size: 24px; }
.acct-roster-name strong, .acct-character-metrics strong { font-family: var(--mh-serif); font-weight: 400; }
.acct-btn { min-height: 44px; font-weight: 650; border-radius: 2px; }
.acct-btn-primary { background: linear-gradient(135deg, #e3cda1, #bd9d68); color: #1a160f !important; border-color: #d4ba89; box-shadow: none; }
.acct-btn-primary:hover { background: #eddbb6; color: #1a160f; }
.acct-btn-ghost { border-color: var(--mh-line); background: #10212d80; color: #cfdee4; }
.acct-btn-ghost:hover { background: #1b303e; border-color: #6b92a1; }
.acct-form :is(input, select), .acct-travel select { min-height: 46px; font-size: 14px; background: #09121b; border-color: var(--mh-line); }
.acct-online-chip i { box-shadow: none; }
.acct-roster-item:hover { background: #9edce906; }
.acct-alert { margin: 24px 0 0; }
.acct-modal { z-index: 150; }
.acct-modal-dialog { background: #0c151d; border-color: var(--mh-line); box-shadow: 0 28px 80px #0009; }
.acct-modal-dialog h2 { color: var(--mh-white); font-family: var(--mh-serif); font-weight: 400; }
.profile-v11-summary { margin-inline: 0; }

/* Registration and login retain their existing form handling. */
.auth-v12 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: min(1120px, calc(100% - 80px)); margin: 65px auto 80px; border: 1px solid var(--mh-line); background: #0c151df5; overflow: hidden; }
.auth-v12-art { padding: 50px; display: flex; flex-direction: column; justify-content: center; min-height: 480px; background: linear-gradient(90deg, #071018d9, #07101880), url(./images/hero-mobile.webp) center/cover; }
.auth-v12-art :is(h1, h2) { font: 400 clamp(30px, 4vw, 46px)/1.15 MWDSWarcraft, var(--mh-serif); color: var(--mh-white); margin: 14px 0 20px; }
.auth-v12-art p { color: #bdccd4; font-size: 14px; line-height: 1.85; }
.auth-v12-form { padding: 45px; display: flex; flex-direction: column; justify-content: center; }
.auth-v12-form > h1 { color: var(--mh-white); font: 400 32px/1.3 var(--mh-serif); margin-top: 12px; }
.auth-v12-form > p { color: var(--mh-copy); font-size: 13px; line-height: 1.8; margin: 12px 0 25px; }
.auth-v12-field { position: relative; }
.auth-v12-field > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8fa5b3; font-size: 13px; }
.auth-v12-field input { width: 100%; min-height: 46px; padding: 11px 13px 11px 40px; border: 1px solid var(--mh-line); border-radius: 2px; }
.auth-v12-field input::placeholder { color: #8fa5b3; opacity: 1; }
.auth-v12-submit { width: 100%; min-height: 48px; margin-top: 9px; border: 1px solid #d4ba89; font-size: 12px; font-weight: 650; cursor: pointer; }
.auth-v12-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; font-size: 12px; line-height: 1.7; }
.auth-v12-links a { display: inline-flex; align-items: center; min-height: 44px; }
.auth-v12-form > h2 { color: var(--mh-white); font: 400 30px/1.3 var(--mh-serif); margin-bottom: 9px; }
.auth-v12-form :is(input:not([type=checkbox]):not([type=hidden]), select) { min-height: 46px; font-size: 16px; color: var(--mh-white); background: #09121b; border-color: var(--mh-line); }
.auth-v12-form button[type=submit], .auth-v12-form .btn-gold { background: linear-gradient(135deg, #e3cda1, #bd9d68) !important; color: #1a160f !important; border-color: #d4ba89 !important; min-height: 46px; }
.auth-v12-form a { color: var(--mh-ice); }
.auth-v12-note { color: var(--mh-copy); font-size: 12px; line-height: 1.8; }

/* Download: a distinct launch point, within the same visual language. */
.md-shell { width: min(var(--mh-site-max), calc(100% - 80px)); margin: 48px auto 72px; }
.md-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 70px; padding: 38px 0 55px; border-bottom: 1px solid var(--mh-line); }
.md-hero h1 { font: 400 clamp(43px, 4.8vw, 66px)/1.05 MWDSWarcraft, var(--mh-serif); margin: 20px 0 25px; letter-spacing: .01em; color: var(--mh-white); }
.md-hero h1 em { font-style: normal; color: #dfc59a; }
.md-hero-description { max-width: 500px; color: var(--mh-copy); font-size: 14px; line-height: 1.9; }
.md-hero .mh-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
.md-hero .mh-text-link { font-size: 12px; }
.md-download-note { color: #93a8b6; font-size: 11px; line-height: 1.8; margin-top: 15px; }
.md-launcher-card { position: relative; overflow: hidden; min-width: 0; border: 1px solid #9edce940; background: #0b1722; padding: 25px 30px 28px; box-shadow: 0 26px 70px #0005; }
.md-launcher-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .26; background: linear-gradient(0deg, #0b1722 8%, transparent 80%), url(./images/hero-desktop.webp) 80% 30%/auto 100%; }
.md-launcher-card > * { position: relative; }
.md-card-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #9db7c6; font-size: 9px; letter-spacing: .14em; }
.md-windows { display: inline-flex; align-items: center; gap: 8px; color: var(--mh-copy); letter-spacing: .03em; }
.md-windows svg { width: 15px; height: 15px; }
.md-crest { width: min(100%, 315px); height: auto; margin: 25px auto 17px; filter: drop-shadow(0 9px 18px #0005); }
.md-launcher-card h2 { color: var(--mh-white); font: 400 27px/1.2 var(--mh-serif); text-align: center; }
.md-launcher-card > p { text-align: center; color: var(--mh-copy); font-size: 11px; margin-top: 10px; }
.md-file-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--mh-line); padding-top: 20px; margin-top: 30px; }
.md-file-row > div { min-width: 0; }
.md-file-row strong { display: block; color: #dce6ec; font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.md-file-row span { display: block; color: var(--mh-copy); font-size: 10px; margin-top: 4px; }
.md-file-row > svg { color: var(--mh-gold); width: 25px; height: 25px; }
.md-steps { margin-top: 46px; }
.md-section-heading { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 23px; }
.md-section-heading h2 { color: var(--mh-white); font: 400 29px/1.3 var(--mh-serif); margin-top: 9px; letter-spacing: -.02em; }
.md-step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.md-step { padding: 25px; border: 1px solid var(--mh-soft-line); background: #0c151df5; }
.md-step-number { display: block; font: 400 28px/1 var(--mh-serif); color: var(--mh-gold); margin-bottom: 23px; }
.md-step h3 { font: 400 23px/1.3 var(--mh-serif); margin-bottom: 12px; color: var(--mh-white); }
.md-step p { color: var(--mh-copy); font-size: 13px; line-height: 1.85; }
.md-requirement { margin-top: 20px; padding: 17px 20px; display: flex; align-items: flex-start; gap: 13px; border-left: 2px solid #d6b78366; background: #d6b78305; color: var(--mh-copy); font-size: 12px; line-height: 1.85; }
.md-requirement svg { color: var(--mh-gold); width: 19px; height: 19px; margin-top: 3px; }
.md-requirement strong { color: #d5e1e7; font-weight: 500; }
.md-files-section { margin-top: 50px; }
.md-addon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.md-addon { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--mh-soft-line); background: #0c151df5; }
.md-addon > svg { color: var(--mh-ice); width: 23px; height: 23px; margin-bottom: 20px; }
.md-addon h3 { font: 400 23px/1.3 var(--mh-serif); color: var(--mh-white); overflow-wrap: anywhere; }
.md-addon p { color: var(--mh-copy); font-size: 11px; line-height: 1.8; margin: 12px 0 22px; overflow-wrap: anywhere; }
.md-addon .mh-text-link { margin-top: auto; min-height: 44px; font-size: 12px; }
.md-error { border: 1px solid #ee6a7444; color: #ffb9c0; padding: 18px 22px; margin-bottom: 24px; background: #321b2380; font-size: 13px; }
.md-unavailable { color: var(--mh-copy); padding: 18px 20px; border: 1px dashed var(--mh-line); margin-top: 26px; font-size: 13px; line-height: 1.8; }
.md-unavailable strong { display: block; color: var(--mh-white); margin-bottom: 4px; }

@media (max-width: 1100px) {
    .portal-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md-hero { gap: 35px; }
    .md-launcher-card { padding-inline: 23px; }
}
@media (max-width: 960px) {
    .mh-account-panel { top: 100%; }
    .portal-shell, .news-v12-shell, .acct-shell, .md-shell { width: calc(100% - 48px); margin-top: 28px; }
    .qm-page { width: calc(100% - 48px); padding-top: 28px; }
    .portal-grid.two { grid-template-columns: 1fr; }
    .portal-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-v12-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-v12-featured { grid-column: span 2; }
    .acct-hero { align-items: flex-start; }
    .auth-v12 { width: calc(100% - 48px); margin-top: 38px; }
    .auth-v12-art, .auth-v12-form { padding: 30px; }
    .md-hero { grid-template-columns: 1fr 1fr; gap: 30px; }
    .md-hero h1 { font-size: 43px; }
    .md-card-top { flex-wrap: wrap; gap: 10px; }
    .md-step-grid, .md-addon-grid { gap: 12px; }
    .md-step, .md-addon { padding: 21px; }
}
@media (max-width: 700px) {
    .mh-account-menu { width: 100%; }
    .mh-account-toggle { justify-content: space-between; min-height: 48px; }
    .mh-account-panel { position: static; width: 100%; margin: 5px 0 15px; box-shadow: none; }
    .portal-shell, .news-v12-shell, .acct-shell, .md-shell { width: calc(100% - 36px); margin: 16px auto 46px; }
    .qm-page { width: calc(100% - 36px); padding: 16px 0 46px; }
    .portal-hero, .v12-hero, .qm-topbar, .acct-hero { padding: 24px 0 28px; }
    .portal-title, .v12-title, .acct-hero h1 { font-size: clamp(34px, 8.5vw, 43px); }
    .portal-copy, .v12-copy, .qm-subtitle, .acct-hero p { font-size: 13px; }
    .portal-section, .v12-section { padding: 18px; margin-top: 19px; }
    .portal-section-head h2, .v12-section-head h2 { font-size: 24px; }
    .portal-stat { padding: 18px 14px; }
    .portal-stat b { font-size: 28px; }
    .portal-stat span { font-size: 9px; }
    .portal-stat-grid, .portal-grid.four { gap: 10px; }
    .portal-toolbar { grid-template-columns: 1fr !important; }
    .portal-toolbar button { width: 100%; }
    .portal-field input, .portal-field select, .portal-input { font-size: 16px; }
    .portal-grid.two { gap: 18px; }
    .portal-table { min-width: 620px; }
    .portal-table th, .portal-table td { padding-inline: 8px; }
    .portal-section-head { align-items: flex-start; flex-direction: column; }
    .portal-player-cell small { white-space: normal; }
    .news-v12-grid { grid-template-columns: 1fr; gap: 16px; }
    .news-v12-featured { grid-column: auto; }
    .news-v12-card > img, .news-v12-featured > img { height: 190px; }
    .news-v12-card-body { padding: 21px; }
    .news-v12-featured h2 { font-size: 27px; }
    .news-v12-filter a { padding-inline: 13px; }
    .qm-title { font-size: clamp(31px, 8vw, 40px); }
    .qm-topbar { gap: 20px; }
    .qm-primary-btn, .qm-login-link { min-height: 46px; }
    .qm-searchbox input, .qm-character-select, .qm-sort-select, .qm-modal-select { font-size: 16px; }
    .qm-section-head h2, .qm-category-head h2 { font-size: 24px; }
    .qm-card-title { font-size: 20px; }
    .acct-hero { display: block; }
    .acct-last-login { display: inline-block; margin-top: 20px; text-align: left; min-width: 0; }
    .acct-summary { margin: 20px 0 0; }
    .acct-tabs { margin: 22px 0 0; }
    .acct-content { padding: 25px 0 0; }
    .acct-section-head h2 { font-size: 25px; }
    .acct-card { padding: 19px; }
    .acct-stat strong { font-size: 21px; }
    .acct-form :is(input, select), .acct-travel select { font-size: 16px; }
    .acct-hero .acct-last-login strong { font-size: 12px; }
    .profile-v11-summary { margin-inline: 0; }
    .auth-v12 { grid-template-columns: 1fr; width: calc(100% - 36px); margin: 30px auto 46px; }
    .auth-v12-art { min-height: 220px; padding: 30px 24px; }
    .auth-v12-form { padding: 28px 24px; }
    .auth-v12-art :is(h1, h2) { font-size: 34px; }
    .md-hero { grid-template-columns: 1fr; gap: 32px; padding: 25px 0 35px; }
    .md-hero h1 { font-size: clamp(37px, 9.5vw, 48px); }
    .md-hero .mh-actions > .mh-button { width: 100%; min-height: 52px; font-size: 12px; }
    .md-hero .mh-actions { align-items: stretch; }
    .md-hero .mh-text-link { align-self: flex-start; }
    .md-launcher-card { padding: 23px 25px; }
    .md-crest { width: min(100%, 280px); margin-block: 15px; }
    .md-step-grid, .md-addon-grid { grid-template-columns: 1fr; gap: 14px; }
    .md-step, .md-addon { padding: 24px; }
    .md-step-number { margin-bottom: 15px; }
    .md-steps, .md-files-section { margin-top: 35px; }
    .md-section-heading h2 { font-size: 27px; }
    .mh-back-top { right: 15px; bottom: 15px; }
    body.mh-interior::before { background-image: linear-gradient(180deg, #060c1299, #060c12 95%), url(./images/hero-mobile.webp); height: 550px; opacity: .3; }
}
@media (prefers-reduced-motion: reduce) {
    .mh-page *, .mh-page *::before, .mh-page *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
