body.ipsApp{background:#090b11!important;color:#e9e5df;font-family:Manrope,Arial,sans-serif}
.erloria-forum-hero{position:relative;min-height:430px;background:url('https://wofe.net/assets/images/elf-and-castle-background.png') center 18%/cover no-repeat}
.erloria-forum-hero:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#090b11 0%,rgba(9,11,17,.88) 12%,rgba(9,11,17,.25) 42%,transparent 75%)}
.erloria-forum-top{position:relative;z-index:1;background:#080b12bf;border-bottom:1px solid #d9b47a22}
.erloria-forum-top nav{max-width:1180px;margin:auto;padding:19px 24px;display:flex;justify-content:center;gap:30px}
.erloria-forum-top a{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#b6bbc5!important}
.erloria-forum-top a:hover,.erloria-forum-top a[aria-current]{color:#e5c18a!important}
.erloria-forum-brand{position:relative;z-index:1;max-width:1180px;margin:auto;padding:70px 28px 95px}
.erloria-forum-brand img{width:330px;max-width:70vw;filter:drop-shadow(0 4px 15px #000)}
.erloria-forum-brand p{max-width:360px;text-align:center;margin:16px 0 0;color:#d3c6b2;font:500 21px 'Cormorant Garamond',Georgia,serif;letter-spacing:.1em}
#ipsLayout_header{background:#090b11!important}#ipsLayout_header header{background:#10131b!important;border-top:1px solid #d9b47a25}
#elSiteTitle{font:600 25px 'Cormorant Garamond',Georgia,serif;color:#e7c58e!important}
#ipsLayout_body{max-width:1240px}#ipsLayout_contentWrapper{background:transparent!important;padding-top:25px}
.ipsNavBar_primary,.ipsNavBar_secondary{background:#10131b!important;border-color:#ffffff0c!important}
.ipsNavBar_primary>li>a,.ipsNavBar_secondary a{color:#bfc2ca!important}.ipsNavBar_primary>li.ipsNavBar_active>a{color:#edcd98!important;background:#1a1c24!important}
.ipsBox,.ipsWidget,.ipsAreaBackground,.ipsAreaBackground_light,.ipsAreaBackground_reset,.ipsAreaBackground_dark{background:#11141c!important;color:#d8d9df;border-color:#ffffff16!important;border-radius:5px}
.ipsBox{border:1px solid #ffffff16!important;box-shadow:0 5px 20px #0002}.ipsBox .ipsBox{box-shadow:none}
.ipsType_pageTitle,.ipsType_sectionTitle,.ipsType_sectionHead{font-family:'Cormorant Garamond',Georgia,serif;color:#e9ddc9!important}
.ipsType_pageTitle{font-size:34px}.ipsType_sectionTitle,.ipsWidget_title{background:linear-gradient(90deg,#1d1d25,#12151d)!important;color:#e6c491!important;border-bottom:1px solid #d9b47a25;font-size:20px}
.ipsType_sectionTitle a{color:inherit!important}.ipsDataItem{border-color:#ffffff0b!important;background:transparent!important;transition:background .2s}.ipsDataItem:hover{background:#ffffff03!important}
.ipsDataItem_title a,.ipsType_blendLinks a,.ipsType_normal,.ipsType_richText{color:#d8dbe3}.ipsType_light,.ipsType_minorHeading,.ipsType_reset.ipsType_light{color:#949aa8!important}
.ipsType_richText a,.ipsBreadcrumb a{color:#cbb38e}.ipsApp a:hover{color:#ebcd98}.ipsDataItem_title{font-weight:500}.ipsItemStatus{color:#d6b77e!important;background:transparent!important}
.ipsButton_primary,.ipsButton_important{background:linear-gradient(110deg,#ffdc93,#dba753)!important;color:#261b0a!important;border:1px solid #ffe3a1!important;box-shadow:0 0 18px #d9b47a18;border-radius:4px}
.ipsButton_light,.ipsButton_alternate,.ipsButton_veryLight{background:#181b24!important;color:#d3c4aa!important;border:1px solid #d9b47a35!important;border-radius:4px}.ipsButton:hover{filter:brightness(1.1)}
.ipsButtonBar,.ipsTabs,.ipsTabs_panel{background:#12151d!important;border-color:#ffffff15!important}.ipsTabs_item{color:#adb2be!important}.ipsTabs_activeItem{background:#21212a!important;color:#eac994!important;border-color:#d9b47a!important}
.ipsMenu,.ipsDialog_content,.ipsDialog_title,.ipsHovercard,.ipsTooltip{background:#171b25!important;color:#e1e3e8!important;border-color:#d9b47a35!important}.ipsMenu_item>a{color:#c6cad3!important}.ipsMenu_item>a:hover{background:#24242e!important}
.ipsApp input[type=text],.ipsApp input[type=password],.ipsApp input[type=email],.ipsApp input[type=search],.ipsApp textarea,.ipsApp select,#elSearch{background:#0c1019!important;color:#dce0e8!important;border-color:#ffffff25!important}
.ipsApp input:focus,.ipsApp textarea:focus{border-color:#d9b47a!important}.ipsApp ::placeholder{color:#858e9e}
.cPost,.cTopicPostArea,.ipsComment,.ipsComment_header,.ipsComment_content{background:#11141c!important;color:#d9dce3;border-color:#ffffff14!important}.cAuthorPane{background:#0e121a!important;border-color:#ffffff0c!important}
.ipsQuote,.ipsSpoiler,.ipsCode{background:#0b0f17!important;color:#cdd2de!important;border-color:#d9b47a30!important}.ipsQuote_citation,.ipsSpoiler_header{background:#1a1e28!important;color:#d2c4ac!important}
.ipsPagination a{background:#141822!important;color:#bbbfc9!important;border-color:#ffffff20!important}.ipsPagination .ipsPagination_active a{background:#453521!important;color:#ffe0a1!important}
#ipsLayout_footer{border-top:1px solid #d9b47a25;margin-top:45px;padding-top:25px;background:transparent!important;color:#8d94a2}#ipsLayout_footer a{color:#aab0bb}#ipsLayout_footer a:hover{color:#d9b47a}
.erloria-forum-footer{max-width:1180px;margin:25px auto;text-align:center;color:#898f9b;font-size:10px;letter-spacing:.12em}.erloria-forum-footer img{width:170px;display:block;margin:0 auto 14px}
@media(max-width:767px){.erloria-forum-hero{min-height:320px;background-position:65% top}.erloria-forum-top nav{gap:18px;overflow-x:auto;justify-content:flex-start;white-space:nowrap}.erloria-forum-brand{padding:65px 20px 65px}.erloria-forum-brand img{width:260px}.erloria-forum-brand p{max-width:260px;font-size:18px}.ipsType_pageTitle{font-size:28px}#ipsMobileHeader{background:#10131b!important}.ipsMobileHamburger{color:#d9b47a!important}}
/* Native IPS controls remain readable on the dark palette. */
#elUserNav a,#elUserNav .fa,#elUserNav .ipsType_light{color:#bdc2ce!important}
#elUserNav a:hover,#elUserNav a:hover .fa{color:#e5c18a!important}
.ipsItemStatus .fa,.ipsItemStatus_read .fa{color:#ac9775!important}
#ipsLayout_footer #elCopyright,#ipsLayout_footer #elCopyright a{color:#858c99!important}
#elSiteTitle{font-size:0!important}#elSiteTitle:after{content:'Форум Єрлорії';font:600 25px 'Cormorant Garamond',Georgia,serif;color:#e7c58e}
/* Full-width IPS nav and its secondary-row pseudo element. */
#ipsLayout_header nav[data-controller="core.front.core.navBar"],
#ipsLayout_header nav[data-controller="core.front.core.navBar"]::after{background:#10131b!important;border-color:#ffffff0c!important}
/* Member cards and contact links must contrast with dark panels. */
.ipsApp .ipsType_blendLinks a,.ipsApp .ipsType_blendLinks,.ipsApp .ipsType_sectionHead a,.ipsApp .ipsDataItem_title a,.ipsApp .ipsType_break a,.ipsApp a.ipsType_blendLinks{color:#d8dbe3!important}
.ipsApp .ipsType_light a,.ipsApp a.ipsType_light,.ipsApp .ipsType_small a{color:#bba783!important}
.ipsApp .ipsType_blendLinks a:hover,.ipsApp .ipsType_sectionHead a:hover,.ipsApp .ipsType_light a:hover,.ipsApp .ipsType_small a:hover{color:#edcd98!important}
.ipsApp .cStaffDirectory_full a:not(.ipsUserPhoto){color:#c9b18b!important}.ipsApp .cStaffDirectory_full h3 a{color:#e0e3eb!important}.ipsApp .cStaffDirectory_full a:hover{color:#f0ce96!important}
/* Erloria panels: quiet gold accents and readable member widgets. */
.ipsApp .ipsWidget a:not(.ipsButton):not(.ipsUserPhoto),.ipsApp a[data-ipshover-target*="profile"],.ipsApp a[data-ipsHover-target*="profile"]{color:#d0bb98!important}
.ipsApp .ipsWidget a:not(.ipsButton):hover,.ipsApp a[data-ipshover-target*="profile"]:hover{color:#f1d29e!important}
.ipsWidget_title{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:23px!important;font-weight:600!important;letter-spacing:.015em}
.ipsBox,.ipsWidget{border:1px solid #b99a6326!important;box-shadow:0 8px 28px #0002!important;border-radius:7px!important;overflow:hidden}
.ipsType_sectionTitle,.ipsWidget_title{background:linear-gradient(105deg,#202029,#141720 75%)!important;border-bottom:1px solid #b99a6329!important}
.ipsType_sectionTitle{position:relative;border-left:2px solid #b99a6370!important;padding-left:19px!important}
.ipsDataItem{transition:background .22s ease,box-shadow .22s ease}
.ipsDataItem:hover{background:linear-gradient(90deg,#d9b47a09,transparent)!important;box-shadow:inset 2px 0 #d9b47a65}
.ipsItemStatus.ipsItemStatus_read{opacity:.75;color:#b9a27d!important}
.ipsItemStatus .fa{color:#b9a27d!important}
.ipsWidget_inner{color:#adb4c2!important;line-height:1.7}
.ipsApp .ipsWidget .ipsType_sectionTitle a,.ipsApp .ipsWidget .ipsWidget_title a{color:#e5c18a!important}
#ipsLayout_header header{background:linear-gradient(90deg,#0d1017,#12151e,#0d1017)!important}
#elUserNav a{transition:color .2s ease}
.ipsBreadcrumb a:hover{color:#efcb8e!important}
@media(prefers-reduced-motion:reduce){.ipsDataItem,#elUserNav a{transition:none}}
/* Illustrated forum composition: scenery outside a framed reading area. */
body.ipsApp{background:#080c13 url('/erloria-theme/moonlit-forum-background.png') center top/cover fixed no-repeat!important}
.erloria-forum-hero{min-height:265px;background:none!important}
.erloria-forum-hero:after{display:none}
.erloria-forum-top{background:#090d16a6}
.erloria-forum-brand{padding:33px 24px 28px;text-align:center}
.erloria-forum-brand img{width:310px}
.erloria-forum-brand p{max-width:none;margin:9px 0 0;font-size:19px}
#ipsLayout_header{max-width:1180px;margin:0 auto;background:#10131bef!important;border:1px solid #bda16b6b;border-bottom:0;border-radius:10px 10px 0 0;box-shadow:0 0 0 4px #080c1370,0 15px 50px #0005;position:relative}
#ipsLayout_header:before,#ipsLayout_header:after{content:'';position:absolute;z-index:2;top:-5px;width:10px;height:10px;transform:rotate(45deg);background:#c6a66d;box-shadow:0 0 12px #bfa47560;pointer-events:none}
#ipsLayout_header:before{left:18px}#ipsLayout_header:after{right:18px}
#ipsLayout_header .ipsLayout_container{max-width:100%;padding-left:25px;padding-right:25px}
#ipsLayout_header header{border-top:0;border-radius:10px 10px 0 0}
#ipsLayout_body{max-width:1180px;margin:0 auto!important;padding:0 26px 24px;background:linear-gradient(110deg,#10141bee,#0d1119f5)!important;border:1px solid #bda16b6b;border-top:0;border-radius:0 0 10px 10px;box-shadow:0 0 0 4px #080c1370,0 25px 70px #0008}
#ipsLayout_contentWrapper{padding-top:22px}
.ipsBox,.ipsWidget{background:#111620e8!important;overflow:visible}
.ipsType_sectionTitle{background:linear-gradient(100deg,#2b2830,#171c26)!important;color:#ead1a5!important}
.ipsDataItem{padding-top:17px;padding-bottom:17px}
.ipsDataItem_icon .ipsItemStatus{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #c9ab7270;border-radius:7px;background:linear-gradient(145deg,#ffffff04,#0007),url('/erloria-theme/moonlit-forum-background.png') 8% 20%/250px auto!important;box-shadow:inset 0 0 0 2px #080c1380,0 3px 8px #0005;opacity:1!important}
.ipsDataItem_icon .ipsItemStatus .fa{font-size:18px;color:#f1d5a1!important;text-shadow:0 1px 5px #000}
.ipsDataItem:nth-child(even) .ipsDataItem_icon .ipsItemStatus{background-position:92% 30%!important}
#ipsLayout_footer{max-width:1180px;margin:26px auto 0;padding-bottom:5px;background:#080c1390!important;border:0;border-radius:8px}
.erloria-forum-footer{margin:15px auto 30px;text-shadow:0 2px 5px #000}
@media(min-width:1800px){body.ipsApp{background-size:100% auto!important}}
@media(max-width:767px){body.ipsApp{background-size:auto 900px!important;background-attachment:scroll!important}.erloria-forum-hero{min-height:230px}.erloria-forum-brand{padding:28px 20px}.erloria-forum-brand img{width:260px}#ipsLayout_header,#ipsLayout_body{border-radius:0;border-left:0;border-right:0;box-shadow:none}#ipsLayout_body{padding:0 12px 18px}.ipsDataItem_icon .ipsItemStatus{width:34px;height:34px}.ipsDataItem{padding-top:12px;padding-bottom:12px}}
@media(min-width:768px){body.ipsApp{background-size:100% auto!important}}
/* Language controls in the top bar, replacing the old footer strip. */
#ipsLayout_footer{display:none!important}
.erloria-language-switcher{position:absolute;top:12px;right:24px;z-index:10;display:flex;gap:4px}
.erloria-language-switcher form{margin:0}
.erloria-language-switcher button{appearance:none;background:transparent;border:1px solid transparent;border-radius:4px;padding:5px 8px;color:#a8afbd;font:600 11px Manrope,Arial,sans-serif;cursor:pointer;transition:color .2s,border-color .2s}
.erloria-language-switcher button span{font-size:15px;vertical-align:middle;margin-right:3px}
.erloria-language-switcher button:hover,.erloria-language-switcher button.is-active{color:#edcd98;border-color:#d9b47a45;background:#d9b47a08}
.erloria-forum-top nav{padding-right:165px;padding-left:165px}
@media(max-width:1000px){.erloria-forum-top nav{padding:55px 20px 16px;justify-content:center;gap:19px}.erloria-language-switcher{right:16px;top:10px}}
@media(max-width:767px){.erloria-forum-top nav{justify-content:flex-start}.erloria-forum-hero{min-height:265px}}
.erloria-language-switcher button span{display:inline-block;width:17px;height:11px;font-size:0;vertical-align:-1px;border-radius:2px;box-shadow:0 0 0 1px #ffffff20;background:linear-gradient(#2673bf 50%,#ffd34c 50%)}
.erloria-language-switcher form:first-child button span{background:#17355d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 36'%3E%3Cpath stroke='%23fff' stroke-width='7' d='M0 0L60 36M60 0L0 36'/%3E%3Cpath stroke='%23c9424c' stroke-width='3' d='M0 0L60 36M60 0L0 36'/%3E%3Cpath stroke='%23fff' stroke-width='12' d='M30 0V36M0 18H60'/%3E%3Cpath stroke='%23c9424c' stroke-width='7' d='M30 0V36M0 18H60'/%3E%3C/svg%3E") center/cover}
/* Solid, continuous forum frame: no scenery bleed or navigation cutouts. */
#ipsLayout_header,#ipsLayout_body{background:#0e121a!important;box-shadow:none!important;border-color:#a98d583d!important}
#ipsLayout_header{overflow:hidden}
#ipsLayout_header header,#ipsLayout_header nav[data-controller="core.front.core.navBar"],#ipsLayout_header nav[data-controller="core.front.core.navBar"]::after,.ipsNavBar_primary,.ipsNavBar_secondary{background:#0e121a!important}
#ipsLayout_header nav[data-controller="core.front.core.navBar"]::after{left:0!important;right:0!important;width:100%!important;max-width:100%!important}
#ipsLayout_header:before,#ipsLayout_header:after{display:none}
#ipsLayout_body{position:relative;z-index:1}
.ipsBox,.ipsWidget{background:#111620!important;box-shadow:none!important}
/* One castle illustration for every forum row. */
.ipsDataItem .ipsDataItem_icon .ipsItemStatus,.ipsDataItem:nth-child(even) .ipsDataItem_icon .ipsItemStatus{background-position:8% 20%!important}
/* Remove the duplicate IPS browse/activity navigation from this theme. */
#ipsLayout_header nav[data-controller="core.front.core.navBar"]{display:none!important}
/* Ambient fireflies stay in the outer gutters, never above forum text. */
.erloria-fireflies{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.erloria-firefly{position:absolute;bottom:-15px;width:var(--size);height:var(--size);border-radius:50%;background:#f6d694;box-shadow:0 0 6px #f4cf87,0 0 14px #dba95480;opacity:0;animation:erloria-firefly-rise var(--duration) linear infinite;will-change:transform,opacity}
.erloria-firefly[data-side=left]{left:calc((100vw - min(1180px, 100vw - 32px)) / 2 * var(--edge))}
.erloria-firefly[data-side=right]{right:calc((100vw - min(1180px, 100vw - 32px)) / 2 * var(--edge))}
#ipsLayout_header,.erloria-forum-hero,.erloria-forum-footer{position:relative;z-index:1}
@keyframes erloria-firefly-rise{0%{transform:translate3d(0,0,0);opacity:0}12%{opacity:var(--brightness)}38%{opacity:.22}58%{opacity:var(--brightness)}85%{opacity:.3}100%{transform:translate3d(var(--drift),-110vh,0);opacity:0}}
@media(max-width:999px),(prefers-reduced-motion:reduce){.erloria-fireflies{display:none}}
/* Stable geometry while language changes reload the document. */
html{overflow-y:scroll;scrollbar-gutter:stable}
.erloria-language-switcher{gap:5px;height:30px}
.erloria-language-switcher button{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;width:62px;height:30px;padding:0!important;line-height:1!important;white-space:nowrap}
.erloria-language-switcher button span{flex:0 0 17px;margin:0!important;vertical-align:initial}
.erloria-forum-brand img{height:110px;object-fit:contain}
.erloria-forum-brand p{line-height:24px;min-height:24px}
#ipsLayout_header header{min-height:80px}
@media(max-width:767px){.erloria-forum-brand img{height:92px}#ipsLayout_header header{min-height:0}}/* Short forum pages fill the viewport; scenery never ends at content height. */
html{min-height:100%;background:#080c13}
body.ipsApp{min-height:100vh!important;box-sizing:border-box;background-color:#080c13!important;background-image:linear-gradient(to bottom,transparent calc(100vh - 180px),#080c13 100vh),url('/erloria-theme/moonlit-forum-background.png')!important;background-size:100% 100vh,100% auto!important;background-position:center top!important;background-repeat:no-repeat!important;background-attachment:fixed!important}
#ipsLayout_body{min-height:calc(100vh - 490px);box-sizing:border-box;display:flex;flex-direction:column}
#ipsLayout_contentWrapper{flex:1;width:100%;box-sizing:border-box}
.erloria-forum-footer{min-height:100px;box-sizing:border-box}
@media(max-width:767px){body.ipsApp{background-size:100% 100vh,auto 900px!important;background-attachment:scroll!important}#ipsLayout_body{min-height:calc(100vh - 470px)}}
