/* mindset: line drawings on white paper, one accent for water. */

:root {
  --ink: #141414;
  --paper: #ffffff;
  --muted: #5c5c5c;
  --hair: #dcdcd6;
  --accent: #1f5fbf;
  --accent-soft: rgba(31, 95, 191, 0.12);
  --warn: #8a5300;
  --danger: #b3261e;
  --stroke: 1.5px;
  --bar-space: calc(118px + env(safe-area-inset-bottom));
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.has-gamebar {
  padding-bottom: var(--bar-space);
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Frame ---- */

.top,
.page {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding-top: env(safe-area-inset-top);
}

.wordmark {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.top-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  text-underline-offset: 4px;
}

.page-narrow {
  max-width: 440px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 6px;
}

h2 {
  font-size: 18px;
  font-weight: 650;
  margin-bottom: 8px;
}

h3 {
  font-size: 15px;
  font-weight: 650;
  margin: 14px 0 6px;
}

p {
  margin: 0 0 10px;
}

.lead {
  font-size: 17px;
}

.hint,
.meta {
  color: var(--muted);
  font-size: 14px;
}

.fineprint {
  color: var(--muted);
  font-size: 13px;
}

.eyebrow {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.number {
  font-size: 60px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  margin: 0;
}

.alias {
  color: var(--accent);
  font-weight: 600;
  margin: 4px 0 0;
}

.alias.is-missing {
  color: var(--danger);
}

.head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 0 12px;
}

.head h1 {
  margin-bottom: 0;
}

.head-side {
  color: var(--muted);
  font-size: 14px;
  text-align: right;
  flex-shrink: 0;
}

a.head-side {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 600;
}

.section {
  border-top: 1px solid var(--hair);
  padding: 20px 0;
}

.section-private {
  border: var(--stroke) dashed var(--ink);
  border-radius: 18px;
  padding: 16px;
  margin: 16px 0;
}

.summary {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  margin: 8px 0 12px;
}

.quote {
  border-left: 2px solid var(--ink);
  padding-left: 12px;
  color: var(--ink);
}

.quote:empty {
  display: none;
}

.empty {
  color: var(--muted);
  padding: 14px 0;
  margin: 0;
}

.status {
  font-size: 14px;
  margin: 8px 0;
  overflow-wrap: anywhere;
}

.status.error {
  color: var(--danger);
  font-weight: 600;
}

.plain-list {
  padding-left: 18px;
  margin: 8px 0 0;
}

.plain-list li {
  margin: 6px 0;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 8px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: var(--stroke) solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-small {
  font-size: 14px;
  padding: 0 14px;
}

.btn-block {
  width: 100%;
}

.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
  color: var(--paper);
}

.btn-quiet-danger {
  border-color: transparent;
  color: var(--danger);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.sticky-actions {
  position: sticky;
  bottom: var(--bar-space);
  z-index: 5;
  background: var(--paper);
  padding: 10px 0;
  margin: 0;
}

/* ---- Forms ---- */

.field {
  display: grid;
  gap: 6px;
  margin: 12px 0;
}

.field > span:first-child {
  font-weight: 600;
  font-size: 14px;
}

.field small {
  color: var(--muted);
  font-size: 13px;
  justify-self: end;
}

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
  width: 100%;
  border: var(--stroke) solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 11px 12px;
  min-height: 44px;
}

textarea {
  resize: vertical;
  line-height: 1.45;
}

select:disabled,
input:disabled {
  opacity: 0.5;
}

textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.prefix-input {
  display: flex;
  align-items: center;
  border: var(--stroke) solid var(--ink);
  border-radius: 12px;
  padding-left: 12px;
  background: var(--paper);
}

.prefix-input > span {
  color: var(--muted);
}

.prefix-input input {
  border: 0;
  padding-left: 4px;
}

.prefix-input:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.prefix-input input:focus-visible {
  outline: none;
}

.inline-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.inline-form .field {
  flex: 1;
  margin: 0;
}

.leak {
  display: block;
  font-size: 14px;
  color: var(--warn);
}

.leak::before {
  content: "! ";
  font-weight: 700;
}

.leak.is-block {
  color: var(--danger);
  font-weight: 600;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

.demo-grid .field:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.choices {
  border: 0;
  padding: 0;
  margin: 8px 0;
}

.choices label,
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 500;
}

input[type="radio"],
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--ink);
  margin: 0;
}

.invite {
  border: var(--stroke) dashed var(--ink);
  border-radius: 16px;
  padding: 4px 14px;
  margin: 12px 0;
}

/* ---- Lists ---- */

.feed,
.list {
  display: grid;
}

.entry {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
}

.entry:last-child {
  border-bottom: 0;
}

.entry-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.entry-fish {
  width: 30px;
  height: 20px;
  flex-shrink: 0;
}

.entry-number {
  font-size: 19px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.entry-side {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.entry-summary {
  display: block;
  font-weight: 550;
  margin-top: 4px;
}

.entry-quote {
  display: block;
  color: var(--muted);
  font-size: 15px;
  margin-top: 2px;
}

.entry-meta {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
}

.person-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.person-link strong,
.person-link small {
  display: block;
}

.person-link small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.person-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.links {
  margin: 8px 0 4px;
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border-bottom: 1px solid var(--hair);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.link-side {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.link-side::after {
  content: "  →";
  color: var(--ink);
}

.posts .post {
  border-top: 1px solid var(--hair);
  padding: 12px 0;
}

.post h3 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.post p {
  margin: 0;
  white-space: pre-wrap;
}

/* ---- Drawings ---- */

.icon,
.glyph {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.glyph {
  stroke-width: 1;
}

.glyph circle {
  fill: currentColor;
  stroke: none;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: var(--stroke) solid var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
}

.avatar .glyph {
  width: 28px;
  height: 18px;
}

.avatar-sm {
  width: 40px;
  height: 40px;
}

.hero {
  padding: 8px 0 24px;
}

.hero-art .icon {
  width: 220px;
  height: 165px;
  stroke-width: 1.1;
  margin: 0 0 4px -10px;
}

.hero h1 {
  font-size: 34px;
  line-height: 1.1;
}

/* ---- Readings ---- */

.radar {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.radar-ring,
.radar-spoke {
  fill: none;
  stroke: var(--hair);
  stroke-width: 1;
}

.radar-shape {
  fill: var(--accent-soft);
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linejoin: round;
}

.radar-ghost {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  stroke-dasharray: 4 3;
  opacity: 0.55;
}

.radar-label {
  fill: var(--ink);
  font-size: 12px;
}

.bar-row {
  margin: 14px 0;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
}

.bar-track {
  height: 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  margin: 6px 0 4px;
}

.bar-fill {
  height: 100%;
  background: var(--ink);
}

.bar-poles {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.bar-row.is-unknown .bar-label span:last-child {
  color: var(--muted);
  font-weight: 500;
}

.trend {
  display: block;
  width: 100%;
}

.trend-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.trend-axis {
  stroke: var(--hair);
  stroke-dasharray: 3 3;
}

.trend-now {
  stroke: var(--accent);
  stroke-width: 2;
}

.trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.trend-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trend-key svg {
  width: 24px;
  height: 6px;
}

.trend-key line {
  stroke: var(--ink);
  stroke-width: 1.6;
}

.timeline-when {
  display: flex;
  justify-content: space-between;
}

.timeline-field input[type="range"] {
  width: 100%;
  min-height: 44px;
  accent-color: var(--ink);
}

/* ---- Hunt ---- */

.lake-wrap {
  margin: 4px 0 8px;
}

.lake {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: var(--stroke) solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  touch-action: none;
  background: var(--paper);
  user-select: none;
  -webkit-user-select: none;
}

.lake-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wave {
  fill: none;
  stroke: #b8c8e4;
  stroke-width: 0.9;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.lake-axis {
  stroke: var(--hair);
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
}

.lake-label {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0;
}

.lake-x {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.lake-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.lake-wrap.is-collapsed .lake,
.lake-wrap.is-collapsed .lake-label,
.lake-wrap.is-collapsed .lake-x {
  display: none;
}

.fish {
  cursor: pointer;
  outline: none;
  transition: opacity 0.3s ease;
}

.fish-body {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.3;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.fish-eye {
  fill: var(--ink);
}

.fish-ring {
  fill: transparent;
  stroke: none;
  vector-effect: non-scaling-stroke;
}

.fish.is-mine .fish-body {
  fill: var(--accent);
  stroke: var(--accent);
}

.fish.is-mine .fish-eye {
  fill: var(--paper);
}

.fish.is-net .fish-ring {
  stroke: var(--ink);
  stroke-width: 1;
  stroke-dasharray: 2 2;
}

.fish.is-seed .fish-body {
  stroke-dasharray: 2 1.5;
}

.fish.is-seed .fish-ring {
  stroke: var(--muted);
  stroke-width: 1;
  stroke-dasharray: 1 2;
}

.entry.is-seed {
  opacity: 0.92;
}

.entry.is-seed .entry-meta {
  color: var(--muted);
}

.fish.is-tribe .fish-ring {
  stroke: var(--accent);
  stroke-width: 1.6;
}

.fish:focus-visible .fish-ring {
  stroke: var(--accent);
  stroke-width: 3;
  stroke-dasharray: none;
}

.fish.is-faded {
  opacity: 0.12;
  pointer-events: none;
}

.fish-sway {
  transform-box: fill-box;
  transform-origin: center;
  animation: sway 3.6s ease-in-out infinite;
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(-5deg) translateY(0);
  }
  50% {
    transform: rotate(5deg) translateY(-0.6px);
  }
}

.panel {
  margin: 12px 0 8px;
}

.panel-handle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: var(--stroke) solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.panel-handle::after {
  content: "↑";
  margin-left: 8px;
}

.panel-handle[aria-expanded="true"] {
  border-radius: 16px 16px 0 0;
}

.panel-handle[aria-expanded="true"]::after {
  content: "↓";
}

.panel-handle .hint {
  margin-left: auto;
}

#panel-body {
  border: var(--stroke) solid var(--ink);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  padding: 6px 16px 12px;
}

.tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 8px;
}

.tabs button {
  min-height: 44px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 650;
  padding: 0;
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--ink);
}

.range {
  border: 0;
  padding: 0;
  margin: 12px 0 16px;
}

.range legend {
  font-weight: 600;
  font-size: 14px;
  padding: 0;
}

.range-value {
  color: var(--muted);
  font-weight: 500;
  margin-left: 4px;
  font-variant-numeric: tabular-nums;
}

.range-pair {
  position: relative;
  height: 44px;
}

.range-pair::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: var(--ink);
}

.range-pair input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 44px;
  margin: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.range-pair input[type="range"]::-webkit-slider-runnable-track {
  background: none;
  height: 44px;
}

.range-pair input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 26px;
  height: 26px;
  margin-top: 9px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
}

.range-pair input[type="range"]::-moz-range-track {
  background: none;
}

.range-pair input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
}

.range-pair input[type="range"]:focus-visible {
  outline: none;
}

.range-pair input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px var(--accent);
}

.range-poles {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.hist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
}

.hist h3 {
  font-size: 13px;
}

.hist-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.hist-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hist-bars-pair {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  width: 100%;
  height: 64px;
  border-bottom: 1px solid var(--ink);
}

.hist-bar {
  width: 42%;
  min-height: 1px;
  background: var(--ink);
}

.hist-bar.is-slice {
  background: var(--accent);
}

.hist-col span {
  font-size: 11px;
  color: var(--muted);
}

.legend {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
}

.legend .key {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--ink);
  margin: 0 4px 0 0;
  vertical-align: -1px;
}

.legend .key.is-slice {
  background: var(--accent);
  margin-left: 8px;
}

.row-chart .row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 2fr auto;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  margin: 8px 0;
}

.row-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-track {
  height: 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}

.row-fill {
  height: 100%;
  background: var(--ink);
}

.row-value {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

/* ---- Dialogs ---- */

.modal {
  width: calc(100% - 32px);
  max-width: 520px;
  border: var(--stroke) solid var(--ink);
  border-radius: 20px;
  padding: 20px;
  color: var(--ink);
  background: var(--paper);
}

.modal::backdrop {
  background: rgba(20, 20, 20, 0.35);
}

.modal-sheet {
  width: 100%;
  max-width: 560px;
  margin: auto auto 0;
  border-radius: 22px 22px 0 0;
  border-bottom: 0;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  max-height: 85vh;
}

.modal-sheet .head {
  margin-top: 0;
  align-items: flex-start;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

/* ---- Footer and game bar ---- */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--hair);
  margin-top: 28px;
  padding: 14px 0;
  font-size: 13px;
  color: var(--muted);
}

.footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.lang {
  display: inline-flex;
  gap: 6px;
}

.lang button {
  min-width: 44px;
  min-height: 36px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.gamebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 12px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--paper) 62%, rgba(255, 255, 255, 0));
  pointer-events: none;
}

.gamebar-button {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: var(--ink);
  background: var(--paper);
  border: var(--stroke) solid var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease;
}

.gamebar-button:active {
  transform: translateY(1px) scale(0.98);
}

.gamebar-button span {
  line-height: 1.1;
  padding-bottom: 2px;
}

.gamebar-button[aria-current="page"] {
  color: var(--accent);
}

.gamebar-button[aria-current="page"] span {
  box-shadow: inset 0 -2px 0 currentColor;
}

.gamebar-flow,
.gamebar-me {
  width: 112px;
  height: 64px;
}

.gamebar-flow {
  border-radius: 32px 0 0 32px;
  border-right: 0;
  margin-right: -22px;
  padding-right: 22px;
}

.gamebar-me {
  border-radius: 0 32px 32px 0;
  border-left: 0;
  margin-left: -22px;
  padding-left: 22px;
}

.gamebar-flow .icon,
.gamebar-me .icon {
  width: 32px;
  height: 32px;
}

.gamebar-hunt {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 4px;
  box-shadow: 0 0 0 6px var(--paper);
}

.gamebar-hunt .icon {
  width: 64px;
  height: 48px;
  stroke-width: 1.4;
}

/* ---- Auth ---- */

.auth-form {
  margin: 8px 0;
}

.divider {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 14px 0 4px;
}

.btn-google .g {
  font-weight: 800;
}

.auth-links {
  display: grid;
  gap: 4px;
  margin: 16px 0;
}

.auth-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ---- Motion and small screens ---- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 360px) {
  .gamebar-flow,
  .gamebar-me {
    width: 96px;
  }
  .number {
    font-size: 48px;
  }
  .demo-grid,
  .hist-grid {
    grid-template-columns: 1fr;
  }
}
