:root {
  color-scheme: light;
  --teal: #008b84;
  --ink: #20372f;
  --muted: #66736d;
  --line: #e2e6e4;
  --panel: #ffffff;
  --cream: #f7f7f4;
  --gold: #f2c965;
  --shadow: 0 24px 54px rgba(18, 31, 27, .16);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.25, .1, .25, 1);
  --app-gutter: clamp(8px, 1.4vw, 18px);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--teal);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

.app-frame {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: calc(100vw - (var(--app-gutter) * 2));
  height: calc(100vh - (var(--app-gutter) * 2));
  height: calc(100dvh - (var(--app-gutter) * 2));
  margin: var(--app-gutter);
  overflow: hidden;
  border-radius: 18px;
  background: var(--cream);
  box-shadow: var(--shadow);
  animation: appIn .46s var(--ease-out) both;
}

.topbar {
  display: grid;
  grid-template-columns: 172px 1fr 54px;
  align-items: center;
  gap: 10px;
  min-height: 92px;
  padding: 14px 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(32, 55, 47, .08);
}

.top-actions {
  display: flex;
  gap: 10px;
}

.square-button,
.avatar-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--teal);
  font-size: 1.35rem;
  box-shadow: 0 3px 10px rgba(32, 55, 47, .06);
  transition: transform .32s var(--ease-out), box-shadow .32s var(--ease-out), background-color .32s var(--ease-out);
}

.avatar-button {
  justify-self: end;
  border-radius: 999px;
  color: #111;
  font-size: 2rem;
}

.title-block {
  text-align: center;
}

.title-block h1 {
  margin: 0;
  color: #2e5b45;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1;
}

.title-block p {
  margin: 3px 0 0;
  color: #1f2a25;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.quest-view {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  padding: 28px 0 0;
  background:
    linear-gradient(180deg, #f6f6f3 0%, #f1f2f0 100%);
}

.progress-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 16px 14px;
}

.progress-strip div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  text-align: center;
}

.progress-strip strong,
.progress-strip span {
  display: block;
}

.progress-strip strong {
  font-size: 1.2rem;
}

.progress-strip span {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
}

.quest-rail {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.quest-track {
  display: grid;
  height: 100%;
  grid-auto-columns: minmax(285px, 31vw);
  grid-auto-flow: column;
  align-items: stretch;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 14px 18px 22px;
  scrollbar-width: none;
}

.quest-track::-webkit-scrollbar {
  display: none;
}

.quest-card {
  min-height: 0;
  height: 100%;
  scroll-snap-align: start;
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(32, 55, 47, .13);
  animation: cardIn .5s var(--ease-out) var(--enter-delay, 0ms) backwards;
  transition: transform .34s var(--ease-out), box-shadow .34s var(--ease-out);
}

.quest-card:active {
  transform: scale(.995);
}

.quest-open {
  display: grid;
  grid-template-rows: minmax(220px, 1fr) auto;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  text-align: left;
}

.card-image {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #e8ece8;
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .18));
  pointer-events: none;
}

.card-image img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.01);
}

.card-category {
  position: absolute;
  z-index: 2;
}

.card-category {
  top: 14px;
  right: 14px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  background: rgba(32, 55, 47, .46);
  color: #fff;
  font-size: 1.45rem;
  backdrop-filter: blur(6px);
}

.card-body {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: start;
  min-height: 185px;
  padding: 44px 18px 20px;
  border-radius: 0 0 16px 16px;
  background: var(--card-color);
  color: #fff;
}

.stars {
  position: absolute;
  z-index: 5;
  top: -22px;
  left: 50%;
  min-width: 88px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--gold);
  font-size: 1.22rem;
  letter-spacing: 1px;
  text-align: center;
  transform: translateX(-50%);
  box-shadow: 0 8px 20px rgba(32, 55, 47, .13);
}

.card-body h2 {
  min-height: 64px;
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.02;
}

.view-button {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, .88);
  border-radius: 999px;
  color: #fff;
  font-size: 1rem;
  text-align: center;
}

.status-chip {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 900;
}

.timer-chip {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 900;
}

.timer-chip.is-failed {
  color: #b91c1c;
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  min-height: 84px;
  padding: 9px 18px max(12px, env(safe-area-inset-bottom));
  background: #fff;
}

.nav-item {
  display: grid;
  gap: 4px;
  place-items: center;
  min-height: 54px;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  transition: transform .32s var(--ease-out), background .32s var(--ease-out), color .32s var(--ease-out);
}

.nav-item i {
  font-size: 1.3rem;
}

.nav-item.is-active {
  background: #ededed;
}

.quest-panel {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  pointer-events: none;
  transition: background-color .34s var(--ease-out), opacity .34s var(--ease-out);
}

.quest-detail {
  width: min(100%, 520px);
  min-height: 100%;
  height: 100%;
  margin-left: auto;
  overflow: hidden;
  border-radius: 24px 0 0 24px;
  background: #fff;
  box-shadow: -28px 0 70px rgba(0, 0, 0, .2);
  opacity: .98;
  transform: translateX(100%);
  transition: transform .48s var(--ease-out), opacity .48s var(--ease-out);
  will-change: transform, opacity;
}

.quest-panel.is-open {
  background: rgba(0, 0, 0, .18);
  opacity: 1;
  pointer-events: auto;
}

.quest-panel.is-open .quest-detail {
  opacity: 1;
  transform: translateX(0);
}

.detail-hero {
  position: relative;
  display: grid;
  min-height: 260px;
  align-content: end;
  padding: 18px;
  color: #fff;
  background: var(--card-color);
}

.compact-hero {
  min-height: 210px;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .35));
}

.detail-hero > * {
  position: relative;
  z-index: 1;
}

.back-button {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-size: 2rem;
}

.detail-icon {
  font-size: 4rem;
  font-weight: 900;
}

.detail-hero p,
.detail-hero h2 {
  margin: 0;
}

.detail-hero h2 {
  max-width: 420px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.detail-body {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.intro-body {
  max-height: calc(100% - 260px);
  overflow-y: auto;
  padding-bottom: 104px;
}

.guide-card {
  padding: 18px;
  border-radius: 18px;
  background: #f7f8f6;
  box-shadow: inset 0 0 0 1px var(--line);
}

.intro-card ul,
.tips-list {
  display: grid;
  gap: 9px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.tips-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  color: var(--muted);
  line-height: 1.4;
}

.tips-list li i {
  margin-top: 2px;
  color: var(--card-color);
}

.quote-card {
  margin: 0;
  padding: 18px;
  border-left: 4px solid var(--card-color);
  border-radius: 16px;
  background: #f7f8f6;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.35;
}

.quote-card p {
  margin: 0;
}

.quote-card cite {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .82rem;
  font-style: normal;
  font-weight: 900;
}

.quote-card cite::before {
  content: "— ";
}

.reward-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 13px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--card-color) 11%, white);
}

.reward-card > i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--card-color);
  color: #fff;
  font-size: 1.35rem;
}

.reward-card strong,
.reward-card small {
  display: block;
}

.reward-card strong {
  margin: 3px 0;
}

.reward-card small {
  color: var(--muted);
}

.timer-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 16px;
  background: #13241f;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}

.timer-banner.is-failed {
  background: #991b1b;
}

.accept-button {
  margin-top: 4px;
}

.task-sheet {
  position: absolute;
  --sheet-gap: 14px;
  top: var(--sheet-gap);
  right: var(--sheet-gap);
  bottom: 0;
  left: var(--sheet-gap);
  z-index: 6;
  min-height: calc(100% - var(--sheet-gap));
  height: calc(100% - var(--sheet-gap));
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: -22px 0 54px rgba(18, 31, 27, .18);
  opacity: .98;
  transform: translateY(104%);
  transition: transform .46s var(--ease-out), opacity .46s var(--ease-out);
  will-change: transform, opacity;
}

.task-sheet.is-open {
  opacity: 1;
  transform: translateY(0);
}

.task-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 86px;
  padding: 18px 18px 10px;
}

.task-sheet-head h2 {
  margin: 3px 0 0;
  font-size: 1.25rem;
  line-height: 1.05;
}

.sheet-close {
  position: static;
  flex: 0 0 auto;
}

.task-sheet > .timer-banner {
  margin: 0 16px 12px;
}

.sheet-body {
  max-height: calc(100% - 146px);
  overflow-y: auto;
}

.step-label {
  color: var(--teal);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.guide-card h3 {
  margin: 8px 0;
  font-size: 1.35rem;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.progress-bar {
  height: 9px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4e8e5;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--card-color);
  transition: width .45s var(--ease-out);
}

.step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
}

.step-list span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: #edf0ee;
  color: var(--muted);
  font-weight: 900;
}

.step-list p {
  margin: 0;
}

.step-list .is-current {
  border-color: var(--card-color);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(32, 55, 47, .08);
}

.step-list .is-current span,
.step-list .is-done span {
  background: var(--card-color);
  color: #fff;
}

.step-list .is-done {
  color: var(--ink);
}

.primary-button {
  min-height: 54px;
  border-radius: 16px;
  background: var(--card-color);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 16px 30px color-mix(in srgb, var(--card-color) 30%, transparent);
  transition: transform .32s var(--ease-out), filter .32s var(--ease-out), box-shadow .32s var(--ease-out);
}

  .primary-button:active,
.square-button:active,
.avatar-button:active,
.nav-item:active {
  transform: scale(.992);
}

.primary-button:disabled {
  filter: grayscale(.2);
  opacity: .72;
}

.form-quest-body {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 14px;
  height: calc(100% - 210px - 96px);
  min-height: 0;
  padding: 16px 16px 0;
  overflow: hidden;
}

.task-sheet .form-quest-body {
  height: calc(100% - 86px - 60px - 96px);
}

.audit-form-track {
  display: grid;
  grid-auto-columns: 95%;
  grid-auto-flow: column;
  gap: 12px;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.audit-form-track::-webkit-scrollbar {
  display: none;
}

.audit-form-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(32, 55, 47, .08);
  scroll-snap-align: start;
  transition: border-color .34s var(--ease-out), box-shadow .34s var(--ease-out), transform .34s var(--ease-out);
}

.audit-form-card.is-complete {
  border-color: color-mix(in srgb, var(--card-color) 64%, white);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--card-color) 18%, transparent);
}

.audit-form-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.audit-form-card h3 {
  margin: 2px 0 0;
}

.complete-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: #f2f5f3;
  color: var(--muted);
  font-size: 1.35rem;
}

.audit-form-card.is-complete .complete-icon {
  background: color-mix(in srgb, var(--card-color) 14%, white);
  color: var(--card-color);
  animation: completeGlow .5s var(--ease-out) both;
}

.form-field {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-field span,
.form-field legend {
  color: var(--ink);
  font-size: .86rem;
  font-weight: 900;
}

.form-field em {
  color: #ef4444;
  font-style: normal;
}

.form-field input[type="url"],
.form-field input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8faf8;
  color: var(--ink);
  font: inherit;
}

.form-field input:disabled,
.choice-field input:disabled + span {
  opacity: .58;
  cursor: not-allowed;
}

.form-field input:focus {
  border-color: var(--card-color);
  outline: 3px solid color-mix(in srgb, var(--card-color) 18%, transparent);
}

.field-error {
  display: none;
  color: #dc2626;
  font-size: .74rem;
  font-weight: 800;
}

.form-field input[type="url"]:not(:placeholder-shown):invalid {
  border-color: #ef4444;
}

.form-field input[type="url"]:not(:placeholder-shown):invalid + .field-error {
  display: block;
}

.choice-field > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice-field label {
  position: relative;
}

.choice-field input {
  position: absolute;
  opacity: 0;
}

.choice-field label span {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8faf8;
  color: var(--muted);
}

.choice-field input:checked + span {
  border-color: var(--card-color);
  background: color-mix(in srgb, var(--card-color) 14%, white);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--card-color) 35%, transparent);
}

.fixed-finish {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 9;
  width: min(100%, 520px);
  padding: 12px 16px max(14px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255, 255, 255, .7), #fff 28%);
}

.fixed-intro-action {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 8;
  width: min(100%, 520px);
  padding: 12px 16px max(14px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255, 255, 255, .7), #fff 28%);
}

.quest-detail.has-task-sheet .fixed-intro-action {
  z-index: 1;
  opacity: .34;
}

.finish-quest-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 66px;
  overflow: hidden;
  padding: 0 18px;
  border: 2px solid var(--card-color);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.finish-quest-button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill, 0%);
  background: color-mix(in srgb, var(--card-color) 84%, white);
  transition: width .48s var(--ease-out);
}

.finish-quest-button span,
.finish-quest-button i {
  position: relative;
  z-index: 1;
}

.finish-quest-button span {
  text-align: left;
}

.finish-quest-button i {
  font-size: 1.35rem;
}

.finish-quest-button.is-ready {
  color: #fff;
  animation: readyBreath 1.8s var(--ease-soft) infinite;
}

.finish-quest-button:disabled {
  cursor: not-allowed;
}

.skeleton-card {
  min-height: 470px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent),
    #e4e7e4;
  background-size: 220% 100%, 100% 100%;
  animation: shimmer 1s linear infinite;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 86px;
  left: 18px;
  z-index: 60;
  max-width: 420px;
  margin: 0 auto;
  padding: 13px 16px;
  border-radius: 14px;
  background: #13241f;
  color: #fff;
  font-weight: 900;
  text-align: center;
  box-shadow: var(--shadow);
  animation: toastIn .24s var(--ease-out) both;
  transition: opacity .32s var(--ease-out), transform .32s var(--ease-out);
}

.toast.is-leaving {
  opacity: 0;
  transform: translateY(6px);
}

.micro-pulse {
  animation: microPulse .42s var(--ease-out) both;
}

@keyframes appIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
}

@keyframes shimmer {
  to {
    background-position: -220% 0, 0 0;
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes microPulse {
  50% {
    transform: scale(.996);
    filter: brightness(1.02);
  }
}

@keyframes completeGlow {
  from {
    opacity: .6;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--card-color) 26%, transparent);
  }
  to {
    opacity: 1;
    box-shadow: 0 0 0 8px transparent;
  }
}

@keyframes readyBreath {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--card-color) 18%, transparent);
  }
  50% {
    transform: scale(1.006);
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--card-color) 10%, transparent);
  }
}

@media (hover: hover) {
  .quest-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 54px rgba(32, 55, 47, .17);
  }
}

@media (max-width: 760px) {
  .app-frame {
    width: calc(100vw - (var(--app-gutter) * 2));
    height: calc(100vh - (var(--app-gutter) * 2));
    height: calc(100dvh - (var(--app-gutter) * 2));
    margin: var(--app-gutter);
    border-radius: 18px;
  }

  .topbar {
    grid-template-columns: 154px 1fr 48px;
    min-height: 82px;
    padding: 12px;
  }

  .square-button,
  .avatar-button {
    width: 42px;
    height: 42px;
  }

  .quest-track {
    grid-auto-columns: minmax(286px, 82vw);
    padding: 12px 14px 18px;
  }

  .quest-card {
    min-height: 0;
  }

  .quest-open {
    grid-template-rows: minmax(180px, 1fr) auto;
  }

  .card-image {
    min-height: 180px;
  }

  .card-body {
    min-height: 168px;
    padding: 40px 16px 18px;
  }

  .form-quest-body {
    height: calc(100% - 210px - 94px);
    padding-inline: 12px;
  }

  .audit-form-track {
    grid-auto-columns: 95%;
  }

  .bottom-nav {
    min-height: 76px;
    gap: 2px;
    padding-inline: 8px;
  }

  .nav-item {
    font-size: .62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
