:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --card: #fbfaf5;
  --ink: #252b2c;
  --muted: #646967;
  --navy: #1a2630;
  --brass: #b59a61;
  --line: #d7d4c9;
  --rail: 230px;
  --serif:
    'Baskerville Old Face', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
  font: 16px var(--sans);
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image: url('/paper.svg');
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #a6813f;
  outline-offset: 3px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
}
svg {
  flex-shrink: 0;
}
button svg {
  pointer-events: none;
}
button,
a,
input,
textarea,
select {
  transition:
    background-color 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
p {
  line-height: 1.55;
}
button {
  border: 0;
}
a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  left: 10px;
  top: -80px;
  z-index: 9;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 5px;
}
#rail {
  width: var(--rail);
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 5;
  background: #19252d url('/paper.svg');
  color: #dbe0dd;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #121e26;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #56616a transparent;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 36px 24px 31px;
  text-decoration: none;
  color: #f5eddb;
}
.compass {
  width: 47px;
  height: 47px;
  color: #d9bf88;
  flex: none;
}
.brand-name {
  font: 26px/0.94 var(--serif);
  letter-spacing: -0.75px;
}
.brand-name small {
  display: block;
  color: #cabb9d;
  font: 10px/1.4 var(--sans);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 8px;
}
.rail-nav {
  padding: 0 15px;
}
.nav-group {
  margin: 15px 12px 11px;
  color: #abb0ae;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 1.65px;
  text-transform: uppercase;
}
.nav-group.second {
  border-top: 1px solid #374148;
  margin: 23px 9px 10px;
  padding: 23px 3px 0;
}
.nav-link {
  color: #cdd2d2;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.3;
  min-height: 41px;
}
.nav-link svg {
  color: #aeb8b8;
}
.nav-link:hover {
  background: #26343d;
  color: white;
}
.nav-link.active {
  background: #354046;
  border-color: #4c514c;
  color: #f4e6c6;
}
.nav-link.active svg {
  color: #e4c68a;
}
.rail-bottom {
  margin-top: auto;
  padding: 28px 24px 21px;
}
.rail-rule {
  height: 1px;
  background: #424a4e;
  position: relative;
  margin-bottom: 12px;
}
.rail-bottom .nav-link {
  margin: 0 -7px 10px;
}
.sys {
  font-size: 0.76rem;
  color: #b5c0c1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a98f59;
  flex: none;
}
.dot.online {
  background: #8fb295;
}
.workspace {
  margin-left: var(--rail);
  min-height: 100vh;
}
.topbar {
  height: 63px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(25px, 3.6vw, 64px);
  gap: 14px;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.82rem;
}
.crumb span,
.crumb i {
  color: #747871;
}
.crumb i {
  font-style: normal;
  color: #aba99d;
}
.crumb strong {
  font-weight: 500;
}
.tools-btn,
.icon-btn {
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.tools-btn {
  font-size: 0.82rem;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fbfaf5;
}
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  flex: none;
}
.icon-btn:hover,
.tools-btn:hover {
  background: #eae7dc;
}
.mobile-only,
.scrim {
  display: none;
}
main {
  max-width: 1580px;
  margin: auto;
  padding: 32px clamp(25px, 3.6vw, 64px) 54px;
  outline: none;
}
.pagehead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
}
.pagehead h1 {
  font-size: clamp(2.6rem, 3.55vw, 4.1rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}
.pagehead p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.97rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid #cecbbf;
  border-radius: 5px;
  background: var(--card);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  min-height: 38px;
}
.btn:hover {
  background: #eeece2;
  border-color: #a8a699;
}
.btn.primary {
  background: var(--navy);
  color: #f4f0e4;
  border-color: var(--navy);
}
.btn.primary:hover {
  background: #34434c;
}
.btn.gold {
  background: #e5cea0;
  border-color: #e5cea0;
  color: #282b29;
}
.btn.gold:hover {
  background: #f2dcb1;
}
.btn.glass {
  background: #202e38b8;
  color: #f0eada;
  border-color: #788184;
}
.btn.glass:hover {
  background: #35424b;
}
.btn.small {
  padding: 6px 11px;
  min-height: 33px;
  font-size: 0.82rem;
}
.btn.quiet,
.text-btn {
  border: 0;
  background: transparent;
  padding: 6px 1px;
  color: #555e59;
  font-size: 0.85rem;
}
.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.text-btn:hover {
  text-decoration: underline;
}
.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.kicker {
  font: 600 0.71rem/1.4 var(--sans);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 9px;
  background: #182630 url('/art/roulette.webp') right center/cover no-repeat;
  min-height: 292px;
  display: flex;
  align-items: center;
  border: 1px solid #34434a;
  box-shadow: 0 3px 9px #20241a0c;
  color: #f4eddf;
}
.hero:after {
  content: '';
  z-index: -1;
  position: absolute;
  inset: 9px;
  border: 1px solid #d2c1994f;
  border-radius: 3px;
  pointer-events: none;
}
.hero-inside {
  padding: 32px clamp(24px, 3.1vw, 51px);
  width: 59%;
  max-width: 670px;
}
.hero .kicker {
  color: #dfc79a;
  margin-bottom: 13px;
}
.hero h2 {
  font-size: clamp(2.6rem, 4vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.047em;
}
.hero p {
  color: #e0e0d8;
  font-size: 0.98rem;
  line-height: 1.53;
  max-width: 380px;
  margin: 12px 0 23px;
  text-wrap: pretty;
}
.hero .btn {
  font-size: 0.86rem;
}
.hero .btn-row {
  gap: 9px;
}
.section {
  margin-top: 30px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.section-title h2,
.block-title {
  font: clamp(1.7rem, 2.1vw, 2.2rem) / 1.18 var(--serif);
  letter-spacing: -0.035em;
}
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.room-card {
  display: block;
  overflow: hidden;
  position: relative;
  border: 1px solid #cbc9bc;
  border-radius: 7px;
  text-decoration: none;
  background: var(--card);
  box-shadow: 0 2px 3px #29271e05;
  transition:
    transform 0.21s,
    box-shadow 0.21s;
}
.room-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px #28271e10;
}
.room-art {
  height: clamp(110px, 10vw, 167px);
  display: block;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.room-body {
  padding: 15px 17px 17px;
}
.room-body h3 {
  font-size: clamp(1.36rem, 1.75vw, 1.88rem);
  line-height: 1.13;
  letter-spacing: -0.035em;
  margin: 0 0 7px;
}
.room-body p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
.room-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.room-heading svg {
  color: #91836b;
}
.spark-strip {
  display: flex;
  align-items: center;
  gap: 17px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  margin-top: 28px;
}
.spark-emblem {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 1px solid #c7b994;
  color: #89703e;
  background: #f0ecde;
  flex: none;
}
.spark-copy {
  flex: 1;
}
.spark-copy .kicker {
  font-size: 0.66rem;
  letter-spacing: 1.7px;
  color: #796c50;
  margin-bottom: 4px;
}
.spark-copy p {
  font:
    italic 1.14rem/1.4 Georgia,
    serif;
}
.spark-strip .icon-btn {
  border: 1px solid var(--line);
}
.panel,
.empty,
.collection-tile,
.entry-row {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
}
.panel {
  padding: 22px;
}
.panel + .panel {
  margin-top: 16px;
}
.empty {
  padding: 28px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}
.empty > svg {
  color: #9d885a;
}
.empty h3 {
  font-size: 1.5rem;
}
.empty p,
.subtle,
.helper {
  color: var(--muted);
  font-size: 0.91rem;
}
.helper {
  font-size: 0.82rem;
  line-height: 1.5;
}
.empty .btn {
  margin-top: 7px;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.toolbar .push {
  margin-left: auto;
}
.seg {
  display: inline-flex;
  padding: 3px;
  background: #e9e6da;
  border-radius: 5px;
  gap: 2px;
}
.seg button {
  background: transparent;
  color: #5e635e;
  border-radius: 3px;
  padding: 7px 12px;
  font-size: 0.85rem;
}
.seg button[aria-pressed='true'] {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 3px #34342b24;
}
.section-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 14px;
}
.section-rule:after {
  content: '';
  height: 1px;
  background: var(--line);
  flex: 1;
}
.section-rule h2 {
  font-size: 1.6rem;
}
.wheels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.wheel-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.wheel-card.locked {
  border-color: #a18f66;
  background: #f3f0e5;
}
.wheel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 5px;
}
.wheel-head h3 {
  font: 600 0.78rem/1.2 var(--sans);
  text-transform: uppercase;
  letter-spacing: 1.15px;
}
.wheel-head .icon-btn {
  width: 29px;
  height: 29px;
  color: #716c5d;
}
.dial {
  width: 89px;
  height: 89px;
  position: relative;
  margin: 7px auto;
}
.dial svg {
  height: 100%;
  width: 100%;
  filter: drop-shadow(0 1px 1px #0002);
}
.dial:before {
  content: '';
  position: absolute;
  z-index: 1;
  left: calc(50% - 5px);
  top: -2px;
  border-top: 9px solid #926e34;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}
.spinning .dial svg {
  animation: turn 0.52s ease-in-out;
}
.wheel-card h4 {
  font-size: 1.27rem;
  line-height: 1.19;
  min-height: 2.4em;
  display: grid;
  place-items: center;
  margin: 4px 0 7px;
}
.wheel-card .text-btn {
  font-size: 0.8rem;
}
.brief {
  margin-top: 20px;
}
.brief p {
  white-space: pre-wrap;
  max-width: 85ch;
}
.brief .btn-row {
  margin-top: 16px;
}
.source {
  color: #586656;
  font-size: 0.79rem;
}
.editor-list {
  display: grid;
  gap: 7px;
}
.editor-row {
  padding: 7px 9px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.editor-row label,
.inline {
  display: flex;
  gap: 10px;
  align-items: center;
}
.editor-row input {
  accent-color: var(--navy);
  width: 17px;
  height: 17px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}
.field > span {
  line-height: 1.4;
}
.field :is(input, textarea, select),
.toolbar select,
.toolbar input,
.search-query {
  border-radius: 4px;
  border: 1px solid #c7c7b9;
  padding: 9px 11px;
  color: var(--ink);
  width: 100%;
  background: #fffefa;
  font-size: 0.91rem;
  font-weight: 400;
}
textarea {
  resize: vertical;
  min-height: 76px;
  line-height: 1.5;
}
select {
  appearance: none;
  background-image: url('/chevron.svg') !important;
  background-position: right 9px center !important;
  background-size: 14px !important;
  background-repeat: no-repeat !important;
  padding-right: 32px !important;
}
.toolbar select,
.toolbar input {
  width: auto;
  max-width: 100%;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 14px;
}
.form-error,
#save-warning {
  background: #f5e5d9;
  color: #813e25;
  padding: 9px 12px;
  font-size: 0.86rem;
}
.form-error:empty {
  display: none;
}
#save-warning {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
dialog {
  border: 1px solid #c5c0af;
  padding: 0;
  border-radius: 9px;
  background: var(--paper) url('/paper.svg');
  color: var(--ink);
  width: min(595px, calc(100% - 26px));
  max-height: 88dvh;
  box-shadow: 0 20px 85px #0b172842;
}
dialog::backdrop {
  background: #15232d75;
  backdrop-filter: blur(3px);
}
.dialog-head {
  padding: 18px 21px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
  font-size: 1.75rem;
  letter-spacing: -0.025em;
}
.dialog-body {
  padding: 20px 22px;
}
.dialog-body > .helper {
  margin-bottom: 15px;
}
.dialog-body .btn-row {
  margin: 10px 0;
}
.tool-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 18px 0;
}
.tool-line h3 {
  font-size: 1.25rem;
}
.tool-line p {
  font-size: 0.84rem;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 22px;
  left: calc(50% + var(--rail) / 2);
  transform: translate(-50%, 10px);
  background: #26363d;
  color: #fff8e7;
  padding: 11px 17px;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transition: 0.18s;
  z-index: 15;
  max-width: min(85vw, 570px);
  font-size: 0.89rem;
  box-shadow: 0 4px 18px #0002;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.practice {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  overflow: hidden;
  padding: 0;
}
.practice > img {
  width: 100%;
  height: 100%;
  min-height: 255px;
  object-fit: cover;
}
.practice-body {
  padding: 26px;
}
.practice-body blockquote {
  margin: 13px 0 21px;
  font: 1.55rem/1.37 var(--serif);
}
.entries,
.board-list {
  display: grid;
  gap: 10px;
}
.entry-row,
.collection-tile {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  width: 100%;
  text-align: left;
}
.entry-row:hover,
.collection-tile:hover {
  background: #eeece2;
}
.entry-row h3,
.collection-tile h3 {
  font-size: 1.32rem;
}
.entry-row p,
.collection-tile p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}
.entry-icon {
  background: #eeecdf;
  color: #75694f;
  width: 39px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 3px;
}
.entry-thumb {
  width: 45px;
  height: 46px;
  object-fit: cover;
  border-radius: 3px;
}
.entry-row time {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--muted);
}
.board-card,
.settings-group {
  margin: 15px 0;
}
.settings-group h2,
.board-card h3,
.panel h2 {
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.settings-group .helper {
  margin-bottom: 14px;
}
.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr);
  gap: 17px;
  align-items: start;
}
.settings-layout .panel {
  margin: 0 0 15px;
}
.project-tiles,
.gallery-grid,
.pins,
.results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr));
  gap: 12px;
}
.project-tiles {
  margin-bottom: 20px;
}
.pin-card {
  border: 1px solid var(--line);
  background: #fffdf6;
  border-radius: 5px;
  overflow: hidden;
  min-width: 0;
}
.pin-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #e7e5da;
  display: block;
}
.pin-card > div {
  padding: 10px;
}
.pin-card strong {
  font-weight: 550;
  font-size: 0.88rem;
}
.pin-card p {
  font-size: 0.8rem;
  color: var(--muted);
  overflow-wrap: anywhere;
  margin: 4px 0;
}
.pin-card .btn {
  margin-top: 5px;
}
.queries {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.query,
.chip {
  font-size: 0.79rem;
  background: #efeee4;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 5px 10px;
}
.query[aria-pressed='true'] {
  background: #293b43;
  border-color: #293b43;
  color: #f9f6eb;
}
.small-links {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 11px 0;
}
.small-links a,
.credit-links a {
  font-size: 0.83rem;
  color: #52655e;
}
.board-card .section-title {
  margin: 0;
}
.board-card .section-title h3 {
  margin: 0;
}
.stack {
  display: grid;
  gap: 12px;
}
.board-concept {
  white-space: pre-wrap;
}
.read-image {
  max-height: 320px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
}
.reading {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 14px 0;
}
.settings-status {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.84rem;
  margin: 5px 0 14px;
}
.credit-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.lede {
  font-family: var(--serif);
  font-size: 1.2rem;
}
.slide-in {
  animation: appear 0.25s ease-out;
}
@keyframes appear {
  from {
    opacity: 0.45;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes turn {
  from {
    transform: rotate(-550deg);
  }
  to {
    transform: rotate(0);
  }
}
@media (min-width: 1650px) {
  :root {
    --rail: 250px;
  }
  .hero {
    min-height: 333px;
  }
  .hero-inside {
    padding: 40px 48px;
  }
  .room-art {
    height: 175px;
  }
}
@media (max-width: 1150px) {
  :root {
    --rail: 202px;
  }
  .brand {
    margin-left: 17px;
    gap: 8px;
  }
  .brand-name {
    font-size: 24px;
  }
  .rail-nav {
    padding: 0 10px;
  }
  .hero-inside {
    width: 62%;
  }
  .hero {
    min-height: 266px;
  }
  .room-grid {
    gap: 12px;
  }
  .room-body {
    padding: 13px;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .room-body h3 {
    font-size: 1.4rem;
  }
}
@media (max-width: 860px) {
  :root {
    --rail: 180px;
  }
  .brand {
    margin: 29px 13px 22px;
    gap: 6px;
  }
  .brand .compass {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 22px;
  }
  .nav-link {
    font-size: 0.84rem;
    gap: 8px;
  }
  .hero-inside {
    width: 69%;
  }
  .hero {
    background-position: 62% center;
  }
  .room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-rooms .room-card:last-child {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 0.6fr 1fr;
  }
  .home-rooms .room-card:last-child img {
    height: 100%;
    max-height: 95px;
  }
  .home-rooms .room-card:last-child .room-body {
    align-self: center;
  }
  .wheels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-inside {
    padding: 25px;
  }
  .hero p {
    font-size: 0.92rem;
  }
  .practice {
    grid-template-columns: 1fr;
  }
  .practice > img {
    min-height: 0;
    height: 165px;
  }
}
@media (max-width: 680px) {
  :root {
    --rail: 0px;
  }
  .mobile-only {
    display: inline-flex;
  }
  #rail {
    width: 228px;
    transform: translateX(-100%);
    transition: transform 0.18s;
  }
  .nav-open #rail {
    transform: none;
  }
  .scrim:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: #18232c80;
    z-index: 4;
  }
  .topbar {
    height: 55px;
    padding: 0 15px;
    justify-content: flex-start;
  }
  .tools-btn {
    margin-left: auto;
  }
  .crumb {
    font-size: 0.78rem;
    gap: 8px;
  }
  main {
    padding: 23px 17px 40px;
  }
  .pagehead {
    margin-bottom: 19px;
    align-items: flex-start;
  }
  .pagehead h1 {
    font-size: 2.6rem;
  }
  .pagehead p {
    font-size: 0.89rem;
  }
  .pagehead > .btn {
    padding: 7px 10px;
    white-space: nowrap;
  }
  .hero {
    align-items: flex-end;
    min-height: 296px;
    background-position: 75% center;
  }
  .hero:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
      90deg,
      #17242df2 0%,
      #17242dcb 40%,
      #17242d26 100%
    );
  }
  .hero-inside {
    width: 86%;
    padding: 28px 21px;
  }
  .hero h2 {
    font-size: 2.8rem;
  }
  .hero p {
    max-width: 255px;
    font-size: 0.9rem;
  }
  .section {
    margin-top: 25px;
  }
  .room-grid {
    gap: 10px;
  }
  .room-art {
    height: 105px;
  }
  .room-body {
    padding: 11px;
  }
  .room-body p {
    font-size: 0.8rem;
  }
  .room-body h3 {
    font-size: 1.27rem;
  }
  .room-heading svg {
    display: none;
  }
  .section-title h2 {
    font-size: 1.65rem;
  }
  .spark-strip {
    gap: 10px;
  }
  .spark-copy p {
    font-size: 1rem;
  }
  .spark-emblem {
    width: 35px;
    height: 35px;
  }
  .panel {
    padding: 16px;
  }
  .wheels {
    gap: 8px;
  }
  .wheel-card {
    padding: 10px;
  }
  .wheel-card h4 {
    font-size: 1.12rem;
  }
  .dial {
    width: 72px;
    height: 72px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .toolbar .push {
    margin-left: 0;
  }
  .practice {
    padding: 0;
  }
  .settings-layout {
    display: block;
  }
  .dialog-body {
    padding: 16px;
  }
  .section-title {
    align-items: center;
  }
  .section-title .text-btn {
    font-size: 0.8rem;
  }
  .rail-bottom {
    margin-top: 20px;
  }
  .board-card .section-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .spark-strip > .icon-btn {
    width: 29px;
  }
  .brand {
    margin: 28px 20px;
  }
  .nav-link {
    font-size: 0.91rem;
  }
  .room-body p {
    line-height: 1.45;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (min-width: 681px) and (max-width: 920px) {
  :root {
    --rail: 0px;
  }
  .mobile-only {
    display: inline-flex;
  }
  #rail {
    width: 228px;
    transform: translateX(-100%);
    transition: transform 0.18s;
  }
  .nav-open #rail {
    transform: none;
  }
  .scrim:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: #18232c80;
    z-index: 4;
  }
  .topbar {
    justify-content: flex-start;
  }
  .tools-btn {
    margin-left: auto;
  }
  .room-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-rooms .room-card:last-child {
    display: block;
    grid-column: auto;
  }
  .home-rooms .room-card:last-child img {
    height: 110px;
    max-height: none;
  }
  .hero-inside {
    width: 62%;
  }
}
.section-title > a.text-btn {
  text-decoration: none;
}
.section-title > a.text-btn:hover {
  text-decoration: underline;
}
.brand {
  margin-inline: 18px;
  gap: 9px;
}
.brand-name {
  white-space: nowrap;
  font-size: 25px;
}
.brand-name small {
  white-space: nowrap;
  font-size: 9px;
  letter-spacing: 2px;
}
@media (min-width: 921px) and (max-width: 1150px) {
  .brand {
    margin-inline: 13px;
  }
  .brand .compass {
    width: 38px;
    height: 38px;
  }
  .brand-name {
    font-size: 23px;
  }
}
