.zen-zone {
  --zen-ink: #354837;
  --zen-border: #d9d9be;
  --zen-padding: clamp(15px, 4vw, 27px);
  margin-top: 16px;
  border: 1px solid var(--zen-border);
  border-radius: 18px;
  background: #faf6e9;
  color: var(--zen-ink);
}
.zen-intro {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px var(--zen-padding);
  border-radius: inherit;
  list-style: none;
}
.zen-intro::-webkit-details-marker { display: none; }
.zen-intro:hover { background: #eff0e2; }
.zen-intro::after {
  width: 10px;
  height: 10px;
  margin-inline: auto 3px;
  border: solid #718363;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
  content: "";
}
.zen-zone[open] > .zen-intro::after { transform: translateY(3px) rotate(225deg); }
.zen-label { font: 400 clamp(28px, 6vw, 36px)/1.1 var(--serif); }
.zen-content { padding: 4px var(--zen-padding) var(--zen-padding); }
.zen-lotus {
  position: relative;
  width: 46px;
  height: 39px;
  border-bottom: 1px solid #9a9d75;
  border-radius: 50%;
}
.zen-lotus::before,
.zen-lotus::after,
.zen-lotus span {
  position: absolute;
  bottom: 7px;
  left: 15px;
  width: 16px;
  height: 25px;
  transform-origin: center bottom;
  border: 1px solid #ac7864;
  border-radius: 100% 0 100% 0;
  background: #f4c8b8;
  content: "";
}
.zen-lotus::before { transform: rotate(-65deg); }
.zen-lotus::after { transform: rotate(12deg); }
.zen-lotus span { z-index: 1; transform: rotate(-27deg); }
.zen-zone h3 { font: 400 clamp(22px, 4vw, 27px)/1.2 var(--serif); }
.zen-zone p { margin-top: 4px; font-size: 14px; }
.zen-tray {
  --zen-tray-photo: url("./jardin-zen.webp");
  position: relative;
  isolation: isolate;
  aspect-ratio: 3 / 2;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 11px;
  background: #e2ccb0 var(--zen-tray-photo) center / 100% 100% no-repeat;
  box-shadow: 0 4px 10px #64432828;
}
.zen-tray:has(canvas:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
.zen-tray canvas,
.zen-pebbles { position: absolute; inset: 0; width: 100%; height: 100%; }
.zen-tray canvas {
  clip-path: inset(5% 4% round 6px);
  cursor: crosshair;
  touch-action: none;
  user-select: none;
}
.zen-pebbles {
  background: var(--zen-tray-photo) center / 100% 100% no-repeat;
  mask-image:
    radial-gradient(ellipse 5.8% 6.7% at 79% 17.5%, #000 89%, transparent),
    radial-gradient(ellipse 7.4% 7.9% at 87.5% 25%, #000 89%, transparent),
    radial-gradient(ellipse 8.1% 8.5% at 80.7% 37.1%, #000 89%, transparent);
  pointer-events: none;
}
.zen-rake {
  position: absolute;
  z-index: 1;
  width: 5.6%;
  height: 17.5%;
  transform: translate(-50%, -93%) rotate(var(--zen-rake-angle, 135deg));
  transform-origin: 50% 93%;
  filter: drop-shadow(1px 2px 1px #58371f68);
  pointer-events: none;
}
.zen-rake::before, .zen-rake::after, .zen-rake-tines i {
  position: absolute;
  border-radius: 2px;
  background: linear-gradient(105deg, #c49862, #92613b);
  content: "";
}
.zen-rake::before { inset: 0 42% 12%; }
.zen-rake::after { inset: 81% 0 10%; background: linear-gradient(#d3ad76, #9a633a); }
.zen-rake-tines { position: absolute; inset: 87% 4% 0; display: flex; justify-content: space-between; }
.zen-rake-tines i { position: static; width: 11%; }
.zen-garden-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.zen-zone button {
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #c8cfb8;
  border-radius: 8px;
  background: #fffdf6;
  font-weight: 650;
  cursor: pointer;
}
.zen-zone button:hover:not(:disabled) { background: #e8eddf; }
.zen-zone button:disabled { opacity: .6; cursor: default; }
.zen-breath {
  display: grid;
  grid-template-columns: 63px minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 3vw, 22px);
  margin-top: 19px;
  padding: 13px clamp(10px, 3vw, 17px);
  border: 1px solid #d5dcca;
  border-radius: 13px;
  background: #edf0e5;
}
.zen-breath-rail {
  height: 158px;
  padding: 24px 0;
  border: 1px solid #d7dcc8;
  border-radius: 25px;
  background: #f8f8ee;
}
.zen-breath-path { position: relative; width: 100%; height: 100%; }
.zen-breath-path::before {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 2px;
  border-radius: 2px;
  background: #bfc8ae;
  content: "";
}
.zen-feather {
  position: absolute;
  inset-inline-start: 50%;
  bottom: var(--zen-feather-position, 0%);
  width: 46px;
  height: 46px;
  object-fit: contain;
  transform: translate(-50%, 50%);
  filter: drop-shadow(1px 2px 1px #70533a38);
}
.zen-breath-phase { min-height: 1.5em; color: #6e4d38; font-weight: 700; }
.zen-breath button { margin-top: 5px; border-color: #4c674c; background: #3e5c46; color: #fffdf6; }
.zen-breath button:hover:not(:disabled) { background: #506b52; }
