.water-art {
  background-image: linear-gradient(90deg, rgba(23, 51, 69, .12), transparent 55%), url('../assets/mossy-creek-hero.png');
  background-size: 100% 100%, cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #20202d;
  box-shadow: inset 0 -35px 45px rgba(11, 58, 70, .2);
}

.scene-character {
  position: absolute;
  z-index: 3;
  display: block;
  /* Placement coordinates mark where the character's feet meet the dock. */
  transform: translate(-50%, -100%);
  pointer-events: none;
}

.scene-character img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 5px 3px rgba(23, 51, 69, .3));
  animation: sceneCharacterIdle 3.2s ease-in-out infinite;
}

@keyframes sceneCharacterIdle {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-2px) rotate(1deg); }
}

body {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, .75), transparent 30%),
    #edf2ef;
}

.scene-card, .side-panel, .catch-card, .quest-card {
  position: relative;
  overflow: hidden;
}

.scene-card::after, .side-panel::after, .catch-card::after, .quest-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: radial-gradient(rgba(23, 51, 69, .14) .6px, transparent .6px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}

.topbar, .scene-copy, .scene-footer, .side-panel > *, .catch-card > *, .quest-card > * {
  position: relative;
  z-index: 1;
}

.cast-button {
  background: #ef795c;
  box-shadow: 0 6px 0 #c65d4b;
}

.cast-button:active {
  box-shadow: 0 2px 0 #c65d4b;
}

.cast-symbol { color: #fff2cf; }

.quest-card {
  border-color: #c4ddd4;
}

.gear-card:hover {
  background: rgba(205, 230, 225, .45);
  border-radius: 10px;
}

.water-art::after {
  content: 'MOSSY CREEK';
  position: absolute;
  right: 18px;
  top: 16px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 7px;
  color: rgba(255, 255, 255, .9);
  background: rgba(23, 51, 69, .2);
  font: 500 9px 'DM Mono', monospace;
  letter-spacing: .12em;
}

.water-art::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.14) 42%, transparent 57%);
  background-size: 230% 100%;
  animation: sunlight 9s ease-in-out infinite;
}

/* The location label moved out of the scene HUD; keep the top-right control clear. */
.water-art::after { content: none; }

.event-modal { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; padding: 0 10px 86px; background: linear-gradient(180deg, rgba(16, 24, 38, .12), rgba(16, 24, 38, .84)); opacity: 0; pointer-events: none; transition: opacity .25s; }
.event-modal.open { opacity: 1; pointer-events: auto; }
.event-card { width: min(100%, 500px); padding: 14px 10px 12px; border: 3px solid #17253b; border-radius: 16px; background: #20202d; box-shadow: 0 8px 0 #111724, 0 24px 50px rgba(0,0,0,.3); text-align: center; transform: translateY(15px) scale(.96); transition: transform .25s; }
.event-modal.open .event-card { transform: translateY(0) scale(1); }
.event-ribbon { display: flex; align-items: center; gap: 10px; padding: 4px 12px 9px; border-bottom: 2px solid #111724; border-radius: 0; background: transparent; color: #fff; text-align: left; font: 800 20px Manrope; letter-spacing: -.03em; }
.event-ribbon::after { content: ''; display: block; flex: 1; border-top: 2px solid #596071; }
.event-icon { display: none; }
.event-kicker { display: none; }
.event-card h2, .event-card > p { margin-left: 2px; margin-right: 2px; padding: 13px 14px; border: 2px solid #ad9771; border-radius: 9px; background: #fff1d1; color: #17253b; text-align: left; }
.event-card h2 { font-size: 19px; margin-top: 11px; margin-bottom: 0; }
.event-card > p { padding-top: 0; border-top: 0; border-radius: 0 0 9px 9px; margin-top: -2px; color: #26394a; font-size: 12px; line-height: 1.5; margin-bottom: 14px; }
.event-choices { display: grid; gap: 9px; }
.choice-button { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 13px 17px; border: 3px solid #17253b; border-radius: 13px; background: linear-gradient(#ffc94f 0 48%, #f39a27 49%); color: #17253b; box-shadow: 0 4px 0 #111724; text-align: left; cursor: pointer; transition: transform .15s, filter .15s; }
.choice-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.choice-button strong { font-size: 13px; }
.choice-button small { grid-column: 1; font-family: Manrope; font-size: 10px; letter-spacing: 0; }
.choice-button span { grid-column: 2; grid-row: 1 / span 2; font-size: 25px; color: #ef795c; }
.choice-button small { color: #4f4837; }

.profile-modal { position: fixed; inset: 0; z-index: 22; display: grid; place-items: center; padding: 18px; background: rgba(16, 24, 38, .7); opacity: 0; pointer-events: none; transition: opacity .2s; }
.profile-modal.open { opacity: 1; pointer-events: auto; }
.profile-card { width: min(100%, 390px); max-height: calc(100vh - 36px); overflow: auto; padding: 22px 18px 18px; border: 3px solid #17253b; border-radius: 18px; background: #fff7df; color: #173345; box-shadow: 0 8px 0 #111724, 0 24px 50px rgba(0,0,0,.3); transform: translateY(12px); transition: transform .2s; }
.profile-modal.open .profile-card { transform: translateY(0); }
.profile-header, .profile-identity, .progress-label, .rank-panel-heading, .rank-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.profile-header h2 { font-size: 28px; margin-top: 4px; }
.profile-close { border: 0; background: transparent; color: #ef795c; font-size: 28px; cursor: pointer; }
.profile-identity { margin: 17px 0; padding: 12px; border: 2px solid #d7c9a9; border-radius: 12px; background: #fff1d1; justify-content: flex-start; }
.avatar { display: grid; place-items: center; width: 52px; height: 52px; border: 3px solid #17253b; border-radius: 15px; background: #6ec1b0; color: #fff7df; font-size: 25px; font-weight: 800; box-shadow: 0 3px 0 #17253b; }
.profile-identity > div:nth-child(2) { display: grid; gap: 4px; flex: 1; }
.profile-identity strong { color: #ef795c; font-size: 12px; }
.profile-identity small { color: #69818c; font: 500 10px 'DM Mono', monospace; }
.profile-level-badge { padding: 7px 8px; border-radius: 7px; background: #17253b; color: #ffd25c; font: 800 10px 'DM Mono', monospace; }
.progress-label { color: #69818c; font: 800 9px 'DM Mono', monospace; letter-spacing: .05em; }
.progress-label strong { color: #173345; }
.profile-bar, .rank-bar { height: 9px; margin: 8px 0 17px; border-radius: 20px; overflow: hidden; background: #d8e4d8; }
.profile-bar span, .rank-bar span { display: block; width: 0; height: 100%; border-radius: 20px; background: #ef795c; transition: width .35s; }
.rank-panel { padding: 13px; border: 2px solid #bdd4d0; border-radius: 12px; background: #e4f0eb; }
.rank-panel-heading span { color: #69818c; font: 800 9px 'DM Mono', monospace; letter-spacing: .08em; }
.rank-panel-heading strong { color: #173345; font-size: 13px; }
.rank-bar { margin: 13px 0 7px; background: #c8ddd4; }
.rank-bar span { background: #2c9ca4; }
.rank-panel-foot { color: #69818c; font: 500 9px 'DM Mono', monospace; }
.profile-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0; }
.profile-stats div { display: grid; gap: 4px; padding: 10px 4px; border-radius: 9px; background: #f1e8cc; text-align: center; }
.profile-stats strong { font-size: 14px; }
.profile-stats small { font-size: 7px; letter-spacing: 0; }
.recent-catches { padding-top: 13px; border-top: 2px solid #e0d5ba; }
.profile-catch-list { display: flex; align-items: center; gap: 10px; min-height: 45px; padding-top: 10px; }
.profile-catch-list span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #d9ece6; font-size: 24px; }
.travel-modal { position: fixed; inset: 0; z-index: 23; display: grid; place-items: center; padding: 18px; background: rgba(16, 24, 38, .72); opacity: 0; pointer-events: none; transition: opacity .2s; }
.travel-modal.open { opacity: 1; pointer-events: auto; }
.travel-card { width: min(100%, 430px); max-height: calc(100vh - 36px); overflow: auto; padding: 20px 16px 16px; border: 3px solid #17253b; border-radius: 18px; background: #fff7df; color: #173345; box-shadow: 0 8px 0 #111724, 0 24px 50px rgba(0,0,0,.3); }
.travel-help { margin: 10px 0 14px; color: #69818c; font-size: 12px; line-height: 1.45; }
.travel-wallet { display: inline-block; margin: 0 0 13px; padding: 8px 11px; border: 2px solid #bdd4d0; border-radius: 9px; background: #e4f0eb; color: #69818c; font: 800 9px 'DM Mono', monospace; letter-spacing: .05em; }
.travel-wallet strong { color: #173345; font-size: 12px; }
.zone-list { display: grid; gap: 8px; }
.zone-option { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 10px; padding: 7px; border: 2px solid #bdd4d0; border-radius: 11px; background: #fffdf2; color: #173345; text-align: left; cursor: pointer; }
.zone-option:hover, .zone-option.selected { border-color: #ef795c; background: #fff0d2; }
.zone-option.locked { cursor: not-allowed; filter: saturate(.35); opacity: .72; }
.zone-option.unlockable { border-color: #f0b44b; background: #fff5d3; cursor: pointer; filter: none; opacity: 1; }
.zone-option.unlockable:hover { border-color: #ef795c; background: #fff0d2; }
.zone-thumb { width: 58px; height: 48px; border-radius: 8px; background-position: center; background-size: cover; background-color: #d8e8df; }
.zone-details { display: grid; gap: 2px; }
.zone-details strong { font-size: 12px; }
.zone-details small { font: 500 10px Manrope; color: #69818c; }
.zone-details em { font: 800 8px 'DM Mono', monospace; color: #ef795c; font-style: normal; }
.zone-arrow { color: #ef795c; font-size: 22px; }

.ambient { position: absolute; z-index: 2; color: #fff3a8; font-size: 18px; text-shadow: 0 2px 5px rgba(0,0,0,.25); animation: floaty 3.4s ease-in-out infinite; }
.ambient-one { top: 36%; left: 22%; }
.ambient-two { top: 57%; right: 16%; animation-delay: 1.7s; font-size: 13px; }
.bobber { animation: bob 1.8s ease-in-out infinite; }

.mobile-menu-row { display: none; }
.bottom-nav { display: none; }
.chapter-banner, .activity-rail { display: none; }
.menu-drawer { display: none; }

@keyframes sunlight { 0%, 100% { background-position: 180% 0; } 50% { background-position: -40% 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-5deg); opacity: .55; } 50% { transform: translateY(-12px) rotate(8deg); opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

@media (min-width: 0px) {
  .app-shell { position: relative; width: min(100%, 520px); max-width: 520px; padding: 0; }
  body { background: #20202d; }
  .topbar { padding: 13px 16px; margin: 0; position: absolute; left: 0; right: 0; top: 0; z-index: 7; color: #fff; }
  .brand { color: #fff; text-shadow: 0 2px 3px rgba(0,0,0,.35); }
  .day-pill, .wallet { background: rgba(26, 29, 45, .76); border-color: rgba(255,255,255,.28); color: #fff; }
  .day-pill strong, .wallet strong { color: #fff; }
  .hero-grid { display: block; position: relative; }
  .scene-card { min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; background: #20202d; }
  .mobile-menu-row { position: absolute; z-index: 6; display: flex; align-items: center; justify-content: space-between; top: 57px; left: 16px; right: 16px; }
  .menu-circle { position: relative; width: 42px; height: 42px; border: 2px solid #17253b; border-radius: 12px; background: #fff8df; color: #17253b; font-size: 21px; box-shadow: 0 3px 0 #17253b; cursor: pointer; }
  .menu-circle b { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #ef5260; color: white; font: 800 12px Manrope; }
  .mini-resource { padding: 8px 13px; border: 2px solid #17253b; border-radius: 9px; background: rgba(255,248,223,.94); color: #ef795c; font: 500 12px 'DM Mono', monospace; box-shadow: 0 3px 0 #17253b; }
  .mini-resource strong { color: #17253b; }
  .zone-chip { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px; min-width: 76px; padding: 7px 8px; border: 2px solid #17253b; border-radius: 9px; background: rgba(255,248,223,.94); color: #173345; box-shadow: 0 3px 0 #17253b; cursor: pointer; }
  .zone-chip span { color: #ef795c; font-size: 17px; }
  .zone-chip small { overflow: hidden; color: #173345; font: 800 8px Manrope; text-overflow: ellipsis; white-space: nowrap; }
  .menu-drawer { position: absolute; z-index: 12; display: block; top: 106px; left: 16px; width: 238px; padding: 12px; border: 3px solid #17253b; border-radius: 14px; background: rgba(255,248,223,.98); box-shadow: 0 7px 0 #17253b, 0 18px 35px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s; }
  .menu-drawer.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .drawer-title { display: flex; justify-content: space-between; align-items: center; padding: 2px 3px 10px; border-bottom: 2px solid #d5cbb4; color: #17253b; font-size: 14px; }
  .drawer-title button { border: 0; background: transparent; color: #ef795c; font-size: 25px; line-height: 20px; cursor: pointer; }
  .drawer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 10px; }
  .drawer-grid button { position: relative; display: grid; justify-items: center; gap: 3px; padding: 8px 2px; border: 2px solid #bdd4d0; border-radius: 10px; background: #fffdf2; color: #17253b; cursor: pointer; }
  .drawer-grid button:hover { border-color: #ef795c; background: #fff0d2; }
  .drawer-grid button span { color: #ef795c; font-size: 22px; line-height: 22px; }
  .drawer-grid button small { color: #17253b; font: 800 8px Manrope; }
  .drawer-grid button b { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #ef5260; color: white; font: 800 11px Manrope; }
  .chapter-banner { position: absolute; z-index: 5; display: grid; gap: 3px; top: 292px; left: 50%; transform: translateX(-50%); width: max-content; max-width: 74%; padding: 7px 14px 8px; border: 2px solid #17253b; border-radius: 10px; background: rgba(255,248,223,.95); color: #17253b; text-align: center; box-shadow: 0 3px 0 #17253b; }
  .chapter-banner .chapter-tag { color: #ef795c; font: 800 8px 'DM Mono',monospace; letter-spacing: .13em; }
  .chapter-banner strong { font-size: 13px; }
  .chapter-banner small { color: #69818c; font: 500 9px Manrope; }
  .activity-rail { position: absolute; z-index: 6; display: grid; gap: 10px; top: 300px; }
  .rail-left { left: 10px; }
  .rail-right { right: 10px; }
  .activity-rail button { position: relative; display: grid; justify-items: center; gap: 2px; width: 56px; min-height: 58px; padding: 6px 2px; border: 2px solid #17253b; border-radius: 12px; background: rgba(255,248,223,.94); color: #17253b; box-shadow: 0 3px 0 #17253b; cursor: pointer; }
  .activity-rail button span { font-size: 24px; line-height: 25px; color: #ef795c; }
  .activity-rail button small { color: #17253b; font: 800 8px Manrope; }
  .activity-rail button b { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #ef5260; color: white; font: 800 12px Manrope; }
  .scene-copy { position: absolute; z-index: 3; top: 108px; left: 0; right: 0; padding: 15px 24px 12px; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,.48); background: linear-gradient(90deg, rgba(20,29,45,.92), rgba(20,29,45,.64) 76%, transparent); border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.18); }
  .scene-copy p, .scene-copy .eyebrow { color: rgba(255,255,255,.86); }
  .scene-copy h1 { font-size: 34px; }
  .water-art { height: 100dvh; background-size: 100% 100%, cover; background-image: linear-gradient(180deg, rgba(25,24,43,.4), transparent 30%, rgba(21,74,77,.08)), url('../assets/fishing-village-map.png'); }
  .water-art::after { top: 77px; right: 18px; background: rgba(20, 29, 45, .68); }
  .scene-footer { position: absolute; z-index: 3; top: 203px; left: 0; right: 0; padding: 9px 24px 11px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.55); background: linear-gradient(90deg, rgba(20,29,45,.92), rgba(20,29,45,.64) 76%, transparent); border-bottom: 1px solid rgba(255,255,255,.18); }
  .scene-footer strong { color: #fff; }
  .side-panel { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 92px; min-height: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .side-panel .panel-heading, .side-panel .gear-card, .side-panel .log-wrap { display: none; }
  .cast-button { width: 100%; justify-content: center; margin: 0; padding: 16px; border: 3px solid #17253b; border-radius: 14px; background: linear-gradient(#ffc94f 0 48%, #f39a27 49%); color: #17253b; box-shadow: 0 6px 0 #17253b, 0 10px 22px rgba(0,0,0,.25); text-align: center; }
  .cast-button strong { font-size: 22px; letter-spacing: -.04em; text-shadow: 0 1px #fff0b0; }
  .cast-button small { color: #173345; font-weight: 700; }
  .cast-symbol { color: #173345; }
  .keycap { display: none; }
  .bottom-grid { display: none; }
  .bottom-nav { position: absolute; z-index: 6; display: flex; bottom: 0; left: 0; right: 0; height: 72px; justify-content: space-around; padding: 7px 5px 4px; background: rgba(25, 27, 42, .97); border-top: 3px solid #111724; }
  .bottom-nav button { flex: 1; border: 0; border-radius: 9px; background: transparent; color: #b8c0cf; font-family: Manrope; cursor: pointer; }
  .bottom-nav button span { display: block; font-size: 25px; line-height: 30px; }
  .bottom-nav button small { color: inherit; font: 700 9px Manrope; letter-spacing: .01em; }
  .bottom-nav button.active { color: #ffd25c; background: rgba(255,255,255,.09); }
  .catch-card, .quest-card { display: none; }
  .footer-note { display: none; }
}

.shop-modal { position: fixed; inset: 0; z-index: 24; display: grid; place-items: center; padding: 18px; background: rgba(16, 24, 38, .74); opacity: 0; pointer-events: none; transition: opacity .2s; }
.shop-modal.open { opacity: 1; pointer-events: auto; }
.shop-card { width: min(100%, 430px); max-height: calc(100vh - 36px); overflow: auto; padding: 20px 16px 16px; border: 3px solid #17253b; border-radius: 18px; background: #fff7df; color: #173345; box-shadow: 0 8px 0 #111724, 0 24px 50px rgba(0,0,0,.3); }
.shop-wallet { display: flex; justify-content: space-between; gap: 12px; margin: 15px 0 10px; padding: 10px 12px; border: 2px solid #bdd4d0; border-radius: 10px; background: #e4f0eb; color: #69818c; font: 800 9px 'DM Mono', monospace; letter-spacing: .05em; }
.shop-wallet strong { margin-left: 4px; color: #173345; font-size: 12px; }
.shop-help { margin-bottom: 13px; color: #69818c; font-size: 12px; line-height: 1.45; }
.bait-shop-list { display: grid; gap: 9px; }
.bait-pack { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 9px; border: 2px solid #d7c9a9; border-radius: 11px; background: #fffdf2; }
.bait-pack-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #c8e5e5; color: #18818b; font-size: 21px; }
.bait-pack-details { display: grid; gap: 2px; min-width: 0; }
.bait-pack-details strong { font-size: 12px; }
.bait-pack-details small { overflow: hidden; color: #69818c; font: 500 9px Manrope; text-overflow: ellipsis; white-space: nowrap; }
.bait-pack-details em { color: #ef795c; font: 800 8px 'DM Mono', monospace; font-style: normal; }
.buy-bait { min-width: 57px; padding: 8px 7px; border: 2px solid #17253b; border-radius: 9px; background: linear-gradient(#ffc94f 0 48%, #f39a27 49%); color: #17253b; cursor: pointer; font: 800 10px 'DM Mono', monospace; box-shadow: 0 3px 0 #17253b; }
.buy-bait:active { transform: translateY(2px); box-shadow: 0 1px 0 #17253b; }
.buy-bait small { display: block; margin-top: 3px; color: #4f4837; font: 800 8px Manrope; letter-spacing: .05em; }
.bait-rescue { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; margin-bottom: 9px; padding: 9px; border: 2px solid #86c9a7; border-radius: 11px; background: linear-gradient(135deg, #effff3, #d7f0e2); }
.bait-rescue-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #9bd7b2; color: #21674c; }
.bait-rescue strong, .bait-rescue small { display: block; }
.bait-rescue strong { font-size: 12px; }
.bait-rescue small { margin-top: 2px; color: #4c7462; font-size: 9px; line-height: 1.3; }
.bait-rescue-empty { margin: 0 0 10px; padding: 10px; border: 2px dashed #cdbf9d; border-radius: 10px; color: #75694d; font-size: 10px; line-height: 1.4; }
.bait-rescue-button { background: linear-gradient(#9ee1b7 0 48%, #67ba8e 49%); }

@media (min-width: 0px) {
  .mobile-menu-row { gap: 7px; }
  .mini-resource { flex: 0 0 auto; padding-inline: 9px; }
  .zone-chip { min-width: 0; flex: 1 1 auto; }
}

.catch-reward-modal {
  position: fixed;
  inset: 0;
  z-index: 26;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 24, 38, .76);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.catch-reward-modal.open { opacity: 1; pointer-events: auto; }

.catch-reward-card {
  position: relative;
  width: min(100%, 350px);
  overflow: hidden;
  padding: 0 17px 17px;
  border: 3px solid #17253b;
  border-radius: 19px;
  background: #fff7df;
  color: #173345;
  box-shadow: 0 8px 0 #111724, 0 25px 55px rgba(0, 0, 0, .35);
  text-align: center;
  transform: translateY(15px) scale(.86);
  transition: transform .3s cubic-bezier(.2, .85, .25, 1.2);
}

.catch-reward-modal.open .catch-reward-card { transform: translateY(0) scale(1); }

.catch-reward-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: radial-gradient(rgba(23, 51, 69, .16) .6px, transparent .6px);
  background-size: 5px 5px;
}

.catch-reward-ribbon {
  position: relative;
  margin: 0 -17px;
  padding: 12px 14px 10px;
  border-bottom: 3px solid #17253b;
  background: linear-gradient(#ffc94f 0 48%, #f39a27 49%);
  color: #17253b;
  font: 800 20px Manrope;
  letter-spacing: -.04em;
  text-shadow: 0 1px #fff0b0;
}

.catch-reward-art-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 210px;
  height: 190px;
  margin: 15px auto 6px;
  border: 3px solid #bdd4d0;
  border-radius: 50%;
  background: radial-gradient(circle, #e7f5eb 0 38%, #c7e7df 39% 70%, #a6d6d0 71% 100%);
  box-shadow: inset 0 -8px 0 rgba(48, 121, 126, .16), 0 4px 0 #9dbfb8;
}

.catch-reward-art,
.catch-reward-emoji {
  position: relative;
  z-index: 1;
  width: 180px;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 7px 4px rgba(23, 51, 69, .2));
  animation: catchRewardFloat 2.8s ease-in-out infinite;
}

.catch-reward-emoji { display: grid; place-items: center; font-size: 108px; line-height: 1; }
.catch-reward-art[hidden], .catch-reward-emoji[hidden] { display: none; }

.catch-reward-context {
  position: relative;
  margin: 7px 0 4px;
  color: #69818c;
  font: 800 9px 'DM Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.catch-reward-card h2 {
  position: relative;
  margin: 0;
  color: #173345;
  font-size: 27px;
  letter-spacing: -.04em;
}

.catch-reward-stats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 13px 0 9px;
}

.catch-reward-stats div {
  display: grid;
  gap: 4px;
  padding: 9px 6px;
  border: 2px solid #d7c9a9;
  border-radius: 10px;
  background: #fff1d1;
}

.catch-reward-stats small { color: #69818c; font: 800 8px 'DM Mono', monospace; letter-spacing: .08em; }
.catch-reward-stats strong { color: #ef795c; font-size: 18px; }

.catch-reward-bonus {
  position: relative;
  min-height: 17px;
  margin: 0 0 13px;
  color: #2c9ca4;
  font: 800 10px Manrope;
}

.catch-reward-button {
  position: relative;
  width: 100%;
  padding: 12px;
  border: 3px solid #17253b;
  border-radius: 12px;
  background: linear-gradient(#ffc94f 0 48%, #f39a27 49%);
  color: #17253b;
  box-shadow: 0 4px 0 #17253b;
  cursor: pointer;
  font: 800 14px Manrope;
}

.catch-reward-button:active { transform: translateY(2px); box-shadow: 0 2px 0 #17253b; }

.catch-reward-sparkle {
  position: absolute;
  z-index: 2;
  color: #f1b934;
  font-size: 22px;
  pointer-events: none;
  animation: catchRewardSparkle 1.8s ease-in-out infinite;
}

.sparkle-one { top: 84px; left: 29px; }
.sparkle-two { top: 124px; right: 26px; animation-delay: .7s; font-size: 15px; }

@keyframes catchRewardFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes catchRewardSparkle {
  0%, 100% { opacity: .35; transform: scale(.8) rotate(0); }
  50% { opacity: 1; transform: scale(1.25) rotate(18deg); }
}

/* Keep the simplified header and action button readable on narrow screens. */
@media (min-width: 0px) {
  .topbar { justify-content: center; }
  .day-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    white-space: nowrap;
  }
  .day-pill .divider { margin: 0 2px; }
  .cast-button > span:nth-child(2) {
    display: grid;
    gap: 3px;
    min-width: 0;
  }
  .cast-button strong,
  .cast-button small {
    display: block;
    line-height: 1.15;
  }

}
