@font-face {
  font-family: "Bricolage";
  src: url(/static/fonts/bricolage.woff2) format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --pond: #d6eedb;
  --pond-deep: #c9e6cf;
  --ink: #173d36;
  --ink-2: #557369;
  --ink-3: #7f998f;
  --cream: #f6f6ea;
  --paper: #fbfbf3;
  --sun: #fde34e;
  --sun-deep: #f3cf1f;
  --beak: #f7931e;
  --line: rgba(23, 61, 54, 0.14);
  --line-2: rgba(23, 61, 54, 0.24);
  --shadow: 0 1px 0 rgba(23, 61, 54, 0.05), 0 10px 24px -12px rgba(23, 61, 54, 0.28);
  --shadow-up: 0 1px 0 rgba(23, 61, 54, 0.05), 0 22px 36px -16px rgba(23, 61, 54, 0.38);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --r: 20px;
  --tile: clamp(138px, 11.2vw, 160px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pond);
  color: var(--ink);
  font: 400 16px/1.45 "Bricolage", ui-sans-serif, system-ui, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 72px) 10px;
  position: relative;
  z-index: 5;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .logo { width: 40px; height: 34px; }
.brand .word { font-weight: 800; font-size: 31px; letter-spacing: -0.04em; line-height: 1; font-variation-settings: "opsz" 96; }
.brand .word i { font-style: normal; color: #5ea883; margin-left: 1px; }
.brand .sub { font-size: 19px; color: var(--ink-2); font-weight: 450; margin-left: 2px; }
.top .tag { margin: 0; font-size: 15px; font-weight: 450; }
.top .right { display: flex; align-items: center; gap: 14px; }
.muted { color: var(--ink-2); font-size: 15px; }

.ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 10px 22px;
  background: transparent;
  text-decoration: none;
  font-size: 16px;
  font-weight: 450;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.ghost:hover { background: var(--ink); color: var(--paper); }
.ghost:active { transform: scale(0.97); }
.arr { width: 13px; height: 13px; flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: var(--sun);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 17px 30px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn .arr { width: 15px; height: 15px; }
.btn.small { padding: 11px 20px; font-size: 15px; gap: 14px; }
.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; }
.under { color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--line-2); padding-bottom: 3px; font-weight: 450; transition: border-color 0.2s; }
.under:hover { border-color: var(--ink); }

/* landing */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
  padding: 20px clamp(18px, 5vw, 72px) 40px;
  min-height: min(860px, calc(100vh - 90px));
  align-items: center;
}
.big { margin: 0 0 28px; line-height: 0.82; letter-spacing: -0.065em; font-weight: 800; font-variation-settings: "opsz" 96; font-size: clamp(110px, 14.6vw, 232px); display: flex; flex-direction: column; }
.big .solid { color: var(--ink); }
.big .hollow { color: transparent; -webkit-text-stroke: 2.2px var(--ink); font-weight: 600; letter-spacing: -0.05em; margin-top: 0.06em; }
.lede { font-size: clamp(18px, 1.5vw, 21px); max-width: 30ch; margin: 0 0 36px; line-height: 1.42; }
.ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.pond { position: relative; height: min(720px, 62vw); min-height: 520px; }
.rings { position: absolute; left: 6%; right: -6%; top: 40%; height: 62%; }
.rings i { position: absolute; inset: 0; border: 1.5px solid var(--line); border-radius: 50%; }
.rings i:nth-child(2) { inset: 17% 18%; }
.rings i:nth-child(3) { inset: 34% 34%; }
.hero-duck { position: absolute; left: 39%; top: 47%; width: 38%; animation: drop-in 0.9s var(--spring) 0.15s both; }
.hero-duck .huge { width: 100%; height: auto; margin: 0; display: block; }
.hero-duck .wake { width: 56%; margin: -10% 0 0 18%; display: block; }
.htile {
  position: absolute;
  margin: 0;
  width: clamp(130px, 12vw, 176px);
  background: var(--cream);
  border-radius: var(--r);
  padding: 9px 9px 12px;
  box-shadow: var(--shadow);
  transform: rotate(var(--tilt));
  animation: float-in 0.8s var(--spring) calc(0.25s + var(--i) * 0.08s) both;
  transition: transform 0.4s var(--spring), box-shadow 0.3s var(--ease);
}
.htile:hover { transform: rotate(0deg) translateY(-6px) scale(1.03); box-shadow: var(--shadow-up); }
.htile .ph { aspect-ratio: 1 / 1.04; border-radius: 14px; overflow: hidden; background: #eee; }
.htile .ph img { width: 100%; height: 100%; object-fit: cover; }
.htile figcaption { display: flex; justify-content: space-between; align-items: end; gap: 6px; padding: 9px 3px 0; font-size: 14px; line-height: 1.2; }
.htile .pr { font-weight: 500; }
.burst {
  position: absolute;
  right: -26px;
  top: -24px;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 15px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  background: var(--sun);
  clip-path: polygon(50% 0, 59% 13%, 75% 5%, 77% 22%, 94% 21%, 88% 37%, 100% 47%, 88% 58%, 96% 73%, 79% 76%, 77% 93%, 61% 87%, 50% 100%, 39% 87%, 23% 93%, 21% 76%, 4% 73%, 12% 58%, 0 47%, 12% 37%, 6% 21%, 23% 22%, 25% 5%, 41% 13%);
  transform: rotate(14deg);
  z-index: 2;
}
.note { position: absolute; left: 41%; bottom: 2%; margin: 0; display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; }
.note svg { width: 40px; height: 24px; transform: translateY(-12px); }

.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; padding: 30px clamp(18px, 5vw, 72px) 70px; }
.step { background: var(--cream); border-radius: 24px; padding: 26px 26px 28px; box-shadow: var(--shadow); transform: rotate(var(--tilt)); }
.step b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); border: 1.5px solid var(--ink); font-weight: 700; margin-bottom: 14px; }
.step h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.03em; font-weight: 700; }
.step p { margin: 0; color: var(--ink-2); }
.foot-bar { display: flex; align-items: center; justify-content: space-between; padding: 26px clamp(18px, 5vw, 72px) 40px; border-top: 1.5px solid var(--line); }
.foot-bar .logo { width: 32px; height: 28px; }
.foot-bar .word { font-size: 24px; }

/* list title + meta */
.list-title { margin: 0; font-weight: 800; letter-spacing: -0.055em; line-height: 0.9; font-variation-settings: "opsz" 96; font-size: clamp(54px, 7.6vw, 124px); overflow-wrap: anywhere; }
.list-title .dot { font-style: normal; }
.meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--ink-2); margin: 18px 0 0; font-size: 16px; }
.meta-line b { color: var(--ink); font-weight: 450; }
.meta-line .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); display: inline-block; }

/* islands */
.islands { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 34px 56px; padding: 30px 0 60px; }
.island { position: relative; flex: 0 1 auto; max-width: 100%; }
.ihead { margin: 0 0 18px 4px; font-size: 32px; font-weight: 800; letter-spacing: -0.04em; display: inline-flex; align-items: baseline; gap: 6px; position: relative; padding-bottom: 6px; }
.ihead sup { font-size: 15px; font-weight: 450; color: var(--ink-2); top: 0; vertical-align: baseline; }
.ihead .squig { position: absolute; left: -3px; right: -10px; bottom: -5px; width: calc(100% + 13px); height: 10px; color: var(--ink); }
.iname[data-rename] { cursor: text; border-radius: 6px; }
.iname[contenteditable="plaintext-only"], .iname[contenteditable="true"] { outline: none; background: rgba(255, 255, 255, 0.5); padding: 0 6px; }
.tiles { position: relative; display: flex; flex-wrap: wrap; gap: 14px; padding: 8px 4px 20px; }
.tiles::before, .tiles::after { content: ""; position: absolute; border: 1.5px solid var(--line); border-radius: 50%; pointer-events: none; z-index: 0; }
.tiles::before { inset: 12% -34px 4% -34px; }
.tiles::after { inset: 26% 12% 16% 12%; opacity: 0.7; }
.island.is-empty .tiles { min-height: 140px; min-width: 260px; align-items: center; justify-content: center; }
.drift { color: var(--ink-3); margin: 0; z-index: 1; position: relative; }
.drift.big { font-size: 20px; padding: 40px 0; }

.tile {
  position: relative;
  z-index: 1;
  width: var(--tile);
  background: var(--cream);
  border-radius: var(--r);
  padding: 8px 8px 11px;
  box-shadow: var(--shadow);
  transform: translateY(var(--lift)) rotate(var(--tilt));
  transition: transform 0.45s var(--spring), box-shadow 0.3s var(--ease), opacity 0.3s;
  display: flex;
  flex-direction: column;
  animation: float-in 0.7s var(--spring) calc(var(--i, 0) * 0.04s) both;
}
.tile:hover, .tile:focus-visible { transform: translateY(calc(var(--lift) - 6px)) rotate(0deg) scale(1.025); box-shadow: var(--shadow-up); z-index: 3; }
.editor .tile { cursor: pointer; }
.tile.is-selected { outline: 2px solid var(--ink); outline-offset: 3px; transform: translateY(calc(var(--lift) - 4px)) rotate(0deg); }
.tile .ph { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: #fff; }
.tile .ph img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ph-empty { display: grid; place-items: center; width: 100%; height: 100%; background: var(--pond-deep); }
.duck.tiny { width: 46%; height: auto; opacity: 0.9; }
.tile .tt { margin: 10px 3px 4px; font-size: 14px; font-weight: 450; line-height: 1.18; letter-spacing: -0.005em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin: auto 3px 0; padding-top: 2px; }
.tile .st { color: var(--ink-2); font-size: 13px; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile a.st:hover { color: var(--ink); }
.tile .st .arr { width: 10px; height: 10px; }
.tile .pr { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 2px 0; }
.chip { display: inline-block; border: 1.3px solid var(--ink); border-radius: 999px; padding: 1px 9px 2px; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.foot { display: flex; justify-content: space-between; align-items: center; margin: 10px 3px 0; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; border: 1.3px solid var(--ink); }
.dots i.on { background: var(--ink); }
.more { font-size: 12px; color: var(--ink-2); }
.sticky {
  position: absolute;
  z-index: 4;
  top: -12px;
  right: -14px;
  max-width: 120%;
  background: var(--sun);
  padding: 5px 11px 6px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.15;
  transform: rotate(8deg);
  box-shadow: 0 6px 12px -8px rgba(23, 61, 54, 0.45);
  white-space: nowrap;
}
.get {
  margin: 12px 0 0;
  width: 100%;
  border: 1.5px solid var(--ink);
  background: transparent;
  border-radius: 999px;
  padding: 7px 10px 8px;
  font-size: 14px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}
.get:hover:not([disabled]) { background: rgba(23, 61, 54, 0.07); }
.get:active:not([disabled]) { transform: scale(0.96); }
.get.mine { background: var(--ink); color: var(--paper); }
.get.taken { border-style: dashed; border-color: var(--ink-3); color: var(--ink-2); cursor: default; }
.tile.is-taken .ph img, .tile.is-taken .tt, .tile.is-taken .meta { opacity: 0.5; }
.onit {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-7deg);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 4px 12px 5px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 6px 14px -8px rgba(23, 61, 54, 0.5);
  animation: stamp 0.45s var(--spring) both;
}
.is-owner .get { display: none; }

.island-new {
  align-self: center;
  position: relative;
  width: 240px;
  height: 160px;
  margin: 50px 0 0 10px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.island-new::before, .island-new::after { content: ""; position: absolute; border: 1.5px solid var(--line-2); border-radius: 50%; transition: transform 0.5s var(--spring), border-color 0.3s; }
.island-new::before { inset: 0; }
.island-new::after { inset: 22% 16%; }
.island-new span { font-size: 24px; color: var(--ink); line-height: 1; }
.island-new:hover::before { transform: scale(1.06); border-color: var(--ink-3); }
.island-new:hover::after { transform: scale(0.94); }

/* share page */
.sheet { padding: 6px clamp(18px, 5vw, 72px) 40px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.sheet .list-title { font-size: clamp(60px, 9vw, 150px); }
.sticky-card { background: var(--sun); border-radius: 12px; padding: 20px 22px 22px; max-width: 290px; transform: rotate(var(--tilt)); box-shadow: 0 16px 26px -18px rgba(23, 61, 54, 0.6); margin-top: 12px; animation: float-in 0.8s var(--spring) 0.2s both; }
.sticky-card h2 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.03em; font-weight: 700; }
.sticky-card p { margin: 0; font-size: 15px; line-height: 1.35; }
.sticky-card.owner { background: var(--paper); border: 1.5px solid var(--ink); }
.share { --tile: clamp(140px, 12vw, 172px); }

/* editor */
.app-top { padding-top: 20px; gap: 16px; }
.tabs { display: flex; gap: 8px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; margin-left: 30px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1.3px solid var(--line-2); border-radius: 999px; padding: 7px 15px; background: transparent; font-size: 15px; white-space: nowrap; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s; }
.tab small { font-size: 11px; color: var(--ink-2); }
.tab:hover { border-color: var(--ink); }
.tab.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tab.on small { color: rgba(251, 251, 243, 0.7); }
.tab.new { border-style: dashed; color: var(--ink-2); }
.me { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--cream); font-weight: 700; font-size: 18px; box-shadow: var(--shadow); flex: none; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 36px; padding: 10px clamp(18px, 4vw, 52px) 40px; align-items: start; }
.board-head .list-title { outline: none; border-radius: 10px; caret-color: var(--beak); }
.board-head .list-title:focus { background: rgba(255, 255, 255, 0.35); }
.board-head .list-title:empty::before { content: "name this list"; color: var(--ink-3); }
.meta-line .linkish { background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline dotted; text-underline-offset: 3px; }
.meta-line input[type="date"] { border: 1.3px solid var(--line-2); border-radius: 8px; padding: 2px 8px; background: var(--paper); font-size: 14px; }

.finder { position: sticky; top: 14px; display: flex; flex-direction: column; gap: 0; }
.paste { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; background: var(--paper); border-radius: 999px; padding: 8px 8px 8px 22px; box-shadow: var(--shadow); transition: box-shadow 0.3s var(--ease); }
.paste:focus-within { box-shadow: 0 0 0 2px var(--ink), var(--shadow); }
.paste input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 16px; padding: 10px 0; }
.paste input::placeholder { color: var(--ink-3); }
.duck-btn { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--sun); display: grid; place-items: center; padding: 0; transition: transform 0.3s var(--spring); }
.duck-btn .duck { width: 30px; height: 26px; }
.duck-btn:hover { transform: rotate(-8deg) scale(1.06); }
.finder.is-busy .duck-btn .duck { animation: paddle 0.9s ease-in-out infinite; }
.panel {
  background: var(--paper);
  border-radius: 26px;
  margin-top: 16px;
  padding: 22px 22px 22px;
  box-shadow: var(--shadow);
  transform-origin: top center;
  animation: slide-in 0.5s var(--spring) both;
}
.panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.panel-head .duck { width: 34px; height: 29px; }
.panel-head h2 { margin: 0; font-size: 23px; letter-spacing: -0.035em; font-weight: 750; flex: 1; }
.panel-head .count { font-size: 13px; color: var(--ink-2); }
.panel-head .x { border: 0; background: transparent; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.panel-head .x:hover { background: var(--cream); color: var(--ink); }
.prod { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 14px; }
.prod .pic { width: 96px; height: 96px; border-radius: 16px; background: #fff; overflow: hidden; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.prod .pic img { width: 100%; height: 100%; object-fit: contain; }
.prod .pic .duck { width: 60%; height: auto; }
.prod .pt { font-size: 17px; line-height: 1.2; outline: none; border-radius: 6px; overflow-wrap: anywhere; }
.prod .pt:focus { background: var(--cream); }
.prod .pp { margin-top: 8px; display: flex; align-items: baseline; gap: 8px; }
.prod .pp b { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.prod .pp span { color: var(--ink-2); font-size: 15px; }
.pp input { width: 92px; border: 1.3px solid var(--line-2); border-radius: 8px; padding: 3px 8px; background: transparent; font-size: 16px; font-variant-numeric: tabular-nums; }
.storelist { list-style: none; margin: 0 0 8px; padding: 0; }
.storelist li { display: grid; grid-template-columns: 1fr auto 22px; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; animation: row-in 0.45s var(--ease) both; animation-delay: calc(var(--i, 0) * 0.06s); }
.storelist li:last-child { border-bottom: 1px solid var(--line); }
.storelist .nm { display: flex; align-items: center; gap: 8px; min-width: 0; }
.storelist .nm span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.storelist .p { font-variant-numeric: tabular-nums; }
.storelist .p.none { color: var(--ink-3); font-size: 13px; }
.storelist a { display: grid; place-items: center; color: var(--ink-2); width: 22px; height: 22px; border-radius: 50%; }
.storelist a:hover { color: var(--ink); background: var(--cream); }
.storelist li.pick { cursor: pointer; }
.storelist li.pick:hover .nm span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.storelist li.is-main .nm span:first-child { font-weight: 600; }
.badge { font-size: 11px; border-radius: 999px; padding: 0 8px 1px; border: 1.2px solid var(--ink); white-space: nowrap; }
.badge.yours { background: var(--sun); border-color: var(--sun-deep); }
.looking { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.looking .ripple { width: 22px; height: 22px; position: relative; flex: none; }
.looking .ripple::before, .looking .ripple::after { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--ink-3); border-radius: 50%; animation: ring 1.6s var(--ease) infinite; }
.looking .ripple::after { animation-delay: 0.8s; }
.skel { height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--cream), #eeeedf, var(--cream)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }

.fields { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px 10px; align-items: center; margin: 14px 0 18px; font-size: 14px; }
.fields > label { color: var(--ink-2); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pill { border: 1.3px solid var(--ink); background: transparent; border-radius: 999px; padding: 4px 12px 5px; font-size: 14px; line-height: 1.2; transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--spring); }
.pill:active { transform: scale(0.94); }
.pill.on { background: var(--ink); color: var(--paper); }
.pill.add { border-style: dashed; color: var(--ink-2); border-color: var(--ink-3); }
.pill-input { border: 1.3px solid var(--ink); border-radius: 999px; padding: 4px 12px 5px; font-size: 14px; width: 120px; background: var(--paper); outline: none; }
.prio { display: flex; align-items: center; gap: 10px; }
.prio button { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; padding: 0; transition: background 0.2s, transform 0.25s var(--spring); }
.prio button.on { background: var(--ink); }
.prio button:hover { transform: scale(1.2); }
.prio span { color: var(--ink-2); margin-left: 4px; }
.fields input.line { border: 0; border-bottom: 1.3px solid var(--line-2); background: transparent; padding: 6px 0; outline: none; font-size: 15px; width: 100%; }
.fields input.line:focus { border-color: var(--ink); }
.panel .btn { width: 100%; }
.panel .danger { margin-top: 12px; width: 100%; background: transparent; border: 0; color: var(--ink-2); font-size: 14px; padding: 6px; text-decoration: underline; text-underline-offset: 3px; }
.panel .danger:hover { color: #a33b2a; }
.panel .oops { margin: 0 0 10px; color: #8a3a26; font-size: 14px; }
.hint { color: var(--ink-2); font-size: 14px; margin: 14px 4px 0; line-height: 1.4; }
.hint b { color: var(--ink); font-weight: 500; }

.empty-board { padding: 60px 0; max-width: 520px; }
.empty-board h1 { font-size: clamp(54px, 7vw, 100px); margin: 0 0 18px; letter-spacing: -0.055em; line-height: 0.9; font-weight: 800; }
.empty-board p { color: var(--ink-2); font-size: 18px; margin: 0 0 28px; }

.menu { position: fixed; z-index: 30; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-up); padding: 8px; min-width: 230px; animation: slide-in 0.3s var(--spring) both; }
.menu button, .menu a { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 10px 14px; border-radius: 10px; font-size: 15px; text-decoration: none; }
.menu button:hover, .menu a:hover { background: var(--cream); }
.menu .who { padding: 8px 14px 10px; color: var(--ink-2); font-size: 13px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu .bad { color: #a33b2a; }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 40; transform: translate(-50%, 30px); opacity: 0; background: var(--ink); color: var(--paper); padding: 11px 20px; border-radius: 999px; font-size: 15px; pointer-events: none; transition: transform 0.45s var(--spring), opacity 0.3s var(--ease); white-space: nowrap; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

.lost-main { display: grid; justify-items: start; padding: 40px clamp(18px, 5vw, 72px); max-width: 720px; }
.lost-main .huge { width: 160px; height: auto; margin: 0 0 10px; }
.lost-main h1 { font-size: clamp(44px, 6vw, 84px); margin: 0 0 12px; letter-spacing: -0.05em; line-height: 0.95; }
.lost-main p { color: var(--ink-2); font-size: 18px; margin: 0 0 28px; }

/* motion */
@keyframes float-in { from { opacity: 0; transform: translateY(calc(var(--lift, 0px) + 26px)) rotate(calc(var(--tilt, 0deg) * -1)) scale(0.94); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-30px) scale(0.9); } }
@keyframes slide-in { from { opacity: 0; transform: translateY(-10px) scale(0.98); } }
@keyframes row-in { from { opacity: 0; transform: translateX(-8px); } }
@keyframes stamp { from { opacity: 0; transform: translate(-50%, -50%) rotate(-20deg) scale(1.5); } }
@keyframes ring { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes paddle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(-1px); } }
@keyframes splash { 0% { transform: translateY(calc(var(--lift) - 40px)) rotate(0deg) scale(0.6); opacity: 0; } 60% { opacity: 1; } }
.tile.is-new { animation: splash 0.75s var(--spring) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* narrower */
@media (max-width: 1180px) {
  .workspace { grid-template-columns: minmax(0, 1fr) 380px; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 30px; }
  .pond { height: 560px; min-height: 0; }
  .how { grid-template-columns: 1fr; }
  .top .tag { display: none; }
  .workspace { grid-template-columns: 1fr; }
  .finder { position: relative; top: 0; order: -1; }
  .tabs { margin-left: 0; order: 3; flex-basis: 100%; }
  .app-top { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  :root { --tile: calc((100vw - 36px - 14px - 8px) / 2); }
  .top { padding: 22px 18px 6px; }
  .brand .word { font-size: 28px; }
  .brand .sub { font-size: 17px; }
  .hide-sm { display: none; }
  .ghost { padding: 9px 18px; }
  .big { font-size: clamp(96px, 29vw, 150px); }
  .ctas { flex-direction: column; align-items: stretch; gap: 22px; text-align: center; }
  .ctas .under { align-self: center; }
  .btn { padding: 20px 28px; font-size: 19px; }
  .pond { height: 640px; margin: 10px -18px 0; }
  .share .brand .sub, .editor .brand .sub { display: none; }
  .app-top .ghost { padding: 9px 16px; }
  .get { font-size: 13px; white-space: nowrap; padding-left: 4px; padding-right: 4px; }
  .fields { grid-template-columns: 64px minmax(0, 1fr); }
  .htile { width: 42vw; }
  .htile:nth-of-type(1) { left: 3% !important; top: 0 !important; }
  .htile:nth-of-type(2) { left: 52% !important; top: 4% !important; }
  .htile:nth-of-type(3) { left: 54% !important; top: 41% !important; }
  .htile:nth-of-type(4) { left: 4% !important; top: 38% !important; }
  .htile:nth-of-type(5) { display: none; }
  .hero-duck { left: 27%; top: 73%; width: 44%; }
  .rings { top: 70%; left: -10%; right: -10%; height: 34%; }
  .note { left: 22%; bottom: -3%; }
  .burst { width: 76px; height: 76px; right: -14px; font-size: 13px; }
  .sheet, .workspace { padding-left: 18px; padding-right: 18px; }
  .sheet .list-title, .list-title { font-size: clamp(54px, 17vw, 90px); }
  .islands { gap: 26px; }
  .island { width: 100%; }
  .tiles { gap: 14px; padding-left: 0; padding-right: 0; }
  .tiles::before { inset: 8% -10px 3% -10px; }
  .sticky-card { max-width: none; width: 100%; }
  .island-new { width: 100%; margin: 0; }
  .foot-bar { flex-direction: column; gap: 18px; }
  .menu { left: 12px !important; right: 12px !important; }
}

.settled .tile:not(.is-new) { animation: none; }
.board-head .list-title:not(:empty)::after { content: "."; }
