/* ============ 云上农场 · 样式 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root {
  --green: #58b647;
  --green-dark: #3d8a30;
  --brown: #8b5e3c;
  --brown-dark: #6b4426;
  --cream: #fffdf4;
  --ink: #4a3826;
  --accent: #ff9f43;
  --red: #ff6b6b;
  --blue: #3fa7ff;
  --gold: #f7b731;
  --shadow: 0 4px 14px rgba(90, 60, 20, .18);
  --radius: 16px;
}
html, body { height: 100%; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  background: linear-gradient(#a8dcff 0%, #cdeefd 34%, #d8f0c0 60%, #b6e594 100%) fixed;
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}
.hidden { display: none !important; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input {
  font-family: inherit; font-size: 15px; border: 2px solid #e4d9c3;
  border-radius: 12px; padding: 11px 14px; outline: none; background: #fff;
  color: var(--ink); width: 100%;
}
input:focus { border-color: var(--green); }

/* ---- 天空装饰 ---- */
.sky-deco { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.sun {
  position: absolute; top: 34px; right: 7%; width: 74px; height: 74px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff4b8, #ffd93b 65%, #ffc300);
  box-shadow: 0 0 60px 22px rgba(255, 214, 70, .55);
  animation: sunpulse 6s ease-in-out infinite;
}
@keyframes sunpulse { 50% { box-shadow: 0 0 80px 30px rgba(255,214,70,.4); } }
.cloud {
  position: absolute; background: #fff; border-radius: 40px; opacity: .9; height: 26px; width: 90px;
  animation: drift linear infinite;
}
.cloud::before, .cloud::after {
  content: ""; position: absolute; background: #fff; border-radius: 50%;
}
.cloud::before { width: 40px; height: 40px; top: -18px; left: 14px; }
.cloud::after { width: 28px; height: 28px; top: -12px; left: 46px; }
.c1 { top: 60px; left: -100px; animation-duration: 65s; }
.c2 { top: 130px; left: -180px; animation-duration: 90s; transform: scale(.7); }
.c3 { top: 40px; left: -60px; animation-duration: 75s; transform: scale(1.15); animation-delay: -30s; }
@keyframes drift { to { transform: translateX(115vw); } }

/* ---- 登录页 ---- */
.auth-screen {
  position: relative; z-index: 1; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.auth-card {
  width: 380px; max-width: 94vw; background: var(--cream); border-radius: 24px;
  box-shadow: var(--shadow); padding: 34px 30px 30px; border: 3px solid #f0e6cf;
}
.auth-logo { font-size: 34px; font-weight: 800; text-align: center; color: var(--green-dark); letter-spacing: 2px; }
.auth-sub { text-align: center; color: #a08a68; margin: 8px 0 22px; font-size: 14px; }
.auth-tabs { display: flex; background: #f1ead8; border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.auth-tab { flex: 1; padding: 9px 0; border-radius: 9px; font-size: 15px; font-weight: 600; color: #a08a68; }
.auth-tab.active { background: #fff; color: var(--green-dark); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-error { color: var(--red); font-size: 13px; text-align: center; min-height: 18px; }

/* ---- 按钮 ---- */
.btn {
  border-radius: 12px; font-weight: 700; font-size: 14px; padding: 9px 16px;
  transition: transform .08s, filter .15s; user-select: none;
}
.btn:active { transform: scale(.95); }
.btn-primary {
  background: linear-gradient(#6fcf5b, #4aa53a); color: #fff;
  box-shadow: 0 3px 0 #3a852c9, 0 5px 12px rgba(70,140,50,.35); text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-big { font-size: 17px; padding: 13px 0; }
.btn-small { font-size: 13px; padding: 6px 12px; }
.btn-ghost { background: rgba(255,255,255,.65); border: 2px solid #e2d7be; color: #8a7355; }
.btn-warn { background: linear-gradient(#ffb35c, #f28c1e); color: #fff; box-shadow: 0 3px 0 #d3760f; }
.btn-danger { background: linear-gradient(#ff8f8f, #f05b5b); color: #fff; box-shadow: 0 3px 0 #ce4646; }
.btn:disabled { filter: grayscale(.7) opacity(.6); cursor: not-allowed; transform: none; }

/* ---- 顶栏 ---- */
.game-screen { position: relative; z-index: 1; min-height: 100vh; padding-bottom: 110px; }
.topbar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 14px auto 0; max-width: 1020px; padding: 10px 16px;
  background: rgba(255, 253, 244, .92); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 2px solid #f0e6cf; width: calc(100% - 24px);
}
.logo { font-size: 20px; font-weight: 800; color: var(--green-dark); white-space: nowrap; }
.player-chip { display: flex; align-items: center; gap: 10px; cursor: pointer; min-width: 0; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none;
  border: 2px solid #d9c9a8; background: #e7f3d5;
}
.avatar img, .avatar svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.player-meta { min-width: 0; }
.player-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.exp-wrap { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.lv-badge {
  background: linear-gradient(#ffd76e, #f7b731); color: #7a5a12; font-size: 11px; font-weight: 800;
  border-radius: 8px; padding: 1px 7px; white-space: nowrap;
}
.exp-bar { width: 90px; height: 8px; background: #e8dfc8; border-radius: 5px; overflow: hidden; }
.exp-fill { height: 100%; background: linear-gradient(90deg, #8be06e, #4aa53a); border-radius: 5px; transition: width .4s; }
.exp-text { font-size: 11px; color: #a08a68; white-space: nowrap; }
.gold-chip {
  display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 16px; color: #b07d10;
  background: #fff7dd; padding: 6px 14px 6px 8px; border-radius: 999px; border: 2px solid #f4df9a;
}
.coin-ico { width: 26px; height: 26px; display: inline-block; }
.coin-ico svg { width: 100%; height: 100%; }
.top-actions { margin-left: auto; }

/* ---- 农场区 ---- */
.farm-wrap { max-width: 1020px; margin: 18px auto 0; padding: 0 12px; }
.farm-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.farm-title {
  font-size: 22px; font-weight: 800; color: #fff; background: linear-gradient(#79c96a, #4d9b3e);
  padding: 8px 22px; border-radius: 999px; box-shadow: var(--shadow); text-shadow: 0 1px 3px rgba(0,0,0,.25);
  border: 2px solid rgba(255,255,255,.5);
}
.farm-banner-right { display: flex; align-items: center; gap: 10px; }
.dog-status {
  font-size: 13px; font-weight: 700; color: #7a5a12; background: #fff3cf;
  border: 2px solid #ecd58e; border-radius: 999px; padding: 5px 12px;
}
.farm-board {
  position: relative; background: linear-gradient(#8ed070, #6cb84f);
  border: 4px solid #5aa23f; border-radius: 22px; box-shadow: var(--shadow), inset 0 0 40px rgba(255,255,255,.15);
  padding: 26px 22px 30px;
}
.grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 12px; max-width: 880px; margin: 0 auto;
}
@media (max-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.plot { position: relative; aspect-ratio: 64 / 58; cursor: pointer; transition: transform .1s; }
.plot:hover { transform: translateY(-3px); }
.plot .soil { position: absolute; inset: 0; }
.plot .soil svg { width: 100%; height: 100%; display: block; }
.plot .crop-sprite {
  position: absolute; left: 50%; bottom: 16%; width: 74%; height: 74%;
  transform: translateX(-50%); pointer-events: none;
}
.plot .crop-sprite svg { width: 100%; height: 100%; display: block; }
.plot.mature .crop-sprite { animation: bounce 1.6s ease-in-out infinite; }
@keyframes bounce { 50% { transform: translateX(-50%) translateY(-4px); } }
.plot .overlay-weeds { position: absolute; left: 8%; bottom: 14%; width: 52%; height: 52%; pointer-events: none; opacity: .95; }
.plot .overlay-weeds svg { width: 100%; height: 100%; }
.plot .badges {
  position: absolute; top: -6px; right: -2px; display: flex; flex-direction: column; gap: 2px; pointer-events: none;
}
.badge {
  width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.95);
  border: 2px solid #eadfc6; box-shadow: 0 2px 5px rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: center; animation: pop .3s;
}
.badge svg { width: 19px; height: 19px; }
@keyframes pop { from { transform: scale(.3); } }
.plot .timer {
  position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%);
  background: rgba(60, 42, 20, .82); color: #ffe9b8; font-size: 11px; font-weight: 700;
  border-radius: 999px; padding: 2px 9px; white-space: nowrap; pointer-events: none;
}
.plot .timer.ready { background: linear-gradient(#ffd76e, #f7a325); color: #6b4508; animation: glowpulse 1.2s infinite; }
.plot .timer.withered-tag { background: #6d6155; color: #ddd0c0; }
@keyframes glowpulse { 50% { box-shadow: 0 0 12px 3px rgba(255, 200, 60, .75); } }
.plot .steal-mark {
  position: absolute; top: -5px; left: -4px; font-size: 15px; pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
}
.plot .lock-req {
  position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  font-size: 10px; color: #fff; background: rgba(90, 70, 40, .75); border-radius: 8px;
  padding: 1px 7px; white-space: nowrap; pointer-events: none;
}
.doghouse { position: absolute; right: 10px; bottom: 8px; width: 74px; height: 74px; }
.doghouse svg { width: 100%; height: 100%; }
.doghouse .zzz { position: absolute; top: -4px; right: 0; font-size: 13px; }

/* ---- 底部功能坞 ---- */
.dock {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30;
  display: flex; gap: 8px; background: rgba(255, 253, 244, .95); border-radius: 20px;
  box-shadow: var(--shadow); border: 2px solid #f0e6cf; padding: 8px 12px;
}
.dock-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px; position: relative;
  font-size: 12px; font-weight: 700; color: #8a7355; border-radius: 12px; padding: 6px 14px;
  transition: background .15s;
}
.dock-btn span { font-size: 22px; }
.dock-btn:hover { background: #f3ecd9; }
.dock-btn b {
  position: absolute; top: 4px; right: 8px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--red); border: 2px solid #fff;
}

/* ---- 弹窗 ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 50; background: rgba(60, 45, 20, .45);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  animation: fadein .18s;
}
@keyframes fadein { from { opacity: 0; } }
.modal {
  width: 560px; max-width: 96vw; max-height: 84vh; display: flex; flex-direction: column;
  background: var(--cream); border-radius: 20px; border: 3px solid #f0e6cf;
  box-shadow: 0 10px 40px rgba(40, 25, 5, .4); animation: rise .2s;
}
@keyframes rise { from { transform: translateY(18px); opacity: .5; } }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px 10px; border-bottom: 2px dashed #eadfc6;
}
.modal-title { font-size: 18px; font-weight: 800; color: var(--brown-dark); }
.modal-close { font-size: 16px; color: #b3a184; padding: 4px 8px; border-radius: 8px; }
.modal-close:hover { background: #f3ecd9; }
.modal-body { overflow-y: auto; padding: 14px 18px 18px; }

.shop-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.shop-tab { padding: 7px 16px; border-radius: 999px; background: #f1ead8; font-weight: 700; font-size: 13px; color: #a08a68; }
.shop-tab.active { background: var(--green); color: #fff; }

.item-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 8px;
  border-bottom: 1px dashed #eadfc6;
}
.item-row:last-child { border-bottom: none; }
.item-ico { width: 46px; height: 46px; flex: none; }
.item-ico svg { width: 100%; height: 100%; }
.item-info { flex: 1; min-width: 0; }
.item-name { font-weight: 800; font-size: 15px; }
.item-name .locked-tag { color: var(--red); font-size: 12px; font-weight: 700; margin-left: 6px; }
.item-desc { font-size: 12px; color: #a08a68; margin-top: 2px; line-height: 1.5; }
.item-actions { display: flex; gap: 6px; flex: none; align-items: center; }
.item-qty { font-weight: 800; color: var(--green-dark); font-size: 15px; min-width: 40px; text-align: right; }

.player-row { display: flex; align-items: center; gap: 12px; padding: 9px 6px; border-bottom: 1px dashed #eadfc6; }
.player-row:last-child { border-bottom: none; }
.player-row .avatar { width: 40px; height: 40px; }
.player-row .p-meta { flex: 1; min-width: 0; }
.player-row .p-name { font-weight: 700; font-size: 14px; }
.player-row .p-sub { font-size: 12px; color: #a08a68; }
.rank-num { width: 26px; font-weight: 800; color: #c3a24e; font-size: 16px; text-align: center; flex: none; }
.rank-num.top { font-size: 20px; }

.search-bar { display: flex; gap: 8px; margin-bottom: 10px; }

.log-row { padding: 9px 4px; border-bottom: 1px dashed #eadfc6; font-size: 14px; line-height: 1.5; }
.log-row:last-child { border-bottom: none; }
.log-row .log-time { color: #b3a184; font-size: 12px; margin-left: 6px; }
.log-row .log-actor { font-weight: 700; color: var(--green-dark); }
.empty-tip { text-align: center; color: #b3a184; padding: 30px 0; font-size: 14px; }

/* 种子选择网格 */
.seed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.seed-cell {
  background: #fff; border: 2px solid #eadfc6; border-radius: 14px; padding: 10px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer;
  transition: border-color .15s, transform .1s;
}
.seed-cell:hover { border-color: var(--green); transform: translateY(-2px); }
.seed-cell .item-ico { width: 42px; height: 42px; }
.seed-cell .s-name { font-weight: 700; font-size: 13px; }
.seed-cell .s-qty { font-size: 12px; color: #a08a68; }

/* ---- 地块操作菜单 ---- */
.plot-menu {
  position: fixed; z-index: 60; display: flex; flex-direction: column; gap: 6px;
  background: rgba(255, 253, 244, .98); border: 2px solid #f0e6cf; border-radius: 14px;
  box-shadow: 0 8px 26px rgba(50, 32, 8, .3); padding: 8px; min-width: 150px;
  animation: pop .15s;
}
.plot-menu .pm-title {
  font-size: 12px; font-weight: 800; color: #a08a68; text-align: center; padding: 2px 0 4px;
  border-bottom: 1px dashed #eadfc6; margin-bottom: 2px;
}
.pm-btn {
  display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700;
  padding: 8px 12px; border-radius: 10px; text-align: left; color: var(--ink);
}
.pm-btn:hover { background: #eef6e2; }
.pm-btn .pm-ico { width: 22px; height: 22px; flex: none; display: inline-flex; }
.pm-btn .pm-ico svg { width: 100%; height: 100%; }
.pm-btn.danger { color: #c0392b; }
.pm-btn.danger:hover { background: #fdecea; }
.pm-info { font-size: 12px; color: #a08a68; padding: 2px 12px 4px; max-width: 190px; line-height: 1.5; }

/* ---- Toast ---- */
.toast-box {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 100;
  display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none;
}
.toast {
  background: rgba(56, 40, 18, .92); color: #ffefc9; font-size: 14px; font-weight: 600;
  border-radius: 999px; padding: 9px 20px; box-shadow: 0 4px 16px rgba(0,0,0,.3);
  animation: toastin .25s; max-width: 86vw; text-align: center;
}
.toast.good { background: linear-gradient(#5cbb4a, #3d8a30); color: #fff; }
.toast.bad { background: linear-gradient(#f36c6c, #d64545); color: #fff; }
@keyframes toastin { from { transform: translateY(-14px); opacity: 0; } }

/* 收获飘字 */
.float-gain {
  position: fixed; z-index: 90; font-weight: 800; font-size: 17px; color: #ffde59;
  text-shadow: 0 1px 3px rgba(90, 50, 0, .8); pointer-events: none;
  animation: floatup 1.1s ease-out forwards;
}
@keyframes floatup { to { transform: translateY(-46px); opacity: 0; } }

/* ---- 音效按钮 ---- */
.btn-icon { padding: 8px 11px; font-size: 16px; line-height: 1; }

/* ---- 土地升级：红土地/黑土地染色 ---- */
.plot .soil.soil-1 { filter: hue-rotate(-22deg) saturate(1.55) brightness(1.02); }
.plot .soil.soil-2 { filter: brightness(0.55) saturate(0.75); }
.soil-badge {
  position: absolute; top: 2px; left: 2px; z-index: 2; pointer-events: none;
  font-size: 10px; font-weight: 800; color: #fff; border-radius: 7px; padding: 1px 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.soil-badge.s1 { background: linear-gradient(#e06a4a, #b8442a); }
.soil-badge.s2 { background: linear-gradient(#5a5048, #2e2823); }

/* ---- 留言板 ---- */
.msg-composer { display: flex; gap: 8px; align-items: flex-end; margin-bottom: 12px; }
.msg-input {
  flex: 1; font-family: inherit; font-size: 14px; border: 2px solid #e4d9c3; border-radius: 12px;
  padding: 9px 12px; outline: none; background: #fff; color: var(--ink); resize: none; height: 58px;
}
.msg-input:focus { border-color: var(--green); }
.msg-row { position: relative; padding: 9px 4px; border-bottom: 1px dashed #eadfc6; }
.msg-row:last-child { border-bottom: none; }
.msg-head { display: flex; align-items: center; gap: 8px; }
.msg-content { font-size: 14px; line-height: 1.5; margin-top: 3px; word-break: break-word; }
.msg-del {
  position: absolute; top: 8px; right: 4px; font-size: 12px; color: #b3a184;
  padding: 3px 8px; border-radius: 8px;
}
.msg-del:hover { background: #fdecea; color: #c0392b; }

/* ---- 收藏星标 ---- */
.star-btn {
  font-size: 22px; color: #d9c9a8; padding: 2px 8px; flex: none; transition: transform .1s, color .15s;
}
.star-btn.on { color: #f7b731; }
.star-btn:active { transform: scale(1.3); }

/* ---- 每日面板 ---- */
.daily-sec { margin-bottom: 18px; }
.daily-h { font-size: 15px; font-weight: 800; color: var(--brown-dark); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.daily-streak { font-size: 12px; font-weight: 600; color: #b0966a; }
.checkin-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.checkin-day {
  flex: none; width: 60px; background: #fff; border: 2px solid #eadfc6; border-radius: 12px;
  padding: 8px 4px; text-align: center; position: relative;
}
.checkin-day.got { background: #f0f8e6; border-color: #b7dd93; }
.checkin-day.got::after { content: '✓'; position: absolute; top: 2px; right: 5px; color: #5cbb4a; font-weight: 800; font-size: 12px; }
.checkin-day.next { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255,159,67,.25); }
.cd-day { font-size: 11px; color: #a08a68; }
.cd-gold { font-size: 15px; font-weight: 800; color: #e0a800; margin-top: 3px; }
.cd-gold::before { content: '🪙 '; font-size: 11px; }

.task-row { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px dashed #eadfc6; }
.task-row:last-child { border-bottom: none; }
.task-info { flex: 1; min-width: 0; }
.task-name { font-weight: 800; font-size: 14px; }
.task-reward { font-weight: 700; font-size: 12px; color: #e0a800; margin-left: 6px; }
.task-desc { font-size: 12px; color: #a08a68; margin: 2px 0 6px; }
.task-bar { position: relative; height: 16px; background: #eee3cd; border-radius: 8px; overflow: hidden; max-width: 260px; }
.task-fill { height: 100%; background: linear-gradient(90deg, #8be06e, #4aa53a); border-radius: 8px; transition: width .4s; }
.task-prog { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #5a4326; }

/* ---- 升级庆祝 ---- */
.levelup-burst {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  background: rgba(30, 20, 5, .35); animation: fadein .2s; cursor: pointer; overflow: hidden;
}
.levelup-card {
  background: var(--cream); border: 3px solid #ffd76e; border-radius: 24px; padding: 26px 40px;
  text-align: center; box-shadow: 0 12px 50px rgba(60,40,5,.5); animation: rise .35s; z-index: 2;
}
.levelup-ring {
  width: 100px; height: 100px; margin: 0 auto 12px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff2b8, #f7b731 70%, #e0a800);
  display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; color: #7a5400;
  box-shadow: 0 0 34px rgba(247,183,49,.7); animation: ringpop .5s;
}
@keyframes ringpop { from { transform: scale(.3) rotate(-30deg); } 60% { transform: scale(1.15); } }
.levelup-txt { font-size: 26px; font-weight: 800; color: var(--green-dark); }
.levelup-sub { font-size: 13px; color: #a08a68; margin-top: 6px; }
.confetti { position: absolute; inset: 0; top: 40%; left: 50%; z-index: 1; }
.confetti i {
  position: absolute; width: 10px; height: 14px; border-radius: 2px; top: 0; left: 0;
  animation: confetti var(--d) ease-out forwards;
}
@keyframes confetti {
  from { transform: translate(0, 0) rotate(0); opacity: 1; }
  to { transform: translate(var(--x), 60vh) rotate(var(--r)); opacity: 0; }
}

/* ---- 新手引导 ---- */
.guide-layer { position: fixed; inset: 0; z-index: 110; background: rgba(20, 14, 4, .55); }
.guide-hole {
  position: absolute; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(20,14,4,.55);
  border: 3px dashed #ffd76e; transition: all .3s; pointer-events: none;
}
.guide-tip {
  position: absolute; width: 240px; background: var(--cream); border-radius: 14px; padding: 14px;
  box-shadow: var(--shadow); border: 2px solid #f0e6cf; animation: rise .25s;
}
.guide-text { font-size: 14px; font-weight: 600; line-height: 1.5; margin-bottom: 10px; }
.guide-actions { display: flex; align-items: center; gap: 8px; }
.guide-step { font-size: 12px; color: #a08a68; margin-right: auto; }
.guide-skip { font-size: 12px; color: #b3a184; padding: 4px 8px; }

@media (max-width: 620px) {
  .topbar { gap: 8px; padding: 8px 10px; }
  .logo { display: none; }
  .exp-bar { width: 60px; }
  .farm-board { padding: 16px 10px 22px; }
  .grid { gap: 10px 8px; }
  .dock { width: calc(100% - 20px); justify-content: space-around; padding: 6px 4px; }
  .dock-btn { padding: 6px 8px; }
}
