:root {
  --ink-950: #070402;
  --ink-900: #100906;
  --ink-850: #160d08;
  --ink-800: #21140c;
  --ink-700: #332013;
  --line: rgba(235, 165, 51, .24);
  --line-strong: rgba(255, 190, 64, .56);
  --gold-500: #e59a21;
  --gold-400: #ffc352;
  --gold-300: #ffe390;
  --ivory: #fff2d4;
  --muted: #b6a58e;
  --muted-dark: #806f5c;
  --green: #8fbd37;
  --danger: #c8624d;
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
  --radius: 4px;
  --wrap: 1320px;
  --font-display: "Inter", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "FontAwesome";
  src: url("../fonts/fontawesome-webfont.woff2") format("woff2");
  font-style: normal;
  font-weight: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #080604; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(80, 42, 17, .32), transparent 44rem),
    radial-gradient(circle at 8% 62%, rgba(137, 57, 7, .13), transparent 30rem),
    radial-gradient(circle at 92% 78%, rgba(76, 103, 78, .09), transparent 34rem),
    linear-gradient(145deg, #080604 0%, #100a06 46%, #050504 100%);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .5;
  pointer-events: none;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,205,122,.035) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 65%, rgba(255,255,255,.025) 0 1px, transparent 2px),
    repeating-linear-gradient(122deg, rgba(255,255,255,.009) 0 1px, transparent 1px 18px);
  background-size: 41px 41px, 57px 57px, auto;
  mask-image: linear-gradient(to bottom, transparent 12rem, #000 30rem, #000 88%);
}
a { color: inherit; text-decoration: none; transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.fa { display: inline-block; font: normal normal normal 14px/1 FontAwesome; text-rendering: auto; -webkit-font-smoothing: antialiased; }
.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-archive:before{content:"\f187"}.fa-ban:before{content:"\f05e"}.fa-bolt:before{content:"\f0e7"}.fa-book:before{content:"\f02d"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-calendar:before{content:"\f073"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-clock-o:before{content:"\f017"}.fa-comments:before{content:"\f086"}.fa-credit-card:before{content:"\f09d"}.fa-dashboard:before{content:"\f0e4"}.fa-desktop:before{content:"\f108"}.fa-diamond:before{content:"\f219"}.fa-download:before{content:"\f019"}.fa-envelope:before{content:"\f0e0"}.fa-exclamation-triangle:before,.fa-warning:before{content:"\f071"}.fa-eye:before{content:"\f06e"}.fa-facebook:before{content:"\f09a"}.fa-gamepad:before{content:"\f11b"}.fa-globe:before{content:"\f0ac"}.fa-history:before{content:"\f1da"}.fa-home:before{content:"\f015"}.fa-instagram:before{content:"\f16d"}.fa-key:before{content:"\f084"}.fa-life-ring:before{content:"\f1cd"}.fa-lock:before{content:"\f023"}.fa-map-signs:before{content:"\f277"}.fa-music:before{content:"\f001"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-plus:before{content:"\f067"}.fa-rocket:before{content:"\f135"}.fa-shield:before{content:"\f132"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-cart:before{content:"\f07a"}.fa-sign-in:before{content:"\f090"}.fa-sign-out:before{content:"\f08b"}.fa-signal:before{content:"\f012"}.fa-ticket:before{content:"\f145"}.fa-times:before{content:"\f00d"}.fa-trophy:before{content:"\f091"}.fa-university:before{content:"\f19c"}.fa-user:before{content:"\f007"}.fa-user-plus:before{content:"\f234"}.fa-users:before{content:"\f0c0"}.fa-youtube-play:before{content:"\f16a"}
.fa-download::before { content: "\f019"; }.fa-user-plus::before { content: "\f234"; }.fa-trophy::before { content: "\f091"; }
.fa-book::before { content: "\f02d"; }.fa-life-ring::before { content: "\f1cd"; }.fa-comments::before { content: "\f086"; }
.fa-facebook::before { content: "\f09a"; }.fa-globe::before { content: "\f0ac"; }.fa-gamepad::before { content: "\f11b"; }
.fa-user::before { content: "\f007"; }.fa-building::before { content: "\f1ad"; }.fa-shield::before { content: "\f132"; }
.fa-bullhorn::before { content: "\f0a1"; }.fa-scroll::before { content: "\f0f6"; }.fa-bolt::before { content: "\f0e7"; }
.fa-calendar::before { content: "\f073"; }.fa-arrow-right::before { content: "\f061"; }.fa-users::before { content: "\f0c0"; }
.fa-home::before { content: "\f015"; }.fa-shopping-bag::before { content: "\f290"; }.fa-sign-in::before { content: "\f090"; }
.fa-signal::before { content: "\f012"; }.fa-play-circle::before { content: "\f144"; }.fa-key::before { content: "\f084"; }
.fa-dashboard::before { content: "\f0e4"; }.fa-eye::before { content: "\f06e"; }.fa-lock::before { content: "\f023"; }.fa-bar-chart::before { content: "\f080"; }.fa-database::before { content: "\f1c0"; }
.fa-clock-o::before { content: "\f017"; }.fa-arrow-left::before { content: "\f060"; }.fa-sign-out::before { content: "\f08b"; }
.fa-envelope::before { content: "\f0e0"; }.fa-trash::before { content: "\f1f8"; }.fa-archive::before { content: "\f187"; }
.fa-history::before { content: "\f1da"; }.fa-bug::before { content: "\f188"; }.fa-diamond::before { content: "\f219"; }
.fa-credit-card::before { content: "\f09d"; }.fa-rocket::before { content: "\f135"; }.fa-desktop::before { content: "\f108"; }
.fa-instagram::before { content: "\f16d"; }.fa-music::before { content: "\f001"; }
.fa-star::before { content: "\f005"; }.fa-info-circle::before { content: "\f05a"; }.fa-flag::before { content: "\f024"; }
.fa-exclamation-triangle::before { content: "\f071"; }
::selection { background: var(--gold-500); color: var(--ink-950); }
.ms-wrap { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; z-index: 9999; left: 16px; top: -60px; padding: 10px 16px; background: var(--gold-400); color: #000; }
.skip-link:focus { top: 16px; }

.ms-language { margin-left: auto; display: flex; gap: 7px; color: #61736a; }
.ms-language a:hover { color: var(--gold-400); }

.ms-header { position: sticky; z-index: 100; top: 0; height: 94px; border-bottom: 1px solid rgba(240,157,35,.28); background: rgba(7,8,7,.96); box-shadow: 0 12px 34px rgba(0,0,0,.34); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ms-header::before { position: absolute; inset: auto 0 0; height: 1px; content: ""; pointer-events: none; background: linear-gradient(90deg, transparent 4%, rgba(231,153,37,.34) 28%, rgba(231,153,37,.34) 72%, transparent 96%); }
.ms-header__inner { position: relative; height: 100%; display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); }
.ms-brand { width: 220px; height: 88px; display: grid; place-items: center; flex: 0 0 auto; }
.ms-brand img { width: 210px; max-height: 68px; object-fit: contain; filter: drop-shadow(0 0 19px rgba(255,174,35,.3)); transition: filter .25s ease, transform .25s ease; }
.ms-brand:hover img { filter: drop-shadow(0 0 25px rgba(255,174,35,.48)); transform: translateY(-2px) scale(1.035); }
.ms-nav { display: flex; align-items: stretch; align-self: stretch; gap: 2px; margin-left: auto; }
.ms-nav > a { position: relative; min-width: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 0 12px; color: #b7a78f; font-family: var(--font-display); font-size: 12px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
.ms-nav > a .fa { color: #806b4c; font-size: 20px; transition: color .2s ease, filter .2s ease, transform .25s ease; }
.ms-nav > a::before { position: absolute; inset: 27px 12px 20px; content: ""; border: 0; border-radius: 50%; background: rgba(226,123,15,.2); opacity: 0; filter: blur(18px); transform: scale(.6); transition: opacity .25s ease, transform .25s ease; }
.ms-nav > a::after { position: absolute; bottom: -1px; left: 50%; width: 0; height: 3px; content: ""; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); transform: translateX(-50%); box-shadow: 0 0 16px rgba(255,181,58,.45); transition: width .25s ease; }
.ms-nav > a:hover, .ms-nav > a.is-active { color: var(--gold-300); }
.ms-nav > a:hover::before, .ms-nav > a.is-active::before { opacity: .72; transform: scale(1); }
.ms-nav > a:hover .fa, .ms-nav > a.is-active .fa { color: var(--gold-400); filter: drop-shadow(0 0 8px rgba(255,171,35,.48)); transform: translateY(-2px) scale(1.08); }
.ms-nav > a:hover::after, .ms-nav > a.is-active::after { width: 100%; }
.ms-header__account {
  min-height: 56px; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border: 1px solid var(--line-strong);
  color: var(--gold-300); background: rgba(229,139,25,.035); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
}
.ms-header__account:hover { background: var(--gold-500); color: var(--ink-950); }
.ms-nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.ms-nav-toggle > span:not(.sr-only) { display: block; width: 20px; height: 1px; margin: 5px auto; background: var(--gold-400); }

.ms-hero { position: relative; isolation: isolate; min-height: clamp(400px, 34vw, 500px); display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.ms-hero::before { position: absolute; z-index: -1; content: ""; pointer-events: none; }
.ms-hero::before {
  inset: 0;
  background:
    radial-gradient(circle at 72% 45%, rgba(207,73,19,.08), transparent 25rem),
    linear-gradient(90deg, rgba(6,3,2,.96) 0%, rgba(9,5,3,.78) 27%, rgba(8,4,3,.12) 57%, rgba(5,3,2,.26) 100%);
}
.ms-hero__art { position: absolute; z-index: -2; inset: 0; overflow: hidden; background: #090402; pointer-events: none; }
.ms-hero__art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(7,3,2,.08), rgba(7,3,2,.3)); }
.ms-hero__fallback, .ms-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transform: none; transition: none; }
.ms-hero__fallback { opacity: .92; filter: saturate(.9) contrast(1.06); }
.ms-hero__video { opacity: .94; filter: saturate(.9) contrast(1.08); }
.ms-hero__glow { position: absolute; z-index: -1; right: 11%; top: 18%; width: 320px; height: 320px; border-radius: 50%; background: rgba(245,119,9,.22); filter: blur(90px); animation: emberPulse 5s ease-in-out infinite; }
.ms-hero__inner { display: grid; grid-template-columns: minmax(0, 570px); align-content: center; align-items: start; gap: 18px; padding-block: 38px; }
.ms-hero__content { max-width: 570px; align-self: center; }
.ms-eyebrow, .ms-kicker { margin: 0 0 12px; color: var(--gold-400); font-size: 11px; font-weight: 750; letter-spacing: .22em; text-transform: uppercase; }
.ms-hero__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--gold-500); font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.ms-hero__eyebrow::before { width: 34px; height: 1px; flex: none; content: ""; background: var(--gold-500); box-shadow: 0 0 12px rgba(229,154,33,.7); }
.ms-hero__motto { margin: 0; color: var(--ivory); font: 700 clamp(28px, 4vw, 48px)/1.08 var(--font-display); letter-spacing: -.025em; text-shadow: 0 4px 26px rgba(0,0,0,.55); }
.ms-hero__motto em { font-style: normal; background: linear-gradient(180deg, var(--gold-300), var(--gold-400) 50%, var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.ms-hero__lead { max-width: 450px; margin: 12px 0 0; color: #c9b9a0; font-family: var(--font-body); font-size: 15px; line-height: 1.6; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.ms-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.ms-hero__actions .fa { margin-right: 9px; font-size: 12px; }
.ms-button, .btn, .button, .btn-big {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line-strong);
  border-radius: 1px; padding: 11px 20px; cursor: pointer; font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-align: center; text-transform: uppercase;
}
.ms-button--gold, .btn-primary, .btn-big {
  background: linear-gradient(135deg, #e8bd62, #b77d29); border-color: #edca77; color: #071011;
  box-shadow: inset 0 1px rgba(255,255,255,.26), 0 8px 30px rgba(180,121,36,.16);
}
.ms-button--gold:hover, .btn-primary:hover, .btn-big:hover { background: linear-gradient(135deg, #f5d680, #c38b34); color: #000; transform: translateY(-1px); }
.ms-button--ghost, .button, .btn-danger { background: rgba(11,28,29,.55); color: var(--ivory); }
.ms-button--ghost:hover, .button:hover, .btn-danger:hover { border-color: var(--gold-400); color: var(--gold-300); }
.ms-button--full { width: 100%; }
/* Hero stats: flat icon + text (no frame). Desktop layout is at the end of the file, mobile in the v81 block. */
.ms-hero__metrics { position: relative; }
.ms-hero__metrics > .ms-hero-stat { position: relative; min-width: 0; display: flex; flex-direction: row; align-items: center; gap: 12px; }
.ms-hero__metrics .ms-hero-stat > i { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border: 1px solid rgba(236,175,68,.28); color: var(--gold-400); background: rgba(7,4,2,.5); font-size: 13px; }
.ms-hero__metrics .ms-hero-stat > span { min-width: 0; display: flex; flex-direction: column; }
.ms-hero__metrics .ms-hero-stat small { margin-bottom: 3px; color: #9c8a73; font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.ms-hero__metrics .ms-hero-stat strong { margin-top: 0; color: var(--ivory); font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1; white-space: nowrap; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.ms-hero__metrics .ms-hero-stat--status > i, .ms-hero__metrics .ms-hero-stat .server-online { color: var(--green); }
.ms-hero__metrics .ms-hero-stat .server-online { text-transform: uppercase; }
.ms-hero-dot::before { width: 10px; height: 10px; content: ""; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(143,189,55,.6); animation: msHeroDot 1.9s infinite; }
@keyframes msHeroDot { 70% { box-shadow: 0 0 0 11px rgba(143,189,55,0); } 100% { box-shadow: 0 0 0 0 rgba(143,189,55,0); } }
@media (prefers-reduced-motion: reduce) { .ms-hero-dot::before { animation: none; } }

.ms-subhero { border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 50%, rgba(214,96,7,.14), transparent 30rem), linear-gradient(100deg, #0e0704, #241105); }
.ms-subhero .ms-wrap { min-height: 118px; display: flex; flex-direction: column; justify-content: center; }
.ms-subhero span { color: var(--gold-400); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.ms-subhero strong { color: var(--ivory); font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 600; }

#main-content.container {
  display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start;
  gap: 22px; padding-block: 34px 54px;
}
.ms-left-rail, .ms-right-rail { display: grid; gap: 18px; min-width: 0; }
.ms-right-rail { grid-column: 1 / -1; grid-row: 1; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr); gap: 14px; }
.ms-ranking-card { order: -1; }
.ms-left-rail { grid-column: 2; grid-row: 2; }
.ms-main, [role="main"] { grid-column: 1; grid-row: 2; }
.ms-right-rail > section { height: 100%; }

/* Inner pages keep the approved home composition intact while restoring the
   panel's familiar left navigation / content / account hierarchy. */
.ms-page--inner #main-content.container {
  grid-template-columns: 210px minmax(0, 1fr) 270px;
  gap: 18px;
}
.ms-page--inner .ms-left-rail { grid-column: 1; grid-row: 1; }
.ms-page--inner .ms-main,
.ms-page--inner [role="main"] { grid-column: 2; grid-row: 1; }
.ms-page--inner .ms-right-rail {
  grid-column: 3; grid-row: 1; grid-template-columns: minmax(0, 1fr); gap: 18px;
}
.ms-page--inner .ms-ranking-card { order: 0; }
.ms-page--inner .ms-side-nav a {
  min-height: 62px; grid-template-columns: 38px minmax(0, 1fr) 14px; gap: 9px; padding-inline: 10px;
}
.ms-page--inner .ms-side-nav__icon { width: 36px; height: 36px; }
.ms-page--inner .ms-side-nav__icon img { width: 25px; height: 25px; }
.ms-rail-card, .ms-login-card, .ms-ranking-card {
  position: relative; overflow: hidden; border: 1px solid rgba(231,153,37,.2); border-radius: 0; background: radial-gradient(circle at 8% 0, rgba(210,88,8,.12), transparent 12rem), linear-gradient(160deg, rgba(32,15,7,.96), rgba(8,4,3,.98)); box-shadow: 0 20px 48px rgba(0,0,0,.23);
}
.ms-rail-card::before, .ms-login-card::before, .ms-ranking-card::before { position: absolute; z-index: 2; left: 18px; right: 42%; top: 0; height: 2px; content: ""; background: linear-gradient(90deg, var(--gold-500), transparent); box-shadow: 0 0 13px rgba(229,154,33,.34); }
.ms-rail-card { padding: 25px 23px 23px; }
.ms-rail-card h2 { margin: 0; color: var(--ivory); font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.25; }
.ms-rail-card > p:not(.ms-kicker) { margin: 14px 0 0; color: #7f9088; font-size: 12px; }
.ms-rail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0 0; background: transparent; }
.ms-rail-actions a { padding: 11px 6px; border: 1px solid rgba(235,165,51,.22); border-radius: 0; background: rgba(226,126,16,.055); color: var(--gold-300); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.ms-rail-actions a:hover { border-color: var(--gold-500); background: rgba(226,126,16,.13); transform: translateY(-2px); }
.ms-side-nav { display: grid; gap: 9px; border: 0; }
.ms-side-nav a { position: relative; isolation: isolate; min-height: 70px; display: grid; grid-template-columns: 46px minmax(0, 1fr) 18px; gap: 13px; align-items: center; overflow: hidden; padding: 11px 13px; border: 1px solid rgba(235,165,51,.16); border-left: 2px solid rgba(225,143,29,.52); border-radius: 0; background: radial-gradient(circle at 8% 50%, rgba(225,126,17,.13), transparent 7rem), linear-gradient(100deg, rgba(31,15,7,.94), rgba(8,5,3,.98)); color: #a7afa9; box-shadow: 0 10px 28px rgba(0,0,0,.16); }
.ms-side-nav a::before { position: absolute; z-index: -1; inset: 0 auto 0 -55%; width: 38%; content: ""; background: linear-gradient(90deg, transparent, rgba(255,193,82,.11), transparent); transform: skewX(-20deg); transition: left .45s ease; }
.ms-side-nav a::after { position: absolute; right: -24px; top: -25px; width: 65px; height: 65px; border: 1px solid rgba(242,167,47,.09); content: ""; transform: rotate(45deg); transition: border-color .25s ease, transform .35s ease; }
.ms-side-nav__icon { width: 42px; height: 42px; display: grid; place-items: center; transition: transform .25s ease; }
.ms-side-nav__icon img { width: 29px; height: 29px; display: block; object-fit: contain; opacity: .78; filter: drop-shadow(0 0 4px rgba(239,182,75,.1)); transition: opacity .2s ease, filter .25s ease, transform .25s ease; }
.ms-side-nav__copy { min-width: 0; }
.ms-side-nav__copy strong, .ms-side-nav__copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-side-nav__copy strong { color: #dfd3bd; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .025em; }
.ms-side-nav__copy small { margin-top: 4px; color: #716f66; font-size: 8px; letter-spacing: .015em; }
.ms-side-nav__arrow { color: #766246; font-size: 9px; transition: color .2s ease, transform .25s ease; }
.ms-side-nav a:hover { border-color: rgba(242,172,59,.42); border-left-color: var(--gold-400); color: var(--ivory); background-color: rgba(67,31,8,.34); transform: translateX(4px); box-shadow: 0 14px 32px rgba(0,0,0,.24); }
.ms-side-nav a:hover::before { left: 125%; }
.ms-side-nav a:hover::after { border-color: rgba(242,167,47,.23); transform: rotate(60deg) scale(1.12); }
.ms-side-nav a:hover .ms-side-nav__icon { transform: translateX(2px); }
.ms-side-nav a:hover .ms-side-nav__icon img { opacity: 1; filter: drop-shadow(0 0 7px rgba(239,182,75,.3)); transform: scale(1.04); }
.ms-side-nav a:hover .ms-side-nav__arrow { color: var(--gold-300); transform: translateX(3px); }
.ms-event { padding-block: 10px; border-top: 1px solid rgba(255,255,255,.06); }
.ms-event strong, .ms-event small { display: block; }
.ms-event strong { color: var(--ivory); font-size: 12px; }
.ms-event small { color: #708078; font-size: 10px; }

.ms-main, [role="main"] { min-width: 0; }
.content, .content-bg, .content-bg-bottom { min-width: 0; }
.content-bg {
  border: 1px solid var(--line); background: linear-gradient(145deg, rgba(34,17,8,.94), rgba(9,5,3,.98)); box-shadow: var(--shadow);
}
.content-bg-bottom { padding: clamp(20px, 4vw, 34px); }
.content-bg-bottom + .content-bg-bottom { border-top: 1px solid var(--line); }
.content h1, .content h2, .content h3, [role="main"] > h1 {
  color: var(--ivory); font-family: var(--font-display); font-weight: 600; line-height: 1.25;
}
.content h1 { font-size: clamp(27px, 4vw, 38px); }
.content h2 { font-size: 28px; }
.content h3 { font-size: 23px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.margin-bottom-15 { margin-bottom: 15px; }
.pb-5 { padding-bottom: 5px; }
.trenner { width: 60px; height: 2px; margin: 14px auto 26px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); }
.inner-content, .inner-form-box, .ranks-inner-content, .administration-inner-content { min-width: 0; }
.inner-form-box { max-width: 620px; margin: 0 auto; }
.inner-form-border { width: 100%; }

.ms-main { min-width: 0; overflow: visible; }
.ms-feature-strip { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 32px; padding: 0; border: 0; background: transparent; }
.ms-feature-strip::after { position: absolute; left: 10%; right: 10%; bottom: -17px; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(238,159,41,.27), transparent); }
.ms-feature-strip > a { position: relative; min-width: 0; min-height: 92px; display: flex; align-items: center; gap: 15px; overflow: hidden; padding: 19px 17px; border: 1px solid rgba(239,161,42,.2); border-radius: 0; background: radial-gradient(circle at 18% 50%, rgba(222,111,13,.14), transparent 8rem), linear-gradient(135deg, rgba(37,16,6,.95), rgba(9,5,3,.98)); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.ms-feature-strip > a::after { position: absolute; right: -25px; top: -35px; width: 80px; height: 80px; border: 1px solid rgba(255,185,65,.1); content: ""; transform: rotate(45deg); transition: transform .35s ease, border-color .35s ease; }
.ms-feature-strip > a:hover { border-color: rgba(255,186,65,.48); background: #261207; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,.22); }
.ms-feature-strip > a:hover::after { border-color: rgba(255,185,65,.32); transform: rotate(65deg) scale(1.12); }
.ms-feature-mark { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold-400); background: radial-gradient(circle, rgba(231,143,24,.16), rgba(8,4,3,.86)); box-shadow: 0 0 24px rgba(231,143,24,.12); font-size: 16px; animation: runeBreath 3.4s ease-in-out infinite; }
.ms-feature-strip > a:nth-child(2) .ms-feature-mark { animation-delay: .7s; }.ms-feature-strip > a:nth-child(3) .ms-feature-mark { animation-delay: 1.4s; }
.ms-feature-strip strong, .ms-feature-strip small { display: block; }
.ms-feature-strip strong { overflow: hidden; color: var(--ivory); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ms-feature-strip small { overflow: hidden; margin-top: 3px; color: #7c7b70; font-size: 8.5px; text-overflow: ellipsis; white-space: nowrap; }

.ms-news { position: relative; padding: 4px 0 0; }
.ms-news-layout.has-facebook { display: grid; grid-template-columns: 500px minmax(0, 1fr); align-items: stretch; gap: 14px; }
.ms-section-heading { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; padding: 8px 2px 18px; border: 0; border-bottom: 1px solid rgba(235,165,51,.2); background: transparent; }
.ms-section-heading::before { position: absolute; left: 0; bottom: -1px; width: 118px; height: 2px; content: ""; background: linear-gradient(90deg, var(--gold-500), transparent); box-shadow: 0 0 14px rgba(229,154,33,.3); }
.ms-section-heading::after { position: absolute; right: 150px; bottom: -1px; width: 90px; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(255,183,61,.24)); }
.ms-section-heading h2 { margin: 0; color: var(--ivory); font: 600 clamp(27px, 3.5vw, 37px)/1.15 var(--font-display); }
.ms-section-heading a { padding: 8px 11px; border: 1px solid rgba(235,165,51,.2); color: var(--gold-400); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ms-section-heading a:hover { border-color: var(--gold-400); background: rgba(226,136,22,.06); }
.ms-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ms-news-card { position: relative; isolation: isolate; overflow: hidden; min-height: 196px; display: flex; flex-direction: column; padding: 24px 24px 22px 29px; border: 1px solid rgba(235,165,51,.18); border-left: 3px solid rgba(229,137,25,.56); background: linear-gradient(145deg, rgba(35,16,7,.97), rgba(8,4,3,.99)); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.ms-news-card::before { position: absolute; z-index: -1; right: -70px; top: -90px; width: 220px; height: 220px; border-radius: 50%; content: ""; background: rgba(214,95,9,.11); filter: blur(52px); transition: opacity .3s ease, transform .5s ease; }
.ms-news-card::after { position: absolute; right: -50px; bottom: -58px; width: 125px; height: 125px; border: 1px solid rgba(255,177,51,.1); content: ""; transform: rotate(45deg); transition: transform .45s ease, border-color .45s ease; }
.ms-news-card:hover { border-color: rgba(255,187,70,.42); transform: translateY(-4px); box-shadow: 0 24px 54px rgba(0,0,0,.26); }
.ms-news-card:hover::before { opacity: 1.5; transform: scale(1.18); }
.ms-news-card:hover::after { border-color: rgba(255,177,51,.32); transform: rotate(45deg) scale(1.16); }
.ms-news-card--featured { grid-column: 1 / -1; min-height: 300px; justify-content: center; padding: clamp(32px, 5vw, 48px); border-left-width: 4px; background: linear-gradient(90deg, rgba(14,6,3,.98) 0%, rgba(29,11,4,.88) 54%, rgba(25,9,3,.55) 100%), url("../../images/slider/8ff8df335299d82475d9b8bf794cf35f.jpg") center/cover; box-shadow: inset 0 0 90px rgba(0,0,0,.42); }
.ms-news-card--featured::before { right: 4%; top: 4%; width: 360px; height: 260px; background: rgba(229,100,10,.2); filter: blur(80px); }
.ms-news-card__symbol { position: absolute; z-index: -1; right: 30px; bottom: 20px; color: rgba(255,185,69,.065); font-size: 68px; transform: rotate(-8deg); transition: color .3s ease, transform .5s ease; }
.ms-news-card--featured .ms-news-card__symbol { right: 55px; bottom: 38px; font-size: 112px; }
.ms-news-card:hover .ms-news-card__symbol { color: rgba(255,185,69,.1); transform: rotate(0) scale(1.06); }
.ms-news-card__meta { display: flex; justify-content: space-between; gap: 20px; color: #677a71; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.ms-news-card__meta span, .ms-news-card__meta time { display: inline-flex; align-items: center; gap: 7px; }
.ms-news-card__meta span { color: var(--gold-400); }
.ms-news-card__meta .fa { font-size: 8px; }
.ms-news-card h3 { max-width: 650px; margin: 18px 0 8px; color: var(--ivory); font: 600 20px/1.35 var(--font-display); }
.ms-news-card--featured h3 { font-size: clamp(27px, 4vw, 38px); }
.ms-news-card p { position: relative; z-index: 1; max-width: 660px; margin: 0; color: #9a948c; font-size: 12px; }
.ms-news-card > a { position: relative; z-index: 1; width: max-content; margin-top: auto; padding-top: 24px; color: var(--gold-400); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ms-news-card > a .fa { margin-left: 7px; transition: transform .2s ease; }
.ms-news-card > a:hover .fa { transform: translateX(4px); }
.ms-news-card--empty { grid-column: 1/-1; min-height: 120px; justify-content: center; }
.ms-news-hub { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(260px, .78fr); min-height: 430px; gap: 12px; }
.ms-news-featured { position: relative; isolation: isolate; overflow: hidden; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 42px); border: 1px solid rgba(239,161,42,.24); border-bottom: 3px solid var(--gold-500); border-radius: 0; background: linear-gradient(90deg, rgba(12,5,3,.98), rgba(29,11,4,.88) 58%, rgba(20,7,3,.5)), url("../../images/slider/8ff8df335299d82475d9b8bf794cf35f.jpg") center/cover; box-shadow: inset 0 0 110px rgba(0,0,0,.42), 0 22px 55px rgba(0,0,0,.2); }
.ms-news-featured::after { position: absolute; z-index: -1; right: -80px; bottom: -100px; width: 240px; height: 240px; border: 1px solid rgba(255,188,67,.15); content: ""; transform: rotate(45deg); box-shadow: 0 0 0 42px rgba(255,188,67,.025), 0 0 0 84px rgba(255,188,67,.015); }
.ms-news-featured__flare { position: absolute; z-index: -1; right: 8%; top: 22%; width: 180px; height: 180px; border-radius: 50%; background: rgba(229,103,10,.22); filter: blur(62px); animation: newsFlare 4.5s ease-in-out infinite; }
.ms-news-featured__body { max-width: 620px; margin-block: auto; padding-block: 32px; }
.ms-news-featured__label { margin: 0 0 10px; color: var(--gold-400); font-size: 9px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.ms-news-featured h3 { margin: 0 0 13px; color: var(--ivory); font: 650 clamp(27px, 4vw, 39px)/1.16 var(--font-display); letter-spacing: -.025em; }
.ms-news-featured__body > p:last-child { max-width: 560px; margin: 0; color: #a2988c; font-size: 12px; line-height: 1.75; }
.ms-news-featured > a { width: max-content; color: var(--gold-400); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ms-news-featured > a .fa { margin-left: 8px; transition: transform .2s ease; }.ms-news-featured > a:hover .fa { transform: translateX(5px); }
.ms-news-stream { min-width: 0; overflow: hidden; border: 1px solid rgba(239,161,42,.18); border-radius: 0; background: linear-gradient(180deg, rgba(27,13,7,.96), rgba(8,4,3,.99)); box-shadow: 0 22px 55px rgba(0,0,0,.18); }
.ms-news-stream__heading { min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid rgba(239,161,42,.18); color: #d9c4a4; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ms-news-stream__heading .fa { color: var(--gold-400); filter: drop-shadow(0 0 8px rgba(255,176,41,.4)); animation: statusPulse 2.3s ease-in-out infinite; }
.ms-news-stream__item { position: relative; min-height: 74px; display: grid; grid-template-columns: 40px minmax(0,1fr) 18px; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid rgba(255,255,255,.05); }
.ms-news-stream__item:last-child { border-bottom: 0; }
.ms-news-stream__item::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(220,105,12,.12), transparent); opacity: 0; transform: translateX(-18px); transition: opacity .25s ease, transform .25s ease; }
.ms-news-stream__item:hover::before { opacity: 1; transform: translateX(0); }
.ms-news-stream__icon { position: relative; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,184,64,.22); border-radius: 50%; color: #b9853c; background: rgba(7,3,2,.58); transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.ms-news-stream__item:hover .ms-news-stream__icon { border-color: var(--gold-400); color: var(--gold-300); transform: rotate(-5deg) scale(1.05); }
.ms-news-stream__content { position: relative; z-index: 1; min-width: 0; }
.ms-news-stream__content small, .ms-news-stream__content strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-news-stream__content small { color: #665f57; font-size: 8px; letter-spacing: .06em; }
.ms-news-stream__content strong { margin-top: 3px; color: #bdb1a1; font-size: 11px; font-weight: 650; }
.ms-news-stream__item > .fa { position: relative; z-index: 1; color: #604f3a; font-size: 9px; transition: color .2s ease, transform .2s ease; }
.ms-news-stream__item:hover > .fa { color: var(--gold-400); transform: translateX(3px); }
.ms-news-empty { min-height: 150px; display: grid; place-items: center; align-content: center; gap: 10px; border: 1px solid var(--line); color: #766d64; }.ms-news-empty .fa { color: var(--gold-500); font-size: 24px; }
.ms-facebook-embed { width: min(500px, 100%); min-height: 180px; display: grid; place-items: start center; overflow: hidden; margin: 0 auto 22px; background: #fff; }
.ms-news-layout.has-facebook .ms-facebook-embed { height: 520px; margin: 0; }
.ms-news-layout.has-facebook .ms-news-hub { min-height: 520px; grid-template-columns: 1fr; grid-template-rows: minmax(240px, 1fr) auto; }
.ms-news-layout.has-facebook .ms-news-featured { min-height: 240px; padding: 25px; }
.ms-news-layout.has-facebook .ms-news-featured__body { padding-block: 15px; }
.ms-news-layout.has-facebook .ms-news-featured h3 { font-size: clamp(22px, 2.4vw, 31px); }
.ms-news-layout.has-facebook .ms-news-stream__item { min-height: 67px; }
.ms-facebook-embed iframe { display: block; max-width: 100%; border: 0 !important; }
.ms-discord-banner { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 110px minmax(0, 1fr) auto minmax(190px, auto); align-items: center; gap: 25px; margin-top: 24px; padding: 26px 28px; border: 1px solid rgba(235,165,51,.25); border-radius: 0; background: radial-gradient(circle at 12% 50%, rgba(236,136,19,.17), transparent 18rem), linear-gradient(110deg, #2c1407, #100705 68%, #080403); box-shadow: 0 22px 58px rgba(0,0,0,.24); }
.ms-discord-banner::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(105deg, transparent 35%, rgba(255,201,101,.055) 48%, transparent 60%); transform: translateX(-100%); animation: discordSweep 7s ease-in-out infinite; }
.ms-discord-banner__signal { position: relative; width: 88px; height: 88px; display: grid; place-items: center; }
.ms-discord-banner__signal span { position: absolute; inset: 0; border: 1px solid rgba(255,180,55,.17); border-radius: 50%; animation: discordRing 3.6s ease-out infinite; }
.ms-discord-banner__signal span:nth-child(2) { animation-delay: 1.2s; }.ms-discord-banner__signal span:nth-child(3) { animation-delay: 2.4s; }
.ms-discord-banner__signal > .fa { position: relative; z-index: 2; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,190,76,.42); border-radius: 50%; color: var(--gold-300); background: rgba(20,8,3,.86); box-shadow: 0 0 34px rgba(218,105,10,.24); font-size: 20px; animation: discordFloat 4s ease-in-out infinite; }
.ms-discord-banner__copy .ms-kicker { margin-bottom: 5px; }
.ms-discord-banner__copy h2 { margin: 0; color: var(--ivory); font: 650 clamp(20px, 2.5vw, 28px)/1.2 var(--font-display); }
.ms-discord-banner__copy > p:last-child { max-width: 590px; margin: 8px 0 0; color: #8b8177; font-size: 11px; }
.ms-discord-banner__status { min-width: 130px; padding-left: 22px; border-left: 1px solid rgba(235,165,51,.16); }
.ms-discord-banner__status span, .ms-discord-banner__status small { display: block; }
.ms-discord-banner__status span { color: #b8aa96; font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.ms-discord-banner__status span i { width: 6px; height: 6px; display: inline-block; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(143,189,55,.72); animation: statusPulse 2s ease-in-out infinite; }
.ms-discord-banner__status small { margin-top: 5px; color: #655d54; font-size: 8px; }
.ms-discord-banner__button { min-height: 62px; display: flex; align-items: center; gap: 13px; padding: 12px 16px; border: 1px solid rgba(255,190,76,.42); color: #171007; background: linear-gradient(135deg, #f1c35d, #c98426); box-shadow: 0 10px 30px rgba(176,90,13,.18); }
.ms-discord-banner__button > .fa:first-child { font-size: 17px; }.ms-discord-banner__button > .fa:last-child { margin-left: auto; font-size: 10px; }
.ms-discord-banner__button span { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ms-discord-banner__button small { display: block; margin-top: 1px; font-size: 7px; font-weight: 600; opacity: .6; }
.ms-discord-banner__button:hover { color: #0d0904; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(176,90,13,.28); }
.ms-discord-banner--rail { height: 260px; grid-template-columns: 58px minmax(0, 1fr); grid-template-rows: auto auto minmax(48px, 1fr); align-content: stretch; gap: 14px 13px; margin-top: 0; padding: 20px 18px 18px; }
.ms-discord-banner--rail .ms-discord-banner__signal { width: 54px; height: 54px; }
.ms-discord-banner--rail .ms-discord-banner__signal > .fa { width: 36px; height: 36px; font-size: 14px; }
.ms-discord-banner--rail .ms-discord-banner__copy .ms-kicker { font-size: 8px; }
.ms-discord-banner--rail .ms-discord-banner__copy h2 { font-size: 17px; line-height: 1.25; }
.ms-discord-banner--rail .ms-discord-banner__copy > p:last-child { margin-top: 5px; font-size: 9px; line-height: 1.55; }
.ms-discord-banner--rail .ms-discord-banner__status { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; min-width: 0; padding: 10px 0 0; border-top: 1px solid rgba(235,165,51,.13); border-left: 0; }
.ms-discord-banner--rail .ms-discord-banner__status small { margin-top: 0; }
.ms-discord-banner--rail .ms-discord-banner__button { grid-column: 1 / -1; align-self: end; min-height: 48px; padding: 9px 13px; }
.ms-legacy-banner { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: 1.25fr 1fr auto; align-items: center; gap: 28px; margin-top: 2px; padding: 30px; border: 1px solid var(--line); background: radial-gradient(circle at 0 50%, rgba(218,89,7,.17), transparent 22rem), linear-gradient(110deg, #2a1408, #100805); }
.ms-legacy-banner h2 { margin: 0; color: var(--ivory); font: 600 23px/1.3 var(--font-display); }
.ms-legacy-banner > p { margin: 0; color: #82948a; font-size: 12px; }
/* Home: the community card ends with the news column; the join banner spans both columns. */
.ms-page--home #main-content.container { align-items: stretch; }
.ms-page--home .ms-left-rail { display: flex; flex-direction: column; align-self: stretch; }
.ms-page--home .ms-discord-banner--rail { flex: 1 0 180px; height: auto; min-height: 180px; }
.ms-page--home .ms-legacy-banner { grid-column: 1 / -1; grid-row: 3; justify-self: stretch; width: 100%; }

.ms-card-heading { position: relative; padding: 22px 20px 17px; border-bottom: 1px solid rgba(235,165,51,.15); background: linear-gradient(90deg, rgba(220,97,9,.08), transparent); }
.ms-card-heading span { color: var(--gold-500); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.ms-card-heading h2 { margin: 3px 0 0; color: var(--ivory); font: 600 21px/1.25 var(--font-display); }
.ms-login-card form { padding: 18px; }
.ms-login-card label, .registerForm label { display: block; margin: 0 0 6px; color: #93a198; font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
input[type="text"], input[type="password"], input[type="email"], input[type="number"], select, textarea, .selectform {
  width: 100%; min-height: 46px; border: 1px solid rgba(191,156,89,.22); border-radius: 1px;
  outline: 0; padding: 11px 13px; background: #100805; color: var(--ivory); transition: border-color .18s ease, box-shadow .18s ease;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(217,169,77,.08); }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus { -webkit-text-fill-color: var(--ivory); caret-color: var(--ivory); box-shadow: 0 0 0 1000px #100805 inset, 0 0 0 3px rgba(217,169,77,.05); transition: background-color 9999s ease-out; }
.ms-login-card input { margin-bottom: 13px; }
.ms-captcha { min-height: 76px; overflow: hidden; margin: 2px 0 10px; transform-origin: left top; }
.ms-captcha .g-recaptcha { transform: scale(.78); transform-origin: left top; }
.ms-login-links { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; font-size: 10px; }
.ms-login-links a:hover, .ms-logout-link:hover { color: var(--gold-400); }
.ms-login-card > .ms-button { width: calc(100% - 36px); margin: 18px 18px 0; }
.ms-login-card > .ms-button + .ms-button { margin-top: 9px; }
.ms-logout-link { display: block; margin: 15px 18px 18px; color: #899a91; font-size: 10px; text-align: center; text-transform: uppercase; }

.ms-ranking-card .ms-card-heading::after { position: absolute; right: 19px; top: 50%; content: "İLK 5"; color: rgba(237,191,102,.64); font-size: 9px; font-weight: 750; letter-spacing: .14em; transform: translateY(-50%); }
.ms-rank-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ms-rank-column { min-width: 0; }
.ms-rank-column + .ms-rank-column { border-left: 1px solid rgba(235,165,51,.15); }
.ms-rank-column__heading { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 16px; border-bottom: 1px solid rgba(235,165,51,.15); background: #140a05; color: var(--gold-300); font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ms-rank-column__heading span { display: inline-flex; align-items: center; gap: 7px; }
.ms-rank-column__heading i { color: var(--gold-500); font-size: 10px; }
.ms-rank-column__heading a { color: #83735f; font-size: 8px; letter-spacing: .04em; }
.ms-rank-column__heading a:hover { color: var(--gold-300); }
.ms-rank-panel { display: block; padding: 9px 12px 12px; }
.ms-rank-row { position: relative; min-height: 46px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,.045); font-size: 12px; }
a.ms-rank-row:hover { color: var(--gold-300); }
.ms-rank-position { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: #8d7960; font: 700 12px/1 var(--font-display); }
.ms-rank-position span { position: relative; z-index: 2; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: currentColor; background: #100906; font-size: 10px; font-weight: 750; box-shadow: inset 0 0 0 3px rgba(255,255,255,.025),0 5px 15px rgba(0,0,0,.25); }
.ms-rank-row.is-podium .ms-rank-position::before,.ms-rank-row.is-podium .ms-rank-position::after { position: absolute; z-index: 1; bottom: 4px; width: 8px; height: 13px; content: ""; border: 1px solid currentColor; background: #100906; }
.ms-rank-row.is-podium .ms-rank-position::before { left: 12px; transform: rotate(16deg); }.ms-rank-row.is-podium .ms-rank-position::after { right: 12px; transform: rotate(-16deg); }
.ms-rank-row:not(.is-podium) .ms-rank-position { width: 44px; height: 32px; }
.ms-rank-row:not(.is-podium) .ms-rank-position span { width: 26px; height: 26px; border-color: rgba(154,127,91,.18); color: #88755d; background: transparent; font-size: 10px; box-shadow: none; }
.ms-rank-row .ms-rank-name { min-width: 0; overflow: hidden; color: #c1c9c4; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.ms-rank-row small { color: #75847c; font-size: 10px; }
.ms-rank-row.is-podium { min-height: 56px; margin: 2px 0; padding-inline: 12px; border: 1px solid transparent; }
.ms-rank-row.is-rank-1 { background: radial-gradient(circle at 9% 50%, rgba(255,198,71,.21), transparent 22%), linear-gradient(90deg, rgba(221,147,35,.18), transparent 76%); border-color: rgba(245,193,80,.28); box-shadow: inset 3px 0 #eab348, 0 7px 20px rgba(0,0,0,.12); }
.ms-rank-row.is-rank-1 .ms-rank-position { color: #f2c55f; text-shadow: 0 0 12px rgba(242,197,95,.36); }
.ms-rank-row.is-rank-1 .ms-rank-name { color: #f2dfb0; font-size: 13px; }
.ms-rank-row.is-rank-2 { background: radial-gradient(circle at 9% 50%, rgba(215,230,232,.13), transparent 22%), linear-gradient(90deg, rgba(182,191,191,.11), transparent 72%); border-left-color: rgba(210,224,226,.48); }
.ms-rank-row.is-rank-2 .ms-rank-position { color: #c4cece; }
.ms-rank-row.is-rank-3 { background: radial-gradient(circle at 9% 50%, rgba(211,126,67,.14), transparent 22%), linear-gradient(90deg, rgba(190,111,56,.12), transparent 72%); border-left-color: rgba(207,136,77,.5); }
.ms-rank-row.is-rank-3 .ms-rank-position { color: #cf884d; }
.ms-all-link { display: block; padding: 14px 10px 3px; color: var(--gold-400); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-align: right; text-transform: uppercase; }

.registerForm { width: 100%; }
.registerForm .margin-bottom-15 { margin-bottom: 17px; }
.registerForm input[type="submit"], .registerForm button[type="submit"] { width: 100%; }
.registerForm input[type="checkbox"] { accent-color: var(--gold-500); }
.selectform { appearance: auto; }
.input { width: 100%; }
.alert { margin: 15px 0; padding: 12px 14px; border: 1px solid var(--line); }
.alert-danger { border-color: rgba(200,98,77,.42); background: rgba(130,45,32,.14); color: #dfa294; }

table { width: 100%; border-collapse: collapse; }
.ranks-inner-content { overflow-x: auto; border: 1px solid var(--line); }
.ranks-inner-content table { min-width: 560px; }
th, td { padding: 13px 12px; border-bottom: 1px solid rgba(255,255,255,.055); text-align: left; }
th { background: #221108; color: var(--gold-300); font-size: 9px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
td { color: #a2afa7; font-size: 12px; }
tr.zebra, tbody tr:nth-child(even) { background: rgba(255,255,255,.018); }
tbody tr:hover { background: rgba(217,169,77,.045); }
.text-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 20px; }
.pagination a, .pagination strong { min-width: 34px; min-height: 34px; display: grid; place-items: center; border: 1px solid var(--line); background: #140a05; color: #b7a68f; }
.pagination strong, .pagination a:hover { border-color: var(--gold-500); color: var(--gold-300); }

.administration-inner-content { display: grid; gap: 16px; }
.input-data-box { padding: 22px; border: 1px solid var(--line); background: rgba(3,11,12,.55); }
.administration-box { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.administration-box .btn { flex: 1 1 145px; }
.box-foot { display: none; }
.buy-box { padding: 18px; border: 1px solid var(--line); background: #140a05; }
.left_td { width: 42%; color: var(--gold-300); font-weight: 650; }
.message { color: #a5b0aa; }
.message a { color: var(--gold-400); }
#news table td { padding: 18px; }

.modal { position: fixed; z-index: 1000; inset: 0; display: none; overflow-y: auto; padding: 30px 18px; background: rgba(0,0,0,.82); }
.modal-content { position: relative; width: min(720px, 100%); margin: 5vh auto; padding: 30px; border: 1px solid var(--line-strong); background: #160c07; box-shadow: var(--shadow); }
.modal-content h2 { color: var(--ivory); font-family: var(--font-display); }
.close { position: absolute; right: 15px; top: 10px; border: 0; background: transparent; color: var(--gold-400); font-size: 30px; cursor: pointer; }

.ms-footer { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(180deg, #100805 0%, #050302 100%); }
.ms-footer::after { position: absolute; z-index: -2; inset: 0; content: ""; background: linear-gradient(90deg, rgba(5,3,2,.88) 0%, rgba(5,3,2,.46) 50%, rgba(5,3,2,.78) 100%), linear-gradient(180deg, rgba(7,4,2,.28), rgba(5,3,2,.87)), url("../images/footer-bg.png") center 44%/cover no-repeat; opacity: .72; filter: saturate(.68) sepia(.12) brightness(.78) contrast(1.08); pointer-events: none; }
.ms-footer__aura { position: absolute; z-index: -1; left: 50%; top: -190px; width: 760px; height: 360px; border-radius: 50%; background: rgba(209,105,13,.16); filter: blur(110px); transform: translateX(-50%); pointer-events: none; }
.ms-footer > .ms-wrap { padding-block: 58px 24px; }
.ms-footer__main { position: relative; display: grid; grid-template-columns: minmax(260px, .85fr) 1.6fr; gap: clamp(48px, 8vw, 120px); padding: 8px 0 42px; }
.ms-footer__main::before { position: absolute; left: 0; top: -59px; width: 190px; height: 2px; content: ""; background: linear-gradient(90deg, var(--gold-500), transparent); box-shadow: 0 0 18px rgba(229,154,33,.36); }
.ms-footer__identity { max-width: 340px; }
.ms-footer__brand { display: inline-block; }
.ms-footer__brand img { width: 84px; max-height: 114px; object-fit: contain; filter: drop-shadow(0 0 20px rgba(238,153,35,.22)); transition: filter .25s ease; }
.ms-footer__brand:hover img,
.ms-footer__brand:focus-visible img {
  filter: brightness(1.08) saturate(1.08) drop-shadow(0 0 18px rgba(255,174,35,.58)) drop-shadow(0 0 34px rgba(229,154,33,.30));
  transform: none;
}
.ms-footer__identity p { margin: 18px 0 22px; color: #82766a; font-size: 12px; line-height: 1.8; }
.ms-footer__socials { display: flex; gap: 8px; }
.ms-footer__socials a { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid rgba(234,159,46,.2); color: #a98c62; background: rgba(255,255,255,.018); }
.ms-footer__socials a:hover { border-color: var(--gold-400); color: var(--gold-300); background: rgba(226,136,22,.08); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.ms-footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 5vw, 72px); padding-top: 4px; }
.ms-footer__nav h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 15px; color: #e7d5b8; font: 650 13px var(--font-display); letter-spacing: .04em; }
.ms-footer__nav h2 .fa { color: var(--gold-500); font-size: 12px; }
.ms-footer__nav a, .ms-footer__nav button { position: relative; display: block; padding: 4px 0; border: 0; background: transparent; color: #766d64; cursor: pointer; font-size: 11px; text-align: left; }
.ms-footer__nav a:hover, .ms-footer__nav button:hover { color: var(--gold-300); transform: translateX(3px); }
.ms-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.045); color: #554f49; font-size: 9px; letter-spacing: .04em; }
.ms-footer__bottom p { margin: 0; }
.discord-widget { position: fixed; z-index: 50; left: 14px; bottom: 14px; max-width: 260px; opacity: .8; }
.pegi, .usk, .safeplay { display: none; }

.is-reveal-ready .reveal { opacity: 0; transform: translateY(18px); }
.is-reveal-ready .reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity .55s ease, transform .55s ease; }

@keyframes emberPulse {
  0%, 100% { opacity: .56; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes floatPanel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes discordRing {
  0% { opacity: 0; transform: scale(.55); }
  24% { opacity: .72; }
  100% { opacity: 0; transform: scale(1.2); }
}
@keyframes discordSweep {
  0%, 28% { transform: translateX(-100%); }
  62%, 100% { transform: translateX(120%); }
}
@keyframes discordFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes statusPulse {
  0%, 100% { opacity: .55; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes runeBreath {
  0%, 100% { border-color: rgba(255,190,64,.4); box-shadow: 0 0 12px rgba(231,143,24,.06); transform: translateY(0); }
  50% { border-color: rgba(255,205,103,.78); box-shadow: 0 0 26px rgba(231,143,24,.2); transform: translateY(-2px); }
}
@keyframes newsFlare {
  0%, 100% { opacity: .52; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1.12); }
}
@keyframes rankBadgePulse {
  0%, 100% { filter: drop-shadow(0 4px 7px rgba(0,0,0,.34)) drop-shadow(0 0 2px rgba(240,181,61,.12)); }
  50% { filter: drop-shadow(0 4px 8px rgba(0,0,0,.38)) drop-shadow(0 0 6px rgba(240,181,61,.28)); }
}

@media (max-width: 1180px) {
  #main-content.container { grid-template-columns: minmax(0, 1fr) 280px; }
  .ms-brand { width: 176px; }
  .ms-brand img { width: 166px; }
  .ms-nav { gap: 0; }
  .ms-nav > a { min-width: 76px; padding-inline: 7px; font-size: 10px; }
  .ms-header__account { padding-inline: 14px; }
}
@media (max-width: 920px) {
  .ms-header { height: 76px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .ms-header__inner { gap: 12px; }
  .ms-brand { width: 150px; height: 68px; }
  .ms-brand img { width: 142px; max-height: 56px; }
  .ms-nav-toggle { display: block; margin-left: auto; }
  .ms-nav {
    position: absolute; left: 0; right: 0; top: 76px; display: none; align-self: auto;
    flex-direction: column; gap: 0; padding: 12px 20px 18px; border-bottom: 1px solid var(--line); background: rgba(4,14,15,.98); box-shadow: var(--shadow);
  }
  .ms-nav.is-open { display: flex; }
  .ms-nav > a { min-height: 44px; border-bottom: 1px solid rgba(255,255,255,.05); }
  .ms-nav > a { min-width: 0; min-height: 52px; flex-direction: row; justify-content: flex-start; gap: 12px; padding-inline: 8px; }
  .ms-nav > a::before { inset: 4px 0; }
  .ms-nav > a .fa { width: 20px; text-align: center; }
  .ms-nav > a::after { display: none; }
  .ms-header__account { padding: 9px 12px; font-size: 9px; }
  .ms-hero { min-height: auto; }
  .ms-hero__fallback, .ms-hero__video { object-position: 58% 20%; }
  .ms-hero__fallback { opacity: .68; }
  .ms-hero__video { opacity: .72; }
  .ms-hero__inner { grid-template-columns: minmax(0, 570px); align-items: start; gap: 18px; padding-block: 36px; }
  #main-content.container { grid-template-columns: 1fr; }
  .ms-right-rail { grid-column: 1; grid-row: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-main, [role="main"] { grid-column: 1; grid-row: 2; }
  .ms-left-rail { grid-column: 1; grid-row: 3; grid-template-columns: 1fr 1.3fr; }
  .ms-page--inner #main-content.container { grid-template-columns: 1fr; }
  .ms-page--inner .ms-main,
  .ms-page--inner [role="main"] { grid-column: 1; grid-row: 1; }
  .ms-page--inner .ms-right-rail { grid-column: 1; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-page--inner .ms-left-rail { grid-column: 1; grid-row: 3; grid-template-columns: 1fr 1.3fr; }
  .ms-discord-banner--rail { grid-column: 1 / -1; height: auto; grid-template-rows: auto; }
  .ms-page--home .ms-left-rail { display: grid; align-self: start; }
  .ms-page--home .ms-discord-banner--rail { height: auto; min-height: 0; }
  .ms-news-layout.has-facebook { grid-template-columns: 1fr; }
  .ms-news-layout.has-facebook .ms-facebook-embed { margin-inline: auto; }
  .ms-news-layout.has-facebook .ms-news-hub { min-height: 430px; grid-template-columns: minmax(0, 1.22fr) minmax(260px, .78fr); grid-template-rows: auto; }
  .ms-news-layout.has-facebook .ms-news-featured { min-height: 360px; }
  .ms-legacy-banner, .ms-page--home .ms-legacy-banner { grid-column: 1 / -1; grid-row: 4; grid-template-columns: 1fr; }
  .ms-discord-banner { grid-template-columns: 90px minmax(0, 1fr) minmax(180px, auto); }
  .ms-discord-banner__status { display: none; }
  .ms-footer__main { grid-template-columns: 1fr; gap: 36px; }
  .ms-footer__identity { max-width: 520px; }
}
@media (max-width: 680px) {
  .ms-wrap { width: min(calc(100% - 24px), var(--wrap)); }
  .ms-header__account { display: none; }
  .ms-hero::before { background: linear-gradient(100deg, rgba(8,4,2,.98), rgba(14,6,3,.83) 72%, rgba(8,4,2,.74)); }
  .ms-hero__fallback, .ms-hero__video { object-position: 60% 18%; }
  .ms-hero__fallback { opacity: .46; }
  .ms-hero__video { opacity: .5; }
  .ms-hero__inner { gap: 20px; padding-block: 32px; }
  .ms-hero__motto { font-size: clamp(29px, 10vw, 44px); }
  .ms-hero__actions { display: grid; grid-template-columns: 1fr 1fr; }
  #main-content.container { gap: 18px; padding-block: 24px 42px; }
  .ms-left-rail { grid-template-columns: 1fr; }
  .ms-discord-banner--rail { grid-column: auto; }
  .ms-side-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .ms-side-nav a { min-height: 68px; }
  .ms-right-rail { grid-template-columns: 1fr; }
  .ms-page--inner .ms-right-rail,
  .ms-page--inner .ms-left-rail { grid-template-columns: 1fr; }
  .ms-ranking-card { order: 0; }
  .ms-rank-columns { grid-template-columns: 1fr; }
  .ms-rank-column + .ms-rank-column { border-top: 1px solid rgba(235,165,51,.15); border-left: 0; }
  .ms-feature-strip { grid-template-columns: 1fr; }
  .ms-news-grid { grid-template-columns: 1fr; }
  .ms-news-card--featured { grid-column: auto; }
  .ms-news-hub { grid-template-columns: 1fr; min-height: 0; }
  .ms-news-layout.has-facebook .ms-news-hub { min-height: 0; grid-template-columns: 1fr; }
  .ms-news-featured { min-height: 360px; }
  .ms-facebook-embed { width: 100%; overflow-x: auto; justify-content: center; }
  .ms-discord-banner { grid-template-columns: 74px minmax(0, 1fr); gap: 18px; padding: 24px 20px; }
  .ms-discord-banner__signal { width: 66px; height: 66px; }
  .ms-discord-banner__signal > .fa { width: 46px; height: 46px; font-size: 17px; }
  .ms-discord-banner__button { grid-column: 1 / -1; }
  .ms-section-heading { align-items: flex-start; flex-direction: column; }
  .ms-section-heading::after { display: none; }
  .content-bg-bottom { padding: 19px 14px; }
  .inner-form-box[style] { padding: 8px !important; }
  .ms-footer__nav { grid-template-columns: 1fr 1fr; gap: 25px; }
  .ms-footer__bottom { flex-direction: column; }
  .discord-widget { display: none; }
}

/* v43 — live inner-page system */
.ms-page--inner #main-content.ms-wrap { width: min(calc(100% - 40px), 1480px); }
.ms-page--inner [role="main"] { width: 100%; }
.ms-page--inner .content { width: 100%; }
.ms-page--inner .content-bg,
.ms-auth-card,
.ms-support-page .ms-page-card { border-color: rgba(235,165,51,.22); background: radial-gradient(circle at 92% 0,rgba(211,90,8,.1),transparent 18rem),linear-gradient(145deg,rgba(30,14,7,.98),rgba(7,4,3,.99)); }
.ms-page--inner .content-bg-bottom { padding: clamp(24px,4vw,42px); }
.ms-page--inner .inner-form-box { max-width: 720px; padding: 0 !important; }
.ms-page--inner .inner-form-box > h3:first-child,
.ms-page--inner .content-bg-bottom > h3:first-of-type { margin: 0; color: var(--ivory); font: 600 clamp(23px,3vw,31px)/1.2 var(--font-display); }
.ms-page--inner .inner-form-box > .trenner,
.ms-page--inner .content-bg-bottom > .trenner { width: 84px; margin: 15px 0 28px; background: linear-gradient(90deg,var(--gold-500),transparent); }
.ms-page--inner .text-center + .trenner { margin-inline: auto; background: linear-gradient(90deg,transparent,var(--gold-500),transparent); }
.ms-page--inner .registerForm label { margin-bottom: 7px; color: #9b9e93; font-size: 9px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.ms-page--inner .registerForm input:not([type="hidden"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
.ms-page--inner .registerForm select,
.ms-page--inner .registerForm textarea { min-height: 48px; border-color: rgba(235,165,51,.19); background: rgba(7,4,3,.72); }
.ms-page--inner .registerForm textarea { min-height: 150px; resize: vertical; }
.ms-page--inner .registerForm .btn-big,
.ms-page--inner .registerForm input[type="submit"] { width: 100%; min-height: 48px; border: 1px solid #f1c66f; color: #160d05; background: linear-gradient(135deg,#f0c568,#c88725); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; }
.ms-page--inner .registerForm .btn-big:hover,
.ms-page--inner .registerForm input[type="submit"]:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(205,132,29,.18); }
.ms-page--inner .ranks-inner-content { overflow-x: auto; border: 1px solid rgba(235,165,51,.16); background: rgba(5,3,2,.34); }
.ms-page--inner .ranks-inner-content table { min-width: 640px; }
.ms-page--inner .ranks-inner-content tr:hover { background: rgba(224,132,20,.045); }
.ms-page--inner .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 18px; }
.ms-page--inner .pagination a,
.ms-page--inner .pagination strong { min-width: 34px; min-height: 34px; display: grid; place-items: center; border: 1px solid rgba(235,165,51,.18); color: #9d9385; background: #120905; font-size: 9px; }
.ms-page--inner .pagination strong,
.ms-page--inner .pagination a:hover { border-color: var(--gold-400); color: #130b04; background: var(--gold-400); }

.ms-auth-body { padding: clamp(24px,4vw,42px); }
.ms-auth-form { max-width: 650px; margin: 0 auto; }
.ms-auth-help { display: flex; justify-content: center; gap: 18px; margin-top: 18px; }
.ms-auth-help a { display: inline-flex; align-items: center; gap: 7px; color: #8d8c82; font-size: 9px; }
.ms-auth-help a i { color: var(--gold-400); }.ms-auth-help a:hover { color: var(--gold-300); }
.ms-form-grid { display: grid; gap: 15px 18px; }
.ms-form-grid .margin-bottom-15 { margin: 0; }
.ms-form-grid--two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.ms-form-grid--two > .ms-form-agreement,
.ms-form-grid--two > .ms-captcha,
.ms-form-grid--two > input[type="hidden"],
.ms-form-grid--two > input[type="submit"] { grid-column: 1/-1; }
.ms-form-agreement { display: flex; align-items: flex-start; gap: 9px; padding: 13px 14px; border: 1px solid rgba(235,165,51,.13); background: rgba(255,255,255,.014); }
.ms-form-agreement input { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 1px; accent-color: var(--gold-500); }
.ms-form-agreement label { margin: 0 !important; line-height: 1.6; }
.ms-form-agreement button { padding: 0; border: 0; color: var(--gold-400); background: transparent; font: inherit; cursor: pointer; }
.ms-auth-body .ms-captcha { width: 100%; min-height: 75px; margin: 0; }
.ms-notice { display: flex; align-items: center; gap: 10px; max-width: 650px; margin: 0 auto 18px; padding: 13px 15px; border: 1px solid rgba(235,165,51,.18); color: #c7c0b2; background: rgba(255,255,255,.018); font-size: 10px; }
.ms-notice i { color: var(--gold-400); }.ms-notice.is-success { border-color: rgba(117,167,66,.3); }.ms-notice.is-success i { color: #8fba58; }.ms-notice.is-error { border-color: rgba(189,82,57,.34); }.ms-notice.is-error i { color: #c97762; }

.ms-state-panel { min-height: 260px; display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 20px; padding: clamp(28px,5vw,54px); }
.ms-state-panel > i { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(235,165,51,.25); color: var(--gold-400); background: rgba(221,129,18,.07); font-size: 20px; }
.ms-state-panel h2 { margin: 0 0 7px; color: var(--ivory); font: 600 clamp(20px,3vw,28px)/1.25 var(--font-display); }
.ms-state-panel p { margin: 0; color: #8b9189; font-size: 11px; }.ms-state-panel.is-warning > i { color: #d7a349; }
.ms-support-table strong { color: #d9d3c7; }.ms-ticket-status { display: inline-flex; padding: 5px 8px; border: 1px solid rgba(235,165,51,.16); color: #a9a49a; background: rgba(255,255,255,.02); font-size: 8px; white-space: nowrap; }.ms-ticket-status.is-status-0 { color: #d6ad59; }.ms-ticket-status.is-status-1 { color: #8fb267; }.ms-ticket-status.is-status-2 { color: #6f9fb5; }.ms-ticket-status.is-status-3 { color: #9b9182; }

.ms-page--controlpanel .ms-left-rail .ms-rail-card { background: linear-gradient(155deg,rgba(28,13,6,.96),rgba(7,4,3,.98)); }

.buy-box { min-width: 180px; min-height: 92px; display: inline-grid; place-items: center; margin: 6px; border: 1px solid rgba(235,165,51,.18); background: rgba(255,255,255,.018); transition: border-color .2s ease,transform .2s ease; }.buy-box:hover { border-color: var(--gold-400); transform: translateY(-2px); }.buy-box img { max-width: 150px; max-height: 64px; object-fit: contain; }
.ms-page--youtubevideos .inner-form-box { max-width: 920px; }
.ms-page--notice .inner-form-box { max-width: 820px; }
.ms-page--notice .inner-form-box p { color: #a5a69e; line-height: 1.8; }.ms-page--notice .inner-form-box img { max-width: 100%; height: auto; }

@media (max-width: 920px) {
  .ms-page--inner #main-content.ms-wrap { width: min(calc(100% - 28px),1480px); }
  .ms-page--inner .ms-right-rail,.ms-page--inner .ms-left-rail { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 680px) {
  .ms-page--inner #main-content.ms-wrap { width: min(calc(100% - 20px),1480px); }
  .ms-form-grid--two { grid-template-columns: 1fr; }
  .ms-form-grid--two > * { grid-column: 1 !important; }
  .ms-auth-body { padding: 20px 14px; }
  .ms-state-panel { grid-template-columns: 46px minmax(0,1fr); gap: 14px; padding: 24px 18px; }.ms-state-panel > i { width: 44px; height: 44px; }.ms-state-panel .ms-button { grid-column: 1/-1; width: 100%; }
  .ms-auth-help { align-items: center; flex-direction: column; gap: 9px; }
}

.ms-form-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; }
.ms-form-title > a { color: var(--gold-400); font-family: var(--font-body); font-size: 9px; font-weight: 650; letter-spacing: .03em; }
.ms-form-title > a:hover { color: var(--gold-300); }
.ms-download-shield { display: inline-flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid rgba(128,171,49,.25); color: #9bbd64; background: rgba(89,124,32,.07); font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ms-download-links { display: grid; gap: 9px; padding: 20px; }
.ms-download-links > a { min-height: 76px; display: grid; grid-template-columns: 46px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 13px 15px; border: 1px solid rgba(235,165,51,.15); color: #d7d0c3; background: rgba(255,255,255,.014); }
.ms-download-links > a:hover { border-color: rgba(235,165,51,.42); background: rgba(225,132,18,.055); transform: translateX(3px); }
.ms-download-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(235,165,51,.28); color: var(--gold-400); background: rgba(223,128,15,.08); font-size: 15px; }
.ms-download-links small,.ms-download-links strong { display: block; }.ms-download-links small { color: #73786f; font-size: 8px; text-transform: uppercase; }.ms-download-links strong { margin-top: 3px; font-size: 12px; }.ms-download-links b { color: var(--gold-400); font-size: 8px; text-transform: uppercase; }
.ms-system-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid rgba(235,165,51,.15); }.ms-system-grid > section { padding: 22px; }.ms-system-grid > section + section { border-left: 1px solid rgba(235,165,51,.15); }.ms-system-grid h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--ivory); font: 600 16px/1.3 var(--font-display); }.ms-system-grid h2 i { color: var(--gold-400); font-size: 12px; }.ms-system-grid dl { display: grid; gap: 0; margin: 0; }.ms-system-grid dl div { display: grid; grid-template-columns: 42% minmax(0,1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.045); }.ms-system-grid dt { color: #a6947a; font-size: 9px; }.ms-system-grid dd { margin: 0; color: #7f8982; font-size: 9px; }
@media (max-width:680px) { .ms-form-title { align-items:flex-start; flex-direction:column; }.ms-download-links { padding:12px; }.ms-download-links > a { grid-template-columns:40px minmax(0,1fr); }.ms-download-links > a > b { grid-column:2; }.ms-system-grid { grid-template-columns:1fr; }.ms-system-grid > section + section { border-top:1px solid rgba(235,165,51,.15); border-left:0; } }
@media (max-width: 420px) {
  .ms-hero__actions { grid-template-columns: 1fr; }
  .ms-side-nav, .ms-footer__nav { grid-template-columns: 1fr; }
  .ms-news-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* v43 — tamamlanan iç sayfa bileşenleri */
.ms-data-table code { color:#aab2aa; font:500 9px/1.4 var(--font-body); }
.ms-value-chip { display:inline-flex; padding:6px 9px; border:1px solid rgba(137,181,70,.23); color:#a7c475; background:rgba(103,145,44,.07); font-size:9px; font-weight:700; white-space:nowrap; }
.ms-ticket-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-bottom:1px solid rgba(235,165,51,.15); }
.ms-ticket-summary > div { min-width:0; padding:16px 18px; border-right:1px solid rgba(235,165,51,.11); }
.ms-ticket-summary > div:last-child { border-right:0; }
.ms-ticket-summary small,.ms-ticket-summary strong { display:block; }
.ms-ticket-summary small { color:#737c74; font-size:8px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
.ms-ticket-summary strong { overflow:hidden; margin-top:6px; color:#d7d1c4; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.ms-ticket-summary .ms-ticket-status { margin-top:5px; }
.ms-ticket-thread { display:grid; gap:12px; padding:22px; background:rgba(0,0,0,.12); }
.ms-ticket-message { max-width:86%; overflow:hidden; border:1px solid rgba(235,165,51,.13); background:rgba(255,255,255,.017); }
.ms-ticket-message.is-staff { margin-left:auto; border-color:rgba(220,149,39,.28); background:rgba(213,117,13,.055); }
.ms-ticket-message header { display:flex; align-items:center; gap:8px; padding:10px 13px; border-bottom:1px solid rgba(235,165,51,.1); color:#d1c8b7; font-size:9px; text-transform:uppercase; }
.ms-ticket-message header i { color:var(--gold-400); }
.ms-ticket-message > div { padding:14px; color:#969c94; font-size:10px; line-height:1.75; overflow-wrap:anywhere; }
.ms-ticket-reply { padding:22px; border-top:1px solid rgba(235,165,51,.14); }
.ms-ticket-reply .registerForm { max-width:none; }
.ms-closed-ticket { display:flex; align-items:center; justify-content:center; gap:9px; padding:22px; color:#91b464; border-top:1px solid rgba(128,171,49,.18); background:rgba(99,138,43,.055); font-size:10px; }
.ms-ban-panel { display:grid; grid-template-columns:82px minmax(0,1fr); gap:22px; padding:28px; }
.ms-ban-icon { width:76px; height:76px; display:grid; place-items:center; border:1px solid rgba(188,75,53,.32); color:#c8735f; background:rgba(173,66,43,.07); font-size:25px; }
.ms-ban-panel dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; margin:0; }
.ms-ban-panel dl div { min-width:0; padding:12px 14px; border:1px solid rgba(235,165,51,.1); background:rgba(255,255,255,.012); }
.ms-ban-panel dl .is-wide { grid-column:1/-1; }
.ms-ban-panel dt { color:#7d837b; font-size:8px; text-transform:uppercase; }
.ms-ban-panel dd { margin:5px 0 0; color:#d3cdc1; font-size:10px; overflow-wrap:anywhere; }
.ms-page-action { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 28px; border-top:1px solid rgba(235,165,51,.14); background:rgba(255,255,255,.012); }
.ms-page-action p { margin:0; color:#858b84; font-size:10px; }
.ms-payment-result { min-height:360px; display:grid; place-items:center; align-content:center; gap:10px; padding:40px; text-align:center; }
.ms-payment-result > i { width:66px; height:66px; display:grid; place-items:center; border:1px solid currentColor; border-radius:50%; font-size:22px; }
.ms-payment-result.is-success > i { color:#8eb65b; background:rgba(104,153,45,.07); }
.ms-payment-result.is-error > i { color:#cb7764; background:rgba(175,65,43,.07); }
.ms-payment-result h2 { margin:5px 0 0; color:var(--ivory); font:600 clamp(22px,3vw,31px)/1.2 var(--font-display); }
.ms-payment-result p { max-width:520px; margin:0; color:#899088; font-size:10px; line-height:1.7; }
.ms-payment-result > div { display:flex; flex-wrap:wrap; justify-content:center; gap:9px; margin-top:12px; }
.ms-article-content { padding:clamp(24px,4vw,42px); color:#a6aaa1; font-size:11px; line-height:1.9; }
.ms-article-content h1,.ms-article-content h2,.ms-article-content h3 { color:var(--ivory); font-family:var(--font-display); }
.ms-article-content img,.ms-article-content iframe,.ms-article-content video { max-width:100%; height:auto; }
.ms-article-content a { color:var(--gold-400); text-decoration:underline; }
.ms-video-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:22px; }
.ms-video-card { min-width:0; padding:0 0 14px; overflow:hidden; border:1px solid rgba(235,165,51,.15); color:#d5cfc3; background:rgba(255,255,255,.014); text-align:left; cursor:pointer; }
.ms-video-card:hover { border-color:rgba(235,165,51,.42); transform:translateY(-2px); }
.ms-video-card__image { position:relative; aspect-ratio:16/9; display:block; overflow:hidden; background:#060403; }
.ms-video-card__image::after { position:absolute; inset:0; content:""; background:linear-gradient(180deg,transparent 50%,rgba(0,0,0,.58)); }
.ms-video-card__image img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .35s ease; }
.ms-video-card:hover img { transform:scale(1.035); }
.ms-video-card__image i { position:absolute; z-index:2; left:50%; top:50%; width:44px; height:44px; display:grid; place-items:center; border:1px solid rgba(242,194,94,.72); border-radius:50%; color:#f1c660; background:rgba(11,7,4,.75); transform:translate(-50%,-50%); }
.ms-video-card strong,.ms-video-card small { display:block; padding-inline:14px; }
.ms-video-card strong { overflow:hidden; margin-top:12px; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.ms-video-card small { margin-top:4px; color:#767d76; font-size:8px; text-transform:uppercase; }
.ms-video-modal .modal-content { width:min(calc(100% - 30px),900px); padding:20px; background:#0c0705; }
.ms-video-modal .modal-content h2 { margin:0 40px 14px 0; color:var(--ivory); font:600 20px/1.3 var(--font-display); }
.ms-video-frame { position:relative; aspect-ratio:16/9; overflow:hidden; background:#000; }
.ms-video-frame iframe,.ms-video-frame video { position:absolute; inset:0; width:100%; height:100%; border:0; }
.ms-error-page { min-height:430px; display:grid; place-items:center; align-content:center; gap:10px; padding:40px; text-align:center; }
.ms-error-page > span { position:absolute; color:rgba(233,161,47,.045); font:700 clamp(120px,20vw,240px)/1 var(--font-display); pointer-events:none; }
.ms-error-page > i,.ms-error-page h1,.ms-error-page p,.ms-error-page a { position:relative; z-index:1; }
.ms-error-page > i { color:var(--gold-400); font-size:34px; }
.ms-error-page h1 { margin:0; color:var(--ivory); font:600 clamp(25px,4vw,38px)/1.25 var(--font-display); }
.ms-error-page p { margin:0 0 8px; color:#858c84; font-size:10px; }
.ms-payment-methods { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:22px; }
.ms-payment-methods > a { min-height:104px; display:grid; grid-template-columns:minmax(120px,1fr) minmax(130px,1fr) 28px; align-items:center; gap:14px; padding:16px; border:1px solid rgba(235,165,51,.15); color:#cfc8bc; background:rgba(255,255,255,.014); }
.ms-payment-methods > a:hover { border-color:rgba(235,165,51,.42); color:var(--gold-300); transform:translateY(-2px); }
.ms-payment-methods span { min-height:60px; display:grid; place-items:center; padding:8px; background:rgba(255,255,255,.025); }
.ms-payment-methods img { max-width:150px; max-height:55px; object-fit:contain; }
.ms-payment-methods strong { font-size:9px; text-transform:uppercase; }.ms-payment-methods i { color:var(--gold-400); }
.ms-payment-forms { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.ms-payment-forms form { display:grid; align-content:start; gap:12px; padding:28px; }
.ms-payment-forms form + form { border-left:1px solid rgba(235,165,51,.15); }
.ms-payment-forms h2 { margin:0; color:var(--ivory); font:600 19px/1.3 var(--font-display); }
.ms-payment-forms p { min-height:34px; margin:0; color:#7e857e; font-size:9px; line-height:1.7; }
.ms-payment-form-icon { width:46px; height:46px; display:grid; place-items:center; border:1px solid rgba(235,165,51,.24); color:var(--gold-400); background:rgba(219,126,16,.07); font-size:16px; }
@media (max-width:680px) {
  .ms-ticket-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }.ms-ticket-summary > div:nth-child(2) { border-right:0; }.ms-ticket-summary > div:nth-child(-n+2) { border-bottom:1px solid rgba(235,165,51,.11); }
  .ms-ticket-message { max-width:100%; }.ms-ticket-thread,.ms-ticket-reply { padding:14px; }
  .ms-ban-panel { grid-template-columns:1fr; padding:18px; }.ms-ban-panel dl { grid-template-columns:1fr; }.ms-ban-panel dl .is-wide { grid-column:auto; }
  .ms-page-action { align-items:flex-start; flex-direction:column; padding:18px; }.ms-page-action .ms-button { width:100%; }
  .ms-payment-result { min-height:320px; padding:28px 18px; }.ms-payment-result > div,.ms-payment-result .ms-button { width:100%; }
  .ms-video-grid { grid-template-columns:1fr; padding:14px; }.ms-article-content { padding:22px 18px; }
  .ms-payment-methods,.ms-payment-forms { grid-template-columns:1fr; }.ms-payment-methods { padding:14px; }.ms-payment-methods > a { grid-template-columns:1fr 28px; }.ms-payment-methods span { grid-column:1/-1; }.ms-payment-forms form { padding:22px 18px; }.ms-payment-forms form + form { border-top:1px solid rgba(235,165,51,.15); border-left:0; }
}

/* v40: live page structure, contextual sidebars and ranking experience */
[hidden] { display: none !important; }
.ms-feature-strip--four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.ms-feature-strip--four > a { min-height: 82px; padding: 15px 13px; gap: 11px; }
.ms-feature-strip--four .ms-feature-mark { width: 38px; height: 38px; flex-basis: 38px; font-size: 13px; }

.ms-page--inner #main-content.container { grid-template-columns: 220px minmax(0,1fr) 344px; align-items: start; }
.ms-page--inner .ms-right-rail { align-content: start; }
.ms-page--inner .ms-login-card .g-recaptcha { transform: scale(.9); }
.ms-page--inner .ms-login-card, .ms-page--inner .ms-utility-card, .ms-page--inner .ms-account-card { height: auto; }
.ms-utility-card, .ms-account-card { position: relative; overflow: hidden; border: 1px solid rgba(231,153,37,.2); background: radial-gradient(circle at 8% 0,rgba(210,88,8,.12),transparent 12rem),linear-gradient(160deg,rgba(32,15,7,.96),rgba(8,4,3,.98)); box-shadow: 0 20px 48px rgba(0,0,0,.23); }
.ms-utility-card > p { margin: 0; padding: 16px 18px 4px; color: #879087; font-size: 11px; }
.ms-utility-links, .ms-world-links, .ms-account-shortcuts { display: grid; gap: 8px; padding: 14px; }
.ms-utility-links a { min-height: 42px; display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid rgba(235,165,51,.15); color: #c7c1b5; background: rgba(255,255,255,.018); font-size: 10px; }
.ms-utility-links a i { width: 24px; color: var(--gold-400); text-align: center; }
.ms-utility-links a:hover { border-color: var(--gold-500); color: var(--gold-300); transform: translateX(2px); }
.ms-world-links a, .ms-account-shortcuts a { min-height: 60px; display: grid; grid-template-columns: 35px minmax(0,1fr); align-items: center; gap: 10px; padding: 10px 11px; border-bottom: 1px solid rgba(255,255,255,.055); color: #cbc2b3; }
.ms-world-links a:last-child, .ms-account-shortcuts a:last-child { border-bottom: 0; }
.ms-world-links a > i, .ms-account-shortcuts a > i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(235,165,51,.22); color: var(--gold-400); background: rgba(224,126,15,.07); }
.ms-world-links a span, .ms-account-shortcuts a span { min-width: 0; font-size: 10px; font-weight: 700; }
.ms-world-links a small, .ms-account-shortcuts a small { display: block; margin-top: 3px; color: #706d65; font-size: 8px; font-weight: 400; }
.ms-world-links a:hover, .ms-account-shortcuts a:hover { color: var(--gold-300); background: rgba(226,137,22,.055); transform: translateX(2px); }

.ms-page-card { min-width: 0; overflow: hidden; border: 1px solid rgba(235,165,51,.2); background: linear-gradient(145deg,rgba(31,15,7,.96),rgba(7,4,3,.99)); box-shadow: var(--shadow); }
.ms-page-card__header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; border-bottom: 1px solid rgba(235,165,51,.17); background: radial-gradient(circle at 85% 20%,rgba(217,99,8,.13),transparent 20rem); }
.ms-page-card__header h1 { margin: 2px 0 0; color: var(--ivory); font: 600 clamp(25px,3vw,34px)/1.2 var(--font-display); }
.ms-page-card__header p:last-child { max-width: 620px; margin: 7px 0 0; color: #88928b; font-size: 11px; }
.ms-switch-ranking { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 11px 13px; border: 1px solid rgba(235,165,51,.28); color: var(--gold-300); background: rgba(12,21,20,.48); font-size: 9px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.ms-switch-ranking:hover { border-color: var(--gold-400); color: #fff0c7; transform: translateY(-1px); }
.ms-empty-state { min-height: 330px; display: grid; place-items: center; align-content: center; gap: 10px; padding: 35px; text-align: center; }
.ms-empty-state > i { color: var(--gold-400); font-size: 35px; }
.ms-empty-state h1, .ms-empty-state p { margin: 0; color: var(--ivory); }

.ms-podium { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 18px 18px 4px; }
.ms-podium-card { --class-accent: #b88642; position: relative; min-height: 104px; display: flex; align-items: center; gap: 13px; overflow: hidden; padding: 18px 14px 14px 68px; border: 1px solid rgba(235,165,51,.16); background: radial-gradient(circle at 24% 45%,color-mix(in srgb,var(--class-accent) 15%,transparent),transparent 5.8rem),linear-gradient(135deg,#1d0e07,#0b0604); isolation: isolate; }
.ms-podium-card::before { position: absolute; z-index: -1; right: -24px; top: -48px; width: 120px; height: 120px; content: ""; border: 1px solid rgba(235,165,51,.09); transform: rotate(45deg); transition: transform .35s ease,border-color .35s ease; }
.ms-podium-card::after { position: absolute; z-index: -1; right: 13px; bottom: 12px; width: 44px; height: 1px; content: ""; background: linear-gradient(90deg,transparent,var(--class-accent)); opacity: .7; }
.ms-podium-card:hover::before { border-color: rgba(235,165,51,.22); transform: rotate(45deg) scale(1.08); }
.ms-podium-card__rank { position: absolute; z-index: 2; left: 8px; top: 8px; width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: #a98a59; background: rgba(8,5,3,.82); font: 700 10px/1 var(--font-display); }
.ms-podium-card.is-rank-1 { border-color: rgba(238,181,68,.48); box-shadow: inset 0 -2px #d99c2d; }.ms-podium-card.is-rank-1 .ms-podium-card__rank { color: #efc459; }
.ms-podium-card.is-rank-2 .ms-podium-card__rank { color: #c3cece; }.ms-podium-card.is-rank-3 .ms-podium-card__rank { color: #c77c49; }
.ms-podium-card__copy { position: relative; z-index: 2; min-width: 0; width: 100%; display: block; padding: 0; }
.ms-podium-card__copy strong, .ms-podium-card__copy small { display: block; }.ms-podium-card__copy strong { color: #f1e6d0; font-size: 12px; }.ms-podium-card__copy small { margin-top: 2px; color: #958b7e; font-size: 8px; }
.ms-podium--guild .ms-podium-card { align-items: center; padding: 14px 12px 14px 52px; }
.ms-podium--guild .ms-podium-card::after { right: 13px; bottom: 12px; width: 44px; height: 1px; background: linear-gradient(90deg,transparent,var(--gold-500)); }
.ms-guild-crest { position: absolute; z-index: 2; left: 13px; width: 29px; height: 35px; display: grid; place-items: center; color: var(--gold-400); border: 1px solid rgba(235,165,51,.3); clip-path: polygon(50% 0,100% 18%,88% 78%,50% 100%,12% 78%,0 18%); background: #1a0d06; }
.ms-podium--guild .ms-podium-card__copy { padding: 0; }
.ms-class-sigil,.ms-character-emblem { --class-accent: #b88642; color: var(--class-accent); }
.is-warrior { --class-accent: #d29a48; }.is-ninja { --class-accent: #a39b91; }.is-sura { --class-accent: #b56e4f; }.is-shaman { --class-accent: #d1b064; }.is-lycan { --class-accent: #b27a52; }
.ms-podium-portrait,.ms-character-portrait,.ms-profile-portrait { position:relative; display:block; border:0; background:transparent; box-shadow:none; }
.ms-podium-portrait img,.ms-character-portrait img,.ms-profile-portrait img { width:100%; height:100%; display:block; object-fit:cover; }
.ms-podium-portrait::after,.ms-character-portrait::after,.ms-profile-portrait::after,.ms-podium-portrait i,.ms-character-portrait i,.ms-profile-portrait i { display:none; }
.ms-podium-portrait { position:absolute; z-index:2; left:12px; top:50%; width:48px; height:58px; transform:translateY(-50%); }
.ms-class-sigil { position: absolute; z-index: 2; left: 17px; top: 50%; width: 38px; height: 46px; display: grid; place-items: center; border: 1px solid currentColor; background: linear-gradient(155deg,color-mix(in srgb,var(--class-accent) 16%,#160b06),#0d0705); clip-path: polygon(50% 0,94% 18%,84% 78%,50% 100%,16% 78%,6% 18%); transform: translateY(-50%); box-shadow: 0 8px 18px rgba(0,0,0,.28); }
.ms-class-sigil::after { position: absolute; inset: 5px; content: ""; border: 1px solid color-mix(in srgb,var(--class-accent) 30%,transparent); clip-path: inherit; }
.ms-class-sigil i { position: relative; z-index: 1; font: normal 750 10px/1 var(--font-display); letter-spacing: -.04em; }

.ms-ranking-toolbar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 12px; padding: 9px 18px; border-top: 1px solid rgba(235,165,51,.12); border-bottom: 1px solid rgba(235,165,51,.12); background: rgba(255,255,255,.014); }
.ms-ranking-toolbar p { margin: 0; color: #7e8982; font-size: 10px; }.ms-ranking-toolbar p strong { color: var(--gold-300); font-size: 13px; }
.ms-ranking-toolbar label { display: flex; align-items: center; gap: 9px; color: #858b84; font-size: 9px; text-transform: uppercase; }
.ms-ranking-toolbar select { width: 72px; min-height: 34px; padding: 5px 8px; }
.ms-ranking-table-wrap { overflow-x: auto; }
.ms-ranking-table { min-width: 700px; }
.ms-ranking-table th { padding-block: 11px; background: #120905; }
.ms-ranking-table td { height: 62px; padding-block: 8px; }
.ms-ranking-table tbody tr { transition: background .18s ease; }.ms-ranking-table tbody tr:hover { background: rgba(226,139,22,.055); }
.ms-table-rank { width: 29px; height: 29px; display: grid; place-items: center; color: #8f806d; font-size: 10px; }.ms-table-rank.is-top { border: 1px solid rgba(231,170,67,.3); border-radius: 50%; color: var(--gold-300); background: rgba(226,138,21,.08); }
.ms-character { display: flex; align-items: center; gap: 10px; color: #d8d4c9; }.ms-character:hover { color: var(--gold-300); }
.ms-character-emblem { width: 34px; height: 38px; flex: 0 0 34px; display: grid; place-items: center; border: 1px solid currentColor; background: linear-gradient(155deg,color-mix(in srgb,var(--class-accent) 12%,#160b06),#0c0705); clip-path: polygon(50% 0,94% 18%,84% 78%,50% 100%,16% 78%,6% 18%); font: 750 8px/1 var(--font-display); letter-spacing: -.03em; }
.ms-character-portrait { width:38px; height:46px; flex:0 0 38px; }
.ms-character strong { overflow: hidden; max-width: 170px; text-overflow: ellipsis; white-space: nowrap; }
.ms-class-chip { display: inline-flex; padding: 5px 8px; border: 1px solid rgba(235,165,51,.14); color: #b9ab96; background: rgba(226,139,22,.04); font-size: 9px; white-space: nowrap; }
.ms-empire-chip { --empire-color: #9b8060; display: inline-flex; align-items: center; gap: 7px; color: #a9a49a; font-size: 9px; font-weight: 650; white-space: nowrap; }.ms-empire-chip i { width: 7px; height: 7px; display: block; border: 1px solid color-mix(in srgb,var(--empire-color) 80%,white); background: var(--empire-color); transform: rotate(45deg); box-shadow: 0 0 10px color-mix(in srgb,var(--empire-color) 30%,transparent); }.ms-empire-chip.is-empire-1 { --empire-color: #a54e3f; }.ms-empire-chip.is-empire-2 { --empire-color: #bf9240; }.ms-empire-chip.is-empire-3 { --empire-color: #547b91; }
.ms-level { color: #e2d4bc; font-size: 10px; white-space: nowrap; }
.ms-profile-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid rgba(235,165,51,.17); color: var(--gold-400); font-size: 8px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }.ms-profile-link:hover { border-color: var(--gold-400); background: rgba(229,143,25,.08); }.ms-profile-link.is-disabled { color: #655f57; }
.ms-war-record { display: flex; gap: 4px; }.ms-war-record b { padding: 4px 6px; color: #a5a69e; background: rgba(255,255,255,.03); font-size: 8px; }.ms-war-record .is-win { color: #91b657; }.ms-war-record .is-draw { color: #d3b362; }.ms-war-record .is-loss { color: #b76e5d; }
.ms-guild-avatar { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid rgba(235,165,51,.2); color: var(--gold-400); background: rgba(222,126,18,.06); }
.ms-client-pagination { min-height: 62px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; }
.ms-client-pagination button { width: 34px; height: 34px; border: 1px solid rgba(235,165,51,.18); color: #958b7c; background: #120905; cursor: pointer; }.ms-client-pagination button:hover,.ms-client-pagination button.is-active { border-color: var(--gold-400); color: #130b04; background: var(--gold-400); }

.ms-profile-hero { --class-accent: #b88642; position: relative; min-height: 210px; display: flex; align-items: end; gap: 20px; overflow: hidden; padding: 32px 32px 32px 126px; background: radial-gradient(circle at 12% 50%,color-mix(in srgb,var(--class-accent) 20%,transparent),transparent 13rem),linear-gradient(115deg,#211007,#0a0504 72%); }.ms-profile-hero::before { position: absolute; right: -80px; top: -170px; width: 400px; height: 400px; content: ""; border: 1px solid rgba(235,165,51,.09); transform: rotate(45deg); }.ms-profile-hero::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg,rgba(7,4,3,.18),transparent 65%,rgba(7,4,3,.55)); }.ms-profile-hero > div,.ms-profile-hero > a { position: relative; z-index: 2; }.ms-profile-hero > div { flex: 1; }.ms-profile-hero h1 { margin: 2px 0 9px; color: var(--ivory); font: 600 clamp(30px,4vw,46px)/1 var(--font-display); }
.ms-profile-hero__sigil { position: absolute; z-index: 2; left: 35px; top: 50%; width: 66px; height: 80px; display: grid; place-items: center; border: 1px solid var(--class-accent); color: var(--class-accent); background: linear-gradient(155deg,color-mix(in srgb,var(--class-accent) 18%,#160b06),#0d0705); clip-path: polygon(50% 0,94% 18%,84% 78%,50% 100%,16% 78%,6% 18%); transform: translateY(-50%); font: 750 18px/1 var(--font-display); box-shadow: 0 16px 35px rgba(0,0,0,.32); }
.ms-profile-portrait { position:absolute; z-index:2; left:30px; top:50%; width:78px; height:94px; transform:translateY(-50%); }
.ms-profile-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }.ms-profile-stats > div { min-height: 110px; display: flex; align-items: center; gap: 12px; padding: 18px; border-right: 1px solid rgba(235,165,51,.14); }.ms-profile-stats > div:last-child { border-right: 0; }.ms-profile-stats > div > i { color: var(--gold-400); font-size: 17px; }.ms-profile-stats span,.ms-profile-stats strong { display: block; }.ms-profile-stats span { color: #7e887f; font-size: 8px; text-transform: uppercase; }.ms-profile-stats strong { overflow: hidden; margin-top: 5px; color: #ded4c3; font-size: 11px; text-overflow: ellipsis; text-transform: none; white-space: nowrap; }

.ms-account-summary { display: grid; grid-template-columns: 64px minmax(150px,.65fr) minmax(300px,1.35fr); align-items: center; gap: 18px; padding: 22px 26px; border-bottom: 1px solid rgba(235,165,51,.16); }.ms-account-avatar { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(235,165,51,.32); color: var(--gold-400); background: radial-gradient(circle,rgba(225,137,22,.14),rgba(8,4,3,.9)); font-size: 20px; }.ms-account-summary small,.ms-account-summary strong { display: block; }.ms-account-summary small { color: #727c74; font-size: 8px; text-transform: uppercase; }.ms-account-summary strong { color: var(--ivory); font: 600 18px/1.3 var(--font-display); }.ms-account-status { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; color: #92b75a; font-size: 8px; text-transform: uppercase; }.ms-account-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.ms-account-summary dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0; }.ms-account-summary dl div { min-width: 0; }.ms-account-summary dt { color: #6e766f; font-size: 8px; text-transform: uppercase; }.ms-account-summary dd { overflow: hidden; margin: 3px 0 0; color: #c7c2b7; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.ms-dashboard-sections { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; }.ms-dashboard-sections > section { padding: 22px; }.ms-dashboard-sections > section + section { border-left: 1px solid rgba(235,165,51,.15); }.ms-dashboard-sections h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: var(--ivory); font: 600 16px/1.3 var(--font-display); }.ms-dashboard-sections h2 i { color: var(--gold-400); font-size: 12px; }.ms-dashboard-actions { display: grid; gap: 7px; }.ms-dashboard-actions a { min-height: 55px; display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid rgba(235,165,51,.12); color: #cec8bb; background: rgba(255,255,255,.014); }.ms-dashboard-actions a > i { width: 32px; height: 32px; display: grid; place-items: center; color: var(--gold-400); background: rgba(223,130,17,.07); }.ms-dashboard-actions a span,.ms-dashboard-actions a small { display: block; }.ms-dashboard-actions a span { font-size: 10px; font-weight: 700; }.ms-dashboard-actions a small { margin-top: 2px; color: #716e67; font-size: 8px; font-weight: 400; }.ms-dashboard-actions a:hover { border-color: rgba(235,165,51,.38); color: var(--gold-300); transform: translateX(2px); }

@media (max-width: 1280px) {
  .ms-page--inner #main-content.container { grid-template-columns: 200px minmax(0,1fr) 324px; gap: 14px; }
  .ms-feature-strip--four { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 921px) and (max-width: 1100px) {
  .ms-page--inner #main-content.container { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .ms-page--inner .ms-main, .ms-page--inner [role="main"] { grid-column: 1; grid-row: 1; }
  .ms-page--inner .ms-right-rail { grid-column: 1; grid-row: 2; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ms-page--inner .ms-left-rail { grid-column: 1; grid-row: 3; }
}
@media (max-width: 920px) {
  .ms-page--inner #main-content.container { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .ms-page--inner .ms-left-rail { grid-column: 1; grid-row: 3; }
  .ms-page--inner .ms-main, .ms-page--inner [role="main"] { grid-column: 1; grid-row: 1; }
  .ms-page--inner .ms-right-rail { grid-column: 1; grid-row: 2; }
  .ms-page--inner .ms-right-rail { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ms-podium { grid-template-columns: repeat(3,minmax(150px,1fr)); overflow-x: auto; }
  .ms-profile-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }.ms-profile-stats > div:nth-child(2) { border-right: 0; }.ms-profile-stats > div:nth-child(-n+2) { border-bottom: 1px solid rgba(235,165,51,.14); }
}
@media (max-width: 680px) {
  .ms-feature-strip--four { grid-template-columns: 1fr; }
  .ms-page--inner .ms-right-rail { grid-template-columns: 1fr; }
  .ms-page-card__header { align-items: flex-start; flex-direction: column; padding: 21px 18px; }.ms-switch-ranking { width: 100%; justify-content: center; }
  .ms-podium { padding-inline: 12px; }.ms-ranking-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; }.ms-ranking-toolbar label { width: 100%; justify-content: space-between; }
  .ms-profile-hero { min-height: 270px; align-items: flex-start; flex-direction: column; justify-content: end; padding: 128px 18px 24px; }.ms-profile-hero__sigil,.ms-profile-portrait { left:18px; top:24px; width:68px; height:80px; transform:none; }.ms-profile-stats { grid-template-columns: 1fr; }.ms-profile-stats > div { min-height: 82px; border-right: 0; border-bottom: 1px solid rgba(235,165,51,.14); }
  .ms-account-summary { grid-template-columns: 52px minmax(0,1fr); padding: 18px; }.ms-account-summary dl { grid-column: 1/-1; grid-template-columns: 1fr; }.ms-dashboard-sections { grid-template-columns: 1fr; }.ms-dashboard-sections > section + section { border-top: 1px solid rgba(235,165,51,.15); border-left: 0; }
}
/* v48: live form, social and character-profile refinements */
.ms-header__account {
  border-color: #f0c76e;
  color: #160d05;
  background: linear-gradient(135deg,#f2ca70,#c98a2c);
  box-shadow: inset 0 1px rgba(255,255,255,.3), 0 10px 28px rgba(188,118,28,.2);
}
.ms-header__account:hover { border-color: #ffe09a; color: #0a0703; background: linear-gradient(135deg,#ffe092,#dda13b); box-shadow: 0 13px 32px rgba(204,133,33,.3); transform: translateY(-1px); }

body.ms-page--inner .registerForm input#submitBtn.btn-big,
body.ms-page--inner .registerForm input[type="submit"].btn-big {
  width: 100%; min-height: 50px; border: 1px solid #f6d07b !important;
  color: #140c04 !important; background: linear-gradient(135deg,#f1c86e,#c98a2b) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.3), 0 10px 26px rgba(186,116,24,.16) !important;
  opacity: 1 !important; -webkit-text-fill-color: #140c04;
}
body.ms-page--inner .registerForm input#submitBtn.btn-big:hover,
body.ms-page--inner .registerForm input[type="submit"].btn-big:hover {
  color: #050301 !important; background: linear-gradient(135deg,#ffdc8a,#dda13a) !important;
  -webkit-text-fill-color: #050301; filter: none;
}

.ms-social-dock { display: grid; grid-template-columns: minmax(220px,.7fr) minmax(0,1.3fr); gap: 28px; align-items: center; margin-top: 30px; padding: 22px 0; border-top: 1px solid rgba(235,165,51,.16); border-bottom: 1px solid rgba(235,165,51,.12); }
.ms-social-dock__heading h2 { margin: 3px 0 5px; color: var(--ivory); font: 650 20px/1.25 var(--font-display); }
.ms-social-dock__heading p { margin: 0; color: #716b62; font-size: 10px; }
.ms-social-dock__links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.ms-social-dock__links > a,.ms-social-dock__links > span { min-width: 0; min-height: 64px; display: grid; grid-template-columns: 30px minmax(0,1fr) 10px; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid rgba(235,165,51,.15); background: linear-gradient(145deg,rgba(40,19,8,.78),rgba(8,5,3,.9)); }
.ms-social-dock__links > a > .fa:first-child,.ms-social-dock__links > span > .fa:first-child { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(240,179,72,.24); color: var(--gold-400); background: rgba(226,139,22,.07); }
.ms-social-dock__links strong,.ms-social-dock__links small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-social-dock__links strong { color: #ddd2c1; font-size: 10px; }.ms-social-dock__links small { margin-top: 2px; color: #6d6962; font-size: 7px; }
.ms-social-dock__links > a > .fa:last-child { color: #7d6849; font-size: 8px; }
.ms-social-dock__links > a:hover { border-color: rgba(245,187,83,.48); background: linear-gradient(145deg,rgba(67,31,9,.9),rgba(14,7,4,.96)); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.24); }
.ms-social-dock__links > span.is-disabled { opacity: .42; filter: grayscale(.45); }

.ms-ranking-table { min-width: 850px; }
.ms-playtime { display: inline-flex; align-items: baseline; gap: 4px; color: #968b7b; font-size: 9px; white-space: nowrap; }
.ms-playtime .fa { margin-right: 2px; color: var(--gold-500); font-size: 10px; }.ms-playtime strong { color: #d7cab4; font-size: 10px; }.ms-playtime small { color: #776e63; font-size: 8px; text-transform: uppercase; }
button.ms-profile-link { font-family: var(--font-body); cursor: pointer; background: rgba(229,143,25,.025); }

.ms-profile-modal { position: fixed; z-index: 1000; inset: 0; place-items: center; overflow-y: auto; padding: 24px; background: rgba(3,2,1,.84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ms-profile-modal:not([hidden]) { display: grid; }
.ms-profile-modal__dialog { position: relative; width: min(620px,100%); overflow: hidden; border: 1px solid rgba(244,182,74,.38); background: radial-gradient(circle at 15% 0,rgba(187,76,9,.18),transparent 18rem),linear-gradient(150deg,#211006,#090504 72%); box-shadow: 0 35px 100px rgba(0,0,0,.72); }
.ms-profile-modal__close { position: absolute; z-index: 4; right: 13px; top: 13px; width: 38px; height: 38px; border: 1px solid rgba(244,182,74,.25); color: var(--gold-300); background: rgba(5,3,2,.72); cursor: pointer; font-size: 22px; line-height: 1; }
.ms-profile-modal__close:hover { border-color: var(--gold-400); background: rgba(92,40,8,.55); }
.ms-profile-modal__hero { min-height: 178px; display: flex; align-items: center; gap: 22px; padding: 30px 64px 28px 30px; border-bottom: 1px solid rgba(235,165,51,.16); background: linear-gradient(100deg,rgba(92,37,7,.3),transparent 74%); }
.ms-profile-modal__portrait { width: 88px; height: 108px; flex: 0 0 88px; }.ms-profile-modal__portrait img { width: 100%; height: 100%; object-fit: contain; }
.ms-profile-modal__hero h2 { margin: 2px 0 11px; color: var(--ivory); font: 650 clamp(27px,5vw,38px)/1.05 var(--font-display); }
.ms-profile-modal__stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.ms-profile-modal__stats > div { min-height: 100px; display: flex; align-items: center; gap: 11px; padding: 17px; border-right: 1px solid rgba(235,165,51,.13); }.ms-profile-modal__stats > div:last-child { border-right: 0; }
.ms-profile-modal__stats > div > .fa { color: var(--gold-400); font-size: 15px; }.ms-profile-modal__stats span,.ms-profile-modal__stats strong,.ms-profile-modal__stats small { display: block; }.ms-profile-modal__stats span { color: #7d827a; font-size: 8px; text-transform: uppercase; }.ms-profile-modal__stats strong { margin-top: 4px; color: #ddd1bc; font-size: 11px; text-transform: none; }.ms-profile-modal__stats small { margin-top: 2px; color: #69645c; font-size: 7px; text-transform: none; }
.ms-profile-modal__actions { display: flex; justify-content: flex-end; gap: 9px; padding: 16px 18px; border-top: 1px solid rgba(235,165,51,.13); background: rgba(0,0,0,.14); }

.ms-profile-stats strong + small { display: block; margin-top: 3px; color: #675f55; font-size: 7px; font-weight: 500; text-transform: none; }
.ms-profile-overview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid rgba(235,165,51,.14); }
.ms-profile-overview section { min-height: 175px; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 15px; padding: 27px; }.ms-profile-overview section + section { border-left: 1px solid rgba(235,165,51,.14); }
.ms-profile-overview__icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(240,177,66,.28); color: var(--gold-400); background: rgba(226,139,22,.07); }
.ms-profile-overview h2 { margin: 3px 0 8px; color: var(--ivory); font: 650 18px/1.2 var(--font-display); }.ms-profile-overview p:last-child { margin: 0; color: #80786e; font-size: 10px; line-height: 1.75; }
.ms-profile-unavailable { min-height: 420px; }.ms-profile-unavailable p { max-width: 560px; }.ms-profile-unavailable .ms-button { margin-top: 10px; }

@media (max-width: 920px) {
  .ms-social-dock { grid-template-columns: 1fr; }
  .ms-social-dock__links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .ms-social-dock__links { grid-template-columns: 1fr; }
  .ms-profile-modal { padding: 12px; }.ms-profile-modal__hero { min-height: 155px; gap: 14px; padding: 25px 50px 22px 20px; }.ms-profile-modal__portrait { width: 68px; height: 84px; flex-basis: 68px; }
  .ms-profile-modal__stats { grid-template-columns: 1fr; }.ms-profile-modal__stats > div { min-height: 70px; border-right: 0; border-bottom: 1px solid rgba(235,165,51,.13); }.ms-profile-modal__actions { flex-direction: column-reverse; }.ms-profile-modal__actions .ms-button { width: 100%; }
  .ms-profile-overview { grid-template-columns: 1fr; }.ms-profile-overview section + section { border-top: 1px solid rgba(235,165,51,.14); border-left: 0; }
}

@media (max-width: 380px) {
  .ms-page--inner .ms-login-card .g-recaptcha { transform: scale(.82); }
}

.ms-support-auth {
  min-height: 286px; display: grid; grid-template-columns: 116px minmax(0,1fr) auto;
  align-items: center; gap: clamp(24px,4vw,48px); padding: clamp(30px,5vw,58px);
  border-top: 1px solid rgba(235,165,51,.12);
  background: radial-gradient(circle at 8% 50%,rgba(224,135,22,.11),transparent 14rem),rgba(4,3,2,.16);
}
.ms-support-auth__mark { min-height: 116px; display: grid; place-content: center; justify-items: center; gap: 11px; border: 1px solid rgba(235,165,51,.24); background: linear-gradient(145deg,rgba(49,23,8,.7),rgba(8,5,3,.9)); box-shadow: inset 0 0 0 6px rgba(255,255,255,.012); }
.ms-support-auth__mark .fa { color: var(--gold-400); font-size: 28px; }
.ms-support-auth__mark span { color: #887a68; font-size: 7px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.ms-support-auth__copy h2 { max-width: 620px; margin: 4px 0 10px; color: var(--ivory); font: 600 clamp(22px,3vw,31px)/1.22 var(--font-display); }
.ms-support-auth__copy > p:last-child { max-width: 650px; margin: 0; color: #898b83; font-size: 11px; line-height: 1.75; }
.ms-support-auth > .ms-button { min-width: 132px; gap: 9px; }

.ms-forget-card .ms-auth-body { min-height: 400px; }
.ms-forget-info { max-width: 650px; min-height: 68px; margin: 0 auto 22px; display: flex; align-items: center; gap: 13px; padding: 14px 16px; border: 1px solid rgba(235,165,51,.16); background: rgba(224,135,22,.035); }
.ms-forget-info > .fa { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border: 1px solid rgba(235,165,51,.22); color: var(--gold-400); background: rgba(224,135,22,.06); }
.ms-forget-info strong,.ms-forget-info small { display: block; }
.ms-forget-info strong { color: #d6cec0; font-size: 10px; }
.ms-forget-info small { margin-top: 4px; color: #777970; font-size: 9px; }
.ms-forget-card .ms-auth-form { width: 100%; }

.ms-social-dock { grid-template-columns: minmax(260px,.62fr) minmax(0,1.38fr); gap: clamp(28px,4vw,58px); padding: 30px 0; }
.ms-social-dock__heading h2 { margin: 5px 0 8px; font-size: clamp(22px,2.2vw,29px); }
.ms-social-dock__heading p { max-width: 390px; color: #8a8378; font-size: 11px; line-height: 1.65; }
.ms-social-dock__links { gap: 10px; }
.ms-social-dock__links > a,.ms-social-dock__links > span { min-height: 78px; grid-template-columns: 38px minmax(0,1fr) 12px; gap: 11px; padding: 13px 14px; }
.ms-social-dock__links > a > .fa:first-child,.ms-social-dock__links > span > .fa:first-child { width: 38px; height: 38px; font-size: 14px; }
.ms-social-dock__links strong { font-size: 11px; }
.ms-social-dock__links small { margin-top: 4px; font-size: 8px; line-height: 1.35; }

.ms-profile-data-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid rgba(235,165,51,.14); }
.ms-profile-data-grid > section { min-width: 0; padding: 28px; }
.ms-profile-data-grid > section + section { border-left: 1px solid rgba(235,165,51,.14); }
.ms-profile-data-grid__heading { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.ms-profile-data-grid__heading > .fa { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border: 1px solid rgba(240,177,66,.25); color: var(--gold-400); background: rgba(226,139,22,.06); }
.ms-profile-data-grid__heading h2 { margin: 3px 0 0; color: var(--ivory); font: 650 18px/1.2 var(--font-display); }
.ms-profile-data-grid dl { margin: 0; display: grid; }
.ms-profile-data-grid dl > div { min-height: 42px; display: grid; grid-template-columns: minmax(110px,.9fr) minmax(0,1.1fr); align-items: center; gap: 14px; border-top: 1px solid rgba(255,255,255,.045); }
.ms-profile-data-grid dt { color: #777970; font-size: 9px; }
.ms-profile-data-grid dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: #d7cdbd; font-size: 10px; font-weight: 650; text-align: right; }

@media (max-width: 1100px) {
  .ms-social-dock__links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .ms-support-auth { grid-template-columns: 1fr; gap: 19px; padding: 26px 18px; text-align: center; }
  .ms-support-auth__mark { min-height: 92px; }
  .ms-support-auth__copy h2,.ms-support-auth__copy > p:last-child { margin-inline: auto; }
  .ms-support-auth > .ms-button { width: 100%; }
  .ms-forget-info { align-items: flex-start; }
  .ms-social-dock { grid-template-columns: 1fr; gap: 22px; padding: 26px 0; }
  .ms-social-dock__links { grid-template-columns: 1fr; }
  .ms-profile-data-grid { grid-template-columns: 1fr; }
  .ms-profile-data-grid > section { padding: 23px 18px; }
  .ms-profile-data-grid > section + section { border-top: 1px solid rgba(235,165,51,.14); border-left: 0; }
  .ms-profile-data-grid dl > div { grid-template-columns: 1fr auto; }
}

/* v50: final customer review */
#main-content.container { padding-bottom: 38px; }
.ms-right-rail { align-items: start; }
.ms-right-rail > section { height: auto; }
.ms-ranking-card { align-self: start; }
.ms-login-card .ms-captcha { height: 66px; min-height: 0; margin: 2px 0 5px; }
.ms-page--inner .ms-login-card .ms-captcha { height: 70px; }

.ms-news-layout.has-facebook { grid-template-columns: minmax(420px,500px) minmax(0,1fr); }
.ms-facebook-embed {
  position: relative; width: 100%; min-width: 0; background: #0b0704;
  border: 1px solid rgba(235,165,51,.18); box-shadow: inset 0 0 45px rgba(0,0,0,.22);
}
.ms-news-layout.has-facebook .ms-facebook-embed { width: 100%; }
.ms-facebook-embed iframe { position: relative; z-index: 2; width: 100% !important; min-width: 100% !important; height: 100% !important; background: transparent; }
.ms-facebook-fallback { position: absolute; z-index: 1; inset: 0; display: grid; grid-template-columns: 58px minmax(0,1fr); align-content: center; gap: 18px; padding: 34px; background: radial-gradient(circle at 16% 28%,rgba(42,94,183,.23),transparent 15rem),linear-gradient(145deg,#150b07,#080403); }
.ms-facebook-fallback > .fa { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(93,145,231,.38); color: #78a7f4; background: rgba(32,78,153,.15); font-size: 23px; }
.ms-facebook-fallback strong { display: block; margin: 5px 0 10px; color: var(--ivory); font: 650 23px/1.2 var(--font-display); }
.ms-facebook-fallback p { max-width: 330px; margin: 0; color: #91877c; font-size: 11px; line-height: 1.7; }
.ms-facebook-fallback a { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; color: #85aff4; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }


.ms-support-auth__copy h2 { text-align: justify; text-align-last: left; text-justify: inter-word; }
.ms-support-auth__copy > p:last-child { text-align: justify; text-justify: inter-word; }

.ms-footer__provider { color: #746c62; font-weight: 750; letter-spacing: .1em; }
.ms-footer__provider:hover { color: var(--gold-400); }

.ms-guild-leader { display: inline-flex; align-items: center; gap: 7px; color: #d5c6b1; font-size: 10px; font-weight: 650; white-space: nowrap; }
.ms-guild-leader .fa { color: var(--gold-400); font-size: 9px; }
.ms-guild-table { min-width: 980px; }
.ms-guild-table .ms-profile-link { min-width: 94px; }

.ms-status-chip { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; }
.ms-status-chip i { width: 7px; height: 7px; border-radius: 50%; background: #777; box-shadow: 0 0 0 3px rgba(119,119,119,.09); }
.ms-status-chip.is-online { color: var(--green); }
.ms-status-chip.is-online i { background: var(--green); box-shadow: 0 0 10px rgba(134,189,46,.45); }
.ms-status-chip.is-offline { color: #9d8174; }

.ms-guild-profile__hero { min-height: 190px; display: flex; align-items: center; gap: 22px; padding: 30px; border-bottom: 1px solid rgba(235,165,51,.16); background: radial-gradient(circle at 15% 50%,rgba(221,128,15,.15),transparent 18rem),linear-gradient(120deg,#1b0d07,#080403); }
.ms-guild-profile__crest { width: 84px; height: 96px; flex: 0 0 84px; display: grid; place-items: center; clip-path: polygon(50% 0,100% 18%,88% 78%,50% 100%,12% 78%,0 18%); color: var(--gold-300); background: linear-gradient(160deg,#6b360d,#160a05); box-shadow: inset 0 0 0 2px rgba(255,197,90,.22); font-size: 30px; }
.ms-guild-profile__hero > div { min-width: 0; flex: 1; }
.ms-guild-profile__hero h1 { margin: 3px 0 10px; color: var(--ivory); font: 650 clamp(30px,4vw,46px)/1.05 var(--font-display); }
.ms-guild-profile__stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid rgba(235,165,51,.14); }
.ms-guild-profile__stats > div { min-height: 104px; display: flex; align-items: center; gap: 12px; padding: 18px; border-right: 1px solid rgba(235,165,51,.12); }
.ms-guild-profile__stats > div:last-child { border-right: 0; }
.ms-guild-profile__stats .fa { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border: 1px solid rgba(235,165,51,.22); color: var(--gold-400); background: rgba(226,139,22,.06); }
.ms-guild-profile__stats span,.ms-guild-profile__stats strong { display: block; }
.ms-guild-profile__stats span { color: #777970; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.ms-guild-profile__stats strong { margin-top: 5px; color: #e0d4c1; font-size: 14px; letter-spacing: 0; text-transform: none; }
.ms-guild-profile__body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.ms-guild-profile__body > section { padding: 28px; }
.ms-guild-profile__body > section + section { border-left: 1px solid rgba(235,165,51,.14); }
.ms-guild-profile__body dl { margin: 0; }
.ms-guild-profile__body dl > div { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid rgba(255,255,255,.045); }
.ms-guild-profile__body dt { color: #777970; font-size: 9px; }
.ms-guild-profile__body dd { margin: 0; color: #d7cdbd; font-size: 10px; font-weight: 650; }
.ms-guild-record { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.ms-guild-record > div { min-height: 92px; display: grid; place-content: center; gap: 8px; border: 1px solid rgba(235,165,51,.14); background: rgba(255,255,255,.014); text-align: center; }
.ms-guild-record span { color: #777970; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.ms-guild-record strong { color: #d5c6b1; font-size: 22px; }
.ms-guild-record .is-win strong { color: var(--green); }.ms-guild-record .is-loss strong { color: #bd705a; }

@media (max-width: 1100px) {
  .ms-news-layout.has-facebook { grid-template-columns: 1fr; }
  .ms-news-layout.has-facebook .ms-facebook-embed { max-width: 500px; }
  .ms-guild-profile__stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ms-guild-profile__stats > div:nth-child(2) { border-right: 0; }
  .ms-guild-profile__stats > div:nth-child(-n+2) { border-bottom: 1px solid rgba(235,165,51,.12); }
}
@media (max-width: 680px) {
  #main-content.container { padding-bottom: 28px; }
  .ms-support-auth__copy h2,.ms-support-auth__copy > p:last-child { text-align: left; }
  .ms-guild-profile__hero { align-items: flex-start; flex-wrap: wrap; padding: 22px 18px; }
  .ms-guild-profile__crest { width: 62px; height: 72px; flex-basis: 62px; }
  .ms-guild-profile__hero .ms-switch-ranking { flex-basis: 100%; }
  .ms-guild-profile__stats,.ms-guild-profile__body { grid-template-columns: 1fr; }
  .ms-guild-profile__stats > div { min-height: 76px; border-right: 0; border-bottom: 1px solid rgba(235,165,51,.12); }
  .ms-guild-profile__body > section { padding: 22px 18px; }
  .ms-guild-profile__body > section + section { border-top: 1px solid rgba(235,165,51,.14); border-left: 0; }
}

/* v51: final live review corrections */
.ms-facebook-embed { min-height: 520px; }
.ms-facebook-embed .ms-facebook-fallback { position: relative; z-index: 1; inset: auto; width: 100%; min-height: 520px; }

.ms-page--home .ms-right-rail { align-items: stretch; }
.ms-page--home .ms-right-rail > .ms-ranking-card,
.ms-page--home .ms-right-rail > .ms-login-card { height: 100%; align-self: stretch; }


.ms-discord-quicklink {
  position: relative; isolation: isolate; display: grid; gap: 10px; overflow: hidden;
  border: 1px solid rgba(235,165,51,.2); background: linear-gradient(150deg,#182121,#090504 62%);
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.ms-discord-quicklink::before { position: absolute; z-index: -1; inset: 0; content: ""; background: radial-gradient(circle at 78% 10%,rgba(45,110,117,.28),transparent 10rem); }
.ms-discord-quicklink__brand { min-height: 67px; display: flex; align-items: center; gap: 11px; padding: 12px 14px 8px; }
.ms-discord-quicklink__brand img { width: 43px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 9px rgba(231,147,31,.26)); }
.ms-discord-quicklink__brand strong,.ms-discord-quicklink__brand small { display: block; }
.ms-discord-quicklink__brand strong { color: #ece2d0; font: 650 15px/1.1 var(--font-display); }
.ms-discord-quicklink__brand small { margin-top: 3px; color: #8b918a; font-size: 7px; }
.ms-discord-quicklink__action { min-height: 39px; display: grid; grid-template-columns: 20px minmax(0,1fr) auto 10px; align-items: center; gap: 6px; padding: 8px 12px; border-top: 1px solid rgba(235,165,51,.14); color: #d8d4c9; background: rgba(3,5,5,.52); text-transform: uppercase; }
.ms-discord-quicklink__action > .fa:first-child { color: #e7b859; font-size: 13px; }
.ms-discord-quicklink__action > .fa:last-child { color: #887253; font-size: 8px; }
.ms-discord-quicklink__action strong { font-size: 9px; letter-spacing: .06em; }
.ms-discord-quicklink__action small { color: #8c857b; font-size: 7px; letter-spacing: .04em; }
.ms-discord-quicklink:hover { border-color: rgba(240,183,76,.48); transform: translateY(-2px); }

.ms-discord-banner--rail .ms-discord-banner__signal span { display: none; }
.ms-discord-banner--rail .ms-discord-banner__signal > .fa { animation: none; box-shadow: 0 0 18px rgba(218,105,10,.14); }
.ms-page--inner .ms-discord-banner--rail { height: auto; grid-template-rows: auto auto auto; align-content: start; padding-bottom: 0; }
.ms-page--inner .ms-discord-banner--rail .ms-discord-banner__button { align-self: start; }

.ms-register-alert {
  max-width: 650px; display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: start; gap: 13px;
  margin: 0 auto 20px; padding: 15px 16px; border: 1px solid rgba(207,112,70,.42);
  color: #d9b7a8; background: linear-gradient(100deg,rgba(107,37,23,.28),rgba(41,16,10,.16));
}
.ms-register-alert > .fa { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(210,111,69,.36); color: #dc8b65; background: rgba(119,42,23,.18); }
.ms-register-alert p { margin: 0; font-size: 10px; line-height: 1.65; }
.ms-register-alert strong { display: block; margin-bottom: 3px; color: #efc0a9; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.ms-register-page .ms-auth-body .ms-captcha { height: 62px; min-height: 62px; margin-bottom: -3px; }
.ms-register-page .ms-form-grid { row-gap: 12px; }

.ms-guild-table { width: 100%; min-width: 0; table-layout: fixed; }
.ms-guild-table th,.ms-guild-table td { padding-inline: 7px; }
.ms-guild-table th:nth-child(1) { width: 42px; }
.ms-guild-table th:nth-child(2) { width: 19%; }
.ms-guild-table th:nth-child(3) { width: 68px; }
.ms-guild-table th:nth-child(4) { width: 16%; }
.ms-guild-table th:nth-child(5) { width: 82px; }
.ms-guild-table th:nth-child(6) { width: 92px; }
.ms-guild-table th:nth-child(7) { width: 112px; }
.ms-guild-table th:nth-child(8) { width: 92px; }
.ms-guild-table .ms-character { gap: 7px; }
.ms-guild-table .ms-guild-avatar { width: 31px; height: 31px; flex: 0 0 31px; }
.ms-guild-table .ms-character strong { max-width: 105px; }
.ms-guild-table .ms-profile-link { min-width: 0; padding: 7px 6px; }

@media (max-width: 1400px) {
  .ms-guild-table th:nth-child(7),.ms-guild-table td:nth-child(7) { display: none; }
}
@media (max-width: 1280px) {
  .ms-guild-table th:nth-child(6),.ms-guild-table td:nth-child(6) { display: none; }
  .ms-guild-table th:nth-child(2) { width: 25%; }
  .ms-guild-table th:nth-child(4) { width: 20%; }
}
@media (max-width: 680px) {
  .ms-register-alert { grid-template-columns: 32px minmax(0,1fr); padding: 13px; }
  .ms-register-alert > .fa { width: 30px; height: 30px; }
  .ms-guild-table-wrap { overflow-x: visible; }
  .ms-guild-table,.ms-guild-table tbody { display: block; width: 100%; }
  .ms-guild-table thead { display: none; }
  .ms-guild-table tr { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 4px 8px; padding: 11px 10px; border-bottom: 1px solid rgba(235,165,51,.12); }
  .ms-guild-table td { width: auto !important; height: auto; display: flex; align-items: center; padding: 0; border: 0; }
  .ms-guild-table td:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .ms-guild-table td:nth-child(2) { grid-column: 2; grid-row: 1; }
  .ms-guild-table td:nth-child(3) { grid-column: 3; grid-row: 1; }
  .ms-guild-table td:nth-child(4) { grid-column: 2; grid-row: 2; }
  .ms-guild-table td:nth-child(5) { grid-column: 3; grid-row: 2; justify-content: flex-end; }
  .ms-guild-table td:nth-child(6),.ms-guild-table td:nth-child(7) { display: none; }
  .ms-guild-table td:nth-child(8) { grid-column: 2 / 4; grid-row: 3; }
  .ms-guild-table .ms-profile-link { width: 100%; justify-content: center; margin-top: 5px; }
}

/* v89: compact registration edges and progressive download-link disclosure. */
.ms-register-page .ms-page-card__header {
  padding: 22px 26px;
}
.ms-register-page .ms-auth-body {
  padding: 18px 26px 22px;
}
.ms-register-page .ms-register-alert {
  margin-bottom: 14px;
}
.ms-register-page .ms-form-grid {
  row-gap: 10px;
}
.ms-register-page .ms-form-grid > input[type="submit"] {
  margin-top: 2px;
}

.ms-download-links > [data-download-extra][hidden] {
  display: none !important;
}
.ms-download-more {
  grid-column: 1 / -1;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(235,165,51,.22);
  color: #d7c39e;
  background: linear-gradient(135deg,rgba(55,28,11,.72),rgba(12,8,5,.92));
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.ms-download-more small {
  color: #7f7567;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: none;
}
.ms-download-more__icon {
  color: var(--gold-400);
  font-size: 15px;
  line-height: 1;
  transition: transform .2s ease;
}
.ms-download-more:hover {
  border-color: rgba(235,165,51,.48);
  background: linear-gradient(135deg,rgba(73,38,14,.78),rgba(16,10,6,.94));
  transform: translateY(-1px);
}
.ms-download-more[aria-expanded="true"] .ms-download-more__icon {
  transform: rotate(180deg);
}

@media (max-width: 680px) {
  .ms-register-page .ms-page-card__header { padding: 18px 16px; }
  .ms-register-page .ms-auth-body { padding: 14px 14px 17px; }
  .ms-register-page .ms-register-alert { margin-bottom: 11px; }
  .ms-register-page .ms-form-grid { row-gap: 9px; }
  .ms-download-more { min-height: 42px; flex-wrap: wrap; gap: 6px 9px; }
}

/* v52: guild ranking fit and font-independent icons */
.ms-guild-table-wrap { max-width: 100%; overflow-x: hidden; }
.ms-guild-table { width: 100%; min-width: 0; table-layout: fixed; }
.ms-guild-table th,.ms-guild-table td { min-width: 0; padding-inline: 6px; overflow: hidden; }
.ms-guild-table th:nth-child(1) { width: 36px; }
.ms-guild-table th:nth-child(2) { width: 26%; }
.ms-guild-table th:nth-child(3) { width: 58px; }
.ms-guild-table th:nth-child(4) { width: 19%; }
.ms-guild-table th:nth-child(5) { width: 72px; }
.ms-guild-table th:nth-child(6) { width: 82px; }
.ms-guild-table th:nth-child(7),.ms-guild-table td:nth-child(7) { display: none; }
.ms-guild-table th:nth-child(8) { width: 45px; }
.ms-guild-table .ms-character,.ms-guild-table .ms-guild-leader { min-width: 0; }
.ms-guild-table .ms-character strong,.ms-guild-table .ms-guild-leader {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ms-guild-table .ms-profile-link { width: 32px; min-width: 32px; height: 30px; justify-content: center; padding: 0; }
.ms-guild-table .ms-profile-link__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 1280px) {
  .ms-guild-table th:nth-child(6),.ms-guild-table td:nth-child(6) { display: none; }
  .ms-guild-table th:nth-child(2) { width: 31%; }
  .ms-guild-table th:nth-child(4) { width: 24%; }
}

@media (max-width: 680px) {
  .ms-guild-table-wrap { overflow-x: hidden; }
  .ms-guild-table .ms-profile-link { width: 100%; height: 32px; }
  .ms-guild-table .ms-profile-link__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* v53: unified SVG icon system and final content refinements */
.ms-svg-icon { width: 18px; height: 18px; display: block; flex: 0 0 18px; object-fit: contain; }
.ms-icon-frame {
  width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center;
  border: 1px solid rgba(240,177,66,.25); background: rgba(226,139,22,.06);
}
.ms-icon-frame .ms-svg-icon { width: 20px; height: 20px; }
.ms-profile-stats > div > .ms-svg-icon { width: 20px; height: 20px; }
.ms-guild-profile__stats .ms-svg-icon {
  width: 38px; height: 38px; flex: 0 0 38px; padding: 9px;
  border: 1px solid rgba(235,165,51,.22); background: rgba(226,139,22,.06);
}

.ms-guild-profile__crest {
  width: 78px; height: 86px; flex-basis: 78px; clip-path: none;
  border: 1px solid rgba(235,165,51,.28); background: rgba(20,10,5,.55);
  box-shadow: inset 0 0 24px rgba(224,132,22,.08);
}
.ms-guild-profile__crest img { width: 42px; height: 49px; display: block; object-fit: contain; }
.ms-guild-crest { clip-path: none; border: 0; background: transparent; }
.ms-guild-crest img { width: 19px; height: 23px; display: block; object-fit: contain; }
.ms-guild-avatar { border: 0; background: transparent; }
.ms-guild-avatar img { width: 19px; height: 23px; display: block; object-fit: contain; }

.ms-guild-table th:nth-child(6),.ms-guild-table td:nth-child(6),
.ms-guild-table th:nth-child(7),.ms-guild-table td:nth-child(7) { display: none; }
.ms-guild-table th:nth-child(1) { width: 40px; }
.ms-guild-table th:nth-child(2) { width: 29%; }
.ms-guild-table th:nth-child(3) { width: 68px; }
.ms-guild-table th:nth-child(4) { width: 23%; }
.ms-guild-table th:nth-child(5) { width: 90px; }
.ms-guild-table th:nth-child(8) { width: 104px; }
.ms-guild-table .ms-profile-link {
  width: auto; min-width: 88px; height: 32px; justify-content: center; gap: 7px; padding: 0 9px;
}
.ms-guild-table .ms-profile-link__label {
  position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: nowrap;
}
.ms-guild-table .ms-profile-link .ms-svg-icon { width: 15px; height: 15px; flex-basis: 15px; }


.ms-video-promo {
  position: relative; isolation: isolate; min-height: 224px; overflow: hidden; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 22px 20px; border: 1px solid rgba(235,165,51,.23);
  color: #d9d0c1; background: radial-gradient(circle at 84% 8%,rgba(196,86,12,.28),transparent 12rem),linear-gradient(150deg,#271107,#080403 70%);
  box-shadow: 0 14px 36px rgba(0,0,0,.22);
}
.ms-video-promo::before {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: linear-gradient(115deg,transparent 22%,rgba(244,187,78,.075) 46%,transparent 68%);
  transform: translateX(-75%); animation: discordSweep 7s ease-in-out infinite;
}
.ms-page--home .ms-video-promo { flex: 1 0 180px; }
.ms-video-promo__icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: auto;
  border: 1px solid rgba(235,165,51,.3); background: rgba(15,8,4,.58);
  box-shadow: 0 0 28px rgba(210,105,12,.15);
}
.ms-video-promo__icon img { width: 25px; height: 25px; }
.ms-video-promo__copy small,.ms-video-promo__copy strong,.ms-video-promo__copy span { display: block; }
.ms-video-promo__copy small { color: var(--gold-400); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ms-video-promo__copy strong { margin-top: 6px; color: var(--ivory); font: 650 19px/1.2 var(--font-display); }
.ms-video-promo__copy span { margin-top: 7px; color: #8c8378; font-size: 9px; line-height: 1.6; }
.ms-video-promo__action {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 13px;
  border-top: 1px solid rgba(235,165,51,.14); color: var(--gold-300); font-size: 8px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
}
.ms-video-promo:hover { border-color: rgba(240,183,76,.52); color: #fff; transform: translateY(-2px); }

.ms-installation-video {
  min-height: 86px; display: grid; grid-template-columns: 48px minmax(0,1fr) 18px; align-items: center; gap: 15px;
  margin: 0 20px 20px; padding: 15px 17px; border: 1px solid rgba(235,165,51,.24);
  color: #dcd3c4; background: radial-gradient(circle at 84% 50%,rgba(186,78,9,.2),transparent 15rem),rgba(226,139,22,.035);
}
.ms-installation-video__icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(235,165,51,.28); background: rgba(226,139,22,.07); }
.ms-installation-video__icon img { width: 23px; height: 23px; }
.ms-installation-video small,.ms-installation-video strong { display: block; }
.ms-installation-video small { color: var(--gold-400); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ms-installation-video strong { margin-top: 5px; color: var(--ivory); font: 650 15px/1.25 var(--font-display); }
.ms-installation-video > .fa { color: var(--gold-400); font-size: 10px; }
.ms-installation-video:hover { border-color: rgba(240,183,76,.52); background-color: rgba(226,139,22,.07); transform: translateX(3px); }

.ms-discord-quicklink__action > .ms-svg-icon { width: 18px; height: 18px; }
.ms-footer__socials a .ms-svg-icon { width: 17px; height: 17px; }
.ms-social-dock__links > a > .ms-svg-icon:first-child {
  width: 38px; height: 38px; padding: 9px; border: 1px solid rgba(240,179,72,.24); background: rgba(226,139,22,.07);
}

@media (max-width: 680px) {
  .ms-guild-profile__crest { width: 62px; height: 70px; flex-basis: 62px; }
  .ms-guild-profile__crest img { width: 34px; height: 40px; }
  .ms-installation-video { margin: 0 12px 14px; grid-template-columns: 42px minmax(0,1fr) 14px; padding: 13px; }
  .ms-installation-video__icon { width: 40px; height: 40px; }
  .ms-installation-video strong { font-size: 13px; }
  .ms-video-promo { min-height: 210px; }
  .ms-guild-table .ms-profile-link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ms-video-promo::before { animation: none; }
}

/* v54: live review alignment, ranking record and external links */
.ms-guild-table th:nth-child(6),.ms-guild-table td:nth-child(6) { display: none; }
.ms-guild-table th:nth-child(7),.ms-guild-table td:nth-child(7) { display: table-cell; }
.ms-guild-table th:nth-child(1) { width: 36px; }
.ms-guild-table th:nth-child(2) { width: 23%; }
.ms-guild-table th:nth-child(3) { width: 58px; }
.ms-guild-table th:nth-child(4) { width: 18%; }
.ms-guild-table th:nth-child(5) { width: 76px; }
.ms-guild-table th:nth-child(7) { width: 112px; line-height: 1.25; white-space: normal; }
.ms-guild-table th:nth-child(8) { width: 100px; }
.ms-guild-table .ms-war-record { justify-content: center; }
.ms-guild-table .ms-war-record b { min-width: 40px; padding-inline: 5px; text-align: center; }

.ms-home-social-strip {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 14px;
}
.ms-home-social-strip > a,.ms-home-social-strip > span {
  min-width: 0; min-height: 104px; display: grid; grid-template-columns: 46px minmax(0,1fr) 14px;
  align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid rgba(235,165,51,.16);
  color: #d8cdbc; background: linear-gradient(135deg,rgba(35,16,7,.88),rgba(8,5,3,.96));
}
.ms-home-social-strip > a::before,.ms-home-social-strip > span::before {
  position: absolute; inset: 0; pointer-events: none; content: ""; opacity: .18;
  background: radial-gradient(circle at 88% 14%,currentColor,transparent 11rem);
}
.ms-home-social-strip > a,.ms-home-social-strip > span { position: relative; isolation: isolate; overflow: hidden; }
.ms-home-social-strip__icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(235,165,51,.24); background: rgba(228,139,23,.06); }
.ms-home-social-strip__icon .fa { color: var(--gold-400); font-size: 17px; }
.ms-home-social-strip small,.ms-home-social-strip strong,.ms-home-social-strip em { display: block; min-width: 0; font-style: normal; }
.ms-home-social-strip small { color: var(--gold-400); font-size: 7px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.ms-home-social-strip strong { margin-top: 3px; color: var(--ivory); font: 650 16px/1.15 var(--font-display); }
.ms-home-social-strip em { overflow: hidden; margin-top: 4px; color: #77766f; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.ms-home-social-strip > a > .fa { color: #8d734d; font-size: 9px; }
.ms-home-social-strip > a:hover { border-color: rgba(238,177,66,.48); transform: translateY(-2px); }
.ms-home-social-strip .is-disabled { opacity: .48; }
.ms-home-social-strip .is-instagram { color: #b76274; }
.ms-home-social-strip .is-tiktok { color: #6fa9a5; }

.ms-installation-video--inline {
  margin: 0 0 14px; min-height: 94px; border-color: rgba(238,175,62,.34);
  background: radial-gradient(circle at 82% 50%,rgba(190,79,9,.24),transparent 18rem),linear-gradient(115deg,rgba(47,21,7,.94),rgba(10,6,3,.98));
  box-shadow: 0 14px 34px rgba(0,0,0,.2);
}

/* v65: Download guide uses the same compact, unmistakable notice pattern as registration. */
.ms-installation-notice { max-width: none; grid-template-columns: 38px minmax(0,1fr) 16px; align-items: center; margin: 0 20px 18px; padding: 14px 16px; text-decoration: none; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.ms-installation-notice > .fa:first-child { width: 36px; height: 36px; }
.ms-installation-notice > span { min-width: 0; }
.ms-installation-notice > span::after { content: ""; display: block; clear: both; }
.ms-installation-notice:hover { border-color: rgba(234,139,92,.7); background: linear-gradient(100deg,rgba(126,46,27,.4),rgba(41,16,10,.22)); transform: translateX(2px); }
.ms-installation-notice__arrow { color: #dc8b65; font-size: 10px; }
.ms-installation-notice strong { color: #efc0a9; }

/* The home columns terminate on one shared baseline; no extra divider is left below the Discord card. */
@media (min-width: 681px) {
  .ms-page--home .ms-news-layout { align-items: stretch; }
  .ms-page--home .ms-facebook-embed,.ms-page--home .ms-news-hub { height: 100%; }
  .ms-page--home .ms-left-rail { min-height: 0; }
  .ms-page--home .ms-discord-quicklink--home { border-bottom-color: rgba(235,165,51,.2); }
  .ms-page--home .ms-discord-quicklink--home::after { content: none; }
}

/* Guild actions use the same full-width footprint as character actions on mobile. */
@media (max-width: 680px) {
  .ms-guild-table td:nth-child(8) { grid-column: 2 / 4; grid-row: 4; justify-content: stretch; min-width: 0; }
  .ms-guild-table .ms-profile-link { width: 100%; min-width: 0; max-width: none; height: 32px; margin-top: 2px; padding-inline: 9px; justify-content: center; }
  .ms-installation-notice { grid-template-columns: 32px minmax(0,1fr) 12px; margin: 0 12px 12px; padding: 13px; }
  .ms-installation-notice > .fa:first-child { width: 30px; height: 30px; }
}

/* v67: classic class portraits are square source cards; crop the card edge in a circular ranking frame. */
.ms-podium-portrait,.ms-character-portrait {
  overflow: hidden;
  border: 2px solid rgba(235,165,51,.68);
  border-radius: 50%;
  background: #160b06;
  box-shadow: 0 0 0 2px rgba(17,8,4,.9), 0 5px 14px rgba(0,0,0,.34);
}
.ms-podium-portrait { left:14px; width:42px; height:42px; }
.ms-character-portrait { width:38px; height:38px; flex-basis:38px; }
.ms-podium-portrait img,.ms-character-portrait img {
  /* Source cards carry a gold lower frame; zoom to the actual character artwork only. */
  object-position:center 18%;
  transform:scale(1.72);
  transform-origin:50% 18%;
}
@media (max-width:680px) {
  .ms-podium-portrait { width:40px; height:40px; }
  .ms-character-portrait { width:36px; height:36px; flex-basis:36px; }
}

/* v69: recovery forms keep the captcha close to the action without altering its rendered size. */
.ms-forget-card .ms-auth-body .ms-captcha { height:62px; min-height:62px; margin:0 0 2px; }
.ms-forget-card .margin-bottom-15.ms-captcha { margin-bottom:4px; }

@media (max-width: 1280px) {
  .ms-guild-table th:nth-child(2) { width: 24%; }
  .ms-guild-table th:nth-child(4) { width: 17%; }
  .ms-guild-table th:nth-child(7) { width: 104px; }
  .ms-guild-table th:nth-child(8) { width: 94px; }
}

@media (max-width: 680px) {
  .ms-guild-table td:nth-child(6),.ms-guild-table td:nth-child(7) { display: none; }
  .ms-home-social-strip { grid-template-columns: 1fr; gap: 10px; }
  .ms-home-social-strip > a,.ms-home-social-strip > span { min-height: 88px; padding: 13px; }
  .ms-installation-video--inline { margin: 0 0 12px; }
}

/* v55: four compact rail links and a Discord panel that closes the home grid evenly */
.ms-side-nav__icon .ms-svg-icon { width: 27px; height: 27px; opacity: .78; }
.ms-page--home .ms-discord-quicklink--home {
  flex: 1 1 190px; min-height: 190px; display: flex; flex-direction: column; gap: 0;
}
.ms-discord-quicklink--home .ms-discord-quicklink__brand { min-height: 76px; padding-bottom: 12px; }
.ms-discord-quicklink__body {
  flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center;
  padding: 17px 14px; border-top: 1px solid rgba(235,165,51,.13);
  background: linear-gradient(110deg,rgba(223,125,20,.055),transparent 70%);
}
.ms-discord-quicklink__body small,.ms-discord-quicklink__body strong,.ms-discord-quicklink__body span { display: block; }
.ms-discord-quicklink__body small { color: var(--gold-400); font-size: 7px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.ms-discord-quicklink__body strong { margin-top: 6px; color: var(--ivory); font: 650 17px/1.2 var(--font-display); }
.ms-discord-quicklink__body span { max-width: 220px; margin-top: 7px; color: #87887f; font-size: 9px; line-height: 1.55; }
.ms-discord-quicklink--home .ms-discord-quicklink__action { margin-top: auto; }

@media (max-width: 1100px) {
  .ms-page--home .ms-discord-quicklink--home { min-height: 180px; }
}

@media (max-width: 680px) {
  .ms-page--home .ms-discord-quicklink--home { min-height: 210px; }
}

/* v56: remove the marked social row and close all three home columns on one line */
.ms-page--home .ms-home-social-strip { display: none; }

/* Keep the Facebook column visually flush with news and Discord after reveal. */
.ms-page--home .ms-facebook-embed.reveal { transform: none !important; }

/* v61: compact guild record, aligned desktop rail and mobile-safe actions */
.ms-guild-table th:nth-child(7) { width: 132px; }
.ms-guild-table .ms-war-record { gap: 3px; }
.ms-guild-table .ms-war-record b { min-width: 37px; padding-inline: 4px; }

@media (min-width: 681px) {
  /* The Discord card closes its own panel; avoid a second, offset divider above the community banner. */
  .ms-page--home .ms-discord-quicklink--home { border-bottom-color: transparent; }
}

@media (max-width: 680px) {
  .ms-guild-table .ms-profile-link {
    width: auto;
    min-width: 124px;
    max-width: 100%;
    padding-inline: 10px;
  }
  .ms-guild-table td:nth-child(8) { min-width: 0; }
}

/* v58: ranking remains complete and readable on narrow screens. */
.ms-podium-portrait.is-fallback,.ms-character-portrait.is-fallback {
  display: grid; place-items: center; color: var(--gold-400); background: radial-gradient(circle,rgba(225,139,30,.18),rgba(12,6,4,.88));
}
.ms-podium-portrait.is-fallback::after,.ms-character-portrait.is-fallback::after { content: "✦"; font-size: 20px; line-height: 1; }

@media (max-width: 680px) {
  .ms-podium { grid-template-columns: 1fr; overflow: visible; }
  .ms-podium-card { min-width: 0; }
  .ms-ranking-table-wrap,.ms-guild-table-wrap { overflow: visible; }
  .ms-ranking-table,.ms-ranking-table tbody { display: block; width: 100%; min-width: 0; table-layout: auto; }
  .ms-ranking-table thead { display: none; }
  .ms-ranking-table tr {
    display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 6px 9px;
    padding: 12px 11px; border-bottom: 1px solid rgba(235,165,51,.12);
  }
  .ms-ranking-table td { width: auto !important; min-width: 0; height: auto; display: flex; align-items: center; padding: 0; border: 0; overflow: visible; }
  .ms-ranking-table td:nth-child(1) { grid-column: 1; grid-row: 1 / span 3; }
  .ms-ranking-table td:nth-child(2) { grid-column: 2; grid-row: 1; }
  .ms-ranking-table td:nth-child(3) { grid-column: 3; grid-row: 1; justify-content: flex-end; }
  .ms-ranking-table td:nth-child(4) { grid-column: 2; grid-row: 2; }
  .ms-ranking-table td:nth-child(5) { grid-column: 3; grid-row: 2; justify-content: flex-end; }
  .ms-ranking-table td:nth-child(6) { grid-column: 2; grid-row: 3; }
  .ms-ranking-table td:nth-child(7) { grid-column: 3; grid-row: 3; justify-content: flex-end; }
  .ms-ranking-table td:nth-child(8) { grid-column: 2 / 4; grid-row: 4; }
  .ms-ranking-table .ms-character strong { max-width: 130px; }
  .ms-ranking-table .ms-profile-link { width: 100%; min-width: 0; justify-content: center; }
  .ms-guild-table td:nth-child(6) { display: none; }
  .ms-guild-table td:nth-child(7) { display: flex; grid-column: 2; grid-row: 3; justify-content: flex-start; }
  .ms-guild-table td:nth-child(8) { grid-column: 2 / 4; grid-row: 4; }
}

/* v61 mobile safeguard: the guild action follows the compact character action footprint. */
@media (max-width: 680px) {
  .ms-ranking-table .ms-guild-table .ms-profile-link,
  .ms-guild-table .ms-profile-link {
    width: auto;
    min-width: 124px;
    max-width: 100%;
    padding-inline: 10px;
  }
}

/* v71: customer review — original character portraits, compact hero metrics and final rail/table fixes. */
.ms-podium-portrait,
.ms-character-portrait,
.ms-profile-portrait {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ms-podium-portrait { left: 12px; width: 46px; height: 56px; }
.ms-character-portrait { width: 40px; height: 48px; flex-basis: 40px; }
.ms-profile-portrait { width: 78px; height: 94px; }
.ms-podium-portrait img,
.ms-character-portrait img,
.ms-profile-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transform: none !important;
  transform-origin: center;
}

/* The Discord panel ends cleanly on the shared home baseline; no stray lower rule remains. */
@media (min-width: 681px) {
  .ms-page--home .ms-discord-quicklink--home {
    border-bottom: 0;
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
  }
  .ms-page--home .ms-discord-quicklink--home::after { content: none; }
}

/* Video guide is an informational callout, not a warning treatment. */
.ms-installation-notice {
  min-height: 78px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  margin: 18px 20px 20px;
  padding: 15px 17px;
  border: 1px solid rgba(91,156,181,.42);
  color: #c7d8de;
  background: radial-gradient(circle at 92% 50%,rgba(45,120,148,.2),transparent 15rem),linear-gradient(105deg,rgba(13,39,51,.88),rgba(10,16,22,.96));
  box-shadow: inset 0 1px rgba(172,221,237,.05),0 12px 30px rgba(0,0,0,.18);
  text-decoration: none;
}
.ms-installation-notice > .fa:first-child {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(105,183,212,.5);
  color: #73c6e5;
  background: rgba(72,152,184,.1);
  font-size: 16px;
}
.ms-installation-notice strong { margin-bottom: 4px; color: #e6f1f3; font-size: 10px; }
.ms-installation-notice span { min-width: 0; color: #a1bac2; font-size: 11px; line-height: 1.45; }
.ms-installation-notice__arrow { color: #79c6df; font-size: 11px; }
.ms-installation-notice:hover { border-color: rgba(124,207,235,.72); background: linear-gradient(105deg,rgba(18,57,73,.94),rgba(10,18,24,.98)); transform: translateY(-1px); }

/* Guild columns and the mobile action use one stable, non-overflowing footprint. */
.ms-guild-table .ms-war-record { display: grid; grid-template-columns: repeat(3, minmax(34px, 1fr)); gap: 3px; width: 100%; }
.ms-guild-table .ms-war-record b { min-width: 0; padding-inline: 3px; text-align: center; }
@media (max-width: 680px) {
  .ms-podium-portrait { width: 42px; height: 51px; }
  .ms-character-portrait { width: 38px; height: 46px; flex-basis: 38px; }
  .ms-profile-portrait { width: 68px; height: 82px; }
  .ms-guild-table .ms-profile-link,
  .ms-ranking-table .ms-guild-table .ms-profile-link {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 32px;
    margin-top: 2px;
    padding-inline: 9px;
    justify-content: center;
  }
}

/* v72: official 300px MetinŞah character artwork keeps its full silhouette in rankings. */
.ms-podium-card { padding-left: 78px; }
.ms-podium-portrait { left: 10px; width: 60px; height: 54px; }
.ms-character-portrait { width: 52px; height: 46px; flex-basis: 52px; }
.ms-profile-hero { padding-left: 166px; }
.ms-profile-portrait { left: 24px; width: 122px; height: 108px; }
.ms-podium-portrait img,
.ms-character-portrait img,
.ms-profile-portrait img { object-position: center center; }

@media (max-width: 680px) {
  .ms-podium-card { padding-left: 76px; }
  .ms-podium-portrait { width: 58px; height: 52px; }
  .ms-character-portrait { width: 48px; height: 43px; flex-basis: 48px; }
  .ms-profile-hero { padding-left: 18px; }
  .ms-profile-portrait { left: 18px; top: 24px; width: 104px; height: 92px; }
}

/* v73: final customer fixes — clean rail edge, compact guide and stable guild actions. */
@media (min-width: 681px) {
  .ms-page--home .ms-discord-quicklink--home {
    overflow: hidden;
    border-bottom: 0 !important;
    box-shadow: none !important;
    clip-path: inset(0);
  }
  .ms-page--home .ms-discord-quicklink--home::after {
    display: none !important;
    content: none !important;
  }
}

.ms-installation-notice {
  min-height: 62px;
  grid-template-columns: 34px minmax(0, 1fr) 14px;
  gap: 11px;
  margin: 14px 20px 0;
  padding: 10px 13px;
  border-color: rgba(235,165,51,.28);
  color: #c9b99d;
  background: radial-gradient(circle at 92% 50%,rgba(185,101,17,.1),transparent 12rem),linear-gradient(105deg,rgba(34,17,9,.92),rgba(15,10,7,.96));
  box-shadow: inset 0 1px rgba(255,220,155,.035),0 7px 18px rgba(0,0,0,.16);
}
.ms-installation-notice > .fa:first-child {
  width: 32px;
  height: 32px;
  border-color: rgba(235,165,51,.4);
  color: #e9a938;
  background: rgba(185,101,17,.1);
  font-size: 13px;
}
.ms-installation-notice strong { margin-bottom: 2px; color: #ead7b5; font-size: 9px; }
.ms-installation-notice span { color: #a7957f; font-size: 10.5px; line-height: 1.38; }
.ms-installation-notice__arrow { color: #e2a236; font-size: 10px; }
.ms-installation-notice:hover {
  border-color: rgba(235,165,51,.56);
  background: radial-gradient(circle at 92% 50%,rgba(202,116,22,.14),transparent 12rem),linear-gradient(105deg,rgba(41,21,10,.94),rgba(16,10,7,.98));
  transform: translateY(-1px);
}
.ms-download-links { padding-top: 12px; }

@media (max-width: 680px) {
  .ms-guild-table tr {
    grid-template-columns: 38px minmax(0, 1fr) 72px;
  }
  .ms-guild-table td:nth-child(6) { display: none; }
  .ms-guild-table td:nth-child(7) {
    display: flex;
    grid-column: 2 / 4;
    grid-row: 3;
    min-width: 0;
    justify-content: stretch;
  }
  .ms-guild-table td:nth-child(8) {
    display: flex;
    grid-column: 2 / 4;
    grid-row: 4;
    min-width: 0;
    justify-content: stretch;
  }
  .ms-guild-table td:nth-child(8) .ms-profile-link,
  .ms-ranking-table.ms-guild-table td:nth-child(8) .ms-profile-link {
    display: flex;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 32px;
    box-sizing: border-box;
    margin-top: 2px;
    padding: 0 9px;
    justify-content: center;
  }
  .ms-guild-table .ms-profile-link__label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
  }
  .ms-installation-notice {
    min-height: 58px;
    grid-template-columns: 30px minmax(0, 1fr) 12px;
    gap: 9px;
    margin: 10px 12px 0;
    padding: 9px 10px;
  }
  .ms-installation-notice > .fa:first-child { width: 28px; height: 28px; font-size: 12px; }
  .ms-installation-notice strong { font-size: 8.5px; }
  .ms-installation-notice span { font-size: 9.5px; }
  .ms-download-links { padding: 10px 12px 12px; }
}

/* v74: use MetinŞah's standard circular class portraits everywhere in rankings. */
.ms-podium-card { padding-left: 70px; }
.ms-podium-portrait {
  left: 13px;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 50%;
}
.ms-character-portrait {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  overflow: hidden;
  border-radius: 50%;
}
.ms-profile-hero { padding-left: 150px; }
.ms-profile-portrait {
  left: 27px;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 50%;
}
.ms-podium-portrait img,
.ms-character-portrait img,
.ms-profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 680px) {
  .ms-podium-card { padding-left: 68px; }
  .ms-podium-portrait { left: 12px; width: 46px; height: 46px; }
  .ms-character-portrait { width: 40px; height: 40px; flex-basis: 40px; }
  .ms-profile-hero { padding-left: 18px; padding-top: 132px; }
  .ms-profile-portrait { left: 18px; top: 24px; width: 88px; height: 88px; }
}

/* v75: one-piece Discord card and identical full-width mobile ranking actions. */
.ms-page--home #main-content.container { row-gap: 18px; }
.ms-page--home .ms-right-rail { margin-bottom: 0; }
.ms-page--home .ms-legacy-banner {
  margin-top: 0;
  border-top: 0;
}

/* v78: restore breathing room between home rows and keep official MetinŞah class artwork. */
.ms-podium-portrait,
.ms-character-portrait,
.ms-profile-portrait,
.ms-profile-modal__portrait {
  overflow: hidden;
  border: 1px solid rgba(235,165,51,.58);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%,rgba(105,55,18,.62),#120906 72%);
  box-shadow: 0 0 0 2px rgba(10,5,3,.82),0 5px 14px rgba(0,0,0,.32);
}
.ms-podium-portrait img,
.ms-character-portrait img,
.ms-profile-portrait img,
.ms-profile-modal__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 12%;
  transform: none !important;
}
.ms-page--home .ms-legacy-banner.reveal {
  transform: none !important;
}
.ms-page--home .ms-discord-quicklink--home {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(235,165,51,.22) !important;
  box-shadow: none !important;
  background: radial-gradient(circle at 84% 4%,rgba(37,111,116,.26),transparent 10rem),linear-gradient(155deg,#132020,#080706 66%);
}
.ms-page--home .ms-discord-quicklink--home::after {
  display: none !important;
  content: none !important;
}
.ms-page--home .ms-discord-quicklink__brand {
  flex: 0 0 auto;
  min-height: 76px;
  padding: 13px 14px 9px;
}
.ms-page--home .ms-discord-quicklink__body {
  flex: 1 1 auto;
  padding: 12px 14px 14px;
  border: 0;
  background: transparent;
}
.ms-page--home .ms-discord-quicklink__action {
  flex: 0 0 auto;
  min-height: 40px;
  margin: 0;
  border: 0;
  background: rgba(3,5,5,.46);
  box-shadow: none;
}

@media (max-width: 680px) {
  .ms-ranking-table:not(.ms-guild-table) tr {
    grid-template-columns: 38px minmax(0,1fr) 78px;
    gap: 6px 9px;
  }
  .ms-ranking-table:not(.ms-guild-table) td:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 4;
  }
  .ms-ranking-table:not(.ms-guild-table) td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .ms-ranking-table:not(.ms-guild-table) td:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
    justify-content: flex-end;
  }
  .ms-ranking-table:not(.ms-guild-table) td:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }
  .ms-ranking-table:not(.ms-guild-table) td:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
    justify-content: flex-end;
  }
  .ms-ranking-table:not(.ms-guild-table) td:nth-child(6) {
    grid-column: 2 / 4;
    grid-row: 3;
    justify-content: flex-start;
  }
  .ms-ranking-table:not(.ms-guild-table) td:nth-child(7) {
    display: flex;
    grid-column: 2 / 4;
    grid-row: 4;
    min-width: 0;
    justify-content: stretch;
  }
  .ms-ranking-table:not(.ms-guild-table) td:nth-child(7) .ms-profile-link {
    display: flex;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 32px;
    box-sizing: border-box;
    margin-top: 2px;
    padding: 0 9px;
    justify-content: center;
  }
  .ms-ranking-table:not(.ms-guild-table) .ms-playtime { width: 100%; }
}

/* v79: installation video banner follows the red registration-alert language. */
.ms-installation-notice {
  border-color: rgba(207,112,70,.48);
  color: #d9b7a8;
  background:
    radial-gradient(circle at 92% 50%,rgba(151,54,33,.2),transparent 12rem),
    linear-gradient(100deg,rgba(107,37,23,.3),rgba(41,16,10,.22));
  box-shadow: inset 0 1px rgba(255,214,193,.045),0 7px 18px rgba(30,4,0,.2);
}
.ms-installation-notice > .fa:first-child {
  border-color: rgba(210,111,69,.4);
  color: #dc8b65;
  background: rgba(119,42,23,.2);
}
.ms-installation-notice strong { color: #efc0a9; }
.ms-installation-notice span { color: #d9b7a8; }
.ms-installation-notice__arrow { color: #dc8b65; }
.ms-installation-notice:hover {
  border-color: rgba(221,125,82,.72);
  background:
    radial-gradient(circle at 92% 50%,rgba(177,61,35,.26),transparent 12rem),
    linear-gradient(100deg,rgba(126,42,25,.38),rgba(48,17,10,.28));
}

/* v80: two-piece muted Discord card; its outer footprint stays unchanged. */
.ms-page--home .ms-discord-quicklink--home {
  background:
    radial-gradient(circle at 82% 8%,rgba(38,92,96,.16),transparent 11rem),
    linear-gradient(155deg,rgba(17,30,30,.94),rgba(7,8,7,.96) 68%);
}
.ms-page--home .ms-discord-quicklink--home::before {
  background: radial-gradient(circle at 76% 7%,rgba(48,107,111,.13),transparent 10rem);
}
.ms-page--home .ms-discord-quicklink__brand {
  flex: 1 1 auto;
  min-height: 0;
  gap: 18px;
  padding: 24px 22px;
  border-bottom: 1px solid rgba(204,157,75,.16);
  background: linear-gradient(110deg,rgba(24,55,56,.13),rgba(3,8,8,.08));
}
.ms-page--home .ms-discord-quicklink__brand img {
  width: 66px;
  height: 82px;
  opacity: .84;
  filter: saturate(.78) drop-shadow(0 0 8px rgba(218,137,27,.16));
}
.ms-page--home .ms-discord-quicklink__brand strong {
  color: rgba(236,228,212,.86);
  font-size: 20px;
}
.ms-page--home .ms-discord-quicklink__brand small {
  margin-top: 7px;
  color: rgba(151,160,155,.62);
  font-size: 8px;
}
.ms-page--home .ms-discord-quicklink__body { display: none; }
.ms-page--home .ms-discord-quicklink__action {
  min-height: 66px;
  grid-template-columns: 24px minmax(0,1fr) auto 12px;
  gap: 9px;
  padding: 12px 18px;
  border: 0;
  background: rgba(2,5,5,.58);
}
.ms-page--home .ms-discord-quicklink__action .ms-svg-icon {
  width: 21px;
  height: 21px;
  opacity: .72;
  filter: saturate(.72);
}
.ms-page--home .ms-discord-quicklink__action strong {
  color: rgba(230,224,212,.84);
  font-size: 11px;
}
.ms-page--home .ms-discord-quicklink__action small {
  color: rgba(160,153,140,.6);
  font-size: 8px;
}
.ms-page--home .ms-discord-quicklink__action > .fa:last-child {
  color: rgba(190,151,84,.62);
  font-size: 9px;
}
.ms-page--home .ms-discord-quicklink--home:hover {
  border-color: rgba(221,174,92,.34) !important;
  transform: translateY(-1px);
}

@media (max-width: 680px) {
  .ms-page--home .ms-discord-quicklink__brand { padding: 22px 20px; }
  .ms-page--home .ms-discord-quicklink__brand img { width: 60px; height: 74px; }
  .ms-page--home .ms-discord-quicklink__brand strong { font-size: 18px; }
  .ms-page--home .ms-discord-quicklink__action { min-height: 62px; padding-inline: 16px; }
}

/* v81: compact download layout and a restored home-section boundary. */
.ms-page--home .ms-legacy-banner {
  border-top: 1px solid rgba(235,165,51,.28);
}
.ms-installation-notice {
  width: calc(100% - 88px);
  max-width: 760px;
  min-height: 66px;
  margin: 0 auto 14px;
  padding: 15px 18px;
  grid-template-columns: 38px minmax(0,1fr) 16px;
  gap: 13px;
}
.ms-installation-notice > .fa:first-child { width: 36px; height: 36px; font-size: 14px; }
.ms-installation-notice strong { margin-bottom: 3px; font-size: 10.5px; }
.ms-installation-notice span { font-size: 11px; line-height: 1.42; }
.ms-download-links {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  padding: 14px 20px 18px;
}
.ms-download-links > a {
  min-height: 68px;
  grid-template-columns: 40px minmax(0,1fr) auto;
  gap: 11px;
  padding: 12px 13px;
}
.ms-download-links > a:nth-child(even) { background: rgba(228,139,23,.035); }
.ms-download-icon { width: 38px; height: 38px; font-size: 13px; }
.ms-download-links strong { font-size: 11px; }
@media (max-width: 680px) {
  .ms-installation-notice { width: auto; max-width: none; margin: 10px 12px 12px; padding: 11px 12px; }
  .ms-installation-notice strong { font-size: 9.5px; }
  .ms-installation-notice span { font-size: 10px; }
  .ms-download-links { grid-template-columns: 1fr; gap: 9px; padding: 10px 12px 14px; }
}

/* v82: centered download guide with clear copy separation from the header card. */
.ms-installation-notice {
  margin: 20px auto 18px;
}
.ms-installation-notice strong { margin-right: 5px; }
@media (max-width: 680px) {
  .ms-installation-notice { margin: 16px 12px 14px; }
}

/* v87: keep the installation-guide banner optically centered between the header and download choices. */
.ms-installation-notice { margin: 20px auto 6px; }
@media (max-width: 680px) {
  .ms-installation-notice { margin: 16px 12px 6px; }
}

/* v93: narrower desktop guide and one consistent, colour-only hero hover. */
@media (min-width: 681px) {
  .ms-installation-notice {
    width: calc(85% - 88px);
    max-width: 720px;
  }
}
.ms-page--home .ms-hero__actions .ms-button {
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ms-page--home .ms-hero__actions .ms-button:hover {
  transform: none;
}
.ms-page--home .ms-hero__actions .ms-button--gold:hover {
  color: #080604;
  border-color: #f4d383;
  background: linear-gradient(135deg,#f4d383,#c99336);
  box-shadow: inset 0 1px rgba(255,255,255,.3),0 10px 30px rgba(180,121,36,.2);
}
.ms-page--home .ms-hero__actions .ms-button--ghost:hover {
  color: var(--gold-300);
  border-color: var(--gold-400);
  background: rgba(28,19,10,.78);
  box-shadow: 0 10px 26px rgba(0,0,0,.24);
}

/* v83: podium rank markers and character icons have separate, non-overlapping positions. */
.ms-podium-card { padding-left: 84px; }
.ms-podium-card__rank { left: 16px; top: 10px; }
.ms-podium-portrait { left: 17px; top: 61%; }
@media (max-width: 680px) {
  .ms-podium-card { padding-left: 82px; }
  .ms-podium-card__rank { left: 15px; top: 9px; }
  .ms-podium-portrait { left: 16px; top: 61%; }
}

/* v84: class artwork is the portrait itself; no decorative box or clipped circle surrounds it. */
.ms-podium-portrait,
.ms-character-portrait,
.ms-profile-portrait,
.ms-profile-modal__portrait {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ms-podium-portrait img,
.ms-character-portrait img,
.ms-profile-portrait img,
.ms-profile-modal__portrait img {
  object-fit: contain;
  object-position: center;
}

/* v85: compact but legible class portraits in the ranking; rank markers keep their own clear space. */
.ms-podium-card { padding-left: 76px; }
.ms-podium-portrait { left: 18px; top: 61%; width: 44px; height: 44px; }
.ms-character-portrait { width: 36px; height: 36px; flex-basis: 36px; }
.ms-podium-portrait img,
.ms-character-portrait img {
  filter: saturate(1.08) contrast(1.08) drop-shadow(0 2px 4px rgba(0,0,0,.45));
}
@media (max-width: 680px) {
  .ms-podium-card { padding-left: 73px; }
  .ms-podium-portrait { left: 17px; width: 42px; height: 42px; }
  .ms-character-portrait { width: 34px; height: 34px; flex-basis: 34px; }
}

/* v86: no podium card is preselected; gold remains only on the first-place numeral. */
.ms-podium-card.is-rank-1 {
  border-color: rgba(235,165,51,.16);
  box-shadow: none;
}
.ms-rank-row.is-rank-1 {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.ms-rank-row.is-rank-1 .ms-rank-name {
  color: #c1c9c4;
  font-size: inherit;
}

/* v92: theme-native SweetAlert feedback with intact icon geometry. */
body.ms-page .swal2-container {
  padding: 18px;
  background: rgba(5, 3, 2, .84) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
body.ms-page .swal2-popup {
  position: relative;
  width: min(372px, calc(100vw - 36px)) !important;
  padding: 27px 30px 23px !important;
  overflow: hidden;
  border: 1px solid rgba(235, 165, 51, .42) !important;
  border-radius: 4px !important;
  background:
    radial-gradient(circle at 50% -8%, rgba(229, 154, 33, .18), transparent 44%),
    linear-gradient(145deg, #1b1009 0%, #100906 58%, #090604 100%) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .72), 0 0 42px rgba(199, 119, 18, .12) !important;
  color: var(--muted) !important;
  font-family: var(--font-body) !important;
}
body.ms-page .swal2-popup::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent 4%, rgba(229,154,33,.55) 30%, #ffd06b 50%, rgba(229,154,33,.55) 70%, transparent 96%);
  box-shadow: 0 0 18px rgba(255, 186, 62, .35);
}
body.ms-page .swal2-popup::after {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 211, 123, .055);
  content: "";
  pointer-events: none;
}
body.ms-page .swal2-header,
body.ms-page .swal2-content,
body.ms-page .swal2-actions { position: relative; z-index: 1; }
body.ms-page .swal2-icon {
  width: 80px !important;
  height: 80px !important;
  margin: -5px auto -1px !important;
  border-width: 4px !important;
  background: radial-gradient(circle, rgba(255, 195, 82, .09), transparent 68%);
  transform: scale(.78);
  transform-origin: center;
}
body.ms-page .swal2-icon.swal2-success { border-color: rgba(143, 189, 55, .58) !important; }
body.ms-page .swal2-icon.swal2-success .swal2-success-ring { border-color: rgba(143, 189, 55, .28) !important; }
body.ms-page .swal2-icon.swal2-success [class^="swal2-success-line"] { background-color: #a8cf5a !important; }
body.ms-page .swal2-icon.swal2-success [class^="swal2-success-circular-line"],
body.ms-page .swal2-icon.swal2-success .swal2-success-fix { background: transparent !important; }
body.ms-page .swal2-icon.swal2-error { border-color: rgba(200, 98, 77, .72) !important; }
body.ms-page .swal2-icon.swal2-error [class^="swal2-x-mark-line"] { background-color: #d97a65 !important; }
body.ms-page .swal2-icon.swal2-warning,
body.ms-page .swal2-icon.swal2-info,
body.ms-page .swal2-icon.swal2-question { border-color: rgba(255, 195, 82, .58) !important; color: var(--gold-400) !important; }
body.ms-page .swal2-title {
  margin: 0 !important;
  color: var(--ivory) !important;
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: .015em;
  text-shadow: 0 2px 18px rgba(0,0,0,.62);
}
body.ms-page .swal2-content {
  margin-top: 7px !important;
  color: #aa9b89 !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}
body.ms-page .swal2-content br { display: block; content: ""; margin-top: 4px; }
body.ms-page .swal2-actions { margin: 17px 0 0 !important; }
body.ms-page .swal2-styled {
  min-width: 138px;
  min-height: 40px;
  margin: 0 5px !important;
  padding: 11px 22px !important;
  border: 1px solid rgba(255, 213, 128, .48) !important;
  border-radius: 2px !important;
  background: linear-gradient(135deg, #f2bd4d, #d89120) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255,255,255,.2) !important;
  color: #180e07 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
body.ms-page .swal2-styled:hover { filter: brightness(1.08); transform: translateY(-2px); }
body.ms-page .swal2-styled:focus { outline: 1px solid var(--gold-300) !important; outline-offset: 3px; box-shadow: 0 10px 28px rgba(0,0,0,.38) !important; }
body.ms-page .swal2-cancel { background: linear-gradient(145deg, #24150d, #130b07) !important; color: var(--muted) !important; }

@media (max-width: 480px) {
  body.ms-page .swal2-container { padding: 12px; }
  body.ms-page .swal2-popup {
    width: calc(100vw - 32px) !important;
    max-width: 330px !important;
    padding: 23px 18px 19px !important;
  }
  body.ms-page .swal2-icon { width: 80px !important; height: 80px !important; margin: -8px auto -5px !important; transform: scale(.72); }
  body.ms-page .swal2-title { font-size: 18px !important; }
  body.ms-page .swal2-content { font-size: 11px !important; }
  body.ms-page .swal2-actions { margin-top: 15px !important; }
  body.ms-page .swal2-styled { width: 100%; min-height: 39px; }
}

@media (prefers-reduced-motion: reduce) {
  body.ms-page .swal2-styled { transition: none; }
  body.ms-page .swal2-styled:hover { transform: none; }
}

/* v81 MOBILE HERO: image on top (own block), text + buttons + stats BELOW the image. */
@media (max-width: 680px) {
  .ms-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* Hero fills exactly the first screen (below the 76px sticky header); next section starts at the screen bottom.
       svh = small viewport height: does NOT change when the browser toolbar collapses on scroll, so no "zoom". */
    min-height: calc(100vh - 76px);
    min-height: calc(100svh - 76px);
    border-bottom: 1px solid var(--line);
    background: #090402;
  }
  .ms-hero::before, .ms-hero .ms-hero__glow { display: none; }

  .ms-hero .ms-hero__art {
    position: relative;
    inset: auto;
    z-index: 0;
    flex: 1 1 auto;
    width: 100%;
    min-height: 260px;
    touch-action: pan-y;
  }
  /* Same dark side vignette as the desktop header (mirrored to both sides) + soft fade into the content below. */
  .ms-hero .ms-hero__art::after {
    background:
      linear-gradient(90deg, rgba(6,3,2,.96) 0%, rgba(9,5,3,.7) 14%, rgba(8,4,3,.18) 34%, rgba(8,4,3,.12) 66%, rgba(9,5,3,.7) 86%, rgba(6,3,2,.96) 100%),
      linear-gradient(180deg, rgba(7,3,2,.18) 0%, rgba(7,3,2,0) 35%, rgba(9,4,2,.5) 75%, rgba(9,4,2,.97) 100%);
  }
  /* Desktop tone (less bright) + framing: both characters centred, right warrior's sword partly visible. */
  .ms-hero .ms-hero__fallback,
  .ms-hero .ms-hero__video {
    opacity: .92;
    filter: saturate(.9) contrast(1.06);
    object-position: 68% 20%;
  }

  .ms-hero .ms-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 12px;
    padding-top: 6px;
    padding-bottom: 20px;
  }
  .ms-hero .ms-hero__content { max-width: none; align-self: start; }
  .ms-hero .ms-hero__motto { font-size: clamp(28px, 9vw, 40px); }
  .ms-hero .ms-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
  }
  .ms-hero .ms-hero__actions .ms-button {
    min-width: 0;
    padding-inline: 8px;
    font-size: 11px;
    white-space: nowrap;
    justify-content: center;
  }
  .ms-hero .ms-hero__actions .fa { margin-right: 6px; }

  /* Mobile stats = same flat look as desktop: no frame/background, just icon + text with a thin divider between the two. */
  .ms-hero .ms-hero__metrics {
    /* Same 2-column grid + gap as the buttons above, so each stat sits exactly under its button. */
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: none;
  }
  .ms-hero .ms-hero__metrics .ms-hero-stat--register { display: none; }
  .ms-hero .ms-hero__metrics > .ms-hero-stat {
    justify-content: center;
    min-width: 0;
    min-height: 0;
    gap: 10px;
    padding: 0;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }
  .ms-hero .ms-hero__metrics > .ms-hero-stat + .ms-hero-stat {
    position: relative;
    margin-left: 0 !important;
    padding-left: 0 !important;
    border-left: 0 !important;
  }
  /* thin divider sits in the middle of the gap between the two columns */
  .ms-hero .ms-hero__metrics > .ms-hero-stat + .ms-hero-stat::before {
    position: absolute; left: -4px; top: 2px; bottom: 2px; width: 1px; content: ""; background: var(--line);
  }
  .ms-hero .ms-hero__metrics > .ms-hero-stat::after { display: none; content: none; }
  .ms-hero .ms-hero__metrics .ms-hero-stat > i { width: 30px; height: 30px; flex-basis: 30px; font-size: 12px; background: rgba(7,4,2,.5); }
  .ms-hero .ms-hero__metrics .ms-hero-stat small { margin-bottom: 3px; color: #9c8a73; font-size: 8px; letter-spacing: .12em; }
  .ms-hero .ms-hero__metrics .ms-hero-stat strong { margin-top: 0; font-size: 19px; font-weight: 600; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
  .ms-hero .ms-hero__metrics .ms-hero-stat--status { min-width: 0; }
  .ms-hero .ms-hero__metrics .server-online { font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
}
@media (max-width: 420px) {
  .ms-hero .ms-hero__actions { grid-template-columns: 1fr 1fr; }
}

/* v100: home hero desktop stats (moved from Header.php inline <style>): one flat row with thin dividers. */
@media (min-width: 641px) {
  .ms-hero .ms-hero__metrics { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 0; width: auto; max-width: none; }
  .ms-hero .ms-hero__metrics > .ms-hero-stat { min-height: 0; min-width: 0; padding: 0; gap: 12px; border: 0 !important; background: none !important; box-shadow: none !important; backdrop-filter: none !important; }
  .ms-hero .ms-hero__metrics > .ms-hero-stat + .ms-hero-stat { margin-left: 26px; padding-left: 26px; border-left: 1px solid var(--line) !important; }
}
@media (max-width: 640px) {
  .ms-hero__eyebrow { font-size: 10px; letter-spacing: .18em; }
  .ms-hero__lead { font-size: 14px; line-height: 1.55; }
}

/* v102: hero istatistik seridi (Aktif Oyuncu / Oyun Sunucusu) masaustunde %15 kucultuldu */
@media (min-width: 641px) {
  .ms-hero .ms-hero__metrics { gap: 12px 0; }
  .ms-hero .ms-hero__metrics > .ms-hero-stat { gap: 10px; }
  .ms-hero .ms-hero__metrics > .ms-hero-stat + .ms-hero-stat { margin-left: 22px; padding-left: 22px; }
  .ms-hero .ms-hero__metrics .ms-hero-stat > i { width: 29px; height: 29px; flex: 0 0 29px; font-size: 11px; }
  .ms-hero .ms-hero__metrics .ms-hero-stat small { font-size: 7.65px; }
  .ms-hero .ms-hero__metrics .ms-hero-stat strong,
  .ms-hero .ms-hero__metrics .ms-hero-stat strong.server-online { font-size: 18.7px; }
  .ms-hero .ms-hero__metrics .ms-hero-dot::before { width: 8.5px; height: 8.5px; }
}

/* v104: hero butonlari (Ucretsiz Oyna / Oyunu Indir) masaustunde %5 kucultuldu (yukseklik, ic bosluk, yazi, ikon, aralik) */
@media (min-width: 681px) {
  .ms-hero .ms-hero__actions { gap: 11.4px; }
  .ms-hero .ms-hero__actions .ms-button { min-height: 43.7px; padding: 10.45px 19px; font-size: 9.5px; }
  .ms-hero .ms-hero__actions .fa { margin-right: 8.5px; font-size: 11.4px; }
}

/* v106: hero masaustu - istatistik ortasindaki cubuk, iki buton arasindaki bosluga hizali; cubugun sol ve sag boslugu esit.
   Ucretsiz Oyna butonu 151px sabit, aralik 11.4px => cubuk 151 + 5.7 = 156.7px konumunda. Soldaki icerik ~119px => iki yanda ~37.5px bosluk. */
@media (min-width: 681px) {
  .ms-hero .ms-hero__actions .ms-button--gold { min-width: 151px; }
  .ms-hero .ms-hero__metrics > .ms-hero-stat:first-child { flex: 0 0 156.7px; margin: 0; padding: 0; box-sizing: border-box; }
  .ms-hero .ms-hero__metrics > .ms-hero-stat + .ms-hero-stat { margin-left: 0; padding-left: 37.5px; }
}

/* v108: indirme sayfasi kurulum rehberi kutusu - alttaki indirme kartlariyla ayni genislik/hiza, iki satirli duzen (baslik ustte, aciklama altta), "Izle" butonu. */
.ms-installation-notice strong { display: block; margin: 0 0 4px; }
.ms-installation-notice__cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid rgba(221,125,82,.5); color: #efc0a9; background: rgba(119,42,23,.28); font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.ms-installation-notice__cta em { font-style: normal; }
.ms-installation-notice__cta .fa { font-size: 9px; }
.ms-installation-notice:hover .ms-installation-notice__cta { border-color: rgba(235,165,51,.75); color: #ffe2c4; background: rgba(150,56,30,.4); }
@media (min-width: 681px) {
  .ms-installation-notice { width: auto; max-width: none; min-height: 84px; margin: 20px 20px 0; padding: 18px 22px; grid-template-columns: 46px minmax(0,1fr) auto; gap: 16px; align-items: center; }
  .ms-installation-notice > .fa:first-child { width: 46px; height: 46px; font-size: 17px; }
  .ms-installation-notice strong { margin-bottom: 5px; font-size: 12px; }
  .ms-installation-notice span { font-size: 12px; line-height: 1.5; }
}
@media (max-width: 680px) {
  .ms-installation-notice { grid-template-columns: 32px minmax(0,1fr) auto; }
  .ms-installation-notice__cta { padding: 8px 10px; }
  .ms-installation-notice__cta em { display: none; }
}

/* v109: kurulum rehberi kutusu - kayit sayfasindaki bilgi kutusuyla ayni olcu (650px, ortali, ayni ic bosluk); bilgi/uyari degil "video rehber" kimligi:
   altin sol serit, nabiz atan oynat ikonu, ust etiket ve altin cerceveli "Izle" butonu. */
.ms-installation-notice {
  position: relative; width: auto; max-width: 650px; min-height: 0; margin: 20px auto 0; padding: 15px 16px 15px 19px;
  grid-template-columns: 38px minmax(0,1fr) auto; gap: 13px; align-items: center;
  border: 1px solid rgba(235,165,51,.26); border-left: 3px solid var(--gold-500);
  color: #c9b99d;
  background: radial-gradient(circle at 96% 50%,rgba(229,154,33,.12),transparent 11rem), linear-gradient(100deg,rgba(40,22,10,.92),rgba(16,10,7,.96));
  box-shadow: inset 0 1px rgba(255,220,155,.035), 0 7px 18px rgba(0,0,0,.16);
}
.ms-installation-notice > .fa:first-child {
  width: 36px; height: 36px; font-size: 14px; border-color: rgba(235,165,51,.5); color: var(--gold-300); background: rgba(185,101,17,.14);
  animation: msPlayPulse 2.6s ease-out infinite;
}
@keyframes msPlayPulse { 0% { box-shadow: 0 0 0 0 rgba(235,165,51,.38); } 70%,100% { box-shadow: 0 0 0 10px rgba(235,165,51,0); } }
.ms-installation-notice__kicker { display: block; margin: 0 0 3px; color: var(--gold-500); font-family: var(--font-display); font-size: 8px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.ms-installation-notice strong { display: block; margin: 0 0 3px; color: #ead7b5; font-size: 11px; }
.ms-installation-notice span { color: #a7957f; font-size: 10px; line-height: 1.6; }
.ms-installation-notice__cta { border-color: rgba(235,165,51,.55); color: var(--gold-300); background: rgba(185,101,17,.12); }
.ms-installation-notice:hover { border-color: rgba(235,165,51,.5); border-left-color: var(--gold-400); background: radial-gradient(circle at 96% 50%,rgba(229,154,33,.18),transparent 11rem), linear-gradient(100deg,rgba(46,25,11,.94),rgba(17,11,7,.98)); transform: translateY(-1px); }
.ms-installation-notice:hover .ms-installation-notice__cta { border-color: var(--gold-400); color: #1a0f05; background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); }
@media (max-width: 680px) {
  .ms-installation-notice { margin: 16px 12px 0; padding: 13px 13px 13px 15px; grid-template-columns: 32px minmax(0,1fr) auto; }
  .ms-installation-notice > .fa:first-child { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .ms-installation-notice > .fa:first-child { animation: none; } }

/* v110: rehber kutusu yazi olculeri kayit sayfasindaki bilgi kutusuyla ayni (baslik 9px buyuk harf, aciklama 10px / 1.65); ust etiket kaldirildi. */
.ms-installation-notice strong { margin: 0 0 3px; color: #ead7b5; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.ms-installation-notice span { font-size: 10px; line-height: 1.65; }

/* v111: "Izle" butonu hover - dolgu yok; cerceve ve yazi bir ton parlar, arka plan hafif isinir, ok 2px one kayar. */
.ms-installation-notice__cta .fa { transition: transform .2s ease; }
.ms-installation-notice:hover .ms-installation-notice__cta { border-color: rgba(255,195,82,.8); color: #fff0c9; background: rgba(229,154,33,.2); }
.ms-installation-notice:hover .ms-installation-notice__cta .fa { transform: translateX(2px); }

/* v113: Lonca siralamasi (masaustu) - Karakter siralamasi tablosuyla ayni olcu/oran.
   Onceki yama kurallarinin hepsini ezmek icin #highscore ile guclendirildi. */
@media (min-width: 681px) {
  #highscore .ms-guild-table-wrap { overflow-x: auto !important; }
  #highscore table.ms-guild-table { width: 100% !important; min-width: 850px !important; table-layout: fixed !important; }
  #highscore table.ms-guild-table th { padding: 11px 12px !important; }
  #highscore table.ms-guild-table td { height: 62px !important; padding: 8px 12px !important; overflow: visible !important; }
  /* gorunen 7 sutun: # | Lonca | Seviye | Lider | Puan | Savas Kaydi | buton */
  #highscore table.ms-guild-table th:nth-child(1) { width: 7.5% !important; }
  #highscore table.ms-guild-table th:nth-child(2) { width: 23.5% !important; }
  #highscore table.ms-guild-table th:nth-child(3) { width: 14% !important; }
  #highscore table.ms-guild-table th:nth-child(4) { width: 15% !important; }
  #highscore table.ms-guild-table th:nth-child(5) { width: 9% !important; }
  #highscore table.ms-guild-table th:nth-child(6),
  #highscore table.ms-guild-table td:nth-child(6) { display: none !important; }
  #highscore table.ms-guild-table th:nth-child(7) { width: 15% !important; }
  #highscore table.ms-guild-table th:nth-child(8) { width: 16% !important; }
  #highscore table.ms-guild-table th:nth-child(7),
  #highscore table.ms-guild-table td:nth-child(7) { display: table-cell !important; }
  /* lonca ikonu = karakter portresiyle ayni kutu (36x36) ve ayni isim boslugu */
  #highscore .ms-guild-table .ms-character { gap: 10px !important; }
  #highscore .ms-guild-table .ms-character strong { max-width: 170px; }
  #highscore .ms-guild-table .ms-guild-avatar { width: 36px !important; height: 36px !important; flex: 0 0 36px !important; display: grid; place-items: center; }
  #highscore .ms-guild-table .ms-guild-avatar img { width: 28px !important; height: 34px !important; object-fit: contain; }
  /* savas kaydi rozetleri ve buton */
  #highscore .ms-guild-table .ms-war-record { display: flex !important; width: auto !important; gap: 4px; justify-content: flex-start; }
  #highscore .ms-guild-table .ms-war-record b { min-width: 0 !important; padding: 4px 6px !important; }
  #highscore .ms-guild-table .ms-profile-link { width: auto !important; min-width: 0 !important; height: 30px !important; padding: 0 9px !important; gap: 6px; }
  #highscore .ms-guild-table .ms-profile-link .ms-svg-icon { width: 14px; height: 14px; flex-basis: 14px; }
}

/* v114: Karakter ve Lonca siralamasi (masaustu) - ortak yazi ve ikon olculeri.
   Isim 13px, ikon kutusu 36px, rakam/seviye 11px, rozet 10px, buton 9px; iki tabloda da ayni. */
@media (min-width: 681px) {
  #highscore table.ms-ranking-table .ms-character strong { font-size: 13px !important; font-weight: 700; line-height: 1.2; }
  #highscore table.ms-ranking-table .ms-character { gap: 10px !important; }
  /* ikon kutusu: karakter portresi = lonca ikonu */
  #highscore table.ms-ranking-table .ms-character-portrait,
  #highscore table.ms-ranking-table .ms-guild-avatar { width: 36px !important; height: 36px !important; flex: 0 0 36px !important; display: grid; place-items: center; }
  #highscore table.ms-ranking-table .ms-character-portrait img { width: 36px !important; height: 36px !important; object-fit: contain; }
  #highscore table.ms-ranking-table .ms-guild-avatar img { width: 24px !important; height: 29px !important; object-fit: contain; }
  /* siralama rozeti */
  #highscore table.ms-ranking-table .ms-table-rank { width: 29px; height: 29px; font-size: 11px !important; }
  /* hucre icerikleri */
  #highscore table.ms-ranking-table .ms-level,
  #highscore table.ms-ranking-table .ms-playtime strong,
  #highscore table.ms-ranking-table .ms-guild-leader { font-size: 11px !important; }
  #highscore table.ms-ranking-table .ms-playtime small { font-size: 9px !important; }
  #highscore table.ms-ranking-table .ms-class-chip,
  #highscore table.ms-ranking-table .ms-empire-chip { font-size: 10px !important; }
  #highscore table.ms-ranking-table .ms-war-record b { font-size: 9px !important; }
  /* Profili gor butonu */
  #highscore table.ms-ranking-table .ms-profile-link { font-size: 9px !important; height: 30px !important; padding: 0 10px !important; gap: 7px !important; align-items: center; }
  #highscore table.ms-ranking-table .ms-profile-link .fa { font-size: 13px !important; }
  #highscore table.ms-ranking-table .ms-profile-link .ms-svg-icon { width: 14px !important; height: 14px !important; flex-basis: 14px; }
  /* tablo basliklari */
  #highscore table.ms-ranking-table th { font-size: 9px !important; }
}

/* v117: En guclu 3 karakter / 3 lonca kartlari (masaustu) - ayni olcu ve yerlesim.
   Ikon kutusu 44px, isim 15px, alt satir 10px, ayni sol bosluk; tablolardaki 13px isimden bir kademe buyuk. */
@media (min-width: 681px) {
  #highscore .ms-podium .ms-podium-card { padding: 18px 14px 14px 76px !important; gap: 13px; align-items: center; }
  #highscore .ms-podium .ms-podium-portrait,
  #highscore .ms-podium .ms-guild-crest {
    position: absolute !important; left: 18px !important; top: 61% !important; transform: translateY(-50%) !important;
    width: 44px !important; height: 44px !important; display: grid; place-items: center; border: 0 !important; background: transparent !important; clip-path: none !important;
  }
  #highscore .ms-podium .ms-podium-portrait img { width: 44px !important; height: 44px !important; object-fit: contain; }
  #highscore .ms-podium .ms-guild-crest img { width: 30px !important; height: 36px !important; object-fit: contain; }
  #highscore .ms-podium .ms-podium-card__copy { padding: 0 !important; }
  #highscore .ms-podium .ms-podium-card__copy strong { font-size: 15px !important; font-weight: 700; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #highscore .ms-podium .ms-podium-card__copy small { margin-top: 3px !important; font-size: 10px !important; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
}

/* v120: Tum bilgi girilen alanlar (giris, kayit, mail/sifre degistir, destek, odeme, kupon...) icin ORTAK gorunum.
   Kahve-bronz ton (Kayit Ol'daki renge yakin, siteyle uyumlu) - tek bir bütün olarak: kenar, zemin, imlec, placeholder, hover, odak, otomatik doldurma. */
:is(input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="tel"], input[type="search"], input[type="url"], select, textarea, .selectform) {
  border-color: rgba(205, 148, 66, .30) !important;
  background-color: rgba(8, 4, 3, .80) !important;
  color: var(--ivory);
  caret-color: #deA44c;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
:is(input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="tel"], input[type="search"], input[type="url"], select, textarea, .selectform):hover { border-color: rgba(205, 148, 66, .46) !important; }
:is(input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="tel"], input[type="search"], input[type="url"], select, textarea, .selectform):focus,
:is(input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="tel"], input[type="search"], input[type="url"], select, textarea, .selectform):focus-visible {
  border-color: rgba(222, 164, 76, .72) !important;
  background-color: rgba(13, 7, 4, .92) !important;
  box-shadow: 0 0 0 3px rgba(205, 140, 50, .13) !important;
  outline: 0;
}
:is(input, textarea)::placeholder { color: rgba(255, 242, 212, .42); opacity: 1; }
/* tarayici otomatik doldurma: ayni zemin, ayni odak halesi */
:is(input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="tel"], input[type="search"], input[type="url"]):-webkit-autofill,
:is(input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="tel"], input[type="search"], input[type="url"]):-webkit-autofill:hover {
  -webkit-text-fill-color: var(--ivory); caret-color: #deA44c;
  box-shadow: 0 0 0 1000px #0a0503 inset !important;
}
:is(input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="tel"], input[type="search"], input[type="url"]):-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ivory); caret-color: #deA44c;
  box-shadow: 0 0 0 1000px #0a0503 inset, 0 0 0 3px rgba(205, 140, 50, .13) !important;
}

/* v121/v124: Butonlarin klavye/ESC sonrasi odak cercevesi KAPALI - tum butonlarda ve uyari penceresindeki OK butonunda cerceve gorunmez.
   Yalnizca odak (focus) gorunumu degisir; normal, hover ve tiklama gorunumleri ayni kalir. */
:is(button, .ms-button, .btn-big, input[type="submit"], input[type="button"], input[type="reset"]):focus-visible { outline: 0; }
body.ms-page .swal2-styled:focus, body.ms-page .swal2-styled:focus-visible { outline: 0 !important; }

/* v125: Dogrulama baloncugu (bos birakilan / hatali alan) - tarayicinin kendi balonu yerine site tasarimi. */
.ms-field-bubble {
  position: absolute; z-index: 1000; display: none; align-items: flex-start; gap: 9px; box-sizing: border-box;
  max-width: min(320px, calc(100vw - 16px)); padding: 9px 14px 9px 11px;
  border: 1px solid rgba(205, 148, 66, .5); border-left: 2px solid #e07b5d;
  background: rgba(20, 9, 5, .98); box-shadow: 0 12px 30px rgba(0, 0, 0, .55);
  color: var(--ivory); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0; pointer-events: none;
}
.ms-field-bubble.is-visible { display: flex; animation: msBubbleIn .16s ease-out; }
.ms-field-bubble::before {
  content: ""; position: absolute; left: var(--arrow-x, 22px); top: -6px; width: 10px; height: 10px;
  transform: translateX(-50%) rotate(45deg); background: rgba(20, 9, 5, .98);
  border-left: 1px solid rgba(205, 148, 66, .5); border-top: 1px solid rgba(205, 148, 66, .5);
}
.ms-field-bubble.is-above::before { top: auto; bottom: -6px; border: 0; border-right: 1px solid rgba(205, 148, 66, .5); border-bottom: 1px solid rgba(205, 148, 66, .5); }
.ms-field-bubble__icon {
  flex: 0 0 16px; width: 16px; height: 16px; margin-top: 1px; display: grid; place-items: center; border-radius: 50%;
  background: #e07b5d; color: #1a0b06; font-size: 11px; font-weight: 800; line-height: 1;
}
@keyframes msBubbleIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
:is(input, select, textarea).is-invalid,
:is(input, select, textarea).is-invalid:hover,
:is(input, select, textarea).is-invalid:focus { border-color: rgba(224, 123, 93, .72) !important; }
:is(input, select, textarea).is-invalid:focus { box-shadow: 0 0 0 3px rgba(224, 123, 93, .14) !important; }

/* v126: SADECE MOBIL - Lonca siralamasindaki kalkan ikonu, karakter siralamasindaki portre ile ayni kutu (42px), ayni konum ve ayni sol bosluk. */
@media (max-width: 680px) {
  #highscore .ms-podium--guild .ms-podium-card { padding-left: 73px !important; }
  #highscore .ms-podium--guild .ms-guild-crest {
    position: absolute !important; left: 17px !important; top: 61% !important; transform: translateY(-50%) !important;
    width: 42px !important; height: 42px !important; display: grid; place-items: center;
    border: 0 !important; background: transparent !important; clip-path: none !important;
  }
  #highscore .ms-podium--guild .ms-guild-crest img { width: 28px !important; height: 34px !important; object-fit: contain; }
}

/* v127: SADECE MOBIL - Lonca liste kartlari, Karakter liste kartlariyla ayni olcu ve yerlesim:
   ikon kutusu 34px, isim bosluğu 10px, lider yazisi 9px, sira rozeti satirin dikey ortasinda. */
@media (max-width: 680px) {
  #highscore table.ms-guild-table td:nth-child(1) { grid-row: 1 / span 4 !important; }
  #highscore table.ms-guild-table .ms-character { gap: 10px !important; }
  #highscore table.ms-guild-table .ms-guild-avatar { width: 34px !important; height: 34px !important; flex: 0 0 34px !important; display: grid; place-items: center; }
  #highscore table.ms-guild-table .ms-guild-avatar img { width: 24px !important; height: 29px !important; object-fit: contain; }
  #highscore table.ms-guild-table .ms-guild-leader { font-size: 9px !important; }
}


/* Account card: the logout link is centred between the last shortcut icon and the bottom edge of the card.
   The last shortcut row has ~13px of invisible space under its icon, so the link gets 13px more space below its text.
   On the home page the card is stretched next to the ranking card; the auto margins share the free space equally. */
.ms-page--home .ms-account-card { display: flex; flex-direction: column; }
.ms-account-card .ms-account-shortcuts { padding-bottom: 0; }
.ms-account-card .ms-logout-link { margin: auto 18px; padding: 12px 0 25px; }

/* "Ejderha Parası Al" shortcut: a flat gold stack of coins that follows the icon colour, like the other shortcuts. */
.ms-account-shortcuts a > i.ms-coin-icon::before {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Cg%20transform=%27translate%280%20.9%29%27%3E%3Cpath%20fill-rule=%27evenodd%27%20d=%27M3%205a9%203.2%200%200%201%2018%200v3a9%203.2%200%200%201-18%200zM5%205a7%202.2%200%201%200%2014%200a7%202.2%200%201%200-14%200zM7%205a5%201.4%200%201%201%2010%200a5%201.4%200%201%201-10%200z%27/%3E%3Cpath%20d=%27M3%209.8a9%203.2%200%200%200%2018%200v3a9%203.2%200%200%201-18%200z%27/%3E%3Cpath%20d=%27M3%2014.6a9%203.2%200%200%200%2018%200v3a9%203.2%200%200%201-18%200z%27/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Cg%20transform=%27translate%280%20.9%29%27%3E%3Cpath%20fill-rule=%27evenodd%27%20d=%27M3%205a9%203.2%200%200%201%2018%200v3a9%203.2%200%200%201-18%200zM5%205a7%202.2%200%201%200%2014%200a7%202.2%200%201%200-14%200zM7%205a5%201.4%200%201%201%2010%200a5%201.4%200%201%201-10%200z%27/%3E%3Cpath%20d=%27M3%209.8a9%203.2%200%200%200%2018%200v3a9%203.2%200%200%201-18%200z%27/%3E%3Cpath%20d=%27M3%2014.6a9%203.2%200%200%200%2018%200v3a9%203.2%200%200%201-18%200z%27/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

/* AJAX loading indicator (added by assets/js/ajax.js): same clock-style spinner, restyled in the site's dark and gold theme.
   It fades in after a short delay so very fast requests do not flash it. The full-screen layer also blocks double clicks. */
@keyframes msLoaderFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes msLoaderPop { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }
body .site_loading {
  background: rgba(6, 3, 2, .42) !important;
  animation: msLoaderFade .2s ease .12s both;
}
body .site_loading .arc_dis {
  background: radial-gradient(circle at 30% 20%, #2b1708, #0d0704) !important;
  border: 1px solid rgba(222, 164, 76, .55);
  box-shadow: 0 0 0 5px rgba(222, 164, 76, .08), 0 16px 42px rgba(0, 0, 0, .62), 0 0 26px rgba(205, 140, 50, .2) !important;
  animation: msLoaderPop .22s ease .12s both;
}
body .site_loading .arc_dis::before { background: #f0b43a !important; }
body .site_loading .arc { border-color: rgba(222, 164, 76, .32) !important; }
body .site_loading .arc::before,
body .site_loading .arc::after { background: linear-gradient(#f5d680, #c38b34) !important; }
body .site_loading .arc::before { animation-duration: 1.4s !important; }
body .site_loading .arc::after { animation-duration: 8s !important; }
@media (prefers-reduced-motion: reduce) {
  body .site_loading, body .site_loading .arc_dis { animation: none; }
}
