/* ============================================================================
   大锤星露谷 · 正宗焦糖暖木 + 奶油羊皮纸手账风单屏界面
   零暗色后台弹窗 · 零原生下拉框 · 桌面与手机 0px 滚动全画幅
   ============================================================================ */

.val-page {
  --val-wood-dark: #5b2e0e;
  --val-wood-mid: #8f4e1d;
  --val-wood-light: #d79647;
  --val-wood-rim: #f3c87b;
  --val-paper-hi: #fff9e8;
  --val-paper-lo: #f4e1b6;
  --val-ink: #43210b;
  --val-muted: #7a4e26;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--val-ink);
  background: linear-gradient(180deg, #2d5932 0%, #23492a 60%, #193620 100%);
}
.val-page [hidden] { display: none !important; }

/* 温暖森林绿顶栏 */
.val-page .merge-nav {
  flex: none;
  width: min(calc(100% - 1rem), 84rem);
  margin: .3rem auto .26rem;
  background: rgba(34, 66, 39, .9);
  border: 1.5px solid rgba(243, 200, 123, .36);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
}
.val-page .merge-nav :is(.wordmark, .identity, .merge-directory, .merge-nav-button) { color: #fefce8; }
.val-page .merge-nav :is(.merge-directory, .merge-nav-button) {
  border-color: rgba(243, 200, 123, .34);
  background: rgba(54, 92, 54, .92);
}
.val-page .merge-nav :is(.merge-directory, .merge-nav-button):hover:not(:disabled) {
  border-color: #fde047;
  background: rgba(68, 114, 64, .98);
}
.val-page .merge-nav .wallet-button {
  border-color: rgba(251, 191, 36, .6);
  background: linear-gradient(180deg, #854d0e, #5c3108);
  color: #fef08a;
}

/* 主单屏容器 */
.val-layout {
  flex: 1;
  min-height: 0;
  width: min(calc(100% - 1rem), 84rem);
  margin: 0 auto;
  padding: 0 0 .45rem;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.val-viewport {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 3px solid var(--val-wood-light);
  box-shadow: 0 0 0 2px var(--val-wood-dark), 0 24px 60px rgba(0, 0, 0, .48);
  background: #5ca844;
  user-select: none;
  -webkit-user-select: none;
}

/* Layer 1: HiDPI Tilemap Canvas */
.val-world-layer { position: absolute; inset: 0; z-index: 1; }
.val-world-canvas { display: block; width: 100%; height: 100%; cursor: pointer; touch-action: none; }

/* Layer 1.5: 矢量高清暖木路牌浮标 */
.val-world-pins { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.val-pin {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: .26rem;
  padding: .22rem .58rem;
  border-radius: .65rem;
  border: 2px solid var(--val-wood-dark);
  background: linear-gradient(180deg, #fff8e2 0%, #f1d89f 100%);
  color: var(--val-ink);
  font: 820 .74rem/1.15 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(91, 46, 14, .7), 0 6px 14px rgba(0, 0, 0, .25), inset 0 1px 0 #ffffff;
  will-change: transform;
  transition: filter 100ms ease;
}
.val-pin:hover { filter: brightness(1.06); }
.val-pin.is-gold { background: linear-gradient(180deg, #fef08a 0%, #f59e0b 100%); border-color: #78350f; color: #451a03; }
.val-pin.is-npc { background: linear-gradient(180deg, #ffffff 0%, #fee2e2 100%); border-color: #9f1239; color: #881337; }
.val-pin.is-water { background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%); border-color: #075985; color: #0c4a6e; }

/* 暖木提示胶囊（悬停于快捷栏上方，绝不遮挡农舍与鸡舍路牌！） */
.val-toast {
  position: absolute;
  bottom: 7.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 22;
  max-width: min(88%, 34rem);
  padding: .34rem .92rem;
  border-radius: .82rem;
  border: 2.5px solid var(--val-wood-dark);
  background: linear-gradient(180deg, #fffbeb 0%, #fde68a 100%);
  color: var(--val-ink);
  font-size: .8rem;
  font-weight: 820;
  text-align: center;
  box-shadow: 0 4px 0 rgba(91, 46, 14, .75), 0 10px 24px rgba(0, 0, 0, .3);
  pointer-events: none;
}

/* 通用正宗星露谷立体手账按钮 */
.val-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  min-height: 36px;
  padding: .28rem .82rem;
  border-radius: .72rem;
  border: 2.5px solid var(--val-wood-dark);
  background: linear-gradient(180deg, #fff7dd 0%, #ebc984 100%);
  color: var(--val-ink);
  font: 840 .82rem/1.1 var(--sans);
  cursor: pointer;
  box-shadow: 0 3px 0 var(--val-wood-dark), inset 0 1.5px 0 rgba(255, 255, 255, .75);
  transition: transform 90ms ease, filter 110ms ease;
}
.val-btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.04); }
.val-btn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--val-wood-dark); }
.val-btn:disabled { opacity: .48; cursor: not-allowed; transform: none; }
.val-btn.is-green {
  border-color: #14532d;
  background: linear-gradient(180deg, #4ade80 0%, #16a34a 60%, #15803d 100%);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(5, 46, 22, .45);
  box-shadow: 0 3px 0 #14532d, inset 0 1.5px 0 rgba(255, 255, 255, .48);
}
.val-btn.is-gold {
  border-color: #78350f;
  background: linear-gradient(180deg, #fde047 0%, #f59e0b 65%, #d97706 100%);
  color: #451a03;
  box-shadow: 0 3px 0 #78350f, inset 0 1.5px 0 rgba(255, 255, 255, .6);
}
.val-btn.is-rose {
  border-color: #881337;
  background: linear-gradient(180deg, #fb7185 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 3px 0 #881337, inset 0 1.5px 0 rgba(255, 255, 255, .45);
}
.val-btn.is-wood {
  border-color: #451a03;
  background: linear-gradient(180deg, #c6823a 0%, #8f4e1d 100%);
  color: #fffbeb;
  box-shadow: 0 3px 0 #451a03, inset 0 1.5px 0 rgba(255, 255, 255, .28);
}
.val-cta-big { min-height: 46px; padding: .5rem 1.8rem; font-size: 1rem; border-radius: .92rem; }

/* ============================================================================
   Layer 2: 经典星露谷极简四角 HUD
   ============================================================================ */
.val-hud {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: .6rem .72rem .66rem;
}
.val-hud-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }

/* 左上爷爷的 6 步田园引导手账 */
.val-quest-scroll {
  pointer-events: auto;
  display: grid;
  gap: .28rem;
  max-width: min(50%, 26rem);
  padding: .34rem .5rem .34rem .42rem;
  border-radius: .76rem;
  border: 2.5px solid #3f1c07;
  background: linear-gradient(180deg, rgba(255, 250, 232, .97) 0%, rgba(242, 220, 170, .97) 100%);
  color: var(--val-ink);
  box-shadow: 0 0 0 2px #c77d36, 0 0 0 3.5px #3f1c07, 0 4px 0 rgba(48, 22, 6, .72), 0 8px 18px rgba(0, 0, 0, .26);
}
.val-quest-head { display: flex; align-items: center; gap: .46rem; }
.val-quest-head img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #8f4e1d; background: #fef3c7; object-fit: contain; flex: none; }
.val-quest-copy { min-width: 0; flex: 1; display: grid; gap: .06rem; }
.val-quest-meta { display: flex; align-items: center; gap: .36rem; flex-wrap: wrap; }
.val-quest-step { font-size: .64rem; font-weight: 900; padding: .04rem .36rem; border-radius: .35rem; background: #92400e; color: #fef3c7; }
.val-quest-reward { font-size: .66rem; font-weight: 860; color: #15803d; }
.val-quest-title { font-size: .78rem; font-weight: 860; line-height: 1.25; color: var(--val-ink); }
.val-quest-go {
  appearance: none;
  flex: none;
  min-height: 30px;
  padding: .18rem .52rem;
  border-radius: .55rem;
  border: 2px solid #14532d;
  background: linear-gradient(180deg, #4ade80 0%, #16a34a 100%);
  color: #ffffff;
  font: 860 .72rem/1 var(--sans);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 0 #14532d;
}
.val-quest-go:hover { filter: brightness(1.06); }
.val-quest-bar { height: 5px; border-radius: 999px; background: rgba(91, 46, 14, .18); overflow: hidden; }
.val-quest-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #22c55e, #facc15); transition: width 260ms ease; }

/* 作物悬停成长提示气泡 & 屏幕边缘方向罗盘 */
.val-crop-tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 12;
  pointer-events: none;
  padding: .22rem .54rem;
  border-radius: .55rem;
  border: 2px solid #43210b;
  background: rgba(255, 250, 232, .96);
  color: var(--val-ink);
  font: 820 .72rem/1.2 var(--sans);
  white-space: nowrap;
  box-shadow: 0 3px 0 rgba(67, 33, 11, .6), 0 6px 14px rgba(0, 0, 0, .24);
  transform: translate(-50%, -125%);
}
.val-compass {
  position: absolute;
  z-index: 13;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .3rem .68rem;
  border-radius: 999px;
  border: 2.5px solid #451a03;
  background: linear-gradient(180deg, #fef08a 0%, #f59e0b 100%);
  color: #451a03;
  font: 880 .76rem/1 var(--sans);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 0 #78350f, 0 8px 18px rgba(0, 0, 0, .34);
  animation: valBeaconBounce 1.4s ease-in-out infinite;
}
@keyframes valBeaconBounce {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.09); }
}
.val-slot.is-guided {
  animation: valSlotPulse 1.15s ease-in-out infinite;
}
@keyframes valSlotPulse {
  0%, 100% { box-shadow: 0 0 0 2.5px #fde047, 0 0 12px rgba(250, 204, 21, .6); }
  50% { box-shadow: 0 0 0 4px #facc15, 0 0 22px rgba(250, 204, 21, .95); }
}

/* 开场序幕 · 爷爷的火漆信笺 & 蓝色信箱来信弹窗 */
.val-story-screen,
.val-letter-backdrop {
  position: absolute;
  inset: 0;
  z-index: 27;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.val-story-screen {
  background:
    radial-gradient(2px 2px at 18% 20%, #fef08a 70%, transparent 100%),
    radial-gradient(2.5px 2.5px at 78% 16%, #ffffff 70%, transparent 100%),
    radial-gradient(2px 2px at 86% 74%, #fde68a 70%, transparent 100%),
    radial-gradient(2px 2px at 14% 76%, #e0f2fe 70%, transparent 100%),
    radial-gradient(ellipse at 50% 24%, #2b3f66 0%, #10192b 100%);
}
.val-letter-backdrop {
  z-index: 24;
  background: rgba(24, 14, 6, .56);
  backdrop-filter: blur(4px);
}
.val-parchment-letter {
  position: relative;
  width: min(100%, 33.5rem);
  padding: 1.85rem 1.75rem 1.45rem;
  border-radius: .85rem;
  border: 4px solid #3f1c07;
  background:
    repeating-linear-gradient(180deg, rgba(168, 108, 44, .05) 0px, rgba(168, 108, 44, .05) 26px, rgba(168, 108, 44, .11) 27px),
    linear-gradient(180deg, #fffaf0 0%, #f4ddb0 100%);
  color: #3f1c07;
  box-shadow: 0 0 0 4px #c77d36, 0 0 0 7px #3f1c07, 0 12px 0 #3a1805, 0 32px 76px rgba(0, 0, 0, .58), inset 0 2px 0 #ffffff;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: .62rem;
  animation: valBookPop 200ms cubic-bezier(.16, 1, .3, 1);
}
.val-wax-seal {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid #7f1d1d;
  background: radial-gradient(circle at 35% 30%, #fb7185 0%, #dc2626 58%, #991b1b 100%);
  color: #fef08a;
  display: grid;
  place-items: center;
  font: 950 1.05rem/1 var(--sans);
  box-shadow: 0 4px 0 #5c1111, 0 8px 18px rgba(0, 0, 0, .38), inset 0 2px 4px rgba(255, 255, 255, .35);
}
.val-letter-kicker {
  margin-top: .28rem;
  font-size: .74rem;
  font-weight: 860;
  color: #92400e;
  letter-spacing: .04em;
}
.val-parchment-letter h2 {
  margin: 0;
  font-size: 1.38rem;
  font-weight: 950;
  color: #4a2108;
}
.val-letter-body {
  margin: 0;
  text-align: left;
  font-size: .9rem;
  line-height: 1.72;
  font-weight: 720;
  color: #4f280e;
  background: rgba(255, 255, 255, .52);
  border: 1.5px dashed rgba(143, 78, 29, .32);
  border-radius: .7rem;
  padding: .78rem .95rem;
}
.val-letter-sign {
  margin: 0;
  width: 100%;
  text-align: right;
  font-size: .86rem;
  font-weight: 880;
  color: #7c3a12;
}
.val-letter-gift {
  padding: .42rem .88rem;
  border-radius: .68rem;
  border: 2px solid #16a34a;
  background: #dcfce7;
  color: #14532d;
  font-size: .86rem;
  font-weight: 900;
}
.val-letter-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  margin-top: .2rem;
}

/* 右上角：正宗星露谷雕花暖木时钟 + 日晷天色条 + 凹槽金币牌 */
.val-clock-group { display: flex; flex-direction: column; align-items: flex-end; gap: .34rem; }
.val-clock-plaque {
  pointer-events: auto;
  display: grid;
  gap: .24rem;
  padding: .4rem .68rem;
  border-radius: .72rem;
  border: 3px solid #3f1c07;
  background: linear-gradient(180deg, #fff8df 0%, #f3d79b 100%);
  color: var(--val-ink);
  box-shadow:
    0 0 0 2.5px #c77d36,
    0 0 0 4.5px #3f1c07,
    0 6px 0 rgba(48, 22, 6, .72),
    0 12px 26px rgba(0, 0, 0, .34),
    inset 0 2px 0 #ffffff;
}
.val-clock-row1 { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .78rem; font-weight: 860; }
.val-season-pill { padding: .08rem .4rem; border-radius: .35rem; background: rgba(244, 114, 182, .22); border: 1px solid rgba(157, 23, 77, .25); color: #831843; }
.val-weather-pill { font-size: .74rem; color: var(--val-muted); }
.val-time-txt { font-size: .88rem; font-variant-numeric: tabular-nums; color: #43210b; letter-spacing: .02em; }
.val-sky-dial {
  position: relative;
  height: 11px;
  border-radius: 999px;
  border: 1.5px solid #5b2e0e;
  background: linear-gradient(90deg, #fdba74 0%, #7dd3fc 42%, #fb923c 76%, #1e3a8a 100%);
  box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, .22);
  overflow: visible;
}
.val-sun-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  font-style: normal;
  font-size: .74rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
  transition: left 400ms ease;
}
.val-clock-row2 { display: flex; align-items: center; justify-content: space-between; gap: .55rem; padding-top: .18rem; border-top: 1.5px dashed rgba(143, 78, 29, .3); }
.val-gold-tray {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .08rem .48rem .08rem .22rem;
  border-radius: .45rem;
  border: 1.5px solid #6b3811;
  background: linear-gradient(180deg, #5c2d0d 0%, #3d1c07 100%);
  color: #fde047;
  font-size: .88rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .45);
}
.val-gold-coin {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef08a, #d97706);
  border: 1.5px solid #78350f;
  color: #451a03;
  font-style: normal;
  font-size: .64rem;
  font-weight: 950;
}
.val-mat-mini { font-size: .71rem; font-weight: 800; color: var(--val-muted); font-variant-numeric: tabular-nums; }

.val-mini-tabs { pointer-events: auto; display: inline-flex; gap: .32rem; }
.val-wood-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: .22rem;
  min-height: 32px;
  padding: .2rem .62rem;
  border-radius: .65rem;
  border: 2px solid var(--val-wood-dark);
  background: linear-gradient(180deg, #fff8e2 0%, #ebd092 100%);
  color: var(--val-ink);
  font: 820 .76rem/1 var(--sans);
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(91, 46, 14, .8), inset 0 1px 0 #ffffff;
  transition: transform 90ms ease;
}
.val-wood-chip:hover { transform: translateY(-1px); }
.val-wood-chip:active { transform: translateY(1px); }
.val-wood-chip.is-green { border-color: #14532d; background: linear-gradient(180deg, #4ade80, #16a34a); color: #ffffff; }
.val-wood-chip.is-gold { border-color: #78350f; background: linear-gradient(180deg, #fde047, #f59e0b); color: #451a03; }
.val-wood-chip.is-sleep { border-color: #312e81; background: linear-gradient(180deg, #6366f1, #4338ca); color: #ffffff; }

/* 右侧竖向星露谷体力条 */
.val-energy-bar {
  position: absolute;
  right: .72rem;
  bottom: 5.5rem;
  pointer-events: auto;
  display: grid;
  justify-items: center;
  gap: .16rem;
  padding: .28rem .24rem;
  border-radius: .72rem;
  border: 2.5px solid var(--val-wood-dark);
  background: linear-gradient(180deg, #f3d79d, #d49b50);
  box-shadow: 0 4px 0 rgba(91, 46, 14, .8), 0 8px 18px rgba(0, 0, 0, .28);
}
.val-energy-ic { font-size: .78rem; line-height: 1; }
.val-energy-track {
  width: 14px;
  height: 92px;
  border-radius: 999px;
  background: #3e1e08;
  padding: 2px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.val-energy-track i {
  display: block;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, #86efac 0%, #22c55e 100%);
  transition: height 200ms ease, background 200ms ease;
}
.val-energy-track i.is-mid { background: linear-gradient(180deg, #fde047, #f59e0b); }
.val-energy-track i.is-low { background: linear-gradient(180deg, #fb7185, #dc2626); }
.val-energy-bar small { font-size: .64rem; font-weight: 900; color: var(--val-ink); font-variant-numeric: tabular-nums; }

/* 底部 9 格正宗暖木快捷工具栏 */
.val-hud-bottom {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: .6rem;
  position: relative;
}
.val-hotbar-wrap { display: grid; justify-items: center; gap: .36rem; pointer-events: none; max-width: 100%; }
.val-held-bar {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  padding: .22rem .58rem;
  border-radius: .72rem;
  border: 2px solid var(--val-wood-dark);
  background: rgba(255, 249, 230, .96);
  box-shadow: 0 3px 0 rgba(91, 46, 14, .75);
}
.val-held-name { font-size: .78rem; font-weight: 860; color: var(--val-ink); }
.val-hotbar {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .34rem .4rem;
  border-radius: .95rem;
  border: 3px solid var(--val-wood-dark);
  background: linear-gradient(180deg, #c9863f 0%, #995822 100%);
  box-shadow: 0 5px 0 #472108, 0 14px 30px rgba(0, 0, 0, .42), inset 0 2px 0 rgba(255, 224, 160, .45);
  max-width: 100%;
  overflow-x: auto;
}
.val-slot {
  position: relative;
  appearance: none;
  flex: none;
  width: 52px;
  height: 52px;
  padding: 4px;
  border-radius: .65rem;
  border: 2.5px solid #6b3914;
  background: linear-gradient(180deg, #fff9e8 0%, #edd39c 100%);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: inset 0 2px 4px rgba(91, 46, 14, .2);
  transition: transform 90ms ease, border-color 110ms ease;
}
.val-slot:hover { transform: translateY(-2px); }
.val-slot[aria-pressed="true"] {
  border-color: #ef4444;
  background: linear-gradient(180deg, #ffffff 0%, #fef08a 100%);
  box-shadow: 0 0 0 2.5px #fde047, 0 4px 12px rgba(239, 68, 68, .35);
  transform: translateY(-3px);
}
.val-slot svg { width: 34px; height: 34px; display: block; }
.val-slot-key {
  position: absolute;
  top: 2px;
  left: 4px;
  font-size: .6rem;
  font-weight: 860;
  color: rgba(91, 46, 14, .7);
  line-height: 1;
}
.val-slot-qty {
  position: absolute;
  right: 3px;
  bottom: 1px;
  font-size: .68rem;
  font-weight: 900;
  color: #43210b;
  text-shadow: 0 1px 0 #ffffff, 1px 0 0 #ffffff, -1px 0 0 #ffffff;
  font-variant-numeric: tabular-nums;
}
.val-slot-star {
  position: absolute;
  top: 1px;
  right: 2px;
  font-size: .62rem;
  line-height: 1;
}

/* 触屏摇杆 & 动手大键 */
.val-joystick {
  pointer-events: auto;
  position: absolute;
  left: .3rem;
  bottom: 5.2rem;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 248, 224, .7);
  background: rgba(91, 46, 14, .38);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  touch-action: none;
}
.val-joy-knob {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--val-wood-dark);
  background: radial-gradient(circle at 35% 35%, #fffbeb, #f59e0b);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .36);
  pointer-events: none;
}
.val-action-fab {
  pointer-events: auto;
  position: absolute;
  right: .35rem;
  bottom: 5.2rem;
  appearance: none;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid #14532d;
  background: linear-gradient(180deg, #4ade80, #16a34a);
  color: #ffffff;
  font: 880 .84rem/1.1 var(--sans);
  box-shadow: 0 4px 0 #14532d, 0 10px 24px rgba(0, 0, 0, .35);
  cursor: pointer;
}

/* ============================================================================
   Layer 3: 星露谷经典竖向绿条钓鱼小游戏
   ============================================================================ */
.val-fishing-ui {
  position: absolute;
  inset: 0;
  z-index: 16;
  background: rgba(12, 34, 48, .28);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.val-fish-card {
  width: min(100%, 19.5rem);
  padding: .9rem 1rem 1rem;
  border-radius: 1.2rem;
  border: 4px solid var(--val-wood-dark);
  background: linear-gradient(180deg, var(--val-paper-hi), var(--val-paper-lo));
  box-shadow: 0 6px 0 #451a03, 0 24px 60px rgba(0, 0, 0, .48), inset 0 2px 0 #ffffff;
  display: grid;
  justify-items: center;
  gap: .65rem;
}
.val-fish-head { text-align: center; }
.val-fish-head strong { display: block; font-size: 1.02rem; font-weight: 900; color: var(--val-ink); }
.val-fish-head small { display: block; font-size: .74rem; color: var(--val-muted); font-weight: 700; margin-top: .12rem; }
.val-fish-stage { display: flex; align-items: stretch; gap: .75rem; height: 224px; }
.val-fish-track {
  position: relative;
  width: 56px;
  height: 100%;
  border-radius: .85rem;
  border: 3px solid var(--val-wood-dark);
  background: linear-gradient(180deg, #bae6fd 0%, #38bdf8 52%, #0369a1 100%);
  box-shadow: inset 0 4px 12px rgba(7, 45, 75, .36);
  overflow: hidden;
}
.val-fish-bar {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 0;
  height: 28%;
  border-radius: .45rem;
  border: 2px solid #14532d;
  background: linear-gradient(180deg, rgba(134, 239, 172, .92), rgba(34, 197, 94, .88));
  box-shadow: 0 0 12px rgba(74, 222, 128, .6);
}
.val-fish-icon {
  position: absolute;
  left: 50%;
  bottom: 40%;
  transform: translate(-50%, 50%);
  font-size: 1.55rem;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4));
  pointer-events: none;
}
.val-fish-prog-wrap {
  width: 20px;
  height: 100%;
  border-radius: 999px;
  border: 2.5px solid var(--val-wood-dark);
  background: #43210b;
  padding: 2px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.val-fish-prog-fill {
  width: 100%;
  height: 30%;
  border-radius: 999px;
  background: linear-gradient(180deg, #fde047, #22c55e);
}
.val-fish-actions { display: flex; gap: .5rem; width: 100%; }
.val-fish-hold { flex: 1; min-height: 44px; font-size: .92rem; }

/* ============================================================================
   Layer 4: 正宗星露谷底部暖木镇民对话框
   ============================================================================ */
.val-dialogue {
  position: absolute;
  left: 50%;
  bottom: .9rem;
  transform: translateX(-50%);
  z-index: 18;
  width: min(calc(100% - 1.4rem), 48rem);
  padding: .82rem .95rem;
  border-radius: .88rem;
  border: 4px solid #3f1c07;
  background: linear-gradient(180deg, var(--val-paper-hi) 0%, var(--val-paper-lo) 100%);
  box-shadow: 0 0 0 3px #c77d36, 0 0 0 6px #3f1c07, 0 9px 0 #3a1805, 0 24px 54px rgba(0, 0, 0, .48), inset 0 2px 0 #ffffff;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .95rem;
  align-items: center;
}
.val-dlg-portrait-wrap { display: grid; justify-items: center; gap: .12rem; width: 6.2rem; text-align: center; }
.val-dlg-portrait {
  width: 70px;
  height: 70px;
  border-radius: .9rem;
  border: 3px solid var(--val-wood-mid);
  background: radial-gradient(circle, #fffbeb, #fde68a);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 2.2rem;
}
.val-dlg-portrait img { width: 92%; height: 92%; object-fit: contain; }
.val-dlg-portrait-wrap strong { font-size: .88rem; font-weight: 900; color: var(--val-ink); }
.val-dlg-portrait-wrap small { font-size: .66rem; color: var(--val-muted); font-weight: 700; }
.val-dlg-hearts { font-size: .74rem; letter-spacing: 1px; }
.val-dlg-main { display: grid; gap: .62rem; }
.val-dlg-speech { margin: 0; font-size: .95rem; font-weight: 760; line-height: 1.5; color: var(--val-ink); }
.val-dlg-actions { display: flex; flex-wrap: wrap; gap: .42rem; }

/* ============================================================================
   Layer 5: 暖木羊皮纸手账弹窗（商店 / 铁匠鸡舍 / 制作图鉴 / 全站串门榜）
   ============================================================================ */
@keyframes valBookPop {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.val-panel-backdrop {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(34, 20, 8, .5);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: .9rem;
}
.val-wood-book {
  width: min(100%, 54rem);
  max-height: 92%;
  border-radius: .95rem;
  border: 4px solid #3f1c07;
  background: linear-gradient(180deg, var(--val-paper-hi) 0%, var(--val-paper-lo) 100%);
  color: var(--val-ink);
  box-shadow: 0 0 0 3.5px #c77d36, 0 0 0 6.5px #3f1c07, 0 10px 0 #3a1805, 0 28px 70px rgba(0, 0, 0, .56), inset 0 2px 0 #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: valBookPop 160ms cubic-bezier(.16, 1, .3, 1);
}
.val-book-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  padding: .68rem 1rem;
  background: linear-gradient(180deg, #b86e2b 0%, #8b4b19 100%);
  border-bottom: 3px solid var(--val-wood-dark);
  color: #fffbeb;
}
.val-book-title-wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.val-book-head h2 { margin: 0; font-size: 1.12rem; font-weight: 900; text-shadow: 0 2px 0 rgba(67, 33, 11, .55); }
.val-book-head small { font-size: .78rem; color: #fde68a; font-weight: 700; }
.val-book-head-right { display: flex; align-items: center; gap: .55rem; }
.val-book-gold {
  padding: .22rem .65rem;
  border-radius: 999px;
  border: 2px solid #78350f;
  background: linear-gradient(180deg, #fffbeb, #fde047);
  color: #451a03;
  font-size: .84rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.val-book-close {
  appearance: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid #7f1d1d;
  background: linear-gradient(180deg, #fb7185, #dc2626);
  color: #ffffff;
  font: 900 .95rem/1 var(--sans);
  cursor: pointer;
  box-shadow: 0 2px 0 #7f1d1d;
}
.val-book-tabs {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  gap: .36rem;
  padding: .55rem 1rem;
  background: rgba(184, 110, 43, .14);
  border-bottom: 2px dashed rgba(143, 78, 29, .24);
}
.val-book-tabs button {
  appearance: none;
  min-height: 34px;
  padding: .2rem .78rem;
  border-radius: .68rem;
  border: 2px solid rgba(143, 78, 29, .42);
  background: #fff9e8;
  color: var(--val-muted);
  font: 820 .8rem/1 var(--sans);
  cursor: pointer;
}
.val-book-tabs button[aria-selected="true"] {
  border-color: #14532d;
  background: linear-gradient(180deg, #4ade80, #16a34a);
  color: #ffffff;
  box-shadow: 0 2px 0 #14532d;
}
.val-book-body { flex: 1; min-height: 0; overflow-y: auto; padding: .85rem 1rem 1rem; }

/* 货架卡片网格（商店 / 制作 / 升级 / 养殖） */
.val-shelf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: .62rem; }
.val-shelf-card {
  display: grid;
  gap: .45rem;
  padding: .7rem .78rem;
  border-radius: .92rem;
  border: 2.5px solid rgba(143, 78, 29, .38);
  background: linear-gradient(180deg, #ffffff 0%, #fcf0d2 100%);
  box-shadow: 0 3px 0 rgba(143, 78, 29, .24), inset 0 1px 0 #ffffff;
}
.val-shelf-top { display: flex; align-items: center; gap: .62rem; }
.val-item-pedestal {
  width: 52px;
  height: 52px;
  border-radius: .78rem;
  border: 2px solid rgba(143, 78, 29, .36);
  background: radial-gradient(circle, #ffffff, #f6e0b0);
  display: grid;
  place-items: center;
  flex: none;
  font-size: 1.7rem;
}
.val-item-pedestal svg { width: 38px; height: 38px; }
.val-shelf-copy { min-width: 0; flex: 1; }
.val-shelf-copy strong { display: block; font-size: .92rem; font-weight: 880; color: var(--val-ink); }
.val-shelf-copy small { display: block; font-size: .73rem; color: var(--val-muted); margin-top: .12rem; line-height: 1.35; }
.val-shelf-tags { display: flex; flex-wrap: wrap; gap: .26rem; }
.val-tag { padding: .08rem .42rem; border-radius: .45rem; background: rgba(184, 110, 43, .14); color: #78350f; font-size: .68rem; font-weight: 800; }
.val-tag.is-green { background: #dcfce7; color: #166534; }
.val-tag.is-gold { background: #fef3c7; color: #92400e; }
.val-shelf-foot { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-top: auto; padding-top: .28rem; border-top: 1.5px dashed rgba(143, 78, 29, .18); }

/* 镇民好感与图鉴 */
.val-dex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.6rem, 1fr)); gap: .5rem; }
.val-dex-card {
  display: grid;
  justify-items: center;
  gap: .22rem;
  padding: .55rem .36rem;
  border-radius: .85rem;
  border: 2px solid rgba(143, 78, 29, .3);
  background: #fffdf5;
  text-align: center;
}
.val-dex-card.is-locked { opacity: .55; filter: grayscale(.85); }
.val-dex-card strong { font-size: .76rem; font-weight: 840; }
.val-dex-card small { font-size: .68rem; color: var(--val-muted); }

/* 全站农场串门榜 */
.val-social-box { display: grid; gap: .72rem; }
.val-postcard-form {
  display: grid;
  gap: .5rem;
  padding: .78rem .88rem;
  border-radius: .95rem;
  border: 2.5px solid rgba(143, 78, 29, .4);
  background: #fffdf4;
}
.val-input-row { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.val-input-row input {
  flex: 1;
  min-width: 9rem;
  min-height: 36px;
  padding: .24rem .68rem;
  border-radius: .65rem;
  border: 2px solid rgba(143, 78, 29, .42);
  background: #ffffff;
  color: var(--val-ink);
  font: 760 .84rem/1.2 var(--sans);
}
.val-farm-list { display: grid; gap: .48rem; }
.val-farm-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .6rem .78rem;
  border-radius: .88rem;
  border: 2px solid rgba(143, 78, 29, .32);
  background: #fffdf5;
}
.val-farm-row.is-top { background: linear-gradient(135deg, #fffdf4, #fef3c7); border-color: #d97706; }
.val-farm-row strong { display: block; font-size: .88rem; font-weight: 880; }
.val-farm-row small { display: block; font-size: .73rem; color: var(--val-muted); }

/* ============================================================================
   Layer 6: 夜晚星空 + 今日出货收益账单
   ============================================================================ */
.val-night-screen {
  position: absolute;
  inset: 0;
  z-index: 26;
  background:
    radial-gradient(2px 2px at 14% 22%, #fef08a 70%, transparent 100%),
    radial-gradient(2.5px 2.5px at 26% 14%, #ffffff 70%, transparent 100%),
    radial-gradient(2px 2px at 42% 18%, #fde68a 70%, transparent 100%),
    radial-gradient(3px 3px at 66% 15%, #ffffff 70%, transparent 100%),
    radial-gradient(2px 2px at 78% 24%, #fef08a 70%, transparent 100%),
    radial-gradient(2.5px 2.5px at 88% 12%, #e0f2fe 70%, transparent 100%),
    radial-gradient(2px 2px at 18% 72%, #e0f2fe 70%, transparent 100%),
    radial-gradient(2.5px 2.5px at 84% 76%, #fef08a 70%, transparent 100%),
    radial-gradient(2px 2px at 10% 48%, #ffffff 70%, transparent 100%),
    radial-gradient(2px 2px at 92% 46%, #fde68a 70%, transparent 100%),
    radial-gradient(ellipse at 50% 22%, #234674 0%, #0b162c 100%);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.val-night-card {
  width: min(100%, 30rem);
  padding: 1.25rem 1.4rem;
  border-radius: 1.3rem;
  border: 4px solid var(--val-wood-dark);
  background: linear-gradient(180deg, var(--val-paper-hi) 0%, var(--val-paper-lo) 100%);
  box-shadow: 0 7px 0 #451a03, 0 28px 72px rgba(0, 0, 0, .6);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: .65rem;
}
.val-night-moon { font-size: 2rem; line-height: 1; }
.val-night-card h2 { margin: 0; font-size: 1.22rem; font-weight: 900; color: var(--val-ink); }
.val-night-weather { margin: 0; font-size: .84rem; font-weight: 780; color: var(--val-muted); }
.val-night-ledger { width: 100%; display: grid; gap: .36rem; padding: .6rem .75rem; border-radius: .85rem; background: rgba(255, 255, 255, .72); border: 2px dashed rgba(143, 78, 29, .3); }
.val-ledger-line { display: flex; justify-content: space-between; font-size: .84rem; font-weight: 780; }
.val-night-total { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: .42rem .75rem; border-radius: .75rem; background: #fef3c7; border: 2px solid #d97706; font-weight: 900; }
.val-night-total strong { font-size: 1.25rem; color: #b45309; }

/* ============================================================================
   Layer 7: 正宗星露谷雕花挂木招牌标题界面（零模糊展示活生生的像素田园农场！）
   ============================================================================ */
.val-title-screen {
  position: absolute;
  inset: 0;
  z-index: 25;
  background: radial-gradient(ellipse at 50% 48%, rgba(24, 52, 24, .08) 0%, rgba(16, 36, 18, .44) 100%);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.val-signboard {
  position: relative;
  width: min(100%, 34.5rem);
  padding: 1.45rem 1.65rem 1.4rem;
  border-radius: .92rem;
  border: 4px solid #3f1c07;
  background:
    repeating-linear-gradient(180deg, rgba(168, 108, 44, .04) 0px, rgba(168, 108, 44, .04) 12px, transparent 12px, transparent 24px),
    linear-gradient(180deg, #fff9e6 0%, #f1d69c 100%);
  box-shadow:
    0 0 0 4px #c77d36,
    0 0 0 7px #3f1c07,
    0 11px 0 #3a1805,
    0 30px 72px rgba(0, 0, 0, .52),
    inset 0 2px 0 #ffffff,
    inset 0 -3px 0 rgba(143, 78, 29, .24);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: .62rem;
}
.val-sign-nails {
  position: absolute;
  top: 10px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.val-sign-nails i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef08a, #92400e);
  border: 2px solid #3f1c07;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.val-sign-kicker {
  padding: .2rem .78rem;
  border-radius: 999px;
  border: 2px solid #166534;
  background: linear-gradient(180deg, #dcfce7, #bbf7d0);
  color: #14532d;
  font-size: .74rem;
  font-weight: 880;
  box-shadow: 0 2px 0 rgba(20, 83, 45, .35);
}
.val-sign-logo {
  margin: 0;
  font-size: clamp(2.15rem, 4.8vw, 3.15rem);
  font-weight: 950;
  line-height: 1.04;
  color: #5b2b0a;
  letter-spacing: -.01em;
  text-shadow: 0 2px 0 #ffffff, 0 4px 0 rgba(91, 46, 14, .28);
}
.val-sign-logo span { color: #15803d; }
.val-sign-sub { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--val-muted); font-weight: 700; max-width: 28rem; }
.val-sign-duo { display: flex; align-items: flex-end; justify-content: center; gap: .6rem; }
.val-sign-duo img { width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(67, 33, 11, .28)); }
.val-save-badge {
  padding: .42rem .92rem;
  border-radius: .82rem;
  border: 2px solid #16a34a;
  background: #ecfdf5;
}
.val-save-badge strong { display: block; font-size: .88rem; color: #14532d; }
.val-save-badge small { display: block; font-size: .73rem; color: #15803d; font-weight: 720; }
.val-sign-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }

/* ============================================================================
   手机 390px 满屏掌机适配（零滚动 + 清爽单行顶栏 + 全 9 格齐整暖木快捷栏）
   ============================================================================ */
@media (max-width: 780px) and (orientation: portrait) {
  .val-page .merge-nav, .val-layout { width: min(calc(100% - .45rem), 40rem); }
  .val-viewport { border-radius: .95rem; border-width: 2.5px; }
  .val-hud { padding: .36rem .38rem .4rem; }
  .val-hud-top { flex-direction: column; align-items: stretch; gap: .28rem; }
  .val-quest-scroll { max-width: none; padding: .24rem .38rem; gap: .18rem; order: 2; }
  .val-quest-head { gap: .32rem; }
  .val-quest-head img { width: 22px; height: 22px; }
  .val-quest-meta { display: none; }
  .val-quest-title { font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .val-quest-go { min-height: 24px; padding: .1rem .4rem; font-size: .66rem; }
  .val-clock-group { flex-direction: row; align-items: flex-start; justify-content: space-between; width: 100%; gap: .28rem; order: 1; }
  .val-clock-plaque { padding: .24rem .46rem; border-width: 2.5px; box-shadow: 0 0 0 2px #c77d36, 0 0 0 3.5px #3f1c07, 0 4px 0 rgba(48, 22, 6, .7); }
  .val-sky-dial { height: 8px; }
  .val-sun-dot { font-size: .62rem; }
  .val-gold-tray { font-size: .74rem; padding: .04rem .36rem .04rem .16rem; }
  .val-gold-coin { width: 14px; height: 14px; font-size: .56rem; }
  .val-clock-row1 { gap: .3rem; font-size: .7rem; }
  .val-clock-row2 { gap: .36rem; }
  .val-gold-txt { font-size: .78rem; }
  .val-mat-mini { font-size: .64rem; }
  .val-mini-tabs { flex-direction: row; flex-wrap: nowrap; gap: .2rem; }
  .val-wood-chip { min-height: 30px; padding: .14rem .42rem; font-size: .68rem; }
  .val-toast { bottom: 11.4rem; width: calc(100% - 1rem); font-size: .74rem; padding: .26rem .6rem; }
  .val-energy-bar { right: .38rem; bottom: 10.4rem; }
  .val-energy-track { height: 64px; width: 11px; }
  .val-held-bar { padding: .18rem .46rem; gap: .28rem; }
  .val-held-name { font-size: .72rem; }
  .val-hotbar { gap: 3px; padding: 4px 5px; border-width: 2.5px; border-radius: .75rem; }
  .val-slot { width: 35px; height: 35px; padding: 2px; border-width: 2px; border-radius: .48rem; }
  .val-slot svg { width: 23px; height: 23px; }
  .val-slot-key { font-size: .5rem; top: 1px; left: 2px; }
  .val-slot-qty { font-size: .58rem; right: 2px; bottom: 0; }
  .val-joystick { width: 78px; height: 78px; bottom: 4.8rem; left: .24rem; }
  .val-action-fab { width: 64px; height: 64px; bottom: 4.8rem; right: .24rem; font-size: .74rem; white-space: nowrap; }
  .val-dialogue { grid-template-columns: 1fr; text-align: center; gap: .45rem; bottom: .6rem; padding: .65rem .72rem; }
  .val-dlg-portrait-wrap { width: auto; grid-template-columns: auto 1fr; text-align: left; justify-items: start; align-items: center; gap: .1rem .55rem; }
  .val-dlg-portrait { grid-row: span 3; width: 52px; height: 52px; }
  .val-dlg-actions { justify-content: center; }
  .val-wood-book { max-height: 95%; }
  .val-shelf-grid { grid-template-columns: 1fr; }
}

/* ==================== 手机横屏星露谷全视野掌机模式（844x390 零遮挡） ==================== */
@media (orientation: landscape) and (max-height: 540px) {
  .val-page .merge-nav, .val-layout { width: calc(100% - .5rem); max-width: none; padding-block: .08rem .1rem; }
  .val-viewport {
    height: calc(100dvh - 48px);
    max-height: calc(100dvh - 48px);
    min-height: 260px;
    border-radius: .78rem;
    border-width: 2px;
  }
  .val-hud { padding: .22rem .34rem; }
  .val-hud-top { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: .4rem; }
  .val-quest-scroll { max-width: 17rem; padding: .2rem .38rem; }
  .val-quest-meta { display: none; }
  .val-quest-title { font-size: .7rem; }
  .val-clock-plaque { padding: .2rem .44rem; }
  .val-wood-chip { min-height: 26px; padding: .1rem .38rem; font-size: .66rem; }
  .val-hotbar { gap: 3px; padding: 3px 5px; border-width: 2px; border-radius: .65rem; }
  .val-slot { width: 32px; height: 32px; padding: 2px; border-width: 1.5px; }
  .val-slot svg { width: 20px; height: 20px; }
  .val-held-bar { padding: .1rem .36rem; font-size: .68rem; }
  .val-joystick { width: 72px; height: 72px; bottom: .42rem; left: .48rem; }
  .val-action-fab {
    width: 58px; height: 58px; bottom: .42rem; right: .48rem;
    font-size: .68rem; white-space: nowrap; line-height: 1.08;
    display: flex; align-items: center; justify-content: center;
  }
  .val-energy-bar { right: .42rem; bottom: 4.6rem; }
  .val-energy-track { height: 52px; width: 10px; }
  .val-toast { bottom: 4.5rem; font-size: .72rem; padding: .2rem .55rem; }
  .val-wood-book { max-height: 94%; }
}

/* ==================== 极简田园开屏底栏（零遮挡实时活农场） ==================== */
.val-title-screen {
  background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(18, 38, 20, .82) 100%);
  align-items: end;
  justify-items: center;
  padding: 1rem 1rem clamp(1.2rem, 5vh, 2.2rem);
}
.val-sign-nails, .val-sign-kicker, .val-sign-sub, .val-sign-duo {
  display: none !important;
}
.val-signboard {
  width: min(100%, 24rem);
  padding: 1rem 1.2rem 1.05rem;
  border-radius: 1.25rem;
  border: 1.5px solid rgba(254, 240, 138, .42);
  background: rgba(20, 42, 22, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .48);
  gap: .55rem;
}
.val-sign-logo {
  font-size: clamp(1.7rem, 4.6vw, 2.25rem);
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .55);
}
.val-sign-logo span { color: #bbf7d0; }
.val-save-badge {
  width: 100%;
  padding: .34rem .75rem;
  border-radius: .75rem;
  border: 1px solid rgba(134, 239, 172, .38);
  background: rgba(255, 255, 255, .09);
}
.val-save-badge strong { color: #ffffff; font-size: .84rem; }
.val-save-badge small { color: #bbf7d0; font-size: .72rem; }
.val-sign-actions { width: 100%; }
.val-sign-actions .val-cta-big { width: 100%; justify-content: center; }
