@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/figtree-latin-500-normal.woff2) format("woff2");
}
@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/figtree-latin-600-normal.woff2) format("woff2");
}
@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/figtree-latin-700-normal.woff2) format("woff2");
}
@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/figtree-latin-800-normal.woff2) format("woff2");
}
@font-face {
  font-family: Zilla Slab;
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(/fonts/zilla-slab-latin-700-normal.woff2) format("woff2");
}
@font-face {
  font-family: Bricolage Grotesque;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2");
}
@font-face {
  font-family: Bricolage Grotesque;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2");
}
:root {
  --ink: #1d3527;
  --ink-soft: #4d6455;
  --tag: #fbfcf6;
  --tag-edge: #e3e8d9;
  --sprout: #4f9d35;
  --sprout-deep: #3a7d27;
  --coin: #f3b62e;
  --coin-deep: #b9800f;
  --sky-top: #9fd5ee;
  --sky-low: #e7f3dd;
  --warn: #c2553a;
  --glass: #fbfcf6e6;
  --shadow: 0 6px 18px #1c34222e, 0 1px 2px #1c34222e;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  overscroll-behavior: none;
  height: 100%;
  margin: 0;
  overflow: hidden;
}
body {
  font-family: var(--body);
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid, #c8e6ea) 45%, var(--sky-low) 100%);
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}
canvas#world {
  touch-action: none;
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: 0 0;
  border: 0;
  padding: 0;
}
button:focus-visible {
  outline-offset: 2px;
  outline: 3px solid #ffd45c;
}
input:focus-visible {
  outline-offset: 2px;
  outline: 3px solid #ffd45c;
}
.hidden {
  display: none !important;
}
#title {
  z-index: 50;
  background: radial-gradient(at 50% 42%, #e7f3dd40, #9fd5ee8c 70%);
  place-items: center;
  transition: opacity 0.6s;
  display: grid;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
#title.out {
  opacity: 0;
  pointer-events: none;
}
.title-inner {
  text-align: center;
  transform: translateY(-4vh);
}
.wordmark {
  letter-spacing: 0.04em;
  color: #fff6e2;
  text-shadow: 0 2px #00000040;
  background: linear-gradient(#3b6b3f, #2c5531);
  border-radius: 0.14em;
  margin: 0;
  padding: 0.16em 0.42em 0.12em;
  font-family:
    Zilla Slab,
    Georgia,
    serif;
  font-size: clamp(50px, 13.5vw, 120px);
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  box-shadow:
    inset 0 0 0 0.045em #2c5531,
    inset 0 0 0 0.07em #e9dcb8,
    0 0.08em #1f3f23,
    0 0.25em 0.4em #14281959;
}
.tagline {
  color: #24502c;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin: 18px 0 34px;
  font-size: 13px;
  font-weight: 800;
}
.is-night .tagline {
  color: #e9efe6;
}
.play {
  font-family: var(--display);
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(180deg, #67b846, var(--sprout));
  min-width: 220px;
  box-shadow:
    0 5px 0 var(--sprout-deep),
    0 14px 28px #1e461e4d;
  border-radius: 999px;
  padding: 18px 44px;
  font-size: 26px;
  font-weight: 800;
  transition:
    transform 0.12s,
    box-shadow 0.12s;
}
.play:active {
  box-shadow:
    0 1px 0 var(--sprout-deep),
    0 6px 12px #1e461e4d;
  transform: translateY(4px);
}
.play[disabled] {
  filter: saturate(0.4) brightness(1.05);
}
.title-foot {
  bottom: calc(10px + var(--safe-b));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  text-align: center;
  color: #2f5040;
  background: #fafcf4c7;
  border-radius: 14px;
  justify-items: center;
  gap: 3px;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 8px 14px;
  font-size: 12px;
  line-height: 1.35;
  display: grid;
  position: fixed;
  left: 50%;
  transform: translate(-50%);
}
.title-foot a {
  color: inherit;
  text-underline-offset: 2px;
  text-decoration: underline;
}
.title-foot .studio {
  opacity: 0.9;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}
.title-foot span {
  opacity: 0.8;
}
#hud {
  pointer-events: none;
  z-index: 10;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
#hud > * {
  pointer-events: auto;
}
.topbar {
  top: calc(10px + var(--safe-t));
  align-items: center;
  gap: 8px;
  display: flex;
  position: absolute;
  left: 10px;
  right: 10px;
}
.chip {
  background: var(--glass);
  height: 44px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 6px;
  font-size: 19px;
  font-weight: 700;
  display: inline-flex;
}
.coin-ico {
  background: radial-gradient(circle at 35% 30%, #ffe28a, var(--coin) 55%, var(--coin-deep));
  color: #8a5b06;
  border-radius: 50%;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 15px;
  font-weight: 800;
  display: grid;
  box-shadow: inset 0 -2px #00000026;
}
.coin-ico:after {
  content: "$";
  color: #8a5b06;
  border: 2px solid #8a5b0666;
  border-radius: 50%;
  place-items: center;
  width: 18px;
  height: 18px;
  font:
    900 13px/1 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Noto Sans,
    Ubuntu,
    Cantarell,
    Helvetica Neue,
    sans-serif;
  display: grid;
}
.chip.coins.bump {
  animation: 0.35s bump;
}
@keyframes bump {
  40% {
    transform: scale(1.08);
  }
}
.level {
  gap: 10px;
  padding: 0 14px 0 4px;
  position: relative;
  overflow: hidden;
}
.level .badge {
  color: #fff;
  background: linear-gradient(180deg, #6cbd4a, var(--sprout-deep));
  border-radius: 50%;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 17px;
  display: grid;
}
.level .xpbar {
  background: #dfe7d2;
  border-radius: 4px;
  width: 74px;
  height: 8px;
  overflow: hidden;
}
.level .xpbar i {
  background: linear-gradient(90deg, #8fd05a, var(--sprout));
  border-radius: 4px;
  width: 0;
  height: 100%;
  transition: width 0.5s;
  display: block;
}
.spacer {
  flex: 1;
}
.icon-btn {
  background: var(--glass);
  width: 44px;
  height: 44px;
  box-shadow: var(--shadow);
  border-radius: 50%;
  place-items: center;
  font-size: 20px;
  display: grid;
}
.icon-btn svg {
  width: 22px;
  height: 22px;
}
.gift-chip {
  padding: 0 14px 0 10px;
  font-size: 17px;
}
.bottombar {
  left: 0;
  right: 0;
  bottom: calc(14px + var(--safe-b));
  justify-content: center;
  align-items: end;
  gap: 14px;
  padding: 0 12px;
  display: flex;
  position: absolute;
}
.nav-btn {
  width: 72px;
  color: var(--ink);
  justify-items: center;
  gap: 3px;
  font-size: 12.5px;
  font-weight: 700;
  display: grid;
}
.nav-btn .disc {
  background: var(--glass);
  width: 52px;
  height: 52px;
  box-shadow: var(--shadow);
  border-radius: 50%;
  place-items: center;
  display: grid;
}
.nav-btn .disc svg {
  width: 26px;
  height: 26px;
}
.nav-btn span {
  background: var(--glass);
  border-radius: 8px;
  padding: 1px 8px;
}
.nursery-btn {
  height: 64px;
  font-family: var(--display);
  color: #fff;
  background: linear-gradient(180deg, #67b846, var(--sprout));
  box-shadow:
    0 5px 0 var(--sprout-deep),
    0 12px 24px #1e461e47;
  border-radius: 22px;
  align-items: center;
  gap: 10px;
  padding: 0 28px 0 18px;
  font-size: 22px;
  font-weight: 800;
  display: flex;
}
.nursery-btn svg {
  width: 30px;
  height: 30px;
}
.zoom {
  gap: 8px;
  display: grid;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}
.zoom .icon-btn {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
}
.placebar {
  left: 50%;
  bottom: calc(14px + var(--safe-b));
  background: var(--glass);
  box-shadow: var(--shadow);
  border-radius: 22px;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 20px);
  padding: 8px 8px 8px 10px;
  display: flex;
  position: absolute;
  transform: translate(-50%);
}
.placebar img {
  object-fit: contain;
  width: 46px;
  height: 54px;
}
.placebar .txt {
  min-width: 0;
  line-height: 1.2;
  display: grid;
}
.placebar .txt b {
  font-family: var(--display);
  white-space: nowrap;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  font-size: 17px;
  display: flex;
}
.placebar .txt b .nm {
  text-overflow: ellipsis;
  overflow: hidden;
}
.placebar .txt b .pr {
  font-family: var(--body);
  color: var(--coin-deep);
  flex: none;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
}
.placebar .txt small {
  color: var(--ink-soft);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13.5px;
  overflow: hidden;
}
.placebar .txt {
  flex: 1;
}
.placebar {
  width: min(380px, 100vw - 20px);
}
.placebar .cancel-btn {
  flex: none;
  height: 44px;
  padding: 0 16px;
}
.done-btn {
  color: #fff;
  background: var(--sprout);
  height: 48px;
  box-shadow: 0 3px 0 var(--sprout-deep);
  border-radius: 16px;
  padding: 0 22px;
  font-size: 17px;
  font-weight: 800;
}
.visitbar {
  top: calc(10px + var(--safe-t));
  background: var(--glass);
  box-shadow: var(--shadow);
  font-family: var(--display);
  white-space: nowrap;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: 700;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
}
#toasts {
  top: calc(66px + var(--safe-t));
  z-index: 70;
  pointer-events: none;
  justify-items: center;
  gap: 6px;
  display: grid;
  position: fixed;
  left: 0;
  right: 0;
}
.toast {
  color: #fff;
  box-shadow: var(--shadow);
  animation:
    0.25s tin,
    0.4s forwards tout;
  animation-delay: 0s, var(--life, 2.2s);
  background: #1d3527e0;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 700;
}
.toast.level {
  background: linear-gradient(180deg, #67b846, var(--sprout-deep));
  font-family: var(--display);
  font-size: 19px;
}
.toast.soft {
  color: var(--ink);
  background: #fbfcf6f2;
}
@keyframes tin {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
}
@keyframes tout {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.bubble {
  z-index: 25;
  background: var(--tag);
  width: min(250px, 100vw - 24px);
  box-shadow: var(--shadow);
  text-align: center;
  border-radius: 16px;
  padding: 12px 14px;
  position: fixed;
  transform: translate(-50%, calc(-100% - 14px));
}
.bubble:after {
  content: "";
  background: var(--tag);
  border-radius: 3px;
  width: 16px;
  height: 16px;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
}
.bubble h4 {
  font-family: var(--display);
  margin: 0;
  font-size: 18px;
}
.bubble .stars {
  color: var(--coin);
  letter-spacing: 1px;
  font-size: 13px;
}
.bubble .wx:empty {
  display: none;
}
.bubble .wx {
  margin: -6px 0 10px;
}
.wx-tag {
  white-space: nowrap;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  display: inline-block;
}
.wx-tag.rain {
  color: #2f6f9e;
  background: #e3f1fb;
}
.wx-tag.snow {
  color: #5a6b82;
  background: #eef2f7;
}
.bubble .time {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  margin: 4px 0 10px;
  font-size: 15px;
}
.bubble .row {
  justify-content: center;
  gap: 8px;
  display: flex;
}
.pill-btn {
  z-index: 1;
  background: #eef2e6;
  border-radius: 12px;
  height: 40px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  position: relative;
}
.pill-btn.primary {
  background: var(--sprout);
  color: #fff;
}
.pill-btn.danger {
  color: var(--warn);
  background: #fbe4dc;
}
.fly-coin {
  z-index: 40;
  pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #ffe28a, var(--coin) 55%, var(--coin-deep));
  border-radius: 50%;
  width: 22px;
  height: 22px;
  transition:
    transform 0.65s cubic-bezier(0.5, -0.3, 0.7, 1),
    opacity 0.65s;
  position: fixed;
  box-shadow: 0 2px 4px #0003;
}
.float-num {
  z-index: 40;
  pointer-events: none;
  font-family: var(--display);
  color: #fff;
  text-shadow:
    0 2px 0 var(--coin-deep),
    0 4px 10px #00000040;
  font-size: 22px;
  font-weight: 800;
  animation: 1s forwards floatup;
  position: fixed;
  transform: translate(-50%, -50%);
}
@keyframes floatup {
  to {
    opacity: 0;
    transform: translate(-50%, -160%);
  }
}
#sheet-wrap {
  z-index: 60;
  background: #14281c40;
  place-items: end center;
  animation: 0.2s fade;
  display: grid;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
@keyframes fade {
  0% {
    opacity: 0;
  }
}
.sheet {
  width: min(560px, 100vw);
  max-height: min(78vh, 720px);
  padding-bottom: var(--safe-b);
  background: #f4f7ec;
  border-radius: 26px 26px 0 0;
  flex-direction: column;
  animation: 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.1) rise;
  display: flex;
  box-shadow: 0 -10px 30px #14321e40;
}
@media (min-width: 760px) {
  #sheet-wrap {
    align-items: center;
  }
  .sheet {
    border-radius: 26px;
  }
}
@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
}
#sheet-wrap.swap,
#sheet-wrap.swap .sheet {
  animation: none;
}
#sheet-wrap.closing {
  pointer-events: none;
  animation: 0.19s forwards fadeout;
}
#sheet-wrap.closing .sheet {
  animation: 0.19s ease-in forwards sink;
}
@keyframes fadeout {
  to {
    opacity: 0;
  }
}
@keyframes sink {
  to {
    opacity: 0.4;
    transform: translateY(46px);
  }
}
.pill-btn,
.done-btn,
.tab,
.close,
.chip,
.coll-item,
.setting,
.icon-btn,
.nav-btn .disc,
.nursery-btn {
  transition:
    transform 0.12s,
    filter 0.12s;
}
.pill-btn:active,
.done-btn:active,
.tab:active,
.close:active,
button.chip:active,
.coll-item:active,
button.setting:active {
  filter: brightness(0.96);
  transform: scale(0.95);
}
.nursery-btn:active,
.nav-btn:active .disc,
.icon-btn:active {
  transform: translateY(2px) scale(0.96);
}
.sheet header {
  align-items: center;
  gap: 10px;
  padding: 18px 18px 8px;
  display: flex;
}
.sheet header h2 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  flex: 1;
  margin: 0;
  font-size: 26px;
}
.sheet header .count {
  font-family: var(--display);
  color: var(--ink-soft);
  font-weight: 700;
}
.close {
  background: #e4ead8;
  border-radius: 50%;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 22px;
  display: grid;
}
.tabs {
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: none;
  gap: 6px;
  min-height: 52px;
  padding: 0 18px 10px;
  display: flex;
  overflow: auto hidden;
}
.tabs .tab {
  flex: none;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  height: 42px;
  color: var(--ink-soft);
  white-space: nowrap;
  background: #e4ead8;
  border-radius: 12px;
  flex: auto;
  padding: 0 10px;
  font-weight: 700;
}
@media (max-width: 420px) {
  .tabs {
    gap: 5px;
    padding: 0 12px 10px;
  }
  .tab {
    padding: 0 8px;
    font-size: 14.5px;
  }
}
@media (max-width: 350px) {
  .tab {
    padding: 0 5px;
    font-size: 13.5px;
  }
}
.tab.on {
  background: var(--ink);
  color: #fff;
}
.sheet .body {
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 4px 14px 18px;
  overflow-y: auto;
}
.sheet p.note {
  color: var(--ink-soft);
  margin: 2px 6px 12px;
  font-size: 15px;
  line-height: 1.45;
}
.tags {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  display: grid;
}
.tag {
  text-align: center;
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 50% 100%, 0 calc(100% - 22px));
  border-radius: 14px 14px 0 0;
  justify-items: center;
  padding: 12px 10px 24px;
  transition: transform 0.12s;
  display: grid;
  position: relative;
}
.tag:before {
  content: "";
  background: #dfe5d4;
  border-radius: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  position: absolute;
  top: 9px;
  left: 50%;
  box-shadow: inset 0 1px 1px #00000026;
}
.tag:active {
  transform: scale(0.97);
}
.tag img {
  object-fit: contain;
  width: 104px;
  height: 124px;
  margin-top: 6px;
}
.tag .name {
  font-family: var(--display);
  margin-top: 2px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
}
.tag .meta {
  font-variant-numeric: tabular-nums;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
}
.tag .meta .p {
  color: var(--coin-deep);
}
.tag .meta .t {
  color: var(--ink-soft);
}
.tag .meta .y {
  color: var(--sprout-deep);
}
.tag.cant .meta .p {
  color: var(--warn);
}
.tag.locked {
  background: #eef1e7;
}
.tag.locked img {
  filter: grayscale(0.55) brightness(0.92) opacity(0.7);
}
.tag.locked .name {
  color: var(--ink-soft);
}
.tag .lock {
  color: var(--ink-soft);
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
}
.tag .stars {
  color: var(--coin);
  letter-spacing: 1px;
  font-size: 12px;
  position: absolute;
  top: 6px;
  right: 10px;
}
.tag.bush .size {
  color: var(--ink-soft);
  background: #eef2e6;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
  position: absolute;
  top: 6px;
  left: 10px;
}
.land {
  gap: 12px;
  display: grid;
}
.land-card {
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  border-radius: 18px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  display: flex;
}
.land-card .sq {
  background: repeating-linear-gradient(45deg, #7db443 0 8px, #73a83d 8px 16px);
  border-radius: 12px;
  flex: none;
  width: 64px;
  height: 64px;
  position: relative;
}
.land-card .sq i {
  border: 2px dashed #ffffffb3;
  border-radius: 6px;
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 10px;
  right: 10px;
}
.land-card .info {
  flex: 1;
}
.land-card b {
  font-family: var(--display);
  font-size: 20px;
  display: block;
}
.land-card small {
  color: var(--ink-soft);
  font-size: 14.5px;
}
.coll-detail {
  background: var(--tag);
  border-radius: 18px;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 10px;
  display: grid;
}
.coll-detail img {
  object-fit: contain;
  width: 120px;
  height: 140px;
}
.coll-detail h3 {
  font-family: var(--display);
  margin: 0;
  font-size: 24px;
}
.coll-detail .sci {
  color: var(--ink-soft);
  margin: 2px 0 8px;
  font-style: italic;
}
.coll-detail dl {
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  margin: 0;
  font-size: 15px;
  display: grid;
}
.coll-detail dt {
  color: var(--ink-soft);
}
.coll-detail dd {
  font-variant-numeric: tabular-nums;
  margin: 0;
  font-weight: 700;
}
.coll-grid {
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
  display: grid;
}
.coll-item {
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  border-radius: 14px;
  justify-items: center;
  padding: 6px 4px 8px;
  display: grid;
}
.coll-item img {
  object-fit: contain;
  width: 64px;
  height: 76px;
}
.coll-item b {
  text-align: center;
  font-size: 13px;
  line-height: 1.15;
}
.coll-item .stars {
  color: var(--coin);
  letter-spacing: 1px;
  min-height: 14px;
  font-size: 11px;
}
.coll-item.unk {
  background: #e9ede0;
}
.coll-item.unk b {
  color: var(--ink-soft);
}
.coll-item.sel {
  outline: 3px solid var(--sprout);
}
.coll-item.gold {
  background: linear-gradient(180deg, #fff7da, var(--tag));
  border-color: #edd38a;
}
.field {
  gap: 8px;
  margin: 6px 0 14px;
  display: flex;
}
.field input {
  border: 2px solid var(--tag-edge);
  height: 48px;
  font: inherit;
  color: var(--ink);
  -webkit-user-select: text;
  user-select: text;
  background: #fff;
  border-radius: 14px;
  flex: 1;
  padding: 0 14px;
  font-size: 17px;
}
.field input:focus {
  border-color: var(--sprout);
  outline: none;
}
.list {
  gap: 8px;
  display: grid;
}
.list-row {
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  border-radius: 16px;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 14px;
  display: flex;
}
.list-row .who {
  flex: 1;
  min-width: 0;
}
.list-row .who b {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  display: block;
  overflow: hidden;
}
.list-row .who small {
  color: var(--ink-soft);
}
.avatar {
  color: #fff;
  width: 42px;
  height: 42px;
  font-family: var(--display);
  border-radius: 50%;
  flex: none;
  place-items: center;
  font-size: 19px;
  font-weight: 800;
  display: grid;
}
.code-box {
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  display: flex;
}
.code-box .code {
  font-family: var(--display);
  letter-spacing: 0.12em;
  flex: 1;
  font-size: 28px;
  font-weight: 800;
}
.code-box small {
  opacity: 0.75;
  font-size: 13px;
  display: block;
}
.code-box .pill-btn {
  color: var(--ink);
  background: #fff;
}
.section-title {
  font-family: var(--display);
  margin: 18px 6px 8px;
  font-size: 18px;
}
.setting {
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  border-radius: 16px;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding: 14px;
  display: flex;
}
.setting .lbl {
  flex: 1;
}
.setting .lbl b {
  font-size: 16px;
  display: block;
}
.setting .lbl small {
  color: var(--ink-soft);
  font-size: 14px;
}
.switch {
  background: #cfd8c2;
  border-radius: 999px;
  flex: none;
  width: 54px;
  height: 32px;
  transition: background 0.2s;
  position: relative;
}
.switch:after {
  content: "";
  background: #fff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  transition: transform 0.2s;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 0 1px 3px #00000040;
}
.switch.on {
  background: var(--sprout);
}
.switch.on:after {
  transform: translate(22px);
}
.empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 14px 10px;
  font-size: 15px;
}
.gift-row img {
  object-fit: contain;
  width: 46px;
  height: 54px;
}
@media (max-width: 420px) {
  .chip {
    height: 40px;
    font-size: 17px;
  }
  .coin-ico {
    width: 28px;
    height: 28px;
  }
  .level .xpbar {
    width: 52px;
  }
  .icon-btn {
    width: 40px;
    height: 40px;
  }
  .nursery-btn {
    height: 58px;
    padding: 0 22px 0 14px;
    font-size: 20px;
  }
  .tags {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 10ms !important;
    animation-duration: 10ms !important;
  }
}
.title-link {
  color: #1f4430;
  background: #fbfcf68c;
  border-radius: 10px;
  margin-top: 16px;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 700;
}
.title-link:hover {
  background: #fbfcf6d9;
}
.row-btns {
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 6px 6px;
  display: flex;
}
form.acct {
  gap: 10px;
  margin: 4px 6px;
  display: grid;
  position: relative;
}
form.acct input {
  border: 2px solid var(--tag-edge);
  height: 50px;
  font: inherit;
  color: var(--ink);
  -webkit-user-select: text;
  user-select: text;
  background: #fff;
  border-radius: 14px;
  padding: 0 14px;
  font-size: 17px;
}
form.acct input:focus {
  border-color: var(--sprout);
  outline: none;
}
form.acct input[type="password"],
form.acct input[autocomplete$="password"] {
  padding-right: 78px;
}
.pw-wrap {
  display: grid;
  position: relative;
}
.show-pw {
  height: 34px;
  color: var(--ink-soft);
  background: #eef2e6;
  border-radius: 9px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  position: absolute;
  top: 8px;
  right: 8px;
}
.done-btn.wide {
  width: 100%;
  height: 52px;
}
.done-btn[disabled] {
  opacity: 0.7;
}
.acct-err {
  min-height: 20px;
  color: var(--warn);
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
}
.acct-links {
  justify-content: space-between;
  margin: 2px 6px 4px;
  display: flex;
}
.link-btn {
  color: var(--sprout-deep);
  padding: 8px 2px;
  font-size: 14.5px;
  font-weight: 700;
}
.hover-tip {
  z-index: 24;
  pointer-events: none;
  box-shadow: var(--shadow);
  white-space: nowrap;
  text-align: center;
  opacity: 0;
  background: #fbfcf6f5;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 14.5px;
  line-height: 1.3;
  transition: opacity 0.15s;
  position: fixed;
  transform: translate(-50%, calc(-100% - 18px));
}
.hover-tip.on {
  opacity: 1;
}
.hover-tip b {
  font-family: var(--display);
  font-size: 16px;
  display: block;
}
.hover-tip .ready {
  color: var(--sprout-deep);
  font-weight: 700;
}
.hover-tip .t {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.save-banner {
  z-index: 31;
  top: calc(62px + var(--safe-t));
  background: var(--tag);
  width: min(520px, 100vw - 20px);
  box-shadow: var(--shadow);
  border-radius: 18px;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 14px;
  animation: 0.35s tin;
  display: flex;
  position: fixed;
  left: 50%;
  transform: translate(-50%);
}
.save-banner.out {
  opacity: 0;
  transition:
    opacity 0.25s,
    transform 0.25s;
  transform: translate(-50%, -8px);
}
.save-banner .ico {
  font-size: 26px;
}
.save-banner .txt {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}
.save-banner .txt b {
  font-family: var(--display);
  font-size: 16.5px;
  display: block;
}
.save-banner .txt small {
  color: var(--ink-soft);
  font-size: 13.5px;
}
.save-banner .done-btn {
  height: 42px;
  padding: 0 16px;
  font-size: 15.5px;
}
.save-banner .pill-btn {
  height: 42px;
  padding: 0 12px;
  font-size: 14.5px;
}
body.has-banner #toasts {
  top: calc(150px + var(--safe-t));
}
@media (max-width: 420px) {
  .save-banner {
    flex-wrap: wrap;
  }
  .save-banner .txt {
    flex-basis: calc(100% - 50px);
  }
  .save-banner .done-btn {
    flex: 1;
  }
}
.bubble .confirm-q {
  margin: 2px 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.bubble .confirm-q small {
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
}
.bubble .row .pill-btn {
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.bubble .row .pill-btn.rot-btn {
  width: 40px;
  color: var(--ink);
  flex: 0 0 40px;
  place-items: center;
  padding: 0;
  display: grid;
}
.rot-btn svg {
  width: 22px;
  height: 22px;
}
.bubble.wide {
  width: min(290px, 100vw - 24px);
}
.bubble.wide .row .pill-btn:not(.rot-btn) {
  flex: 1 0 auto;
}
.bubble.below {
  transform: translate(-50%, 14px);
}
.bubble.below:after {
  top: -8px;
  bottom: auto;
}
.bubble .row .pill-btn {
  padding: 0 8px;
  font-size: 14.5px;
}
canvas#world {
  z-index: 1;
}
.tag.animal {
  cursor: default;
}
.tag.animal .stars {
  color: var(--sprout-deep);
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 800;
}
.tag.animal .sell-animal {
  white-space: nowrap;
  min-height: 0;
  margin-top: 8px;
  padding: 7px 12px;
  font-size: 13.5px;
}
.tag.animal .sell-animal.warn {
  color: #fff;
  background: #e8833a;
  border-color: #e8833a;
}
i.coin {
  vertical-align: -0.2em;
  background: radial-gradient(circle at 35% 30%, #ffe28a, var(--coin) 55%, var(--coin-deep));
  border-radius: 50%;
  place-items: center;
  width: 1.12em;
  height: 1.12em;
  margin: 0 0.08em;
  font-style: normal;
  display: inline-grid;
  box-shadow:
    inset 0 -1px #0000002e,
    0 0 0 0.06em #8a5b0659;
}
i.coin:after {
  content: "$";
  color: #8a5b06;
  font:
    900 0.74em/1 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Noto Sans,
    Ubuntu,
    Cantarell,
    Helvetica Neue,
    sans-serif;
  transform: translateY(0.02em);
}
.fly-coin {
  place-items: center;
  display: grid;
}
.fly-coin:after {
  content: "$";
  color: #8a5b06;
  font:
    900 13px/1 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Noto Sans,
    Ubuntu,
    Cantarell,
    Helvetica Neue,
    sans-serif;
}
#nightsky {
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2s;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}
#nightsky i {
  border-radius: 50%;
  width: 1px;
  height: 1px;
  position: absolute;
  top: 0;
  left: 0;
}
#nightsky i.s1 {
  animation: 4.5s ease-in-out infinite alternate twinkle;
}
#nightsky i.s2 {
  width: 2px;
  height: 2px;
  animation: 3.2s ease-in-out 1.1s infinite alternate-reverse twinkle;
}
@keyframes twinkle {
  0% {
    opacity: 0.45;
  }
  to {
    opacity: 1;
  }
}
#nightsky .moon {
  background: radial-gradient(circle at 36% 34%, #fff 0%, #f3f1e2 45%, #d9d6c4 100%);
  border-radius: 50%;
  width: 58px;
  height: 58px;
  position: absolute;
  top: 9%;
  right: 9%;
  box-shadow:
    0 0 22px 6px #e1e8ff8c,
    0 0 80px 30px #aabeff2e;
}
#nightsky .moon:before,
#nightsky .moon:after {
  content: "";
  background: #aaa69159;
  border-radius: 50%;
  position: absolute;
}
#nightsky .moon:before {
  width: 13px;
  height: 13px;
  top: 14px;
  left: 30px;
}
#nightsky .moon:after {
  width: 8px;
  height: 8px;
  top: 33px;
  left: 17px;
}
@media (max-width: 700px) {
  #nightsky .moon {
    width: 44px;
    height: 44px;
    top: 13%;
    right: 7%;
  }
}
#nightveil {
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: multiply;
  background: radial-gradient(75% 70% at 50% 46%, #7891e68c 0%, #465aaabf 70%, #232d69e6 100%);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.tap-meter {
  z-index: 23;
  pointer-events: none;
  background: #ffffffd9;
  border-radius: 999px;
  gap: 3px;
  padding: 4px 6px;
  transition: opacity 0.2s;
  display: flex;
  position: fixed;
  transform: translate(-50%, -100%);
  box-shadow: 0 2px 6px #0000002e;
}
.tap-meter i {
  background: #d9dccf;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}
.tap-meter i.on {
  background: radial-gradient(circle at 35% 30%, #ffe28a, var(--coin) 60%, var(--coin-deep));
}
.copy-btn {
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  display: inline-flex;
}
.copy-btn svg,
.invite-btn svg {
  flex: none;
  width: 18px;
  height: 18px;
}
.code-box .copy-btn.done {
  color: #fff;
  background: #4f9d35;
}
.invite-btn {
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  margin: -4px 0 18px;
  font-size: 16px;
  display: flex;
}
.field input {
  min-width: 0;
}
.field .done-btn {
  flex: none;
}
.is-night .title-foot {
  color: #e3ece6;
  background: #1420349e;
}
.acct-legal {
  color: var(--ink-soft);
  margin: 10px 2px 0;
  font-size: 12.5px;
  line-height: 1.4;
}
.acct-legal a {
  color: inherit;
  text-decoration: underline;
}
.legal-links {
  border: 1px solid var(--tag-edge);
  background: #fff;
  border-radius: 14px;
  display: grid;
  overflow: hidden;
}
.legal-links a {
  color: var(--ink);
  border-top: 1px solid #eef1e6;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
}
.legal-links a:first-child {
  border-top: 0;
}
.legal-links a span {
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1;
}
.legal-links a:hover {
  background: #f6f8f0;
}
.danger-link {
  margin-top: 14px;
  font-weight: 700;
  color: #b03a2e !important;
}
.danger-btn {
  background: #c4432f !important;
  box-shadow: 0 3px #8e2d1f !important;
}
.danger-btn:disabled {
  opacity: 0.45;
}
.sheet .note a,
#sheet-wrap .note a {
  color: var(--sprout-deep);
  font-weight: 700;
}
.icon-x {
  width: 34px;
  height: 34px;
  color: var(--ink-soft);
  background: #f1f2ec;
  border-radius: 10px;
  flex: none;
  font-size: 20px;
  font-weight: 700;
}
.icon-x.armed {
  color: #fff;
  background: #c4432f;
  width: auto;
  padding: 0 10px;
  font-size: 13.5px;
}
.me-row {
  color: var(--ink-soft);
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: -4px 0 4px;
  padding: 0 2px;
  font-size: 14.5px;
  display: flex;
}
.lang-row {
  background: #1b2a2f12;
  border-radius: 14px;
  gap: 6px;
  margin: 4px 0 6px;
  padding: 4px;
  display: flex;
}
.lang-btn {
  font: 700 15px/1 var(--body);
  color: var(--ink-soft);
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 11px;
  flex: 1;
  padding: 11px 8px;
}
.lang-btn.on {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 6px #1b2a2f24;
}
.pill-btn.admin-link {
  color: var(--ink);
  place-items: center;
  margin: 14px 6px 0;
  text-decoration: none;
  display: inline-grid;
}
.gift-chip .ico,
.rain-chip .ico {
  place-items: center;
  display: grid;
}
.gift-chip .ico svg {
  color: #c2553a;
  width: 22px;
  height: 22px;
}
.rain-chip {
  top: calc(60px + var(--safe-t));
  white-space: nowrap;
  color: #2f6f9a;
  cursor: pointer;
  gap: 5px;
  height: 34px;
  padding: 0 12px 0 8px;
  font-size: 15px;
  font-weight: 800;
  position: absolute;
  left: 10px;
}
.rain-chip.away {
  display: none;
}
.rain-chip .ico svg {
  color: #4a9fd8;
  width: 20px;
  height: 20px;
}
.rain-chip.snow {
  color: #4d6f8a;
}
.rain-chip.snow .ico svg {
  color: #6aa6d6;
}
.daily-btn {
  color: #c2553a;
  position: relative;
}
.daily-btn svg {
  width: 24px;
  height: 24px;
}
.daily-btn .dot {
  background: #e2513a;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  animation: 1.6s ease-in-out infinite dotpulse;
  position: absolute;
  top: 7px;
  right: 7px;
  box-shadow: 0 0 0 2px #fff;
}
@keyframes dotpulse {
  50% {
    transform: scale(1.25);
  }
}
.daily-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 6px 0 14px;
  display: grid;
}
.daily-grid .day {
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  border-radius: 14px;
  justify-items: center;
  gap: 4px;
  padding: 10px 4px;
  display: grid;
  position: relative;
}
.daily-grid .day small {
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 700;
}
.daily-grid .day .amt {
  font-family: var(--display);
  color: var(--coin-deep);
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 800;
  display: flex;
}
.daily-grid .day.big {
  background: linear-gradient(180deg, #fff6dc, var(--tag));
  border-color: #edd38a;
  grid-column: span 2;
}
.daily-grid .day .extra {
  color: #b0472f;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
}
.daily-grid .day .extra svg {
  width: 18px;
  height: 18px;
}
.daily-grid .day.cur {
  outline: 3px solid var(--sprout);
  background: #f1f8e6;
}
.daily-grid .day.done {
  opacity: 0.62;
}
.daily-grid .day .tick {
  background: var(--sprout);
  color: #fff;
  border-radius: 50%;
  place-items: center;
  width: 22px;
  height: 22px;
  display: grid;
  position: absolute;
  top: 4px;
  right: 4px;
}
.daily-grid .day .tick svg {
  width: 15px;
  height: 15px;
}
.gold-tag {
  color: #6b4300;
  background: linear-gradient(#ffe08a, #f3b52a);
  border-radius: 999px;
  margin: 4px 0 0;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 800;
  display: inline-block;
}
.gold-txt {
  color: #b17a00;
  font-weight: 800;
}
.hover-tip .gold-txt {
  font-size: 12.5px;
  display: block;
}
.hover-tip .wx-tag {
  width: max-content;
  margin: 5px auto 0;
  display: block;
}
.event-box {
  color: #fff;
  background: linear-gradient(#2c2238, #43304f);
  border-radius: 18px;
  margin: 0 0 14px;
  padding: 12px;
}
.event-box .event-head {
  gap: 2px;
  margin: 0 4px 10px;
  display: grid;
}
.event-box .event-head b {
  font-family: var(--display);
  letter-spacing: -0.01em;
  color: #ffb547;
  font-size: 20px;
}
.event-box .event-head small {
  color: #e9dcf2;
  font-size: 13.5px;
}
.event-box .tag {
  color: var(--ink);
}
.tag .badge-special {
  color: #ffb547;
  letter-spacing: 0.02em;
  background: #43304f;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
  position: absolute;
  top: 6px;
  left: 8px;
}
.tag.special.owned .lock {
  color: var(--sprout-deep);
  justify-content: center;
  align-items: center;
  gap: 4px;
  display: flex;
}
.tag.special.owned .lock svg {
  width: 16px;
  height: 16px;
}
.coll-item.special {
  background: linear-gradient(180deg, #efe6f4, var(--tag));
  border-color: #d3c0e0;
}
.coll-item.special .stars {
  color: #7a4a92;
  letter-spacing: 0;
  font-size: 11px;
  font-weight: 700;
}
.coll-item.space {
  background: linear-gradient(180deg, #e3e9f3, var(--tag));
  border-color: #bfcadb;
}
.coll-item.space .stars {
  color: #3f5f8f;
}
.coll-item.space.unk {
  background: linear-gradient(#dfe4ec, #e9ede0);
}
.section-title small {
  font-family: var(--body);
  color: var(--ink-soft);
  margin-left: 6px;
  font-size: 13px;
  font-weight: 700;
}
.sheet p.note.small {
  margin-top: -2px;
  font-size: 13.5px;
}
.alien-chip {
  z-index: 6;
  font: 800 13px/1 var(--body);
  color: var(--ink);
  pointer-events: none;
  white-space: nowrap;
  background: #fffffff0;
  border: 1px solid #c9d6c2;
  border-radius: 999px;
  align-items: center;
  gap: 4px;
  padding: 3px 9px 3px 4px;
  display: flex;
  position: fixed;
  transform: translate(-50%, -100%);
  box-shadow: 0 3px 10px #1e321e2e;
}
.alien-chip img {
  object-fit: contain;
  width: 26px;
  height: 30px;
}
.alien-chip.ready {
  background: #fff5cf;
  border-color: #e9c95a;
  animation: 1.1s ease-in-out infinite alienPulse;
}
.alien-chip:after {
  content: "";
  border: 6px solid #0000;
  border-top-color: #fffffff0;
  border-bottom: 0;
  margin-left: -6px;
  position: absolute;
  bottom: -6px;
  left: 50%;
}
.alien-chip.ready:after {
  border-top-color: #fff5cf;
}
@keyframes alienPulse {
  50% {
    transform: translate(-50%, -100%) scale(1.08);
  }
}
.water-btn .disc {
  color: #3f95d1;
}
.water-btn.done .disc {
  color: #9fb4c2;
}
.water-btn.done span:last-child {
  color: var(--ink-soft);
}
.gift-chip .ico + .v {
  margin-left: 2px;
}
.rank-box .section-title {
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  display: flex;
}
.rank-box .section-title small {
  font-family: var(--body);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 700;
}
.rank-chips {
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 4px 8px;
  display: flex;
}
.chip-btn {
  color: var(--ink-soft);
  background: #eef2e6;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13.5px;
  font-weight: 700;
}
.chip-btn.on {
  background: var(--ink);
  color: #fff;
}
.rank-list {
  gap: 4px;
  display: grid;
}
.rank-row {
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  border-radius: 12px;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  display: grid;
}
.rank-row .pos {
  font-family: var(--display);
  color: var(--ink-soft);
  text-align: center;
  font-size: 17px;
  font-weight: 800;
}
.rank-row .nm {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  display: grid;
}
.rank-row .nm small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}
.rank-row .val {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  font-weight: 800;
}
.rank-row .val .coin {
  vertical-align: -3px;
  width: 18px;
  height: 18px;
  margin-right: 2px;
}
.rank-row.top1 .pos {
  color: #c8960c;
}
.rank-row.top2 .pos {
  color: #8d9aa5;
}
.rank-row.top3 .pos {
  color: #b0714a;
}
.rank-row.me {
  background: #eef7e3;
  border-color: #b9dc98;
}
.photo-btn {
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  margin: 10px 0 4px;
  display: flex;
}
.photo-btn svg {
  width: 22px;
  height: 22px;
}
.photo-wrap img {
  border-radius: 16px;
  width: 100%;
  display: block;
  box-shadow: 0 6px 20px #0000002e;
}
.photo-wrap {
  margin-bottom: 12px;
}
a.pill-btn {
  color: var(--ink);
  place-items: center;
  text-decoration: none;
  display: inline-grid;
}
.hive-near {
  color: var(--ink-soft);
  margin: -4px 0 8px;
  font-size: 13px;
}
.tag.animal.legend {
  background: linear-gradient(180deg, #fff6d8, var(--tag));
  border-color: #e9cf7e;
}
.tag.animal.legend .lock {
  color: #a37707;
}
.house-hero {
  align-items: center;
  gap: 14px;
  margin: 2px 4px 6px;
  display: flex;
}
.house-hero img {
  object-fit: contain;
  flex-shrink: 0;
  width: 112px;
  height: 112px;
}
.house-hero .txt {
  gap: 2px;
  display: grid;
}
.house-hero b {
  font-family: var(--display);
  letter-spacing: -0.01em;
  font-size: 22px;
}
.house-hero small {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}
.house-perks {
  gap: 7px;
  margin: 0 4px 14px;
  padding: 0;
  list-style: none;
  display: grid;
}
.house-perks li {
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  line-height: 1.35;
  display: flex;
}
.house-perks li svg {
  width: 18px;
  height: 18px;
  color: var(--sprout-deep);
  flex-shrink: 0;
  margin-top: 1px;
}
.house-next {
  background: #f3f5ee;
  border-radius: 18px;
  align-items: center;
  gap: 12px;
  margin: 0 2px 12px;
  padding: 12px;
  display: flex;
}
.house-next img {
  object-fit: contain;
  flex-shrink: 0;
  width: 92px;
  height: 92px;
}
.house-next .txt {
  gap: 3px;
  min-width: 0;
  display: grid;
}
.house-next small {
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12.5px;
  font-weight: 700;
}
.house-next b {
  font-family: var(--display);
  font-size: 19px;
}
.house-next .perk {
  color: var(--sprout-deep);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.house-next .reqs {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  display: flex;
}
.house-next .reqs span {
  background: #fff;
  border-radius: 999px;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
}
.house-next .reqs span.miss {
  color: var(--warn);
  background: #fbe4dc;
}
.house-next .bar {
  background: #e3e7da;
  border-radius: 999px;
  height: 10px;
  margin: 6px 0 2px;
  overflow: hidden;
}
.house-next .bar i {
  background: linear-gradient(90deg, var(--sprout), #8ccf5c);
  border-radius: 999px;
  height: 100%;
  display: block;
}
.house-next small.left {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13.5px;
}
.done-btn.wide:disabled {
  opacity: 0.55;
}
.house-max {
  text-align: center;
  font-weight: 700;
  color: var(--ink) !important;
}
.tag.has-info {
  position: relative;
}
.tag .info-btn {
  width: 26px;
  height: 26px;
  color: var(--ink);
  z-index: 2;
  background: #eef2e6;
  border-radius: 50%;
  place-items: center;
  font:
    italic 800 15px/1 Georgia,
    serif;
  display: grid;
  position: absolute;
  top: 8px;
  right: 8px;
  box-shadow: 0 1px #00000014;
}
.tag .info-back {
  border-radius: inherit;
  text-align: left;
  color: var(--ink);
  z-index: 3;
  background: #fbfcf8;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 28px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow-y: auto;
}
.tag .info-back b {
  font-family: var(--display);
  font-size: 16px;
}
.tag .info-back small {
  color: var(--ink-soft);
  margin-top: auto;
  font-size: 12px;
}
.tag.show-info .info-back {
  display: flex;
}
.tag.show-info .info-btn {
  display: none;
}
.badge-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  display: grid;
}
.badge-item {
  text-align: center;
  background: #fbfcf8;
  border-radius: 18px;
  justify-items: center;
  gap: 3px;
  padding: 12px 8px 10px;
  display: grid;
  position: relative;
  box-shadow: 0 1px #0000000f;
}
.badge-item b {
  font-family: var(--display);
  font-size: 15.5px;
  line-height: 1.15;
}
.badge-item small {
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.25;
}
.badge-item .prog {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  font-weight: 800;
}
.badge-item .tiers {
  gap: 4px;
  margin-top: 2px;
  display: flex;
}
.badge-item .tiers i {
  background: #e1e4dc;
  border-radius: 50%;
  width: 9px;
  height: 9px;
}
.badge-item .tiers i.on.t1 {
  background: #c98b54;
}
.badge-item .tiers i.on.t2 {
  background: #aab4bc;
}
.badge-item .tiers i.on.t3 {
  background: #e5b53a;
}
.badge-item.locked .medal {
  opacity: 0.8;
}
.badge-item.fav {
  box-shadow: 0 0 0 3px var(--sprout);
}
.badge-item.fav:after {
  content: "★";
  color: var(--sprout-deep);
  font-size: 16px;
  position: absolute;
  top: 6px;
  right: 10px;
}
.badge-toast {
  align-items: center;
  gap: 8px;
  display: flex;
}
.badge-toast .medal {
  flex-shrink: 0;
}
.rk-medal {
  vertical-align: -4px;
  margin-left: 5px;
  display: inline-flex;
}
.visitbar {
  align-items: center;
  gap: 8px;
  display: flex;
}
.pet-hero {
  place-items: center;
  margin: 0 0 8px;
  display: grid;
}
.pet-hero img {
  object-fit: contain;
  width: 150px;
  height: 150px;
}
.pet-hero.row-hero {
  align-items: center;
  gap: 12px;
  display: flex;
}
.pet-hero.row-hero img {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
}
.pet-hero .txt {
  flex: 1;
  gap: 4px;
  min-width: 0;
  display: grid;
}
.pet-hero .txt b {
  font-family: var(--display);
  font-size: 22px;
}
.pet-hero .txt small {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.3;
}
.coat-row {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  display: flex;
}
.coat {
  background: #f1f4ec;
  border-radius: 14px;
  justify-items: center;
  gap: 4px;
  min-width: 58px;
  padding: 8px 6px;
  font-size: 12.5px;
  font-weight: 700;
  display: grid;
}
.coat i {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  box-shadow: inset 0 0 0 2px #0000001f;
}
.coat.on {
  box-shadow: 0 0 0 3px var(--sprout);
  background: #fff;
}
.name-input {
  width: 100%;
  height: 50px;
  font: 700 17px var(--display);
  background: #fff;
  border: 2px solid #e1e6d8;
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 0 14px;
  display: block;
}
.pbars {
  text-align: left;
  gap: 5px;
  margin: 6px 0 10px;
  display: grid;
}
.pbar {
  color: var(--ink-soft);
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  display: grid;
}
.pbar i {
  background: #e4e8dc;
  border-radius: 99px;
  height: 8px;
  display: block;
  overflow: hidden;
}
.pbar b {
  background: linear-gradient(90deg, var(--sprout), #8ccf5c);
  border-radius: 99px;
  height: 100%;
  display: block;
}
.pbar.low b {
  background: linear-gradient(90deg, #e2513a, #f08a5c);
}
.link-btn {
  color: var(--sprout-deep);
  background: 0 0;
  justify-self: start;
  padding: 0;
  font-size: 13.5px;
  font-weight: 700;
}
.tag .ribbon {
  color: #fff;
  letter-spacing: 0.02em;
  z-index: 1;
  background: #e07a1f;
  border-radius: 6px 0 0 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  position: absolute;
  top: 10px;
  right: 0;
  box-shadow: 0 2px #a8550f;
}
#hwglow {
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}
#hwglow i {
  will-change: transform, opacity;
  background: radial-gradient(50% 42%, #ffbe46e6 0%, #ff962873 45%, #ff781400 100%);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
}
.rank-scope {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin: 0 4px 8px;
  display: grid;
}
.rank-scope .tab {
  height: 38px;
  color: var(--ink-soft);
  background: #eef2e6;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
}
.rank-scope .tab.on {
  background: var(--ink);
  color: #fff;
}
.rank-gap {
  text-align: center;
  color: var(--ink-soft);
  letter-spacing: 3px;
  padding: 2px 0;
  font-weight: 800;
  line-height: 1;
}
.rank-foot {
  text-align: center;
  color: var(--ink-soft);
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
}
.rank-list .empty.small {
  padding: 8px;
  font-size: 13px;
}
.rank-chip {
  top: calc(60px + var(--safe-t));
  color: #3d6b2a;
  cursor: pointer;
  gap: 5px;
  height: 34px;
  padding: 0 12px 0 9px;
  font-size: 15px;
  font-weight: 800;
  position: absolute;
  right: 10px;
}
.rank-chip .ico {
  place-items: center;
  display: grid;
}
.rank-chip .ico svg {
  width: 19px;
  height: 19px;
}
.rank-chip.gold {
  color: #a87908;
}
.rank-chip.silver {
  color: #6e7c88;
}
.rank-chip.bronze {
  color: #9a5c36;
}
.rank-chip.hidden {
  display: none;
}
#hud .chip,
#hud .icon-btn,
#hud .nav-btn .disc,
#hud .nav-btn span,
#hud .visitbar {
  transition:
    background-color 0.8s,
    color 0.8s;
}
html.is-night #hud {
  --glass: #2e426ee0;
  --shadow: 0 6px 18px #050a1e59, 0 1px 2px #050a1e4d;
}
html.is-night #hud .chip,
html.is-night #hud .icon-btn,
html.is-night #hud .nav-btn,
html.is-night #hud .visitbar {
  color: #eef3ff;
}
html.is-night #hud .level .xpbar {
  background: #ffffff38;
}
html.is-night #hud .gift-chip .ico svg,
html.is-night #hud .daily-btn {
  color: #ff9b7d;
}
html.is-night #hud .daily-btn .dot {
  box-shadow: 0 0 0 2px #2e426e;
}
html.is-night #hud .rain-chip {
  color: #a9d8ff;
}
html.is-night #hud .rain-chip .ico svg {
  color: #7cc3f5;
}
html.is-night #hud .rank-chip {
  color: #b9e39a;
}
html.is-night #hud .rank-chip.gold {
  color: #ffd45e;
}
html.is-night #hud .rank-chip.silver {
  color: #d3dde6;
}
html.is-night #hud .rank-chip.bronze {
  color: #f0a77a;
}
.limit-pill {
  color: var(--ink-soft);
  background: #eef2e6;
  border-radius: 12px;
  align-items: center;
  gap: 8px;
  margin: 2px 4px 10px;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  display: flex;
}
.limit-pill svg {
  flex: none;
  width: 17px;
  height: 17px;
}
.limit-pill b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.limit-pill.full {
  color: #8a5b10;
  background: #fff3dd;
}
.limit-pill.full b {
  color: #6b4306;
}
.limit-pill.hidden {
  display: none;
}
#sheet-wrap .sheet .body {
  overflow-x: hidden;
}
.friend-row {
  gap: 8px;
  padding: 10px 10px 10px 12px;
}
.friend-row .avatar {
  width: 38px;
  height: 38px;
  font-size: 17px;
}
.friend-row .who b {
  font-size: 16px;
}
.friend-row .pill-btn {
  flex: none;
  height: 38px;
  padding: 0 11px;
  font-size: 14.5px;
}
.friend-row .pill-btn.waiting {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  align-items: center;
  gap: 4px;
  display: inline-flex;
}
.friend-row .pill-btn.waiting svg {
  width: 15px;
  height: 15px;
}
.friend-row .icon-x {
  width: 30px;
  height: 30px;
  font-size: 18px;
}
@media (max-width: 370px) {
  .friend-row {
    gap: 6px;
    padding: 9px 8px 9px 10px;
  }
  .friend-row .avatar {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .friend-row .pill-btn {
    padding: 0 9px;
    font-size: 13.5px;
  }
}
.topbar > * {
  flex: none;
}
.topbar > .spacer {
  flex: 1 1 0;
  min-width: 0;
}
.topbar > .level {
  flex: 0 auto;
  min-width: 0;
  overflow: hidden;
}
.topbar .level .xpbar {
  flex: 0 74px;
  min-width: 0;
}
@media (max-width: 460px) {
  .topbar {
    gap: 6px;
    left: 8px;
    right: 8px;
  }
  .topbar > .chip.coins {
    gap: 6px;
    padding-right: 11px;
    font-size: 16px;
  }
  .topbar > .level {
    gap: 7px;
    padding-right: 10px;
  }
  .topbar .level .badge {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
  .topbar .icon-btn {
    width: 38px;
    height: 38px;
  }
  .topbar .icon-btn svg {
    width: 20px;
    height: 20px;
  }
  .topbar > .gift-chip {
    border-radius: 50%;
    justify-content: center;
    gap: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    position: relative;
  }
  .topbar > .gift-chip .v {
    color: #fff;
    min-width: 18px;
    height: 18px;
    font: 800 11px/18px var(--body);
    text-align: center;
    background: #e2513a;
    border-radius: 9px;
    margin: 0;
    padding: 0 4px;
    position: absolute;
    top: -3px;
    right: -3px;
  }
}
.topbar .level .badge,
.topbar .coin-ico,
.topbar .gift-chip .ico {
  flex: none;
}
@media (max-width: 345px) {
  .topbar .level .xpbar {
    display: none;
  }
  .topbar > .level {
    padding-right: 4px;
  }
}
@media (max-width: 370px) {
  .topbar:has(> .gift-chip:not(.hidden)):has(> .daily-btn:not(.hidden)) > .sound-btn {
    display: none;
  }
}
.intro-sheet .body {
  gap: 12px;
  padding-bottom: 6px;
  display: grid;
}
.intro-card {
  text-align: center;
  align-content: start;
  justify-items: center;
  gap: 6px;
  min-height: 250px;
  padding: 6px 8px 0;
  display: grid;
}
.intro-card img {
  object-fit: contain;
  width: 128px;
  height: 150px;
}
.intro-card b {
  font-family: var(--display);
  color: var(--ink);
  font-size: 22px;
}
.intro-card p {
  color: var(--ink-soft);
  max-width: 380px;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}
.intro-card p b {
  font-family: inherit;
  font-size: inherit;
  color: var(--ink);
}
.intro-dots {
  justify-content: center;
  gap: 7px;
  display: flex;
}
.intro-dots i {
  background: #d6dccb;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  transition: width 0.2s;
}
.intro-dots i.on {
  background: var(--sprout);
  border-radius: 4px;
  width: 22px;
}
.intro-btns {
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  display: grid;
}
.intro-btns .pill-btn {
  height: 50px;
}
.manual-btn {
  text-align: left;
  cursor: pointer;
  width: 100%;
}
.manual-btn .lbl {
  flex: 1;
  display: grid;
}
.manual-btn .lbl small {
  color: var(--ink-soft);
}
.manual-btn .chev,
.manual-item .chev {
  color: var(--ink-soft);
  font-size: 22px;
  font-weight: 700;
}
.manual-item {
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  border-radius: 16px;
  margin-bottom: 8px;
  overflow: hidden;
}
.manual-item summary {
  cursor: pointer;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  font-size: 16.5px;
  list-style: none;
  display: flex;
}
.manual-item summary::-webkit-details-marker {
  display: none;
}
.manual-item summary b {
  flex: 1;
}
.manual-item .mi {
  text-align: center;
  width: 28px;
  font-size: 22px;
}
.manual-item .chev {
  transition: transform 0.2s;
}
.manual-item[open] .chev {
  transform: rotate(90deg);
}
.manual-item ul {
  gap: 8px;
  margin: 0;
  padding: 0 16px 14px 40px;
  display: grid;
}
.manual-item li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
}
.list {
  grid-template-columns: minmax(0, 1fr);
}
.list > * {
  min-width: 0;
}
.gift-row .who b {
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 15.5px;
  line-height: 1.25;
  display: -webkit-box;
}
.gift-row .pill-btn,
.gift-row img {
  flex: none;
}
#shooting {
  z-index: 4;
  pointer-events: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}
#shooting .star {
  pointer-events: auto;
  width: 0;
  height: 0;
  position: absolute;
}
#shooting .star:before {
  content: "";
  border-radius: 50%;
  width: 56px;
  height: 56px;
  position: absolute;
  top: -28px;
  left: -28px;
}
#shooting .star i {
  width: var(--len);
  transform-origin: 0;
  height: 2px;
  transform: rotate(var(--rot)) rotate(180deg);
  background: linear-gradient(90deg, #fff 0%, #cde4ffbf 25%, #b4d2ff40 70%, #b4d2ff00 100%);
  border-radius: 2px;
  position: absolute;
  top: -1px;
  left: 0;
}
#shooting .star.warm i {
  background: linear-gradient(90deg, #fff 0%, #ffc48cd9 12%, #ffa06e73 32%, #c8deff40 70%, #c8deff00 100%);
}
#shooting .star b {
  background: #fff;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  position: absolute;
  top: -4px;
  left: -4px;
  box-shadow: 0 0 10px 3px #c3defff2;
}
#shooting .star.warm b {
  box-shadow: 0 0 10px 3px #ffcda0f2;
}
#shooting .star.caught b {
  animation: 0.45s ease-out forwards starpop;
}
#shooting .star.caught i {
  opacity: 0;
  transition: opacity 0.3s;
}
@keyframes starpop {
  0% {
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(3.2);
  }
  to {
    opacity: 0;
    transform: scale(0.2);
  }
}
#lightning {
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.level-pop {
  z-index: 30;
  background: var(--tag);
  width: min(270px, 100vw - 20px);
  box-shadow: var(--shadow);
  color: var(--ink);
  pointer-events: none;
  border-radius: 16px;
  gap: 6px;
  padding: 12px 14px;
  font-size: 14.5px;
  line-height: 1.35;
  animation: 0.2s tin;
  display: grid;
  position: fixed;
}
.level-pop > b {
  font-family: var(--display);
  font-size: 18px;
}
.level-pop .bar {
  background: #dfe7d2;
  border-radius: 4px;
  height: 8px;
  display: block;
  overflow: hidden;
}
.level-pop .bar i {
  background: linear-gradient(90deg, #8fd05a, var(--sprout));
  height: 100%;
  display: block;
}
.level-pop small {
  color: var(--ink-soft);
  font-size: 13px;
}
.chip.level {
  cursor: pointer;
}
.chip.level:active {
  transform: scale(0.95);
}
.empty-state {
  text-align: center;
  justify-items: center;
  gap: 6px;
  padding: 18px 18px 22px;
  display: grid;
}
.empty-state .es-ico {
  width: 64px;
  height: 64px;
  color: var(--sprout-deep);
  background: #e4ecd6;
  border-radius: 50%;
  place-items: center;
  margin-bottom: 4px;
  display: grid;
}
.empty-state .es-ico svg {
  width: 30px;
  height: 30px;
}
.empty-state b {
  font-family: var(--display);
  font-size: 19px;
}
.empty-state p {
  color: var(--ink-soft);
  max-width: 300px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.45;
}
.update-bar {
  left: 50%;
  top: calc(64px + var(--safe-t));
  z-index: 80;
  color: #fff;
  box-shadow: var(--shadow);
  white-space: nowrap;
  background: #1d3527eb;
  border-radius: 999px;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 20px);
  padding: 8px 8px 8px 16px;
  font-size: 14.5px;
  font-weight: 700;
  animation: 0.25s tin;
  display: flex;
  position: fixed;
  transform: translate(-50%);
}
.update-bar button {
  background: var(--sprout);
  color: #fff;
  border-radius: 999px;
  height: 36px;
  padding: 0 14px;
  font-weight: 800;
}
.bubble .time .hb {
  color: var(--sprout-deep);
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 700;
}
.house-perks li span small {
  color: var(--ink-soft);
  margin-top: 1px;
  font-size: 13px;
  display: block;
}
#world {
  opacity: 0;
  transition: opacity 0.45s;
}
#world.ready {
  opacity: 1;
}
.hy-band {
  text-align: left;
  background: linear-gradient(100deg, #f4ead3, var(--tag) 70%);
  border: 1px solid #e2cf9f;
  border-radius: 18px;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 14px;
  padding: 10px 14px 10px 10px;
  display: flex;
  box-shadow: inset 0 1px #ffffffb3;
}
.hy-band:active {
  transform: scale(0.985);
}
.hy-band .hy-ico {
  flex: none;
  width: 70px;
  height: 56px;
  position: relative;
}
.hy-band .hy-ico img {
  object-fit: contain;
  width: 46px;
  height: 56px;
  position: absolute;
}
.hy-band .hy-ico img:first-child {
  left: 0;
}
.hy-band .hy-ico img:last-child {
  top: 2px;
  left: 24px;
}
.hy-band .hy-txt {
  flex: 1;
  gap: 2px;
  min-width: 0;
  display: grid;
}
.hy-band b {
  font-family: var(--display);
  color: #5e2f45;
  letter-spacing: -0.01em;
  font-size: 19px;
}
.hy-band small {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.3;
}
.hy-band .hy-go {
  color: #b39553;
  font-size: 28px;
  font-weight: 700;
}
.hy-band.hot {
  border-color: #c9ab6e;
  box-shadow: 0 0 0 3px #dcc58e73;
}
.hy-band.hot small {
  color: var(--sprout-deep);
  font-weight: 700;
}
.hy-card {
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  border-radius: 18px;
  grid-template-columns: 84px 1fr;
  gap: 4px 12px;
  margin: 0 0 12px;
  padding: 12px;
  display: grid;
}
.hy-card.can {
  background: linear-gradient(180deg, #fbf5e6, var(--tag));
  border-color: #c9ab6e;
}
.hy-card > img {
  object-fit: contain;
  align-self: start;
  width: 84px;
  height: 100px;
}
.hy-card.locked > img {
  filter: saturate(0.5);
  opacity: 0.8;
}
.hy-info {
  align-content: start;
  gap: 3px;
  min-width: 0;
  display: grid;
}
.hy-info > b {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.1;
}
.hy-info .st {
  color: var(--coin-deep);
  letter-spacing: 0.5px;
  font-size: 14px;
}
.hy-sub {
  color: #6d3a51;
  font-size: 14px;
  font-weight: 700;
}
.hy-meta {
  font-variant-numeric: tabular-nums;
  font-size: 14.5px;
  font-weight: 700;
}
.hy-own {
  color: #9aa596;
  letter-spacing: 0.01em;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.hy-meta small {
  color: var(--sprout-deep);
  font-size: 13px;
  font-weight: 700;
  display: block;
}
.hy-req {
  color: var(--ink-soft);
  gap: 3px;
  margin: 4px 0 0;
  padding: 0;
  font-size: 14px;
  list-style: none;
  display: grid;
}
.hy-req li {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  display: flex;
}
.hy-req li svg {
  width: 16px;
  height: 16px;
  color: var(--sprout-deep);
  flex: none;
}
.hy-req li .dot {
  background: #d9cfb5;
  border-radius: 50%;
  flex: none;
  width: 8px;
  height: 8px;
  margin: 0 4px;
}
.hy-req li.ok {
  color: var(--ink);
}
.hy-req small {
  color: var(--warn);
  font-size: 13px;
  font-weight: 700;
}
.hy-act {
  grid-column: 1/-1;
  gap: 8px;
  margin-top: 6px;
  display: grid;
}
.hy-act > .pill-btn {
  width: 100%;
  height: 44px;
}
.hy-act .row {
  gap: 8px;
  display: flex;
}
.hy-act .row .pill-btn {
  flex: 1;
  height: 44px;
}
.hy-confirm {
  color: var(--ink);
  background: #f4ead3;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14.5px;
  line-height: 1.4;
}
.pill-btn.hy-btn {
  color: #5e2f45;
  background: #f1e6c9;
}
.coll-item.hybrid {
  background: linear-gradient(180deg, #f4ead3, var(--tag));
  border-color: #e2cf9f;
}
.coll-item.hybrid .stars {
  color: #6d3a51;
  font-size: 12px;
}
.lg-band {
  background: linear-gradient(100deg, #efe2c4, var(--tag) 75%);
  border-color: #d6c095;
}
.lg-band b {
  color: #5a3f22;
}
.lg-band .hy-go {
  color: #a07c45;
}
.lg-band.hot {
  border-color: #b8945a;
  box-shadow: 0 0 0 3px #d6c09580;
}
.lg-card {
  background: linear-gradient(180deg, #f7eedb, var(--tag));
  border-color: #e2d2ae;
}
.lg-card.owned {
  opacity: 0.8;
}
.lg-q {
  color: #5a3f22;
  margin: 2px 0 4px;
  font-size: 14.5px;
  font-style: italic;
  line-height: 1.4;
}
.lg-does {
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}
.lg-does .coin,
.lg-tale .coin {
  width: 14px;
  height: 14px;
}
.lg-card .hy-act > .pill-btn svg {
  vertical-align: -3px;
  width: 16px;
  height: 16px;
}
.lg-tale {
  background: #f3e8cf;
  border: 1px solid #e2d2ae;
  border-radius: 14px;
  margin: -4px 0 14px;
  padding: 12px 14px;
}
.lg-tale p {
  color: #5a3f22;
  margin: 0 0 6px;
  font-size: 15px;
  font-style: italic;
  line-height: 1.45;
}
.lg-tale small {
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
}
.lg-berries {
  gap: 7px;
  margin-top: 8px;
  display: flex;
}
.lg-berries span {
  background: radial-gradient(circle at 35% 30%, #ffffff8c, transparent 45%), var(--c);
  opacity: 0.2;
  filter: grayscale();
  border-radius: 50%;
  width: 18px;
  height: 18px;
  box-shadow: inset 0 -2px #0000002e;
}
.lg-berries span.on {
  opacity: 1;
  filter: none;
}
.lg-berries.small {
  justify-content: center;
  gap: 5px;
  margin: 3px 0 0;
}
.lg-berries.small span {
  width: 13px;
  height: 13px;
}
.coll-item.legend {
  background: linear-gradient(180deg, #f1e4c6, var(--tag));
  border-color: #e2d2ae;
}
.coll-item.legend .stars {
  color: #7a5630;
  font-size: 12px;
}
.left-stack {
  top: calc(60px + var(--safe-t));
  pointer-events: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  display: flex;
  position: absolute;
  left: 10px;
}
.left-stack > * {
  pointer-events: auto;
}
.left-stack .rain-chip {
  position: static;
}
.harvest-all {
  cursor: pointer;
  color: #6b4a1f;
  gap: 6px;
  height: 44px;
  padding: 0 14px 0 6px;
  font-size: 17px;
}
.harvest-all .ico {
  color: #6b4a1f;
  background: radial-gradient(circle at 35% 30%, #fff1c9, #f2d38a 60%, #d9b25e);
  border-radius: 50%;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
  box-shadow: inset 0 -2px #0000001f;
}
.harvest-all .ico svg {
  width: 21px;
  height: 21px;
}
.harvest-all .v:before {
  content: "×";
  opacity: 0.55;
  margin-right: 1px;
  font-size: 0.85em;
}
.harvest-all.go {
  animation: 0.35s bump;
}
.harvest-all:not(.hidden) {
  animation: 0.25s popIn;
}
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.gift-btns {
  flex-direction: column;
  flex: none;
  gap: 6px;
  display: flex;
}
.gift-btns .pill-btn {
  white-space: nowrap;
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
}
.gift-btns .pill-btn .coin {
  width: 14px;
  height: 14px;
}
.tag .owned-n {
  color: #9aa596;
  letter-spacing: 0.01em;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.tag .sell-n {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #fbe6e2;
  color: #b2402f;
  font-size: 11px;
  font-weight: 800;
}
.master-tag {
  color: #7a5200;
  background: #fff7df;
  border: 1.5px solid #e2b23f;
  border-radius: 999px;
  margin: 4px 0 0;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 800;
  display: inline-block;
}
.coll-detail .master-tag {
  margin-top: 8px;
}
.master-hint {
  color: #8a8f86;
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.35;
}
.tag .meta .y.master {
  color: #a87000;
  font-weight: 800;
}
.pond-card {
  background: #fff;
  border-radius: 18px;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 10px;
  padding: 12px 14px;
  display: grid;
  box-shadow: 0 1px #0000000d;
}
.pond-card img {
  aspect-ratio: 480/260;
  object-fit: cover;
  background: linear-gradient(#e4ecd6, #d3dfc0);
  border-radius: 18px 18px 0 0;
  width: calc(100% + 28px);
  height: auto;
  margin: -12px -14px 4px;
}
.pond-card b {
  font-family: var(--display);
  font-size: 19px;
}
.pond-card p {
  color: #5d6a5a;
  margin: 3px 0 0;
  font-size: 13.5px;
  line-height: 1.35;
}
.pond-card > .pill-btn,
.pond-card > .row {
  grid-column: 1;
  justify-self: start;
}
.pond-card > .row {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}
.koi-bonus {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
  display: flex;
}
.koi-bonus span {
  color: #8a9386;
  background: #fff;
  border: 1.5px dashed #d5dbd1;
  border-radius: 14px;
  flex: 140px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 700;
}
.koi-bonus span small {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.koi-bonus span.on {
  color: #7a5200;
  background: #fff7df;
  border: 1.5px solid #e2b23f;
}
.koi-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  display: grid;
}
.koi-card {
  text-align: center;
  background: #fff;
  border-radius: 18px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 12px 12px;
  display: flex;
  box-shadow: 0 1px #0000000d;
}
.koi-card img {
  object-fit: contain;
  width: 120px;
  height: 90px;
  margin-bottom: 2px;
}
.koi-card b {
  font-family: var(--display);
  font-size: 18px;
}
.koi-card .kc {
  color: #6b766a;
  font-size: 12.5px;
  font-weight: 600;
}
.koi-card i {
  color: #8a6a1c;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 600;
}
.koi-card .kd {
  color: #6b766a;
  margin: 4px 0 6px;
  font-size: 12px;
  line-height: 1.35;
}
.koi-card.own {
  background: #f4f9ef;
  box-shadow: inset 0 0 0 2px #9cc77a;
}
.koi-card.locked img {
  filter: grayscale(0.7) opacity(0.6);
}
.bubble .row-btn {
  flex: 1;
}
.rank-row .val small {
  font-family: var(--body);
  color: var(--ink-soft);
  margin-left: 3px;
  font-size: 11.5px;
  font-weight: 700;
}
.score-key {
  color: #6a5a2a;
  background: #fff7e0;
  border: 1px solid #f0dca0;
  border-radius: 12px;
  margin: 0 4px 10px;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.45;
}
.score-key b {
  color: #4d4020;
  white-space: nowrap;
  font-weight: 800;
}
.podium {
  grid-template-columns: 1fr 1.12fr 1fr;
  align-items: end;
  gap: 8px;
  margin: 6px 2px 14px;
  display: grid;
}
.pd-col {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  display: flex;
}
.pd-col b {
  font-family: var(--display);
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.1;
  overflow: hidden;
}
.pd-col small {
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 700;
}
.pd-col .pd-prize {
  color: var(--coin-deep);
  align-items: center;
  gap: 3px;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
}
.pd-step {
  width: 100%;
  font-family: var(--display);
  color: #00000047;
  border-radius: 14px 14px 6px 6px;
  place-items: center;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 800;
  display: grid;
}
.pd-col.p1 .pd-step {
  background: linear-gradient(#fbe6a2, #f2cf62);
  height: 74px;
}
.pd-col.p2 .pd-step {
  background: linear-gradient(#eef1f4, #cfd6dd);
  height: 54px;
}
.pd-col.p3 .pd-step {
  background: linear-gradient(#f6dcc6, #e3ad85);
  height: 40px;
}
.pd-step.empty {
  opacity: 0.35;
}
.pd-col.me b {
  color: var(--leaf-deep, #2f7a2f);
}
.pd-me {
  text-align: center;
  background: #eef7e3;
  border: 1px solid #b9dc98;
  border-radius: 16px;
  gap: 2px;
  margin-bottom: 10px;
  padding: 12px 14px;
  display: grid;
}
.pd-me b {
  font-family: var(--display);
  font-size: 18px;
}
.pd-me small {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}
.pd-gift {
  text-align: center;
  background: #fff7e0;
  border: 1px solid #f0dca0;
  border-radius: 16px;
  gap: 2px;
  margin-bottom: 10px;
  padding: 10px 14px;
  font-size: 15px;
  display: grid;
}
.pd-gift b {
  font-family: var(--display);
  color: var(--coin-deep);
  justify-self: center;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  display: inline-flex;
}
.pd-gift small {
  color: #8a7a4a;
  font-size: 12.5px;
  font-weight: 600;
}
.cups-row {
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 0 4px 10px;
  padding: 8px 12px;
  display: flex;
}
.cups-row span {
  align-items: center;
  gap: 4px;
  display: inline-flex;
}
.cups-row b {
  font-family: var(--display);
  font-size: 19px;
}
.cups-row small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}
.champ-week {
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  border-radius: 14px;
  margin: 0 0 8px;
  padding: 10px 12px;
}
.champ-week .cw-h {
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
}
.champ-week .cw-h small {
  color: #8a7a4a;
  background: #fff3cf;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
}
.champ-week .cw-r {
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  font-size: 14.5px;
  font-weight: 700;
  display: grid;
}
.champ-week .cw-r b {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
}
.champ-week .cw-r.me span {
  color: #2f7a2f;
}
.rk-cups {
  vertical-align: -4px;
  color: #b8860b;
  align-items: center;
  gap: 1px;
  margin-left: 5px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
}
.pet-card {
  text-align: left;
  border: 1px solid var(--tag-edge);
  background: #fff;
  border-radius: 18px;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px 12px;
  display: grid;
  box-shadow: 0 1px #0000000d;
}
.pet-card img {
  object-fit: contain;
  width: 76px;
  height: 82px;
}
.pet-card .txt {
  gap: 3px;
  min-width: 0;
  display: grid;
}
.pet-card .txt b {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.1;
}
.pet-card .txt small {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.3;
}
.pet-card .txt .st {
  color: #4d6a2f;
  background: #eef7e3;
  border-radius: 999px;
  justify-self: start;
  align-items: center;
  gap: 3px;
  padding: 2px 9px;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
}
.pet-card .pill-btn {
  pointer-events: none;
  justify-content: center;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  display: inline-flex;
}
.pet-card.locked img {
  filter: grayscale(0.6) opacity(0.7);
}
.pet-card.locked .txt .st {
  color: #8a8576;
  background: #f1efe8;
}
.pet-soon {
  text-align: center;
  color: var(--ink-soft);
  border: 1.5px dashed #d5dbd1;
  border-radius: 16px;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
}
.gen-intro {
  color: #fff;
  background: linear-gradient(135deg, #1d3527, #2f4f3a);
  border-radius: 18px;
  align-items: center;
  gap: 14px;
  margin: 4px 0 6px;
  padding: 14px 16px;
  display: flex;
}
.gen-intro h3 {
  font-family: var(--display);
  margin: 0 0 3px;
  font-size: 19px;
}
.gen-intro p {
  opacity: 0.9;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.35;
}
.gen-intro .gen-lock {
  color: #f6d78e;
  opacity: 1;
  margin-top: 6px;
  font-weight: 800;
}
.gen-count {
  text-align: center;
  background: #ffffff1a;
  border-radius: 14px;
  flex: none;
  min-width: 70px;
  padding: 8px 10px;
}
.gen-count b {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  display: block;
}
.gen-count span {
  opacity: 0.8;
  font-size: 13px;
  font-weight: 700;
}
.gen-grid {
  grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
  gap: 6px;
  display: grid;
}
.gen-grid.mine {
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}
.gen-tile {
  aspect-ratio: 1;
  border: 2.5px solid var(--rc, #cfd6c4);
  background: #24312a;
  border-radius: 12px;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.gen-tile .gen-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.gen-tile img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.gen-tile .gen-n {
  color: #fff;
  background: #0f14106b;
  border-radius: 999px;
  padding: 1px 5px;
  font-size: 9.5px;
  font-weight: 800;
  position: absolute;
  top: 3px;
  left: 4px;
}
.gen-tile.unk {
  background: repeating-linear-gradient(135deg, #26342c 0 6px, #2b3a31 6px 12px);
  border-color: #3a4a40;
  place-items: center;
  display: grid;
}
.gen-tile.unk b {
  font-family: var(--display);
  color: #ffffff47;
  font-size: 24px;
}
.gen-tile.is-mine {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4.5px var(--rc);
}
.gen-tile .gen-mine {
  color: #fff;
  background: var(--rc);
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 800;
  position: absolute;
  bottom: 4px;
  right: 4px;
}
.gen-card h3 {
  font-family: var(--display);
  margin: 10px 2px 4px;
  font-size: 20px;
}
.gen-card h3 small {
  font-family: var(--body);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}
.gen-card dl {
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  margin: 6px 2px 8px;
  font-size: 14px;
  display: grid;
}
.gen-card dt {
  color: var(--ink-soft);
  font-weight: 700;
}
.gen-card dd {
  margin: 0;
  font-weight: 700;
}
.gen-art {
  aspect-ratio: 1;
  border: 3px solid var(--rc);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.gen-art img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.gen-rar {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 800;
  position: absolute;
  top: 8px;
  right: 8px;
}
.gen-status {
  color: var(--sprout-deep);
  background: #eef5e6;
  border-radius: 12px;
  margin: 4px 0 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
}
.gen-show {
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
}
.gen-show input {
  width: 22px;
  height: 22px;
  accent-color: var(--sprout);
}
.gen-wide {
  width: 100%;
  margin-top: 6px;
}
.gen-reveal {
  z-index: 90;
  opacity: 0;
  background: radial-gradient(circle at 50% 40%, #1e2822db, #080c0af5);
  place-items: center;
  padding: 20px;
  transition: opacity 0.35s;
  display: grid;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.gen-reveal.on {
  opacity: 1;
}
.gen-rays {
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--rc) 35%, transparent) 0 8deg, transparent 8deg 22deg);
  animation: 18s linear infinite gen-spin;
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -40%;
  right: -40%;
  -webkit-mask-image: radial-gradient(circle, #000 0 30%, #0000 62%);
  mask-image: radial-gradient(circle, #000 0 30%, #0000 62%);
}
@keyframes gen-spin {
  to {
    transform: rotate(360deg);
  }
}
.gen-rv-in {
  text-align: center;
  color: #fff;
  width: min(340px, 100%);
  position: relative;
}
.gen-kicker {
  font-family: var(--display);
  color: #f6d78e;
  margin: 0 0 12px;
  font-size: 21px;
}
.gen-rv-in h2 {
  font-family: var(--display);
  margin: 14px 0 4px;
  font-size: 26px;
}
.gen-rv-in p {
  opacity: 0.92;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.35;
}
.gen-art.big {
  box-shadow: 0 0 40px color-mix(in srgb, var(--rc) 60%, transparent);
  opacity: 0;
  transition:
    transform 0.7s cubic-bezier(0.2, 1.4, 0.4, 1) 0.15s,
    opacity 0.4s 0.15s;
  transform: scale(0.6) rotate(-8deg);
}
.gen-reveal.on .gen-art.big {
  opacity: 1;
  transform: none;
}
.gen-rv-btns {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  display: flex;
}
.gen-reveal.r-mitico .gen-kicker,
.gen-reveal.r-legendario .gen-kicker {
  animation: 1.6s ease-in-out infinite gen-pulse;
}
@keyframes gen-pulse {
  50% {
    transform: scale(1.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gen-rays {
    animation: none;
  }
  .gen-art.big {
    transition: none;
  }
}
.gen-rv-in .pill-btn {
  color: var(--ink);
  height: 48px;
}
.gen-claim {
  background: #f3f5ee;
  border: 1.5px solid #d9e2cc;
  border-radius: 14px;
  margin: 6px 0 8px;
  padding: 10px 12px;
}
.gen-claim p {
  color: var(--ink-soft);
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.38;
}
.gen-claim p b {
  color: var(--ink);
}
.gen-adult {
  color: var(--ink-soft);
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 10px;
  font-size: 12.5px;
  line-height: 1.35;
  display: flex;
}
.gen-adult input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.gen-adult a {
  color: var(--sprout-deep);
}
.gen-claim .done-btn:disabled {
  opacity: 0.5;
}
.gen-me {
  background: #f3f5ee;
  border-radius: 14px;
  margin: 6px 0 4px;
  padding: 10px 12px;
}
.gen-me p {
  color: var(--ink-soft);
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.35;
}
.gen-me .pill-btn:disabled {
  opacity: 0.6;
}
.gen-adv {
  color: var(--ink-soft);
  opacity: 0.7;
  text-align: center;
  margin-top: 8px;
  font-size: 11.5px;
  text-decoration: underline;
  display: block;
}
.pact-band b {
  color: #2c4a26;
}
.pact-band {
  background: linear-gradient(135deg, #eef3e4, #e3ead6);
  border: 1px solid #cfd9bf;
}
.pact-band .hy-ico {
  width: 56px;
}
.pact-band .hy-ico img,
.pact-band .hy-ico img:last-child {
  width: 56px;
  height: 60px;
  top: -4px;
  left: 0;
}
.pact-hero {
  color: #eef3e4;
  background: #2f4a2a;
  border-radius: 20px;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 14px 18px 14px 12px;
  display: flex;
}
.pact-hero img {
  object-fit: contain;
  flex: none;
  width: 74px;
  height: 80px;
}
.pact-hero b {
  font-family: var(--display);
  letter-spacing: -0.01em;
  color: #fff;
  font-size: 24px;
  display: block;
}
.pact-hero small {
  color: #d7e2cc;
  font-size: 15px;
  line-height: 1.35;
  display: block;
}
.pact-invite {
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 6px;
  display: flex;
}
.pact-invite svg {
  width: 20px;
  height: 20px;
}
.pact-tiers {
  gap: 10px;
  margin-bottom: 10px;
  display: grid;
}
.pact-tier {
  background: var(--tag);
  border: 1.5px solid var(--tag-edge);
  border-radius: 18px;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  display: flex;
}
.pact-tier .pt-n {
  color: #fff;
  width: 46px;
  height: 46px;
  font-family: var(--display);
  background: #e6e8df;
  border-radius: 13px;
  flex: none;
  place-items: center;
  font-size: 19px;
  font-weight: 800;
  display: grid;
}
.pact-tier b {
  font-family: var(--display);
  color: #8a978c;
  font-size: 17px;
  display: block;
}
.pact-tier small {
  color: #98a39a;
  font-size: 14px;
  line-height: 1.35;
  display: block;
}
.pact-tier small .coin {
  opacity: 0.7;
}
.pact-tier.done .pt-n {
  background: #4c6b30;
}
.pact-tier.done b {
  color: var(--ink);
}
.pact-tier.done small {
  color: var(--ink-soft);
}
.pact-tier.done small .coin {
  opacity: 1;
}
.pact-tier.next {
  background: #fff6e2;
  border-color: #d9a640;
}
.pact-tier.next .pt-n {
  background: #d6a640;
}
.pact-tier.next b {
  color: var(--ink);
}
.pact-tier.next small {
  color: var(--ink-soft);
}
.pact-tier.next small .coin {
  opacity: 1;
}
.pact-row .pr-st {
  color: #9a6b12;
  text-align: right;
  align-items: center;
  gap: 4px;
  font-size: 14.5px;
  font-weight: 800;
  display: inline-flex;
}
.pact-row.done .pr-st {
  color: #3f6a2a;
}
.pact-tag {
  color: #eef3e4;
  background: #2f4a2a;
  border-radius: 999px;
  margin: 2px 0 4px;
  padding: 3px 10px;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-block;
}
.invite-app {
  background: #fff7e6;
  border: 2px solid #f2c230;
  border-radius: 14px;
  gap: 6px;
  margin: 0 0 8px;
  padding: 12px 14px;
  display: grid;
}
.invite-app b {
  font-size: 15px;
}
.invite-app small {
  font-size: 13.5px;
  line-height: 1.35;
}
.invite-app .ia-code {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}
.invite-app code {
  font: 800 20px var(--display);
  letter-spacing: 0.08em;
}
.sheet p.note.pact-by {
  background: #eef3e4;
  border-radius: 14px;
  margin: 0 0 12px;
  padding: 10px 12px;
}
button.rank-row {
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button.rank-row.can-visit:active {
  transform: scale(0.985);
}
.visitbar .vo {
  font-family: var(--body);
  color: var(--ink-soft);
  background: #1d35271a;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12.5px;
  font-weight: 800;
}
html.is-night .visitbar .vo {
  color: #dfe6ff;
  background: #ffffff24;
}
.visitNav.view-only,
.bottombar.view-only {
  justify-content: center;
}
.share-chip {
  left: 50%;
  bottom: calc(118px + var(--safe-b));
  opacity: 0;
  z-index: 30;
  color: #fff;
  box-shadow: var(--shadow);
  white-space: nowrap;
  background: #1f4d26;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 800;
  transition:
    transform 0.35s,
    opacity 0.35s;
  display: inline-flex;
  position: fixed;
  transform: translate(-50%, 20px);
}
.share-chip.in {
  opacity: 1;
  transform: translate(-50%);
}
.share-chip svg {
  width: 18px;
  height: 18px;
}
.share-wrap {
  place-items: center;
  margin-bottom: 12px;
  display: grid;
}
.share-wrap img {
  width: min(100%, 300px);
  box-shadow: var(--shadow);
  border-radius: 18px;
}
.share-moment {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}
.share-moment svg {
  width: 18px;
  height: 18px;
}
.clan-chip {
  padding: 2px 4px;
  box-shadow: none !important;
  background: 0 0 !important;
}
.clan-chip svg {
  filter: drop-shadow(0 2px 3px #00000040);
  display: block;
}
.clan-band {
  background: linear-gradient(135deg, #eceee7, #e1e4dc);
  border: 1px solid #cfd3c8;
}
.clan-band b {
  color: #23302a;
}
.clan-band .hy-ico {
  place-items: center;
  width: 56px;
  display: grid;
}
.clan-hero {
  color: #fff;
  background: #1f2a24;
  border-radius: 22px;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  padding: 14px 16px;
  display: flex;
}
.clan-hero svg {
  filter: drop-shadow(0 3px 6px #00000059);
  flex: none;
}
.clan-hero b {
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.1;
  display: block;
}
.clan-hero small {
  color: #cfd9c8;
  margin-top: 2px;
  font-size: 14px;
  display: block;
}
.chip-gold {
  color: #2a2208;
  background: #f3b62e;
  border-radius: 999px;
  margin-top: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 800;
  display: inline-block;
}
.clan-desc {
  color: var(--ink-soft);
  margin: 4px 8px 2px;
  font-size: 15px;
  font-style: italic;
  line-height: 1.4;
}
.clan-role {
  margin-top: 2px !important;
}
.clan-box {
  margin-bottom: 6px;
}
.clan-box .section-title {
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  display: flex;
}
.sheet .section-title:has(small) {
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  display: flex;
}
.section-title small {
  font-family: var(--body);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 700;
}
.clan-goal {
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  border-radius: 14px;
  margin-bottom: 8px;
  padding: 10px 12px;
}
.clan-goal .cg-h {
  justify-content: space-between;
  font-size: 15px;
  display: flex;
}
.clan-goal .cg-h span {
  color: var(--ink-soft);
  font-weight: 800;
}
.clan-goal.done {
  background: #eef6e6;
  border-color: #b9d8a4;
}
.clan-goal.done .cg-h span {
  color: #3f6a2a;
}
.clan-box .bar,
.clan-goal .bar {
  background: #e6e8df;
  border-radius: 6px;
  height: 10px;
  margin-top: 6px;
  overflow: hidden;
}
.clan-box .bar.big {
  height: 14px;
  margin: 2px 4px 0;
}
.clan-box .bar i,
.clan-goal .bar i {
  background: linear-gradient(90deg, #5aa83c, #3f8a2a);
  border-radius: 6px;
  height: 100%;
  display: block;
}
.clan-league {
  gap: 6px;
  display: grid;
}
.cl-row {
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  border-radius: 14px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  display: flex;
}
.cl-row.me {
  background: #eef6e6;
  border-color: #b9d8a4;
}
.cl-row .pos {
  text-align: center;
  width: 20px;
  color: var(--ink-soft);
  font-weight: 800;
}
.cl-row svg {
  flex: none;
}
.cl-row .cl-nm {
  flex: 1;
  min-width: 0;
}
.cl-row .cl-nm b {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  display: block;
  overflow: hidden;
}
.cl-row .cl-nm small {
  color: var(--ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  display: block;
  overflow: hidden;
}
.cl-row .v {
  font-weight: 800;
}
.clan-donate {
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 4px 0;
  display: flex;
}
.cd-l {
  color: var(--ink-soft);
  margin: 8px 6px 0;
  font-size: 13px;
  font-weight: 800;
  display: block;
}
.clan-mem .rank {
  font-family: var(--body);
  color: #4d6455;
  vertical-align: 2px;
  background: #e6e8df;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 800;
}
.clan-mem .rank.leader {
  color: #2a2208;
  background: #f3b62e;
}
.clan-mem .rank.captain {
  color: #1f3b66;
  background: #cfe0f5;
}
.clan-mem.me {
  background: #eef6e6;
}
.clan-mem .v {
  font-weight: 800;
}
.clan-mem .more {
  font-size: 20px;
}
.clan-actions {
  gap: 8px;
  margin-top: 14px;
  display: grid;
}
.clan-actions .done-btn {
  justify-content: center;
  align-items: center;
  gap: 8px;
  display: flex;
}
.clan-menu {
  gap: 8px;
  display: grid;
}
.clan-create {
  width: 100%;
  margin: 4px 0 10px;
}
.clan-create.off {
  filter: grayscale(0.6);
  opacity: 0.75;
}
.clan-prev {
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  border-radius: 18px;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 10px 12px;
  display: flex;
}
.clan-prev svg {
  flex: none;
}
.clan-prev b {
  font-family: var(--display);
  font-size: 20px;
  display: block;
}
.clan-prev small {
  color: var(--ink-soft);
  font-size: 14px;
}
.clan-in {
  box-sizing: border-box;
  border: 1.5px solid var(--tag-edge);
  width: 100%;
  font: inherit;
  resize: none;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 6px;
  padding: 12px 14px;
  font-size: 16px;
}
.clan-syms {
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  display: grid;
}
.clan-syms .cs {
  background: var(--tag);
  border: 1.5px solid var(--tag-edge);
  border-radius: 14px;
  place-items: center;
  padding: 4px;
  display: grid;
}
.clan-syms .cs.on {
  background: #fff6e2;
  border-color: #d9a640;
}
.clan-cols {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  display: flex;
}
.clan-cols .cc {
  border: 3px solid #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  box-shadow: 0 0 0 1px #d3d9c8;
}
.clan-cols .cc.on {
  box-shadow: 0 0 0 3px #d9a640;
}
.rk-clan {
  vertical-align: -3px;
  margin-right: 3px;
  display: inline-block;
}
.vb-clan {
  display: inline-flex;
}
.moon-chip {
  gap: 6px;
  padding: 0 14px 0 8px;
  font-size: 16px;
}
.moon-chip .ico {
  place-items: center;
  display: grid;
}
.moon-chip.ready {
  animation: 1.6s ease-in-out infinite moonPulse;
}
@keyframes moonPulse {
  50% {
    box-shadow:
      0 0 0 4px #6fd8ff73,
      var(--shadow);
  }
}
.moon-hud {
  left: 10px;
  right: 10px;
  top: calc(64px + var(--safe-t));
  bottom: calc(14px + var(--safe-b));
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  display: none;
  position: absolute;
  pointer-events: none !important;
}
.moon-hud > * {
  pointer-events: auto;
}
body.on-moon .moon-hud {
  display: flex;
}
body.on-moon .bottombar,
body.on-moon .left-stack .save-chip,
body.on-moon .left-stack .rain-chip,
body.on-moon #hud > .earth-btn,
body.on-moon .rank-chip,
body.on-moon .share-chip,
body.on-moon .clan-chip {
  display: none !important;
}
.moon-hud .o2 {
  color: #eaf6ff;
  background: #0c1228e0;
  border: 1px solid #2f3b66;
  border-radius: 16px;
  width: min(420px, 100%);
  padding: 10px 12px;
}
.moon-hud .o2-top {
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  display: flex;
}
.moon-hud .o2-title {
  font-family: var(--display);
  font-size: 16px;
}
.moon-hud .o2-sub {
  opacity: 0.75;
  font-size: 13px;
}
.moon-hud .o2-bar {
  background: #23305a;
  border-radius: 6px;
  height: 10px;
  margin-top: 7px;
  position: relative;
  overflow: hidden;
}
.moon-hud .o2-bar i {
  background: linear-gradient(90deg, #5cc8ff, #bff0ff);
  border-radius: 6px;
  transition: width 0.8s;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}
.moon-hud .o2-bar s {
  background: repeating-linear-gradient(45deg, #5cc8ff40 0 4px, #0000 4px 8px);
  position: absolute;
  top: 0;
  bottom: 0;
}
.moon-hud .moon-acts {
  gap: 8px;
  width: min(420px, 100%);
  margin-top: auto;
  margin-bottom: 10px;
  display: grid;
}
.moon-act {
  background: var(--tag);
  min-height: 48px;
  color: var(--ink);
  box-shadow: var(--shadow);
  border-radius: 16px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  font-size: 15.5px;
  font-weight: 800;
  display: flex;
}
.moon-act .s {
  opacity: 0.7;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}
.moon-act.go {
  background: var(--sprout);
  color: #fff;
  box-shadow: 0 3px 0 var(--sprout-deep);
}
.moon-act.go .s {
  opacity: 0.9;
}
.moon-act:disabled {
  opacity: 0.6;
}
.moon-back {
  color: #fff;
  height: 50px;
  font-family: var(--display);
  background: #26335c;
  border-radius: 18px;
  padding: 0 28px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 4px #141c38;
}
.crash-pop {
  left: 0;
  right: 0;
  top: calc(70px + var(--safe-t));
  background: var(--tag);
  width: min(340px, 100vw - 24px);
  box-shadow: var(--shadow);
  color: var(--ink);
  z-index: 20;
  border-radius: 18px;
  gap: 8px;
  margin: 0 auto;
  padding: 14px 16px;
  animation: 0.25s tin;
  display: grid;
  position: absolute;
}
.crash-pop b {
  font-family: var(--display);
  font-size: 19px;
}
.crash-pop span {
  font-size: 14.5px;
  line-height: 1.4;
}
.ufo-tile {
  background: #1d2a4a;
  border-radius: 16px;
  flex: none;
  place-items: center;
  width: 64px;
  height: 64px;
  display: grid;
}
.ufo-tile svg {
  width: 42px;
  height: 42px;
}
.moon-part {
  background: #fff;
  border: 1px solid #e3e6dc;
  border-radius: 16px;
  gap: 4px;
  margin: 8px 0;
  padding: 12px 14px;
  display: grid;
}
.moon-part.ok {
  border: 2px solid var(--sprout);
}
.moon-part .row {
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  display: flex;
}
.moon-part .row span {
  color: #6b6f63;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.moon-part.ok .row span {
  color: var(--sprout-deep);
}
.moon-part small {
  color: #6b6f63;
}
.moon-part .bar {
  background: #eceee6;
  border-radius: 6px;
  height: 8px;
  margin-top: 4px;
  overflow: hidden;
}
.moon-part .bar i {
  background: #f0a41c;
  height: 100%;
  display: block;
}
.moon-part.ok .bar i {
  background: var(--sprout);
}
.moon-go {
  background: #26335c;
  width: 100%;
  margin-top: 8px;
  box-shadow: 0 4px #141c38;
}
.moon-go.off {
  opacity: 0.5;
}
.travel-ov {
  z-index: 200;
  opacity: 0;
  pointer-events: auto;
  background: #04060d;
  place-items: center;
  transition: opacity 0.6s;
  display: grid;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.travel-ov.on {
  opacity: 1;
}
.travel-ov.out {
  opacity: 0;
}
.travel-ov b {
  color: #eaf6ff;
  font-family: var(--display);
  font-size: 24px;
  position: relative;
}
.travel-ov .stars {
  background-image: radial-gradient(2px 2px at 20% 30%, #fff, #0000), radial-gradient(1.5px 1.5px at 70% 60%, #fff, #0000),
    radial-gradient(2px 2px at 40% 80%, #cfe3ff, #0000), radial-gradient(1.5px 1.5px at 85% 20%, #fff, #0000),
    radial-gradient(1.5px 1.5px at 10% 70%, #fff, #0000), radial-gradient(2px 2px at 55% 15%, #fff, #0000);
  background-size: 300px 300px;
  animation: 2.6s linear warp;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
@keyframes warp {
  0% {
    transform: scale(1);
  }
  to {
    opacity: 0.3;
    transform: scale(2.6);
  }
}
@media (prefers-reduced-motion: reduce) {
  .travel-ov .stars,
  .moon-chip.ready {
    animation: none;
  }
}
.moon-hud .o2 {
  cursor: pointer;
}
.moon-hud .o2.claim {
  border-color: #8fe07a;
  box-shadow: 0 0 0 3px #8fe07a59;
}
.moon-hud .o2.claim .o2-sub {
  color: #b6f5a4;
  opacity: 1;
  font-weight: 800;
}
.logbook {
  gap: 8px;
  margin: 10px 0 6px;
  display: grid;
}
.logbook .mis {
  background: #fff;
  border: 1px solid #e3e6dc;
  border-radius: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 10px;
  padding: 10px 12px;
  display: grid;
}
.logbook .mis b {
  font-size: 15px;
  display: block;
}
.logbook .mis small {
  color: #6b6f63;
}
.logbook .mis .rw {
  color: #6a5a1a;
  text-align: right;
  max-width: 150px;
  font-size: 13px;
  font-weight: 700;
}
.logbook .mis.done {
  opacity: 0.6;
}
.logbook .mis.now {
  border: 2px solid #f0a41c;
}
.logbook .mis.ready {
  border-color: var(--sprout);
}
.logbook .mis.lock {
  opacity: 0.45;
}
.logbook .mis .done-btn {
  grid-column: 1/-1;
  height: 40px;
  font-size: 15.5px;
}
.meteors {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
  display: grid;
}
.met {
  text-align: center;
  background: #fff;
  border: 1px solid #e3e6dc;
  border-radius: 12px;
  justify-items: center;
  gap: 4px;
  padding: 8px 4px;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  position: relative;
}
.met i {
  background: radial-gradient(circle at 35% 30%, var(--v), var(--c) 60%);
  border-radius: 42% 58% 48% 52%;
  width: 30px;
  height: 30px;
  box-shadow: inset -3px -4px #0000002e;
}
.met.rare i {
  box-shadow:
    0 0 10px var(--v),
    inset -3px -4px 0 #0000002e;
}
.met.off i {
  filter: grayscale() brightness(0.75);
  opacity: 0.35;
}
.met.off {
  color: #9aa092;
}
.met small {
  color: #6b6f63;
  position: absolute;
  top: 4px;
  right: 6px;
}
.moon-final {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 6px 0 12px;
  display: flex;
}
.moon-final ul {
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
.moon-final li {
  background: #78aadc1f;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.35;
}
.friend-list {
  flex-direction: column;
  gap: 8px;
  display: flex;
}
a.setting {
  color: inherit;
  text-decoration: none;
}
.crash-pop a.done-btn {
  justify-content: center;
  align-items: center;
  text-decoration: none;
  display: flex;
}
.discord-btn {
  color: #fff;
  background: #5865f2;
  border-radius: 16px;
  align-items: center;
  gap: 12px;
  margin: 8px 0 14px;
  padding: 12px 14px;
  text-decoration: none;
  display: flex;
  box-shadow: 0 3px #3c45b8;
}
.discord-btn .dc-ico {
  background: #ffffff2e;
  border-radius: 12px;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  display: grid;
}
.discord-btn .dc-txt {
  flex: 1;
  line-height: 1.25;
  display: grid;
}
.discord-btn .dc-txt b {
  font-size: 15.5px;
}
.discord-btn .dc-txt small {
  opacity: 0.85;
  font-size: 12.5px;
}
.discord-btn .chev {
  opacity: 0.8;
  font-size: 22px;
}
.save-chip {
  color: #3a2400;
  background: #ffb340;
  gap: 7px;
  padding: 0 14px 0 9px;
  font-size: 15px;
  font-weight: 700;
  animation: 2.4s ease-in-out infinite savePulse;
  box-shadow: 0 3px #c97f12;
}
.save-chip .ico {
  place-items: center;
  display: grid;
}
@keyframes savePulse {
  0%,
  to {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@media (prefers-reduced-motion: reduce) {
  .save-chip {
    animation: none;
  }
}
.app-btn {
  color: #fff;
  text-align: left;
  width: 100%;
  font: inherit;
  cursor: pointer;
  background: #2f6b2a;
  border: 0;
  border-radius: 16px;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  display: flex;
  box-shadow: 0 3px #1f4a1c;
}
.app-btn .dc-ico {
  background: #ffffff2e;
  border-radius: 12px;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  display: grid;
}
.app-btn .dc-txt {
  flex: 1;
  line-height: 1.25;
  display: grid;
}
.app-btn .dc-txt b {
  font-size: 15.5px;
}
.app-btn .dc-txt small {
  opacity: 0.85;
  font-size: 12.5px;
}
.app-btn .chev {
  opacity: 0.8;
  font-size: 22px;
}
.os-tabs {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 6px 0 14px;
  display: grid;
}
.os-tab {
  border: 2px solid var(--edge, #e2dccb);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  background: #fff;
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px;
  font-size: 16px;
  font-weight: 800;
  display: flex;
}
.os-tab.on {
  color: #2f6b2a;
  background: #eef7e6;
  border-color: #4f9d35;
}
.app-steps {
  gap: 10px;
  margin-bottom: 12px;
  display: grid;
}
.app-step {
  border: 1px solid var(--edge, #e2dccb);
  background: #fff;
  border-radius: 14px;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  display: flex;
}
.app-step .n {
  color: #fff;
  background: #4f9d35;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: 14px;
  font-weight: 800;
  display: grid;
}
.app-step .ic {
  color: #2f6b2a;
  flex: none;
  place-items: center;
  padding-top: 2px;
  display: grid;
}
.app-step .t {
  font-size: 15px;
  line-height: 1.4;
}
.friend-row .icon-x.armed,
.icon-x.armed {
  white-space: nowrap;
  color: #fff;
  background: #c4432f;
  width: auto;
  min-width: 68px;
  padding: 0 12px;
  font-size: 13.5px;
}
.clan-tree-info {
  gap: 4px;
  margin: 2px 0 8px;
  font-size: 13.5px;
  line-height: 1.35;
  display: grid;
}
.clan-tree-info .ct-names {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}
.clan-tree-info .ct-names span {
  background: #eef3e6;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12.5px;
}
.clan-tree-info .ct-names span.me {
  background: #d9efc8;
  font-weight: 700;
}
.clan-tree-info small {
  color: var(--ink-soft, #4c5b58);
}
.clan-perks ul {
  gap: 5px;
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.35;
  display: grid;
}
.clan-perks .sk {
  margin-top: 2px;
  display: block;
}
.clan-tabs {
  z-index: 2;
  background: #e9ecdf;
  border-radius: 14px;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 10px 0 12px;
  padding: 4px;
  display: grid;
  position: sticky;
  top: 0;
}
.clan-tab {
  font: inherit;
  color: var(--ink-soft, #4c5b58);
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 10px;
  padding: 9px 4px;
  font-size: 14px;
  font-weight: 700;
}
.clan-tab.on {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 3px #00000014;
}
.clan-pane[hidden] {
  display: none;
}
.clan-streak {
  background: #fff5e6;
  border: 1px solid #f3dcb4;
  border-radius: 16px;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  padding: 12px 14px;
  display: flex;
}
.clan-streak .ico {
  font-size: 26px;
}
.clan-streak div {
  gap: 2px;
  line-height: 1.35;
  display: grid;
}
.clan-streak small {
  color: var(--ink-soft, #4c5b58);
  font-size: 13.5px;
}
.clan-perk-grid {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}
.clan-perk {
  border: 1px solid var(--edge, #e2dccb);
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  background: #fff;
  border-radius: 14px;
  justify-items: start;
  gap: 2px;
  padding: 12px;
  display: grid;
}
.clan-perk .ico {
  font-size: 22px;
}
.clan-perk b {
  font-size: 15px;
}
.clan-perk small {
  color: var(--ink-soft, #4c5b58);
  font-size: 12.5px;
}
.clan-streak .ico {
  color: #d9772a;
  place-items: center;
  display: grid;
}
.clan-perk .ico {
  color: #2f6b2a;
  display: grid;
}
.arrange-band .ar-ico {
  color: #2f6b2a;
  background: #eef7e6;
  border-radius: 14px;
  flex: none;
  place-items: center;
  width: 56px;
  height: 56px;
  display: grid;
}
.arr-grid {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}
.arr-card {
  border: 1px solid var(--edge, #e2dccb);
  font: inherit;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  background: #fff;
  border-radius: 16px;
  justify-items: start;
  gap: 3px;
  padding: 12px;
  display: grid;
}
.arr-card:active {
  transform: scale(0.98);
}
.arr-card .arr-pic {
  margin-bottom: 4px;
  display: block;
}
.arr-card b {
  font-size: 15px;
}
.arr-card small {
  color: var(--ink-soft, #4c5b58);
  font-size: 12.5px;
  line-height: 1.3;
}
.arr-mine {
  gap: 8px;
  display: grid;
}
.arr-row {
  border: 1px solid var(--edge, #e2dccb);
  background: #fff;
  border-radius: 14px;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  display: flex;
}
.arr-row > div {
  flex: 1;
  gap: 2px;
  min-width: 0;
  display: grid;
}
.arr-row small {
  color: var(--ink-soft, #4c5b58);
  font-size: 12.5px;
}
.arr-row .muted {
  color: var(--ink-soft, #4c5b58);
}
.layout-bar {
  left: 10px;
  right: 10px;
  bottom: calc(14px + var(--safe-b, 0px));
  z-index: 30;
  background: var(--tag, #fbf8ef);
  box-shadow: var(--shadow);
  border-radius: 20px;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  padding: 12px 12px 12px 16px;
  display: flex;
  position: fixed;
}
.layout-bar .lt {
  flex: 1;
  gap: 2px;
  min-width: 0;
  display: grid;
}
.layout-bar .lt b {
  font-size: 16px;
}
.layout-bar .lt small {
  color: var(--ink-soft, #4c5b58);
  font-size: 12.5px;
}
.layout-bar .done-btn {
  width: auto;
  padding: 0 18px;
}
body.layout-preview .bottombar,
body.layout-preview .left-stack,
body.layout-preview .zoom,
body.layout-preview .rank-chip {
  display: none !important;
}
.pill-btn.house-move {
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 4px 0 10px;
  display: flex;
}
.pill-btn.house-move svg {
  width: 18px;
  height: 18px;
}
.placebar .pill-btn.rot-btn {
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  padding: 0;
  display: grid;
}
.dc-step {
  background: var(--card, #f4f1ea);
  border-radius: 14px;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
  padding: 12px;
  display: flex;
}
.dc-step .n {
  color: #fff;
  background: #5865f2;
  border-radius: 50%;
  flex: 0 0 30px;
  place-items: center;
  height: 30px;
  font-weight: 800;
  display: grid;
}
.dc-step .txt {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  display: flex;
}
.dc-step .txt small {
  opacity: 0.7;
}
.dc-step .pill-btn,
.dc-step .done-btn {
  flex: none;
  padding: 8px 14px;
  text-decoration: none;
}
.note.small {
  opacity: 0.7;
  font-size: 12px;
}
.dc-step .pill-btn {
  background: #fff;
  box-shadow: 0 1px #00000014;
}
.dc-step + .link-btn {
  margin: 12px 0 4px;
  display: block;
}
.zen-band {
  background: linear-gradient(100deg, #e9ece2, var(--tag) 70%);
  border-color: #c9cfbb;
}
.zen-band b {
  color: #34452e;
}
.maple-band {
  background: linear-gradient(100deg, #f7dcdc, var(--tag) 72%);
  border-color: #e3a9a9;
}
.maple-band b {
  color: #8d1426;
}
.hy-band .hy-ico.one img {
  width: 60px;
  height: 60px;
  top: -2px;
  left: 4px;
}
.zen-hero {
  background: #2e3a2c;
}
.maple-hero {
  background: linear-gradient(120deg, #5b0d18, #8d1426);
}
.maple-hero small {
  color: #f6cdd3;
}
.zen-slots {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  display: grid;
}
.zen-slot {
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  text-align: center;
  border-radius: 14px;
  align-content: start;
  justify-items: center;
  gap: 2px;
  min-height: 108px;
  padding: 8px 4px 6px;
  display: grid;
}
.zen-slot img {
  object-fit: contain;
  width: 58px;
  height: 58px;
}
.zen-slot b {
  font-size: 12.5px;
  line-height: 1.15;
}
.zen-slot small {
  color: var(--ink-soft);
  font-size: 11.5px;
}
.zen-slot.free {
  background: #f4f1e8;
  border-style: dashed;
}
.zen-slot.closed {
  opacity: 0.7;
  background: #ece9e2;
}
.zen-slot .zs-free,
.zen-slot .zs-lock {
  border: 2px dashed #b9b19c;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  margin: 14px 0 6px;
}
.zen-slot .zs-lock {
  background: #cfc9bb;
  border: none;
  border-radius: 9px;
  width: 26px;
  height: 22px;
  margin-top: 22px;
  position: relative;
}
.zen-slot .zs-lock:before {
  content: "";
  border: 3px solid #cfc9bb;
  border-bottom: none;
  border-radius: 9px 9px 0 0;
  width: 12px;
  height: 12px;
  position: absolute;
  top: -10px;
  left: 5px;
}
.zen-rm {
  color: var(--warn);
  background: #0000000a;
  border-radius: 9px;
  margin-top: 4px;
  padding: 4px 6px;
  font-size: 11px;
  font-weight: 700;
}
.zen-up {
  margin: 0 0 14px;
}
.zen-next {
  margin: 0 0 6px;
}
.zen-master.done {
  color: var(--sprout-deep);
}
.tag.owned {
  border-color: #9fb88a;
}
.tag .zen-have {
  color: var(--sprout-deep);
  font-size: 11px;
  font-weight: 800;
}
.tag.busy {
  opacity: 0.6;
  pointer-events: none;
}
.req-list {
  gap: 8px;
  margin-bottom: 10px;
  display: grid;
}
.req-row {
  background: var(--tag);
  border: 1px solid var(--tag-edge);
  border-radius: 14px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  display: flex;
}
.req-row b {
  font-size: 15px;
  display: block;
}
.req-row small {
  color: var(--ink-soft);
  font-size: 13px;
  display: block;
}
.req-mark {
  border: 2px solid #c9bfa8;
  border-radius: 50%;
  flex: none;
  width: 26px;
  height: 26px;
  position: relative;
}
.req-row.ok .req-mark {
  background: var(--sprout);
  border-color: var(--sprout);
}
.req-row.ok .req-mark:after {
  content: "";
  border: 3px solid #fff;
  border-width: 0 3px 3px 0;
  width: 6px;
  height: 12px;
  position: absolute;
  top: 3px;
  left: 8px;
  transform: rotate(45deg);
}
.zen-tabs {
  margin: 0 0 12px;
}
.zen-tabs .tab.hot {
  box-shadow: inset 0 0 0 2px #e0c46f;
}
.zen-more {
  margin: 0 0 14px;
}
.coll-item.special.bonsai {
  background: linear-gradient(180deg, #e7ece0, var(--tag));
  border-color: #c3ceb4;
}
.coll-item.special.bonsai .stars {
  color: #4d6a3a;
}
.coll-item.special.bonsai.gold {
  border-color: #d6b25a;
  box-shadow: 0 0 0 2px #d6b25a59;
}
.tree-count {
  color: var(--ink-soft);
  opacity: 0.8;
  text-align: right;
  margin: -6px 2px 8px;
  font-size: 12.5px;
}
.coll-item.special.birdc {
  background: linear-gradient(180deg, #e3eef4, var(--tag));
  border-color: #bcd2dd;
}
.coll-item.special.birdc .stars {
  color: #3d6a80;
}
.arena-chip {
  gap: 6px;
  padding: 0 14px 0 8px;
  font-size: 16px;
}
.arena-chip .ico svg {
  color: #b9800f;
  width: 22px;
  height: 22px;
}
.arena-chip.ready {
  animation: 1.6s ease-in-out infinite moonPulse;
}
.ar-hero {
  aspect-ratio: 430/300;
  background: #3a1d14;
  border-radius: 20px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.ar-hero img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}
.ar-hero-txt {
  color: #fff;
  background: linear-gradient(#0000, #1a0f0add 60%);
  gap: 2px;
  padding: 30px 14px 12px;
  display: grid;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.ar-hero-txt span {
  font: 800 10.5px var(--display);
  letter-spacing: 0.12em;
  color: #f2c230;
}
.ar-hero-txt b {
  font: 800 22px var(--display);
}
.ar-hero-txt small {
  color: #fffc;
  font-size: 13px;
}
.ar-closed {
  border: 2px dashed var(--tag-edge);
  text-align: center;
  background: #fff;
  border-radius: 14px;
  gap: 4px;
  margin: 4px 0 14px;
  padding: 12px 14px;
  display: grid;
}
.ar-closed b {
  font-size: 15px;
}
.ar-closed small {
  color: var(--ink-soft);
  font-size: 13px;
}
.ar-rules {
  gap: 6px;
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.35;
  display: grid;
}
.ar-steps {
  gap: 8px;
  margin-bottom: 14px;
  display: grid;
}
.ar-step {
  border: 1px solid var(--tag-edge);
  background: #fff;
  border-radius: 14px;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  display: grid;
}
.ar-step > span {
  color: #5a2a00;
  width: 34px;
  height: 34px;
  font: 800 17px var(--display);
  background: linear-gradient(#ffd44a, #e8a51a);
  border-radius: 50%;
  place-items: center;
  display: grid;
}
.ar-step b {
  font-size: 15.5px;
  display: block;
}
.ar-step small {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
}
.ar-fighters {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  display: grid;
}
.ar-ft {
  border: 1px solid var(--tag-edge);
  text-align: center;
  background: #fff;
  border-radius: 16px;
  justify-items: center;
  gap: 3px;
  padding: 8px 6px;
  display: grid;
}
.ar-ft.top {
  border-color: #f2c230;
  box-shadow: 0 0 0 3px #f2c23044;
}
.ar-ft img {
  object-fit: contain;
  width: 66px;
  height: 72px;
}
.ar-ft > b {
  font-size: 14px;
  line-height: 1.1;
}
.ar-ft small {
  color: var(--ink-soft);
  font-size: 12px;
}
.ar-st {
  font: 700 11px var(--display);
  color: #fff;
  border-radius: 7px;
  align-items: center;
  gap: 3px;
  padding: 2px 6px 2px 4px;
  font-style: normal;
  display: inline-flex;
}
.ar-st svg {
  width: 13px;
  height: 13px;
}
.ar-st.emb {
  background: #e2552d;
}
.ar-st.raf {
  background: #1fa4cc;
}
.ar-st.mur {
  background: #5d8a34;
}
.ar-pips {
  gap: 2px;
  display: flex;
}
.ar-pips i {
  background: #dde3cf;
  border-radius: 2px;
  width: 6px;
  height: 6px;
}
.ar-pips i.on {
  background: #e2552d;
}
.ar-change {
  margin: 10px 0 0;
}
.ar-rank {
  gap: 6px;
  display: grid;
}
.ar-rw {
  border: 1px solid var(--tag-edge);
  background: #fff;
  border-radius: 12px;
  grid-template-columns: 22px 34px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  display: grid;
}
.ar-rw span {
  font: 800 15px var(--display);
  color: var(--ink-soft);
}
.ar-rw img {
  object-fit: contain;
  width: 32px;
  height: 36px;
}
.ar-rw b {
  font-size: 14px;
}
.ar-rw b small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
}
.ar-rw em {
  font-style: normal;
  font: 800 16px var(--display);
  color: #3fae2f;
}
.ar-rw.gold {
  background: linear-gradient(90deg, #fff3c4, #fff);
}
.ar-rw.gold span {
  color: #c48a10;
}
.ar-rw.me {
  border: 2px solid var(--sprout);
}
.ar-duels {
  gap: 6px;
  display: grid;
}
.ar-duel {
  text-align: left;
  background: #fff;
  border-left: 4px solid #3fae2f;
  border-radius: 12px;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  display: grid;
}
.ar-duel.l {
  border-left-color: #e2552d;
}
.ar-duel img {
  object-fit: contain;
  width: 32px;
  height: 36px;
}
.ar-duel b {
  font-size: 13.5px;
  line-height: 1.2;
  display: block;
}
.ar-duel b span {
  color: var(--ink-soft);
  font-weight: 500;
}
.ar-duel small {
  color: var(--ink-soft);
  font-size: 12px;
}
.ar-duel em {
  font-style: normal;
  font: 800 16px var(--display);
  color: #3fae2f;
}
.ar-duel.l em {
  color: #c2553a;
}
.ar-laurels {
  background: #fff7e0;
  border: 1px solid #efd894;
  border-radius: 14px;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  display: flex;
}
.ar-li svg {
  color: #c48a10;
  width: 34px;
  height: 34px;
}
.ar-laurels b {
  display: block;
}
.ar-laurels small {
  color: var(--ink-soft);
  font-size: 12.5px;
}
.ar-how {
  margin-top: 10px;
}
.ar-mini {
  gap: 4px;
  display: flex;
}
.ar-mini span {
  font: 800 12px var(--display);
  color: #fff;
  border-radius: 6px;
  align-items: center;
  gap: 2px;
  padding: 1px 5px;
  display: flex;
}
.ar-mini svg {
  width: 12px;
  height: 12px;
}
.ar-mini .e {
  background: #e2552d;
}
.ar-mini .r {
  background: #1fa4cc;
}
.ar-mini .m {
  background: #5d8a34;
}
.ar-pick {
  gap: 6px;
  margin-bottom: 12px;
  display: grid;
}
.ar-prow {
  border: 2px solid var(--tag-edge);
  cursor: pointer;
  background: #fff;
  border-radius: 14px;
  grid-template-columns: 52px 1fr 30px;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  display: grid;
}
.ar-prow.on {
  border-color: var(--sprout);
  background: #f2f9ec;
}
.ar-prow img {
  object-fit: contain;
  width: 50px;
  height: 56px;
}
.ar-prow .pi {
  justify-items: start;
  gap: 3px;
  display: grid;
}
.ar-prow .pi b {
  font-size: 15px;
}
.ar-prow .hist {
  color: var(--ink-soft, #6b7563);
  font-size: 11px;
}
.ar-more {
  color: var(--sprout);
  font: 700 13px var(--body, inherit);
  cursor: pointer;
  background: 0 0;
  border: 0;
  justify-self: center;
  padding: 2px 10px 6px;
}
.ar-prow .fam,
.ar-fcard .fam {
  color: #fff;
  font: 800 9px var(--display);
  letter-spacing: 0.1em;
  border-radius: 5px;
  padding: 2px 6px;
}
.ck {
  border: 2px solid #cfd6c2;
  border-radius: 50%;
  place-items: center;
  width: 28px;
  height: 28px;
  display: grid;
}
.ar-prow.on .ck {
  background: var(--sprout);
  border-color: var(--sprout);
}
.ck svg {
  width: 18px;
}
.ar-stances {
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: -2px 0 6px 18px;
  display: grid;
}
.ar-sb {
  color: #fff;
  opacity: 0.55;
  border: 0;
  border-radius: 12px;
  justify-items: center;
  gap: 1px;
  padding: 7px 4px;
  display: grid;
  box-shadow: 0 3px #0002;
}
.ar-sb svg {
  width: 24px;
  height: 24px;
}
.ar-sb b {
  font: 800 12.5px var(--display);
}
.ar-sb small {
  font-size: 11px;
}
.ar-sb em {
  background: #0002;
  border-radius: 6px;
  margin-top: 2px;
  padding: 1px 6px;
  font-size: 10.5px;
  font-style: normal;
}
.ar-sb.on {
  opacity: 1;
  outline-offset: 1px;
  outline: 3px solid #f2c230;
}
.ar-sb.emb {
  background: linear-gradient(#f06a3e, #c9401c);
}
.ar-sb.raf {
  background: linear-gradient(#2fb8de, #167fa6);
}
.ar-sb.mur {
  background: linear-gradient(#6f9e44, #4a7426);
}
.ar-tri {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
  display: grid;
}
.ar-tri .ar-sb {
  outline: none;
  padding: 12px 4px;
}
.ar-tri svg {
  width: 34px;
  height: 34px;
}
.ar-fams {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  display: grid;
}
.ar-fams div {
  border: 1px solid var(--tag-edge);
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
}
.ar-fams b {
  font-size: 14px;
  display: block;
}
.ar-fams small {
  color: var(--ink-soft);
  font-size: 12px;
}
.ar-fcard {
  color: #fff;
  background: linear-gradient(#2c2318, #1a1410);
  border: 2px solid #f2c23066;
  border-radius: 22px;
  margin-bottom: 8px;
  padding: 14px;
}
.ar-fcard .fc-top {
  justify-content: space-between;
  display: flex;
}
.ar-fcard .league {
  font: 800 10.5px var(--display);
  letter-spacing: 0.1em;
  background: #fff2;
  border-radius: 7px;
  padding: 3px 8px;
}
.ar-fcard .league.oro {
  color: #5a2a00;
  background: linear-gradient(#ffd44a, #e8a51a);
}
.ar-fcard .league.plata {
  color: #1d2530;
  background: #c4ccd6;
}
.ar-fcard .league.bronce {
  background: #c8834a;
}
.ar-fcard .league.diamante {
  background: #5fa8e6;
}
.ar-fcard .fc-art {
  background: radial-gradient(circle, #f2c23044, #0000 65%);
  place-items: center;
  height: 170px;
  display: grid;
}
.ar-fcard .fc-art img {
  height: 165px;
}
.ar-fcard h2 {
  font: 800 24px var(--display);
  text-align: center;
  margin: 0;
}
.ar-fcard .sub {
  text-align: center;
  color: #fffb;
  margin-bottom: 10px;
  font-size: 13px;
}
.ar-fcard .stats {
  gap: 7px;
  display: grid;
}
.ar-stat {
  font: 700 13.5px var(--display);
  grid-template-columns: 22px 78px 1fr 30px;
  align-items: center;
  gap: 8px;
  display: grid;
}
.ar-stat svg {
  width: 20px;
  height: 20px;
}
.ar-stat.emb svg {
  color: #ff7a4a;
}
.ar-stat.raf svg {
  color: #3fc4ea;
}
.ar-stat.mur svg {
  color: #8fc45a;
}
.ar-stat b {
  text-align: right;
  font: 800 16px var(--display);
}
.ar-stat .bar {
  background: #ffffff1c;
  border-radius: 6px;
  height: 9px;
  overflow: hidden;
}
.ar-stat .bar i {
  border-radius: 6px;
  height: 100%;
  display: block;
}
.ar-stat.emb .bar i {
  background: #ff7a4a;
}
.ar-stat.raf .bar i {
  background: #3fc4ea;
}
.ar-stat.mur .bar i {
  background: #8fc45a;
}
.ar-fcard .fc-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
  display: grid;
}
.ar-fcard .fc-grid div {
  text-align: center;
  background: #ffffff12;
  border-radius: 12px;
  padding: 8px;
}
.ar-fcard .fc-grid small {
  color: #fffa;
  font-size: 11px;
  display: block;
}
.ar-fcard .fc-grid b {
  font: 800 18px var(--display);
}
.ar-felt {
  color: #fff;
  background: radial-gradient(at 50% 30%, #2f5a3a, #173022 70%, #0e1f16);
  border-radius: 22px;
  justify-items: center;
  gap: 12px;
  padding: 14px;
  display: grid;
}
.ar-score {
  text-align: center;
}
.ar-score b {
  font: 800 34px var(--display);
  color: #f2c230;
  line-height: 1;
  display: block;
}
.ar-score small {
  color: #fffb;
}
.ar-pair {
  align-items: center;
  gap: 8px;
  display: flex;
}
.ar-pair .vs {
  font: 800 16px var(--display);
  background: #e2552d;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
}
.ar-tc {
  width: 132px;
  color: var(--ink);
  text-align: center;
  background: linear-gradient(160deg, #fffdf4, #efe6cf);
  border-radius: 14px;
  justify-items: center;
  gap: 2px;
  padding: 6px;
  display: grid;
  box-shadow: 0 0 0 3px #8a6a3a;
}
.ar-tc.champ {
  box-shadow:
    0 0 0 3px #f2c230,
    0 0 18px #f2c230aa;
}
.ar-tc.lose {
  filter: grayscale(0.6) brightness(0.85);
}
.ar-tc .tc-art {
  background: radial-gradient(circle at 50% 70%, #fff, #dfe9cf);
  border-radius: 9px;
  place-items: center;
  width: 100%;
  height: 86px;
  display: grid;
}
.ar-tc .tc-art img {
  height: 82px;
}
.ar-tc b {
  font: 800 14px var(--display);
}
.ar-tc small {
  color: #7a6a4a;
  font-size: 11px;
}
.ar-rounds {
  gap: 6px;
  width: 100%;
  display: grid;
}
.ar-rr {
  background: #0004;
  border-left: 4px solid #3fae2f;
  border-radius: 12px;
  grid-template-columns: 58px 1fr 1fr;
  align-items: center;
  gap: 4px 8px;
  padding: 8px 10px;
  display: grid;
}
.ar-rr.l {
  border-left-color: #e2552d;
}
.ar-rr .n {
  font: 700 12px var(--display);
  color: #fffa;
}
.ar-rr .side {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  display: flex;
}
.ar-rr .side b {
  font: 800 18px var(--display);
  color: #f2c230;
}
.ar-rr.l .side:nth-of-type(2) b,
.ar-rr.w .side:nth-of-type(3) b {
  color: #fff8;
}
.ar-rr .side em {
  font-style: normal;
  font: 700 10px var(--display);
  color: #ffb04a;
}
.ar-rr > small {
  color: #fffa;
  grid-column: 1/-1;
  font-size: 11.5px;
}
.ar-ribbon {
  color: #5a2a00;
  font: 800 19px var(--display);
  text-align: center;
  background: linear-gradient(#ffd44a, #e8a51a);
  border-radius: 12px;
  padding: 8px 16px;
  box-shadow: 0 4px #a86a10;
}
.ar-podimg img {
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  display: block;
}
.ar-wtxt {
  text-align: center;
  margin: 0;
  font-size: 15px;
}
.ar-prize {
  background: #ffffff14;
  border: 1px solid #f2c23066;
  border-radius: 14px;
  width: 100%;
  padding: 10px 12px;
}
.ar-prize b {
  color: #f2c230;
  font-size: 15px;
  display: block;
}
.ar-prize small {
  color: #fffc;
  font-size: 12.5px;
}
.ar-podium {
  align-items: flex-end;
  gap: 8px;
  display: flex;
}
.ar-podium .pd {
  text-align: center;
  justify-items: center;
  width: 100px;
  display: grid;
}
.ar-podium img {
  object-fit: contain;
  width: 70px;
  height: 78px;
}
.ar-podium b {
  font: 800 14px var(--display);
}
.ar-podium small {
  color: #fffa;
  font-size: 11px;
}
.ar-podium .blk {
  width: 100%;
  font: 800 24px var(--display);
  border-radius: 10px 10px 0 0;
  place-items: center;
  margin-top: 6px;
  display: grid;
}
.ar-podium .p1 .blk {
  color: #5a2a00;
  background: linear-gradient(#ffd44a, #e8a51a);
  height: 70px;
}
.ar-podium .p2 .blk {
  color: #2a3440;
  background: linear-gradient(#dfe5ec, #aab4c0);
  height: 50px;
}
.ar-podium .p3 .blk {
  color: #3a1a00;
  background: linear-gradient(#e0a070, #a8622e);
  height: 38px;
}
.ar-res {
  gap: 5px;
  width: 100%;
  display: grid;
}
.ar-res div {
  background: #0004;
  border-radius: 10px;
  grid-template-columns: 30px 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  display: grid;
}
.ar-res img {
  object-fit: contain;
  width: 28px;
  height: 32px;
}
.ar-res span {
  color: #fffb;
  font-size: 13px;
}
.ar-res em {
  font-style: normal;
  font: 800 14px var(--display);
  color: #f2c230;
}
.bubble .plant-more { flex: 1; background: #eaf5df; color: #2f6b1d; }
.bubble .row-tools { display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.bubble .row-tools.two { grid-template-columns: auto 1fr 1fr 1fr; }
.bubble .row-tools .pill-btn { min-width: 0; padding-left: 6px; padding-right: 6px; font-size: 13px; white-space: nowrap; }
.bubble .rt-label { font-size: 12px; color: var(--ink-soft); white-space: nowrap; padding-right: 2px; }
.bubble .rt-label b { color: var(--ink); font-size: 14px; }
.my-score { background: #fff; border: 1px solid var(--tag-edge, #e4e8dc); border-radius: 14px; padding: 10px 12px; margin: 0 0 8px; display: grid; gap: 6px; }
.my-score:empty { display: none; }
.my-score .ms-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.my-score .ms-head b { font-size: 20px; }
.my-score .ms-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.my-score .ms-row span { display: grid; }
.my-score .ms-row small { color: var(--ink-soft); font-size: 11.5px; }
.my-score .ms-row b { white-space: nowrap; }
.my-score .ms-tip { font-size: 13px; background: #fff7e0; color: #6a5a2a; border-radius: 10px; padding: 7px 9px; }
.ms-how { display: block; margin: 0 auto 10px; font-size: 13px; }
.ms-rules { margin: 0 0 8px; padding-left: 20px; display: grid; gap: 7px; font-size: 14.5px; line-height: 1.35; }
.event-box.ev-muertos { background: linear-gradient(#5a1640, #7a2a52); }
.event-box.ev-muertos .event-head b { color: #ffb02e; }
.event-box.ev-muertos .event-head small { color: #fbe3ee; }
.event-box .tags.ev-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.event-box .tags.ev-row .tag { flex: 0 0 46%; scroll-snap-align: start; }
.event-box .tag .ev-name { display: block; text-align: center; font: 800 11px var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: #b0336a; margin: 2px 0 0; }
.event-box .tag .ev-until { display: block; font-size: 11.5px; font-weight: 700; color: #b0336a; margin-top: 4px; }
.event-box .tag.ev-new { box-shadow: 0 0 0 3px #ffb02e; }

.on-moon-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: 1px;
  margin-left: 6px;
  padding: 1px 7px 1px 5px;
  border-radius: 999px;
  background: #e6e9f0;
  color: #5a6478;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
html.is-night .on-moon-tag {
  background: #2c3346;
  color: #c6cde0;
}
/* Luna 2.0: tabla periódica y minería */
.el-tile {
  background: var(--c);
  color: #fff;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  box-shadow: inset 0 -3px #00000026;
  flex: none;
}
.el-row {
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 10px;
  display: flex;
}
.el-list {
  gap: 8px;
  margin-top: 8px;
  display: grid;
}
.el-line {
  background: #fff;
  border: 1px solid #e3e6dc;
  border-radius: 14px;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  display: flex;
}
.el-line.tap {
  cursor: pointer;
}
.el-line > div {
  flex: 1;
  min-width: 0;
  display: grid;
}
.el-line small {
  color: #6b6f63;
  font-size: 12.5px;
}
.el-badge {
  color: #fff;
  white-space: nowrap;
  background: #4c8a3a;
  border-radius: 99px;
  padding: 3px 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.el-badge.month {
  background: #2f6fd6;
}
.el-badge.ever {
  background: #d99a1e;
}
.el-prize {
  background: #fff6dc;
  border-radius: 12px;
  padding: 10px 12px;
}
.el-stats {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0 10px;
  display: grid;
}
.el-stats > div {
  text-align: center;
  background: #fff;
  border: 1px solid #e3e6dc;
  border-radius: 14px;
  padding: 8px 4px;
  display: grid;
}
.el-stats b {
  font-size: 18px;
}
.el-stats small {
  color: #6b6f63;
  font-size: 12px;
}
.el-grid {
  grid-template-columns: repeat(18, minmax(0, 1fr));
  grid-template-rows: repeat(7, auto);
  background: #11172e;
  border-radius: 14px;
  gap: 2px;
  padding: 8px;
  display: grid;
}
.el-cell {
  aspect-ratio: 1;
  background: #1d2442;
  border-radius: 3px;
}
.el-cell.q,
.el-cell.on {
  color: #8a93b8;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  font-size: clamp(7px, 2.1vw, 11px);
  font-weight: 800;
  display: flex;
  background: #2a3256;
}
.el-cell.on {
  background: var(--c);
  color: #fff;
}
.el-cell.sel {
  outline: 2px solid #fff;
  outline-offset: 1px;
  z-index: 1;
}
.el-legend {
  color: #6b6f63;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 2px 10px;
  font-size: 12.5px;
  display: flex;
}
.el-legend i {
  background: var(--c);
  vertical-align: -1px;
  border-radius: 3px;
  width: 11px;
  height: 11px;
  margin-right: 5px;
  display: inline-block;
}
.el-detail {
  background: #fff;
  border: 1px solid #e3e6dc;
  border-radius: 16px;
  gap: 12px;
  padding: 12px;
  display: flex;
}
.el-big {
  background: var(--c);
  color: #fff;
  text-align: center;
  border-radius: 14px;
  flex: none;
  place-content: center;
  width: 86px;
  height: 92px;
  display: grid;
}
.el-big b {
  font-size: 34px;
  line-height: 1.1;
}
.el-big small {
  opacity: 0.85;
  font-size: 11.5px;
}
.el-info {
  align-content: start;
  gap: 4px;
  min-width: 0;
  display: grid;
}
.el-info > b {
  font-size: 19px;
}
.el-info small {
  color: #555a50;
  font-size: 12.5px;
}
.el-chip {
  background: var(--c);
  color: #fff;
  border-radius: 99px;
  justify-self: start;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 800;
}
.el-sell {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  display: flex;
}
/* Luna: etiquetas, Tu base y Tesoros */
#hud > .moon-tags {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.mtag {
  pointer-events: auto;
  color: #fff;
  white-space: nowrap;
  background: #141b33ee;
  border: 0;
  border-radius: 13px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 5px 10px 6px;
  font: 800 12.5px/1.15 inherit;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 4px 12px #0006;
}
.mtag:after {
  content: "";
  border: 6px solid #0000;
  border-top-color: #141b33ee;
  border-bottom: 0;
  margin-left: -6px;
  position: absolute;
  bottom: -6px;
  left: 50%;
}
.mtag small {
  opacity: 0.85;
  font-size: 11px;
  font-weight: 700;
}
.mtag.ok {
  background: #3f9a35;
}
.mtag.ok:after {
  border-top-color: #3f9a35;
}
.mtag.free {
  color: #22361d;
  background: #f4f7ec;
}
.mtag.free:after {
  border-top-color: #f4f7ec;
}
.mtag.wait {
  background: #5b6170e8;
}
.mtag.wait:after {
  border-top-color: #5b6170e8;
}
.mtag .bar {
  background: #ffffff30;
  border-radius: 3px;
  width: 100%;
  min-width: 70px;
  height: 4px;
  display: block;
  overflow: hidden;
}
.mtag .bar i {
  background: #ffb340;
  height: 100%;
  display: block;
}
.moon-tip {
  pointer-events: auto;
  color: #fff;
  text-align: left;
  background: #141b33ee;
  border: 0;
  border-radius: 14px;
  padding: 10px 13px;
  font: 700 13.5px/1.35 inherit;
  position: absolute;
  bottom: calc(112px + var(--safe-b, 0px));
  left: 14px;
  right: 14px;
}
.moon-tip b {
  color: #8eeaff;
}
.moon-act .cnt {
  color: #3f8a2e;
  background: #fff;
  border-radius: 99px;
  padding: 2px 10px;
  font-style: normal;
  font-weight: 800;
}
.base-short {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 4px 0 6px;
  display: grid;
}
.base-sc,
.base-row {
  text-align: left;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid #e3e6dc;
  border-radius: 16px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 11px;
  display: flex;
}
.base-sc > span:last-child,
.base-row .tx {
  flex: 1;
  min-width: 0;
  display: grid;
}
.base-sc small,
.base-row small {
  color: #6b6f63;
  font-size: 12.5px;
}
.base-row {
  margin-bottom: 8px;
}
.base-row b {
  font-size: 15px;
}
.base-sc .ico,
.base-row .ico {
  border-radius: 11px;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
}
.base-row .st {
  white-space: nowrap;
  border-radius: 99px;
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 900;
}
.base-row .st.ready {
  color: #fff;
  background: #4f9e36;
}
.base-row .st.busy {
  color: #a66a00;
  background: #fff1d6;
}
.base-row .st.later {
  color: #7a8074;
  background: #eceee8;
}
.tr-tabs {
  background: #e4e9da;
  border-radius: 12px;
  margin: 2px 0 8px;
  padding: 3px;
  display: flex;
}
.tr-tabs button {
  font: inherit;
  color: #6b7464;
  background: none;
  border: 0;
  border-radius: 10px;
  flex: 1;
  padding: 7px;
  font-size: 14px;
  font-weight: 800;
}
.tr-tabs button.on {
  color: #22361d;
  background: #fff;
}
.tr-he {
  color: #fff;
  background: linear-gradient(135deg, #1b2a52, #24427a);
  border-radius: 16px;
  align-items: center;
  gap: 12px;
  margin: 6px 0 10px;
  padding: 11px 13px;
  display: flex;
}
.tr-he div {
  flex: 1;
  display: grid;
}
.tr-he small {
  opacity: 0.85;
  font-size: 12.5px;
}
.tr-he > span {
  color: #8eeaff;
  font-size: 22px;
  font-weight: 900;
}
.tr-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  display: grid;
}
.tr-card {
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid #e3e6dc;
  border-radius: 16px;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 4px 8px;
  display: flex;
}
.tr-card.sel {
  outline: 3px solid #4f9e36;
}
.tr-card b {
  font-size: 14px;
}
.tr-card small {
  color: #6b6f63;
  font-size: 11.5px;
}
.tr-card.unk b {
  color: #8a8f84;
}
.tr-sell {
  background: #fff;
  border: 2px solid #4f9e36;
  border-radius: 16px;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 11px 12px;
  display: flex;
}
.tr-sell > div:not(.tr-btns) {
  flex: 1;
  min-width: 0;
  display: grid;
}
.tr-sell small {
  color: #555a50;
  font-size: 12.5px;
}
.tr-btns {
  flex-basis: 100%;
  gap: 8px;
  display: flex;
}
.mtag.dot {
  border: 2px solid #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  padding: 0;
  animation: 1.6s ease-in-out infinite mtagPulse;
}
.mtag.dot:after {
  display: none;
}
@keyframes mtagPulse {
  50% {
    box-shadow: 0 0 0 6px #3f9a3540;
  }
}
/* menú de la Luna: igual al de la Tierra, botón grande en azul */
body.on-moon #hud > .bottombar.moon-nav {
  display: flex !important;
}
body.on-moon #hud > .bottombar.moon-nav.hidden,
body:not(.on-moon) #hud > .moon-nav {
  display: none !important;
}
.nursery-btn.moon {
  background: linear-gradient(180deg, #4f93ec, #2f6fd6);
  box-shadow:
    0 5px 0 #1f4fa6,
    0 12px 24px #1e2f6447;
}
.base-row .st.buy {
  color: #fff;
  background: #2f6fd6;
}
.base-row.soon {
  opacity: 0.6;
}
#hud > .earth-btn {
  position: absolute;
  top: calc(64px + var(--safe-t));
  right: 10px;
}
.earth-btn svg {
  width: 30px;
  height: 30px;
}
body:not(.on-moon) #hud > .earth-btn {
  display: none !important;
}
/* deja lugar al botón de la Tierra (arriba a la derecha) */
@media (max-width: 560px) {
  .moon-hud .o2 {
    align-self: flex-start;
    width: calc(100% - 54px);
  }
}
/* flora lunar */
.flora-row {
  text-align: left;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid #e3e6dc;
  border-radius: 16px;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 12px;
  display: flex;
}
.flora-row.off {
  opacity: 0.62;
}
.flora-row .ic {
  background: #10182f;
  border-radius: 13px;
  flex: none;
  place-items: center;
  width: 50px;
  height: 50px;
  display: grid;
}
.flora-row .tx {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 1px;
}
.flora-row b {
  font-size: 15.5px;
}
.flora-row small {
  color: #6b6f63;
  font-size: 12.5px;
}
.flora-row .cost {
  align-items: center;
  gap: 5px;
  display: flex;
}
.el-tile.sm {
  border-radius: 6px;
  width: 22px;
  height: 22px;
  font-size: 11px;
}
.done-btn.off {
  color: #7a8074;
  background: #e4e7df;
  box-shadow: 0 3px 0 #cdd2c6;
}
.flora-row .st {
  white-space: nowrap;
  border-radius: 99px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 900;
}
.flora-row .st.ready {
  color: #fff;
  background: #4f9e36;
}
.flora-row .st.later {
  color: #7a8074;
  background: #eceee8;
}
/* cuadrilla de robots */
.crew-cost {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 2px 0 12px;
  display: grid;
}
.crew-el {
  text-align: center;
  background: #fff;
  border: 1px solid #e3e6dc;
  border-radius: 14px;
  justify-items: center;
  gap: 2px;
  padding: 9px 4px;
  display: grid;
}
.crew-el.ok {
  border-color: #4f9e36;
  background: #f1f8ee;
}
.crew-el b {
  font-size: 14px;
}
.crew-el small {
  color: #6b6f63;
  font-size: 11.5px;
}
.base-row .st.busy {
  color: #a66a00;
  background: #fff1d6;
}
.done-btn.alt {
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--tag-edge), 0 3px 0 var(--tag-edge);
}

/* ===== La Arena, rediseño ===== */
.ar2-tabs {
  display: flex;
  gap: 6px;
  background: #eef1e8;
  border-radius: 15px;
  padding: 4px;
  margin-bottom: 12px;
}
.ar2-tab {
  flex: 1;
  border: 0;
  background: none;
  font-family: inherit;
  color: var(--ink-soft);
  border-radius: 12px;
  padding: 9px 4px;
  font-size: 14px;
  font-weight: 800;
}
.ar2-tab.on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 5px #0000001f;
}
.ar2-stage {
  height: 250px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 95% at 50% 118%, #3d6b4a 0%, #1f3b2c 48%, #12251b 100%);
}
.ar2-stage .bm {
  position: absolute;
  top: -40px;
  width: 150px;
  height: 300px;
  filter: blur(9px);
  background: linear-gradient(#f3b62e57, #f3b62e00);
}
.ar2-stage .bm.l { left: 22px; transform: rotate(15deg); }
.ar2-stage .bm.r { right: 22px; transform: rotate(-15deg); }
.ar2-stage .ring {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 290px;
  height: 74px;
  border-radius: 50%;
  transform: translate(-50%);
  background: radial-gradient(60% 100% at 50% 50%, #d9b277 0%, #a9834f 60%, #a9834f00 100%);
}
.ar2-stage .ring:after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px solid #ffffff2b;
}
.ar2-stage .lit {
  position: absolute;
  left: 50%;
  bottom: 44px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  transform: translate(-50%);
  background: radial-gradient(circle, #ffecb457, #ffecb400 68%);
}
.ar2-stage .champ {
  position: absolute;
  left: 50%;
  bottom: 48px;
  width: 140px;
  transform: translate(-50%);
  filter: drop-shadow(0 10px 14px #00000073);
}
.ar2-stage .side {
  position: absolute;
  bottom: 52px;
  width: 78px;
  opacity: 0.5;
  filter: brightness(0.6) drop-shadow(0 6px 8px #0006);
}
.ar2-stage .side.a { left: 24px; }
.ar2-stage .side.b { right: 24px; }
.ar2-stage .lg {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #4a2d05;
  background: linear-gradient(#f3cd6a, #dca022);
  border-radius: 999px;
  padding: 6px 13px 6px 9px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 0 #a8730e;
}
.ar2-stage .lg svg { width: 16px; height: 16px; }
.ar2-stage .wk {
  position: absolute;
  top: 16px;
  right: 14px;
  color: #cfe3d4;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.ar2-stage .board {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(to top, #0a1610ed 42%, #0a161000);
}
.ar2-stage .rk {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.85;
}
.ar2-stage .rk i { font-style: normal; font-size: 16px; opacity: 0.6; }
.ar2-stage .rk b { font-size: 46px; letter-spacing: -0.03em; }
.ar2-stage .rk u { text-decoration: none; font-size: 14px; opacity: 0.7; }
.ar2-stage .rk.none { font-family: var(--body); font-size: 14px; opacity: 0.8; }
.ar2-stage .pt { margin-left: auto; text-align: right; color: #fff; }
.ar2-stage .pt b { display: block; font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1; }
.ar2-stage .pt small { font-size: 11px; opacity: 0.65; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.ar2-next {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 11px 0 4px;
  padding: 12px 14px;
  border-radius: 17px;
  color: #eaf5ea;
  background: linear-gradient(#223f2e, #18301f);
  box-shadow: 0 3px 0 #0f2017;
}
.ar2-next .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #7bdc6a;
  box-shadow: 0 0 0 4px #7bdc6a33;
}
.ar2-next .tx { min-width: 0; }
.ar2-next b { font-family: var(--display); font-size: 18px; font-weight: 800; display: block; }
.ar2-next small { display: block; font-size: 11.5px; opacity: 0.6; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.ar2-next .cd { margin-left: auto; font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--coin); }
.ar2-fts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.ar2-ft {
  position: relative;
  border: 2px solid var(--tag-edge);
  background: #fff;
  border-radius: 18px;
  padding: 0 0 9px;
  overflow: hidden;
  font-family: inherit;
  color: inherit;
  text-align: center;
}
.ar2-ft.lead { border-color: var(--coin); box-shadow: 0 0 0 3px #f3b62e38; }
.ar2-ft .rib {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
}
.ar2-ft .rib svg { width: 13px; height: 13px; }
.ar2-ft.emb .rib { background: #e05a2b; }
.ar2-ft.raf .rib { background: #2f9fd0; }
.ar2-ft.mur .rib { background: var(--sprout); }
.ar2-ft .crown {
  position: absolute;
  top: 30px;
  left: 6px;
  background: var(--coin);
  color: #4a2d05;
  font-size: 9.5px;
  font-weight: 800;
  border-radius: 7px;
  padding: 2px 7px;
  letter-spacing: 0.05em;
  z-index: 3;
}
.ar2-ft .art { height: 80px; display: grid; place-items: center; background: linear-gradient(#f3f7ee, #fff); }
.ar2-ft .art img { width: 72px; }
.ar2-ft > b { display: block; font-family: var(--display); font-size: 13.5px; font-weight: 800; margin-top: 2px; }
.ar2-ft .rec { display: block; font-size: 12px; color: var(--ink-soft); font-weight: 700; }
.ar2-ft .rec em { font-style: normal; font-family: var(--display); font-size: 17px; color: var(--ink); }
.ar2-ft .bars { display: flex; gap: 3px; justify-content: center; margin-top: 7px; }
.ar2-ft .bars i { width: 9px; height: 5px; border-radius: 2px; background: #dde3d6; }
.ar2-ft .bars i.w { background: var(--sprout); }
.ar2-ft .bars i.l { background: #e7b4a4; }
.ar2-tri { background: #fff; border: 2px solid var(--tag-edge); border-radius: 18px; padding: 11px 10px 12px; margin-top: 11px; }
.ar2-tri .hd {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.ar2-tri .row { display: flex; align-items: flex-start; gap: 6px; }
.ar2-tri .sb { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ar2-tri .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.ar2-tri .ic svg { width: 21px; height: 21px; }
.ar2-tri .sb.emb .ic { background: #e05a2b; }
.ar2-tri .sb.raf .ic { background: #2f9fd0; }
.ar2-tri .sb.mur .ic { background: var(--sprout); }
.ar2-tri b { font-size: 11.5px; font-weight: 800; }
.ar2-tri em { font-style: normal; font-size: 10px; font-weight: 700; color: var(--ink-soft); text-align: center; line-height: 1.25; }
.ar2-alert {
  background: #fffaea;
  border: 2px solid #f0dfae;
  border-radius: 15px;
  padding: 10px 12px;
  margin: 2px 0 12px;
  font-size: 12.5px;
  color: #6b5a22;
  font-weight: 600;
  line-height: 1.4;
}
.ar2-alert b { color: #4a3d10; }
.ar2-slot { display: flex; align-items: center; gap: 9px; margin: 16px 3px 9px; }
.ar2-slot b { font-family: var(--display); font-size: 15px; font-weight: 800; }
.ar2-slot i { flex: 1; height: 2px; background: var(--tag-edge); border-radius: 2px; }
.ar2-mt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--tag-edge);
  border-radius: 17px;
  padding: 9px 11px;
  margin-bottom: 8px;
  font-family: inherit;
  color: inherit;
  text-align: left;
}
.ar2-mt.mine { border-color: var(--sprout); background: linear-gradient(90deg, #f3f9ef, #fff); }
.ar2-mt.boss { border-color: #b07ad0; background: linear-gradient(90deg, #f7f0fb, #fff); }
.ar2-mt .sd { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; }
.ar2-mt .sd.r { flex-direction: row-reverse; text-align: right; }
.ar2-mt .sd img { width: 33px; flex: 0 0 auto; }
.ar2-mt .sd .t { min-width: 0; }
.ar2-mt .sd .t b { display: block; font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar2-mt .sd .t small { display: block; font-size: 10.5px; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.ar2-mt .pose { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 5px; color: #fff; margin-top: 2px; }
.ar2-mt .pose svg { width: 10px; height: 10px; }
.ar2-mt .pose.emb { background: #e05a2b; }
.ar2-mt .pose.raf { background: #2f9fd0; }
.ar2-mt .pose.mur { background: var(--sprout); }
.ar2-mt .mid { flex: 0 0 auto; text-align: center; min-width: 52px; }
.ar2-mt .mid b { display: block; font-family: var(--display); font-size: 17px; font-weight: 800; line-height: 1; }
.ar2-mt .rds { display: flex; gap: 2px; justify-content: center; margin-top: 4px; }
.ar2-mt .rds i { width: 9px; height: 9px; border-radius: 3px; }
.ar2-mt .rds i.a { background: var(--sprout); }
.ar2-mt .rds i.b { background: #e07a5f; }
.ar2-lad { border: 2px solid var(--tag-edge); border-radius: 20px; overflow: hidden; background: #fff; }
.ar2-rw { display: flex; align-items: center; gap: 10px; padding: 9px 13px; border-top: 1px solid #f0f3eb; }
.ar2-rw:first-child { border-top: 0; }
.ar2-rw .pos { width: 22px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--ink-soft); }
.ar2-rw img { width: 34px; }
.ar2-rw .who { flex: 1; min-width: 0; }
.ar2-rw .who b { display: block; font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar2-rw .who small { font-size: 11.5px; color: var(--ink-soft); font-weight: 600; }
.ar2-rw em { font-style: normal; font-family: var(--display); font-weight: 800; font-size: 18px; }
.ar2-rw.me { background: linear-gradient(90deg, #f1f8ec, #fff); box-shadow: inset 3px 0 0 var(--sprout); }
.ar2-rw.me .pos { color: var(--sprout); }
.ar2-rw.p1 .pos { color: var(--coin-deep); }
.ar2-shelf {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(#fff8e4, #fdf2d4);
  border: 2px solid #f0dfae;
  border-radius: 20px;
  padding: 13px 15px;
  margin-top: 14px;
}
.ar2-shelf .lau { display: flex; }
.ar2-shelf .lau i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #edd9a0;
  display: grid;
  place-items: center;
  color: var(--coin-deep);
  margin-right: -10px;
  box-shadow: 0 2px 5px #00000012;
}
.ar2-shelf .lau i svg { width: 23px; height: 23px; }
.ar2-shelf .lau i.off { background: #f6f2e6; color: #d8cfb4; border-style: dashed; }
.ar2-shelf .tx { margin-left: 6px; }
.ar2-shelf .tx b { display: block; font-family: var(--display); font-size: 16px; font-weight: 800; }
.ar2-shelf .tx small { font-size: 12px; color: #8a7338; font-weight: 600; }
.ar2-boss {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 15px;
  color: #fff;
  margin-bottom: 16px;
  background: radial-gradient(110% 110% at 50% 0%, #3a2340 0%, #201529 55%, #140d1b 100%);
}
.ar2-boss .aura {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  transform: translate(-50%);
  background: radial-gradient(circle, #be78ff59, #be78ff00 68%);
}
.ar2-boss .tp { position: relative; display: flex; align-items: center; justify-content: space-between; }
.ar2-boss .ti { font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #d7b8ef; }
.ar2-boss .meds { display: flex; gap: 3px; }
.ar2-boss .meds i { width: 21px; height: 21px; border-radius: 50%; background: #ffffff1f; display: grid; place-items: center; color: var(--coin); }
.ar2-boss .meds i svg { width: 13px; height: 13px; }
.ar2-boss .bd { position: relative; display: flex; align-items: center; gap: 13px; margin-top: 6px; }
.ar2-boss .bd img { width: 104px; flex: 0 0 auto; filter: drop-shadow(0 8px 14px #0009); }
.ar2-boss .nm { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; display: block; line-height: 1; }
.ar2-boss .sub { display: block; font-size: 12px; color: #c9b4da; font-weight: 600; margin-top: 3px; }
.ar2-boss .rec { display: flex; gap: 7px; margin-top: 9px; }
.ar2-boss .rec > span { background: #ffffff1a; border-radius: 10px; padding: 5px 9px; }
.ar2-boss .rec b { font-family: var(--display); font-size: 15px; font-weight: 800; display: block; line-height: 1.1; }
.ar2-boss .rec small { font-size: 9.5px; color: #c9b4da; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.ar2-boss .unk {
  display: inline-block;
  background: #ffffff24;
  border: 1.5px dashed #ffffff59;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 800;
  margin-top: 9px;
  color: #efe2fa;
}
.ar2-rost { border: 2px solid var(--tag-edge); border-radius: 20px; overflow: hidden; background: #fff; }
.ar2-rr { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-top: 1px solid #f0f3eb; }
.ar2-rr:first-child { border-top: 0; }
.ar2-rr.done { background: #f6faf3; }
.ar2-rr img { width: 42px; flex: 0 0 auto; }
.ar2-rr .t { flex: 1; min-width: 0; }
.ar2-rr .t b { font-size: 14.5px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.ar2-rr .pose { display: inline-flex; align-items: center; gap: 4px; color: #fff; border-radius: 999px; padding: 2px 8px 2px 5px; font-size: 10.5px; font-weight: 800; }
.ar2-rr .pose svg { width: 11px; height: 11px; }
.ar2-rr .pose.emb { background: #e05a2b; }
.ar2-rr .pose.raf { background: #2f9fd0; }
.ar2-rr .pose.mur { background: var(--sprout); }
.ar2-rr .t small { display: block; font-size: 11.5px; color: var(--ink-soft); font-weight: 600; margin-top: 3px; }
.ar2-rr .t small.beat { color: var(--sprout); font-weight: 800; }
.ar2-rr .t small.never { color: var(--warn); font-weight: 800; }
.ar2-rr .rt { text-align: right; flex: 0 0 auto; }
.ar2-rr .fz { display: flex; gap: 2px; justify-content: flex-end; margin-bottom: 4px; }
.ar2-rr .fz i { width: 7px; height: 16px; border-radius: 2px; background: #e4e8dd; }
.ar2-rr .fz i.on { background: var(--ink-soft); }
.ar2-rr .fz i.hot { background: var(--warn); }
.ar2-rr .rt small { font-size: 10.5px; color: var(--ink-soft); font-weight: 700; display: flex; align-items: center; gap: 3px; justify-content: flex-end; }
.ar2-rr .lu { display: inline-flex; align-items: center; gap: 1px; color: var(--coin-deep); font-weight: 800; }
.ar2-rr .lu svg { width: 12px; height: 12px; }
.ar2-sepa { display: flex; align-items: center; gap: 9px; padding: 7px 12px; background: #eaf6e4; }
.ar2-sepa b { font-size: 10.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--sprout-deep); }
.ar2-sepa i { flex: 1; height: 1.5px; background: #bfe0b0; border-radius: 2px; }
.ar2-felt { border-radius: 22px; padding: 15px 13px 17px; background: radial-gradient(110% 80% at 50% 0%, #2b5139, #16301f); }
.ar2-fhd { text-align: center; color: #cfe3d4; font-size: 10.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; opacity: 0.8; }
.ar2-fsc { text-align: center; color: #fff; margin: 4px 0 12px; }
.ar2-fsc b { font-family: var(--display); font-size: 42px; font-weight: 800; letter-spacing: -0.03em; display: block; line-height: 1; }
.ar2-fsc small { font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coin); }
.ar2-pair { display: flex; align-items: stretch; gap: 8px; }
.ar2-pair .tc { flex: 1; background: #fff; border-radius: 16px; padding: 10px 8px; text-align: center; border: 3px solid #0000; }
.ar2-pair .tc.win { border-color: var(--coin); box-shadow: 0 0 22px #f3b62e59; }
.ar2-pair .tc.lose { background: #f3f5ef; filter: saturate(0.72); }
.ar2-pair .tc img { width: 56px; }
.ar2-pair .tc b { display: block; font-family: var(--display); font-size: 13.5px; font-weight: 800; margin-top: 2px; }
.ar2-pair .tc small { font-size: 10.5px; color: var(--ink-soft); font-weight: 600; }
.ar2-pair .tc .pw { display: inline-block; margin-top: 5px; background: #eef1e9; border-radius: 7px; padding: 2px 8px; font-size: 11px; font-weight: 800; color: var(--ink-soft); }
.ar2-pair .vs { align-self: center; color: #cfe3d4; font-family: var(--display); font-weight: 800; font-size: 14px; opacity: 0.75; }
.ar2-r3 { display: flex; gap: 7px; margin-top: 12px; }
.ar2-r3 .rr { flex: 1; background: #eaf6e4; border: 2px solid #bfe0b0; border-radius: 14px; padding: 8px 5px; text-align: center; }
.ar2-r3 .rr.l2 { background: #fbeee9; border-color: #f0c5b5; }
.ar2-r3 .hd { display: block; font-size: 9px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 5px; }
.ar2-r3 .faces { display: flex; align-items: flex-start; justify-content: center; gap: 4px; }
.ar2-r3 .cell { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; }
.ar2-r3 .mv { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.ar2-r3 .mv svg { width: 15px; height: 15px; }
.ar2-r3 .mv.emb { background: #e05a2b; }
.ar2-r3 .mv.raf { background: #2f9fd0; }
.ar2-r3 .mv.mur { background: var(--sprout); }
.ar2-r3 .mv.dim { opacity: 0.38; }
.ar2-r3 .mx { font-style: normal; font-size: 8.5px; font-weight: 800; color: var(--coin-deep); background: #fff3d4; border-radius: 5px; padding: 1px 4px; line-height: 1.3; }
.ar2-r3 .raw { font-style: normal; font-size: 8.5px; color: var(--ink-soft); font-weight: 700; }
.ar2-r3 .fin { font-style: normal; font-family: var(--display); font-size: 16px; font-weight: 800; line-height: 1.1; }
.ar2-r3 .fin.a { color: var(--sprout-deep); }
.ar2-r3 .fin.b { color: var(--ink-soft); }
.ar2-r3 .crit { display: inline-block; background: var(--coin); color: #4a2d05; font-size: 8.5px; font-weight: 800; border-radius: 5px; padding: 1px 4px; margin-top: 3px; }
.ar2-r3 .why { display: block; font-size: 8.5px; color: var(--ink-soft); font-weight: 700; margin-top: 5px; line-height: 1.25; }
.ar2-r3 .rr.none { background: #eef1e9; border-color: #e0e5d8; opacity: 0.55; display: grid; place-items: center; }
.ar2-r3 .why.pad { margin-top: 10px; }

/* ===== Bots: el foco verde ===== */
.bot-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 5px;
  vertical-align: 1px;
  border-radius: 50%;
  background: #2fd16b;
  box-shadow: 0 0 0 1.5px #fff, 0 0 6px rgba(47, 209, 107, 0.75);
  flex: none;
}
.bot-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  vertical-align: 1px;
  margin-left: 6px;
  padding: 1px 8px 1px 6px;
  border-radius: 999px;
  background: #e4f6ea;
  color: #2b6b45;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.bot-tag .bot-dot {
  margin-left: 0;
  box-shadow: 0 0 0 1.5px #e4f6ea, 0 0 5px rgba(47, 209, 107, 0.7);
}
html.is-night .bot-dot {
  box-shadow: 0 0 0 1.5px #1b2a21, 0 0 7px rgba(47, 209, 107, 0.85);
}
html.is-night .bot-tag {
  background: #1e3a28;
  color: #9fe3bb;
}
html.is-night .bot-tag .bot-dot {
  box-shadow: 0 0 0 1.5px #1e3a28, 0 0 5px rgba(47, 209, 107, 0.8);
}
.rank-row .pos:empty::after { content: "—"; }
.ref-row{display:flex;align-items:center;gap:10px;margin:10px 0}
.ref-row select{flex:1;min-width:0;padding:10px 12px;border-radius:12px;border:1px solid var(--line,#d8d8d2);background:var(--card,#fff);color:inherit;font:inherit}
.ref-row .ref-arrow{opacity:.6;font-size:18px}
.ref-row>span{opacity:.75}
/* Luna 3: recursos a la vista y panel de robots */
.moon-res{position:absolute;left:0;right:0;bottom:calc(104px + var(--safe-b,0px));display:flex;justify-content:center;gap:8px;padding:0 10px;pointer-events:none}
.moon-res.hidden{display:none}
.moon-res .mr{pointer-events:auto;display:flex;align-items:center;gap:6px;border:1.5px solid #3c5aa0;background:#141d38f2;color:#eaf4ff;border-radius:999px;padding:5px 12px 5px 6px;font:800 15px/1 inherit;box-shadow:0 3px 0 #0a1024aa}
.moon-res .mr svg{flex:none}
.moon-res .mr small{font-size:11px;font-weight:700;color:#8fd8ff}
.moon-res .mr.mi small{color:#c9cfd8}
.moon-res .mr.go{padding:5px 14px;border-color:#7dffb0;background:linear-gradient(180deg,#48b86a,#2f9550);color:#fff;box-shadow:0 3px 0 #1f6e38;animation:mrGo 1.6s ease-in-out infinite}
@keyframes mrGo{50%{transform:translateY(-2px);box-shadow:0 5px 0 #1f6e38,0 0 0 5px #7dffb033}}
body.on-moon .moon-tip{bottom:calc(152px + var(--safe-b,0px))}
.el-tile.r3t{background:none;box-shadow:none;width:auto;height:auto}
.r3-row{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e3e6dc;border-radius:16px;padding:10px 12px;margin-bottom:10px}
.r3-row .ic{flex:none;display:flex}
.r3-row .tx{flex:1;min-width:0}
.r3-row .tx b{display:block;font-size:16px}
.r3-row .tx small{display:block;color:#6b6f63;font-size:12.5px;line-height:1.3}
.r3-row .ctl{display:flex;align-items:center;gap:8px;flex:none}
.r3-row .ctl b{font-size:21px;font-weight:900;min-width:20px;text-align:center}
.r3-row .ctl button{width:38px;height:38px;border-radius:50%;border:0;font:900 22px/1 inherit;color:#384332;background:#e7e9e0;box-shadow:0 3px 0 #cdd2c6}
.r3-row .ctl button.pl{color:#fff;background:linear-gradient(180deg,#4f93ec,#2f6fd6);box-shadow:0 3px 0 #1f4fa6}
.r3-row .ctl button.off{color:#a3a89c;background:#eef0ea;box-shadow:0 3px 0 #dfe2d9}
.r3-free{text-align:center;color:#6b6f63;font-size:13.5px;font-weight:700;margin:2px 0 12px}
.r3-free.go{color:#2f6fd6}
.note.warn{color:#b2402f;font-weight:700}
.r3-rares{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:4px 0 12px}
.r3-rares.found{display:flex;justify-content:center}
.r3-rares.found .r3-rare{min-width:112px}
.r3-rare{background:#fff;border:1px solid #e3e6dc;border-radius:16px;padding:12px 6px 10px;text-align:center;display:grid;justify-items:center;gap:2px}
.r3-rare svg{filter:grayscale(1) brightness(.55) opacity(.45)}
.r3-rare.on svg{filter:none}
.r3-rare b{font-size:13.5px;line-height:1.15}
.r3-rare small{color:#6b6f63;font-size:12px}
.r3-rares.found .r3-rare small{color:#2f8f3a;font-size:15px;font-weight:900}
.crew3 .done-btn.wide{margin-bottom:8px}
.base-row.rk3 .pos{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:15px;color:#4a5142;background:#e7e9e0}
.base-row.rk3.top1 .pos{color:#6a4a00;background:#f6cf5a}
.base-row.rk3.top2 .pos{color:#3f4652;background:#d5dbe3}
.base-row.rk3.top3 .pos{color:#5c3414;background:#e6b08a}
.base-row.rk3.me{border-color:#2f6fd6;background:#eef4ff}
/* Luna 3 parte 2: gas, meteorito y árboles únicos */
.gas-bar{background:#fff;border:1px solid #e3e6dc;border-radius:16px;padding:12px 14px;margin-bottom:12px}
.gas-bar .gb-top{display:flex;justify-content:space-between;align-items:baseline;font-size:14px}
.gas-bar .gb-top span{font-weight:800;color:#2a86b8}
.gas-bar .gb{height:12px;border-radius:99px;background:#e4ecf2;overflow:hidden;margin:8px 0 6px}
.gas-bar .gb i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#3aa7d8,#7fd3f5)}
.gas-bar small{color:#6b6f63;font-size:12.5px;line-height:1.3;display:block}
.gas-bar.dry .gb i{background:linear-gradient(90deg,#e0564a,#ff9c7a)}
.gas-bar.dry .gb-top span{color:#c2402f}
.done-btn.wide.meteor{background:linear-gradient(180deg,#ff9a3a,#e8691a);box-shadow:0 4px 0 #b24a0c;animation:mrGo 1.4s ease-in-out infinite}
.tags.u3 .tag{position:relative}
.tags.u3 .tag.have{opacity:.6}
.u3-st{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap;margin-top:4px;padding:3px 8px;border-radius:99px;background:#eceee8;color:#4a5142;font-size:12px;font-weight:800}
.u3-st.ok{background:#4f9e36;color:#fff}
.u3-st.have{background:#dfe8f7;color:#2f6fd6}
.u3-hero{display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,#2a3558,#11172c);border-radius:20px;margin-bottom:12px;padding:8px}
.u3-hero img{width:220px;height:auto}

.pill-btn.share-moment{color:#2f4a22;background:#eef2e6}
.nav-btn.raid-btn .disc{position:relative}
.nav-btn.raid-btn .rb-n{position:absolute;top:-5px;right:-7px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#d8492f;color:#fff;font:800 12px/20px inherit;font-style:normal;text-align:center;box-shadow:0 1px 3px #0005}
.nav-btn.raid-btn .rb-n:empty{display:none}
.nav-btn.raid-btn.hot .disc{color:#a8571a}
.who .loot-tag{display:flex;align-items:center;gap:4px;margin-top:2px;font-weight:700}
.loot-tag svg{width:15px;height:15px;flex:none}
.loot-tag.on{color:#b0541a}
.loot-tag.soon{color:#7a7f6c}
.loot-tag.none{color:#a3a798;font-weight:600}
.raid-hero{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:16px;background:#eef0e8;margin-bottom:12px}
.raid-hero.on{background:#fbecd2}
.raid-hero .ic{flex:none;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#7a7f6c}
.raid-hero.on .ic{color:#b0541a}
.raid-hero .ic svg{width:30px;height:30px}
.raid-hero b{display:block;font-size:17px;line-height:1.25;color:#2d3326}
.raid-hero small{display:block;margin-top:3px;font-size:14px;color:#5d6352}
.note.raid-guard.yes{color:#a33a22;font-weight:700}
.note.raid-guard.no{color:#3f7a2c;font-weight:700}
.note.raid-why{padding:12px 14px;border-radius:12px;background:#f3ead9;color:#6b4a1c;font-weight:700}
.base-row.raid-entry{width:100%;text-align:left;margin:10px 0 2px}
.base-row.raid-entry .ic,.base-row.raid-row .ic{flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#f3ead9;color:#a8571a}
.base-row.raid-entry .ic svg,.base-row.raid-row .ic svg{width:22px;height:22px}
.base-row.raid-row.ok .ic{background:#e2f0d8;color:#3f7a2c}
.base-row.raid-row.bad .ic{background:#fbe4dc;color:#b23c22}
.base-row.raid-row .pill-btn{flex:none;height:36px;padding:0 11px;font-size:14px}
.raid-me{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:6px}
.raid-me>div{padding:10px 6px;border-radius:14px;background:#eef0e8;text-align:center}
.raid-me b{display:block;font-size:17px;color:#2d3326;margin:2px 0}
.raid-me small{display:block;font-size:12px;color:#6a6f5e}
.rob-txt{color:#b23c22;font-weight:700;margin-right:6px}

.r3-row.guard .ic{color:#4f6fb0;display:grid;place-items:center}
.r3-row.guard .ic svg{width:34px;height:34px}
.raid-moon:empty{display:none}
.raid-moon{margin-top:6px}
.loot-tag.rk{display:inline-flex;align-items:center;gap:3px;margin-left:6px;vertical-align:middle;color:#b0541a;font-weight:700}
.rk3-prizes,.rk3-last{padding:10px 12px;border-radius:14px;background:#eef0e8;margin-bottom:10px;font-size:14px;color:#3a4033}
.rk3-last{background:#fbecd2}
.rk3-last span{display:block;margin-top:4px}
.rk3-prizes>b{display:block;margin-bottom:6px}
.rk3-prizes>div{display:flex;align-items:center;gap:10px;padding:3px 0}
.rk3-prizes .pos{flex:none;min-width:38px;font-weight:800;color:#5d6352}
.rk3-prizes .pz,.rk3-last .pz{display:inline-flex;align-items:center;gap:3px;margin-right:10px;font-weight:700}
.rk3-prizes .pz svg,.rk3-last .pz svg,.rk3-prizes .pz img,.rk3-last .pz img{width:18px;height:18px}

.chip.moon-arr{position:fixed;left:12px;top:calc(128px + env(safe-area-inset-top, 0px));z-index:30;height:38px;padding:0 14px;border-radius:19px;background:#1f2a44e6;color:#e8eeff;font-weight:800;font-size:14px;box-shadow:0 2px 8px #0006;border:1px solid #ffffff2e}
.chip.moon-arr.on{background:#ffd25a;color:#3a2c00;border-color:#fff6}

.moon-res .mr.go{position:relative}
.moon-res .mr.go .n{position:absolute;top:-7px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#ffd25a;color:#3a2c00;font:800 12px/20px inherit;font-style:normal;text-align:center;box-shadow:0 1px 3px #0006}

.chip.moon-arr.rot{left:112px;background:#ffd25a;color:#3a2c00;border-color:#fff6}

.tabs.moon-tabs{padding:0 0 10px;margin:-2px 0 4px}

.rank-scope:has(.tab:nth-child(4)){grid-template-columns:repeat(4,1fr);gap:4px}
.rank-scope:has(.tab:nth-child(4)) .tab{padding:0 4px;font-size:14px}

.tag.mshop img{object-fit:contain}
.tag.mshop .meta .p{display:inline-flex;align-items:center;gap:3px;margin-right:6px}
.tag.mshop .meta .p svg,.tag.mshop .meta .p img{width:16px;height:16px}

.tag.mshop .why{display:block;width:100%;margin-top:3px;font-size:12px;line-height:1.25;color:#6a6f5e;font-weight:600}
.tag.mshop .meta{flex-wrap:wrap;justify-content:center}

/* ── ESPACIO (Fase 1) ── */
body.on-galaxy .moon-hud,
body.on-galaxy .moon-res,
body.on-moon.on-galaxy #hud > .bottombar.moon-nav,
body.on-galaxy #hud > .moon-tags,
body.on-galaxy #hud > .earth-btn,
body.on-galaxy .moon-arr,
body.on-galaxy .harvest-all,
body.on-galaxy .on-moon-tag,
body.on-galaxy .moon-tip,
body.on-galaxy .left-stack .moon-chip {
  display: none !important;
}
#hud > .gx-chip {
  position: absolute;
  top: calc(116px + var(--safe-t));
  right: 10px;
  height: 40px;
  padding: 0 14px 0 8px;
  font-size: 15px;
  color: #eaf2ff;
  background: #1d2a4ee6;
  pointer-events: auto;
}
#hud > .gx-chip .ico { display: flex; }
#hud > .gx-back {
  position: absolute;
  top: calc(64px + var(--safe-t));
  left: 10px;
  height: 40px;
  padding: 0 16px;
  font-size: 16px;
  color: #eaf2ff;
  background: #1d2a4ee6;
  pointer-events: auto;
}
#hud > .gx-info {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: calc(16px + var(--safe-b));
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  pointer-events: none;
}
#hud > .gx-info.hidden, #hud > .gx-chip.hidden, #hud > .gx-back.hidden { display: none; }
.gx-info .p {
  background: #0c1228e0;
  color: #dfe8ff;
  border: 1px solid #2f3b66;
  border-radius: 14px;
  padding: 7px 12px;
  font: 600 14px var(--body);
}
.gx-info .p b { color: #fff; }
.gx-info .p.fly { color: #ffd27a; border-color: #6a5426; }
.gx-sheet .gx-head { display: flex; gap: 12px; align-items: center; margin: 2px 0 10px; }
.gx-sheet .gx-head b { font: 800 19px var(--display); margin-right: 6px; }
.gx-sheet .gx-head small { display: block; color: var(--ink-soft); font-size: 14px; margin-top: 2px; }
.gx-dot { width: 42px; height: 42px; border-radius: 50%; flex: none; box-shadow: inset -6px -6px 0 #0002; }
.gx-dot.k-verde { background: #6a9a50; } .gx-dot.k-hielo { background: #bcdcee; } .gx-dot.k-roja { background: #b07050; }
.gx-dot.k-cristal { background: #8a78c8; } .gx-dot.k-oro { background: #e0b03a; }
.gx-tag { font: 800 12px var(--body); color: #fff; background: #6a3ad8; border-radius: 9px; padding: 3px 8px; vertical-align: 2px; }
.gx-tag.gold { background: #c8961a; }
.gx-gives, .gx-line { background: #fff; border: 1px solid var(--tag-edge); border-radius: 14px; padding: 10px 12px; font-size: 15px; margin: 8px 0; }
.gx-gives b { color: #6a3ad8; }
.gx-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 8px 0; }
.gx-box { background: #fff; border: 1px solid var(--tag-edge); border-radius: 14px; padding: 8px 4px; text-align: center; }
.gx-box b { display: block; font: 800 22px var(--display); }
.gx-box.red b { color: #c2553a; }
.gx-box small { color: var(--ink-soft); font-size: 12px; }
.gx-mine { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--tag-edge); border-radius: 16px; padding: 8px 10px; margin: 8px 0; }
.gx-mine .gx-rob { width: 48px; height: 48px; object-fit: contain; }
.gx-mine .t { flex: 1; } .gx-mine .t small { display: block; color: var(--ink-soft); font-size: 13px; }
.gx-step { display: flex; align-items: center; gap: 8px; }
.gx-step button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #e6ecdc; font: 800 22px var(--display); color: var(--ink); }
.gx-step .n { font: 800 24px var(--display); min-width: 26px; text-align: center; }
.gx-prob { margin: 10px 2px; }
.gx-prob .h { display: flex; justify-content: space-between; font-weight: 700; }
.gx-prob .h b { font: 800 20px var(--display); }
.gx-prob b.good { color: #3a7d27; } .gx-prob b.mid { color: #b9800f; } .gx-prob b.bad { color: #c2553a; }
.gx-prob small { color: var(--ink-soft); font-size: 13px; }
.gx-bar { height: 11px; border-radius: 6px; background: #e3e8d9; overflow: hidden; margin-top: 6px; }
.gx-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #2f6ad0, #6aa8ff); }
.gx-bar.good i { background: linear-gradient(90deg, #3a7d27, #7fd05a); }
.gx-bar.mid i { background: linear-gradient(90deg, #b9800f, #f3b62e); }
.gx-bar.bad i { background: linear-gradient(90deg, #a23a22, #e0704a); }
.gx-go { width: 100%; height: 54px; border: 0; border-radius: 18px; margin-top: 10px; background: linear-gradient(#ffcf3a, #f2a51a); color: #2a1d00; font: 800 19px var(--display); box-shadow: 0 5px 0 #b9800f; display: flex; align-items: center; justify-content: center; gap: 8px; }
.gx-go small { font: 700 13px var(--body); opacity: 0.85; display: inline-flex; align-items: center; gap: 4px; }
.gx-go:disabled { opacity: 0.6; }
.gx-btns { display: flex; gap: 10px; margin-top: 10px; }
.gx-btns .gx-go { margin-top: 0; flex: 1; }
.gx-alt { flex: 1; height: 54px; border: 0; border-radius: 18px; background: #e6ecdc; color: var(--ink); font: 800 17px var(--display); display: flex; align-items: center; justify-content: center; }
.gx-alt .gx-play { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-right: 8px; }
.gx-big { font: 800 20px var(--display); margin: 4px 0; }
.gx-win header h2 { color: #c8961a; }
.gx-lose header h2 { color: #c2553a; }
.gx-replay { position: fixed; inset: 0; z-index: 60; background: radial-gradient(ellipse at 50% 30%, #1a2550, #070a1c 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 20px; color: #eef3ff; font-family: var(--body); }
.gx-replay .stage { position: relative; width: min(520px, 100%); height: 210px; display: flex; justify-content: space-between; align-items: center; }
.gx-replay .side { display: flex; flex-wrap: wrap; gap: 4px; width: 42%; justify-content: center; }
.gx-replay .side img { width: 96px; height: 96px; object-fit: contain; animation: gxBob 1.2s ease-in-out infinite alternate; }
.gx-replay .side.d { transform: scaleX(-1); }

.gx-replay .tur { width: 18px; height: 46px; border-radius: 6px 6px 3px 3px; background: linear-gradient(#dfe6ee, #8a96a8); box-shadow: 0 0 10px #6ad8ff; }
.gx-replay .beams i { position: absolute; left: 25%; right: 25%; height: 3px; border-radius: 3px; opacity: 0; animation: gxBeam 0.5s ease-out forwards; }
.gx-replay .beams i.br { background: linear-gradient(90deg, #ff5a3a, #ffd06a); }
.gx-replay .beams i.bl { background: linear-gradient(270deg, #6ad8ff, #c8f4ff); }
.gx-replay .bars { width: min(520px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-weight: 700; font-size: 14px; }
.gx-replay .hp { height: 12px; border-radius: 7px; background: #ffffff22; overflow: hidden; margin-top: 5px; }
.gx-replay .hp i { display: block; height: 100%; width: 100%; transition: width 1.6s ease; }
.gx-replay .hp.me i { background: linear-gradient(90deg, #2f6ad0, #6aa8ff); }
.gx-replay .hp.them i { background: linear-gradient(90deg, #c2553a, #ff8a6a); }
.gx-replay .msg { font: 900 34px var(--display); min-height: 42px; letter-spacing: 1px; }
.gx-replay .msg.win { color: #ffd24a; } .gx-replay .msg.lose { color: #ff8a7a; }
.gx-replay .close { flex: none; width: 160px; }
@keyframes gxBeam { 0% { opacity: 0; transform: scaleX(0.2); } 30% { opacity: 1; } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes gxBob { from { transform: translateY(0); } to { transform: translateY(-5px); } }

.gx-info .p.warn { color: #ffb0a0; border-color: #7a2a20; background: #2a0c0ce6; }
#hud > .gx-rank { position: absolute; top: calc(64px + var(--safe-t)); right: 10px; height: 40px; padding: 0 16px; font-size: 15px; color: #eaf2ff; background: #1d2a4ee6; pointer-events: auto; }
#hud > .gx-rank.hidden { display: none; }
.gx-def { margin-top: 10px; }
.gx-drow { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--tag-edge); border-radius: 14px; padding: 8px 10px; margin: 6px 0; }
.gx-drow .gx-rob { width: 44px; height: 44px; object-fit: contain; }
.gx-drow .t { flex: 1; } .gx-drow .t small { display: block; color: var(--ink-soft); font-size: 13px; }
.gx-buy { border: 0; border-radius: 12px; padding: 9px 12px; background: linear-gradient(#ffcf3a, #f2a51a); color: #2a1d00; font: 800 14px var(--body); display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.gx-buy:disabled { background: #e6ecdc; color: var(--ink-soft); }
.gx-go.blue { background: linear-gradient(#5a8cf0, #2f6ad0); color: #fff; box-shadow: 0 5px 0 #1d4a9e; }
.gx-rankl { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.gx-rr { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--tag-edge); border-radius: 12px; padding: 9px 12px; }
.gx-rr.me { border-color: #3d7bf0; background: #eef4ff; }
.gx-rr .pos { font: 800 16px var(--display); width: 24px; text-align: center; color: var(--ink-soft); }
.gx-rr .nm { flex: 1; font-weight: 700; }
.gx-rr .v { font-size: 13px; color: var(--ink-soft); }

/* ── ROBOT AYUDANTE ── */
.hp-hero { position: relative; display: flex; justify-content: center; margin: 2px 0 6px; }
.hp-hero img { width: 132px; height: 132px; object-fit: contain; }
.hp-lv { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); background: #2f6ad0; color: #fff; font: 800 13px var(--body); padding: 3px 12px; border-radius: 12px; }
.hp-txt { text-align: center; font-size: 16px; margin: 4px 6px 10px; }
.hp-list { margin: 0 0 12px; padding: 10px 14px 10px 30px; background: #fff; border: 1px solid var(--tag-edge); border-radius: 14px; font-size: 15px; line-height: 1.7; }
.hp-big { text-align: center; font: 700 18px var(--display); } .hp-big b { font-size: 24px; }
.hp-coins { text-align: center; font: 800 26px var(--display); color: #b9800f; margin: 6px 0 14px; display: flex; gap: 6px; align-items: center; justify-content: center; }
.hp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0; }
.hp-stats > div { background: #fff; border: 1px solid var(--tag-edge); border-radius: 14px; padding: 10px 8px; text-align: center; }
.hp-stats b { display: block; font: 800 26px var(--display); } .hp-stats small { color: var(--ink-soft); font-size: 13px; }
.hp-up { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 0; border-radius: 18px; padding: 12px 16px; margin-top: 8px; background: linear-gradient(#ffcf3a, #f2a51a); color: #2a1d00; box-shadow: 0 5px 0 #b9800f; text-align: left; }
.hp-up b { display: block; font: 800 17px var(--display); } .hp-up small { font-size: 13px; opacity: 0.85; }
.hp-up .c { font: 800 17px var(--display); display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; }
.hp-up.off { background: #e6ecdc; color: var(--ink-soft); box-shadow: 0 5px 0 #c9d2bb; }
.hp-max { text-align: center; font: 800 16px var(--display); color: #3a7d27; margin-top: 10px; }

/* invernadero */
.gh-hero { display: flex; justify-content: center; margin: 4px 0 2px; }
.gh-tag svg { display: block; margin: 6px auto 2px; }
.gh-btn { width: 100%; border: 0; border-radius: 18px; padding: 13px 16px; margin: 8px 0 4px; background: linear-gradient(#5fc24a, #3f9a2f); color: #fff; font: 800 17px var(--display); box-shadow: 0 5px 0 #2c6f20; }
.gh-btn.off { background: #e6ecdc; color: var(--ink-soft); box-shadow: 0 5px 0 #c9d2bb; font-size: 15px; }
.gh-list { display: grid; gap: 8px; margin: 8px 0; }
.gh-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--tag-edge); border-radius: 14px; padding: 6px 10px; }
.gh-row img { width: 54px; height: 54px; object-fit: contain; flex: none; }
.gh-row > div { flex: 1; min-width: 0; }
.gh-row b { display: block; font: 800 15px var(--display); }
.gh-row small { color: var(--ink-soft); font-size: 13px; display: inline-flex; gap: 4px; align-items: center; flex-wrap: wrap; }

/* laboratorio */
.lab-q { flex: none; width: 54px; height: 54px; border-radius: 14px; background: #eef2e6; color: var(--ink-soft); display: grid; place-items: center; font: 800 24px var(--display); }
.lab-q.sm { width: 38px; height: 38px; font-size: 16px; }
.lab-first .lab-q { background: linear-gradient(#ffe07a, #f2b21a); color: #5a3d00; }
.lab-empty { border-style: dashed; opacity: 0.8; }
.lab-ready { border-color: #6fbf4a; box-shadow: 0 0 0 2px #6fbf4a33; }
.lab-b { display: inline-block; font: 800 11px var(--body); padding: 2px 8px; border-radius: 9px; background: #e6ecdc; color: var(--ink-soft); margin-right: 4px; }
.lab-b.myth { background: linear-gradient(#ffe07a, #f2b21a); color: #5a3d00; }
.lab-b.frag { background: #ffe1e1; color: #a22b2b; }
.lab-b.jack { background: #e3d9ff; color: #4a2aa0; }
.lab-bs { text-align: center; margin: -2px 0 8px; }
.lab-bs .lab-b { font-size: 13px; padding: 3px 12px; }
.lab-hero.myth { background: radial-gradient(circle at 50% 55%, #fff3c4 0, #fff3c400 62%); }
.lab-hint { font-style: italic; }
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 4px; }
.lab-tag { position: relative; background: #fff; border: 2px solid var(--tag-edge); border-radius: 14px; padding: 6px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 1px; color: inherit; }
.lab-tag img { width: 62px; height: 62px; object-fit: contain; }
.lab-tag b { font: 800 13px var(--display); line-height: 1.15; text-align: center; }
.lab-tag small { font-size: 11px; color: var(--ink-soft); display: inline-flex; gap: 3px; align-items: center; }
.lab-tag.exp { background: #f4f0ff; }
.lab-tag.sel { border-color: #3f9a2f; box-shadow: 0 0 0 3px #3f9a2f33; }
.lab-tag .n2 { position: absolute; top: 4px; right: 6px; font: 800 12px var(--body); color: #3f9a2f; }
.lab-box { position: sticky; top: 0; z-index: 2; background: var(--sheet, #f4f7ec); padding: 4px 0 6px; }
.lab-x { display: flex; justify-content: center; align-items: center; gap: 10px; font: 800 17px var(--display); margin: 4px 0; }
.lab-x span { color: var(--ink-soft); }
.lab-drop { display: block; margin: 12px auto 0; }

.news-list li { margin-bottom: 6px; line-height: 1.35; }
.news-list small { color: var(--ink-soft); }

/* pesca */
.fish-hero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 0 8px; }
.fish-hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; border: 1px solid var(--tag-edge); }
.fish-open { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 1px solid var(--tag-edge); border-radius: 16px; padding: 8px 12px; margin: 8px 0; }
.fish-open img { width: 84px; height: 56px; object-fit: cover; border-radius: 10px; flex: none; }
.fish-open b { display: block; font: 800 16px var(--display); } .fish-open small { color: var(--ink-soft); font-size: 13px; }
.fish-row img { width: 78px !important; height: 52px !important; object-fit: cover !important; border-radius: 10px; }
.fish-rar { display: inline-flex; align-items: center; gap: 4px; color: #fff; font: 800 11px var(--display); border-radius: 999px; padding: 2px 8px; }
.fish-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 14px; }
.fish-card { background: #fff; border: 1px solid var(--tag-edge); border-radius: 16px; padding: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.fish-card .ph { position: relative; width: 100%; }
.fish-card .ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 11px; display: block; }
.fish-card .ph i { position: absolute; right: 6px; bottom: 6px; background: rgba(20, 40, 40, 0.72); color: #fff; font: 800 12px var(--display); font-style: normal; border-radius: 999px; padding: 2px 8px; }
.fish-card b { font: 800 14px var(--display); line-height: 1.15; }
.fish-card em { font-size: 11.5px; color: var(--ink-soft); line-height: 1.2; }
.fish-card small { font-size: 11.5px; color: var(--ink-soft); line-height: 1.25; }
.fish-card.unk .ph { overflow: hidden; border-radius: 11px; }
.fish-card.unk .ph img { filter: blur(9px) grayscale(1) brightness(0.75) contrast(0.8); transform: scale(1.25); }

/* menús: que el deslizado no jale la página de atrás y corra en su propia capa */
.sheet .body { overscroll-behavior: contain; transform: translateZ(0); }

/* LABORATORIO a la vista: chip en la pantalla y puntos rojos donde hay un experimento listo */
.lab-chip { gap: 6px; padding: 0 14px 0 9px; font-size: 16px; position: relative; }
.lab-chip .ico svg { color: #6b3fa0; width: 21px; height: 21px; display: block; }
.lab-chip.locked { opacity: .78; }
.lab-chip.ready { background: #fff6dc; color: #5e2f45; animation: 1.6s ease-in-out infinite moonPulse; }
.lab-chip .dot { background: #e2513a; border-radius: 50%; width: 12px; height: 12px; position: absolute; top: -3px; right: -3px; box-shadow: 0 0 0 2px #fff; animation: 1.6s ease-in-out infinite dotpulse; }
.tab .dot, .hy-band b .dot { background: #e2513a; border-radius: 50%; width: 9px; height: 9px; display: inline-block; margin-left: 6px; vertical-align: middle; animation: 1.6s ease-in-out infinite dotpulse; }

/* de noche: el chip del laboratorio se lee (texto oscuro sobre crema cuando está listo, matraz claro si no) */
html.is-night #hud .lab-chip .ico svg { color: #cdb2ff; }
html.is-night #hud .lab-chip.ready { background: #fff6dc; color: #5e2f45; }
html.is-night #hud .lab-chip.ready .ico svg { color: #6b3fa0; }
html.is-night #hud .lab-chip .dot { box-shadow: 0 0 0 2px #2e426e; }

/* Navidad: la sombra de un trineo con renos cruza la Luna cada rato */
#nightsky .moon .sled { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
#nightsky .moon .sled svg { position: absolute; left: 0; top: 30%; width: 235%; height: auto; opacity: 0.82; transform: translate(-101%, 40%) rotate(-9deg); animation: 38s linear 6s infinite sledPass; }
@keyframes sledPass {
  0% { transform: translate(-101%, 40%) rotate(-9deg); }
  16% { transform: translate(44%, -40%) rotate(-9deg); }
  16.01%, 100% { transform: translate(-101%, 40%) rotate(-9deg); }
}
