:root {
  --bg: #86bce8;
  --panel: #cfcfcf;
  --panel-soft: #dcdcdc;
  --line: #2d2d2d;
  --line-soft: #575757;
  --text: #111;
  --muted: #333;
  --green: #6fce4f;
  --green-dark: #3f8d32;
  --green-light: #92ea72;
  --danger: #d96a58;
  --danger-dark: #a84132;
  --danger-light: #f39181;
}
* {
  box-sizing: border-box;
}
html,
body,
#root {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}
body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricprecision;
  font-family: Inter, system-ui, sans-serif;
  overflow: hidden;
}
button,
input {
  font-family: inherit;
}
#root {
  justify-content: center;
  display: flex;
}
.app-shell {
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior: contain;
  width: min(100vw, 520px);
  max-width: 520px;
  height: 100dvh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 12px 12px 92px;
  overflow: hidden auto;
}
.app-shell::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.app-with-nav {
  padding-bottom: 88px;
}
.panel,
.app-header,
.bottom-nav,
.header-stat,
.stat-card,
.catch-row,
.friend-row,
.leader-row,
.empty-card,
.classic-box,
.ref-link-field {
  border: 4px solid var(--line);
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.panel {
  background: var(--panel);
  margin-bottom: 12px;
  padding: 12px;
}
.app-header {
  background: var(--panel);
  justify-content: space-between;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px;
  display: flex;
}
.header-main {
  align-items: center;
  gap: 12px;
  min-width: 0;
  display: flex;
}
.header-avatar {
  border: 4px solid var(--line);
  color: #fff;
  background: #8e8e8e;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 12px;
  font-weight: 900;
  display: grid;
  overflow: hidden;
}
.header-avatar img,
.leader-avatar img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.header-copy {
  min-width: 0;
}
.header-name {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}
.header-fid {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
}
.header-stats {
  gap: 8px;
  display: flex;
}
.header-stat {
  min-width: 64px;
  color: var(--text);
  background: #bdbdbd;
  place-items: center;
  padding: 6px 8px;
  display: grid;
}
.header-stat small {
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}
.header-stat b {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1;
}
.header-stat.clickable {
  cursor: pointer;
}
.panel-head,
.hero-top {
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  display: flex;
}
.section-chip,
.mini-badge {
  color: #fff;
  border: 4px solid var(--line);
  text-transform: uppercase;
  white-space: nowrap;
  background: #5b5b5b;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  min-width: 54px;
  min-height: 34px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  display: inline-flex;
}
.hero-name,
.page-title {
  text-transform: uppercase;
  margin-top: 8px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}
.section-title {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 900;
}
.hero-meta,
.page-sub,
.catch-meta,
.row-meta,
.leader-meta,
.empty-text {
  color: var(--muted);
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
}
.scene {
  border: 4px solid var(--line);
  background: #92c9f2;
  height: 286px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.scene-sky {
  background: linear-gradient(#8ed4ff 0%, #bdeeff 100%);
  position: absolute;
  inset: 0 0 120px;
}
.scene-sun {
  background: #ffd34a;
  width: 32px;
  height: 32px;
  position: absolute;
  top: 24px;
  right: 24px;
}
.scene-cloud {
  opacity: 0.95;
  will-change: transform;
  background: #fff;
  height: 10px;
  position: absolute;
}
.cloud-one {
  width: 32px;
  animation: 18s linear infinite cloudDriftOne;
  top: 48px;
  left: 34px;
  box-shadow: 12px -8px #fff, 24px 0 #fff;
}
.cloud-two {
  width: 32px;
  animation: 24s linear infinite cloudDriftTwo;
  top: 84px;
  right: 92px;
  box-shadow: 12px -8px #fff, 24px 0 #fff;
}
.far-hills {
  background: #70c854;
  width: 150px;
  height: 46px;
  position: absolute;
  bottom: 116px;
}
.hill-one {
  left: -26px;
}
.hill-two {
  background: #87db59;
  width: 190px;
  right: -20px;
}
.grass-bank {
  z-index: 3;
  background: #7ac94f;
  height: 24px;
  position: absolute;
  top: 124px;
  left: 0;
  right: 0;
}
.dirt-bank {
  z-index: 3;
  background: #9b6035;
  height: 28px;
  position: absolute;
  top: 148px;
  left: 0;
  right: 0;
}
.water-layer {
  z-index: 2;
  will-change: background-position;
  position: absolute;
  left: 0;
  right: 0;
}
.water-top {
  background: repeating-linear-gradient(
    90deg,
    #61afe7 0 28px,
    #6cb7ec 28px 56px,
    #5ca9e3 56px 84px
  );
  height: 36px;
  animation: 2.4s linear infinite waterShiftFast;
  top: 176px;
}
.water-mid {
  background: repeating-linear-gradient(
    90deg,
    #4f99d8 0 32px,
    #5ca5e0 32px 64px,
    #468ed0 64px 96px
  );
  height: 36px;
  animation: 3.2s linear infinite waterShiftMid;
  top: 212px;
}
.water-deep {
  background: repeating-linear-gradient(
    90deg,
    #3a84c5 0 36px,
    #478fd0 36px 72px,
    #327abd 72px 108px
  );
  animation: 4.2s linear infinite waterShiftSlow;
  top: 248px;
  bottom: 0;
}
.water-shine {
  z-index: 4;
  will-change: transform, opacity;
  background: #ffffffdb;
  height: 4px;
  position: absolute;
}
.shine-one {
  width: 40px;
  animation: 2.1s ease-in-out infinite shineFloatOne;
  top: 214px;
  left: 112px;
}
.shine-two {
  width: 46px;
  animation: 2.8s ease-in-out infinite shineFloatTwo;
  top: 240px;
  right: 72px;
}
.shine-three {
  width: 36px;
  animation: 2.4s ease-in-out infinite shineFloatThree;
  top: 198px;
  left: 190px;
}
.scene-reeds {
  z-index: 6;
  background: #55a538;
  width: 8px;
  height: 38px;
  position: absolute;
  top: 152px;
  box-shadow: 12px 7px #55a538, 24px -3px #55a538;
}
.reeds-left {
  left: 32px;
}
.reeds-right {
  right: 34px;
}
.fishing-rod {
  z-index: 12;
  transform-origin: 24px 132px;
  width: 200px;
  height: 170px;
  position: absolute;
  top: 66px;
  left: 88px;
}
.fishing-rod span {
  display: block;
  position: absolute;
}
.rod-handle {
  background: #6c3f1f;
  border: 4px solid #2e1a0d;
  width: 16px;
  height: 60px;
  top: 114px;
  left: 0;
  transform: rotate(-32deg);
}
.rod-grip {
  background: #86512b;
  border: 4px solid #2e1a0d;
  width: 20px;
  height: 36px;
  top: 102px;
  left: 20px;
  transform: rotate(-32deg);
}
.rod-stick {
  transform-origin: 0;
  background: #7a4b28;
  border: 3px solid #2e1a0d;
  width: 170px;
  height: 8px;
  top: 90px;
  left: 34px;
  transform: rotate(-29deg);
}
.rod-highlight {
  transform-origin: 0;
  background: #d3a85f;
  width: 120px;
  height: 2px;
  top: 90px;
  left: 52px;
  transform: rotate(-29deg);
}
.rod-reel {
  background: #737373;
  border: 4px solid #2d2d2d;
  width: 30px;
  height: 30px;
  top: 111px;
  left: 28px;
  transform: rotate(-29deg);
}
.rod-reel-core {
  background: #2d2d2d;
  width: 8px;
  height: 8px;
  top: 122px;
  left: 39px;
  transform: rotate(-29deg);
}
.rod-line {
  transform-origin: top;
  z-index: 13;
  background: #ffffffe6;
  width: 4px;
  height: 190px;
  top: 70px;
  left: 176px;
  transform: rotate(13deg);
}
.rod-bobber {
  z-index: 14;
  background: #e43c35;
  width: 12px;
  height: 16px;
  top: 227px;
  left: 205px;
  box-shadow: 0 8px #fff;
}
.rod-hook {
  z-index: 14;
  border-bottom: 4px solid #fff;
  border-right: 4px solid #fff;
  width: 8px;
  height: 8px;
  top: 250px;
  left: 208px;
}
.fishing-rod.phase-pay {
  animation: 0.6s steps(2, end) infinite rodPay;
}
.fishing-rod.phase-throw {
  animation: 0.7s steps(3, end) both rodThrow;
}
.fishing-rod.phase-wait .rod-bobber {
  animation: 0.8s steps(2, end) infinite bobberFloat;
}
.fishing-rod.phase-wait .rod-line {
  animation: 0.8s steps(2, end) infinite lineFloat;
}
.fishing-rod.phase-bite .rod-bobber {
  animation: 0.22s steps(2, end) infinite bobberBite;
}
.fishing-rod.phase-bite .rod-line {
  animation: 0.22s steps(2, end) infinite lineBite;
}
.scene-status {
  z-index: 30;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%);
}
.scene-status-chip {
  border: 4px solid var(--line);
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background: #505050;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  display: block;
}
.stats-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
  display: grid;
}
.stat-card {
  background: #bdbdbd;
  padding: 10px;
}
.stat-label {
  text-transform: uppercase;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  display: flex;
}
.stat-value {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}
.cast-btn,
.small-action {
  border: 4px solid var(--line);
  background: var(--green);
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: inset 3px 3px 0 var(--green-light),
    inset -3px -3px 0 var(--green-dark);
  font-weight: 900;
}
.cast-btn {
  width: 100%;
  margin-top: 12px;
  padding: 14px 10px;
  font-size: 14px;
}
.cast-btn.busy {
  background: #8ab06a;
}
.cast-btn:disabled,
.small-action:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
.result-grid {
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 12px;
  display: grid;
}
.result-fish-frame {
  border: 4px solid var(--line);
  background: linear-gradient(#8fd6ff 0%, #4796d6 100%);
  place-items: center;
  height: 92px;
  display: grid;
}
.result-name {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.result-points {
  color: #2f6f27;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 900;
}
.result-text {
  color: var(--muted);
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
}
.friend-input-row,
.tip-grid {
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 10px;
  display: grid;
}
.fid-input {
  border: 4px solid var(--line);
  width: 100%;
  color: var(--text);
  background: #ece0b5;
  outline: none;
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
}
.list-grid {
  gap: 8px;
  display: grid;
}
.catch-row {
  background: #d0ad69;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  display: grid;
}
.catch-fish-inline {
  place-items: center;
  width: 44px;
  height: 32px;
  display: grid;
  overflow: visible;
}
.catch-fish-inline .pixel-fish {
  transform: scale(1);
}
.catch-thumb {
  background: 0 0;
  border: 0;
  place-items: center;
  width: 44px;
  height: 32px;
  display: grid;
  overflow: visible;
}
.catch-thumb .pixel-fish {
  transform: scale(1);
}
.catch-copy,
.row-copy,
.leader-copy {
  min-width: 0;
}
.catch-name,
.row-title,
.leader-name {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
}
.catch-emoji {
  font-size: 16px;
}
.friend-row {
  background: #c5c5c5;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  display: grid;
}
.empty-card {
  text-align: center;
  background: #c9c9c9;
  padding: 14px;
}
.empty-title {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 900;
}
.classic-box {
  background: #d1b06d;
  padding: 10px;
}
.field-label {
  text-transform: uppercase;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 900;
}
.ref-link-field {
  word-break: break-all;
  background: #e8d9a7;
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
}
.ref-actions {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
  display: grid;
}
.tip-form {
  gap: 8px;
  display: grid;
}
.tip-grid {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0;
}
.leader-row {
  background: #c6c6c6;
  grid-template-columns: 38px 42px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  display: grid;
}
.leader-rank,
.leader-score {
  font-size: 12px;
  font-weight: 900;
}
.leader-avatar {
  border: 4px solid var(--line);
  color: #fff;
  background: #8e8e8e;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 10px;
  font-weight: 900;
  display: grid;
  overflow: hidden;
}
.rank-tabs {
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 10px;
  display: grid;
}
.rank-tabs button {
  border: 4px solid var(--line);
  color: var(--text);
  cursor: pointer;
  text-transform: uppercase;
  background: #bcbcbc;
  padding: 10px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.rank-tabs button.active {
  background: var(--green);
  color: #fff;
  box-shadow: inset 3px 3px 0 var(--green-light),
    inset -3px -3px 0 var(--green-dark);
}
.energy-panel {
  background: var(--panel);
}
.daily-card,
.task-row {
  border: 4px solid var(--line);
  background: #c6c6c6;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  display: grid;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.task-row.verifying {
  background: #bfc9d1;
}
.task-copy {
  min-width: 0;
}
.task-title {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}
.task-subtitle {
  color: var(--muted);
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}
.task-reward {
  color: #1e5e1a;
  text-transform: uppercase;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 900;
}
.task-progress-bar {
  border: 3px solid var(--line);
  background: #8e8e8e;
  width: 100%;
  height: 12px;
  margin-top: 8px;
  overflow: hidden;
}
.task-progress-bar span {
  background: var(--green);
  width: 42%;
  height: 100%;
  animation: 1s steps(4, end) infinite taskVerifyBar;
  display: block;
}
.rod-panel {
  background: var(--panel);
}
.rod-level-badge {
  white-space: nowrap;
  min-width: 46px;
  padding: 6px 8px;
}
.rod-hint {
  text-align: center;
  margin-top: 10px;
  font-weight: 800;
}
.rod-card {
  border: 4px solid var(--line);
  background: #c6c6c6;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  display: grid;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.rod-visual {
  border: 4px solid var(--line);
  background: linear-gradient(#8fd6ff 0%, #4796d6 100%);
  position: relative;
  overflow: hidden;
}
.rod-visual-upgrade {
  border: 4px solid var(--line);
  background: linear-gradient(#8fd6ff 0%, #67afe7 52%, #4c98d7 100%);
  height: 104px;
  position: relative;
  overflow: hidden;
}
.rod-sky-glow {
  pointer-events: none;
  background: radial-gradient(circle at 78% 28%, #ffffff38 0, #fff0 30%),
    radial-gradient(circle at 20% 20%, #ffffff24 0, #fff0 26%);
  position: absolute;
  inset: 0;
}
.mini-rod-upgrade {
  transform-origin: 0 100%;
  width: 120px;
  height: 72px;
  animation: 2.2s ease-in-out infinite rodUpgradeFloat;
  position: absolute;
  top: 16px;
  left: 30px;
  transform: rotate(-18deg);
}
.mini-rod-upgrade span {
  display: block;
  position: absolute;
}
.mini-rod-upgrade .mini-rod-stick {
  background: #7a4b28;
  border: 3px solid #2e1a0d;
  width: 84px;
  height: 7px;
  top: 20px;
  left: 22px;
}
.mini-rod-upgrade .mini-rod-stick-highlight {
  opacity: 0.95;
  background: #d8b26c;
  width: 58px;
  height: 2px;
  top: 22px;
  left: 28px;
}
.mini-rod-upgrade .mini-rod-handle {
  background: #6c3f1f;
  border: 3px solid #2e1a0d;
  width: 16px;
  height: 38px;
  top: 28px;
  left: 0;
}
.mini-rod-upgrade .mini-rod-grip {
  background: #86512b;
  border: 3px solid #2e1a0d;
  width: 16px;
  height: 28px;
  top: 24px;
  left: 10px;
}
.mini-rod-upgrade .mini-rod-reel {
  background: #6d6d6d;
  border: 3px solid #2e2e2e;
  width: 22px;
  height: 22px;
  top: 35px;
  left: 18px;
}
.mini-rod-upgrade .mini-rod-reel-core {
  background: #2e2e2e;
  width: 8px;
  height: 8px;
  top: 42px;
  left: 25px;
}
.mini-rod-upgrade .mini-rod-line {
  transform-origin: top;
  background: #fffffff2;
  width: 3px;
  height: 44px;
  top: 18px;
  left: 95px;
  transform: rotate(18deg);
}
.upgrade-plus {
  z-index: 3;
  color: #fff;
  text-shadow: 0 0 #2d2d2d, 2px 2px #00000038;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  animation: 1.6s ease-in-out infinite plusFloat;
  position: absolute;
}
.plus-one {
  animation-delay: 0s;
  top: 18px;
  right: 26px;
}
.plus-two {
  font-size: 16px;
  animation-delay: 0.25s;
  top: 34px;
  right: 52px;
}
.plus-three {
  font-size: 14px;
  animation-delay: 0.45s;
  top: 48px;
  right: 18px;
}
.upgrade-spark {
  z-index: 2;
  background: #fff2a8;
  width: 6px;
  height: 6px;
  animation: 1.4s steps(2, end) infinite sparkBlink;
  position: absolute;
  box-shadow: 0 -6px #fff2a8, 0 6px #fff2a8, -6px 0 #fff2a8, 6px 0 #fff2a8;
}
.spark-one {
  animation-delay: 0.1s;
  top: 24px;
  right: 76px;
}
.spark-two {
  animation-delay: 0.45s;
  top: 60px;
  right: 42px;
}
.spark-three {
  animation-delay: 0.8s;
  top: 56px;
  right: 96px;
}
.rod-info-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  display: grid;
}
.rod-stat {
  border: 4px solid var(--line);
  background: #bdbdbd;
  padding: 8px;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.rod-stat span {
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  display: block;
}
.rod-stat b {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1;
  display: block;
}
.error-box {
  border: 4px solid var(--line);
  background: var(--danger);
  color: #2a0e0a;
  margin-top: 10px;
  padding: 10px;
  font-size: 12px;
  font-weight: 900;
}
.minecraft-toast {
  z-index: 9999;
  border: 4px solid var(--line);
  width: min(100vw - 24px, 420px);
  color: var(--text);
  text-align: center;
  text-transform: uppercase;
  background: #f1d56d;
  padding: 10px;
  font-size: 11px;
  font-weight: 900;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translate(-50%);
}
.bottom-nav {
  left: 50%;
  bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 200;
  background: var(--panel);
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  width: min(100vw - 24px, 496px);
  padding: 6px;
  display: grid;
  position: fixed;
  transform: translate(-50%);
}
.nav-button {
  border: 4px solid var(--line);
  min-width: 0;
  height: 44px;
  color: var(--text);
  cursor: pointer;
  background: #bcbcbc;
  place-items: center;
  gap: 1px;
  display: grid;
}
.nav-button.active {
  background: var(--green);
  color: #fff;
  box-shadow: inset 3px 3px 0 var(--green-light),
    inset -3px -3px 0 var(--green-dark);
}
.nav-icon {
  font-size: 12px;
  line-height: 1;
}
.nav-label {
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
}
.loading-card {
  margin-top: 30px;
}
.loading-title {
  text-transform: uppercase;
  margin-top: 12px;
  font-size: 22px;
  font-weight: 900;
}
.loading-bar {
  border: 4px solid var(--line);
  background: #8e8e8e;
  height: 16px;
  margin-top: 12px;
  overflow: hidden;
}
.loading-bar span {
  background: var(--green);
  width: 42%;
  height: 100%;
  animation: 1s steps(5, end) infinite loadingBar;
  display: block;
}
.pixel-fish {
  image-rendering: pixelated;
  transform-origin: 50%;
  place-items: center;
  display: grid;
  overflow: visible;
}
.pixel-fish-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.pixel-fish-animate {
  animation: 1.15s steps(3, end) infinite fishFloat;
}
.result-fish-frame .pixel-fish {
  transform: scale(1.02);
}
.steal-overlay {
  z-index: 999;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background: #0c12189e;
  place-items: center;
  padding: 18px;
  display: grid;
  position: fixed;
  inset: 0;
}
.steal-modal {
  border: 4px solid var(--line);
  background: linear-gradient(#dfbd75 0%, #9a6236 100%);
  width: min(100%, 390px);
  padding: 12px;
  box-shadow: 0 5px #1c120a8c, inset 4px 4px #ffffff47,
    inset -4px -4px #321c0f47;
}
.steal-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  display: flex;
}
.steal-title {
  color: #fff7df;
  text-transform: uppercase;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}
.steal-subtitle {
  color: #ffe9b9;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
}
.steal-close {
  border: 4px solid var(--line);
  background: var(--danger);
  color: #111;
  cursor: pointer;
  width: 34px;
  height: 34px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}
.steal-mini-badge {
  border: 4px solid var(--line);
  color: #fff;
  background: #5d5b55;
  padding: 7px 9px;
  font-size: 10px;
  font-weight: 900;
}
@keyframes loadingBar {
  0% {
    width: 20%;
  }
  50% {
    width: 75%;
  }
  to {
    width: 38%;
  }
}
@keyframes rodPay {
  0% {
    transform: translateY(0);
  }
  to {
    transform: translateY(-2px);
  }
}
@keyframes rodThrow {
  0% {
    transform: rotate(2deg);
  }
  45% {
    transform: rotate(-9deg) translateY(-4px);
  }
  to {
    transform: rotate(0);
  }
}
@keyframes bobberFloat {
  0% {
    transform: translateY(0);
  }
  to {
    transform: translateY(5px);
  }
}
@keyframes bobberBite {
  0% {
    transform: translateY(0);
  }
  to {
    transform: translateY(15px);
  }
}
@keyframes lineFloat {
  0% {
    transform: rotate(13deg);
  }
  to {
    transform: rotate(10deg);
  }
}
@keyframes lineBite {
  0% {
    transform: rotate(13deg);
  }
  to {
    transform: rotate(7deg);
  }
}
@keyframes cloudDriftOne {
  0% {
    transform: translate(0);
  }
  50% {
    transform: translate(18px);
  }
  to {
    transform: translate(0);
  }
}
@keyframes cloudDriftTwo {
  0% {
    transform: translate(0);
  }
  50% {
    transform: translate(-22px);
  }
  to {
    transform: translate(0);
  }
}
@keyframes waterShiftFast {
  0% {
    background-position: 0 0;
  }
  to {
    background-position: 84px 0;
  }
}
@keyframes waterShiftMid {
  0% {
    background-position: 0 0;
  }
  to {
    background-position: -96px 0;
  }
}
@keyframes waterShiftSlow {
  0% {
    background-position: 0 0;
  }
  to {
    background-position: 108px 0;
  }
}
@keyframes shineFloatOne {
  0% {
    opacity: 0.7;
    transform: translate(0);
  }
  50% {
    opacity: 1;
    transform: translate(8px);
  }
  to {
    opacity: 0.7;
    transform: translate(0);
  }
}
@keyframes shineFloatTwo {
  0% {
    opacity: 0.72;
    transform: translate(0);
  }
  50% {
    opacity: 1;
    transform: translate(-10px);
  }
  to {
    opacity: 0.72;
    transform: translate(0);
  }
}
@keyframes shineFloatThree {
  0% {
    opacity: 0.68;
    transform: translate(0);
  }
  50% {
    opacity: 0.96;
    transform: translate(7px);
  }
  to {
    opacity: 0.68;
    transform: translate(0);
  }
}
@keyframes fishFloat {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-3px) rotate(-1deg);
  }
  to {
    transform: translateY(0) rotate(0);
  }
}
@keyframes taskVerifyBar {
  0% {
    width: 18%;
  }
  50% {
    width: 76%;
  }
  to {
    width: 42%;
  }
}
@keyframes rodUpgradeFloat {
  0% {
    transform: rotate(-18deg) translateY(0);
  }
  50% {
    transform: rotate(-16deg) translateY(-2px);
  }
  to {
    transform: rotate(-18deg) translateY(0);
  }
}
@keyframes plusFloat {
  0% {
    opacity: 0.8;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-5px) scale(1.08);
  }
  to {
    opacity: 0.8;
    transform: translateY(0) scale(1);
  }
}
@keyframes sparkBlink {
  0% {
    opacity: 0.6;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
  to {
    opacity: 0.6;
    transform: scale(0.8);
  }
}
@media (width<=430px) {
  .app-shell {
    padding-left: 8px;
    padding-right: 8px;
  }
  .app-header {
    gap: 8px;
  }
  .header-stats {
    gap: 6px;
  }
  .header-stat {
    min-width: 58px;
  }
  .scene {
    height: 280px;
  }
  .fishing-rod {
    transform-origin: 0 0;
    top: 68px;
    left: 78px;
    transform: scale(0.96);
  }
  .task-row,
  .daily-card {
    grid-template-columns: 1fr;
  }
  .task-row .small-action,
  .daily-card .small-action {
    width: 100%;
  }
  .rod-visual-upgrade {
    height: 98px;
  }
  .mini-rod-upgrade {
    transform-origin: 0 100%;
    top: 18px;
    left: 20px;
    transform: rotate(-18deg) scale(0.95);
  }
  .plus-one {
    top: 14px;
    right: 18px;
  }
  .plus-two {
    top: 30px;
    right: 44px;
  }
  .plus-three {
    top: 44px;
    right: 14px;
  }
}
@media (width<=380px) {
  .app-header {
    flex-direction: column;
    align-items: stretch;
  }
  .header-stats {
    justify-content: space-between;
  }
  .scene {
    height: 270px;
  }
  .fishing-rod {
    transform-origin: 0 0;
    top: 70px;
    left: 62px;
    transform: scale(0.88);
  }
}
.fishpeg-entry-banner {
  border: 4px solid var(--line);
  width: 100%;
  color: var(--text);
  text-transform: uppercase;
  cursor: pointer;
  background: #d0ad69;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 12px;
  padding: 10px;
  font-weight: 900;
  display: flex;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.fishpeg-entry-banner span {
  font-size: 12px;
}
.fishpeg-entry-banner b {
  border: 4px solid var(--line);
  background: var(--green);
  color: #fff;
  box-shadow: inset 3px 3px 0 var(--green-light),
    inset -3px -3px 0 var(--green-dark);
  padding: 5px 10px;
  font-size: 10px;
}
.fishpeg-panel {
  background: var(--panel);
}
.fishpeg-hero-box {
  border: 4px solid var(--line);
  background: #d0ad69;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px;
  display: grid;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.fishpeg-pass {
  border: 4px solid var(--line);
  background: linear-gradient(#8fd6ff 0%, #4796d6 100%);
  place-items: center;
  height: 96px;
  display: grid;
  position: relative;
  overflow: hidden;
}
.fishpeg-pass-glow {
  background: radial-gradient(circle at 50% 35%, #ffffff59 0, #fff0 38%),
    repeating-linear-gradient(90deg, #ffffff14 0 12px, #fff0 12px 24px);
  animation: 2.4s linear infinite fishpegPassGlow;
  position: absolute;
  inset: 0;
}
.fishpeg-pass-fish {
  z-index: 2;
  font-size: 30px;
  animation: 1.4s steps(3, end) infinite fishpegFloat;
  position: relative;
}
.fishpeg-pass-title {
  z-index: 3;
  border: 3px solid var(--line);
  color: #fff;
  text-align: center;
  background: #505050;
  padding: 4px;
  font-size: 8px;
  font-weight: 900;
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
}
.fishpeg-copy {
  min-width: 0;
}
.fishpeg-progress-card,
.fishpeg-task-card {
  border: 4px solid var(--line);
  background: #c6c6c6;
  margin-top: 10px;
  padding: 10px;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.fishpeg-task-card.checking {
  background: #bfc9d1;
}
.fishpeg-progress-blocks {
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 8px;
  display: grid;
}
.fishpeg-progress-blocks span {
  border: 3px solid var(--line);
  background: #8e8e8e;
  height: 16px;
  box-shadow: inset 2px 2px #ffffff38, inset -2px -2px #00000024;
}
.fishpeg-progress-blocks span.done {
  background: var(--green);
  box-shadow: inset 2px 2px 0 var(--green-light),
    inset -2px -2px 0 var(--green-dark);
}
.fishpeg-check-bar {
  margin-top: 10px;
}
@keyframes fishpegPassGlow {
  0% {
    background-position: 0 0;
  }
  to {
    background-position: 48px 0;
  }
}
@keyframes fishpegFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  to {
    transform: translateY(0);
  }
}
@media (width<=430px) {
  .fishpeg-hero-box {
    grid-template-columns: 82px 1fr;
  }
  .fishpeg-pass {
    height: 82px;
  }
  .fishpeg-pass-fish {
    font-size: 26px;
  }
}
.web-landing-shell,
.web-auth-shell {
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: min(100vw, 760px);
  max-width: 760px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 14px;
  overflow: hidden auto;
}
.web-landing-shell::-webkit-scrollbar {
  display: none;
}
.web-auth-shell::-webkit-scrollbar {
  display: none;
}
.web-hero {
  background: #d0ad69;
  margin-top: 14px;
}
.web-hero-title {
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-top: 12px;
  font-size: clamp(28px, 7vw, 54px);
  font-weight: 900;
  line-height: 0.95;
}
.web-hero-sub {
  max-width: 580px;
  color: var(--muted);
  margin-top: 12px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}
.web-mini-note {
  border: 4px solid var(--line);
  text-transform: uppercase;
  background: #ece0b5;
  margin-top: 10px;
  padding: 10px;
  font-size: 11px;
  font-weight: 900;
}
.web-section-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  display: grid;
}
.web-info-card {
  background: var(--panel);
}
.web-stat-row {
  border: 4px solid var(--line);
  background: #c6c6c6;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px;
  display: flex;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.web-stat-row span,
.web-stat-row b {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.web-auth-card {
  background: #d0ad69;
  max-width: 440px;
  margin: 30px auto 0;
}
.web-auth-button-wrap {
  border: 4px solid var(--line);
  background: #ece0b5;
  place-items: center;
  min-height: 74px;
  margin-top: 14px;
  padding: 12px;
  display: grid;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.web-auth-button-wrap button {
  max-width: 100%;
}
.wallet-modal-overlay {
  z-index: 9998;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background: #0c12189e;
  place-items: center;
  padding: 18px;
  display: grid;
  position: fixed;
  inset: 0;
}
.wallet-modal {
  background: #d0ad69;
  width: min(100%, 420px);
}
.wallet-cancel-btn {
  border: 4px solid var(--line);
  width: 100%;
  color: var(--text);
  cursor: pointer;
  text-transform: uppercase;
  background: #bcbcbc;
  margin-top: 8px;
  padding: 12px 10px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.wallet-cancel-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
@media (width<=640px) {
  .web-section-grid {
    grid-template-columns: 1fr;
  }
  .web-landing-shell,
  .web-auth-shell {
    width: min(100vw, 520px);
    max-width: 520px;
    padding: 10px;
  }
  .web-hero-title {
    font-size: 34px;
  }
}
.catch-result-card {
  margin-top: 14px;
}
.catch-result-body {
  align-items: center;
  gap: 14px;
  display: flex;
}
.catch-result-fish-plain {
  width: 84px;
  min-width: 84px;
  height: 84px;
  box-shadow: none;
  background: 0 0;
  border: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: flex;
}
.catch-result-copy {
  flex: 1;
  min-width: 0;
}
.catch-result-title {
  text-transform: uppercase;
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}
.catch-result-value {
  color: #2e9b3e;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 900;
}
.catch-result-text {
  color: #2b2b2b;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}
.add-web-card {
  margin: 0 0 12px;
}
.add-web-main {
  border: 4px solid var(--line);
  width: 100%;
  color: var(--text);
  text-transform: uppercase;
  cursor: pointer;
  background: #ece0b5;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  font-weight: 900;
  display: flex;
  box-shadow: inset 3px 3px #ffffff57, inset -3px -3px #00000029;
}
.add-web-main span {
  font-size: 12px;
  line-height: 1;
}
.add-web-main b {
  border: 4px solid var(--line);
  background: var(--green);
  color: #fff;
  box-shadow: inset 3px 3px 0 var(--green-light),
    inset -3px -3px 0 var(--green-dark);
  padding: 5px 10px;
  font-size: 10px;
  line-height: 1;
}
.add-web-guide {
  border: 4px solid var(--line);
  background: #d0ad69;
  margin-top: 8px;
  padding: 10px;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.add-web-guide-title {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}
.add-web-guide-text {
  color: var(--muted);
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.add-web-close {
  border: 4px solid var(--line);
  width: 100%;
  color: var(--text);
  cursor: pointer;
  text-transform: uppercase;
  background: #bcbcbc;
  margin-top: 10px;
  padding: 8px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.pixel-rod-scene {
  background: #78bff0;
  height: 126px;
  position: relative;
  overflow: hidden;
}
.pixel-rod-scene * {
  image-rendering: pixelated;
}
.pixel-rod-sky {
  background: linear-gradient(#89d5ff 0%, #a8e7ff 100%);
  position: absolute;
  inset: 0 0 44px;
}
.pixel-rod-sun {
  background: #ffd94a;
  width: 22px;
  height: 22px;
  position: absolute;
  top: 14px;
  right: 22px;
  box-shadow: 0 0 0 4px #ffd94a33, 0 0 0 8px #ffd94a14;
}
.pixel-rod-cloud {
  opacity: 0.95;
  z-index: 2;
  background: #fff;
  height: 8px;
  position: absolute;
}
.pixel-rod-cloud.cloud-a {
  width: 28px;
  animation: 12s linear infinite pixelRodCloudA;
  top: 22px;
  left: 30px;
  box-shadow: 10px -6px #fff, 20px 0 #fff;
}
.pixel-rod-cloud.cloud-b {
  width: 24px;
  animation: 14s linear infinite pixelRodCloudB;
  top: 36px;
  right: 80px;
  box-shadow: 8px -6px #fff, 18px 0 #fff;
}
.pixel-rod-grass {
  z-index: 3;
  background: repeating-linear-gradient(
    90deg,
    #68c94c 0 34px,
    #75d94e 34px 68px
  );
  height: 16px;
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
}
.pixel-rod-dirt {
  z-index: 3;
  background: repeating-linear-gradient(
    90deg,
    #9b6035 0 32px,
    #a96c3e 32px 64px
  );
  height: 18px;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
}
.pixel-rod-water {
  z-index: 2;
  position: absolute;
  left: 0;
  right: 0;
}
.pixel-rod-water.water-a {
  background: repeating-linear-gradient(
    90deg,
    #5baee7 0 24px,
    #67b8ed 24px 48px,
    #4d9edd 48px 72px
  );
  height: 20px;
  animation: 2.3s linear infinite pixelRodWaterA;
  top: 90px;
}
.pixel-rod-water.water-b {
  background: repeating-linear-gradient(
    90deg,
    #3f8ed0 0 28px,
    #4a9ada 28px 56px,
    #337fc2 56px 84px
  );
  animation: 3.2s linear infinite pixelRodWaterB;
  top: 110px;
  bottom: 0;
}
.pixel-rod-shine {
  z-index: 5;
  background: #ffffffdb;
  height: 4px;
  position: absolute;
}
.pixel-rod-shine.shine-a {
  width: 34px;
  animation: 1.8s steps(3, end) infinite pixelRodShineA;
  top: 99px;
  left: 54px;
}
.pixel-rod-shine.shine-b {
  width: 42px;
  animation: 2.2s steps(3, end) infinite pixelRodShineB;
  top: 112px;
  right: 58px;
}
.pixel-upgrade-rod {
  z-index: 12;
  transform-origin: 20px 78px;
  width: 230px;
  height: 98px;
  animation: 1.9s ease-in-out infinite pixelRodFloat;
  position: absolute;
  top: 16px;
  left: 70px;
}
.pixel-upgrade-rod span {
  display: block;
  position: absolute;
}
.rod-pixel-handle {
  background: #6a3d20;
  border: 4px solid #2e1a0d;
  width: 17px;
  height: 48px;
  top: 60px;
  left: 0;
  transform: rotate(-34deg);
  box-shadow: inset 3px 0 #9b6035, inset -3px 0 #3b2112;
}
.rod-pixel-grip {
  background: #8a522c;
  border: 4px solid #2e1a0d;
  width: 20px;
  height: 36px;
  top: 50px;
  left: 18px;
  transform: rotate(-34deg);
  box-shadow: inset 3px 0 #b6793e, inset -3px 0 #4b2a16;
}
.rod-pixel-stick-shadow {
  transform-origin: 0;
  background: #2e1a0d;
  width: 168px;
  height: 12px;
  top: 50px;
  left: 34px;
  transform: rotate(-30deg);
}
.rod-pixel-stick {
  transform-origin: 0;
  background: #7a4b28;
  border-top: 3px solid #d7a25d;
  border-bottom: 3px solid #2e1a0d;
  width: 164px;
  height: 8px;
  top: 47px;
  left: 38px;
  transform: rotate(-30deg);
}
.rod-pixel-highlight {
  transform-origin: 0;
  background: #f3c16e;
  width: 106px;
  height: 3px;
  top: 43px;
  left: 64px;
  transform: rotate(-30deg);
}
.rod-pixel-tip {
  transform-origin: 0;
  background: #2e1a0d;
  width: 16px;
  height: 8px;
  top: -5px;
  left: 194px;
  transform: rotate(-30deg);
}
.rod-pixel-reel {
  background: #737373;
  border: 4px solid #2d2d2d;
  width: 32px;
  height: 32px;
  top: 61px;
  left: 34px;
  transform: rotate(-30deg);
  box-shadow: inset 4px 4px #9a9a9a, inset -4px -4px #484848;
}
.rod-pixel-reel-core {
  background: #2d2d2d;
  width: 10px;
  height: 10px;
  top: 72px;
  left: 45px;
  transform: rotate(-30deg);
}
.rod-pixel-reel-arm {
  background: #2d2d2d;
  width: 22px;
  height: 6px;
  top: 76px;
  left: 58px;
  transform: rotate(-4deg);
}
.rod-pixel-line {
  transform-origin: top;
  background: #ffffffeb;
  width: 4px;
  height: 108px;
  animation: 1.1s steps(2, end) infinite pixelRodLine;
  top: 6px;
  left: 195px;
  transform: rotate(13deg);
}
.rod-pixel-hook {
  border-bottom: 4px solid #ffffffeb;
  border-right: 4px solid #ffffffeb;
  width: 10px;
  height: 10px;
  top: 104px;
  left: 216px;
  transform: rotate(8deg);
}
.rod-upgrade-plus {
  z-index: 16;
  color: #fff;
  text-shadow: 2px 2px #2d2d2d, -2px 2px #2d2d2d, 2px -2px #2d2d2d,
    -2px -2px #2d2d2d;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  animation: 1.5s ease-in-out infinite rodPlusRise;
  position: absolute;
}
.rod-upgrade-plus.plus-a {
  animation-delay: 0s;
  top: 18px;
  left: 20px;
}
.rod-upgrade-plus.plus-b {
  font-size: 15px;
  animation-delay: 0.25s;
  top: 34px;
  left: 42px;
}
.rod-upgrade-plus.plus-c {
  font-size: 16px;
  animation-delay: 0.5s;
  top: 18px;
  right: 62px;
}
.rod-upgrade-plus.plus-d {
  font-size: 14px;
  animation-delay: 0.75s;
  top: 48px;
  right: 28px;
}
.rod-level-float {
  z-index: 17;
  border: 4px solid var(--line);
  color: #fff;
  white-space: nowrap;
  text-transform: uppercase;
  background: #505050;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  position: absolute;
  bottom: 14px;
  left: 16px;
  box-shadow: inset 2px 2px #ffffff38, inset -2px -2px #0003;
}
.pixel-rod-scene.is-upgrading .pixel-upgrade-rod {
  animation: 1.9s ease-in-out infinite pixelRodFloat,
    0.45s steps(2, end) infinite pixelRodUpgradePulse;
}
.pixel-rod-scene.is-upgrading .rod-upgrade-plus {
  animation-duration: 0.7s;
}
@keyframes pixelRodFloat {
  0% {
    transform: rotate(0) translateY(0);
  }
  50% {
    transform: rotate(-1.5deg) translateY(-3px);
  }
  to {
    transform: rotate(0) translateY(0);
  }
}
@keyframes pixelRodLine {
  0% {
    transform: rotate(13deg);
  }
  50% {
    transform: rotate(10deg);
  }
  to {
    transform: rotate(13deg);
  }
}
@keyframes rodPlusRise {
  0% {
    opacity: 0.65;
    transform: translateY(6px) scale(0.9);
  }
  50% {
    opacity: 1;
    transform: translateY(-5px) scale(1.08);
  }
  to {
    opacity: 0.55;
    transform: translateY(-12px) scale(0.92);
  }
}
@keyframes pixelRodUpgradePulse {
  0% {
    filter: brightness();
  }
  to {
    filter: brightness(1.18);
  }
}
@keyframes pixelRodCloudA {
  0% {
    transform: translate(0);
  }
  50% {
    transform: translate(14px);
  }
  to {
    transform: translate(0);
  }
}
@keyframes pixelRodCloudB {
  0% {
    transform: translate(0);
  }
  50% {
    transform: translate(-18px);
  }
  to {
    transform: translate(0);
  }
}
@keyframes pixelRodWaterA {
  0% {
    background-position: 0 0;
  }
  to {
    background-position: 72px 0;
  }
}
@keyframes pixelRodWaterB {
  0% {
    background-position: 0 0;
  }
  to {
    background-position: -84px 0;
  }
}
@keyframes pixelRodShineA {
  0% {
    opacity: 0.7;
    transform: translate(0);
  }
  50% {
    opacity: 1;
    transform: translate(8px);
  }
  to {
    opacity: 0.7;
    transform: translate(0);
  }
}
@keyframes pixelRodShineB {
  0% {
    opacity: 0.65;
    transform: translate(0);
  }
  50% {
    opacity: 1;
    transform: translate(-9px);
  }
  to {
    opacity: 0.65;
    transform: translate(0);
  }
}
@media (width<=430px) {
  .pixel-rod-scene {
    height: 120px;
  }
  .pixel-upgrade-rod {
    transform-origin: 0 0;
    top: 20px;
    left: 50px;
    transform: scale(0.9);
  }
  .rod-level-float {
    bottom: 12px;
    left: 12px;
  }
}
@media (width<=380px) {
  .pixel-upgrade-rod {
    transform-origin: 0 0;
    top: 24px;
    left: 38px;
    transform: scale(0.82);
  }
  .rod-upgrade-plus.plus-c {
    right: 46px;
  }
  .rod-upgrade-plus.plus-d {
    right: 20px;
  }
}
.walletconnect-btn {
  margin-top: 8px;
}
.wallet-mobile-fallbacks {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
  display: grid;
}
.wallet-mini-btn {
  border: 4px solid var(--line);
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  background: #4c8fd6;
  padding: 10px 8px;
  font-size: 10px;
  font-weight: 900;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #0000002e;
}
.wallet-mini-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.wallet-mobile-note {
  border: 4px solid var(--line);
  background: #ece0b5;
  margin-top: 10px;
  padding: 9px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}
.wallet-status-bar {
  border: 4px solid var(--line);
  width: 100%;
  color: var(--text);
  background: #ece0b5;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 8px;
  display: flex;
  box-shadow: inset 3px 3px #ffffff57, inset -3px -3px #00000029;
}
.wallet-status-copy {
  gap: 3px;
  min-width: 0;
  display: grid;
}
.wallet-status-copy span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}
.wallet-status-copy b {
  color: var(--text);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}
.wallet-disconnect-btn {
  border: 4px solid var(--line);
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  background: #d96355;
  flex-shrink: 0;
  padding: 8px 9px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 3px 3px #ffffff38, inset -3px -3px #0003;
}
.wallet-disconnect-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.room-online-list {
  width: 100%;
  overflow: hidden;
}
.room-player-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  overflow: hidden;
}
.room-player-main {
  min-width: 0;
  overflow: hidden;
}
.room-player-top {
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
  overflow: hidden;
}
.room-player-avatar {
  border: 4px solid var(--line);
  box-sizing: border-box;
  background: #86bce8;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  min-width: 46px;
  max-width: 46px;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  display: grid;
  overflow: hidden;
}
.room-player-avatar img {
  object-fit: cover;
  image-rendering: auto;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  display: block;
}
.room-player-avatar span {
  color: #fff;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}
.room-player-copy {
  min-width: 0;
  overflow: hidden;
}
.room-player-name {
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-weight: 900;
  line-height: 1.1;
  display: flex;
}
.room-player-name b {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
  display: block;
  overflow: hidden;
}
.room-player-stats {
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  margin-top: 8px;
  display: flex;
  overflow: hidden;
}
.room-player-stats span {
  border: 3px solid var(--line);
  white-space: nowrap;
  background: #ece0b5;
  padding: 4px 6px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}
.room-player-action {
  flex-shrink: 0;
  place-items: center;
  display: grid;
}
.room-player-action .small-action {
  min-width: 66px;
}
.online-dot {
  border: 2px solid var(--line);
  background: #7a7a7a;
  width: 8px;
  min-width: 8px;
  height: 8px;
  display: inline-block;
}
.online-dot.on {
  background: var(--green);
}
@media (width<=430px) {
  .room-player-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .room-player-action,
  .room-player-action .small-action {
    width: 100%;
  }
}
.raid-alert-overlay {
  z-index: 120;
  background: #00000094;
  place-items: center;
  padding: 16px;
  display: grid;
  position: fixed;
  inset: 0;
}
.raid-alert-modal {
  border: 4px solid var(--line);
  background: #d0ad69;
  width: min(100%, 430px);
  padding: 12px;
  box-shadow: 0 12px #00000047, inset 4px 4px #ffffff40,
    inset -4px -4px #0000002e;
}
.raid-alert-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  display: flex;
}
.raid-alert-title {
  text-transform: uppercase;
  margin-top: 8px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}
.raid-alert-close {
  border: 4px solid var(--line);
  color: #111;
  cursor: pointer;
  background: #d96355;
  width: 38px;
  height: 38px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}
.raid-alert-scene {
  border: 4px solid var(--line);
  background: #2e2a46;
  height: 138px;
  margin-top: 12px;
  position: relative;
  overflow: hidden;
}
.raid-alert-sky {
  background: linear-gradient(#2e2a46 0%, #40345d 62%, #202f4e 100%);
  position: absolute;
  inset: 0;
}
.raid-alert-water {
  background-color: #2f78b7;
  background-image: linear-gradient(90deg, #ffffff14 0 12px, #0000 12px 38px),
    none;
  background-position: 0 0, 0 0;
  background-repeat: repeat, repeat;
  background-size: 38px 100%;
  background-attachment: scroll, scroll;
  background-origin: padding-box, padding-box;
  background-clip: border-box, border-box;
  height: 46px;
  animation: 1.4s linear infinite raidWater;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.raid-alert-thief {
  width: 54px;
  height: 70px;
  animation: 1.05s steps(3, end) infinite raidSneak;
  position: absolute;
  bottom: 44px;
  left: 40px;
}
.raid-thief-head {
  border: 4px solid var(--line);
  background: #111;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 0;
  left: 18px;
}
.raid-thief-body {
  border: 4px solid var(--line);
  background: #202020;
  width: 34px;
  height: 34px;
  position: absolute;
  top: 24px;
  left: 12px;
}
.raid-thief-arm {
  border: 4px solid var(--line);
  background: #202020;
  width: 26px;
  height: 8px;
  position: absolute;
  top: 34px;
  left: 40px;
  transform: rotate(-18deg);
}
.raid-alert-chest {
  border: 4px solid var(--line);
  background: #b87833;
  width: 58px;
  height: 40px;
  animation: 0.6s steps(2, end) infinite raidChestShake;
  position: absolute;
  bottom: 42px;
  right: 38px;
}
.raid-alert-chest span {
  border: 3px solid var(--line);
  background: #f3d36b;
  width: 16px;
  height: 14px;
  position: absolute;
  top: 12px;
  left: 20px;
}
.raid-alert-flash {
  border: 4px solid var(--line);
  color: #fff;
  background: #d96355;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 22px;
  font-weight: 900;
  animation: 0.7s steps(2, end) infinite raidFlash;
  display: grid;
  position: absolute;
  top: 18px;
  right: 26px;
}
.raid-alert-copy {
  border: 4px solid var(--line);
  background: #ece0b5;
  margin-top: 10px;
  padding: 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}
.raid-alert-countdown {
  border: 4px solid var(--line);
  background: #c8c8c8;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding: 9px;
  display: flex;
}
.raid-alert-countdown span {
  font-size: 10px;
  font-weight: 900;
}
.raid-alert-countdown b {
  font-size: 20px;
  font-weight: 900;
}
.raid-defend-btn {
  width: 100%;
  margin-top: 10px;
}
.raid-alert-note {
  text-align: center;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 900;
}
@keyframes raidWater {
  0% {
    background-position: 0 0;
  }
  to {
    background-position: 38px 0;
  }
}
@keyframes raidSneak {
  0% {
    transform: translate(0);
  }
  to {
    transform: translate(18px);
  }
}
@keyframes raidChestShake {
  0% {
    transform: translate(0);
  }
  to {
    transform: translate(4px);
  }
}
@keyframes raidFlash {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0.65;
    transform: scale(1.08);
  }
}
.leaderboard-panel {
  overflow: hidden;
}
.rank-tabs {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
  display: grid;
}
.rank-tabs button {
  border: 4px solid var(--line);
  color: var(--text);
  text-transform: uppercase;
  cursor: pointer;
  background: #c8c8c8;
  padding: 10px 8px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.rank-tabs button.active {
  background: var(--green);
  color: #fff;
}
.leader-row {
  border: 4px solid var(--line);
  background: #d1d1d1;
  grid-template-columns: 42px 46px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  padding: 10px;
  display: grid;
  overflow: hidden;
  box-shadow: inset 3px 3px #ffffff40, inset -3px -3px #00000024;
}
.leader-rank {
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}
.leader-avatar {
  border: 4px solid var(--line);
  box-sizing: border-box;
  background: #86bce8;
  place-items: center;
  width: 46px;
  height: 46px;
  display: grid;
  overflow: hidden;
}
.leader-avatar img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}
.leader-avatar span {
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}
.leader-copy {
  min-width: 0;
  overflow: hidden;
}
.leader-name {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  overflow: hidden;
}
.leader-meta {
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  overflow: hidden;
}
.leader-score {
  border: 4px solid var(--line);
  text-align: center;
  background: #ece0b5;
  min-width: 64px;
  padding: 8px 6px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 2px 2px #ffffff47, inset -2px -2px #0000001f;
}
@media (width<=430px) {
  .leader-row {
    grid-template-columns: 34px 42px minmax(0, 1fr) 58px;
    gap: 8px;
    padding: 8px;
  }
  .leader-avatar {
    width: 42px;
    height: 42px;
  }
  .leader-score {
    min-width: 54px;
    padding: 7px 4px;
    font-size: 12px;
  }
  .leader-name {
    font-size: 12px;
  }
  .leader-meta {
    font-size: 9px;
  }
}
.cast-actions {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  display: grid;
}
.cast-btn-secondary {
  background: #d0ad69;
}
.cast-hint {
  border: 4px solid var(--line);
  text-align: center;
  background: #ece0b5;
  margin-top: 8px;
  padding: 8px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
}
.batch-result-card {
  overflow: hidden;
}
.batch-catch-list {
  gap: 8px;
  margin-top: 12px;
  display: grid;
}
.batch-catch-item {
  border: 4px solid var(--line);
  background: #d1d1d1;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
  display: grid;
  box-shadow: inset 3px 3px #ffffff38, inset -3px -3px #0000001f;
}
.batch-catch-fish {
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
  overflow: hidden;
}
.batch-catch-copy {
  min-width: 0;
}
.batch-catch-copy b {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  display: block;
  overflow: hidden;
}
.batch-catch-copy span {
  color: var(--muted);
  margin-top: 4px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  display: block;
}
@media (width<=430px) {
  .cast-actions {
    grid-template-columns: 1fr;
  }
}
.rank-reward-card {
  border: 4px solid var(--line);
  background: #d0ad69;
  margin: 0 0 12px;
  padding: 10px;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.rank-reward-main {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  display: grid;
}
.rank-reward-title {
  text-transform: uppercase;
  margin-top: 8px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
}
.rank-reward-sub {
  color: var(--muted);
  margin-top: 6px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}
.rank-pool-badge {
  border: 4px solid var(--line);
  text-align: center;
  background: #ece0b5;
  min-width: 82px;
  padding: 8px 7px;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000024;
}
.rank-pool-badge b {
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  display: block;
}
.rank-pool-badge span {
  margin-top: 5px;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  display: block;
}
.rank-reward-strip {
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
  display: grid;
}
.rank-reward-strip span {
  border: 3px solid var(--line);
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background: #505050;
  padding: 6px 4px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}
.leader-row-reward {
  background: #d0ad69;
}
.leader-top-1 {
  background: #f1d56d;
}
.leader-top-2 {
  background: #d8d8d8;
}
.leader-top-3 {
  background: #d6a061;
}
.leader-rank-icon {
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 16px;
  line-height: 1;
  display: inline-grid;
}
.leader-score-wrap {
  place-items: center end;
  gap: 5px;
  display: grid;
}
.leader-reward-badge {
  border: 3px solid var(--line);
  color: #fff;
  text-align: center;
  background: #2f6f27;
  min-width: 66px;
  padding: 5px 6px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 2px 2px #ffffff38, inset -2px -2px #0000002e;
}
.leader-reward-badge span {
  margin-top: 3px;
  font-size: 7px;
  line-height: 1;
  display: block;
}
.leader-reward-mobile {
  color: #1f641d;
  text-transform: uppercase;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  display: none;
}
@media (width<=430px) {
  .rank-reward-main {
    grid-template-columns: 1fr;
  }
  .rank-pool-badge {
    width: 100%;
  }
  .rank-reward-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .leader-row {
    grid-template-columns: 34px 38px minmax(0, 1fr) auto;
  }
  .leader-reward-badge {
    display: none;
  }
  .leader-reward-mobile {
    display: block;
  }
  .leader-score-wrap {
    justify-items: end;
  }
}
.language-toggle-btn {
  border: 4px solid var(--line);
  min-width: 48px;
  color: var(--text);
  cursor: pointer;
  text-transform: uppercase;
  background: #ece0b5;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 3px 3px #ffffff57, inset -3px -3px #00000029;
}
.language-toggle-btn:active {
  transform: translateY(1px);
}
html[lang="zh-CN"] .page-title,
html[lang="zh-CN"] .hero-name,
html[lang="zh-CN"] .section-chip,
html[lang="zh-CN"] .mini-badge,
html[lang="zh-CN"] .small-action,
html[lang="zh-CN"] .cast-btn,
html[lang="zh-CN"] .nav-label {
  letter-spacing: 0;
}
@media (width<=430px) {
  .header-stats {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .language-toggle-btn {
    min-width: 44px;
    padding: 6px;
    font-size: 9px;
  }
}
.pond-mining-card {
  border: 4px solid var(--line);
  background: #ece0b5;
  margin: 10px 0 12px;
  padding: 8px;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.pond-mining-head {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  display: flex;
}
.pond-mining-head span,
.pond-mining-head b {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.pond-mining-head b {
  color: #2f6f27;
}
.pond-mining-bar {
  border: 4px solid var(--line);
  background: #8e8e8e;
  height: 18px;
  overflow: hidden;
  box-shadow: inset 2px 2px #ffffff2e, inset -2px -2px #0000002e;
}
.pond-mining-bar span {
  background: var(--green);
  min-width: 4px;
  height: 100%;
  box-shadow: inset 3px 3px 0 var(--green-light),
    inset -3px -3px 0 var(--green-dark);
  display: block;
}
.pond-mining-meta {
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 7px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}
.viewer-rank-card {
  border: 4px solid var(--line);
  background: #ece0b5;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 8px;
  display: grid;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.viewer-rank-card.viewer-rank-ref {
  background: #d0ad69;
}
.viewer-rank-avatar {
  border: 4px solid var(--line);
  color: #fff;
  background: #8e8e8e;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 10px;
  font-weight: 900;
  display: grid;
  overflow: hidden;
}
.viewer-rank-avatar img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.viewer-rank-left {
  min-width: 0;
}
.viewer-rank-kicker {
  border: 3px solid var(--line);
  color: #fff;
  text-transform: uppercase;
  background: #505050;
  justify-content: center;
  align-items: center;
  padding: 3px 6px;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  display: inline-flex;
}
.viewer-rank-title {
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
}
.viewer-rank-meta {
  color: var(--muted);
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
}
.viewer-rank-reward {
  color: #1e5e1a;
  text-transform: uppercase;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.15;
}
.viewer-rank-score {
  border: 4px solid var(--line);
  text-align: center;
  background: #f0e6b6;
  place-items: center;
  min-width: 58px;
  padding: 6px 8px;
  display: grid;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.viewer-rank-score span {
  font-size: 14px;
  line-height: 1;
}
.viewer-rank-score b {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}
@media (width<=380px) {
  .viewer-rank-card {
    grid-template-columns: 38px 1fr auto;
    gap: 6px;
  }
  .viewer-rank-avatar {
    width: 38px;
    height: 38px;
  }
  .viewer-rank-score {
    min-width: 52px;
    padding: 5px 6px;
  }
  .viewer-rank-title {
    font-size: 12px;
  }
}
.rank-pool-stack {
  gap: 6px;
  min-width: 116px;
  display: grid;
}
.rank-pool-usdc {
  color: #0f3824;
  background: #d9f4e6;
}
.rank-winner-banner {
  border: 4px solid var(--line);
  background: #f1d56d;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px;
  display: flex;
  box-shadow: inset 3px 3px #ffffff52, inset -3px -3px #00000029;
}
.rank-winner-banner b,
.rank-winner-banner span {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.rank-winner-banner span {
  color: #185f25;
}
.rank-reward-strip-usdc {
  grid-template-columns: repeat(4, 1fr);
}
.reward-pill-row {
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
  display: flex;
}
.reward-pill {
  border: 3px solid var(--line);
  text-transform: uppercase;
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  padding: 4px 6px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  display: inline-flex;
}
.fish-pill {
  color: #111;
  background: #f1d56d;
}
.usdc-pill {
  color: #0f3824;
  background: #d9f4e6;
}
.leader-reward-mobile {
  color: #195f22;
  text-transform: uppercase;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  display: flex;
}
.leader-reward-mobile span {
  color: #111;
}
.leader-reward-mobile b {
  border: 3px solid var(--line);
  background: #ece0b5;
  padding: 4px 5px;
}
.leader-reward-badges {
  justify-items: end;
  gap: 4px;
  display: grid;
}
.usdc-reward-badge {
  color: #0f3824;
  background: #d9f4e6;
}
.fish-reward-badge {
  background: #ece0b5;
}
@media (width<=430px) {
  .rank-reward-main {
    align-items: stretch;
  }
  .rank-pool-stack {
    min-width: 104px;
  }
  .rank-winner-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .rank-reward-strip-usdc span {
    padding-left: 3px;
    padding-right: 3px;
    font-size: 9px;
  }
  .leader-reward-badges {
    display: none;
  }
}
.fpeg-hook-shell {
  background: #86bce8;
  width: min(100vw, 520px);
  max-width: 520px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 12px 12px 28px;
  overflow: hidden auto;
}
.fpeg-pond {
  border: 4px solid var(--line);
  background: #92c9f2;
  height: 260px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.fpeg-sky {
  background: linear-gradient(#8ed4ff 0%, #c2eeff 100%);
  position: absolute;
  inset: 0 0 112px;
}
.fpeg-sun {
  background: #ffd34a;
  border: 4px solid #2d2d2d;
  width: 34px;
  height: 34px;
  position: absolute;
  top: 24px;
  right: 28px;
}
.fpeg-cloud {
  opacity: 0.95;
  background: #fff;
  height: 10px;
  position: absolute;
}
.fpeg-cloud-one {
  width: 34px;
  animation: 18s linear infinite cloudDriftOne;
  top: 48px;
  left: 34px;
  box-shadow: 13px -8px #fff, 28px 0 #fff;
}
.fpeg-cloud-two {
  width: 30px;
  animation: 24s linear infinite cloudDriftTwo;
  top: 88px;
  right: 88px;
  box-shadow: 12px -8px #fff, 24px 0 #fff;
}
.fpeg-bank {
  z-index: 2;
  background: linear-gradient(#7ac94f 0 22px, #9b6035 22px 44px);
  height: 44px;
  position: absolute;
  top: 122px;
  left: 0;
  right: 0;
}
.fpeg-water {
  z-index: 1;
  position: absolute;
  left: 0;
  right: 0;
}
.fpeg-water-one {
  background: repeating-linear-gradient(
    90deg,
    #61afe7 0 28px,
    #6cb7ec 28px 56px
  );
  height: 34px;
  animation: 2.4s linear infinite waterShiftFast;
  top: 166px;
}
.fpeg-water-two {
  background: repeating-linear-gradient(
    90deg,
    #4f99d8 0 32px,
    #5ca5e0 32px 64px
  );
  height: 34px;
  animation: 3.2s linear infinite waterShiftMid;
  top: 200px;
}
.fpeg-water-three {
  background: repeating-linear-gradient(
    90deg,
    #3a84c5 0 36px,
    #478fd0 36px 72px
  );
  animation: 4.2s linear infinite waterShiftSlow;
  top: 234px;
  bottom: 0;
}
.fpeg-hook-line {
  z-index: 5;
  background: #ffffffe6;
  width: 4px;
  height: 166px;
  animation: 0.8s steps(2, end) infinite lineFloat;
  position: absolute;
  top: 78px;
  right: 114px;
}
.fpeg-hook-bobber {
  z-index: 6;
  background: #e43c35;
  width: 14px;
  height: 18px;
  animation: 0.8s steps(2, end) infinite bobberFloat;
  position: absolute;
  top: 206px;
  right: 108px;
  box-shadow: 0 9px #fff;
}
.fpeg-hero-copy {
  z-index: 8;
  position: absolute;
  bottom: 16px;
  left: 12px;
}
.fpeg-hero-copy h1 {
  color: #fff;
  letter-spacing: 0;
  text-shadow: 4px 4px #2d2d2d;
  margin: 8px 0 0;
  font-size: 48px;
  font-weight: 900;
  line-height: 0.9;
}
.fpeg-hero-copy p {
  border: 4px solid var(--line);
  background: #ece0b5;
  margin: 8px 0 0;
  padding: 7px 8px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}
.fpeg-mint-panel,
.fpeg-stats-panel,
.fpeg-roadmap-panel {
  background: #cfcfcf;
}
.fpeg-wallet-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  display: grid;
}
.fpeg-wallet-row > div {
  border: 4px solid var(--line);
  background: #ece0b5;
  min-width: 0;
  padding: 8px;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.fpeg-wallet-row span,
.fpeg-wallet-row b {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  display: block;
}
.fpeg-wallet-row b {
  text-overflow: ellipsis;
  margin-top: 5px;
  overflow: hidden;
}
.fpeg-wallet-row .small-action {
  white-space: nowrap;
  min-width: 68px;
  min-height: 44px;
}
.fpeg-plain-btn {
  background: #d0ad69;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.fpeg-warning-btn {
  background: #d96355;
  margin-top: 10px;
  box-shadow: inset 3px 3px #f39181, inset -3px -3px #a84132;
}
.fpeg-mint-box {
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 10px;
  max-width: 100%;
  margin-top: 12px;
  display: grid;
}
.fpeg-mint-box label,
.fpeg-cost {
  border: 4px solid var(--line);
  background: #ece0b5;
  min-width: 0;
  padding: 9px;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.fpeg-mint-box span,
.fpeg-cost span {
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  display: block;
}
.fpeg-mint-box input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  text-overflow: clip;
  background: 0 0;
  border: 0;
  outline: 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}
.fpeg-limit-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  display: grid;
}
.fpeg-limit-row span,
.fpeg-limit-row button {
  border: 3px solid var(--line);
  color: var(--text);
  text-transform: uppercase;
  background: #ece0b5;
  padding: 7px 8px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}
.fpeg-limit-row button {
  cursor: pointer;
  background: #f4d35e;
  min-height: 38px;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.fpeg-limit-row button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
.fpeg-cost b {
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.05;
  display: block;
}
.fpeg-mint-btn,
.fpeg-claim-btn {
  margin-top: 10px;
}
.fpeg-claim-btn {
  background: #d0ad69;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.fpeg-note,
.fpeg-status,
.fpeg-link {
  border: 4px solid var(--line);
  color: var(--text);
  text-align: center;
  background: #ece0b5;
  margin-top: 10px;
  padding: 8px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  display: block;
}
.fpeg-status {
  background: #d0ad69;
}
.fpeg-progress-head {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  display: flex;
}
.fpeg-progress-head span,
.fpeg-progress-head b {
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.fpeg-progress-bar {
  margin-top: 8px;
}
.fpeg-stat-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
  display: grid;
}
.fpeg-stat-grid div,
.fpeg-claimable {
  border: 4px solid var(--line);
  background: #c6c6c6;
  padding: 9px;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.fpeg-stat-grid span,
.fpeg-stat-grid b,
.fpeg-claimable span,
.fpeg-claimable b {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  display: block;
}
.fpeg-stat-grid b,
.fpeg-claimable b {
  margin-top: 6px;
  font-size: 12px;
}
.fpeg-gates {
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 12px;
  display: grid;
}
.fpeg-gates span {
  border: 3px solid var(--line);
  color: #fff;
  text-align: center;
  background: #8e8e8e;
  padding: 6px 4px;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
}
.fpeg-gates span.on {
  background: var(--green);
}
.fpeg-claimable {
  background: #d9f4e6;
  margin-top: 10px;
}
.fpeg-roadmap-list {
  gap: 8px;
  margin-top: 10px;
  display: grid;
}
.fpeg-roadmap-list div {
  border: 4px solid var(--line);
  background: #ece0b5;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px;
  display: grid;
  box-shadow: inset 3px 3px #ffffff47, inset -3px -3px #00000029;
}
.fpeg-roadmap-list span {
  border: 4px solid var(--line);
  background: #8e8e8e;
  width: 18px;
  height: 18px;
}
.fpeg-roadmap-list b {
  text-transform: uppercase;
  min-width: 0;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}
.fpeg-roadmap-list .done span {
  background: var(--green);
}
.fpeg-roadmap-list .done b {
  color: #555;
  text-decoration: line-through;
}
@media (width<=430px) {
  .fpeg-pond {
    height: 238px;
  }
  .fpeg-hero-copy h1 {
    font-size: 42px;
  }
  .fpeg-mint-box,
  .fpeg-stat-grid,
  .fpeg-gates {
    grid-template-columns: 1fr;
  }
  .fpeg-wallet-row {
    grid-template-columns: minmax(0, 1fr) 82px 62px;
    gap: 6px;
  }
  .fpeg-wallet-row .small-action {
    min-width: 0;
    padding-left: 4px;
    padding-right: 4px;
    font-size: 9px;
  }
  .fpeg-limit-row {
    grid-template-columns: 1fr;
  }
}
