/* Persistent navigation. Every destination is visible, including without JavaScript. */
.horizon-chronicles .hc-header{height:86px;padding:0 32px;gap:28px}
.hc-header-caption{flex:1;margin:0;color:#d7c5a8;font:italic 17px/1.4 Georgia,serif;letter-spacing:.2px}
.hc-header .hc-brand{width:205px;height:72px}
.hc-header .hc-actions{gap:24px}
.hc-site-frame{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:start;max-width:2000px;margin:0 auto;min-height:calc(100vh - 86px)}
.hc-page-body{min-width:0;border-left:1px solid #80603b}
.hc-sidebar{box-sizing:border-box;position:sticky;top:86px;max-height:calc(100vh - 86px);max-height:calc(100dvh - 86px);overflow-y:auto;overscroll-behavior:contain;padding:21px 14px 18px;background:linear-gradient(90deg,#30271c,#211d17 15%,#211d17 85%,#30271c);border-bottom:1px solid #755738;box-shadow:inset -4px 0 10px #0002;scrollbar-width:thin;scrollbar-color:#b29565 #241d16}
.hc-side-heading{text-align:center;padding:0 0 16px;border-bottom:1px solid #81623c;margin-bottom:14px}
.hc-side-heading .hc-eyebrow{font-size:9px;color:#e5c798;letter-spacing:1.8px}
.hc-side-heading>strong{font:25px/1.35 Georgia,serif;color:#f4ddac;letter-spacing:1px;text-shadow:0 2px 4px #000}
.horizon-chronicles .hc-sidebar section.hc-side-group{margin:0 0 15px;padding:0;min-height:0;height:auto;border:0;background:none;box-shadow:none}
.horizon-chronicles .hc-side-group h2{display:flex;align-items:center;gap:9px;font:700 11px/1.5 "Segoe UI",sans-serif;letter-spacing:1.1px;text-transform:uppercase;color:#ebd5ae;background:none;border:0;margin:0 8px 7px;padding:0;box-shadow:none}
.hc-side-group h2:after{content:'';height:1px;flex:1;background:linear-gradient(90deg,#7d603c,transparent)}
.hc-side-group>div{display:grid;gap:4px}
.horizon-chronicles .hc-side-link{box-sizing:border-box;display:flex;align-items:center;justify-content:center;position:relative;min-height:46px;padding:10px 24px;color:#fff0d4;text-align:center;text-decoration:none;font:600 14px/1.3 "Segoe UI",sans-serif;text-shadow:0 1px 3px #000,0 0 5px #000;border:0;background:transparent;isolation:isolate}
.hc-side-link:before,.hc-header .hc-play:before,.hc-medieval-cta:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:url('assets/button-medieval-bronze-v1.png');background-repeat:no-repeat;background-size:100% 158%;background-position:center 43%;transition:filter .15s ease}
.horizon-chronicles .hc-side-link:hover,.horizon-chronicles .hc-side-link[aria-current]{color:#fff5dd;text-decoration:none}
.hc-side-link:hover:before{filter:brightness(1.3)}
.hc-side-link[aria-current]:before{background-image:url('assets/button-medieval-ruby-v1.png');filter:brightness(1.12)}
.hc-side-link[aria-current]:after{content:'';position:absolute;left:17px;width:5px;height:5px;transform:rotate(45deg);background:#ffe4a5;box-shadow:0 0 5px #fbd9a6}
.hc-side-link[aria-current]{font-weight:800!important}
.hc-side-link:focus-visible,.hc-side-support:focus-visible{outline:2px solid #ffe3a0!important;outline-offset:1px}
.horizon-chronicles .hc-side-support{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:10px 14px;margin:4px 5px 0;color:#f0dab7;border:1px solid #977744;background:#3a2d1f;text-decoration:none;font:600 14px/1.4 "Segoe UI",sans-serif;box-sizing:border-box}
.hc-side-support:hover,.hc-side-support[aria-current]{background:#654127!important;color:#fff1d6!important;border-color:#d1ae72!important}
.hc-header .hc-play,.hc-medieval-cta{position:relative;display:inline-flex;align-items:center;justify-content:center;isolation:isolate;box-sizing:border-box;min-height:54px;min-width:205px;padding:14px 30px;border:0!important;background:none!important;box-shadow:none!important;color:#fff1d5!important;font:700 14px/1.3 "Segoe UI",sans-serif;text-shadow:0 1px 3px #000;text-decoration:none!important;white-space:normal;text-align:center}
.hc-header .hc-play:before,.hc-medieval-cta:before{background-image:url('assets/button-medieval-ruby-v1.png')}
.hc-header .hc-play:hover:before,.hc-medieval-cta:hover:before{filter:brightness(1.24)}
.hc-header .hc-play:active:before,.hc-side-link:active:before,.hc-medieval-cta:active:before{filter:brightness(.9)}
.hc-page-body .hc-main{padding-inline:36px}
.hc-page-body .hc-edition{padding-inline:30px;font-size:8px;letter-spacing:1.2px}
.hc-page-body .hc-hero{min-height:530px}
.hc-page-body .hc-hero h1{font-size:clamp(43px,5vw,72px)}
.hc-page-body .hc-chapters{margin-inline:30px}
.hc-page-body .hc-chapters>a{padding:26px 14px;gap:14px}
.hc-page-body .hc-journal-grid{grid-template-columns:minmax(0,1fr) 255px;gap:22px}
.hc-page-body .hc-guilds-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.hc-page-body .hc-footer{padding-inline:36px}
.hc-page-body .hc-hero-buttons .hc-primary{min-width:230px}
.horizon-chronicles .hc-page-body .hc-main,.hc-page-body .hc-rank-results,.hc-page-body .hc-guilds-list,.hc-page-body .hc-characters [id^=hc-character-],.horizon-chronicles .hc-page-body .hc-server-guide .hc-server-section{scroll-margin-top:106px}
.hc-skip{z-index:1000}
@media(max-width:1250px) and (min-width:901px){.hc-site-frame{grid-template-columns:240px minmax(0,1fr)}.hc-page-body .hc-main{padding-inline:25px}.hc-page-body .hc-chapters{margin-inline:25px;grid-template-columns:1fr}.hc-page-body .hc-chapters>a{border-right:0;border-bottom:1px solid #51402e;padding:17px 0}.hc-page-body .hc-chapters>a:last-child{border-bottom:0}.hc-page-body .hc-journal-grid{grid-template-columns:1fr}.hc-page-body .hc-home-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:18px}.horizon-chronicles .hc-page-body .hc-home .hc-notices{margin-top:0}.hc-page-body .hc-home-shortcuts{grid-column:1/-1}.hc-page-body .hc-edition>span:nth-child(2){display:none}.hc-page-body .hc-rank-podium,.hc-page-body .hc-character-columns{grid-template-columns:1fr}.hc-page-body .hc-character-loadout{grid-template-columns:1fr}}
@media(max-width:900px){
.horizon-chronicles .hc-header{height:76px;padding:0 20px;gap:18px}.hc-header .hc-brand{width:170px;height:66px}.hc-header-caption{display:none}.hc-header .hc-actions{gap:14px}.hc-header .hc-play{min-width:180px;min-height:48px;font-size:13px}.hc-site-frame{display:block}.hc-page-body{border-left:0}.hc-sidebar{position:static;max-height:none;overflow:visible;padding:18px 20px;border-bottom:1px solid #ab854d;box-shadow:inset 0 -1px 0 #d3b57920;background:linear-gradient(110deg,#30261c,#241e17)}.hc-side-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;margin-bottom:14px}.hc-side-heading>strong{font-size:20px}.hc-sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.horizon-chronicles .hc-sidebar section.hc-side-group{margin-bottom:0}.hc-side-group h2{font-size:10px!important;letter-spacing:.4px!important;margin-inline:4px!important}.hc-side-link{padding-inline:20px!important;font-size:13px!important;min-height:46px!important}.hc-side-support{grid-column:1/-1;margin:0!important;justify-content:center!important;gap:18px}.hc-page-body .hc-main{padding-inline:25px}.hc-page-body .hc-hero{min-height:530px}.hc-page-body .hc-journal-grid{grid-template-columns:1fr}.hc-page-body .hc-chapters{margin-inline:25px}.horizon-chronicles .hc-page-body .hc-main,.hc-page-body .hc-rank-results,.hc-page-body .hc-guilds-list,.hc-page-body .hc-characters [id^=hc-character-],.horizon-chronicles .hc-page-body .hc-server-guide .hc-server-section{scroll-margin-top:96px}
}
@media(max-width:600px){
.horizon-chronicles .hc-header{height:70px;padding:0 15px}.hc-header .hc-brand{width:155px;height:60px}.hc-header .hc-play{display:none}.hc-header .hc-actions{gap:0}.hc-sidebar{padding:14px 12px}.hc-side-heading{padding-bottom:10px;margin-bottom:12px}.hc-side-heading>strong{font-size:18px}.hc-side-heading .hc-eyebrow{font-size:8px}.hc-sidebar nav{grid-template-columns:1fr;gap:12px}.hc-side-group>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.horizon-chronicles .hc-side-group h2{font-size:10px!important;margin-bottom:4px}.hc-side-link{font-size:12px!important;line-height:1.25!important;padding:10px 14px!important;min-height:52px!important;word-break:normal;overflow-wrap:normal}.hc-side-link[aria-current]:after{left:8px;width:3px;height:3px}.hc-side-link:before{background-size:100% 158%}.hc-side-support{font-size:12px!important;min-height:36px!important;padding:7px 12px!important}.hc-page-body .hc-main{padding-inline:15px}.hc-page-body .hc-edition{padding-inline:16px}.hc-page-body .hc-chapters{margin-inline:20px}.hc-page-body .hc-hero h1{font-size:47px}.hc-page-body .hc-guilds-list{grid-template-columns:1fr}.hc-page-body .hc-footer{padding-inline:20px}.horizon-chronicles .hc-page-body .hc-main,.hc-page-body .hc-rank-results,.hc-page-body .hc-guilds-list,.hc-page-body .hc-characters [id^=hc-character-],.horizon-chronicles .hc-page-body .hc-server-guide .hc-server-section{scroll-margin-top:90px}
}
@media(prefers-reduced-motion:reduce){.hc-side-link:before,.hc-header .hc-play:before,.hc-medieval-cta:before{transition:none}}

/* A direct Home link leads the panel; account actions stay immediately below it. */
.hc-sidebar .hc-side-home{margin-bottom:18px}

/* Hero-only emphasis: reuse the ruby artwork while keeping its label selectable. */
.hc-page-body .hc-hero-copy{min-width:0;max-width:100%;box-sizing:border-box}
.horizon-chronicles .hc-hero-buttons .hc-story-cta{
 display:inline-flex;gap:14px;flex-shrink:0;width:340px;max-width:100%;min-width:0;
 min-height:76px;padding:19px 32px;font:700 18px/1.3 Georgia,serif;letter-spacing:.35px;
 color:#fff3ce!important;text-shadow:0 2px 3px #270700,0 0 12px #ffd89940;
 transform:translateY(0);transition:transform .22s ease,text-shadow .22s ease;
 -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.hc-story-cta:before{
 filter:brightness(1.15) saturate(1.15) drop-shadow(0 3px 6px #000b) drop-shadow(0 0 7px #e2a34465);
 transition:filter .22s ease;
}
.hc-story-cta:after{
 content:'';position:absolute;inset:15px 22px;z-index:-2;pointer-events:none;border-radius:50%;
 background:#efab37;filter:blur(20px);opacity:.22;transform:scale(.92);
 transition:opacity .22s ease,transform .22s ease;
}
.hc-story-label,.hc-story-arrow{position:relative;z-index:1}
.hc-story-arrow{color:#ffdc8c;font:30px/1 Georgia,serif;transition:transform .22s ease}
.hc-story-sheen{position:absolute;inset:10px 20px;overflow:hidden;border-radius:8px;pointer-events:none}
.hc-story-sheen:before{
 content:'';position:absolute;inset:-10% 0;width:45%;opacity:0;
 background:linear-gradient(100deg,transparent,#ffedb51a 25%,#fff5cd75 50%,#ffedb51a 75%,transparent);
 transform:translateX(-140%) skewX(-20deg);
}
.horizon-chronicles .hc-hero-buttons .hc-story-cta:focus-visible{
 outline:2px solid #ffe0a0;outline-offset:6px;transform:translateY(-3px);
}
.hc-story-cta:focus-visible:before{
 filter:brightness(1.4) saturate(1.2) drop-shadow(0 6px 8px #000b) drop-shadow(0 0 15px #efb342b3);
}
.hc-story-cta:focus-visible:after{opacity:.55;transform:scale(1.08)}
.hc-story-cta:focus-visible .hc-story-sheen:before{animation:hc-story-shine .85s ease-out}
@media(hover:hover){
 .horizon-chronicles .hc-hero-buttons .hc-story-cta:hover{transform:translateY(-3px) scale(1.025);text-shadow:0 2px 3px #270700,0 0 16px #ffe6aa85}
 .hc-story-cta:hover:before{filter:brightness(1.4) saturate(1.2) drop-shadow(0 6px 8px #000b) drop-shadow(0 0 15px #efb342b3)}
 .hc-story-cta:hover:after{opacity:.55;transform:scale(1.08)}
 .hc-story-cta:hover .hc-story-arrow{transform:translateX(4px)}
 .hc-story-cta:hover .hc-story-sheen:before{animation:hc-story-shine .85s ease-out}
}
/* Feedback begins on press; the anchor navigates normally without a delayed click. */
.horizon-chronicles .hc-hero-buttons .hc-story-cta:active{transform:translateY(1px) scale(.975);transition-duration:.06s}
.hc-hero-buttons .hc-story-cta:active:before{filter:brightness(1.65) saturate(1.1) drop-shadow(0 0 19px #ffce70cc);transition-duration:.06s}
.hc-story-cta:active:after{opacity:.8;transform:scale(1.14);transition-duration:.06s}
.hc-story-cta:active .hc-story-sheen{background:radial-gradient(ellipse,#ffe3a34d,transparent 72%)}
@keyframes hc-story-shine{
 0%{transform:translateX(-140%) skewX(-20deg);opacity:0}
 15%{opacity:1}
 85%{opacity:1}
 100%{transform:translateX(340%) skewX(-20deg);opacity:0}
}
@media(max-width:900px){.hc-sidebar .hc-side-home{grid-column:1/-1;margin-bottom:0}}
@media(max-width:700px){
 .horizon-chronicles .hc-hero-buttons .hc-story-cta{width:340px;min-height:72px;padding:17px 27px;font-size:17px;gap:10px}
}
@media(max-width:600px){.hc-side-game>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){
 .horizon-chronicles .hc-hero-buttons .hc-story-cta,
 .horizon-chronicles .hc-hero-buttons .hc-story-cta:is(:hover,:focus-visible,:active){transform:none;transition:none}
 .hc-story-cta:before,.hc-story-cta:after,.hc-story-arrow{transition:none}
 .hc-story-cta .hc-story-sheen:before{animation:none!important}
 .hc-story-cta:is(:hover,:focus-visible,:active) .hc-story-arrow{transform:none}
}
