:root[data-edition="esche"] {
 color-scheme: dark;
 --bg: #101c1b;
 --panel: #172a27;
 --panel2: #223832;
 --line: #4d6250;
 --muted: #c5cfc0;
 --accent: #e7bf79;
 --ink: #f3eddf;
 color: var(--ink);
 background: var(--bg);
}

:root[data-edition="brainroot"] {
 color-scheme: dark;
 --bg: #20150f;
 --panel: #322118;
 --panel2: #42291c;
 --line: #694633;
 --muted: #d9beb1;
 --accent: #ffbf5d;
 --ink: #fff0dd;
 color: var(--ink);
 background: var(--bg);
}

[data-edition="esche"] :is(.topbar, .legal-footer),
[data-edition="brainroot"] :is(.topbar, .legal-footer) {
 background: var(--bg);
 border-color: var(--line);
}

.homepage .sibling-hero {
 min-height: clamp(385px, 55vw, 680px);
 display: flex;
 align-items: center;
 padding: 42px clamp(24px, 5vw, 72px);
}

[data-edition="esche"] .homepage .esche-hero {
 background:
  linear-gradient(110deg, #071514ee, #071514a1 38%, #07151424 80%),
  url("/assets/esche/fjord.webp") 58% center / cover no-repeat #182822;
}

[data-edition="brainroot"] .homepage .brainroot-hero {
 position: relative;
 isolation: isolate;
 background: radial-gradient(ellipse at 63% 46%, #6e3d21 0%, #392119 52%, #20150f 100%);
}

.brainroot-hero .brainroot-hero-lord {
 object-fit: contain;
 position: absolute;
 right: 1%;
 bottom: 4%;
 width: min(60%, 440px);
 height: auto;
 z-index: -1;
 filter: drop-shadow(0 12px 24px #1e1009b0);
}

.sibling-hero h1 {
 max-width: 8ch;
 line-height: .96;
 font-size: clamp(48px, 7vw, 108px);
 text-wrap: balance;
}

[data-edition="esche"] .sibling-hero h1 {
 color: #ffedc4;
}

[data-edition="brainroot"] .sibling-hero h1 {
 color: #ffd486;
}

.sibling-hero p {
 max-width: 340px;
 color: #f7e8d5;
 font-size: 1.04rem;
}

.brainroot-hero :is(h1, p) {
 text-shadow: 0 2px 10px #21120d, 0 0 24px #21120d;
}

[data-edition="esche"] :is(.account-wrap, .trade-sidebar, .dashboard .panel, .roll-popup),
[data-edition="brainroot"] :is(.account-wrap, .trade-sidebar, .dashboard .panel, .roll-popup) {
 border-color: var(--line);
 background: var(--panel);
}

[data-edition="esche"] :is(button.primary, .tutorial-video-link),
[data-edition="brainroot"] :is(button.primary, .tutorial-video-link) {
 color: #221a10;
 background: var(--accent);
 border-color: var(--accent);
}

[data-edition="esche"] :is(.trade-table, .trade-shell) {
 background: radial-gradient(ellipse at 50% 32%, #253c33, #142521 74%);
}

[data-edition="esche"] .trade-board image[href*="/assets/tiles/"] {
 filter: saturate(.65) contrast(1.09);
}

[data-edition="brainroot"] :is(.trade-table, .trade-shell) {
 background: radial-gradient(ellipse at 50% 32%, #503627, #21150f 74%);
}

[data-edition="esche"] :is(.trade-left, .trade-right, .trade-shell details),
[data-edition="brainroot"] :is(.trade-left, .trade-right, .trade-shell details) {
 border-color: var(--line);
}

@media(max-width: 720px) {
 .homepage .sibling-hero {
  min-height: 350px;
  padding: 36px 24px;
 }

 .sibling-hero h1 {
  font-size: clamp(45px, 13vw, 74px);
 }
}

:root[data-edition="brainroot"]{--bg:#14282d;--panel:#1c343a;--panel2:#233f45;--line:#365057;--muted:#a0b4b6;--accent:#e9bd79;--ink:#e8eeeb;background:var(--bg);color:var(--ink)}
[data-edition="brainroot"] :is(.trade-table,.trade-shell){background:radial-gradient(ellipse at 50% 32%,#24434a,#14282d 74%)}
