/* MansoryPW — обычный CSS, не extra.less.
   Кладите файл в styles/hollypw/ рядом с картинками. */

:root {
  --ink: #f7f1ff;
  --muted: #d7c6ea;
  --gold: #ecd9a0;
  --wrap: 1260px;
  --serif: Cinzel, "Cormorant Garamond", serif;
  --body: "Cormorant Garamond", Georgia, serif;
  --sans: Montserrat, "Segoe UI", sans-serif;
}

html {
  background: #120418;
  color-scheme: dark;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  text-rendering: optimizeLegibility;
}

body {
  color: #f7f1ff;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  background: #120418;
}

.p-pageWrapper {
  position: relative;
  min-height: 100vh;
  overflow: visible;
  background: #160826;
}

.wrap,
.p-body-inner,
.p-footer-inner {
  width: min(1260px, calc(100% - 48px));
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}

/* ——— Painted nav buttons (HTML pattern: img + span) ——— */
.ui-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: visible;
  color: #fff;
  border: 0;
  background: transparent;
  text-decoration: none;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, .4));
  transition: filter .2s, transform .2s;
}
.ui-btn:hover {
  filter: drop-shadow(0 0 18px rgba(232, 180, 255, .9));
  transform: translateY(-2px) scale(1.03);
}
.ui-btn:active { transform: translateY(1px) scale(.98); }
.ui-btn > img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  display: block;
}
.ui-btn > span {
  grid-area: 1 / 1;
  z-index: 1;
  padding: 8px 24px 0;
  font-family: Cinzel, "Cormorant Garamond", serif;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 1px 0 #1a0618, 0 2px 4px #000;
  -webkit-text-stroke: .3px rgba(255, 255, 255, .55);
  white-space: nowrap;
  color: #fff;
}
.ui-btn--nav {
  width: 210px;
  height: 75px;
  justify-self: end;
  flex: 0 0 auto;
  grid-column: 3;
}
.ui-btn--nav > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1;
  padding: 7px 16px 0;
  white-space: nowrap;
}
.ui-btn--menu {
  width: 132px;
  height: 47px;
  flex: 0 0 auto;
}
.ui-btn--menu > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  padding: 6px 6px 0;
}
.nav .ui-btn.is-active {
  filter: drop-shadow(0 0 14px rgba(232, 180, 255, .95));
}

/* ——— Header over hero ——— */
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  overflow: visible;
  animation: hp-fade-down .7s ease both;
  transition: background .35s, backdrop-filter .35s, box-shadow .35s;
}
.header.is-stuck {
  position: absolute;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
.hp-account {
  position: absolute;
  top: 92px;
  right: 16px;
  z-index: 32;
  display: flex;
  align-items: center;
  gap: 2px;
}
.p-navgroup--guest { display: none !important; }
.p-navSticky:has(.p-navgroup--guest) { display: none !important; }
.header__row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  height: 92px;
  min-height: 92px;
  gap: 12px;
  overflow: visible;
}
.logo {
  position: absolute;
  left: clamp(4px, 1.8vw, 28px);
  top: 2px;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: min(440px, 34vw);
  height: min(242px, 19vw);
  margin: 0;
  overflow: visible;
  line-height: 1;
  z-index: 34;
  transition: transform .28s ease;
}
.logo:hover { transform: scale(1.04); }
.logo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  display: block;
  filter:
    drop-shadow(0 8px 16px rgba(8, 2, 16, .55))
    drop-shadow(0 0 12px rgba(236, 217, 160, .32))
    drop-shadow(0 0 20px rgba(255, 248, 230, .16));
  animation: hp-logo-breathe 5.6s ease-in-out infinite;
}
.logo::before {
  content: "";
  position: absolute;
  inset: 10% -22% -28% -22%;
  background: radial-gradient(ellipse 52% 48% at 50% 48%, rgba(255, 236, 210, .28), transparent 70%);
  filter: blur(26px);
  animation: hp-logo-aura 5.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, .1) 42%, rgba(255, 255, 255, .75) 50%, rgba(255, 236, 200, .32) 56%, transparent 70%);
  background-size: 240% 100%;
  background-position: 130% 0;
  animation: hp-logo-sheen 5.2s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
  -webkit-mask-image: url("ui-logo.png");
  mask-image: url("ui-logo.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.logo__sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.logo__sparkles i {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px 2px rgba(255, 236, 200, .7);
  animation: hp-logo-twinkle 2.6s ease-in-out infinite;
}
.logo__sparkles i:nth-child(1) { top: 4%; left: 50%; margin-left: -2px; }
.logo__sparkles i:nth-child(2) { bottom: 8%; left: 50%; margin-left: -2px; width: 4px; height: 4px; animation-delay: .7s; }
.logo__sparkles i:nth-child(3) { top: 42%; left: 14%; width: 3px; height: 3px; animation-delay: 1.2s; }
.logo__sparkles i:nth-child(4) { top: 42%; right: 14%; width: 3px; height: 3px; animation-delay: 1.9s; }

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  grid-column: 2;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(237, 213, 255, .4);
  background: rgba(40, 10, 70, .4);
  color: #fff;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ——— Hero ——— */
.hero {
  position: relative;
  width: 100%;
  display: flex;
  overflow: hidden;
}
.hero--sub {
  min-height: 460px;
  padding: 140px 0 92px;
  align-items: flex-end;
}
.hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  pointer-events: none;
  user-select: none;
  display: block;
  -webkit-mask-image: linear-gradient(180deg, #000 42%, rgba(0, 0, 0, .5) 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 42%, rgba(0, 0, 0, .5) 70%, transparent 100%);
}
.hero::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 1px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(215, 191, 122, .5), transparent);
  box-shadow: 0 0 16px rgba(192, 132, 252, .4), 0 -10px 28px rgba(76, 29, 122, .45);
}
.hero--sub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54%;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(22, 8, 38, .22) 18%, rgba(16, 6, 32, .82) 58%, #160826 100%),
    radial-gradient(70% 90% at 82% 108%, rgba(124, 58, 237, .32), transparent 58%);
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 3, 22, .34) 0%, rgba(12, 3, 22, .1) 26%, transparent 52%),
    linear-gradient(180deg, rgba(12, 3, 22, .1) 0%, transparent 28%, rgba(18, 6, 32, .45) 100%);
}
.hero__spark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(1.5px 1.5px at 14% 24%, rgba(255, 236, 255, .75), transparent),
    radial-gradient(1px 1px at 36% 62%, rgba(232, 180, 255, .6), transparent),
    radial-gradient(1.4px 1.4px at 70% 28%, rgba(255, 255, 255, .5), transparent),
    radial-gradient(1px 1px at 84% 70%, rgba(253, 224, 71, .4), transparent);
  animation: hp-spark-twinkle 4.5s ease-in-out infinite;
}
.hero__aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse 50% 54% at 52% 46%, rgba(196, 140, 255, .08), transparent 66%);
  mix-blend-mode: screen;
  animation: hp-aura-breathe 5.5s ease-in-out infinite;
}
.hero__mist {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(105deg, transparent 32%, rgba(232, 180, 255, .025) 50%, transparent 68%);
  background-size: 220% 100%;
  animation: hp-mist-sweep 14s ease-in-out infinite;
}
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  overflow: visible;
}
.hero__copy > * {
  animation: hp-rise-in .8s cubic-bezier(.22, 1, .36, 1) both;
}
.hero__copy > h1 {
  animation:
    hp-rise-in .8s cubic-bezier(.22, 1, .36, 1) .12s both,
    hp-title-sheen 9.5s ease-in-out 2.4s infinite;
}
.hero__copy > p { animation-delay: .4s; }
.hero h1 {
  margin: 0 0 12px;
  display: inline-block;
  font-family: Cinzel, "Cormorant Garamond", serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image:
    linear-gradient(108deg, transparent 36%, rgba(255, 255, 255, .12) 44%, rgba(255, 255, 255, .95) 50%, rgba(236, 200, 255, .5) 55%, transparent 64%),
    linear-gradient(180deg, #fffef8 0%, #f4eeff 10%, #fff4d4 24%, #e8d19a 42%, #f0ddb0 54%, #c9a24a 72%, #9a7328 88%, #6e5018 100%);
  background-size: 240% 100%, 100% 100%;
  background-position: 140% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 1px 0 rgba(255, 248, 230, .4))
    drop-shadow(0 3px 0 rgba(72, 44, 12, .4))
    drop-shadow(0 8px 18px rgba(12, 2, 28, .85))
    drop-shadow(0 0 16px rgba(192, 132, 252, .42));
}
.hero p {
  margin: 0 0 22px;
  color: #f4e6c8;
  font-family: Cinzel, "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.55;
  text-shadow: 0 2px 12px #000, 0 0 14px rgba(192, 132, 252, 0.35);
}

/* Hide default XF chrome replaced by MansoryPW header/hero */
.p-header { display: none !important; }

.p-staffBar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(10, 2, 18, .55);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  color: #ecd9a0;
}

.p-navSticky,
.p-nav {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.p-navSticky {
  position: fixed !important;
  top: 12px;
  right: 16px;
  left: auto;
  width: auto;
  z-index: 40;
  margin: 0 !important;
}
.p-nav-inner {
  max-width: none;
  padding: 0 !important;
  background: none !important;
  min-height: 0 !important;
}
.p-nav-list,
.p-nav-smallLogo,
.p-nav-menuTrigger,
.p-sectionLinks,
.p-discovery {
  display: none !important;
}
.p-navgroup-link {
  color: #ecd9a0 !important;
  background: transparent !important;
}
.p-navgroup-linkText {
  font-size: 10px;
  font-family: Cinzel, "Cormorant Garamond", serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-shadow: 0 1px 8px #140318, 0 0 10px rgba(192, 132, 252, 0.45);
}

/* ——— Page body like .page on the mock ——— */
.p-body {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding: 32px 0 80px;
  background:
    linear-gradient(180deg, rgba(22, 8, 38, 0), #160826 88px),
    #160826;
}

body[data-template="forum_list"] .p-body-header { display: none; }
body[data-template="forum_list"] .p-body {
  margin-top: -48px;
}
body:not([data-template="forum_list"]) .p-body {
  margin-top: 12px;
  padding-top: 28px;
}
body:not([data-template="forum_list"]) .hero__copy { display: none; }
.p-body-header {
  position: relative;
  z-index: 6;
  margin: 0 0 18px;
}
.p-title-value {
  color: #fff6dc !important;
  font-family: Cinzel, "Cormorant Garamond", serif;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px #000, 0 0 16px rgba(192, 132, 252, 0.40);
}
.p-description {
  color: #efe6d0 !important;
  font-weight: 600;
}

.hp-bar.xf-panel,
.hp-bar {
  position: relative;
  overflow: visible;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px 14px 36px;
  margin-bottom: 32px;
}
.hp-bar .p-breadcrumbs {
  display: none !important;
}
.hp-socials {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  margin-right: auto;
  z-index: 3;
}
.hp-social {
  width: 132px;
  height: 47px;
  overflow: visible;
}
.hp-social > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 6px 8px 0;
}

.xf-actions {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: auto;
  overflow: visible;
  z-index: 3;
}
.xf-actions .xf-action {
  width: 132px;
  height: 47px;
  z-index: 3;
  overflow: visible;
}
.xf-actions .xf-action > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 6px 8px 0;
}

.p-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 2px 0 0 4px;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #5a3a18;
  font-family: Cinzel, "Cormorant Garamond", serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.p-breadcrumbs > li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  float: none;
}
.p-breadcrumbs > li a { color: #4a1578; }
.p-breadcrumbs > li a:hover { color: #8a5a12; }
.p-breadcrumbs > li:after {
  content: "/";
  margin: 0;
  opacity: .45;
  color: #6a4a7c;
  font-weight: 400;
  font-size: 11px;
}
.p-breadcrumbs--bottom { display: none !important; }

.p-body-main,
.p-body-main--withSidebar,
.p-body-main--withSideNav,
.p-body-main--withSideNav.p-body-main--withSidebar {
  display: grid !important;
  width: 100% !important;
  table-layout: auto;
  gap: 32px;
  align-items: start;
}
.p-body-main--withSidebar {
  grid-template-columns: minmax(0, 1fr) 300px;
}
.p-body-contentCol,
.p-body-sidebarCol,
.p-body-sideNavCol {
  display: none !important;
  width: 0 !important;
}
.p-body-content,
.p-body-sidebar,
.p-body-sideNav {
  display: block !important;
  width: auto !important;
  padding: 0 !important;
}
.p-body-sidebar {
  display: grid !important;
  gap: 42px;
}

/* ——— Parchment panels ——— */
.block-container,
.hp-bar {
  position: relative;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255, 248, 240, .45), rgba(236, 214, 255, .22) 55%),
    url("panel-glass.png") center / cover no-repeat,
    #f2e6d0;
  border: 2px solid #d7bf7a;
  box-shadow:
    0 0 0 1px #6a4e18,
    inset 0 0 0 1px rgba(255, 248, 220, .55),
    inset 0 0 42px rgba(168, 85, 247, .1),
    0 16px 40px rgba(20, 0, 40, .28),
    0 0 28px rgba(192, 132, 252, .22);
  border-radius: 0;
  animation: hp-xf-glow 7.5s ease-in-out infinite;
}
.block-container { margin-bottom: 42px; }
.p-body-sidebar .block-container { margin-bottom: 0; }

.block-container::before,
.hp-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(110deg, transparent 36%, rgba(255, 248, 230, .32) 50%, transparent 64%);
  background-size: 220% 100%;
  background-position: 140% 0;
  animation: hp-xf-sheen 8s ease-in-out 1.6s infinite;
  mix-blend-mode: overlay;
}
.block-container::after,
.hp-bar::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(236, 217, 160, .42);
  pointer-events: none;
  z-index: 1;
}
.block-container > *,
.hp-bar > * {
  position: relative;
  z-index: 2;
}
.block-container > .jewel,
.hp-bar > .jewel,
.block-container > .xf-charm,
.hp-bar > .xf-charm {
  position: absolute;
  z-index: 4;
}

.jewel {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(192, 132, 252, .75));
  animation: hp-gem-pulse 2.8s ease-in-out infinite;
}
.jewel-tr { animation-delay: .35s; }
.jewel-bl { animation-delay: .7s; }
.jewel-br { animation-delay: 1.05s; }
.jewel-mid { animation-delay: .2s; }
.jewel-mid-b { animation-delay: .9s; }
.jewel-tl, .jewel-tr, .jewel-bl, .jewel-br {
  width: 46px;
  height: 46px;
}
.jewel-tl { top: -10px; left: -10px; }
.jewel-tr { top: -10px; right: -10px; transform: scaleX(-1); }
.jewel-bl { bottom: -10px; left: -10px; transform: scaleY(-1); }
.jewel-br { bottom: -10px; right: -10px; transform: scale(-1); }
.jewel-mid {
  width: 28px;
  height: 36px;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  mix-blend-mode: screen;
}
.jewel-mid-b {
  width: 24px;
  height: 30px;
  bottom: -16px;
  top: auto;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  mix-blend-mode: screen;
}

.xf-charm {
  position: absolute;
  inset: -2px;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
  --run-delay: 0s;
  --pulse-delay: 0s;
  --bead: 0s;
}
.xf-charm::before,
.xf-charm::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.xf-charm::before {
  border: 2px solid transparent;
  animation: hp-charm-pulse 16s ease-in-out infinite;
  animation-delay: var(--pulse-delay);
}
.xf-charm::after {
  animation: hp-charm-pulse-glow 16s ease-in-out infinite;
  animation-delay: var(--pulse-delay);
}
.xf-charm i {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  offset-path: inset(1px);
  offset-anchor: center;
  offset-rotate: 0deg;
  background: radial-gradient(circle at 35% 30%, #fffef8 0 24%, #ffe389 44%, #c4922a 64%, transparent 72%);
  box-shadow: 0 0 8px 2px rgba(255, 224, 140, .72);
  animation: hp-charm-run 13s linear infinite;
  animation-delay: calc(var(--run-delay) + var(--bead, 0s));
}
.xf-charm i:nth-child(2) {
  width: 9px;
  height: 9px;
  --bead: 0s;
  background: radial-gradient(circle at 35% 30%, #fffef8 0 22%, #ffe9a0 40%, #d4a017 62%, transparent 70%);
  box-shadow:
    0 0 10px 3px rgba(255, 236, 190, .95),
    0 0 18px 6px rgba(212, 175, 55, .55),
    0 0 26px 8px rgba(192, 132, 252, .22);
}
.xf-charm i:nth-child(3) {
  width: 6px;
  height: 6px;
  opacity: .62;
  --bead: .1s;
}
.xf-charm i:nth-child(4) {
  width: 4px;
  height: 4px;
  opacity: .28;
  filter: blur(.35px);
  --bead: .2s;
}
.xf-charm__streak {
  width: 28px;
  height: 5px;
  border-radius: 6px;
  --bead: .04s;
  offset-rotate: auto;
  offset-anchor: 100% 50%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 214, 120, .12) 28%, rgba(255, 224, 150, .55) 68%, #fff8e4 100%);
  box-shadow:
    0 0 8px 1px rgba(255, 220, 150, .45),
    -6px 0 10px rgba(192, 132, 252, .12);
}
.hp-bar .xf-charm { --run-delay: 0s; --pulse-delay: 0s; }
.p-body-content .block:nth-of-type(1) .xf-charm { --run-delay: -3.6s; --pulse-delay: -5s; }
.p-body-content .block:nth-of-type(2) .xf-charm { --run-delay: -7.4s; --pulse-delay: -9s; }
.p-body-sidebar .block:nth-of-type(1) .xf-charm { --run-delay: -10.2s; --pulse-delay: -2s; }
.p-body-sidebar .block:nth-of-type(2) .xf-charm { --run-delay: -12.1s; --pulse-delay: -12s; }

.block-header,
.block-minorHeader,
.block--category .block-header {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 26px 16px 14px 44px !important;
  text-align: left !important;
  background: linear-gradient(180deg, rgba(255, 248, 230, .55), rgba(236, 214, 255, .18));
  border: 0;
  border-bottom: 1px solid rgba(180, 140, 70, 0.38);
  font-family: Cinzel, "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #4a2208;
  text-shadow:
    0 1px 0 #fff8e6,
    0 0 1px #4a2208;
  box-shadow: none;
}
.block-header > *,
.block-minorHeader > * {
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: 100%;
  display: inline-block !important;
  text-align: left !important;
  margin: 0 !important;
}
.block-header a,
.block-minorHeader a {
  color: #4a2208 !important;
  font-weight: 800;
  text-decoration: none !important;
}
.p-body-sidebar .block-header,
.p-body-sidebar .block-minorHeader {
  padding: 28px 14px 12px 22px !important;
  font-size: 13px;
  letter-spacing: .08em;
  line-height: 1.35;
}

.block-footer {
  background: rgba(10, 4, 20, .18);
  border-top: 1px solid rgba(180, 140, 70, 0.22);
  color: #5a3a72;
}

.p-staffBar ~ .header { top: 28px; }

.node-body {
  display: grid !important;
  table-layout: auto;
  width: 100%;
  grid-template-columns: 72px minmax(0, 1fr) auto minmax(120px, .8fr);
  gap: 12px;
  align-items: center;
  padding: 14px 18px 14px 20px;
  position: relative;
  overflow: visible;
  isolation: isolate;
  border-top: 1px solid rgba(180, 140, 70, 0.28);
  transition: background .26s ease, box-shadow .26s ease;
}
.node-icon,
.node-main,
.node-stats {
  display: block !important;
  float: none !important;
}
.node:first-child .node-body { border-top: 0; }
.node-body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 248, 230, .5) 48%, transparent 64%);
  background-size: 220% 100%;
  background-position: 130% 0;
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity .26s ease, background-position .32s ease;
}
.node:hover .node-body {
  background: linear-gradient(180deg, rgba(255, 250, 242, .38), rgba(236, 214, 255, .14));
  box-shadow:
    inset 0 0 0 1px rgba(215, 191, 122, 0.62),
    inset 0 0 32px rgba(168, 85, 247, 0.14);
}
.node:hover .node-body::after {
  opacity: 1;
  background-position: -30% 0;
}
.node-icon,
.node-main,
.node-stats,
.node-extra { position: relative; z-index: 2; }
.node-icon i {
  color: #c084fc;
  filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.80));
  transition: transform .26s cubic-bezier(.22, 1, .36, 1), filter .26s ease;
}
.node:hover .node-icon i {
  transform: scale(1.05);
  filter: drop-shadow(0 0 14px rgba(192, 132, 252, 0.90));
}
.node-icon.has-custom-icon i {
  display: none !important;
}
.node-icon {
  width: 64px;
  min-height: 64px;
  display: grid !important;
  place-items: center;
}
.hp-node-ico {
  width: 58px;
  height: 58px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  pointer-events: none;
  image-rendering: auto;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.45);
  filter: drop-shadow(0 0 6px rgba(192, 132, 252, 0.55));
  transition: transform .26s cubic-bezier(.22, 1, .36, 1), filter .26s ease;
}
.node:hover .hp-node-ico {
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(192, 132, 252, 0.90));
}
.node--unread .hp-node-ico {
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.75));
}
.node-title {
  font-family: Cinzel, "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.node-title a,
.node-title a:link,
.node-title a:visited {
  color: #2a0a42 !important;
  text-decoration: none !important;
  transition: color .26s ease, text-shadow .26s ease;
}
.node-title a:hover,
.node:hover .node-title a {
  color: #6d28d9 !important;
  text-shadow: 0 0 14px rgba(192, 132, 252, 0.40);
}
.node-description,
.node-extra,
.node-stats,
.node-stats dt,
.node-stats dd {
  color: #2a1638 !important;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}
.node-extra a,
.node-extra a:visited,
.node-stats a,
.node-stats a:visited {
  color: #2a0a42 !important;
  text-decoration: none !important;
}
.node:hover .node-description,
.node:hover .node-extra,
.node:hover .node-stats { color: #2a1638; }
.node-stats {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 84px;
  padding: 0 10px;
}
.node-stats .pairs:nth-child(n+2) {
  display: none !important;
}
.node-stats .pairs {
  display: flex !important;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
  text-align: center;
}
.node-stats dt,
.node-stats dd {
  display: block !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}
.node-stats dd {
  font-family: Cinzel, "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  color: #2a0a42 !important;
}
.node-stats dt {
  font-family: Cinzel, "Cormorant Garamond", serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5a3810 !important;
}
.node-extra {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  min-width: 210px;
  color: #2a1638 !important;
}
.node-extra-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.node-extra-row {
  grid-column: 2;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip;
  line-height: 1.35;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #2a1638 !important;
}
.node-extra-title {
  display: block;
  color: #2a0a42 !important;
  font-weight: 800 !important;
  font-size: 12px !important;
}
.node-extra-date,
.node-extra time,
.node-extra .u-dt,
.node-extra .listInline,
.node-extra .listInline > li {
  display: inline !important;
  color: #2a1638 !important;
  -webkit-text-fill-color: #2a1638 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.node-extra-user,
.node-extra-user a {
  color: #4a2208 !important;
  font-weight: 800 !important;
}
.contentRow-minor,
.contentRow-minor time,
.contentRow-minor .u-dt,
.structItem-minor,
.structItem-latestDate,
.structItem-cell--latest time {
  color: #2a1638 !important;
  -webkit-text-fill-color: #2a1638 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

.structItem { border-top: 1px solid rgba(180, 140, 70, 0.28); }
.structItem-title a { color: #4a1578; }
.structItem-title a:hover { color: #6d28d9; }
.structItem-cell--meta,
.structItem-minor { color: #6a4a7c; }

.block--messages .block-body,
.block-container > .block-body,
.message-list,
.message {
  background: transparent !important;
}
.message-inner {
  display: flex;
  align-items: stretch;
  min-width: 0;
  background: #f4ead8 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.message-cell,
.message-cell--main,
.message-userContent,
.message-body {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: 0 !important;
}
.message-userArrow { display: none !important; }
.message-cell--user {
  background: rgba(90, 50, 80, .05) !important;
  border: 0 !important;
  border-right: 1px solid rgba(180, 140, 70, .38) !important;
}
.message-cell--main {
  padding: 22px 32px 32px !important;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}
.bbWrapper,
.message-body,
.message-userContent,
.fr-box,
.fr-wrapper,
.fr-element,
.fr-view,
.fr-img-wrap,
.fr-img-caption {
  min-width: 0;
  max-width: 100% !important;
}
.bbWrapper img:not(.smilie):not(.avatar),
.message-body img:not(.smilie):not(.avatar),
.message-userContent img:not(.smilie):not(.avatar),
.fr-element img,
.fr-view img,
.bbImage,
.bbImageWrapper img,
a.bbImage,
.fr-img-wrap img {
  max-width: 100% !important;
  height: auto !important;
}
.bbImageWrapper,
.fr-img-wrap,
.fr-img-caption {
  max-width: 100% !important;
}
.bbWrapper p { margin: 0 0 16px !important; }
.bbWrapper li { margin: 10px 0 !important; }
.message-body,
.bbWrapper,
.p-body-pageContent {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}
.p-body-content .block-outer,
.p-body-content .block-outer-main,
.p-body-content .block-outer-opposite,
.p-body-content .block-outer a:not(.button):not(.ui-btn),
.formButtonGroup-extra,
.formButtonGroup-extra a:not(.button) {
  color: #fff6dc !important;
  -webkit-text-fill-color: #fff6dc !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: 0 1px 6px #000;
}
.message-userArrow:after { border-right-color: rgba(255, 248, 240, 0.70); }
.message-name .username { color: #4a2208 !important; font-weight: 800; }
.message-userTitle { color: #5a3810 !important; font-weight: 700; }
.message-attribution,
.message-attribution time,
.message-lastEdit {
  color: #5a3a18 !important;
  font-weight: 700;
}
.bbWrapper,
.bbWrapper p,
.bbWrapper li,
.bbWrapper span,
.bbWrapper td,
.message-body,
.message-userContent {
  color: #1a1224 !important;
  -webkit-text-fill-color: #1a1224 !important;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-weight: 600;
  line-height: 1.7;
}
.bbWrapper b,
.bbWrapper strong {
  color: #4a1a08 !important;
  -webkit-text-fill-color: #4a1a08 !important;
  font-family: Cinzel, "Cormorant Garamond", serif;
  font-weight: 800;
}
.bbWrapper h1,
.bbWrapper h2,
.bbWrapper h3,
.bbWrapper .bbHeading {
  color: #4a2208 !important;
  -webkit-text-fill-color: #4a2208 !important;
  font-family: Cinzel, "Cormorant Garamond", serif;
  font-weight: 800;
  letter-spacing: .06em;
  margin: 18px 0 8px;
}
.bbWrapper ul,
.bbWrapper ol { padding-left: 1.35em; }
.bbWrapper li { margin: 6px 0; }

.p-body-content a,
.p-body-content a:link,
.p-body-content a:visited,
.p-body-sidebar a,
.p-body-sidebar a:link,
.p-body-sidebar a:visited,
.p-body .block-body a,
.p-body .block-body a:link,
.p-body .block-body a:visited {
  color: #4a1578 !important;
  text-decoration: none !important;
}
.p-body-content a:hover,
.p-body-sidebar a:hover,
.p-body .block-body a:hover { color: #6d28d9 !important; }
.p-body-content .tabs-tab,
.p-body-content .tabs-tab:link,
.p-body-content .tabs-tab:visited,
.p-body-content a.tabs-tab,
.p-body .block-body .tabs-tab,
.p-body .block-body a.tabs-tab,
.block-tabHeader .tabs-tab,
.block-tabHeader .tabs-tab:link,
.block-tabHeader .tabs-tab:visited,
.tabs-tab,
a.tabs-tab {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}
.p-body-content .tabs-tab:hover,
.p-body-content a.tabs-tab:hover,
.block-tabHeader .tabs-tab:hover,
.tabs-tab:hover,
a.tabs-tab:hover,
.p-body-content .tabs-tab.is-active,
.p-body-content .tabs-tab.is-active:link,
.p-body-content .tabs-tab.is-active:visited,
.block-tabHeader .tabs-tab.is-active,
.tabs-tab.is-active {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.block-header a,
.block-minorHeader a,
.p-body-content .block-header a,
.p-body-sidebar .block-minorHeader a {
  color: #7a4310 !important;
}

/* XF action buttons: parchment, not stretched nav frames */
.button,
a.button {
  font-family: Cinzel, "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.button.button--primary,
a.button.button--primary,
.button.button--cta,
a.button.button--cta {
  background: linear-gradient(180deg, rgba(255, 248, 240, .28), rgba(236, 214, 255, .12)), url("panel-glass.png") center / cover no-repeat;
  border: 1px solid #d7bf7a;
  box-shadow: 0 0 0 1px #6a4e18, inset 0 0 0 1px rgba(255, 248, 220, .5), 0 0 14px rgba(192, 132, 252, .35);
  color: #4a1578;
  text-shadow: 0 1px 0 rgba(255, 248, 220, .55);
}

.input:not([type="date"]):not([type="datetime-local"]):not([type="time"]):not([type="month"]),
.inputGroup .input:not([type="date"]):not([type="datetime-local"]):not([type="time"]):not([type="month"]),
select.input,
input.input:not([type="date"]):not([type="datetime-local"]):not([type="time"]):not([type="month"]),
textarea.input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
select {
  background: #241038 !important;
  border: 1px solid rgba(192, 132, 252, .4) !important;
  color: #f7f1ff !important;
  -webkit-text-fill-color: #f7f1ff !important;
  box-shadow: inset 0 0 12px rgba(88, 28, 135, .25) !important;
}
.inputGroup { padding: 0 !important; }
.input:not([type="date"]):not([type="datetime-local"]):not([type="time"]):not([type="month"]):focus,
.inputGroup:focus-within .input:not([type="date"]):not([type="datetime-local"]):not([type="time"]):not([type="month"]),
select.input:focus,
textarea.input:focus {
  background: #351758 !important;
  border-color: #c084fc !important;
  box-shadow:
    0 0 0 2px rgba(192, 132, 252, .5),
    0 0 18px rgba(168, 85, 247, .55),
    inset 0 0 14px rgba(124, 58, 237, .28) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow:
    0 0 0 1000px #351758 inset,
    0 0 18px rgba(168, 85, 247, .55) !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  border-color: #c084fc !important;
  transition: background-color 9999s ease-out;
}
input[type="date"],
input[type="datetime-local"],
input[type="time"],
input[type="month"],
input.input[type="date"],
.inputDate input,
.inputDate .input {
  color-scheme: light !important;
  accent-color: #7c3aed;
  background: #f4ead8 !important;
  color: #1a1224 !important;
  -webkit-text-fill-color: #1a1224 !important;
  caret-color: #1a1224;
  border: 1px solid rgba(180, 140, 70, .55) !important;
  box-shadow: none !important;
}
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input.input[type="date"]:focus,
.inputDate:focus-within .input,
.inputGroup:focus-within input[type="date"] {
  color-scheme: light !important;
  background: #efe3cc !important;
  color: #1a1224 !important;
  -webkit-text-fill-color: #1a1224 !important;
  border-color: #b8860b !important;
  box-shadow: 0 0 0 2px rgba(192, 132, 252, .35) !important;
}
input[type="date"]::-webkit-datetime-edit,
input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
  color: #1a1224 !important;
  -webkit-text-fill-color: #1a1224 !important;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  pointer-events: none;
}
.hp-cal {
  position: absolute;
  z-index: 10050;
  width: 272px;
  padding: 12px;
  background: #f4ead8;
  color: #1a1224;
  border: 2px solid #d7bf7a;
  box-shadow: 0 16px 40px rgba(20, 0, 40, .45), inset 0 0 0 1px rgba(255, 248, 220, .35);
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}
.hp-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.hp-cal__title {
  font-family: Cinzel, serif;
  font-weight: 800;
  font-size: 14px;
  color: #4a2208;
  -webkit-text-fill-color: #4a2208;
}
.hp-cal__nav {
  width: 28px;
  height: 28px;
  background: #efe3cc;
  border: 1px solid #d7bf7a;
  color: #4a2208;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.hp-cal__week,
.hp-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.hp-cal__week span {
  color: #5a3810;
  -webkit-text-fill-color: #5a3810;
  font-size: 11px;
  font-weight: 800;
  opacity: 1;
}
.hp-cal__day {
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #1a1224;
  -webkit-text-fill-color: #1a1224;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  opacity: 1;
}
.hp-cal__day:hover {
  background: #c084fc;
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.hp-cal__day.is-selected {
  background: #7c3aed;
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.hp-cal__day.is-today {
  box-shadow: inset 0 0 0 1px #b8860b;
}
.hp-cal__empty { height: 32px; }
.pika-single,
.pika-lendar,
.flatpickr-calendar {
  background: #f4ead8 !important;
  color: #1a1224 !important;
  border: 2px solid #d7bf7a !important;
  box-shadow: 0 12px 32px rgba(20, 0, 40, .35) !important;
  font-weight: 700 !important;
}
.pika-title,
.pika-label,
.flatpickr-month,
.flatpickr-current-month {
  color: #4a2208 !important;
  background: #efe3cc !important;
}
.pika-button,
.flatpickr-day {
  background: transparent !important;
  color: #1a1224 !important;
  -webkit-text-fill-color: #1a1224 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}
.pika-button:hover,
.flatpickr-day:hover {
  background: #c084fc !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.is-selected .pika-button,
.flatpickr-day.selected {
  background: #7c3aed !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.pika-table th,
.pika-table th abbr,
.flatpickr-weekdays,
.flatpickr-weekday {
  color: #5a3810 !important;
  -webkit-text-fill-color: #5a3810 !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}
.pika-table td,
.pika-table td button {
  color: #1a1224 !important;
  -webkit-text-fill-color: #1a1224 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.pika-button {
  display: block !important;
  width: 2.4em !important;
  height: 2.4em !important;
  line-height: 2.4em !important;
  text-align: center !important;
}
.fr-box,
.fr-box.fr-basic,
.fr-box.fr-basic .fr-wrapper,
.fr-box.fr-basic .fr-element,
.fr-box .fr-element,
.editorPlaceholder,
.bbCodeEditor {
  background: #f4ead8 !important;
  border-color: rgba(180, 140, 70, .45) !important;
  color: #1a1224 !important;
  -webkit-text-fill-color: #1a1224 !important;
  box-shadow: none !important;
}
.fr-box.fr-basic .fr-element {
  min-height: 160px;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
}
.fr-toolbar,
.fr-second-toolbar,
.fr-toolbar .fr-newline {
  background: #efe3cc !important;
  border-color: rgba(180, 140, 70, .4) !important;
  color: #4a2208 !important;
}
.fr-toolbar .fr-btn,
.fr-toolbar .fr-btn svg,
.fr-toolbar .fr-btn svg path {
  fill: #4a2208 !important;
  color: #4a2208 !important;
}
.fr-toolbar .fr-separator { background: rgba(180, 140, 70, .45) !important; }
.fr-placeholder { color: #7a5a38 !important; }
.fr-box.fr-basic.fr-focused {
  border-color: #b8860b !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, .28) !important;
}
.fr-element table,
.fr-view table,
.bbWrapper table,
.bbTable,
.bbTable table,
.message-body table,
.message-userContent table {
  background: #f7efe0 !important;
  color: #1a1224 !important;
  border-collapse: collapse !important;
}
.fr-element table td,
.fr-element table th,
.fr-view table td,
.fr-view table th,
.bbWrapper table td,
.bbWrapper table th,
.bbTable td,
.bbTable th,
.message-body table td,
.message-body table th,
.message-userContent table td,
.message-userContent table th {
  background: #f7efe0 !important;
  background-color: #f7efe0 !important;
  color: #1a1224 !important;
  -webkit-text-fill-color: #1a1224 !important;
  border: 1px solid rgba(140, 100, 50, .45) !important;
}
.fr-element table td.fr-selected-cell,
.fr-view table td.fr-selected-cell {
  background: #efe3cc !important;
  box-shadow: inset 0 0 0 2px #b8860b !important;
}
.fr-popup,
.fr-popup .fr-layer,
.fr-popup .fr-image-upload-layer,
.fr-popup .fr-input-line,
.fr-popup .fr-buttons,
.fr-popup .fr-action-buttons,
.fr-dropdown-menu,
div.fr-dropdown-menu {
  background: #f4ead8 !important;
  color: #1a1224 !important;
  border-color: #d7bf7a !important;
  box-shadow: 0 12px 28px rgba(20, 0, 40, .3) !important;
}
.fr-popup,
.fr-dropdown-menu {
  border: 2px solid #d7bf7a !important;
}
.fr-dropdown-menu .fr-command,
.fr-dropdown-menu .fr-command svg,
.fr-dropdown-menu .fr-command svg path,
.fr-popup .fr-command,
.fr-popup .fr-btn,
.fr-popup .fr-btn svg,
.fr-popup .fr-btn svg path {
  color: #4a2208 !important;
  fill: #4a2208 !important;
  background: transparent !important;
}
.fr-dropdown-menu .fr-command:hover,
.fr-dropdown-menu .fr-command.fr-active,
.fr-popup .fr-command:hover,
.fr-popup .fr-btn:hover {
  background: #efe3cc !important;
  color: #1a1224 !important;
}
.fr-popup .fr-input-line input,
.fr-popup input,
.fr-popup input[type="text"],
.fr-popup input[type="url"],
.fr-popup textarea {
  background: #fff8ee !important;
  color: #1a1224 !important;
  -webkit-text-fill-color: #1a1224 !important;
  border: 1px solid rgba(180, 140, 70, .55) !important;
  box-shadow: none !important;
  caret-color: #1a1224;
}
.fr-popup .fr-action-buttons button,
.fr-popup button.fr-command,
.fr-popup .fr-submit {
  background: linear-gradient(180deg, #7c3aed, #5b21b6) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 1px solid #d7bf7a !important;
}
.fr-toolbar .fr-btn.fr-dropdown.fr-active,
.fr-toolbar .fr-btn.fr-open {
  background: #efe3cc !important;
}
.block .formSubmitRow,
.block-container .formSubmitRow,
.block-container .formSubmitRow-main,
.block-container .formSubmitRow-controls,
.message-editorWrapper .formSubmitRow {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.tabs,
.tabs--standalone,
.block-tabHeader {
  background: #2a1448 !important;
  border-bottom: 1px solid rgba(215, 191, 122, .35) !important;
}
.tabs-tab {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: transparent !important;
}
.tabs-tab:hover {
  color: #fff !important;
  background: rgba(168, 85, 247, .22) !important;
}
.tabs-tab.is-active {
  color: #fff !important;
  background: linear-gradient(180deg, #7c3aed, #5b21b6) !important;
  border-bottom: 2px solid #e9d5ff !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, .55);
}

.overlay,
.overlay-container .overlay {
  background: #160826 !important;
  border: 2px solid #d7bf7a !important;
  box-shadow: 0 0 0 1px #6a4e18, 0 20px 50px rgba(0, 0, 0, .55), 0 0 28px rgba(192, 132, 252, .28) !important;
  color: #f7f1ff !important;
}
.overlay-title {
  background: linear-gradient(180deg, rgba(88, 28, 135, .55), rgba(22, 8, 38, .9)) !important;
  color: #fff6dc !important;
  border-bottom: 1px solid rgba(215, 191, 122, .45) !important;
  font-family: Cinzel, "Cormorant Garamond", serif;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.formSubmitRow,
.formSubmitRow-main,
.overlay-content .formSubmitRow,
.formSubmitRow-controls {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.formRow,
.formRow > dt,
.formRow > dd {
  background: transparent !important;
}
.formRow > dt,
.formRow > dt label,
.formRow dt .formRow-hint {
  color: #4a2208 !important;
  -webkit-text-fill-color: #4a2208 !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
.formRow > dd,
.formRow label,
.formRow .iconic,
.formRow .iconic-label,
label.iconic {
  color: #2a1638 !important;
  -webkit-text-fill-color: #2a1638 !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}
.formRow-explain,
.formRow .explain,
.inputChoices-explain,
.u-muted,
.formRow .formRow-hint {
  color: #5a3810 !important;
  -webkit-text-fill-color: #5a3810 !important;
  background: transparent !important;
  opacity: 1 !important;
  font-weight: 600 !important;
  visibility: visible !important;
}
.block-tabHeader,
.block-tabHeader.tabs {
  background: #2a1448 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(215, 191, 122, .4) !important;
  margin: 0 !important;
  padding: 0 8px !important;
}
.block-tabHeader .hScroller,
.block-tabHeader .hScroller-scroll {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  box-shadow: none !important;
}
.block-tabHeader .tabs-tab,
.block-tabHeader .tabs-tab:link,
.block-tabHeader .tabs-tab:visited {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: transparent !important;
  opacity: 1 !important;
  padding: 10px 18px !important;
  font-weight: 800 !important;
}
.block-tabHeader .tabs-tab.is-active {
  color: #fff !important;
  background: linear-gradient(180deg, #7c3aed, #4c1d95) !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, .5);
}
.p-body-content .block-container > .block-body > .formRow:first-child {
  padding: 14px 16px 10px !important;
  margin: 0 !important;
}
.p-body-content .block-container > .block-body > .formRow:first-child > dd {
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  display: block !important;
}
.p-body-content .block-container .input--title,
.p-body-content .block-container input.js-titleInput,
.p-body-content .block-container > .block-body > .formRow:first-child .input {
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 44px;
  border-radius: 6px !important;
  background: #2a1448 !important;
  border: 1px solid rgba(215, 191, 122, .5) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: none !important;
}
.p-body-content .block-container .block-tabHeader {
  margin: 0 16px 12px !important;
  padding: 0 !important;
  border: 1px solid rgba(215, 191, 122, .5) !important;
  border-radius: 6px !important;
  overflow: hidden;
  background: #2a1448 !important;
}
.block-formSectionHeader,
.block-formSectionHeader-aligner,
.block-formSectionHeader .collapseTrigger,
.p-body-content .block-formSectionHeader {
  background: #efe3cc !important;
  color: #4a2208 !important;
  -webkit-text-fill-color: #4a2208 !important;
  border: 0 !important;
  border-top: 1px solid rgba(180, 140, 70, .35) !important;
  padding: 12px 16px !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
.js-attachmentFiles,
.attachmentList,
.attachUploadContainer,
.js-attachmentInsert,
.attachmentUploads,
.attachUploadList {
  background: #f4ead8 !important;
  color: #1a1224 !important;
  -webkit-text-fill-color: #1a1224 !important;
}
.attachUploadButton,
a.attachUploadButton,
.button.attachUploadButton,
.js-attachmentUpload {
  color: #4a2208 !important;
  -webkit-text-fill-color: #4a2208 !important;
}
.attachmentList .contentRow-header,
.attachmentList .contentRow-minor,
.attachmentList .fileName,
.js-attachmentFiles,
.js-attachmentFiles a,
.js-attachmentFiles .contentRow-header {
  color: #1a1224 !important;
  -webkit-text-fill-color: #1a1224 !important;
  opacity: 1 !important;
}
.overlay .formRow > dt,
.overlay .formRow > dt label {
  color: #fff6dc !important;
  -webkit-text-fill-color: #fff6dc !important;
}
.overlay .formRow > dd,
.overlay .formRow label,
.overlay .formRow-explain {
  color: #efe6d0 !important;
  -webkit-text-fill-color: #efe6d0 !important;
}

.menu-content {
  background: #1a0b2e;
  border: 1px solid rgba(212, 175, 55, 0.40);
  color: #f7f1ff;
}
.menu-linkRow:hover { background: rgba(192, 132, 252, 0.14); }

.notice {
  background: rgba(107, 33, 168, 0.50);
  border: 1px solid rgba(212, 175, 55, 0.40);
  color: #f7f1ff;
}

.avatar img {
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.40), 0 0 12px rgba(192, 132, 252, 0.40);
}

/* ——— Footer ——— */
.footer,
.p-footer {
  padding-top: 48px;
  background:
    radial-gradient(700px 220px at 50% 120%, rgba(168, 85, 247, .26), transparent 60%),
    linear-gradient(180deg, #160428, #0a0112);
  border-top: 0;
  color: #d7c6ea;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr .7fr .7fr .7fr;
  gap: 24px;
  padding-bottom: 36px;
}
.logo--foot {
  position: relative;
  left: auto;
  top: auto;
  width: 280px;
  height: 124px;
  margin: 0;
  z-index: 1;
}
.logo--foot:hover { transform: scale(1.03); }
.logo--foot img { height: 118px; max-width: 280px; }
.footer h4,
.p-footer h3 {
  margin-bottom: 12px;
  font-family: Cinzel, "Cormorant Garamond", serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #ecd9a0;
}
.footer ul { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.footer li a,
.p-footer a { color: #d7c6ea; font-size: 13px; font-weight: 600; }
.footer li a::before {
  content: "◆";
  margin-right: 8px;
  color: #c084fc;
  font-size: 10px;
  vertical-align: middle;
}
.footer li a:hover,
.p-footer a:hover { color: #fff; }
.copy,
.p-footer-copyright {
  padding: 16px 0 22px;
  text-align: center;
  color: #c4b0d8;
  font-size: 12px;
  font-weight: 600;
  border-top: 1px solid rgba(212, 175, 55, .28);
}

@media (max-width: 1180px) {
  .logo { width: 260px; height: 142px; left: 8px; top: 4px; }
  .header__row { grid-template-columns: minmax(160px, 1fr) auto auto; }
  .ui-btn--menu { width: 118px; height: 42px; }
  .ui-btn--menu > span { font-size: 10px; letter-spacing: .08em; }
  .hp-social { width: 112px; height: 40px; }
  .hp-account { top: 84px; right: 8px; }
}
@media (max-width: 1024px) {
  .p-body-main--withSidebar { grid-template-columns: 1fr; }
  .node-body { grid-template-columns: 48px 1fr; }
  .node-stats,
  .node-extra { display: none; }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
@media (max-width: 780px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 0 20px;
    background: rgba(12, 6, 20, .95);
  }
  .nav.is-open { display: flex; }
  .nav .ui-btn--menu { width: 220px; }
  .nav .ui-btn--menu > span { font-size: 11px; font-weight: 800; }
  .header__row { grid-template-columns: auto 1fr auto; }
  .ui-btn--nav { grid-column: auto; width: 188px; height: 67px; }
  .ui-btn--nav > span { font-size: 10px; letter-spacing: .05em; padding: 6px 12px 0; }
  .logo { width: 168px; height: 92px; left: 8px; top: 4px; }
  .hp-account { top: 88px; right: 8px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hp-bar {
    justify-content: center;
    padding-left: 16px;
  }
  .hp-socials,
  .xf-actions {
    margin: 0 auto;
    justify-content: center;
  }
}

@keyframes hp-fade-down {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: none; }
}
@keyframes hp-rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes hp-title-sheen {
  0%, 72% { background-position: 140% 0, 0 0; }
  86% { background-position: -48% 0, 0 0; }
  87%, 100% { background-position: 140% 0, 0 0; }
}
@keyframes hp-spark-twinkle {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}
@keyframes hp-aura-breathe {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@keyframes hp-mist-sweep {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes hp-logo-breathe {
  0%, 100% {
    filter:
      drop-shadow(0 8px 16px rgba(8, 2, 16, .55))
      drop-shadow(0 0 12px rgba(236, 217, 160, .32))
      drop-shadow(0 0 20px rgba(255, 248, 230, .16));
    transform: scale(1);
  }
  50% {
    filter:
      drop-shadow(0 10px 18px rgba(8, 2, 16, .4))
      drop-shadow(0 0 18px rgba(245, 228, 180, .48))
      drop-shadow(0 0 26px rgba(255, 252, 240, .22));
    transform: scale(1.012);
  }
}
@keyframes hp-logo-aura {
  0%, 100% { opacity: .45; transform: scale(1); }
  50% { opacity: .75; transform: scale(1.04); }
}
@keyframes hp-logo-sheen {
  0% { background-position: 130% 0; }
  40%, 100% { background-position: -50% 0; }
}
@keyframes hp-logo-twinkle {
  0%, 100% { opacity: .2; transform: scale(.55); }
  45% { opacity: 1; transform: scale(1.35); }
  70% { opacity: .35; transform: scale(.8); }
}
@keyframes hp-gem-pulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(192, 132, 252, .55)); opacity: .88; }
  50% { filter: drop-shadow(0 0 16px rgba(232, 180, 255, 1)); opacity: 1; }
}
@keyframes hp-charm-run {
  to { offset-distance: 100%; }
}
@keyframes hp-charm-pulse {
  0%, 86%, 100% { border-color: transparent; }
  89% { border-color: rgba(255, 248, 210, 1); }
  91.5% { border-color: rgba(255, 236, 180, .95); }
  94% { border-color: rgba(232, 196, 255, .7); }
  97% { border-color: transparent; }
}
@keyframes hp-charm-pulse-glow {
  0%, 86%, 100% { box-shadow: 0 0 0 0 transparent, inset 0 0 0 0 transparent; }
  89% {
    box-shadow:
      0 0 0 1px rgba(255, 244, 200, .7),
      0 0 28px 8px rgba(255, 214, 120, .72),
      0 0 54px 16px rgba(192, 132, 252, .42),
      inset 0 0 28px rgba(255, 236, 180, .35);
  }
  91.5% {
    box-shadow:
      0 0 22px 6px rgba(255, 220, 150, .5),
      0 0 40px 12px rgba(216, 170, 255, .38),
      inset 0 0 20px rgba(232, 196, 255, .2);
  }
  94% {
    box-shadow:
      0 0 14px 2px rgba(216, 170, 255, .22),
      inset 0 0 10px rgba(216, 170, 255, .08);
  }
  97% { box-shadow: 0 0 0 0 transparent, inset 0 0 0 0 transparent; }
}
@keyframes hp-xf-sheen {
  0%, 58% { background-position: 140% 0; opacity: 0; }
  68% { opacity: 1; }
  86%, 100% { background-position: -40% 0; opacity: 0; }
}
@keyframes hp-xf-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px #6a4e18,
      inset 0 0 0 1px rgba(255, 248, 220, .55),
      inset 0 0 42px rgba(168, 85, 247, .1),
      0 16px 40px rgba(20, 0, 40, .28),
      0 0 22px rgba(192, 132, 252, .16);
  }
  50% {
    box-shadow:
      0 0 0 1px #8a6a22,
      inset 0 0 0 1px rgba(255, 248, 220, .7),
      inset 0 0 48px rgba(192, 132, 252, .16),
      0 16px 40px rgba(20, 0, 40, .32),
      0 0 36px rgba(232, 180, 255, .38);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header, .hero__copy > *, .logo img, .logo::before, .logo::after, .jewel, .xf-charm i {
    animation: none !important;
  }
}

.p-body-sidebar .block-body,
.p-body-sidebar .contentRow-minor,
.pairs,
.pairs dt,
.pairs dd {
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #2a1638;
}
.p-body-sidebar a { font-weight: 800; }

.ui-btn > span,
.ui-btn--menu > span,
.ui-btn--nav > span,
.hp-social > span,
.xf-action > span {
  color: #fff !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 0 #140318, 0 2px 5px #000, 0 0 1px #fff !important;
}
.ui-btn--menu > span,
.hp-social > span,
.xf-action > span { font-size: 10px !important; letter-spacing: .06em !important; }
.ui-btn--nav > span { font-size: 10px !important; letter-spacing: .04em !important; }
.block-header,
.block-minorHeader,
.block-header a,
.block-minorHeader a {
  color: #4a2208 !important;
  font-weight: 800 !important;
}
.node-title a,
.node-title a:link,
.node-title a:visited {
  color: #2a0a42 !important;
  font-weight: 800 !important;
}
.p-body-content,
.bbWrapper,
.message-body {
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-weight: 600;
  color: #1a1224 !important;
}

html, body, *, *::before, *::after { cursor: auto !important; }
a, a *, button, button *, .ui-btn, .ui-btn *, .xf-btn, .xf-btn *,
.node, label, summary, [role="button"], .p-navgroup-link { cursor: pointer !important; }
input, textarea, select, [contenteditable="true"] { cursor: text !important; }
.magic-ui, .hp-cursor, #hp-cursor, .pw-cursor { display: none !important; }
