.growth-section { padding: 12px 14px; border-top: 1px solid #b6c3b0; }
.growth-section h3 { font-size: 15px; margin: 0 0 10px; }
#growthGoal { padding: 12px 0 0; margin-top: 18px; }
.growth-goal-tabs { display: flex; border-bottom: 1px solid #bcc9b4; margin-top: 12px; }
.growth-goal-tabs button { flex: 1; min-height: 42px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: #617159; font: inherit; font-size: 14px; cursor: pointer; }
.growth-goal-tabs button[aria-selected="true"] { color: #294c35; border-bottom-color: #345f42; font-weight: 700; }
#growthGoal { border: 0; padding-top: 0; margin-top: 6px; }
#growthGoal > .growth-action { margin: 4px 6px 0 0; }
.growth-note { display: block; font-size: 12px; font-weight: 400; line-height: 1.6; color: #57644f; overflow-wrap: anywhere; }
.growth-warning { display: block; font-size: 12px; color: #954b2e; line-height: 1.6; }
.growth-receipt { color: #285d43; font-size: 14px; line-height: 1.6; font-weight: 700; }
.growth-action { min-height: 40px; padding: 7px 12px; border: 1px solid #78906e; border-radius: 4px; color: #244b32; background: #edf2e8; cursor: pointer; font: inherit; font-size: 13px; overflow-wrap: anywhere; }
.growth-action:hover:not(:disabled) { background: #dce9d7; }
.growth-action:disabled { opacity: 0.5; cursor: default; }
.growth-toggle { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; font-size: 12px; color: #51634c; white-space: nowrap; cursor: pointer; }
.growth-toggle input { width: 17px; height: 17px; margin: 0; accent-color: #346347; }
.coin-entry-actions { flex-wrap: wrap; justify-content: flex-end; }
.coin-entry .coin-info { min-width: 0; }
.coin-entry .growth-note { font-size: 11px; max-width: 250px; }
.exchange-route > .growth-toggle { grid-column: 1 / -1; justify-self: end; }
.growth-milestone, .npc-journey-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #d2d9cc; font-size: 13px; }
.growth-milestone > span, .npc-journey-row > span { min-width: 0; overflow-wrap: anywhere; }
.growth-milestone button, .npc-journey-row button { flex-shrink: 0; }
.npc-journeys { padding-top: 6px; }
.npc-scene { font-family: "Songti SC", serif; font-size: 17px; line-height: 1.8; margin: 18px 0; }
#npcJourneyContent > .growth-action { display: block; width: 100%; text-align: left; margin: 10px 0; }
#npcJourneyContent select { width: 100%; min-height: 40px; border: 1px solid #aab7a0; background: #fafcf6; color: #31543c; font: inherit; padding: 4px 8px; }
#resourcePreviewContent p { font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
#resourceConfirmBtn { width: 100%; color: #fff; background: #365f43; }
.album-entry { position: relative; }
.growth-coin-badge { position: absolute; top: 2px; right: 3px; padding: 0 3px; background: #345f48; color: #fff; font-size: 9px; line-height: 15px; border-radius: 2px; }
.secondary-accept { background: transparent; color: #e6d5a8; border-color: #a9af86; margin-left: 6px; }
.choice-hint { overflow-wrap: anywhere; }
.choice-terms { display: block; margin-top: 3px; font-size: 11px; line-height: 1.45; color: #526054; overflow-wrap: anywhere; }
.choice-terms b { color: #304d41; font-weight: 700; }
.home-stats .stat-row { animation: none; }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation-delay: 0s !important; transition-delay: 0s !important; }
.choice-area { min-height: 0; overflow-y: auto; }
.initiation-task { padding: 12px 0; border-bottom: 1px solid #bcc9b4; }
.initiation-task h3 { margin: 0 0 6px; font-size: 14px; }
.initiation-task p { margin: 6px 0; }
.initiation-task select { display: block; width: 100%; min-width: 0; min-height: 44px; margin: 6px 0; padding: 6px; border: 1px solid #a5b29a; border-radius: 4px; background: #fff; color: #304d41; font: inherit; font-size: 13px; }
.initiation-task .growth-action { margin: 4px 6px 0 0; }
.commission-context { margin: 0; font-size: 12px; line-height: 1.6; color: #526054; overflow-wrap: anywhere; }
.package-shortcuts, .pawn-tools { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-bottom: 1px solid #bcc9b4; flex-shrink: 0; }
.package-shortcuts button { min-height: 40px; padding: 6px 12px; color: #315b44; background: transparent; border: 1px solid #94a88e; border-radius: 4px; font: inherit; font-size: 12px; cursor: pointer; }
.pawn-tools select { flex: 1; width: 0; min-width: 0; min-height: 44px; background: #fff; border: 1px solid #a5b29a; border-radius: 4px; color: #304d41; font: inherit; font-size: 12px; }
.pawn-tools button { flex-shrink: 0; }
.shop-purchase { flex-shrink: 0; padding: 10px 14px; border-bottom: 1px solid #bcc9b4; }
#pawnOverlay .tool-panel { display: flex; flex-direction: column; }
#pawnOverlay .tool-header { flex-shrink: 0; }
#pawnList { min-height: 0; max-height: none; flex: 1 1 auto; overflow-y: auto; }
#pawnList .pawn-action { background: #fffaf0; color: #80552d; border: 1px solid #b59a73; box-shadow: none; }
#pawnList .pawn-action:hover:not(:disabled) { background: #eee2ce; }
.shop-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #526054; font-size: 12px; }
.shop-section-heading h3 { margin: 0; color: #304d41; font-size: 14px; }
.shop-sale-heading { padding: 10px 14px 0; flex-shrink: 0; }
.shop-product { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.shop-product-copy { min-width: 0; }
.shop-product-copy strong { font-size: 15px; color: #304d41; }
.shop-buy { flex-shrink: 0; min-height: 44px; background: #315b44; color: #fff; }
.shop-buy:hover:not(:disabled) { background: #264936; }
#shopNotice { margin-top: 6px; }
#shopNotice:empty { display: none; }
#journeyForkOptions { display: grid; gap: 12px; margin-top: 16px; }
#journeyForkOptions button { text-align: left; min-height: 108px; font-size: 16px; }
#journeyForkOptions small { display: block; margin-top: 8px; font-size: 12px; line-height: 1.7; }
#workshopAgainBtn { display: block; margin: 12px auto 0; min-height: 44px; }
#workshopAgainBtn[hidden] { display: none; }
@media (min-width: 821px) {
  .game-shell { height: 100dvh; min-height: 0; gap: 12px; padding-block: 14px; }
  .layout { min-height: 0; }
  .story-panel { height: 100%; min-height: 0; padding: 16px; }
  .story-card { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: minmax(0, 1fr); gap: 18px; padding: 14px; }
  .choice-area { min-height: 0; overflow-y: auto; border-top: 0; padding-top: 0; }
  .scene-narrative { max-height: 48%; overflow-y: auto; }
  .choices { gap: 8px; }
  .choices button { padding: 10px; }
  .story-card.has-result { grid-template-rows: minmax(0, 1fr); }
  .result-panel:not([hidden]) { max-height: 100%; }
}
@media (max-width: 600px) {
  .choice-hint { display: none; }
  .choices > button { padding-block: 6px; }
  .choice-terms { font-size: 10px; margin-top: 2px; }
  .choice-terms:last-child { color: #4c5d50; }
  .package-shortcuts button { min-height: 44px; }
  .cleaning-reveal { max-height: calc(100dvh - 80px); overflow-y: auto; }
  .home-collection-goal { grid-column: 1 / -1; border-top: 1px solid #c4ceba; padding-top: 3px; }
  .home-collection-goal b { overflow: visible; }
  .home-collection-goal em { display: block; font-size: 10px; color: #4c5d50; }
  .home-collection-goal small { display: none; }
  .scene-narrative { min-height: 0; max-height: 100%; overflow-y: auto; }
}
@media (max-width: 600px) and (max-height: 680px) {
  .story-panel { padding: 8px; }
  .home-overview { margin-bottom: 4px; }
  .progression-summary { grid-template-columns: 1fr; gap: 2px; }
  .progression-summary > span { display: none; }
  .home-collection-goal { border: 0; padding: 0; }
  .story-meta { margin-bottom: 4px; padding-bottom: 4px; }
  .story-card { padding-inline: 6px; padding-bottom: 6px; gap: 4px; }
  .choice-title { font-size: 12px; }
  .choice-terms { line-height: 1.35; }
}
.home-collection-goal[data-ready="true"] small::after { content: " · 可领奖"; color: #8c432f; font-weight: 700; }
.exchange-summary { gap: 6px; padding-inline: 10px; }
#growthExchangeFilter { min-height: 32px; max-width: 110px; border: 1px solid #a5b29a; border-radius: 3px; background: #f4f6ec; color: #3b5840; font: inherit; padding: 3px; }
#growthSkillBtn { min-height: 24px; padding: 1px 6px; border: 0; border-left: 1px solid #b6c3b0; border-radius: 0; background: transparent; font-size: 11px; }
.choice-caption > #approachQuickBtn { margin-left: auto; }
@media (max-width: 600px) and (max-height: 640px) {
  #growthSkillBtn { min-height: 20px; }
}
@media (max-width: 600px) {
  .coin-entry-actions { max-width: 145px; gap: 4px; }
  .growth-section { padding-inline: 10px; }
  .npc-scene { font-size: 16px; }
  .growth-action { min-height: 44px; }
  .growth-coin-badge { font-size: 8px; line-height: 13px; }
  .exchange-route > .growth-toggle { min-height: 32px; }
}
