.realm-home .page { max-width: none; margin: 0; padding: 0; }
.world-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center; min-height: clamp(435px, 33.3vw, 564px);
  background: #0a1423; border-bottom: 1px solid #ba9a6080;
}
.world-scene, .world-shade, .hero-trim { position: absolute; pointer-events: none; }
.world-scene { z-index: -3; inset: 0 0 0 17%; }
.world-scene img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 70% 12%; }
.world-shade {
  z-index: -2; inset: 0;
  background: linear-gradient(90deg, #0a1423 0%, #0a1423fc 18%, #0a1423e8 29%, #0a1423af 41%, #0a14234a 57%, #0a142308 78%),
              linear-gradient(0deg, #081220bd, transparent 27%, transparent 76%, #0a14232e);
}
.hero-trim { z-index: -1; inset: 13px; }
.hero-trim i { position: absolute; width: 32px; height: 32px; border-top: 1px solid #e6c7898c; border-left: 1px solid #e6c7898c; }
.hero-trim i::before, .hero-trim i::after { content: ''; position: absolute; background: #e6c789a3; }
.hero-trim i::before { left: 2px; top: 2px; width: 4px; height: 4px; transform: rotate(45deg); }
.hero-trim i::after { left: 4px; top: 4px; width: 15px; height: 1px; transform-origin: 0 50%; transform: rotate(45deg); }
.hero-trim i:nth-child(1) { top: 0; left: 0; }
.hero-trim i:nth-child(2) { top: 0; right: 0; transform: rotate(90deg); }
.hero-trim i:nth-child(3) { right: 0; bottom: 0; transform: rotate(180deg); }
.hero-trim i:nth-child(4) { bottom: 0; left: 0; transform: rotate(270deg); }
.hero-inner { padding-block: 44px 49px; }
.hero-copy { max-width: min(58%, 730px); }
.hero-game { display: flex; align-items: center; gap: 13px; color: #ecd09b; font-size: .69rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 17px; }
.rune-rule { position: relative; width: 39px; height: 1px; background: linear-gradient(90deg,#98733d,#efce8b); }
.rune-rule::after { content: ''; position: absolute; width: 6px; height: 6px; top: -2.5px; right: -1px; background: #e5bf77; transform: rotate(45deg); }
.hero-copy h1 {
  margin: 0; font: 500 clamp(3.9rem, 5.55vw, 6.4rem)/.99 var(--display);
  letter-spacing: -.035em; color: #fbf3e1; text-wrap: initial; text-shadow: 0 2px 15px #0b0e1633;
}
.hero-copy h1 span, .hero-copy h1 em { display: block; }
.hero-copy h1 em { font-style: normal; color: #e7c487; }
.world-invite { margin: 19px 0 0; color: #e2e1dd; font-size: clamp(.95rem, 1.15vw, 1.14rem); line-height: 1.55; }
.world-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.hero-join.btn { min-height: 49px; padding: 11px 20px; gap: 12px; font-size: .94rem; }
.hero-join .icon:first-child { width: 21px; height: 21px; stroke-width: 1.65; }
.hero-join .icon:last-child { width: 16px; }
.guide-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: #f2e7d5; font-size: .88rem; font-weight: 500; }
.guide-link .icon { color: #debf86; width: 16px; height: 16px; }
.realm-status { background: linear-gradient(100deg, #141e2a, #172332 60%, #141e2b); border-bottom: 1px solid var(--realm-border); }
.status-grid { margin-block: 0; padding-block: 18px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.status-fact { display: flex; align-items: center; gap: 17px; padding: 1px 0 1px clamp(18px, 3vw, 49px); border-left: 1px solid var(--realm-border); }
.status-fact:first-child { border: 0; padding-left: 0; }
.status-fact dl { margin: 0; }
.fact-icon { width: 30px; height: 30px; color: #cba971; flex: 0 0 auto; stroke-width: 1.3; }
.status-fact dt, .quest-text small, .post-meta, .news-briefs small { font-size: .63rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.status-fact dt { color: #aab5c3; margin-bottom: 3px; }
.status-fact dd { margin: 0; color: #f0eade; font-size: 1.03rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.server-state { display: flex; align-items: center; gap: 8px; }
.server-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); flex-shrink: 0; }
.server-state[data-state="online"] { color: #a0d7af; }
.server-state[data-state="online"] i { background: #86cda5; box-shadow: 0 0 10px #8ce5b34d; }

.realm-home { background: radial-gradient(ellipse at 37% 52%, #16213165, transparent 56%), var(--bg-0); }
.realm-content { padding-block: clamp(32px, 3.1vw, 52px) 65px; }
.front-columns { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(28px, 3.5vw, 56px); }
.quest-panel, .news-briefs, .shop-picks, .leader-list { list-style: none; margin: 0; padding: 0; }
.quest-panel, .shop-picks, .leader-list, .news-briefs, .quiet-panel {
  background: var(--realm-card); border: 1px solid var(--realm-border); border-radius: var(--r-1);
}
.quest-panel { background: linear-gradient(112deg, #192534, #121c2a 82%); padding-inline: 20px; }
.quest-panel li + li, .news-briefs li + li, .leader-list li + li { border-top: 1px solid #34404d; }
.quest-panel a { display: grid; grid-template-columns: 63px 1fr 16px; align-items: center; gap: 18px; padding: 13px 3px; color: var(--ink-1); min-height: 88px; }
.quest-art { width: 59px; height: 59px; display: grid; place-items: center; position: relative; isolation: isolate; }
.quest-art::before {
  content: ''; position: absolute; inset: 6px; z-index: -1; transform: rotate(45deg);
  background: radial-gradient(circle, #334355, #202e3e 75%); border: 1px solid #65728569; border-radius: 4px;
}
.quest-art img { width: 51px; height: 51px; object-fit: contain; filter: drop-shadow(0 3px 3px #04091199); }
.quest-text small { display: block; color: #c7a675; margin: 0 0 2px; font-size: .57rem; }
.quest-text h3 { margin: 0; color: var(--ink-1); font: 600 1.07rem/1.3 var(--body); }
.quest-text p { margin: 3px 0 0; color: #b5bfcc; font-size: .83rem; line-height: 1.45; }
.quest-chevron { width: 15px; height: 15px; color: #c5a471; }
.quest-panel a:hover .quest-text h3, .news-briefs a:hover strong, .shop-picks a:hover strong { color: var(--gold-1); }
.news-feature { position: relative; isolation: isolate; border: 1px solid var(--realm-border); border-radius: var(--r-1); overflow: hidden; }
.news-feature a { display: flex; align-items: flex-end; position: relative; min-height: clamp(190px, 15.3vw, 250px); color: var(--ink-1); }
.news-feature::after {
  content: ''; position: absolute; pointer-events: none; inset: 7px; border: 1px solid #ecd1a42b; border-radius: 1px;
}
.news-feature a:focus-visible { outline-offset: -4px; }
.news-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 49%; z-index: -2; }
.news-feature a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#0b1322f5,#0b1322d4 26%,#0b13222b 70%,#0b132208); }
.news-feature-copy { padding: 40px 22px 18px; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #e5e4e4; font-size: .59rem; letter-spacing: .13em; }
.post-meta span { padding: 2px 7px; border: 1px solid #ba9e6d; color: #f1d29a; border-radius: 2px; background: #162030a6; }
.news-feature h3 { font: 500 clamp(1.14rem, 1.5vw, 1.52rem)/1.26 var(--display); margin: 8px 0 0; text-wrap: pretty; }
.news-briefs { padding: 0 16px; margin-top: 10px; }
.news-briefs a { padding: 10px 2px; min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.news-briefs small { color: #c7ac83; font-size: .58rem; display: block; }
.news-briefs strong, .shop-picks strong { display: block; font-size: .89rem; color: var(--ink-1); font-weight: 500; line-height: 1.4; }
.news-briefs .icon { width: 13px; }
.guild-hall {
  display: flex; align-items: center; gap: 20px; margin-block: 37px; padding: 21px 26px;
  border: 1px solid var(--realm-border); border-radius: var(--r-1);
  background: linear-gradient(105deg,#202d43,#162234 60%,#1c2839);
}
.guild-icon { color: #ddcbaa; width: 47px; height: 47px; display: grid; place-items: center; background: #0c1523; border: 1px solid var(--realm-border); border-radius: 50%; }
.guild-icon .icon { width: 26px; height: 26px; }
.guild-hall h2 { font-size: 1.42rem; margin: 0 0 3px; }
.guild-hall p { font-size: .86rem; color: var(--ink-2); }
.guild-hall .nav-action { margin-left: auto; }
.extras-grid { margin-top: 37px; }
.shop-picks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 8px; }
.shop-picks a { display: flex; align-items: center; gap: 11px; padding: 13px 8px; }
.pick-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; }
.pick-icon img { width: 100%; height: 100%; object-fit: contain; }
.shop-picks small { color: var(--gold-2); font-size: .78rem; }
.leader-list { padding: 0 16px; }
.leader-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: .84rem; }
.leader-rank { width: 20px; color: var(--gold-2); }
.leader-class { flex: 1; color: var(--ink-2); }
.leader-level { margin-left: auto; white-space: nowrap; color: var(--gold-1); }
.quiet-panel { padding: 20px; color: var(--ink-2); }
@media (min-width: 1800px) { .world-scene { left: 22%; } }
@media (max-width: 1000px) {
  .front-columns { gap: 23px; }
  .quest-panel { padding-inline: 13px; }
  .quest-panel a { gap: 11px; grid-template-columns: 52px 1fr 12px; }
  .quest-art { width: 46px; height: 46px; }
  .quest-art img { width: 41px; height: 41px; }
  .quest-text p { font-size: .8rem; }
}
@media (max-width: 820px) {
  .world-hero { min-height: 400px; }
  .world-scene { left: 7%; }
  .world-scene img { object-position: 80% 28%; }
  .world-shade { background: linear-gradient(90deg,#0a1423 0%,#0a1423de 28%,#0a142373 54%,#0a14230a 83%),linear-gradient(0deg,#0a1423ad,transparent 27%); }
  .hero-copy { max-width: 61%; }
  .hero-copy h1 { font-size: clamp(3.35rem,7.6vw,4.2rem); }
  .world-invite { max-width: 36ch; }
  .world-actions { gap: 15px; }
  .status-fact { gap: 11px; padding-left: 16px; }
  .fact-icon { width: 22px; height: 22px; }
  .status-fact dt { font-size: .56rem; }
  .front-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px; }
  .news-feature-copy { padding-inline: 14px; }
  .quest-text h3 { font-size: .98rem; }
  .shop-picks { grid-template-columns: 1fr; }
  .guild-hall { padding: 18px; gap: 13px; }
}
@media (max-width: 700px) {
  .front-columns { grid-template-columns: 1fr; gap: 32px; }
  .quest-panel a { grid-template-columns: 60px 1fr 15px; }
  .quest-art { width: 53px; height: 53px; }
  .quest-art img { width: 47px; height: 47px; }
  .news-feature a { min-height: 205px; }
}
@media (max-width: 630px) {
  .world-hero { min-height: 0; align-items: end; }
  .world-scene { inset: 0 0 auto; height: clamp(256px, 63vw, 325px); }
  .world-scene img { object-position: center 23%; }
  .world-scene::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(0deg,#0a1423 0%,#0a142392 16%,#0a142317 42%,transparent 64%);
  }
  .world-shade { background: linear-gradient(90deg,#0a14234a,transparent 60%); }
  .hero-trim { inset: 8px; }
  .hero-trim i { width: 18px; height: 18px; }
  .hero-inner { padding-top: clamp(172px, 41vw, 216px); padding-bottom: 28px; }
  .hero-copy { max-width: none; }
  .hero-game { font-size: .6rem; letter-spacing: .21em; gap: 10px; margin-bottom: 11px; text-shadow: 0 1px 4px #000; }
  .rune-rule { width: 25px; }
  .hero-copy h1 { font-size: clamp(2.9rem,10.5vw,4rem); }
  .world-invite { max-width: 39ch; font-size: .91rem; margin-top: 11px; line-height: 1.5; }
  .world-actions { margin-top: 17px; gap: 16px; }
  .hero-join.btn { min-height: 43px; padding: 9px 12px; gap: 8px; font-size: .83rem; }
  .hero-join .icon:first-child { width: 17px; height: 17px; }
  .guide-link { font-size: .78rem; }
  .status-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 0; padding-block: 15px; }
  .status-fact { padding-left: 15px; gap: 11px; }
  .status-fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .status-fact dt { font-size: .56rem; margin-bottom: 1px; }
  .status-fact dd { font-size: .87rem; }
  .realm-content { padding-block: 27px 39px; }
  .quest-panel { padding-inline: 12px; }
  .quest-panel a { grid-template-columns: 49px 1fr 13px; gap: 12px; min-height: 82px; padding: 12px 0; }
  .quest-art { width: 46px; height: 46px; }
  .quest-art img { width: 43px; height: 43px; }
  .quest-text p { margin-top: 2px; }
  .guild-hall { flex-wrap: wrap; gap: 12px; margin-block: 26px; }
  .guild-hall > div { flex: 1; }
  .guild-hall h2 { font-size: 1.16rem; }
  .guild-hall .nav-action { margin-left: 0; }
  .extras-grid { margin-top: 26px; }
}

