/* ---------------------------------------------------------------------------
   Rain Garden, a portrait page.

   Same tokens as Soft Throw (Motion Lab's paper, inks and six fills), copied
   so the page stands alone. The garden tile follows the Rain card: a pale
   slab on the warm card, azure rain and pills in azure on a light tint.
--------------------------------------------------------------------------- */

:root{
  color-scheme:light;
  --bg:#fefdf9;
  --surface:#f5f4f0;
  --surface-2:#ecebe4;
  --line:#dedad7;
  --line-soft:#eeebe9;
  --ink:#1e1b19;
  --ink-2:#39332f;
  --ink-3:#8e8781;
  --c1:#01b6ff;   /* azure  */
  --c2:#cc9fd2;   /* orchid */
  --c3:#fe7236;   /* orange */
  --c4:#24cc71;   /* green  */
  --c5:#fafd5d;   /* yellow */
  --c6:#94b8ac;   /* sage   */
  --ok:#1f9d58;
  --sky:#d9f0f6;  /* the Rain card's pill tint */
  --shadow-2:0 2px 10px rgba(0,0,0,.07), 0 30px 70px rgba(0,0,0,.14);
  --r-m:18px;
  --r-l:24px;
  --e-standard:cubic-bezier(.2,0,0,1);
  --e-spring:cubic-bezier(.34,1.56,.64,1);
  --font:-apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
         "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --wiggle:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 7' preserveAspectRatio='none'%3E%3Cpath d='M2 4.8C11 2.7 21 5.2 30 3.4 39 1.6 48 4.4 56 2.6' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;height:100%;background:var(--bg);color:var(--ink);font-family:var(--font);
  -webkit-text-size-adjust:100%;overscroll-behavior:none}
body{
  background-image:radial-gradient(var(--line) 1.1px, transparent 1.3px);
  background-size:22px 22px;
  -webkit-user-select:none;user-select:none;-webkit-touch-callout:none;
  -webkit-tap-highlight-color:transparent;
}
button{font:inherit;color:inherit}

.app{
  height:100vh;height:100dvh;
  width:min(100vw, 560px);margin:0 auto;
  display:grid;grid-template-rows:auto 1fr auto;gap:8px;
  padding:calc(env(safe-area-inset-top,0px) + 8px) calc(env(safe-area-inset-right,0px) + 12px)
          calc(env(safe-area-inset-bottom,0px) + 10px) calc(env(safe-area-inset-left,0px) + 12px);
  background:var(--bg);
}
@media (min-width:600px){ .app{box-shadow:0 0 0 1px var(--line-soft)} }

/* --- header ------------------------------------------------------------- */
.hud{display:flex;align-items:center;gap:6px;min-height:40px}
.hud__title{margin:0 auto 0 2px;font-size:19px;font-weight:800;letter-spacing:-.01em;line-height:1;
  position:relative;padding-bottom:13px}
.hud__title::after{content:"";position:absolute;left:0;bottom:0;width:46px;height:7px;background:var(--ink);
  -webkit-mask:var(--wiggle) center/100% 100% no-repeat;mask:var(--wiggle) center/100% 100% no-repeat}
.hud__title span{font:400 11px/1 var(--mono);color:var(--ink-3);margin-left:8px;letter-spacing:.04em}

.pill{appearance:none;border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:5px;
  min-height:38px;padding:0 13px;border-radius:999px;background:var(--surface);color:var(--ink);
  font-size:13.5px;font-weight:600;white-space:nowrap;
  transition:background .12s var(--e-standard),transform .2s var(--e-spring)}
.pill:active{transform:scale(.96)}
.pill[aria-pressed="false"]{color:var(--ink-3);text-decoration:line-through;text-decoration-thickness:1.5px}
.pill--ink{background:var(--ink);color:var(--bg)}
.pill--rain{background:var(--c1);color:#fff}
.pill.is-nudge{box-shadow:inset 0 0 0 2px var(--c3);animation:nudge 1.6s ease-in-out infinite}
.pill:disabled{opacity:.4;cursor:default}
@keyframes nudge{50%{box-shadow:inset 0 0 0 2px var(--c3),0 0 0 4px rgba(254,114,54,.18)}}

/* --- level strip -------------------------------------------------------- */
/* fifteen levels: a strip that scrolls sideways, the current one kept in view */
.levels{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;
  margin:0 -12px;padding:0 12px}
.levels::-webkit-scrollbar{display:none}
.lv{flex:0 0 auto;min-width:44px;appearance:none;border:0;cursor:pointer;min-height:32px;padding:0 8px;border-radius:999px;
  background:var(--surface);color:var(--ink-2);font:600 12px/1 var(--mono);
  display:flex;align-items:center;justify-content:center;gap:3px;white-space:nowrap}
.lv[aria-current="true"]{background:var(--ink);color:var(--bg)}
.lv.is-done::after{content:"✓";color:var(--ok);font-weight:800;font-family:var(--font)}
.lv[aria-current="true"].is-done::after{color:var(--c4)}

/* --- the garden tile ---------------------------------------------------- */
.stage{position:relative;min-height:0;border-radius:var(--r-l);background:var(--surface);overflow:hidden}
.stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}
.stage canvas.is-tool{cursor:crosshair}
.tile-label{position:absolute;left:18px;top:15px;right:46%;display:flex;flex-direction:column;gap:4px;pointer-events:none}
.tile-label b{font-size:20px;font-weight:500;color:var(--ink-2);letter-spacing:-.01em}
.tile-label span{font-size:12.5px;color:var(--ink-3)}
.tile-meta{position:absolute;right:14px;top:14px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;pointer-events:none}
.tile-meta__how{font:400 13px/1.2 var(--mono);color:var(--ink-3);white-space:nowrap}
.tile-meta__pills{display:flex;gap:6px}
.sky{display:inline-flex;align-items:center;height:30px;padding:0 13px;border-radius:999px;background:var(--sky);
  color:var(--c1);font:600 13.5px/1 var(--mono);white-space:nowrap;transition:opacity .2s}
.sky.is-off{opacity:.45}

/* the forecast: one bar per phase, its width the duration, its height the
   intensity; the hatched tail is the dry watch before the garden is judged */
.timeline{position:absolute;left:16px;right:16px;bottom:12px;height:34px;display:flex;align-items:flex-end;gap:3px;pointer-events:none}
.tl-seg{position:relative;height:100%;display:flex;flex-direction:column;justify-content:flex-end;min-width:0}
.tl-bar{border-radius:5px;background:rgba(1,182,255,.28)}
.tl-seg.is-now .tl-bar{background:var(--c1)}
.tl-seg--watch .tl-bar{background:repeating-linear-gradient(135deg,var(--line) 0 3px,transparent 3px 6px);height:4px}
.tl-seg i{position:absolute;left:2px;bottom:calc(100% - 10px);font:400 10px/1 var(--mono);font-style:normal;color:var(--ink-3);white-space:nowrap}
.tl-head{position:absolute;top:-2px;bottom:-3px;width:2px;border-radius:2px;background:var(--ink);left:0;transition:none}

.hint{position:absolute;left:12px;right:12px;top:74px;margin:0;padding:10px 14px;border-radius:var(--r-m);
  background:rgba(254,253,249,.95);box-shadow:0 0 0 1px var(--line);font-size:13px;line-height:1.55;color:var(--ink-2);
  pointer-events:none}
.hint b{color:var(--ink)}
.hint.is-done{background:var(--ok);color:#fff;box-shadow:none;font-weight:700;text-align:center}

/* the plant card: a new kind's lesson, or the hint panel */
.card{position:absolute;left:12px;right:12px;top:66px;max-height:calc(100% - 132px);overflow:auto;
  padding:16px 16px 14px;border-radius:var(--r-l);background:var(--bg);box-shadow:var(--shadow-2);
  animation:cardIn .4s var(--e-spring) both}
@keyframes cardIn{from{opacity:0;transform:translateY(-8px) scale(.97)}}
.card[hidden]{display:none}
.card__new{display:inline-block;font:600 11px/1 var(--mono);font-style:normal;color:var(--c3);margin-bottom:8px}
.card__head{display:flex;align-items:center;gap:10px}
.card__head svg{width:44px;height:44px;flex:none}
.card__head b{font-size:20px}
.card p{margin:10px 0 0;font-size:14px;line-height:1.55;color:var(--ink-2)}
.card p.card__small{font-size:13px;margin-top:6px}
.card dl{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;margin:10px 0 0;font-size:12.5px}
.card dt{color:var(--ink-3)}
.card dd{margin:0;color:var(--ink-2)}
.card__mini + .card__mini{margin-top:12px;padding-top:12px;border-top:1px solid var(--line-soft)}
.card__mini .card__head svg{width:32px;height:32px}
.card__mini .card__head b{font-size:16px}
.card__hints p{margin-top:10px;padding:8px 10px;border-radius:12px;background:var(--surface);font-size:13px}
.card__act{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}

.toast{position:absolute;left:50%;top:70px;transform:translateX(-50%);width:min(88%,330px);
  display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px 18px 16px;border-radius:var(--r-l);
  background:var(--ink);color:var(--bg);box-shadow:var(--shadow-2);text-align:center;
  animation:pop .48s var(--e-spring) both}
.toast[hidden]{display:none}
.toast b{font-size:20px}
.toast span{font-size:13px;line-height:1.5;opacity:.8}
.toast__act{display:flex;gap:8px;margin-top:8px}
.toast button{appearance:none;border:0;cursor:pointer;min-height:40px;border-radius:999px;padding:0 16px;
  font-size:14px;font-weight:700;background:rgba(255,255,255,.14);color:inherit}
.toast button.is-main{background:var(--c5);color:#1e1b19}
@keyframes pop{from{opacity:0;transform:translate(-50%,-10px) scale(.94)}}

/* --- plants ------------------------------------------------------------- */
.plants{display:flex;gap:6px;min-height:46px}
.plant{flex:1;min-width:0;display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;column-gap:8px;row-gap:5px;
  align-items:center;padding:7px 12px 7px 8px;border-radius:16px;background:var(--surface);transition:box-shadow .2s}
.plant svg{grid-row:1 / span 2;width:30px;height:30px}
.plant__top{display:flex;align-items:baseline;gap:6px;min-width:0;font-size:12.5px;font-weight:600;color:var(--ink-2);
  white-space:nowrap;overflow:hidden}
.plant__top em{font:400 11.5px/1 var(--mono);font-style:normal;color:var(--ink-3);margin-left:auto;white-space:nowrap}
.plant__bar{position:relative;height:6px;border-radius:6px;background:var(--surface-2);overflow:hidden}
.plant__bar i{position:absolute;inset:0 auto 0 0;border-radius:6px;background:var(--c4)}
.plant__bar u{position:absolute;inset:0 0 0 auto;border-radius:6px;background:var(--c3);width:0}
.plant.is-fed .plant__top em{color:var(--ok);font-weight:700}
.plant.is-wet{box-shadow:inset 0 0 0 2px var(--c3)}
.plant.is-wet .plant__top em{color:var(--c3);font-weight:700}
.plant.is-hurt{box-shadow:inset 0 0 0 2px var(--c3);opacity:.7}
.plant.is-hurt .plant__bar i{background:var(--ink-3)}
/* a tray plant still waiting for a spot */
.plant.is-waiting{background:transparent;box-shadow:inset 0 0 0 1.5px var(--line);opacity:.7}
.plant.is-waiting .plant__bar{background:transparent}
.plant.is-waiting .plant__top em{display:none}
.pill.is-waiting{color:var(--ink-3);background:var(--surface)}

/* the forecast switch sits on the tile, above the timeline */
.forecast{position:absolute;left:14px;bottom:56px;min-height:32px;padding:0 12px;font-size:12.5px;
  background:rgba(254,253,249,.9);box-shadow:0 0 0 1px var(--line)}
.forecast[hidden]{display:none}
.forecast[aria-pressed="true"]{background:var(--c1);color:#fff;box-shadow:none;text-decoration:none}
.forecast[aria-pressed="false"]{color:var(--ink-2);text-decoration:none}

/* --- dock --------------------------------------------------------------- */
.dock{display:flex;align-items:center;gap:8px;min-height:52px;min-width:0}
.tools{display:flex;gap:5px;min-width:0;flex:1}
.tools[hidden]{display:none}
.run{display:flex;gap:6px;margin-left:auto}
.tool{appearance:none;border:0;cursor:pointer;position:relative;display:inline-flex;align-items:center;gap:5px;
  min-height:46px;min-width:0;padding:0 10px 0 6px;border-radius:16px;background:var(--surface);
  font-size:13px;font-weight:600;white-space:nowrap;transition:transform .2s var(--e-spring),box-shadow .12s}
.tool svg{width:30px;height:30px;flex:none}
/* how many are left, as a badge on the icon's corner */
.tool b{position:absolute;left:26px;top:4px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;
  font:700 10.5px/16px var(--mono);text-align:center;background:var(--ink);color:var(--bg)}
.tool.is-empty b{background:var(--surface-2);color:var(--ink-3)}
.tool.is-nudge{box-shadow:inset 0 0 0 2px var(--c3);animation:nudge 1.6s ease-in-out infinite}
/* four or more kinds in the tray: icons and counts only, the names are on
   the plant row just above */
.tools.is-many .tool{padding:0 6px;flex:1;justify-content:center}
.tools.is-many .tool span{display:none}
.tools.is-many .tool b{left:auto;right:3px}
.tool[aria-checked="true"]{box-shadow:inset 0 0 0 2.5px var(--ink);transform:translateY(-2px)}
.tool:disabled{opacity:.35;cursor:default;transform:none;box-shadow:none}

#game-err{position:fixed;left:8px;right:8px;bottom:8px;z-index:9;padding:10px 12px;border-radius:12px;
  background:#2b1d16;color:#ffd9c7;font:12px/1.45 var(--mono);white-space:pre-wrap;user-select:text}

@media (max-width:420px){
  .hud__title span{display:none}
  .hud .pill{padding:0 11px}
  .tool{padding:0 8px 0 5px;gap:3px;font-size:12px}
  .tool svg{width:26px;height:26px}
  .tool b{left:21px}
  .tile-label b{font-size:17px}
  .tile-meta__how{font-size:11.5px}
}
@media (max-height:680px){
  .plant{padding-top:5px;padding-bottom:5px}
  .tile-label span{display:none}
}
@media (prefers-reduced-motion:reduce){
  .toast,.card,.pill.is-nudge,.tool.is-nudge{animation:none}
}

/* --- puzzle version ------------------------------------------------------ */
.sky.is-warn{background:#ffe6da;color:var(--c3)}
/* the three steps of wetness, under the garden and in the hint panel */
.legend{position:absolute;left:16px;right:16px;bottom:12px;display:flex;gap:14px;justify-content:center;
  font-size:12px;color:var(--ink-2);pointer-events:none}
.legend span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.legend em{font-style:normal;font-size:10px;letter-spacing:-2px}
.legend--card{position:static;justify-content:flex-start;margin-bottom:12px}
.sw{display:inline-block;width:14px;height:14px;border-radius:4px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.sw--0{background:#f1e6cb}.sw--1{background:#d9e7c3}.sw--2{background:#a8cbb0}
.tools{justify-content:center}

/* --- bed-puzzle tray ----------------------------------------------------- */
.dock{align-items:center}
.tools{flex:1;display:flex;flex-wrap:wrap;gap:6px;justify-content:center;min-width:0}
.piece{appearance:none;border:0;cursor:grab;position:relative;display:inline-flex;align-items:center;justify-content:center;
  min-width:48px;min-height:48px;padding:4px 6px;border-radius:14px;background:var(--surface);
  touch-action:none;transition:transform .2s var(--e-spring),box-shadow .12s}
.piece svg{width:32px;height:32px}
.piece canvas{display:block;pointer-events:none}
.piece b{position:absolute;right:2px;top:2px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;
  font:700 10.5px/16px var(--mono);text-align:center;background:var(--ink);color:var(--bg)}
.piece.is-sel{box-shadow:inset 0 0 0 2.5px var(--ink);transform:translateY(-2px)}
.piece.is-nudge{box-shadow:inset 0 0 0 2.5px var(--c3);animation:nudge 1.6s ease-in-out infinite}
.tray__dir{position:absolute;left:4px;bottom:2px;font:700 11px/1 var(--mono);font-style:normal;color:var(--ok)}
#turnBtn{flex:none}
#turnBtn:disabled{opacity:.35}
@media (prefers-reduced-motion:reduce){ .piece.is-nudge{animation:none} }

/* --- the nursery: a bigger tray, easier to hit with a thumb ---------------- */
.dock{min-height:92px;padding:8px 10px;border-radius:var(--r-l);background:var(--surface);position:relative}
.dock::before{content:"苗圃";position:absolute;left:14px;top:-9px;padding:1px 8px;border-radius:8px;
  font:600 11px/16px var(--font);color:var(--ink-3);background:var(--bg)}
.tools{gap:8px}
.piece{min-width:68px;min-height:68px;padding:6px 8px;border-radius:16px;background:var(--bg);box-shadow:0 0 0 1px var(--line)}
.piece svg{width:40px;height:40px}
.piece.is-sel{box-shadow:inset 0 0 0 3px var(--ink);transform:translateY(-3px)}
#turnBtn{min-height:68px;padding:0 14px;border-radius:16px;background:var(--bg);box-shadow:0 0 0 1px var(--line)}

/* --- the nursery is a bed of soil: the pieces sit in dug pockets ------------ */
.dock{
  background:
    radial-gradient(circle, rgba(92,62,38,.38) 1.2px, transparent 1.7px) 0 0/14px 12px,
    radial-gradient(circle, rgba(255,240,214,.32) 1px, transparent 1.5px) 7px 5px/19px 15px,
    radial-gradient(circle, rgba(92,62,38,.22) 2px, transparent 2.6px) 3px 9px/31px 23px,
    linear-gradient(#c7a074, #a98059);
  box-shadow: inset 0 4px 0 #9fc48c, inset 0 8px 14px rgba(60,38,20,.18);
  padding-top:14px;
}
/* a little grass along the top edge of the bed */
.dock::after{content:"";position:absolute;left:10px;right:10px;top:-5px;height:10px;pointer-events:none;
  background:radial-gradient(ellipse 4px 7px at 50% 100%, #8fbe7c 60%, transparent 62%) 0 0/11px 10px repeat-x;opacity:.9}
.dock::before{background:#f4e8d6;color:#7a5a3c;top:-11px;z-index:1;box-shadow:0 1px 0 rgba(0,0,0,.08)}
.piece{background:rgba(96,64,38,.28);
  box-shadow:inset 0 3px 6px rgba(50,30,14,.35), 0 1px 0 rgba(255,244,226,.35)}
.piece.is-sel{background:rgba(255,248,236,.28);box-shadow:inset 0 0 0 3px #fffaf0, 0 4px 10px rgba(50,30,14,.25)}
.piece.is-nudge{box-shadow:inset 0 0 0 3px var(--c5);animation:nudge 1.6s ease-in-out infinite}
#turnBtn{background:#f4e8d6;color:#6b4c32;box-shadow:0 2px 0 rgba(60,38,20,.25)}

/* --- the home garden ---------------------------------------------------- */
.rain-btn{position:absolute;left:50%;bottom:48px;transform:translateX(-50%);min-height:44px;padding:0 18px;
  font-weight:700;box-shadow:0 6px 18px rgba(1,143,214,.28);white-space:nowrap}
.rain-btn:active{transform:translateX(-50%) scale(.96)}
.rain-btn:disabled{background:var(--surface);color:var(--ink-3);box-shadow:none;opacity:1}
.tray__empty{margin:0;padding:0 8px;font-size:12.5px;line-height:1.5;color:#fff8ec;text-align:center}
.lvlist{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;margin-top:12px}
.lvl{appearance:none;border:0;cursor:pointer;text-align:left;padding:10px 12px;border-radius:14px;
  background:var(--surface);color:var(--ink-2);display:flex;flex-direction:column;gap:4px;min-height:64px}
.lvl i{font:600 11px/1 var(--mono);font-style:normal;color:var(--ink-3)}
.lvl b{font-size:14px;color:var(--ink)}
.lvl em{font-style:normal;font-size:11.5px;color:var(--ink-3)}
.lvl.is-done em{color:var(--ok);font-weight:700}
.lvl:disabled{opacity:.5;cursor:default}
.lvl:not(:disabled):active{transform:scale(.97)}
@media (max-height:680px){ .app[data-mode="home"] .tile-label span{display:block} }
.pill[hidden]{display:none}
.hud__title{white-space:nowrap}
.app[data-mode="home"] #turnBtn:disabled{display:none}
.rain-btn.is-wait{background:var(--bg);color:var(--ink-2);box-shadow:0 0 0 1px var(--line),0 6px 18px rgba(30,27,25,.08);font-weight:600}
/* the home nursery holds up to seven kinds: smaller pockets, two rows at most */
.app[data-mode="home"] .tools{gap:6px}
.app[data-mode="home"] .piece{min-width:58px;min-height:58px;padding:4px 6px}
.app[data-mode="home"] .piece svg{width:36px;height:36px}

/* --- v0.5: the free garden ---------------------------------------------- */
.app{grid-template-rows:auto 1fr auto}
.acts{position:absolute;right:14px;bottom:44px;left:14px;display:flex;flex-wrap:wrap-reverse;justify-content:flex-end;
  gap:6px;pointer-events:none}
.acts>*{pointer-events:auto}
.next-btn{min-height:40px;padding:0 16px;font-weight:700;
  box-shadow:0 6px 18px rgba(1,143,214,.25)}
/* one tap for the whole plot: pick everything ready, sweep away what withered */
.quick-btn{min-height:40px;padding:0 12px;font-weight:600;background:rgba(254,253,249,.96);
  box-shadow:0 4px 12px rgba(31,26,20,.1);animation:cardIn .3s var(--e-spring) both}
.quick-btn b{margin-left:4px;font-variant-numeric:tabular-nums}
.next-btn:disabled{opacity:.5}
.legend{justify-content:flex-start}
.banner{top:auto;bottom:92px;text-align:center;font-weight:600;color:var(--ink);background:rgba(254,253,249,.96);
  animation:cardIn .4s var(--e-spring) both}
/* the toolbox: one row that scrolls sideways, the can first */
.dock{min-height:84px;padding:10px 8px 8px}
.tools{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;gap:6px;padding:4px 2px 2px;
  -webkit-overflow-scrolling:touch}
.tools::-webkit-scrollbar{display:none}
.tools .piece{flex:0 0 auto;min-width:56px;min-height:60px;padding:4px 6px;touch-action:pan-x}
.tools .piece svg{width:38px;height:38px}
.piece.is-empty{opacity:.45}
.piece.is-empty b{background:#c9b9a3}
/* the book: plants, gear and guests */
.card__sec{margin:16px 0 0;font-size:13px;color:var(--ink-3);font-weight:600}
.book{display:grid;grid-template-columns:1fr;gap:8px;margin-top:8px}
.book--guests{grid-template-columns:1fr 1fr}
.book__it{display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto auto;column-gap:10px;row-gap:2px;
  padding:8px 10px;border-radius:14px;background:var(--surface);align-items:center}
.book__it svg,.book__it i{grid-row:1 / span 3;width:36px;height:36px;font-style:normal;font-size:24px;
  display:flex;align-items:center;justify-content:center}
.book__it b{font-size:14px}
.book__it em{font-style:normal;font-size:12px;color:var(--ok);font-weight:600}
.book__it span{font-size:12px;line-height:1.45;color:var(--ink-2)}
.book__it.is-locked{opacity:.6}
.book__it.is-locked i{color:var(--ink-3);font-weight:700}
.book__it.is-locked em{color:var(--ink-3);font-weight:400}
.card dl{grid-template-columns:auto 1fr}
.dock::before{content:"工具箱"}
.tile-meta{max-width:58%}
.tile-meta__how{white-space:normal;text-align:right;font:500 12px/1.4 var(--font);color:var(--ink-2)}
/* a long card scrolls inside itself; its buttons stay in view at the bottom */
.card{overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding-bottom:0}
.card__act{position:sticky;bottom:0;margin:14px -16px 0;padding:10px 16px 14px;
  background:linear-gradient(rgba(254,253,249,0),var(--bg) 30%)}
/* the short entry a toolbox tap shows, just above the toolbox */
.tip{position:absolute;left:10px;right:10px;bottom:8px;z-index:2;appearance:none;border:0;cursor:pointer;text-align:left;
  display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:16px;background:var(--bg);
  box-shadow:0 0 0 1px var(--line),0 8px 24px rgba(30,27,25,.12);animation:tipIn .3s var(--e-spring) both}
.tip[hidden]{display:none}
.tip svg{width:40px;height:40px;flex:none}
.tip span{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;row-gap:2px}
.tip b{font-size:15px}
.tip em{font-style:normal;font-size:12px;color:var(--ink-3)}
.tip i{flex-basis:100%;font-style:normal;font-size:12.5px;font-weight:600;color:var(--ok)}
.tip u{flex-basis:100%;text-decoration:none;font-size:12.5px;color:var(--ink-2)}
.tip small{flex:none;font-size:12px;color:var(--c1);font-weight:600}
@keyframes tipIn{from{opacity:0;transform:translateY(8px)}}
.tip{right:122px}
/* damp a fresh yellow-green, wet a deep teal: easy to tell apart */
.sw--1{background:#dcebb4}.sw--2{background:#7fb5a9}
/* plants in trouble: chips under the day, off the garden */
.trouble{position:absolute;left:14px;top:66px;right:40%;z-index:1;display:flex;flex-wrap:wrap;gap:4px}
.trouble[hidden]{display:none}
.chip{appearance:none;border:0;cursor:pointer;display:inline-flex;align-items:center;gap:3px;height:26px;padding:0 7px 0 3px;
  border-radius:13px;background:rgba(254,253,249,.95);box-shadow:0 0 0 1px var(--line);font-size:11px;color:var(--ink-2)}
.chip svg{width:20px;height:20px}
.chip i{font-style:normal;color:#f2779d;letter-spacing:-1px;font-size:11px}
.chip i s{text-decoration:none;color:rgba(30,27,25,.18)}
.chip em{font-style:normal;color:var(--c3);font-weight:600}
.chip.is-low{box-shadow:0 0 0 1.5px var(--c3)}
.chip--more{cursor:default;padding:0 8px;color:var(--ink-3)}
/* more in the toolbox than fits: fade the side there is more on */
.tools{cursor:grab}
.tools.can-right{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
.tools.can-left{-webkit-mask-image:linear-gradient(90deg,transparent,#000 15%);mask-image:linear-gradient(90deg,transparent,#000 15%)}
.tools.can-left.can-right{-webkit-mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent);mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent)}

/* --- v0.6: plots, basket, shop, goals ------------------------------------- */
.app{grid-template-rows:auto auto 1fr auto}
.hud__title span{display:none}
.shop-btn{position:relative;font-weight:700;gap:4px}
.shop-btn b{font:700 13px/1 var(--mono)}
.shop-btn i{position:absolute;right:-4px;top:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;font:700 10.5px/17px var(--mono);
  font-style:normal;background:var(--c3);color:#fff;text-align:center}
.shop-btn.is-bump{animation:bump .4s var(--e-spring)}
@keyframes bump{40%{transform:scale(1.18)}}
.plots{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 -12px;padding:0 12px}
.plots::-webkit-scrollbar{display:none}
.plot{flex:0 0 auto;appearance:none;border:0;cursor:pointer;height:32px;padding:0 12px;border-radius:16px;background:var(--surface);
  font-size:13px;font-weight:600;color:var(--ink-2);white-space:nowrap}
.plot.is-cur{background:var(--ink);color:var(--bg)}
.plot.is-locked{color:var(--ink-3);background:transparent;box-shadow:inset 0 0 0 1.5px var(--line)}
.plot em{font-style:normal;font:600 11px/1 var(--mono);color:var(--ink-3)}
/* the crop flying to the basket, the coins falling when it is sold */
.fly{position:fixed;z-index:20;font-size:22px;font-style:normal;pointer-events:none;transform:translate(-50%,-50%);
  transition:transform .6s cubic-bezier(.5,-0.3,.7,.2),opacity .6s ease-in;margin:-11px 0 0 -11px}
.coin{position:fixed;z-index:20;font-size:18px;font-style:normal;pointer-events:none;animation:coinfall 1.2s cubic-bezier(.3,0,.6,1) both}
@keyframes coinfall{0%{opacity:0;transform:translateY(-20px) rotate(0)}15%{opacity:1}100%{opacity:0;transform:translateY(260px) rotate(540deg)}}
/* tabs, rows and milestones in the cards */
.purse{margin-left:auto;font:700 15px/1 var(--mono);color:var(--ink-2)}
.tabs{display:flex;gap:6px;margin-top:12px;overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tab{flex:0 0 auto;appearance:none;border:0;cursor:pointer;height:32px;padding:0 12px;border-radius:16px;background:var(--surface);
  font-size:13px;font-weight:600;color:var(--ink-2)}
.tab.is-cur{background:var(--ink);color:var(--bg)}
.rows{display:flex;flex-direction:column;gap:6px;margin-top:12px}
.row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;padding:8px 10px;border-radius:14px;background:var(--surface)}
.row svg,.row > i{width:30px;height:30px;flex:none;font-style:normal;font-size:22px;display:flex;align-items:center;justify-content:center}
.row b{font-size:14px}
.row b u{text-decoration:none;font-size:11px;color:#b8860b;background:#fff3c4;padding:1px 5px;border-radius:6px;margin-left:4px}
.row em{font-style:normal;font-size:12px;color:var(--ink-3)}
.row > span:not(.row__line){margin-left:auto;font:700 13px/1 var(--mono);color:var(--ink-2)}
.row__line{flex-basis:100%;font-size:12px;color:var(--ink-2);line-height:1.45}
.row.is-locked{opacity:.55}
.buy,.buyplot{appearance:none;border:0;cursor:pointer;height:30px;padding:0 10px;border-radius:15px;background:var(--c1);color:#fff;
  font-size:12px;font-weight:700}
.row .buy:first-of-type,.row .buyplot{margin-left:auto}
.buy:disabled,.buyplot:disabled{background:var(--surface-2);color:var(--ink-3);cursor:default}
.sell{width:100%;margin-top:12px;min-height:44px;font-size:15px}
.marks{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.marks u{text-decoration:none;font-size:11px;padding:2px 7px;border-radius:8px;background:var(--surface-2);color:var(--ink-3)}
.marks u.on{background:#d8f3e2;color:var(--ok);font-weight:600}
.marks u.rare{background:#fff3c4;color:#a07400}
.book__it .marks{grid-column:2}
.goals{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.goal{display:grid;grid-template-columns:1fr auto;gap:3px 8px;padding:9px 11px;border-radius:14px;background:var(--surface)}
.goal b{font-size:14px}
.goal em{font-style:normal;font:700 12px/1.6 var(--mono);color:#b8860b}
.goal span{grid-column:1 / -1;font-size:12px;color:var(--ink-2)}
.goal i{display:block;height:6px;border-radius:3px;background:var(--surface-2);overflow:hidden;align-self:center}
.goal i s{display:block;height:100%;background:var(--c4);text-decoration:none}
.goal small{font:600 11px/1 var(--mono);color:var(--ink-3)}
.goal.is-done{background:#eef8f1}
.goal.is-done b{color:var(--ok)}
.goal.is-done em{color:var(--ink-3)}

/* --- backgrounds behind the garden (bought in the shop); also used as the
   little swatches in the shop list */
.swatch{width:44px !important;height:32px !important;border-radius:9px 12px 8px 11px;border:2px solid var(--sketch);flex:none}
.stage.bg--paper,.swatch.bg--paper{background:var(--surface)}
.stage.bg--sky,.swatch.bg--sky{background:
  radial-gradient(ellipse 34px 12px at 20% 20%,#fff 92%,transparent 100%),
  radial-gradient(ellipse 46px 15px at 76% 13%,#fff 92%,transparent 100%),
  radial-gradient(ellipse 28px 10px at 58% 30%,rgba(255,255,255,.8) 92%,transparent 100%),
  linear-gradient(#cfe8ff,#eaf6ff 55%,#f3faee)}
.stage.bg--dots,.swatch.bg--dots{background:radial-gradient(#fff 2.6px,transparent 3.2px) 0 0/22px 22px,radial-gradient(#fff 2.6px,transparent 3.2px) 11px 11px/22px 22px,#cdeedd}
.stage.bg--grid,.swatch.bg--grid{background:
  linear-gradient(90deg,transparent 20px,#f3a5a5 20px,#f3a5a5 22px,transparent 22px),
  repeating-linear-gradient(0deg,#cfe1f3 0 1px,transparent 1px 18px),
  repeating-linear-gradient(90deg,#cfe1f3 0 1px,transparent 1px 18px),#fdfdf7}
.stage.bg--meadow,.swatch.bg--meadow{background:
  repeating-linear-gradient(115deg,rgba(255,255,255,.22) 0 2px,transparent 2px 7px),
  radial-gradient(ellipse 75% 26% at 18% 102%,#a6d98a 97%,transparent 100%),
  radial-gradient(ellipse 70% 22% at 88% 102%,#8fcd76 97%,transparent 100%),
  radial-gradient(ellipse 60% 18% at 50% 104%,#b8e29c 97%,transparent 100%),
  linear-gradient(#fff6df,#fdf0d2)}
.stage.bg--sunset,.swatch.bg--sunset{background:
  radial-gradient(circle at 82% 16%,#fff1a8 0 18px,rgba(255,241,168,.4) 19px 30px,transparent 31px),
  linear-gradient(#ffc6b4,#ffdcc8 45%,#fff1e2)}
.stage.bg--stars,.swatch.bg--stars{background:
  radial-gradient(#ffe98a 1.8px,transparent 2.3px) 0 0/36px 32px,
  radial-gradient(#fff 1.3px,transparent 1.8px) 18px 16px/36px 32px,
  linear-gradient(#ddd2f4,#efe8fb 60%,#f6f2fc)}
.swatch.bg--dots{background-size:12px 12px,12px 12px;background-position:0 0,6px 6px}
.swatch.bg--stars{background-size:16px 14px,16px 14px,auto;background-position:0 0,8px 7px,0 0}
.row--bg .buy:not(:disabled){font-weight:700}
/* small swatches need smaller clouds, hills and sun to read as the big one */
.swatch.bg--sky{background:radial-gradient(ellipse 9px 4px at 30% 32%,#fff 90%,transparent 100%),radial-gradient(ellipse 7px 3px at 72% 22%,#fff 90%,transparent 100%),linear-gradient(#bfe0ff,#eaf6ff)}
.swatch.bg--meadow{background:radial-gradient(ellipse 70% 40% at 20% 105%,#a6d98a 97%,transparent 100%),radial-gradient(ellipse 70% 34% at 85% 105%,#8fcd76 97%,transparent 100%),linear-gradient(#fff6df,#fdf0d2)}
.swatch.bg--sunset{background:radial-gradient(circle at 78% 30%,#fff1a8 0 5px,transparent 6px),linear-gradient(#ffc6b4,#fff1e2)}
.swatch.bg--paper{background:#f3efe9}
/* an open card sits above everything on the stage */
.card{z-index:3}
/* --- dreamy picture-book look --------------------------------------------
   No dark colours anywhere: text is a soft plum, outlines are a deeper shade
   of each button's own pastel, shadows are light coloured glows. Buttons up
   top, the plot tabs, the quick buttons and the card's close look drawn with
   a felt pen: the outline twice (once firm, once faint and a little off),
   both wobbling through an SVG filter, a crayon-stroke fill, a slight tilt */
:root{
  --ink:#5b4a6b;--ink-2:#6f5f80;--ink-3:#a99cb6;
  --line:#e8def0;--line-soft:#f3edf7;
  --sketch:#c7b3e2;
  --shadow-2:0 2px 10px rgba(150,120,190,.08),0 24px 60px rgba(150,120,190,.16)
}
.sketch-defs{position:absolute;width:0;height:0;overflow:hidden}

@font-face{font-family:"rg-title";src:url("rain-garden-title.woff2") format("woff2");font-display:swap}
.hud__title{font-family:"rg-title",var(--font);font-weight:400;font-size:25px;color:#6a5786;letter-spacing:.02em}
.hud__title::after{background:linear-gradient(90deg,#ffb5cf,#c9b4ff);width:58px}

.pill--ink{background:#ece2fd;color:var(--ink);box-shadow:inset 0 0 0 2px #cbb7ea}
.tab.is-cur,.lv[aria-current="true"]{background:#ece2fd;color:var(--ink);box-shadow:inset 0 0 0 2px #cbb7ea}
.tool b,.piece b{background:#ff9fb8;color:#fff}
.piece.is-sel{box-shadow:inset 0 0 0 2.5px #cbb7ea}
.tl-head{background:#cbb7ea}
#game-err{background:#fff0f3;color:#a35d75}

.hud .pill,.plot,.acts .pill,.card__x{
  --f:#fff7ee;--o:#e8c9a8;
  position:relative;border:0;cursor:pointer;
  background-color:var(--f);
  background-image:repeating-linear-gradient(-35deg,rgba(255,255,255,.4) 0 2px,transparent 2px 6px);
  color:var(--ink);
  border-radius:18px 13px 20px 12px / 13px 19px 12px 18px;
  box-shadow:0 3px 0 rgba(190,160,220,.22),0 6px 14px rgba(180,150,215,.16);
  transform:rotate(-.6deg);
  transition:transform .12s var(--e-spring),box-shadow .12s
}
.hud .pill:nth-of-type(even),.plot:nth-child(even),.acts .pill:nth-child(even){transform:rotate(.7deg);
  border-radius:13px 19px 12px 18px / 18px 12px 20px 13px}
.hud .pill::before,.plot::before,.acts .pill::before,.card__x::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  border:2.2px solid var(--o);border-radius:inherit;filter:url(#rg-sketch)}
.hud .pill::after,.plot::after,.acts .pill::after,.card__x::after{
  content:"";position:absolute;inset:-2px 1px 1px -1px;pointer-events:none;opacity:.55;
  border:1.3px solid var(--o);border-radius:14px 20px 12px 19px / 19px 12px 20px 14px;filter:url(#rg-sketch2)}
.hud .pill:active,.plot:active,.acts .pill:active,.card__x:active{transform:translateY(2px) rotate(0);box-shadow:0 1px 0 rgba(190,160,220,.2)}

.hud .shop-btn{--f:#fff0b8;--o:#eec45e;font-weight:700}
.hud #bookBtn{--f:#dff0ff;--o:#96c6ef}
.hud #sound{--f:#e4f7d9;--o:#a3d68e;min-width:40px}
.hud #sound[aria-pressed="false"]{--f:#f4eff7;--o:#d3c7df}
.shop-btn i{background:#ff9f8a;color:#fff;border:2px solid #fff;height:20px;line-height:16px;transform:rotate(8deg);
  box-shadow:0 2px 6px rgba(255,140,120,.35);z-index:1}

.plots{padding-top:3px;padding-bottom:6px}
.plot{--f:#fff6ec;--o:#ecc9a6;height:34px;font-weight:700}
.plot.is-cur{--f:#d2f2bf;--o:#90cd74}
.plot.is-locked{--f:transparent;color:var(--ink-3);background-image:none;box-shadow:none}
.plot.is-locked::before{border:2px dashed #dacfe5}
.plot.is-locked::after{display:none}
.plot.is-locked em{color:#b3a7c0}

.acts .next-btn{--f:#c6e8ff;--o:#7fc0ec}
.acts .quick-btn{--f:#fff3c9;--o:#ecc770}

/* close at the top right of the shop and the book; it stays put while the card scrolls */
.card__top{position:sticky;top:0;height:0;z-index:2;display:flex;justify-content:flex-end}
.card__x{--f:#ffe6f0;--o:#f2a9c5;height:34px;padding:0 12px;margin-top:-6px;font:700 14px/1 var(--font)}
.card .card__head .purse{margin-right:92px}
/* trying it out: the firm felt-pen line in a warm dark brown, like picture-book
   ink (the faint second line keeps each button's own pastel). Delete --pen to go back */
:root{--pen:#7a5238}
.hud .pill::before,.plot::before,.acts .pill::before,.card__x::before{border-color:var(--pen,var(--o))}
.plot.is-locked::before{border-color:#d6c3b6}
/* what used to be black is a dark brown now: text, the firm pen line, the title */
:root{--ink:#6b4a35;--ink-2:#7d5c46;--ink-3:#b39d8b;--pen:#6b4a35}
.hud__title{color:#6b4a35}
/* the selected plot keeps its pastel; the old dark fill must not come back */
.plot.is-cur{background-color:var(--f);color:var(--ink)}
.plot.is-locked{background-color:transparent}
/* a little less tipsy: barely tilted, the second line closer to the first */
.hud .pill,.plot,.acts .pill,.card__x{transform:rotate(-.25deg)}
.hud .pill:nth-of-type(even),.plot:nth-child(even),.acts .pill:nth-child(even){transform:rotate(.3deg)}
.hud .pill::after,.plot::after,.acts .pill::after,.card__x::after{inset:-1px 0 0 -1px}
/* the shop's tabs wrap onto two lines rather than hide off the edge */
.tabs{flex-wrap:wrap;overflow:visible}
.shop__sec{margin:14px 2px 6px;font-size:13px;font-weight:700;color:var(--ink-2)}
.facepv{width:66px;height:45px;flex:none;border-radius:10px;background:#fbf4ea}
.card__end{height:18px}
/* the sprite's looks, as little toggles */
.row--sprite .row__line{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.look{appearance:none;border:0;cursor:pointer;height:30px;padding:0 10px;border-radius:15px;background:#f6f0fb;color:var(--ink);font:600 13px/1 var(--font)}
.look.is-on{background:#e3f4ff;box-shadow:inset 0 0 0 2px #9fd0f3}
/* the watering can has its own spot at the left of the toolbox and does not scroll */
.can-slot{flex:none;display:flex;padding:4px 8px 2px 2px;margin-right:2px;position:relative}
.can-slot::after{content:"";position:absolute;right:0;top:10px;bottom:8px;border-right:2px dashed rgba(255,240,220,.45)}
.can-slot .piece{flex:0 0 auto;min-width:56px;min-height:60px;padding:4px 6px}
.can-slot .piece svg{width:38px;height:38px}
.dock{gap:4px}
.stage .facepv{position:static;inset:auto;width:66px;height:45px;touch-action:auto}
/* the next-day button, brighter: a clear sky blue with a soft glow */
.acts .next-btn{--f:#8fd6ff;box-shadow:0 3px 0 rgba(90,180,240,.25),0 0 0 4px rgba(170,225,255,.35),0 8px 18px rgba(90,180,240,.28)}
.acts .next-btn::after{border-color:#e9f7ff;opacity:.9}

/* --- picture-book lettering, picked in the shop (html[data-font]); only the font in use downloads */
@font-face{font-family:"rg-kuaile";src:url("fonts/kuaile.woff2") format("woff2");font-display:swap}
@font-face{font-family:"rg-round";src:url("fonts/round.woff2") format("woff2");font-display:swap}
@font-face{font-family:"rg-wenkai";src:url("fonts/wenkai.woff2") format("woff2");font-display:swap}
@font-face{font-family:"rg-butter";src:url("fonts/butter.woff2") format("woff2");font-display:swap}
@font-face{font-family:"rg-longcang";src:url("fonts/longcang.woff2") format("woff2");font-display:swap}
:root{--sys:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Roboto,"Helvetica Neue",Arial,sans-serif}
/* the font choice is for the title only; everything else stays in the system font */
html[data-font="kuaile"] .hud__title{font-family:"rg-title","rg-kuaile",var(--sys)}
html[data-font="round"] .hud__title{font-family:"rg-round",var(--sys)}
html[data-font="wenkai"] .hud__title{font-family:"rg-wenkai",var(--sys)}
html[data-font="butter"] .hud__title{font-family:"rg-butter",var(--sys)}
html[data-font="longcang"] .hud__title{font-family:"rg-longcang",var(--sys)}
html[data-font="system"] .hud__title{font-family:var(--sys);font-weight:800}
.fontpv{flex:none;min-width:86px;font-size:20px;line-height:1;color:var(--ink)}
.row > span.fontpv{margin:0 4px 0 0;flex:none;min-width:84px;text-align:left;font-size:20px;font-weight:400;line-height:1;color:var(--ink)}
.row--font .buy,.row--font em{margin-left:auto}
/* next day: a bright candy-blue button with a glossy highlight */
.acts .next-btn{
  background-image:radial-gradient(ellipse 34% 30% at 26% 24%,rgba(255,255,255,.85) 0 60%,transparent 64%),linear-gradient(#bdeaff,#5ec5ff);
  background-color:#7fd2ff;
  box-shadow:0 3px 0 rgba(60,170,240,.3),0 0 0 4px rgba(160,222,255,.45),0 8px 20px rgba(70,180,250,.35)}
.shop-btn.is-nudge{animation:nudge 1.6s ease-in-out infinite}
/* next day: plain and simple, white */
.acts .next-btn{--f:#ffffff;background-color:#fff;background-image:none;box-shadow:0 3px 0 rgba(190,160,220,.2),0 6px 14px rgba(180,150,215,.14)}
.sellseed{background:#fff3c9 !important;color:var(--ink) !important}

/* --- the title: Potta One, a touch slimmer (an outline in the page colour eats
   a thin ring off each stroke), with three little water drops beside it */
html[data-font="potta"] .hud__title{font-family:"Potta One","rg-title",var(--sys);font-weight:400;-webkit-text-stroke:.035em var(--bg)}
.hud__title{display:inline-flex;align-items:flex-start}
.title-drops{display:inline-block;width:24px;height:21px;margin:-4px 0 0 3px;flex:none}
.title-drops svg{width:100%;height:100%;display:block;overflow:visible}
.title-drops .d1{fill:#9fd6fb}
.title-drops .d2{fill:#bfe5ff}
.title-drops .d3{fill:#d6efff}
.title-drops path{animation:titleDrop 3.2s ease-in-out infinite}
.title-drops .d2{animation-delay:-1.1s}
.title-drops .d3{animation-delay:-2.2s}
@keyframes titleDrop{50%{transform:translateY(-1.5px)}}
@media (prefers-reduced-motion:reduce){.title-drops path{animation:none}}
.row > span.fontpv[style*="Potta"]{-webkit-text-stroke:.035em #f5f4f0}

/* the title: Kiwi Maru by default, and no underline under it */
html[data-font="kiwi"] .hud__title{font-family:"Kiwi Maru","rg-title",var(--sys);font-weight:500;font-size:26px;-webkit-text-stroke:0}
.hud__title{padding-bottom:0}
.hud__title::after{display:none}
.title-drops{margin-top:-6px}
.row > span.fontpv[style*="Kiwi"]{font-weight:500}
/* one water drop beside the title, and a little bank of soil under the letters */
.title-drops{width:14px;height:18px;margin:-5px 0 0 4px}
.hud__title{padding-bottom:9px}
.hud__title::after{display:block;content:"";position:absolute;left:-4px;right:16px;bottom:0;width:auto;height:10px;
  -webkit-mask:none;mask:none;border-radius:0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M0 10 Q3 4 10 4.5 Q18 2 26 4 Q34 1.5 44 3.6 Q54 1.8 64 3.8 Q74 1.5 84 3.6 Q94 2 104 4 Q113 3 120 10 Z' fill='%23dcb994'/%3E%3Ccircle cx='18' cy='7' r='.9' fill='%23b8916a'/%3E%3Ccircle cx='47' cy='6.4' r='.8' fill='%23b8916a'/%3E%3Ccircle cx='71' cy='7.2' r='.9' fill='%23b8916a'/%3E%3Ccircle cx='98' cy='6.6' r='.8' fill='%23b8916a'/%3E%3C/svg%3E") center/100% 100% no-repeat}
/* straighter pen lines: no tilt, even corners, the faint second line right on the first */
.hud .pill,.plot,.acts .pill,.card__x,
.hud .pill:nth-of-type(even),.plot:nth-child(even),.acts .pill:nth-child(even){transform:none;border-radius:17px}
.hud .pill::after,.plot::after,.acts .pill::after,.card__x::after{inset:0;border-radius:17px;opacity:.35}
.row .sellseed{margin-left:auto}
/* a little more room between the letters and their soil */
.hud__title{padding-bottom:15px}
/* room above the title; the drop sits at its right, level with the letters */
.hud__title{margin-top:10px;align-items:center}
.title-drops{align-self:center;margin:0 0 0 6px;transform:translateY(-6px)}
/* the drop right beside the letters, centred on them (the title box is taller because of the soil below) */
.title-drops{align-self:flex-start;margin:5px 0 0 6px;transform:none}


/* --- the backgrounds, with more to look at and a paper feel: a faint grain
   over every one (behind the garden), and little drawn details per theme */
.stage::before{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .34 0 0 0 0 .24 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23n)'/%3E%3C/svg%3E");opacity:.8}
.stage.bg--sky{background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='24' viewBox='0 0 60 24'%3E%3Cg fill='none' stroke='%238ea8c8' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 14 q4-5 8 0 q4-5 8 0'/%3E%3Cpath d='M30 6 q3-4 6 0 q3-4 6 0'/%3E%3Cpath d='M46 18 q2.5-3 5 0 q2.5-3 5 0'/%3E%3C/g%3E%3C/svg%3E") 72% 16%/60px 24px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26' viewBox='0 0 52 26'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='14' cy='14' r='9'/%3E%3Ccircle cx='26' cy='10' r='11'/%3E%3Ccircle cx='38' cy='15' r='8'/%3E%3Crect x='12' y='14' width='28' height='9' rx='4.5'/%3E%3C/g%3E%3C/svg%3E") 38% 7%/52px 26px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26' viewBox='0 0 52 26'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='14' cy='14' r='9'/%3E%3Ccircle cx='26' cy='10' r='11'/%3E%3Ccircle cx='38' cy='15' r='8'/%3E%3Crect x='12' y='14' width='28' height='9' rx='4.5'/%3E%3C/g%3E%3C/svg%3E") 92% 30%/36px 18px no-repeat,
  repeating-linear-gradient(178deg,rgba(255,255,255,.18) 0 2px,transparent 2px 9px),
  radial-gradient(ellipse 34px 12px at 20% 20%,#fff 92%,transparent 100%),
  radial-gradient(ellipse 46px 15px at 76% 13%,#fff 92%,transparent 100%),
  linear-gradient(#cfe8ff,#eaf6ff 55%,#f3faee)}
.stage.bg--dots{background:
  radial-gradient(#fff 2.6px,transparent 3.2px) 0 0/22px 22px,
  radial-gradient(#fff 2.6px,transparent 3.2px) 11px 11px/22px 22px,
  radial-gradient(rgba(255,246,190,.9) 1.4px,transparent 1.9px) 5px 16px/44px 44px,
  radial-gradient(rgba(255,214,228,.9) 1.4px,transparent 1.9px) 27px 4px/44px 44px,
  #cdeedd}
.stage.bg--grid{background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='34' viewBox='0 0 36 34'%3E%3Cpath d='M18 3 l4 9 10 1 -7.5 6.5 2.5 10 -9-5.5 -9 5.5 2.5-10 -7.5-6.5 10-1z' fill='none' stroke='%23f2a7b8' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") 90% 8%/30px 28px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='34' viewBox='0 0 32 34'%3E%3Cg fill='none' stroke='%239cc5e8' stroke-width='1.6'%3E%3Ccircle cx='16' cy='12' r='3'/%3E%3Ccircle cx='16' cy='5' r='3.6'/%3E%3Ccircle cx='23' cy='11' r='3.6'/%3E%3Ccircle cx='19' cy='18.5' r='3.6'/%3E%3Ccircle cx='11' cy='18' r='3.6'/%3E%3Ccircle cx='9.5' cy='10' r='3.6'/%3E%3Cpath d='M16 22 q1 6 -2 11'/%3E%3C/g%3E%3C/svg%3E") 94% 96%/28px 30px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cg fill='%23ebe5db'%3E%3Ccircle cx='8' cy='8' r='4'/%3E%3C/g%3E%3C/svg%3E") 4px 18%/14px 14px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cg fill='%23ebe5db'%3E%3Ccircle cx='8' cy='8' r='4'/%3E%3C/g%3E%3C/svg%3E") 4px 50%/14px 14px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cg fill='%23ebe5db'%3E%3Ccircle cx='8' cy='8' r='4'/%3E%3C/g%3E%3C/svg%3E") 4px 82%/14px 14px no-repeat,
  linear-gradient(90deg,transparent 22px,#f3a5a5 22px,#f3a5a5 24px,transparent 24px),
  repeating-linear-gradient(0deg,#cfe1f3 0 1px,transparent 1px 18px),
  repeating-linear-gradient(90deg,#cfe1f3 0 1px,transparent 1px 18px),#fdfdf7}
.stage.bg--meadow{background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='28' viewBox='0 0 70 28'%3E%3Cg%3E%3Ccircle cx='10' cy='20' r='2.4' fill='%23f7b6c8'/%3E%3Ccircle cx='10' cy='20' r='1' fill='%23fff3a6'/%3E%3Ccircle cx='34' cy='12' r='2' fill='%23fff3a6'/%3E%3Ccircle cx='34' cy='12' r='.9' fill='%23f5c66a'/%3E%3Ccircle cx='58' cy='22' r='2.4' fill='%23c9b4ff'/%3E%3Ccircle cx='58' cy='22' r='1' fill='%23fff3a6'/%3E%3Cpath d='M22 26 l2-6 M24 26 l3-5 M46 26 l-1-6 M48 26 l2-5' stroke='%237fbf6a' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") 6% 97%/70px 28px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='28' viewBox='0 0 70 28'%3E%3Cg%3E%3Ccircle cx='10' cy='20' r='2.4' fill='%23f7b6c8'/%3E%3Ccircle cx='10' cy='20' r='1' fill='%23fff3a6'/%3E%3Ccircle cx='34' cy='12' r='2' fill='%23fff3a6'/%3E%3Ccircle cx='34' cy='12' r='.9' fill='%23f5c66a'/%3E%3Ccircle cx='58' cy='22' r='2.4' fill='%23c9b4ff'/%3E%3Ccircle cx='58' cy='22' r='1' fill='%23fff3a6'/%3E%3Cpath d='M22 26 l2-6 M24 26 l3-5 M46 26 l-1-6 M48 26 l2-5' stroke='%237fbf6a' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") 88% 99%/60px 24px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='28' viewBox='0 0 70 28'%3E%3Cg%3E%3Ccircle cx='10' cy='20' r='2.4' fill='%23f7b6c8'/%3E%3Ccircle cx='10' cy='20' r='1' fill='%23fff3a6'/%3E%3Ccircle cx='34' cy='12' r='2' fill='%23fff3a6'/%3E%3Ccircle cx='34' cy='12' r='.9' fill='%23f5c66a'/%3E%3Ccircle cx='58' cy='22' r='2.4' fill='%23c9b4ff'/%3E%3Ccircle cx='58' cy='22' r='1' fill='%23fff3a6'/%3E%3Cpath d='M22 26 l2-6 M24 26 l3-5 M46 26 l-1-6 M48 26 l2-5' stroke='%237fbf6a' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") 52% 100%/50px 20px no-repeat,
  repeating-linear-gradient(115deg,rgba(255,255,255,.22) 0 2px,transparent 2px 7px),
  repeating-linear-gradient(65deg,rgba(160,200,130,.12) 0 1px,transparent 1px 11px),
  radial-gradient(ellipse 75% 26% at 18% 102%,#a6d98a 97%,transparent 100%),
  radial-gradient(ellipse 70% 22% at 88% 102%,#8fcd76 97%,transparent 100%),
  radial-gradient(ellipse 60% 18% at 50% 104%,#b8e29c 97%,transparent 100%),
  linear-gradient(#fff6df,#fdf0d2)}
.stage.bg--sunset{background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='24' viewBox='0 0 60 24'%3E%3Cg fill='none' stroke='%238ea8c8' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 14 q4-5 8 0 q4-5 8 0'/%3E%3Cpath d='M30 6 q3-4 6 0 q3-4 6 0'/%3E%3Cpath d='M46 18 q2.5-3 5 0 q2.5-3 5 0'/%3E%3C/g%3E%3C/svg%3E") 20% 14%/54px 22px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30'%3E%3Cg fill='%23fff' opacity='.55'%3E%3Crect x='6' y='6' width='70' height='5' rx='2.5'/%3E%3Crect x='30' y='15' width='90' height='4' rx='2'/%3E%3Crect x='0' y='24' width='44' height='4' rx='2'/%3E%3C/g%3E%3C/svg%3E") 12% 30%/120px 30px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30'%3E%3Cg fill='%23fff' opacity='.55'%3E%3Crect x='6' y='6' width='70' height='5' rx='2.5'/%3E%3Crect x='30' y='15' width='90' height='4' rx='2'/%3E%3Crect x='0' y='24' width='44' height='4' rx='2'/%3E%3C/g%3E%3C/svg%3E") 96% 44%/90px 22px no-repeat,
  repeating-linear-gradient(180deg,rgba(255,255,255,.12) 0 3px,transparent 3px 12px),
  radial-gradient(circle at 82% 16%,#fff1a8 0 18px,rgba(255,241,168,.4) 19px 30px,transparent 31px),
  linear-gradient(#ffc6b4,#ffdcc8 45%,#fff1e2)}
.stage.bg--stars{background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M22 4 a14 14 0 1 0 12 20 a11 11 0 1 1 -12-20z' fill='%23fff1a8'/%3E%3C/svg%3E") 64% 7%/30px 30px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='40' viewBox='0 0 60 40'%3E%3Cg fill='%23fff8c4'%3E%3Cpath d='M10 2 l1.6 6.4 6.4 1.6 -6.4 1.6 -1.6 6.4 -1.6-6.4 -6.4-1.6 6.4-1.6z'/%3E%3Cpath d='M48 26 l1.1 4.4 4.4 1.1 -4.4 1.1 -1.1 4.4 -1.1-4.4 -4.4-1.1 4.4-1.1z'/%3E%3C/g%3E%3C/svg%3E") 16% 12%/60px 40px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='40' viewBox='0 0 60 40'%3E%3Cg fill='%23fff8c4'%3E%3Cpath d='M10 2 l1.6 6.4 6.4 1.6 -6.4 1.6 -1.6 6.4 -1.6-6.4 -6.4-1.6 6.4-1.6z'/%3E%3Cpath d='M48 26 l1.1 4.4 4.4 1.1 -4.4 1.1 -1.1 4.4 -1.1-4.4 -4.4-1.1 4.4-1.1z'/%3E%3C/g%3E%3C/svg%3E") 60% 26%/45px 30px no-repeat,
  radial-gradient(#ffe98a 1.8px,transparent 2.3px) 0 0/36px 32px,
  radial-gradient(#fff 1.3px,transparent 1.8px) 18px 16px/36px 32px,
  radial-gradient(#fff 0.9px,transparent 1.3px) 9px 25px/36px 32px,
  linear-gradient(#ddd2f4,#efe8fb 60%,#f6f2fc)}

/* the day line wears the title's font too */
html[data-font="kiwi"] .tile-label b{font-family:"Kiwi Maru",var(--sys);font-weight:500}
html[data-font="potta"] .tile-label b{font-family:"Potta One",var(--sys);-webkit-text-stroke:.03em var(--surface)}
html[data-font="kuaile"] .tile-label b{font-family:"rg-kuaile",var(--sys)}
html[data-font="round"] .tile-label b{font-family:"rg-round",var(--sys)}
html[data-font="wenkai"] .tile-label b{font-family:"rg-wenkai",var(--sys)}
html[data-font="butter"] .tile-label b{font-family:"rg-butter",var(--sys)}
html[data-font="longcang"] .tile-label b{font-family:"rg-longcang",var(--sys)}

/* the pen line on buttons, a lighter brown */
:root{--pen:#a7856b}


/* --- the Halloween skin: a dreamy dusk, never dark. Lavender into peach, a big
   pale moon, little lilac bats, a cobweb in the corner, smiling pumpkins */
.stage.bg--halloween,.swatch.bg--halloween{background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='26' viewBox='0 0 200 26'%3E%3Cpath d='M0 4 Q100 22 200 4' stroke='%23ffffff' stroke-width='1.2' fill='none'/%3E%3Cpath d='M10 6 l7 0 -3.5 9z' fill='%23ff8f26'/%3E%3Cpath d='M28 9 l7 0 -3.5 9z' fill='%23c77dff'/%3E%3Cpath d='M46 12 l7 0 -3.5 9z' fill='%234fe39a'/%3E%3Cpath d='M64 14 l7 0 -3.5 9z' fill='%23ffd84d'/%3E%3Cpath d='M82 15 l7 0 -3.5 9z' fill='%23ff6fb5'/%3E%3Cpath d='M100 16 l7 0 -3.5 9z' fill='%23ff8f26'/%3E%3Cpath d='M118 15 l7 0 -3.5 9z' fill='%23c77dff'/%3E%3Cpath d='M136 14 l7 0 -3.5 9z' fill='%234fe39a'/%3E%3Cpath d='M154 12 l7 0 -3.5 9z' fill='%23ffd84d'/%3E%3Cpath d='M172 9 l7 0 -3.5 9z' fill='%23ff6fb5'/%3E%3Cpath d='M190 6 l7 0 -3.5 9z' fill='%23ff8f26'/%3E%3C/svg%3E") 50% 0/62% auto no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='46' viewBox='0 0 48 46'%3E%3Cpath d='M4 40 q20 -6 40 0 q-8 4 -20 4 q-12 0 -20-4z' fill='%233d1a8a'/%3E%3Cpath d='M12 38 L26 6 q3-5 6 2 l-2 4 4 26z' fill='%235523b8'/%3E%3Cpath d='M13 33 q11 4 21 0 l1 4 q-11 4 -23 0z' fill='%23ff8f26'/%3E%3Crect x='21' y='31' width='6' height='6' rx='1' fill='%23ffd84d'/%3E%3C/svg%3E") 2% 40%/40px 38px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='48' viewBox='0 0 52 48'%3E%3Cellipse cx='26' cy='18' rx='20' ry='5' fill='%237dff9a'/%3E%3Ccircle cx='18' cy='12' r='3' fill='%23a8ffbb'/%3E%3Ccircle cx='30' cy='8' r='4' fill='%23a8ffbb'/%3E%3Ccircle cx='38' cy='13' r='2.4' fill='%23a8ffbb'/%3E%3Cpath d='M6 18 q0 22 20 22 q20 0 20-22z' fill='%233d1a8a'/%3E%3Crect x='4' y='16' width='44' height='5' rx='2.5' fill='%235523b8'/%3E%3Cpath d='M12 40 l-3 6 M40 40 l3 6' stroke='%233d1a8a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 3% 66%/44px 40px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='42' viewBox='0 0 40 42'%3E%3Cg%3E%3Crect x='4' y='18' width='8' height='22' rx='2' fill='%23fff1d6'/%3E%3Crect x='16' y='10' width='9' height='30' rx='2' fill='%23ffe3b0'/%3E%3Crect x='29' y='22' width='7' height='18' rx='2' fill='%23fff1d6'/%3E%3Cpath d='M8 18 q-3-5 0-9 q3 4 0 9z M20.5 10 q-3.5-6 0-10 q3.5 4 0 10z M32.5 22 q-3-5 0-8 q3 3 0 8z' fill='%23ffcf3a'/%3E%3Cpath d='M2 40 h36' stroke='%23d9b8ff' stroke-width='3' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") 2% 53%/32px 34px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='46' viewBox='0 0 40 46'%3E%3Cpath d='M20 0 v18' stroke='%23ffffff' stroke-width='1.2'/%3E%3Cellipse cx='12' cy='32' rx='9' ry='11' fill='%23ff7d12'/%3E%3Cellipse cx='28' cy='32' rx='9' ry='11' fill='%23ff7d12'/%3E%3Cellipse cx='20' cy='32' rx='10' ry='12' fill='%23ff8f26'/%3E%3Crect x='16' y='17' width='8' height='5' rx='1.5' fill='%235fae4a'/%3E%3Cpath d='M14 28 l3 4 h-6z M26 28 l3 4 h-6z' fill='%23ffe27a'/%3E%3Cpath d='M13 36 q7 6 14 0' stroke='%23ffe27a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") 97% 24%/26px 30px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='42' viewBox='0 0 46 42'%3E%3Cg%3E%3Cpath d='M8 14 v-6 h6 v6 q8 4 8 14 a11 11 0 0 1 -22 0 q0-10 8-14z' fill='%23ff6fb5'/%3E%3Crect x='7' y='4' width='8' height='5' rx='1.5' fill='%23b88a6a'/%3E%3Cpath d='M32 18 v-8 h5 v8 q6 3 6 11 a8.5 8.5 0 0 1 -17 0 q0-8 6-11z' fill='%234fe39a'/%3E%3Crect x='31' y='6' width='7' height='5' rx='1.5' fill='%23b88a6a'/%3E%3Ccircle cx='6' cy='28' r='2' fill='%23fff' opacity='.6'/%3E%3Ccircle cx='31' cy='30' r='1.6' fill='%23fff' opacity='.6'/%3E%3C/g%3E%3C/svg%3E") 98% 68%/40px 36px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='42' viewBox='0 0 36 42'%3E%3Crect x='4' y='10' width='28' height='30' rx='8' fill='%23ffffff' opacity='.55'/%3E%3Crect x='6' y='5' width='24' height='7' rx='3' fill='%23c77dff'/%3E%3Ccircle cx='12' cy='30' r='4' fill='%23ff6fb5'/%3E%3Ccircle cx='22' cy='32' r='4' fill='%23ffd84d'/%3E%3Ccircle cx='17' cy='23' r='4' fill='%234fe39a'/%3E%3Ccircle cx='25' cy='22' r='3.5' fill='%23ff8f26'/%3E%3C/svg%3E") 3% 92%/26px 30px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='.9'%3E%3Cpath d='M0 0 L60 60 M0 0 L30 60 M0 0 L60 30 M0 0 L0 60 M0 0 L60 0'/%3E%3Cpath d='M0 14 Q8 8 14 0 M0 28 Q16 18 28 0 M0 42 Q24 28 42 0 M0 56 Q32 36 56 0'/%3E%3C/g%3E%3C/svg%3E") 0 0/84px 84px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg transform='translate(60 0) scale(-1 1)'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='.9'%3E%3Cpath d='M0 0 L60 60 M0 0 L30 60 M0 0 L60 30 M0 0 L0 60 M0 0 L60 0'/%3E%3Cpath d='M0 14 Q8 8 14 0 M0 28 Q16 18 28 0 M0 42 Q24 28 42 0 M0 56 Q32 36 56 0'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 100% 0/76px 76px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='.9'%3E%3Cpath d='M0 0 L60 60 M0 0 L30 60 M0 0 L60 30 M0 0 L0 60 M0 0 L60 0'/%3E%3Cpath d='M0 14 Q8 8 14 0 M0 28 Q16 18 28 0 M0 42 Q24 28 42 0 M0 56 Q32 36 56 0'/%3E%3C/g%3E%3C/svg%3E") 0 30%/40px 40px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg transform='translate(60 60) scale(-1 -1)'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='.9'%3E%3Cpath d='M0 0 L60 60 M0 0 L30 60 M0 0 L60 30 M0 0 L0 60 M0 0 L60 0'/%3E%3Cpath d='M0 14 Q8 8 14 0 M0 28 Q16 18 28 0 M0 42 Q24 28 42 0 M0 56 Q32 36 56 0'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 100% 56%/38px 38px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg transform='translate(0 60) scale(1 -1)'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='.9'%3E%3Cpath d='M0 0 L60 60 M0 0 L30 60 M0 0 L60 30 M0 0 L0 60 M0 0 L60 0'/%3E%3Cpath d='M0 14 Q8 8 14 0 M0 28 Q16 18 28 0 M0 42 Q24 28 42 0 M0 56 Q32 36 56 0'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 0 100%/48px 48px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='50' viewBox='0 0 20 50'%3E%3Cpath d='M10 0 v40' stroke='%23ffffff' stroke-width='1'/%3E%3Cg stroke='%23f0e4ff' stroke-width='1.3' fill='none' stroke-linecap='round'%3E%3Cpath d='M5 42 l-4-3 M5 45 l-5 1 M15 42 l4-3 M15 45 l5 1'/%3E%3C/g%3E%3Ccircle cx='10' cy='44' r='5' fill='%23f0e4ff'/%3E%3Ccircle cx='8' cy='43' r='1' fill='%235a2ca0'/%3E%3Ccircle cx='12' cy='43' r='1' fill='%235a2ca0'/%3E%3C/svg%3E") 10% 0/16px 40px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='32' viewBox='0 0 20 32'%3E%3Cpath d='M10 0 v22' stroke='%23ffffff' stroke-width='1'/%3E%3Cg stroke='%23f0e4ff' stroke-width='1.3' fill='none' stroke-linecap='round'%3E%3Cpath d='M5 24 l-4-3 M5 27 l-5 1 M15 24 l4-3 M15 27 l5 1'/%3E%3C/g%3E%3Ccircle cx='10' cy='26' r='5' fill='%23f0e4ff'/%3E%3Ccircle cx='8' cy='25' r='1' fill='%235a2ca0'/%3E%3Ccircle cx='12' cy='25' r='1' fill='%235a2ca0'/%3E%3C/svg%3E") 88% 0/14px 22px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='22' fill='%23ffe98c'/%3E%3Ccircle cx='22' cy='24' r='4' fill='%23f5d66a'/%3E%3Ccircle cx='36' cy='36' r='3' fill='%23f5d66a'/%3E%3C/svg%3E") 56% 3%/46px 46px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'%3E%3Cpath d='M20 12 q-4-7 -11-6 q3 2 2 5 q-4-2 -9 1 q6 1 8 5 q4-3 10-3 q6 0 10 3 q2-4 8-5 q-5-3 -9-1 q-1-3 2-5 q-7-1 -11 6z' fill='%23d9c2ff'/%3E%3Ccircle cx='18' cy='13' r='1' fill='%235a2ca0'/%3E%3Ccircle cx='22' cy='13' r='1' fill='%235a2ca0'/%3E%3C/svg%3E") 30% 9%/40px 20px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'%3E%3Cpath d='M20 12 q-4-7 -11-6 q3 2 2 5 q-4-2 -9 1 q6 1 8 5 q4-3 10-3 q6 0 10 3 q2-4 8-5 q-5-3 -9-1 q-1-3 2-5 q-7-1 -11 6z' fill='%23d9c2ff'/%3E%3Ccircle cx='18' cy='13' r='1' fill='%235a2ca0'/%3E%3Ccircle cx='22' cy='13' r='1' fill='%235a2ca0'/%3E%3C/svg%3E") 72% 16%/30px 15px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'%3E%3Cpath d='M20 12 q-4-7 -11-6 q3 2 2 5 q-4-2 -9 1 q6 1 8 5 q4-3 10-3 q6 0 10 3 q2-4 8-5 q-5-3 -9-1 q-1-3 2-5 q-7-1 -11 6z' fill='%23d9c2ff'/%3E%3Ccircle cx='18' cy='13' r='1' fill='%235a2ca0'/%3E%3Ccircle cx='22' cy='13' r='1' fill='%235a2ca0'/%3E%3C/svg%3E") 14% 30%/24px 12px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='42' viewBox='0 0 40 42'%3E%3Cg opacity='.55'%3E%3Cpath d='M6 40 v-22 a14 14 0 0 1 28 0 v22 l-4.6-4 -4.6 4 -4.8-4 -4.6 4 -4.8-4z' fill='%23e4d2ff'/%3E%3Cellipse cx='15' cy='18' rx='2' ry='2.6' fill='%237b4cc4'/%3E%3Cellipse cx='25' cy='18' rx='2' ry='2.6' fill='%237b4cc4'/%3E%3C/g%3E%3C/svg%3E") 92% 44%/26px 28px no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='120' viewBox='0 0 400 120' preserveAspectRatio='xMidYMax meet'%3E%3Cpath d='M0 120 L0 74 Q60 56 120 66 Q190 46 260 58 Q330 48 400 64 L400 120Z' fill='%236a2fc4' opacity='.75'/%3E%3Cg transform='translate(-10 -8) scale(1.15)'%3E%3Cg fill='%234e1f9e'%3E%3Crect x='262' y='22' width='40' height='44'/%3E%3Crect x='252' y='34' width='14' height='32'/%3E%3Crect x='298' y='30' width='16' height='36'/%3E%3Cpath d='M258 34 l7-16 7 16z M296 30 l10-20 10 20z M266 22 l16-22 16 22z'/%3E%3Crect x='318' y='44' width='26' height='22'/%3E%3Cpath d='M316 44 l15-14 15 14z'/%3E%3C/g%3E%3Cg fill='%23ffd84d'%3E%3Crect x='276' y='32' width='5' height='7' rx='2.5'/%3E%3Crect x='287' y='32' width='5' height='7' rx='2.5'/%3E%3Crect x='256' y='44' width='4' height='6' rx='2'/%3E%3Crect x='303' y='40' width='4' height='6' rx='2'/%3E%3Crect x='328' y='50' width='5' height='6' rx='2.5'/%3E%3Cpath d='M278 66 v-10 a4 4 0 0 1 8 0 v10z'/%3E%3C/g%3E%3Cpath d='M282 0 v4' stroke='%23ffd84d' stroke-width='1.5'/%3E%3Cpath d='M282 0 h8 l-3 2.5 3 2.5 h-8z' fill='%23ff8f26'/%3E%3C/g%3E%3Cpath d='M0 120 L0 92 Q80 76 160 86 Q250 74 330 84 Q370 80 400 88 L400 120Z' fill='%237b36d0'/%3E%3Cg stroke='%234e1f9e' stroke-linecap='round' fill='none'%3E%3Cpath d='M40 92 q2-22 -2-40' stroke-width='6'/%3E%3Cpath d='M39 62 q-12-8 -20-22' stroke-width='3.5'/%3E%3Cpath d='M38 54 q12-10 22-12 q6-1 8-8' stroke-width='3.5'/%3E%3Cpath d='M21 44 q-6-2 -8-8' stroke-width='2.2'/%3E%3Cpath d='M60 42 q6 0 10 4' stroke-width='2.2'/%3E%3C/g%3E%3Cg transform='translate(150 74)'%3E%3Cpath d='M0 22 v-14 a9 9 0 0 1 18 0 v14z' fill='%23c6b0ef'/%3E%3Cpath d='M6 10 h6 M9 7 v8' stroke='%239a7fd0' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(176 78)'%3E%3Cpath d='M0 22 v-14 a9 9 0 0 1 18 0 v14z' fill='%23c6b0ef'/%3E%3Cpath d='M6 10 h6 M9 7 v8' stroke='%239a7fd0' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(96 76)'%3E%3Cpath d='M0 22 v-14 a9 9 0 0 1 18 0 v14z' fill='%23c6b0ef'/%3E%3Cpath d='M6 10 h6 M9 7 v8' stroke='%239a7fd0' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg fill='%23d7c4f6'%3E%3Cpath d='M200 96 v-14 l3-4 3 4 v14z'/%3E%3Cpath d='M209 96 v-14 l3-4 3 4 v14z'/%3E%3Cpath d='M218 96 v-14 l3-4 3 4 v14z'/%3E%3Cpath d='M227 96 v-14 l3-4 3 4 v14z'/%3E%3Cpath d='M236 96 v-14 l3-4 3 4 v14z'/%3E%3Cpath d='M245 96 v-14 l3-4 3 4 v14z'/%3E%3Cpath d='M254 96 v-14 l3-4 3 4 v14z'/%3E%3Crect x='198' y='86' width='63' height='3' rx='1.5'/%3E%3C/g%3E%3Cpath d='M0 120 L0 104 Q100 96 200 102 Q300 96 400 104 L400 120Z' fill='%238b42dc'/%3E%3Cg transform='translate(8 92) scale(0.9)'%3E%3Cpath d='M20 4 q1-4 5-4' stroke='%235fae4a' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='11' cy='16' rx='9' ry='10' fill='%23ff7d12'/%3E%3Cellipse cx='29' cy='16' rx='9' ry='10' fill='%23ff7d12'/%3E%3Cellipse cx='20' cy='16' rx='10' ry='11' fill='%23ff8f26'/%3E%3Cpath d='M14 13 l2.4 3 h-4.8z M26 13 l2.4 3 h-4.8z' fill='%23ffe27a'/%3E%3Cpath d='M14 20 q6 4.5 12 0' stroke='%23ffe27a' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(62 98) scale(0.7)'%3E%3Cpath d='M20 4 q1-4 5-4' stroke='%235fae4a' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='11' cy='16' rx='9' ry='10' fill='%23ff7d12'/%3E%3Cellipse cx='29' cy='16' rx='9' ry='10' fill='%23ff7d12'/%3E%3Cellipse cx='20' cy='16' rx='10' ry='11' fill='%23ff8f26'/%3E%3Cpath d='M14 13 l2.4 3 h-4.8z M26 13 l2.4 3 h-4.8z' fill='%23ffe27a'/%3E%3Cpath d='M14 20 q6 4.5 12 0' stroke='%23ffe27a' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(120 94) scale(0.85)'%3E%3Cpath d='M20 4 q1-4 5-4' stroke='%235fae4a' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='11' cy='16' rx='9' ry='10' fill='%23ff7d12'/%3E%3Cellipse cx='29' cy='16' rx='9' ry='10' fill='%23ff7d12'/%3E%3Cellipse cx='20' cy='16' rx='10' ry='11' fill='%23ff8f26'/%3E%3Cpath d='M14 13 l2.4 3 h-4.8z M26 13 l2.4 3 h-4.8z' fill='%23ffe27a'/%3E%3Cpath d='M14 20 q6 4.5 12 0' stroke='%23ffe27a' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(232 97) scale(0.72)'%3E%3Cpath d='M20 4 q1-4 5-4' stroke='%235fae4a' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='11' cy='16' rx='9' ry='10' fill='%23ff7d12'/%3E%3Cellipse cx='29' cy='16' rx='9' ry='10' fill='%23ff7d12'/%3E%3Cellipse cx='20' cy='16' rx='10' ry='11' fill='%23ff8f26'/%3E%3Cpath d='M14 13 l2.4 3 h-4.8z M26 13 l2.4 3 h-4.8z' fill='%23ffe27a'/%3E%3Cpath d='M14 20 q6 4.5 12 0' stroke='%23ffe27a' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(300 90) scale(1.0)'%3E%3Cpath d='M20 4 q1-4 5-4' stroke='%235fae4a' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='11' cy='16' rx='9' ry='10' fill='%23ff7d12'/%3E%3Cellipse cx='29' cy='16' rx='9' ry='10' fill='%23ff7d12'/%3E%3Cellipse cx='20' cy='16' rx='10' ry='11' fill='%23ff8f26'/%3E%3Cpath d='M14 13 l2.4 3 h-4.8z M26 13 l2.4 3 h-4.8z' fill='%23ffe27a'/%3E%3Cpath d='M14 20 q6 4.5 12 0' stroke='%23ffe27a' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(356 96) scale(0.8)'%3E%3Cpath d='M20 4 q1-4 5-4' stroke='%235fae4a' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='11' cy='16' rx='9' ry='10' fill='%23ff7d12'/%3E%3Cellipse cx='29' cy='16' rx='9' ry='10' fill='%23ff7d12'/%3E%3Cellipse cx='20' cy='16' rx='10' ry='11' fill='%23ff8f26'/%3E%3Cpath d='M14 13 l2.4 3 h-4.8z M26 13 l2.4 3 h-4.8z' fill='%23ffe27a'/%3E%3Cpath d='M14 20 q6 4.5 12 0' stroke='%23ffe27a' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") 50% 100%/100% auto no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='120' viewBox='0 0 140 120'%3E%3Cg opacity='.3'%3E%3Cpath d='M14 30 v-12 a8 8 0 0 1 16 0 v12 l-2.7-2.4 -2.6 2.4 -2.7-2.4 -2.6 2.4 -2.7-2.4z' fill='%23fff'/%3E%3Ccircle cx='19' cy='18' r='1.2' fill='%238a6aa8'/%3E%3Ccircle cx='25' cy='18' r='1.2' fill='%238a6aa8'/%3E%3Cg transform='translate(86 74)'%3E%3Cellipse cx='6' cy='8' rx='5' ry='5.5' fill='%23ffb257'/%3E%3Cellipse cx='12' cy='8' rx='5' ry='5.5' fill='%23ffb257'/%3E%3Cellipse cx='9' cy='8' rx='5.5' ry='6' fill='%23ffc27a'/%3E%3Cpath d='M9 2 q1-3 3-3' stroke='%238cbf74' stroke-width='1.6' fill='none'/%3E%3C/g%3E%3Cg transform='translate(70 20) rotate(-25)'%3E%3Ccircle cx='8' cy='6' r='5' fill='%23ffe07a'/%3E%3Cpath d='M3 6 l-5 -4 v8z M13 6 l5 -4 v8z' fill='%23ffd0ea'/%3E%3Cpath d='M5 3 q3 3 0 6 M8 1.5 q3 4.5 0 9' stroke='%23ff9fc6' stroke-width='1.2' fill='none'/%3E%3C/g%3E%3Cpath d='M30 92 q-3-5 -8-4 q2 1.5 1.5 3.5 q-3-1.5 -6.5 .8 q4.5 .8 6 3.6 q3-2.2 7-2.2 q4.5 0 7 2.2 q1.5-2.8 6-3.6 q-3.5-2.3 -6.5-.8 q-.5-2 1.5-3.5 q-5-1 -8 4z' fill='%23e6d4ff'/%3E%3Cpath d='M120 36 l1.4 3.6 3.6 1.4 -3.6 1.4 -1.4 3.6 -1.4-3.6 -3.6-1.4 3.6-1.4z' fill='%23fff6c9'/%3E%3Cpath d='M50 58 l1 2.6 2.6 1 -2.6 1 -1 2.6 -1-2.6 -2.6-1 2.6-1z' fill='%23fff6c9'/%3E%3Ccircle cx='130' cy='104' r='1.6' fill='%23fff6c9'/%3E%3Ccircle cx='6' cy='60' r='1.4' fill='%23fff6c9'/%3E%3C/g%3E%3C/svg%3E") 0 0/140px 120px,
  linear-gradient(#4612c4,#8510bd 46%,#e2400a)}
.swatch.bg--halloween{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='42' viewBox='0 0 60 42'%3E%3Cg%3E%3Cpath d='M30 9 q2-6 7-6' stroke='%238cbf74' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='18' cy='26' rx='12' ry='14' fill='%23ffb27a'/%3E%3Cellipse cx='42' cy='26' rx='12' ry='14' fill='%23ffb27a'/%3E%3Cellipse cx='30' cy='26' rx='13' ry='15' fill='%23ffc08c'/%3E%3Cpath d='M22 22 l3 4 h-6z M38 22 l3 4 h-6z' fill='%23b88a6a'/%3E%3Cpath d='M22 32 q8 6 16 0' stroke='%23b88a6a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") 50% 80%/26px 18px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='22' fill='%23fff4c8'/%3E%3Ccircle cx='22' cy='24' r='4' fill='%23f6e6ac'/%3E%3Ccircle cx='36' cy='36' r='3' fill='%23f6e6ac'/%3E%3C/svg%3E") 80% 10%/14px 14px no-repeat,linear-gradient(#4612c4,#e2400a)}

/* cards: narrower and centred, with bigger, easier text */
.card{max-width:400px;margin-inline:auto;padding:20px 20px 0}
.card__head b{font-size:23px}
.card p{font-size:16px;line-height:1.65}
.card p.card__small{font-size:14.5px}
.card dl{font-size:15px;gap:6px 12px;margin-top:14px}
.card__mini .card__head b{font-size:18px}

/* Halloween, deeper: richer violet and pumpkin orange (asked for more colour) */
/* on the rich Halloween dusk the day line and the weather line get a soft white halo to stay readable */
.stage.bg--halloween .tile-label,.stage.bg--halloween .tile-meta__how,.stage.bg--halloween .legend{text-shadow:0 0 6px rgba(255,255,255,.9),0 0 2px rgba(255,255,255,.9)}
/* on any coloured background the day and weather lines sit on a soft paper
   plate, so they read on lavender, sunset or the Halloween dusk alike */
.stage:not(.bg--paper) .tile-label{right:auto;max-width:56%;padding:7px 12px 8px;border-radius:16px;
  background:rgba(255,253,249,.82);box-shadow:0 2px 10px rgba(150,120,190,.12);left:12px;top:10px}
.stage:not(.bg--paper) .tile-meta__how{padding:5px 10px;border-radius:12px;background:rgba(255,253,249,.82);box-shadow:0 2px 10px rgba(150,120,190,.12)}
.stage:not(.bg--paper) .tile-label span{color:var(--ink-2)}
.stage:not(.bg--paper) .tile-label,.stage:not(.bg--paper) .tile-meta__how{text-shadow:none}
.stage:not(.bg--paper) .legend{right:auto;padding:5px 10px;border-radius:12px;background:rgba(255,253,249,.82);box-shadow:0 2px 10px rgba(150,120,190,.12);text-shadow:none}

/* --- one type scale for the whole page, readable on a phone:
   12 counts and tiny tags · 13 secondary lines · 14 buttons and labels ·
   15-16 card text · 20 the day · 22 card titles · 26 the title */
:root{--fs-xs:12px;--fs-sm:13px;--fs-ui:14px;--fs-body:15px;--fs-day:20px;--fs-card:22px}
.tool b,.piece b,.shop-btn i,.legend em,.plot em,.marks u,.chip i{font-size:var(--fs-xs)}
.legend em{letter-spacing:-1px}
.tile-label span,.tile-meta__how,.legend,.legend span,.row em,.row__line,.book__it em,.book__it span,
.tip em,.tip i,.tip u,.tip small,.chip,.card p.card__small{font-size:var(--fs-sm)}
.hud .pill,.sky,.plot,.tab,.acts .pill,.buy,.look,.card__x,.card__act .pill,.row b,.book__it b,.hint,.banner,.shop__sec,.purse{font-size:var(--fs-ui)}
.tip b,.card dl{font-size:var(--fs-body)}
.card p{font-size:16px}
.tile-label b{font-size:var(--fs-day)}
.card__head b{font-size:var(--fs-card)}
.card__mini .card__head b{font-size:18px}
@media (max-width:420px){ .tile-label b{font-size:var(--fs-day)} .tile-meta__how{font-size:var(--fs-sm)} }
.shop-btn b{font-size:var(--fs-ui)}

/* the day plate and the weather plate never overlap on a phone */
.stage:not(.bg--paper) .tile-label{max-width:52%}
.stage:not(.bg--paper) .tile-meta{max-width:44%}

/* Halloween: a light, old-photo filter over the whole scene, garden included: a
   faint warm vignette, a yellowed tint and fine paper grain, multiplied in.
   Plates, buttons and cards stay above it */
.stage.bg--halloween::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;border-radius:inherit;
  background:radial-gradient(ellipse 85% 75% at 50% 46%,rgba(96,58,24,0) 55%,rgba(96,58,24,.26) 100%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .4 0 0 0 0 .22 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23n)'/%3E%3C/svg%3E") 0 0/160px 160px,rgba(255,216,150,.2);
  mix-blend-mode:multiply}
.stage.bg--halloween .tile-label,.stage.bg--halloween .tile-meta,.stage.bg--halloween .legend,
.stage.bg--halloween .acts,.stage.bg--halloween .trouble,.stage.bg--halloween .hint,.stage.bg--halloween .tip{z-index:2}

/* waiting for the AIWANNA cloud save before the garden starts */
.cloud-wait{position:fixed;inset:0;z-index:50;display:grid;place-items:center;background:#fbf3e4;color:#6b4a35;font:600 18px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
