/* 阿里山小火車 × 夢想農場 — iPad 觸控優先溫暖插畫風樣式 */
:root {
  --bg-cream: #FFF9F2;
  --bg-sakura: #FCE7EC;
  --surface: #FFFFFF;
  --ink: #2C2A29;
  --muted: #6E6862;
  --forest: #2E7D5B;
  --forest-dark: #215F44;
  --forest-light: #E4F4EC;
  --train-red: #D94E41;
  --sakura-pink: #E87D96;
  --sun-gold: #F2B233;
  --sky-blue: #3C8DAD;
  --border: #ECDED1;
  --shadow: 0 8px 24px rgba(68, 46, 28, 0.08);
  --radius: 20px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  background: linear-gradient(180deg, #FFF5F7 0%, var(--bg-cream) 45%, #F3F8F2 100%);
  color: var(--ink);
  min-height: 100vh;
}

.kai-font {
  font-family: 'DFKai-SB', 'BiauKai', 'Kaiti TC', 'TW-Kai', '標楷體', serif !important;
}

button, input, select, textarea {
  font-family: inherit;
}

/* ===== 通用按鈕 ===== */
.btn {
  border: none;
  border-radius: 14px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 46px;
}

.btn:active:not(:disabled) {
  transform: scale(0.96);
}

.btn-primary {
  background: linear-gradient(135deg, #359168, var(--forest));
  color: #fff;
  box-shadow: 0 4px 0 var(--forest-dark);
}
.btn-primary:hover:not(:disabled) { filter: brightness(1.05); }

.btn-success {
  background: linear-gradient(135deg, #43A047, #2E7D32);
  color: #fff;
  box-shadow: 0 4px 0 #1B5E20;
}

.btn-accent {
  background: linear-gradient(135deg, #F5A623, #E08A13);
  color: #fff;
  box-shadow: 0 4px 0 #B36908;
}

.btn-pink {
  background: linear-gradient(135deg, #F08CA3, #D86480);
  color: #fff;
  box-shadow: 0 4px 0 #AD455F;
}

.btn-danger {
  background: #E05248;
  color: #fff;
}

.btn-soft {
  background: #F4EDE6;
  color: var(--ink);
}
.btn-soft:hover { background: #E9DFD5; }

.btn-disabled, .btn:disabled {
  background: #DDD7D0 !important;
  color: #8E8780 !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

.btn-speak {
  background: linear-gradient(135deg, #4DA6CC, #2F81A8);
  color: #fff;
  box-shadow: 0 4px 0 #1E5D7A;
  padding: 10px 18px;
  border-radius: 999px;
}
.btn-speak.speaking {
  animation: pulseSpeak 0.7s infinite alternate;
}
@keyframes pulseSpeak {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.btn-lg { padding: 14px 26px; font-size: 18px; min-height: 52px; }
.btn-xl { padding: 16px 28px; font-size: 20px; min-height: 58px; }
.btn-sm { padding: 8px 14px; font-size: 14px; min-height: 38px; }
.btn-xs { padding: 6px 10px; font-size: 13px; min-height: 32px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-link {
  background: none;
  border: none;
  color: var(--train-red);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.input, .textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid var(--border);
  font-size: 16px;
  background: #FFFDFB;
  color: var(--ink);
}
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--forest);
}
.input-lg { font-size: 18px; padding: 14px 16px; }

/* ===== 登入頁 ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sakura-bg {
  font-size: 24px;
  letter-spacing: 14px;
  margin-bottom: 10px;
  opacity: 0.85;
}

.login-card {
  width: 100%;
  max-width: 820px;
  background: var(--surface);
  border-radius: 28px;
  padding: 28px 32px;
  box-shadow: var(--shadow);
  border: 3px solid #F6D8DF;
}

.login-hero {
  text-align: center;
  margin-bottom: 24px;
}

.bear-conductor {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-sakura);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.bear-avatar { font-size: 32px; }
.train-badge { font-weight: 800; color: var(--train-red); font-size: 16px; }

.login-hero h1 {
  margin: 6px 0;
  font-size: 30px;
  color: var(--forest-dark);
}
.hero-sub {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.login-form-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.field-group { margin-bottom: 16px; }
.field-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 15px;
}

.pin-dots {
  display: flex;
  gap: 12px;
}
.pin-dot {
  flex: 1;
  height: 52px;
  border-radius: 14px;
  border: 2px solid var(--border);
  background: #FFFDFB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--forest);
}
.pin-dot.filled {
  border-color: var(--forest);
  background: var(--forest-light);
}

.numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.num-btn {
  height: 58px;
  border-radius: 16px;
  border: 2px solid var(--border);
  background: #FFF9F2;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
}
.num-btn:active { background: var(--forest-light); transform: scale(0.95); }
.num-fn { font-size: 16px; background: #F4EDE6; }

.login-error {
  background: #FDECEB;
  color: #C0392B;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.demo-hint-box {
  background: #FFF8E1;
  border: 1px dashed #E5B94C;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  color: #6B5314;
}
.demo-hint-box code {
  background: #fff;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}

.login-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

/* ===== 頂部導覽列 ===== */
.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 3px solid #F3DCE2;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-icon { font-size: 30px; }
.brand-title { font-weight: 900; font-size: 18px; color: var(--forest-dark); }
.brand-user { font-size: 13px; color: var(--muted); }

.header-stats {
  display: flex;
  gap: 8px;
}
.stat-pill {
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
}
.star-pill { background: #FFF4D4; color: #A66E00; }
.coin-pill { background: #FFECC7; color: #9A5B00; }
.water-pill { background: #DCF2FC; color: #196B8E; }

.main-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-btn {
  border: 2px solid transparent;
  background: #F4EDE6;
  color: var(--ink);
  border-radius: 14px;
  padding: 9px 15px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.nav-btn.active {
  background: var(--forest);
  color: #fff;
}
.nav-logout {
  background: #FDECEB;
  color: #B93A30;
}

.app-main {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
  flex: 1;
}

/* ===== 小火車闖關地圖 ===== */
.map-hero-banner {
  background: linear-gradient(135deg, #FFFFFF, #FFF4F7);
  border: 2px solid #F3D1DA;
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}

.conductor-msg {
  display: flex;
  align-items: center;
  gap: 14px;
}
.conductor-emoji { font-size: 46px; }
.conductor-msg h2 { margin: 0 0 4px; font-size: 21px; color: var(--forest-dark); }
.conductor-msg p { margin: 0; color: var(--muted); font-size: 15px; }

.train-track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.station-card {
  text-align: left;
  background: var(--surface);
  border: 3px solid var(--border);
  border-top: 8px solid var(--accent, var(--forest));
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.14s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.station-card.unlocked:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(46, 125, 91, 0.14);
}
.station-card.locked {
  opacity: 0.62;
  background: #F7F4F0;
  cursor: not-allowed;
}

.station-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.station-badge {
  background: var(--accent, var(--forest));
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}
.station-status { font-size: 13px; font-weight: 700; color: var(--muted); }
.station-name { font-size: 21px; font-weight: 900; color: var(--ink); }

.station-chars-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.mini-char {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #FFF6ED;
  border: 1px solid #EED8C5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.mini-more { font-size: 12px; color: var(--muted); margin-left: 4px; }

.station-bottom {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
}
.station-stars { color: #B87600; font-size: 15px; }
.station-cta { color: var(--forest); font-size: 15px; }

.boss-card {
  grid-column: 1 / -1;
  --accent: #D94E41;
  background: linear-gradient(135deg, #FFFDF8, #FFF1EA);
}
.boss-badge { background: linear-gradient(135deg, #E86A33, #C83E2B); }
.boss-desc { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== 單課 5 子關卡頁 ===== */
.hub-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.hub-topbar h2 { margin: 0; font-size: 24px; color: var(--forest-dark); }
.hub-star-total {
  background: #FFF4D4;
  color: #A66E00;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.stage-card {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.stage-card:hover {
  transform: translateY(-3px);
  border-color: var(--forest);
}
.stage-step {
  font-size: 12px;
  font-weight: 800;
  color: var(--forest);
  background: var(--forest-light);
  padding: 3px 10px;
  border-radius: 999px;
}
.stage-icon { font-size: 38px; }
.stage-name { font-size: 19px; font-weight: 900; }
.stage-desc { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.4; }
.stage-stars { font-size: 22px; letter-spacing: 3px; }
.s-star { color: #DDD4CA; }
.s-star.lit { color: var(--sun-gold); }
.stage-go { margin-top: auto; font-weight: 800; color: var(--forest); font-size: 14px; }

.vocab-wall-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.vocab-wall-head h3 { margin: 0 0 14px; font-size: 17px; color: var(--forest-dark); }
.vocab-wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 10px;
}
.vocab-tile {
  background: #FFF9F2;
  border: 2px solid #EFE0D1;
  border-radius: 14px;
  padding: 10px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.vocab-tile.ping { border-color: var(--sky-blue); background: #EAF7FD; }
.vt-char { font-size: 34px; color: var(--ink); line-height: 1.1; }
.vt-word { font-size: 13px; font-weight: 700; color: var(--forest-dark); }
.vt-rad { font-size: 11px; color: var(--muted); }

/* ===== 遊戲答題畫面 ===== */
.game-shell {
  max-width: 860px;
  margin: 0 auto;
}
.game-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.game-title-pill {
  background: var(--forest-light);
  color: var(--forest-dark);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
}
.game-progress-text { font-weight: 800; color: var(--muted); }

.progress-bar-wrap {
  height: 12px;
  background: #EADFD5;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #56AB7B, #2E7D5B);
  transition: width 0.3s ease;
}

.question-card {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.q-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.q-badge {
  background: #FFF2E0;
  color: #B36010;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}

.q-body {
  text-align: center;
  margin-bottom: 22px;
}
.q-big-char {
  font-size: 108px;
  line-height: 1.1;
  color: var(--ink);
  margin: 4px 0 10px;
}
.q-sub { font-size: 19px; color: var(--ink); line-height: 1.5; }
.q-zhuyin-chip {
  display: inline-block;
  margin-top: 10px;
  background: #EAF7FD;
  color: #1A6A8D;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 800;
}
.q-word-box {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 4px;
  margin: 12px 0;
}
.q-highlight {
  background: #FFE0B2;
  color: #C84B31;
  padding: 2px 10px;
  border-radius: 12px;
  border: 2px solid #F29C4B;
}
.q-sentence, .q-meaning-box {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.7;
  background: #FFF9F2;
  padding: 18px 22px;
  border-radius: 18px;
  border: 2px dashed #E7D2BD;
  margin-bottom: 12px;
}
.q-blank {
  color: var(--train-red);
  font-weight: 900;
  padding: 0 4px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.option-btn {
  background: #FFFDFB;
  border: 3px solid var(--border);
  border-radius: 18px;
  padding: 18px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  min-height: 76px;
  transition: transform 0.1s ease, border-color 0.12s ease, background 0.12s ease;
}
.option-btn:hover:not(:disabled) {
  border-color: var(--forest);
  background: #F4FBF7;
}
.option-btn:active:not(:disabled) { transform: scale(0.98); }

.opt-label {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1E6DB;
  color: var(--ink);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.opt-text { font-size: 24px; font-weight: 800; color: var(--ink); }
.opt-style-kai-big .opt-text { font-size: 46px; margin: 0 auto; }
.opt-style-radical .opt-text { font-size: 28px; }
.opt-style-zhuyin .opt-text { font-size: 26px; letter-spacing: 2px; }
.opt-style-idiom .opt-text { font-size: 24px; letter-spacing: 2px; }

.option-btn.correct {
  border-color: #2E7D32;
  background: #E8F5E9;
}
.option-btn.correct .opt-label { background: #2E7D32; color: #fff; }
.option-btn.wrong {
  border-color: #C62828;
  background: #FFEBEE;
}
.option-btn.wrong .opt-label { background: #C62828; color: #fff; }

.feedback-area {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.feedback-area.hidden { display: none; }
.fb-correct { background: #E7F7EC; border: 2px solid #56AB7B; }
.fb-wrong { background: #FFF4E5; border: 2px solid #F2A649; }
.fb-title { font-size: 19px; font-weight: 900; margin-bottom: 4px; }
.fb-exp { font-size: 15px; color: var(--ink); }

/* ===== 手指描寫畫布 ===== */
.write-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
}
.write-char-preview {
  font-size: 96px;
  text-align: center;
  background: #FFF8F0;
  border-radius: 20px;
  border: 2px solid var(--border);
  padding: 10px;
  margin-bottom: 12px;
}
.write-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 17px;
  margin-bottom: 12px;
}
.write-tip { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.write-tools { display: flex; gap: 10px; flex-wrap: wrap; }

.canvas-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.tianzige-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  max-width: 100%;
  background: #FFFDF9;
  border-radius: 16px;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.05);
  overflow: hidden;
  touch-action: none;
}
.tianzige-wrap canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
}
#drawCanvas { cursor: crosshair; }

.write-fb { width: 100%; min-height: 28px; text-align: center; font-weight: 800; }
.fb-inline-ok { color: #2E7D32; background: #E8F5E9; padding: 8px 12px; border-radius: 10px; }
.fb-inline-warn { color: #B85D00; background: #FFF3E0; padding: 8px 12px; border-radius: 10px; }

/* ===== 破關結算 ===== */
.summary-card {
  max-width: 620px;
  margin: 12px auto;
  background: var(--surface);
  border: 3px solid #F3D1DA;
  border-radius: 28px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow);
}
.bear-cheer { font-size: 62px; margin-bottom: 6px; }
.stars-row { font-size: 50px; letter-spacing: 8px; margin: 6px 0 14px; }
.star-big { color: #DDD4CA; }
.star-big.lit { color: var(--sun-gold); text-shadow: 0 3px 10px rgba(242, 178, 51, 0.45); }
.score-pill {
  display: inline-block;
  background: #F4EDE6;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 16px;
}
.rewards-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.reward-chip {
  background: #FFECC7;
  color: #9A5B00;
  padding: 10px 20px;
  border-radius: 14px;
  font-size: 20px;
  font-weight: 900;
}
.reward-chip.water { background: #DCF2FC; color: #196B8E; }
.first-clear-tag {
  color: var(--train-red);
  font-weight: 800;
  margin-bottom: 14px;
}
.wrong-review-box {
  text-align: left;
  background: #FFF6EB;
  border-radius: 16px;
  padding: 14px 18px;
  margin: 16px 0;
}
.wrong-review-box h4 { margin: 0 0 8px; color: #A65200; }
.wrong-review-box ul { margin: 0; padding-left: 20px; line-height: 1.7; }
.summary-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* ===== 夢想農場與點數商店 ===== */
.farm-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 20px;
  align-items: start;
}

.farm-banner {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.farm-title-row { display: flex; align-items: center; gap: 10px; }
.farm-title-row h2 { margin: 0; font-size: 22px; color: var(--forest-dark); }
.farm-substats {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.placing-pill {
  background: #FFF3D1;
  color: #8F5500;
  padding: 8px 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
}
.hint-pill { font-size: 13px; color: var(--muted); }

.farm-yard {
  background: linear-gradient(180deg, #CBEFB6 0%, #A9E190 100%);
  border: 6px solid #B67D4B;
  border-radius: 24px;
  padding: 14px;
  box-shadow: inset 0 6px 14px rgba(0, 0, 0, 0.08), var(--shadow);
  margin-bottom: 16px;
}
.farm-decor-top {
  text-align: center;
  font-weight: 900;
  color: #265936;
  margin-bottom: 10px;
  font-size: 15px;
}

.farm-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.farm-tile {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  border: 2px dashed rgba(46, 125, 91, 0.35);
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4px;
  transition: transform 0.12s ease, background 0.12s ease;
}
.farm-tile.ready-place {
  border: 2px dashed #E08A13;
  background: rgba(255, 245, 204, 0.72);
}
.farm-tile.filled {
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.65);
}
.farm-tile.mature {
  border-color: #F2B233;
  background: #FFF8D8;
  box-shadow: 0 0 12px rgba(242, 178, 51, 0.55);
}
.farm-tile.readonly { cursor: default; }

.tile-plus { font-size: 11px; font-weight: 800; color: #A66000; }
.tile-emoji { font-size: 32px; line-height: 1; }
.animal-bob .tile-emoji {
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.tile-badge {
  font-size: 10px;
  font-weight: 800;
  background: #E1F4FD;
  color: #146387;
  padding: 1px 6px;
  border-radius: 999px;
  margin-top: 3px;
}
.tile-badge.ready { background: #F5B731; color: #fff; }
.tile-name {
  font-size: 10px;
  font-weight: 700;
  color: #2E4B35;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.bag-card, .shop-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.bag-header h3, .shop-header h3 { margin: 0 0 12px; font-size: 17px; color: var(--forest-dark); }
.bag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bag-item {
  background: #FFF9F2;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 700;
}
.bag-item.selected {
  border-color: var(--forest);
  background: var(--forest-light);
  box-shadow: 0 0 0 3px rgba(46, 125, 91, 0.2);
}
.bag-icon { font-size: 22px; }
.bag-qty {
  background: var(--forest);
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 12px;
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.shop-header h3 { margin: 0; }
.shop-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.tab-btn {
  border: none;
  background: #F4EDE6;
  padding: 9px 6px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}
.tab-btn.active { background: var(--forest); color: #fff; }

.shop-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 540px;
  overflow-y: auto;
}
.shop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  border: 2px solid #F2E7DC;
  background: #FFFDFB;
}
.shop-item-icon { font-size: 34px; flex-shrink: 0; }
.shop-item-info { flex: 1; }
.shop-item-name { font-weight: 800; font-size: 15px; }
.shop-item-desc { font-size: 12px; color: var(--muted); }

/* ===== 安全參觀同學農場 ===== */
.safety-banner {
  background: #E8F6EE;
  border: 2px solid #7EC49E;
  color: #1F5B3D;
  padding: 14px 18px;
  border-radius: 16px;
  margin-bottom: 18px;
  font-size: 15px;
}
.section-title { margin: 0 0 16px; color: var(--forest-dark); }
.classmate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.classmate-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cm-top { display: flex; align-items: center; gap: 8px; }
.seat-badge {
  background: var(--forest-light);
  color: var(--forest-dark);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}
.cm-name { font-size: 19px; font-weight: 900; }
.cm-likes { margin-left: auto; font-weight: 800; color: #D45876; }
.cm-farm-name { font-weight: 700; color: var(--forest-dark); }
.cm-meta { display: flex; gap: 14px; font-size: 14px; color: var(--muted); }

.visit-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.safety-pill {
  background: #E8F6EE;
  border: 2px solid #56AB7B;
  color: #1E5D3E;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}
.visit-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== 老師後台 ===== */
.teacher-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
}
.teacher-topbar {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.teacher-topbar h2 { margin: 0 0 4px; color: var(--forest-dark); }
.teacher-sub { margin: 0; color: var(--muted); font-size: 14px; }
.teacher-notice {
  background: #E6F6EC;
  border: 2px solid #56AB7B;
  color: #1E5C3C;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}
.teacher-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.t-tab {
  border: 2px solid var(--border);
  background: var(--surface);
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}
.t-tab.active {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.kpi-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
}
.kpi-num { font-size: 32px; font-weight: 900; color: var(--forest); }
.kpi-label { font-size: 14px; color: var(--muted); font-weight: 700; }

.teacher-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
}
.teacher-card h3 { margin: 0 0 14px; color: var(--forest-dark); }

.mistake-rank-list { display: flex; flex-direction: column; gap: 8px; }
.mistake-rank-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #FFF9F2;
  border-radius: 12px;
}
.rank-num { font-weight: 900; color: var(--train-red); min-width: 28px; }
.rank-tag {
  background: #F4E6D8;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.rank-label { font-weight: 700; flex: 1; }
.rank-count { font-weight: 800; color: #C0392B; font-size: 14px; }

.table-scroll { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th, .data-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  white-space: nowrap;
}
.data-table th { background: #FAF3EB; font-weight: 800; }
.mini-star { color: var(--muted); font-weight: 700; }
.mini-star.mid { color: #B87600; }
.mini-star.high { color: var(--forest); }
.td-actions { display: flex; gap: 6px; justify-content: center; }

.roster-grid, .settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 90px 1fr 110px auto;
  gap: 8px;
}
.divider { border: none; border-top: 1px dashed var(--border); margin: 18px 0; }
.form-hint { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.roster-list { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; }
.roster-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #FFF9F2;
  border-radius: 12px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check-row input { width: 22px; height: 22px; }
.check-row label { margin: 0; cursor: pointer; }
.backup-actions { display: flex; flex-direction: column; gap: 10px; }
.file-label { cursor: pointer; }
.muted { color: var(--muted); }
.empty-hint { color: var(--muted); font-size: 14px; }

/* ===== 彈窗與提示 ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(35, 25, 20, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal-box {
  background: var(--surface);
  border-radius: 24px;
  padding: 26px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}
.modal-wide { max-width: 560px; text-align: left; }
.modal-emoji { font-size: 56px; margin-bottom: 6px; }
.animal-speech {
  background: #FFF7E6;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
  color: #8C5300;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.detail-mistake-list { line-height: 1.8; max-height: 260px; overflow-y: auto; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: #2C2A29;
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0;
  z-index: 120;
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.card.center-box {
  background: var(--surface);
  border-radius: 24px;
  padding: 40px 24px;
  text-align: center;
  max-width: 500px;
  margin: 24px auto;
  box-shadow: var(--shadow);
}
.big-emoji { font-size: 64px; margin-bottom: 8px; }

/* ===== iPad / 手機響應式調整 ===== */
@media (max-width: 860px) {
  .login-form-grid, .write-layout, .farm-layout {
    grid-template-columns: 1fr;
  }
  .options-grid { grid-template-columns: 1fr; }
  .farm-grid { grid-template-columns: repeat(4, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
}


/* ===== 升級版真實農場（農舍、風車、農夫、草地牧場、翻耕農地與水壺灌溉） ===== */
.farm-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tool-btn {
  border: 2px solid var(--border);
  background: #FFF9F2;
  color: var(--ink);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.tool-btn:active { transform: scale(0.96); }
.tool-btn.active {
  background: var(--forest);
  border-color: var(--forest-dark);
  color: #fff;
}
.tool-btn.tool-water.active {
  background: linear-gradient(135deg, #29B6F6, #0288D1);
  border-color: #01579B;
  color: #fff;
  box-shadow: 0 4px 12px rgba(2, 136, 209, 0.35);
}
.tool-badge {
  background: #FFCA28;
  color: #5D3A00;
  font-size: 12px;
  padding: 1px 7px;
  border-radius: 999px;
}

.scenic-farm-world {
  border-radius: 24px;
  overflow: hidden;
  border: 5px solid #A47148;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  background: #8ED07B;
}

.scenic-header-wrap {
  position: relative;
  line-height: 0;
  background: #8FD3F4;
}

.farm-scenery-svg {
  width: 100%;
  height: auto;
  display: block;
}

.windmill-blades {
  transform-box: fill-box;
  transform-origin: center;
  animation: spinWindmill 8s linear infinite;
}
@keyframes spinWindmill {
  from { transform: translate(19px, 34px) rotate(0deg); }
  to { transform: translate(19px, 34px) rotate(360deg); }
}

.farmer-sprite {
  animation: farmerIdle 2.6s ease-in-out infinite;
}
@keyframes farmerIdle {
  0%, 100% { transform: translate(338px, 76px); }
  50% { transform: translate(338px, 73px); }
}
.farmer-sprite.is-watering .watering-can {
  transform-origin: 48px 56px;
  animation: tiltCan 0.45s ease-in-out 2 alternate;
}
@keyframes tiltCan {
  from { transform: rotate(0deg); }
  to { transform: rotate(22deg); }
}

.farmer-bubble {
  position: absolute;
  left: 43%;
  top: 14px;
  max-width: 53%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #E5B94C;
  border-radius: 16px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  color: #4A3516;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.placing-banner {
  background: #FFF3D1;
  color: #7D4800;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid #F0D284;
}
.watering-banner {
  background: #E1F5FE;
  color: #01579B;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid #81D4FA;
}

.zone-section {
  padding: 12px 14px 14px;
}
.zone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 900;
  font-size: 14px;
  color: #1F572B;
  margin-bottom: 10px;
}
.soil-header {
  color: #FFF3E0;
}

/* 草地牧場區 */
.meadow-zone {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.22) 0 4px, transparent 5px),
    radial-gradient(circle at 78% 68%, rgba(255,245,157,0.35) 0 4px, transparent 5px),
    linear-gradient(180deg, #9EE084 0%, #82CC6A 100%);
}
.meadow-tile {
  background: rgba(255, 255, 255, 0.25);
  border: 2px dashed rgba(31, 87, 43, 0.28);
}
.meadow-tile.filled {
  background: rgba(255, 255, 255, 0.62);
  border: 2px solid rgba(255, 255, 255, 0.9);
}
.grass-tuft {
  font-size: 14px;
  opacity: 0.45;
}

/* 灌溉水渠 */
.irrigation-canal {
  background: linear-gradient(90deg, #4FC3F7, #29B6F6, #4FC3F7);
  border-top: 3px solid #A47148;
  border-bottom: 3px solid #6D4C41;
  text-align: center;
  padding: 5px;
  font-size: 12px;
  font-weight: 900;
  color: #E1F5FE;
  letter-spacing: 2px;
}

/* 翻耕農地田畦區 */
.soil-zone {
  background: linear-gradient(180deg, #8D6242 0%, #754E32 100%);
}

.soil-tile {
  aspect-ratio: 1 / 1.08;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  border: 2px solid #5D3C24;
  background:
    repeating-linear-gradient(
      0deg,
      #C49A6C 0px,
      #C49A6C 8px,
      #B08456 8px,
      #B08456 14px
    );
  transition: transform 0.14s ease, box-shadow 0.2s ease, background 0.35s ease;
}

.soil-tile.ready-place-soil {
  border: 2.5px dashed #FFE082;
  box-shadow: 0 0 10px rgba(255, 224, 130, 0.75);
}

/* 乾燥土 vs. 灌溉濕潤沃土 vs. 成熟金光土 */
.soil-tile.dry-soil {
  background:
    repeating-linear-gradient(
      0deg,
      #C8A276 0px,
      #C8A276 8px,
      #B58C5E 8px,
      #B58C5E 14px
    );
}
.soil-tile.moist-soil {
  background:
    repeating-linear-gradient(
      0deg,
      #6E4930 0px,
      #6E4930 8px,
      #593822 8px,
      #593822 14px
    );
  border-color: #3E2514;
}
.soil-tile.mature-soil {
  background:
    repeating-linear-gradient(
      0deg,
      #6B472D 0px,
      #6B472D 8px,
      #56361F 8px,
      #56361F 14px
    );
  border: 2.5px solid #FFD54F;
  box-shadow: 0 0 14px rgba(255, 213, 79, 0.75);
}

.soil-tile.water-target {
  border: 2.5px solid #4FC3F7;
  box-shadow: 0 0 12px rgba(79, 195, 247, 0.85);
  animation: pulseWaterTarget 1.2s ease-in-out infinite;
}
@keyframes pulseWaterTarget {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.soil-plus {
  color: #FFF8E1;
  background: rgba(62, 39, 35, 0.45);
  padding: 2px 7px;
  border-radius: 8px;
}

.crop-svg {
  width: 48px;
  height: 40px;
}
.grow-bounce {
  animation: plantSway 2.4s ease-in-out infinite;
}
@keyframes plantSway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

.mature-plant-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}
.mature-leaves {
  font-size: 20px;
  opacity: 0.9;
  position: absolute;
  bottom: 0;
}
.mature-fruit {
  font-size: 30px;
  position: relative;
  z-index: 2;
  animation: bob 1.6s ease-in-out infinite;
}

.crop-label {
  font-size: 10px;
  font-weight: 800;
  color: #FFF8E1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
  line-height: 1.1;
}

.crop-water-bar {
  width: 82%;
  height: 5px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  overflow: hidden;
  margin: 2px 0;
}
.crop-water-fill {
  height: 100%;
  background: #4FC3F7;
  transition: width 0.3s ease;
}
.crop-water-fill.full {
  background: #FFD54F;
}

.soil-status-tag {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
}
.soil-status-tag.thirsty { background: #FFF3E0; color: #BF360C; }
.soil-status-tag.growing { background: #E1F5FE; color: #0277BD; }
.soil-status-tag.ready { background: #FFD54F; color: #4E2F00; }

.splash-fx {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  z-index: 10;
  pointer-events: none;
  animation: splashDrop 0.9s ease-out forwards;
}
@keyframes splashDrop {
  0% { opacity: 1; transform: translate(-50%, -12px) scale(0.8); }
  50% { opacity: 1; transform: translate(-50%, 6px) scale(1.25); }
  100% { opacity: 0; transform: translate(-50%, 16px) scale(0.95); }
}

.bag-zone-tag {
  font-size: 11px;
  background: #EFE4D8;
  color: #6E4930;
  padding: 2px 6px;
  border-radius: 6px;
}

@media (max-width: 860px) {
  .farmer-bubble {
    position: static;
    max-width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}


/* ===== 無框線自由擺放農場畫布 & 拖曳樣式 ===== */
.tool-btn.tool-move.active {
  background: linear-gradient(135deg, #FF9800, #E65100);
  border-color: #BF360C;
  color: #fff;
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.35);
}

.free-farm-shell {
  border-radius: 24px;
  overflow: hidden;
  border: 5px solid #A47148;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  background: #87D16B;
}

.farmer-top-bar {
  background: #FFF9E6;
  border-bottom: 2px solid #ECD7A2;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 800;
  color: #5C4115;
}

.moving-banner {
  background: #FFF3E0;
  color: #BF360C;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid #FFCC80;
}

.free-farm-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 840 / 540;
  min-height: 360px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.free-farm-stage.stage-placing {
  cursor: crosshair;
}
.free-farm-stage.stage-moving {
  touch-action: none;
}

.free-landscape-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* 可自由走到植物旁邊的小農夫 */
.free-farmer-actor {
  position: absolute;
  width: 64px;
  height: 68px;
  transform: translate(-50%, -82%);
  transition: left 0.55s cubic-bezier(0.25, 0.8, 0.25, 1), top 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}
.farmer-figure-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,0.18));
}
.free-farmer-actor.is-watering .watering-can {
  transform-origin: 48px 56px;
  animation: tiltCan 0.45s ease-in-out 2 alternate;
}

/* 自由擺放物件節點（零外框！） */
.free-item-node {
  position: absolute;
  transform: translate(-50%, -78%);
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease;
  touch-action: none;
}
.free-item-node:hover:not(.readonly-node) {
  transform: translate(-50%, -82%) scale(1.07);
}
.free-item-node.readonly-node {
  cursor: default;
}

.free-item-node.node-water-target {
  filter: drop-shadow(0 0 10px rgba(79, 195, 247, 0.95));
  animation: nodeWaterPulse 1.2s ease-in-out infinite;
}
@keyframes nodeWaterPulse {
  0%, 100% { transform: translate(-50%, -78%) scale(1); }
  50% { transform: translate(-50%, -82%) scale(1.08); }
}

.free-item-node.node-draggable {
  cursor: grab;
  animation: iosWiggle 0.45s ease-in-out infinite alternate;
}
.free-item-node.node-draggable.dragging {
  cursor: grabbing;
  animation: none;
  transform: translate(-50%, -86%) scale(1.18);
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.28));
}
@keyframes iosWiggle {
  from { transform: translate(-50%, -78%) rotate(-2.2deg); }
  to { transform: translate(-50%, -78%) rotate(2.2deg); }
}

/* 動物與建築（無方框，只有自然地面投影與小標籤） */
.free-prop-unit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.prop-shadow {
  position: absolute;
  bottom: 14px;
  width: 38px;
  height: 11px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
}
.prop-emoji {
  font-size: 40px;
  line-height: 1;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,0.16));
}
.prop-name-pill {
  margin-top: 2px;
  background: rgba(255, 255, 255, 0.86);
  color: #264830;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* 自由種植的農作物（自然圓潤土丘，無方框！） */
.free-crop-unit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.soil-mound {
  position: absolute;
  bottom: 16px;
  width: 58px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(62, 39, 35, 0.45);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.soil-mound.mound-dry {
  background: radial-gradient(ellipse at center, #C8A175, #9D7146);
}
.soil-mound.mound-moist {
  background: radial-gradient(ellipse at center, #6B4429, #462916);
}
.soil-mound.mound-mature {
  background: radial-gradient(ellipse at center, #6B4429, #462916);
  border-color: #FFD54F;
  box-shadow: 0 0 12px rgba(255, 213, 79, 0.9);
}

.free-crop-svg {
  width: 52px;
  height: 40px;
  position: relative;
  z-index: 2;
}
.free-mature-wrap {
  position: relative;
  z-index: 2;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.free-mature-leaves {
  position: absolute;
  bottom: 0;
  font-size: 22px;
}
.free-mature-fruit {
  font-size: 32px;
  position: relative;
  z-index: 3;
  animation: bob 1.6s ease-in-out infinite;
}

.free-tag {
  position: relative;
  z-index: 4;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 1px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.free-tag.tag-dry { background: #FFF3E0; color: #BF360C; }
.free-tag.tag-wet { background: #E1F5FE; color: #01579B; }
.free-tag.tag-ready { background: #FFD54F; color: #4E2F00; }

.free-water-bar {
  width: 48px;
  height: 4px;
  background: rgba(0,0,0,0.35);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 2px;
}
.free-water-fill {
  height: 100%;
  background: #4FC3F7;
  transition: width 0.3s ease;
}
.free-water-fill.full { background: #FFD54F; }


/* ===== 終極大統整 6 關與綜合考卷樣式 ===== */
.review-stages-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.exam-stage-card {
  border-color: #E89A63;
  background: linear-gradient(135deg, #FFFDF8, #FFF2E6);
}
.exam-step {
  background: #FDE5D8;
  color: #C0401F;
}
.exam-best-pill {
  background: #FFF3D1;
  color: #9A5B00;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}


/* ===== 雲端狀態燈號與老師雲端設定頁 ===== */
.login-footer {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cloud-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  background: #FFF3D1;
  color: #8A5A00;
}
.cloud-badge.compact {
  padding: 6px 11px;
  font-size: 12px;
}
.cloud-badge.kind-online {
  background: #E4F5EC;
  color: #1D6342;
}
.cloud-badge.kind-connecting {
  background: #E1F5FE;
  color: #0277BD;
}
.cloud-badge.kind-error {
  background: #FFEBEE;
  color: #B71C1C;
}

.cloud-status-panel {
  border-radius: 16px;
  padding: 16px 18px;
  background: #FFF8E1;
  border: 2px solid #F0D284;
}
.cloud-status-panel.kind-online {
  background: #E7F7EC;
  border-color: #66BB8A;
}
.cloud-status-panel.kind-error {
  background: #FFEBEE;
  border-color: #EF9A9A;
}
.cs-title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 6px;
}
.cs-desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}

.projector-card {
  background: linear-gradient(135deg, #FFFDF8, #EDF8F1);
  border: 3px dashed var(--forest);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}
.proj-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--forest-dark);
  margin-bottom: 8px;
}
.proj-code {
  font-size: 28px;
  color: var(--train-red);
  margin-bottom: 8px;
}
.proj-url {
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--sky-blue);
  word-break: break-all;
  margin-bottom: 10px;
}
.proj-tip {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}


/* ===== 動物飼料餵養與產物收穫樣式 ===== */
.feed-pill {
  background: #F4ECD6;
  color: #7D5300;
}
.reward-chip.feed {
  background: #F4ECD6;
  color: #7D5300;
}

.tool-btn.tool-feed.active {
  background: linear-gradient(135deg, #F5B041, #D68910);
  border-color: #9A5B00;
  color: #fff;
  box-shadow: 0 4px 12px rgba(214, 137, 16, 0.35);
}

.feeding-banner {
  background: #FFF7DF;
  color: #825100;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid #F5D07A;
}

.free-item-node.node-feed-target {
  filter: drop-shadow(0 0 10px rgba(245, 176, 65, 0.95));
  animation: nodeWaterPulse 1.2s ease-in-out infinite;
}

.free-tag.tag-feed {
  background: #FFF7E0;
  color: #825100;
}
.free-water-fill.feed-fill {
  background: #F5B041;
}

.animal-ready-glow .prop-emoji {
  filter: drop-shadow(0 0 10px rgba(255, 213, 79, 0.95));
}
.produce-float-badge {
  position: absolute;
  top: -14px;
  right: -8px;
  font-size: 20px;
  background: #FFFDF0;
  border: 2px solid #FFD54F;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  animation: bob 1.3s ease-in-out infinite;
}


/* ===== 方案 C：動物等級長大（Lv.1 -> Lv.2 -> 👑 Lv.3） ===== */
.animal-lv-2 .prop-emoji {
  font-size: 46px;
}
.animal-lv-3 .prop-emoji {
  font-size: 52px;
  filter: drop-shadow(0 0 8px rgba(255, 213, 79, 0.75));
}
.animal-crown-top {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}
.free-tag.tag-lv3 {
  background: linear-gradient(135deg, #FFF3C4, #FFE082);
  color: #6B3E00;
  border: 1px solid #F5B731;
}
.animal-level-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
  background: #F4EDE6;
  color: #5C4A38;
}
.animal-level-pill.lv-2 {
  background: #E4F4EC;
  color: #1E5B40;
}
.animal-level-pill.lv-3 {
  background: #FFF3C4;
  color: #8C4E00;
  border: 2px solid #F5B731;
}
.shop-item-owned {
  background: #F6FBF8;
  border-color: #CFE6D8;
}


/* ===== iPad 大型農場極速省電防閃退模式（超過 25 件物品自動啟用） ===== */
.stage-perf-mode .animal-bob,
.stage-perf-mode .animal-bob .tile-emoji,
.stage-perf-mode .grow-bounce,
.stage-perf-mode .free-mature-fruit,
.stage-perf-mode .produce-float-badge,
.stage-perf-mode .windmill-blades,
.stage-perf-mode .node-water-target,
.stage-perf-mode .node-feed-target,
.stage-perf-mode .node-draggable {
  animation: none !important;
}
.stage-perf-mode .prop-emoji,
.stage-perf-mode .animal-crown-top,
.stage-perf-mode .farmer-figure-svg,
.stage-perf-mode .free-item-node {
  filter: none !important;
}
.stage-perf-mode .node-water-target .soil-mound {
  border-color: #4FC3F7 !important;
  box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.7);
}
.stage-perf-mode .node-feed-target .prop-shadow {
  background: rgba(245, 176, 65, 0.55);
}


/* ===== 分區擴地切換列樣式 ===== */
.zone-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.zone-tab {
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  border-radius: 14px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.zone-tab:active { transform: scale(0.96); }
.zone-tab.active {
  background: linear-gradient(135deg, #359168, var(--forest));
  border-color: var(--forest-dark);
  color: #fff;
  box-shadow: 0 4px 10px rgba(46, 125, 91, 0.25);
}
.zone-tab.locked-zone {
  background: #FFF9EE;
  border: 2px dashed #E2B86A;
  color: #7D4F00;
}
.zone-count {
  font-size: 11px;
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 7px;
  border-radius: 999px;
}
.zone-tab.active .zone-count {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.zone-price-tag {
  font-size: 11px;
  background: #FFE5A3;
  color: #7A4600;
  padding: 2px 8px;
  border-radius: 999px;
}
.zone-ready-dot {
  font-size: 11px;
  background: #FFD54F;
  color: #5C3600;
  padding: 2px 7px;
  border-radius: 999px;
}


/* ===== 單一統一全景大莊園（全寬整合畫面＋雲霧擴地＋放大捲動） ===== */
.unified-farm-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.unified-shell {
  margin-bottom: 0;
}

.farmer-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.jump-pills {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.jump-btn {
  border: 1.5px solid #D9C49A;
  background: #fff;
  color: #5C4115;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.jump-btn:hover { background: #FFF2CC; }

.tool-btn.tool-zoom.active {
  background: linear-gradient(135deg, #7E57C2, #5E35B1);
  border-color: #4527A0;
  color: #fff;
}

.panorama-viewport {
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  background: #89D36D;
}
.panorama-viewport.is-zoomed {
  overflow-x: auto;
}
.panorama-viewport.lock-scroll {
  overflow-x: hidden;
  touch-action: none;
}

.unified-stage {
  width: 100%;
  aspect-ratio: 1800 / 540;
  min-height: 330px;
}
.panorama-viewport.is-zoomed .unified-stage {
  width: 185%;
  min-width: 1380px;
  min-height: 440px;
}

/* 全景一覽模式：物品精巧比例，3 區一覽不擁擠 */
.unified-stage.compact-nodes .prop-emoji { font-size: 28px; }
.unified-stage.compact-nodes .animal-lv-2 .prop-emoji { font-size: 32px; }
.unified-stage.compact-nodes .animal-lv-3 .prop-emoji { font-size: 36px; }
.unified-stage.compact-nodes .animal-crown-top { font-size: 14px; top: -13px; }
.unified-stage.compact-nodes .produce-float-badge { width: 22px; height: 22px; font-size: 13px; top: -10px; right: -6px; }
.unified-stage.compact-nodes .prop-name-pill,
.unified-stage.compact-nodes .free-tag { font-size: 9px; padding: 1px 5px; }
.unified-stage.compact-nodes .free-water-bar { width: 34px; }
.unified-stage.compact-nodes .soil-mound { width: 42px; height: 13px; bottom: 13px; }
.unified-stage.compact-nodes .free-crop-svg { width: 36px; height: 30px; }
.unified-stage.compact-nodes .free-mature-wrap { height: 30px; }
.unified-stage.compact-nodes .free-mature-fruit { font-size: 24px; }
.unified-stage.compact-nodes .free-farmer-actor { width: 46px; height: 50px; }

/* 未開墾相鄰土地的夢幻雲霧覆蓋層 */
.zone-mist-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 95;
  border: none;
  border-left: 3px dashed rgba(255, 255, 255, 0.85);
  background: linear-gradient(180deg, rgba(255, 250, 252, 0.72) 0%, rgba(235, 245, 255, 0.78) 100%);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 12px;
  transition: background 0.2s ease;
}
.zone-mist-overlay:hover:not(.readonly-mist) {
  background: linear-gradient(180deg, rgba(255, 248, 232, 0.68) 0%, rgba(232, 248, 240, 0.75) 100%);
}
.zone-mist-overlay.readonly-mist {
  cursor: default;
}

.mist-signboard {
  background: rgba(255, 255, 255, 0.94);
  border: 3px solid #D8A45C;
  border-radius: 20px;
  padding: 14px 18px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(68, 46, 28, 0.16);
  max-width: 92%;
}
.mist-icon { font-size: 28px; margin-bottom: 4px; }
.mist-title { font-size: 16px; font-weight: 900; color: #4A3214; margin-bottom: 4px; }
.mist-price {
  display: inline-block;
  background: #FFE5A3;
  color: #7A4600;
  font-size: 13px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.mist-hint { font-size: 11px; color: #7A6B5D; font-weight: 700; }

/* 下方雙欄：背包 + 點數商店 */
.farm-bottom-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 16px;
  align-items: start;
}
.shop-list-compact {
  max-height: 360px;
}

@media (max-width: 860px) {
  .farm-bottom-grid {
    grid-template-columns: 1fr;
  }
  .unified-stage {
    min-height: 240px;
  }
  .mist-signboard {
    padding: 8px 10px;
  }
  .mist-title { font-size: 13px; }
}


/* ===== 樂園級平滑縮放鏡頭 + 生動動態場景（開動小火車、櫻花雨、游水小鴨、夕陽氛圍） ===== */
.cam-viewport {
  position: relative;
  overflow: hidden !important;
  touch-action: none;
  cursor: grab;
}
.cam-viewport:active { cursor: grabbing; }

.cam-stage {
  transform-origin: 0 0;
  will-change: transform;
}

.camera-hud {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #D9C49A;
  border-radius: 999px;
  padding: 4px 6px;
  box-shadow: 0 4px 12px rgba(44, 42, 41, 0.16);
}
.cam-btn {
  border: none;
  background: #FFF6E5;
  color: #4A3214;
  border-radius: 999px;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.cam-btn:hover { background: #FFE4A8; }
.cam-readout {
  font-size: 12px;
  font-weight: 900;
  color: #2E7D5B;
  min-width: 40px;
  text-align: center;
}

/* 夕陽氛圍濾鏡 */
.tool-btn.tool-sunset.active {
  background: linear-gradient(135deg, #FF7043, #D84315);
  border-color: #BF360C;
  color: #fff;
}
.sunset-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 98;
  background: linear-gradient(180deg, rgba(255, 118, 66, 0.28) 0%, rgba(255, 183, 77, 0.16) 55%, rgba(121, 56, 86, 0.18) 100%);
  mix-blend-mode: multiply;
}

/* 🚂 開動的阿里山森林小火車 */
.alishan-moving-train {
  animation: trainChug 28s linear infinite;
}
@keyframes trainChug {
  0% { transform: translateX(-180px); }
  100% { transform: translateX(1920px); }
}

.train-smoke {
  animation: smokeRise 1.6s ease-out infinite;
}
.train-smoke.s2 { animation-delay: 0.4s; }
.train-smoke.s3 { animation-delay: 0.8s; }
@keyframes smokeRise {
  0% { opacity: 0.85; transform: translate(0, 0) scale(0.8); }
  100% { opacity: 0; transform: translate(-18px, -16px) scale(1.4); }
}

/* ☀️ 太陽光芒、☁️ 飄浮白雲、農舍炊煙 */
.sun-rays {
  transform-box: fill-box;
  transform-origin: center;
  animation: spinSun 24s linear infinite;
}
@keyframes spinSun {
  from { transform: translate(1685px, 50px) rotate(0deg); }
  to { transform: translate(1685px, 50px) rotate(360deg); }
}

.cloud-float-slow {
  animation: cloudGlide 22s ease-in-out infinite alternate;
}
@keyframes cloudGlide {
  from { transform: translateX(-22px); }
  to { transform: translateX(28px); }
}

.chimney-puff {
  animation: puffFloat 3.4s ease-out infinite;
}
.chimney-puff.p2 { animation-delay: 1.1s; }
.chimney-puff.p3 { animation-delay: 2.2s; }
@keyframes puffFloat {
  0% { opacity: 0.8; transform: translate(0, 0) scale(0.75); }
  100% { opacity: 0; transform: translate(14px, -22px) scale(1.5); }
}

/* 🌊 溪流波光 & 🦆 池塘小鴨 */
.stream-flow {
  animation: streamDash 2.6s linear infinite;
}
@keyframes streamDash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -72; }
}

.pond-duck {
  animation: duckSwim 7s ease-in-out infinite alternate;
}
@keyframes duckSwim {
  0% { transform: translate(0, 0); }
  50% { transform: translate(34px, -4px); }
  100% { transform: translate(-18px, 3px); }
}

/* 🦋 飛舞彩蝶 & 🌸 櫻花花瓣飄落 */
.living-butterfly.b1 {
  animation: butterFly1 9s ease-in-out infinite alternate;
}
.living-butterfly.b2 {
  animation: butterFly2 11s ease-in-out infinite alternate;
}
@keyframes butterFly1 {
  0% { transform: translate(0, 0) rotate(-6deg); }
  50% { transform: translate(55px, -22px) rotate(8deg); }
  100% { transform: translate(105px, 14px) rotate(-4deg); }
}
@keyframes butterFly2 {
  0% { transform: translate(0, 0) rotate(6deg); }
  50% { transform: translate(-65px, -18px) rotate(-8deg); }
  100% { transform: translate(-120px, 18px) rotate(6deg); }
}

.petal {
  animation: petalFall 8s ease-in-out infinite;
}
.petal.pt2 { animation-delay: 1.5s; animation-duration: 9s; }
.petal.pt3 { animation-delay: 3.0s; animation-duration: 7.5s; }
.petal.pt4 { animation-delay: 4.5s; animation-duration: 8.5s; }
.petal.pt5 { animation-delay: 6.0s; animation-duration: 9.5s; }
@keyframes petalFall {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
  15% { opacity: 0.9; }
  85% { opacity: 0.85; }
  100% { opacity: 0; transform: translate(-48px, 180px) rotate(140deg); }
}


/* ===== 超大深廣版腹地比例（2100 x 1050，放大 3.5 倍可用空間 + 超大視野模式） ===== */
.unified-stage {
  width: 100%;
  aspect-ratio: 2100 / 1050 !important;
  min-height: 490px !important;
}
.big-viewport .unified-stage {
  min-height: 76vh !important;
}
.sun-rays-wide {
  transform-box: fill-box;
  transform-origin: center;
  animation: spinSunWide 24s linear infinite;
}
@keyframes spinSunWide {
  from { transform: translate(1970px, 48px) rotate(0deg); }
  to { transform: translate(1970px, 48px) rotate(360deg); }
}
@keyframes trainChug {
  0% { transform: translateX(-180px); }
  100% { transform: translateX(2240px); }
}
@media (max-width: 860px) {
  .unified-stage {
    min-height: 360px !important;
  }
}


/* ===== 三階段動物外觀進化：明顯體型落差、飾品徽章、Lv.3 金光星陣與進化圖鑑 ===== */
.animal-lv-1 .prop-emoji { font-size: 32px; }
.animal-lv-2 .prop-emoji { font-size: 46px; }
.animal-lv-3 .prop-emoji { font-size: 60px; }

.unified-stage.compact-nodes .animal-lv-1 .prop-emoji { font-size: 24px; }
.unified-stage.compact-nodes .animal-lv-2 .prop-emoji { font-size: 36px; }
.unified-stage.compact-nodes .animal-lv-3 .prop-emoji { font-size: 48px; }

.animal-lv-3 .animal-crown-top {
  top: -22px;
  font-size: 22px;
}
.unified-stage.compact-nodes .animal-lv-3 .animal-crown-top {
  top: -17px;
  font-size: 18px;
}

.animal-evo-badge {
  position: absolute;
  top: -4px;
  left: -8px;
  font-size: 16px;
  z-index: 6;
  pointer-events: none;
}
.unified-stage.compact-nodes .animal-evo-badge {
  font-size: 13px;
  left: -5px;
}

.animal-aura-ring {
  position: absolute;
  bottom: 12px;
  width: 58px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 224, 102, 0.78), rgba(255, 193, 7, 0.1) 70%);
  border: 2px solid rgba(255, 213, 79, 0.9);
  z-index: 1;
  pointer-events: none;
}
.unified-stage.compact-nodes .animal-aura-ring {
  width: 46px;
  height: 14px;
}

.free-tag.tag-lv2 {
  background: #E4F4EC;
  color: #1E5B40;
  border: 1px solid #8CC9A8;
}

/* 彈窗內的進化圖鑑 */
.evo-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #FFF9F2;
  border: 2px dashed #E8D5C1;
  border-radius: 16px;
  padding: 10px 8px;
  margin-bottom: 12px;
}
.evo-step {
  flex: 1;
  padding: 6px 4px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid transparent;
  opacity: 0.55;
}
.evo-step.done { opacity: 0.85; }
.evo-step.current {
  opacity: 1;
  border-color: var(--forest);
  background: #EEF9F3;
}
.evo-ico { font-size: 22px; line-height: 1.2; }
.evo-lbl { font-size: 10px; font-weight: 800; color: var(--ink); margin-top: 2px; }
.evo-arrow { font-size: 14px; color: #C2A88D; font-weight: 900; }
