:root {
  color-scheme: light;
  --bg: oklch(0.98 0.008 85);
  --surface: rgba(255, 253, 247, 0.92);
  --surface-alt: rgba(246, 240, 226, 0.9);
  --surface-strong: rgba(243, 235, 218, 0.96);
  --text: oklch(0.28 0.02 40);
  --text-soft: oklch(0.5 0.015 50);
  --text-faint: oklch(0.62 0.012 60);
  --line: rgba(178, 143, 58, 0.16);
  --line-strong: rgba(178, 143, 58, 0.3);
  --accent: oklch(0.68 0.15 72);
  --accent-strong: oklch(0.6 0.17 68);
  --success: oklch(0.7 0.12 145);
  --error: oklch(0.62 0.18 24);
  --shadow: 0 18px 52px rgba(95, 76, 26, 0.08);
  --shadow-soft: 0 10px 28px rgba(95, 76, 26, 0.06);
  --surface-tint: rgba(255, 252, 246, 0.88);
  --radius-lg: 1.35rem;
  --radius-md: 1rem;
  --radius-sm: 0.82rem;
  --max-width: 32.5rem;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0d0f;
  --surface: rgba(21, 21, 24, 0.92);
  --surface-alt: rgba(28, 28, 31, 0.9);
  --surface-strong: rgba(33, 33, 37, 0.96);
  --text: #f4f0e6;
  --text-soft: #b7af9c;
  --text-faint: #817969;
  --line: rgba(201, 160, 61, 0.14);
  --line-strong: rgba(201, 160, 61, 0.28);
  --accent: #d1a646;
  --accent-strong: #e5bb5d;
  --success: #86b87b;
  --error: #df7c5b;
  --shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.22);
  --surface-tint: rgba(22, 22, 24, 0.84);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(219, 183, 96, 0.12), transparent 26%),
    radial-gradient(circle at bottom left, rgba(180, 150, 76, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 28%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 180ms ease, color 160ms ease;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
}

img {
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.page-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0.9rem 1rem 3.5rem;
  position: relative;
  z-index: 1;
}

.bg-decoration {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
  transform: translateZ(0);
}

.bg-circle {
  position: absolute;
  border-radius: 999px;
  will-change: transform;
}

.bg-circle:nth-child(1) {
  width: 22rem;
  height: 22rem;
  top: -7rem;
  right: -4rem;
  background: radial-gradient(circle, rgba(219, 183, 96, 0.12), transparent 68%);
}

.bg-circle:nth-child(2) {
  width: 17rem;
  height: 17rem;
  left: -4rem;
  bottom: 10%;
  background: radial-gradient(circle, rgba(180, 150, 76, 0.1), transparent 68%);
}

.bg-circle:nth-child(3) {
  width: 13rem;
  height: 13rem;
  right: -1rem;
  top: 40%;
  background: radial-gradient(circle, rgba(161, 122, 54, 0.08), transparent 68%);
}

.hero {
  padding: 1.2rem 0 1rem;
  text-align: center;
  content-visibility: auto;
  contain-intrinsic-size: 240px;
}

.hero-mark {
  width: 3.8rem;
  height: 3.8rem;
  margin: 0 auto 0.9rem;
  border-radius: 1.25rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 250, 238, 0.94), rgba(245, 232, 203, 0.88));
  border: 1px solid var(--line-strong);
  color: var(--accent-strong);
  font-size: 1.7rem;
  box-shadow: var(--shadow-soft);
}

:root[data-theme="dark"] .hero-mark {
  background: linear-gradient(135deg, rgba(25, 25, 27, 0.96), rgba(40, 35, 27, 0.92));
}

.hero h1 {
  margin: 0;
  font-size: 1.68rem;
  line-height: 1.08;
  letter-spacing: 0.02em;
  font-weight: 750;
}

.hero-subtitle {
  margin: 0.55rem auto 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  max-width: 21rem;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 251, 243, 0.82);
  color: var(--text-soft);
  font-size: 0.76rem;
}

:root[data-theme="dark"] .hero-notes span {
  background: rgba(21, 21, 24, 0.82);
}

.hero-tools {
  display: flex;
  justify-content: center;
  margin-top: 0.95rem;
}

.theme-toggle {
  min-height: 2.35rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 249, 237, 0.88);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(95, 76, 26, 0.06);
}

:root[data-theme="dark"] .theme-toggle {
  background: rgba(24, 24, 27, 0.9);
}

.promo-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 254, 249, 0.95), rgba(246, 239, 224, 0.9));
  box-shadow: var(--shadow);
  overflow: hidden;
  contain: layout paint style;
  content-visibility: auto;
  contain-intrinsic-size: 320px;
}

:root[data-theme="dark"] .promo-card {
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.96), rgba(29, 26, 22, 0.92));
}

.promo-toggle,
.fold-toggle {
  width: 100%;
  background: transparent;
  color: inherit;
}

.promo-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  text-align: left;
}

.promo-copy-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.promo-symbol {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border-radius: 0.92rem;
  background: rgba(255, 246, 224, 0.92);
  border: 1px solid var(--line);
  color: var(--accent-strong);
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
}

:root[data-theme="dark"] .promo-symbol {
  background: rgba(35, 31, 26, 0.94);
}

.promo-copy {
  display: grid;
  gap: 0.1rem;
}

.promo-title {
  font-size: 0.94rem;
  font-weight: 750;
}

.promo-subtitle {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.promo-badge {
  flex-shrink: 0;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(201, 160, 61, 0.1);
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid rgba(201, 160, 61, 0.16);
}

.promo-fold,
.fold-body {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 220ms ease, opacity 180ms ease;
}

.promo-fold.is-open,
.fold-body.is-open {
  opacity: 1;
}

.promo-fold-inner {
  padding: 0 1rem 1rem;
}

.promo-fold-tip {
  margin: 0 0 0.65rem;
  color: var(--text-soft);
  font-size: 0.76rem;
  text-align: center;
}

.promo-qr {
  display: block;
  width: 100%;
  border-radius: 1rem;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(201, 160, 61, 0.12);
}

.content {
  display: grid;
  gap: 0.92rem;
}

.panel {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  contain: layout paint style;
  content-visibility: auto;
  contain-intrinsic-size: 240px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.card-title h2 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.card-title-inline {
  margin-bottom: 0;
}

.panel-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.58rem;
  align-items: start;
  padding: 0.08rem 0;
}

.steps li + li {
  margin-top: 0.55rem;
}

.steps li::before {
  content: counter(step);
  counter-increment: step;
  width: 1.28rem;
  height: 1.28rem;
  margin-top: 0.03rem;
  border-radius: 0.42rem;
  display: grid;
  place-items: center;
  font-size: 0.64rem;
  font-weight: 800;
  color: #241b0a;
  background: linear-gradient(135deg, #dbb760, #c9972d);
}

.fold-panel {
  padding: 0;
  overflow: hidden;
}

.fold-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.05rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.fold-arrow {
  color: var(--accent-strong);
  font-size: 0.78rem;
}

.detail-list {
  margin: 0;
  padding: 0 1.05rem 0.5rem 2rem;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.7;
}

.detail-list li + li {
  margin-top: 0.45rem;
}

.guide-image {
  display: block;
  width: calc(100% - 2rem);
  margin: 0.15rem auto 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 734 / 540;
}

.submit-form {
  margin-top: 0.35rem;
}

.field-label {
  display: inline-block;
  margin-bottom: 0.52rem;
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 650;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.18rem;
  border: 1px solid var(--line);
  border-radius: 0.98rem;
  background: var(--surface-alt);
}

.input-row input {
  min-width: 0;
  min-height: 2.9rem;
  padding: 0 0.82rem;
  border: 0;
  border-radius: 0.82rem;
  background: transparent;
  color: var(--text);
  outline: none;
  letter-spacing: 0.06em;
}

.input-row input:focus {
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.input-row input::placeholder {
  color: var(--text-faint);
  letter-spacing: 0;
  font-size: 0.82rem;
}

.input-row button,
.sheet-actions button,
.queue-action,
.pager-button,
.button-secondary,
.report-option,
.theme-toggle,
.back-to-top {
  transition:
    transform 140ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
  will-change: transform;
}

.input-row button,
#confirmUseButton,
.queue-action.is-live {
  min-height: 2.9rem;
  padding: 0 1rem;
  border-radius: 0.82rem;
  font-weight: 750;
  background: linear-gradient(135deg, #dbb760, #c9972d);
  color: #241b0a;
}

.input-row button:active,
#confirmUseButton:active,
.queue-action.is-live:active,
.button-secondary:active,
.pager-button:active,
.theme-toggle:active,
.back-to-top:active {
  transform: scale(0.98);
}

.button-secondary,
.queue-action.is-used {
  min-height: 2.8rem;
  padding: 0 0.95rem;
  border-radius: 0.82rem;
  background: var(--surface-alt);
  color: var(--text-soft);
  border: 1px solid var(--line);
}

.submit-hints {
  margin-top: 0.62rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.8rem;
  color: var(--text-faint);
  font-size: 0.68rem;
}

.my-code-card {
  background:
    radial-gradient(circle at top right, rgba(219, 183, 96, 0.1), transparent 36%),
    var(--surface);
}

.my-code-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(201, 160, 61, 0.1);
  border: 1px solid rgba(201, 160, 61, 0.18);
  color: var(--accent-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.my-code-meta {
  margin-top: 0.68rem;
}

.my-code-actions {
  display: grid;
  gap: 0.58rem;
  margin-top: 0.85rem;
}

.queue-heading {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.queue-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.queue-meta {
  display: flex;
  align-items: center;
}

.refresh-pill,
.count-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0 0.62rem;
  border-radius: 999px;
  background: rgba(201, 160, 61, 0.09);
  border: 1px solid rgba(201, 160, 61, 0.14);
  color: var(--accent-strong);
  font-size: 0.68rem;
  font-weight: 700;
}

.count-pill {
  font-size: 0.72rem;
}

.queue-controls {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.queue-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-chip {
  min-height: 2rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.86);
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
}

:root[data-theme="dark"] .filter-chip {
  background: rgba(22, 22, 24, 0.82);
}

.filter-chip span {
  display: inline-flex;
  margin-left: 0.35rem;
  color: var(--accent-strong);
}

.filter-chip.is-active {
  background: rgba(201, 160, 61, 0.16);
  color: var(--accent-strong);
  border-color: rgba(201, 160, 61, 0.26);
}

.queue-summary {
  font-size: 0.74rem;
}

.queue-list {
  display: grid;
  gap: 0.58rem;
  margin-top: 0.9rem;
  contain: layout paint;
}

.queue-banner {
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(201, 160, 61, 0.18);
  border-radius: 0.92rem;
  background: rgba(201, 160, 61, 0.08);
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.66;
  text-align: center;
}

.queue-empty {
  padding: 1rem 0.3rem 0.4rem;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.84rem;
}

.queue-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem 0.88rem;
  background: var(--surface-alt);
  border-radius: 0.98rem;
  border: 1px solid rgba(201, 160, 61, 0.08);
  position: relative;
  overflow: hidden;
  contain: layout paint;
  background: color-mix(in oklab, var(--surface-alt) 78%, transparent);
}

.queue-item.is-mine {
  border-color: rgba(201, 160, 61, 0.22);
  box-shadow: inset 0 0 0 1px rgba(201, 160, 61, 0.08);
}

.queue-item::before {
  content: "";
  position: absolute;
  left: 0.88rem;
  top: 0.88rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: rgba(201, 160, 61, 0.58);
}

.queue-code-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.queue-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
}

.mine-badge,
.report-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.4rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
}

.mine-badge {
  background: rgba(201, 160, 61, 0.16);
  color: var(--accent-strong);
  border: 1px solid rgba(201, 160, 61, 0.18);
}

.report-badge {
  margin-top: 0.35rem;
  background: rgba(219, 120, 90, 0.1);
  color: #c86648;
  border: 1px solid rgba(219, 120, 90, 0.14);
}

:root[data-theme="dark"] .report-badge {
  color: #efb19e;
}

.queue-subline {
  margin-top: 0.18rem;
  color: var(--text-faint);
  font-size: 0.68rem;
}

.queue-status {
  display: inline-flex;
  margin-top: 0.38rem;
  min-height: 1.45rem;
  padding: 0 0.58rem;
  align-items: center;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
}

.queue-status.pending {
  background: rgba(201, 160, 61, 0.12);
  color: var(--accent-strong);
}

.queue-status.used {
  background: rgba(112, 110, 101, 0.1);
  color: var(--text-faint);
}

.queue-tools {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.42rem;
}

.queue-link {
  padding: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 650;
}

.queue-action {
  min-width: 5rem;
}

.queue-action:disabled {
  cursor: default;
  opacity: 0.7;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.95rem;
}

.pager-button {
  min-height: 2.2rem;
  padding: 0 0.92rem;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
}

.pager-button:disabled {
  opacity: 0.42;
  cursor: default;
}

.pager-status {
  color: var(--text-soft);
  font-size: 0.74rem;
}

.sheet {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.sheet.hidden,
.toast.hidden {
  display: none;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 30, 12, 0.24);
}

:root[data-theme="dark"] .sheet-backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.sheet-panel {
  position: relative;
  width: min(90vw, 20rem);
  padding: 1.45rem 1.2rem 1.15rem;
  border-radius: 1.25rem;
  background: var(--surface-strong);
  border: 1px solid rgba(201, 160, 61, 0.22);
  box-shadow: 0 20px 40px rgba(40, 30, 12, 0.16);
  text-align: center;
  contain: layout paint;
}

:root[data-theme="dark"] .sheet-panel {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.42);
}

.sheet-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 750;
}

.sheet-text {
  margin: 0.45rem 0 0;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.sheet-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.confirm-code {
  display: inline-flex;
  margin-top: 0.8rem;
  min-height: 2rem;
  padding: 0 0.92rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(201, 160, 61, 0.1);
  color: var(--accent-strong);
  border: 1px solid rgba(201, 160, 61, 0.16);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.sheet-note {
  margin: 0.55rem 0 0;
  color: var(--text-faint);
  font-size: 0.72rem;
}

.modal-icon {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.report-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.report-option {
  min-height: 2.35rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--text-soft);
  font-weight: 700;
  border: 1px solid var(--line);
}

.report-option.is-selected {
  background: rgba(201, 160, 61, 0.16);
  color: var(--accent-strong);
}

.report-note {
  width: 100%;
  min-height: 6.4rem;
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  color: var(--text);
  resize: vertical;
  outline: none;
}

.report-note:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(201, 160, 61, 0.14);
}

.toast {
  position: fixed;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  max-width: calc(100% - 2rem);
  padding: 0.7rem 1.08rem;
  border-radius: 999px;
  background: rgba(255, 251, 242, 0.96);
  border: 1px solid rgba(201, 160, 61, 0.28);
  color: var(--accent-strong);
  font-size: 0.8rem;
  box-shadow: var(--shadow-soft);
  z-index: 30;
  white-space: nowrap;
  transform: translate3d(-50%, -50%, 0);
}

:root[data-theme="dark"] .toast {
  background: rgba(18, 18, 20, 0.97);
}

.report-footnote {
  margin-top: 0.85rem;
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  min-height: 2.6rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(255, 249, 237, 0.95);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  z-index: 25;
  will-change: transform, opacity;
}

@media (hover: hover) {
  .input-row button:hover,
  #confirmUseButton:hover,
  .queue-action.is-live:hover,
  .button-secondary:hover,
  .pager-button:hover,
  .theme-toggle:hover,
  .back-to-top:hover {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

:root[data-theme="dark"] .back-to-top {
  background: rgba(24, 24, 27, 0.95);
}

@media (max-width: 420px) {
  .page-shell {
    padding-inline: 0.85rem;
  }

  .hero h1 {
    font-size: 1.48rem;
  }

  .hero-tools {
    margin-top: 0.85rem;
  }

  .input-row,
  .queue-item {
    grid-template-columns: 1fr;
  }

  .queue-meta {
    justify-content: flex-start;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .promo-toggle {
    align-items: flex-start;
  }

  .promo-badge {
    margin-left: 3.15rem;
  }

  .my-code-actions,
  .sheet-actions {
    grid-template-columns: 1fr;
  }
}
