/* Google Sans Flex: the app's face for headings and body (her call, Nov
   2026). Variable, self-hosted, latin + latin-ext from Google Fonts (OFL). */
@font-face {
  font-family: "Google Sans Flex";
  src: url("../fonts/GoogleSansFlex-latin-ext.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Google Sans Flex";
  src: url("../fonts/GoogleSansFlex-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* inside the app both of the site's font tokens become Google Sans Flex, so
   every rule that reads them changes with it; the page around keeps its pair */
#twApp {
  --font-display: "Google Sans Flex", system-ui, sans-serif;
  --font-small: "Google Sans Flex", system-ui, sans-serif;
  font-family: var(--font-small);
}

/* Mobile first: the base layer is the smallest screen. Every
   (min-width) block below adds room, never removes it. */

/* =========================================================================
   TWEETSPOT — Concept 01
   A consumer app inside a phone frame on the site page.
   The page keeps the site's tokens; the app gets its own scoped palette
   (--tw-*) so the product feels like a product, not like the portfolio.
   ========================================================================= */

/* ---------- Page furniture ------------------------------------------- */

/* ---------- Phone ---------------------------------------------------- */

/* status bar */

/* scroll area */

@keyframes tw-in {
from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- App header ------------------------------------------------ */

/* ---------- Profile --------------------------------------------------- */

/* hero card — bird of the week */

/* sighting rows */

/* ---------- Explore --------------------------------------------------- */

/* ---------- Life list -------------------------------------------------- */

/* ---------- Detail ------------------------------------------------------ */

/* ---------- Tab bar ----------------------------------------------------- */

/* ---------- Toast ------------------------------------------------------- */

/* ---------- Memorial closing ------------------------------------------- */

/* ---------- Responsive -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
.tw-screen { animation: none; }
  .tw-card:hover { transform: none; }
}

.dedication {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: clamp(18px, 2.4vw, 28px);
  padding-top: 0.95rem;
  border-top: 1px solid var(--rule-strong);
  font-family: var(--font-small);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.dedication strong {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.008em;
  text-transform: none;
  color: var(--ink);
}
.dedication__note {
  max-width: 46ch;
  margin-top: 0.55rem;
  font-family: var(--font-small);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.dedication span:last-child {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}
.dedication .birdmark {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
  transform: translateY(3px);
}
.tw-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  margin-top: clamp(20px, 3vw, 40px);
}
.tw-layout__text {
  padding-top: 0.5rem;
  order: 1;
}
.tw-layout__text .lede {
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.005em;
}
.tw-steps {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.2rem;
  font-family: var(--font-small);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 44ch;
}
.tw-steps li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
}
.tw-steps b {
  color: var(--accent);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-top: 3px;
}
.tw-screens {
  margin-top: 1.4rem;
  border-top: 1px solid var(--rule);
}
.tw-screens div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.tw-screens dt {
  font-family: var(--font-small);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.tw-screens dd {
  margin: 0;
  font-family: var(--font-small);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 40ch;
}
.tw-spec {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-strong);
}
.tw-spec dt {
  font-family: var(--font-small);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.tw-spec dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tw-spec dd span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-small);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--ink-soft);
}
.tw-note {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.4rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-small);
  font-size: 0.6875rem;
  line-height: 1.55;
  color: var(--ink-faint);
  max-width: 46ch;
}
.tw-note .icon {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 1px;
}
.phone {
  position: relative;
  width: 390px;
  max-width: 100%;
  margin-inline: auto;
  padding: 0;                   /* no bezel: border, radius, shadow are the shared mockup style (studio.css) */
  background: var(--tw-paper);
  /* scoped app palette */
  /* her palette (Nov 2026): primary #35614d, a darker one for small
     text #254537, secondary #c2db80, ground #f2f2f2 (page and side nav);
     cards sit on it in white */
  --tw-paper: #f2f2f2;
  --tw-paper-2: #ffffff;
  --tw-ink: #23261C;
  --tw-muted: #5F6256;   /* 4.5:1 on paper-2 too (was #6D7062, 4.34) */
  --tw-line: rgba(35, 38, 28, 0.13);
  --tw-line-2: rgba(35, 38, 28, 0.22);
  --tw-moss: #35614d;
  --tw-moss-ink: #254537;
  --tw-lime: #c2db80;
  --tw-on-moss: #f2f2f2;
  --tw-clay: #B4593A;
  --tw-sand: color-mix(in oklab, var(--tw-lime) 38%, var(--tw-paper));
  --tw-shadow: 0 1px 2px rgba(20, 18, 12, 0.06);
  order: 2;
}
/* the device always fits the window, with air above and below it inside
   the viewport: the window less the bar (it shows on the way up), the
   frame's own padding and --phone-air at each end — never taller than the
   drawn size, never shorter than a usable screen. The app scrolls inside. */
.phone { --phone-air: clamp(16px, 3svh, 32px); }
.phone__screen {
  position: relative;
  height: clamp(460px, calc(100svh - var(--topbar-h) - 2 * var(--phone-air) - 2px), 648px);
  border-radius: 0;
  background: var(--tw-paper);
  color: var(--tw-ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--font-small);
  -webkit-font-smoothing: antialiased;
}
.phone__notch { display: none; }   /* no device drawing: the mockup is the screen */
.phone__notch--drawn {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 26px;
  background: #16180f;
  border-radius: 0 0 16px 16px;
  z-index: 6;
}
.tw-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 26px 0 30px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--tw-ink);
  flex: none;
  order: -2;
}
.tw-status__icons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tw-status__icons i {
  display: block;
  width: 14px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  position: relative;
}
.tw-status__icons i::after {
  content: "";
  position: absolute;
  inset: 1.5px 4px 1.5px 1.5px;
  background: currentColor;
  border-radius: 1px;
}
.tw-view {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 8px;
  overscroll-behavior: contain;
}

.tw-screen {
  animation: tw-in 260ms cubic-bezier(0.2, 0, 0, 1);
}
.tw-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 20px 14px;
}
.tw-head--bar {
  align-items: center;
  padding: 2px 16px 12px 10px;
  border-bottom: 1px solid var(--tw-line);
  background: var(--tw-paper);
  position: sticky;
  top: 0;
  z-index: 3;
}
.tw-eyebrow {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tw-muted);
}
.tw-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 520;
  margin-top: 2px;
}
.tw-bar-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 520;
  letter-spacing: -0.015em;
}
.tw-bar-sub {
  font-size: 0.625rem;
  color: var(--tw-muted);
  margin-top: 1px;
}
.tw-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tw-moss);
  color: #F6F1E4;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex: none;
}
.tw-iconbtn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--tw-ink);
  background: transparent;
  flex: none;
}
.tw-iconbtn:hover {
  background: rgba(35, 38, 28, 0.07);
}
.tw-iconbtn .icon {
  width: 20px;
  height: 20px;
}
.tw-profile {
  padding: 4px 20px 0;
}
.tw-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.02;
  letter-spacing: -0.032em;
  font-weight: 540;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.tw-sub {
  font-size: 0.6875rem;
  color: var(--tw-muted);
  margin-top: 4px;
  letter-spacing: 0.01em;
}
.tw-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 16px 0 18px;
  background: var(--tw-line);
  border-block: 1px solid var(--tw-line);
}
.tw-stat {
  background: var(--tw-paper);
  padding: 12px 0 10px;
  text-align: center;
}
.tw-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tw-stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tw-muted);
}
.tw-section {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 0 20px;
  margin-bottom: 8px;
}
.tw-section h4 {
  font-family: var(--font-small);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tw-muted);
}
.tw-section a {
  font-family: var(--font-small);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--tw-moss-ink);
}
.tw-section button {
  font-family: var(--font-small);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--tw-moss-ink);
}
.tw-hero {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  text-align: left;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: var(--tw-moss);
  color: var(--tw-on-moss);
  padding: 16px 16px 14px;
  transition: transform 220ms cubic-bezier(0.2, 0, 0, 1), box-shadow 220ms;
}
.tw-hero:active {
  transform: scale(0.99);
}
.tw-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.tw-hero__kick {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.92;
}
.tw-hero__bird {
  --eye: transparent;
  position: absolute;
  right: -14px;
  bottom: -16px;
  width: 150px;
  height: 150px;
  color: rgba(247, 242, 230, 0.22);
}
.tw-hero__name {
  display: block;
  position: relative;
  max-width: 64%;
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 540;
  margin-top: 10px;
}
.tw-hero__latin {
  display: block;
  position: relative;
  max-width: 64%;
  font-size: 0.5625rem;
  font-style: italic;
  letter-spacing: 0.02em;
  opacity: 0.8;   /* 0.72 gave 4.42:1 on moss at 9px */
  margin-top: 2px;
}
.tw-hero__bottom {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tw-hero__bottom .icon {
  width: 14px;
  height: 14px;
}
.tw-feed {
  padding: 0 20px;
}
.tw-row {
  background: transparent;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  border-top: 1px solid var(--tw-line);
  transition: background-color 140ms;
}
.tw-row:first-child {
  border-top: 0;
}
.tw-row:hover {
  background: rgba(35, 38, 28, 0.03);
}
.tw-thumb {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--tw-sand);
  color: var(--tw-ink);
  overflow: hidden;
  --eye: var(--tw-sand);
}
.tw-thumb svg {
  width: 34px;
  height: 34px;
  opacity: 0.9;
}
.tw-row__name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.2;
}
.tw-row__meta {
  display: block;
  font-size: 0.625rem;
  color: var(--tw-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tw-row__when {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--tw-muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tw-row__dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tw-clay);
  margin-right: 5px;
  vertical-align: 1px;
}
.tw-rail {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--tw-line);
}
.tw-rail__btn {
  width: auto;
  min-width: 0;
  padding: 7px 0 6px;
  border-radius: 8px;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tw-muted);
  background: transparent;
  transition: background-color 160ms, color 160ms;
}
.tw-rail__btn:hover {
  background: rgba(35, 38, 28, 0.05);
}
.tw-rail__btn[aria-pressed="true"] {
  background: var(--tw-ink);
  color: var(--tw-paper);
}
.tw-rail__btn i {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  margin: 3px auto 0;
  background: currentColor;
  opacity: 0;
}
.tw-rail__btn[data-peak="true"] i {
  opacity: 0.75;
}
.tw-explore {
  padding: 14px 0 0;
}
.tw-explore__head {
  padding: 0 20px;
  margin-bottom: 10px;
}
.tw-explore__head h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.tw-explore__head p {
  font-size: 0.625rem;
  color: var(--tw-muted);
  margin-top: 2px;
}
.tw-species {
  display: grid;
  gap: 0;
  padding: 0 20px;
}
.tw-sp {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 9px 0;
  border-top: 1px solid var(--tw-line);
}
.tw-sp:first-child {
  border-top: 0;
}
.tw-sp:hover {
  background: rgba(35, 38, 28, 0.03);
}
.tw-sp__art {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--accent) 16%, var(--tw-paper));
  color: color-mix(in oklab, var(--accent) 72%, var(--tw-ink));
  --eye: color-mix(in oklab, var(--accent) 16%, var(--tw-paper));
}
.tw-sp__art svg {
  width: 30px;
  height: 30px;
}
.tw-detail__hero {
  --eye: color-mix(in oklab, var(--accent) 16%, var(--tw-paper));
  position: relative;
  margin: 0 20px;
  border-radius: 18px;
  background: color-mix(in oklab, var(--accent) 16%, var(--tw-paper));
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.tw-sp__name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.012em;
}
.tw-sp__local {
  display: block;
  font-size: 0.5625rem;
  color: var(--tw-muted);
  margin-top: 1px;
}
.tw-sp__bar {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 18px;
}
.tw-sp__bar i {
  width: 3px;
  background: var(--tw-line-2);
  border-radius: 1px;
}
.tw-sp__bar i.on {
  background: var(--accent);
}
.tw-places {
  padding: 0 20px 6px;
  display: grid;
  gap: 8px;
  margin-top: 6px;
}
.tw-place {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--tw-paper-2);
  border: 1px solid transparent;
  text-align: left;
  width: 100%;
}
.tw-place:hover {
  border-color: var(--tw-line-2);
}
.tw-place__name {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.tw-place__meta {
  display: block;
  font-size: 0.5625rem;
  color: var(--tw-muted);
  margin-top: 2px;
}
.tw-place__count {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.tw-place__count span {
  display: block;
  font-family: var(--font-small);
  font-size: 0.4375rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tw-muted);
  text-align: right;
  margin-top: 1px;
}
.tw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px 20px 18px;
}
.tw-card {
  position: relative;
  border-radius: 14px;
  padding: 12px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  background: var(--tw-sand);
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 200ms cubic-bezier(0.2, 0, 0, 1);
  --eye: var(--tw-sand);
}
.tw-card:hover {
  transform: translateY(-2px);
}
.tw-card__art {
  position: absolute;
  right: -2px;
  top: -2px;
  width: 86px;
  height: 86px;
  color: color-mix(in oklab, var(--accent) 65%, var(--tw-ink));
  opacity: 0.55;
}
.tw-card__name {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 520;
  letter-spacing: -0.01em;
  line-height: 1.15;
  max-width: 80%;
}
.tw-card__meta {
  position: relative;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--tw-ink) 74%, var(--tw-sand));   /* muted on sand was 3.75:1 */
  margin-top: 4px;
}
.tw-card--unseen {
  background: transparent;
  border: 1px dashed var(--tw-line-2);
}
.tw-card--unseen .tw-card__art {
  opacity: 0.18;
}
.tw-card--unseen .tw-card__name {
  color: var(--tw-muted);
}
.tw-detail__hero svg {
  width: 78%;
  height: 78%;
  color: color-mix(in oklab, var(--accent) 78%, var(--tw-ink));
}
.tw-detail__plate {
  position: absolute;
  inset: 10px;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  border-radius: 12px;
  pointer-events: none;
}
.tw-detail__num {
  position: absolute;
  left: 16px;
  bottom: 12px;
  font-family: var(--font-small);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--accent) 70%, var(--tw-ink));
}
.tw-detail__head {
  padding: 14px 20px 0;
}
.tw-detail__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 540;
}
.tw-detail__nl {
  font-size: 0.75rem;
  color: var(--tw-muted);
  margin-top: 3px;
}
.tw-detail__latin {
  font-size: 0.625rem;
  font-style: italic;
  color: var(--tw-muted);
  margin-top: 1px;
}
.tw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.tw-tag {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--tw-sand);
  color: var(--tw-ink);
}
.tw-tag--accent {
  background: color-mix(in oklab, var(--accent) 18%, var(--tw-paper));
  color: color-mix(in oklab, var(--accent) 76%, var(--tw-ink));
}
.tw-block {
  padding: 16px 20px 0;
}
.tw-block h5 {
  font-family: var(--font-small);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tw-muted);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--tw-line);
  margin-bottom: 9px;
}
.tw-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  align-items: end;
  height: 46px;
}
.tw-months i {
  display: block;
  border-radius: 2px 2px 0 0;
  background: var(--tw-line-2);
  height: 10px;
}
.tw-months i[data-l="1"] {
  height: 18px;
  background: color-mix(in oklab, var(--accent) 32%, var(--tw-paper));
}
.tw-months i[data-l="2"] {
  height: 30px;
  background: color-mix(in oklab, var(--accent) 55%, var(--tw-paper));
}
.tw-months i[data-l="3"] {
  height: 42px;
  background: color-mix(in oklab, var(--accent) 85%, var(--tw-ink));
}
.tw-months i[data-now="true"] {
  outline: 1.5px solid var(--tw-ink);
  outline-offset: 1.5px;
}
.tw-mlabels {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  margin-top: 5px;
  font-size: 0.4375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--tw-muted);
  text-align: center;
}
.tw-dplaces {
  display: grid;
  gap: 6px;
}
.tw-dplace {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid var(--tw-line);
  font-size: 0.6875rem;
}
.tw-dplace:first-child {
  border-top: 0;
}
.tw-dplace b {
  display: block;
  font-weight: 600;
}
.tw-dplace span {
  font-size: 0.5625rem;
  color: var(--tw-muted);
  font-variant-numeric: tabular-nums;
}
.tw-mine {
  display: grid;
  gap: 6px;
}
.tw-mine__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  font-size: 0.6875rem;
  padding: 6px 0;
  border-top: 1px solid var(--tw-line);
}
.tw-mine__row:first-child {
  border-top: 0;
}
.tw-mine__row span {
  font-size: 0.5625rem;
  color: var(--tw-muted);
}
.tw-note-box {
  margin: 14px 20px 0;
  padding: 12px;
  border-radius: 12px;
  background: var(--tw-paper-2);
  font-size: 0.6875rem;
  line-height: 1.55;
  color: var(--tw-muted);
}
.tw-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: calc(100% - 40px);
  margin: 16px 20px 20px;
  height: 44px;
  border-radius: 999px;
  background: var(--tw-ink);
  color: var(--tw-paper);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tw-cta .icon {
  width: 16px;
  height: 16px;
}
.tw-cta:active {
  transform: scale(0.99);
}
.tw-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 0;
  background: var(--tw-paper);
  backdrop-filter: none;
  flex: none;
  padding-bottom: 2px;
  order: -1;
  border-bottom: 1px solid var(--tw-line);
}
.tw-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 0 4px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--tw-muted);
  position: relative;
}
.tw-nav button .icon {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
}
.tw-nav button[aria-selected="true"] {
  color: var(--tw-ink);
  font-weight: 700;
}
.tw-nav button[aria-selected="true"]::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 28px;
  border-radius: 14px;
  background: var(--tw-lime);
}
.tw-homebar {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 124px;
  height: 4px;
  border-radius: 3px;
  background: rgba(35, 38, 28, 0.28);
  z-index: 5;
  display: none;
}
.tw-toast {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 82px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--tw-ink);
  color: var(--tw-paper);
  font-size: 0.6875rem;
  line-height: 1.35;
  box-shadow: 0 8px 24px -10px rgba(20, 18, 12, 0.6);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 240ms, transform 240ms cubic-bezier(0.2, 0, 0, 1);
}
.tw-toast.is-on {
  opacity: 1;
  transform: none;
}
.tw-toast .icon {
  width: 15px;
  height: 15px;
  flex: none;
}
.tw-toast b {
  font-weight: 600;
}
.in-memory {
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--rule-strong);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.in-memory__body {
  grid-column: 1 / -1;
}
.in-memory__name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.026em;
  font-weight: 500;
}
.in-memory__dates {
  font-family: var(--font-small);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  margin-top: 6px;
}
.in-memory__body p {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 46ch;
}

@media (min-width: 701px) {

  .phone__screen {
    height: clamp(520px, calc(100svh - var(--topbar-h) - 2 * var(--phone-air) - 2px), 776px);
  }

  .tw-status {
    order: revert;
  }

  .tw-detail__hero {
    aspect-ratio: 5 / 4;
  }

  .tw-nav {
    border-top: 1px solid var(--tw-line);
    background: color-mix(in oklab, var(--tw-paper) 92%, transparent);
    backdrop-filter: blur(8px);
    padding-bottom: 18px;
    order: revert;
    border-bottom: revert;
  }

  .tw-homebar {
    display: revert;
  }

  .in-memory__body {
    grid-column: 3 / span 6;
  }
}

@media (min-width: 1081px) {

  .tw-layout {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: clamp(24px, 4vw, 64px);
  }

  .tw-layout__text {
    order: revert;
  }

  .phone {
    order: revert;
  }
}

/* ---------- Photography ------------------------------------------------ */

.tw-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;     /* birds sit high in the frame; keep the head */
}

/* the feed thumbnail and the explore row are small squares */
.tw-thumb .tw-photo,
.tw-sp__art .tw-photo {
  border-radius: inherit;
}

/* the "bird to look for" art was a 22%-opacity watermark when it was a drawing;
   a photograph at that opacity reads as a mistake, so it becomes the subject */
.tw-hero__bird {
  width: 108px;
  height: 108px;
  right: 12px;
  bottom: 12px;
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  box-shadow: 0 6px 18px -8px rgba(30, 24, 12, 0.45);
}

/* life-list art: full strength and a touch smaller, so six photos do not
   become six competing blocks */
.tw-card__art {
  width: 74px;
  height: 74px;
  right: 10px;
  top: 10px;
  border-radius: 12px;
  overflow: hidden;
  opacity: 1;
}

/* an unseen bird is still unseen: the photograph drains, the card stays dashed */
.tw-card--unseen .tw-card__art { opacity: 0.5; filter: grayscale(1); }

/* the detail plate: photo fills the 4:3 frame, the hairline stays on top */
.tw-detail__hero .tw-photo { position: absolute; inset: 0; z-index: 0; }
.tw-detail__hero .tw-detail__plate,
.tw-detail__hero .tw-detail__num { z-index: 1; }
/* the plate number needs its own ground once a photograph is behind it */
.tw-detail__num {
  padding: 2px 6px;
  border-radius: 5px;
  background: color-mix(in oklab, var(--tw-paper) 86%, transparent);
  color: color-mix(in oklab, var(--accent) 70%, var(--tw-ink));
}
.tw-detail__hero {
  background: var(--tw-sand);
}

/* ---------- photography credits ---------------------------------------- */

.tw-credits {
  margin-block: clamp(28px, 4vw, 52px) 0;
  padding-block-start: clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--rule-strong);
}
.tw-credits__title {
  font-family: var(--font-small);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.tw-credits__note {
  max-width: 62ch;
  font-family: var(--font-small);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.tw-credits__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-small);
  font-size: 0.75rem;
  color: var(--ink-soft);
}
@media (min-width: 761px) {
  .tw-credits__list { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}
.tw-credits__list li { display: flex; flex-wrap: wrap; gap: 0.35rem; min-height: 24px; align-items: baseline; }
.tw-credits__list span { color: var(--ink); font-weight: 600; }
.tw-credits__list a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}
.tw-credits__list a:hover { color: var(--ink); }


/* ---------- the preview bar's three choices (studio.js) ----------------
   Mobile is the phone it was drawn as. Desktop is the web version: the same
   app in a browser window, the tabs as a left sidebar, the screens in a
   wider column. Dark is the app's own night palette. */
.tw-studio { margin-top: clamp(28px, 4vw, 48px); }
.cs-card .tw-studio + .tw-layout { margin-top: 0; }
.tw-chrome { display: none; }

/* desktop: the window takes the card's width, the notes go under it */
.tw-layout:has(#twApp[data-device="desktop"]) { grid-template-columns: minmax(0, 1fr); }
.tw-layout:has(#twApp[data-device="desktop"]) .tw-layout__text { order: 2; }
#twApp[data-device="desktop"] {
  width: 100%;
  max-width: none;
  order: 0;
}
#twApp[data-device="desktop"] .tw-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 40px;
  padding-inline: 14px;
  border-bottom: 1px solid var(--tw-line);
  background: var(--tw-paper-2);
}
.tw-lights { display: inline-flex; gap: 6px; }
.tw-lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--tw-line-2); }
.tw-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline: auto;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--tw-paper);
  color: var(--tw-muted);
  font-family: var(--font-small);
  font-size: 0.6875rem;
  font-weight: 600;
}
.tw-url .icon { width: 11px; height: 11px; }
#twApp[data-device="desktop"] .phone__screen {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  height: clamp(520px, calc(100svh - var(--topbar-h) - 2 * var(--phone-air) - 42px), 760px);
  border-radius: 0;
}
#twApp[data-device="desktop"] :is(.phone__notch, .tw-status, .tw-homebar) { display: none; }
#twApp[data-device="desktop"] .tw-nav {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 92px 14px 18px;   /* room for the wordmark, and air under it */
  border: 0;
  background: var(--tw-paper);   /* her call: side nav and page share #f2f2f2 */
  backdrop-filter: none;
}
#twApp[data-device="desktop"] .tw-nav button {
  flex-direction: row;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.8125rem;
}
#twApp[data-device="desktop"] .tw-nav button[aria-selected="true"]::before {
  inset: 0;
  top: 0;
  left: 0;
  transform: none;
  width: auto;
  height: auto;
  border-radius: 10px;
}
#twApp[data-device="desktop"] .tw-view { grid-column: 2; grid-row: 1; }
#twApp[data-device="desktop"] .tw-screen { max-width: 760px; margin-inline: auto; padding-top: 18px; }
#twApp[data-device="desktop"] .tw-grid { grid-template-columns: repeat(3, 1fr); }
#twApp[data-device="desktop"] .tw-toast { left: auto; right: 24px; bottom: 24px; width: min(360px, calc(100% - 248px)); }

/* dark: the app at night — the same moss and clay, lifted to read on ink */
#twApp[data-product-theme="dark"] {
  --tw-paper: #171914;
  --tw-paper-2: #20231b;
  --tw-ink: #eef0e4;
  --tw-muted: #a7ab99;
  --tw-line: rgba(238, 240, 228, 0.12);
  --tw-line-2: rgba(238, 240, 228, 0.22);
  --tw-moss: #35614d;   /* her primary; light text on it holds 6.3:1 */
  --tw-moss-ink: var(--tw-lime);
  --tw-clay: #e0896a;
  --tw-sand: #2b2e24;
  --tw-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
#twApp[data-product-theme="dark"] :is(.tw-iconbtn:hover, .tw-row:hover, .tw-rail__btn:hover, .tw-sp:hover) { background: rgba(238, 240, 228, 0.06); }
#twApp[data-product-theme="dark"] .tw-homebar { background: rgba(238, 240, 228, 0.3); }
/* moss as text needs the lighter shoot on ink; the accent tag mixes towards the ink */
#twApp[data-product-theme="dark"] :is(.tw-section a, .tw-section button) { color: var(--tw-lime); }
#twApp[data-product-theme="dark"] .tw-tag--accent { color: color-mix(in oklab, var(--accent) 45%, var(--tw-ink)); }
#twApp[data-product-theme="dark"] .tw-nav button[aria-selected="true"]::before { background: color-mix(in oklab, var(--tw-lime) 22%, transparent); }

/* fullscreen: the phone at the height of the screen; the web version fills it */
.studio-full #twApp[data-device="mobile"] { width: auto; }
.studio-full #twApp[data-device="mobile"] { width: min(390px, calc(var(--full-h) * 0.47)); }


/* one height for both screens (--mock-h, studio.css): the window is a
   column; in Desktop the address bar sits on top and the screen takes the
   rest, in Mobile the screen is the whole of it */
#twApp.phone { height: var(--mock-h); display: flex; flex-direction: column; }
#twApp .tw-chrome { flex: none; }
#twApp[data-device] .phone__screen { flex: 1 1 auto; min-height: 0; height: auto; }

/* =========================================================================
   More alive (Nov 2026, her brief): a watch list on the profile, a Feed tab
   of three invented birders, the birder's own photos on the life list, a
   sketch map and the real call on every bird, and a log-a-sighting sheet.
   Everything in the app's own palette (--tw-*), so dark mode follows.
   ========================================================================= */

/* ---------- watch list (profile) ---------- */
.tw-watchlist {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 20px 18px;
  scrollbar-width: none;
}
.tw-watchlist::-webkit-scrollbar { display: none; }
.tw-watch {
  flex: 0 0 132px;
  scroll-snap-align: start;
  display: grid;
  gap: 3px;
  padding: 0 0 10px;
  border-radius: 14px;
  background: var(--tw-paper-2);
  border: 1px dashed var(--tw-line-2);
  text-align: left;
  overflow: hidden;
}
.tw-watch__art {
  display: block;
  height: 76px;
  margin-bottom: 6px;
  overflow: hidden;
  filter: saturate(0.85);
}
.tw-watch__art img { width: 100%; height: 100%; object-fit: cover; }
.tw-watch__name {
  padding: 0 10px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--tw-ink);
}
.tw-watch__meta { padding: 0 10px; font-size: 0.6875rem; line-height: 1.35; color: var(--tw-muted); }
.tw-watch:hover { border-color: var(--accent); }
.tw-watch:focus-visible { outline: 2px solid var(--tw-ink); outline-offset: 2px; }

/* ---------- feed ---------- */
.tw-posts { display: grid; gap: 14px; padding: 4px 20px 20px; }
.tw-post {
  border-radius: 16px;
  background: var(--tw-paper-2);
  border: 1px solid var(--tw-line);
  overflow: hidden;
}
.tw-post__head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 10px; }
.tw-post__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--tw-on-moss);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.tw-post__who { display: grid; gap: 1px; min-width: 0; }
.tw-post__who b { font-size: 0.8125rem; font-weight: 600; color: var(--tw-ink); }
.tw-post__who span { font-size: 0.6875rem; color: var(--tw-muted); }
.tw-post__photo { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
.tw-post__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms cubic-bezier(0.2, 0, 0, 1); }
.tw-post__photo:hover img { transform: scale(1.03); }
.tw-post__photo:focus-visible { outline: 2px solid var(--tw-ink); outline-offset: -2px; }
.tw-post__tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgb(20 22 16 / 0.72);
  color: var(--tw-on-moss);
  font-size: 0.6875rem;
  font-weight: 600;
}
.tw-post__text { padding: 10px 12px 0; font-size: 0.8125rem; line-height: 1.45; color: var(--tw-ink); }
.tw-post__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 10px 6px; }
.tw-post__like,
.tw-post__also {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tw-ink);
}
.tw-post__like .icon,
.tw-post__also .icon { width: 16px; height: 16px; }
.tw-post__like:hover,
.tw-post__also:hover { background: var(--tw-sand); }
.tw-post__like[aria-pressed="true"] { color: var(--tw-ink); }
.tw-post__like[aria-pressed="true"] .icon { color: #c98a1e; animation: tw-like 360ms cubic-bezier(0.2, 0, 0, 1.4); }
.tw-post__also { background: var(--tw-moss); color: var(--tw-on-moss); }
.tw-post__also:hover { background: var(--tw-moss-ink); }
.tw-post__mine { padding-right: 6px; font-size: 0.6875rem; font-weight: 600; color: var(--tw-muted); }
.tw-post :is(.tw-post__like, .tw-post__also):focus-visible { outline: 2px solid var(--tw-ink); outline-offset: 2px; }
@keyframes tw-like { 0% { transform: scale(0.6); } 60% { transform: scale(1.25); } 100% { transform: none; } }

/* ---------- my photos (life list) ---------- */
.tw-shots {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 20px 14px;
  scrollbar-width: none;
}
.tw-shots::-webkit-scrollbar { display: none; }
.tw-shot {
  position: relative;
  flex: 0 0 148px;
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}
.tw-shot img { width: 100%; height: 100%; object-fit: cover; }
.tw-shot__cap {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 1px;
  padding: 22px 9px 8px;
  background: linear-gradient(to top, rgb(16 18 12 / 0.82), transparent);
  color: var(--tw-on-moss);
}
.tw-shot__cap b { font-size: 0.6875rem; font-weight: 600; line-height: 1.2; }
.tw-shot__cap span { font-size: 0.625rem; opacity: 0.92; }
.tw-shot:focus-visible { outline: 2px solid var(--tw-ink); outline-offset: 2px; }

/* ---------- the call ---------- */
.tw-call {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--tw-paper-2);
  border: 1px solid var(--tw-line);
}
.tw-call__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tw-moss);
  color: var(--tw-on-moss);
}
.tw-call__btn .icon { width: 22px; height: 22px; }
.tw-call__btn:focus-visible { outline: 2px solid var(--tw-ink); outline-offset: 2px; }
.tw-call__wave { position: relative; height: 34px; }
.tw-call__bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 1.5px;
}
.tw-call__bars i {
  flex: 1 1 0;
  height: calc(var(--h) * 100%);
  min-height: 3px;
  border-radius: 2px;
  background: var(--tw-line-2);
}
.tw-call__bars--played { clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); }
.tw-call__bars--played i { background: var(--accent, var(--tw-moss)); }
.tw-call.is-playing .tw-call__bars--played i { animation: tw-wave 900ms ease-in-out infinite alternate; }
.tw-call.is-playing .tw-call__bars--played i:nth-child(3n) { animation-delay: -300ms; }
.tw-call.is-playing .tw-call__bars--played i:nth-child(3n + 1) { animation-delay: -600ms; }
@keyframes tw-wave { to { transform: scaleY(0.82); } }
.tw-call__time { font-size: 0.6875rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--tw-muted); }
.tw-call__credit { grid-column: 1 / -1; font-size: 0.625rem; color: var(--tw-muted); }
.tw-call--none { grid-template-columns: 40px minmax(0, 1fr); }
.tw-call--none .tw-call__btn { background: var(--tw-sand); color: var(--tw-muted); }
.tw-call__none { font-size: 0.75rem; line-height: 1.4; color: var(--tw-muted); }

/* ---------- the sketch map ---------- */
.tw-map {
  margin-bottom: 10px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--tw-line);
}
.tw-map__svg { display: block; width: 100%; height: auto; }
.tw-map__ground { fill: var(--tw-paper-2); }
.tw-map__river { fill: none; stroke: color-mix(in oklab, #5a8fa8 45%, var(--tw-paper-2)); stroke-width: 3; stroke-linecap: round; }
.tw-map__road { fill: none; stroke: var(--tw-line-2); stroke-width: 1; stroke-dasharray: 3 2; }
.tw-map__ring { fill: none; stroke: var(--tw-line-2); stroke-width: 0.6; stroke-dasharray: 1.5 2; }
.tw-map__km { font-size: 4.4px; fill: var(--tw-muted); }
.tw-map__zone { fill: var(--tw-line-2); }
.tw-map__zone.is-on { fill: color-mix(in oklab, var(--accent, var(--tw-moss)) 28%, transparent); stroke: var(--accent, var(--tw-moss)); stroke-width: 1; }
.tw-map__zone.is-picked { stroke-width: 2.2; fill: color-mix(in oklab, var(--accent, var(--tw-moss)) 45%, transparent); }
.tw-map__label { font-size: 5px; text-anchor: middle; fill: var(--tw-muted); }
.tw-map__label.is-on { font-size: 5.6px; font-weight: 700; fill: var(--tw-ink); }
.tw-map__label--you { font-size: 5px; font-weight: 700; fill: var(--tw-ink); }
.tw-map__you { fill: #2f6fd6; stroke: #fff; stroke-width: 1.2; }
.tw-map__pulse { fill: rgb(47 111 214 / 0.25); transform-origin: 100px 62px; animation: tw-pulse 2.4s ease-out infinite; }
@keyframes tw-pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

/* ---------- the log sheet ---------- */
.tw-sheetwrap { position: absolute; inset: 0; z-index: 12; }
.tw-sheetwrap[hidden] { display: none; }
.tw-sheet__scrim { position: absolute; inset: 0; background: rgb(12 14 10 / 0.45); animation: tw-fade 200ms ease both; }
.tw-sheet {
  position: absolute;
  inset: auto 0 0;
  max-height: 92%;
  overflow-y: auto;
  display: grid;
  gap: 12px;
  padding: 8px 18px 18px;
  border-radius: 22px 22px 0 0;
  background: var(--tw-paper);
  color: var(--tw-ink);
  box-shadow: 0 -12px 32px -12px rgb(0 0 0 / 0.35);
  animation: tw-rise 320ms cubic-bezier(0.2, 0, 0, 1) both;
}
.tw-sheet__grip { justify-self: center; width: 36px; height: 4px; border-radius: 4px; background: var(--tw-line-2); }
.tw-sheet__title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.tw-field { display: grid; gap: 6px; }
.tw-field > span { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tw-muted); }
.tw-field--row { grid-template-columns: 1fr auto; align-items: center; }
.tw-field select,
.tw-field textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--tw-line-2);
  border-radius: 10px;
  background: var(--tw-paper-2);
  color: var(--tw-ink);
  font: inherit;
  font-size: 0.8125rem;
}
.tw-field textarea { resize: none; }
.tw-field :is(select, textarea):focus-visible { outline: 2px solid var(--tw-moss); outline-offset: 1px; }
.tw-sheet .tw-map { margin-bottom: 4px; }
.tw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tw-chip {
  min-height: 32px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--tw-line-2);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tw-ink);
}
.tw-chip[aria-pressed="true"] { background: var(--tw-moss); border-color: var(--tw-moss); color: var(--tw-on-moss); }
.tw-chip:focus-visible { outline: 2px solid var(--tw-ink); outline-offset: 2px; }
.tw-stepper { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; background: var(--tw-paper-2); border: 1px solid var(--tw-line); }
.tw-stepper button { width: 30px; height: 30px; border-radius: 50%; font-size: 1rem; font-weight: 600; color: var(--tw-ink); }
.tw-stepper button:hover { background: var(--tw-sand); }
.tw-stepper button:focus-visible { outline: 2px solid var(--tw-ink); outline-offset: 1px; }
.tw-stepper output { min-width: 22px; text-align: center; font-size: 0.875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.tw-sheet__actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.tw-sheet__cancel,
.tw-sheet__save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.tw-sheet__cancel { color: var(--tw-ink); }
.tw-sheet__cancel:hover { background: var(--tw-sand); }
.tw-sheet__save { background: var(--tw-moss); color: var(--tw-on-moss); }
.tw-sheet__save .icon { width: 18px; height: 18px; }
.tw-sheet :is(.tw-sheet__cancel, .tw-sheet__save):focus-visible { outline: 2px solid var(--tw-ink); outline-offset: 2px; }
@keyframes tw-rise { from { transform: translateY(100%); } }
@keyframes tw-fade { from { opacity: 0; } }

/* the web version: the sheet is a centred dialog, the feed a column */
#twApp[data-device="desktop"] .tw-sheet { inset: auto 50% 50% auto; transform: translate(50%, 50%); width: min(440px, 90%); border-radius: 22px; animation: tw-fade 200ms ease both; }
#twApp[data-device="desktop"] .tw-posts { max-width: 560px; margin-inline: auto; }
#twApp[data-device="desktop"] .tw-map { max-width: 520px; }

/* dark: the little white-on-photo pieces keep their ink; the avatars keep their tone */
#twApp[data-product-theme="dark"] .tw-sheet__scrim { background: rgb(0 0 0 / 0.6); }
#twApp[data-product-theme="dark"] .tw-map__you { stroke: var(--tw-paper); }

@media (prefers-reduced-motion: reduce) {
  .tw-map__pulse, .tw-call.is-playing .tw-call__bars--played i, .tw-sheet, .tw-sheet__scrim, .tw-post__like .icon { animation: none; }
}
html[data-type-motion="off"] :is(.tw-map__pulse, .tw-call__bars--played i) { animation: none; }

/* the secondary on the primary: the hero card's kicker and its way in */
.tw-hero__kick, .tw-hero__bottom { color: var(--tw-lime); opacity: 1; }

/* ---------- the web version's rail (her brief, Nov 2026) ----------------
   No border to the body; the tweetSpot wordmark at the top in the primary
   green; a wider rail; darker labels; the chosen item on the toolbar's dark
   with white text and a filled icon in the secondary green. "Profile" is
   "My spot". */
.tw-brand { display: none; }
.tw-nav .icon--fill { display: none; }
#twApp[data-device="desktop"] .tw-brand {
  display: block;
  position: absolute;
  z-index: 2;
  top: 26px;
  left: 28px;
  font-family: "Taste Bread", var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--tw-moss);
}
#twApp[data-device="desktop"] .tw-nav button {
  color: color-mix(in oklab, var(--tw-ink) 82%, var(--tw-paper));
  font-weight: 600;
}
#twApp[data-device="desktop"] .tw-nav button[aria-selected="true"] { color: #fff; }
#twApp[data-device="desktop"] .tw-nav button { isolation: isolate; }   /* the pill goes under the label, not over it */
#twApp[data-device="desktop"] .tw-nav button[aria-selected="true"]::before { background: var(--dark); z-index: -1; }
#twApp[data-device="desktop"] .tw-nav button[aria-selected="true"] .icon--line { display: none; }
#twApp[data-device="desktop"] .tw-nav button[aria-selected="true"] .icon--fill { display: block; color: var(--tw-lime); fill: currentColor; }
#twApp[data-device="desktop"][data-product-theme="dark"] .tw-brand { color: var(--tw-lime); }
#twApp[data-device="desktop"][data-product-theme="dark"] .tw-nav button[aria-selected="true"]::before { background: color-mix(in oklab, var(--tw-lime) 16%, var(--tw-paper)); }

/* hover on a nav item: the secondary green, see-through (her call). The
   phone bar shows it as the same pill the chosen tab has; the web rail
   fills the row. The chosen item keeps its own fill. */
.tw-nav button { isolation: isolate; }
.tw-nav button:not([aria-selected="true"]):hover::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 28px;
  border-radius: 14px;
  background: color-mix(in oklab, var(--tw-lime) 40%, transparent);
  transition: background-color 160ms;
}
#twApp[data-device="desktop"] .tw-nav button:not([aria-selected="true"]):hover::before {
  inset: 0;
  transform: none;
  width: auto;
  height: auto;
  border-radius: 10px;
}
#twApp[data-product-theme="dark"] .tw-nav button:not([aria-selected="true"]):hover::before { background: color-mix(in oklab, var(--tw-lime) 18%, transparent); }

/* My spot's header: the avatar, then "Good afternoon, Name" (her brief) */
.tw-head--greet { justify-content: flex-start; align-items: center; gap: 12px; }
.tw-head--greet .tw-name { font-size: 1.375rem; line-height: 1.2; }

/* ---------- cards, not rules (her brief, Nov 2026) ----------------------
   The counters and the sightings lose their hairlines: each one is its own
   white, rounded card on the #f2f2f2 ground. The bird to look for grows;
   the watch list loses its dashes and the photo sits inside the card. */
.tw-stats { gap: 8px; background: none; border-block: 0; }
.tw-stat { background: var(--tw-paper-2); border-radius: 14px; }
.tw-feed { display: grid; gap: 8px; padding-bottom: 18px; }
.tw-row,
.tw-row:first-child {
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  background: var(--tw-paper-2);
}
.tw-row:hover { background: color-mix(in oklab, var(--tw-lime) 22%, var(--tw-paper-2)); }

.tw-hero { min-height: 196px; padding: 20px 20px 18px; display: flex; flex-direction: column; }
.tw-hero__name { font-size: 1.75rem; max-width: 56%; }
.tw-hero__bird { width: 148px; height: 148px; right: 16px; bottom: 16px; }
.tw-hero__bottom { margin-top: auto; padding-top: 24px; }

.tw-watch { border: 0; padding: 6px 6px 10px; background: var(--tw-paper-2); }
.tw-watch__art { border-radius: 10px; }
.tw-watch__name, .tw-watch__meta { padding: 0 4px; }
.tw-watch:hover { border: 0; background: color-mix(in oklab, var(--tw-lime) 22%, var(--tw-paper-2)); }

/* the last watch-list card: add one (a mock — her brief). The ground is
   the nav hover's see-through lime; a white circle with a dark plus. */
.tw-watch--add,
.tw-watch--add:hover {
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 10px;
  background: color-mix(in oklab, var(--tw-lime) 40%, transparent);
}
.tw-watch--add:hover { background: color-mix(in oklab, var(--tw-lime) 60%, transparent); }
.tw-watch__plus {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--tw-ink);
  box-shadow: 0 2px 6px -2px rgb(0 0 0 / 0.18);
}
.tw-watch__plus .icon { width: 24px; height: 24px; fill: currentColor; }
.tw-watch__addlabel { font-size: 0.75rem; font-weight: 700; color: var(--tw-moss-ink); text-decoration: underline; text-underline-offset: 0.2em; }
#twApp[data-product-theme="dark"] .tw-watch--add { background: color-mix(in oklab, var(--tw-lime) 18%, transparent); }
#twApp[data-product-theme="dark"] .tw-watch__plus { color: #23261C; }

/* the web version: the watch list fills the column, so its right edge
   lines up with the cards above and below (her call) — one row, equal
   columns, however many birds are left to find */
#twApp[data-device="desktop"] .tw-watchlist {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  overflow: visible;
}
#twApp[data-device="desktop"] .tw-watch { flex: none; }
#twApp[data-device="desktop"] .tw-watch__art { height: 96px; }
.tw-watch__when { display: block; }   /* the time on its own line (her call) */

/* ---------- Explore (her brief, Nov 2026) --------------------------------
   Eight months at a time, three letters each, in white rounded cards
   (hover: the see-through lime; chosen: the ink, as before); arrows slide
   the window four months. No rule under the row. A little more air
   between the eyebrow and the title. Thumbnails crop their photo —
   a portrait Kingfisher spilled out of its 40px box over the row below. */
.tw-title { margin-top: 6px; }
.tw-rail {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 4px;
  padding: 12px 10px 14px;
  border-bottom: 0;
}
.tw-rail__view { overflow: hidden; }
.tw-rail__track {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  width: 150%;                       /* twelve months, eight on show */
  transform: translateX(calc(var(--start) * -100% / 12));
  transition: transform 420ms cubic-bezier(0.2, 0, 0, 1);
}
.tw-rail__cell { display: block; padding: 0 2px; }
.tw-rail__btn {
  display: block;
  width: 100%;
  padding: 13px 0 9px;
  border-radius: 10px;
  background: var(--tw-paper-2);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: var(--tw-ink);
}
.tw-rail__btn:hover { background: color-mix(in oklab, var(--tw-lime) 40%, var(--tw-paper-2)); }
.tw-rail__btn[aria-pressed="true"],
.tw-rail__btn[aria-pressed="true"]:hover { background: var(--tw-ink); color: var(--tw-paper); }
.tw-rail__btn:focus-visible { outline: 2px solid var(--tw-moss); outline-offset: 1px; }
.tw-rail__arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--tw-ink);
}
.tw-rail__arrow .icon { width: 18px; height: 18px; }
.tw-rail__arrow:hover:not(:disabled) { background: color-mix(in oklab, var(--tw-lime) 40%, transparent); }
.tw-rail__arrow:disabled { opacity: 0.3; cursor: default; }
.tw-rail__arrow:focus-visible { outline: 2px solid var(--tw-moss); outline-offset: 1px; }
#twApp[data-product-theme="dark"] .tw-rail__btn:hover { background: color-mix(in oklab, var(--tw-lime) 18%, var(--tw-paper-2)); }
@media (prefers-reduced-motion: reduce) { .tw-rail__track { transition: none; } }

.tw-sp__art,
.tw-card__art,
.tw-thumb { overflow: hidden; }
.tw-sp__art img,
.tw-card__art img { width: 100%; height: 100%; object-fit: cover; }
/* a % height doesn't resolve on a grid item here: pin the photo to the box */
.tw-sp__art, .tw-thumb { position: relative; }
.tw-sp__art img, .tw-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* where to go: the same light-green hover as the sighting cards */
.tw-place { transition: background-color 140ms; }
.tw-place:hover { border-color: transparent; background: color-mix(in oklab, var(--tw-lime) 22%, var(--tw-paper-2)); }

/* ---------- Life list (her brief, Nov 2026) ------------------------------
   My photos fill their boxes (pinned like the thumbnails). The species
   cards take the watch-list card: white, the photo inset at the top, the
   name and the date under it — larger, three in a row on the web version
   (two on the phone). Not-yet birds are white too, the photo in greyscale. */
.tw-shot img { position: absolute; inset: 0; }

.tw-grid { gap: 10px; }
.tw-card,
.tw-card--unseen {
  display: grid;
  align-content: start;
  justify-content: stretch;
  gap: 3px;
  min-height: 0;
  padding: 6px 6px 12px;
  border: 0;
  background: var(--tw-paper-2);
  --eye: var(--tw-paper-2);
}
.tw-card__art {
  position: relative;
  inset: auto;
  right: auto;
  top: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin-bottom: 6px;
  border-radius: 10px;
}
.tw-card__art img { position: absolute; inset: 0; }
.tw-card__name { max-width: none; padding: 0 4px; font-size: 0.875rem; font-weight: 600; color: var(--tw-ink); }
.tw-card__meta { padding: 0 4px; margin-top: 0; color: var(--tw-muted); }
.tw-card:hover { transform: none; background: color-mix(in oklab, var(--tw-lime) 22%, var(--tw-paper-2)); }
.tw-card--unseen .tw-card__art { opacity: 1; filter: grayscale(1); }
.tw-card--unseen .tw-card__name { color: var(--tw-ink); }
.tw-card:focus-visible { outline: 2px solid var(--tw-ink); outline-offset: 2px; }
#twApp[data-device="desktop"] .tw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

/* ---------- the top bar (her brief, Nov 2026) ----------------------------
   Search, notifications and the avatar. Phone: under the status bar, above
   the tabs. Web version: across the content column, in line with the
   wordmark. The feed now lives at the foot of My spot; no Feed tab. */
.tw-top {
  order: 0;                        /* after the status bar, in DOM order */
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px 8px;
  flex: none;
}
.tw-search {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--tw-paper-2);
  color: var(--tw-muted);
}
.tw-search .icon { flex: none; width: 18px; height: 18px; }
.tw-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--tw-ink);
  font: inherit;
  font-size: 0.8125rem;
  outline: none;
}
.tw-search input::placeholder { color: var(--tw-muted); }
.tw-search:focus-within { outline: 2px solid var(--tw-moss); outline-offset: 1px; }
.tw-top__btn {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tw-paper-2);
  color: var(--tw-ink);
}
.tw-top__btn .icon { width: 20px; height: 20px; }
.tw-top__btn:hover { background: color-mix(in oklab, var(--tw-lime) 40%, var(--tw-paper-2)); }
.tw-top__btn:focus-visible { outline: 2px solid var(--tw-moss); outline-offset: 2px; }
.tw-top__dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tw-clay);
  box-shadow: 0 0 0 2px var(--tw-paper-2);
}
.tw-top__avatar { flex: none; width: 40px; height: 40px; }
.tw-nav { grid-template-columns: repeat(3, 1fr); }
.tw-head--greet { padding-top: 8px; }

#twApp[data-device="desktop"] .phone__screen { grid-template-rows: auto minmax(0, 1fr); }
#twApp[data-device="desktop"] .tw-nav { grid-row: 1 / 3; }
#twApp[data-device="desktop"] .tw-view { grid-row: 2; }
#twApp[data-device="desktop"] .tw-top {
  grid-column: 2;
  grid-row: 1;
  gap: 10px;
  padding: 22px 28px 2px;          /* centred on the wordmark's line (measured) */
}
#twApp[data-device="desktop"] .tw-search { max-width: 520px; margin-right: auto; }
#twApp[data-device="desktop"] .tw-head--greet { padding-top: 10px; }
#twApp[data-device="desktop"] .tw-posts { padding-inline: 20px; max-width: none; }

/* web version: the birders' posts three across, like the life list —
   full-width posts made each photo the size of the screen */
#twApp[data-device="desktop"] .tw-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px; }

/* ---------- the top bar on the web version (her brief) -----------------
   Search moves right, next to the buttons; all three a size up (48px). */
#twApp[data-device="desktop"] .tw-top { justify-content: flex-end; gap: 12px; padding: 18px 28px 0; }
#twApp[data-device="desktop"] .tw-search { flex: 0 1 380px; margin: 0; height: 48px; padding: 0 18px; }
#twApp[data-device="desktop"] .tw-search .icon { width: 20px; height: 20px; }
#twApp[data-device="desktop"] .tw-search input { font-size: 0.875rem; }
#twApp[data-device="desktop"] .tw-top__btn,
#twApp[data-device="desktop"] .tw-top__avatar { width: 48px; height: 48px; }
#twApp[data-device="desktop"] .tw-top__btn .icon { width: 22px; height: 22px; }
#twApp[data-device="desktop"] .tw-top__dot { top: 12px; right: 13px; }
#twApp[data-device="desktop"] .tw-top__avatar { font-size: 0.875rem; }

/* ---------- notifications menu ------------------------------------------ */
.tw-notify { position: relative; flex: none; }
.tw-notes {
  position: absolute;
  z-index: 11;
  top: calc(100% + 8px);
  right: -56px;
  width: min(330px, calc(100vw - 40px));
  padding: 8px;
  border-radius: 18px;
  background: var(--tw-paper-2);
  box-shadow: 0 18px 40px -14px rgb(20 22 16 / 0.35), 0 2px 8px -2px rgb(20 22 16 / 0.12);
  animation: tw-fade 160ms ease both;
}
.tw-notes[hidden] { display: none; }
.tw-notes__title { padding: 8px 10px 6px; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tw-muted); }
.tw-note-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  width: 100%;
  padding: 10px 26px 10px 10px;
  border-radius: 12px;
  text-align: left;
  color: var(--tw-ink);
}
.tw-note-item:hover { background: color-mix(in oklab, var(--tw-lime) 22%, var(--tw-paper-2)); }
.tw-note-item:focus-visible { outline: 2px solid var(--tw-moss); outline-offset: -2px; }
.tw-note-item.is-new::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tw-moss);
}
.tw-note-item__text { font-size: 0.8125rem; line-height: 1.4; }
.tw-note-item__text b { font-weight: 600; }
.tw-note-item__when { display: block; margin-top: 2px; font-size: 0.6875rem; color: var(--tw-muted); }
.tw-note-item__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tw-lime);
  color: var(--tw-moss-ink);
}
.tw-note-item__icon .icon { width: 18px; height: 18px; fill: currentColor; }
#twApp[data-device="desktop"] .tw-notes { right: -60px; width: 360px; }
#twApp[data-product-theme="dark"] .tw-notes { box-shadow: 0 18px 40px -14px rgb(0 0 0 / 0.7); }
#twApp[data-product-theme="dark"] .tw-note-item.is-new::after { background: var(--tw-lime); }
#twApp[data-product-theme="dark"] .tw-note-item__icon { color: #254537; }
/* the greeting: a touch up on the phone (22 → 24px), half again on the web (22 → 33px) */
.tw-head--greet .tw-name { font-size: 1.5rem; }
#twApp[data-device="desktop"] .tw-head--greet .tw-name { font-size: 2.0625rem; letter-spacing: -0.03em; }

/* ---------- sentence case, one size up (her call, Nov 2026) --------------
   Inside the app no label shouts any more: every small-caps label is set in
   sentence case, a step larger, without the wide tracking. (The page's own
   labels around the app are not the app, and keep theirs.) */
#twApp :is(.tw-eyebrow, .tw-stat span, .tw-section h4, .tw-hero__kick, .tw-hero__bottom,
  .tw-rail__btn, .tw-place__count span, .tw-card__meta, .tw-detail__num, .tw-tag,
  .tw-block h5, .tw-field > span, .tw-notes__title) {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}
#twApp :is(.tw-stat span, .tw-hero__kick, .tw-card__meta, .tw-detail__num, .tw-tag, .tw-block h5) { font-size: 0.625rem; }
#twApp :is(.tw-eyebrow, .tw-section h4, .tw-hero__bottom) { font-size: 0.6875rem; }
#twApp :is(.tw-rail__btn, .tw-field > span, .tw-notes__title) { font-size: 0.75rem; }
#twApp .tw-place__count span { font-size: 0.5625rem; }

/* less air under the greeting */
.tw-head--greet { padding-bottom: 2px; }
.tw-head--greet + .tw-profile .tw-stats { margin-top: 10px; }

/* the counters (her call): numbers in the dark green (light mode); on the
   web version bigger numbers, 0.75rem labels and a slightly taller card */
#twApp:not([data-product-theme="dark"]) .tw-stat b { color: var(--tw-moss-ink); }
#twApp[data-device="desktop"] .tw-stat { padding: 18px 0 15px; }
#twApp[data-device="desktop"] .tw-stat b { font-size: 2rem; }
#twApp[data-device="desktop"] .tw-stat span { font-size: 0.75rem; margin-top: 6px; }

/* ---------- the bird to look for, Netflix style (her brief) ---------------
   The photo fills the card (a 1280px Commons render in birds/wide/); a black
   gradient runs in from the text side so the words sit on dark, and fades
   out across the bird. */
.tw-hero { isolation: isolate; background: #101310; min-height: 220px; }
.tw-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 35%;
}
.tw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.88) 0%, rgb(0 0 0 / 0.7) 32%, rgb(0 0 0 / 0.15) 68%, transparent 100%),
    linear-gradient(0deg, rgb(0 0 0 / 0.55) 0%, transparent 45%);
}
.tw-hero__name, .tw-hero__latin { color: #fff; text-shadow: 0 1px 12px rgb(0 0 0 / 0.4); }
.tw-hero__latin { opacity: 0.85; }
#twApp[data-device="desktop"] .tw-hero { min-height: 260px; }
#twApp[data-device="desktop"] .tw-hero__name { max-width: 46%; font-size: 2.25rem; }

/* the phone: a narrower gutter (her call) — 20px → 12px on every block */
#twApp[data-device="mobile"] :is(.tw-head, .tw-profile, .tw-section, .tw-feed, .tw-explore__head, .tw-species,
  .tw-places, .tw-grid, .tw-detail__head, .tw-block, .tw-watchlist, .tw-posts, .tw-shots) { padding-left: 12px; padding-right: 12px; }
#twApp[data-device="mobile"] :is(.tw-hero, .tw-cta) { width: calc(100% - 24px); margin-left: 12px; margin-right: 12px; }
#twApp[data-device="mobile"] .tw-detail__hero { margin-left: 12px; margin-right: 12px; }
#twApp[data-device="mobile"] .tw-top { padding-left: 12px; padding-right: 12px; }
#twApp[data-device="mobile"] .tw-note-box { margin-left: 12px; margin-right: 12px; }
/* the accent tag: a touch more ink so every bird passes AA (crane 4.27, weaver 4.4 before) */
#twApp:not([data-product-theme="dark"]) .tw-tag--accent { color: color-mix(in oklab, var(--accent) 52%, var(--tw-ink)); }
#twApp[data-device="mobile"] :is(.tw-watchlist, .tw-shots) { scroll-padding-inline: 12px; }

/* ---------- the watch list, again (her brief, Nov 2026) -------------------
   Phone: "Add new" is the first card, Facebook "create story" style — a
   solid lime top, a black circle with a white plus on the seam, the label
   on white below. The row swipes (touch, and a mouse can drag it).
   Web: the watch list leaves the middle for its own column on the left,
   the birds listed one under the other. */
.tw-watchlist { cursor: grab; overscroll-behavior-x: contain; }
.tw-watchlist.is-dragging, .tw-shots.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.tw-watchlist.is-dragging *, .tw-shots.is-dragging * { pointer-events: none; }
.tw-watchlist img, .tw-shots img { -webkit-user-drag: none; user-select: none; }

.tw-watch--add,
.tw-watch--add:hover {
  position: relative;
  display: grid;
  grid-template-rows: 82px auto;
  align-content: start;
  justify-items: center;
  place-content: start stretch;
  gap: 0;
  padding: 6px 6px 12px;
  background: var(--tw-paper-2);
}
.tw-watch--add:hover { background: color-mix(in oklab, var(--tw-lime) 22%, var(--tw-paper-2)); }
.tw-watch__ground { grid-row: 1; justify-self: stretch; border-radius: 10px; background: var(--tw-lime); }
.tw-watch--add .tw-watch__plus {
  position: absolute;
  top: 88px;
  left: 50%;
  translate: -50% -50%;
  width: 40px;
  height: 40px;
  background: #000;
  color: #fff;
  box-shadow: 0 0 0 4px var(--tw-paper-2);
}
.tw-watch--add:hover .tw-watch__plus { box-shadow: 0 0 0 4px color-mix(in oklab, var(--tw-lime) 22%, var(--tw-paper-2)); }
.tw-watch--add .tw-watch__plus .icon { width: 22px; height: 22px; }
.tw-watch__addlabel { grid-row: 2; padding-top: 28px; text-decoration: none; color: var(--tw-ink); font-size: 0.8125rem; font-weight: 600; }
#twApp[data-product-theme="dark"] .tw-watch--add { background: var(--tw-paper-2); }
#twApp[data-product-theme="dark"] .tw-watch--add .tw-watch__plus { color: #fff; }

/* web version: two columns on My spot — the watch list on the right (trying it, her call) */
#twApp[data-device="desktop"] .tw-screen--home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  column-gap: 8px;
  align-items: start;
  max-width: 1040px;
}
#twApp[data-device="desktop"] .tw-screen--home > * { grid-column: 1; }
#twApp[data-device="desktop"] .tw-screen--home > .tw-watchcol {
  grid-column: 2;
  grid-row: 2 / span 20;          /* starts level with the stats (her call) */
  position: sticky;
  top: 0;                          /* the scroll box is padded by the bar: 0 = just under it */
  margin: 14px 20px 20px 0;
  padding: 8px 0 10px;
  border-radius: 18px;
  background: var(--tw-paper-2);
}
#twApp[data-device="desktop"] .tw-watchcol .tw-section { padding: 10px 16px 6px; }
#twApp[data-device="desktop"] .tw-watchcol .tw-watchlist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px;
  overflow: visible;
  cursor: auto;
}
#twApp[data-device="desktop"] .tw-watchcol .tw-watch {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 1px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  background: none;
}
#twApp[data-device="desktop"] .tw-watchcol .tw-watch:hover { background: color-mix(in oklab, var(--tw-lime) 22%, var(--tw-paper-2)); }
#twApp[data-device="desktop"] .tw-watchcol .tw-watch__art {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 50%;
}
#twApp[data-device="desktop"] .tw-watchcol .tw-watch__name { align-self: end; padding: 0; font-size: 0.875rem; }
#twApp[data-device="desktop"] .tw-watchcol .tw-watch__meta { align-self: start; padding: 0; }
#twApp[data-device="desktop"] .tw-watchcol .tw-watch__when { display: inline; }
#twApp[data-device="desktop"] .tw-watchcol .tw-watch__when::before { content: " · "; }
/* add: first in the list, a black circle with a white plus */
#twApp[data-device="desktop"] .tw-watchcol .tw-watch--add { grid-template-rows: auto; place-content: stretch; justify-items: start; }
#twApp[data-device="desktop"] .tw-watchcol .tw-watch__ground { display: none; }
#twApp[data-device="desktop"] .tw-watchcol .tw-watch--add .tw-watch__plus {
  position: static;
  translate: none;
  grid-row: 1;
  width: 48px;
  height: 48px;
  box-shadow: none;
}
#twApp[data-device="desktop"] .tw-watchcol .tw-watch__addlabel { grid-row: 1; padding: 0; font-size: 0.875rem; }
/* latest sightings: the meta at the feed's size (her call) — 10/9px → 11px */
#twApp :is(.tw-row__meta, .tw-row__when) { font-size: 0.6875rem; letter-spacing: 0; }

/* ---------- glass bars (her brief, Nov 2026) ------------------------------
   The top bar gets air underneath and the site's own top-nav treatment:
   see-through paper with the content blurring behind it. The view runs
   under it (a negative margin pulls it up; the same height comes back as
   padding). On the phone the bottom nav gets the same glass, no rule, a
   little more air on top; its state layer is black with the chosen icon
   filled in lime, the icon centred in the pill. */
#twApp { --tw-top-h: 64px; --tw-nav-h: 0px; }
#twApp[data-device="desktop"] { --tw-top-h: 84px; }
.tw-top {
  position: relative;
  z-index: 4;
  box-sizing: border-box;
  height: var(--tw-top-h);
  margin-bottom: calc(-1 * var(--tw-top-h));
  padding-bottom: 12px;
  background: color-mix(in oklab, var(--tw-paper) 82%, transparent);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}
#twApp[data-device="desktop"] .tw-top { padding: 18px 28px 18px; align-self: start; }
#twApp[data-device="desktop"] .tw-view { grid-row: 1 / 3; }
#twApp[data-device="desktop"] .tw-top { margin-bottom: 0; }
.tw-view { padding-top: var(--tw-top-h); scroll-padding-top: var(--tw-top-h); }
#twApp[data-device="desktop"] .tw-screen { padding-top: 0; }
#twApp[data-device="desktop"] .tw-screen--home > .tw-watchcol { margin-top: 14px; }

@media (min-width: 701px) {
  #twApp[data-device="mobile"] { --tw-nav-h: 76px; }
  #twApp[data-device="mobile"] .tw-nav {
    position: relative;
    z-index: 4;
    margin-top: calc(-1 * var(--tw-nav-h));
    min-height: var(--tw-nav-h);
    box-sizing: border-box;
    padding-top: 4px;
    border-top: 0;
    background: color-mix(in oklab, var(--tw-paper) 82%, transparent);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
  }
  #twApp[data-device="mobile"] .tw-view { padding-bottom: calc(var(--tw-nav-h) + 8px); }
}
#twApp[data-device="mobile"] .tw-nav button { padding-top: 10px; gap: 6px; }
#twApp[data-device="mobile"] .tw-nav button[aria-selected="true"]::before,
#twApp[data-device="mobile"] .tw-nav button:not([aria-selected="true"]):hover::before {
  top: 4px;                      /* 10px pad − (32 − 21)/2: the icon sits in the middle */
  width: 56px;
  height: 32px;
  border-radius: 16px;
  z-index: -1;
}
#twApp[data-device="mobile"] .tw-nav button[aria-selected="true"]::before { background: var(--dark); }
#twApp[data-device="mobile"] .tw-nav button[aria-selected="true"] .icon--line { display: none; }
#twApp[data-device="mobile"] .tw-nav button[aria-selected="true"] .icon--fill { display: block; color: var(--tw-lime); fill: currentColor; }
#twApp[data-device="mobile"][data-product-theme="dark"] .tw-nav button[aria-selected="true"]::before { background: color-mix(in oklab, var(--tw-lime) 16%, var(--tw-paper)); }
#twApp[data-product-theme="dark"] :is(.tw-top, .tw-nav) { background: color-mix(in oklab, var(--tw-paper) 80%, transparent); }

/* the web feed: the three posts share one height, actions on the floor */
#twApp[data-device="desktop"] .tw-posts { align-items: stretch; }
#twApp[data-device="desktop"] .tw-post { display: flex; flex-direction: column; }
#twApp[data-device="desktop"] .tw-post__actions { margin-top: auto; }

/* Explore: the metadata at the feed's 11px (her call) — Afrikaans name and
   size, the bar key, place distance and birds, the "species" under a count;
   the place names step up to the species names' 14px to stay above them */
#twApp :is(.tw-sp__local, .tw-place__meta, .tw-explore__head p, .tw-place__count span) { font-size: 0.6875rem; letter-spacing: 0; }
#twApp .tw-place__name { font-size: 0.875rem; }

/* Life list (her call): metadata at 11px like every other page; My photos
   is the watch-list row — white cards, the photo inset, name, place and
   when; it swipes (and drags) on the phone and on the web version alike */
#twApp .tw-grid .tw-card__meta, #twApp .tw-sub { font-size: 0.6875rem; letter-spacing: 0; }
.tw-shots { gap: 10px; padding-bottom: 18px; cursor: grab; overscroll-behavior-x: contain; }
.tw-shotcard { flex: 0 0 132px; }
.tw-shotcard .tw-watch__art img { filter: none; }
#twApp[data-device="mobile"] .tw-shots { padding-left: 12px; padding-right: 12px; }
#twApp[data-device="desktop"] .tw-shotcard { flex-basis: 168px; }
#twApp[data-device="desktop"] .tw-shotcard .tw-watch__art { height: 104px; }
/* dark: the lime hover darkens the card; the muted line comes up to stay AA */
#twApp[data-product-theme="dark"] .tw-watch:hover .tw-watch__meta { color: color-mix(in oklab, var(--tw-ink) 82%, transparent); }
/* My photos (her call): portrait photos (4:5), an "Add new" card first in
   the watch list's story style, its lime as tall as a photo; the row's
   first card sits on the content's left edge on both devices */
.tw-shots { --shot-art: 165px; scroll-padding-inline: 20px; }
#twApp[data-device="mobile"] .tw-shots { scroll-padding-inline: 12px; }
#twApp[data-device="desktop"] .tw-shots { --shot-art: 210px; }
.tw-shotcard .tw-watch__art,
#twApp[data-device="desktop"] .tw-shotcard .tw-watch__art { height: var(--shot-art); }
.tw-shots .tw-watch--add { grid-template-rows: var(--shot-art) auto; }
.tw-shots .tw-watch--add .tw-watch__plus { top: calc(6px + var(--shot-art)); }

/* ---------- a bird page: the top bar carries the bird (her brief) ---------
   Close, the Afrikaans and English names, and a black "+ Log" button sit in
   the glass top bar. The web version keeps the bell and avatar and drops
   the search; the phone drops all three. Metadata at 11px here too. */
.tw-top__bird { display: none; }
#twApp[data-view="detail"] .tw-top__bird {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
#twApp[data-view="detail"] .tw-search { display: none; }
#twApp[data-device="mobile"][data-view="detail"] :is(.tw-notify, .tw-top__avatar) { display: none; }
.tw-top__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--tw-ink);
}
.tw-top__close .icon { width: 22px; height: 22px; }
.tw-top__close:hover { background: color-mix(in oklab, var(--tw-lime) 40%, transparent); }
.tw-top__names { flex: 1 1 auto; min-width: 0; }
.tw-top__names p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-top__names .tw-bar-sub { font-size: 0.6875rem; margin: 0; }
.tw-top__names .tw-bar-title { font-size: 1rem; line-height: 1.2; }
.tw-top__log {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}
.tw-top__log .icon { width: 20px; height: 20px; fill: currentColor; }
.tw-top__log:hover { background: color-mix(in oklab, var(--dark) 82%, var(--tw-lime)); }
:is(.tw-top__close, .tw-top__log):focus-visible { outline: 2px solid var(--tw-moss); outline-offset: 2px; }
#twApp[data-product-theme="dark"] .tw-top__log { background: var(--tw-lime); color: #1b1e16; }
#twApp[data-device="desktop"][data-view="detail"] .tw-top { justify-content: flex-start; }
#twApp[data-device="desktop"] .tw-top__close { width: 48px; height: 48px; }
#twApp[data-device="desktop"] .tw-top__log { height: 48px; padding: 0 20px 0 16px; margin-right: 4px; }
#twApp[data-device="desktop"] .tw-top__names .tw-bar-title { font-size: 1.125rem; }
#twApp[data-view="detail"] .tw-detail__hero { margin-top: 4px; }
/* bird page metadata at the app's 11px (her call): plate, latin name, tags,
   credit, places, your sightings; block titles 12px; month letters 9px */
#twApp :is(.tw-detail__num, .tw-detail__latin, .tw-detail__head .tw-tag, .tw-call__credit, .tw-dplace span, .tw-mine__row span) { font-size: 0.6875rem; letter-spacing: 0; }
#twApp .tw-block h5 { font-size: 0.75rem; }
#twApp .tw-mlabels span { font-size: 0.5625rem; }

/* ---------- bird page, quieter (her brief, Nov 2026) ----------------------
   No frame inside the photo and no plate number; more air between the photo
   and the name. Block titles larger, in ink, no rule. The call card loses its
   border and grows; the map loses its border and takes the full width. */
.tw-detail__plate, .tw-detail__num { display: none; }
#twApp .tw-detail__head { padding-top: 22px; }
#twApp .tw-block { padding-top: 22px; }
#twApp .tw-block h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--tw-ink);
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 10px;
}
.tw-call { border: 0; padding: 18px 16px; }
.tw-map { border: 0; }
#twApp[data-device="desktop"] .tw-map { max-width: none; }
#twApp[data-device="desktop"] .tw-call { padding: 22px 20px; }
#twApp[data-device="desktop"] .tw-block .tw-map { height: 300px; }
#twApp[data-device="desktop"] .tw-block .tw-map__svg { height: 100%; }
/* the sketch map is drawn wider than it shows (viewBox -60…260, sliced):
   the phone and the log sheet crop it to the old 200×124; the web version
   crops the height to 300px and shows the extra width instead */
.tw-map__svg { aspect-ratio: 200 / 124; }
#twApp[data-device="desktop"] .tw-block .tw-map__svg { aspect-ratio: auto; }

/* ---------- the real map (MapLibre + OpenFreeMap, her pick) --------------
   The sketch stays underneath until the live map has drawn, then the map
   fades in over it. Controls and the © line restyled to the app. */
.tw-map { position: relative; }
.tw-map__live {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 400ms ease;
}
.tw-map.is-live .tw-map__live { opacity: 1; }
#twApp[data-device="mobile"] .tw-block .tw-map { aspect-ratio: 200 / 124; }
#twApp[data-device="mobile"] .tw-block .tw-map__svg { height: 100%; }
.tw-map .maplibregl-ctrl-group { border-radius: 12px; box-shadow: 0 2px 8px -2px rgb(0 0 0 / 0.2); background: var(--tw-paper-2); }
.tw-map .maplibregl-ctrl-group button { width: 32px; height: 32px; }
.tw-map .maplibregl-ctrl-attrib { font-size: 10px; background: color-mix(in oklab, var(--tw-paper-2) 85%, transparent); }
#twApp[data-product-theme="dark"] .tw-map .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1); }
#twApp[data-product-theme="dark"] .tw-map .maplibregl-ctrl-attrib { color: var(--tw-ink); }
#twApp[data-product-theme="dark"] .tw-map .maplibregl-ctrl-attrib a { color: var(--tw-ink); }
@media (prefers-reduced-motion: reduce) { .tw-map__live { transition: none; } }
.tw-map .tw-map__live.maplibregl-map { position: absolute; inset: 0; }   /* beat maplibre-gl.css (position: relative) */
#twApp[data-device="mobile"] .tw-map .maplibregl-ctrl-top-right { display: none; }   /* the phone pinches; no buttons over the pins */

/* ---------- bird page: sightings and the note (her brief) -----------------
   Each sighting its own white rounded card (at least two per bird — yours,
   or for a bird not on your list, the birders you follow). The field note
   is a warm little quote in the dark green, a lime mark above it. */
#twApp .tw-mine { gap: 8px; }
#twApp .tw-mine__row {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--tw-paper-2);
}
#twApp .tw-mine__row span { font-size: inherit; color: inherit; }
.tw-mine__pin {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 16%, var(--tw-paper-2));
  color: color-mix(in oklab, var(--accent) 70%, var(--tw-ink));
}
.tw-mine__pin .icon { width: 18px; height: 18px; fill: currentColor; }
#twApp .tw-mine__row .tw-post__avatar { width: 34px; height: 34px; color: #fff; font-size: 0.6875rem; }
#twApp .tw-mine__place { display: grid; font-size: 0.875rem; font-weight: 600; color: var(--tw-ink); }
#twApp .tw-mine__place b { font-weight: 600; }
#twApp .tw-mine__row .tw-mine__place:has(b) { font-size: 0.6875rem; font-weight: 400; color: var(--tw-muted); }
#twApp .tw-mine__row .tw-mine__place b { font-size: 0.875rem; color: var(--tw-ink); }
#twApp .tw-mine__when { font-size: 0.6875rem; color: var(--tw-muted); white-space: nowrap; }
.tw-mine__first { padding: 2px 4px 0; font-size: 0.6875rem; color: var(--tw-muted); }

.tw-quote {
  margin: 26px 20px 4px;
  padding: 0 4px;
}
#twApp[data-device="mobile"] .tw-quote { margin-inline: 12px; }
.tw-quote::before {
  content: "\201C";
  display: block;
  height: 0.62em;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--tw-lime);
}
.tw-quote p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--tw-moss-ink);
  text-wrap: pretty;
}
#twApp[data-device="desktop"] .tw-quote p { font-size: 1.3125rem; }
#twApp[data-product-theme="dark"] .tw-quote p { color: color-mix(in oklab, var(--tw-lime) 70%, var(--tw-ink)); }
/* the web feed: one post per row, full width (her call); the photo a
   wide 21:9 band so a full-width post doesn't become a poster */
#twApp[data-device="desktop"] .tw-posts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
#twApp[data-device="desktop"] .tw-post__photo { aspect-ratio: 21 / 9; }
#twApp[data-device="desktop"] .tw-screen--home > .tw-posts { justify-self: stretch; width: auto; margin-inline: 0; }

/* ---------- log a sighting, from anywhere (her call) ----------------------
   A FAB, bottom right, on the three tabs (a bird page has its own Log). Lime
   with an ink plus, like the add cards; it floats over the glass nav. */
.tw-fab {
  position: absolute;
  z-index: 6;
  right: 16px;
  bottom: calc(var(--tw-nav-h, 0px) + 16px);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--tw-lime);
  color: #1b1e16;
  box-shadow: 0 10px 24px -8px rgb(20 22 16 / 0.45), 0 2px 6px -2px rgb(20 22 16 / 0.2);
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1), box-shadow 160ms;
}
.tw-fab .icon { width: 26px; height: 26px; fill: currentColor; }
.tw-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgb(20 22 16 / 0.5), 0 2px 6px -2px rgb(20 22 16 / 0.2); }
.tw-fab:active { transform: scale(0.96); }
.tw-fab:focus-visible { outline: 2px solid var(--tw-ink); outline-offset: 3px; }
#twApp[data-view="detail"] .tw-fab { display: none; }
#twApp[data-device="desktop"] .tw-fab { right: 28px; bottom: 24px; }
#twApp[data-product-theme="dark"] .tw-fab { box-shadow: 0 10px 24px -8px rgb(0 0 0 / 0.7); }
@media (prefers-reduced-motion: reduce) { .tw-fab { transition: none; } .tw-fab:hover { transform: none; } }
/* room at the foot of each tab so the last card can scroll clear of the FAB */
#twApp:not([data-view="detail"]) .tw-screen { padding-bottom: 72px; }
