/* Autumn theme shared by the dashboard, practice relay, and treasury. */
body.relay-site {
  color-scheme:dark;
  --bg:#190f0c;
  --sheet:#281913;
  --line:#64402d;
  --cream:#fff2dc;
  --muted:#e0bea4;
  --faint:#c9a78d;
  --orange:#ffad72;
  --sage:#d1d79c;
  background:radial-gradient(ellipse at 78% 4%,#44231a,transparent 38rem),var(--bg);
}
.relay-site .mast,.market-sidebar {background:#21130f}
.relay-site .wordmark img {box-shadow:0 0 0 1px #ba754b}
.relay-site .quiet-button,.relay-site dialog input {
  background:#372117;
  color:var(--cream);
  border-color:#8d5b3f;
}
.relay-site .gust {
  color:#fff7e8;
  background:#a83220;
  border:1px solid #e87848;
  box-shadow:0 4px 13px #210a07a0;
}
.relay-site .gust:disabled {color:#ead2bf;background:#55392d;border-color:#7b5140}
.relay-site .hero h1 em,.relay-site .hero .eyebrow,.market-intro .market-kicker {color:var(--orange)}
.relay-site .relay-story,.relay-site .relay-treasury {background:#332017}
.relay-site .archive-top .eyebrow {color:var(--orange)}
.relay-site .log-row {border-color:var(--line)}
.relay-site .flight-panel {border-color:#926243}
.relay-site .practice-hero .scene {background-position:center 53%}
.market-sidebar nav a[aria-current],.market-sidebar nav a:hover {
  background:#46251a;border-color:#915032;color:#ffc48f;
}
.market-site .relay-hero {
  position:relative;isolation:isolate;overflow:hidden;
  margin:clamp(14px,3vw,32px) 0 0;padding:clamp(22px,4vw,56px);
  min-height:clamp(445px,40vw,610px);border:1px solid #815438;border-radius:14px;
  background:#392018;
}
.market-site .relay-hero::before {
  position:absolute;content:"";inset:0;z-index:-1;
  background:linear-gradient(90deg,#21100eea 0%,#2c140fe0 24%,#30171981 49%,#28100b14 100%),
    url("/assets/autumn-valley.jpg") center / cover no-repeat;
}
.market-site .relay-hero .hero p {color:#f5d7bc}
.market-site .relay-hero .hero .market-kicker {color:#ffba82}
.market-site .market-intro h1 {color:#fff1d8;line-height:1.13;font-size:clamp(40px,4.7vw,75px);text-shadow:0 5px 23px #28130ddd}
.market-site .market-intro h1 em {color:#ffb77f}
.market-site .relay-hero .flight-panel {
  background:#26150fd9;border-color:#d8a97972;
  box-shadow:0 16px 38px #10040270;
}
.market-site .flight-panel .section-bar {background:#281710d9}
.market-site .market-scene {
  height:clamp(260px,25vw,395px);
  background:#442313 url("/assets/autumn-valley.jpg") center 54% / cover no-repeat;
}
.market-site .market-instruments {background:#24140f}
.market-site .market-instruments dd {color:#fff2dc}
.market-site h2 {color:#ffe6c8}
.market-site .market-steps li,.market-site .market-explainer>div,.market-site .network-panel {
  background:linear-gradient(150deg,#342016,#261711);
}
.market-site .fee-flow {background:#3e2419;border-color:#8a593b}
.market-site .flow-source strong,.market-site .flow-branches>div {border-color:#906044}
.market-site .flow-branches {border-color:#9b6848}
.market-site .fee-flow .flow-note {color:#efd1b6}
@media(max-width:1000px) {
  .market-site .relay-hero {grid-template-columns:1fr}
  .market-site .relay-hero::before {background-image:linear-gradient(180deg,#21100eea 0%,#2c140fa6 48%,#2c130d72 100%),url("/assets/autumn-valley.jpg")}
}
@media(max-width:610px) {
  .market-site .relay-hero {padding:17px;gap:20px}
  .market-site .market-scene {height:230px}
  .market-site .market-intro h1 {font-size:clamp(38px,10.5vw,62px)}
  .market-site .market-steps li,.market-site .market-explainer>div {padding:12px}
}

.market-sidebar {display:flex;flex-direction:column}
.sidebar-actions {display:grid;gap:8px;margin-top:auto;padding-top:28px}
.market-site .sidebar-action {
  display:flex;align-items:center;gap:8px;min-height:38px;width:100%;
  padding:7px 10px;border:1px solid var(--line);border-radius:6px;
  background:#332017;color:#ffe4c9;text-decoration:none;font-size:.84rem;text-align:left;
}
.sidebar-action span:last-child {margin-left:auto}
.market-site #sidebar-ca {font-family:var(--mono)}
.market-site #sidebar-ca:disabled {color:var(--muted)}
#sidebar-ca-status:not(:empty) {padding-inline:2px;color:var(--muted);font-size:.75rem}
@media(max-width:900px) {
  .sidebar-actions {grid-template-columns:max-content max-content;align-items:center;padding-top:9px}
  #sidebar-ca-status {grid-column:1/-1}
  #sidebar-ca-status:empty {display:none}
}
