/* Kal2006 Imperial — forged bronze, dancheong enamel and a living realm. */
.realm-site {
  --imperial-gold: #d8b16d;
  --imperial-pale: #f7e5ba;
  --imperial-red: #9f3527;
  --imperial-jade: #46413b;
  --imperial-ink: #101112;
  --imperial-frame: #9a753e;
  --imperial-edge: #e2bb74;
  --imperial-border: linear-gradient(110deg,#514027,#d8b16d 18%,#78512d 45%,#e0b87a 72%,#5c4327);
  background-color: #151515 !important;
  background-image: radial-gradient(ellipse at 0 30%,#423e3b27,transparent 40%),radial-gradient(ellipse at 100% 65%,#88322618,transparent 45%) !important;
}
.realm-site::before { opacity:.22; }
.realm-site ::selection { background:#8e342c; color:#fff0cb; }
.realm-site .eyebrow { color:#dbb573; letter-spacing:.23em; }
.realm-site :is(h1,h2,h3) { text-wrap:balance; }
.realm-site .site-header.realm-header {
  inset:16px 26px auto !important;
  min-height:86px;
  padding-inline:27px !important;
  border:1px solid #b78e50 !important;
  border-top-color:#efd3a0 !important;
  border-radius:0 !important;
  background:linear-gradient(180deg,#393632f5,#24221ff7 49%,#1b1a18f7) !important;
  box-shadow:inset 0 0 0 3px #0e0d0dc7,inset 0 0 0 4px #a4874b55,inset 0 7px 16px #cfaa6412,0 4px 0 #0d0d0c,0 5px 0 #806238,0 15px 35px #0008;
}
.realm-site .realm-header::before,
.realm-site .realm-header::after {
  width:14px;height:14px;top:calc(50% - 7px);
  border:1px solid #f1d097;
  background:linear-gradient(135deg,#c6a36c,#614628 47%,#c29b5e 49%,#5d4127);
  box-shadow:0 0 0 3px #22201f,0 0 0 4px #846744,inset 1px 1px #f4dfab78;
}
.realm-site .realm-header::before { left:-8px; }
.realm-site .realm-header::after { right:-8px; }
.realm-site .realm-header .brand { filter:brightness(1.5) drop-shadow(0 2px 1px #000); }
.realm-site .realm-header nav>a,
.realm-site .realm-header summary { color:#e8e0ce; }
.realm-site .realm-header .nav-register {
  color:#fff0cb !important;
  background:linear-gradient(180deg,#b34331,#8a2a21 55%,#6e241d) !important;
  border-color:#d9ac68 !important;
  box-shadow:inset 0 0 0 2px #512016,inset 0 0 0 3px #c88f4b88,inset 0 3px 8px #ffd49630,0 3px 0 #0e0d0c;
}
.realm-menu { background:linear-gradient(135deg,#363330,#22211f);border-color:#a58450;box-shadow:inset 0 0 0 3px #0e0d0c,0 15px 35px #0009; }
.realm-site .realm-header .nav-register:hover { filter:brightness(1.16); }
.realm-site .imperial-metal-title {
  background:linear-gradient(180deg,#fff2cf 0%,#d9b578 38%,#b58a4e 58%,#ead3a3 75%,#bd9559 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 2px 1px #0009);
}
.realm-site .imperial-hero {
  position:relative;isolation:isolate;min-height:870px;padding-top:0;
  background:#191817;border-bottom:0;overflow:clip;
}
.imperial-stage { min-height:inherit;position:relative;display:grid;align-items:center; }
.imperial-scene { position:absolute;inset:102px 0 0;margin:0;overflow:hidden; }
.imperial-scene picture { display:block;height:100%;width:100%; }
.imperial-scene img { width:100%;height:100%;object-fit:cover;object-position:var(--scene-x,64%) 48%;filter:brightness(.88) saturate(.95); }
.imperial-scene::after {
  content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,#161514f5 0%,#161514d9 28%,#17161471 52%,#17161408 77%),linear-gradient(0deg,#161413 0%,#151413a6 12%,transparent 42%,#19181755 100%);
}
.imperial-hero[data-tone=red] .imperial-scene::after { background:linear-gradient(90deg,#21100cf5,#25110dd9 28%,#21100c71 52%,#21100c08 77%),linear-gradient(0deg,#15140f,transparent 45%,#21100c44); }
.imperial-stage::before {
  content:'';position:absolute;inset:116px 17px 33px;
  border:1px solid #cda56633;border-bottom:0;pointer-events:none;z-index:3;
}
.imperial-stage::after {
  content:'';position:absolute;left:0;bottom:0;right:0;height:102px;z-index:4;pointer-events:none;
  background:url('/assets/realm-imperial/imperial-eaves.svg?v=20261025-neutral2') center bottom/1440px 190px repeat-x;
}
.imperial-corner { position:absolute;width:160px;height:160px;top:116px;pointer-events:none;z-index:4;background:url('/assets/realm-imperial/cloud-corner.svg?v=20261025-neutral2') 0 0/contain no-repeat;opacity:.85; }
.imperial-corner-left { left:14px; }
.imperial-corner-right { right:14px;transform:scaleX(-1); }
.imperial-side-mark {
  position:absolute;left:29px;top:42%;z-index:4;display:flex;align-items:center;gap:14px;
  writing-mode:vertical-rl;text-transform:uppercase;letter-spacing:.28em;font-size:9px;color:#e0bd7b;
}
.imperial-side-mark::before { content:'';width:1px;height:50px;background:#b4935c; }
.imperial-slide-copy {
  position:relative;z-index:5;width:min(1280px,calc(100% - 160px));margin:auto;
  padding:185px 0 162px;min-height:760px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
}
.imperial-slide-kicker { display:flex;align-items:center;gap:15px;margin:0 0 22px;color:#dfc28d!important;text-transform:uppercase;font-size:10px;letter-spacing:.2em;font-weight:700; }
.imperial-slide-kicker::before { content:'';width:38px;height:30px;background:url('/assets/realm-imperial/lotus-medallion.svg?v=20261025-neutral2') center/contain no-repeat; }
.imperial-slide-kicker span { color:#d3a466; }
.realm-site .imperial-slide-title { font-size:clamp(48px,5.3vw,78px);max-width:690px;min-height:2.1em;line-height:1.1;letter-spacing:-.045em;margin:0 0 25px;text-transform:none; }
.imperial-slide-title .imperial-title-top { display:block;color:#f5ecd7;font-size:.72em;line-height:1.32; }
.imperial-slide-title .imperial-title-gold { display:block;background:linear-gradient(#fff0c9,#d5ab69 48%,#c2944f 54%,#f3d698);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 2px #0008); }
.realm-site .imperial-slide-deck { max-width:455px;font-size:16px;line-height:1.85;color:#dedacb;margin:0 0 29px;min-height:89px; }
.imperial-actions { display:flex;align-items:center;gap:13px;flex-wrap:wrap; }
.realm-site .imperial-btn {
  display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:56px;
  padding:16px 27px;border:1px solid #d3a866;border-radius:0;text-decoration:none;
  font-size:11px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;line-height:1.4;
  background:linear-gradient(180deg,#b84331,#8b2c22 52%,#70251d);color:#fff1d1;
  box-shadow:inset 0 0 0 2px #431b16,inset 0 0 0 3px #c38c4e80,inset 0 5px 12px #f0c9771a,0 4px 0 #0d0c0b,0 7px 15px #0005;
  position:relative;transition:filter .2s,transform .2s;
}
.realm-site .imperial-btn:hover { color:#fff4d6;filter:brightness(1.18);transform:translateY(-1px); }
.realm-site .imperial-btn-secondary { background:linear-gradient(180deg,#363330,#23211f);color:#e8d3a5;border-color:#9c8050;box-shadow:inset 0 0 0 2px #141312,inset 0 0 0 3px #b38f4a44,0 4px 0 #0d0c0b; }
.imperial-platforms { display:flex;align-items:center;gap:17px;margin-top:25px;font-size:10px;letter-spacing:.04em; }
.imperial-platforms a { color:#c9c3ac;text-decoration:none; }
.imperial-platforms a:hover { color:#ffe2aa;text-decoration:underline; }
.imperial-platforms i { width:3px;height:3px;background:#a98a55;border-radius:50%; }
.imperial-scene-credit { position:absolute;right:54px;bottom:130px;z-index:5;max-width:235px;text-align:right;color:#d9c6a7!important;font-size:9px;line-height:1.7;letter-spacing:.1em;text-transform:uppercase; }
.imperial-slider-controls {
  position:absolute;left:max(80px,calc((100% - 1280px)/2));bottom:104px;display:flex;align-items:center;gap:10px;z-index:7;
  color:#d5be90;font-size:11px;font-variant-numeric:tabular-nums;
}
.imperial-slider-controls[hidden] { display:none; }
.imperial-slider-controls button {
  display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;border:1px solid #b4955c73;
  background:linear-gradient(#3d3a36d9,#22201ed9);color:#efd4a0;cursor:pointer;font:18px Georgia,serif;box-shadow:inset 0 0 0 2px #0d0d0c9c;
}
.imperial-slider-controls button:hover { background:#5e5953; }
.imperial-slider-count { padding-inline:10px;font-size:12px;letter-spacing:.12em; }
.imperial-slider-count b { color:#ffe5b7; }
.imperial-slider-controls .imperial-pause { margin-left:4px;font-size:13px; }
.imperial-slider-progress { width:76px;height:2px;background:#826b4266;margin-left:10px;overflow:hidden; }
.imperial-slider-progress span { display:block;width:100%;height:100%;background:#dfb977;transform:scaleX(var(--slide-progress,0));transform-origin:left; }
.imperial-slider-status { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
.imperial-hero[data-ready] .imperial-slide-copy { transition:opacity .2s,transform .25s; }
.imperial-hero[data-loading=true] .imperial-slide-copy { opacity:.65;transform:translateY(3px); }
.imperial-hero[data-loading=true] .imperial-slider-progress { opacity:.5; }
.imperial-reel-shell { position:relative;background:linear-gradient(#383532,#252321 55%,#1b1a18);border-top:1px solid #d2aa68;border-bottom:1px solid #9d7b47;box-shadow:inset 0 2px #0d0c0b,inset 0 3px #a17c444d,0 9px 26px #0006;z-index:6;margin-top:-1px; }
.imperial-reel-shell::after { content:'';position:absolute;bottom:4px;left:0;right:0;border-top:1px solid #d8b47138;pointer-events:none; }
.imperial-reel { display:flex;max-width:1440px;margin:auto;padding:16px 40px;gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#9c7c45 #22201f;scroll-snap-type:x mandatory; }
.imperial-reel-item {
  display:grid;grid-template-columns:65px 1fr;align-items:center;gap:12px;flex:0 0 218px;min-height:73px;scroll-snap-align:start;
  color:#d6d1bd!important;text-decoration:none;padding:10px;border:1px solid #b4966044;background:#1514136b;position:relative;
}
.imperial-reel-item img { width:60px;height:60px;aspect-ratio:1;object-fit:cover;border:1px solid #ad925b7a;filter:saturate(.75) brightness(.8); }
.imperial-reel-item small { color:#c6aa73;display:block;font-size:9px;letter-spacing:.1em;text-transform:uppercase;line-height:1.6; }
.imperial-reel-item strong { display:block;font-size:11px;font-weight:600;line-height:1.5; }
.imperial-reel-item[aria-selected=true] { border-color:#e7be75;background:linear-gradient(130deg,#71502b66,#382c1b88);box-shadow:inset 0 0 0 2px #100f09; }
.imperial-reel-item[aria-selected=true]::after { content:'';position:absolute;bottom:-1px;left:20%;right:20%;height:2px;background:#e9bc71; }
.imperial-reel-item[aria-selected=true] img { filter:none; }
.imperial-reel-item:hover { border-color:#d2b478;background:#594a293d; }
.realm-home .realm-seal-band { display:none; }
.imperial-dispatches { position:relative;padding-block:76px 72px; }
.imperial-section-head {
  text-align:center;position:relative;max-width:1280px;margin:0 auto 36px;padding:42px 130px;
  background:linear-gradient(90deg,#19181755,#16151399 35%,#16151399 65%,#19181755),url('/assets/realm-imperial/metal-dancheong-relief-v1.webp') center/cover;
  border-block:1px solid #b995575c;box-shadow:inset 0 4px #0e0d0c88,inset 0 -4px #0e0d0c88;
}
.imperial-section-head::before { content:'';position:absolute;top:-35px;left:50%;transform:translateX(-50%);width:420px;height:65px;background:url('/assets/realm-imperial/cloud-divider.svg?v=20261025-neutral2') center/contain no-repeat;pointer-events:none; }
.imperial-section-head .eyebrow { margin:0 0 12px; }
.realm-site .imperial-section-head h2 { margin:0 0 16px;font-size:clamp(32px,3.4vw,49px);letter-spacing:-.035em; }
.imperial-section-head>p:last-child { max-width:590px;margin:0 auto;line-height:1.8;font-size:14px; }
.imperial-dispatch-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px; }
.imperial-dispatch-card { display:flex;flex-direction:column;position:relative;border:1px solid #987b4c;background:linear-gradient(135deg,#33302d,#23211f);box-shadow:inset 0 0 0 3px #0e0d0c,0 14px 30px #0005;min-width:0; }
.imperial-dispatch-card::after { content:'';position:absolute;inset:5px;border:1px solid #af8d4d29;pointer-events:none; }
.imperial-dispatch-image { display:block;aspect-ratio:1;overflow:hidden;margin:6px 6px 0;position:relative; }
.imperial-dispatch-image::after { content:'';position:absolute;inset:0;background:linear-gradient(0deg,#21201e55,transparent); }
.imperial-dispatch-image img { width:100%;height:100%;object-fit:cover;transition:transform .6s; }
.imperial-dispatch-card:hover img { transform:scale(1.035); }
.imperial-dispatch-body { padding:25px 28px 28px;display:flex;flex-direction:column;flex:1; }
.imperial-dispatch-body .eyebrow { font-size:9px;margin:0 0 12px; }
.realm-site .imperial-dispatch-body h3 { font-size:24px;line-height:1.25;margin:0 0 14px; }
.imperial-dispatch-body h3 a { color:#f0e4ca;text-decoration:none; }
.imperial-dispatch-body p { font-size:13px;line-height:1.85;margin:0 0 20px; }
.imperial-dispatch-link { text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:.08em;text-decoration:none;margin-top:auto; }
.imperial-dispatch-footer { display:flex;justify-content:center;margin-top:30px; }
.imperial-dispatch-footer a { font-size:10px;letter-spacing:.13em;text-transform:uppercase;text-underline-offset:6px; }
.realm-home .realm-news { padding-block:65px 30px; }
.realm-home .realm-news .realm-section-heading { display:none; }
.realm-home .realm-feature { border:1px solid #a88249;background:linear-gradient(135deg,#30231b,#201b15);box-shadow:inset 0 0 0 5px #100f0e,0 15px 35px #0005;position:relative; }
.realm-home .realm-feature::after { content:'';position:absolute;inset:-16px;background:url('/assets/realm-imperial/cloud-corner.svg?v=20261025-neutral2') left top/105px 105px no-repeat;pointer-events:none; }
.realm-home .return-discover { display:none; }
.realm-home .return-paths { width:100%;max-width:none;padding:78px max(48px,calc((100% - 1280px)/2)) 95px;border-block:1px solid #9a7a475e;background:radial-gradient(ellipse at 50% 40%,#524d4944,transparent 70%),linear-gradient(#22201e,#272523 45%,#1b1a18);position:relative; }
.realm-home .return-paths::before { content:'';position:absolute;inset:0;background:url('/assets/realm-imperial/lattice.svg?v=20261025-neutral2') center/128px;opacity:.12;pointer-events:none; }
.realm-home .return-heading { position:relative;padding-top:46px;margin-bottom:46px; }
.realm-home .return-heading::before { content:'';position:absolute;top:-35px;left:50%;transform:translateX(-50%);width:420px;height:70px;background:url('/assets/realm-imperial/cloud-divider.svg?v=20261025-neutral2') center/contain no-repeat; }
.realm-site.realm-home .return-heading h2 { font-size:clamp(33px,3.6vw,50px);background:linear-gradient(#f5e6c5,#c59c60 55%,#e5c88c);-webkit-background-clip:text;background-clip:text;color:transparent; }
.realm-site.realm-home .return-heading p:last-child { max-width:570px;margin-inline:auto;color:#d0c5b9; }
.realm-home .return-class-grid { gap:28px;position:relative; }
.realm-site.realm-home .return-class { height:540px;border:1px solid #d3ac65;box-shadow:inset 0 0 0 4px #121110,0 5px 0 #6b532e,0 8px 0 #0c0b0a,0 20px 35px #0006;overflow:visible; }
.realm-home .return-class::before { content:'';position:absolute;inset:-25px -15px auto;height:65px;background:url('/assets/realm-imperial/imperial-eaves.svg?v=20261025-neutral2') center top/100% auto no-repeat;z-index:3;pointer-events:none; }
.realm-home .return-class img { position:relative;overflow:hidden;padding:5px; }
.realm-site.realm-home .return-class::after { inset:5px;background:linear-gradient(0deg,#141312 0%,#1d1b1ac4 20%,#25232110 60%); }
.realm-site.realm-home .return-class>div { border-top:0;background:none;padding:28px 25px 35px!important; }
.realm-site.realm-home .return-class h3 { color:#f0d29c;font-size:39px;filter:drop-shadow(0 3px 1px #000); }
.realm-home .return-class>div::before { content:'';display:block;width:44px;height:44px;margin:0 auto 11px;background:url('/assets/realm-imperial/lotus-medallion.svg?v=20261025-neutral2') center/contain no-repeat; }
.realm-site.realm-home .return-class span { color:#d1d0bc; }
.realm-home .return-village { margin-block:0;min-height:590px;border-block:2px solid #af8c50;position:relative; }
.realm-home .return-village::before { content:'';position:absolute;inset:0;background:linear-gradient(90deg,#211f1d55,transparent);z-index:1; }
.realm-home .return-village>.wrap { padding-block:100px; }
.realm-site.realm-home .return-village h2 { color:#f4dfb0;font-size:clamp(38px,4.5vw,65px); }
.realm-site.realm-home .return-village .eyebrow { color:#dec08b; }
.realm-home .return-village p { max-width:450px; }
.realm-home .realm-journal { padding-block:90px;background:transparent; }
.realm-home .realm-journal>.realm-section-heading { align-items:center;border-bottom:1px solid #9374445c;padding-bottom:28px;position:relative; }
.realm-home .realm-journal>.realm-section-heading::before { content:'';position:absolute;right:22%;top:-20px;width:100px;height:100px;background:url('/assets/realm-imperial/lotus-medallion.svg?v=20261025-neutral2') center/contain no-repeat;opacity:.18;pointer-events:none; }
.realm-home .realm-tabs { background:linear-gradient(#3b3834,#252321);border:1px solid #8b7046;box-shadow:inset 0 0 0 3px #131211;margin-bottom:35px;padding:5px; }
.realm-home .realm-tabs button { flex:1;padding:17px 19px; }
.realm-home .realm-tabs button[aria-selected=true] { border-bottom-color:#e5b66e;background:linear-gradient(#9c382b,#66271f);color:#ffe6b7;box-shadow:inset 0 0 0 1px #c39a5e8f; }
.realm-site.realm-home .home-content-card { background:linear-gradient(135deg,#28271d,#22211f);border:1px solid #a4814a66;box-shadow:inset 0 0 0 3px #11100f,0 12px 25px #0003; }
.realm-home .seo-summary { background:linear-gradient(120deg,#302d2a,#21201e);border:1px solid #9777466e;box-shadow:inset 0 0 0 4px #131211; }
.realm-home .return-journal { border:0;background:url('/assets/realm-imperial/metal-dancheong-relief-v1.webp') center/cover,linear-gradient(#211d16,#1c1b19);padding:65px 45px;position:relative;isolation:isolate;margin-bottom:50px; }
.realm-home .return-journal::before { content:'';position:absolute;inset:0;background:#141312d6;z-index:-1; }
.realm-home .return-journal::after { content:'';position:absolute;inset:7px;border:1px solid #bc995940;pointer-events:none; }
.realm-home .return-journal h2 { color:#e7d3a6; }
.realm-home .cinematic-cta { border-block:2px solid #bb9456; }
.realm-site .cinematic-cta-primary { background:linear-gradient(#a83b2c,#72261e);border-color:#deb273;box-shadow:inset 0 0 0 2px #4e2119,inset 0 0 0 3px #c3924b55; }
.realm-home #guild-stories-preview>h2 { color:#e7c58b; }
.realm-home #guild-story-cards a { border-color:#a98750;background:linear-gradient(#35322f,#201f1d);box-shadow:inset 0 0 0 3px #100f0e; }
.realm-site .site-footer { background:radial-gradient(ellipse at 50% 0,#44413d90,transparent 65%),#161514;border-top:3px double #ab874e;box-shadow:inset 0 7px #0c0c0b;position:relative; }
.realm-site .site-footer::before { content:'';position:absolute;left:50%;top:-35px;transform:translateX(-50%);width:80px;height:80px;background:url('/assets/realm-imperial/lotus-medallion.svg?v=20261025-neutral2') center/contain no-repeat;pointer-events:none; }
.realm-inner .inner-hero { border-bottom:3px double #a68448; }
.realm-inner .inner-hero::before { content:'';position:absolute;inset:auto 0 0;height:55px;background:url('/assets/realm-imperial/imperial-eaves.svg?v=20261025-neutral2') center bottom/1100px 145px repeat-x;z-index:4;pointer-events:none; }
.realm-inner .inner-hero-copy { position:relative;z-index:5; }
.realm-site.realm-inner .inner-hero h1 em { color:#e4bd7a; }
.realm-site .panel { background:linear-gradient(135deg,#33302d,#252321)!important;border-color:#a2824a77!important;box-shadow:inset 0 0 0 3px #131211,0 15px 30px #0003; }
.realm-site .button,.realm-site button[type=submit] { background:linear-gradient(#ab3c2c,#73251c);box-shadow:inset 0 0 0 2px #4b2118,inset 0 0 0 3px #c2974b55; }
.realm-site .button-outline { background:linear-gradient(#3e3a37,#262422);box-shadow:inset 0 0 0 2px #181715; }
.realm-site .rank-table-wrap { box-shadow:0 10px 30px #0003; }
.realm-site.realm-ranking .rank-table th { background:#3c3936!important;color:#e4c38a;border-bottom-color:#be9759; }
.realm-site.realm-ranking .rank-tools button[aria-pressed=true] { background:linear-gradient(#a63a2b,#70261e);color:#ffe5b7; }
.realm-site .kg-chapters { background:linear-gradient(#3d3a37,#272523); }
.realm-site .analytics-consent { max-width:440px;padding:21px;border-color:#a3834d;box-shadow:0 8px 35px #0009,inset 0 0 0 3px #11100f;background:#252321; }
.realm-site .analytics-consent h2 { font-size:22px;letter-spacing:-.02em;margin:0 0 13px; }
.realm-site .analytics-consent p { font-size:12px;line-height:1.8;color:#dad9c7; }
.realm-site .analytics-consent button { font-size:12px;min-height:44px; }
.realm-site .analytics-settings {
  position:fixed;inset:auto 13px 13px auto;display:grid;place-items:center;width:44px;height:44px;
  margin:0;padding:0;min-height:44px;z-index:1100;border-radius:50%;
  border:1px solid #ad8c52;background:linear-gradient(#3f3b38,#22211f);color:#d9bc83;font-size:0;
  box-shadow:inset 0 0 0 3px #171615,0 3px 12px #0007;
}
.realm-site .analytics-settings::before { content:'';display:block;width:22px;height:22px;background:url("/assets/realm-imperial/privacy-shield.svg") center/contain no-repeat; }
.realm-site .analytics-settings:is(:hover,:focus-visible)::after { content:'Privacy settings';position:absolute;right:52px;white-space:nowrap;font-size:11px;color:#f0ddb5;background:#1d1b19;border:1px solid #a18450;padding:6px 10px; }
.realm-site .analytics-settings[hidden] { display:none; }
.imperial-nojs-note { display:none; }
.imperial-hero:not([data-ready])~.imperial-reel-shell .imperial-reel { flex-wrap:wrap; }
@media(min-width:1800px) {
  .realm-site .imperial-hero { min-height:940px; }
  .imperial-slide-copy { padding-block:210px 185px; }
}
@media(max-width:1180px) {
  .imperial-slide-copy { width:calc(100% - 130px); }
  .realm-site .imperial-slide-title { font-size:64px;max-width:590px; }
  .imperial-slider-controls { left:65px; }
  .imperial-dispatch-grid { gap:16px;grid-template-columns:repeat(3,minmax(0,1fr)); }
  .imperial-dispatch-body { padding:22px; }
  .realm-site .imperial-dispatch-body h3 { font-size:22px; }
  .realm-site.realm-home .return-class { height:480px; }
}
@media(max-width:920px) {
  .realm-site .realm-header:not([data-menu-ready=true]) { inset:8px auto auto!important;width:calc(100% - 28px)!important;margin:0 14px!important; }
  .realm-site .site-header.realm-header { inset:12px 18px auto!important;min-height:70px;padding-inline:20px!important; }
  .realm-site .realm-header #main-navigation { background:linear-gradient(#363330,#22201e)!important;border-color:#b89759!important; }
  .realm-site .realm-header .menu-toggle { background:linear-gradient(#544f4b,#312e2b);border-color:#b19458;box-shadow:inset 0 0 0 2px #1f1d1b; }
  .realm-site .imperial-hero { min-height:800px; }
  .imperial-stage::before { inset:100px 12px 35px; }
  .imperial-corner { width:110px;height:110px;top:100px; }
  .imperial-corner-left { left:10px; }.imperial-corner-right { right:10px; }
  .imperial-side-mark { display:none; }
  .imperial-slide-copy { min-height:800px;padding:155px 0 170px;width:calc(100% - 90px); }
  .realm-site .imperial-slide-title { max-width:550px;font-size:58px; }
  .imperial-scene img { object-position:var(--scene-x,65%) center; }
  .imperial-scene::after { background:linear-gradient(90deg,#161514ed,#161514bb 35%,#17161442 85%),linear-gradient(0deg,#161413,transparent 55%); }
  .imperial-slider-controls { left:45px;bottom:105px; }
  .imperial-scene-credit { right:45px;font-size:8px;max-width:175px; }
  .imperial-reel { padding:15px 24px; }
  .imperial-reel-item { flex-basis:205px; }
  .imperial-dispatches { padding-block:65px 55px; }
  .imperial-dispatch-grid { grid-template-columns:1fr 1fr; }
  .imperial-dispatch-card:first-child { grid-column:auto;display:flex; }
  .imperial-dispatch-card:first-child .imperial-dispatch-image { height:auto;aspect-ratio:1;margin:6px 6px 0; }
  .realm-home .return-paths { padding-inline:24px; }
  .realm-home .return-class-grid { gap:20px; }
  .realm-site.realm-home .return-class { height:430px; }
  .realm-site.realm-home .return-class h3 { font-size:30px; }
  .realm-home .return-class::before { background-size:100% auto;inset:-23px -12px auto; }
}
@media(max-width:640px) {
  .realm-site .site-header.realm-header { inset:9px 13px auto!important;min-height:63px;padding-inline:16px!important; }
  .realm-site .realm-header::before,.realm-site .realm-header::after { width:9px;height:9px;top:calc(50% - 4px); }
  .realm-site .realm-header::before { left:-5px; }.realm-site .realm-header::after { right:-5px; }
  .realm-site .imperial-hero { min-height:0; }
  .imperial-stage { min-height:916px;align-items:end; }
  .imperial-scene { height:480px;inset:55px 0 auto; }
  .imperial-scene img { object-position:var(--scene-mobile-x,62%) 35%;filter:brightness(.85) saturate(.98); }
  .imperial-scene::after,.imperial-hero[data-tone=red] .imperial-scene::after { background:linear-gradient(0deg,#1b1918 0%,#1b1918ed 12%,#1b191877 36%,#1b191800 72%),linear-gradient(90deg,#1b191833,transparent); }
  .imperial-stage::before { inset:91px 10px 35px;border-color:#c9a36138; }
  .imperial-corner { width:80px;height:80px;top:90px;opacity:.95; }
  .imperial-corner-left { left:9px; }.imperial-corner-right { right:9px; }
  .imperial-stage::after { height:63px;background-size:800px 106px; }
  .imperial-slide-copy { width:calc(100% - 52px);min-height:0;display:block;padding:325px 0 128px; }
  .imperial-slide-kicker { font-size:9px;letter-spacing:.12em;gap:9px;margin-bottom:14px;min-height:28px; }
  .imperial-slide-kicker::before { width:28px;height:28px;flex-shrink:0; }
  .realm-site .imperial-slide-title { font-size:41px;line-height:1.14;max-width:100%;margin-bottom:17px;min-height:140px; }
  .imperial-slide-title .imperial-title-top { font-size:.76em;line-height:1.33; }
  .realm-site .imperial-slide-deck { font-size:13px;line-height:1.8;min-height:96px;margin-bottom:22px;color:#e0d4c7; }
  .imperial-actions { flex-direction:column;gap:10px;align-items:stretch; }
  .realm-site .imperial-btn { min-height:48px;padding:14px 18px;width:100%;font-size:10px; }
  .imperial-platforms { justify-content:center;gap:13px;margin-top:20px;font-size:9px; }
  .imperial-slider-controls { left:26px;right:26px;bottom:66px;gap:7px; }
  .imperial-slider-controls button { width:44px;min-width:44px;height:44px; }
  .imperial-slider-count { margin-right:auto;padding-inline:9px;font-size:11px; }
  .imperial-slider-controls .imperial-pause { margin-left:0; }
  .imperial-slider-progress { width:45px;margin-left:6px; }
  .imperial-scene-credit { display:none; }
  .imperial-reel { padding:12px 18px 15px;gap:9px; }
  .imperial-reel-item { min-height:68px;flex-basis:190px;grid-template-columns:52px 1fr;gap:10px;padding:8px; }
  .imperial-reel-item img { width:52px;height:52px; }
  .imperial-reel-item small { font-size:8px;line-height:1.45;letter-spacing:.08em; }.imperial-reel-item strong { font-size:11px; }
  .imperial-dispatches { padding-block:58px 45px; }
  .imperial-section-head { padding:32px 22px;margin-bottom:27px; }
  .imperial-section-head::before { width:270px;height:55px;top:-27px; }
  .imperial-section-head .eyebrow { font-size:9px; }
  .realm-site .imperial-section-head h2 { font-size:31px; }
  .imperial-section-head>p:last-child { font-size:13px; }
  .imperial-dispatch-grid { grid-template-columns:1fr;gap:19px; }
  .imperial-dispatch-card:first-child { grid-column:auto;display:flex; }
  .imperial-dispatch-card:first-child .imperial-dispatch-image { margin:6px 6px 0;height:auto;aspect-ratio:1; }
  .imperial-dispatch-body { padding:22px 25px 25px; }
  .realm-site .imperial-dispatch-body h3 { font-size:25px; }
  .imperial-dispatch-body p { font-size:13px; }
  .realm-home .realm-news { padding:20px 0 40px; }
  .realm-home .realm-feature::after { background-size:75px;inset:-10px; }
  .realm-home .return-paths { padding:65px 22px 65px; }
  .realm-home .return-heading { padding-top:30px;margin-bottom:42px; }
  .realm-home .return-heading::before { width:280px;height:55px;top:-33px; }
  .realm-site.realm-home .return-heading h2 { font-size:33px; }
  .realm-home .return-class-grid { gap:42px; }
  .realm-site.realm-home .return-class { height:470px; }
  .realm-site.realm-home .return-class h3 { font-size:38px; }
  .realm-home .return-class::before { inset:-24px -15px auto;background-size:100% auto; }
  .realm-home .return-village { min-height:530px; }
  .realm-home .return-village>.wrap { padding-block:75px; }
  .realm-site.realm-home .return-village h2 { font-size:43px; }
  .realm-home .realm-journal { padding-block:55px; }
  .realm-home .realm-tabs { padding:4px; }
  .realm-home .realm-tabs button { flex:0 0 auto;padding:15px 18px; }
  .realm-home .return-journal { padding:35px 26px; }
  .realm-site .site-footer { margin-top:25px; }
  .realm-site .site-footer::before { width:62px;height:62px;top:-30px; }
}
/* Square media rhythm: card artwork and thumbnails share one preferred ratio. */
.realm-site .home-content-image { aspect-ratio:1!important; }
.realm-site .home-content-image img { width:100%;height:100%;object-fit:cover;object-position:50% 26%; }
.realm-site.realm-home .return-class { height:auto!important;display:flex;flex-direction:column; }
.realm-site.realm-home .return-class img { width:100%;height:auto!important;aspect-ratio:1;object-fit:cover;display:block; }
.realm-site.realm-home .return-class>div { position:relative!important;inset:auto!important;width:100%;z-index:2;background:linear-gradient(#282623,#191816); }
.realm-site.realm-home .return-class::after { inset:5px 5px auto;height:auto;aspect-ratio:1; }
.realm-site #guild-story-cards img { height:auto!important;aspect-ratio:1;object-fit:cover; }
.realm-site :is(.expanded-card,.library-card,.photo-equipment-card,.photo-weapon-card) img { width:100%;height:auto!important;aspect-ratio:1;object-fit:cover;object-position:50% 26%; }
.realm-site .photo-weapon-card img { object-fit:contain;background:#1e1d1b; }
.realm-site :is(.blog-story-card,.blog-related-card) .blog-image-link { display:block;aspect-ratio:1;overflow:hidden; }
.realm-site :is(.blog-story-card,.blog-related-card) .blog-image-link img { width:100%;height:100%!important;aspect-ratio:1;object-fit:cover;object-position:50% 26%; }
.imperial-dispatch-card:nth-child(2) .imperial-dispatch-image img { object-position:80% center; }
.realm-site .release-history .release-entry { scroll-margin-top:125px; }
.realm-site .release-summary { display:block; }
.realm-site .release-summary h2 { margin-top:8px; }
.realm-site .release-summary>div { max-width:850px; }
.realm-site .release-history .release-entry .release-version { border-bottom:1px solid #b28e4b44;padding-bottom:18px; }
.realm-site .release-history .release-entry .release-build { color:#afa88f; }
.realm-site .release-history .release-entry ul { padding-left:20px;line-height:1.9;color:#ddd5bf; }
.realm-site.realm-inner .inner-hero-copy { padding-bottom:85px; }
@media(max-width:640px) { .realm-site.realm-inner .inner-hero-copy { padding-bottom:65px; } }
@media(max-width:360px) {
  .imperial-slide-copy { width:calc(100% - 44px); }
  .realm-site .imperial-slide-title { font-size:36px; }
  .imperial-slider-progress { width:25px; }
  .imperial-slide-kicker { font-size:8px; }
}
@media(prefers-reduced-motion:reduce) {
  .imperial-hero *, .imperial-reel { transition:none!important;animation:none!important;scroll-behavior:auto!important; }
}
/* Progressive mobile navigation must override the later fixed-header insets. */
@media(max-width:920px) {
  .realm-site .site-header.realm-header:not([data-menu-ready=true]) {
    position:relative!important;inset:8px auto auto!important;
    width:calc(100% - 28px)!important;margin:0 14px!important;
  }
}

/* Neutral color boundary for legacy page components.
   Append after the Imperial palette. Only color-related declarations follow.
   Existing markup, artwork, dimensions and interactions stay unchanged. */
body.realm-site.realm-inner,
body.realm-site.realm-home,
body.realm-site.realm-document {
  --bg:#151515; --deep:#101112; --panel:#282522; --light:#eee8dc;
  --muted:#c7c0b5; --soft:#282522; --paper:#171717;
  --white-success:#dfbd83;
  --kg-bg:#171717; --kg-panel:#282522; --kg-paper:#282522;
  --kg-ink:#eee8dc; --kg-gold:#e5c68e; --kg-muted:#c7c0b5;
  --kb-ink:#eee8dc; --kb-dim:#c7c0b5; --kb-bronze:#dfbd83; --kb-rule:#a8884f55;
}
.realm-site :is(.seo-summary,.seo-info-main,.seo-product-main) {
  --seo-bg:#211f1c; --seo-text:#eee8dc; --seo-dim:#c7c0b5; --seo-line:#a8884f55;
}
.realm-site :is(.path-card,.guide-card,.journal-feature,.class-window,.window-title,.class-tabs,.class-art,.notice,.server-strip,.portal-panel,.portal-action,.portal-metric,.portal-table,.portal-scroll,.portal-status,.registration-card,.information-panel,.welcome-panel,.download-card) {
  background-color:#282522; border-color:#a8884f55;
}
.realm-site :is(.class-tabs>button,.portal-tabs button,.portal-pagination button,.checksum button) {
  background-color:#23211f; color:#c7c0b5; border-color:#a8884f66;
}
.realm-site :is(.class-tabs>button[aria-selected=true],.portal-tabs button[aria-selected=true]) {
  background-color:#423e3b; color:#f1d9af; border-color:#b89961;
}
.realm-site :is(.portal-table,.rank-table) td { color:#eee8dc; border-color:#a8884f44; }
.realm-site .portal-table th { background-color:#3c3936; color:#e4c38a; border-color:#a8884f55; }
body.realm-site :is(input,select,textarea) { background-color:#1e1c1a; color:#f2ecdc; border-color:#8c7b64; }
.realm-site :is(input,textarea)::placeholder { color:#bfb5a8; }
.realm-site :is(input[type=checkbox],input[type=radio]) { accent-color:#c5a371; }
.realm-site :is(.portal-state:not([data-running=false]),.portal-result[data-success=true],.player-memory-submit-status[data-state=success],.blog-comment-status[data-state=success],.feedback-status[data-success=true]) { color:#dfbd83; }
/* Data errors retain their explicit existing red styles. */
.realm-site :is(.blog-section,.story-card,.story-body,.blog-article,.blog-sidebar,.memory-card,.memory-form,.gallery-card,.kb-card,.kb-panel,.history-panel,.history-card,.feedback-card,.feedback-form,.feedback-panel,.feedback-form-panel,.feedback-receipt,.feedback-quest-reference,.history-unavailable) {
  background-color:#282522; border-color:#a8884f55;
}
.realm-site :is(.feedback-receipt,.feedback-quest-reference,.history-unavailable) { color:#c7c0b5; }
.realm-site .feedback-quest-card button[aria-pressed=true] { background-color:#c5a371; color:#211f1c; }
.realm-site :is(.feedback-field input,.feedback-field select,.feedback-field textarea,.feedback-receipt-tools input) { background-color:#1e1c1a; color:#f2ecdc; border-color:#8c7b64; }
.realm-site .feedback-page .button-outline { background-color:#302e2b; color:#dfbd83; border-color:#a8884f66; }
.realm-site .feedback-page .button-outline:hover { background-color:#423e3b; }
.realm-site :is(.analytics-consent button,.analytics-consent a) { background-color:#302e2b; color:#dfbd83; }
.realm-site :is(.analytics-settings:hover,.analytics-consent button:hover) { background-color:#423e3b; }
/* General guide. These class names differ from the original realm card names. */
.realm-site :is(.kg-hero,.kg-class,.kg-notes article,.kg-world-grid article,.kg-end,.kg-start-grid,.kg-quest-feature) { background-color:#282522; border-color:#a8884f66; }
.realm-site :is(.kg-class-art,.kg-quest-feature>figure) { background-color:#302e2b; }
.realm-site .kg-class-number { background-color:#1e1c1af2; color:#f1d19b; border-color:#a8884f88; }
.realm-site :is(.kg-hero figcaption,.kg-quest-feature figcaption) { background-color:#1f1d1bed; color:#eee8dc; border-color:#a8884f66; }
.realm-site .kg-hero-shade { background:linear-gradient(90deg,#191716f5 0%,#191716eb 28%,#1917169c 48%,#19171626 67%,#19171600 87%),linear-gradient(0deg,#171717a3,transparent 32%); }
.realm-site .kg-end-inner>div { background-color:#211f1df5; }
.realm-site .kg-guide .kg-button,
.realm-site.kg-guide .kg-button { background-color:#302e2b; color:#f1d9af; border-color:#b89961; }
.realm-site.kg-guide .kg-button:hover { background-color:#423e3b; border-color:#d8b16d; }
.realm-site .kg-quest-copy>.kg-button { background:linear-gradient(#b34331,#8a2a21 55%,#6e241d); color:#fff0cb; border-color:#d8b16d; }
.realm-site .kg-quest-copy>.kg-button:hover { background:linear-gradient(#b14634,#9b3329 55%,#7e2b24); color:#fff0cb; border-color:#e2bb74; }
.realm-site :is(.kg-start-grid,.kg-start-grid li,.kg-class-copy dl,.kg-class-copy>a,.kg-quest-feature,.kg-milestones,.kg-milestones li,.kg-questions,.kg-questions details,.kg-chapters,.kg-chapters a) { border-color:#a8884f55; }
.realm-site :is(.kg-start-grid h3,.kg-quest-copy h3,.kg-milestones strong) { color:#eee8dc; }
.realm-site :is(.kg-start-grid p,.kg-class-copy>p:not(.kg-eyebrow),.kg-class-copy dd,.kg-quest-copy>p:not(.kg-eyebrow),.kg-notes p,.kg-world-grid article p:not(.kg-eyebrow),.kg-help>div>p:not(.kg-eyebrow),.kg-questions p,.kg-end p:not(.kg-eyebrow),.kg-section-heading>p,.kg-caption,.kg-artwork-note .artwork-note) { color:#c7c0b5; }
.realm-site :is(.kg-start-grid a,.kg-step-no,.kg-quest-copy .kg-eyebrow,.kg-milestones a,.kg-milestones small,.kg-chapters a) { color:#dfbd83; }
.realm-site .kg-level { background-color:#393632; color:#f1d9af; border-color:#a8884f88; }
.realm-site .kg-hero-facts { color:#e4d9c7; }
.realm-site .kg-hero-facts span { border-color:#a8884f55; }
/* Quest index and interactive reader, including original !important inputs. */
.realm-site :is(.qh-level,.qv-path-number,.qv-path-arrow) { background-color:#302e2b; color:#eedebc; border-color:#a8884f66; }
.realm-site :is(.qh-empty,.kb-tools,.kb-index,.qv-feature,.qh-results>li) { background-color:#282522; border-color:#a8884f66; }
.realm-site :is(.qv-feature:hover,.qh-results>li:hover,.kb-result:hover,.kb-result[aria-current=true]) { background-color:#423e3b; border-color:#d8b16d; }
.realm-site .qv-hero.qh-hero { background-color:#211f1c; }
.realm-site .qv-hero.qh-hero>figure { background-color:#211f1c; }
.realm-site .qv-hero.qh-hero figcaption { background-color:#1f1d1beb; color:#eee8dc; }
.realm-site .qv-hero-shade { background:linear-gradient(90deg,#191716f5 0%,#191716e8 26%,#19171699 47%,#19171620 72%),linear-gradient(0deg,#17171799,transparent 35%); }
.realm-site .qv-hero.qh-hero .qh-index-intro a { background-color:#1c1a18b8; color:#dfbd83; }
.realm-site .qv-path-copy { background-color:#1a1817f5; }
.realm-site .qv-path::before { background:linear-gradient(0deg,#171514 0%,#171514e6 23%,#17151426 75%); }
.realm-site.qh-page.kb-body #kb-coverage { color:#c7c0b5; }
.realm-site.qh-page.kb-body .kb-tools :is(input,select) { background-color:#1e1c1a!important; color:#f2ecdc!important; border-color:#8c7b64; color-scheme:dark; }
.realm-site.qh-page.kb-body .kb-tools input::placeholder { color:#bfb5a8!important; }
.realm-site.qh-page.kb-body .kb-reset { background-color:#302e2b; color:#dfbd83; border-color:#a8884f66; }
.realm-site.qh-page.kb-body .kb-result { color:#eee8dc; border-color:#a8884f44; }
.realm-site.qh-page.kb-body .kb-result strong { color:#eee8dc; }
.realm-site.qh-page.kb-body .kb-result small { color:#c7c0b5; }
.realm-site.qh-page.kb-body :is(.kb-result:hover,.kb-result[aria-current=true]) { background-color:#423e3b; border-color:#d8b16d; }
.realm-site.qh-page.kb-body #kb-article { background-color:#282522; border-color:#a8884f66; color:#eee8dc; }
.realm-site.qh-page.kb-body #kb-article :is(h2,h3,h4,p,li,dt,dd,strong,summary) { color:#eee8dc; }
.realm-site.qh-page.kb-body #kb-article a { color:#e7c38a; }
.realm-site.qh-page.kb-body #kb-article :is(.kb-badge,.kb-step-place,.kb-small-note) { color:#c7c0b5; }
.realm-site.qh-page.kb-body :is(.kb-facts,.kb-objective) { background-color:#302e2b; border-color:#a8884f66; }
.realm-site.qh-page.kb-body :is(.kb-route>li,.kb-quest-nav) { border-color:#a8884f66; }
.realm-site.qh-page.kb-body .kb-route>li::before { background-color:#7e3024; color:#fff0ca; border-color:#cfad6a; }
.realm-site.qh-page.kb-body .kb-permalink { background-color:#302e2b; color:#e7c38a; border-color:#a8884f66; }
.realm-site.qh-page.kb-body .kb-load-state { color:#eee8dc; }
.realm-site.realm-document .qh-check input { background-color:#1e1c1a!important; accent-color:#c5a371!important; color-scheme:dark; }
.realm-site.realm-document .qh-reference :is(.kb-block,.kb-block p,.kb-block li,.kb-block h2,.kb-block h3) { color:#ded6c7!important; }
.realm-site.realm-document .qh-step:has(input:checked) { border-color:#c5a371; }
.realm-site.realm-document .qh-choice { border-color:#a8884f88; }
/* Chronicle, membership and library art mattes. Full images keep their colors. */
.realm-site :is(.series-hero,.series-card,.series-teaser,.membership-card,.membership-status) { background-color:#282522; border-color:#a8884f66; }
.realm-site .series-figure img { background-color:#171717; }

.realm-site .series-next { border-color:#a8884f55; }
.realm-site .collection-hero { background-color:#171717; }
.realm-site .collection-hero::after { background:linear-gradient(0deg,#171717f5,#1717175c 60%,#17171700); }
.realm-site :is(.kb-reference-grid img,.player-portrait img,.blog-reference-grid img,.home-content-image) { background-color:#211f1c; }

.realm-site .inner-hero { background-color:#1d1b19; }
.realm-site .return-village { background-color:#211f1c; }
.realm-site.qh-page #content { background-color:#171717; }
.realm-site :is(.photo-equipment-card,.photo-weapon-card) { background-color:#282522; }
.realm-site .analytics-settings { background-color:#23211f!important; }
.realm-site .analytics-settings:hover { background-color:#423e3b!important; }
.realm-site :is(.player-history-table,.history-table,.qh-table-wrap table,.table-scroll table,.player-table-scroll table) th { background-color:#3c3936;color:#e4c38a;border-color:#a8884f55; }

/* 30 October: compact actions, neutral shared panels and equal consent choices. */
body.realm-site .analytics-consent { background:#252321; color:#eee7d8; width:min(440px,calc(100% - 40px)); padding:15px 18px; }
body.realm-site .analytics-consent h2 { font-size:20px; margin:0 0 7px; }
body.realm-site .analytics-consent p { font-size:13px; line-height:1.5; margin:0 0 7px; }
body.realm-site .analytics-consent > a { display:inline-block; margin:5px 0 0; background:transparent; color:#e0c194; font-size:12px; }
body.realm-site .analytics-consent-details { font-size:12px; margin:4px 0; }
body.realm-site .analytics-consent-details summary { cursor:pointer; color:#e0c194; }
body.realm-site .analytics-consent-details p { margin:7px 0; }
body.realm-site .analytics-consent-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:10px; }
body.realm-site .analytics-consent-actions button { width:100%; min-height:44px; padding:9px 10px; background:#302c28; color:#eee1cc; border-color:#9c8055; font-size:12px; }
body.realm-site .analytics-consent-actions .analytics-consent-close { grid-column:1/-1; }
body.realm-site .analytics-consent .analytics-consent-status:empty { display:none; }
body.realm-site .analytics-consent .analytics-consent-status { margin:8px 0 0; }
body.realm-site .analytics-settings { background:#252321; color:#e0c194; }
body.realm-site.kb-body :is(.kb-tools,.kb-index,.kb-result-heading) { background:#282522; border-color:#8d7654; }
body.realm-site.kb-body .kb-result[aria-current=true] { background:#3b3530; }
body.realm-site.kb-body .kb-result:hover { background:#332e29; }
body.realm-site.realm-action .armour-hero { grid-template-columns:minmax(0,1fr) minmax(280px,480px); gap:24px; padding:102px max(48px,calc((100% - 1280px)/2)) 20px; }
body.realm-site.realm-action .armour-hero > .inner-hero-art { grid-column:2; grid-row:1; width:100%; max-height:270px; object-fit:contain; }
body.realm-site.realm-action .armour-hero > .inner-hero-copy { grid-column:1; grid-row:1; width:100%; margin:0; padding:22px 0; }
body.realm-site.realm-action .armour-hero h1 { font-size:clamp(34px,4vw,52px); }
body.realm-site.realm-action .armour-hero::after { display:none; }
body.realm-site.realm-action .action-jump { display:inline-flex; margin-top:16px; min-height:44px; padding:11px 17px; border:1px solid #b28b57; background:#713126; color:#fff0dc; font-size:13px; font-weight:700; text-decoration:none; }
body.realm-site.realm-action .inner-body { padding-top:0; }
body.realm-site.realm-action .inner-body > .section { padding-top:26px; }
body.realm-site.realm-action .registration-section { grid-template-columns:minmax(0,1.15fr) minmax(230px,.65fr); gap:36px; align-items:start; }
body.realm-site.realm-action .registration-card { order:-1; }
body.realm-site.realm-action .registration-art { order:1; max-width:320px; justify-self:end; }
body.realm-site.realm-action #registration-form { scroll-margin-top:120px; }
body.realm-site.realm-action #client-v39 { scroll-margin-top:120px; }
@media(max-width:980px) {
 body.realm-site.realm-action .armour-hero { padding-top:90px; padding-inline:30px; grid-template-columns:minmax(0,1fr) minmax(220px,340px); }
 body.realm-site.realm-action .armour-hero > .inner-hero-copy { grid-row:1; }
 body.realm-site.realm-action .registration-section { grid-template-columns:minmax(0,1fr); }
 body.realm-site.realm-action .registration-art { max-width:260px; justify-self:center; }
}
@media(max-width:640px) {
 body.realm-site .analytics-consent { inset:auto 12px 60px; width:calc(100% - 24px); padding:12px 14px; max-height:calc(100dvh - 100px); }
 body.realm-site .analytics-consent h2 { font-size:18px; }
 body.realm-site .analytics-consent p { font-size:12px; line-height:1.45; }
 body.realm-site .analytics-consent-actions button { font-size:12px; }
 body.realm-site.realm-action .armour-hero { grid-template-columns:minmax(0,1fr); padding:82px 22px 18px; gap:10px; }
 body.realm-site.realm-action .armour-hero > .inner-hero-art { grid-column:1; grid-row:1; max-height:155px; }
 body.realm-site.realm-action .armour-hero > .inner-hero-copy { grid-column:1; grid-row:2; padding:4px 0 10px; }
 body.realm-site.realm-action .armour-hero h1 { font-size:32px; margin:0; }
 body.realm-site.realm-action .armour-hero .eyebrow { margin-bottom:8px; }
 body.realm-site.realm-action .armour-hero-copy > p:not(.eyebrow) { margin-top:10px; }
 body.realm-site.realm-action .inner-body > .section { padding-top:20px; }
 body.realm-site.realm-action .registration-section { gap:24px; }
 body.realm-site.realm-action .registration-card { padding:20px; }
}

/* =====================================================================================
   KAL2006 SITE-WIDE CONSISTENCY LAYER (13 Nov 2026)
   Every inner page opens like the homepage: the same compact picture band under the menu,
   the same title size, then the content. One heading scale for all inner pages.
   Scope: body.realm-inner only (the homepage has its own home-compact stylesheet).
   The ID in :is(#content, main) is there for specificity only: these rules have to win
   over the page-family stylesheets that load after this file.
   ===================================================================================== */

/* ---------- 1. Page hero: one compact band ---------- */
body.realm-site.realm-inner :is(#content, main) :is(.inner-hero, .series-hero, .kg-hero) {
  --hero-top: 102px;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: stretch;
  grid-template-columns: none; gap: 0;
  min-height: calc(var(--hero-top) + 272px); height: auto;
  margin: 0; padding: var(--hero-top) 0 0;
  background: #161514; border-bottom: 1px solid #8d714d99;
}
body.realm-site.realm-inner :is(#content, main) :is(.inner-hero, .series-hero) > :is(.inner-hero-art, img),
body.realm-site.realm-inner :is(#content, main) .kg-hero > figure {
  position: absolute; inset: var(--hero-top) 0 0 0; z-index: -2;
  display: block; width: 100%; height: calc(100% - var(--hero-top)); max-height: none; aspect-ratio: auto;
  margin: 0; grid-column: auto; grid-row: auto;
}
body.realm-site.realm-inner :is(#content, main) :is(.inner-hero, .series-hero) > :is(.inner-hero-art, img),
body.realm-site.realm-inner :is(#content, main) .kg-hero :is(picture, img) {
  object-fit: cover; object-position: 64% 32%; filter: brightness(.9) saturate(.95);
}
body.realm-site.realm-inner :is(#content, main) :is(.inner-hero, .series-hero)::after,
body.realm-site.realm-inner :is(#content, main) .kg-hero > .kg-hero-shade {
  content: ''; display: block; position: absolute; inset: var(--hero-top) 0 0 0; z-index: -1; height: auto;
  background: linear-gradient(90deg, #161514f2 0%, #161514d0 30%, #1716146b 55%, #17161414 100%);
}
body.realm-site.realm-inner :is(#content, main) :is(.inner-hero, .series-hero)::before { display: none; }

body.realm-site.realm-inner :is(#content, main) :is(.inner-hero, .series-hero) > :is(.inner-hero-copy, .series-hero-copy),
body.realm-site.realm-inner :is(#content, main) .kg-hero > .kg-hero-copy {
  position: relative; z-index: 5; inset: auto; box-sizing: border-box;
  width: 100%; max-width: none; min-width: 0; margin: 0;
  padding: 18px max(48px, calc((100% - 1280px) / 2));
  grid-column: auto; grid-row: auto; align-self: auto;
}
body.realm-site.realm-inner :is(#content, main) :is(.inner-hero-copy, .series-hero-copy, .kg-hero-copy) :is(.eyebrow, .kg-eyebrow) {
  margin: 0 0 6px; font-size: 9.5px; line-height: 1.6;
}
body.realm-site.realm-inner :is(#content, main) :is(.inner-hero-copy, .series-hero-copy, .kg-hero-copy) h1 { margin: 0 0 6px; }
body.realm-site.realm-inner :is(#content, main) :is(.inner-hero-copy, .series-hero-copy, .kg-hero-copy) > p:not(.eyebrow):not(.kg-eyebrow) {
  font-size: 15px; line-height: 1.5; max-width: 640px; margin: 0 0 4px;
}
body.realm-site.realm-inner :is(#content, main) :is(.inner-hero-copy, .series-hero-copy) > a,
body.realm-site.realm-inner :is(#content, main) .kg-hero-copy > .kg-actions { margin-top: 8px; }
body.realm-site.realm-inner :is(#content, main) .kg-hero-copy > .kg-hero-facts { margin-top: 10px; }

/* Heroes that sit inside a page frame (armour showcase, quest guide, visual library): same band height and text scale */
body.realm-site.realm-inner :is(#content, main) :is(.eq-hero, .qg-hero, .collection-hero) {
  min-height: 272px; height: auto; max-height: none; aspect-ratio: auto; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: stretch;
}
body.realm-site.realm-inner :is(#content, main) .collection-hero > picture { position: absolute; inset: 0; aspect-ratio: auto; }
body.realm-site.realm-inner :is(#content, main) .collection-hero > picture img { object-fit: cover; object-position: 64% 32%; filter: brightness(.9) saturate(.95); }
body.realm-site.realm-inner :is(#content, main) .collection-hero::after {
  display: block; background: linear-gradient(90deg, #161514f2 0%, #161514d0 30%, #1716146b 55%, #17161414 100%);
}
body.realm-site.realm-inner :is(#content, main) .collection-hero-copy {
  box-sizing: border-box; width: 100%; margin: 0; padding: 18px max(48px, calc((100% - 1280px) / 2));
}
body.realm-site.realm-inner :is(#content, main) :is(.eq-hero-copy, .qg-hero-copy, .qg-index-hero .qg-hero-copy) { padding: 18px 40px; }
body.realm-site.realm-inner :is(#content, main) :is(.eq-hero-copy, .qg-hero-copy, .collection-hero-copy) :is(.eq-kicker, .qg-eyebrow, .eyebrow) { margin: 0 0 6px; }
body.realm-site.realm-inner :is(#content, main) :is(.eq-hero-copy, .qg-hero-copy, .collection-hero-copy) h1 { margin: 0 0 6px; }
body.realm-site.realm-inner :is(#content, main) :is(.eq-hero-copy, .qg-hero-copy, .collection-hero-copy) > p:not(.eq-kicker):not(.qg-eyebrow):not(.eyebrow) {
  font-size: 15px; line-height: 1.5; max-width: 640px; margin: 0;
}
body.realm-site.realm-inner :is(#content, main) :is(.eq-hero-actions, .qg-hero-actions) { margin-top: 12px; }

/* Visual library: the page starts below the fixed menu, like every other page */
body.realm-site.realm-inner #content.visual-library { padding-top: 110px; }

/* Install page: its text-only opening starts below the fixed menu */
body.realm-site.realm-inner :is(#content, main) > .help-hero { padding-top: 124px; padding-bottom: 24px; }
body.realm-site.realm-inner :is(#content, main) > .help-hero > p:last-of-type { font-size: 15px; line-height: 1.5; }

/* Pages without the shared page stylesheet (guild stories, concept pages) showed a second Register link beside the logo */
@media (min-width: 921px) {
  .realm-site .site-header.realm-header > .registration-quicklink { display: none; }
}

/* The menu bar stays one row on phones on every page (pages without the cinematic-page class stacked it in three rows) */
@media (max-width: 760px) {
  .realm-site .site-header.realm-header { flex-direction: row; }
}

/* ---------- 2. One heading scale ---------- */
body.realm-site.realm-inner :is(#content, main) h1 {
  font-size: clamp(26px, 2.5vw, 34px); line-height: 1.15; letter-spacing: -.02em; text-transform: none;
  max-width: 900px; min-height: 0;
}
.realm-inner h2 { font-size: clamp(22px, 2.1vw, 28px); }
.realm-inner h3 { font-size: 20px; }
.realm-site.realm-inner.realm-document h2 { font-size: clamp(22px, 2.1vw, 28px); }
.realm-site.realm-inner.realm-document h3 { font-size: clamp(18px, 1.7vw, 22px); }

/* ---------- 3. Tablet and phone ---------- */
@media (max-width: 1179px) {
  body.realm-site.realm-inner :is(#content, main) :is(.inner-hero, .series-hero, .kg-hero) { --hero-top: 96px; }
  body.realm-site.realm-inner :is(#content, main) :is(.inner-hero, .series-hero) > :is(.inner-hero-copy, .series-hero-copy),
  body.realm-site.realm-inner :is(#content, main) .kg-hero > .kg-hero-copy { padding: 18px 32px; }
}
@media (max-width: 640px) {
  body.realm-site.realm-inner :is(#content, main) :is(.inner-hero, .series-hero, .kg-hero) { --hero-top: 78px; min-height: calc(var(--hero-top) + 264px); }
  body.realm-site.realm-inner :is(#content, main) :is(.inner-hero, .series-hero) > :is(.inner-hero-copy, .series-hero-copy),
  body.realm-site.realm-inner :is(#content, main) .kg-hero > .kg-hero-copy { padding: 14px 18px; }
  body.realm-site.realm-inner :is(#content, main) :is(.inner-hero, .series-hero)::after,
  body.realm-site.realm-inner :is(#content, main) .kg-hero > .kg-hero-shade { background: linear-gradient(90deg, #161514ee 0%, #161514c4 55%, #16151470 100%); }
  body.realm-site.realm-inner :is(#content, main) h1 { font-size: 23px; }
  body.realm-site.realm-inner :is(#content, main) .collection-hero-copy { padding: 14px 18px; }
  body.realm-site.realm-inner :is(#content, main) :is(.eq-hero-copy, .qg-hero-copy, .qg-index-hero .qg-hero-copy) { padding: 14px 18px; }
  body.realm-site.realm-inner :is(#content, main) > .help-hero { padding-top: 96px; }
  body.realm-site.realm-inner :is(#content, main) :is(.inner-hero-copy, .series-hero-copy, .kg-hero-copy) > p:not(.eyebrow):not(.kg-eyebrow) { font-size: 13px; line-height: 1.45; }
  .realm-inner h2, .realm-site.realm-inner.realm-document h2 { font-size: 21px; }
  .realm-inner h3, .realm-site.realm-inner.realm-document h3 { font-size: 18px; }
}

/* ---------- 4. Register page: the form in two labelled parts, sign-in help beside it ---------- */
.realm-site .registration-card .reg-group { border: 0; border-top: 1px solid #8c724a66; margin: 22px 0 0; padding: 16px 0 0; min-width: 0; }
.realm-site .registration-card .reg-group legend {
  float: left; width: 100%; padding: 0; margin: 0 0 2px;
  font: 700 12px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #e4c488;
}
.realm-site .registration-card .reg-group-note { clear: both; margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: #c8bdad; }
.realm-site .registration-card .reg-group > label:first-of-type { margin-top: 0; }
.realm-site .player-account-next .player-account-web { margin-top: 12px; }
@media (min-width: 1180px) {
  body.realm-site.realm-action .registration-section { grid-template-rows: auto 1fr; }
  body.realm-site.realm-action .registration-section > .registration-card { grid-column: 1; grid-row: 1 / span 2; }
  body.realm-site.realm-action .registration-section > .player-register-help { grid-column: 2; grid-row: 1; padding: 0 0 20px; border-top: 0; border-bottom: 1px solid #66513b; }
  body.realm-site.realm-action .registration-section > .registration-art { grid-column: 2; grid-row: 2; justify-self: start; align-self: start; }
}

/* =====================================================================================
   KAL2006 FORM DESCRIPTIONS (14 Nov 2026, owner: "formlarda açıklama metinlerini italik ve biraz daha küçük yaz")
   The help text under a field or under a group title is italic on every form of the site, and one step
   smaller (14 -> 13 px) where it was 14 px. The two older forms (player memory, article comment) already
   use 11 px for it: there only italic is added.
   Scope: text inside <form> on pages with the site look (admin.html has no realm-site class).
   Labels, consent texts, result and status lines are not descriptions and stay as they are.
   The ID inside :is() also gives these rules the weight they need: the page stylesheets that load after
   this file set the same sizes with up to three classes (readability) or one ID (feedback tracking).
   ===================================================================================== */
body.realm-site form :is(.field-help, .reg-group-note, .feedback-help, .feedback-note, #feedback-tracking-help, .player-memory-field > p, .blog-comment-field > p) { font-style: italic; }
body.realm-site form :is(.field-help, .reg-group-note, .feedback-help, .feedback-note, #feedback-tracking-help) { font-size: 13px; }
