/* Loaded only by game pages. Keep gameplay gestures separate from page selection. */
html,body,body *{
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
  -webkit-tap-highlight-color:transparent;
}
img,a{-webkit-user-drag:none}
/* Naming and editing fields still accept the keyboard and normal text editing. */
body input:not([type=button]):not([type=submit]):not([type=range]):not([type=checkbox]):not([type=radio]),body textarea,body [contenteditable=true]{
  -webkit-user-select:text!important;user-select:text!important;
}
.chill-fullscreen{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;
  min-width:40px;min-height:36px;padding:6px 10px;border:1px solid #d5e0d4;border-radius:10px;
  background:#fff;color:#31534a;font:600 12px 'Segoe UI','Microsoft JhengHei',sans-serif;cursor:pointer;
  touch-action:manipulation;
}
.chill-fullscreen:hover{background:#e5eee0}
.chill-fullscreen:focus-visible{outline:3px solid #d79c35;outline-offset:-3px}
.chill-fullscreen:disabled{opacity:.55;cursor:wait}
.chill-fullscreen svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.chill-fullscreen .chill-shrink,.chill-fullscreen[aria-pressed=true] .chill-expand{display:none}
.chill-fullscreen[aria-pressed=true] .chill-shrink{display:block}
.chill-display-status{
  position:fixed;left:50%;bottom:calc(75px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:500;
  width:max-content;max-width:calc(100vw - 32px);padding:12px 17px;border-radius:12px;
  background:#213c40ee;color:#fff;font:14px/1.6 'Segoe UI','Microsoft JhengHei',sans-serif;
  text-align:center;pointer-events:none;box-shadow:0 5px 24px #0002;
}
.chill-display-status[hidden]{display:none}
.chill-coloring .wordmark{margin-inline:auto}
.chill-coloring .chill-fullscreen-label{display:none}
.chill-coloring .chill-fullscreen{background:transparent;border-color:transparent;min-height:40px}
@media(max-width:600px){.garden-toolbar .chill-fullscreen{min-width:40px;padding:6px}.garden-toolbar .chill-fullscreen-label{display:none}}
@media(max-height:500px){.garden-toolbar .chill-fullscreen{min-height:30px;height:30px}}
@media(max-width:620px),(max-width:960px) and (max-height:520px){
  body.chill-coloring{grid-template-columns:40px minmax(0,1fr) repeat(4,40px)}
  .chill-coloring h1{font-size:clamp(14px,4.2vw,17px)}
  .chill-coloring .back{min-width:40px}
  .chill-coloring .chill-fullscreen{grid-area:1/5;align-self:center;justify-self:center;padding:6px;width:40px;min-width:40px}
  .chill-coloring #help-open{grid-area:1/6;padding:6px;min-width:40px}
}
