
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/cinzel-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/cinzel-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/cormorant-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/cormorant-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/cormorant-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/cormorant-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/cormorant-italic-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/cormorant-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/cormorant-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/cormorant-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-300-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-300-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg-void: #060608;
  --bg-deep: #0a0b0f;
  --bg-surface: #0f1015;
  --bg-card: #12131a;
  --bg-elevated: #1a1b24;
  --text-primary: #d4d0c8;
  --text-secondary: #b0aca4;
  --text-dim: #807c74;
  --text-faint: #5a5650;
  --crimson: #e0607a;
  --crimson-glow: #f0788e;
  --crimson-deep: #b8445a;
  --crimson-bg: #1a0a0e;
  --ayleid-blue: #6a9eb4;
  --ayleid-glow: #8acce6;
  --ayleid-deep: #4a7a90;
  --ayleid-bg: #080e14;
  --wyrd-green: #7ab47a;
  --wyrd-glow: #9ad69a;
  --wyrd-deep: #4a8a4a;
  --wyrd-bg: #0a100a;
  --sheo-violet: #9e7ec0;
  --sheo-glow: #c09ee6;
  --sheo-deep: #6a4a8a;
  --sheo-bg: #0e0a14;
  --divider-color: #3a3840;
  --divider-accent: #5e5a66;
  --border-subtle: #1e1d26;
  --border-card: #22212c;
  --font-display: 'Cinzel', 'Trajan Pro', serif;
  --font-body: 'Cormorant Garamond', 'Garamond', serif;
  --font-label: 'Cinzel', serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --gold-accent: #d4b060;
  --gold-glow: #f0d080;
  --gold-deep: #a07030;
  --ease-out-expo: cubic-bezier(.32,.72,0,1);
  --ease-premium: cubic-bezier(.32,.72,0,1);
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-sm: 6px;
  --refraction: inset 0 1px 0 rgba(255,255,255,.04);
  --section-gap: 8rem;
  --content-width: 740px;
  --wide-width: 1100px;
  --community-max-width: 1200px;
  --t-fast: .2s;
  --t-normal: .35s;
  --t-slow: .5s;
  --t-cinematic: .7s;
  --ease: cubic-bezier(.32,.72,0,1);
}
*:focus { outline: none; }
:focus-visible {
    outline: 2px solid var(--gold-accent, #c8a858);
    outline-offset: 3px;
    border-radius: var(--radius-btn, 8px);
    box-shadow: 0 0 0 4px rgba(200,168,88,.12), 0 0 20px rgba(200,168,88,.06);
    transition: outline-offset .15s var(--ease-out-expo), box-shadow .15s var(--ease-out-expo);
}
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
select:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.gallery-item:focus-visible,
.house-card:focus-visible,
.community-card:focus-visible,
.chapter-nav__link:focus-visible,
.partner-card:focus-visible {
    outline: 2px solid var(--gold-accent, #c8a858);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(200,168,88,.12), 0 0 20px rgba(200,168,88,.06);
}
input:focus-visible,
textarea:focus-visible,
.adm-input:focus-visible,
.adm-select:focus-visible,
.adm-textarea:focus-visible {
    outline: none;
    border-color: var(--gold-accent, #c8a858);
    box-shadow: 0 0 0 3px rgba(200,168,88,.1), inset 0 0 12px rgba(200,168,88,.04);
}
:focus:not(:focus-visible) {
    outline: none;
}
.status-badge {
  font-family: var(--font-label);
  font-size: 0.45rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25em 0.7em;
  border: 1px solid;
  border-radius: var(--radius-sm);
  display: inline-block;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.status-badge--draft    { color: var(--text-dim);    border-color: var(--border-subtle);      background: rgba(100,100,110,0.06); }
.status-badge--pending  { color: #c89040;            border-color: rgba(200,144,64,0.3);     background: rgba(200,144,64,0.06); box-shadow: 0 0 6px rgba(200,144,64,0.08); }
.status-badge--approved { color: #7ab47a;            border-color: rgba(122,180,122,0.3);    background: rgba(122,180,122,0.06); box-shadow: 0 0 6px rgba(122,180,122,0.08); }
.status-badge--featured { color: #c0a87a;            border-color: rgba(192,168,122,0.35);   background: rgba(192,168,122,0.08); box-shadow: 0 0 8px rgba(192,168,122,0.1); }
.status-badge--rejected { color: #c84040;            border-color: rgba(200,64,64,0.3);      background: rgba(200,64,64,0.06); box-shadow: 0 0 6px rgba(200,64,64,0.08); }
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  scrollbar-width: thin;
  scrollbar-color: var(--divider-accent) var(--bg-void);
}
@media (max-width: 768px) {
  html { scroll-padding-top: 64px; }
}
body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.75;
  font-size: 1.125rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection {
  background: var(--crimson-deep);
  color: var(--crimson-glow);
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-void);
}
::-webkit-scrollbar-thumb {
  background: var(--divider-accent);
  border-radius: 3px;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}
.display-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.section-title {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 400;
}
.label {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dim);
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-premium);
}
p + p {
  margin-top: 1em;
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  gap: 0.5em;
  padding: 1.5rem 0;
  color: var(--divider-accent);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  user-select: none;
}
.divider::before, .divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--divider-accent), transparent);
}
.divider span { display: flex; gap: 0.4em; align-items: center; }
.divider--wide::before, .divider--wide::after { width: 120px; }
.divider--crimson { color: var(--crimson-deep); }
.divider--crimson::before, .divider--crimson::after { background: linear-gradient(90deg, transparent, var(--crimson-deep), transparent); }
.divider--ayleid { color: var(--ayleid-deep); }
.divider--ayleid::before, .divider--ayleid::after { background: linear-gradient(90deg, transparent, var(--ayleid-deep), transparent); }
.divider--wyrd { color: var(--wyrd-deep); }
.divider--wyrd::before, .divider--wyrd::after { background: linear-gradient(90deg, transparent, var(--wyrd-deep), transparent); }
.divider--sheo { color: var(--sheo-deep); }
.divider--sheo::before, .divider--sheo::after { background: linear-gradient(90deg, transparent, var(--sheo-deep), transparent); }
.divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 1.25rem 0;
  user-select: none;
  gap: 0.75rem;
}
.divider-line::before,
.divider-line::after {
  content: '';
  height: 1px;
  flex: 1;
  max-width: 140px;
}
.divider-line .orn {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  opacity: 0.7;
  text-align: center;
  white-space: nowrap;
}
.divider-line::before,
.divider-line::after {
  background: linear-gradient(90deg, transparent, var(--divider-accent), transparent);
}
.divider-line .orn { color: var(--divider-accent); }
.divider-line--crimson::before,
.divider-line--crimson::after {
  background: linear-gradient(90deg, transparent, var(--crimson), transparent);
  opacity: 0.35;
}
.divider-line--crimson .orn { color: var(--crimson); opacity: 0.6; }
.divider-line--ayleid::before,
.divider-line--ayleid::after {
  background: linear-gradient(90deg, transparent, var(--ayleid-blue), transparent);
  opacity: 0.35;
}
.divider-line--ayleid .orn { color: var(--ayleid-blue); opacity: 0.6; }
.divider-line--wyrd::before,
.divider-line--wyrd::after {
  background: linear-gradient(90deg, transparent, var(--wyrd-green), transparent);
  opacity: 0.35;
}
.divider-line--wyrd .orn { color: var(--wyrd-green); opacity: 0.6; }
.divider-line--sheo::before,
.divider-line--sheo::after {
  background: linear-gradient(90deg, transparent, var(--sheo-violet), transparent);
  opacity: 0.35;
}
.divider-line--sheo .orn { color: var(--sheo-violet); opacity: 0.6; }
.divider-ornate {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 0;
  user-select: none;
  position: relative;
}
.divider-ornate::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(80%, 500px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--divider-accent) 20%, var(--divider-accent) 80%, transparent);
  opacity: 0.3;
}
.divider-ornate::after {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(50% + 4px);
  transform: translate(-50%, -50%);
  width: min(60%, 380px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--divider-accent) 30%, var(--divider-accent) 70%, transparent);
  opacity: 0.15;
}
.divider-ornate .orn {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  background: var(--bg-void);
  padding: 0 1.5rem;
}
.divider-ornate--crimson::before { background: linear-gradient(90deg, transparent, var(--crimson) 20%, var(--crimson) 80%, transparent); opacity: 0.25; }
.divider-ornate--crimson::after { background: linear-gradient(90deg, transparent, var(--crimson) 30%, var(--crimson) 70%, transparent); opacity: 0.12; }
.divider-ornate--crimson .orn { color: var(--crimson); opacity: 0.7; background: var(--crimson-bg); }
.divider-ornate--ayleid::before { background: linear-gradient(90deg, transparent, var(--ayleid-blue) 20%, var(--ayleid-blue) 80%, transparent); opacity: 0.25; }
.divider-ornate--ayleid::after { background: linear-gradient(90deg, transparent, var(--ayleid-blue) 30%, var(--ayleid-blue) 70%, transparent); opacity: 0.12; }
.divider-ornate--ayleid .orn { color: var(--ayleid-blue); opacity: 0.7; background: var(--ayleid-bg); }
.divider-ornate--wyrd::before { background: linear-gradient(90deg, transparent, var(--wyrd-green) 20%, var(--wyrd-green) 80%, transparent); opacity: 0.25; }
.divider-ornate--wyrd::after { background: linear-gradient(90deg, transparent, var(--wyrd-green) 30%, var(--wyrd-green) 70%, transparent); opacity: 0.12; }
.divider-ornate--wyrd .orn { color: var(--wyrd-green); opacity: 0.7; background: var(--wyrd-bg); }
.divider-ornate--sheo::before { background: linear-gradient(90deg, transparent, var(--sheo-violet) 20%, var(--sheo-violet) 80%, transparent); opacity: 0.25; }
.divider-ornate--sheo::after { background: linear-gradient(90deg, transparent, var(--sheo-violet) 30%, var(--sheo-violet) 70%, transparent); opacity: 0.12; }
.divider-ornate--sheo .orn { color: var(--sheo-violet); opacity: 0.7; background: var(--sheo-bg); }
.page-wrapper {
  min-height: 100vh;
  position: relative;
}
.content-narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.content-wide {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 2rem;
}
section {
  padding: var(--section-gap) 0;
  position: relative;
}
.page-wrapper::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.5s var(--ease-premium), padding 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium);
}
.nav.scrolled {
  background: rgba(6, 6, 8, 0.94);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  padding: 0.65rem 2.5rem;
  border-bottom: 1px solid rgba(212,176,96,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,.35), 0 1px 0 rgba(255,255,255,.02) inset;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.35s var(--ease-premium);
  text-decoration: none;
  position: relative;
}
.nav-brand:hover {
  color: var(--text-secondary);
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-link {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.35s var(--ease-premium);
  text-decoration: none;
}
.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,176,96,0.4), transparent);
  transition: width 0.4s var(--ease-premium), left 0.4s var(--ease-premium);
}
.nav-link:hover {
  color: var(--text-secondary);
}
.nav-link:hover::before {
  width: 100%;
  left: 0;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-dim);
  margin: 5px 0;
  transition: all 0.35s var(--ease-premium);
  border-radius: 1px;
}
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 40%, rgba(30, 20, 40, 0.4), transparent),
    radial-gradient(ellipse 60% 30% at 50% 70%, rgba(20, 15, 30, 0.3), transparent);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero .label {
  margin-bottom: 1.5rem;
  letter-spacing: 0.4em;
}
.hero .display-title {
  margin-bottom: 0.5rem;
}
.hero .user-info {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--text-dim);
  margin-top: 0.75rem;
}
.hero-bio {
  max-width: 600px;
  margin: 3rem auto 0;
}
.hero-bio p {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
}
.houses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.house-card {
  position: relative;
  border: 1px solid var(--border-card);
  padding: 3rem;
  text-align: center;
  transition: all 0.5s var(--ease-premium);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.house-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease-premium);
  z-index: 0;
}
.house-card:hover::before {
  opacity: 1;
}
.house-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-2px);
}
.house-card > * {
  position: relative;
  z-index: 1;
}
.house-card--crimson {
  background: var(--crimson-bg);
  border-color: rgba(212, 85, 106, 0.1);
}
.house-card--crimson::before {
  background: radial-gradient(ellipse at center, rgba(212, 85, 106, 0.06), transparent 70%);
}
.house-card--crimson:hover {
  border-color: rgba(212, 85, 106, 0.2);
  box-shadow: 0 0 60px rgba(212, 85, 106, 0.05);
}
.house-card--crimson .house-card__title { color: var(--crimson); }
.house-card--crimson .house-card__subtitle { color: var(--crimson-deep); }
.house-card--crimson .house-card__tagline { color: var(--crimson-deep); }
.house-card--ayleid {
  background: var(--ayleid-bg);
  border-color: rgba(90, 138, 158, 0.1);
}
.house-card--ayleid::before {
  background: radial-gradient(ellipse at center, rgba(90, 138, 158, 0.06), transparent 70%);
}
.house-card--ayleid:hover {
  border-color: rgba(90, 138, 158, 0.2);
  box-shadow: 0 0 60px rgba(90, 138, 158, 0.05);
}
.house-card--ayleid .house-card__title { color: var(--ayleid-blue); }
.house-card--ayleid .house-card__subtitle { color: var(--ayleid-deep); }
.house-card--ayleid .house-card__tagline { color: var(--ayleid-deep); }
.house-card--wyrd {
  background: var(--wyrd-bg);
  border-color: rgba(106, 154, 106, 0.1);
}
.house-card--wyrd::before {
  background: radial-gradient(ellipse at center, rgba(106, 154, 106, 0.06), transparent 70%);
}
.house-card--wyrd:hover {
  border-color: rgba(106, 154, 106, 0.2);
  box-shadow: 0 0 60px rgba(106, 154, 106, 0.05);
}
.house-card--wyrd .house-card__title { color: var(--wyrd-green); }
.house-card--wyrd .house-card__subtitle { color: var(--wyrd-deep); }
.house-card--wyrd .house-card__tagline { color: var(--wyrd-deep); }
.house-card--sheo {
  background: var(--sheo-bg);
  border-color: rgba(138, 106, 170, 0.1);
}
.house-card--sheo::before {
  background: radial-gradient(ellipse at center, rgba(138, 106, 170, 0.06), transparent 70%);
}
.house-card--sheo:hover {
  border-color: rgba(138, 106, 170, 0.2);
  box-shadow: 0 0 60px rgba(138, 106, 170, 0.05);
}
.house-card--sheo .house-card__title { color: var(--sheo-violet); }
.house-card--sheo .house-card__subtitle { color: var(--sheo-deep); }
.house-card--sheo .house-card__tagline { color: var(--sheo-deep); }
.house-card__overline {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}
.house-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.house-card__subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.house-card__tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.9rem;
}
.house-card__description {
  max-width: 560px;
  margin: 1.5rem auto 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}
.house-card__status {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.4em 1.2em;
  border: 1px solid var(--border-card);
}
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}
.craft-item {
  text-align: left;
}
.craft-item__title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}
.craft-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.craft-item em {
  color: var(--text-primary);
  font-style: italic;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.archive-item {
  border: 1px solid var(--border-card);
  padding: 2rem;
  transition: all 0.4s var(--ease-premium);
  display: block;
  text-decoration: none;
}
.archive-item:hover {
  border-color: var(--divider-accent);
  background: rgba(255, 255, 255, 0.01);
}
.archive-item__house {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.archive-item__house--crimson { color: var(--crimson-deep); }
.archive-item__house--ayleid { color: var(--ayleid-deep); }
.archive-item__house--wyrd { color: var(--wyrd-deep); }
.archive-item__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.archive-item__desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.7;
}
.archive-item__meta {
  margin-top: 1rem;
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.visit-card {
  border: 1px solid var(--border-card);
  padding: 2.5rem 3rem;
  margin: 3rem auto;
  max-width: 500px;
  background: rgba(0, 0, 0, 0.3);
}
.visit-card__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.3rem 0;
}
.visit-card__label {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.visit-card__value {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
}
.visit-card__value--accent {
  font-style: italic;
}
.visit-card__port {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}
.visit-card__port-label {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.visit-card__port-code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-subtle);
  display: block;
  cursor: pointer;
  transition: border-color 0.3s var(--ease-premium);
  position: relative;
}
.visit-card__port-code:hover {
  border-color: var(--divider-accent);
}
.visit-card__port-code .copy-hint {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.3s var(--ease-premium);
}
.visit-card__port-code:hover .copy-hint {
  color: var(--text-dim);
}
.house-claim-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(180, 160, 120, .15);
  border-left: 3px solid rgba(180, 160, 120, .35);
  background: rgba(180, 160, 120, .04);
  border-radius: 0 6px 6px 0;
  max-width: 560px;
  margin: 0 auto;
}
.house-claim-box__icon {
  font-size: 1.4rem;
  color: rgba(180, 160, 120, .5);
  line-height: 1;
  flex-shrink: 0;
  margin-top: .15rem;
}
.house-claim-box__text strong {
  display: block;
  font-family: var(--font-label);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(200, 180, 140, .85);
  margin-bottom: .4rem;
}
.house-claim-box__text p {
  font-size: .78rem;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}
.house-claim-box__form {
  margin-top: .8rem;
}
.house-claim-box__input-row {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.house-claim-box__input {
  flex: 1;
  padding: .45rem .7rem;
  font-family: var(--font-mono, 'Courier New', monospace);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--text-secondary);
  background: rgba(6, 6, 8, .5);
  border: 1px solid rgba(180, 160, 120, .2);
  border-radius: 4px;
  outline: none;
  transition: border-color .3s;
}
.house-claim-box__input:focus {
  border-color: rgba(180, 160, 120, .45);
}
.house-claim-box__input::placeholder {
  color: var(--text-faint);
  font-family: var(--font-body);
  letter-spacing: normal;
}
.house-claim-box__btn {
  padding: .45rem 1.2rem;
  font-family: var(--font-label);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(180, 160, 120, .9);
  background: rgba(180, 160, 120, .08);
  border: 1px solid rgba(180, 160, 120, .25);
  border-radius: 4px;
  cursor: pointer;
  transition: background .3s, border-color .3s;
  white-space: nowrap;
}
.house-claim-box__btn:hover {
  background: rgba(180, 160, 120, .14);
  border-color: rgba(180, 160, 120, .4);
}
.house-claim-box__btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.house-claim-box__msg {
  margin-top: .5rem;
  font-size: .75rem;
  line-height: 1.5;
  padding: .4rem .7rem;
  border-radius: 4px;
}
.house-claim-box__msg--ok {
  color: rgba(106, 200, 136, .9);
  background: rgba(106, 200, 136, .06);
  border: 1px solid rgba(106, 200, 136, .15);
}
.house-claim-box__msg--err {
  color: rgba(224, 96, 122, .9);
  background: rgba(224, 96, 122, .06);
  border: 1px solid rgba(224, 96, 122, .15);
}
.house-claim-box__login {
  margin-top: .5rem;
  font-size: .75rem;
}
.house-claim-box__login a {
  color: rgba(180, 160, 120, .8);
  text-decoration: underline;
  text-decoration-color: rgba(180, 160, 120, .3);
  transition: color .3s;
}
.house-claim-box__login a:hover {
  color: rgba(200, 180, 140, 1);
}
.house-revert-box {
  max-width: 480px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(106, 200, 136, .15);
  background: rgba(106, 200, 136, .03);
  border-radius: 6px;
}
.house-revert-box p {
  font-size: .78rem;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 1rem;
}
.house-revert-btn {
  display: inline-block;
  padding: .6rem 1.6rem;
  font-family: var(--font-label);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(106, 200, 136, .9);
  background: rgba(106, 200, 136, .08);
  border: 1px solid rgba(106, 200, 136, .25);
  border-radius: 4px;
  cursor: pointer;
  transition: background .3s, border-color .3s;
}
.house-revert-btn:hover {
  background: rgba(106, 200, 136, .14);
  border-color: rgba(106, 200, 136, .4);
}
.house-revert-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.house-author-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, color .3s;
}
.house-author-link:hover {
  color: var(--text-primary);
  border-bottom-color: rgba(255,255,255,.18);
}
.author-card-wrap {
  position: relative;
  display: inline;
}
.author-popover {
  position: fixed;
  z-index: 9000;
  width: 280px;
  background: linear-gradient(165deg, #16171e 0%, #111218 50%, #0e0f14 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(.97);
  transition: opacity .35s cubic-bezier(.16,1,.3,1),
              transform .35s cubic-bezier(.16,1,.3,1),
              visibility .35s;
  pointer-events: none;
  box-shadow:
    0 4px 24px rgba(0,0,0,.5),
    0 1px 3px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.03);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.author-popover.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.author-popover__arrow {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #16171e;
  border-top: 1px solid rgba(255,255,255,.06);
  border-left: 1px solid rgba(255,255,255,.06);
  z-index: 1;
}
.author-popover__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.1rem .6rem;
}
.author-popover__avatar {
  flex-shrink: 0;
}
.author-popover__avatar .avatar-popover,
.author-popover__avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.06);
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
  object-fit: cover;
}
.author-popover__name {
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .12em;
  color: var(--text-primary);
  line-height: 1.3;
}
.author-popover__meta {
  font-family: var(--font-label);
  font-size: .5rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: .15rem;
}
.author-popover__bio {
  padding: .35rem 1.1rem .6rem;
  font-family: var(--font-body);
  font-size: .72rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--text-secondary);
}
.author-popover__stats {
  display: flex;
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.author-popover__stat {
  flex: 1;
  text-align: center;
  padding: .55rem .5rem;
}
.author-popover__stat + .author-popover__stat {
  border-left: 1px solid rgba(255,255,255,.04);
}
.author-popover__stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--text-primary);
}
.author-popover__stat-lbl {
  display: block;
  font-family: var(--font-label);
  font-size: .42rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: .15rem;
}
.author-popover__btn {
  display: block;
  text-align: center;
  padding: .6rem 1rem;
  font-family: var(--font-label);
  font-size: .52rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color .3s, background .3s;
}
.author-popover__btn:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,.03);
}
.more-by-builder {
  padding-bottom: 2rem;
}
.more-houses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.more-house-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.015);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .4s cubic-bezier(.16,1,.3,1),
              border-color .4s,
              box-shadow .4s;
  position: relative;
}
.more-house-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--card-accent-rgb), .2);
  box-shadow:
    0 8px 32px rgba(0,0,0,.3),
    0 0 0 1px rgba(var(--card-accent-rgb), .08);
}
.more-house-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(0,0,0,.3);
}
.more-house-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16,1,.3,1), filter .4s;
}
.more-house-card:hover .more-house-card__img img {
  transform: scale(1.06);
}
.more-house-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 50%);
  pointer-events: none;
}
.more-house-card__no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  color: var(--text-faint);
}
.more-house-card__body {
  padding: .8rem 1rem .6rem;
  flex: 1;
}
.more-house-card__eso {
  font-family: var(--font-label);
  font-size: .42rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: .25rem;
}
.more-house-card__title {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .1em;
  color: var(--text-primary);
  line-height: 1.3;
  transition: color .3s;
}
.more-house-card:hover .more-house-card__title {
  color: var(--card-accent);
}
.more-house-card__sub {
  font-family: var(--font-body);
  font-size: .68rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-top: .25rem;
  line-height: 1.45;
}
.more-house-card__arrow {
  position: absolute;
  bottom: .7rem;
  right: .8rem;
  font-size: .75rem;
  color: var(--text-faint);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .3s, transform .3s;
}
.more-house-card:hover .more-house-card__arrow {
  opacity: 1;
  transform: translateX(0);
  color: rgba(var(--card-accent-rgb), .6);
}
.more-houses__view-all {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-label);
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.more-houses__view-all:hover {
  color: var(--text-secondary);
  border-bottom-color: rgba(255,255,255,.12);
}
@media (max-width: 600px) {
  .author-popover { width: 260px; }
  .more-houses { grid-template-columns: 1fr; max-width: 320px; }
}
.house-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
}
.house-hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-dim);
  opacity: 0.4;
  animation: scrollHintBounce 3s ease-in-out infinite;
  transition: opacity 0.8s ease;
  pointer-events: none;
  z-index: 1;
}
.house-hero__scroll-hint svg {
  stroke: currentColor;
  fill: none;
}
@keyframes scrollHintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.35; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.65; }
}
.house-hero__scroll-hint.faded {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.house-hero--crimson .house-hero__scroll-hint {
  color: #c84060;
}
.house-hero--crimson .house-hero__scroll-hint svg {
  width: 48px;
  height: 56px;
  stroke-width: 1.2;
  filter: drop-shadow(0 0 12px rgba(200, 64, 96, 0.4))
          drop-shadow(0 2px 24px rgba(200, 64, 96, 0.15));
}
.house-hero--ayleid .house-hero__scroll-hint {
  color: #6a9eb4;
}
.house-hero--ayleid .house-hero__scroll-hint svg {
  width: 44px;
  height: 52px;
  stroke-width: 1;
  filter: drop-shadow(0 0 14px rgba(106, 158, 180, 0.45))
          drop-shadow(0 2px 28px rgba(106, 158, 180, 0.15));
}
.house-hero--wyrd .house-hero__scroll-hint {
  color: #5a8a5a;
  animation: scrollHintBounce 3s ease-in-out infinite, elditchPulse 5s ease-in-out infinite;
}
.house-hero--wyrd .house-hero__scroll-hint svg {
  width: 52px;
  height: 65px;
  stroke-width: 1.1;
  filter: drop-shadow(0 0 14px rgba(90, 138, 90, 0.5))
          drop-shadow(0 0 30px rgba(70, 120, 70, 0.2))
          drop-shadow(0 4px 20px rgba(40, 80, 40, 0.15));
}
@keyframes elditchPulse {
  0%, 100% { filter: brightness(1) hue-rotate(0deg); }
  33% { filter: brightness(1.15) hue-rotate(-8deg); }
  66% { filter: brightness(0.9) hue-rotate(5deg); }
}
.house-hero--custom .house-hero__scroll-hint {
  color: var(--theme-color, var(--text-dim));
}
.house-hero--custom .house-hero__scroll-hint svg {
  width: 42px;
  height: 50px;
  stroke-width: 1.2;
  filter: drop-shadow(0 0 10px currentColor);
}
.house-hero--crimson {
  background: 
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(138, 42, 58, 0.15), transparent),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(100, 20, 35, 0.08), transparent),
    var(--bg-void);
}
.house-hero--ayleid {
  background: 
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(42, 74, 90, 0.15), transparent),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(20, 50, 70, 0.08), transparent),
    var(--bg-void);
}
.house-section {
  padding: 4rem 0;
}
.house-section__title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2.5rem;
}
.house-section__title--crimson { color: var(--crimson); }
.house-section__title--ayleid { color: var(--ayleid-blue); }
.house-section__icon {
  margin-right: 0.5em;
  font-size: 0.9em;
}
.house-prose {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}
.house-prose em {
  color: var(--text-primary);
}
.house-prose strong {
  color: var(--text-primary);
  font-weight: 600;
}
.house-prose .accent-text {
  font-style: italic;
  text-align: center;
  display: block;
  margin: 2rem 0;
}
.house-prose .accent-text--crimson { color: var(--crimson); }
.house-prose .accent-text--ayleid { color: var(--ayleid-blue); }
.house-image {
  margin: 3rem 0;
  border: 1px solid var(--border-card);
  overflow: hidden;
}
.house-image img {
  width: 100%;
  height: auto;
  display: block;
}
.house-image__caption {
  padding: 1rem 1.5rem;
  text-align: center;
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.4);
}
.image-gallery {
  display: grid;
  gap: 0.5rem;
  margin: 2.5rem auto;
  max-width: var(--wide-width);
}
.image-gallery--2 {
  grid-template-columns: 1fr 1fr;
}
.image-gallery--3 {
  grid-template-columns: 1fr 1fr;
}
.image-gallery--3 > :first-child {
  grid-column: 1 / -1;
}
.image-gallery--3 > :first-child img {
  max-height: 300px;
}
.image-gallery--2x3 {
  grid-template-columns: 1fr 1fr;
}
.image-gallery--2x3 > :first-child {
  grid-column: 1 / -1;
}
.image-gallery--2x3 > :first-child img {
  max-height: 300px;
}
.image-gallery--2x3 > :nth-child(4) {
  grid-column: 1 / -1;
}
.image-gallery--2x3 > :nth-child(4) img {
  max-height: 300px;
}
.gallery-item {
  overflow: hidden;
  border: 1px solid var(--border-card);
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-premium), filter 0.4s, opacity 0.5s;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}
.gallery-item:hover img,
.gallery-item:hover picture img {
  transform: scale(1.03);
}
.image-gallery--masonry {
  display: block; columns: 3 280px; gap: 1rem;
}
.image-gallery--masonry > .gallery-item {
  break-inside: avoid; margin-bottom: 1rem; display: inline-block; width: 100%;
}
.image-gallery--masonry > .gallery-item img {
  max-height: none; height: auto;
}
@media (max-width: 768px) { .image-gallery--masonry { columns: 2; } }
@media (max-width: 480px) { .image-gallery--masonry { columns: 1; } }
.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease-premium);
  pointer-events: none;
}
.gallery-item:hover .gallery-item__caption {
  opacity: 1;
}
.hero-image {
  margin: 0 -2rem;
  overflow: hidden;
  position: relative;
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}
.gallery-item picture {
  display: block; width: 100%; height: 100%;
}
.gallery-item picture img {
  width: 100%; height: auto; max-height: 240px;
  object-fit: cover; display: block;
}
.image-gallery--3 > :first-child picture img,
.image-gallery--2x3 > :first-child picture img,
.image-gallery--2x3 > :nth-child(4) picture img {
  max-height: 300px;
}
@media (max-width: 640px) {
  .image-gallery--2,
  .image-gallery--3,
  .image-gallery--2x3 {
    grid-template-columns: 1fr;
  }
  .image-gallery--3 > :first-child,
  .image-gallery--2x3 > :first-child,
  .image-gallery--2x3 > :nth-child(4) {
    grid-column: auto;
  }
  .gallery-item img,
  .gallery-item picture img {
    max-height: min(56vw, 280px);
  }
  .image-gallery--3 > :first-child img,
  .image-gallery--3 > :first-child picture img,
  .image-gallery--2x3 > :first-child img,
  .image-gallery--2x3 > :first-child picture img,
  .image-gallery--2x3 > :nth-child(4) img,
  .image-gallery--2x3 > :nth-child(4) picture img {
    max-height: min(56vw, 280px);
  }
}
.footer {
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}
.footer-signature {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.footer-meta {
  margin-top: 1rem;
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
  width: 100%;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.back-nav {
  position: fixed;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.back-nav__dot {
  width: 6px;
  height: 6px;
  border: 1px solid var(--divider-accent);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
  padding: 0;
}
.back-nav__dot:hover,
.back-nav__dot.active {
  background: var(--text-dim);
  border-color: var(--text-dim);
}
@media (max-width: 900px) {
  :root {
    --section-gap: 5rem;
  }
  .craft-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .houses-grid {
    gap: 1.5rem;
  }
  .house-card {
    padding: 2.5rem 2rem;
  }
  .back-nav {
    display: none;
  }
}
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    padding: 1rem 1.25rem;
  }
  .nav.scrolled {
    padding: 0.6rem 1.25rem;
  }
  .nav-links {
    gap: 1.5rem;
  }
  .nav-link {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }
  .hero-bio {
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  :root {
    --section-gap: 4rem;
  }
  .nav {
    padding: 0.75rem 1rem;
  }
  .nav-brand {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
  }
  .hero {
    padding: 6rem 1.5rem 4rem;
  }
  .display-title {
    letter-spacing: 0.12em;
  }
  .house-card {
    padding: 2rem 1.5rem;
  }
  .visit-card {
    padding: 2rem 1.5rem;
  }
  .visit-card__row {
    grid-template-columns: 100px 1fr;
  }
  .divider::before,
  .divider::after {
    width: 30px;
  }
  .content-narrow,
  .content-wide {
    padding: 0 1.25rem;
  }
  .search-overlay__input {
    font-size: 1rem;
    padding: 0.7rem 0;
  }
  .search-overlay__inner {
    width: 95%;
    margin-top: 3rem;
  }
  .search-overlay__footer {
    gap: 0.6rem;
    flex-wrap: wrap;
  }
  .search-overlay__esc { display: none; }
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--house-accent, rgba(160,160,170,0.4)), rgba(160,160,170,0.1));
  z-index: 10001;
  pointer-events: none;
  transition: width 0.05s linear;
}
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9998;
  width: 36px;
  height: 36px;
  background: rgba(6,6,8,0.8);
  border: 1px solid rgba(160,160,170,0.15);
  color: rgba(160,160,170,0.5);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-premium), border-color 0.3s var(--ease-premium), color 0.3s var(--ease-premium);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { border-color: rgba(160,160,170,0.4); color: rgba(160,160,170,0.8); }
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-void, #060608);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-premium);
  overflow: hidden;
}
.loader__line {
  position: absolute;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160,160,170,0.25), transparent);
  animation: loaderLineExpand 1.8s ease-out forwards;
}
.loader__line--left { right: 50%; margin-right: 80px; transform-origin: right center; }
.loader__line--right { left: 50%; margin-left: 80px; transform-origin: left center; }
@keyframes loaderLineExpand {
  0% { width: 0; opacity: 0; }
  40% { opacity: 0.6; }
  100% { width: min(30vw, 200px); opacity: 0.3; }
}
.loader__sigil {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  font-size: 2rem;
  color: rgba(160,160,170,0.06);
  animation: sigilMaterialize 2s ease-out forwards;
  pointer-events: none;
}
@keyframes sigilMaterialize {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.15; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0.06; }
}
.loader__ornament {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 0.7rem;
  letter-spacing: 0.6em;
  color: rgba(160,160,170,0.6);
  opacity: 0;
  animation: loaderTextFadeIn 1s 0.3s var(--ease-premium) forwards, loaderPulse 2.2s 1.3s ease-in-out infinite;
}
.loader__brand {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.3em;
  color: rgba(160,160,170,0.7);
  text-transform: uppercase;
  margin-top: 1rem;
  opacity: 0;
  animation: loaderTextFadeIn 1s 0.6s var(--ease-premium) forwards, loaderPulse 2.2s 1.6s ease-in-out infinite;
}
@keyframes loaderTextFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}
.loader__embers { position: absolute; inset: 0; pointer-events: none; }
.ember {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(180,160,140,0.5);
  box-shadow: 0 0 4px rgba(180,160,140,0.3);
  opacity: 0;
  animation: emberRise linear infinite;
}
.ember--1 { left: 20%; bottom: -5%; animation-duration: 4s; animation-delay: 0s; }
.ember--2 { left: 45%; bottom: -5%; animation-duration: 3.5s; animation-delay: 0.8s; }
.ember--3 { left: 70%; bottom: -5%; animation-duration: 4.5s; animation-delay: 0.3s; }
.ember--4 { left: 35%; bottom: -5%; animation-duration: 3.8s; animation-delay: 1.2s; width: 1.5px; height: 1.5px; }
.ember--5 { left: 58%; bottom: -5%; animation-duration: 4.2s; animation-delay: 0.6s; width: 1px; height: 1px; }
.ember--6 { left: 80%; bottom: -5%; animation-duration: 3.6s; animation-delay: 1.5s; width: 1px; height: 1px; }
@keyframes emberRise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  60% { opacity: 0.3; }
  100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}
.loader.loaded { opacity: 0; pointer-events: none; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-family: var(--font-label); font-size: .6rem; letter-spacing: .2em;
    text-transform: uppercase; text-decoration: none;
    padding: .7em 2em; border-radius: var(--radius-btn, 8px);
    border: 1px solid transparent; cursor: pointer;
    background: transparent; color: var(--text-secondary);
    transition: all var(--t-normal, .35s) var(--ease, cubic-bezier(.32,.72,0,1));
    position: relative; overflow: hidden;
    -webkit-user-select: none; user-select: none;
}
.btn::after {
    content: ''; position: absolute; inset: 0;
    opacity: 0; transition: opacity var(--t-fast, .2s);
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(.97); }
.btn--primary {
    color: var(--crimson, #e0607a);
    background: rgba(184,68,90,.06);
    border-color: rgba(184,68,90,.2);
}
.btn--primary:hover {
    background: rgba(184,68,90,.12); border-color: rgba(184,68,90,.4);
    box-shadow: 0 0 20px rgba(184,68,90,.08);
}
.btn--primary::after { background: rgba(184,68,90,.04); }
.btn--secondary {
    color: var(--text-secondary, #b0aca4);
    background: rgba(160,150,130,.04);
    border-color: rgba(160,150,130,.1);
}
.btn--secondary:hover {
    color: var(--text-primary); background: rgba(160,150,130,.08);
    border-color: rgba(160,150,130,.25);
}
.btn--secondary::after { background: rgba(255,255,255,.02); }
.btn--tertiary {
    color: var(--text-dim, #807c74);
    background: transparent; border-color: transparent;
    padding: .5em 1em;
}
.btn--tertiary:hover { color: var(--text-secondary); background: rgba(255,255,255,.03); }
.btn--gold {
    color: var(--gold-accent, #c8a858);
    background: rgba(200,168,88,.06); border-color: rgba(200,168,88,.18);
}
.btn--gold:hover {
    background: rgba(200,168,88,.12); border-color: rgba(200,168,88,.35);
    box-shadow: 0 0 20px rgba(200,168,88,.06);
}
.btn--danger {
    color: #e05050;
    background: rgba(220,60,60,.06); border-color: rgba(220,60,60,.15);
}
.btn--danger:hover {
    background: rgba(220,60,60,.12); border-color: rgba(220,60,60,.35);
    box-shadow: 0 0 20px rgba(220,60,60,.06);
}
.btn--sm { font-size: .5rem; padding: .5em 1.2em; }
.btn--lg { font-size: .7rem; padding: .9em 2.5em; }
.btn:disabled, .btn--disabled { opacity: .4; pointer-events: none; cursor: not-allowed; }
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: rgba(4,4,6,0.92);
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.search-overlay.active { display: flex; }
.search__box {
  width: min(560px, 90vw);
  background: rgba(16,16,20,0.95);
  border: 1px solid rgba(160,160,170,0.1);
  border-radius: var(--radius-btn);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.4), var(--refraction);
}
.search__input {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(160,160,170,0.06);
  color: var(--text-primary, #e0e0e2);
  font-family: var(--font-body, 'Cormorant Garamond', serif);
  font-size: 1.1rem;
  outline: none;
}
.search__input::placeholder { color: rgba(160,160,170,0.3); font-style: italic; }
.search__results { max-height: 40vh; overflow-y: auto; }
.search__result {
  display: block;
  padding: 1rem 1.5rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(160,160,170,0.03);
  transition: background 0.25s var(--ease-premium);
}
.search__result:hover { background: rgba(160,160,170,0.04); }
.search__result-title {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text-primary, #e0e0e2);
  text-transform: uppercase;
}
.search__result-sub {
  font-family: var(--font-body, 'Cormorant Garamond', serif);
  font-size: 0.85rem;
  color: var(--text-dim, rgba(160,160,170,0.5));
  margin-top: 0.25rem;
  font-style: italic;
}
.search__hint {
  padding: 1.5rem;
  text-align: center;
  font-family: var(--font-body, 'Cormorant Garamond', serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-dim, rgba(160,160,170,0.4));
}
.nav__search {
  background: none;
  border: none;
  color: var(--text-dim, rgba(160,160,170,0.5));
  font-family: var(--font-body, 'Cormorant Garamond', serif);
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.3em 0.8em;
  border: 1px solid rgba(160,160,170,0.1);
  transition: all 0.3s var(--ease-premium);
}
.nav__search:hover { border-color: rgba(160,160,170,0.3); color: var(--text-secondary); }
.reader-toggle {
  position: fixed;
  bottom: 2rem;
  right: 5rem;
  z-index: 9998;
  background: rgba(6,6,8,0.8);
  border: 1px solid rgba(160,160,170,0.15);
  color: rgba(160,160,170,0.5);
  font-family: var(--font-label, 'IBM Plex Mono', monospace);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
}
.reader-toggle:hover { border-color: rgba(160,160,170,0.4); color: rgba(160,160,170,0.8); }
body.reader-mode {
  --bg-void: #1a1a1e;
  --text-primary: #d4d4d6;
}
body.reader-mode .house-section,
body.reader-mode .content-narrow,
body.reader-mode .content-wide {
  background: rgba(28,28,32,0.95);
}
body.reader-mode .house-prose {
  font-size: 1.15rem;
  line-height: 2.1;
  max-width: 640px;
}
body.reader-mode .page-bg { background: #1a1a1e !important; }
body.reader-mode .gallery-item img { filter: brightness(1) saturate(1); }
body.reader-mode .house-hero::before,
body.reader-mode .house-hero--ayleid::before,
body.reader-mode .house-hero--wyrd::before { opacity: 0.08; }
.lightbox__counter {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  font-family: var(--font-label, 'IBM Plex Mono', monospace);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--text-dim, rgba(160,160,170,0.5));
}
.lightbox__swipe-hint {
  position: fixed; bottom: 18%; left: 50%; transform: translateX(-50%);
  padding: .6rem 1.5rem; border-radius: 20px;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  color: rgba(255,255,255,.65); font-family: var(--font-label);
  font-size: .6rem; letter-spacing: .3em; text-transform: uppercase;
  pointer-events: none; transition: opacity .4s; z-index: 10001;
}
@media print {
  *, *::before, *::after { background: transparent !important; color: #111 !important; box-shadow: none !important; text-shadow: none !important; }
  body { font-family: 'Georgia', serif; font-size: 11pt; line-height: 1.6; }
  .nav, .footer, .back-to-top, .scroll-progress, .loader, .search-overlay,
  .reader-toggle, .lightbox, .visit-card__port, .page-bg,
  .hero--landing::before, .hero--landing::after,
  .house-hero::before, .house-hero::after,
  .sheoth-realm__bg, .sheoth-panel { display: none !important; }
  .house-hero, .hero--landing { min-height: auto !important; padding: 2rem 0 !important; }
  .hero-content { opacity: 1 !important; transform: none !important; }
  .display-title { font-size: 18pt; }
  .house-section, section { page-break-inside: avoid; padding: 1rem 0; }
  .house-prose { font-size: 11pt; line-height: 1.6; max-width: none; }
  .gallery-item img, .cinema-img img { max-height: 200px !important; page-break-inside: avoid; filter: none !important; }
  .showcase__inner { display: block; }
  .showcase__image { display: none; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .visit-card { border: 1px solid #ccc; }
  .fade-in { opacity: 1 !important; transform: none !important; }
  .hero-line { opacity: 1 !important; transform: none !important; animation: none !important; }
}
.site-footer {
  position: relative;
  margin-top: 6rem;
  padding: 0 2rem 2rem;
  overflow: hidden;
}
.site-footer__glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,176,96,0.2), transparent);
  pointer-events: none;
}
.site-footer__ornament {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.6rem;
  color: rgba(212,176,96,0.2);
  letter-spacing: 0.6em;
  padding: 2.5rem 0 2rem;
  transition: color 0.5s var(--ease-premium);
}
.site-footer__ornament:hover {
  color: rgba(212,176,96,0.35);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}
.site-footer__col {
  padding: 1.4rem 1.5rem;
  background: rgba(12,12,16,0.4);
  border: 1px solid rgba(70,68,80,0.1);
  border-radius: 12px;
  transition: border-color 0.4s var(--ease-premium), background 0.4s var(--ease-premium);
}
.site-footer__col:hover {
  border-color: rgba(70,68,80,0.2);
  background: rgba(14,14,18,0.5);
}
.site-footer__heading {
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8a867e;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(70,68,80,0.12);
}
.site-footer__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #8a867e;
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: 6px;
  transition: color 0.3s var(--ease-premium), transform 0.3s var(--ease-premium), background 0.3s var(--ease-premium);
}
.site-footer__link:hover {
  color: #d4d0c8;
  transform: translateX(4px);
  background: rgba(212,176,96,0.03);
}
.site-footer__link-icon {
  font-size: 0.7rem;
  color: rgba(212,176,96,0.3);
  transition: color 0.3s var(--ease-premium);
}
.site-footer__link:hover .site-footer__link-icon {
  color: rgba(212,176,96,0.5);
}
.site-footer__link--cta {
  margin-top: 0.8rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(212,176,96,0.15);
  border-radius: 8px;
  color: var(--gold-accent, #d4b060);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  justify-content: center;
  transition: all 0.35s var(--ease-premium);
  background: rgba(212,176,96,0.02);
}
.site-footer__link--cta:hover {
  background: rgba(212,176,96,0.06);
  border-color: rgba(212,176,96,0.3);
  color: var(--gold-glow, #f0d080);
  transform: translateX(0) translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,176,96,0.06);
}
.site-footer__text {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #9e9a92;
  line-height: 1.75;
  margin: 0 0 0.5rem;
}
.site-footer__text--dim {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #5a5650;
  letter-spacing: 0.08em;
}
.site-footer__bottom {
  margin-top: 2.5rem;
}
.site-footer__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,176,96,0.1), transparent);
  margin-bottom: 1.2rem;
}
.site-footer__bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 860px;
  margin: 0 auto;
}
.site-footer__copyright {
  font-family: var(--font-display);
  font-size: 0.48rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #5e5a54;
}
.site-footer__back-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.48rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #706c64;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(70,68,80,0.12);
  border-radius: 6px;
  transition: all 0.35s var(--ease-premium);
}
.site-footer__back-top:hover {
  color: #c4c0b8;
  transform: translateY(-2px);
  border-color: rgba(212,176,96,0.15);
  background: rgba(212,176,96,0.02);
}
.site-footer__back-top:active {
  transform: scale(0.97);
}
.site-footer__legal-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  max-width: 860px;
  margin: 0 auto 0.8rem;
  flex-wrap: wrap;
}
.site-footer__fan-notice {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #8a867e;
  font-style: italic;
}
.site-footer__legal-sep {
  font-size: 0.35rem;
  color: rgba(212,176,96,0.2);
}
.site-footer__legal-link {
  font-family: var(--font-display);
  font-size: 0.46rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #706c64;
  text-decoration: none;
  transition: color 0.3s var(--ease-premium);
  cursor: pointer;
  padding: 0.15rem 0;
  position: relative;
}
.site-footer__legal-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(212,176,96,0.25);
  transition: width 0.3s var(--ease-premium);
}
.site-footer__legal-link:hover {
  color: #c4c0b8;
}
.site-footer__legal-link:hover::after {
  width: 100%;
}
.site-footer__legal-link:active {
  transform: scale(0.97);
}
.site-footer__tm-notice {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: #4a4840;
  text-align: center;
  margin-top: 0.8rem;
  letter-spacing: 0.02em;
}
.site-footer__version {
  font-family: var(--font-label);
  font-size: 0.5rem;
  color: #5a5650;
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: .5;
  transition: opacity .3s;
}
.site-footer__version:hover { opacity: 1; }
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: none;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)), opacity 0.3s;
}
.cookie-consent--visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-consent__link {
  color: var(--gold, #c8a858);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: .3em;
  transition: color .2s;
}
.cookie-consent__link:hover { color: var(--text-primary); }
.cookie-consent__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: var(--wide-width, 1100px);
  margin: 0 auto;
  padding: 1rem 2rem;
  background: var(--bg-elevated, #1a1b24);
  border-top: 1px solid var(--border-card, #22212c);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
}
.cookie-consent__ornament {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-faint);
  flex-shrink: 0;
}
.cookie-consent__text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary, #9e9a92);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.cookie-consent__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.cookie-consent__btn {
  font-family: var(--font-label, 'Cinzel', serif);
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border-card, #22212c);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s var(--ease-premium);
  background: transparent;
  color: var(--text-secondary);
}
.cookie-consent__btn--accept {
  background: rgba(192, 168, 122, 0.12);
  border-color: rgba(192, 168, 122, 0.3);
  color: var(--gold-accent, #c0a87a);
}
.cookie-consent__btn--accept:hover {
  background: rgba(192, 168, 122, 0.22);
  border-color: rgba(192, 168, 122, 0.5);
}
.cookie-consent__btn--decline:hover {
  background: rgba(160, 160, 170, 0.08);
  color: var(--text-primary);
}
@media (max-width: 640px) {
  .cookie-consent__inner {
    flex-direction: column;
    text-align: center;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }
  .cookie-consent__ornament { display: none; }
}
@media (max-width: 768px) {
  .site-footer {
    padding: 2.5rem 1.25rem 1.5rem;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .site-footer__col {
    padding: 1.2rem 1.3rem;
  }
  .site-footer__link {
    justify-content: center;
  }
  .site-footer__text {
    text-align: center;
  }
  .site-footer__bottom-row {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
  .site-footer__legal-row {
    flex-direction: column;
    gap: 0.3rem;
  }
  .site-footer__legal-sep {
    display: none;
  }
}
@media (max-width: 480px) {
  html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
  body { overflow-x: hidden; }
  .news-hero,
  .news-body,
  .news-container,
  .coll-editor,
  .le-ct,
  .pf-page { box-sizing: border-box; max-width: 100%; padding-left: 1rem; padding-right: 1rem; }
  .page-content { padding-top: 3.5rem; }
  .display-title,
  .landing-hero__title {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
    letter-spacing: 0.12em;
  }
  img, picture, video { max-width: 100%; height: auto; }
  button, .btn, a.btn, input[type="submit"] {
    min-height: 44px;
    min-width: 44px;
  }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
.gate-2fa {
  display: flex; align-items: center; justify-content: center;
  min-height: 60vh; padding: 3rem 1.5rem;
}
.gate-2fa__card {
  position: relative; max-width: 520px; width: 100%;
  padding: 2.8rem 2.5rem; text-align: center;
  background: rgba(14, 13, 18, .85);
  border: 1px solid rgba(212, 176, 96, .1);
  box-shadow:
    0 1px 0 rgba(212, 176, 96, .05) inset,
    0 24px 80px rgba(0, 0, 0, .5),
    0 4px 20px rgba(0, 0, 0, .3);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.gate-2fa__glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 176, 96, .04) 0%, transparent 70%);
  pointer-events: none;
}
.gate-2fa__icon {
  margin-bottom: 1.2rem;
  animation: gateIconPulse 3s ease-in-out infinite;
}
@keyframes gateIconPulse {
  0%, 100% { opacity: .85; }
  50% { opacity: 1; }
}
.gate-2fa__ornament {
  font-family: var(--font-display);
  font-size: .6rem; letter-spacing: .5em;
  color: rgba(212, 176, 96, .2);
  margin-bottom: 1.4rem;
}
.gate-2fa__title {
  font-family: var(--font-display);
  font-size: .95rem; letter-spacing: .14em;
  color: var(--text-primary);
  margin: 0 0 1rem;
}
.gate-2fa__desc {
  font-family: var(--font-body);
  font-size: .92rem; line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 1.8rem;
  max-width: 420px; margin-left: auto; margin-right: auto;
}
.gate-2fa__steps {
  display: flex; flex-direction: column; gap: .65rem;
  max-width: 340px; margin: 0 auto 2rem;
  text-align: left;
}
.gate-2fa__step {
  display: flex; align-items: center; gap: .8rem;
  padding: .55rem .8rem;
  background: rgba(212, 176, 96, .03);
  border-left: 2px solid rgba(212, 176, 96, .15);
  transition: border-color .3s, background .3s;
}
.gate-2fa__step:hover {
  background: rgba(212, 176, 96, .06);
  border-left-color: rgba(212, 176, 96, .35);
}
.gate-2fa__step-num {
  display: flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; flex-shrink: 0;
  font-family: var(--font-display);
  font-size: .6rem; letter-spacing: .05em;
  color: rgba(212, 176, 96, .6);
  border: 1px solid rgba(212, 176, 96, .15);
  border-radius: 50%;
}
.gate-2fa__step-text {
  font-family: var(--font-body);
  font-size: .82rem; color: var(--text-secondary);
  letter-spacing: .02em;
}
.gate-2fa__btn {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .65rem 1.8rem;
  font-family: var(--font-label);
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold, #d4b060);
  background: rgba(212, 176, 96, .08);
  border: 1px solid rgba(212, 176, 96, .25);
  text-decoration: none;
  transition: all .3s ease;
}
.gate-2fa__btn:hover {
  background: rgba(212, 176, 96, .15);
  border-color: rgba(212, 176, 96, .45);
  box-shadow: 0 0 28px rgba(212, 176, 96, .1);
}
.gate-2fa__btn-arrow {
  transition: transform .25s ease;
  font-size: .8rem;
}
.gate-2fa__btn:hover .gate-2fa__btn-arrow {
  transform: translateX(4px);
}
@media (max-width: 600px) {
  .gate-2fa__card { padding: 2rem 1.5rem; }
  .gate-2fa__title { font-size: .85rem; }
  .gate-2fa__desc { font-size: .85rem; }
  .gate-2fa__steps { max-width: 100%; }
}
.skip-link {
    position: fixed; top: -100px; left: 50%; transform: translateX(-50%);
    z-index: 100000; padding: .75rem 2rem;
    background: var(--bg-elevated, #1a1b24); color: var(--gold-accent, #c8a858);
    border: 1px solid rgba(200,168,88,.3); border-radius: var(--radius-btn, 8px);
    font-family: var(--font-label); font-size: .7rem; letter-spacing: .15em;
    text-transform: uppercase; text-decoration: none;
    box-shadow: 0 8px 32px rgba(0,0,0,.5);
    transition: top .25s var(--ease-out-expo);
}
.skip-link:focus { top: 1rem; }
@media (hover: none) {
    a:active, button:active, [role="button"]:active,
    .btn:active, .community-card:active, .house-card:active,
    .partner-card:active, .gallery-item:active,
    .nav-link:active, .chapter-nav__link:active,
    .coll-card:active, .profile-house-card:active {
        transform: scale(.97);
        opacity: .85;
        transition: transform .1s, opacity .1s;
    }
}
* { -webkit-tap-highlight-color: rgba(200,168,88,.08); }
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(6, 6, 8, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.nav.scrolled {
    background: rgba(6, 6, 8, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-brand {
    color: #b0aca4;
    z-index: 1;
}
.nav-brand:hover {
    color: #dbd8d0;
}
.nav-link {
    color: #b0aca4;
    font-size: 0.75rem;
    font-weight: 500;
}
.nav-link:hover {
    color: #e0ddd6;
}
.nav__search {
    color: #8a867e;
}
.nav__search:hover {
    color: #c8c4bc;
}
body {
    color: #c4c0b8;
    font-weight: 400;
}
p, li, td, th, dd, dt {
    color: #bbb7af;
    font-weight: 400;
}
h1, h2, h3, h4 {
    color: #dbd8d0;
}
.form-label {
    color: #b8b4ac;
    font-size: 0.88rem;
    font-weight: 500;
}
.form-input,
.form-textarea,
.form-select {
    color: #d0cdc6;
    background: rgba(12, 12, 16, 0.7);
    border-color: rgba(80, 78, 90, 0.35);
    font-weight: 400;
    font-size: 1rem;
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: #5a5750;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: rgba(106, 158, 180, 0.45);
    color: #e0ddd6;
}
.form-header__desc,
.form-group small,
.form-group .hint {
    color: #9a968e;
}
.notes-box ul,
.notes-box ol {
    color: #a09c94;
}
.notes-box ul strong,
.notes-box ol strong {
    color: #c8c4bc;
}
.notes-box ul em {
    color: #7bb8d0;
}
.notes-box--card ul em {
    color: #e07888;
}
.notes-box__header {
    color: #8ab0c4;
}
.example-box {
    background: rgba(18, 19, 26, 0.5);
    padding: 1.1rem 1.4rem;
}
.example-box__label {
    color: #706c64;
}
.example-box__text {
    color: #a8a49c;
    line-height: 1.75;
}
.contact-tab {
    color: #8a867e;
}
.contact-tab:hover {
    color: #c8c4bc;
}
.contact-tab.active {
    color: #dbd8d0;
}
.contact-tab .tab-label {
    color: inherit;
}
.contact-tab .tab-recipient {
    color: #a09c94;
}
.contact-tab.active .tab-recipient {
    color: #7bb8d0;
}
.form-header__ornament {
    color: #5a5750;
}
.field-req {
    color: #d4556a;
}
.field-opt {
    color: #706c64;
}
.field-hint {
    color: #7a766e;
}
.radio-option,
.radio-label,
.checkbox-label {
    color: #b0aca4;
}
.category-tag,
.filter-btn {
    color: #8a867e;
}
.category-tag:hover,
.filter-btn:hover,
.filter-btn.active {
    color: #c8c4bc;
}
.alert {
    color: #c4c0b8;
}
.alert--error {
    color: #e8a0a0;
    background: rgba(200, 60, 60, 0.08);
    border-color: rgba(200, 60, 60, 0.2);
}
.alert--success {
    color: #a0d8a8;
    background: rgba(80, 200, 120, 0.06);
    border-color: rgba(80, 200, 120, 0.15);
}
.btn {
    color: #d0cdc6;
}
.btn--primary {
    color: #e8e5de;
}
.ornament {
    color: #4a4640;
}
.success-card__title {
    color: #dbd8d0;
}
.success-card__text {
    color: #a8a49c;
}
.comment-author {
    color: #c8c4bc;
}
.comment-text {
    color: #b0aca4;
    line-height: 1.75;
}
.comment-meta {
    color: #5e5a52;
}
.site-footer,
.footer {
    color: #5a5650;
}
.footer-signature {
    color: #6a665e;
}
.footer-meta {
    color: #4a4640;
}
.showcase__overline {
    color: #8a867e;
}
.showcase__desc {
    color: #a8a49c;
}
.showcase__status {
    color: #7a766e;
}
.showcase__tagline {
    color: inherit;
}
.craft-item p {
    color: #a8a49c;
}
.craft-item em {
    color: #bbb7af;
}
.tagline {
    color: #8a867e;
}
.archive-item__desc {
    color: #9a968e;
}
.archive-item__meta {
    color: #6a665e;
}
.label {
    color: #9a968e;
}
.hero__bio p {
    color: #a8a49c;
}
.display-title {
    color: #dbd8d0;
}
.closing-quote p {
    color: #8a867e;
}
.form-select option {
    font-weight: 400;
    font-size: 1rem;
    background: #0c0c10;
    color: #d0cdc6;
}
.label,
.showcase__overline,
.category-tag,
.filter-btn {
    font-weight: 500;
}
.showcase__desc,
.craft-item p,
.archive-item__desc,
.hero__bio p,
.closing-quote p {
    font-weight: 400;
}
.cookie-consent__btn,
.site-footer__legal-sep {
    font-size: 0.60rem;
}
.site-footer__heading,
.site-footer__copyright,
.site-footer__back-top,
.site-footer__legal-link,
.notif-dropdown__mark-read {
    font-size: 0.62rem;
}
.visit-card__cmd-copy,
.lang-toggle,
.toast {
    font-size: 0.65rem;
}
.notif-bell__badge {
    font-size: 0.60rem;
}
.house-card__overline,
.house-card__cta,
.archive-item__house,
.archive-item__meta,
.visit-card__label,
.visit-card__port-label,
.gallery-overlay__caption,
.footer-meta,
.notif-dropdown__title {
    font-size: 0.70rem;
}
.site-footer__tm-notice {
    font-size: 0.72rem;
}
.divider-line .orn {
    font-size: 0.75rem;
}
.site-footer__text--dim {
    font-size: 0.78rem;
}
.label,
.divider,
.divider-ornate .orn,
.nav-brand,
.hero .user-info,
.loader__ornament {
    font-size: 0.80rem;
}
.site-footer__fan-notice {
    font-size: 0.82rem;
}
.craft-item__title,
.site-footer__link-icon {
    font-size: 0.85rem;
}
.loader {
    background:
        linear-gradient(180deg,
            rgba(6,6,8,0.82) 0%,
            rgba(6,6,8,0.60) 40%,
            rgba(6,6,8,0.70) 70%,
            rgba(6,6,8,0.92) 100%
        ),
        url('/img/backgrounds/bg-eastmarch.jpg') center / cover no-repeat;
}
.loader__ornament {
    color: rgba(200,196,188,0.35);
    text-shadow: 0 0 20px rgba(160,160,170,0.08);
}
.loader__brand {
    color: rgba(200,196,188,0.45);
    text-shadow: 0 0 30px rgba(160,160,170,0.06);
}
.notif-bell {
    position: relative;
    z-index: 95;
    display: inline-flex;
    align-items: center;
}
.notif-bell__btn {
    background: none;
    border: 1px solid rgba(160,160,170,0.12);
    border-radius: 6px;
    color: #8a867e;
    cursor: pointer;
    padding: 0.3em 0.65em;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s cubic-bezier(.32,.72,0,1), border-color 0.3s cubic-bezier(.32,.72,0,1);
    line-height: 1;
}
.notif-bell__btn:hover {
    color: #c8c4bc;
    border-color: rgba(160,160,170,0.3);
}
.notif-bell__btn:active {
    transform: scale(0.95);
}
.notif-bell__btn.is-active {
    color: #d4d0c8;
    border-color: rgba(160,160,170,0.25);
    background: rgba(160,160,170,0.08);
}
.notif-bell__icon {
    display: block;
    width: 14px;
    height: 14px;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: auto;
    position: relative;
    z-index: 2;
}
.nav-right > * {
    flex-shrink: 0;
}
.notif-bell__badge {
    position: absolute;
    top: 0;
    right: -2px;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 8px;
    background: #c04050;
    color: #fff;
    font-size: 0.5rem;
    font-family: var(--font-label);
    line-height: 15px;
    text-align: center;
    pointer-events: none;
    animation: notifPulse 2s ease-in-out infinite;
}
@keyframes notifPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.notif-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: -1rem;
    width: 320px;
    max-height: 400px;
    background: rgba(10, 10, 14, 0.97);
    border: 1px solid rgba(160, 160, 170, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    flex-direction: column;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,.04);
    border-radius: 8px;
}
.notif-dropdown.is-open {
    display: flex;
}
.notif-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 1.2rem;
    width: 10px;
    height: 10px;
    background: rgba(10, 10, 14, 0.97);
    border-left: 1px solid rgba(160, 160, 170, 0.1);
    border-top: 1px solid rgba(160, 160, 170, 0.1);
    transform: rotate(45deg);
}
.notif-dropdown__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(160, 160, 170, 0.08);
}
.notif-dropdown__title {
    font-family: var(--font-label);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a8a49c;
}
.notif-dropdown__mark-read {
    background: none;
    border: none;
    color: #5a8a9e;
    font-family: var(--font-label);
    font-size: 0.52rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    transition: color 0.3s cubic-bezier(.32,.72,0,1);
}
.notif-dropdown__mark-read:hover {
    color: #80b8d0;
}
.notif-dropdown__list {
    overflow-y: auto;
    max-height: 340px;
    overscroll-behavior: contain;
}
.notif-dropdown::-webkit-scrollbar {
    width: 4px;
}
.notif-dropdown::-webkit-scrollbar-track {
    background: transparent;
}
.notif-dropdown::-webkit-scrollbar-thumb {
    background: rgba(90, 138, 158, 0.2);
    border-radius: 2px;
}
.notif-dropdown__list::-webkit-scrollbar {
    width: 4px;
}
.notif-dropdown__list::-webkit-scrollbar-track {
    background: transparent;
}
.notif-dropdown__list::-webkit-scrollbar-thumb {
    background: rgba(90, 138, 158, 0.2);
    border-radius: 2px;
}
.notif-dropdown__empty {
    padding: 2rem 1rem;
    text-align: center;
    color: #5e5a52;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-style: italic;
}
.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(160, 160, 170, 0.04);
    transition: background 0.2s cubic-bezier(.32,.72,0,1);
}
.notif-item:hover {
    background: rgba(160, 160, 170, 0.04);
}
.notif-item--unread {
    background: rgba(90, 138, 158, 0.04);
    border-left: 2px solid rgba(90, 138, 158, 0.4);
}
.notif-item--unread:hover {
    background: rgba(90, 138, 158, 0.08);
}
.notif-item__icon {
    flex-shrink: 0;
    width: 1.4rem;
    text-align: center;
    font-size: 0.9rem;
    color: #706c64;
    padding-top: 0.1rem;
}
.notif-item--unread .notif-item__icon {
    color: #5a8a9e;
}
.notif-item__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}
.notif-item__title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #b0aca4;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.notif-item--unread .notif-item__title {
    color: #d4d0c8;
}
.notif-item__msg {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #706c64;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.notif-item__time {
    font-family: var(--font-label);
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    color: #4e4a42;
    text-transform: uppercase;
}
.notif-item--unread .notif-item__time {
    color: #5e5a52;
}
*, *::before, *::after {
    cursor: url('/img/cursors/pointer-default.svg') 3 1, default;
}
a, button, [role="button"], label[for],
.btn, .nav-link, .nav-brand, .gallery-item,
.house-card, .filter-btn, .category-tag,
.contact-tab, .chapter-nav__link,
input[type="submit"], input[type="button"],
select, .form-select {
    cursor: url('/img/cursors/hand-default.svg') 11 1, pointer;
}
input[type="text"], input[type="email"],
input[type="password"], input[type="search"],
input[type="url"], input[type="tel"],
input[type="number"], textarea, .form-input,
.form-textarea, [contenteditable="true"] {
    cursor: url('/img/cursors/text-default.svg') 6 12, text;
}
body.cursor-crimson *, body.cursor-crimson *::before, body.cursor-crimson *::after {
    cursor: url('/img/cursors/pointer-crimson.svg') 3 1, default;
}
body.cursor-crimson a, body.cursor-crimson button,
body.cursor-crimson [role="button"], body.cursor-crimson .btn,
body.cursor-crimson .nav-link, body.cursor-crimson .nav-brand,
body.cursor-crimson .gallery-item, body.cursor-crimson .chapter-nav__link,
body.cursor-crimson select, body.cursor-crimson .form-select {
    cursor: url('/img/cursors/hand-crimson.svg') 11 1, pointer;
}
body.cursor-crimson input[type="text"], body.cursor-crimson input[type="email"],
body.cursor-crimson input[type="password"], body.cursor-crimson input[type="search"],
body.cursor-crimson input[type="url"], body.cursor-crimson input[type="tel"],
body.cursor-crimson input[type="number"], body.cursor-crimson textarea,
body.cursor-crimson .form-input, body.cursor-crimson .form-textarea,
body.cursor-crimson [contenteditable="true"] {
    cursor: url('/img/cursors/text-crimson.svg') 6 12, text;
}
body.cursor-ayleid *, body.cursor-ayleid *::before, body.cursor-ayleid *::after {
    cursor: url('/img/cursors/pointer-ayleid.svg') 3 1, default;
}
body.cursor-ayleid a, body.cursor-ayleid button,
body.cursor-ayleid [role="button"], body.cursor-ayleid .btn,
body.cursor-ayleid .nav-link, body.cursor-ayleid .nav-brand,
body.cursor-ayleid .gallery-item, body.cursor-ayleid .chapter-nav__link,
body.cursor-ayleid select, body.cursor-ayleid .form-select {
    cursor: url('/img/cursors/hand-ayleid.svg') 11 1, pointer;
}
body.cursor-ayleid input[type="text"], body.cursor-ayleid input[type="email"],
body.cursor-ayleid input[type="password"], body.cursor-ayleid input[type="search"],
body.cursor-ayleid input[type="url"], body.cursor-ayleid input[type="tel"],
body.cursor-ayleid input[type="number"], body.cursor-ayleid textarea,
body.cursor-ayleid .form-input, body.cursor-ayleid .form-textarea,
body.cursor-ayleid [contenteditable="true"] {
    cursor: url('/img/cursors/text-ayleid.svg') 6 12, text;
}
body.cursor-wyrd *, body.cursor-wyrd *::before, body.cursor-wyrd *::after {
    cursor: url('/img/cursors/pointer-wyrd.svg') 3 1, default;
}
body.cursor-wyrd a, body.cursor-wyrd button,
body.cursor-wyrd [role="button"], body.cursor-wyrd .btn,
body.cursor-wyrd .nav-link, body.cursor-wyrd .nav-brand,
body.cursor-wyrd .gallery-item, body.cursor-wyrd .chapter-nav__link,
body.cursor-wyrd select, body.cursor-wyrd .form-select {
    cursor: url('/img/cursors/hand-wyrd.svg') 11 1, pointer;
}
body.cursor-wyrd input[type="text"], body.cursor-wyrd input[type="email"],
body.cursor-wyrd input[type="password"], body.cursor-wyrd input[type="search"],
body.cursor-wyrd input[type="url"], body.cursor-wyrd input[type="tel"],
body.cursor-wyrd input[type="number"], body.cursor-wyrd textarea,
body.cursor-wyrd .form-input, body.cursor-wyrd .form-textarea,
body.cursor-wyrd [contenteditable="true"] {
    cursor: url('/img/cursors/text-wyrd.svg') 6 12, text;
}
body.cursor-crimson :focus-visible {
    outline-color: var(--crimson, #e0607a);
    box-shadow: 0 0 0 4px rgba(184,68,90,.12), 0 0 20px rgba(184,68,90,.06);
}
body.cursor-ayleid :focus-visible {
    outline-color: var(--ayleid-blue, #6a9eb4);
    box-shadow: 0 0 0 4px rgba(106,158,180,.12), 0 0 20px rgba(106,158,180,.06);
}
body.cursor-wyrd :focus-visible {
    outline-color: var(--wyrd-green, #7ab47a);
    box-shadow: 0 0 0 4px rgba(122,180,122,.12), 0 0 20px rgba(122,180,122,.06);
}
.ctx-menu {
    position: fixed;
    z-index: 10001;
    min-width: 200px;
    background: rgba(10, 10, 14, 0.97);
    border: 1px solid rgba(160, 160, 170, 0.12);
    border-radius: 8px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.03);
    padding: 0.4rem 0;
    display: none;
    font-family: var(--font-body);
    animation: ctxFadeIn 0.15s ease-out;
}
.ctx-menu.is-open {
    display: block;
}
@keyframes ctxFadeIn {
    from { opacity: 0; transform: scale(0.96) translateY(-4px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.ctx-menu__item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 1rem;
    color: #b0aca4;
    font-size: 0.88rem;
    font-weight: 400;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: url('/img/cursors/hand-default.svg') 11 1, pointer;
}
.ctx-menu__item:hover {
    background: rgba(160, 160, 170, 0.08);
    color: #dbd8d0;
}
.ctx-menu__item:active {
    background: rgba(160, 160, 170, 0.12);
}
.ctx-menu__icon {
    width: 16px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
    flex-shrink: 0;
}
.ctx-menu__item:hover .ctx-menu__icon {
    opacity: 1;
}
.ctx-menu__sep {
    height: 1px;
    background: rgba(160, 160, 170, 0.08);
    margin: 0.3rem 0.8rem;
}
.ctx-menu__label {
    padding: 0.3rem 1rem 0.2rem;
    font-family: var(--font-label);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #5a5750;
    pointer-events: none;
}
@media (max-width: 640px) {
    .notif-dropdown {
        position: fixed;
        top: 3.5rem;
        right: 0.5rem;
        left: 0.5rem;
        width: auto;
        max-height: 60vh;
    }
    .notif-dropdown::before {
        display: none;
    }
    .nav-right {
        z-index: 101;
    }
    .lang-toggle {
        margin-left: 0;
    }
    .ctx-menu {
        min-width: 180px;
        font-size: 0.95rem;
    }
    .ctx-menu__item {
        padding: 0.65rem 1rem;
    }
}
@media (max-width: 480px) {
    .nav-right {
        gap: 0.5rem;
    }
    .notif-bell__btn {
        padding: 0.3rem;
    }
    .notif-item {
        padding: 0.65rem 0.8rem;
    }
    .notif-item__title {
        font-size: 0.85rem;
    }
}
@media (max-width: 900px) {
    .nav-link {
        font-size: 0.68rem;
        letter-spacing: 0.18em;
    }
    .nav-brand {
        font-size: 0.70rem;
    }
    .lang-toggle {
        margin-left: 0;
    }
}
.preview-banner {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
    padding: .6rem 1.2rem; text-align: center;
    font-family: var(--font-label, 'Cormorant Garamond', serif);
    font-size: .78rem; letter-spacing: .08em;
    color: #c8a030; background: rgba(30,24,10,.92);
    border-bottom: 1px solid rgba(200,160,60,.2);
    backdrop-filter: blur(8px);
}
.preview-banner a {
    color: #dca858; text-decoration: underline; margin-left: .5rem;
}
.preview-banner__notes {
    margin-top: .35rem; font-size: .72rem; color: rgba(220,180,100,.7);
    font-style: italic; letter-spacing: .04em;
}
:root {
  --comment-indent:   24px;
  --comment-bg:       rgba(14, 14, 20, 0.55);
  --comment-border:   rgba(70, 68, 80, 0.3);
  --vote-color:       #7a9fc0;
  --vote-active:      #c0a87a;
  --mention-bg:       rgba(10, 10, 14, 0.98);
  --quill-bg:         rgba(10, 10, 14, 0.8);
  --rss-color:        #e6611a;
}
.search-overlay__results {
  margin-top: 0.75rem;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(100,96,88,0.4) transparent;
}
.search-result__icon {
  font-size:   1rem;
  color:       var(--text-dim);
  min-width:   1.4rem;
  text-align:  center;
  margin-top:  2px;
  opacity:     0.7;
}
.search-result__info {
  flex: 1;
  min-width: 0;
}
.search-result__title {
  font-family: var(--font-label, monospace);
  font-size:   0.72rem;
  letter-spacing: 0.06em;
  color:       #d0ccc4;
  white-space: nowrap;
  overflow:    hidden;
  text-overflow: ellipsis;
}
.search-result__excerpt {
  font-size:   0.68rem;
  color:       var(--text-dim, #706c64);
  margin-top:  0.2rem;
  white-space: nowrap;
  overflow:    hidden;
  text-overflow: ellipsis;
}
.search-result__date {
  font-family: var(--font-label, monospace);
  font-size:   0.5rem;
  letter-spacing: 0.12em;
  color:       rgba(100,96,88,0.7);
  text-transform: uppercase;
  margin-left: auto;
  white-space: nowrap;
  padding-left: 0.5rem;
}
.search-results__none {
  padding:   1.5rem;
  text-align: center;
  color:     var(--text-dim, #706c64);
  font-style: italic;
  font-size: 0.8rem;
}
.search-results__empty {
  padding: 2rem 1.5rem;
  text-align: center;
}
.search-results__empty-icon {
  font-size: 1.4rem;
  color: rgba(100,96,88,0.25);
  margin-bottom: 0.6rem;
}
.search-results__empty-text {
  font-family: var(--font-body, 'Cormorant Garamond', serif);
  font-size: 0.88rem;
  color: var(--text-dim, #706c64);
  font-style: italic;
}
.search-results__empty-query {
  font-family: var(--font-label, monospace);
  font-size: 0.72rem;
  color: var(--text-secondary, #b0aca4);
  margin-top: 0.35rem;
  letter-spacing: 0.04em;
}
.search-results__count {
  font-family: var(--font-label, monospace);
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(130,126,118,0.45);
  padding: 0.5rem 1.2rem 0;
  text-align: right;
}
.search-overlay__loading {
  text-align:  center;
  padding:     1.2rem;
  color:       var(--text-dim, #706c64);
  font-size:   0.75rem;
  letter-spacing: 0.2em;
}
.search-overlay__loading-dots {
  animation: searchPulse 1.2s ease-in-out infinite;
}
@keyframes searchPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.search-highlight {
  background: rgba(212,176,96,0.2);
  color: inherit;
  border-radius: 1px;
  padding: 0 1px;
}
.search-overlay__ornament {
  text-align:     center;
  font-family:    var(--font-label, monospace);
  font-size:      0.6rem;
  letter-spacing: 0.35em;
  color:          rgba(100,96,88,0.4);
  margin-bottom:  0.6rem;
  user-select:    none;
}
.search-overlay__inner {
  width:          min(580px, 92vw);
  background:     rgba(12,12,16,0.97);
  border:         1px solid rgba(160,160,170,0.1);
  border-radius:  8px;
  padding:        1.5rem 0 0;
  box-shadow:
    0 1px 0 rgba(212,176,96,0.04) inset,
    0 16px 64px rgba(0,0,0,0.7),
    0 4px 16px rgba(0,0,0,0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: searchSlideIn 0.2s cubic-bezier(.16,1,.3,1) both;
}
@keyframes searchSlideIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.search-overlay__input-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 1.2rem;
  padding-bottom: 0;
  border-bottom: 1px solid rgba(160,160,170,0.08);
  transition: border-color 0.3s;
}
.search-overlay__input-row:focus-within {
  border-bottom-color: rgba(212,176,96,0.2);
}
.search-overlay__input-icon {
  font-size: 1rem;
  color: rgba(160,160,170,0.3);
  flex-shrink: 0;
  margin-left: 0.3rem;
}
.search-overlay__esc {
  font-family: var(--font-label, monospace);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  color: rgba(130,126,118,0.4);
  background: rgba(100,96,88,0.1);
  border: 1px solid rgba(100,96,88,0.15);
  border-radius: 3px;
  padding: 0.15rem 0.4rem;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s;
}
.search-overlay__esc:hover {
  color: rgba(130,126,118,0.7);
  border-color: rgba(100,96,88,0.3);
}
.search-overlay__input {
  display:      block;
  flex:         1;
  min-width:    0;
  padding:      0.85rem 0;
  background:   transparent;
  border:       none;
  color:        var(--text-primary, #e0e0e2);
  font-family:  var(--font-body, 'Cormorant Garamond', serif);
  font-size:    1.15rem;
  outline:      none;
}
.search-overlay__input::placeholder {
  color:      rgba(160,160,170,0.3);
  font-style: italic;
}
.search-overlay__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 0.55rem 1.2rem;
  border-top: 1px solid rgba(60,58,68,0.12);
  background: rgba(8,8,12,0.4);
  border-radius: 0 0 8px 8px;
}
.search-overlay__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-label, monospace);
  font-size: 0.46rem;
  letter-spacing: 0.1em;
  color: rgba(130,126,118,0.4);
}
.search-overlay__hint kbd {
  font-family: inherit;
  font-size: 0.46rem;
  color: rgba(130,126,118,0.55);
  background: rgba(100,96,88,0.1);
  border: 1px solid rgba(100,96,88,0.15);
  border-radius: 3px;
  padding: 0.1rem 0.35rem;
  line-height: 1.3;
}
.search-results__section-label {
  font-family:    var(--font-label, monospace);
  font-size:      0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color:          rgba(130,126,118,0.6);
  padding:        0.75rem 1.2rem 0.35rem;
  display:        flex;
  align-items:    center;
  gap:            0.5rem;
}
.search-results__section-ornament {
  font-size:   0.45rem;
  color:       rgba(100,96,88,0.35);
}
.search-result-item {
  display:       flex;
  align-items:   flex-start;
  gap:           0.75rem;
  padding:       0.7rem 1.2rem;
  border-radius: 0;
  text-decoration: none;
  color:         inherit;
  transition:    background 0.2s cubic-bezier(.32,.72,0,1);
  cursor:        pointer;
  border-bottom: 1px solid rgba(60,58,68,0.18);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover,
.search-result-item:focus,
.search-result-item.focused {
  background: rgba(100,96,88,0.14);
  outline:    none;
}
.search-result-item.focused .search-result__icon {
  color: var(--gold, #d4b060);
  opacity: 1;
}
.search-results__furn-divider {
  padding: 0.6rem 0 0.3rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(212,176,96,0.12);
  font-family: var(--font-label);
  font-size: 0.45rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(212,176,96,0.6);
}
.search-result-item--furn {
  animation: searchFurnIn 0.3s cubic-bezier(.32,.72,0,1) both;
}
@keyframes searchFurnIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.search-result__furn-thumb {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
}
.search-result__furn-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search-result__furn-thumb span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.search-result__furn-dot {
  position: absolute;
  bottom: 2px;
  left: 3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.search-results__furn-viewall {
  display: block;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-label);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-accent, #d4b060);
  text-decoration: none;
  text-align: right;
  transition: color 0.2s;
}
.search-results__furn-viewall:hover { color: #fff; }
.notif-dropdown {
  animation: notifSlideIn 0.16s cubic-bezier(0.2,0,0.2,1);
}
@keyframes notifSlideIn {
  from { opacity:0; transform:translateY(-8px) scale(0.97); }
  to   { opacity:1; transform:translateY(0)    scale(1);    }
}
.notif-dropdown__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem 0.5rem;
  border-bottom: 1px solid rgba(60,58,68,0.35);
}
.notif-dropdown__title {
  font-family: var(--font-label, monospace);
  font-size:   0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:       #a09c94;
}
.notif-mark-read {
  font-family: var(--font-label, monospace);
  font-size:   0.5rem;
  letter-spacing: 0.08em;
  color:       #5a7a90;
  background:  none;
  border:      1px solid rgba(90,122,144,0.3);
  border-radius: 6px;
  padding:     0.15em 0.6em;
  cursor:      pointer;
  transition:  color 0.12s, border-color 0.12s;
}
.notif-mark-read:hover {
  color:       #7aaccc;
  border-color: rgba(122,172,204,0.4);
}
.notif-item {
  display:     flex;
  align-items: flex-start;
  gap:         0.65rem;
  padding:     0.65rem 1rem;
  text-decoration: none;
  color:       inherit;
  border-bottom: 1px solid rgba(40,38,48,0.5);
  transition:  background 0.2s cubic-bezier(.32,.72,0,1);
  position:    relative;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover      { background: rgba(100,96,88,0.08); }
.notif-item--unread {
  background: rgba(60,80,100,0.08);
}
.notif-item--unread::before {
  content:  '';
  position: absolute;
  left:     0;
  top:      0;
  bottom:   0;
  width:    2px;
  background: var(--vote-color, #7a9fc0);
  border-radius: 0 1px 1px 0;
}
.notif-item__icon {
  font-size:   0.9rem;
  color:       var(--text-dim, #706c64);
  margin-top:  1px;
  min-width:   1.2rem;
  text-align:  center;
}
.notif-item--unread .notif-item__icon { color: var(--vote-color, #7a9fc0); }
.notif-item__body       { flex: 1; min-width: 0; }
.notif-item__title      { font-size: 0.72rem; color: #c4c0b8; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-item--unread .notif-item__title { color: #dbd8d0; }
.notif-item__msg        { font-size: 0.65rem; color: #706c64; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 0.15rem; }
.notif-item__time       { font-family: var(--font-label, monospace); font-size: 0.48rem; letter-spacing: 0.1em; color: #4e4a42; text-transform: uppercase; display: block; margin-top: 0.25rem; }
.notif-item--unread .notif-item__time { color: #5e5a52; }
.notif-dropdown__empty  { padding: 1.5rem; text-align: center; color: var(--text-dim, #706c64); font-size: 0.75rem; font-style: italic; }
.notif-dropdown__footer { padding: 0.5rem 1rem; border-top: 1px solid rgba(60,58,68,0.3); text-align: center; }
.notif-dropdown__footer a {
  font-family: var(--font-label, monospace);
  font-size:   0.5rem;
  letter-spacing: 0.15em;
  color:       #5a5750;
  text-decoration: none;
  text-transform: uppercase;
}
.notif-dropdown__footer a:hover { color: #9a968e; }
.notif-item-wrap {
  position: relative;
  max-height: 120px;
}
.notif-item-wrap:hover .notif-item__delete {
  opacity: 1;
  pointer-events: auto;
}
.notif-item__delete {
  position:    absolute;
  right:       0.5rem;
  top:         50%;
  transform:   translateY(-50%);
  background:  none;
  border:      none;
  color:       #5a5650;
  font-size:   0.65rem;
  cursor:      pointer;
  padding:     0.3rem 0.4rem;
  border-radius: 4px;
  opacity:     0;
  pointer-events: none;
  transition:  opacity 0.15s, color 0.15s, background 0.15s;
  z-index:     2;
}
.notif-item__delete:hover {
  color:       #c07070;
  background:  rgba(192,112,112,0.08);
}
.notif-dropdown__actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.notif-dropdown__delete-all {
  font-family: var(--font-label, monospace);
  font-size:   0.5rem;
  letter-spacing: 0.08em;
  color:       #7a5050;
  background:  none;
  border:      1px solid rgba(122,80,80,0.3);
  border-radius: 6px;
  padding:     0.15em 0.6em;
  cursor:      pointer;
  transition:  color 0.12s, border-color 0.12s;
}
.notif-dropdown__delete-all:hover {
  color:       #c07070;
  border-color: rgba(192,112,112,0.4);
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(180,100,80,0.4); }
  50%     { box-shadow: 0 0 0 4px rgba(180,100,80,0); }
}
.notif-bell__badge--pulse { animation: badgePulse 1.5s ease-out 3; }
.comments-section {
  margin-top:    3rem;
  border-top:    1px solid var(--comment-border);
  padding-top:   2rem;
}
.comments-header {
  display:     flex;
  align-items: baseline;
  gap:         0.75rem;
  margin-bottom: 1.5rem;
}
.comments-title {
  font-family: var(--font-label, monospace);
  font-size:   0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color:       var(--text-dim, #706c64);
  margin:      0;
  display:     flex;
  align-items: baseline;
  gap:         0.5rem;
}
.comments-ornament { color: #5a5750; }
.comments-count {
  background: rgba(80,78,90,0.35);
  color:      #9a968e;
  font-size:  0.5rem;
  padding:    0.15em 0.55em;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.comments-empty {
  text-align: center;
  padding:    2rem 0;
  color:      var(--text-dim, #706c64);
  font-style: italic;
}
.comment {
  display:       flex;
  gap:           0.75rem;
  padding:       1rem 0;
  border-bottom: 1px solid rgba(40,38,48,0.4);
  position:      relative;
  transition:    background 0.15s;
}
.comment:last-child { border-bottom: none; }
.comment--depth-1 { margin-left: calc(var(--comment-indent) * 1); }
.comment--depth-2 { margin-left: calc(var(--comment-indent) * 2); }
.comment--depth-3 { margin-left: calc(var(--comment-indent) * 3); }
.comment--depth-4 { margin-left: calc(var(--comment-indent) * 3.5); }
.comment--depth-1::before,
.comment--depth-2::before,
.comment--depth-3::before,
.comment--depth-4::before {
  content:  '';
  position: absolute;
  left:    -14px;
  top:      0;
  bottom:   0;
  width:    1px;
  background: rgba(70,68,80,0.35);
}
.comment--new {
  animation: commentFadeIn 0.4s ease-out;
}
@keyframes commentFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0);   }
}
.comment--pinned {
  background: rgba(30,50,70,0.12);
  border-left: 2px solid rgba(90,130,170,0.4);
  padding-left: 0.75rem;
}
.comment--admin-hidden {
  opacity: 0.5;
  outline: 1px dashed rgba(180,100,80,0.3);
}
.comment--hidden .comment__deleted {
  font-style: italic;
  color:      var(--text-dim, #706c64);
  font-size:  0.75rem;
}
.comment__pin-badge,
.comment__admin-label {
  font-family: var(--font-label, monospace);
  font-size:   0.48rem;
  letter-spacing: 0.1em;
  color:       #7a9fc0;
  margin-bottom: 0.3rem;
  width:       100%;
}
.comment__admin-label { color: #c07a6a; }
.comment__avatar {
  font-size:   1.2rem;
  min-width:   2rem;
  text-align:  center;
  flex-shrink: 0;
}
.comment__avatar--img,
.comment-compose__avatar--img {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 50%;
}
.comment__avatar--img img,
.comment-compose__avatar--img img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.avatar-inline {
  display: inline-flex; align-items: center; justify-content: center;
  vertical-align: middle; font-size: 0.85rem; line-height: 1;
}
.avatar-inline--img {
  padding: 0 !important; overflow: hidden; border-radius: 50%;
}
.avatar-inline--img img {
  border-radius: 50%; object-fit: cover; display: block;
}
.comment__body { flex: 1; min-width: 0; }
.comment__header {
  display:     flex;
  align-items: baseline;
  flex-wrap:   wrap;
  gap:         0.4rem;
  margin-bottom: 0.35rem;
}
.comment__author {
  font-family: var(--font-label, monospace);
  font-size:   0.65rem;
  letter-spacing: 0.08em;
  color:       #b8b4ac;
}
.comment__time {
  font-family: var(--font-label, monospace);
  font-size:   0.48rem;
  letter-spacing: 0.1em;
  color:       #4e4a42;
  text-transform: uppercase;
  margin-left: auto;
}
.comment__text {
  font-size:   0.85rem;
  line-height: 1.7;
  color:       #b8b4ac;
  word-break:  break-word;
}
.comment__text a { color: #7a9fc0; }
.comment__text a:hover { color: #aacfe0; }
.comment__text blockquote {
  border-left: 2px solid rgba(80,78,90,0.5);
  margin:      0.5rem 0 0.5rem 0;
  padding-left: 0.75rem;
  color:        #706c64;
  font-style:   italic;
}
.comment__mention {
  color:          var(--vote-color, #7a9fc0);
  font-weight:    500;
  text-decoration: none;
}
.comment__mention:hover { color: #aacfe0; text-decoration: underline; }
.comment__actions {
  display:     flex;
  align-items: center;
  gap:         0.5rem;
  margin-top:  0.5rem;
  flex-wrap:   wrap;
}
.comment-vote-btn {
  display:     inline-flex;
  align-items: center;
  gap:         0.25rem;
  background:  none;
  border:      1px solid rgba(70,68,80,0.4);
  border-radius: 6px;
  padding:     0.15em 0.55em;
  cursor:      pointer;
  color:       #5a5750;
  font-size:   0.68rem;
  font-family: var(--font-label, monospace);
  letter-spacing: 0.05em;
  transition:  all 0.2s cubic-bezier(.32,.72,0,1);
  line-height: 1;
}
.comment-vote-btn:hover {
  color:        var(--vote-color, #7a9fc0);
  border-color: rgba(122,159,192,0.4);
}
.comment-vote-btn:active { transform: scale(0.95); }
.comment-vote-btn.voted {
  color:        var(--vote-active, #c0a87a);
  border-color: rgba(192,168,122,0.4);
  background:   rgba(192,168,122,0.06);
}
.vote-icon   { font-size: 0.7rem; }
.vote-count  { min-width: 0.8rem; }
.comment-reply-btn,
.comment-mod-btn {
  background:  none;
  border:      none;
  font-family: var(--font-label, monospace);
  font-size:   0.55rem;
  letter-spacing: 0.08em;
  color:       #5a5750;
  cursor:      pointer;
  padding:     0.1em 0.3em;
  transition:  color 0.12s;
}
.comment-reply-btn:hover  { color: #9a968e; }
.comment-mod-btn:hover    { color: #c07a6a; }
.comment-thread {
  position: relative;
  margin-top: 0.5rem;
}
.comment-reply-form {
  margin-top: 0.5rem;
}
.comment-form--reply .form-textarea {
  min-height: 60px;
}
.comment-form {
  padding-top: 0.5rem;
}
.comment-form__field {
  position: relative;
}
.comment-form__footer {
  display:     flex;
  align-items: center;
  justify-content: space-between;
  margin-top:  0.5rem;
}
.comment-form__hint {
  font-family: var(--font-label, monospace);
  font-size:   0.48rem;
  letter-spacing: 0.08em;
  color:       #4e4a42;
}
.comment-form__error {
  margin-top: 0.4rem;
  font-size:  0.72rem;
  color:      #c07a6a;
  font-style: italic;
}
.comment-textarea {
  min-height: 80px;
  resize:     vertical;
}
.comment-compose {
  margin-top:    2rem;
  padding-top:   1.5rem;
  border-top:    1px solid var(--comment-border);
}
.comment-compose__header {
  display:     flex;
  align-items: center;
  gap:         0.5rem;
  margin-bottom: 0.75rem;
}
.comment-compose__avatar { font-size: 1.1rem; }
.comment-compose__name {
  font-family: var(--font-label, monospace);
  font-size:   0.6rem;
  letter-spacing: 0.1em;
  color:       #9a968e;
}
.comments-login-prompt {
  margin-top:  2rem;
  padding-top: 1.5rem;
  border-top:  1px solid var(--comment-border);
  display:     flex;
  align-items: center;
  gap:         0.75rem;
  color:       var(--text-dim, #706c64);
  font-style:  italic;
  font-size:   0.8rem;
}
.mention-field { position: relative; }
.mention-dropdown {
  position:  absolute;
  bottom:    calc(100% + 4px);
  left:      0;
  min-width: 200px;
  max-width: 320px;
  background: var(--mention-bg);
  border:    1px solid rgba(70,68,80,0.5);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  z-index:   200;
  overflow:  hidden;
}
.mention-item {
  padding:   0.5rem 0.75rem;
  cursor:    pointer;
  font-family: var(--font-label, monospace);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color:     #b8b4ac;
  display:   flex;
  align-items: baseline;
  gap:       0.5rem;
  transition: background 0.1s;
}
.mention-item:hover { background: rgba(100,96,88,0.2); }
.mention-item span  { color: var(--text-dim, #706c64); font-size: 0.55rem; }
.quill-editor-container {
  border:     1px solid rgba(70,68,80,0.4);
  border-radius: 0 0 8px 8px;
  min-height: 300px;
  background: var(--quill-bg);
  color:      #d0cdc6;
  font-size:  0.9rem;
  line-height: 1.7;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.ql-toolbar.ql-snow {
  background:  rgba(10,10,14,0.9);
  border:      1px solid rgba(70,68,80,0.4);
  border-bottom: 1px solid rgba(50,48,58,0.5);
  border-radius: 8px 8px 0 0;
}
.ql-toolbar.ql-snow .ql-stroke { stroke: #8a867e; }
.ql-toolbar.ql-snow .ql-fill   { fill:   #8a867e; }
.ql-toolbar.ql-snow .ql-picker-label { color: #8a867e; }
.ql-toolbar.ql-snow button:hover .ql-stroke,
.ql-toolbar.ql-snow .ql-picker-label:hover .ql-stroke { stroke: #c8c4bc; }
.ql-toolbar.ql-snow button:hover .ql-fill,
.ql-toolbar.ql-snow .ql-picker-label:hover .ql-fill   { fill:   #c8c4bc; }
.ql-toolbar.ql-snow button.ql-active .ql-stroke { stroke: var(--vote-active, #c0a87a); }
.ql-toolbar.ql-snow .ql-separator { border-color: rgba(70,68,80,0.4); }
.ql-snow.ql-toolbar .ql-picker-options,
.ql-snow .ql-tooltip {
  background: rgba(10,10,16,0.97);
  border:     1px solid rgba(70,68,80,0.5);
  color:      #b8b4ac;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}
.ql-snow .ql-tooltip input[type=text] {
  background: rgba(6,6,10,0.8);
  border:     1px solid rgba(70,68,80,0.4);
  color:      #d0cdc6;
  outline:    none;
}
.ql-snow .ql-tooltip a { color: var(--vote-color, #7a9fc0); }
.ql-editor { min-height: 300px; color: #d0cdc6; }
.ql-editor.ql-blank::before { color: rgba(100,96,88,0.5); font-style: italic; }
.ql-editor h1, .ql-editor h2, .ql-editor h3 { color: #dbd8d0; }
.ql-editor blockquote { border-left: 3px solid rgba(80,78,90,0.5); color: #706c64; }
.ql-editor pre.ql-syntax { background: rgba(6,6,10,0.7); color: #b8c4d4; }
.ql-editor a { color: var(--vote-color, #7a9fc0); }
.rss-link {
  display:        inline-flex;
  align-items:    center;
  gap:            0.35rem;
  font-family:    var(--font-label, monospace);
  font-size:      0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:          #5a5750;
  text-decoration: none;
  padding:        0.3em 0.7em;
  border:         1px solid rgba(70,68,80,0.3);
  border-radius:  6px;
  transition:     all 0.2s cubic-bezier(.32,.72,0,1);
}
.rss-link:hover {
  color:        var(--rss-color, #e6611a);
  border-color: rgba(230,97,26,0.3);
}
.rss-icon { font-size: 0.7rem; }
.news-post__footer {
  margin-top:  2rem;
  padding-top: 1rem;
  border-top:  1px solid rgba(50,48,58,0.3);
  display:     flex;
  justify-content: flex-end;
}
.news-post__title {
  font-family: var(--font-display);
  font-size:   clamp(1.3rem, 3vw, 1.8rem);
  color:       var(--text-primary, #dbd8d0);
  margin-bottom: 0.5rem;
}
.news-post__meta {
  font-family: var(--font-label, monospace);
  font-size:   0.5rem;
  letter-spacing: 0.2em;
  color:       var(--text-dim, #706c64);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.news-hero {
  position:     relative;
  max-width:    720px;
  margin:       0 auto 2rem;
  overflow:     hidden;
  border:       1px solid rgba(70,68,80,0.2);
}
.news-hero__img {
  display:      block;
  width:        100%;
  max-height:   320px;
  object-fit:   cover;
  object-position: center;
  filter:       brightness(0.6) saturate(0.85);
  transition:   filter 0.5s cubic-bezier(.32,.72,0,1);
}
.news-hero:hover .news-hero__img {
  filter:       brightness(0.7) saturate(0.9);
}
.news-hero__overlay {
  position:     absolute;
  bottom:       0;
  left:         0;
  right:        0;
  padding:      2rem 1.5rem 1.5rem;
  background:   linear-gradient(to top, rgba(6,6,8,0.92) 0%, rgba(6,6,8,0.4) 70%, transparent 100%);
  z-index:      1;
}
.news-body {
  max-width:    720px;
  margin:       0 auto;
  font-family:  var(--font-body, 'Cormorant Garamond', serif);
  font-size:    1.08rem;
  line-height:  1.85;
  color:        #c4c0b8;
}
.news-body p {
  margin-bottom: 1.2rem;
}
.news-body strong {
  color:        #dbd8d0;
  font-weight:  600;
}
.news-body em {
  color:        #b0aca4;
}
.news-body a {
  color:        var(--ayleid-blue, #6a9eb4);
  text-decoration: underline;
  text-decoration-color: rgba(106,158,180,0.3);
  transition:   color 0.25s cubic-bezier(.32,.72,0,1);
}
.news-body a:hover {
  color:        var(--ayleid-glow, #8acce6);
}
.news-body img {
  display:      block;
  max-width:    100%;
  max-height:   400px;
  object-fit:   contain;
  margin:       1.5rem auto;
  border:       1px solid rgba(70,68,80,0.2);
}
.news-body hr {
  border:       none;
  border-top:   1px solid rgba(50,48,58,0.3);
  margin:       2rem 0;
}
.news-body blockquote {
  border-left:  2px solid rgba(160,160,170,0.15);
  padding-left: 1.2rem;
  margin:       1.5rem 0;
  color:        #9a968e;
  font-style:   italic;
}
@media (max-width: 640px) {
  .news-hero__img {
    max-height:  200px;
  }
  .news-hero__overlay {
    padding: 1.25rem 1rem 1rem;
  }
  .news-body img {
    max-height:  260px;
  }
}
.news-container {
  max-width:   720px;
  margin:      0 auto;
  padding:     0 1.5rem;
}
.admin-bar {
  display:       flex;
  gap:           0.75rem;
  margin-bottom: 2rem;
  justify-content: center;
}
.news-list {
  list-style:  none;
  margin:      0;
  padding:     0;
  display:     flex;
  flex-direction: column;
  gap:         1.5rem;
}
.news-item {
  display:       flex;
  gap:           1.25rem;
  padding:       1.25rem;
  background:    rgba(12,12,16,0.5);
  border:        1px solid rgba(70,68,80,0.2);
  transition:    border-color 0.3s cubic-bezier(.32,.72,0,1), background 0.3s cubic-bezier(.32,.72,0,1);
}
.news-item:hover {
  border-color:  rgba(100,96,88,0.3);
  background:    rgba(14,14,18,0.6);
}
.news-item__img {
  flex-shrink: 0;
  width:       180px;
  height:      120px;
  object-fit:  cover;
  border:      1px solid rgba(70,68,80,0.25);
  display:     block;
}
.news-item__content {
  display:        flex;
  flex-direction: column;
  justify-content: center;
  min-width:      0;
  flex:           1;
  gap:            0.4rem;
}
.news-item__title {
  font-family:    var(--font-display, 'Cinzel', serif);
  font-size:      clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.08em;
  color:          #dbd8d0;
  text-decoration: none;
  transition:     color 0.25s cubic-bezier(.32,.72,0,1);
  display:        block;
  line-height:    1.4;
}
.news-item__title:hover {
  color: #f0ede6;
}
.news-item__excerpt {
  font-family:   var(--font-body, 'Cormorant Garamond', serif);
  font-size:     0.92rem;
  color:         #9a968e;
  line-height:   1.6;
  margin:        0;
  display:       -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:      hidden;
}
.news-item__meta {
  font-family:    var(--font-label, monospace);
  font-size:      0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color:          #5e5a52;
  margin-top:     auto;
}
@media (max-width: 640px) {
  .comment--depth-1 { margin-left: 16px; }
  .comment--depth-2 { margin-left: 28px; }
  .comment--depth-3 { margin-left: 36px; }
  .comment--depth-4 { margin-left: 40px; }
  .comment-vote-btn { font-size: 0.6rem; }
  .comment__author  { font-size: 0.6rem; }
  .comment__text    { font-size: 0.82rem; }
  .mention-dropdown { min-width: 160px; }
  .quill-editor-container { min-height: 200px; }
  .news-item {
    flex-direction: column;
    gap:            0.75rem;
    padding:        1rem;
  }
  .news-item__img {
    width:  100%;
    height: 160px;
  }
  .news-container {
    padding: 0 1rem;
  }
  .search-overlay__inner {
    width:  95vw;
    padding: 1rem 0 0.3rem;
  }
  .search-overlay__input {
    width:   calc(100% - 2rem);
    margin:  0 1rem;
    font-size: 1rem;
  }
  .search-result-item {
    padding: 0.6rem 1rem;
  }
}
.toast-container {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 99999;
    display: flex; flex-direction: column-reverse; gap: .6rem;
    pointer-events: none;
}
.toast {
    pointer-events: auto; position: relative; overflow: hidden;
    display: flex; align-items: center; gap: .75rem;
    padding: .9rem 1.4rem; min-width: 280px; max-width: 420px;
    background: rgba(18,19,26,.88); backdrop-filter: blur(16px);
    border: 1px solid rgba(160,150,130,.08); border-radius: 10px;
    box-shadow: 0 12px 48px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
    font-family: 'Cormorant Garamond', Georgia, serif; font-size: .9rem;
    color: #d4d0c8;
    opacity: 0; transform: translateY(16px) scale(.96);
    transition: opacity .35s cubic-bezier(.32,.72,0,1), transform .35s cubic-bezier(.32,.72,0,1);
}
.toast--enter { opacity: 1; transform: translateY(0) scale(1); }
.toast--exit { opacity: 0; transform: translateY(-8px) scale(.98); transition-duration: .25s; }
.toast__icon {
    flex-shrink: 0; width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: .65rem;
    background: rgba(200,168,88,.1); color: #c8a858;
    border: 1px solid rgba(200,168,88,.15);
}
.toast--success .toast__icon {
    background: rgba(106,200,136,.1); color: #6ac888;
    border-color: rgba(106,200,136,.2);
}
.toast--error .toast__icon {
    background: rgba(224,96,122,.1); color: #e0607a;
    border-color: rgba(224,96,122,.2);
}
.toast__text { flex: 1; line-height: 1.5; }
.toast__progress {
    position: absolute; bottom: 0; left: 0; height: 2px; width: 100%;
    border-radius: 0 0 10px 10px;
    background: rgba(200,168,88,.35);
    animation: toastProgress 3.5s linear forwards;
}
.toast--success .toast__progress { background: rgba(106,200,136,.4); }
.toast--error .toast__progress { background: rgba(224,96,122,.4); }
@keyframes toastProgress { to { width: 0; } }
.btn-spinner {
    display: inline-block; width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,.15); border-top-color: currentColor;
    border-radius: 50%; animation: btnSpin .6s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }
.btn--loading { min-width: 80px; opacity: .7; }
.btn--success {
    border-color: rgba(106,200,136,.4) !important;
    transition: border-color .3s cubic-bezier(.32,.72,0,1);
}
@media (max-width: 640px) {
    .toast-container { left: 1rem; right: 1rem; bottom: 1rem; }
    .toast { min-width: auto; }
}
@keyframes skeletonShimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
.skeleton {
    position: relative; overflow: hidden;
    background: rgba(255,255,255,.03);
    border-radius: var(--radius-card, 12px);
}
.skeleton::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,.04) 40%,
        rgba(255,255,255,.06) 50%,
        rgba(255,255,255,.04) 60%,
        transparent 100%
    );
    background-size: 800px 100%;
    animation: skeletonShimmer 1.8s ease-in-out infinite;
}
.skeleton--text {
    height: .85rem; border-radius: 4px; margin-bottom: .5rem;
    width: 80%;
}
.skeleton--text-short { width: 45%; }
.skeleton--text-long { width: 95%; }
.skeleton--title {
    height: 1.4rem; border-radius: 4px; margin-bottom: .75rem;
    width: 60%;
}
.skeleton--avatar {
    width: 48px; height: 48px; border-radius: 50%;
    flex-shrink: 0;
}
.skeleton--avatar-lg {
    width: 80px; height: 80px; border-radius: 50%;
}
.skeleton--card {
    height: 280px; border-radius: var(--radius-card, 12px);
    border: 1px solid rgba(255,255,255,.03);
}
.skeleton--card-sm {
    height: 200px;
}
.skeleton--image {
    width: 100%; aspect-ratio: 16/10; border-radius: var(--radius-card, 12px);
}
.skeleton--btn {
    height: 36px; width: 120px; border-radius: var(--radius-btn, 8px);
}
.skeleton--badge {
    height: 22px; width: 80px; border-radius: 12px;
}
.skeleton-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.skeleton-row {
    display: flex; gap: 1rem; align-items: center;
}
.img-fade {
    opacity: 0;
    transition: opacity var(--t-slow, .5s) cubic-bezier(.32,.72,0,1);
}
.img-fade.loaded { opacity: 1; }
.content-fade {
    opacity: 0; transform: translateY(8px);
    transition: opacity var(--t-normal, .35s) cubic-bezier(.32,.72,0,1),
                transform var(--t-normal, .35s) cubic-bezier(.32,.72,0,1);
}
.empty-state {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 4rem 2rem;
}
.empty-state__icon {
    width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: rgba(200,168,88,.2);
    border: 1px solid rgba(200,168,88,.08); border-radius: 50%;
    background: rgba(200,168,88,.02);
    margin-bottom: 1.5rem;
    animation: emptyPulse 3s ease-in-out infinite;
}
@keyframes emptyPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200,168,88,.04); }
    50% { box-shadow: 0 0 0 12px rgba(200,168,88,.02); }
}
.empty-state__title {
    font-family: var(--font-display, 'Cinzel'); font-size: clamp(.9rem, 2vw, 1.15rem);
    letter-spacing: .15em; text-transform: uppercase;
    color: var(--text-primary, #d4d0c8); margin-bottom: .5rem;
}
.empty-state__desc {
    font-family: var(--font-body); font-size: .9rem; line-height: 1.7;
    color: var(--text-dim, #807c74); max-width: 400px; margin-bottom: 1.5rem;
}
.empty-state__cta {
    font-family: var(--font-label); font-size: .55rem; letter-spacing: .2em;
    text-transform: uppercase; text-decoration: none;
    color: var(--crimson, #e0607a); padding: .65em 2em;
    border: 1px solid rgba(184,68,90,.2); border-radius: var(--radius-btn, 8px);
    transition: all var(--t-normal, .35s) cubic-bezier(.32,.72,0,1);
}
.empty-state__cta:hover {
    background: rgba(184,68,90,.08); border-color: rgba(184,68,90,.4);
    box-shadow: 0 0 20px rgba(184,68,90,.06);
}
.empty-state--gold .empty-state__icon {
    color: rgba(200,168,88,.25);
    border-color: rgba(200,168,88,.1);
}
.empty-state--crimson .empty-state__icon {
    color: rgba(184,68,90,.2);
    border-color: rgba(184,68,90,.08);
    background: rgba(184,68,90,.02);
    animation-name: emptyPulseCrimson;
}
@keyframes emptyPulseCrimson {
    0%, 100% { box-shadow: 0 0 0 0 rgba(184,68,90,.04); }
    50% { box-shadow: 0 0 0 12px rgba(184,68,90,.02); }
}
.content-fade.loaded { opacity: 1; transform: translateY(0); }
