/* AiValut: a dark slate screen with one blue accent, light data, green up and red down.
   The --amber names are kept from the first, amber-on-black look: --amber is now the accent. */
:root {
  --bg: #0a0d13;
  --panel: #10141c;
  --bar: #151a24;
  --bar-2: #1a2030;
  --line: #222a37;
  --line-2: #2d3747;
  --input: #0c1017;
  --hover: #182030;
  --amber: #5b9dff;
  --amber-2: #a9b8cc;
  --amber-dim: #34588f;
  --accent-soft: rgba(91, 157, 255, 0.14);
  --white: #e4e9f1;
  --muted: #7c879a;
  --up: #26c486;
  --down: #f2555f;
  --blue: #6cb2ff;
  --yellow: #f2c94c;
  --go: #3b82f6;
  --red-key: #d23a2a;
  --mono: "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
  --sans: "Inter", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --radius: 8px;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  background: var(--bg);
  color: var(--amber-2);
  font: 13px/1.4 var(--sans);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  overflow: hidden;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  font: inherit;
  cursor: pointer;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: #2a3342;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3a4558;
}
::-webkit-scrollbar-track {
  background: transparent;
}

/* top bar */
.top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  background: linear-gradient(180deg, #121722, #0e121a);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.logo {
  background: linear-gradient(135deg, #3b82f6, #7c5cff);
  color: #fff;
  font-weight: 700;
  padding: 3px 10px;
  letter-spacing: 0.01em;
  border-radius: 6px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* the site's mark (the favicon's A with its chart line) before the name */
.logo::before {
  content: "";
  width: 17px;
  height: 17px;
  background: url(/logo-mark.svg) center / contain no-repeat;
}
.sub {
  color: var(--muted);
  letter-spacing: 0.24em;
  font-size: 10.5px;
  font-weight: 600;
}
.gcmd {
  flex: 1;
  display: flex;
  min-width: 0;
}
.gcmd input,
.pcmd input {
  flex: 1;
  min-width: 0;
  background: var(--input);
  border: 1px solid var(--line-2);
  color: var(--white);
  font: 13px var(--mono);
  padding: 6px 10px;
  outline: none;
  text-transform: uppercase;
  border-radius: 6px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.gcmd input {
  border-radius: 6px 0 0 6px;
}
.gcmd input:focus,
.pcmd input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.gcmd input::placeholder,
.pcmd input::placeholder {
  color: #566074;
  text-transform: none;
}
.go {
  background: var(--go);
  color: #fff;
  border: 0;
  padding: 0 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 0 6px 6px 0;
}
.go:hover {
  background: #2f6fe0;
}
.clocks {
  display: flex;
  gap: 14px;
  color: var(--muted);
  flex: none;
  font-size: 12px;
}
.clocks b {
  color: var(--white);
  font-weight: 500;
}
.toplink {
  color: var(--amber-2);
  border: 1px solid var(--line-2);
  padding: 4px 10px;
  flex: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.toplink:hover {
  color: var(--white);
  border-color: var(--amber);
  text-decoration: none;
}
/* MACRO (link to the US macro dashboard) sits right before HELP */
#macroBtn + #helpBtn {
  margin-left: 6px;
}
/* MACRO stands out: grass green (not --up, which marks rising prices) */
#macroBtn {
  color: #0d1a0d;
  background: #4caf50;
  border-color: #4caf50;
}
#macroBtn:hover {
  color: #0d1a0d;
  background: #66c26a;
  border-color: #66c26a;
}

/* function keys strip */
.keys {
  display: flex;
  gap: 5px;
  padding: 6px 12px;
  border-bottom: 1px solid var(--line);
  background: #0d1118;
  overflow-x: auto;
  white-space: nowrap;
}
.key {
  border: 1px solid transparent;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--amber);
  background: var(--accent-soft);
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.key small {
  font-size: 9.5px;
  font-weight: 500;
  margin-right: 4px;
  opacity: 0.65;
}
.key.fn {
  background: var(--bar);
  color: var(--amber-2);
  border-color: var(--line);
}
.key.fn:hover,
.key:hover {
  background: var(--hover);
  color: var(--white);
}

/* panels: on a computer the panels sit in columns (.gcol); the bars between them (.vsplit, .hsplit) are dragged
   with the mouse to resize them, and ▾ in a panel's bar folds it down to its bar */
.grid {
  display: flex;
  padding: 6px;
  min-height: 0;
  min-width: 0;
}
.gcol {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
}
.grid .panel {
  flex: 1 1 0;
}
/* !important: the panel's dragged size is an inline flex-grow */
.grid .panel.collapsed {
  flex: none !important;
}
.vsplit,
.hsplit {
  flex: none;
  position: relative;
  z-index: 2;
}
.vsplit {
  width: 6px;
  cursor: col-resize;
}
.hsplit {
  height: 6px;
  cursor: row-resize;
}
.vsplit::after,
.hsplit::after {
  content: "";
  position: absolute;
  border-radius: 2px;
  background: transparent;
  transition: background 0.15s;
}
.vsplit::after {
  inset: 25% 2px;
}
.hsplit::after {
  inset: 2px 25%;
}
.vsplit:hover::after,
.hsplit:hover::after,
.vsplit.drag::after,
.hsplit.drag::after {
  background: var(--amber);
}
.hsplit.off {
  cursor: default;
  pointer-events: none;
}
body.resizing {
  user-select: none;
}
body.resizing.v {
  cursor: col-resize;
}
body.resizing.h {
  cursor: row-resize;
}
body.resizing .panel {
  pointer-events: none;
}
#keys [data-l].on {
  color: var(--white);
  border-color: var(--amber);
  background: var(--accent-soft);
}
.panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.panel.active {
  border-color: var(--amber-dim);
  box-shadow: 0 0 0 1px rgba(91, 157, 255, 0.18), 0 4px 18px rgba(0, 0, 0, 0.35);
}
.panel.max {
  position: fixed;
  inset: 72px 6px 30px 6px;
  z-index: 20;
}
.panel.collapsed > .pbody,
.panel.collapsed > .pfoot {
  display: none;
}
.pbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  background: var(--bar);
  border-bottom: 1px solid var(--line);
}
.pnum {
  background: var(--accent-soft);
  color: var(--amber);
  font-weight: 700;
  font-size: 11.5px;
  min-width: 22px;
  text-align: center;
  padding: 1px 6px;
  border-radius: 5px;
}
.pcmd {
  flex: 1;
  display: flex;
  min-width: 0;
}
.pcmd input {
  padding: 4px 8px;
  font-size: 12px;
}
.pbtn {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line-2);
  padding: 2px 8px;
  border-radius: 5px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.pbtn:hover {
  color: var(--white);
  border-color: var(--amber-dim);
  background: var(--hover);
}
.pbtn[data-a="fold"] {
  border-color: transparent;
  padding: 2px 5px;
  font-size: 11px;
}
.ptitle {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 5px 10px;
  background: var(--bar-2);
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
}
.panel.collapsed > .ptitle {
  border-bottom: 0;
}
.ptitle .fn {
  letter-spacing: 0.04em;
  color: var(--amber);
}
.ptitle .sec {
  font-weight: 400;
  color: var(--amber-2);
  overflow: hidden;
  text-overflow: ellipsis;
}
.pbody {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 8px 10px;
  position: relative;
}
.pfoot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 10px;
  border-top: 1px solid var(--line);
  background: #0e1219;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
}
.pfoot .src {
  overflow: hidden;
  text-overflow: ellipsis;
}
.pfoot .src a {
  color: var(--amber-2);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
}
.pfoot .src a:hover {
  color: var(--amber);
}

/* content */
.hint {
  color: var(--muted);
}
.err {
  color: var(--down);
}
.loading {
  color: var(--muted);
}
.loading::after {
  content: " ...";
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
h3.sect {
  margin: 12px 0 6px;
  color: var(--amber);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}
h3.sect:first-child {
  margin-top: 0;
}
table.t {
  width: 100%;
  border-collapse: collapse;
}
table.t th {
  text-align: right;
  color: var(--muted);
  font-weight: 600;
  font-size: 11.5px;
  padding: 4px 6px;
  border-bottom: 1px solid var(--line-2);
  position: sticky;
  top: -8px;
  background: var(--panel);
  white-space: nowrap;
}
table.t td {
  text-align: right;
  padding: 3px 6px;
  color: var(--white);
  white-space: nowrap;
  border-bottom: 1px solid rgba(34, 42, 55, 0.6);
}
table.t th.l,
table.t td.l {
  text-align: left;
}
table.t th.sortable {
  cursor: pointer;
  user-select: none;
}
table.t th.sortable:hover,
table.t th.sorted {
  color: var(--amber);
}
table.t tr:hover td {
  background: var(--hover);
}
table.t tr.click {
  cursor: pointer;
}
table.t td.lbl {
  color: var(--amber-2);
}
table.t td.wrap {
  white-space: normal;
}
.up {
  color: var(--up) !important;
}
.down {
  color: var(--down) !important;
}
.dim {
  color: var(--muted) !important;
}
.amber {
  color: var(--amber) !important;
}
.kv {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 2px 16px;
}
.kv .k {
  color: var(--muted);
}
.kv .v {
  color: var(--white);
}
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.para {
  color: var(--white);
  white-space: pre-wrap;
  margin: 0 0 8px;
}
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.tab {
  background: var(--bar);
  color: var(--amber-2);
  border: 1px solid var(--line-2);
  padding: 2px 9px;
  border-radius: 5px;
  font-size: 12px;
  transition: background 0.15s, color 0.15s;
}
.tab:hover {
  color: var(--white);
  background: var(--hover);
}
.tab.on {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}
/* the chart's option expiry button (first on the toolbar, blue: the user's request 2026-11-04) */
.tab.blue {
  background: #1f5fd1;
  border-color: #3b7bff;
  color: #fff;
}
.tab.blue:hover {
  background: #2c6fe6;
}
/* the chart's "Indicators" and "Lines" menus: checkboxes under the button */
.linesmenu {
  position: fixed;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 150px;
  padding: 6px 8px;
  background: var(--bar);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  font-size: 12px;
  color: var(--amber-2);
}
.linesmenu[hidden] {
  display: none;
}
.linesmenu label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 2px;
  cursor: pointer;
  white-space: nowrap;
}
.linesmenu label:hover {
  color: var(--white);
}
/* the top bar's group menus (Markets, News & Macro…): code, name, F-key */
.keymenu {
  min-width: 240px;
}
.keymenu button {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 6px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}
.keymenu button:hover {
  background: var(--hover);
  color: var(--white);
}
.keymenu b {
  min-width: 56px;
  color: var(--amber);
}
.keymenu small {
  margin-left: auto;
  opacity: 0.6;
}
.keysep {
  flex: none;
  width: 1px;
  margin: 2px 4px;
  background: var(--line-2);
}
.chartbox {
  position: absolute;
  inset: 34px 10px 8px 10px;
}
.news a {
  color: var(--white);
}
.news li {
  padding: 4px 0;
  border-bottom: 1px solid rgba(34, 42, 55, 0.7);
  list-style: none;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
}
.news ul {
  padding: 0;
  margin: 0;
}
.news .when {
  color: var(--muted);
}
.news .srcn {
  color: var(--muted);
}
.cmdlist td.l b {
  color: var(--amber);
  font-weight: 700;
}
.bar-pos {
  background: rgba(38, 196, 134, 0.22);
}
.bar-neg {
  background: rgba(242, 85, 95, 0.22);
}
.heat {
  padding: 2px 6px;
}

/* autocomplete */
.suggest {
  position: fixed;
  z-index: 50;
  background: #111622;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  max-height: 320px;
  overflow: auto;
  min-width: 360px;
  padding: 4px 0;
}
.suggest div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  padding: 4px 10px;
  cursor: pointer;
  color: var(--white);
}
.suggest div b {
  color: var(--amber);
}
.suggest div.secrow {
  grid-template-columns: 170px 1fr;
}
.suggest div.secrow b {
  color: var(--white);
  font-weight: 400;
}
.suggest .yk {
  color: var(--yellow);
  font-style: normal;
  font-weight: 700;
}
.suggest div.sel,
.suggest div:hover {
  background: var(--accent-soft);
}

/* ticker tape */
.tape {
  border-top: 1px solid var(--line);
  overflow: hidden;
  height: 24px;
  background: #0d1118;
  font-size: 12px;
}
.tape-run {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  padding: 4px 0;
  animation: tape 90s linear infinite;
}
.tape-run span b {
  color: var(--amber-2);
  font-weight: 600;
  margin-right: 6px;
}
@keyframes tape {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tape-run {
    animation: none;
  }
}

.toast {
  position: fixed;
  right: 14px;
  bottom: 36px;
  background: #151c2a;
  color: var(--white);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 10px 14px;
  z-index: 60;
  max-width: 420px;
}
.toast.err {
  color: var(--white);
  border-left-color: var(--down);
}

/* Tablets (iPad upright and lying down): no dragging; panels two across at half the screen's height, scrolling;
   in 1+3 the chart's panel across the full width on top. The columns step aside (display: contents), so the
   panels are laid out by the grid in their own order (app.js sets it). */
@media (max-width: 1200px) {
  .grid,
  .grid.two,
  .grid.lead {
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    /* a fixed height (not minmax), or the rows shrink to their minimum inside the scrolling grid */
    grid-auto-rows: max(320px, 48vh);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .grid.one {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }
  .gcol {
    display: contents;
  }
  .vsplit,
  .hsplit {
    display: none;
  }
  .grid .panel {
    order: var(--order, 0);
  }
  .grid.lead .panel.lead {
    grid-column: 1 / -1;
    grid-row: span 2;
  }
  .grid .panel.collapsed {
    align-self: start;
  }
  .clocks {
    display: none;
  }
  /* iPad Safari zooms into a field typed in under 16px */
  .gcmd input,
  .pcmd input,
  .wform input,
  .wform select {
    font-size: 16px;
  }
}
/* Phones: one panel under another, the chart tallest; the command line on its own row; inputs at 16px so the
   iPhone doesn't zoom in on them; a maximised panel takes the whole screen. */
@media (max-width: 760px) {
  .grid,
  .grid.two,
  .grid.lead {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .grid .panel {
    height: max(300px, 70vh);
  }
  .grid.lead .panel.lead {
    grid-column: auto;
    grid-row: auto;
    height: max(360px, 82vh);
  }
  .grid .panel.collapsed,
  .grid.lead .panel.lead.collapsed {
    height: auto;
  }
  .top {
    flex-wrap: wrap;
    gap: 6px 8px;
    padding: 6px;
  }
  .sub {
    display: none;
  }
  .gcmd {
    order: 3;
    flex-basis: 100%;
  }
  .toplink {
    margin-left: auto;
  }
  .gcmd input,
  .pcmd input,
  .wform input,
  .wform select {
    font-size: 16px;
  }
  .keys {
    padding: 5px 6px;
  }
  .key {
    padding: 6px 10px;
  }
  .pbtn {
    padding: 4px 9px;
  }
  .panel.max {
    inset: 0;
    border-radius: 0;
  }
  /* rows of buttons (ranges, studies, filters) in one line, swiped sideways, so the chart keeps the panel */
  .pbody .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pbody .tabs::-webkit-scrollbar {
    display: none;
  }
  .pbody .tab {
    flex: none;
  }
  .toast {
    left: 8px;
    right: 8px;
    max-width: none;
  }
}

/* workspace screens: W (watchlist) and ALRT (alerts) */
.wform {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
}
.wform input,
.wform select {
  background: var(--input);
  border: 1px solid var(--line-2);
  color: var(--white);
  font: 12px var(--mono);
  padding: 4px 8px;
  outline: none;
  border-radius: 5px;
}
.wform input:focus,
.wform select:focus {
  border-color: var(--amber);
}
.wform input.sec {
  text-transform: uppercase;
  width: 190px;
}
.wform input.lvl {
  width: 110px;
}
.wform button,
.xbtn {
  background: var(--bar-2);
  color: var(--amber-2);
  border: 1px solid var(--line-2);
  padding: 3px 10px;
  border-radius: 5px;
}
.xbtn {
  padding: 0 6px;
  color: var(--muted);
}
.xbtn:hover,
.wform button:hover {
  color: var(--white);
  border-color: var(--amber-dim);
}

@keyframes flash-up {
  from {
    background: rgba(38, 196, 134, 0.4);
  }
}
@keyframes flash-down {
  from {
    background: rgba(242, 85, 95, 0.4);
  }
}
.flash-up {
  animation: flash-up 1.2s ease-out;
}
.flash-down {
  animation: flash-down 1.2s ease-out;
}

/* the account in the top bar, and what a guest sees: the chart alone, an invitation to sign up under it */
.account {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.account {
  position: relative;
}
.account .who {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* the account menu under the e-mail: the news consent and sign out */
.amenu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  min-width: 260px;
  padding: 6px;
  background: #151c2a;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: 2px;
}
.amenu[hidden] {
  display: none;
}
.amenu-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border-radius: 6px;
  background: transparent;
  border: 0;
  color: var(--white);
  font: inherit;
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
}
.amenu-row:hover {
  background: var(--hover);
}
a.amenu-row {
  text-decoration: none;
}
.amenu-sep {
  height: 1px;
  margin: 4px 2px;
  background: var(--line-2);
}
.amenu-row input {
  accent-color: var(--go);
  margin: 0;
}
.account button.toplink {
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}
.toplink.primary,
.cta-btn.primary {
  background: var(--go);
  border-color: var(--go);
  color: #fff;
}
.toplink.primary:hover,
.cta-btn.primary:hover {
  background: #2f6fe0;
  color: #fff;
}
body.role-guest {
  grid-template-rows: auto 1fr auto;
}
body.role-guest .keys,
body.role-guest .gcmd,
body.role-guest .tape,
body.role-guest .pbar,
body.role-guest #helpBtn {
  display: none;
}
body.role-guest .top {
  justify-content: space-between;
}
.cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 6px 6px;
  padding: 14px 18px;
  border: 1px solid var(--amber-dim);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(124, 92, 255, 0.12));
  color: var(--amber-2);
}
.cta[hidden] {
  display: none;
}
.cta {
  flex-wrap: wrap;
}
/* the short description of the site for guests (and search engines), folded under the invitation */
.cta-about {
  flex-basis: 100%;
  order: 9;
  font-size: 12px;
  color: var(--amber-2);
}
.cta-about summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 11px;
}
.cta-about summary:hover {
  color: var(--white);
}
.cta-about p {
  margin: 8px 0 0;
  max-width: 1100px;
  line-height: 1.5;
}
.cta-about b {
  color: var(--white);
}
.cta-text b {
  color: var(--white);
}
.cta-text span {
  display: block;
  margin-top: 3px;
  color: var(--amber-2);
}
.cta-go {
  display: flex;
  gap: 8px;
  flex: none;
  margin-left: auto;
}
.cta-legal {
  flex: none;
  font-size: 11px;
}
.cta-legal a {
  color: var(--muted);
}
.cta-btn {
  padding: 9px 16px;
  border-radius: 7px;
  border: 1px solid var(--line-2);
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}
.cta-btn:hover {
  text-decoration: none;
  border-color: var(--amber);
}
@media (max-width: 760px) {
  .cta {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
  }
  .cta-about {
    flex-basis: auto;
  }
  .cta-go {
    margin-left: 0;
  }
  .cta-go .cta-btn {
    flex: 1;
    text-align: center;
  }
  body.role-guest .account .toplink:not(.primary) {
    display: none;
  }
  body.role-guest {
    overflow: auto;
    grid-template-rows: auto auto auto;
  }
  .account .who {
    max-width: 130px;
  }
}

/* The cookie question (consent.js): a bar at the bottom, both answers the same size. "Cookie settings" links show
   only when Google tags are on (consent.js marks <html> with .has-tags). */
.cookies {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 48px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
  padding: 18px 22px;
  background: linear-gradient(135deg, #1b2a45, #221d3d);
  color: var(--white);
  border: 1px solid var(--amber);
  border-radius: 12px;
  box-shadow: 0 0 0 100vmax rgba(5, 8, 13, 0.35), 0 16px 40px rgba(0, 0, 0, 0.6);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
}
.cookies p {
  margin: 0;
}
.cookies a {
  color: var(--amber);
}
.cookies-go {
  display: flex;
  gap: 8px;
  flex: none;
}
.cookies .cta-btn {
  min-width: 96px;
  padding: 10px 18px;
  background: var(--bar-2);
  border-color: var(--amber-dim);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.cookies .cta-btn:hover {
  background: var(--hover);
}
html:not(.has-tags) [data-cookies] {
  display: none;
}
@media (max-width: 600px) {
  .cookies {
    flex-direction: column;
    align-items: stretch;
  }
  .cookies-go .cta-btn {
    flex: 1;
  }
}
