@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap");
:root {
  color-scheme: dark;
  --bg:#120b09; --panel:#211510; --line:#73512d; --gold:#f0c47f;
  --text:#faead5; --muted:#cfbca7;
  --display:Cinzel, Georgia, serif; --body:"DM Sans",system-ui,sans-serif;
}
*,*::before,*::after { box-sizing:border-box; }
[hidden] { display:none!important; }
html { scroll-padding-top:80px; }
body { margin:0;background:var(--bg);color:var(--text);font:400 16px/1.55 var(--body); }
a { color:inherit;text-decoration:none; }
a:hover { color:#ffdc9c; }
:focus-visible { outline:2px solid var(--gold);outline-offset:4px; }
img { display:block;max-width:100%; }
h1,h2,h3 { margin:0;color:#fff0d3;font-family:var(--display);line-height:1.19; }
p { margin:.65em 0 1em;color:var(--muted); }
.shell { width:min(1440px, calc(100% - clamp(36px, 7vw, 112px)));margin-inline:auto; }
.skip { position:absolute;left:15px;top:10px;z-index:10;padding:9px;background:#21140e;transform:translateY(-150%); }
.skip:focus { transform:none; }
.header { position:sticky;top:0;z-index:30;background:#110a08f7;border-bottom:1px solid #8c562d; }
.header-inner { min-height:66px;display:flex;align-items:center;gap:20px; }
.brand { flex:0 0 138px;display:inline-block; }
.brand img { width:138px;height:auto; }
#menu { display:flex;gap:13px;align-items:center;flex:1; }
#menu a { font:700 clamp(15px,1.15vw,19px) var(--display);white-space:nowrap; }
#menu a[aria-current="page"] { color:#ffc97f; }
#menu-toggle { display:none; }
.account,.actions { display:flex;align-items:center;flex-wrap:wrap;gap:10px; }
.button {
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;
  border:1px solid #8c6739;border-radius:6px;background:#21160fe8;
  color:#fff1db;font:800 13px/1.3 var(--display);text-align:center;
}
.button:hover { border-color:#ffd79a;color:white; }
.button.primary { border-color:#d99350;background:linear-gradient(#d75327,#8c200b);color:#fff5de;box-shadow:inset 0 1px #ffd99d80,0 4px 20px #a5311c44; }
.button.primary:hover { background:linear-gradient(#e46636,#a12c10); }
.account .button { min-height:38px;padding:7px 10px;font-size:15px; }
.account .button:not(.primary) { border-color:transparent;background:transparent; }
.hero { display:grid;grid-template-columns:minmax(0,1fr);background:var(--bg); }
.hero-art,.hero-copy { grid-area:1/1; }
.hero-art { position:relative;align-self:start; }
.hero-art img { width:100%;height:auto; }
.hero-art::after {
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,var(--bg),transparent 12%),
    radial-gradient(ellipse at 50% 43%,#140907a8 5%,#1409073d 33%,transparent 61%);
}
.hero-copy {
  z-index:1;display:flex;align-items:center;flex-direction:column;justify-content:flex-start;
  text-align:center;padding:clamp(28px,4vw,58px) 0 54px;
}
.hero-intro { display:flex;flex-direction:column;align-items:center;text-align:center; }
.realm-badge { border:1px solid #98713e;border-radius:999px;background:#20150ddf;padding:6px 13px;display:inline-flex;gap:9px;align-items:center;color:#f1cf97;font-size:12px;font-weight:700; }
.realm-badge span { background:#efae51;width:7px;height:7px;border-radius:50%;box-shadow:0 0 11px #f6a648; }
.ornament { display:flex;gap:8px;align-items:center;color:#ab7647;margin:24px 0 14px; }
.ornament::before,.ornament::after { content:"";width:54px;height:1px;background:linear-gradient(90deg,transparent,#bb8954); }
.ornament::after { transform:rotate(180deg); }
.ornament b { width:15px;height:15px;transform:rotate(45deg);background:linear-gradient(#de6d36,#8f1f0a);border:1px solid #f1b369;box-shadow:0 0 15px #f7a24b90; }
.hero h1 {
  color:#efc580;
  font-size:clamp(28px,3.35vw,52px);
  font-weight:800;
  line-height:1.04;
  text-wrap:balance;
  text-shadow:0 2px #6f4024,0 4px 12px #090402;
}
.hero h1 > span { display:block; }
@supports (background-clip:text) {
  .hero h1 > span {
    background:linear-gradient(#fff1cb 13%,#e8bc70 52%,#b47637 84%,#f0cb8b);
    background-clip:text;
    color:transparent;
    text-shadow:none;
    filter:drop-shadow(0 2px 2px #160b05) drop-shadow(0 3px 6px #090402);
  }
}
.hero-brand { color:#ffdfaf;font:800 13px/1.3 var(--display);letter-spacing:.24em;text-transform:uppercase;margin:14px 0; }
.hero-description { max-width:42ch;margin:1px auto 12px;color:#ffe9d5;font-size:clamp(15px,2vw,19px);text-shadow:0 2px 4px #000; }
.hero .actions { justify-content:center; }
.hero .button { min-height:56px;padding-inline:clamp(14px,2.3vw,32px);font-size:clamp(13px,1.55vw,19px); }
.hero-links { display:flex;gap:10px 16px;flex-wrap:wrap;justify-content:center;margin-top:10px;color:#f4dec3;font-size:clamp(14px,1.35vw,17px); }
.hero-links a::before { content:"◆";color:#e6ad61;font-size:8px;margin-right:6px;vertical-align:2px; }
.front { position:relative;margin-top:-20px;padding-bottom:65px; }
.featured,.split { display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:18px;align-items:stretch; }
.panel { background:linear-gradient(160deg,#241810,#1b110d);border:1px solid var(--line);border-radius:10px;padding:clamp(17px,3vw,27px);min-width:0; }
.panel h2 { font-size:clamp(19px,2.5vw,28px); }
.featured-art { position:relative;display:flex;align-items:end;min-height:285px;padding:20px;isolation:isolate;overflow:hidden; }
.featured-art img { position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover; }
.featured-art::after { content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#140b09ef,transparent 63%); }
.featured-art span { font:800 clamp(14px,2.2vw,24px) var(--display); }
.featured-art b { color:var(--gold); }
.stats { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#664527;border:1px solid #664527;border-radius:5px;overflow:hidden;margin:16px 0; }
.stats div { background:#1a110d;padding:10px 8px;text-align:center; }
.stats dt { color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.1em; }
.stats dd { margin:2px 0 0;color:#ffdc9c;font-weight:800;overflow-wrap:anywhere; }
.event-link { display:flex;justify-content:space-between;border-top:1px solid #64472e;margin-top:18px;padding-top:10px;color:#efbf7c; }
.text-link { color:var(--gold);font-weight:700;font-size:14px; }
.section { margin-top:44px; }
.section-heading { display:flex;justify-content:space-between;align-items:end;gap:10px;margin-bottom:14px; }
.section-heading a { color:var(--gold);font-size:14px; }
.section-heading h2 { font-size:clamp(24px,3vw,36px); }
.front .section { margin-top:clamp(23px,2.6vw,34px); }
.front .section-heading a,.front .steps a,.front .empty { font-size:clamp(15px,1.4vw,18px); }
.realm-card h2 { font-size:clamp(22px,2.7vw,35px); }
.realm-card p,.realm-card .stats dd,.realm-card .event-link { font-size:clamp(16px,1.45vw,19px); }
.realm-card .stats dt { font-size:12px; }
.steps { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;counter-reset:step; }
.steps li { counter-increment:step; }
.steps a,.class-grid a { display:flex;align-items:center;gap:10px;padding:14px;border:1px solid var(--line);background:#211510;border-radius:6px; }
.steps a::before { content:counter(step);width:25px;height:25px;flex:0 0 25px;display:grid;place-items:center;border:1px solid #a47442;color:var(--gold);border-radius:50%;font-size:12px; }
.class-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0; }
.class-grid a { justify-content:space-between;font-weight:700; }
.class-grid a span:last-child { color:var(--gold); }
.empty { color:var(--muted); }
.page-head { background:linear-gradient(90deg,#160d09fa,#160d0960),url("mukings-siege.webp") 60% 40% / cover;border-bottom:1px solid var(--line);padding:60px 0; }
.page-head h1 { font-size:clamp(28px,5vw,55px);color:#ffdfa4; }
.page-head p { margin-bottom:0;color:#f1d7b9; }
.page-content { margin-top:25px;padding-bottom:70px;min-height:240px; }
.list { padding-left:20px;color:var(--muted); }
.list li { margin-block:7px; }
.filters { display:flex;justify-content:space-between;align-items:end;gap:12px;flex-wrap:wrap;margin:12px 0; }
fieldset { border:1px solid var(--line);border-radius:5px;display:flex;gap:12px;padding:7px 10px 10px; }
legend,label { color:var(--muted); }
input[type="search"] { color:var(--text);background:#150d0a;border:1px solid var(--line);border-radius:4px;padding:8px;font:inherit;max-width:100%; }
.table-wrap { overflow:auto; }
table { width:100%;border-collapse:collapse;text-align:left; }
th,td { border-bottom:1px solid #66482d;padding:10px; }
th { background:#321e15;color:#ffdeaa; }
.event-types dt { color:#ffdc9c;font-weight:700; }
.event-types dd { margin:0 0 12px;color:var(--muted); }
.news-feed,.class-guide { display:grid;gap:12px; }
.news-feed time { color:var(--gold);font-size:13px; }
.class-guide { grid-template-columns:repeat(2,minmax(0,1fr)); }
.gallery { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px; }
.gallery figure { padding:8px;margin:0; }
.gallery img { width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:5px; }
.gallery figcaption { padding:10px 6px 4px;color:var(--gold); }
.account-panel { width:min(510px,100%); }
footer { border-top:1px solid var(--line);padding:35px 0;background:#160d0a; }
.footer-grid { display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:20px; }
.footer-grid h2 { font-size:15px;margin-bottom:8px; }
.footer-grid a:not(.brand) { display:block;color:var(--muted);font-size:14px; }
@media (max-width:1350px) {
  #menu-toggle { display:inline-flex;order:2;color:var(--text);background:#29190f;border:1px solid var(--line);border-radius:4px;padding:7px 10px;font:700 14px var(--body); }
  .account { margin-left:auto; }
  #menu { display:none;position:absolute;top:100%;left:0;right:0;padding:15px 22px;background:#1a100cfb;border-bottom:1px solid var(--line);flex-wrap:wrap;max-height:calc(100dvh - 75px);overflow-y:auto; }
  #menu.is-open { display:flex; }
  #menu a { padding:6px 4px; }
}
@media (max-width:680px) {
  .shell { width:calc(100% - 28px); }
  .header-inner { min-height:58px;gap:8px; }
  .brand { flex-basis:99px; }
  .brand img { width:99px; }
  .account { gap:0; }
  .account .button { padding-inline:6px;font-size:12px; }
  .hero .button { padding-inline:12px;min-height:48px; }
  .featured,.split,.steps,.gallery { grid-template-columns:minmax(0,1fr); }
  .featured-art { min-height:205px; }
  .section { margin-top:30px; }
  .page-head { padding:40px 0; }
  .class-grid,.class-guide,.footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (min-width:801px) {
  .hero { position:relative;min-height:clamp(485px,36vw,625px); }
  .hero-art { position:absolute;inset:0;width:100%;height:100%;overflow:hidden; }
  .hero-art::before {
    content:"";position:absolute;inset:0;
    background:linear-gradient(#130a08bd,#130a08ef),url("mukings-realistic-dragon.webp") center 42% / cover;
  }
  .hero-art img {
    position:relative;width:100%;height:100%;
    object-fit:contain;object-position:center top;
  }
  .hero-copy { padding:clamp(24px,3vw,46px) 0 34px; }
}

@media (max-width:800px) {
  .hero-art { grid-area:1/1; }
  .hero-art::after { background:linear-gradient(0deg,var(--bg),transparent 16%),radial-gradient(ellipse at 50% 44%,#140907db 7%,#1409075c 42%,transparent 72%); }
  .hero-copy { display:contents; }
  .hero-intro {
    grid-area:1/1;align-self:start;justify-self:center;
    z-index:1;width:min(91%,480px);padding-top:clamp(8px,3vw,24px);
    text-shadow:0 2px 5px #000;
  }
  .hero .realm-badge { padding:3px 9px;font-size:clamp(10px,2.2vw,13px); }
  .hero .ornament { margin:7px 0 6px; }
  .hero .ornament b { width:8px;height:8px; }
  .hero h1 { font-size:clamp(15px,4.2vw,34px); }
  .hero-brand { margin:6px 0 5px;font-size:clamp(9px,2.3vw,13px); }
  .hero-description { margin:0;font-size:clamp(11px,2.9vw,16px);line-height:1.3; }
  .hero-cta { grid-area:2/1;text-align:center;padding:0 14px 13px;margin-top:-10px;z-index:1; }
  .front { margin-top:0; }
}

/* Ashen Throne */
:root { --bg:#191311;--panel:#251d18;--line:#8b7054;--gold:#e7bd81; }
.header {
  background:radial-gradient(ellipse at top,#faf0db,#dfc8a6);
  border-bottom:4px double #887057;
}
#menu a { color:#36241a; }
#menu a[aria-current="page"] { color:#fff1d5;background:#7b2023;padding:7px 9px; }
.account .button:not(.primary),#menu-toggle { color:#3b291d; }
#menu-toggle { background:#eedbbc; }
.button.primary { background:linear-gradient(#9b2a2d,#591416);border-color:#bc9869; }
.button.primary:hover { background:linear-gradient(#ad393b,#6b1c20); }
.page-index { background:#e6d5b8;color:#392820; }
.ashen-hero { position:relative;background:#211715;border-bottom:4px double #89664a; }
.ashen-hero img { width:100%;height:auto; }
.ashen-hero h1 {
  position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
.ashen-hero .ashen-play {
  position:absolute;left:67.4%;top:65%;width:24.6%;height:22%;min-height:0;padding:0;
  background:none;color:transparent;border:none;box-shadow:none;border-radius:1px;
}
.ashen-hero .ashen-play:hover { background:#fff0c718;color:transparent; }
.ashen-front { margin-top:0;padding-top:clamp(12px,1.7vw,25px); }
.ashen-trio { display:grid;grid-template-columns:1fr 1.08fr .82fr;gap:clamp(9px,1.35vw,22px); }
.ashen-trio .panel {
  min-width:0;min-height:212px;border:4px double #a18562;border-radius:2px;
  padding:clamp(12px,1.4vw,23px);color:#f5e5ce;
}
.ashen-trio h2 { font-size:clamp(17px,2vw,29px); }
.ashen-info {
  background:linear-gradient(90deg,#21191675,#211916 52%),url("mukings-ashen-throne.webp") 41% center / cover;
}
.ashen-stats { margin:9px 0; }
.ashen-stats div { display:flex;justify-content:space-between;gap:8px;padding:4px 0;border-bottom:1px solid #896f534f; }
.ashen-stats dt,.ashen-stats dd { overflow-wrap:anywhere;margin:0; }
.ashen-stats dd { color:#edc591; }
.ashen-events { position:relative;display:flex;align-items:flex-start;justify-content:space-between;
  background:linear-gradient(#201511d9,transparent 70%),url("mukings-ashen-events.webp") center / cover;
}
.ashen-events b { align-self:end;background:#781f24;padding:3px 10px;color:#fff1db; }
.ashen-rank ol { margin:9px 0;padding-left:24px; }
.ashen-rank li { padding:4px 0;border-bottom:1px solid #896f534f; }
.ashen-rank li::marker { color:#e7bd81;font-weight:800; }
.ashen-rank li span { float:right;color:#edc591; }
.ashen-front .section-heading h2 { color:#392820; }
.ashen-front .section-heading a { color:#6f2423; }
.ashen-front :is(.steps a,.class-grid a,.panel.empty) { color:#f7e6cf;border-radius:2px; }
footer { background:#211715;color:#f6e8d4; }
.page-head { background-image:linear-gradient(90deg,#1c1311f4,#20161162),url("mukings-ashen-throne.webp"); }
@media(max-width:1350px) {
  #menu { background:#f4e4c8; }
}
@media(max-width:760px) {
  .ashen-hero { padding-bottom:58px;text-align:center; }
  .ashen-hero h1 {
    position:relative;margin:-38px 0 8px;width:auto;height:auto;overflow:visible;clip-path:none;
    color:#ffe7bd;font-size:clamp(30px,7vw,53px);text-shadow:0 2px 8px #000;
  }
  .ashen-hero .ashen-play {
    position:relative;left:auto;top:auto;width:auto;height:auto;min-height:42px;
    padding:8px 21px;background:linear-gradient(#9b2a2d,#591416);color:#fff1d5;border:1px solid #bc9869;
  }
  .ashen-hero .ashen-play:hover { background:#812329;color:#fff; }
  .ashen-hero { padding-bottom:17px; }
  .ashen-trio { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ashen-trio .ashen-rank { grid-column:1/-1; }
}
@media(max-width:480px) {
  .ashen-trio { grid-template-columns:minmax(0,1fr); }
  .ashen-trio .panel { min-height:150px; }
}

.home-editorial { max-width:1240px;margin-inline:auto; }
.home-editorial .section-heading { border-bottom:3px double #987956;padding-bottom:8px; }
.home-editorial .news-feed { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px; }
.news-feed h3 { margin-top:5px;font-size:clamp(16px,2vw,23px); }
.class-gallery { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0; }
.class-card {
  min-width:0;display:block;overflow:hidden;
  border:3px double #9f835f;border-radius:2px;background:#241b16;color:#f5e5ce;
}
.class-card:hover,.class-card:focus-visible { border-color:#8d272a;color:#ffedcc; }
.class-portrait {
  display:block;width:100%;aspect-ratio:2/1;
  background-size:200% 200%;background-repeat:no-repeat;background-color:#211916;
}
.atlas-1 { background-image:url("classes-atlas-1.webp"); }
.atlas-2 { background-image:url("classes-atlas-2.webp"); }
.atlas-3 { background-image:url("classes-atlas-3.webp"); }
.atlas-4 { background-image:url("classes-atlas-4.webp"); }
.tile-1 { background-position:left top; }
.tile-2 { background-position:right top; }
.tile-3 { background-position:left bottom; }
.tile-4 { background-position:right bottom; }
.class-card-label { display:block;padding:8px 10px; }
.class-card-label strong { display:block;font:700 clamp(12px,1.6vw,19px)/1.2 var(--display); }
.class-card-label small { display:block;margin-top:4px;color:var(--muted); }
.class-guide { grid-template-columns:minmax(0,1fr);margin-top:23px; }
.class-profile { display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,2.3fr);gap:19px;scroll-margin-top:12px; }
.class-profile-portrait { align-self:start;border:3px double #9f835f; }
.class-profile h3 { font-size:clamp(21px,2.4vw,30px); }
.class-role { color:var(--gold); }
.class-profile dl { margin:12px 0; }
.class-profile dl div { padding:7px 0;border-top:1px solid #80694f80; }
.class-profile dt { font-weight:700;color:#f4d4a4; }
.class-profile dd { margin:3px 0 0;color:#f1e1cc; }
.class-sources a { color:var(--gold);text-decoration:underline; }
@media(max-width:760px) {
  .class-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-editorial .news-feed,.class-profile { grid-template-columns:minmax(0,1fr); }
  .class-profile-portrait { max-width:360px; }
}

@media (min-width:801px) and (max-width:1350px) {
  html { scroll-padding-top:120px; }
  .header-inner { flex-wrap:wrap;gap:0 12px;padding-top:8px; }
  #menu-toggle { display:none; }
  #menu {
    position:static;display:flex;order:3;flex:0 0 100%;justify-content:center;
    max-height:none;overflow:visible;gap:4px 12px;padding:4px 0 8px;
    border:0;background:none;
  }
  #menu a { font-size:14px; }
}
