.dewberry-page .late-map .map-node,.dewberry-page .late-map .court-node{width:30px;height:30px;font-size:10px;min-width:0;min-height:0}
.dewberry-page .late-map .map-node.current{width:34px;height:34px}
.dewberry-page .late-map .map-stop-label{font-size:10px;line-height:1.35;min-height:0;padding:2px 4px;transform:none;max-width:none}
.dewberry-page .late-map .court-label{font-size:10px;padding:2px 4px;transform:translate(-50%,-50%)}
.dewberry-page .late-map .court-node{padding:0;overflow:hidden;width:38px;height:38px}
.dewberry-page .court-node .portrait{display:block;width:100%;height:100%;border-radius:inherit}
.dewberry-page .green-story-stage .leaf-clue{width:78px;height:65px;right:calc(50% - 39px);top:18px;transform:translateY(8px)}
.dewberry-page .green-story-stage .leaf-clue.visible{transform:none}
.dewberry-page .keepsake-emblem{animation:none}
.dewberry-page .dialogue-controls{flex-wrap:wrap;gap:10px}
.dewberry-page .dialogue-controls #chat-previous{margin-left:auto;min-height:44px}
.dewberry-page .archery-game .green-hud{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:12px}
.garden-aim,.garden-round{min-width:0}.garden-aim-label{display:block;font-size:8px;line-height:1.3;letter-spacing:.6px}.garden-aim-value{display:block;font-size:15px;line-height:1.4;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap;color:#315f48}
.garden-aim-meter{height:6px;border-radius:6px;background:#d1ddc0;margin-top:4px;position:relative;overflow:hidden}.garden-aim-meter:before{content:'';position:absolute;left:50%;height:6px;border-left:1px solid #9eae8d}.garden-aim-meter i{position:absolute;display:block;width:5px;height:6px;border-radius:3px;background:#456f4f;transform:translateX(-50%)}
.garden-round b,.garden-round span{display:block;font-size:10px;line-height:1.4;letter-spacing:0}.garden-round span{margin-top:4px;white-space:normal}
.dewberry-page .garden-ready{background:#4d8663;box-shadow:0 0 0 4px #c9dab6}
.dewberry-page .archery-game .green-tools{flex-wrap:wrap;gap:9px}
.dewberry-page .archery-game .drive-trial-label{flex-basis:100%;display:flex;justify-content:center;align-items:center;gap:12px;max-width:none}
.dewberry-page .archery-game .drive-trial-label select{width:210px;max-width:75vw}
@media(max-width:700px){.dewberry-page .late-map .map-stop-label,.dewberry-page .late-map .court-label{font-size:9px}}
@media(max-width:350px){.garden-aim-value{font-size:13px}.garden-round b,.garden-round span{font-size:9px}}
/* Keep the two finale actions on readable rows beneath the host on phones. */
@media(max-width:700px){.dewberry-page .milo-invitation>.actions{grid-column:1/-1;justify-content:flex-start;min-width:0}.dewberry-page .milo-invitation>.actions button{white-space:nowrap;min-height:44px}}

/* Road coordinates remain the anchor; the portrait ends 3px above the current node. */
.dewberry-page .late-map .traveler{transform:translate(-50%,calc(-100% - 20px))}
/* Small certificates use a single gold edge, without stacked rectangular shadows. */
.dewberry-page .card-row{padding:3px 2px 5px}
.dewberry-page .card-row .collectible,.dewberry-page .card-row .collectible.earned:hover{transform:none;box-shadow:0 2px 4px #5e4a2826;backface-visibility:hidden}
.dewberry-page .card-row .collectible-art{outline:0}
/* Tap-only color growth: explicit tracks and numbered colors, never a swipe board. */
.tank-game .board-space{display:grid;place-items:center;overflow:hidden}.tank-canvas{display:block;border-radius:15px;border:1px solid #566057;touch-action:manipulation}
.tank-game .green-hud{display:flex;justify-content:space-between;gap:10px}.tank-reading,.tank-shot-reading{display:flex;flex-direction:column;gap:4px;min-width:0}.tank-reading b,.tank-shot-reading b{font-size:12px;letter-spacing:0}.tank-reading span,.tank-shot-reading span{font-size:10px;letter-spacing:0}.tank-shot-reading{text-align:right}
.tank-game .green-tools{display:flex;flex-wrap:wrap;gap:7px;justify-content:center}.tank-angle-control{display:flex;align-items:center;gap:10px;width:100%;font-size:11px;text-align:left}.tank-angle-control input{flex:1;min-width:0;min-height:44px;accent-color:#426e51;touch-action:pan-x}.tank-power-meter{position:relative;width:100%;height:8px;background:#d3d8bc;border-radius:9px;overflow:hidden}.tank-power-meter i{display:block;height:100%;background:#6b8c60}.tank-power-meter b{position:absolute;top:0;height:100%;border-left:3px solid #9d623e}.tank-actions{display:flex;gap:10px;align-items:center;justify-content:center;width:100%}.tank-actions button{min-height:44px}.tank-actions .tank-good{background:#4f8258;box-shadow:0 0 0 3px #cfdfba}.tank-range-label{display:flex;align-items:center;gap:12px;font-size:11px;width:100%;justify-content:center}.tank-range-label select{max-width:230px;min-height:44px}
@media(min-aspect-ratio:5/4) and (max-height:600px){.tank-game .green-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px}.tank-game .tank-angle-control{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:0;align-items:stretch}.tank-game .tank-angle-control input{min-height:30px;width:100%}.tank-game:not(:has(select)) .tank-angle-control{grid-column:1/-1;flex-direction:row;align-items:center}.tank-range-label{grid-column:2;grid-row:1;gap:0;flex-direction:column;align-items:stretch}.tank-range-label select{width:100%;min-height:32px;font-size:10px}.tank-game .tank-power-meter{grid-column:1/-1;grid-row:2}.tank-game .tank-actions{grid-column:1/-1;grid-row:3}.tank-game .green-instruction{font-size:11px;line-height:1.4;margin:5px 0}.tank-game .green-status{font-size:10px;line-height:1.35;min-height:0;margin:5px 0}}

/* Keep the actual yard large on short phones; put practice settings beside the angle. */
.tank-game .green-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;align-items:end}
.tank-game .tank-angle-control{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:stretch;gap:2px;min-width:0;width:100%}
.tank-game .tank-angle-control input{width:100%;min-height:44px}
.tank-game:not(:has(select)) .tank-angle-control{grid-column:1/-1;flex-direction:row;align-items:center}
.tank-game .tank-range-label{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:stretch;gap:2px;min-width:0}
.tank-game .tank-range-label select{width:100%;min-width:0;font-size:10px}
.tank-game .tank-power-meter{grid-column:1/-1;grid-row:2}
.tank-game .tank-actions{grid-column:1/-1;grid-row:3}
.tank-game .green-status{height:32px;min-height:32px;margin:4px 0;font-size:10px;line-height:1.4;-webkit-line-clamp:2}
@media(min-aspect-ratio:5/4) and (max-height:600px){.tank-game .tank-angle-control input,.tank-game .tank-range-label select{min-height:32px}.tank-game .green-status{height:auto;min-height:0}}
.tank-game .tank-angle-control input,.tank-game .tank-range-label select{min-height:44px}
/* Poppy’s two-tap finale: one button locks angle, then speed. */
.putt-game .board-space{display:grid;place-items:center;overflow:hidden}
.garden-putt-canvas{display:block;max-width:100%;max-height:100%;border-radius:15px;touch-action:manipulation}
.putt-game .green-hud{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:32px}
.putt-game .green-hud>b{font-size:11px;letter-spacing:0;white-space:nowrap}
.putt-game .green-hud>span{font-size:10px;text-align:right;letter-spacing:0}
.putt-hole-label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px;align-items:center;font-size:10px;min-width:0}
.putt-hole-label select{width:100%;min-width:0;min-height:44px;font-size:10px}
.putt-game .green-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;align-items:center}
.putt-setting{display:flex;flex-wrap:wrap;align-items:center;gap:0 5px;min-width:0;font-size:11px;line-height:1.5;text-align:left}
.putt-setting output{margin-left:auto;font-size:11px;font-weight:700;white-space:nowrap;color:#315f48}
.putt-meter{position:relative;width:100%;height:26px;margin-top:5px;border-radius:8px;background:#e2e8d3;border:1px solid #c2cbb3;overflow:hidden}
.putt-meter i{position:absolute;top:4px;bottom:4px;width:4px;margin-left:-2px;border-radius:3px;background:#7c8874}
.putt-setting.is-active .putt-meter{background:#dce9c6;border-color:#4d7956}
.putt-setting.is-active .putt-meter i{background:#24583e}
.putt-setting.is-active>span{font-weight:800;color:#24583e}
.putt-actions .primary{min-width:134px}
.putt-actions{grid-column:1/-1;display:flex;gap:12px;justify-content:center;align-items:center}
.putt-actions button{min-height:44px}
.putt-game .green-status{height:32px;min-height:32px;margin:4px 0;font-size:10px;line-height:1.4;-webkit-line-clamp:2}
@media(min-aspect-ratio:5/4) and (max-height:600px){.putt-game .green-instruction{font-size:11px;line-height:1.4;margin:5px 0}.putt-game .green-status{height:auto;min-height:0;margin:4px 0}}
.putt-hole-label select{appearance:none;-webkit-appearance:none;border:1px solid #bdc5ab;border-radius:10px;padding:10px 42px 10px 12px;color:#365d46;background:#fbf8ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23566d53' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center/14px 9px}

/* Berry Vines: four generous soil tracks; native buttons retain their identity.
   Short/zoomed viewports can scroll this game locally instead of crushing it. */
.green-game-host:has(.berry-vines-game){overflow-y:auto;touch-action:pan-y;overscroll-behavior:contain}
.berry-vines-game{min-height:420px}
.berry-vines-game .green-instruction{margin:5px 0 8px}
.berry-vines-game .green-hud{min-height:36px;padding:8px 10px;gap:6px}
.berry-vines-game .vines-moves{font-size:10px;text-align:right;white-space:nowrap}
.berry-vines-game .green-status{height:42px;min-height:42px;line-height:1.4;margin:7px 0;font-size:10px}
.berry-vines-game .green-tools{display:grid;grid-template-columns:repeat(2,minmax(44px,.7fr)) minmax(100px,1.35fr);gap:6px}
.berry-vines-game .green-tools:has(>[data-action="next"]){grid-template-columns:repeat(2,minmax(44px,.7fr)) minmax(64px,1fr) minmax(90px,1.3fr)}
.berry-vines-game .green-tools button{padding:7px 2px;min-width:44px;min-height:44px;font-size:11px;line-height:1.2}
.berry-vines-game .assistance-strip{display:contents}
.berry-vines-game .assistance-count{grid-column:1/-1;grid-row:1;justify-self:center;color:var(--muted,#687860);font:600 12px/1.3 system-ui,sans-serif;white-space:nowrap}
.berry-vines-game .board-space{flex:1 0 192px;min-height:192px;overflow:visible}
.vines-board{position:relative;isolation:isolate;box-sizing:border-box;width:var(--green-board-size,320px);height:var(--green-board-size,320px);max-width:100%;max-height:100%;border-radius:24px;border:1px solid #b1bea0;background:radial-gradient(ellipse at 15% 8%,#f6f1d8 0,transparent 52%),linear-gradient(145deg,#e6e7ca,#c9d8b3);box-shadow:inset 0 0 0 6px #f8f4df77,inset 0 -12px 22px #7e9a6c12;touch-action:manipulation;container-type:inline-size}
.vines-board::before{content:"";position:absolute;inset:8px;border:1px solid #9ba88944;border-radius:17px;pointer-events:none}
.vines-strands,.vines-soil,.vines-stakes{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.vines-soil{z-index:0}.vines-strands{z-index:1;overflow:visible}.vines-stakes{z-index:2}
.vines-lines line{stroke:#64805a;stroke-width:1.35;stroke-linecap:round;transition:stroke .15s}
.vines-lines line.is-tangled{stroke:#a67648;stroke-dasharray:2.5 1}
.vines-lines line.is-connected{stroke-width:2;stroke:#385f45;stroke-dasharray:none}
.vines-knots circle{fill:#fff4cf;stroke:#9a603f;stroke-width:.65}.vines-knots path{stroke:#995e3d;stroke-width:.5;fill:none}
.vines-board button{position:absolute;transform:translate(-50%,-50%);width:23%;height:23%;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:none;display:grid;place-items:center;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.vines-board button:focus-visible{outline:3px solid #315f48;outline-offset:-2px}
.vines-board .vines-spot[hidden]{display:none}
.vines-spot>span{width:21%;height:21%;border-radius:50%;background:#a7b58d;box-shadow:inset 0 2px 2px #66825b33,0 1px #fff9de88;border:1px solid #9eac85;pointer-events:none}
.vines-spot.is-destination>span{width:50%;height:50%;border:1.5px dashed #57744d;background:#f5f2d3a6;box-shadow:none}
.vines-spot.is-hint>span{width:64%;height:64%;border:3px solid #996b30;background:#fff4c7;box-shadow:0 0 0 3px #fffbedbb}
.vines-stake svg{width:75%;height:75%;overflow:visible;filter:drop-shadow(0 2px 1px #51604433);pointer-events:none}
.vines-stake b{position:absolute;left:70%;top:72%;transform:translate(-50%,-50%);width:1.3em;height:1.3em;display:grid;place-items:center;border:1px solid #b59768;border-radius:50%;background:#fff4d6;font:800 clamp(11px,3.8cqw,18px)/1 system-ui;color:#624934;pointer-events:none}
.vines-stake.is-touched::after{content:"";position:absolute;inset:13%;border:2px dashed #9a603f;border-radius:50%;pointer-events:none}
.vines-stake.is-selected{background:#fff0bcbd;box-shadow:inset 0 0 0 2px #7d8d56}
.vines-stake.is-hint{box-shadow:inset 0 0 0 3px #996b30;background:#fff4c7}
.vines-board.is-clear{box-shadow:inset 0 0 0 5px #9ab77c80,0 0 0 2px #71976455}
.vines-board.is-clear .vines-stake svg{animation:vines-ripe .5s ease-out}
@keyframes vines-ripe{50%{transform:scale(1.15) rotate(-5deg)}}
@media(max-width:360px){.berry-vines-game .green-hud b{font-size:12px}.berry-vines-game .vines-moves{font-size:9px}}
@media(min-aspect-ratio:5/4) and (max-height:600px){.berry-vines-game{min-height:235px;column-gap:16px}.berry-vines-game .board-space{min-height:210px}.berry-vines-game .green-status{height:auto;min-height:32px}.berry-vines-game .green-tools{gap:4px}}
@media (max-width:300px), (min-aspect-ratio:5/4) and (max-height:600px) {
 .berry-vines-game .green-tools:has(>[data-action="next"]){grid-template-columns:repeat(2,minmax(44px,1fr))}
}
@media(prefers-reduced-motion:reduce){.vines-lines line{transition:none}.vines-board.is-clear .vines-stake svg{animation:none}}
