@charset "UTF-8";
/* The scene continues behind the source-shaped HUD; no rectangular mother
   background, border, or shadow creates a horizontal cut at the join. */
#app .game-shell[data-mother-match="six"][data-page] .topbar:has(> .original-wallet) {
 background-image:var(--header-scene-image) !important;
 background-position:var(--header-scene-position) !important;
 background-size:var(--header-scene-size) !important;
 background-repeat:no-repeat !important;
 background-color:#244533 !important;
 box-shadow:none !important;
 image-rendering:pixelated;
}
#app .game-shell[data-page="camp"] .mother-camp-scene .scene-vignette {background:linear-gradient(transparent 35%,#16382255);}
#modal-root .original-offline-hud {background:url(../assets/ui/ui-offline-mother-original-v1.png) left top / 100% auto no-repeat;box-shadow:none;}
/* One forest plate spans each of these complete pages, including the HUD. */
#app .game-shell[data-mother-match="six"]:is([data-page="growth"],[data-page="adventure"],[data-page="team"],[data-page="settings"]) {
 --page-forest:url(../assets/environments/scene-camp-mother-v1.png);
 background:#244533 var(--page-forest) center top / cover no-repeat;
}
#app .game-shell[data-mother-match="six"][data-page="adventure"] {--page-forest:url(../assets/environments/scene-expedition-mother-v2.png);}
#app .game-shell[data-mother-match="six"][data-page="growth"] {--page-forest:url(../assets/environments/scene-growth-mother-v2.png);}
#app .game-shell[data-mother-match="six"]:is([data-page="team"],[data-page="settings"]) {
 background-size:auto calc(100% + 8cqw);
 background-position:center -8cqw;
}
#app .game-shell[data-mother-match="six"]:is([data-page="growth"],[data-page="adventure"],[data-page="team"],[data-page="settings"]) :is(.topbar,.screen-scroll,.screen-content,.scene-shell) {
 background:none !important;box-shadow:none !important;
}
#app .game-shell[data-mother-match="six"]:is([data-page="growth"],[data-page="adventure"],[data-page="team"],[data-page="settings"]) .topbar:has(> .original-wallet) {background:none !important;}
#app .game-shell[data-mother-match="six"]:is([data-page="adventure"],[data-page="team"],[data-page="settings"]) .mother-growth-source-header {
 height:8.886719cqw;min-height:8.886719cqw;flex:0 0 8.886719cqw;padding:0;border:0;
}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-growth-source-header .original-counter {color:#fff8e9;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-growth-source-header .original-counter b {color:#fff8e9;font-size:3.35cqw;}
.source-accessible { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.mother-source-frame { position: absolute; inset: 0; z-index: -1; pointer-events: none; display: grid; grid-template-columns: var(--source-corner,18px) minmax(0,1fr) var(--source-corner,18px); grid-template-rows: var(--source-corner,18px) minmax(0,1fr) var(--source-corner,18px); }
.mother-source-frame > .mother-source-piece { position: static; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.mother-source-resource { flex-shrink: 0; overflow: hidden; }

#app .original-wallet { position: relative; width: 100%; height: 100%; padding: 0; margin: 0; display: block; }
#app .original-wallet > .mother-source-hud { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
#app .original-wallet .original-counter { position: absolute; display: block; padding: 0; margin: 0; border: 0; background: none; color: #fff8e9; height: 24%; min-height: 0; }
#app .original-wallet .original-counter b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; font-size: 3.35cqw; line-height: 1; white-space: nowrap; font-weight: 800; }
#app .original-wallet b[data-wallet-length="medium"] { font-size: 2.5cqw; }
#app .original-wallet b[data-wallet-length="long"] { font-size: 1.8cqw; }
#app .mother-camp-source-header .source-hud-counter { width: 9.5%; }
#app .mother-camp-source-header .source-hud-acorn { left: 21.3%; top: 26.3%; }
#app .mother-camp-source-header .source-hud-berry { left: 21.3%; top: 58.6%; }
#app .mother-camp-source-header .source-hud-branch { left: 83.8%; top: 26.3%; }
#app .mother-camp-source-header .source-hud-mushroom { left: 83.8%; top: 58.6%; }
#app .mother-growth-source-header .source-hud-counter { top: 21%; height: 53%; }
#app .mother-growth-source-header .source-hud-acorn { left:20.3%;width:8.8%; }
#app .mother-growth-source-header .source-hud-berry { left:42.5%;width:7.6%; }
#app .mother-growth-source-header .source-hud-branch { left:64.5%;width:7.3%; }
#app .mother-growth-source-header .source-hud-mushroom { left:86.3%;width:6.6%; }

/* CAMP — use the source's flat timber silhouette and intact central title. */
#app .game-shell[data-mother-match="six"][data-page="camp"] .topbar.mother-camp-source-header { height: 18.164063cqw; min-height: 18.164063cqw; flex: 0 0 18.164063cqw; padding: 0; background: none; border: 0; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .wallet.mother-source-wallet { position: relative; display: block; height: 100%; width: 100%; padding: 0; margin: 0; container-type: normal; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-source-hud { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-source-wallet .wallet-chip { position: absolute; display: block; padding: 0; margin: 0; height: 24%; min-height: 0; width: 23.7%; border: 0; background: none !important; box-shadow: none; clip-path: none; color: #fff5df; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-source-wallet .wallet-chip::before { content: none; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .source-hud-acorn { left: 7.8%; top: 26.3%; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .source-hud-berry { left: 7.8%; top: 58.6%; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .source-hud-branch { left: 69.7%; top: 26.3%; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .source-hud-mushroom { left: 69.7%; top: 58.6%; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-source-wallet .wallet-chip b { position: absolute; inset: 0 0 0 58%; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; font-size: 3.35cqw; line-height: 1; color: #fff8e9; font-weight: 800; text-shadow: 0 1px #432819; white-space: nowrap; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-source-wallet b[data-wallet-length="medium"] { font-size: 2.55cqw; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-source-wallet b[data-wallet-length="long"] { font-size: 1.95cqw; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-camp-overview { min-height: 0; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-camp-overview:has(.camp-upgrade-compact) > .camp-recipe-papers {
  position: absolute; left: 28%; right: 0; bottom: 0; width: 72%; margin: 0; max-height: none; overflow: visible;
  grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: 2px;
}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers > article { --source-corner: 3.8cqw; isolation: isolate; padding: 2.4cqw !important; background: none; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers :is(.mother-current-upgrade,.mother-next-upgrade) > h2 { font-size: clamp(10px,3.1cqw,15px); line-height: 1.3; margin-bottom: 3px; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers h3 { font-size: clamp(8px,2.25cqw,11px); line-height: 1.4; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .resource-value { font-size: clamp(8px,2.2cqw,11px); line-height: 1.6; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .resource-value b { font-size: clamp(10px,2.65cqw,13px); line-height: 1.4; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .resource-icon { width: 3.6cqw; height: 4.2cqw; flex-basis: 3.6cqw; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-columns { gap: 3px; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-current-upgrade .mother-columns > div { padding: 2px; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers :is(.mother-current-upgrade,.mother-next-upgrade) .stat-row { display: flex; flex-wrap: wrap; gap: 0 2px; min-height: 0; margin: 0; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .stat-row > :is(span,small) { font-size: clamp(8px,2.1cqw,10px); line-height: 1.5; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .stat-row > b { font-size: clamp(10px,2.5cqw,12px); line-height: 1.5; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-payment { font-size: 9px; line-height: 1.4; margin-top: 3px; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-payment > span { font-size: clamp(8px,2.1cqw,10px); }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-next-upgrade > :is(.resource-list,.mother-upgrade-stats) { padding: 2px; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-next-shortfall { font-size: clamp(8px,2.1cqw,10px); line-height: 1.4; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-next-shortfall .material-term { font-size: clamp(8px,2.1cqw,10px); line-height: 1.4; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-payment .resource-list { gap: 0 3px; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-payment .resource-icon { width: 3cqw; height: 3.4cqw; flex-basis: 3cqw; }

#app .game-shell[data-mother-match="six"][data-page] button.mother-source-button { position: relative; display: block; min-width: 0; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none; }
#app .game-shell[data-mother-match="six"][data-page] .mother-source-button-art { display: block; width: 100%; height: 100%; overflow: hidden; }
#app .game-shell[data-mother-match="six"][data-page="camp"] button.mother-source-button { width: 100%; height: auto; min-height: 30px; aspect-ratio: 328 / 85; margin-top: 3px; }

/* WORKSHOP — source scene and a four-column recipe, matching the mother. */
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="workshop"] .mother-growth-scene { height: 35.15625cqw; min-height: 35.15625cqw; --scene-height: 35.15625cqw; margin-inline: -5px; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="workshop"] .mother-growth-scene :is(canvas,.mother-scene-heading,.scene-vignette) { opacity: 0; pointer-events: none; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-source-growth-scene { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-boards .mother-growth-board { --source-corner: 4.4cqw; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) { grid-template-columns: minmax(0,24fr) minmax(0,22fr) minmax(0,31fr) minmax(0,23fr); gap: 3px 4px; padding: 2.2cqw !important; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .mother-board-art { grid-column: 1; grid-row: 1 / 4; height: auto; align-self: stretch; background: none; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-board-art > .mother-source-workshop { width: 100%; height: 100%; min-height: 100px; overflow: hidden; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .mother-board-content > h2 { grid-column: 2 / -1; grid-row: 1; font-size: clamp(12px,3.6cqw,18px); line-height: 1.3; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .mother-board-content > h2 span { font-size: inherit; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .mother-upgrade-cost { grid-column: 2; grid-row: 2 / 4; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .mother-board-content .mother-upgrade-stats { grid-column: 3 / 5; grid-row: 2; padding: 0 0 0 5px; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-current .mother-board-content .mother-upgrade-stats { grid-column: 3; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .resource-value { font-size: clamp(9px,2.2cqw,11px); line-height: 1.7; gap: 2px; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .resource-value b { font-size: clamp(10px,2.7cqw,14px); line-height: 1.6; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .resource-icon { width: 3.8cqw; height: 4.4cqw; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .stat-row { display: flex; flex-wrap: wrap; gap: 0 3px; min-height: 0; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .stat-row > :is(span,small) { font-size: clamp(9px,2.1cqw,11px); line-height: 1.6; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .stat-row > b { font-size: clamp(10px,2.7cqw,14px); line-height: 1.6; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-current .mother-board-content > .mother-payment { grid-column: 2 / -1; grid-row: 3; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-current .mother-board-content > .button { grid-column: 4; grid-row: 3; align-self: center; }
#app .game-shell[data-mother-match="six"][data-page="growth"] button.mother-source-button[data-source-button="confirm"] { height: auto; min-height: 32px; aspect-ratio: 204 / 96; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-next .mother-board-content > .mother-next-shortfall { grid-column: 3; grid-row: 3; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-next .mother-board-content > .button { grid-column: 4; grid-row: 3; }
#app .game-shell[data-mother-match="six"][data-page="growth"] button.mother-source-button[data-source-button="materials"] { height: auto; min-height: 32px; aspect-ratio: 238 / 96; }

#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers > article { --source-corner: 2.2cqw; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-boards .mother-growth-board { --source-corner: 1.8cqw; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-current-upgrade .stat-row > b { font-size: clamp(10px,2.5cqw,12px); line-height: 1.5; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-current-upgrade .stat-row > :is(span,small) { font-size: clamp(8px,2.1cqw,10px); line-height: 1.5; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .mother-board-content .mother-upgrade-stats .stat-row > b { font-size: clamp(10px,2.6cqw,14px); line-height: 1.5; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .mother-board-content .mother-upgrade-stats .stat-row > :is(span,small) { font-size: clamp(8px,2.1cqw,11px); line-height: 1.5; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .wallet.mother-source-wallet { position: relative; display: block; height: 100%; width: 100%; padding: 0; margin: 0; container-type: normal; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-source-hud { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-source-wallet .wallet-chip { position: absolute; display: block; padding: 0; margin: 0; height: 24%; min-height: 0; width: 23.7%; border: 0; background: none !important; box-shadow: none; clip-path: none; color: #fff5df; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-source-wallet .wallet-chip::before { content: none; }

#app .game-shell[data-mother-match="six"][data-page="growth"] .topbar.mother-growth-source-header { height:8.886719cqw;min-height:8.886719cqw;flex:0 0 8.886719cqw;padding:0;border:0;background:none; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-source-wallet { padding:0 !important; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-source-wallet .wallet-chip { top:21%; height:53%;min-height:0; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .source-hud-acorn { left:20.3%;width:8.8%; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .source-hud-berry { left:42.5%;width:7.6%; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .source-hud-branch { left:64.5%;width:7.3%; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .source-hud-mushroom { left:86.3%;width:6.6%; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-source-wallet .wallet-chip b { position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff8e9;font-size:3.15cqw;line-height:1;white-space:nowrap; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-source-wallet b[data-wallet-length="medium"] { font-size:2.3cqw; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-source-wallet b[data-wallet-length="long"] { font-size:1.7cqw; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-columns { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers :is(.mother-current-upgrade,.mother-next-upgrade) .stat-row > b {font-size:clamp(9px,2.5cqw,12px);line-height:1.5;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers :is(.mother-current-upgrade,.mother-next-upgrade) .stat-row > :is(span,small) {font-size:clamp(8px,2.05cqw,10px);line-height:1.5;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-workshop-sign {width:29cqw;max-width:none; padding:7px 9px !important;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-workshop-sign > b {font-size:clamp(9px,2.45cqw,12px);line-height:1.4;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-workshop-sign > span {font-size:clamp(8px,2.1cqw,10px);line-height:1.5;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers :is(.mother-current-upgrade,.mother-next-upgrade) .stat-row { display:grid;grid-template-columns:auto auto auto;justify-content:start;align-items:baseline;gap:0 2px; }
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers :is(.mother-current-upgrade,.mother-next-upgrade) .stat-row > span {grid-column:1;grid-row:1;flex:none;width:auto;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers :is(.mother-current-upgrade,.mother-next-upgrade) .stat-row > b {grid-column:2;grid-row:1;flex:none;width:auto;white-space:nowrap;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers :is(.mother-current-upgrade,.mother-next-upgrade) .stat-row > small {grid-column:3;grid-row:1;flex:none;width:auto;white-space:nowrap;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .mother-board-content .mother-upgrade-stats .stat-row { display:grid;grid-template-columns:auto auto auto;justify-content:start;align-items:baseline;gap:0 3px; }
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .mother-board-content .mother-upgrade-stats .stat-row > span {grid-column:1;grid-row:1;flex:none;width:auto;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .mother-board-content .mother-upgrade-stats .stat-row > b {grid-column:2;grid-row:1;flex:none;width:auto;white-space:nowrap;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .mother-board-content .mother-upgrade-stats .stat-row > small {grid-column:3;grid-row:1;flex:none;width:auto;white-space:nowrap;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal {grid-template-columns:minmax(0,24fr) minmax(0,22fr) minmax(0,31fr) minmax(0,23fr);padding:2.2cqw !important;gap:3px 5px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-board-art {grid-column:1;grid-row:1 / 5;height:auto;align-self:stretch;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-source-rabbit {width:100%;height:100%;overflow:hidden;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-board-content > h2 {grid-column:2 / -1;grid-row:1;font-size:clamp(12px,3.6cqw,18px);line-height:1.3;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-upgrade-cost {grid-column:2;grid-row:2;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-upgrade-stats {grid-column:3;grid-row:2;padding-left:5px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-board-content > .mother-payment {grid-column:2 / 4;grid-row:3;font-size:10px;line-height:15px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-board-content > .button {grid-column:3 / 5;grid-row:4;width:100%;height:auto;aspect-ratio:331 / 80;min-height:36px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-board-content > .mother-animal-next {grid-column:4;grid-row:2 / 4;padding:4px;border:1px solid #d1b780;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-animal-next > .paper-frame-skin,#app .game-shell[data-mother-match="six"][data-page="growth"] .growth-next-heading > .illustrated-button-skin {display:none;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-animal-next > .growth-next-heading {padding:0;min-height:0;line-height:14px;font-size:9px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-animal-next :is(h4,summary,.resource-value) {font-size:9px;line-height:15px;min-height:0;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-animal-next .resource-icon {width:13px;height:17px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-animal-next .resource-value b {font-size:11px;line-height:16px;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-camp-source-header .source-hud-counter {width:9.5%;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-camp-source-header .source-hud-acorn {left:21.3%;top:26.3%;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-camp-source-header .source-hud-berry {left:21.3%;top:58.6%;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-camp-source-header .source-hud-branch {left:83.8%;top:26.3%;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-camp-source-header .source-hud-mushroom {left:83.8%;top:58.6%;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-current .mother-board-content .mother-upgrade-cost {grid-row:2;}
#app .game-shell[data-mother-match="six"][data-page] button.mother-source-button::before,#app .game-shell[data-mother-match="six"][data-page] button.mother-source-button::after {content:none !important;}
#app .original-wallet b[data-wallet-length="medium"] {font-size:2.2cqw;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers > .mother-current-upgrade {display:flex;flex-direction:column;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-current-upgrade > .mother-source-button {margin-top:auto;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board .mother-upgrade-stats .stat-row > span::before {content:none;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board .mother-upgrade-stats .stat-row > span {display:flex;align-items:center;gap:2px;white-space:nowrap;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-source-stat {width:3.5cqw;height:4cqw;flex:none;overflow:hidden;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-source-header .source-hud-mushroom {left:84.1%;width:9.3%;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-board-content > .mother-animal-next {display:block;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-animal-next > .growth-next-heading {position:static;color:#51361e;text-shadow:none;background:none;border:0;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .growth-next-heading > span {position:static;transform:none;display:block;line-height:14px;font-size:10px;color:#51361e;white-space:normal;text-shadow:none;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-animal-next :is(.growth-next-cost,.growth-next-balance) {display:block;width:100%;margin-top:3px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-animal-next :is(.growth-next-cost,.growth-next-balance) > h4 {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-animal-next .resource-list {display:flex;flex-direction:column;gap:1px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-animal-next :is(.sufficient,.deficit) {font-size:10px;line-height:16px;margin:2px 0;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .stat-row {display:flex;flex-wrap:wrap;align-items:baseline;gap:0 3px;padding:0;min-height:0;margin:0;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .stat-row > span {font-size:clamp(9px,2.2cqw,11px);line-height:19px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-upgrade-stats .stat-row > b {font-size:clamp(11px,2.65cqw,14px);line-height:19px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .stat-row > small {font-size:clamp(8px,1.9cqw,10px);line-height:19px;}
#app .game-shell[data-mother-match="six"][data-page] button.mother-source-button {border-image:none !important;border-image-outset:0 !important;min-height:0 !important;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board .mother-board-content > button.mother-source-button {height:auto !important;min-height:0 !important;border-image:none !important;border-image-outset:0 !important;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="workshop"] {display:flex;flex-direction:column;gap:4px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="workshop"] .mother-growth-scene {margin:0 -5px !important;flex:none;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="workshop"] .tab-strip {position:sticky;top:0;transform:none;margin:0;flex:none;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board {margin:0 !important;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-upgrade-stats .stat-row {display:grid;grid-template-columns:auto auto auto;justify-content:start;align-items:center;gap:0 2px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-upgrade-stats .stat-row > span {grid-column:1;grid-row:1;flex:none;white-space:nowrap;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-upgrade-stats .stat-row > b {grid-column:2;grid-row:1;flex:none;white-space:nowrap;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-upgrade-stats .stat-row > small {grid-column:3;grid-row:1;flex:none;white-space:nowrap;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-board-content > .button {width:min(100%,34cqw);justify-self:end;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-board-content > .mother-payment {display:flex;flex-wrap:wrap;gap:1px 4px;padding-top:2px;min-height:0;line-height:17px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-payment > span {display:inline;font-size:9px;line-height:17px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-animal-next :is(summary,.resource-value) {font-size:9px;line-height:16px;min-height:0;padding:0;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-animal-next .resource-value b {font-size:11px;line-height:16px;}
/* EXPEDITION — original hanging sign, bird, forest vista and framed papers. */
#app .game-shell[data-mother-match="six"][data-page="adventure"] .topbar.mother-adventure-source-header {height:9.960938cqw;min-height:9.960938cqw;flex:0 0 9.960938cqw;padding:0;border:0;background:none;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .original-counter {top:28.4%;height:46%;color:#392615;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .original-counter b {font-size:3.1cqw;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .source-hud-acorn {left:17.3%;width:9.7%;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .source-hud-berry {left:39.3%;width:8.6%;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .source-hud-branch {left:60.4%;width:8%;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .source-hud-mushroom {left:80.8%;width:7.4%;}
#app .original-settings-hit {position:absolute;left:90.4%;top:9%;width:8.2%;height:78%;border:0;background:none;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-route-showcase {position:relative;height:54cqw;min-height:54cqw;padding:25cqw 1cqw 0 18cqw;gap:2cqw;overflow:hidden;align-items:start;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-expedition-title {display:none;}
#app .original-expedition-title {position:absolute;left:0;top:.292969cqw;width:30.66cqw;height:21cqw;overflow:hidden;}
#app .original-expedition-quote {position:absolute;left:0;top:21.289063cqw;width:18.95cqw;height:10.45cqw;overflow:hidden;}
#app .original-expedition-vista {position:absolute;right:0;top:0;width:68.55cqw;height:23.83cqw;overflow:hidden;z-index:0;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .route-showcase-card {position:relative;isolation:isolate;z-index:1;--source-corner:1.5cqw;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:16cqw 5cqw 5cqw;height:29cqw;min-height:29cqw;padding:1.5cqw !important;border:0 !important;box-shadow:none;background:none;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .route-showcase-art {grid-column:1 / -1;grid-row:1;height:16cqw;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .original-route-illustration {display:block;width:100%;height:100%;overflow:hidden;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .route-showcase-name {grid-column:1;grid-row:2;align-self:center;font-size:clamp(10px,2.8cqw,14px);line-height:1.2;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .route-showcase-risk {grid-column:2;grid-row:2;align-self:center;font-size:clamp(8px,2.1cqw,11px);line-height:1.2;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .route-showcase-time {grid-column:1 / -1;grid-row:3;align-self:center;font-size:clamp(10px,3cqw,15px);line-height:1.3;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] :is(.mother-party-panel,.mother-reward-panel,.mother-growth-panel) {position:relative;isolation:isolate;--source-corner:1.8cqw;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .original-expedition-portrait {object-fit:contain;overflow:hidden;width:100%;}
/* The remaining source headers retain each mother's own resource face. */
#app .game-shell[data-mother-match="six"][data-page="trip"] .topbar.mother-trip-source-header {height:10.351563cqw;min-height:10.351563cqw;flex:0 0 10.351563cqw;padding:0;border:0;background:none;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .original-counter {top:34.9%;height:44.3%;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .source-hud-acorn {left:18.9%;width:9.3%;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .source-hud-berry {left:42.8%;width:6.8%;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .source-hud-branch {left:64.6%;width:7.3%;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .source-hud-mushroom {left:87.6%;width:7%;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .topbar.mother-tap-source-header {height:10.253906cqw;min-height:10.253906cqw;flex:0 0 10.253906cqw;padding:0;border:0;background:none;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .original-counter {top:28.6%;height:44.8%;color:#3a2616;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .source-hud-acorn {left:17.8%;width:8.3%;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .source-hud-berry {left:42%;width:7.8%;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .source-hud-branch {left:65.8%;width:6.3%;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .source-hud-mushroom {left:89.2%;width:5.7%;}
#app .original-expedition-vista {width:64.746094cqw;height:19.921875cqw;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .route-showcase-card {--source-corner:.5cqw;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .route-showcase-card::before,#app .game-shell[data-mother-match="six"][data-page="adventure"] .route-showcase-card::after {content:none !important;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-party-panel .mother-party-body {display:grid;grid-template-columns:minmax(0,78fr) minmax(0,22fr);gap:4px;height:auto;min-height:0;align-items:stretch;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .original-expedition-pack-slot {display:block;position:relative;min-width:0;height:109px;overflow:hidden;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .original-expedition-pack {display:block;width:100%;height:100%;overflow:hidden;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .party-showcase-card > strong {font-size:10px;line-height:14px;gap:1px;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .party-showcase-card > strong small {font-size:9px;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .party-showcase-primary,#app .game-shell[data-mother-match="six"][data-page="adventure"] .party-showcase-capacity {font-size:9px;line-height:14px;}
/* ACTIVE ADVENTURE — source status frames, receipt and two native actions. */
/* The status panels and forest share one full-width scene. A separate inset
   canvas exposed differently scaled background strips above and beside it. */
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip[data-trip-kind="expedition"] .mother-trip-scroll {
 display:grid;grid-template-columns:minmax(0,1fr);align-content:start;
}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-scroll > .mother-trip-status {
 grid-column:1;grid-row:1;align-self:start;z-index:3;margin:0;
}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-scroll > .mother-trip-scene {
 grid-column:1;grid-row:1;
 --scene-height:calc(clamp(160px,50cqw,250px) + 20cqw);
 height:var(--scene-height);min-height:var(--scene-height);
 width:calc(100% + 10px);max-width:none;margin:-2px -5px 0;
}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-status {display:grid;grid-template-columns:minmax(0,44fr) minmax(0,23fr) minmax(0,33fr);grid-template-rows:auto;gap:3px;align-items:start;background:none !important;border:0 !important;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-route {position:relative;isolation:isolate;--source-corner:1.2cqw;grid-column:1;grid-row:1;padding:1.5cqw !important;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-route h1 {font-size:3.4cqw;line-height:1.3;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-route p {font-size:2.2cqw;line-height:1.5;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-timer {position:relative;isolation:isolate;--source-corner:1.2cqw;grid-column:2;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:3px;padding:2cqw 1.5cqw !important;min-height:0;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-timer > b {grid-column:1 / -1;grid-row:1;display:flex;justify-content:center;gap:2px;font-size:2.4cqw;line-height:1.4;white-space:nowrap;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-timer > b .ui-icon {width:3cqw;height:4cqw;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-timer > .progress {grid-column:1;grid-row:2;height:2.5cqw;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-timer > strong {grid-column:2;grid-row:2;font-size:2.6cqw;line-height:1.3;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-party {position:relative;isolation:isolate;--source-corner:1.2cqw;grid-column:3;grid-row:1;background:none;border:0;padding:1.5cqw 1cqw;gap:2px;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-party-caption {font-size:2.6cqw;line-height:1.4;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-party :is(img,svg) {width:5.3cqw;height:6cqw;overflow:hidden;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-party b {font-size:2.3cqw;line-height:1.3;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-party small {font-size:2.2cqw;line-height:1.3;}
#app .game-shell[data-mother-match="six"][data-page="trip"] :is(.mother-trip-cargo,.mother-trip-objective) {position:relative;isolation:isolate;--source-corner:1.8cqw;background:none !important;border:0 !important;border-image:none !important;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-trip-cargo .mother-trip-actions {padding-inline:2cqw;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-source-button[data-source-button="returnSource"] {width:100%;height:auto !important;aspect-ratio:385 / 111;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .mother-source-button[data-source-button="collectSource"] {width:100%;height:auto !important;aspect-ratio:394 / 111;}
#app .game-shell[data-mother-match="six"][data-page="trip"] .original-trip-workshop {width:100%;height:100%;overflow:hidden;}
#app .game-shell[data-mother-match="six"] .mother-source-frame > svg.mother-source-piece,#modal-root .mother-source-frame > svg.mother-source-piece {position:static;width:100% !important;height:100% !important;min-width:0 !important;min-height:0 !important;max-width:none !important;max-height:none !important;overflow:hidden;}
/* TAP PRODUCTION — original single-paw gold action and combined ledger. */
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-tap {--scene-height:62cqw;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-source-button[data-source-button="tapSource"] {width:44cqw;height:auto !important;aspect-ratio:438 / 141;margin:-7cqw auto 0;z-index:2;}
#app .game-shell[data-mother-match="six"][data-page="tap"] :is(.mother-tap-info,.tap-recipe-ledger,.mother-tap-metrics,.mother-combo) {position:relative;isolation:isolate;--source-corner:1.8cqw;border:0 !important;border-image:none !important;background:none !important;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-tap-info {display:grid;grid-template-columns:minmax(0,26fr) minmax(0,50fr) minmax(0,24fr);gap:3px 5px;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-tap-workshop {grid-column:1;grid-row:1 / 4;align-self:center;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .original-tap-workshop {display:block;width:100%;height:24cqw;overflow:hidden;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-tap-metrics {--source-corner:1cqw;grid-column:2 / 4;grid-row:1;padding:5px 6px;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-combo {--source-corner:1cqw;grid-column:2;grid-row:2;padding:5px;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-combo-heading > .ui-icon {display:none;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-combo-heading {flex-wrap:wrap;gap:0 3px;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-combo-heading b {font-size:12px;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-combo-heading [data-burst] {font-size:8px;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-combo p {font-size:9px;line-height:13px;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-tap-info > .mother-tap-note {display:contents;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-tap-note > p:first-child {grid-column:2;grid-row:3;font-size:8.5px;line-height:13px;margin:0;padding:0;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-tap-note > p:last-child {grid-column:3;grid-row:2 / 4;position:relative;isolation:isolate;--source-corner:1cqw;display:block;font-size:9px;line-height:14px;margin:0;padding:5px;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .tap-recipe-ledger {grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);}
#app .game-shell[data-mother-match="six"][data-page="tap"] .tap-recipe-ledger :is(.mother-upgrade-cost > .resource-list,.mother-next-upgrade > .resource-list) {display:flex;flex-direction:row;flex-wrap:wrap;gap:1px 4px;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .tap-recipe-ledger :is(.mother-upgrade-cost > .resource-list,.mother-next-upgrade > .resource-list) .resource-value {display:flex;flex-direction:row;align-items:center;gap:1px;font-size:9px;line-height:17px;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .tap-recipe-ledger .resource-value > span {display:inline;font-size:9px;line-height:17px;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .tap-recipe-ledger .resource-value b {display:inline;font-size:11px;line-height:17px;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .tap-recipe-ledger .resource-icon {width:12px;height:16px;flex-basis:12px;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .tap-recipe-ledger .mother-upgrade-cost {display:block;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .tap-recipe-ledger .stat-row {display:flex;flex-wrap:wrap;gap:0 3px;min-height:0;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .tap-recipe-ledger .stat-row > span,#app .game-shell[data-mother-match="six"][data-page="tap"] .tap-recipe-ledger .stat-row > small {font-size:9px;line-height:17px;flex:none;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .tap-recipe-ledger .stat-row > b {font-size:12px;line-height:17px;flex:none;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .tap-recipe-ledger .mother-payment {display:flex;flex-wrap:wrap;gap:0 3px;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .tap-recipe-ledger .mother-payment > span {display:inline;font-size:8px;line-height:16px;margin:0;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-source-button[data-source-button="tapUpgradeSource"] {grid-column:1 / -1;width:40cqw;justify-self:center;height:auto !important;aspect-ratio:386 / 85;}
/* Source frames are layout primitives; label/portrait rules cannot resize them. */
#app .game-shell[data-mother-match="six"] .mother-source-frame,#modal-root .mother-source-frame {position:absolute !important;inset:0 !important;display:grid !important;grid-template-columns:var(--source-corner,18px) minmax(0,1fr) var(--source-corner,18px) !important;grid-template-rows:var(--source-corner,18px) minmax(0,1fr) var(--source-corner,18px) !important;width:auto !important;height:auto !important;min-width:0 !important;min-height:0 !important;max-width:none !important;max-height:none !important;gap:0 !important;padding:0 !important;margin:0 !important;z-index:-1 !important;pointer-events:none;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-acorn-target {left:50%;top:20%;width:27cqw;height:30.5cqw;min-height:0;transform:translateX(-50%);padding:0 !important;border:0 !important;background:none !important;box-shadow:none;overflow:visible;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .original-tap-acorn {display:block;width:100%;height:100%;overflow:hidden;filter:drop-shadow(0 0 3px #fff2ac) drop-shadow(0 0 13px #ffcb26);}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-acorn-target b {position:absolute;left:auto;right:-12cqw;top:32%;bottom:auto;padding:2px 5px;min-height:0;background:#fff0c9;color:#533718;border:1px solid #93652f;font-size:3.4cqw;line-height:1.3;white-space:nowrap;}
#app .game-shell[data-mother-match="six"][data-page="tap"] .mother-acorn-target:active {transform:translateX(-50%) scale(.96);}
/* OFFLINE RETURN — source night camp, reward scene and upgrade paper. */
#modal-root .mother-offline-shade {padding:0;}
#modal-root .mother-offline-modal.modal {width:100%;height:100%;max-height:100%;padding:0 !important;border:0 !important;border-image:none !important;border-radius:0;background:url(../assets/environments/scene-night-mother-v2.png) center / cover;container-type:inline-size;container-name:offline-source-view;}
#modal-root .mother-offline-modal .close-button {top:10cqw;right:5px;width:30px;height:30px;min-height:30px;z-index:5;}
#modal-root .mother-offline-scroll {padding:0 3px 3px !important;gap:4px;}
#modal-root .original-offline-hud {position:relative;flex:none;height:auto;aspect-ratio:1024/91;}
#modal-root .original-wallet {position:relative;width:100%;height:100%;}
#modal-root .original-offline-hud > .original-wallet {position:absolute;inset:0;}
#modal-root .mother-source-hud {position:absolute;inset:0;width:100%;height:100%;overflow:hidden;}
#modal-root .original-counter {position:absolute;top:33%;height:47%;display:flex;align-items:center;justify-content:center;color:#fff5df;white-space:nowrap;}
#modal-root .original-counter b {display:flex;align-items:center;justify-content:center;width:100%;min-width:0;font-size:3.25cqw;line-height:1;font-weight:800;}
#modal-root .original-counter b[data-wallet-length="medium"] {font-size:2.2cqw;}
#modal-root .source-hud-acorn {left:20.4%;width:8.5%;}
#modal-root .source-hud-berry {left:42.9%;width:6.5%;}
#modal-root .source-hud-branch {left:63.5%;width:6.3%;}
#modal-root .source-hud-mushroom {left:84.4%;width:5.6%;}
#modal-root .mother-offline-modal .mother-offline-hero {position:relative;flex:none;height:36cqw;min-height:36cqw;background:none;margin:-4px 0 0;}
#modal-root .original-offline-hero-art {position:absolute;left:0;top:0;width:100%;height:auto;aspect-ratio:1024/305;overflow:hidden;}
#modal-root .mother-offline-modal .mother-offline-hero h2 {width:1px !important;height:1px !important;min-height:0 !important;padding:0 !important;margin:0 !important;clip-path:inset(50%);overflow:hidden;}
#modal-root .mother-offline-modal .mother-offline-animal {display:none;}
#modal-root .mother-offline-modal .mother-offline-hero p {position:absolute;left:5%;right:5%;bottom:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:3px 8px;width:90%;min-height:20px;height:auto;padding:4px 5px;background:#f6e4bb;color:#53351e;border:2px solid #8b5a32;}
#modal-root .mother-offline-modal .mother-offline-hero p > span {display:flex;flex-direction:row;gap:3px;white-space:nowrap;}
#modal-root .mother-offline-modal .mother-offline-hero p small {font-size:8px;line-height:12px;}
#modal-root .mother-offline-modal .mother-offline-hero p b {font-size:11px;line-height:14px;}
#modal-root .mother-offline-modal :is(.mother-offline-ledger,.mother-offline-upgrade) {position:relative;isolation:isolate;--source-corner:1.8cqw;background:none !important;border:0 !important;border-image:none !important;}
#modal-root .mother-offline-modal .mother-offline-sources {grid-template-columns:1fr 1fr;}
#modal-root .mother-offline-modal .mother-offline-auto {grid-template-columns:34% minmax(0,1fr);grid-template-rows:auto auto auto auto auto;}
#modal-root .mother-offline-modal .mother-offline-auto > .mother-board-art {grid-column:1;grid-row:1 / 5;width:100%;height:auto;align-self:stretch;}
#modal-root .original-offline-workshop {display:block;width:100%;height:100%;overflow:hidden;}
#modal-root .mother-offline-modal .mother-offline-auto strong {grid-column:2;grid-row:3;font-size:clamp(22px,5.5cqw,29px);line-height:1.2;}
#modal-root .mother-offline-modal .offline-current-rate {grid-column:2;grid-row:4;}
#modal-root .mother-offline-modal .original-offline-journey {display:block;width:100%;height:100%;overflow:hidden;}
#modal-root .mother-offline-modal .offline-journey-art {height:5.9cqw;}
#modal-root .mother-offline-modal .mother-offline-transfer {display:block;padding:0 !important;border:0 !important;}
#modal-root .mother-offline-modal .mother-offline-transfer > :not(.original-offline-transfer-art) {display:none;}
#modal-root .original-offline-transfer-art {display:block;width:100%;height:12cqw;overflow:hidden;}
#modal-root .mother-offline-modal button.mother-source-button {position:relative;display:block;padding:0 !important;border:0 !important;border-image:none !important;border-image-outset:0 !important;background:none !important;box-shadow:none;min-height:0 !important;height:auto !important;}
#modal-root .mother-offline-modal .mother-source-button-art {display:block;width:100%;height:100%;overflow:hidden;}
#modal-root .mother-offline-modal button[data-source-button="offlineClaimSource"] {width:38cqw;aspect-ratio:339 / 101;justify-self:center;margin:0 auto;}
#modal-root .mother-offline-modal button[data-source-button="offlineGrowthSource"] {width:42cqw;aspect-ratio:350 / 111;margin:0 auto;}
#modal-root .mother-offline-modal .mother-offline-action-dock {padding:3px 4px;background:none;}
#modal-root .mother-offline-modal .mother-offline-upgrade .mother-board-art > img {object-fit:contain;}

/* Live recipes must stay within their own cells at the narrowest 9:16 size. */
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-workshop-sign {width:28cqw;max-width:28cqw;padding:3px 5px !important;border-width:5px 7px;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-workshop-sign > b {font-size:2.65cqw;line-height:1.4;white-space:nowrap;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-workshop-sign > span {font-size:2.2cqw;line-height:1.5;white-space:nowrap;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .mother-camp-overview:has(.camp-upgrade-compact) > .camp-recipe-papers {left:24%;width:76%;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .stat-row {grid-template-columns:auto auto !important;gap:0 2px !important;align-items:baseline;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .stat-row > span {grid-column:1 / -1 !important;grid-row:1 !important;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .stat-row > b {grid-column:1 !important;grid-row:2 !important;font-size:clamp(9px,2.5cqw,12px);line-height:1.4;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .stat-row > small {grid-column:2 !important;grid-row:2 !important;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-current .mother-upgrade-cost {grid-row:2;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-current .mother-board-content .mother-upgrade-stats {grid-column:3 / 5;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-current .mother-board-content > .mother-payment {grid-column:2 / 4;grid-row:3;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) .mother-payment .resource-list {display:flex;flex-wrap:wrap;gap:0 4px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board:is(.is-current,.is-next) {grid-template-columns:minmax(0,28fr) minmax(0,22fr) minmax(0,29fr) minmax(0,21fr);}
#modal-root .mother-offline-modal .mother-offline-action-dock {display:flex;justify-content:center;align-items:center;width:100%;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .route-showcase-lock small {font-size:2.3cqw;line-height:1.35;text-wrap:balance;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-upgrade-stats .stat-row {grid-template-columns:auto auto;gap:0 2px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-upgrade-stats .stat-row > span {grid-column:1 / -1;grid-row:1;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-upgrade-stats .stat-row > b {grid-column:1;grid-row:2;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-upgrade-stats .stat-row > small {grid-column:2;grid-row:2;white-space:normal;max-width:6cqw;line-height:1.2;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-upgrade-cost .resource-value > span {display:flex;flex-direction:column;align-items:flex-start;font-size:clamp(8px,2.2cqw,10px);line-height:1.2;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-upgrade-cost .resource-value {align-items:center;gap:2px;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers :is(.mother-upgrade-cost,.mother-payment) .deficit {font-size:clamp(8px,2.3cqw,11px);line-height:1.4;margin-top:3px;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers :is(.mother-upgrade-cost,.mother-payment) .deficit .material-term {font-size:inherit;line-height:inherit;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-next-shortfall .muted {font-size:clamp(8px,2.2cqw,10px);line-height:1.4;margin-top:2px;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-next-upgrade .stat-row {grid-template-columns:auto auto auto !important;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-next-upgrade .stat-row > span {grid-column:1 !important;grid-row:1 !important;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-next-upgrade .stat-row > b {grid-column:2 !important;grid-row:1 !important;font-size:clamp(8px,2.4cqw,11px);}
#app .game-shell[data-mother-match="six"][data-page="camp"] .camp-recipe-papers .mother-next-upgrade .stat-row > small {grid-column:3 !important;grid-row:1 !important;}
/* Source rails keep their native aspect even with long balances or pending loot. */
#app .game-shell[data-mother-match="six"][data-page] .topbar:has(> .original-wallet) {display:block;position:relative;}
#app .game-shell[data-mother-match="six"][data-page] .topbar:has(> .original-wallet) > .wallet-offline-shortcut {position:absolute;left:auto;right:1cqw;top:calc(100% + 1cqw);width:8cqw;height:10cqw;min-height:0;margin:0;padding:1px;z-index:6;}
#app .game-shell[data-mother-match="six"][data-page="camp"] .topbar:has(> .original-wallet) > .wallet-offline-shortcut {left:1.5cqw;right:auto;top:calc(100% + 12cqw);}
#app .game-shell[data-mother-match="six"][data-page="trip"] .topbar:has(> .original-wallet) > .wallet-offline-shortcut {left:1.5cqw;right:auto;top:calc(100% + 24cqw);}
#app .game-shell[data-mother-match="six"][data-page] .original-wallet b[data-wallet-length="medium"] {font-size:2.2cqw !important;}
#app .game-shell[data-mother-match="six"][data-page] .original-wallet b[data-wallet-length="long"] {font-size:1.8cqw !important;}
#app .game-shell[data-mother-match="six"][data-page] [data-source-button="materials"] > .material-acquire-label {position:absolute;left:29%;right:6%;top:21%;bottom:24%;z-index:1;display:flex;align-items:center;justify-content:center;padding:0;margin:0;color:#fff7e4;font-size:2.7cqw;font-weight:800;line-height:1;white-space:nowrap;letter-spacing:0;text-shadow:0 1px #54280d;-webkit-text-stroke:.45px #54280d;paint-order:stroke fill;pointer-events:none;}
.material-button-face {overflow:hidden;}
.mother-counter-texture {overflow:hidden;pointer-events:none;}
/* Closed dispatch controls use the native wood caps rather than stretching
   the PNG's transparent surround as a rectangular CSS border image. */
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-adventure > details.dispatch-options {
 position:relative;isolation:isolate;border:0 !important;border-image:none !important;
 border-radius:0;background:none !important;box-shadow:none;margin:0;
}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-adventure > details.dispatch-options:not([open]) {padding:0 !important;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-adventure > details.dispatch-options:not([open]) > .paper-frame-skin {display:none;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-adventure > details.dispatch-options:not([open]) > summary {
 position:relative;isolation:isolate;min-height:48px;padding:7px 18px;gap:0;
}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-adventure > details.dispatch-options:not([open]) > summary > .illustrated-button-skin {
 inset:0;height:48px;top:50%;bottom:auto;transform:translateY(-50%);
}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .dispatch-foldout-label {min-width:0;line-height:1.4;overflow-wrap:anywhere;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-adventure > details.dispatch-options[open] {padding:14px !important;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-adventure > details.dispatch-options[open] > summary > .illustrated-button-skin {display:none;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-adventure > details.dispatch-options > .paper-frame-skin {--paper-frame-scale:.085;}
/* Panels already carrying the native paper frame must not paint another
   recipe border around it. Their corners reveal the same page forest. */
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-adventure :is(.dispatch-lineup,.plan-comparison,.forecast-note):has(> .paper-frame-skin) {
 position:relative;isolation:isolate;border:0 !important;border-image:none !important;
 background:none !important;box-shadow:none;padding:12px !important;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-source-header .source-hud-acorn {left:20.7%;width:8%;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-source-header .source-hud-berry {left:42.8%;width:6.2%;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-source-header .source-hud-branch {left:64.1%;width:6.3%;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-source-header .source-hud-mushroom {left:84.2%;width:5.9%;}

/* Expedition growth content stays inside the native paper's safe area. */
/* Companion training keeps the full preview below the HUD. Its current
   action and future recipe each receive a complete row on the same paper. */
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth:not([data-growth-tab="workshop"]) .mother-growth-scene {
 --scene-height:clamp(112px,28cqw,144px);height:var(--scene-height);min-height:var(--scene-height);margin-top:0;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-board-content > button.illustrated-button[data-button-skin="animal"] {
 --upgrade-skin-height:44px;--upgrade-left:calc(44px * 644 / 400);--upgrade-right:calc(44px * 185 / 400);
 grid-column:2 / -1;width:100%;height:48px;min-height:48px;justify-self:center;
 padding:2px var(--upgrade-right) 2px var(--upgrade-left) !important;font-size:14px;line-height:20px;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth-board.is-animal .mother-board-content > button.illustrated-button[data-button-skin="animal"] .button-label {
 display:flex;align-items:center;justify-content:center;white-space:nowrap;font-size:14px;line-height:20px;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-growth-board.is-animal {
 --training-offset:0;grid-template-columns:minmax(72px,26fr) minmax(0,34fr) minmax(0,40fr);grid-template-rows:none;
 align-items:start;padding:10px !important;gap:4px 8px;height:auto;min-height:0;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-growth-board.is-animal:has(.animal-availability-panel) {--training-offset:1;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-board-content,
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-columns {display:contents;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .animal-selector {
 height:clamp(80px,23cqw,112px);min-height:0;padding:3px;align-items:stretch;gap:8px;overflow-y:hidden;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .animal-select {
 flex:0 0 calc((100% - 24px) / 4);min-width:0;height:100%;min-height:0;padding:4px 3px;gap:0;
 display:flex;flex-direction:column;align-items:center;justify-content:center;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .animal-select > :is(img,svg) {
 width:100%;height:calc(100% - 18px);min-height:0;max-height:80px;object-fit:contain;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .animal-select > span {font-size:12px;line-height:18px;flex:none;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .animal-availability-panel {grid-column:1 / -1;grid-row:1;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-board-art {
 grid-column:1;grid-row:calc(1 + var(--training-offset)) / calc(3 + var(--training-offset));align-self:center;height:112px;max-height:none;min-height:0;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-board-art > :is(img,svg) {
 position:static;inset:auto;display:block;width:100%;height:100%;max-height:none;object-fit:contain;transform:none;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-board-content > h2 {
 grid-column:2 / -1;grid-row:calc(1 + var(--training-offset));font-size:clamp(14px,3.6cqw,18px);line-height:24px;margin:0;align-self:center;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-upgrade-cost {grid-column:2;grid-row:calc(2 + var(--training-offset));}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-upgrade-stats {grid-column:3;grid-row:calc(2 + var(--training-offset));min-width:0;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-upgrade-cost > :is(.sufficient,.deficit) {
 position:static;margin:3px 0 0;padding:0;line-height:18px;font-size:11px;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] :is(.mother-upgrade-cost,.mother-upgrade-stats) > h3 {
 font-size:11px;line-height:18px;margin:0 0 4px;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-board-content .resource-value {font-size:11px;line-height:20px;gap:3px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-board-content .resource-value b {font-size:13px;line-height:20px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-board-content .resource-icon {width:16px;height:20px;max-height:none;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-upgrade-stats .stat-row {
 display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 3px;margin:3px 0;padding:0;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-upgrade-stats .stat-row > span {grid-column:1 / -1;grid-row:1;font-size:11px;line-height:17px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-upgrade-stats .stat-row > b {grid-column:1;grid-row:2;font-size:15px;line-height:20px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-upgrade-stats .stat-row > small {grid-column:2;grid-row:2;font-size:9px;line-height:12px;max-width:40px;white-space:normal;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-board-content > .mother-payment {
 grid-column:1 / -1;grid-row:calc(3 + var(--training-offset));display:flex;flex-wrap:wrap;align-items:center;gap:3px 8px;font-size:11px;line-height:18px;padding-top:4px;min-width:0;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-payment > span {font-size:11px;line-height:18px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-payment .resource-list {display:flex;flex-wrap:wrap;gap:2px 8px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-board-content > button.illustrated-button[data-button-skin="animal"] {
 grid-column:1 / -1;grid-row:calc(4 + var(--training-offset));width:min(100%,280px);margin-top:3px;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-growth-board.is-animal:has(.mother-board-content > .text-button) .mother-board-content > button.illustrated-button[data-button-skin="animal"] {grid-column:1 / 3;width:100%;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-board-content > .text-button {grid-column:3;grid-row:calc(4 + var(--training-offset));min-height:44px;margin:0;font-size:12px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-board-content > .mother-animal-next {
 grid-column:1 / -1;grid-row:calc(5 + var(--training-offset));display:grid;grid-template-columns:minmax(0,42fr) minmax(0,32fr) minmax(0,26fr);gap:4px 8px;
 position:relative;width:100%;min-width:0;margin:4px 0 0;padding:8px 0 0;border:0;border-top:1px solid #cbb07b;background:none;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-animal-next > .growth-next-heading {
 grid-column:1 / -1;position:static;display:block;margin:0;padding:0;min-height:0;color:#51361e;text-shadow:none;font-size:13px;line-height:20px;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .growth-next-heading > span:not(.illustrated-button-skin) {position:static;display:block;transform:none;font-size:13px;line-height:20px;white-space:normal;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .growth-next-heading > .illustrated-button-skin {display:none;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-animal-next > :is(.growth-next-cost,.growth-next-balance) {display:block;min-width:0;margin:0;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-animal-next > .growth-next-cost {grid-column:1;grid-row:2;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-animal-next > .growth-next-balance {grid-column:2;grid-row:2;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-animal-next :is(.growth-next-cost,.growth-next-balance) > h4 {
 position:static;width:auto;height:auto;clip-path:none;overflow:visible;font-size:11px;line-height:18px;margin:0 0 3px;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-animal-next :is(.muted,.deficit,.sufficient) {font-size:11px;line-height:18px;margin:2px 0;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-animal-next > details {grid-column:3;grid-row:2;min-width:0;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-animal-next > details[open] {grid-column:1 / -1;grid-row:3;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-animal-next summary {min-height:44px;padding:5px 0;font-size:11px;line-height:18px;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-route-showcase > .wallet-offline-shortcut {position:absolute;right:1cqw;top:1cqw;width:8cqw;height:10cqw;min-height:0;margin:0;padding:1px;z-index:6;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-decision-grid > .mother-growth-panel {
 height:auto;min-height:0;padding:clamp(14px,3.3cqw,16px) !important;
 grid-template-columns:32px minmax(0,1fr);
 grid-template-rows:auto auto auto auto auto minmax(44px,1fr);
 gap:5px 6px;align-content:start;
}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-growth-panel > .mother-source-frame {grid-column:auto;grid-row:auto;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-growth-heading > .mother-growth-portrait {width:32px;height:56px;max-height:56px;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-growth-heading > b {min-width:0;gap:0 3px;line-height:17px;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-growth-stats {min-width:0;padding-top:5px;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .dispatch-growth-stat {grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 6px;padding:2px 0;min-width:0;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .dispatch-growth-stat > span {display:flex;flex-direction:column;min-width:0;white-space:normal;font-size:11px;line-height:15px;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .dispatch-growth-stat > span > small {margin:0;font-size:9px;line-height:12px;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .dispatch-growth-stat > b {min-width:0;justify-self:end;font-size:14px;line-height:20px;white-space:nowrap;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-growth-panel .dispatch-growth-followup {min-width:0;gap:6px;padding-top:5px;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .dispatch-growth-followup > section {min-width:0;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] .dispatch-growth-followup h4 {white-space:normal;overflow-wrap:anywhere;line-height:15px;}
#app .game-shell[data-mother-match="six"][data-page="adventure"] button.mother-growth-train.button.illustrated-button[data-button-skin="animal"] {
 --upgrade-skin-height:34px;width:100%;min-width:0;height:44px;min-height:44px;margin-top:5px;align-self:end;
}
@container timber-hud-view (max-width:380px) {
 #app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-decision-grid > .mother-growth-panel {grid-template-columns:28px minmax(0,1fr);gap:4px 5px;}
 #app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-growth-heading > .mother-growth-portrait {width:28px;}
 #app .game-shell[data-mother-match="six"][data-page="adventure"] .mother-growth-panel .dispatch-growth-followup {grid-template-columns:minmax(0,1fr);gap:5px;}
}

/* A suspended rail: the original wood and live counters sit below two
   branches. Everything outside those silhouettes remains transparent. */
#app .game-shell[data-mother-match="six"][data-page] .topbar.mother-hanging-header {
 --hud-hang-drop:3.125cqw;position:relative;height:12.011719cqw;min-height:12.011719cqw;flex:0 0 12.011719cqw;
 padding:0;border:0;background:none !important;box-shadow:none !important;
}
#app .game-shell[data-mother-match="six"][data-page] .mother-hanging-header > .original-wallet {
 position:relative;top:var(--hud-hang-drop);height:8.886719cqw;z-index:1;
}
#app .game-shell[data-mother-match="six"][data-page] .mother-header-hangers {
 position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;overflow:hidden;image-rendering:pixelated;
}
#app .game-shell[data-mother-match="six"][data-page] .mother-header-hangers svg {overflow:hidden;}
#app .game-shell[data-mother-match="six"][data-page] .mother-header-hangers > [data-hanging-branch="right"] {transform:translateX(1024px) scaleX(-1);}
#app .game-shell[data-mother-match="six"]:is([data-page="growth"],[data-page="adventure"]) {
 background-size:auto calc(100% + 4cqw);background-position:center -4cqw;
}
/* Keep the complete companion page in the same vertical footprint while
   exposing the short hanging supports above the unchanged resource rail. */
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="animals"] .mother-growth-scene {
 --scene-height:calc(clamp(112px,28cqw,144px) - 3.125cqw);height:var(--scene-height);min-height:var(--scene-height);
}
/* Let scrollable paper/wood pass behind the hanging board, rather than
   cutting it off at a visible full-width rectangular viewport edge.
   Fade only the foreground; the single scene on the shell stays opaque. */
#app .game-shell[data-mother-match="six"][data-page]:has(> .mother-hanging-header) > .topbar {
 position:absolute;inset:0 0 auto;
}
#app .game-shell[data-mother-match="six"][data-page]:has(> .mother-hanging-header) > .screen-scroll {
 padding-top:12.011719cqw;scroll-padding-top:12.011719cqw;
 -webkit-mask-image:linear-gradient(to bottom,transparent calc(4.101563cqw + var(--hud-scroll-veil,0px)),#000 calc(11.71875cqw + var(--hud-scroll-veil,0px)));
 mask-image:linear-gradient(to bottom,transparent calc(4.101563cqw + var(--hud-scroll-veil,0px)),#000 calc(11.71875cqw + var(--hud-scroll-veil,0px)));
}
/* The absolute dispatch dock extends into the space reserved below the
   scroller. Keep it outside the top-only fade's clipping rectangle. */
#app .game-shell[data-mother-match="six"][data-page="adventure"] > .screen-scroll {
 -webkit-mask-clip:no-clip;mask-clip:no-clip;
 -webkit-mask-size:100% calc(100% + var(--dispatch-footer-space,78px));mask-size:100% calc(100% + var(--dispatch-footer-space,78px));
 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
}
/* Real RGBA frames: preserve each corner's native aspect ratio. */
#app .game-shell[data-mother-match="six"] .mother-source-frame[data-frame-atlas="rgba-recipe"],
#modal-root .mother-source-frame[data-frame-atlas="rgba-recipe"] {
 grid-template-rows:calc(var(--source-corner,18px) * 150 / 114) minmax(0,1fr) calc(var(--source-corner,18px) * 150 / 114) !important;
}
#modal-root .mother-offline-modal .mother-offline-ledger,
#modal-root .mother-offline-modal .mother-offline-upgrade {--source-corner:14px;padding:16px !important;}
#modal-root .mother-offline-modal .mother-offline-scroll {padding:0 6px 12px !important;gap:10px;}
#modal-root .mother-offline-modal .original-offline-hero-art {left:25%;top:0;width:50%;height:auto;aspect-ratio:430 / 140;}
#modal-root .mother-offline-modal .mother-offline-animal {display:block;position:absolute;bottom:6cqw;width:24cqw;height:25cqw;max-height:none;object-fit:contain;}
#modal-root .mother-offline-modal .mother-offline-animal[data-animal="squirrel"] {left:14%;}
#modal-root .mother-offline-modal .mother-offline-animal[data-animal="rabbit"] {right:14%;}
#modal-root .mother-offline-modal .mother-offline-transfer {display:grid;grid-template-columns:46px minmax(0,1fr) 22px 40px;align-items:center;gap:6px;margin:5px 0;}
#modal-root .mother-offline-modal .mother-offline-transfer > :not(.original-offline-transfer-art) {display:block;}
#modal-root .mother-offline-modal .mother-offline-transfer .resource-list {display:flex;flex-wrap:wrap;gap:2px 6px;}
#modal-root .mother-offline-modal .mother-offline-transfer > img {width:100%;height:48px;object-fit:contain;}
#modal-root .mother-offline-modal .mother-offline-transfer > .offline-transfer-arrow {font-size:22px;color:#9b762b;}
#modal-root .mother-offline-modal .mother-offline-transfer > .offline-transfer-chest {height:40px;}
#app .game-shell[data-page="camp"] .camp-tap-anchor {min-height:76px;}
#app .game-shell[data-page="camp"] .camp-tap-anchor > .camp-tap-hotspot {top:auto;bottom:18px;left:12%;}
#modal-root .mother-offline-modal .mother-offline-hanging {height:12.011719cqw;min-height:12.011719cqw;aspect-ratio:auto;background:none !important;}
#modal-root .mother-offline-hanging > .original-wallet {top:3.125cqw;bottom:auto;height:8.886719cqw;}
#modal-root .mother-offline-hanging > .mother-header-hangers {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden;}
#modal-root .mother-offline-hanging .mother-header-hangers svg {overflow:hidden;}
#modal-root .mother-offline-hanging [data-hanging-branch="right"] {transform:translateX(1024px) scaleX(-1);}
/* Every main screen keeps one scene behind every scroll position. */
#app .game-shell[data-scene-plate="continuous"][data-page] {
 background-size:auto calc(100% + 4cqw);background-position:center -4cqw;background-repeat:no-repeat;
}
#app .game-shell[data-scene-plate="continuous"][data-page] :is(.topbar,.screen-scroll,.screen-content,.scene-shell,.mother-return-content) {
 background:none !important;box-shadow:none !important;border-bottom:0 !important;
}
#modal-root .mother-offline-modal .mother-offline-action-dock {background:none !important;border:0 !important;box-shadow:none !important;}
#app .game-shell[data-page="growth"] .mother-growth[data-growth-tab="workshop"] .mother-growth-board :is([data-action="upgrade-workshop"],.workshop-material-route) {
 --upgrade-skin-height:34px;--departure-height:30px;height:48px;min-height:48px;padding:3px 12px !important;min-width:0;width:100%;font-size:11px;line-height:16px;
}
#app .game-shell[data-page="growth"] .mother-growth[data-growth-tab="workshop"] .mother-growth-board :is([data-action="upgrade-workshop"],.workshop-material-route) .button-label {white-space:nowrap;line-height:16px;font-size:11px;}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="workshop"] .mother-growth-scene :is(canvas,.mother-scene-heading) {opacity:1;}
#app .game-shell[data-page="growth"] .mother-growth[data-growth-tab="workshop"] .mother-growth-board .workshop-material-route {padding:4px 8px !important;}
#app .game-shell[data-scene-plate="continuous"] .mother-return-hero {background:none !important;}
/* Give workshop actions their own row; narrow source-style value cells
   cannot hold four live Chinese characters plus the illustrated end caps. */
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="workshop"] .mother-growth-board:is(.is-current,.is-next) .mother-board-content > :is([data-action="upgrade-workshop"],.workshop-material-route) {
 grid-column:2 / -1;grid-row:4;justify-self:center;width:min(100%,220px);margin:3px 0 0;height:48px;min-height:48px;
 --upgrade-skin-height:44px;padding:3px 22px !important;font-size:14px;line-height:20px;
}
#app .game-shell[data-mother-match="six"][data-page="growth"] .mother-growth[data-growth-tab="workshop"] .mother-growth-board:is(.is-current,.is-next) .mother-board-content > :is([data-action="upgrade-workshop"],.workshop-material-route) .button-label {font-size:14px;line-height:20px;white-space:nowrap;}
/* This must beat the earlier :has(> .original-wallet) scene-header rule,
   including its solid color. The page scene already covers the whole HUD. */
#app .game-shell[data-mother-match="six"][data-scene-plate="continuous"][data-page] .topbar:has(> .original-wallet) {
 background:none !important;
}
