:root {
  --paper: #fffdf9;
  --ink: #181818;
  --muted: #666;
  --line: #ded4c6;
  --soft: #f5eadf;
  --orange: #ef5f18;
  --orangeDark: #b94810;
  --orangeSoft: #fff1e8;
  --orangeLine: #efb386;
  --shadow: 0 10px 24px rgba(28, 24, 20, 0.075);
  --dockShadow: 0 14px 30px rgba(28, 24, 20, 0.12);
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    system-ui,
    sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.app {
  width: min(430px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 14px 13px 94px;
}

.screen,
.view {
  display: none;
}

.screen.active,
.view.active {
  display: block;
}

.hidden {
  display: none !important;
}

.brand-header,
.game-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-header .icon-btn {
  margin-left: auto;
}

.brand-mark,
.game-logo {
  width: 44px;
  height: 44px;
}

.brand-sub,
.game-brand-sub {
  font-size: 12px;
  color: #777;
  font-weight: 800;
  margin-top: 2px;
}

.icon-btn {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf9;
  display: grid;
  place-items: center;
  font-weight: 950;
  box-shadow: 0 3px 10px rgba(28, 24, 20, 0.04);
}

.hero-kicker,
.start-step-label,
.label-mini,
.group-label {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--orangeSoft);
  color: var(--orangeDark);
  border: 1px solid var(--orangeLine);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.resume-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid var(--orangeLine);
  border-radius: 14px;
  background: linear-gradient(180deg, #fffaf5, #fff1e8);
  box-shadow: 0 8px 18px rgba(239, 95, 24, 0.08);
}

.resume-card span {
  display: block;
  color: var(--orangeDark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.resume-card strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
  font-weight: 950;
}

.resume-card small {
  display: block;
  margin-top: 3px;
  color: #666;
  font-size: 12px;
}

.resume-card button {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 950;
}

.hunt-filters {
  padding: 0 0 10px;
  margin: 0 0 2px;
}

.filter-chip {
  font-weight: 900;
}

.hunt-list-wrap {
  padding-bottom: 0;
}

.hunt-list {
  display: grid;
}

.hunt-card {
  width: 100%;
  display: grid;
  text-align: left;
}

.hunt-thumb {
  object-fit: cover;
  border: 1px solid var(--line);
}

.hunt-title {
  font-weight: 900;
}

.hunt-tag {
  display: inline-flex;
  border: 1px solid var(--line);
  font-weight: 850;
  color: #666;
}

.hunt-card.selected .hunt-tag {
  background: var(--orangeSoft);
  border-color: var(--orangeLine);
  color: var(--orangeDark);
}

.hunt-check {
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-weight: 950;
  opacity: 0;
}

.start-panel {
  z-index: 20;
  margin: 12px 0 0;
  backdrop-filter: blur(18px);
}

.selected-hunt {
  display: grid;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
}

.selected-img {
  object-fit: cover;
  border: 1px solid var(--line);
}

.muted {
  font-size: 12px;
  color: #777;
  font-weight: 850;
}

.selected-hunt h2 {
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.selected-hunt p {
  margin-top: 3px;
  color: #777;
}

.btn {
  min-height: 50px;
  border-radius: 11px;
  padding: 0 14px;
  border: 1px solid var(--line);
  font-weight: 900;
}

.btn.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 8px 18px rgba(239, 95, 24, 0.2);
}

.btn.secondary {
  background: #fffdf9;
}

.btn.full {
  width: 100%;
}

.start-panel .btn {
  margin-top: 10px;
}

.panel-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.link-btn {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  color: var(--orangeDark);
}

.topbar {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  margin-bottom: 12px;
}

.top-title {
  text-align: center;
  font-weight: 900;
}

.sheet,
.panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf9;
  box-shadow: var(--shadow);
}

.sheet h1,
.panel h1 {
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.012em;
}

.subcopy {
  margin-top: 8px;
  color: #666;
  line-height: 1.4;
}

.label {
  display: block;
  margin: 14px 0 7px;
  color: #7a5d40;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.input,
.textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d7cbbb;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.textarea {
  min-height: 190px;
  resize: vertical;
  line-height: 1.35;
}

.custom-builder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-count,
.custom-help {
  font-size: 12px;
  color: #777;
}

.custom-count.ready,
.custom-help.ready {
  color: var(--orangeDark);
}

.game-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.game-hero {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf9;
  box-shadow: var(--shadow);
}

.game-hero h1 {
  font-size: 21px;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.code-pill {
  display: inline-flex;
  gap: 4px;
  margin-top: 5px;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--orangeSoft);
  border: 1px solid var(--orangeLine);
  color: var(--orangeDark);
  font-size: 11px;
  font-weight: 850;
}

.code-pill strong {
  letter-spacing: 0.06em;
}

.compact-invite {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 0 0 8px;
}

.compact-invite button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: 0 5px 14px rgba(28, 24, 20, 0.045);
  font-weight: 900;
}

.compact-invite button:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
}

.compact-invite span {
  color: #666;
  font-size: 12px;
}

.compact-invite strong {
  color: var(--orangeDark);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.compact-invite button:last-child {
  padding: 0 14px;
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.play-hint,
.quick-status,
.goal-card,
.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: 0 3px 10px rgba(28, 24, 20, 0.035);
}

.play-hint {
  margin: 0 0 8px;
  min-height: 34px;
  padding: 8px 10px;
  font-size: 13px;
  text-align: center;
  font-weight: 850;
}

.goal-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px;
  align-items: center;
  padding: 9px 10px;
  margin-bottom: 8px;
}

.goal-card h2 {
  font-size: 17px;
}

.goal-card strong {
  font-size: 13px;
  color: var(--orangeDark);
}

.bar {
  grid-column: 1/-1;
}

.bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange);
  transition: width 0.28s ease;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 8px;
}

.stat {
  min-height: 62px;
  padding: 8px 6px;
  text-align: center;
  place-items: center;
}

.stat span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #777;
  font-weight: 900;
}

.stat strong {
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
}

.quick-status {
  min-height: 32px;
  padding: 7px 10px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.quick-status span:first-child {
  font-weight: 850;
}

.saving {
  color: #b94810;
}

.saved {
  color: #137a4a;
}

.board {
  display: grid;
}

.tile {
  text-align: center;
}

.check {
  display: none;
}

.leader-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.leader-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
}

.leader-left {
  display: flex;
  gap: 10px;
}

.rank {
  color: #777;
  font-weight: 900;
}

.player {
  font-weight: 900;
}

.player-meta {
  font-size: 12px;
  color: #777;
  margin-top: 2px;
}

.score {
  font-size: 24px;
  font-weight: 950;
}

.menu-code {
  padding: 12px;
  border: 1px solid var(--orangeLine);
  border-radius: 12px;
  background: var(--orangeSoft);
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
}

.menu-code span {
  color: var(--orangeDark);
  font-size: 12px;
  font-weight: 900;
}

.menu-code strong {
  color: var(--orangeDark);
  letter-spacing: 0.08em;
}

.menu-group {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.group-label {
  width: max-content;
}

.menu-row {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.menu-row span {
  font-weight: 900;
}

.menu-row strong {
  font-size: 12px;
  color: #777;
}

.name-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 247, 239, 0.62);
  backdrop-filter: blur(11px);
}

.name-modal {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(404px, calc(100% - 26px));
  border: 1px solid var(--line);
  border-radius: 22px;
  text-align: left;
}

.modal-mark {
  border-radius: 14px;
}

.modal-kicker {
  display: inline-flex;
  margin-top: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--orangeSoft);
  border: 1px solid var(--orangeLine);
  color: var(--orangeDark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.name-modal h2 {
  margin-top: 10px;
  letter-spacing: -0.01em;
}

.name-modal p {
  margin-top: 7px;
  color: #666;
  line-height: 1.4;
}

.name-modal .input {
  margin-top: 14px;
}

.name-modal .btn {
  margin-top: 10px;
}

.full-link {
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

.status {
  margin-top: 6px;
  color: #777;
  font-size: 12px;
  text-align: center;
}

.win-sheet.hidden {
  display: none;
}

.win-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.win-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 25, 20, 0.42);
  backdrop-filter: blur(8px);
}

.win-panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(430px, 100%);
  transform: translateX(-50%);
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  border: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 48px rgba(28, 24, 20, 0.2);
  text-align: center;
}

.win-badge {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--orange);
  color: #fff;
  font-size: 28px;
  font-weight: 950;
}

.win-panel p {
  margin: 8px auto 14px;
}

.win-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.win-stats div {
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.win-stats span {
  display: block;
  color: #777;
  font-size: 11px;
  font-weight: 850;
}

.win-stats strong {
  display: block;
  margin-top: 3px;
  font-size: 17px;
  font-weight: 950;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%) translateY(8px);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  background: #181818;
  color: #fff;
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 900;
  transition: 0.2s;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sr-only {
  left: -9999px;
}

.bump {
  animation: magicBump 0.32s ease;
}

@keyframes magicBump {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.045);
  }

  100% {
    transform: scale(1);
  }
}

.float-points {
  position: fixed;
  z-index: 130;
  color: var(--orange);
  font-size: 18px;
  font-weight: 950;
  animation: floatPoints 0.8s ease forwards;
}

@keyframes floatPoints {
  0% {
    opacity: 0;
    transform: translate(-50%, -20%) scale(0.85);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -95%) scale(1.05);
  }
}

@media (max-width: 374px) {
  .app {
    padding-left: 10px;
    padding-right: 10px;
  }

  .home-hero h1 {
    font-size: 32px;
  }

  .name-modal h2 {
    font-size: 30px;
  }
}

.i {
  --i-size: 20px;
  width: var(--i-size);
  height: var(--i-size);
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
  vertical-align: middle;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.i-menu {
  --i-size: 21px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
}

.i-map {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6.5 8 4l8 3.5 5-2.5v12.5L16 20l-8-3.5L3 19V6.5Z'/%3E%3Cpath d='M8 4v12.5M16 7.5V20'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6.5 8 4l8 3.5 5-2.5v12.5L16 20l-8-3.5L3 19V6.5Z'/%3E%3Cpath d='M8 4v12.5M16 7.5V20'/%3E%3C/svg%3E");
}

.i-trophy {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 4h8v5a4 4 0 0 1-8 0V4Z'/%3E%3Cpath d='M8 6H5a3 3 0 0 0 3 5M16 6h3a3 3 0 0 1-3 5M12 13v4M9 21h6M8 17h8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 4h8v5a4 4 0 0 1-8 0V4Z'/%3E%3Cpath d='M8 6H5a3 3 0 0 0 3 5M16 6h3a3 3 0 0 1-3 5M12 13v4M9 21h6M8 17h8'/%3E%3C/svg%3E");
}

.i-more {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4.5v15M4.5 12h15'/%3E%3Cpath d='m8 8-3.5 4L8 16M16 8l3.5 4-3.5 4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4.5v15M4.5 12h15'/%3E%3Cpath d='m8 8-3.5 4L8 16M16 8l3.5 4-3.5 4'/%3E%3C/svg%3E");
}

.i-score {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 3 2.5 5 5.5.8-4 3.9.9 5.5L12 15.6 7.1 18.2l.9-5.5-4-3.9 5.5-.8L12 3Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 3 2.5 5 5.5.8-4 3.9.9 5.5L12 15.6 7.1 18.2l.9-5.5-4-3.9 5.5-.8L12 3Z'/%3E%3C/svg%3E");
}

.i-combo {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 20h10a3 3 0 0 0 3-3V9l-8-6-8 6v8a3 3 0 0 0 3 3Z'/%3E%3Cpath d='M8 13h8M8 17h8M10 9h4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 20h10a3 3 0 0 0 3-3V9l-8-6-8 6v8a3 3 0 0 0 3 3Z'/%3E%3Cpath d='M8 13h8M8 17h8M10 9h4'/%3E%3C/svg%3E");
}

.i-bonus {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 12v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-7M3 8h18v4H3V8Z'/%3E%3Cpath d='M12 21V8M12 8H8.5A2.5 2.5 0 1 1 11 5.5L12 8Zm0 0h3.5A2.5 2.5 0 1 0 13 5.5L12 8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 12v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-7M3 8h18v4H3V8Z'/%3E%3Cpath d='M12 21V8M12 8H8.5A2.5 2.5 0 1 1 11 5.5L12 8Zm0 0h3.5A2.5 2.5 0 1 0 13 5.5L12 8Z'/%3E%3C/svg%3E");
}

.i-copy {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='8' y='8' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='8' y='8' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
}

.i-users {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20a6 6 0 0 1 12 0'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M15.5 15.5A5 5 0 0 1 21 20'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20a6 6 0 0 1 12 0'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M15.5 15.5A5 5 0 0 1 21 20'/%3E%3C/svg%3E");
}

.i-pencil {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16v4Z'/%3E%3Cpath d='m13.5 6.5 4 4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16v4Z'/%3E%3Cpath d='m13.5 6.5 4 4'/%3E%3C/svg%3E");
}

.i-join {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1.5'/%3E%3Cpath d='M15 17h4M17 15v4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1.5'/%3E%3Cpath d='M15 17h4M17 15v4'/%3E%3C/svg%3E");
}

.icon-btn .i {
  color: #2f3137;
}

.compact-label {
  display: flex !important;
  align-items: center;
  gap: 7px;
}

.compact-label .i {
  --i-size: 16px;
  color: #6b7280;
}

#compactShareBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#compactShareBtn .i {
  --i-size: 17px;
  color: #fff;
}

.stat {
  display: grid !important;
  grid-template-rows: auto 1fr;
  align-content: center;
  gap: 5px;
}

.stat-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #747984;
  font-size: 12px;
  font-weight: 850;
}

.stat-label .i {
  --i-size: 16px;
  color: #7b8089;
}

#bonusBox .stat-label .i {
  color: #f59e0b;
}

.stat strong {
  margin-top: 0 !important;
}

.menu-row {
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.menu-main {
  display: flex !important;
  align-items: center;
}

.menu-main .i {
  color: #4f5662;
}

.menu-row:hover .menu-main .i,
.menu-row:active .menu-main .i {
  color: var(--orangeDark);
}

.menu-row strong {
  text-align: right;
}

.leader-row {
  border-radius: 13px !important;
  box-shadow: 0 4px 12px rgba(28, 24, 20, 0.035);
}

.avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 950;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.player em {
  color: var(--orange);
  font-style: normal;
}

.leader-invite-card {
  margin-top: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid var(--orangeLine);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf5, #fff1e8);
}

.leader-invite-card > .i {
  --i-size: 54px;
  color: #1f2937;
  margin-bottom: 2px;
}

.leader-invite-card h2 {
  font-size: 21px;
  line-height: 1.1;
  margin: 4px 0 4px;
  letter-spacing: -0.01em;
}

.leader-invite-card p {
  color: #666;
  max-width: 250px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.leader-invite-card .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.leader-invite-card .btn .i {
  --i-size: 20px;
  color: #fff;
}

#overlayJoinBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#overlayJoinBtn .i {
  --i-size: 18px;
  color: currentColor;
}

.menu-code {
  box-shadow: 0 5px 14px rgba(239, 95, 24, 0.06);
}

.group-label {
  margin-bottom: 2px;
}

@media (max-width: 374px) {
  .stat-label {
    font-size: 11px;
    gap: 5px;
  }

  .stat-label .i {
    --i-size: 14px;
  }
}

#huntView {
  display: none;
}

#huntView.active {
  display: block;
}

.game-card {
  display: grid;
}

.game-hero,
.compact-invite,
.play-hint,
.goal-card,
.stats-row,
.quick-status {
  display: none !important;
}

.hunt-identity h1,
#gameTrip {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: 22px !important;
  line-height: 1.04 !important;
  letter-spacing: -0.012em !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.code-chip {
  display: inline-flex;
  align-items: center;
  font-weight: 850;
}

.code-chip .i {
  --i-size: 14px;
  color: var(--orangeDark);
}

.code-chip strong {
  font-weight: 950;
}

.mini-invite {
  font-weight: 950;
}

.progress-head h2 {
  line-height: 1.02 !important;
  letter-spacing: -0.012em !important;
}

.progress-head > strong {
  color: var(--orangeDark);
  font-weight: 950;
  line-height: 1;
}

.game-progress .bar {
  overflow: hidden;
}

.game-progress .bar i {
  display: block;
  height: 100%;
  width: 0;
  transition: width 0.28s ease;
}

.mini-stat {
  align-content: center;
  justify-items: center;
}

.mini-stat-label {
  text-transform: uppercase;
}

.mini-stat-label .i {
  color: #7b8089;
}

#bonusBox .mini-stat-label .i {
  color: #f59e0b;
}

.mini-stat strong {
  font-weight: 950;
}

.game-instruction {
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: 0 3px 10px rgba(28, 24, 20, 0.03);
}

.game-instruction span {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
}

.game-instruction strong {
  flex: none;
  color: #666;
  font-size: 12px;
  font-weight: 850;
}

.icon-btn {
  width: 36px !important;
  height: 36px !important;
}

@media (max-width: 374px) {
  .mini-invite {
    width: 100%;
  }

  .hunt-identity h1,
    #gameTrip {
    font-size: 20px !important;
  }

  .game-stats-inline {
    gap: 5px;
  }

  .mini-stat-label {
    font-size: 9px;
  }
}

.top-action {
  margin-left: auto;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf9;
  color: var(--orangeDark);
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 3px 10px rgba(28, 24, 20, 0.04);
}

.game-header {
  justify-content: center !important;
  position: relative;
}

.game-brand {
  justify-content: center;
}

.game-header > .icon-btn:last-child {
  display: none !important;
}

.options-panel h1 {
  font-size: 34px !important;
  line-height: 1.05 !important;
}

.options-code {
  margin-top: 12px !important;
}

.options-group {
  margin-top: 14px !important;
}

.options-row {
  min-height: 56px !important;
}

#playersView .panel h1 {
  font-size: 34px !important;
}

#playersView .subcopy {
  margin-bottom: 10px;
}

#optionsView .panel {
  display: grid;
  gap: 12px;
}

#optionsView h1::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--orange);
}

#leaderboardView .panel h1 {
  font-size: 34px !important;
  line-height: 1.04 !important;
  letter-spacing: -0.01em !important;
}

#leaderboardView .subcopy {
  margin-bottom: 10px;
}

#continueNameBtn,
#startHuntBtn {
  letter-spacing: -0.005em;
}

.game-topline,
.game-progress,
.board-frame {
  box-shadow: 0 6px 16px rgba(28, 24, 20, 0.052) !important;
}

.progress-head h2 {
  margin-top: 4px !important;
}

.progress-head > strong {
  font-size: 17px !important;
}

.progress-status {
  align-items: center;
  border-top: 1px solid #ece2d6;
}

.progress-status span {
  color: #3f3f3f;
  line-height: 1.2;
  font-weight: 850;
}

.progress-status strong {
  flex: none;
  color: #777;
  font-size: 11px;
  font-weight: 900;
}

.progress-status strong.saving {
  color: var(--orangeDark);
}

.progress-status strong.saved {
  color: #137a4a;
}

.mini-stat-label .i {
  --i-size: 13px !important;
}

.tile {
  font-size: 11px !important;
  font-weight: 820 !important;
  letter-spacing: -0.003em !important;
}

.options-panel,
.menu-panel {
  gap: 10px !important;
}

.options-code,
.menu-code {
  margin: 10px 0 4px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(239, 95, 24, 0.045) !important;
}

.options-group,
.menu-group {
  margin-top: 10px !important;
  gap: 7px !important;
}

.group-label {
  margin: 4px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #8a6d55 !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.options-row,
.menu-row {
  border-radius: 12px !important;
  box-shadow: 0 3px 10px rgba(28, 24, 20, 0.026) !important;
}

.menu-main .i {
  --i-size: 20px !important;
}

.name-modal h2 {
  line-height: 1.04 !important;
}

.name-modal p {
  font-size: 14px !important;
}

.selected-hunt {
  border-color: #dacdbd !important;
}

.game-instruction {
  display: none !important;
}

@media (max-width: 374px) {
  .tile {
    font-size: 9.5px !important;
  }

  .mini-stat strong {
    font-size: 17px !important;
  }
}

.complete-banner {
  margin: 0 0 8px;
  border: 1px solid var(--orangeLine);
}

.complete-banner.hidden {
  display: none !important;
}

.complete-banner span {
  display: block;
  font-weight: 950;
  text-transform: uppercase;
}

.complete-banner strong {
  margin-top: 2px;
  font-weight: 950;
}

.complete-banner button {
  font-weight: 950;
  white-space: nowrap;
}

.win-panel .btn + .btn,
.win-panel .btn + .link-btn {
  margin-top: 8px;
}

.win-panel .link-btn {
  border: 0 !important;
  background: transparent !important;
  color: #777 !important;
  box-shadow: none !important;
}

.win-panel p {
  max-width: 330px;
  line-height: 1.42;
}

#menuSwitchHuntBtn,
#menuSwitchHuntBtn .menu-main .i {
  color: var(--orangeDark);
}

.complete-banner + .board-frame {
  margin-top: 0 !important;
}

@media (max-width: 374px) {
  .complete-banner {
    grid-template-columns: 1fr;
  }

  .complete-banner button {
    width: 100%;
  }
}

:root {
  --premium-shadow: 0 14px 34px rgba(28, 24, 20, 0.1);
  --subtle-shadow: 0 6px 16px rgba(28, 24, 20, 0.052);
}

.home-hero h1,
.name-modal h2,
.sheet h1,
.panel h1,
.win-panel h2,
#gameTrip,
.selected-hunt h2,
.featured-hunt h2 {
  letter-spacing: -0.008em !important;
  line-height: 1.08 !important;
}

.home-hero {
  border-color: #ddcfbe !important;
}

.home-hero::after {
  bottom: -52px;
}

.featured-hunt {
  position: relative;
  grid-template-columns: 1fr 92px;
  gap: 12px;
  align-items: center;
  margin: 0 0 12px;
  padding: 13px;
  border: 1px solid #ddcfbe;
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: var(--premium-shadow);
  overflow: hidden;
}

.featured-hunt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239, 95, 24, 0.07), transparent 44%);
  pointer-events: none;
}

.featured-copy {
  position: relative;
  min-width: 0;
  z-index: 1;
}

.feature-kicker {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--orangeSoft);
  border: 1px solid var(--orangeLine);
  color: var(--orangeDark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.featured-hunt h2 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 950;
}

.featured-hunt p {
  margin-top: 5px;
  color: #626262;
  font-size: 13px;
  line-height: 1.32;
}

.featured-hunt img {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 74px;
  object-fit: cover;
  border: 1px solid #d8cabb;
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(28, 24, 20, 0.1);
}

.featured-hunt button {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  min-height: 42px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
}

.hunt-card {
  border-color: #ded2c3 !important;
}

.hunt-card.selected .hunt-check {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.hunt-check {
  transform: scale(0.9);
  transition: opacity 0.16s ease,
    transform 0.16s ease;
}

.builder-hook {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  border: 1px solid #ddcfbe;
  box-shadow: var(--subtle-shadow);
}

.builder-hook span {
  display: block;
  color: var(--orangeDark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.builder-hook strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  line-height: 1.2;
}

.builder-hook button {
  padding: 0 13px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 950;
}

.start-panel {
  border-color: #dacdbd !important;
}

#startHuntBtn {
  font-size: 16px !important;
}

.game-topline,
.game-progress {
  border-color: #dacdbd !important;
  background: linear-gradient(180deg, #fffdf9, #fffaf5) !important;
  box-shadow: var(--subtle-shadow) !important;
}

.code-chip {
  box-shadow: 0 3px 8px rgba(239, 95, 24, 0.055);
}

.game-progress {
  position: relative;
  overflow: hidden;
}

.game-progress::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(239, 95, 24, 0.035),
    transparent 42%
  );
  pointer-events: none;
}

.progress-head,
.progress-status,
.game-stats-inline {
  position: relative;
  z-index: 1;
}

.game-progress .bar {
  position: relative;
  z-index: 1;
}

.game-progress .bar i {
  background: linear-gradient(90deg, #f7a15e, var(--orange)) !important;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.win-panel {
  background: linear-gradient(180deg, #fffdf9, #fff7f0) !important;
  border-color: #dacdbd !important;
}

.win-badge {
  box-shadow: 0 10px 22px rgba(239, 95, 24, 0.25);
}

.win-panel h2 {
  font-size: 34px !important;
}

.win-panel p {
  color: #575757 !important;
}

.win-stats div {
  background: #fff !important;
  box-shadow: 0 4px 12px rgba(28, 24, 20, 0.035);
}

#winInviteBtn {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
}

.options-row,
.menu-row {
  background: #fffdf9 !important;
}

.options-row:active,
.menu-row:active,
.hunt-card:active,
.tile:active {
  transform: scale(0.985);
}

.name-modal {
  background: linear-gradient(180deg, #fffdf9, #fff8f2) !important;
  border-color: #dacdbd !important;
  box-shadow: 0 24px 60px rgba(28, 24, 20, 0.22) !important;
}

#continueNameBtn {
  min-height: 52px !important;
}

@media (max-width: 374px) {
  .featured-hunt {
    grid-template-columns: 1fr;
  }

  .featured-hunt img {
    width: 100%;
    height: 110px;
  }
}

.featured-hunt {
  display: none !important;
}

.hunt-card.selected {
  transform: none !important;
}

.start-panel {
  position: sticky !important;
  bottom: 8px !important;
}

#startHuntBtn {
  width: 100%;
}

.hunt-filters {
  margin-bottom: 2px !important;
}

.builder-hook {
  margin-top: 9px !important;
}

.filter-chip {
  font-size: 12px !important;
}

.start-player-line {
  color: var(--orangeDark) !important;
  font-weight: 850 !important;
}

#startHuntBtn {
  margin-top: 9px !important;
}

.builder-hook {
  padding: 10px !important;
  border-radius: 13px !important;
  background: #fffdf9 !important;
}

.builder-hook strong {
  font-size: 13px !important;
}

.builder-hook button {
  min-height: 34px !important;
}

.progress-head h2 {
  font-size: 17px !important;
}

.leader-invite-card {
  min-height: 190px !important;
}

.options-panel,
.menu-panel {
  padding: 15px !important;
}

.options-row,
.menu-row {
  min-height: 50px !important;
  border-color: #e4d8ca !important;
}

.menu-main {
  gap: 10px !important;
}

.name-modal {
  padding: 15px !important;
}

.modal-mark {
  width: 48px !important;
  height: 48px !important;
}

.name-modal h2 {
  font-size: 30px !important;
}

.name-modal p {
  max-width: 290px;
}

@media (max-width: 374px) {
  .hunt-card {
    grid-template-columns: 78px 1fr 22px !important;
  }

  .hunt-thumb {
    width: 78px !important;
    height: 56px !important;
  }

  .tile {
    min-height: 66px !important;
  }
}

.game-top-actions {
  grid-template-columns: 1fr;
}

.mini-change,
.mini-invite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  white-space: nowrap;
}

.mini-change {
  border: 1px solid var(--line);
  background: #fffdf9;
  box-shadow: 0 3px 9px rgba(28, 24, 20, 0.035);
}

.mini-change .i {
  --i-size: 15px;
  color: #6f6f6f;
}

.mini-invite .i {
  --i-size: 15px !important;
  color: #fff !important;
}

@media (max-width: 374px) {
  .game-topline {
    grid-template-columns: 1fr !important;
  }

  .game-top-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.game-nav-rail {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
}

.game-nav-rail button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf9;
  color: #4f4f4f;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 3px 9px rgba(28, 24, 20, 0.035);
}

.game-nav-rail button .i {
  --i-size: 15px;
  color: #777;
}

.game-nav-rail span {
  min-width: 0;
  color: #777;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-change {
  color: #3f3f3f !important;
}

.view-back-btn {
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 3px 9px rgba(28, 24, 20, 0.035);
}

.view-back-btn .i {
  --i-size: 16px;
  color: #777;
}

.options-row strong,
.menu-row strong {
  max-width: 130px;
  line-height: 1.15;
}

.game-nav-rail + #huntView .game-card {
  gap: 7px !important;
}

#homeScreen .brand-header {
  padding-bottom: 10px !important;
}

@media (max-width: 374px) {
  .game-nav-rail {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .game-nav-rail button {
    width: max-content;
  }
}

.game-nav-rail {
  display: none !important;
}

.hunt-filters {
  scrollbar-width: none;
}

.filter-chip[data-filter="custom"],
.filter-chip[data-filter="race"] {
  border-color: var(--orangeLine) !important;
  color: var(--orangeDark) !important;
  background: #fffaf5 !important;
}

.filter-chip[data-filter="custom"].active,
.filter-chip[data-filter="race"].active {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  color: #fff !important;
}

.filter-chip[data-filter="coast"].active {
  background: #fff1e8 !important;
  border-color: var(--orangeLine) !important;
  color: var(--orangeDark) !important;
}

.secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 10px 0 0;
}

.secondary-action-card {
  border: 1px solid var(--line);
  background: #fffdf9;
  text-align: left;
}

.secondary-action-card span {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--orangeSoft);
  border: 1px solid var(--orangeLine);
  color: var(--orangeDark);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.secondary-action-card strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  line-height: 1.1;
  font-weight: 950;
}

.secondary-action-card small {
  display: block;
  margin-top: 4px;
  color: #707070;
  font-size: 11px;
  line-height: 1.25;
}

.builder-hook {
  display: none !important;
}

@media (max-width: 374px) {
  .secondary-actions {
    grid-template-columns: 1fr;
  }
}

.appFooterFeedback {
  display: flex;
  justify-content: center;
  padding: 18px 0 88px;
}

.appFooterFeedbackLink {
  color: #7a746e;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 116, 110, 0.35);
}

.appFooterFeedbackLink:active {
  color: var(--orangeDark);
  border-bottom-color: var(--orangeDark);
}

.feedback-row {
  color: inherit;
}

.feedback-row strong {
  color: #777 !important;
}

.feedback-row .i {
  color: #777 !important;
}

#gameScreen .appFooterFeedback {
  display: none !important;
}

.hunt-search-wrap {
  margin: 0 0 8px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hunt-search {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fffdf9;
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
  outline: none;
  box-shadow: 0 4px 12px rgba(28, 24, 20, 0.035);
}

.hunt-search::placeholder {
  color: #9a9289;
}

.hunt-search:focus {
  border-color: var(--orangeLine);
  box-shadow: 0 0 0 4px rgba(239, 95, 24, 0.09);
}

.show-more-hunts {
  width: 100%;
  margin: 9px 0 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fffdf9;
  color: #4f4f4f;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 4px 12px rgba(28, 24, 20, 0.035);
}

.show-more-hunts.hidden {
  display: none !important;
}

.empty-hunts {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: #fffdf9;
  color: #777;
  font-weight: 850;
  text-align: center;
}

.hunt-search-wrap,
.hunt-search {
  display: none !important;
}

@media (max-width: 374px) {
  .brand-byline,
    .brand-sub {
    font-size: 11px !important;
  }
}

.brand-header {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  grid-template-areas: "brand action"
    "status action";
}

.brand-lockup {
  grid-area: brand;
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-header .top-action {
  grid-area: action;
  align-self: center;
}

.brand-wordmark {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  color: var(--ink) !important;
  font-weight: 950 !important;
  text-transform: none !important;
}

.brand-byline {
  width: max-content;
  color: var(--orangeDark) !important;
  font-weight: 900 !important;
  letter-spacing: 0.015em !important;
}

.brand-sub {
  grid-area: status;
  margin: 0 0 0 52px !important;
  font-weight: 800 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-header {
  justify-items: center !important;
}

.game-brand-lockup {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0;
}

.game-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.game-brand-title {
  color: var(--ink) !important;
  font-weight: 950 !important;
}

.game-brand-sub {
  width: max-content;
  border-radius: 999px;
  background: rgba(239, 95, 24, 0.08);
  color: var(--orangeDark) !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.012em !important;
}

.brand-header > img.brand-mark {
  display: none !important;
}

.brand-header > div:not(.brand-lockup):not(.brand-sub) {
  min-width: 0;
}

.home-hero {
  margin-top: 2px !important;
}

@media (max-width: 374px) {
  .brand-header {
    grid-template-columns: 1fr auto !important;
    column-gap: 8px !important;
  }

  .brand-lockup {
    gap: 8px !important;
  }

  .brand-byline {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }

  .game-brand-sub {
    font-size: 9px !important;
  }
}

:root {
  --radius-sm: 10px;
  --radius-lg: 14px;
}

.brand-header {
  column-gap: 10px !important;
  row-gap: 2px !important;
}

.brand-lockup {
  gap: 9px !important;
}

.brand-mark {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
}

.brand-wordmark {
  gap: 0 !important;
}

.brand-title {
  font-size: 23px !important;
  line-height: 0.96 !important;
}

.brand-byline {
  margin-top: 3px !important;
  padding: 2px 6px 2px !important;
  border: 1px solid rgba(239, 95, 24, 0.18) !important;
  font-size: 9.5px !important;
  line-height: 1 !important;
}

.brand-sub {
  margin-left: 47px !important;
  line-height: 1.15 !important;
}

.game-brand-lockup {
  gap: 7px !important;
}

.game-logo {
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 10px rgba(239, 95, 24, 0.1) !important;
}

.game-brand-title {
  font-size: 17px !important;
  line-height: 0.98 !important;
  letter-spacing: -0.025em !important;
}

.game-brand-sub {
  margin-top: 2px !important;
  padding: 1px 5px 2px !important;
  font-size: 9px !important;
}

.screen-card,
.surface-card,
.sheet,
.panel,
.panel-card,
.start-panel,
.option-card,
.board-shell,
.status-card,
.summary-card,
.card,
.board-wrap,
.modal-card,
.setup-card {
  border-radius: 14px !important;
}

.hunt-tag {
  border-radius: 999px !important;
}

.filter-chip,
.mini-change,
.show-more-hunts,
.secondary-action-card,
.segmented button,
.segment-btn,
.utility-pill,
.chip {
  border-radius: 11px !important;
}

.filter-chip {
  padding: 0 11px !important;
}

.show-more-hunts {
  min-height: 42px !important;
}

input,
select,
textarea,
.name-input,
.hunt-search,
.join-code-input,
.primary-btn,
.secondary-btn,
button,
.cta,
.action-btn {
  border-radius: 12px !important;
}

input,
select,
textarea,
.name-input,
.join-code-input {
  min-height: 42px !important;
}

.primary-btn,
.secondary-btn,
.cta,
.action-btn {
  min-height: 44px !important;
}

.board-grid,
.game-board,
.board {
  gap: 8px !important;
}

.board-cell,
.bingo-cell,
.cell {
  border-radius: 12px !important;
  padding: 8px !important;
  box-shadow: none !important;
}

.board-cell .icon-wrap,
.bingo-cell .icon-wrap,
.cell .icon-wrap {
  border-radius: 10px !important;
}

.hero-card,
.info-banner,
.empty-state,
.empty-hunts {
  border-radius: 14px !important;
}

@media (max-width: 374px) {
  .brand-mark {
    width: 36px !important;
    height: 36px !important;
  }

  .brand-title {
    font-size: 21px !important;
  }

  .brand-sub {
    margin-left: 45px !important;
    font-size: 11px !important;
  }

  .game-brand-title {
    font-size: 16px !important;
  }
}

.tile {
  display: grid !important;
  place-items: center !important;
}

.tile.found {
  padding-right: 8px !important;
}

@keyframes tilePopV38 {
  0% {
    transform: scale(0.97);
  }

  100% {
    transform: scale(1);
  }
}

.app,
.screen.active,
#gameScreen.active {
  min-height: 100dvh;
}

.game-screen {
  padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
}

#huntView,
#leaderboardView,
#optionsView {
  padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
}

.tile-detail-rail {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(28, 24, 20, 0.035);
}

.tile-detail-rail.hidden {
  display: none !important;
}

.tile-detail-rail span {
  color: var(--orangeDark);
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tile-detail-rail strong {
  color: var(--ink);
}

.tile.has-detail::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(185, 72, 16, 0.42);
}

.tile.found.has-detail::after {
  background: rgba(185, 72, 16, 0.55);
}

@media (max-width: 390px) {
  .tile-label {
    -webkit-line-clamp: 3 !important;
  }

  .tile-detail-rail strong {
    font-size: 12.5px;
  }
}

.tile-detail-rail strong {
  font-weight: 820 !important;
}

.tile {
  align-items: center !important;
  justify-content: center !important;
}

@media (min-width: 391px) {
  .tile-label {
    font-size: 10.7px !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 360px) {
  .tile-label {
    -webkit-line-clamp: 4 !important;
  }
}

@media (max-width: 390px) {
  .tile-label {
    font-size: 9.3px !important;
    line-height: 1.14 !important;
    max-width: 98% !important;
  }
}

@media (max-width: 360px) {
  .tile-label {
    font-size: 8.9px !important;
    line-height: 1.12 !important;
  }
}

.tile {
  container-type: inline-size;
}

.tile-label {
  margin: auto !important;
}

.tile.label-medium .tile-label {
  letter-spacing: -0.01em !important;
}

.tile.label-long .tile-label {
  letter-spacing: -0.006em !important;
}

.tile.label-xlong .tile-label {
  letter-spacing: 0 !important;
}

@media (min-width: 391px) {
  .tile.label-short .tile-label {
    font-size: 11.6px !important;
  }

  .tile.label-medium .tile-label {
    font-size: 10.8px !important;
  }

  .tile.label-long .tile-label {
    font-size: 9.9px !important;
  }

  .tile.label-xlong .tile-label {
    font-size: 9.1px !important;
  }
}

@media (max-width: 360px) {
  .tile.label-short .tile-label {
    line-height: 1.1 !important;
  }

  .tile.label-medium .tile-label {
    line-height: 1.08 !important;
  }

  .tile.label-long .tile-label {
    line-height: 1.06 !important;
  }

  .tile.label-xlong .tile-label {
    line-height: 1.04 !important;
  }
}

@container (max-width: 66px) {
  .tile.label-long .tile-label,
    .tile.label-xlong .tile-label {
    font-size: 8px !important;
    line-height: 1.04 !important;
  }
}

.board {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.board[data-cols="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.tile:not(.label-short):not(.label-medium):not(.label-long):not(.label-xlong)
  .tile-label {
  font-size: clamp(11px, 2.85vw, 13px) !important;
  line-height: 1.1 !important;
  -webkit-line-clamp: 4 !important;
}

@media (max-width: 360px) {
  .tile {
    padding: 6px 5px !important;
  }
}

:root {
  --v44-shadow-soft: 0 6px 16px rgba(28, 24, 20, 0.045);
  --v44-shadow-board: 0 10px 24px rgba(28, 24, 20, 0.07);
}

.home-hero {
  margin-bottom: 10px !important;
}

.home-hero h1 {
  margin-top: 6px !important;
}

.home-hero p {
  margin-top: 6px !important;
}

.hunt-tag {
  margin-top: 5px !important;
  padding: 3px 7px !important;
  font-size: 10px !important;
}

.hunt-check {
  width: 18px !important;
  height: 18px !important;
  font-size: 11px !important;
}

.start-panel {
  margin-top: 10px !important;
  padding: 9px !important;
}

.selected-hunt {
  padding: 7px !important;
}

.selected-img {
  width: 46px !important;
  height: 46px !important;
  border-radius: 8px !important;
}

.selected-hunt h2 {
  font-size: 17px !important;
}

.selected-hunt p {
  font-size: 11px !important;
}

#startHuntBtn {
  min-height: 46px !important;
}

.secondary-actions {
  gap: 8px !important;
  margin-top: 9px !important;
}

.secondary-action-card {
  min-height: 72px !important;
  border-radius: 12px !important;
  padding: 9px !important;
  box-shadow: 0 4px 12px rgba(28, 24, 20, 0.035) !important;
}

.secondary-action-card strong {
  font-size: 13px !important;
}

.progress-head h2,
#goalText {
  font-size: 17px !important;
  line-height: 1.05 !important;
}

.progress-head strong,
#goalCount {
  font-size: 15px !important;
}

.progress-status {
  padding-top: 6px !important;
}

.progress-status span {
  font-size: 11.5px !important;
}

.tile.label-short .tile-label {
  font-size: clamp(12.5px, 3.2vw, 14.5px) !important;
  line-height: 1.08 !important;
  -webkit-line-clamp: 3 !important;
  font-weight: 890 !important;
}

.tile.label-medium .tile-label {
  font-size: clamp(11.4px, 2.95vw, 13.4px) !important;
  line-height: 1.08 !important;
  -webkit-line-clamp: 3 !important;
  font-weight: 850 !important;
}

.tile.label-long .tile-label {
  font-size: clamp(10.2px, 2.62vw, 12px) !important;
  line-height: 1.07 !important;
  -webkit-line-clamp: 4 !important;
  font-weight: 820 !important;
}

.tile.label-xlong .tile-label {
  font-size: clamp(9.2px, 2.38vw, 10.8px) !important;
  line-height: 1.05 !important;
  -webkit-line-clamp: 4 !important;
  font-weight: 800 !important;
}

.tile.found::before {
  top: 5px !important;
  right: 5px !important;
  width: 14px !important;
  height: 14px !important;
  place-items: center !important;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 950 !important;
}

.tile.has-detail::after {
  width: 3px !important;
  height: 3px !important;
  left: 5px !important;
  bottom: 5px !important;
  opacity: 0.35 !important;
}

.tile-detail-rail {
  margin: 0 0 5px !important;
  padding: 7px 9px !important;
  border-radius: 10px !important;
}

.tile-detail-rail span {
  font-size: 9px !important;
}

.tile-detail-rail strong {
  font-size: 12px !important;
  line-height: 1.25 !important;
}

.view-back-btn {
  min-height: 34px !important;
  margin-bottom: 8px !important;
  border-radius: 999px !important;
}

#leaderboardView .panel,
#optionsView .panel {
  border-radius: 13px !important;
  padding: 14px !important;
}

#leaderboardView .panel h1,
#optionsView .panel h1 {
  font-size: 30px !important;
}

.game-screen,
#huntView,
#leaderboardView,
#optionsView {
  padding-bottom: calc(122px + env(safe-area-inset-bottom)) !important;
}

@media (max-width: 390px) {
  .tile.label-short .tile-label {
    font-size: 11.6px !important;
  }

  .tile.label-medium .tile-label {
    font-size: 10.8px !important;
  }

  .tile.label-long .tile-label {
    font-size: 9.9px !important;
  }

  .tile.label-xlong .tile-label {
    font-size: 9px !important;
  }

  .game-screen,
    #huntView,
    #leaderboardView,
    #optionsView {
    padding-bottom: calc(116px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 360px) {
  .tile {
    min-height: 74px !important;
  }

  .tile.label-short .tile-label {
    font-size: 10.8px !important;
  }

  .tile.label-medium .tile-label {
    font-size: 10px !important;
  }

  .tile.label-long .tile-label {
    font-size: 9.2px !important;
  }

  .tile.label-xlong .tile-label {
    font-size: 8.5px !important;
  }
}

.hunt-list {
  position: relative;
}

.hunt-list::after {
  content: "";
  pointer-events: none;
  position: sticky;
  display: block;
  bottom: 0;
  height: 10px;
  margin-top: -10px;
  background: linear-gradient(
    180deg,
    rgba(255, 247, 239, 0),
    rgba(255, 247, 239, 0.88)
  );
  opacity: 0.9;
}

.hunt-card {
  transition: transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

.hunt-card:active {
  transform: scale(0.992);
}

.tile-label {
  font-feature-settings: "kern";
}

.tile.label-short .tile-label {
  letter-spacing: -0.015em !important;
}

.tile.label-medium .tile-label,
.tile.label-long .tile-label {
  letter-spacing: -0.01em !important;
}

.complete-banner,
.tile-detail-rail,
.game-progress,
.game-topline {
  backdrop-filter: saturate(1.05);
}

#homeScreen {
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
}

.hero-kicker {
  position: relative;
  z-index: 1;
}

.home-hero h1,
.home-hero p {
  position: relative;
  z-index: 1;
}

.home-game-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}

.home-game-strip div {
  min-height: 56px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdf9, #fff8f0);
  box-shadow: 0 6px 16px rgba(28, 24, 20, 0.045);
}

.home-game-strip strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.home-game-strip span {
  color: #7b736b;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.hunt-list {
  scroll-snap-type: y proximity;
  overscroll-behavior: contain;
  padding-bottom: 4px;
}

.hunt-card {
  scroll-snap-align: start;
  scroll-margin-top: 10px;
}

.hunt-card:focus-visible {
  outline: 3px solid rgba(239, 95, 24, 0.25);
  outline-offset: 2px;
}

.hunt-card.selected .hunt-title {
  color: #211915 !important;
}

.hunt-tag,
.filter-chip.active,
.brand-byline,
.code-chip {
  letter-spacing: 0.035em !important;
}

.tile:not(.found):hover {
  border-color: rgba(239, 95, 24, 0.26) !important;
}

.complete-banner {
  position: relative;
  overflow: hidden;
}

.complete-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 12% 0%,
    rgba(239, 95, 24, 0.18),
    transparent 32%
  );
  opacity: 0.9;
}

#homeScreen {
  padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
}

.landing-panel {
  min-height: calc(100dvh - 24px);
  padding-bottom: calc(106px + env(safe-area-inset-bottom)) !important;
}

.landing-empty,
.landing-options {
  display: grid;
  gap: 12px;
  text-align: left;
}

.landing-empty {
  justify-items: center;
  text-align: center;
}

.empty-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(180deg, #fff7ef, #ffe8d8);
  box-shadow: 0 8px 20px rgba(239, 95, 24, 0.12);
  font-size: 26px;
}

.landing-empty h1,
.landing-options h1 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.landing-empty p {
  max-width: 280px;
  margin: 0;
  color: #746b63;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 750;
}

.home-game-strip div {
  position: relative;
  overflow: hidden;
}

.home-game-strip div::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 70%;
  height: 160%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transform: rotate(18deg);
  opacity: 0.36;
}

.hunt-card.selected::after {
  content: "Ready";
  position: absolute;
  right: 10px;
  top: 9px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 5px 12px rgba(239, 95, 24, 0.16);
}

@keyframes tileFoundPopV53 {
  0% {
    transform: scale(0.96);
  }

  65% {
    transform: scale(1.018);
  }

  100% {
    transform: scale(1);
  }
}

.appFooterFeedback {
  padding-bottom: calc(116px + env(safe-area-inset-bottom)) !important;
}

:root {
  --game-ink: #201813;
  --game-brown: #4b382c;
  --game-paper-2: #fff3e7;
  --game-line: rgba(79, 55, 37, 0.13);
  --game-glow: rgba(239, 95, 24, 0.18);
}

.brand-header {
  padding: 2px 2px 10px !important;
}

.brand-mark {
  box-shadow: 0 7px 18px rgba(239, 95, 24, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45) !important;
}

.brand-title {
  letter-spacing: -0.045em !important;
}

.home-hero::before {
  inset: auto -18px -34px auto;
  transform: rotate(-12deg);
}

.play-hook-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}

.play-hook-card {
  position: relative;
  min-height: 66px;
  padding: 9px 8px;
  overflow: hidden;
  border-radius: 13px;
  border: 1px solid var(--game-line);
  background: linear-gradient(
    180deg,
    rgba(255, 253, 249, 0.98),
    rgba(255, 245, 235, 0.98)
  );
  box-shadow: 0 7px 18px rgba(28, 24, 20, 0.055);
}

.play-hook-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(239, 95, 24, 0.08);
}

.hook-index {
  display: inline-flex;
  color: var(--orangeDark);
  font-size: 9px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.play-hook-card strong {
  display: block;
  margin-top: 6px;
  color: var(--game-ink);
  font-size: 16px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.play-hook-card small {
  display: block;
  margin-top: 4px;
  color: #7b6b5f;
  font-size: 10.5px;
  line-height: 1.15;
  font-weight: 850;
}

.hunt-thumb {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.hunt-title {
  letter-spacing: -0.035em !important;
}

.hunt-desc {
  max-width: 94%;
  color: #6f6258 !important;
  font-weight: 760 !important;
}

.hunt-tag {
  background: rgba(239, 95, 24, 0.075) !important;
  border-color: rgba(239, 95, 24, 0.18) !important;
}

#startHuntBtn,
.primary-btn {
  box-shadow: 0 10px 22px rgba(239, 95, 24, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22) !important;
}

.game-topline,
.game-progress,
.tile-detail-rail {
  border-radius: 14px !important;
  box-shadow: 0 8px 18px rgba(31, 24, 18, 0.055) !important;
}

.progress-head h2,
#goalText {
  letter-spacing: -0.04em !important;
}

@media (max-width: 390px) {
  .home-hero {
    min-height: 142px;
  }

  .play-hook-card {
    min-height: 60px;
    padding: 8px 7px;
  }

  .play-hook-card strong {
    font-size: 15px;
  }

  .play-hook-card small {
    font-size: 10px;
  }
}

:root {
  --pi-paper: #fffdf8;
  --pi-line: rgba(77, 55, 38, 0.15);
}

.brand-header {
  padding-bottom: 12px !important;
}

.brand-mark,
.game-logo {
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(239, 95, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
}

.brand-byline {
  border-radius: 999px !important;
  background: rgba(239, 95, 24, 0.075) !important;
  border-color: rgba(239, 95, 24, 0.18) !important;
}

@keyframes piHeroSheen {
  0%,
    30% {
    transform: translateX(-115%);
  }

  55%,
    100% {
    transform: translateX(115%);
  }
}

.hero-kicker,
.label-mini,
.group-label,
.hunt-tag {
  border-radius: 999px !important;
  background: rgba(239, 95, 24, 0.075) !important;
  border-color: rgba(239, 95, 24, 0.18) !important;
  color: var(--pi-orange-dark) !important;
  letter-spacing: 0.055em !important;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes piTileIn {
  from {
    opacity: 0;
    transform: translateY(5px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes piTileClaim {
  0% {
    transform: scale(0.982);
  }

  65% {
    transform: scale(1.012);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes piSoftPulse {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.035);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes piBarPulse {
  0% {
    filter: brightness(1);
  }

  45% {
    filter: brightness(1.16);
  }

  100% {
    filter: brightness(1);
  }
}

@keyframes piModalIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.986);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.feedback-row {
  text-decoration: none !important;
}

:root {
  --pi-ink: #1d1713;
  --pi-muted: #74675c;
  --pi-bg: #fff8ef;
  --pi-paper-2: #fff5eb;
  --pi-line-strong: rgba(73, 52, 36, 0.24);
  --pi-orange-dark: #a94412;
  --pi-shadow: 0 14px 32px rgba(31, 24, 18, 0.08);
  --pi-shadow-soft: 0 8px 20px rgba(31, 24, 18, 0.055);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--pi-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.app {
  padding-top: 16px !important;
}

.brand-header,
.game-header {
  padding-bottom: 10px !important;
}

.brand-title,
.game-brand-title,
.home-hero h1,
.hunt-title,
#gameTrip,
.panel h1,
.name-modal h2,
.win-panel h2 {
  color: var(--pi-ink) !important;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

.brand-byline,
.hero-kicker,
.label-mini,
.group-label,
.hunt-tag {
  border-radius: 999px !important;
  color: var(--pi-orange-dark) !important;
  background: rgba(239, 95, 24, 0.075) !important;
  border-color: rgba(239, 95, 24, 0.18) !important;
  letter-spacing: 0.055em !important;
}

.home-hero {
  box-shadow: var(--pi-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

.home-hero::before {
  top: -54px;
  border-radius: 50%;
  border: 20px solid rgba(239, 95, 24, 0.058);
  pointer-events: none;
}

.home-hero::after {
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 46%,
    transparent 66%
  );
  transform: translateX(-115%);
  animation: piHeroSweepV61 8.75s ease-in-out infinite;
  opacity: 0.52;
}

@keyframes piHeroSweepV61 {
  0%,
    32% {
    transform: translateX(-115%);
  }

  58%,
    100% {
    transform: translateX(115%);
  }
}

.home-hero h1 {
  max-width: 310px !important;
}

.home-hero p {
  max-width: 285px !important;
  color: #4e3a2d !important;
  font-weight: 830 !important;
}

.home-game-strip,
.play-hook-rail {
  gap: 8px !important;
}

.home-game-strip div,
.play-hook-card {
  border-radius: 14px !important;
  border: 1px solid rgba(207, 191, 174, 0.86) !important;
  background: rgba(255, 253, 248, 0.72) !important;
  box-shadow: var(--pi-shadow-soft) !important;
}

.hunt-section-title {
  margin: 14px 2px 8px !important;
  color: #7b6a5b !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: 0.075em !important;
  text-transform: uppercase !important;
}

.hunt-filters {
  padding-bottom: 12px !important;
}

.filter-chip:active {
  transform: scale(0.98);
}

.hunt-list {
  gap: 12px !important;
}

.hunt-card {
  position: relative;
  gap: 12px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(205, 191, 176, 0.95) !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.84),
    rgba(255, 249, 243, 0.98)
  ) !important;
  box-shadow: var(--pi-shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.84) !important;
  animation: piCardInV61 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--card-index, 0) * 38ms);
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hunt-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: rgba(239, 95, 24, 0.42);
  opacity: 0;
  transition: opacity 0.16s ease;
}

.hunt-card::after {
  display: none !important;
}

.hunt-card.selected::before {
  opacity: 1;
}

.hunt-check {
  border-radius: 999px !important;
}

.btn.primary,
.primary-btn,
#startHuntBtn,
#startCustomBtn {
  box-shadow: 0 12px 24px rgba(239, 95, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.ux-ripple {
  background: rgba(239, 95, 24, 0.14) !important;
}

.start-panel {
  border-radius: 18px !important;
  border: 1px solid rgba(205, 191, 176, 0.95) !important;
  background: rgba(255, 252, 248, 0.94) !important;
  box-shadow: 0 18px 34px rgba(28, 24, 20, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

.selected-hunt {
  border-radius: 14px !important;
}

.game-screen {
  gap: 8px !important;
}

.game-header {
  margin-top: 0 !important;
}

.game-card {
  border-radius: 18px !important;
}

.game-topline,
.game-progress,
.tile-detail-rail,
.complete-banner,
.panel,
.sheet,
.name-modal,
.win-panel {
  border-radius: 16px !important;
  border-color: rgba(205, 191, 176, 0.92) !important;
  box-shadow: 0 10px 22px rgba(28, 24, 20, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

.mini-stat,
.stat-card {
  border-radius: 12px !important;
}

.board-frame {
  position: relative;
}

.tile {
  position: relative;
  animation-delay: calc(var(--tile-index, 0) * 11ms);
}

@keyframes piTileInV61 {
  from {
    opacity: 0;
    transform: translateY(5px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes piTileClaimV61 {
  0% {
    transform: scale(0.982);
  }

  65% {
    transform: scale(1.012);
  }

  100% {
    transform: scale(1);
  }
}

.tile.tile-spark::after {
  background: radial-gradient(
    circle,
    rgba(239, 95, 24, 0.11),
    transparent 48%
  ) !important;
}

.tile-label {
  text-rendering: geometricPrecision;
}

.soft-pulse {
  animation: piSoftPulseV61 0.34s ease;
}

@keyframes piSoftPulseV61 {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.035);
  }

  100% {
    transform: scale(1);
  }
}

.bar-pulse {
  animation: piBarPulseV61 0.42s ease;
}

@keyframes piBarPulseV61 {
  0% {
    filter: brightness(1);
  }

  45% {
    filter: brightness(1.16);
  }

  100% {
    filter: brightness(1);
  }
}

body > .appFooterFeedback,
main > .appFooterFeedback:not(:last-child),
.screen:not(#homeScreen) > .appFooterFeedback,
#gameScreen .appFooterFeedback {
  display: none !important;
}

#homeScreen .appFooterFeedback {
  position: static !important;
  margin: 18px 0 calc(96px + env(safe-area-inset-bottom)) !important;
  padding: 0 0 4px !important;
  text-align: center !important;
}

#homeScreen .appFooterFeedbackLink {
  color: #7a716a !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.name-modal,
.win-panel {
  animation: piModalInV61 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes piModalInV61 {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.986);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (max-width: 390px) {
  .home-hero h1 {
    font-size: 31px !important;
  }
}

:root {
  --pi-radius-sm: 8px;
  --pi-radius-md: 10px;
  --pi-radius-lg: 12px;
  --pi-radius-xl: 14px;
}

.panel,
.card,
.sheet,
.name-modal,
.win-panel,
.home-hero,
.start-panel,
.game-card,
.game-topline,
.game-progress,
.tile-detail-rail,
.complete-banner,
.board-frame,
.hunt-card,
.secondary-action-card,
.menu-row,
.options-row,
.resume-card,
.join-card,
.custom-card,
.landing-panel {
  border-radius: var(--pi-radius-xl) !important;
}

.hunt-thumb,
.selected-thumb,
.template-thumb,
.game-logo,
.brand-mark,
.modal-mark,
.icon-btn,
.code-chip,
.mini-change,
.mini-invite,
.mini-stat,
.stat-card,
.input,
input,
textarea,
select {
  border-radius: var(--pi-radius-md) !important;
}

.btn,
.primary-btn,
button,
.filter-chip,
.hunt-tag,
.label-mini,
.group-label,
.hero-kicker,
.brand-byline {
  border-radius: var(--pi-radius-md) !important;
}

.code-pill,
.badge,
.count-pill,
.status-pill {
  border-radius: 999px !important;
}

#customItems,
textarea#customItems,
.custom-items,
.custom-textarea,
textarea[name="customItems"] {
  min-height: 560px !important;
  height: auto !important;
  max-height: none !important;
  resize: vertical !important;
  line-height: 1.42 !important;
  padding: 14px 14px !important;
  overflow: auto !important;
  font-size: 15px !important;
}

.custom-builder,
.custom-form,
.custom-panel,
#customScreen .panel,
#customScreen .sheet,
#customScreen .custom-card {
  overflow: visible !important;
}

#customScreen {
  padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
}

#customCount,
.custom-count,
.custom-help,
.custom-helper {
  margin-top: 8px !important;
}

.current-hunt-panel {
  display: grid;
  gap: 8px;
  margin: 10px 0 14px;
}

.current-hunt-panel.hidden {
  display: none !important;
}

.section-eyebrow {
  margin: 0 2px;
  color: #7b6a5b;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.current-hunt-card {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(205, 191, 176, 0.95);
  box-shadow: 0 10px 22px rgba(28, 24, 20, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.current-hunt-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.current-hunt-thumb {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(205, 191, 176, 0.9);
  background: #fff4ea;
}

.current-hunt-main h2 {
  margin: 0;
  color: var(--pi-ink, #1d1713);
  line-height: 1.05;
}

.current-hunt-main p {
  margin: 4px 0 0;
  color: #6e6258;
  font-size: 12px;
  font-weight: 850;
}

.current-hunt-actions {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8px;
}

.current-continue-btn,
.current-new-btn {
  min-height: 42px !important;
  border-radius: 10px !important;
}

.current-new-btn {
  color: #4b4037 !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(205, 191, 176, 0.95) !important;
}

.hunt-loading-state {
  display: grid;
  place-items: center;
  min-height: 74px;
  margin: 8px 0;
  border: 1px dashed rgba(205, 191, 176, 0.95);
  border-radius: 12px;
  color: #75685c;
  background: rgba(255, 253, 248, 0.58);
  font-size: 13px;
  font-weight: 850;
}

.hunt-loading-state.hidden {
  display: none !important;
}

.current-hunt-panel:not(.hidden) ~ #resumeCard,
.current-hunt-panel:not(.hidden) ~ .resume-card {
  display: none !important;
}

#huntLoadingState,
.hunt-loading-state {
  display: none !important;
}

.hunt-list {
  min-height: 120px;
  transition: opacity 0.14s ease,
    transform 0.14s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.current-hunt-card {
  border-radius: 12px !important;
}

.current-hunt-main h2 {
  font-size: 21px !important;
  letter-spacing: -0.045em !important;
}

#currentHuntMeta {
  color: #6e6258 !important;
}

.hunt-filters {
  display: flex !important;
  gap: 8px !important;
  overflow-x: auto !important;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-right: 12px !important;
}

.hunt-filters::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.hunt-card {
  will-change: transform, opacity;
}

.no-rerender-flash .hunt-list,
.no-rerender-flash .board,
.no-rerender-flash .game-progress,
.no-rerender-flash .current-hunt-panel,
.no-rerender-flash .start-panel {
  opacity: 1 !important;
  transform: none !important;
}

.no-rerender-flash .hunt-card,
.no-rerender-flash .tile {
  opacity: 1 !important;
  animation: none !important;
}

.ux-ready.no-rerender-flash .hunt-card,
.ux-ready.no-rerender-flash .tile,
.no-rerender-flash.ux-ready .hunt-card,
.no-rerender-flash.ux-ready .tile {
  opacity: 1 !important;
  animation: none !important;
}

.no-rerender-flash .tile.just-hit {
  animation: tileClaimV65 0.18s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

@keyframes tileClaimV65 {
  0% {
    transform: scale(0.982);
  }

  62% {
    transform: scale(1.01);
  }

  100% {
    transform: scale(1);
  }
}

.no-rerender-flash .tile.tile-spark::after {
  animation: tileSparkV65 0.28s ease-out forwards !important;
  background: radial-gradient(
    circle,
    rgba(239, 95, 24, 0.105),
    transparent 48%
  ) !important;
}

@keyframes tileSparkV65 {
  from {
    transform: scale(0.65);
    opacity: 0.85;
  }

  to {
    transform: scale(1.15);
    opacity: 0;
  }
}

.hunt-list.huntListRendering {
  opacity: 1 !important;
  transform: none !important;
}

.filter-chip {
  transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease !important;
}

.hunt-card.selected {
  transition: border-color 0.12s ease,
    background 0.12s ease,
    box-shadow 0.12s ease,
    transform 0.12s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

:root {
  --v67-paper-strong: rgba(255, 253, 247, 0.9);
}

.brand-byline,
.game-brand-sub {
  opacity: 0.92;
}

.mini-stat svg,
.mini-stat .i {
  opacity: 0.88 !important;
}

.route-car {
  width: 25px !important;
  height: 16px !important;
  bottom: 4px !important;
}

.tile-detail-rail:not(.has-detail) {
  opacity: 0 !important;
  pointer-events: none !important;
}

.current-hunt-card {
  background: var(--v67-paper-strong) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}

.hunt-title {
  font-size: 16px !important;
}

.hunt-meta {
  font-size: 11px !important;
}

.btn,
.primary-btn,
button,
.filter-chip,
.code-chip,
.mini-invite,
.current-continue-btn,
.current-new-btn {
  border-radius: 10px !important;
}

button:focus-visible,
a:focus-visible,
.tile:focus-visible {
  outline: 2px solid rgba(232, 95, 34, 0.55) !important;
  outline-offset: 2px !important;
}

:root {
  --v69-ink: #153d35;
  --v69-muted: #5f7469;
  --v69-paper: rgba(255, 253, 247, 0.9);
  --v69-paper-soft: rgba(255, 253, 247, 0.78);
  --v69-orange: #e85f22;
  --v69-green: #35695e;
  --v69-shadow: 0 14px 34px rgba(31, 39, 32, 0.105);
  --v69-soft-shadow: 0 8px 18px rgba(31, 39, 32, 0.065);
}

.screen.active {
  animation: none !important;
}

.brand-header,
.game-header {
  margin: 0 0 2px !important;
  padding: 20px 10px 8px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.brand-lockup,
.game-brand {
  display: flex !important;
}

.brand-mark,
.game-logo,
.modal-mark {
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.brand-title,
.game-brand-title {
  line-height: 0.95 !important;
  font-weight: 950 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

.brand-byline,
.game-brand-sub {
  margin-top: 1px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 14px !important;
  font-weight: 760 !important;
  letter-spacing: -0.02em !important;
}

.brand-sub,
#playerGreeting {
  display: none !important;
}

.top-action,
.icon-btn {
  border-radius: 11px !important;
  background: rgba(255, 253, 247, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.74) !important;
  box-shadow: 0 8px 18px rgba(34, 47, 39, 0.08) !important;
}

#gameScreen {
  padding-top: 0 !important;
}

#huntView {
  margin-top: -4px !important;
  padding-bottom: 6px !important;
}

.game-card {
  border: 0 !important;
  box-shadow: none !important;
}

.game-topline {
  margin-top: -2px !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(16px) saturate(1.04) !important;
}

.hunt-identity {
  display: grid !important;
}

.game-img {
  object-fit: cover !important;
  border: 1px solid rgba(37, 69, 60, 0.1) !important;
}

#gameTrip {
  color: var(--v69-ink) !important;
  font-weight: 920 !important;
}

.game-topline .label-mini,
.hunt-pill,
.status-pill {
  border-radius: 9px !important;
  background: rgba(53, 105, 94, 0.08) !important;
  border: 1px solid rgba(53, 105, 94, 0.12) !important;
  color: rgba(21, 61, 53, 0.74) !important;
}

.code-chip {
  background: rgba(255, 255, 255, 0.68) !important;
  border: 1px solid rgba(37, 69, 60, 0.12) !important;
  color: var(--v69-muted) !important;
}

.code-chip strong {
  color: var(--v69-orange) !important;
}

.game-top-actions {
  right: 10px !important;
  bottom: 10px !important;
}

.mini-invite {
  background: linear-gradient(180deg, #f27635, #d85116) !important;
  color: white !important;
  border: 0 !important;
  box-shadow: 0 10px 18px rgba(232, 95, 34, 0.2) !important;
}

.game-progress {
  display: grid !important;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  box-shadow: var(--v69-soft-shadow) !important;
  backdrop-filter: blur(12px) saturate(1.02) !important;
}

.progress-head {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: end !important;
}

.progress-head .label-mini {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--v69-muted) !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: 0.12em !important;
}

.bar {
  height: 8px !important;
  border-radius: 999px !important;
  background: rgba(37, 69, 60, 0.1) !important;
}

.bar i,
#goalFill {
  border-radius: 999px !important;
  background: var(--v69-green) !important;
}

.mini-stat {
  backdrop-filter: blur(10px) !important;
}

.mini-stat-label {
  color: var(--v69-muted) !important;
  font-weight: 950 !important;
}

.mini-stat strong {
  color: var(--v69-ink) !important;
}

.node-a {
  left: 21% !important;
}

.node-b {
  left: 43% !important;
}

.node-c {
  left: 66% !important;
}

.node-d {
  left: 88% !important;
}

#routeReadyBadge {
  text-transform: none !important;
}

.board-frame {
  overflow: hidden !important;
}

.board {
  background: transparent !important;
}

.tile {
  border-right: 1px solid rgba(37, 69, 60, 0.075) !important;
  border-bottom: 1px solid rgba(37, 69, 60, 0.075) !important;
}

.tile::before {
  color: rgba(21, 61, 53, 0.84) !important;
}

.home-hero,
.current-hunt-card,
.start-panel,
.hunt-card,
.resume-card,
.panel,
.sheet,
.menu-row,
.leader-invite-card {
  border: 1px solid rgba(255, 255, 255, 0.66) !important;
  border-radius: 12px !important;
  background: var(--v69-paper-soft) !important;
  box-shadow: var(--v69-soft-shadow) !important;
  backdrop-filter: blur(14px) saturate(1.04) !important;
}

.filter-chip {
  min-height: 34px !important;
  border-radius: 10px !important;
  background: rgba(255, 253, 247, 0.68) !important;
  color: var(--v69-muted) !important;
  border: 1px solid rgba(37, 69, 60, 0.12) !important;
  box-shadow: none !important;
}

.hunt-card {
  padding: 8px !important;
  grid-template-columns: 92px 1fr 22px !important;
}

.hunt-thumb {
  width: 92px !important;
  height: 60px !important;
  border-radius: 10px !important;
}

.no-rerender-flash .hunt-card,
.no-rerender-flash .tile,
.no-rerender-flash .game-progress,
.no-rerender-flash .board,
.no-rerender-flash .hunt-list {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 390px) {
  .brand-title,
    .game-brand-title {
    font-size: 27px !important;
  }

  .hunt-identity {
    grid-template-columns: 94px 1fr !important;
  }

  .game-img {
    width: 94px !important;
    height: 82px !important;
  }

  #gameTrip {
    font-size: 25px !important;
  }

  .mini-invite {
    min-width: 92px !important;
  }

  .tile {
    min-height: 82px !important;
  }
}

:root {
  --v70-ink: #153d35;
  --v70-muted: #62776e;
  --v70-paper: rgba(255, 253, 247, 0.91);
  --v70-paper-soft: rgba(255, 253, 247, 0.8);
  --v70-green: #35695e;
  --v70-soft-shadow: 0 8px 18px rgba(31, 39, 32, 0.06);
}

.brand-header,
.game-header {
  min-height: 118px !important;
}

.brand-title,
.game-brand-title {
  color: var(--v70-ink) !important;
  font-size: 29px !important;
  letter-spacing: 0.04em !important;
}

.brand-byline,
.game-brand-sub {
  color: var(--v70-muted) !important;
}

.game-topline {
  background: var(--v70-paper) !important;
  box-shadow: 0 12px 28px rgba(31, 39, 32, 0.095),
    inset 0 1px 0 rgba(255, 255, 255, 0.76) !important;
}

.game-progress,
.mini-stat,
.current-hunt-card,
.start-panel,
.hunt-card,
.resume-card,
.panel,
.sheet,
.menu-row,
.leader-invite-card {
  background: var(--v70-paper-soft) !important;
  box-shadow: var(--v70-soft-shadow) !important;
}

.tile {
  border-right-color: rgba(37, 69, 60, 0.065) !important;
  border-bottom-color: rgba(37, 69, 60, 0.065) !important;
}

.tile::before {
  transform: scale(0.89) !important;
}

.home-hero p,
.hunt-desc,
.subcopy {
  color: var(--v70-muted) !important;
}

.hunt-card {
  align-items: center !important;
  min-height: 86px !important;
  height: auto !important;
  overflow: visible !important;
}

.hunt-card .hunt-copy,
.hunt-copy {
  min-width: 0 !important;
  display: grid !important;
  gap: 3px !important;
  align-content: center !important;
  overflow: visible !important;
}

.hunt-title {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  line-height: 1.08 !important;
  max-height: none !important;
  text-wrap: balance;
}

.hunt-desc {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  line-height: 1.18 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.hunt-tag {
  width: max-content !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 390px) {
  .hunt-card {
    grid-template-columns: 86px 1fr 20px !important;
    min-height: 88px !important;
  }

  .hunt-thumb {
    width: 86px !important;
    height: 58px !important;
  }

  .hunt-title {
    font-size: 15px !important;
  }
}

.empty-state {
  padding: 14px 12px;
  border: 1px dashed rgba(37, 69, 60, 0.16);
  border-radius: 10px;
  color: var(--v70-muted, #62776e);
  background: rgba(255, 253, 247, 0.45);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.my-hunts-panel {
  display: grid;
  gap: 8px;
  margin: 12px 0 14px;
}

.my-hunts-panel.hidden {
  display: none !important;
}

.my-hunts-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}

.my-hunts-note {
  margin: 3px 2px 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.my-hunts-list {
  display: grid;
  gap: 8px;
}

.my-hunt-card {
  width: 100%;
  display: grid;
  align-items: center;
  min-height: 72px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.82);
  box-shadow: 0 8px 18px rgba(31, 39, 32, 0.06);
  color: var(--v70-ink, #153d35);
  text-align: left;
  backdrop-filter: blur(12px) saturate(1.03);
}

.my-hunt-card:active {
  transform: scale(0.992);
}

.my-hunt-thumb {
  width: 58px;
  height: 50px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(37, 69, 60, 0.1);
}

.my-hunt-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.my-hunt-copy strong {
  display: block;
  color: var(--v70-ink, #153d35);
  font-size: 15px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.025em;
  white-space: normal;
  overflow: visible;
}

.my-hunt-copy span {
  color: var(--v70-muted, #62776e);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 800;
}

.my-hunt-copy small {
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.my-hunt-action {
  padding: 8px 10px;
  border-radius: 9px;
  color: #fffdf7;
  background: var(--v70-green, #35695e);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 390px) {
  .my-hunt-card {
    gap: 8px;
  }

  .my-hunt-thumb {
    width: 52px;
    height: 48px;
  }

  .my-hunt-action {
    padding: 7px 8px;
    font-size: 11px;
  }
}

.brand-lockup,
.game-brand {
  align-items: center !important;
}

.name-modal .brand-logo-full.modal-mark {
  width: 168px !important;
  max-height: 54px !important;
  margin-inline: auto !important;
}

.hunt-card .hunt-tag {
  max-width: 100% !important;
}

.filter-chip[data-filter="community"] {
  position: relative;
}

.filter-chip[data-filter="community"].active {
  background: var(--v70-green, #35695e) !important;
  color: #fffdf7 !important;
}

.hunt-card:has(.hunt-tag) {
  min-height: 88px !important;
}

.community-board-note,
.public-board-note {
  color: var(--v70-muted, #62776e);
  font-size: 11px;
  font-weight: 800;
}

.my-hunt-actions {
  display: grid;
  gap: 5px;
  justify-items: end;
  align-items: center;
}

.my-hunt-publish {
  padding: 6px 8px;
  line-height: 1.05;
  text-align: center;
}

.my-hunt-publish:active {
  transform: scale(0.98);
}

@media (max-width: 390px) {
  .my-hunt-card {
    grid-template-columns: 50px minmax(0, 1fr) 82px !important;
  }

  .my-hunt-publish {
    font-size: 9px;
    padding: 5px 6px;
  }
}

.my-hunts-note {
  color: rgba(21, 61, 53, 0.62) !important;
}

.my-hunt-card {
  position: relative;
}

.my-hunt-card.publishing {
  pointer-events: none;
  opacity: 0.72;
}

.my-hunt-card.publishing::after {
  content: "Sharing…";
  position: absolute;
  inset: auto 8px 8px auto;
  padding: 6px 8px;
  border-radius: 8px;
  color: #fffdf7;
  background: rgba(53, 105, 94, 0.88);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.my-hunt-copy small {
  color: rgba(21, 61, 53, 0.54) !important;
}

.custom-save-note {
  margin: 8px 2px 10px;
  color: var(--v70-muted, #62776e);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
}

.current-continue-btn,
#startHuntBtn,
#startCustomBtn,
.my-hunt-action {
  letter-spacing: -0.01em;
}

.hunt-tag {
  text-transform: none !important;
}

.my-hunt-card {
  grid-template-columns: 1fr !important;
  gap: 6px !important;
}

.my-hunt-main {
  width: 100%;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.my-hunt-publish {
  width: 100%;
  min-height: 34px;
  display: grid !important;
  place-items: center;
  border-radius: 9px;
  border: 1px solid rgba(53, 105, 94, 0.16);
  font-size: 12px;
  font-weight: 950;
}

.my-hunt-publish:disabled {
  opacity: 0.7;
}

.my-hunt-card.publishing::after {
  display: none !important;
}

@media (max-width: 390px) {
  .my-hunt-main {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 8px;
  }
}

.game-brand .brand-logo-full.game-logo,
.brand-header .brand-logo-full.brand-mark {
  display: block !important;
}

button.is-busy {
  opacity: 0.72 !important;
  pointer-events: none !important;
}

.empty-state {
  line-height: 1.25;
}

.brand-header {
  align-items: flex-start !important;
  flex-wrap: wrap !important;
  gap: 8px 12px !important;
  min-height: 96px !important;
  padding-top: 6px !important;
}

.brand-lockup,
.game-brand {
  gap: 12px !important;
}

.brand-logo-full.brand-mark,
.brand-logo-full.game-logo,
.brand-logo-full.modal-mark {
  width: min(230px, 62vw) !important;
  height: auto !important;
  max-height: 86px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.brand-logo-full + .brand-wordmark,
.brand-logo-full + .game-wordmark {
  display: none !important;
}

.brand-sub {
  width: 100% !important;
  order: 3 !important;
  margin-top: -4px !important;
  color: rgba(21, 61, 53, 0.68) !important;
  font-size: 13px !important;
}

.top-action,
.brand-header .top-action,
button.top-action {
  min-height: 58px !important;
  min-width: 92px !important;
  padding: 0 18px !important;
  border-radius: 18px !important;
  background: rgba(255, 253, 247, 0.88) !important;
  border: 1px solid rgba(37, 69, 60, 0.1) !important;
  box-shadow: 0 10px 22px rgba(31, 39, 32, 0.08) !important;
}

.home-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px !important;
  border: 1px solid rgba(37, 69, 60, 0.08) !important;
  backdrop-filter: blur(8px);
}

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

.home-hero::before {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 12px;
  width: 150px;
  height: 92px;
  background: url("./assets/world/missoula-m-watermark-v80.svg") center/contain
    no-repeat;
  opacity: 0.36;
}

.home-hero::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -34px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 24px solid rgba(237, 220, 198, 0.34);
}

.current-hunt-card,
.my-hunt-card,
.hunt-card,
.start-panel,
.game-topline,
.game-progress,
.panel,
.sheet,
.leader-invite-card,
.menu-row,
.home-hero,
.secondary-action-card,
.resume-card {
  background: rgba(255, 253, 247, 0.76) !important;
  border: 1px solid rgba(37, 69, 60, 0.08) !important;
  box-shadow: 0 14px 28px rgba(31, 39, 32, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(8px);
}

.current-hunt-card,
.my-hunt-card,
.hunt-card,
.secondary-action-card {
  border-radius: 18px !important;
}

.hunt-card.selected {
  background: rgba(255, 246, 238, 0.92) !important;
}

.hunt-thumb,
.current-hunt-thumb,
.game-img,
.my-hunt-thumb,
.selected-img {
  border-radius: 14px !important;
  box-shadow: 0 6px 14px rgba(31, 39, 32, 0.06);
}

@media (max-width: 420px) {
  .home-hero p {
    max-width: 68%;
  }

  .brand-logo-full.brand-mark {
    width: min(220px, 60vw) !important;
  }
}

.game-header {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: 10px !important;
}

.game-new-hunt-btn {
  min-height: 42px;
  padding: 0 13px;
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.86);
  border: 1px solid rgba(37, 69, 60, 0.12);
  color: #b94810;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(31, 39, 32, 0.06);
}

.game-new-hunt-btn:active {
  transform: scale(0.985);
}

.blackout-celebration.hidden {
  display: none !important;
}

.blackout-celebration {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
}

.blackout-backdrop {
  position: absolute;
  inset: 0;
}

.blackout-panel {
  position: relative;
  text-align: center;
}

.blackout-burst {
  width: 74px;
  height: 74px;
  margin: 0 auto 10px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, #fff7df 0 22%, transparent 23%),
    conic-gradient(from 0deg, #e85f22, #f1b84b, #35695e, #e85f22);
  box-shadow: 0 10px 24px rgba(232, 95, 34, 0.22);
  animation: blackoutPulse 1.4s ease-in-out infinite;
}

.blackout-kicker {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(232, 95, 34, 0.22);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 950;
}

.blackout-panel h2 {
  line-height: 1.02;
}

.blackout-panel p {
  margin: 8px auto 16px;
  max-width: 280px;
  font-weight: 800;
  line-height: 1.35;
}

.blackout-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.confetti-bit {
  position: fixed;
  top: -24px;
  z-index: 220;
  pointer-events: none;
  border-radius: 3px;
  animation: confettiFall var(--fall) cubic-bezier(0.25, 0.8, 0.25, 1)
    var(--delay) forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 0;
    transform: translate3d(0, -20px, 0) rotate(0deg);
  }

  10% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--drift), 112vh, 0) rotate(var(--spin));
  }
}

@keyframes blackoutPulse {
  0%,
    100% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.045) rotate(4deg);
  }
}

.tile {
  line-height: 1.08 !important;
  overflow: hidden !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.tile-label {
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 4 !important;
  max-width: 100% !important;
  max-height: calc(var(--tile-fit-size, 11.4px) * 4.42) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  word-break: normal !important;
  text-wrap: balance;
}

.tile-text-lg {
  --tile-fit-size: 12.4px;
}

.tile-text-md {
  --tile-fit-size: 11.2px;
}

.tile-text-sm {
  --tile-fit-size: 10.2px;
}

.tile-text-xs {
  --tile-fit-size: 9.3px;
}

@media (max-width: 390px) {
  .tile {
    padding: 5px 4px !important;
  }

  .tile-text-lg {
    --tile-fit-size: 11.7px;
  }

  .tile-text-md {
    --tile-fit-size: 10.8px;
  }

  .tile-text-sm {
    --tile-fit-size: 9.9px;
  }

  .tile-text-xs {
    --tile-fit-size: 9px;
  }
}

@media (max-width: 360px) {
  .tile-text-lg {
    --tile-fit-size: 11px;
  }

  .tile-text-md {
    --tile-fit-size: 10.2px;
  }

  .tile-text-sm {
    --tile-fit-size: 9.4px;
  }

  .tile-text-xs {
    --tile-fit-size: 8.7px;
  }
}

.blackout-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 12px;
}

.blackout-stat {
  padding: 12px 10px;
  border-radius: 16px;
  border: 1px solid rgba(21, 61, 53, 0.09);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.blackout-stat-label {
  display: block;
  margin-bottom: 4px;
  color: rgba(21, 61, 53, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blackout-stat strong {
  display: block;
  color: #153d35;
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.blackout-reward {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 0 0 16px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(232, 95, 34, 0.14);
  background: linear-gradient(
    180deg,
    rgba(255, 247, 229, 0.95),
    rgba(255, 241, 216, 0.85)
  );
}

.blackout-reward-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(232, 95, 34, 0.14);
}

.blackout-reward-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.blackout-reward-copy strong {
  color: #153d35;
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.blackout-reward-copy span {
  color: rgba(21, 61, 53, 0.68);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.blackout-actions {
  margin-top: 2px;
}

.board-finished-flash {
  animation: boardFinishedFlash 1.45s ease;
}

@keyframes boardFinishedFlash {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(241, 184, 75, 0);
  }

  18% {
    transform: scale(1.008);
    box-shadow: 0 0 0 6px rgba(241, 184, 75, 0.1);
  }

  52% {
    transform: scale(1.014);
    box-shadow: 0 0 0 14px rgba(241, 184, 75, 0.1);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(241, 184, 75, 0);
  }
}

.confetti-bit {
  box-shadow: 0 2px 6px rgba(25, 31, 27, 0.12);
}

@media (max-width: 420px) {
  .blackout-panel h2 {
    font-size: 28px;
  }
}

.my-hunt-secondary-actions:has(.my-hunt-edit:only-child),
.my-hunt-secondary-actions:has(.my-hunt-publish:only-child) {
  grid-template-columns: 1fr;
}

.my-hunt-edit,
.my-hunt-publish {
  width: 100%;
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid rgba(53, 105, 94, 0.16);
  background: rgba(53, 105, 94, 0.08);
  color: var(--v70-green, #35695e);
  font-size: 12px;
  font-weight: 950;
}

.my-hunt-edit {
  background: rgba(232, 95, 34, 0.075);
  color: #b94810;
  border-color: rgba(232, 95, 34, 0.16);
}

.edit-board-sheet.hidden {
  display: none !important;
}

.edit-board-sheet {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: grid;
  place-items: end center;
  padding: 16px 13px calc(16px + env(safe-area-inset-bottom));
}

.edit-board-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 31, 27, 0.34);
  backdrop-filter: blur(8px);
}

.edit-board-panel {
  position: relative;
  width: min(430px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 18px 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 22px 56px rgba(25, 31, 27, 0.24);
}

.edit-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.edit-board-head span {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(232, 95, 34, 0.18);
  background: rgba(232, 95, 34, 0.07);
  color: #b94810;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.edit-board-head h2 {
  margin-top: 8px;
  color: #153d35;
  font-size: 28px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.edit-board-copy {
  margin: 10px 0 2px;
  color: rgba(21, 61, 53, 0.68);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.edit-board-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 12px;
}

.board-description-textarea {
  min-height: 78px;
  line-height: 1.35;
  resize: vertical;
}

#editBoardDescription {
  min-height: 82px;
}

#editBoardPrompts {
  min-height: 240px;
}

#editBoardSaveBtn:disabled {
  opacity: 0.52;
  pointer-events: none;
}

.my-hunt-secondary-actions:empty {
  display: none !important;
}

.blackout-celebration {
  place-items: center !important;
  padding: 18px 14px calc(18px + env(safe-area-inset-bottom)) !important;
}

.blackout-backdrop {
  background: radial-gradient(
      circle at 50% 18%,
      rgba(241, 184, 75, 0.18),
      transparent 30%
    ),
    rgba(25, 31, 27, 0.36) !important;
  backdrop-filter: blur(9px) saturate(1.03) !important;
}

.blackout-panel {
  width: min(408px, 100%) !important;
  padding: 0 16px 16px !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 247, 0.96),
    rgba(249, 239, 224, 0.96)
  ) !important;
  box-shadow: 0 26px 68px rgba(25, 31, 27, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.76) !important;
}

.blackout-scene {
  position: relative;
  height: 142px;
  margin: 0 -16px 16px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(222, 236, 231, 0.96),
    rgba(247, 237, 219, 0.94)
  );
}

.blackout-scene::before {
  content: "";
  position: absolute;
  inset: auto -28px 0;
  height: 92px;
  background: radial-gradient(
      ellipse at 78% 52%,
      rgba(53, 105, 94, 0.32),
      transparent 36%
    ),
    linear-gradient(
      160deg,
      transparent 0 32%,
      rgba(53, 105, 94, 0.24) 33% 100%
    ),
    linear-gradient(180deg, rgba(112, 139, 111, 0.46), rgba(53, 105, 94, 0.32));
  clip-path: polygon(
    0 78%,
    18% 48%,
    35% 64%,
    55% 28%,
    76% 54%,
    100% 34%,
    100% 100%,
    0 100%
  );
}

.blackout-hill {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 128px;
  height: 76px;
  background: rgba(53, 105, 94, 0.22);
  clip-path: polygon(0 100%, 18% 56%, 44% 32%, 72% 18%, 100% 8%, 100% 100%);
}

.blackout-m {
  position: absolute;
  right: 26px;
  top: 28px;
  color: rgba(255, 253, 247, 0.72);
  font-weight: 950;
  font-size: 23px;
  letter-spacing: -0.06em;
  transform: rotate(-7deg);
}

.blackout-path {
  position: absolute;
  left: 28px;
  right: 76px;
  bottom: 30px;
  height: 18px;
  border-bottom: 4px solid rgba(255, 253, 247, 0.74);
  border-radius: 50%;
  transform: rotate(-4deg);
}

.blackout-fox {
  position: absolute;
  left: 72px;
  bottom: 34px;
  width: 44px;
  height: 24px;
  border-radius: 14px 18px 12px 12px;
  background: #e85f22;
  box-shadow: 0 8px 14px rgba(31, 39, 32, 0.12);
  animation: blackoutFoxHop 1.8s ease-in-out infinite;
}

.blackout-fox::before {
  content: "";
  position: absolute;
  left: 27px;
  top: -9px;
  width: 22px;
  height: 22px;
  background: #e85f22;
  clip-path: polygon(8% 100%, 38% 4%, 74% 45%, 100% 100%);
}

.blackout-fox::after {
  content: "";
  position: absolute;
  left: -19px;
  top: 3px;
  width: 28px;
  height: 13px;
  border-radius: 80% 20% 80% 20%;
  background: #f1b84b;
  transform: rotate(-22deg);
}

.blackout-burst {
  display: none !important;
}

.blackout-kicker {
  margin-top: 0 !important;
  background: rgba(53, 105, 94, 0.08) !important;
  color: #244b43 !important;
  border-color: rgba(53, 105, 94, 0.16) !important;
}

.blackout-panel h2 {
  margin-top: 10px !important;
  color: #153d35 !important;
  font-size: 31px !important;
  letter-spacing: -0.035em !important;
}

.blackout-panel p {
  color: rgba(21, 61, 53, 0.68) !important;
}

.blackout-stat,
.blackout-reward {
  background: rgba(255, 253, 247, 0.72) !important;
  border-color: rgba(37, 69, 60, 0.09) !important;
}

.blackout-reward-icon {
  background: linear-gradient(180deg, #fff7df, #f1b84b) !important;
  color: #244b43 !important;
}

@keyframes blackoutFoxHop {
  0%,
    100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-4px) rotate(1deg);
  }
}

.board[data-rows="17"] {
  gap: 4px !important;
}

.board[data-rows="17"] .tile {
  min-height: 44px !important;
  padding: 5px 4px !important;
}

.board[data-rows="17"] .tile-label {
  font-size: 11px !important;
  line-height: 1 !important;
  -webkit-line-clamp: 2 !important;
}

.board[data-rows="17"] .tile.found .tile-label {
  padding-right: 8px !important;
}

.home-nav .locked {
  opacity: 0.68 !important;
}

.home-nav .locked::after {
  content: "";
}

.my-hunt-edit {
  display: grid !important;
}

.my-hunt-copy small {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(53, 105, 94, 0.08);
  font-weight: 900;
}

.my-hunt-publish {
  background: rgba(232, 95, 34, 0.075) !important;
  color: #b94810 !important;
  border-color: rgba(232, 95, 34, 0.16) !important;
}

.my-hunts-screen-panel {
  min-height: calc(100dvh - 130px);
  padding-bottom: 90px !important;
}

.my-hunts-screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.secondary-mini-btn {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(37, 69, 60, 0.12);
  background: rgba(255, 253, 247, 0.82);
  color: #244b43;
  font-weight: 950;
  font-size: 12px;
}

.my-hunts-dedicated {
  display: block;
  margin-top: 8px;
}

.my-hunts-dedicated.hidden {
  display: none !important;
}

.my-hunts-empty-copy.hidden {
  display: none !important;
}

.my-hunts-dedicated .my-hunts-head {
  margin-bottom: 10px;
}

.i-compass::before {
  content: "◆";
}

.i-route::before {
  content: "•";
}

.i::before {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  font-size: 15px;
  line-height: 1;
}

.i-browse::before {
  content: "⌂";
}

.i-hunts::before {
  content: "◇";
}

.i-board::before {
  content: "▦";
}

.i-score::before {
  content: "★";
}

.i-menu::before {
  content: "☰";
}

.my-hunts-create-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 8px 0 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(37, 69, 60, 0.1);
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 12px 24px rgba(31, 39, 32, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.my-hunts-create-card span {
  display: inline-flex;
  margin-bottom: 4px;
  color: #b94810;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.my-hunts-create-card strong {
  display: block;
  color: #153d35;
  font-size: 18px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.my-hunts-create-card p {
  margin: 4px 0 0;
  color: rgba(21, 61, 53, 0.66);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.28;
}

.small-primary {
  min-height: 40px !important;
  padding: 0 12px !important;
  border-radius: 12px !important;
  white-space: nowrap;
}

#builderHookBtn {
  display: none !important;
}

@media (max-width: 380px) {
  .my-hunts-create-card {
    grid-template-columns: 1fr;
  }
}

body {
  background-image: linear-gradient(
    180deg,
    rgba(229, 238, 232, 0.96) 0%,
    rgba(239, 241, 233, 0.98) 46%,
    rgba(248, 241, 230, 1) 100%
  ) !important;
  background-attachment: scroll !important;
}

.i-browse::before,
.i-hunts::before,
.i-board::before,
.i-score::before,
.i-menu::before {
  content: none !important;
}

.i-nav-browse::before {
  width: 18px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 4px;
  transform: skewX(-8deg);
}

.i-nav-browse::after {
  width: 2px;
  height: 15px;
  background: currentColor;
  left: 10px;
  box-shadow: 6px 0 0 currentColor;
  opacity: 0.65;
}

.i-nav-mine::before {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 5px;
  transform: rotate(45deg);
}

.i-nav-mine::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.i-nav-board::before {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 9px 0 0 currentColor,
    0 9px 0 currentColor,
    9px 9px 0 currentColor;
  transform: translate(-4px, -4px);
}

.i-nav-scores::before {
  width: 14px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 4px 4px 7px 7px;
  top: 3px;
}

.i-nav-scores::after {
  width: 12px;
  height: 8px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  bottom: 3px;
  clip-path: polygon(
    35% 0,
    65% 0,
    65% 45%,
    100% 45%,
    100% 100%,
    0 100%,
    0 45%,
    35% 45%
  );
}

.i-nav-menu::before {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor,
    0 12px 0 currentColor;
  top: 4px;
}

.game-screen,
#homeScreen,
#homeMyHuntsScreen,
#customScreen,
#homeLeadersScreen,
#homeOptionsScreen {
  scroll-margin-top: 0;
}

.menu-code strong,
.code-chip strong {
  user-select: all;
}

#joinCode {
  text-transform: uppercase;
}

.screen.active,
#gameScreen.active {
  min-height: auto !important;
}

#leaderboardView,
#optionsView {
  min-height: auto !important;
}

.landing-panel,
.my-hunts-screen-panel {
  min-height: auto !important;
  padding-bottom: 18px !important;
}

.landing-empty,
.landing-options {
  min-height: auto !important;
  align-content: start !important;
}

* {
  box-sizing: border-box;
}

.game-card,
.panel,
.sheet,
.landing-panel,
.my-hunts-screen-panel {
  gap: 12px !important;
}

.game-topline {
  position: relative !important;
}

.hunt-identity {
  min-width: 0 !important;
}

#gameTrip {
  overflow-wrap: anywhere !important;
  text-wrap: balance;
}

.code-chip {
  min-width: 0 !important;
  line-height: 1 !important;
}

.game-top-actions {
  position: static !important;
  inset: auto !important;
  justify-self: end !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
}

.mini-invite {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

.mini-invite svg,
.mini-invite .i,
#leadersInviteBtn svg,
#menuShareGameBtn svg {
  flex: 0 0 auto !important;
}

.game-progress {
  gap: 7px !important;
}

.progress-head {
  gap: 8px !important;
}

#goalText,
.panel h1,
.sheet h1,
.home-hero h1,
.selected-hunt h2 {
  text-wrap: balance;
}

.subcopy,
.hunt-desc,
.current-hunt-meta,
#rankHint,
.leader-invite-card p,
.options-row strong,
.menu-row strong {
  line-height: 1.28 !important;
}

.mini-stat-label {
  justify-content: center !important;
  min-width: 0 !important;
}

.leader-invite-card {
  gap: 8px !important;
  padding: 14px !important;
}

.leader-invite-card .btn,
#leadersInviteBtn,
#winInviteBtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  line-height: 1.05 !important;
}

.menu-row,
.options-row {
  align-items: center !important;
  min-height: 52px !important;
  padding: 12px !important;
  gap: 10px !important;
}

.menu-main {
  min-width: 0 !important;
}

.menu-main span:last-child {
  overflow-wrap: anywhere !important;
}

.tile {
  isolation: isolate !important;
}

.tile.has-detail:not(.found)::after {
  pointer-events: none !important;
}

.tile.found .tile-label {
  padding-right: 12px !important;
}

@media (max-width: 420px) {
  .game-topline {
    grid-template-columns: minmax(0, 1fr) auto !important;
    padding: 10px !important;
  }

  #gameTrip {
    font-size: clamp(22px, 6vw, 26px) !important;
    letter-spacing: -0.045em !important;
  }

  .mini-invite {
    min-width: 82px !important;
    height: 36px !important;
    padding: 0 10px !important;
  }

  .mini-invite svg {
    width: 16px !important;
    height: 16px !important;
  }

  .code-chip {
    font-size: 11px !important;
    height: 32px !important;
  }

  .mini-stat {
    padding: 8px 6px !important;
  }
}

@media (max-width: 360px) {
  .game-top-actions {
    justify-self: stretch !important;
  }

  .mini-invite {
    width: 100% !important;
  }
}

html.scroll-stability-lock,
html.scroll-stability-lock body {
  scroll-behavior: auto !important;
  overflow-anchor: none !important;
}

.board-frame,
.board,
.tile,
.game-progress,
.approved-route,
.complete-banner,
.tile-detail-rail {
  overflow-anchor: none !important;
}

#tileDetailRail.tile-detail-rail {
  min-height: 48px !important;
  margin-bottom: 6px !important;
}

.scroll-stability-lock #routeCar,
.scroll-stability-lock #goalFill,
.scroll-stability-lock .tile,
.scroll-stability-lock .board,
.scroll-stability-lock .game-card {
  transition-property: opacity, transform, background-color, border-color, box-shadow !important;
}

#routeProgressText {
  display: inline-flex !important;
  align-items: center !important;
}

#tileDetailRail.tile-detail-rail {
  display: grid !important;
  grid-template-rows: auto auto;
  gap: 3px !important;
  max-height: 64px !important;
  margin: 0 0 6px !important;
  border-width: 1px !important;
  opacity: 1 !important;
  overflow: hidden !important;
  transform: translateY(0) !important;
  transition: max-height 180ms ease, opacity 160ms ease, transform 160ms ease,
    margin 180ms ease, padding 180ms ease, border-color 160ms ease,
    background-color 160ms ease !important;
}

#tileDetailRail.tile-detail-rail.hidden {
  display: grid !important;
  visibility: hidden !important;
  max-height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 0 !important;
  opacity: 0 !important;
  transform: translateY(-2px) !important;
  pointer-events: none !important;
}

#tileDetailRail,
#tileDetailRail.tile-detail-rail,
.tile-detail-rail {
  display: none !important;
  visibility: hidden !important;
  max-height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

:root {
  --v110-card-shadow: 0 16px 34px rgba(31, 39, 32, 0.08), 0 3px 10px rgba(31, 39, 32, 0.04);
  --v110-card-bg: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,249,242,0.98));
  --v110-paper-edge: rgba(53, 105, 94, 0.08);
}

.home-hero,
.sheet,
.panel,
.current-hunt-card,
.hunt-card,
.resume-card,
.start-panel,
.leader-invite-card,
.menu-row,
.selected-hunt {
  border-radius: 18px 18px 14px 14px !important;
  border-color: var(--v110-paper-edge) !important;
  box-shadow: var(--v110-card-shadow) !important;
}

.home-hero,
.current-hunt-card,
.selected-hunt {
  border-top: 1px solid rgba(255,255,255,0.8) !important;
}

.current-hunt-card::after,
.home-hero::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 10px;
  height: 10px;
  background: url("./assets/world/subtle-route-v70.svg") center/100% 8px no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.game-hero,
.current-hunt-main,
.game-topline {
  position: relative;
  z-index: 1;
}

.board-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), transparent 24%),
    url("./assets/world/subtle-world-hero-v79.svg") center top/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.board {
  position: relative;
  z-index: 1;
}

.tile::after {
  background: linear-gradient(145deg, rgba(255,255,255,0.52), transparent 42%),
    radial-gradient(circle at 14% 14%, rgba(232,95,34,0.05), transparent 22%) !important;
}

.tile:active {
  box-shadow: 0 2px 6px rgba(31, 39, 32, 0.06), inset 0 1px 0 rgba(255,255,255,0.8) !important;
}

.btn,
.link-btn,
.ghost-btn,
.icon-btn {
  border-radius: 14px !important;
}

.primary-btn,
.btn-primary,
.btn.orange,
button.primary {
  box-shadow: 0 8px 18px rgba(232,95,34,0.18) !important;
}

.menu-row {
  min-height: 56px !important;
}

.leader-row,
.resume-card,
.hunt-card {
  border-radius: 16px 16px 13px 13px !important;
}

@media (max-width: 390px) {
  .board {
    gap: 6px !important;
  }

  .tile {
    border-radius: 14px 10px 14px 10px !important;
  }
}

.home-hero,
.sheet,
.panel,
.current-hunt-card,
.hunt-card,
.resume-card,
.start-panel,
.leader-invite-card,
.menu-row,
.selected-hunt {
  background: radial-gradient(circle at 100% 0%, rgba(232,95,34,0.06), transparent 25%),
    radial-gradient(circle at 0% 100%, rgba(53,105,94,0.045), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,249,242,0.9)) !important;
  backdrop-filter: blur(3px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(3px) saturate(1.05) !important;
}

.home-hero,
.sheet,
.panel,
.current-hunt-card,
.hunt-card,
.resume-card,
.start-panel,
.leader-invite-card,
.menu-row,
.selected-hunt,
.game-topline,
.game-card {
  background: radial-gradient(circle at 100% 0%, rgba(232,95,34,0.05), transparent 25%),
    radial-gradient(circle at 0% 100%, rgba(53,105,94,0.04), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.70), rgba(255,249,242,0.74)) !important;
  backdrop-filter: blur(5px) saturate(1.03) !important;
  -webkit-backdrop-filter: blur(5px) saturate(1.03) !important;
}

.board-frame {
  backdrop-filter: blur(5px) saturate(1.03) !important;
  -webkit-backdrop-filter: blur(5px) saturate(1.03) !important;
}

.tile {
  border-color: rgba(53, 105, 94, 0.08) !important;
  -webkit-backdrop-filter: blur(2px) saturate(1.02) !important;
}

.mini-stat,
.goal-card,
.game-progress,
.menu-code,
.leader-row {
  background: linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,250,244,0.68)) !important;
  backdrop-filter: blur(4px) saturate(1.03) !important;
  -webkit-backdrop-filter: blur(4px) saturate(1.03) !important;
}

.board-preview-sheet,
.edit-board-sheet {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: end center;
  padding: 18px 14px calc(18px + env(safe-area-inset-bottom));
}

.board-preview-sheet.hidden {
  display: none !important;
}

.board-preview-backdrop {
  position: absolute;
  inset: 0;
}

.board-preview-panel {
  position: relative;
  z-index: 1;
}

.board-preview-head {
  display: grid;
}

.board-preview-image {
  object-fit: cover;
}

.board-preview-head span {
  display: inline-flex;
  border: 1px solid rgba(232, 95, 34, 0.18);
  border-radius: 999px;
  text-transform: uppercase;
}

.board-preview-head p,
.board-preview-desc,
.board-preview-status {
  margin: 0;
  color: rgba(21, 61, 53, 0.66);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.board-preview-desc {
  margin-top: 12px;
}

.board-preview-grid span {
  border: 1px solid rgba(53, 105, 94, 0.08);
}

.board-preview-status {
  margin-top: 10px;
}

.board-preview-actions {
  margin-top: 12px;
}

.my-hunt-secondary-actions {
  flex-wrap: wrap;
}

.my-hunt-secondary-actions button {
  border: 1px solid rgba(53, 105, 94, 0.12);
  background: rgba(255, 253, 247, 0.72);
  color: rgba(21, 61, 53, 0.78);
}

.my-hunt-card.completed .my-hunt-action {
  color: #fffdf7;
  background: var(--v70-green, #35695e);
}

.tile {
  contain: layout paint style;
}

.board,
#board {
  contain: layout paint style;
}

.progress-status strong#saveState {
  display: inline-flex;
  justify-content: flex-end;
  min-width: 54px;
  white-space: nowrap;
}

.tile:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: inherit;
}

.board-preview-sheet {
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom)) !important;
  place-items: end center !important;
}

.board-preview-backdrop {
  background: rgba(17, 31, 27, 0.34) !important;
  backdrop-filter: blur(7px) saturate(1.02) !important;
  -webkit-backdrop-filter: blur(7px) saturate(1.02) !important;
}

.board-preview-panel {
  max-height: min(88dvh, 748px) !important;
  padding: 13px !important;
  border-radius: 24px 24px 18px 18px !important;
  border: 1px solid rgba(37, 69, 60, 0.13) !important;
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(250, 246, 238, 0.98)) !important;
  box-shadow: 0 22px 60px rgba(17, 31, 27, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
  scrollbar-width: none;
}

.board-preview-panel::-webkit-scrollbar {
  display: none;
}

.board-preview-head {
  grid-template-columns: 58px minmax(0, 1fr) 36px !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 2px 2px 10px !important;
  border-bottom: 1px solid rgba(37, 69, 60, 0.08) !important;
}

.board-preview-image {
  width: 58px !important;
  height: 58px !important;
  border-radius: 15px !important;
  border: 1px solid rgba(37, 69, 60, 0.1) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 8px 18px rgba(31, 39, 32, 0.07) !important;
}

.board-preview-head span {
  width: fit-content !important;
  margin-bottom: 4px !important;
  padding: 3px 7px !important;
  border-color: rgba(53, 105, 94, 0.14) !important;
  color: rgba(21, 61, 53, 0.7) !important;
  background: rgba(53, 105, 94, 0.07) !important;
  font-size: 9.5px !important;
  font-weight: 950 !important;
}

.board-preview-head h2 {
  max-width: 100% !important;
  margin: 0 !important;
  color: var(--v69-ink, #143c35) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
}

.board-preview-head p {
  margin-top: 4px !important;
  color: rgba(21, 61, 53, 0.58) !important;
  font-size: 12px !important;
  line-height: 1.18 !important;
  font-weight: 850 !important;
}

#boardPreviewCloseBtn.icon-btn {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(37, 69, 60, 0.1) !important;
  background: rgba(255, 253, 247, 0.72) !important;
  color: rgba(21, 61, 53, 0.58) !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

.board-preview-desc {
  color: rgba(21, 61, 53, 0.68) !important;
  font-size: 13px !important;
  line-height: 1.28 !important;
  font-weight: 760 !important;
}

.board-preview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 5px !important;
}

.board-preview-grid span {
  min-height: 49px !important;
  padding: 5px 4px !important;
  border-radius: 11px !important;
  border-color: rgba(37, 69, 60, 0.09) !important;
  background: rgba(255, 253, 247, 0.7) !important;
  box-shadow: 0 2px 7px rgba(31, 39, 32, 0.045) !important;
  color: rgba(21, 61, 53, 0.86) !important;
  font-size: clamp(8.7px, 2.55vw, 10.4px) !important;
  font-weight: 820 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.018em !important;
  overflow-wrap: anywhere !important;
  hyphens: auto !important;
}

.board-preview-status {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 10px 2px 0 !important;
  padding: 9px 10px !important;
  border: 1px solid rgba(53, 105, 94, 0.11) !important;
  border-radius: 14px !important;
  background: rgba(53, 105, 94, 0.055) !important;
  color: rgba(21, 61, 53, 0.68) !important;
  font-size: 12px !important;
  line-height: 1.22 !important;
  font-weight: 850 !important;
}

.board-preview-status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--v69-green, #35695e);
  box-shadow: 0 0 0 4px rgba(53, 105, 94, 0.1);
}

.board-preview-sheet.has-existing-hunt .board-preview-status {
  border-color: rgba(232, 95, 34, 0.16) !important;
  background: rgba(255, 241, 231, 0.68) !important;
  color: rgba(112, 61, 28, 0.86) !important;
}

.board-preview-sheet.has-existing-hunt .board-preview-status::before {
  background: var(--orange, #e85f22);
  box-shadow: 0 0 0 4px rgba(232, 95, 34, 0.11);
}

.board-preview-actions {
  position: sticky !important;
  bottom: -13px !important;
  display: grid !important;
  grid-template-columns: 0.86fr 1.14fr !important;
  gap: 8px !important;
  margin: 12px -13px -13px !important;
  padding: 10px 13px calc(10px + env(safe-area-inset-bottom)) !important;
  border-top: 1px solid rgba(37, 69, 60, 0.08) !important;
  background: rgba(255, 253, 247, 0.88) !important;
  backdrop-filter: blur(12px) saturate(1.04) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.04) !important;
}

.board-preview-actions .btn {
  min-height: 48px !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  letter-spacing: -0.015em !important;
}

.board-preview-actions .btn.secondary {
  color: rgba(21, 61, 53, 0.7) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(37, 69, 60, 0.13) !important;
  box-shadow: none !important;
}

.board-preview-actions .btn.primary {
  border-color: var(--orange, #e85f22) !important;
  box-shadow: 0 10px 22px rgba(232, 95, 34, 0.22) !important;
}

.my-hunt-secondary-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px !important;
  padding: 0 10px 10px !important;
  align-items: stretch !important;
}

.my-hunt-secondary-actions button {
  width: 100% !important;
  min-height: 36px !important;
  display: inline-grid !important;
  place-items: center !important;
  padding: 0 10px !important;
  border-radius: 11px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 925 !important;
  white-space: nowrap !important;
}

.my-hunt-secondary-actions .my-hunt-edit,
.my-hunt-secondary-actions .my-hunt-publish {
  border-color: rgba(53, 105, 94, 0.14) !important;
  background: rgba(53, 105, 94, 0.075) !important;
  color: var(--v70-green, #35695e) !important;
}

.my-hunt-secondary-actions .my-hunt-cancel {
  grid-column: 1 / -1 !important;
  margin-left: 0 !important;
  font-size: 11.5px !important;
  letter-spacing: -0.005em !important;
}

.my-hunt-secondary-actions .my-hunt-cancel::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.72;
}

.my-hunt-secondary-actions button:only-child,
.my-hunt-secondary-actions .my-hunt-cancel:first-child:last-child {
  grid-column: 1 / -1 !important;
}

@media (max-width: 390px) {
  .board-preview-panel {
    padding: 11px !important;
  }

  .board-preview-head {
    grid-template-columns: 52px minmax(0, 1fr) 34px !important;
  }

  .board-preview-image {
    width: 52px !important;
    height: 52px !important;
  }

  .board-preview-grid {
    gap: 4px !important;
    padding: 6px !important;
  }

  .board-preview-grid span {
    min-height: 45px !important;
    padding: 4px 3px !important;
    font-size: 8.6px !important;
  }

  .board-preview-actions {
    margin-inline: -11px !important;
    margin-bottom: -11px !important;
    padding-inline: 11px !important;
  }

  .my-hunt-secondary-actions button {
    font-size: 11.5px !important;
  }
}

button,
.hunt-card,
.my-hunt-main,
.my-hunt-secondary-actions button,
.board-preview-actions .btn,
.tile {
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation !important;
}

.hunt-card,
.my-hunt-card,
.board-preview-panel,
.board-preview-grid,
.tile {
  contain: layout paint style;
}

.hunt-card {
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hunt-card.selected {
  border-color: rgba(232, 95, 34, 0.34) !important;
  box-shadow: 0 12px 28px rgba(31, 39, 32, 0.1),
    inset 0 0 0 1px rgba(232, 95, 34, 0.18) !important;
}

.hunt-card:focus:not(:focus-visible),
.my-hunt-main:focus:not(:focus-visible),
.my-hunt-secondary-actions button:focus:not(:focus-visible),
.board-preview-actions .btn:focus:not(:focus-visible),
.tile:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: inherit;
}

.board-preview-sheet {
  align-items: end !important;
  isolation: isolate;
}

.board-preview-panel {
  overflow: auto !important;
  overscroll-behavior: contain !important;
  transform: translate3d(0, 0, 0);
}

.board-preview-head {
  position: sticky !important;
  top: 0 !important;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(255, 253, 247, 0.9)) !important;
  backdrop-filter: blur(12px) saturate(1.04) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.04) !important;
}

.board-preview-grid {
  align-content: stretch !important;
}

.board-preview-grid span {
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
  min-width: 0 !important;
  user-select: none;
}

.board-preview-status {
  min-height: 42px;
}

.board-preview-actions {
  z-index: 3;
}

.board-preview-actions .btn {
  transition: transform 120ms ease,
    box-shadow 120ms ease,
    border-color 120ms ease,
    background-color 120ms ease !important;
}

.board-preview-actions .btn:active {
  transform: translateY(1px) scale(0.995) !important;
}

.my-hunt-card {
  overflow: hidden !important;
}

.my-hunt-secondary-actions {
  border-top: 1px solid rgba(37, 69, 60, 0.07) !important;
  margin-top: 2px !important;
  padding-top: 9px !important;
}

.my-hunt-secondary-actions button {
  box-shadow: none !important;
  transition: transform 120ms ease,
    border-color 120ms ease,
    background-color 120ms ease !important;
}

.my-hunt-secondary-actions button:active {
  transform: translateY(1px) !important;
}

.my-hunt-secondary-actions .my-hunt-cancel {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 38px !important;
  border-style: solid !important;
  text-transform: none !important;
}

.my-hunt-secondary-actions .my-hunt-cancel::before {
  margin-right: 0 !important;
}

@media (max-width: 430px) {
  .board-preview-sheet {
    padding-inline: 9px !important;
  }

  .board-preview-panel {
    max-height: min(91dvh, 760px) !important;
    border-radius: 21px 21px 16px 16px !important;
  }

  .board-preview-head h2 {
    font-size: clamp(20px, 6.4vw, 25px) !important;
  }

  .board-preview-grid {
    gap: 4px !important;
  }

  .board-preview-actions {
    grid-template-columns: 0.78fr 1.22fr !important;
  }

  .my-hunt-secondary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
}

:root {
  --v120-caution: #8f3a16;
}

.is-hidden-duplicate,
#gameNewHuntBtn.is-hidden-duplicate {
  display: none !important;
}

.game-header {
  padding-bottom: 0 !important;
}

.mini-change {
  min-width: 54px !important;
  padding-inline: 10px !important;
}

.hunt-thumb,
.current-hunt-thumb,
.game-img,
.my-hunt-thumb,
.selected-img,
.board-preview-image {
  object-fit: contain !important;
  object-position: center !important;
  padding: 8px !important;
  border: 1px solid rgba(37, 69, 60, 0.1) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 243, 235, 0.9)) !important;
}

.selected-hunt {
  grid-template-columns: 52px 1fr !important;
}

.selected-img,
.current-hunt-thumb {
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px !important;
}

.board-preview-panel {
  width: min(430px, 100%) !important;
}

.board-preview-head span {
  letter-spacing: 0.1em !important;
}

.board-preview-head h2 {
  font-size: clamp(22px, 6vw, 28px) !important;
}

.board-preview-desc {
  margin: 10px 2px 0 !important;
  max-width: 34rem !important;
}

.board-preview-grid {
  display: block !important;
  margin-top: 12px !important;
  padding: 12px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(37, 69, 60, 0.09) !important;
  background: rgba(255, 255, 255, 0.52) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76) !important;
  aspect-ratio: auto !important;
}

.hunt-overview-samples-label {
  margin-bottom: 8px !important;
  color: rgba(21, 61, 53, 0.55) !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase !important;
}

.hunt-overview-samples {
  display: grid !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.hunt-overview-samples li {
  position: relative !important;
  min-height: 38px !important;
  padding: 10px 11px 10px 28px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(37, 69, 60, 0.09) !important;
  background: rgba(255, 253, 247, 0.78) !important;
  color: rgba(21, 61, 53, 0.84) !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  line-height: 1.22 !important;
}

.hunt-overview-samples li::before {
  content: "" !important;
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: var(--v69-green, #35695e) !important;
  transform: translateY(-50%) !important;
  opacity: 0.76 !important;
}

.hunt-overview-more {
  margin-top: 8px !important;
  padding: 9px 10px !important;
  border-radius: 13px !important;
  border: 1px dashed rgba(232, 95, 34, 0.24) !important;
  background: rgba(255, 241, 231, 0.56) !important;
  color: rgba(143, 58, 22, 0.92) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-align: center !important;
}

.board-preview-actions .btn.primary {
  background: var(--orange, #e85f22) !important;
}

.my-hunt-secondary-actions .my-hunt-cancel {
  border-color: rgba(143, 58, 22, 0.16) !important;
  background: rgba(255, 241, 231, 0.62) !important;
  color: var(--v120-caution) !important;
}

.my-hunt-card.completed .my-hunt-secondary-actions .my-hunt-cancel {
  border-color: rgba(37, 69, 60, 0.12) !important;
  background: rgba(53, 105, 94, 0.07) !important;
  color: rgba(21, 61, 53, 0.72) !important;
}

@media (max-width: 420px) {
  .hunt-identity {
    grid-template-columns: 54px 1fr !important;
    gap: 9px !important;
  }

  .game-img {
    width: 54px !important;
    height: 54px !important;
    padding: 7px !important;
  }

  .board-preview-grid {
    padding: 10px !important;
  }

  .hunt-overview-samples li {
    font-size: 12.5px !important;
  }
}

@media (max-width: 360px) {
  .game-img {
    padding: 6px !important;
  }
}

.tile {
  backface-visibility: hidden !important;
}

.float-points {
  contain: layout paint style !important;
  will-change: transform, opacity !important;
  pointer-events: none !important;
}

#saveState,
.save-state,
.status-pill {
  min-width: 62px !important;
}

.board-frame,
.board {
  content-visibility: auto !important;
  contain: layout paint style !important;
}

.tile {
  will-change: auto !important;
}

.tile-detail-rail {
  contain: layout paint style !important;
}

.float-points,
.bump,
.soft-pulse,
.bar-pulse {
  animation-duration: 0.01ms !important;
}

.game-screen .my-hunts-list,
.game-screen #myHuntsList {
  content-visibility: auto;
}

.board-frame,
.board,
.tile {
  contain: layout paint style !important;
}

.board-frame,
#board,
.tile {
  contain: layout paint style !important;
}

#board {
  transform: translateZ(0);
  will-change: contents;
}

.tile {
  cursor: pointer;
}

.float-points,
.soft-pulse,
.bump {
  animation: none !important;
}

#board.board,
.board-frame {
  content-visibility: visible !important;
  contain: layout paint !important;
}

#board .tile {
  contain: layout paint !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  will-change: auto !important;
  transform: none !important;
  transition: none !important;
  box-shadow: none !important;
}

#board .tile:active {
  transform: none !important;
}

#board .tile.found::after,
#board .tile.found.has-detail::after {
  box-shadow: none !important;
}

#board .tile-label {
  pointer-events: none !important;
}

.board-frame,
.board,
.tile,
.tile-label,
.approved-route-tracker,
.approved-route-line,
.approved-route-car,
.bar,
#goalFill {
  contain: layout paint style !important;
}

.board {
  transform: translateZ(0) !important;
  will-change: auto !important;
}

.tile {
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  padding: 6px !important;
  outline: 0 !important;
  transition: none !important;
  transform: none !important;
  animation: none !important;
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation !important;
  user-select: none !important;
}

.tile::before,
.tile::after {
  transition: none !important;
  animation: none !important;
}

.tile-label {
  display: block !important;
  width: 100% !important;
  font-size: clamp(9.3px, 2.6vw, 11.2px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  text-align: center !important;
  overflow-wrap: anywhere !important;
  hyphens: auto !important;
  pointer-events: none !important;
}

.tile.found::after,
.tile.found.has-detail::after {
  content: "✓" !important;
  position: absolute !important;
  left: auto !important;
  bottom: auto !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

.tile:active {
  filter: brightness(0.98) !important;
}

.bar {
  overflow: hidden !important;
}

#goalFill {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  transition: transform 120ms linear !important;
  will-change: transform !important;
}

@media (max-width: 420px) {
  .board {
    gap: 5px !important;
  }

  .tile {
    padding: 5px !important;
    border-radius: 11px !important;
  }

  .tile-label {
    font-size: clamp(8.8px, 2.7vw, 10.4px) !important;
  }
}

:root {
  --v127-board-paper: #f6efe5;
  --v127-tile-paper: rgba(255, 253, 247, 0.98);
  --v127-tile-found: #dbe8e1;
  --v127-green: #35695e;
  --v127-ink: #153d35;
  --v127-line: rgba(37, 69, 60, 0.14);
  --v127-line-strong: rgba(53, 105, 94, 0.28);
  --v127-orange: #e85f22;
}

.game-card {
  background: transparent !important;
}

.game-topline,
.game-progress,
.approved-route-tracker,
.complete-banner,
.tile-detail-rail,
.board-frame {
  background: rgba(255, 253, 247, 0.9) !important;
  border: 1px solid rgba(37, 69, 60, 0.09) !important;
  box-shadow: 0 10px 24px rgba(31, 39, 32, 0.05) !important;
}

.board-frame {
  border-color: rgba(37, 69, 60, 0.1) !important;
}

.tile-label {
  color: inherit !important;
  font-weight: 800 !important;
}

.tile.found::after,
.tile.found.has-detail::after {
  background: var(--v127-green) !important;
  color: #fffdf7 !important;
  width: 20px !important;
  height: 20px !important;
  top: 6px !important;
  right: 6px !important;
  font-size: 11px !important;
}

.game-progress .progress-head h2,
#gameTrip,
.progress-status,
.progress-status span,
.progress-status strong,
.approved-route-copy span,
.approved-route-copy strong,
.complete-banner strong,
.tile-detail-rail strong,
.tile-detail-rail,
.tile-detail-rail span,
.mini-stat strong,
.mini-stat-label,
.code-chip,
.code-chip strong,
.mini-change,
.mini-invite {
  color: var(--v127-ink) !important;
}

.code-chip,
.mini-change,
.mini-invite {
  border-color: rgba(37, 69, 60, 0.12) !important;
  background: rgba(255, 253, 247, 0.94) !important;
  box-shadow: none !important;
}

.mini-change,
.mini-invite {
  color: var(--v127-green) !important;
}

.mini-stat {
  background: rgba(255, 253, 247, 0.96) !important;
  border: 1px solid rgba(37, 69, 60, 0.08) !important;
  box-shadow: none !important;
}

.game-progress .bar {
  background: rgba(53, 105, 94, 0.12) !important;
}

.approved-route-line {
  opacity: 0.96 !important;
}

#routeReadyBadge {
  border: 0 !important;
  box-shadow: none !important;
}

.complete-banner {
  box-shadow: 0 10px 22px rgba(31, 39, 32, 0.045) !important;
}

.complete-banner span {
  color: var(--v127-orange) !important;
  letter-spacing: 0.08em !important;
}

.complete-banner strong {
  color: #2a231f !important;
}

.complete-banner button {
  background: var(--v127-orange) !important;
  border: 1px solid var(--v127-orange) !important;
  color: #fffdf7 !important;
  box-shadow: none !important;
}

.complete-banner button:hover,
.complete-banner button:active {
  filter: brightness(0.98) !important;
}

.tile-detail-rail {
  background: rgba(255, 253, 247, 0.96) !important;
  border-color: rgba(37, 69, 60, 0.1) !important;
}

@media (max-width: 420px) {
  .complete-banner {
    gap: 10px !important;
  }

  .complete-banner button {
    min-height: 48px !important;
  }

  .tile.found::after,
    .tile.found.has-detail::after {
    width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
  }
}

#board .tile {
  padding: 8px 7px !important;
}

#board .tile-label {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 4 !important;
  max-width: 100% !important;
  max-height: calc(var(--tile-fit-size, 10.8px) * 4.62) !important;
  overflow: hidden !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: var(--tile-fit-size, 10.8px) !important;
  font-weight: 720 !important;
  line-height: 1.155 !important;
  letter-spacing: -0.012em !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
  text-wrap: balance !important;
}

#board .tile-text-lg {
  --tile-fit-size: 11.6px;
}

#board .tile-text-md {
  --tile-fit-size: 10.7px;
}

#board .tile-text-sm {
  --tile-fit-size: 9.75px;
}

#board .tile-text-xs {
  --tile-fit-size: 8.85px;
}

#board .label-short .tile-label {
  -webkit-line-clamp: 3 !important;
  font-weight: 760 !important;
  line-height: 1.12 !important;
}

#board .label-medium .tile-label {
  -webkit-line-clamp: 3 !important;
}

#board .label-long .tile-label,
#board .label-xlong .tile-label {
  -webkit-line-clamp: 4 !important;
  font-weight: 700 !important;
  letter-spacing: -0.018em !important;
}

#board .tile.found .tile-label {
  padding: 0 14px 0 0 !important;
}

@media (max-width: 420px) {
  #board .tile {
    padding: 7px 6px !important;
  }

  #board .tile-text-lg {
    --tile-fit-size: 11.1px;
  }

  #board .tile-text-md {
    --tile-fit-size: 10.25px;
  }

  #board .tile-text-sm {
    --tile-fit-size: 9.35px;
  }

  #board .tile-text-xs {
    --tile-fit-size: 8.5px;
  }
}

@media (max-width: 360px) {
  #board .tile {
    padding: 6px 5px !important;
  }

  #board .tile-text-lg {
    --tile-fit-size: 10.6px;
  }

  #board .tile-text-md {
    --tile-fit-size: 9.8px;
  }

  #board .tile-text-sm {
    --tile-fit-size: 8.95px;
  }

  #board .tile-text-xs {
    --tile-fit-size: 8.2px;
  }
}

:root {
  --v129-stack-gap: 10px;
  --v129-card-radius: 22px;
  --v129-inner-radius: 18px;
}

#gameTrip {
  margin-bottom: 8px !important;
}

.game-top-actions {
  display: flex !important;
  align-items: center !important;
}

.mini-change,
.mini-invite {
  min-width: 0 !important;
}

.game-progress,
.approved-route-tracker,
.complete-banner {
  margin: 0 !important;
}

.approved-route-tracker {
  border-top-left-radius: 14px !important;
  border-top-right-radius: 14px !important;
}

.approved-route-copy {
  padding-top: 2px !important;
}

.complete-banner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
}

.complete-banner > div {
  min-width: 0 !important;
}

.complete-banner strong {
  display: block !important;
  letter-spacing: -0.035em !important;
}

.complete-banner + .board-frame,
.board-frame {
  margin-top: 2px !important;
}

#tileDetailRail.tile-detail-rail {
  margin-top: -1px !important;
}

@media (max-width: 520px) {
  .game-card {
    gap: 9px !important;
  }

  .game-topline {
    gap: 10px !important;
  }

  #gameTrip {
    margin-bottom: 7px !important;
  }

  .game-stats-inline {
    gap: 8px !important;
  }

  .approved-route-tracker {
    padding: 9px 12px 11px !important;
  }

  .complete-banner {
    padding: 14px !important;
    gap: 12px !important;
  }

  .complete-banner button {
    width: auto !important;
    padding: 0 20px !important;
  }
}

@media (max-width: 430px) {
  .game-top-actions {
    gap: 6px !important;
  }

  .mini-change,
    .mini-invite {
    padding: 0 12px !important;
  }

  .complete-banner {
    align-items: stretch !important;
  }

  .approved-route-copy {
    gap: 10px !important;
    flex-wrap: wrap !important;
  }
}

@media (max-width: 360px) {
  .game-top-actions {
    justify-content: flex-start !important;
    width: 100% !important;
  }

  .game-progress {
    padding: 13px !important;
  }
}

:root {
  --v130-stack-gap: 8px;
  --v130-card-radius: 18px;
  --v130-inner-radius: 14px;
}

.game-brand-lockup {
  opacity: 0.88 !important;
  width: fit-content !important;
}

.game-logo.brand-logo-full,
.brand-logo-full.game-logo {
  max-height: 64px !important;
  width: auto !important;
}

.game-wordmark,
.game-brand-title,
.game-brand-sub {
  line-height: 1 !important;
}

.game-card {
  padding-top: 0 !important;
}

.game-img {
  box-shadow: none !important;
}

.mini-change .i,
.mini-invite .i,
.mini-invite svg {
  width: 16px !important;
  height: 16px !important;
}

.label-mini,
.progress-head .label-mini {
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
}

.complete-banner {
  margin-top: 0 !important;
}

#tileDetailRail.tile-detail-rail {
  padding: 9px 11px !important;
  border-radius: 14px !important;
}

@media (max-width: 520px) {
  .game-header {
    min-height: 38px !important;
  }

  .game-brand-lockup {
    transform: scale(0.62) !important;
    margin: -15px auto -22px !important;
  }

  .game-topline {
    padding: 9px 10px !important;
  }

  .hunt-identity {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  .game-img {
    width: 42px !important;
    height: 42px !important;
    padding: 5px !important;
  }

  #gameTrip {
    font-size: clamp(23px, 7.4vw, 34px) !important;
  }

  .code-chip,
    .mini-change,
    .mini-invite {
    min-height: 32px !important;
    height: 32px !important;
    border-radius: 12px !important;
  }

  .game-progress {
    padding: 11px !important;
  }

  .mini-stat {
    min-height: 72px !important;
    padding: 9px 6px !important;
  }

  .complete-banner {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .complete-banner button {
    min-width: 150px !important;
  }
}

@media (max-width: 430px) {
  .game-topline {
    grid-template-columns: 1fr auto !important;
  }

  .mini-invite::after {
    font-size: 12px !important;
  }

  .complete-banner {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .complete-banner button {
    width: 100% !important;
    min-height: 42px !important;
  }
}

@media (max-width: 360px) {
  .mini-stat {
    min-height: 64px !important;
  }
}

.home-hero {
  padding: 14px 16px !important;
  min-height: 0 !important;
}

.home-hero .hero-kicker {
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 4px !important;
  opacity: 0.78 !important;
}

.home-hero h1 {
  font-size: clamp(26px, 6.6vw, 34px) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.05em !important;
  margin: 0 0 4px !important;
}

.home-hero p {
  font-size: 12px !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  opacity: 0.82 !important;
}

@media (max-width: 430px) {
  .home-hero {
    padding: 12px 14px !important;
  }

  .home-hero h1 {
    font-size: clamp(24px, 6.2vw, 30px) !important;
    margin-bottom: 3px !important;
  }

  .home-hero p {
    font-size: 11.5px !important;
  }
}

#huntView.view.active {
  padding-top: 0 !important;
}

.code-chip {
  gap: 6px !important;
}

.mini-change,
.mini-invite {
  min-height: 30px !important;
  height: 30px !important;
  padding: 0 9px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  gap: 5px !important;
}

.mini-invite svg,
.mini-invite .i,
.mini-change .i {
  width: 14px !important;
  height: 14px !important;
}

.game-progress .progress-head h2,
#goalText {
  margin: 2px 0 0 !important;
  font-size: clamp(25px, 6.7vw, 34px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
}

.mini-stat strong {
  margin-top: 4px !important;
}

.approved-route-line {
  margin-bottom: 2px !important;
}

@media (max-width: 430px) {
  .game-top-actions .mini-change {
    display: none !important;
  }

  .mini-invite {
    padding: 0 !important;
    font-size: 0 !important;
  }

  .mini-invite::after {
    content: none !important;
  }

  .mini-invite svg {
    width: 15px !important;
    height: 15px !important;
  }
}

@media (max-width: 360px) {
  .game-topline {
    grid-template-columns: 1fr auto !important;
  }

  .code-chip {
    height: 28px !important;
    min-height: 28px !important;
  }
}

.game-card {
  padding: 0 !important;
}

.game-topline,
.game-progress,
.approved-route-tracker,
.complete-banner,
.board-frame {
  border-radius: 18px !important;
}

.game-topline {
  display: grid !important;
  gap: 8px !important;
}

.code-chip {
  margin-top: 4px !important;
  letter-spacing: 0.08em !important;
}

.code-chip .i,
.code-chip svg {
  width: 13px !important;
  height: 13px !important;
}

.game-top-actions {
  align-self: center !important;
}

.game-progress .progress-head {
  margin: 0 !important;
}

.game-progress .label-mini,
.progress-head .label-mini {
  font-size: 8.5px !important;
  letter-spacing: 0.14em !important;
  line-height: 1 !important;
}

#goalText {
  letter-spacing: -0.045em !important;
}

#goalCount {
  letter-spacing: -0.04em !important;
}

.game-stats-inline {
  display: grid !important;
}

.mini-stat {
  column-gap: 6px !important;
  row-gap: 0 !important;
}

.mini-stat-label {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.mini-stat strong {
  margin: 0 !important;
}

.complete-banner span {
  font-size: 9px !important;
  margin-bottom: 2px !important;
}

.complete-banner strong {
  line-height: 1.05 !important;
}

.complete-banner button {
  min-width: 124px !important;
  padding: 0 12px !important;
}

@media (max-width: 430px) {
  .game-screen {
    padding-top: 3px !important;
  }

  .game-card {
    gap: 5px !important;
  }

  .mini-invite {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
  }

  .game-stats-inline {
    gap: 5px !important;
    margin-top: 7px !important;
  }

  .mini-stat {
    column-gap: 5px !important;
  }

  .mini-stat-label {
    gap: 3px !important;
  }

  .mini-stat-label svg,
    .mini-stat-label .i {
    width: 11px !important;
    height: 11px !important;
  }

  #routeReadyBadge {
    line-height: 18px !important;
  }

  .board-frame {
    padding: 4px !important;
  }

  .board {
    gap: 4px !important;
  }
}

@media (max-width: 360px) {
  #gameTrip {
    font-size: clamp(17px, 4.6vw, 22px) !important;
  }

  .code-chip {
    max-width: 140px !important;
  }
}

.mini-stat {
  justify-content: space-between !important;
}

.game-header {
  margin-bottom: 3px !important;
}

#gameTrip {
  max-width: 100% !important;
}

@media (max-width: 430px) {
  .game-topline {
    min-height: 68px !important;
  }

  .game-img {
    padding: 5px !important;
  }
}

@media (max-width: 360px) {
  .game-brand-lockup {
    transform: scale(0.48) !important;
    margin: -22px auto -30px !important;
  }

  .hunt-identity {
    grid-template-columns: 42px minmax(0, 1fr) !important;
  }

  .game-img {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }
}

.game-header {
  padding-top: 0 !important;
}

.game-top-actions {
  gap: 6px !important;
}

.mini-change {
  display: none !important;
}

.game-progress {
  min-height: 0 !important;
}

.label-mini {
  font-size: 8.5px !important;
  letter-spacing: 0.14em !important;
  margin-bottom: 1px !important;
}

.game-progress .bar {
  margin-top: 0 !important;
  border-radius: 999px !important;
}

.progress-status {
  margin-top: 5px !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.progress-status span,
.progress-status strong {
  font-size: 9px !important;
  line-height: 1 !important;
}

.approved-route-tracker {
  min-height: 0 !important;
}

@media (max-width: 430px) {
  .mini-stat-label {
    font-size: 7px !important;
  }

  .mini-stat strong {
    font-size: clamp(14px, 4.4vw, 18px) !important;
  }
}

.game-screen {
  padding-top: 0 !important;
}

.game-header {
  min-height: 36px !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
}

.game-brand-lockup {
  transform: scale(0.55) !important;
  transform-origin: center top !important;
  margin: -17px auto -25px !important;
}

.game-card {
  gap: 4px !important;
}

.game-topline,
.game-progress,
.approved-route-tracker,
.complete-banner,
.board-frame {
  box-shadow: none !important;
}

.game-topline {
  min-height: 0 !important;
  padding: 6px 10px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
}

.hunt-identity {
  grid-template-columns: 48px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: center !important;
}

.game-img {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  padding: 5px !important;
  border-radius: 11px !important;
}

.hunt-identity > div {
  min-width: 0 !important;
}

#gameTrip {
  font-size: clamp(18px, 5.4vw, 28px) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.058em !important;
  margin: 0 0 4px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.code-chip {
  width: fit-content !important;
  height: 26px !important;
  min-height: 26px !important;
  max-width: 164px !important;
  padding: 0 10px !important;
  border-radius: 11px !important;
  font-size: 10px !important;
}

.code-chip strong {
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
}

.game-top-actions .mini-change {
  display: none !important;
}

.mini-invite {
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border-radius: 11px !important;
  font-size: 0 !important;
}

.mini-invite::after {
  content: none !important;
}

.mini-invite svg,
.mini-invite .i {
  width: 15px !important;
  height: 15px !important;
}

.game-progress {
  padding: 8px 10px !important;
  border-radius: 12px !important;
  margin-top: 0 !important;
}

.game-progress .progress-head {
  margin-bottom: 6px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  align-items: end !important;
}

.label-mini,
.game-topline .label-mini {
  font-size: 8px !important;
  letter-spacing: 0.14em !important;
  margin-bottom: 1px !important;
}

#goalText {
  font-size: clamp(18px, 5vw, 27px) !important;
  line-height: 0.95 !important;
  margin: 0 !important;
}

#goalCount {
  font-size: clamp(22px, 6.4vw, 32px) !important;
  line-height: 0.9 !important;
}

.game-progress .bar {
  height: 6px !important;
  margin: 0 !important;
}

.progress-status {
  display: none !important;
}

.game-stats-inline {
  margin-top: 6px !important;
  gap: 5px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.mini-stat {
  min-height: 30px !important;
  padding: 4px 7px !important;
  border-radius: 11px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 5px !important;
}

.mini-stat-label {
  font-size: 7px !important;
  letter-spacing: 0.12em !important;
  gap: 3px !important;
  white-space: nowrap !important;
}

.mini-stat-label svg,
.mini-stat-label .i {
  width: 10px !important;
  height: 10px !important;
}

.mini-stat strong {
  font-size: clamp(14px, 4.3vw, 19px) !important;
  line-height: 1 !important;
}

.approved-route-tracker {
  border-color: rgba(37,69,60,0.075) !important;
  margin-top: 0 !important;
}

.approved-route-line {
  margin: 0 0 2px !important;
}

.approved-route-copy span {
  line-height: 1 !important;
}

.complete-banner {
  padding: 7px 9px !important;
  border-radius: 12px !important;
}

.complete-banner strong {
  font-size: clamp(14px, 4vw, 18px) !important;
}

.complete-banner button {
  min-height: 34px !important;
  border-radius: 11px !important;
  font-size: 12px !important;
}

.board-frame {
  margin-top: 0 !important;
  padding: 4px !important;
  border-radius: 15px !important;
}

.board {
  gap: 4px !important;
}

@media (max-width: 430px) {
  .game-header {
    min-height: 32px !important;
  }

  .game-brand-lockup {
    transform: scale(0.52) !important;
    margin: -18px auto -27px !important;
  }

  .game-topline {
    padding: 6px 8px !important;
  }

  .hunt-identity {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 7px !important;
  }

  .game-img {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
  }

  #gameTrip {
    font-size: clamp(17px, 5vw, 24px) !important;
  }

  .code-chip {
    height: 24px !important;
    min-height: 24px !important;
    max-width: 150px !important;
  }

  .game-progress {
    padding: 7px 8px !important;
  }

  #goalText {
    font-size: clamp(17px, 5vw, 24px) !important;
  }

  #goalCount {
    font-size: clamp(21px, 6vw, 29px) !important;
  }

  .mini-stat {
    min-height: 28px !important;
    padding: 3px 6px !important;
  }
}

.approved-route-line {
  height: 18px !important;
  background: url("./assets/world/approved-route-v69.svg") center/100% 18px no-repeat !important;
  overflow: visible !important;
}

.approved-route-node {
  width: 6px !important;
  height: 6px !important;
  background: #b8cbc4 !important;
  box-shadow: 0 0 0 2px rgba(255,253,247,0.92) !important;
}

#routeReadyBadge {
  line-height: 19px !important;
}

@media (max-width: 430px) {
  .approved-route-line {
    height: 17px !important;
    background-size: 100% 17px !important;
  }
}

.screen,
.view,
#homeScreen,
#gameScreen,
#huntView {
  background: transparent !important;
}

.home-hero,
.current-hunt-card,
.start-panel,
.selected-hunt,
.hunt-card,
.secondary-action-card,
.game-topline,
.game-progress,
.approved-route-tracker,
.complete-banner,
.tile-detail-rail,
.board-frame,
.panel,
.sheet,
.leader-invite-card,
.menu-row,
.options-row,
.resume-card {
  background: rgba(255, 253, 247, 0.72) !important;
  border-color: rgba(37, 69, 60, 0.105) !important;
  backdrop-filter: blur(8px) saturate(1.02) !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.02) !important;
}

.game-header,
.brand-header {
  background: transparent !important;
}

html {
  min-height: 100% !important;
  background: #eef1e9 !important;
}

body {
  min-height: 100dvh !important;
  position: relative !important;
  background: #eef1e9 !important;
}

body::after {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(244, 238, 228, 0.05) 0%, rgba(244, 238, 228, 0.10) 62%, rgba(244, 238, 228, 0.18) 100%) !important;
}

.screen,
.screen.active,
.view,
.view.active,
#homeScreen,
#gameScreen,
#huntView,
#homeMyHuntsScreen,
#customScreen,
#homeLeadersScreen,
#homeOptionsScreen {
  background: transparent !important;
}

.home-hero,
.current-hunt-card,
.start-panel,
.selected-hunt,
.hunt-card,
.secondary-action-card,
.game-topline,
.game-progress,
.approved-route-tracker,
.complete-banner,
.tile-detail-rail,
.board-frame,
.panel,
.sheet,
.leader-invite-card,
.menu-row,
.options-row,
.resume-card,
.my-hunt-card,
.builder-hook,
.preview-panel,
.edit-board-panel,
.board-preview-panel {
  background-color: rgba(255, 253, 247, 0.68) !important;
  background-image: none !important;
  border-color: rgba(37, 69, 60, 0.10) !important;
  backdrop-filter: blur(7px) saturate(1.03) !important;
  -webkit-backdrop-filter: blur(7px) saturate(1.03) !important;
}

.board-frame {
  background-color: rgba(246, 239, 229, 0.58) !important;
}

.leader-row.is-viewable {
  cursor: pointer !important;
}

.leader-row.is-viewable:focus-visible {
  outline: 2px solid rgba(232, 95, 34, 0.42) !important;
  outline-offset: 3px !important;
}

.leader-row.spotlight-selected {
  border-color: rgba(232, 95, 34, 0.28) !important;
  background: rgba(255, 241, 231, 0.54) !important;
}

.leader-actions {
  display: grid !important;
  justify-items: end !important;
  gap: 4px !important;
  min-width: max-content !important;
}

.leader-view-finds {
  display: inline-grid !important;
  place-items: center !important;
  min-height: 24px !important;
  padding: 0 9px !important;
  border: 1px solid rgba(37, 69, 60, 0.1) !important;
  border-radius: 999px !important;
  background: rgba(255, 253, 247, 0.78) !important;
  color: rgba(21, 61, 53, 0.74) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
}

.leader-row.spotlight-selected .leader-view-finds {
  border-color: rgba(232, 95, 34, 0.22) !important;
  background: rgba(232, 95, 34, 0.1) !important;
  color: #9f4217 !important;
}

.spotlight-banner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 9px 11px !important;
  border: 1px solid rgba(37, 69, 60, 0.11) !important;
  border-radius: 15px !important;
  background: rgba(255, 253, 247, 0.84) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px) saturate(1.02) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.02) !important;
}

.spotlight-banner.hidden {
  display: none !important;
}

.spotlight-banner span {
  display: block !important;
  margin-bottom: 2px !important;
  color: rgba(159, 66, 23, 0.94) !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.spotlight-banner strong {
  display: block !important;
  color: rgba(21, 61, 53, 0.76) !important;
  font-size: 12px !important;
  font-weight: 780 !important;
  line-height: 1.15 !important;
}

.spotlight-banner button {
  min-height: 34px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(37, 69, 60, 0.12) !important;
  border-radius: 12px !important;
  background: rgba(255, 253, 247, 0.9) !important;
  color: rgba(21, 61, 53, 0.82) !important;
  font-size: 11px !important;
  font-weight: 920 !important;
  white-space: nowrap !important;
}

#board.spotlight-active .tile.spotlight-found:not(.found) {
  border-color: rgba(232, 95, 34, 0.34) !important;
  background: linear-gradient(135deg, rgba(232, 95, 34, 0.075) 0 12%, transparent 12% 50%, rgba(232, 95, 34, 0.055) 50% 62%, transparent 62%),
    rgba(255, 253, 247, 0.96) !important;
}

#board.spotlight-active .tile.spotlight-found::before {
  content: "" !important;
  position: absolute !important;
  left: 7px !important;
  bottom: 7px !important;
  width: 7px !important;
  height: 7px !important;
  display: block !important;
  border-radius: 999px !important;
  background: #e85f22 !important;
  box-shadow: 0 0 0 3px rgba(232, 95, 34, 0.12) !important;
  pointer-events: none !important;
}

#board.spotlight-active .tile.found.spotlight-shared::before {
  background: #e85f22 !important;
  box-shadow: 0 0 0 3px rgba(255, 253, 247, 0.28) !important;
}

@media (max-width: 430px) {
  .leader-view-finds {
    min-height: 22px !important;
    padding: 0 7px !important;
    font-size: 9.5px !important;
  }

  .spotlight-banner {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    padding: 8px 10px !important;
  }

  .spotlight-banner button {
    width: fit-content !important;
    min-height: 32px !important;
  }
}

.tile.found {
  -webkit-touch-callout: none !important;
}

.icon-btn,
.view-back-btn,
.top-action,
.mini-change,
.mini-invite {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.icon-btn,
.view-back-btn,
.top-action,
.mini-change,
.mini-invite,
.code-chip {
  border-color: rgba(78, 92, 85, 0.22) !important;
}

.icon-btn:hover,
.icon-btn:active,
.view-back-btn:hover,
.view-back-btn:active,
.top-action:hover,
.top-action:active,
.mini-change:hover,
.mini-change:active,
.mini-invite:hover,
.mini-invite:active {
  background: rgba(255, 255, 255, 0.01) !important;
  box-shadow: none !important;
}

.view-back-btn {
  background: transparent !important;
}

.i,
.menu-main .i,
.view-back-btn .i,
.icon-btn .i,
.top-action .i,
.mini-change .i,
.mini-invite .i {
  background: currentColor !important;
  background-color: currentColor !important;
  box-shadow: none !important;
}

.icon-btn,
.view-back-btn,
.top-action,
.mini-change {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.view-back-btn {
  color: rgba(21, 61, 53, 0.82) !important;
  border-color: rgba(37, 69, 60, 0.22) !important;
}

.view-back-btn::before,
.view-back-btn::after,
.icon-btn::before,
.icon-btn::after,
.top-action::before,
.top-action::after,
.mini-change::before,
.mini-change::after {
  content: none !important;
  display: none !important;
}

.icon-btn,
#boardPreviewCloseBtn.icon-btn,
#editBoardCloseBtn.icon-btn,
.view-back-btn,
.modal-close,
.sheet-close,
.close-btn {
  background: transparent !important;
  border-color: transparent !important;
  border-width: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.icon-btn:hover,
.icon-btn:active,
.view-back-btn:hover,
.view-back-btn:active,
#boardPreviewCloseBtn.icon-btn:hover,
#editBoardCloseBtn.icon-btn:hover {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.icon-btn .i,
.icon-btn svg,
.view-back-btn .i,
.view-back-btn svg,
#boardPreviewCloseBtn .i,
#boardPreviewCloseBtn svg,
#editBoardCloseBtn .i,
#editBoardCloseBtn svg {
  background-color: transparent !important;
}

#board {
  align-items: stretch !important;
}

#board[data-cols="3"][data-rows="17"] {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 5px !important;
}

#board .tile {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

#board[data-cols="3"][data-rows="17"] .tile {
  aspect-ratio: 1.55 / 1 !important;
  min-height: 50px !important;
  border-radius: 11px !important;
}

#board .tile-label,
#board .tile.found .tile-label,
#board.spotlight-active .tile .tile-label,
#board.spotlight-active .tile.found .tile-label,
#board.spotlight-active .tile.spotlight-found .tile-label,
#board.spotlight-active .tile.spotlight-shared .tile-label {
  position: relative !important;
  z-index: 2 !important;
  box-sizing: border-box !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 8px 22px 8px 8px !important;
  transform: none !important;
  inset: auto !important;
  text-align: center !important;
  pointer-events: none !important;
}

#board[data-cols="3"][data-rows="17"] .tile-label,
#board[data-cols="3"][data-rows="17"] .tile.found .tile-label,
#board[data-cols="3"][data-rows="17"].spotlight-active .tile .tile-label {
  font-size: clamp(10px, 3.15vw, 13.5px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

#board .tile.found {
  position: relative !important;
}

#board .tile::before,
#board .tile::after {
  position: absolute !important;
  pointer-events: none !important;
  flex: none !important;
  z-index: 4 !important;
  margin: 0 !important;
  transform: none !important;
}

#board .tile.found::after,
#board .tile.found.has-detail::after,
#board[data-cols="3"][data-rows="17"] .tile.found::after,
#board[data-cols="3"][data-rows="17"] .tile.found.has-detail::after {
  content: "✓" !important;
  top: 5px !important;
  right: 5px !important;
  left: auto !important;
  bottom: auto !important;
  display: grid !important;
  place-items: center !important;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 253, 247, 0.94) !important;
  border: 1px solid rgba(37, 69, 60, 0.14) !important;
  color: rgba(21, 61, 53, 0.92) !important;
  font-size: 10.5px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

#board[data-cols="3"][data-rows="17"] .tile.found::after,
#board[data-cols="3"][data-rows="17"] .tile.found.has-detail::after {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  font-size: 9px !important;
}

#board.spotlight-active .tile.spotlight-found::before,
#board.spotlight-active .tile.found.spotlight-shared::before {
  content: "" !important;
  left: 6px !important;
  bottom: 6px !important;
  top: auto !important;
  right: auto !important;
  display: block !important;
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  min-height: 7px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: #e85f22 !important;
  border: 0 !important;
  box-shadow: 0 0 0 3px rgba(232, 95, 34, 0.12) !important;
}

#board[data-cols="3"][data-rows="17"].spotlight-active .tile.spotlight-found::before,
#board[data-cols="3"][data-rows="17"].spotlight-active .tile.found.spotlight-shared::before {
  left: 5px !important;
  bottom: 5px !important;
  width: 6px !important;
  height: 6px !important;
  min-width: 6px !important;
  min-height: 6px !important;
}

#board.spotlight-active .tile.spotlight-found:not(.found) {
  color: rgba(21, 61, 53, 0.9) !important;
}

@media (max-width: 430px) {
  #board[data-cols="3"][data-rows="17"] {
    gap: 4px !important;
  }

  #board[data-cols="3"][data-rows="17"] .tile {
    min-height: 46px !important;
  }

  #board[data-cols="3"][data-rows="17"] .tile-label,
    #board[data-cols="3"][data-rows="17"] .tile.found .tile-label {
    font-size: clamp(9.4px, 3vw, 12.2px) !important;
    padding: 7px 20px 7px 7px !important;
  }
}

#board .tile,
#board .tile.found,
#board.spotlight-active .tile,
#board.spotlight-active .tile.found,
#board.spotlight-active .tile.spotlight-found,
#board.spotlight-active .tile.spotlight-shared {
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
}

#board .tile-label,
#board .tile.found .tile-label,
#board .tile.has-detail .tile-label,
#board.spotlight-active .tile .tile-label,
#board.spotlight-active .tile.found .tile-label,
#board.spotlight-active .tile.spotlight-found .tile-label,
#board.spotlight-active .tile.spotlight-shared .tile-label {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  justify-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  align-items: center !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 8px !important;
  text-align: center !important;
  text-indent: 0 !important;
  transform: none !important;
  translate: none !important;
  inset: auto !important;
}

#board[data-cols="3"][data-rows="17"] .tile-label,
#board[data-cols="3"][data-rows="17"] .tile.found .tile-label,
#board[data-cols="3"][data-rows="17"] .tile.has-detail .tile-label,
#board[data-cols="3"][data-rows="17"].spotlight-active .tile .tile-label,
#board[data-cols="3"][data-rows="17"].spotlight-active .tile.found .tile-label,
#board[data-cols="3"][data-rows="17"].spotlight-active .tile.spotlight-found .tile-label,
#board[data-cols="3"][data-rows="17"].spotlight-active .tile.spotlight-shared .tile-label {
  padding: 7px 8px !important;
  text-align: center !important;
}

#board .tile::before,
#board .tile::after,
#board .tile.found::before,
#board .tile.found::after,
#board.spotlight-active .tile.spotlight-found::before,
#board.spotlight-active .tile.found.spotlight-shared::before {
  position: absolute !important;
  pointer-events: none !important;
  float: none !important;
  flex: none !important;
}

#board .tile.found::after,
#board .tile.found.has-detail::after {
  top: 5px !important;
  right: 5px !important;
  left: auto !important;
  bottom: auto !important;
}

#board[data-cols="3"][data-rows="17"] .tile.found::after,
#board[data-cols="3"][data-rows="17"] .tile.found.has-detail::after {
  top: 4px !important;
  right: 4px !important;
}

@media (max-width: 430px) {
  #board .tile-label,
    #board .tile.found .tile-label,
    #board.spotlight-active .tile .tile-label {
    padding: 7px !important;
  }

  #board[data-cols="3"][data-rows="17"] .tile-label,
    #board[data-cols="3"][data-rows="17"] .tile.found .tile-label,
    #board[data-cols="3"][data-rows="17"].spotlight-active .tile .tile-label {
    padding: 6px 7px !important;
  }
}

.board-undo-hint {
  margin: 5px 0 0 !important;
  text-align: center !important;
  color: rgba(21, 61, 53, 0.58) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em !important;
}

.community-toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 0 18px;
  padding: 13px 14px;
  border: 1px solid rgba(51, 44, 36, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 28px rgba(44, 34, 24, 0.06);
  cursor: pointer;
}

.community-toggle-row input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #d46f32;
  flex: 0 0 auto;
}

.community-toggle-row span {
  display: grid;
  gap: 3px;
  line-height: 1.22;
}

.community-toggle-row strong {
  font-size: 0.92rem;
  color: #30271f;
}

.community-toggle-row small {
  font-size: 0.78rem;
  color: rgba(48, 39, 31, 0.62);
}

.issue-report-sheet.hidden {
  display: none !important;
}

.issue-report-sheet {
  position: fixed;
  inset: 0;
  z-index: 195;
  display: grid;
  place-items: end center;
  padding: 16px 13px calc(16px + env(safe-area-inset-bottom));
}

.issue-report-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 31, 27, 0.34);
  backdrop-filter: blur(8px);
}

.issue-report-panel {
  position: relative;
  width: min(430px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  padding: 18px 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: rgba(255, 253, 247, 0.97);
  box-shadow: 0 22px 56px rgba(25, 31, 27, 0.24);
}

.issue-report-textarea {
  min-height: 132px;
}

#issueReportStatus[data-mode="success"] {
  color: #167047;
}

#issueReportStatus[data-mode="error"] {
  color: #b94810;
}

.options-credit {
  margin: 5px auto 4px;
  padding: 5px 6px 4px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(47, 38, 27, 0.52);
}

.options-credit a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 38, 27, 0.22);
  transition: color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.options-credit a:hover,
.options-credit a:focus-visible {
  color: rgba(47, 38, 27, 0.82);
  border-bottom-color: rgba(47, 38, 27, 0.42);
  outline: none;
}

#huntList.hunt-list:empty {
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
}

#huntList.hunt-list::after {
  content: none !important;
  display: none !important;
}

#huntList.hunt-list.huntListRendering:empty {
  opacity: 1 !important;
  transform: none !important;
  min-height: 0 !important;
}

.hunt-list-wrap {
  margin-top: 0 !important;
}

#huntList.hunt-list:not(.hunts-ready) {
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  transform: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
}

.hunt-list-wrap:not(.hunts-ready) {
  min-height: 0 !important;
  margin-top: 0 !important;
}

#huntList.hunt-list.hunts-ready {
  height: auto !important;
  overflow: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

#huntList .hunt-card {
  animation: none !important;
}

#huntList.hunt-list.huntListRendering,
#huntList.hunt-list.huntListRendering .hunt-card {
  opacity: 1 !important;
  transform: none !important;
}

html.hunt-shell-hydrating #homeScreen .home-hero,
html.hunt-shell-hydrating #homeScreen #currentHuntPanel,
html.hunt-shell-hydrating #homeScreen #resumeCard,
html.hunt-shell-hydrating #homeScreen .hunt-section-title,
html.hunt-shell-hydrating #homeScreen #huntFilters,
html.hunt-shell-hydrating #homeScreen .hunt-list-wrap,
html.hunt-shell-hydrating #homeScreen .secondary-actions,
html.hunt-shell-hydrating #homeScreen #startPanel {
  opacity: 0 !important;
  transform: translateY(4px) !important;
  transition: none !important;
}

html.hunt-shell-ready #homeScreen .home-hero,
html.hunt-shell-ready #homeScreen #currentHuntPanel,
html.hunt-shell-ready #homeScreen #resumeCard,
html.hunt-shell-ready #homeScreen .hunt-section-title,
html.hunt-shell-ready #homeScreen #huntFilters,
html.hunt-shell-ready #homeScreen .hunt-list-wrap,
html.hunt-shell-ready #homeScreen .secondary-actions,
html.hunt-shell-ready #homeScreen #startPanel {
  opacity: 1;
  transform: none;
  transition: opacity 0.16s ease, transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1);
}

html.hunt-shell-hydrating #huntList.hunt-list {
  min-height: 0 !important;
}

html.hunt-shell-ready #huntList.hunt-list {
  min-height: 0 !important;
}

:root {
  --v222-cell-bg: rgba(255, 253, 247, 0.38);
  --v222-cell-bg-found: rgba(246, 251, 245, 0.46);
  --v222-cell-border: rgba(37, 69, 60, 0.105);
  --v222-cell-border-found: rgba(53, 105, 94, 0.28);
  --v222-cell-ink: #153d35;
  --v222-cell-muted: rgba(21, 61, 53, 0.82);
  --v222-state: #35695e;
  --v222-state-soft: rgba(53, 105, 94, 0.105);
}

.tile {
  color: var(--v222-cell-ink) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.055)),
    var(--v222-cell-bg) !important;
  border: 1px solid var(--v222-cell-border) !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54),
    0 2px 7px rgba(31, 39, 32, 0.035) !important;
  backdrop-filter: blur(5px) saturate(1.04) !important;
}

.tile::before,
.tile::after {
  content: "" !important;
  pointer-events: none !important;
}

.tile::before {
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.28), transparent 38%) !important;
  opacity: 0.42 !important;
}

.tile .tile-label,
.tile-label {
  position: relative !important;
  z-index: 1 !important;
  text-rendering: geometricPrecision !important;
}

.tile.found:active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.09)),
    linear-gradient(135deg, rgba(53, 105, 94, 0.11), rgba(255, 253, 247, 0.22) 58%),
    var(--v222-cell-bg-found) !important;
}

.tile.just-hit {
  animation: v222TileHit 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

@keyframes v222TileHit {
  0% {
    transform: scale(0.976);
  }

  70% {
    transform: scale(1.012);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 430px) {
  .tile {
    border-radius: 11px !important;
  }

  .tile.found::after {
    box-shadow: 0 0 0 3px rgba(255, 253, 247, 0.72),
        0 1px 4px rgba(31, 39, 32, 0.12) !important;
  }
}

.tile:not(.found)::before,
.tile:not(.found)::after {
  visibility: hidden !important;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.tile:not(.found) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.055)),
    rgba(255, 253, 247, 0.38) !important;
  border-color: rgba(37, 69, 60, 0.105) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54),
    0 2px 7px rgba(31, 39, 32, 0.035) !important;
}

.tile.found::before {
  visibility: visible !important;
  border: 0 !important;
  box-shadow: none !important;
}

.tile.found::after {
  visibility: visible !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
}

.tile.has-detail:not(.found)::after {
  visibility: visible !important;
}

.tile:not(.found) .tile-label {
  color: rgba(21, 61, 53, 0.82) !important;
}

:root {
  --v227-ink: #163c34;
  --v227-ink-soft: rgba(22, 60, 52, 0.82);
  --v227-muted: #667a71;
  --v227-paper: rgba(255, 253, 247, 0.82);
  --v227-paper-soft: rgba(255, 253, 247, 0.64);
  --v227-line: rgba(31, 52, 45, 0.105);
  --v227-green: #35695e;
  --v227-green-dark: #17463c;
  --v227-green-soft: rgba(53, 105, 94, 0.105);
  --v227-orange: #e85f22;
  --v227-orange-deep: #cf4c16;
  --v227-orange-soft: rgba(232, 95, 34, 0.105);
  --v227-shadow: 0 13px 30px rgba(31, 39, 32, 0.07);
}

html,
body {
  color: var(--v227-ink) !important;
}

.brand-mark,
.brand-logo-full.brand-mark,
.game-logo {
  filter: saturate(1.12)
    contrast(1.08)
    drop-shadow(0 5px 10px rgba(28, 24, 20, 0.075)) !important;
}

.home-hero,
.current-hunt-card,
.start-panel,
.selected-hunt,
.hunt-card,
.secondary-action-card,
.game-topline,
.game-progress,
.approved-route-tracker,
.complete-banner,
.tile-detail-rail,
.panel,
.sheet,
.leader-invite-card,
.menu-row {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.88), rgba(255, 250, 244, 0.72)) !important;
  border-color: rgba(31, 52, 45, 0.095) !important;
  box-shadow: var(--v227-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

.home-hero {
  background: radial-gradient(circle at 88% 16%, rgba(53, 105, 94, 0.035), transparent 24%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.9), rgba(255, 250, 244, 0.74)) !important;
}

.home-hero .eyebrow,
.eyebrow,
.section-label {
  color: rgba(117, 83, 62, 0.84) !important;
  letter-spacing: 0.15em !important;
}

.home-hero h1,
.game-trip,
#gameTrip,
#selectedName,
.hunt-title {
  color: #1d211f !important;
}

.home-hero p,
.hunt-desc,
#selectedMeta,
.current-hunt-meta,
.player-greeting {
  color: var(--v227-muted) !important;
}

button,
.action-btn,
.primary-btn {
  text-rendering: geometricPrecision;
}

.primary-btn,
button.primary,
#boardPreviewStartBtn,
#startHuntBtn,
#startCustomBtn,
#joinGameBtn,
#leadersInviteBtn,
#winInviteBtn,
#blackoutNewHuntBtn,
#completeNewHuntBtn,
.complete-banner button,
.complete-new-hunt {
  background: linear-gradient(180deg, #f26b2a, var(--v227-orange-deep)) !important;
  color: #fffaf4 !important;
  border-color: rgba(161, 55, 12, 0.22) !important;
  box-shadow: 0 10px 22px rgba(207, 76, 22, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
}

.primary-btn:active,
button.primary:active,
#boardPreviewStartBtn:active,
#leadersInviteBtn:active,
.complete-banner button:active {
  transform: translateY(1px) scale(0.99) !important;
}

.filter-chip.active {
  color: #fffaf4 !important;
  background: linear-gradient(180deg, #3f7569, #2f665b) !important;
  border-color: rgba(37, 87, 77, 0.28) !important;
  box-shadow: 0 5px 12px rgba(31, 72, 63, 0.12) !important;
}

.game-topline {
  border-radius: 17px !important;
}

.game-trip,
#gameTrip {
  color: var(--v227-green-dark) !important;
  letter-spacing: -0.035em !important;
}

.share-code,
#shareCode,
#menuShareCode,
#compactShareCode {
  color: var(--v227-green-dark) !important;
}

.game-progress {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.86), rgba(255, 250, 244, 0.72)) !important;
}

#goalText {
  color: var(--v227-green-dark) !important;
}

#goalCount {
  color: var(--v227-orange-deep) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}

#goalFill {
  background: linear-gradient(90deg, #b7cabc, var(--v227-green)) !important;
  opacity: 0.86 !important;
}

.stat,
.score-pill,
#scoreBox,
#comboBox,
#bonusBox {
  background: rgba(255, 253, 247, 0.74) !important;
  border-color: rgba(31, 52, 45, 0.095) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.64) !important;
}

#scoreStat,
#comboStat,
#bonusStat {
  color: var(--v227-green-dark) !important;
}

#routeProgressText,
#nextHint {
  color: rgba(22, 60, 52, 0.62) !important;
  letter-spacing: 0.16em !important;
}

#routeReadyBadge,
.route-ready-badge {
  background: var(--v227-green) !important;
  color: #fffdf7 !important;
  border-color: rgba(20, 74, 64, 0.22) !important;
}

.complete-banner {
  align-items: center !important;
  gap: 12px !important;
  background: radial-gradient(circle at 96% 20%, rgba(232, 95, 34, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.9), rgba(255, 248, 240, 0.76)) !important;
  border-color: rgba(232, 95, 34, 0.14) !important;
}

.complete-banner .eyebrow,
.complete-banner-kicker,
.complete-kicker {
  color: var(--v227-orange-deep) !important;
  letter-spacing: 0.15em !important;
}

.complete-banner strong,
#completeBannerText {
  color: #2a211c !important;
}

.complete-banner button,
#completeNewHuntBtn {
  min-height: 42px !important;
  border-radius: 13px !important;
}

.board-frame {
  background: radial-gradient(circle at 100% 0%, rgba(53, 105, 94, 0.028), transparent 30%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.64), rgba(249, 244, 236, 0.72)) !important;
  border: 1px solid rgba(31, 52, 45, 0.1) !important;
  box-shadow: 0 15px 34px rgba(31, 39, 32, 0.078),
    inset 0 1px 0 rgba(255, 255, 255, 0.66) !important;
}

.tile:not(.found),
.tile {
  color: var(--v227-ink) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.065)),
    rgba(255, 253, 247, 0.42) !important;
  border: 1px solid rgba(31, 52, 45, 0.11) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 2px 7px rgba(31, 39, 32, 0.034) !important;
  backdrop-filter: blur(5px) saturate(1.035) !important;
}

.tile:not(.found)::before,
.tile:not(.found)::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
}

.tile.found {
  color: var(--v227-ink) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.085)),
    linear-gradient(135deg, rgba(53, 105, 94, 0.115), rgba(255, 253, 247, 0.22) 62%),
    rgba(250, 253, 248, 0.5) !important;
  border-color: rgba(53, 105, 94, 0.34) !important;
  box-shadow: inset 0 0 0 1px rgba(53, 105, 94, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    0 3px 9px rgba(31, 39, 32, 0.042) !important;
}

.tile.found::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.28), transparent 38%) !important;
  opacity: 0.44 !important;
}

.tile.found::after {
  content: "✓" !important;
  display: grid !important;
  place-items: center !important;
  position: absolute !important;
  top: 7px !important;
  right: 7px !important;
  width: 15px !important;
  height: 15px !important;
  border-radius: 999px !important;
  pointer-events: none !important;
  color: #fffdf7 !important;
  background: linear-gradient(180deg, #497f73, var(--v227-green)) !important;
  border: 1px solid rgba(255, 253, 247, 0.76) !important;
  box-shadow: 0 1px 4px rgba(31, 39, 32, 0.16),
    0 0 0 2px rgba(255, 253, 247, 0.56) !important;
  font-size: 9px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  opacity: 1 !important;
}

.tile .tile-label,
.tile-label {
  color: rgba(18, 48, 42, 0.88) !important;
  font-weight: 820 !important;
  letter-spacing: -0.018em !important;
}

.tile.found .tile-label {
  color: #143c34 !important;
  font-weight: 850 !important;
}

.tile.has-detail:not(.found)::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 6px !important;
  bottom: 6px !important;
  top: auto !important;
  right: auto !important;
  width: 4px !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: rgba(53, 105, 94, 0.22) !important;
  opacity: 0.5 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.tile:active {
  transform: scale(0.982) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0.11)),
    rgba(255,253,247,0.56) !important;
}

.leader-row {
  background: linear-gradient(180deg, rgba(255,253,247,0.78), rgba(255,250,244,0.58)) !important;
  border-color: rgba(31, 52, 45, 0.095) !important;
}

.leader-row.you {
  border-color: rgba(232, 95, 34, 0.24) !important;
  background: linear-gradient(180deg, rgba(255,253,247,0.84), rgba(255,246,237,0.66)) !important;
}

.leader-row .score {
  color: var(--v227-green-dark) !important;
}

.avatar {
  background: linear-gradient(180deg, #c5a078, #aa8057) !important;
  color: #fffdf7 !important;
}

@media (max-width: 430px) {
  .tile.found::after {
    width: 14px !important;
    height: 14px !important;
    top: 7px !important;
    right: 7px !important;
    font-size: 8.5px !important;
  }

  #goalCount {
    letter-spacing: -0.045em !important;
  }

  .complete-banner {
    border-radius: 16px !important;
  }
}

.sticker-vote-menu-link {
  text-decoration: none !important;
  cursor: pointer !important;
}

.sticker-vote-menu-link .menu-main {
  min-width: 0 !important;
}

.sticker-vote-menu-link .sticker-vote-icon {
  flex: 0 0 auto !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 24px !important;
  height: 24px !important;
  color: rgba(78, 88, 101, 0.92) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
}

.sticker-vote-menu-link .menu-main > span:last-child {
  min-width: 0 !important;
}

.sticker-vote-menu-link strong {
  flex: 0 0 auto !important;
}

.my-hunts-sync-btn {
  min-width: 64px;
  white-space: nowrap;
}

.my-hunts-sync-btn:disabled,
.support-id-copy:disabled {
  opacity: 0.62;
  cursor: progress;
}

.support-id-card {
  align-items: center;
  gap: 10px;
}

.support-id-card strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-align: right;
}

.support-id-copy {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(139, 81, 33, 0.18);
  border-radius: 10px;
  background: rgba(255, 253, 247, 0.88);
  color: var(--orangeDark);
  font-size: 11px;
  font-weight: 950;
}

.my-hunts-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.my-hunts-recovery-card {
  width: min(100%, 420px);
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(34, 47, 62, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  align-items: center;
  text-align: left;
}

.my-hunts-recovery-card span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(34, 47, 62, 0.62);
}

.my-hunts-recovery-card strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
  word-break: break-all;
  color: rgba(34, 47, 62, 0.92);
}

.my-hunts-recovery-card .support-id-copy {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
}

.my-hunts-recovery-card small {
  grid-column: 1 / -1;
  color: rgba(34, 47, 62, 0.66);
  line-height: 1.35;
}

.issue-report-support-card {
  margin: 12px 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(34, 47, 62, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  align-items: center;
}

.issue-report-support-card span {
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(34, 47, 62, 0.62);
}

.issue-report-support-card strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  word-break: break-all;
  color: rgba(34, 47, 62, 0.94);
}

.issue-report-support-card .support-id-copy {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  white-space: nowrap;
}

.issue-report-actions {
  gap: 8px;
  flex-wrap: wrap;
}

.issue-report-actions .btn {
  flex: 1 1 132px;
}

html,
body,
.app,
.screen,
.view {
  scroll-behavior: auto !important;
}

html,
body {
  min-height: 100%;
  scroll-behavior: auto !important;
  background: radial-gradient(circle at 18% 8%, rgba(255, 203, 146, 0.34), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(232, 95, 34, 0.16), transparent 28%),
    radial-gradient(circle at 12% 82%, rgba(53, 105, 94, 0.13), transparent 36%),
    linear-gradient(180deg, #fff8ee 0%, #f4eadc 48%, #e9ddce 100%) !important;
  background-attachment: scroll !important;
}

body {
  overflow-x: hidden !important;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(118deg, transparent 0 23%, rgba(185, 126, 77, 0.07) 23.3% 23.8%, transparent 24.2% 100%),
    linear-gradient(28deg, transparent 0 58%, rgba(53, 105, 94, 0.065) 58.3% 58.8%, transparent 59.2% 100%),
    radial-gradient(ellipse at 72% 72%, rgba(239, 95, 24, 0.08), transparent 36%),
    repeating-linear-gradient(0deg, rgba(88, 68, 48, 0.028) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(88, 68, 48, 0.018) 0 1px, transparent 1px 22px);
}

.app {
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: transparent !important;
}

.screen,
.view {
  scroll-margin-top: 0;
}

.screen.active,
.view.active {
  position: relative;
  animation: scavengersScreenEaseIn 100ms ease-out both;
  will-change: opacity;
  overflow-anchor: none;
}

@keyframes scavengersScreenEaseIn {
  from {
    opacity: 0.975;
  }

  to {
    opacity: 1;
  }
}

.bottom-nav {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: calc(10px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 90;
  width: min(404px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  padding: 6px;
  border: 1px solid rgba(139, 81, 33, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(255, 247, 239, 0.97));
  box-shadow: 0 16px 34px rgba(63, 44, 27, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.home-bottom-nav,
.game-bottom-nav {
  display: grid;
}

body.game-screen-active .home-bottom-nav {
  display: none !important;
}

body:not(.game-screen-active) #gameScreen .game-bottom-nav {
  display: none !important;
}

body.game-screen-active #gameScreen .game-bottom-nav {
  display: grid;
}

#homeScreen,
#homeMyHuntsScreen,
#customScreen,
#joinScreen,
#gameScreen,
#huntView,
#leaderboardView,
#optionsView {
  padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
}

.nav-btn {
  min-height: 44px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  gap: 3px;
  color: #5e5a52;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  transition: transform 120ms cubic-bezier(0.2, 0.7, 0.25, 1),
    opacity 120ms cubic-bezier(0.2, 0.7, 0.25, 1),
    border-color 120ms ease,
    background-color 120ms ease,
    box-shadow 120ms ease;
}

.nav-btn span:last-child {
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.nav-btn.active {
  background: linear-gradient(180deg, #fff7ef, #ffe8d8);
  border: 1px solid rgba(239, 95, 24, 0.22);
  color: var(--orangeDark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.nav-btn:active,
.hunt-card:active,
.my-hunt-row:active,
.icon-btn:active,
.menu-row:active,
.btn:active,
.secondary-mini-btn:active {
  transform: translateY(1px) scale(0.995);
}

.nav-svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-svg-share circle,
.nav-svg-share path {
  fill: none;
  stroke: currentColor;
}

.home-hero,
.landing-panel,
.start-panel,
.current-hunt-card,
.my-hunt-card,
.board-preview-panel,
.sheet-panel,
.issue-report-card,
.glass-panel {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(255, 247, 239, 0.94)) !important;
  border-color: rgba(139, 81, 33, 0.13) !important;
  box-shadow: 0 12px 28px rgba(63, 44, 27, 0.10) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.tile,
.board-frame {
  background: rgba(255, 253, 247, 0.95) !important;
  box-shadow: 0 8px 18px rgba(63, 44, 27, 0.075) !important;
}

.hunt-card,
.my-hunt-row,
.icon-btn,
.menu-row,
.btn,
.secondary-mini-btn {
  transition: transform 120ms cubic-bezier(0.2, 0.7, 0.25, 1),
    opacity 120ms cubic-bezier(0.2, 0.7, 0.25, 1),
    border-color 120ms ease,
    background-color 120ms ease,
    box-shadow 120ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .screen.active,
    .view.active {
    animation: none;
  }

  .bottom-nav button,
    .hunt-card,
    .my-hunt-row,
    .icon-btn,
    .menu-row,
    .btn,
    .secondary-mini-btn {
    transition: none;
  }
}

:root {
  --hunt-progress-ratio: 0;
  --hunt-progress-percent: 0%;
  --hunt-progress-dash: 100;
  --route-car-y: 0px;
}

.approved-route-tracker {
  position: relative !important;
  display: grid !important;
  gap: 7px !important;
  padding: 10px 14px 9px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: radial-gradient(circle at 14% 12%, rgba(255, 211, 157, 0.36), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(53, 105, 94, 0.10), transparent 30%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(255, 246, 235, 0.88)) !important;
  border: 1px solid rgba(31, 52, 45, 0.12) !important;
  box-shadow: 0 12px 26px rgba(63, 44, 27, 0.08) !important;
}

.approved-route-tracker::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background: repeating-linear-gradient(0deg, rgba(53, 105, 94, 0.045) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(232, 95, 34, 0.035) 0 1px, transparent 1px 24px);
}

.approved-route-scene {
  position: relative !important;
  z-index: 1 !important;
  height: 58px !important;
  overflow: visible !important;
  isolation: isolate !important;
}

.approved-route-road {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.route-road-shadow {
  fill: none;
  stroke: rgba(55, 42, 31, 0.10);
  stroke-width: 11;
  stroke-linecap: round;
  filter: url(#routeRoadShadow);
}

.route-road-base {
  fill: none;
  stroke: url(#routeRoadBase);
  stroke-width: 8;
  stroke-linecap: round;
  opacity: 0.92;
}

.route-road-trail {
  fill: none;
  stroke: url(#routeRoadDone);
  stroke-width: 6.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: var(--hunt-progress-dash);
  opacity: 0.9;
  transition: stroke-dashoffset 260ms cubic-bezier(0.2, 0.76, 0.24, 1);
}

.route-road-dashes {
  fill: none;
  stroke: rgba(255, 253, 247, 0.72);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 2.6 6.2;
  opacity: 0.92;
}

.route-markers circle {
  fill: #fffdf7;
  stroke: rgba(53, 105, 94, 0.38);
  stroke-width: 3;
  filter: drop-shadow(0 2px 4px rgba(31, 39, 32, 0.14));
}

.route-finish path:first-child {
  fill: none;
  stroke: rgba(53, 105, 94, 0.52);
  stroke-width: 3;
  stroke-linecap: round;
}

.route-finish path:last-child {
  fill: #df5a20;
  stroke: rgba(112, 62, 29, 0.26);
  stroke-width: 1.5;
}

.approved-route-car {
  display: block !important;
  visibility: visible !important;
  position: absolute !important;
  left: clamp(30px, var(--hunt-progress-percent), calc(100% - 30px)) !important;
  top: calc(25px + var(--route-car-y)) !important;
  width: 56px !important;
  height: auto !important;
  transform: translate(-50%, -50%) !important;
  opacity: 1 !important;
  transition: left 280ms cubic-bezier(0.2, 0.76, 0.24, 1),
    top 280ms cubic-bezier(0.2, 0.76, 0.24, 1) !important;
  z-index: 6 !important;
  filter: drop-shadow(0 6px 7px rgba(63, 44, 27, 0.16));
}

.tracker-car-asset {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  overflow: visible;
}

.route-dust {
  position: absolute;
  left: clamp(22px, calc(var(--hunt-progress-percent) - 28px), calc(100% - 62px));
  top: calc(31px + var(--route-car-y));
  width: 28px;
  height: 12px;
  border-radius: 999px;
  opacity: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(circle, rgba(232, 95, 34, 0.26) 0 2px, transparent 2.8px) 0 50% / 9px 7px repeat-x;
}

.route-dust.dust-b {
  top: calc(36px + var(--route-car-y));
  width: 20px;
  background: radial-gradient(circle, rgba(53, 105, 94, 0.18) 0 2px, transparent 2.8px) 0 50% / 8px 7px repeat-x;
}

.approved-route-tracker.route-kick .approved-route-car {
  animation: trackerAssetHop 460ms cubic-bezier(0.18, 0.86, 0.24, 1);
}

.approved-route-tracker.route-kick .route-road-trail {
  animation: trackerAssetTrailPulse 460ms ease-out;
}

.approved-route-tracker.route-kick .route-dust {
  animation: trackerAssetDust 480ms ease-out;
}

.approved-route-tracker.route-kick .route-dust.dust-b {
  animation-delay: 70ms;
}

.approved-route-tracker.route-kick .route-finish path:last-child {
  animation: trackerFlagWiggle 480ms ease-out;
}

.approved-route-tracker.route-complete {
  border-color: rgba(232, 95, 34, 0.24) !important;
}

.approved-route-copy {
  position: relative;
  z-index: 2;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 0 2px !important;
}

.approved-route-copy span {
  color: rgba(22, 60, 52, 0.68) !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

#routeReadyBadge {
  min-height: 27px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(53, 105, 94, 0.96) !important;
  color: #fffdf7 !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em !important;
}

@keyframes trackerAssetHop {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  30% {
    transform: translate(-50%, calc(-50% - 5px)) rotate(-2deg);
  }

  62% {
    transform: translate(-50%, calc(-50% + 1px)) rotate(1.2deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes trackerAssetTrailPulse {
  0% {
    filter: saturate(1);
    opacity: 0.88;
  }

  48% {
    filter: saturate(1.35);
    opacity: 1;
  }

  100% {
    filter: saturate(1);
    opacity: 0.9;
  }
}

@keyframes trackerAssetDust {
  0% {
    opacity: 0;
    transform: translateX(8px) scale(0.76);
  }

  25% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(-18px) scale(1.28);
  }
}

@keyframes trackerFlagWiggle {
  0%, 100% {
    transform: translateX(0);
  }

  35% {
    transform: translateX(2px);
  }

  65% {
    transform: translateX(-1px);
  }
}

@keyframes trackerWheelBlink {
  0% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.25);
  }

  100% {
    filter: brightness(1);
  }
}

@media (max-width: 430px) {
  .approved-route-tracker {
    padding: 10px 12px 10px !important;
  }

  .approved-route-scene {
    height: 56px !important;
  }

  .approved-route-car {
    width: 50px !important;
    height: auto !important;
  }

  .approved-route-copy span {
    font-size: 9.5px !important;
    letter-spacing: 0.12em !important;
  }

  #routeReadyBadge {
    min-height: 26px !important;
    padding: 0 12px !important;
    font-size: 10.5px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .approved-route-car,
    .route-road-trail,
    .approved-route-tracker.route-kick .approved-route-car,
    .approved-route-tracker.route-kick .route-road-trail,
    .approved-route-tracker.route-kick .route-dust,
    .approved-route-tracker.route-kick .route-finish path:last-child {
    transition: none !important;
    animation: none !important;
  }
}
