:root{color-scheme:dark;--bg:#121c20;--surface:#1c292e;--surface2:#233238;--ink:#f1f3ef;--muted:#b0beb9;--line:#3d4b49;--gold:#d4b57b;--blue:#477ca8;--sage:#829780;--red:#ef9b96;--good:#accba7;font-size:15px}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 60% 0,rgba(130,151,128,.09),transparent 60%),var(--bg);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}body.parchment{color-scheme:light;--bg:#eee9dc;--surface:#faf7ed;--surface2:#e9e4d6;--ink:#263137;--muted:#53635b;--line:#c7bea8;--gold:#78551e;--red:#a02b28;--good:#3f6539}body.large{font-size:18px}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:500;line-height:1.25}h1{font-size:clamp(1.8rem,3vw,2.6rem);margin:0}h2{font-size:1.7em;margin:0 0 14px}h3{font-size:1.2em;margin:0 0 10px}h1 span,.gold{color:var(--gold)}p{margin:0 0 16px}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,.button,input,select,textarea{font:inherit}button,.button{background:var(--surface2);color:var(--ink);border:1px solid #64716a;border-radius:6px;padding:9px 15px;min-height:43px;cursor:pointer;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:7px;transition:background .15s,transform .15s}button:hover,.button:hover{background:var(--line);text-decoration:none}button:active{transform:translateY(1px)}button.primary,.button.primary{background:#477ca8;border-color:#74a2c6;color:#fff}button.primary:hover,.button.primary:hover{background:#386b95}button.danger{border-color:var(--red);color:var(--red)}button:disabled{opacity:.5;cursor:not-allowed}button.small{padding:5px 10px;font-size:.85em;min-height:35px}input,select,textarea{border:1px solid #73847b;border-radius:5px;background:var(--bg);color:var(--ink);padding:9px 11px;max-width:100%;width:100%;min-height:43px}input[type=checkbox]{width:auto;min-height:0}textarea{min-height:100px}input[type=number]{max-width:110px}label{display:block;font-size:.9em;color:var(--muted);margin:0 0 12px}label input,label select,label textarea{display:block;margin-top:5px;color:var(--ink)}:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.skip{position:absolute;left:10px;top:-70px;z-index:100;background:var(--surface);padding:12px}.skip:focus{top:10px}.sitebar{display:flex;align-items:center;gap:36px;padding:0 32px;min-height:64px;background:#202b30;color:#f1f3ef;border-bottom:1px solid #46564c}.fh-brand{letter-spacing:2px;font-size:.95em;font-weight:800;white-space:nowrap}.fh-brand span{color:#aabb9f}.sitebar nav{display:flex;gap:24px;align-items:stretch;align-self:stretch;font-size:.85em}.sitebar nav a{display:flex;align-items:center;border-bottom:2px solid transparent}.sitebar nav a[aria-current]{border-color:#d4b57b;color:#e4c68f}.member{margin-left:auto;display:flex;gap:8px;align-items:center;font-size:.85em}.member img{width:30px;height:30px;border-radius:50%}.game-heading{max-width:1500px;margin:auto;padding:30px 34px;display:flex;align-items:center;gap:20px}.crest{width:67px;height:76px;display:grid;place-items:center;font-size:3em;color:var(--gold);background:linear-gradient(140deg,#394a40,#1c292e);border:1px solid #9c855d;clip-path:polygon(0 0,100% 0,100% 72%,50% 100%,0 72%)}.eyebrow{font-size:.68rem;font-weight:700;letter-spacing:2.3px;color:var(--gold);margin:0 0 8px}.tagline{font-family:Georgia,serif;font-style:italic;font-size:.95em;color:var(--muted);margin:7px 0 0}.heading-status{margin-left:auto;color:var(--good);font-size:.85em}.heading-status small{display:block;font-size:.85em;color:var(--muted);margin-top:5px}.live-dot{display:inline-block;background:#a6c69b;width:7px;height:7px;border-radius:50%;margin-right:6px;box-shadow:0 0 10px #91b48b66}.status-strip{position:sticky;top:0;z-index:10;display:flex;align-items:center;flex-wrap:wrap;gap:10px 28px;background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 34px;box-shadow:0 6px 18px #0002}.status-strip strong{color:var(--gold);font-variant-numeric:tabular-nums}.status-strip span{font-size:.86em}.status-strip .protection{margin-left:auto;color:var(--good)}.game-layout{display:grid;grid-template-columns:215px minmax(0,1fr);max-width:1500px;margin:auto;min-height:65vh}.sidebar{padding:28px 16px 25px 28px;border-right:1px solid var(--line)}.sidebar nav{display:flex;flex-direction:column;gap:4px}.sidebar nav button{border:0;justify-content:flex-start;gap:12px;background:transparent;color:var(--muted);font-size:.9em;border-left:2px solid transparent;border-radius:0 5px 5px 0;padding:10px 13px}.sidebar nav button[aria-current]{background:linear-gradient(90deg,#82978025,transparent);color:var(--ink);border-left-color:var(--gold)}.nav-icon{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;color:var(--gold)}.nav-icon svg{width:18px;height:18px}.sidebar-bottom{border-top:1px solid var(--line);margin-top:28px;padding:20px 10px}.sidebar-bottom p{color:var(--muted);font-size:.73em;margin-top:16px}.sidebar-bottom span{font-size:.78em;color:var(--good)}.text-button{border:0;background:transparent!important;color:var(--gold);padding:4px 0;display:block;min-height:30px;font-size:.8em}main{padding:28px 30px 50px;min-width:0}.landing{max-width:900px;margin:auto;padding-bottom:100px}.panel{background:linear-gradient(130deg,rgba(130,151,128,.035),transparent),var(--surface);border:1px solid var(--line);border-radius:8px;padding:23px;margin-bottom:18px;box-shadow:0 5px 20px #0000000a}.panel.featured{border-top:2px solid var(--gold);position:relative;overflow:hidden}.panel.featured:after{content:"♜";position:absolute;right:15px;bottom:-50px;font-size:180px;opacity:.035;pointer-events:none}.panel .subtitle,.muted{color:var(--muted);font-size:.9em}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid .panel{margin:0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 22px}.section-title h2{margin:0}.section-title p{margin:6px 0 0;color:var(--muted);font-size:.9em}.badge{display:inline-flex;border:1px solid var(--line);border-radius:20px;padding:3px 11px;font-size:.75em;color:var(--gold);white-space:nowrap}.badge.good{color:var(--good)}.badge.warn{color:var(--red)}.meter{margin:13px 0}.meter-label{display:flex;justify-content:space-between;color:var(--muted);font-size:.8em;margin-bottom:6px}.meter-track{height:8px;background:var(--bg);border:1px solid var(--line);border-radius:8px;overflow:hidden}.meter-fill{height:100%;background:linear-gradient(90deg,#567b57,#a6bf94);transition:width .6s ease}.meter-fill.health{background:linear-gradient(90deg,#9c4b45,#de8e76)}.meter-fill.experience{background:linear-gradient(90deg,#887242,#d4b57b)}.meter-fill.action{background:linear-gradient(90deg,#375f7b,#78a9cc)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.stat{background:var(--bg);border:1px solid var(--line);border-radius:5px;padding:10px}.stat strong{display:block;font-size:1.4em;color:var(--gold);font-weight:500}.stat span{font-size:.73em;color:var(--muted)}.actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:15px}.cost{display:flex;flex-wrap:wrap;gap:5px 12px;font-size:.78em;color:var(--muted);margin:12px 0}.cost .missing{color:var(--red)}.cost span{white-space:nowrap}.card-head{display:flex;justify-content:space-between;gap:10px}.card-head h3{margin:0}.building-icon{display:grid;place-items:center;height:38px;width:38px;flex-shrink:0;color:var(--gold);background:#82978015;border:1px solid var(--line);border-radius:5px;font-size:1.4em}.card-desc{font-size:.85em;color:var(--muted);min-height:42px;margin:12px 0}.card-foot{border-top:1px solid var(--line);margin-top:16px;padding-top:13px;display:flex;justify-content:space-between;align-items:center;font-size:.78em;color:var(--muted);gap:8px}.inline-form{display:flex;gap:9px;align-items:flex-end;flex-wrap:wrap}.inline-form label{margin:0;flex:1;min-width:100px}.inline-form button{flex-shrink:0}.notice{background:#82978020;border:1px solid #82978070;border-left:3px solid var(--sage);border-radius:5px;padding:13px 17px;font-size:.88em;margin-bottom:20px}.notice.error{border-color:var(--red);color:var(--red)}.list-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}.list-row:last-child{border-bottom:0}.list-row p{margin:3px 0 0;color:var(--muted);font-size:.82em}.list-row strong{font-weight:500}.empty{text-align:center;color:var(--muted);padding:35px 20px}.empty .symbol{font-size:2.2em;color:var(--gold);margin-bottom:12px}details{border-top:1px solid var(--line);padding:13px 0}summary{cursor:pointer;color:var(--gold);font-size:.9em}details p{margin:12px 0 0;font-size:.88em;color:var(--muted)}.equipment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.equipment-slot{padding:13px;border:1px solid var(--line);border-radius:5px;background:var(--bg);font-size:.85em;min-height:90px}.equipment-slot small{display:block;color:var(--muted);text-transform:uppercase;letter-spacing:1px;font-size:.7em}.equipment-slot strong{display:block;font-weight:500;color:var(--gold);margin:5px 0}.journal{border-left:1px solid var(--line);padding-left:18px}.journal article{position:relative;padding-bottom:19px;font-size:.86em}.journal article:before{content:"";position:absolute;left:-23px;top:7px;width:7px;height:7px;border-radius:50%;background:var(--gold)}.journal time{display:block;color:var(--muted);font-size:.8em}.resource-number{font-size:2em;font-weight:400;letter-spacing:-1px}.resource-rate{font-size:.8em;color:var(--good)}table{width:100%;border-collapse:collapse;font-size:.85em}td,th{text-align:left;padding:11px 9px;border-bottom:1px solid var(--line)}th{font-weight:500;color:var(--gold)}.table-wrap{overflow:auto}.report-round{display:grid;grid-template-columns:70px 1fr 1fr;gap:10px;padding:9px;border-bottom:1px solid var(--line);font-size:.8em}.battle-summary{border-top:2px solid var(--gold)}.battle-versus{display:grid;grid-template-columns:1fr 40px 1fr;align-items:center;text-align:center;gap:12px}.battle-versus .versus{color:var(--gold);font-family:Georgia,serif}.report-result{text-align:center;letter-spacing:3px;color:var(--gold);font-size:.8em;margin-bottom:20px}.screen-form{max-width:650px}.search{margin-bottom:20px}.guide{border-left:3px solid var(--gold)}.guide ol{padding-left:20px;color:var(--muted);font-size:.9em}.guide li{padding:4px 0}.guide strong{color:var(--ink)}dialog{background:var(--surface);color:var(--ink);border:1px solid var(--gold);border-radius:9px;padding:30px;max-width:520px;width:calc(100% - 32px)}dialog::backdrop{background:#071014bd;backdrop-filter:blur(4px)}dialog p{color:var(--muted)}footer{border-top:1px solid var(--line);padding:23px 32px;color:var(--gold);font-size:.65em;letter-spacing:1.6px;display:flex;justify-content:space-between;gap:20px}footer span{color:var(--muted);letter-spacing:0;font-size:1.2em}.job-progress{margin-top:10px}.busy{cursor:progress}.intro-callout{padding:16px;border:1px dashed var(--line);border-radius:6px;margin-top:20px;font-size:.85em;color:var(--muted)}.spacer{margin-top:22px}.nowrap{white-space:nowrap}.silhouette{display:flex;justify-content:center;padding:10px;color:var(--sage)}.silhouette svg{width:110px;height:150px}.pulse{animation:reveal .3s ease-out}@keyframes reveal{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}body.reduced *,body.reduced *:before,body.reduced *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(min-width:1500px){.status-strip{padding-left:calc((100vw - 1430px)/2)}}@media(max-width:1100px){.grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.sitebar{gap:20px;padding:0 20px}.sitebar nav{gap:16px}.game-layout{grid-template-columns:185px minmax(0,1fr)}.sidebar{padding-left:15px}main{padding:24px 20px}.heading-status{display:none}}@media(max-width:760px){.sitebar{flex-wrap:wrap;padding:13px 16px 0;gap:12px}.sitebar nav{order:3;width:100%;overflow-x:auto;white-space:nowrap;gap:22px;min-height:44px}.sitebar nav a{padding-bottom:10px}.game-heading{padding:23px 17px;gap:13px}.crest{width:48px;height:57px;font-size:2.3em;flex-shrink:0}.game-heading h1{font-size:1.65em}.tagline{font-size:.8em}.status-strip{padding:10px 16px;gap:6px 16px}.status-strip .protection{margin-left:0;width:100%}.game-layout{display:flex;flex-direction:column}.sidebar{padding:8px;border-right:0;border-bottom:1px solid var(--line);background:var(--surface)}.sidebar>.eyebrow{display:none}.sidebar nav{flex-direction:row;overflow-x:auto;gap:2px}.sidebar nav button{flex-shrink:0;min-height:44px;border-left:0;border-bottom:2px solid transparent;gap:7px;padding:8px 12px}.sidebar nav button[aria-current]{border-bottom-color:var(--gold);border-left:0}.sidebar-bottom{margin:0;padding:5px 9px;border:0;display:flex;align-items:center;justify-content:space-between}.sidebar-bottom p{display:none}.sidebar-bottom .text-button{font-size:.75em}.grid,.grid.three{grid-template-columns:1fr}main{padding:22px 14px 40px}.panel{padding:19px}.section-title{align-items:flex-start}footer{padding:20px 16px;flex-direction:column;gap:5px}.equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-title h2{font-size:1.5em}.list-row{align-items:flex-start;flex-wrap:wrap}.stats{gap:7px}.report-round{grid-template-columns:40px 1fr 1fr;gap:6px;font-size:.72em}}
.capacity-notice{width:min(1432px,calc(100% - 64px));margin:0 auto 24px;padding:16px 20px;background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--gold);border-radius:6px;display:flex;align-items:center;justify-content:space-between;gap:20px}.capacity-notice strong{color:var(--gold);font-size:.95em}.capacity-notice p{color:var(--muted);font-size:.85em;margin:4px 0 0}.capacity-notice>a{flex-shrink:0;color:var(--gold);font-size:.85em}.game-guide{max-width:1200px;margin:0 auto;padding:38px 32px 45px;border-top:1px solid var(--line);scroll-margin-top:100px}.guide-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px}.guide-heading h2{font-size:1.9em}.guide-heading p{color:var(--muted);max-width:720px}.guide-heading>.button{flex-shrink:0;font-size:.85em}.guide-jumps{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:26px}.guide-jumps a{padding:7px 12px;border:1px solid var(--line);border-radius:5px;font-size:.8em;color:var(--gold);background:var(--surface)}.game-guide .panel{padding:25px 28px;scroll-margin-top:100px}.game-guide .panel>p,.game-guide li,.game-guide td{font-size:.94em;line-height:1.85}.game-guide .panel>p{max-width:960px;color:var(--muted)}.game-guide .panel p strong,.game-guide li strong{color:var(--ink)}.game-guide h3{font-size:1.45em;margin-bottom:17px}.game-guide h4{font-family:Georgia,serif;font-size:1.12em;font-weight:500;color:var(--gold);margin:24px 0 10px}.guide-limit{background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:18px 20px;margin-top:20px}.guide-limit strong{color:var(--gold)}.guide-limit p{font-size:.9em;color:var(--muted);margin:9px 0 0}.guide-steps{padding-left:23px;color:var(--muted)}.guide-steps li{padding:5px 0 9px 6px}.game-guide ul{padding-left:24px;color:var(--muted)}.game-guide .rank-path{color:var(--gold);line-height:2.3;font-family:Georgia,serif}.guide-page{padding:0;min-width:0}.guide-page .game-guide{border-top:0}@media(max-width:760px){.capacity-notice{width:calc(100% - 28px);padding:14px 16px;flex-direction:column;align-items:flex-start;gap:9px;margin-bottom:19px}.game-guide{padding:28px 14px}.guide-heading{flex-direction:column;gap:0}.guide-heading h2{font-size:1.6em}.guide-heading>.button{margin-bottom:10px}.game-guide .panel{padding:20px 17px}.game-guide table{font-size:.86em}.game-guide td,.game-guide th{padding:10px 7px}.guide-limit{padding:15px}.guide-jumps{gap:7px}.guide-jumps a{font-size:.76em;padding:7px 9px}}

/* FH_PAGE_ALIGNMENT_START */
/* Shared geometry takes priority over legacy page-specific important widths. */
/* Shared content edges follow the approved Forged Horizon banner. */
:root{--fh-page-width:min(1280px,calc(100% - 20px))}
@media(max-width:700px){:root{--fh-page-width:calc(100% - 16px)}}
html:root:root body .fh-unified-header,
html:root:root body .fh-admin-workspace-inner,
html:root:root body header.site-header,
html:root:root body header.header,
html:root:root body header.fh4-header,
html:root:root body .fh-sitewide-nav-shell,
html:root:root body .nav-shell,
html:root:root body.fh-premium-interior>main,
html:root:root body>main,
html:root:root body main.wrap,
html:root:root body .main-layout.wrap,
html:root:root body .fh-forum-main,
html:root:root body .fh-topic-main,
html:root:root body .fh-directory-main,
html:root:root body .fh-compose,
html:root:root body .profile-page,
html:root:root body .admin-page,
html:root:root body .fm-page,
html:root:root body .members-page,
html:root:root body .fh-settings,
html:root:root body .fh-rp,
html:root:root body .fh-analytics,
html:root:root body .audit-wrap,
html:root:root body .ba-wrap,
html:root:root body .dc-main,
html:root:root body .rc-site-banner,
html:root:root body .rc-site-chrome,
html:root:root body .game-layout,
html:root:root body .game-heading,
html:root:root body>.capacity-notice,
html:root:root body>.game-guide,
html:root:root body .site-footer>.footer-inner {
 box-sizing:border-box!important;
 width:var(--fh-page-width)!important;
 max-width:none!important;
 min-width:0!important;
 margin-left:auto!important;
 margin-right:auto!important;
}
/* Outer content frames are flush; panels keep their own internal padding. */
html:root:root body>main:not(.panel),
html:root:root body main.wrap,
html:root:root body .main-layout.wrap,
html:root:root body .fh-forum-main,
html:root:root body .fh-topic-main,
html:root:root body .fh-directory-main,
html:root:root body .fh-compose,
html:root:root body .profile-page,
html:root:root body .admin-page,
html:root:root body .fm-page,
html:root:root body .members-page,
html:root:root body .game-heading,
html:root:root body>.game-guide,
html:root:root body .site-footer>.footer-inner {
 padding-left:0!important;padding-right:0!important;
}
html:root:root body .game-layout>#main{width:auto!important;max-width:none!important;min-width:0!important;padding-left:26px!important;padding-right:0!important}
html:root:root body .guide-page>.game-guide{width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important}
html:root:root body .game-layout>.sidebar{min-width:0!important}
html:root:root body .game-layout+#game-guide,
html:root:root body .game-layout~.game-guide{width:var(--fh-page-width)!important;max-width:none!important;padding-left:0!important;padding-right:0!important}
html:root:root body>.game-heading~footer:not(.site-footer){box-sizing:border-box!important;width:var(--fh-page-width)!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
@media(max-width:760px){html:root:root body .game-layout>#main{padding-left:0!important;padding-right:0!important}html:root:root body .game-layout>.sidebar{width:100%!important}}

html:root:root body .fh-unified-header .fh-unified-nav-inner{box-sizing:border-box!important;width:100%!important;max-width:none!important;padding-left:20px!important;padding-right:20px!important}
html:root:root body .fh-unified-header>.fh-unified-banner,html:root:root body .fh-unified-header>.fh-unified-nav{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
/* Game chrome is already inside the shared-width wrapper: do not inset it twice. */
html:root:root body .rc-site-chrome>.fh-site-nav-shell{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
/* Keep the sticky estate strip within the same edges as the banner and game. */
html:root:root body>#status-strip.status-strip{box-sizing:border-box!important;width:var(--fh-page-width)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:20px!important;padding-right:20px!important}
/* Navigation presentation is owned by the existing shared homepage
   navigation stylesheet, not by the Rising Kingdoms game stylesheet. */
/* FH_PAGE_ALIGNMENT_END */
