/* Flowe app: preview garden. Light theme from SITE-BRIEF section 2. */
:root {
  --bg: #FAF7FF;
  --lavender: #DECEFF;
  --violet-2: #A78BFA;
  --violet: #8B5CF6;
  --deep: #2E1065;
  --yellow: #FFC53D;
  --green: #18C078;

  --text: var(--deep);
  --text-2: rgba(46, 16, 101, .74);
  --text-3: rgba(46, 16, 101, .64);
  --fill: rgba(222, 206, 255, .32);
  --fill-2: rgba(222, 206, 255, .55);
  --line: var(--lavender);
  --err: #B4235A;

  --r-lg: 28px;
  --r: 20px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ui: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: 16px;
  --max: 1120px;
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 720px) { body { font-size: 17px; } }
img, svg { display: block; }
button, input { font: inherit; color: inherit; }
a { color: var(--violet); text-underline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, b, strong { font-weight: 500; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--deep); color: var(--bg); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

.kicker, .lbl {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.kicker { display: block; color: var(--violet-2); margin-bottom: 10px; }
.lbl { color: var(--text-3); letter-spacing: .06em; font-size: 11.5px; }

/* ------------------------------------------------ preview strip + header */
.preview { background: var(--lavender); color: var(--deep); font-size: 13px; line-height: 1.4; padding: 8px var(--gutter); text-align: center; }
.preview p { max-width: var(--max); margin: 0 auto; }

.bar { position: sticky; top: 0; z-index: 20; background: rgba(139, 92, 246, .9); border-bottom: 1px solid transparent; transition: border-color .3s; }
.bar.scrolled { border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(1px)) { .bar { backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); } }
.bar-in { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 30px; height: auto; }
.brand-sm { font-size: 16px; }
.brand-sm img { width: 22px; }
.bar-right { display: flex; align-items: center; gap: 10px; min-width: 0; }

.net {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text);
  font-family: var(--mono); font-size: 12.5px; white-space: nowrap; cursor: default;
}
.net-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.net.warn { cursor: pointer; border-color: var(--violet-2); background: var(--fill); }
.net.warn .net-dot { background: var(--violet); }
.net.warn:hover { background: var(--fill-2); }

/* ------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease), opacity .2s;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: var(--deep); }
.btn-primary:hover { background: #FFCD57; }
.btn-quiet { background: transparent; color: var(--text); border-color: var(--lavender); }
.btn-quiet:hover:not(:disabled) { border-color: var(--violet-2); background: var(--fill); }
.btn-quiet:disabled { opacity: .45; cursor: not-allowed; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; }
.btn-xs { height: 30px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-locked {
  height: auto; min-height: 52px; padding: 13px 18px; white-space: normal; text-align: center; line-height: 1.35;
  background: var(--fill-2); color: var(--text-2); cursor: not-allowed; border-color: var(--lavender);
}
.btn-locked svg { flex: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none;
  border-radius: 50%; border: 0; background: transparent; color: var(--text-2); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--fill-2); color: var(--text); }

.acct { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 6px; border-radius: 999px; border: 1px solid var(--line); }
.acct-icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--fill-2); color: var(--text); }
.acct-addr { font-size: 13px; }

/* ------------------------------------------------ layout */
.shell { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 48px var(--gutter) 72px; }

.intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 36px; }
.intro h1 { font-size: 44px; line-height: 1.05; letter-spacing: -.035em; margin-bottom: 20px; }
@media (min-width: 720px) { .intro h1 { font-size: 56px; } }

.who { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-height: 30px; }
.who-empty { color: var(--text-2); max-width: 44ch; }
.who-chip { display: inline-flex; align-items: center; gap: 2px; padding: 3px 3px 3px 12px; border-radius: 999px; border: 1px solid var(--line); max-width: 100%; }
.who-tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-right: 8px; }
.who-addr { font-size: 13.5px; margin-right: 4px; }
.who-status { font-family: var(--mono); font-size: 12px; color: var(--text-3); display: inline-flex; align-items: center; gap: 7px; }
.who-status.ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.who-status.busy::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--violet-2); animation: pulse 1.2s infinite; }
.who-status.err { color: var(--err); }

.view-form { display: flex; gap: 8px; margin-top: 16px; max-width: 520px; }
.view-form[hidden] { display: none; }
.field {
  flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 14px;
}
.field::placeholder { color: var(--text-3); }
.field:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 3px rgba(167, 139, 250, .25); }
.field[aria-invalid="true"] { border-color: var(--err); }
.form-error { color: var(--err); font-size: 13.5px; margin-top: 8px; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stat dd { font-size: 24px; } }
.stat { padding: 16px 16px 4px 0; min-width: 0; }
.stat + .stat { padding-left: 16px; border-left: 1px solid var(--line); }
@media (max-width: 719px) { .stat:nth-child(3) { padding-left: 0; border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 12px; } }
.stat dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.stat dd { margin: 6px 0 0; font-size: 18px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------ tabs */
.tabs-wrap { border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tabs {
  position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter);
  scroll-behavior: smooth;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] {
  flex: none; height: 48px; padding: 0 14px; border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--text-3); border-radius: 10px 10px 0 0; transition: color .2s;
}
.tabs [role="tab"]:hover { color: var(--text); }
.tabs [role="tab"][aria-selected="true"] { color: var(--text); }
.tabs [role="tab"]:focus-visible { outline-offset: -3px; }
.tab-ink { position: absolute; left: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--violet-2); transition: transform .35s var(--ease), width .35s var(--ease); }

.panel:focus-visible { outline-offset: 8px; }
.panel.enter > * { animation: rise .6s var(--ease) both; }
.panel.enter > *:nth-child(2) { animation-delay: .05s; }
.panel.enter > *:nth-child(3) { animation-delay: .1s; }
.panel.enter > *:nth-child(4) { animation-delay: .15s; }

.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.panel-head > div:first-child { max-width: 620px; }
.panel-head h2 { font-size: 34px; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 10px; }
@media (min-width: 720px) { .panel-head h2 { font-size: 40px; } }
.panel-head p { color: var(--text-2); }

.card { background: var(--fill); border-radius: var(--r-lg); padding: 24px; min-width: 0; }
@media (min-width: 720px) { .card { padding: 28px; } }
.notice { padding: 14px 18px; margin-bottom: 20px; border-radius: var(--r); border: 1px dashed var(--lavender); color: var(--text-2); }
.note { color: var(--text-3); font-size: 14px; margin-top: 20px; max-width: 70ch; }
.muted { color: var(--text-3); }
.r { text-align: right; }

.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  background: var(--fill-2); color: var(--text-2); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .02em; white-space: nowrap;
}

.skel { display: inline-block; vertical-align: middle; border-radius: 6px; background: linear-gradient(90deg, var(--fill-2), var(--fill), var(--fill-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skel-num { width: 64px; height: 18px; }

/* ------------------------------------------------ garden: beds */
.next-close { display: grid; gap: 2px; text-align: right; }
.next-count { font-size: 24px; font-weight: 500; }
.next-when { font-size: 12.5px; color: var(--text-3); }
@media (max-width: 719px) { .next-close { text-align: left; } }

.garden-empty { margin-bottom: 24px; }
.garden-empty h3 { font-size: 20px; margin-bottom: 4px; }
.garden-empty p { color: var(--text-2); max-width: 60ch; }

.beds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .beds { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.bed { background: var(--lavender); border-radius: var(--r-lg); padding: 8px 8px 0; display: flex; flex-direction: column; min-width: 0; }
@media (min-width: 720px) { .bed { padding: 10px 10px 0; } }
.bed-soil {
  display: block; width: 100%; padding: 0; border: 0; background: var(--bg); border-radius: 20px; overflow: hidden;
  aspect-ratio: 4 / 5; cursor: default;
}
button.bed-soil { cursor: pointer; }
.bed-soil img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.bed-meta { padding: 12px 6px 12px; }
.bed-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bed-sub { font-size: 12px; color: var(--text-2); }
.bed-empty .bed-soil img { transition: transform .5s var(--ease); }
.bed-empty:hover .bed-soil img { transform: translateY(-3px); }
.bed-empty .btn-quiet { border-color: var(--violet-2); background: var(--bg); }
.bed-empty .btn-quiet:hover { background: var(--bg); border-color: var(--violet); }
.stage-tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text); }
@media (max-width: 400px) { .bed-meta.bed-row { flex-direction: column; align-items: stretch; gap: 8px; } .bed-meta .btn { width: 100%; } }

/* ------------------------------------------------ seeds */
.seed-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.seed { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.seed-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--fill-2); display: grid; place-items: center; font-size: 15px; font-weight: 500; }
.seed-id h3 { font-size: 16px; }
.seed-id p { font-size: 13.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seed-bal { text-align: right; display: grid; }
.seed-bal .num { font-size: 18px; font-weight: 500; }
.seed-act { display: flex; align-items: center; gap: 6px; }
.seed.is-zero .seed-bal .num, .seed.is-zero .seed-id h3 { color: var(--text-3); }
.seed.is-zero .seed-mark { background: transparent; border: 1px solid var(--line); color: var(--text-3); }
@media (max-width: 559px) {
  .seed { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 6px 12px; }
  .seed-mark { width: 36px; height: 36px; }
  .seed-act { grid-column: 2 / -1; justify-content: flex-end; }
  .seed-bal .lbl { display: none; }
}

/* ------------------------------------------------ plant */
.plant-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 960px) { .plant-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.plant-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.seed-pick { border: 0; margin: 0; padding: 0; min-width: 0; }
.seed-pick legend { padding: 0; margin-bottom: 10px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
@media (max-width: 400px) { .pick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pick { position: relative; display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); cursor: pointer; min-width: 0; transition: border-color .2s, background-color .2s; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick-sym { font-size: 14px; font-weight: 500; }
.pick-bal { font-size: 11.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick:hover { border-color: var(--violet-2); }
.pick:has(input:checked) { border-color: var(--violet-2); background: var(--lavender); box-shadow: inset 0 0 0 1px var(--violet-2); }
.pick:has(input:focus-visible) { outline: 2px solid var(--violet); outline-offset: 2px; }
.pick.is-zero .pick-sym { color: var(--text-3); }

.amount-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.amount-bal { font-size: 12.5px; color: var(--text-2); }
.amount-box { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.amount-box:focus-within { border-color: var(--violet-2); box-shadow: 0 0 0 3px rgba(167, 139, 250, .25); }
.amount-input { flex: 1; min-width: 0; border: 0; background: none; font-size: 26px; font-weight: 500; padding: 4px 0; }
.amount-input:focus { outline: none; }
.amount-input::placeholder { color: rgba(46, 16, 101, .3); }
.amount-sym { font-size: 13px; color: var(--text-2); }
.amount-msg { min-height: 20px; margin-top: 8px; font-size: 13px; color: var(--text-3); }
.amount-msg.err { color: var(--err); }
.amount-msg.ok { color: var(--text-2); }
.amount-msg.ok::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: 1px; }

.summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 0; }
.summary > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; min-width: 0; }
.summary dt { color: var(--text-3); white-space: nowrap; }
.summary dd { margin: 0; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 559px) { .summary { grid-template-columns: 1fr; } }
.lock-note { font-size: 13px; color: var(--text-3); text-align: center; margin-top: -12px; }

.season { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.season-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.season-count { font-size: 34px; font-weight: 500; letter-spacing: -.03em; margin-top: 4px; }
.season-sub { font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tl { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 6px 0; }
.tl-pot { width: 64px; height: 92px; object-fit: contain; object-position: 50% 100%; border-radius: 14px; background: var(--bg); }
.tl-row { display: flex; justify-content: space-between; align-items: center; gap: 4px 10px; flex-wrap: wrap; }
.tl-stage { font-size: 16px; }
.tl-date { font-size: 13.5px; }
.tl-sub { font-size: 12.5px; color: var(--text-3); }
.tl.is-next .tl-stage::after { content: "Next"; margin-left: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--violet-2); }
.season-legend { font-size: 13px; color: var(--text-2); display: flex; gap: 10px; align-items: baseline; }
.held-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; transform: translateY(-1px); }
.season-foot { font-size: 12.5px; color: var(--text-3); }

.rules { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.rules h3 { font-size: 20px; margin-bottom: 14px; }
.rules ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px 40px; }
@media (min-width: 720px) { .rules ul { grid-template-columns: 1fr 1fr; } }
.rules li { color: var(--text-2); font-size: 15px; padding-left: 18px; position: relative; }
.rules li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--violet-2); }
.rules li b { color: var(--text); }

/* ------------------------------------------------ greenhouse */
.gh-status { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0 0 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gh-status > div { display: grid; gap: 4px; }
.gh-status dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.gh-status dd { margin: 0; font-size: 15px; }
.table-wrap { overflow-x: auto; }
.gh-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.gh-table th, .gh-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.gh-table thead th { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); padding-top: 0; }
.gh-table th.r, .gh-table td.r { text-align: right; padding-right: 0; }
.gh-table tbody th { font-weight: 400; }
.gh-table tbody th b { display: block; font-weight: 500; }
.gh-table tbody th span { font-size: 13px; color: var(--text-3); }
.addr-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-decoration: none; }
.addr-link:hover { text-decoration: underline; }
@media (max-width: 559px) {
  .gh-table thead th:nth-child(4), .gh-table td:nth-child(4) { display: none; }
  .gh-table tbody th span { display: none; }
  .gh-table td:nth-child(3) { padding-right: 0; }
}

/* ------------------------------------------------ herbarium */
.herb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .herb-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } }
.herb { display: grid; justify-items: center; text-align: center; gap: 2px; padding: 0 8px 16px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); min-width: 0; overflow: hidden; }
.herb img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 72%; filter: grayscale(1); opacity: .55; margin-bottom: 4px; }
.herb b { font-size: 16px; color: var(--text-2); }
.herb-name { font-size: 12.5px; color: var(--text-3); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.herb-state { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-top: 6px; }

/* ------------------------------------------------ leaderboard */
.empty-state { display: grid; justify-items: center; text-align: center; padding: 8px 16px 40px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.empty-state img { width: 180px; height: 220px; object-fit: cover; object-position: 50% 68%; margin-bottom: 6px; }
.empty-state h3 { font-size: 22px; margin-bottom: 6px; }
.empty-state p { color: var(--text-2); max-width: 46ch; }

/* ------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line); }
.foot-in { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter) 40px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot nav a { color: var(--text); text-decoration: none; font-size: 14.5px; }
.foot nav a:hover { color: var(--violet); }
.foot-note { margin-top: 20px; font-size: 13px; color: var(--text-3); max-width: 90ch; }

/* ------------------------------------------------ wallet dialog + toast */
.sheet {
  width: min(440px, calc(100vw - 32px)); padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg); color: var(--text); box-shadow: 0 30px 80px -30px rgba(46, 16, 101, .35);
}
.sheet[open] { animation: pop .3s var(--ease); }
.sheet::backdrop { background: rgba(46, 16, 101, .25); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.sheet-head h2 { font-size: 20px; }
.sheet-sub { font-size: 14px; color: var(--text-2); margin: 6px 0 18px; }
.wallet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wallet-opt {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; text-align: left; transition: border-color .2s, background-color .2s;
}
.wallet-opt:hover { border-color: var(--violet-2); background: var(--fill); }
.wallet-opt img, .wallet-fallback { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.wallet-fallback { display: grid; place-items: center; background: var(--fill-2); }
.wallet-name { flex: 1; font-weight: 500; }
.wallet-go { color: var(--violet); }
.wallet-empty { padding: 16px; border-radius: 16px; border: 1px dashed var(--line); color: var(--text-2); font-size: 14px; display: grid; gap: 6px; }
.wallet-empty b { color: var(--text); }
.wallet-empty em { font-style: normal; color: var(--text); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--deep); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-size: 14px;
  transition: opacity .25s, transform .35s var(--ease); max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.97) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pulse { 50% { opacity: .25; } }

/* ------------------------------------------------ small screens */
@media (max-width: 559px) {
  .shell { padding-top: 32px; }
  .intro { padding-bottom: 28px; gap: 24px; }
  .preview { font-size: 12.5px; }
  .net { width: 40px; padding: 0; justify-content: center; }
  .net .net-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .net.warn { width: auto; padding: 0 12px; }
  .net.warn .net-label { position: static; width: auto; height: auto; clip: auto; font-size: 11.5px; }
  .brand span { font-size: 18px; }
  .btn-primary { padding: 0 16px; font-size: 14px; }
  .acct-addr { display: none; }
  .view-form { flex-direction: column; }
  .view-form .btn, .view-form .field { width: 100%; flex: none; }
  .card { border-radius: 22px; padding: 18px; }
  .tabs-wrap { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .panel.enter > * { animation: none; }
}


/* purple theme: the same world as the landing site */
:root {
  --bg: #8B5CF6;
  --text: #FFFFFF;
  --text-2: rgba(255, 255, 255, .84);
  --text-3: rgba(255, 255, 255, .68);
  --fill: rgba(46, 16, 101, .22);
  --fill-2: rgba(46, 16, 101, .36);
  --line: rgba(255, 255, 255, .22);
  --violet: #FFFFFF;
  --violet-2: #DECEFF;
}
body { background: var(--bg); color: var(--text); }
.preview { background: #2E1065; color: #fff; }
.btn-quiet { border-color: rgba(255, 255, 255, .45); }
.bed { background: rgba(46, 16, 101, .38); }
.pick:has(input:checked) { background: rgba(46, 16, 101, .5); border-color: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow); }
.notice { border-color: rgba(255, 255, 255, .35); }
.btn-quiet, .btn[disabled] { border-color: rgba(255, 255, 255, .35); }
.herb { background: rgba(46, 16, 101, .34); padding-top: 12px; }
.herb img { aspect-ratio: auto; object-fit: contain; filter: none; opacity: 1; width: 82%; }
.herb b { color: #fff; font-size: 18px; }

/* ------------------------------------------------ the garden */
.yard-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 16px; }
.yard-stat { padding: 9px 14px; border-radius: 999px; background: var(--fill); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.yard-stat b { color: #fff; font-family: var(--mono); font-weight: 500; margin-right: 4px; }
.yard-state { margin-left: auto; font-size: 12px; letter-spacing: .04em; color: var(--text-3); }
.yard-bar .btn { margin-left: auto; }
.yard {
  position: relative; border-radius: 36px; padding: clamp(18px, 3vw, 36px); overflow: hidden; min-height: 320px;
  background:
    radial-gradient(120% 60% at 50% 118%, rgba(24, 192, 120, .22), transparent 60%),
    radial-gradient(80% 50% at 50% -10%, rgba(255, 255, 255, .12), transparent 70%),
    linear-gradient(180deg, rgba(46, 16, 101, .55), rgba(46, 16, 101, .82));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.plots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: clamp(12px, 2vw, 22px); }
.plot { --c: #A78BFA; min-width: 0; animation: plot-in .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes plot-in { from { opacity: 0; transform: translateY(24px); } }
.plot-art { position: relative; display: block; width: 100%; aspect-ratio: 560 / 816; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 26px; }
.plot .glow { position: absolute; inset: 4% 4% 30%; border-radius: 50%; background: radial-gradient(closest-side, var(--c), transparent 72%); opacity: .42; filter: blur(6px); transition: opacity .5s; }
.plot-art:hover .glow { opacity: .7; }
.plot .frames { position: absolute; inset: 0; display: block; transform-origin: 50% 96%; transform: scale(var(--g, 1)); transition: transform 1.2s var(--ease); }
.plot .frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .7s ease; transform-origin: 50% 96%; animation: sway 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -700ms); }
@keyframes sway { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.4deg); } }
.plot .frames.pop { animation: pop-grow .8s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes pop-grow { 0% { transform: scale(calc(var(--g, 1) * .9)); } 55% { transform: scale(calc(var(--g, 1) * 1.05)); } 100% { transform: scale(var(--g, 1)); } }
.plot-art::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 1.5%; height: 5%; border-radius: 50%; background: rgba(27, 10, 64, .55); filter: blur(7px); z-index: -1; }
.plot-info { margin-top: 10px; padding: 14px 16px 15px; border-radius: 20px; background: rgba(27, 10, 64, .45); border: 1px solid rgba(255, 255, 255, .12); }
.plot-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plot-row b { font-size: 19px; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 8px; }
.plot-row b::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(255, 255, 255, .2); }
.stage-chip { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; }
.stage-chip.done { background: var(--yellow); color: #2E1065; }
.plot-amt { margin-top: 6px; font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plot-bar { margin-top: 12px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); overflow: hidden; background-image: linear-gradient(90deg, transparent 24.5%, rgba(27, 10, 64, .9) 24.5% 25.5%, transparent 25.5% 49.5%, rgba(27, 10, 64, .9) 49.5% 50.5%, transparent 50.5% 74.5%, rgba(27, 10, 64, .9) 74.5% 75.5%, transparent 75.5%); }
.plot-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--yellow); mix-blend-mode: screen; transition: width 1s var(--ease); }
.plot-next { margin-top: 9px; font-size: 11.5px; line-height: 1.4; color: var(--text-3); min-height: 32px; }
.is-demo .plot-amt { text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.yard-note { margin-top: 16px; font-size: 14px; color: var(--text-3); max-width: 84ch; }

.yard-empty { text-align: center; padding: clamp(10px, 3vw, 30px) 10px 20px; }
.yard-empty h3 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.035em; margin: 8px 0 10px; }
.yard-empty p { color: var(--text-2); max-width: 56ch; margin: 0 auto; }
.ghosts { display: flex; justify-content: center; align-items: flex-end; gap: 0; margin: 0 auto 8px; max-width: 760px; }
.ghosts img { width: 20%; height: auto; opacity: .5; animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--i) * -900ms); }
.ghosts img:nth-child(3) { width: 24%; opacity: .8; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.ye-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* plot sheet */
.plot-sheet { width: min(860px, calc(100vw - 24px)); max-width: none; background: #2E1065; color: #fff; border: 1px solid rgba(255, 255, 255, .16); }
.plot-sheet .sheet-head h2 span { font-weight: 400; color: var(--text-3); font-size: 16px; margin-left: 8px; }
.ps-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 8px; }
.ps-art { position: relative; aspect-ratio: 560 / 816; }
.ps-origin { color: var(--text-2); font-size: 15px; }
.ps-origin a { color: var(--yellow); margin-left: 6px; white-space: nowrap; }
.ps-line { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 0; }
.ps-line li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: var(--text-3); font-size: 15px; }
.ps-line li .mono { font-size: 12px; }
.ps-line .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); }
.ps-line li.done { color: #fff; }
.ps-line li.done .dot { background: var(--green); border-color: var(--green); }
.ps-line li.next { color: #fff; }
.ps-line li.next .dot { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 197, 61, .25); }
.ps-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-note { margin-top: 16px; font-size: 13px; color: var(--text-3); }
@media (max-width: 640px) {
  .plots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-grid { grid-template-columns: 1fr; }
  .ps-art { width: 56%; margin: 0 auto; }
  .yard-state { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .plot, .plot .frames img, .ghosts img, .plot .frames.pop { animation: none; } }
.plot[data-stage="0"] .glow { opacity: 0; }
.plot[data-stage="1"] .glow { opacity: .18; }
.plot.hole { opacity: .55; }
.plot.hole .plot-art { cursor: default; }
.plot.hole .plot-row b::before { background: transparent; border: 1.5px dashed rgba(255, 255, 255, .6); box-shadow: none; }
.plot.hole .plot-row b { font-size: 15px; font-weight: 500; }

/* ------------------------------------------------ live mode */
.preview.is-live { background: #1B0A40; }
.preview.is-live a { color: var(--yellow); }
.badge-ok { background: rgba(24, 192, 120, .25); color: #fff; }
.btn-danger { background: var(--err); color: #fff; }
.btn-danger:hover { background: #C92C68; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
#confirmSheet { background: #2E1065; color: #fff; border-color: rgba(255, 255, 255, .16); }
#confirmSheet .sheet-sub { color: var(--text-2); }

/* plant: quote + flow */
.quote .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 559px) { .quote .summary { grid-template-columns: 1fr; } }
.quote .summary dt { white-space: normal; }
.quote .summary dd .muted { font-size: 12px; margin-left: 4px; }
.quote .yes { color: #7CF5B8; font-weight: 500; }
.quote .no { color: #FF9EC1; font-weight: 500; }
.flow { display: grid; gap: 14px; }
.tx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tx-steps li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: 14px; }
.tx-steps li b { font-weight: 500; }
.tx-steps li .mono { font-size: 12.5px; color: var(--text-3); }
.tx-steps li .mono a { color: var(--yellow); margin-left: 8px; }
.tx-steps li.busy { border-color: var(--yellow); }
.tx-steps li.busy b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); margin-right: 8px; animation: pulse 1.2s infinite; }
.tx-steps li.done b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 8px; }
.tx-steps li.skip { opacity: .7; }
.flow-err { color: #FFB3CD; font-size: 14px; padding: 10px 14px; border-radius: 14px; background: rgba(180, 35, 90, .25); }
.flow-ok { font-size: 14px; color: var(--text-2); }
.plot-link { background: none; border: 0; padding: 0; color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13px; font-family: var(--mono); }
.plot-link:disabled { opacity: .5; cursor: default; }
.btn-locked span { font-size: 14px; }

/* garden: live plots */
.plot-facts { margin: 12px 0 0; display: grid; gap: 4px; }
.plot-facts > div { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 1.3; min-width: 0; }
.plot-facts dt { color: var(--text-3); white-space: nowrap; }
.plot-facts dd { margin: 0; color: #fff; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plot-idx { color: var(--text-3); font-size: 11px; }
.plot-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; }
.plot-actions .btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.plot-actions .btn-quiet { border-color: rgba(255, 255, 255, .35); }
.plot-actions .btn:disabled { opacity: .45; cursor: not-allowed; }
.plot-actions .plot-link { width: 100%; text-align: left; margin-top: 2px; }
.plot.live .plot-next { min-height: 0; }
.plot.live .plot-amt { white-space: normal; }
.ps-line li.miss .dot { border-color: #FF9EC1; background: rgba(255, 158, 193, .25); }
.ps-line li.miss { color: var(--text-2); }
.ps-body .plot-facts { margin: 0 0 16px; }
.ps-body .plot-facts > div { font-size: 13px; }
.harvested, .unplanted { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.harvested h3, .unplanted h3 { font-size: 18px; margin-bottom: 10px; }
.harvested-list, .unplanted-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.harvested-list li, .unplanted-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 14px; border-radius: 14px; background: var(--fill); font-size: 14px; }
.harvested-list li b, .unplanted-list li b { display: inline-flex; align-items: center; gap: 8px; min-width: 64px; }
.harvested-list li b::before, .unplanted-list li b::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c, #A78BFA); box-shadow: 0 0 0 2px rgba(255, 255, 255, .2); }
.harvested-list li .mono, .unplanted-list li .mono { font-size: 13px; color: var(--text-2); }
.harvested-list li a { color: var(--yellow); margin-left: auto; }
.unplanted-list li .btn { margin-left: auto; }

/* greenhouse: live */
.gh-h { font-size: 18px; margin: 28px 0 12px; }
.gh-usdg { margin-bottom: 0; }
.gh-table tr.is-unlisted th, .gh-table tr.is-unlisted td { color: var(--text-3); }
.gh-table-live thead th:nth-child(4), .gh-table-live td:nth-child(4) { display: table-cell; }
.herb.is-empty img { filter: grayscale(1); opacity: .55; }
.herb.is-empty b, .herb.is-empty .herb-name { color: var(--text-3); }
.herb.is-stocked .herb-state { color: #7CF5B8; }
@media (max-width: 719px) {
  .gh-table-live thead th:nth-child(2), .gh-table-live td:nth-child(2) { display: none; }
  .gh-table-live thead th:nth-child(5), .gh-table-live td:nth-child(5) { display: none; }
  .gh-closes thead th:nth-child(3), .gh-closes td:nth-child(3) { display: none; }
  .plot-actions .btn-sm { flex: 1; padding: 0 8px; }
}
@media (max-width: 640px) {
  .plots.plots-live { grid-template-columns: 1fr; }
  .plots.plots-live .plot-art { width: 62%; margin: 0 auto; }
  .plots.plots-live .plot.hole { display: none; }
}

/* leaderboard: every gardener, click to view */
.lb-table tbody tr { cursor: pointer; }
.lb-table tbody tr:hover td, .lb-table tbody tr:hover th, .lb-table tbody tr:focus-visible td, .lb-table tbody tr:focus-visible th { background: var(--fill); }
.lb-table tbody tr:focus-visible { outline: none; }
.lb-table tr.me th b { color: var(--yellow, #FFC53D); }
.lb-table td.rank { color: var(--text-3); width: 36px; }
.lb-table tr:first-child td.rank { color: var(--yellow, #FFC53D); }
.seed-tag { display: inline-block; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; }
.lb-note { margin: 14px 0 0; font-size: 12.5px; }
@media (max-width: 719px) {
  .lb-table thead th:nth-child(3), .lb-table td:nth-child(3), .lb-table thead th:nth-child(5), .lb-table td:nth-child(5), .lb-table thead th:nth-child(7), .lb-table td:nth-child(7) { display: none; }
}

.plot-ro { display: block; font-size: 12px; color: var(--text-3); padding-top: 4px; }
.panel-head .addr-link { word-break: break-all; }

/* $FLOWE contract pill in the header: "soon" until the address is published from /admin */
.ca-pill { display: inline-flex; align-items: center; gap: 8px; max-width: 220px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .08); color: #fff; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: default; transition: background .15s, border-color .15s; }
.ca-pill .ca-label { color: var(--yellow); }
.ca-pill .ca-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: .04em; }
.ca-pill[data-empty="1"] .ca-value { opacity: .75; }
.ca-pill .ca-icon { flex: none; opacity: .7; }
.ca-pill[data-empty="1"] .ca-icon { display: none; }
.ca-pill[data-empty="0"] { cursor: pointer; text-transform: none; }
.ca-pill[data-empty="0"] .ca-label { text-transform: uppercase; }
.ca-pill[data-empty="0"]:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
.ca-pill.copied { border-color: var(--green); background: rgba(24, 192, 120, .18); }
@media (max-width: 719px) { .ca-pill { display: none; } }

/* the pill shows the whole address, never an ellipsis */
.ca-pill { max-width: none; }
.ca-pill .ca-value { overflow: visible; text-overflow: clip; letter-spacing: .02em; font-size: 11px; }
@media (max-width: 1180px) { .ca-pill[data-empty="0"] .ca-value { font-size: 10px; } }

/* X mark in the header: no link yet, the account goes live later */
.x-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .08); color: #fff; flex: none; margin-left: -8px; }
/* the header row: brand, X mark and CA pill sit together on the left; wallet controls stay right */
.bar-in { justify-content: flex-start; }
.bar-in > .x-mark { margin-left: 0; }
.bar-in > .ca-pill { margin-right: auto; }

/* bare X glyph, no circle */
.x-mark { width: auto; height: auto; border: 0; background: none; padding: 0 2px; margin-left: -6px; }
.x-mark svg { width: 17px; height: 17px; }

/* ------------------------------------------------ phone pass (v9) */
@media (max-width: 719px) {
  .bar-in { flex-wrap: wrap; row-gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .bar-in > .ca-pill { display: inline-flex; order: 10; flex-basis: 100%; justify-content: center; margin: 0; padding: 7px 10px; font-size: 10.5px; }
  .bar-in > .ca-pill .ca-value { font-size: 10.5px; }
  .bar-in > .ca-pill .ca-icon { display: none; }
  .bar-right { margin-left: auto; }
  .who-chip { flex-wrap: wrap; row-gap: 4px; padding: 6px 6px 6px 12px; border-radius: 18px; }
  .who-tag, .who-addr { white-space: nowrap; }
  .who-status { width: 100%; }
  .tabs-wrap { margin-bottom: 28px; }
  .tabs [role="tab"] { white-space: nowrap; }
  .panel-head h2 { font-size: 28px; }
  .yard-bar { gap: 8px; }
  .yard-stat { padding: 7px 11px; font-size: 13px; }
  .stat dd { font-size: 16px; }
  .lb-table { font-size: 13.5px; }
  .lb-table th, .lb-table td { padding: 10px 8px 10px 0; }
}
@media (max-width: 719px) { .who-chip .icon-btn { width: 28px; height: 28px; } .who-addr { font-size: 12.5px; margin-right: 2px; } .who-tag { margin-right: 6px; } }
@media (max-width: 719px) { .who-chip { padding: 8px 10px 6px 12px; } .who-chip .who-tag { flex-basis: 100%; margin: 0 0 2px; } }

/* Flowe token tile in the herbarium: a link only once the contract is published */
.herb-flowe { padding: 0; }
.herb-flowe > a { padding: 12px 8px 16px; box-sizing: border-box; }
.herb-flowe > a[aria-disabled="true"] { cursor: default; }
.herb-flowe > a:not([aria-disabled="true"]) .herb-state { color: #fff; background: #8B5CF6; padding: 5px 9px; border-radius: 999px; }

/* owner payout card (visible only to the owner wallet) */
.owner-pay { display: grid; gap: 12px; max-width: 520px; padding: 18px; border-radius: 18px; background: rgba(46, 16, 101, .34); }
.owner-pay label { display: grid; gap: 6px; font-size: 13px; }
.owner-pay input { padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line, rgba(255,255,255,.2)); background: transparent; color: inherit; font: inherit; }

/* X link in the app header */
.x-link { display: inline-grid; place-items: center; padding: 8px; color: var(--text); flex: none; }
.x-link:hover { opacity: .8; }
