/* Shared finishing layer: ornamental details without changing page structure. */
body.horizon-chronicles{background-color:#191817;background-image:radial-gradient(ellipse at 0 20%,#74512c12,transparent 45%),radial-gradient(ellipse at 100% 65%,#8155320d,transparent 45%)}
.horizon-chronicles ::selection{background:#d7b37c;color:#211a13}
.horizon-chronicles .hc-header{background:linear-gradient(180deg,#25201d,#191716);border-bottom-color:#8c6945;box-shadow:0 1px 0 #d6ad651a,0 8px 28px #0005}
.hc-header:after{content:'';position:absolute;bottom:-1px;left:6%;right:6%;height:1px;background:linear-gradient(90deg,transparent,#e8c88b70,transparent);pointer-events:none}
.hc-brand img{filter:drop-shadow(0 2px 7px #0009)}
.hc-nav a{transition:color .18s ease,border-color .18s ease}.hc-nav a:hover{border-bottom-color:#a57c48}
.horizon-chronicles :is(.hc-play,.hc-button,.hc-home-cta,.hc-primary){box-shadow:inset 0 1px 0 #fff2,0 3px 8px #0003;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
.horizon-chronicles :is(.hc-play,.hc-button,.hc-home-cta,.hc-primary):hover{border-color:#d2ab71;box-shadow:inset 0 1px 0 #fff3,0 4px 13px #0004}
.horizon-chronicles :is(.hc-play,.hc-button,.hc-home-cta,.hc-primary):active{box-shadow:inset 0 2px 5px #0004}
.hc-language{box-shadow:inset 0 1px 4px #0006,0 1px 0 #d5ab6324}.hc-language:before{box-shadow:inset 0 1px 0 #fff6,0 1px 5px #0005}
.hc-edition{background:linear-gradient(90deg,#211c18,#30231c,#211c18);border-bottom-color:#725339}
.hc-hero:after{content:'';position:absolute;inset:18px;z-index:-1;pointer-events:none;border:1px solid #e8c48a25;box-shadow:inset 0 0 0 5px #00000012}
.hc-hero-copy .hc-crest{box-shadow:inset 0 0 18px #0006;background:linear-gradient(145deg,#8f4c3f,#47251f)}
.hc-hero h1 em{text-shadow:0 2px 2px #0009,0 0 35px #c3944b30}
.hc-chapters{background:linear-gradient(180deg,#2b231b45,transparent);border-block-color:#755536}
.hc-chapters>a{transition:background-color .18s ease}.hc-chapters>a:hover{background:#bd8e4510}.hc-roman{color:#bd965e;text-shadow:0 1px 0 #000}
.hc-page-heading,.hc-journal-heading{position:relative}
.hc-page-heading:after{content:'';display:block;width:74px;height:1px;margin-top:22px;background:linear-gradient(90deg,#d5af74,transparent)}
.hc-journal-heading{border-bottom-color:#8b6742}.hc-journal-heading:after{content:'';position:absolute;bottom:-4px;left:0;width:7px;height:7px;background:#be965f;transform:rotate(45deg)}
.horizon-chronicles .hc-home :is(.hc-news-card,.hc-notices,.hc-home-start){box-shadow:inset 0 1px 0 #e3bd7b0c,0 5px 18px #0002}
.horizon-chronicles .hc-home .hc-news-card{border-color:#645039;background-image:linear-gradient(135deg,#e0b57208,transparent 50%)}
.horizon-chronicles .hc-home .hc-news-lead{border-top:2px solid #b18a55;background-image:radial-gradient(ellipse at top right,#a8783020,transparent 65%)}
.hc-news-details>summary{transition:background-color .18s ease}.hc-news-details>summary:hover{background:#dfbb7c08}
.hc-news-meta>span{border:1px solid #a77e474d;padding:4px 8px;background:#b48b410a}
.hc-news-plus{background:linear-gradient(135deg,#493322,#292019);box-shadow:inset 0 1px 0 #e4bd7020;transition:transform .18s ease}
.horizon-chronicles .hc-home-start{border-top-color:#c18b58!important}
.hc-sidebar-heading{position:relative}.hc-sidebar-heading:after{content:'';height:1px;flex:1;margin-left:12px;background:linear-gradient(90deg,#84603b,transparent)}
.hc-home-shortcuts a{transition:color .18s ease,background-color .18s ease}.hc-home-shortcuts a:hover{background:#b18a5508}
.hc-footer{position:relative;background:linear-gradient(180deg,#211c18,#171614);border-top:1px solid #785738;box-shadow:0 -1px 0 #c29b5a12}
.hc-footer:before{content:'';position:absolute;left:6%;right:6%;top:-1px;height:1px;background:linear-gradient(90deg,transparent,#d6af75aa,transparent);pointer-events:none}
.hc-footer> a{font-family:Georgia,serif;letter-spacing:1px;color:#dbb985!important}.hc-footer a{text-underline-offset:5px}.hc-footer a:hover{text-decoration:underline!important}
@media(max-width:700px){.hc-hero:after{inset:10px}.hc-header:after{left:20px;right:20px}.hc-edition{letter-spacing:1.3px}.hc-footer:before{left:20px;right:20px}}
@media(prefers-reduced-motion:reduce){.horizon-chronicles :is(.hc-nav a,.hc-play,.hc-button,.hc-home-cta,.hc-primary,.hc-chapters>a,.hc-news-details>summary,.hc-news-plus,.hc-home-shortcuts a){transition:none}}

/* Interior pages: matching borders, light and keyboard feedback. */
.horizon-chronicles .hc-characters .hc-character-card,
.horizon-chronicles .hc-highscores .hc-rank-leader,
.horizon-chronicles .hc-account-flow .hc-ticket-form{
 box-shadow:inset 0 1px 0 #e5bf7e12,0 5px 18px #0002;
 border-color:#685136;
}
.horizon-chronicles .hc-characters .hc-character-hero{box-shadow:inset 0 0 0 5px #d4a35206,inset 0 1px 0 #f3d49c24,0 6px 24px #0003}
.hc-character-seal img{filter:drop-shadow(0 3px 6px #0007)}
.hc-character-stats{box-shadow:inset 0 -1px 0 #b48c4f12}
.hc-character-sections a,.hc-rank-search,.hc-character-rank-link{text-underline-offset:5px}
.hc-character-sections a{border-bottom:1px solid transparent;padding-bottom:3px}
.hc-character-sections a:hover{border-bottom-color:#b38a53;text-decoration:none}
.hc-character-item{box-shadow:inset 0 1px 0 #e9bd7412,inset 0 -3px 9px #0002}
.hc-character-skill:focus-visible,.hc-rank-pagination a:focus-visible{outline-offset:3px}
.horizon-chronicles .hc-highscores .hc-rank-leader-1{border-top:2px solid #cfab6c}
.hc-character-search,.hc-rank-filters{box-shadow:inset 0 1px 0 #efd39c0b,0 4px 14px #0002}
.horizon-chronicles :is(.hc-account-flow,.hc-characters,.hc-highscores) :is(input[type=text],input[type=email],input[type=password],input[type=number],select,textarea){box-shadow:inset 0 2px 5px #0003}
.horizon-chronicles :is(.hc-account-flow,.hc-characters,.hc-highscores) :is(input,select,textarea):focus-visible{border-color:#c9a46c;outline:2px solid #e2bd7c;outline-offset:3px}
.horizon-chronicles :is(.hc-account-flow,.hc-characters,.hc-highscores) :is(button,input,select):disabled{cursor:not-allowed}
.hc-character-events>summary:hover{background:#d1ac6608}
.hc-character-events[open]>summary{color:#f0d4a3}
.hc-character-events>summary:focus-visible{outline-offset:-2px}
@media(hover:hover){.hc-character-skill,.hc-character-item,.hc-rank-pagination a{transition:border-color .18s ease,background-color .18s ease}.hc-character-item:hover{border-color:#9f7c4d}}
@media(prefers-reduced-motion:reduce){.hc-character-skill,.hc-character-item,.hc-rank-pagination a{transition:none}}
