.st-room { --st-ink: #2d4634; --st-edge: #d0ddc6; color: var(--st-ink); max-width: 64rem; margin: 0 auto; padding: clamp(.65rem, 2vw, 1.4rem); font-family: inherit; word-break: keep-all; }
.st-room *, .st-room *::before, .st-room *::after { box-sizing: border-box; }
.st-room [hidden] { display: none !important; }
.st-room button { min-height: 2.8rem; margin: 0; padding: .45rem .8rem; border: 1px solid var(--st-edge); border-radius: .85rem; background: #fffcf4; color: var(--st-ink); font-family: inherit; font-size: .96rem; font-weight: 750; line-height: 1.35; cursor: pointer; touch-action: manipulation; }
.st-room button:disabled { opacity: .55; cursor: default; }
.st-room button:focus-visible { outline: 3px solid #20699d; outline-offset: 3px; }
.st-room h1:focus, .st-garden-header h2:focus { outline: 0; }
.st-room button:hover:not(:disabled) { border-color: #65906a; }
.st-navigation, .st-garden-header, .st-pad-tools, .st-garden-actions, .st-colors, .st-stamps { display: flex; align-items: center; gap: .45rem; }
.st-navigation, .st-garden-header { justify-content: space-between; gap: .65rem; }
.st-turn, .st-counter { display: inline-block; padding: .4rem .8rem; border-radius: 2rem; background: #e8efdd; color: #38593c; font-weight: 750; font-size: .92rem; }
.st-header { margin: .8rem 0 1rem; text-align: center; }
.st-header h1 { margin: 0; font-size: clamp(1.65rem, 4vw, 2.45rem); line-height: 1.25; }
.st-header p { margin: .3rem 0 0; font-size: 1rem; color: #4c634c; }
.st-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); gap: clamp(.65rem, 2vw, 1.25rem); align-items: start; }
.st-tools, .st-garden { border: 1px solid #d7dfce; border-radius: 1.4rem; background: #fffef8; padding: clamp(.8rem, 2vw, 1.4rem); box-shadow: 0 5px 20px #5368480b; }
.st-pad { position: relative; width: min(100%, 16rem); margin-inline: auto; aspect-ratio: 1; border: 2px dashed #c0c9b1; border-radius: 1rem; overflow: hidden; background-color: #fffcf0; background-image: radial-gradient(#d6d8bf 1px, transparent 1.3px); background-size: 15px 15px; }
.st-pad:has(canvas:active) { border-color: #739371; }
.st-pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.st-placeholder { position: absolute; inset: 0; pointer-events: none; display: grid; place-content: center; text-align: center; color: #667956; }
.st-placeholder span { color: #997445; font-size: 3rem; line-height: 1.12; }
.st-placeholder strong { font-size: 1rem; background: #fffdf0; }
.st-pad-tools { margin: .55rem 0 .8rem; justify-content: center; flex-wrap: wrap; }
.st-room .st-light { border-radius: 1.5rem; background: #fffef9; }
.st-subtitle { font-size: 1rem; margin: .8rem 0 .35rem; }
.st-stamps, .st-colors { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.st-colors { grid-template-columns: repeat(4,minmax(0,1fr)); }
.st-room .st-stamp { display: grid; place-items: center; gap: .15rem; background: #f4f5e9; padding: .37rem .2rem; }
.st-stamp span { font: 800 1.4rem/1.1 'Segoe UI Symbol', sans-serif; }
.st-room .st-swatch { display: flex; align-items: center; justify-content: center; gap: .25rem; padding: .35rem .16rem; white-space: nowrap; }
.st-swatch i { width: .85rem; height: .85rem; border-radius: 50%; border: 1px solid #0003; }
.st-room :is(.st-stamp,.st-swatch)[aria-pressed=true] { border-color: #396f4d; box-shadow: inset 0 0 0 1.5px #396f4d; background: #edf4e4; }
.st-feedback { margin: .9rem 0 .65rem; line-height: 1.45; color: #365b43; font-weight: 650; }
.st-room .st-plant { background: #336e51; border-color: #336e51; color: white; width: 100%; min-height: 3rem; font-size: 1.08rem; }
.st-garden-header { margin: .1rem 0 .75rem; }
.st-garden-header h2 { margin: 0; font-size: clamp(1.17rem, 2.4vw, 1.55rem); }
.st-plot { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: repeat(2,1fr); list-style: none; margin: 0; padding: clamp(3.4rem, 7vw, 5.6rem) .6rem .85rem; min-height: 16rem; aspect-ratio: 1.22; border-radius: 1.1rem; border: 1px solid #c6d8b9; background: radial-gradient(ellipse 16% 7% at 17% 9%, #fffdf6 98%, transparent 100%), radial-gradient(ellipse 11% 5% at 88% 13%, #fffdf6 98%, transparent 100%), linear-gradient(175deg,#d7eee9 24%,#dcecc6 24.4%,#bbd5a3 58%,#a4c58b 100%); }
.st-plot::before { content: ''; position: absolute; right: 10%; top: 3%; width: 2.5rem; height: 2.5rem; z-index: -1; border-radius: 50%; background: #f3d584; }
.st-plot li { align-self: end; position: relative; margin: 0 auto; width: 88%; height: 94%; display: flex; align-items: flex-start; justify-content: center; }
.st-plot li::after { content: ''; position: absolute; bottom: .4rem; width: 60%; height: .65rem; border-radius: 50%; background: #60783f4d; z-index: -1; }
.st-flower::before { content: ''; position: absolute; left: calc(50% - 2px); top: 40%; bottom: .65rem; width: 5px; border-radius: 1rem; background: #44744e; }
.st-blossom { display: grid; place-items: center; position: absolute; top: 2%; width: 100%; height: 63%; font: 900 clamp(2.7rem, 6.5vw, 4.3rem)/1 'Segoe UI Symbol', sans-serif; text-shadow: 0 2px #fff8; }
.st-blossom::before, .st-blossom::after { content: ''; position: absolute; width: 16%; height: 15%; background: #568858; }
.st-blossom::before { left: 35%; top: 95%; border-radius: 0 85% 0 85%; transform: rotate(8deg); }
.st-blossom::after { left: 50%; top: 103%; border-radius: 85% 0 85% 0; transform: rotate(-8deg); }
.st-garden-actions { flex-wrap: wrap; justify-content: center; margin-top: .8rem; }
.st-offline { margin: .8rem .1rem .05rem; color: #52664b; font-size: .96rem; line-height: 1.5; }
@media (max-width: 42rem) {
  .st-layout { grid-template-columns: minmax(0,1fr); }
  .st-tools { display: grid; }
  .st-pad { width: min(100%, 13rem); }
  .st-plot { width: min(100%, 25rem); margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .st-room * { transition: none !important; animation: none !important; } }
