/* SW5E Tables page. Same Holo Red look as the SW5E Shop (sw5eshop/index.html), desktop layout:
   sheets on the left, the table in the middle, rolling and history on the right. */

:root {
  --bg: #0a0808;
  --bg-panel: #150f10;
  --bg-panel-2: #1e1517;
  --border: #3d2226;
  --text: #f0e4e5;
  --text-dim: #a3898c;
  --accent: #c40f0f;
  --accent-dim: #7a0c0c;
  --accent2: #ff3b4e;
  --good: #3ddc84;
  --warn: #e0b34f;
  --radius: 8px;
  --font-display: "Russo One", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --text-mid: #d3c0c2;
  --hdr: 68px;
  --side: 270px;
  --rail: clamp(360px, 26vw, 460px);
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scrollbar-color: var(--border) var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
}
button, input { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- header ---------- */

.gm-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--hdr);
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 28px;
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.gm-brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.gm-brand-name {
  font: 1.35rem/1 var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.gm-page-name { margin: 0; padding-left: 26px; border-left: 1px solid var(--border); font-size: 1.25rem; font-weight: 700; }
.gm-credit { margin: 0; font-size: 0.95rem; color: var(--text-dim); }
.gm-credit b { color: var(--text); font-weight: 500; }
.gm-topnav { margin-left: auto; display: flex; gap: 6px; }
.gm-topnav a {
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--text-dim);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.gm-topnav a:hover { color: var(--text); background: var(--bg-panel-2); }

/* ---------- three columns ---------- */

.gm-app {
  flex: 1;
  display: grid;
  grid-template-columns: var(--side) minmax(0, 1fr) var(--rail);
  align-items: start;
}
.gm-h {
  margin: 0 0 12px;
  font: 1.05rem/1.2 var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- left: the sheet list ---------- */

.gm-side {
  position: sticky;
  top: var(--hdr);
  height: calc(100vh - var(--hdr));
  overflow-y: auto;
  padding: 22px 16px 24px 18px;
  border-right: 1px solid var(--border);
}
.gm-sheets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.gm-sheet {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: none;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.gm-sheet:hover { background: var(--bg-panel-2); border-color: var(--border); }
.gm-sheet em {
  flex: none;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-mid);
  font-variant-numeric: tabular-nums;
}
.gm-sheet[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.gm-sheet[aria-current="true"] em { color: rgba(255, 255, 255, 0.9); }

/* Loot Tables leads the list, with a rule under it, and has its own look. */
.gm-sheets li:first-child { margin-bottom: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.gm-sheet.is-loot {
  min-height: 56px;
  background: var(--bg-panel-2);
  border-color: var(--accent-dim);
  font-size: 1.22rem;
  font-weight: 700;
}
.gm-sheet.is-loot em { color: var(--text); }
.gm-sheet.is-loot:hover { border-color: var(--accent2); }
.gm-sheet.is-loot[aria-current="true"] { background: var(--accent); border-color: var(--accent2); }

/* A dot marks the sheets and menu tables the roll on screen went through. It sits in the corner,
   out of the text, so a long name can never push it onto a second line. */
.gm-sheet, .gm-menu-item { position: relative; }
.gm-sheet.has-hit::after, .gm-menu-item.has-hit::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent2);
}
.gm-menu-item.has-hit::after { top: 4px; right: 4px; }
.gm-sheet[aria-current="true"].has-hit::after, .gm-menu-item[aria-current="true"].has-hit::after { background: #fff; }

/* ---------- middle: controls, table ---------- */

.gm-center { padding: 20px 28px 48px; min-width: 0; }
.gm-controls { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.gm-search { flex: 1; max-width: 640px; }
.gm-search input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-panel-2);
  color: var(--text);
  font-size: 0.95rem;
}
.gm-search input::placeholder { color: var(--text-dim); }
.gm-count { color: var(--text-dim); font-size: 0.85rem; white-space: nowrap; }

.gm-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; }
.gm-crumb { flex-basis: 100%; margin: 0; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); }
.gm-title { margin: 0; font: 1.6rem/1.2 var(--font-display); }
.gm-die {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-panel-2);
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}
.gm-stepper { margin-left: auto; display: flex; gap: 6px; }
.gm-mini {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-panel-2);
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
}
.gm-mini:hover:not(:disabled) { color: var(--text); }
.gm-mini:disabled { opacity: 0.4; cursor: default; }

/* Choosing a table: a menu of every table on the sheet when there are many, tabs when there are a few. */
.gm-headwrap { position: relative; }
.gm-browse {
  padding: 8px 14px;
  border: 1px solid var(--accent-dim);
  border-radius: 6px;
  background: var(--bg-panel-2);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}
.gm-browse:hover, .gm-browse[aria-expanded="true"] { border-color: var(--accent2); }
.gm-menu {
  position: absolute;
  z-index: 15;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 2px;
  padding: 18px 22px 4px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  column-width: 195px;
  column-gap: 24px;
}
.gm-menu-group { break-inside: avoid; margin-bottom: 18px; }
.gm-menu-head {
  margin: 0 0 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  font: 0.85rem/1.2 var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent2);
}
.gm-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  background: none;
  color: var(--text);
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
}
.gm-menu-item:hover { background: var(--bg-panel-2); }
.gm-menu-item[aria-current="true"] { background: var(--accent); color: #fff; font-weight: 700; }
.gm-menu-item em { flex: none; font-style: normal; font-size: 0.78rem; color: var(--text-mid); }
.gm-menu-item[aria-current="true"] em { color: rgba(255, 255, 255, 0.9); }

.gm-tablist { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.gm-tabchip {
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-panel-2);
  color: var(--text-mid);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
}
.gm-tabchip:hover { color: var(--text); }
.gm-tabchip[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }

.gm-notes, .gm-note, .gm-issue {
  margin: 0 0 12px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-dim);
}
.gm-notes ul { margin: 0; padding-left: 18px; }
.gm-issue { border-left: 3px solid var(--warn); }
.gm-issue b { color: var(--text); font-weight: 700; }

.gm-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.gm-table thead th {
  position: sticky;
  top: var(--hdr);
  z-index: 2;
  padding: 10px 12px;
  background: var(--bg-panel-2);
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
  color: var(--text-dim);
}
.gm-table thead th:first-child { border-top-left-radius: calc(var(--radius) - 1px); }
.gm-table thead th:last-child { border-top-right-radius: calc(var(--radius) - 1px); }
.gm-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  line-height: 1.45;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.gm-table tbody tr:last-child td { border-bottom: none; }
.gm-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.gm-table tbody tr[data-goto] { cursor: pointer; }
.gm-range {
  width: 92px;
  font: 0.95rem/1.45 var(--font-display);
  color: var(--accent2);
  white-space: nowrap;
}
.gm-main { font-weight: 500; }
.gm-where { width: 230px; font-size: 0.82rem; color: var(--text-dim); }
.gm-where b { display: block; color: var(--text); font-weight: 500; }
.gm-others { display: block; margin-top: 2px; font-weight: 400; color: var(--text-dim); }
.gm-stat { margin-left: 6px; font-weight: 700; color: var(--accent2); white-space: nowrap; }
.gm-detail { display: block; margin-top: 2px; font-size: 0.82rem; font-weight: 400; color: var(--text-dim); }
.gm-goto {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-panel-2);
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
}
.gm-goto:hover { color: var(--accent2); border-color: var(--accent2); }
.gm-goto.is-plain { cursor: default; }
.gm-goto.is-plain:hover { color: var(--text-dim); border-color: var(--border); }
.gm-unk { color: var(--text-dim); }
.gm-kv { margin: 6px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 3px 14px; font-size: 0.84rem; font-weight: 400; }
.gm-kv dt { color: var(--text-dim); }
.gm-kv dd { margin: 0; }
.gm-table tbody tr.is-hit { background: rgba(255, 59, 78, 0.12); }
.gm-table tbody tr.is-hit td:first-child { box-shadow: inset 3px 0 0 var(--accent2); }
.gm-table tbody tr.is-flash { animation: gm-flash 0.3s ease-out; }
.gm-none { padding: 28px 0; color: var(--text-dim); text-align: center; }

/* ---------- right: roll, result, history ---------- */

.gm-rail {
  position: sticky;
  top: var(--hdr);
  height: calc(100vh - var(--hdr));
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 20px 20px 0;
}
.gm-box {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.gm-roll-target { margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.gm-roll-name { font-weight: 700; }
.gm-roll-inputs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.gm-roll-inputs:empty { display: none; }
.gm-input { display: flex; flex-direction: column; gap: 4px; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); }
.gm-input input {
  width: 100%;
  min-width: 120px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--accent2);
  font-weight: 700;
  text-align: right;
}
.gm-roll-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}
.gm-sound { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.gm-sound-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-panel-2);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}
.gm-sound-btn:hover { border-color: var(--accent2); }
.gm-sound-btn[aria-pressed="true"] { color: var(--text-mid); }
.gm-sound-x { display: none; }
.gm-sound-btn[aria-pressed="true"] .gm-sound-x { display: inline; }
.gm-sound-btn[aria-pressed="true"] .gm-sound-wave { display: none; }
.gm-vol { flex: 1; min-width: 0; display: flex; }
.gm-vol input { width: 100%; margin: 0; accent-color: var(--accent2); cursor: pointer; }
.gm-vol input:disabled { opacity: 0.4; cursor: default; }
.gm-roll-btn:hover:not(:disabled) { background: var(--accent2); }
.gm-roll-btn:disabled { background: var(--bg-panel-2); color: var(--text-dim); cursor: default; }
.gm-roll-btn.is-rolling .gm-roll-icon { animation: gm-spin 0.65s cubic-bezier(0.2, 0.7, 0.3, 1); }

.gm-tabbox { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 0; }
.gm-tabs { flex: none; display: flex; gap: 6px; padding: 10px; border-bottom: 1px solid var(--border); }
.gm-tab {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-panel-2);
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.gm-tab:hover { color: var(--text); }
.gm-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.gm-badge {
  display: inline-block;
  min-width: 20px;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.72rem;
  text-align: center;
}
.gm-badge.is-bump { animation: gm-pop 0.22s ease-out; }
.gm-panel { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 16px; }
.gm-panel[hidden] { display: none; }
.gm-empty { margin: 0; padding: 24px 0; color: var(--text-dim); font-size: 0.88rem; text-align: center; }
/* Until the first roll, Azrael stands at the bottom of the empty Result panel with a red glow behind him. */
#panel-result:has(.gm-empty) {
  background:
    url("../../assets/img/art/cut/azrael.webp") no-repeat center bottom 16px / auto min(46%, 300px),
    radial-gradient(70% 38% at 50% 100%, rgba(196, 15, 15, 0.3), rgba(196, 15, 15, 0) 72%);
}
.gm-viewing { margin: 0 0 14px; font-size: 0.78rem; color: var(--text-dim); }

/* A roll: one block per table the roll went through. */
.gm-step { display: flex; flex-direction: column; gap: 8px; }
.gm-step-top { display: flex; align-items: center; gap: 12px; }
.gm-face {
  flex: none;
  width: calc(var(--digits, 2) * 0.8em + 26px);
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent-dim);
  border-radius: 10px;
  background: var(--bg-panel-2);
  font: 1.5rem/1 var(--font-display);
  color: #fff;
}
.gm-step-id { min-width: 0; flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.gm-step-table { font-size: 0.92rem; font-weight: 700; }
.gm-view {
  margin-left: auto;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-panel-2);
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
}
.gm-view:hover { color: var(--accent2); border-color: var(--accent2); }
.gm-breakdown { margin: 0; flex-basis: 100%; font-size: 0.78rem; color: var(--text-dim); }
.gm-step-text { margin: 0; font-size: 1.02rem; font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }
.gm-step-sub { margin: 0; font-size: 0.84rem; line-height: 1.5; color: var(--text-dim); }
.gm-fields { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; font-size: 0.84rem; line-height: 1.45; }
.gm-fields dt { color: var(--text-dim); }
.gm-fields dd { margin: 0; overflow-wrap: anywhere; }
.gm-lookup {
  align-self: flex-start;
  margin-top: 4px;
  padding: 7px 14px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.gm-lookup:hover { background: var(--accent2); color: #fff; }
.gm-dice {
  display: inline-block;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--bg-panel-2);
  color: var(--accent2);
  font-weight: 700;
  white-space: nowrap;
}
.gm-children {
  margin: 8px 0 0 25px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gm-reveal { display: flex; flex-direction: column; gap: 6px; }
.gm-reveal, .gm-view, .gm-breakdown { transition: opacity 0.16s ease, transform 0.16s ease; }

/* While the dice tumble, the face jitters and the answer stays hidden. The whole roll
   settles within about 0.7s and the last pop ends before 0.9s. */
.gm-step.is-rolling > .gm-reveal,
.gm-step.is-rolling > .gm-step-top .gm-view,
.gm-step.is-rolling > .gm-step-top .gm-breakdown { opacity: 0; transform: translateY(4px); }
.gm-step.is-rolling > .gm-step-top .gm-face {
  border-color: var(--accent2);
  box-shadow: 0 0 14px rgba(255, 59, 78, 0.35);
  animation: gm-jolt 0.1s steps(2) infinite alternate;
}
.gm-step.is-settled > .gm-step-top .gm-face { animation: gm-pop 0.22s ease-out; }

/* History */
.gm-hist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.gm-hist-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: none;
  text-align: left;
  cursor: pointer;
}
.gm-hist li:last-child .gm-hist-item { border-bottom: none; }
.gm-hist-item:hover { background: rgba(255, 255, 255, 0.025); }
.gm-hist-item[aria-current="true"] { background: var(--bg-panel-2); box-shadow: inset 3px 0 0 var(--accent2); }
.gm-hist-item.is-new { animation: gm-slide 0.16s ease-out; }
.gm-hface {
  flex: none;
  width: calc(var(--digits, 2) * 0.8em + 20px);
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent-dim);
  border-radius: 8px;
  background: var(--bg-panel-2);
  font: 1.05rem/1 var(--font-display);
}
.gm-hist-text { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.gm-hist-top { display: flex; align-items: baseline; gap: 8px; font-size: 0.85rem; }
.gm-hist-top b { font-weight: 700; }
.gm-hist-top time { margin-left: auto; flex: none; font-size: 0.72rem; color: var(--text-dim); }
.gm-hist-sum {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-dim);
}
.gm-hist-clear {
  width: 100%;
  margin-top: 14px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: none;
  color: var(--text-dim);
  font-size: 0.8rem;
  cursor: pointer;
}
.gm-hist-clear:hover { color: var(--text); border-color: var(--text-dim); }

.gm-footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 28px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.6;
  text-align: center;
}

@keyframes gm-spin { from { transform: rotate(0); } to { transform: rotate(540deg); } }
@keyframes gm-jolt { from { transform: rotate(-5deg); } to { transform: rotate(5deg) translateY(-1px); } }
@keyframes gm-pop { 0% { transform: scale(1.3); background: var(--accent); } 100% { transform: scale(1); } }
@keyframes gm-flash { from { background: rgba(255, 59, 78, 0.5); } to { background: rgba(255, 59, 78, 0.12); } }
@keyframes gm-slide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .gm-step.is-rolling > .gm-step-top .gm-face,
  .gm-step.is-settled > .gm-step-top .gm-face,
  .gm-roll-btn.is-rolling .gm-roll-icon,
  .gm-badge.is-bump,
  .gm-hist-item.is-new,
  .gm-table tbody tr.is-flash { animation: none; }
  .gm-reveal, .gm-view, .gm-breakdown { transition: none; }
}

/* The site is built for desktop. This only keeps a narrow window from breaking the layout. */
@media (max-width: 1000px) {
  :root { --side: 230px; --rail: 320px; }
  .gm-credit, .gm-topnav { display: none; }
}
