/*
 * The Garden's app layout, as the platform served it to members (apps/web: tailwind.config.cjs tokens,
 * routes/(main)/+layout.svelte, nav/NavBar.svelte + NavTab.svelte, homepage/TopIsland.svelte, tabs/DefaultTab.svelte,
 * homepage/SearchBar.svelte, common/ExplorePost.svelte, common/user/UserCard.svelte). Tailwind's classes are written
 * out as the values they resolved to; the colours are the platform's own (garden-grey, blueish-grey, brand-green).
 */
.app {
  --gg-100: #f2f7f5; --gg-200: #eaf0ed; --gg-300: #d0ddd7; --gg-400: #98b3ab; --gg-500: #66857d;
  --gg-600: #47675b; --gg-700: #34544c; --gg-800: #1d3932; --gg-900: #102824;
  --bg-100: #f8f8f8; --bg-500: #adb9c5; --bg-700: #5b6673; --bg-900: #091f37;
  --green: #0f9d58; --green-50: #45b26b; --green-pill: #0b9d58; --green-10: #dff9ec;
  --line: #ededed;
  --island: 0px 4px 24px 0px rgba(8, 5, 46, 0.04);

  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  color: #111111;
  font-family: 'satoshi', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.app *, .app *::before, .app *::after { box-sizing: border-box; }
.app a { color: inherit; }
.app h1, .app h2, .app p { margin: 0; }
.app .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.app .skip { position: absolute; left: -9999px; }
.app .skip:focus { left: 96px; top: 12px; z-index: 60; background: #fff; padding: 8px 12px; border-radius: 8px; }
.app a:focus-visible, .app button:focus-visible, .app input:focus-visible { outline: 3px solid var(--green-50); outline-offset: 2px; }

/* The gradient band behind the top of every page (HomepageTabs: from-garden-grey-300, 10rem) */
.app .band { position: fixed; inset: 0 0 auto 0; height: 10rem; z-index: -1; background: linear-gradient(to bottom, var(--gg-300), rgba(208, 221, 215, 0)); }

/* Left rail, above 1024px (NavBar.svelte: w-20 px-3 py-12 bg-white shadow-lg) */
.app .rail {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  width: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0.75rem;
  background: #ffffff;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  z-index: 20;
}
.app .rail .logo { display: grid; justify-items: center; gap: 6px; text-decoration: none; }
.app .rail .logo img { width: 40px; height: 40px; }
.app .beta { font-size: 12px; line-height: 16px; border: 1px solid var(--gg-300); color: var(--gg-400); border-radius: 6px; padding: 0 6px; }
.app .rail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.app .navi {
  width: 3.5rem; height: 3.5rem;
  border-radius: 12px;
  display: flex; justify-content: center; align-items: center;
  color: var(--bg-500);
  text-decoration: none;
}
.app .navi svg { opacity: 0.65; }
.app .navi:hover { background: rgba(209, 213, 219, 0.5); }
.app .navi[aria-current='page'] { background: var(--green-50); box-shadow: 0 3px 10px rgba(69, 179, 107, 0.3); color: #ffffff; }
.app .navi[aria-current='page'] svg { opacity: 1; }
.app [hidden] { display: none !important; }
.app .me { margin: 0; }
.app .me button, .app .me a {
  width: 3.5rem; height: 3.5rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  display: grid; place-items: center;
  background: var(--green-10);
  color: var(--gg-800);
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  font-size: 12px;
}
.app .me button:hover, .app .me a:hover { box-shadow: 0 3px 10px rgba(69, 179, 107, 0.3); }

/* Bottom bar, 1024px and under (NavBar.svelte: fixed bottom-0 p-4 bg-white shadow-mobile-navbar-shadow rounded-t-10) */
.app .bottom {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 0.75rem;
  background: #ffffff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-radius: 10px 10px 0 0;
  z-index: 50;
  justify-content: space-around;
  align-items: center;
}

/* The page column (HomepageTabs.svelte: mx-auto w-full max-w-screen-lg) */
.app .page { width: 100%; max-width: 1024px; margin: 0 auto; padding: 1rem 1rem 6rem; }
@media (min-width: 1025px) { .app .page { padding-left: calc(5rem + 1rem); max-width: calc(1024px + 6rem); } }

/* The island (TopIsland.svelte: shadow-island rounded-3xl bg-gray-50, inner bg-white lg:rounded-2xl lg:p-4) */
.app .island { position: sticky; top: 1rem; z-index: 30; border-radius: 1.5rem; background: #f9fafb; box-shadow: var(--island); }
.app .island-in { background: #ffffff; border-radius: 1rem; padding: 1rem; display: flex; flex-direction: column; }
.app .mobile-top { display: none; justify-content: space-between; align-items: center; padding: 0 0.25rem 0.75rem; }
.app .mobile-top img { width: 30px; height: 30px; }
.app .tabs { display: flex; gap: 0.5rem; border-bottom: 1px solid #f6f6f7; padding-top: 0.5rem; }
.app .tab {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.25rem;
  border-bottom: 4px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5rem;
  white-space: nowrap;
  color: var(--gg-500);
  text-decoration: none;
}
.app .tab[aria-current='page'] { border-bottom-color: #000000; color: #000000; }
.app .tab svg { color: var(--gg-500); }
.app .tab[aria-current='page'] svg { color: #000000; }
.app .search-row { display: flex; gap: 0.25rem; margin-top: 1rem; height: 48px; padding: 0 0.25rem; }
.app .search {
  flex: 1;
  display: flex; align-items: center;
  height: 48px;
  background: #ffffff;
  border: 1px solid var(--gg-300);
  border-radius: 14px;
  min-width: 0;
}
.app .search svg { margin-left: 0.75rem; flex: none; color: var(--gg-600); }
.app .search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 0.75rem;
  font-family: 'switzer', 'satoshi', ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  color: #111111;
}
.app .search input::placeholder { color: var(--gg-400); }
.app .search input:focus-visible { outline: none; }
.app .search:focus-within { outline: 3px solid var(--green-50); outline-offset: 2px; }
.app .btn2 {
  display: inline-flex; align-items: center; gap: 0.5rem;
  height: 48px;
  padding: 0.75rem 1.25rem;
  font-family: 'switzer', 'satoshi', ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--gg-600);
  background: #ffffff;
  border: 1px solid var(--gg-300);
  border-radius: 11px;
  cursor: pointer;
  text-decoration: none;
}
.app .btn2:hover { background: linear-gradient(180deg, #ffffff, #f1f1f1); box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.05); }
.app .filters { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 1rem 0.25rem 0; }
.app .pill {
  display: inline-flex; align-items: center;
  height: 2rem;
  padding: 0 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #67857e;
  text-decoration: none;
  background: var(--bg-100);
}
.app .pill[aria-current='true'] { background: var(--green-pill); color: #ffffff; }

/* Sections (HomepageTabs: "EXPLORE POSTS" text-xl font-black uppercase text-garden-grey-700; grid lg:grid-cols-3 gap-4) */
.app .section { padding: 2rem 0.5rem 0; }
@media (min-width: 1025px) { .app .section { padding: 2rem 1rem 0; } }
.app .heading { padding-bottom: 1.25rem; font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; text-transform: uppercase; color: var(--gg-700); }
.app .grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .app .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.app .empty { font-weight: 700; text-align: center; color: #9ca3af; margin: 4rem 0 1.25rem; }
.app .more { margin-top: 1.5rem; display: flex; justify-content: center; }

/* People card (UserCard.svelte) */
.app .person {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: box-shadow 200ms;
}
.app .person:hover, .app .post:hover { box-shadow: var(--island); }
.app .person .cover { height: 8rem; background: #f3f4f6; }
.app .person .who { display: flex; align-items: flex-end; gap: 0.5rem; padding: 0 0.75rem; transform: translateY(-0.75rem); }
.app .avatar { width: 4rem; aspect-ratio: 1; border-radius: 999px; background: #f3f4f6; overflow: hidden; outline: 4px solid #ffffff; flex: none; }
.app .avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.app .person .name { font-weight: 500; overflow-wrap: anywhere; }
.app .person .handle { font-size: 12px; line-height: 16px; color: var(--bg-500); }
.app .person .stats { display: flex; gap: 1rem; padding: 0 0.75rem 0.75rem; font-size: 14px; color: var(--gg-600); }
.app .person .stats b { color: var(--gg-800); font-weight: 500; }

/* Post card (ExplorePost.svelte) */
.app .post {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 200ms;
  display: flex;
  flex-direction: column;
}
.app .post .author { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 0.75rem 0; margin-bottom: 1rem; min-height: 2.75rem; flex-wrap: wrap; }
.app .post .author .avatar { width: 2rem; outline: 0; }
.app .post .author a { font-weight: 500; color: #55697e; text-decoration: none; }
.app .post .author a:hover { text-decoration: underline; }
.app .post .media {
  display: flex; align-items: flex-end;
  aspect-ratio: 16 / 9;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, var(--green-10), var(--gg-100));
  color: var(--gg-700);
  text-decoration: none;
  font-family: 'switzer', 'satoshi', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.app .post .body { padding: 1rem 0.25rem 0 1rem; display: grid; gap: 0.5rem; flex: 1; align-content: start; }
.app .post .title {
  color: var(--bg-900);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5rem;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-right: 0.75rem;
}
.app .tagrow { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.app .tag {
  border-radius: 999px;
  padding: 0.25rem 10px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  background: var(--bg-100);
  color: var(--bg-700);
  font-family: 'switzer', 'satoshi', sans-serif;
}
.app .tag.ok { background: var(--green-10); color: var(--green); }
.app .post .foot { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1rem 0.75rem; font-size: 14px; color: var(--bg-700); margin-top: auto; }
.app .post .foot a { font-weight: 500; text-decoration: none; color: var(--gg-700); }
.app .post .foot a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .app .rail { display: none; }
  .app .bottom { display: flex; }
  .app .mobile-top { display: flex; }
  .app .island { position: relative; top: 0; border-radius: 0 0 1.5rem 1.5rem; margin: -1rem -1rem 0; }
}
@media (max-width: 767px) {
  .app .tab { font-size: 14px; line-height: 20px; }
  .app .tab svg { display: none; }
}

/*
 * The talent profile, as Figma "Product Design Q3 24" draws it for a visitor (handoff `1338:28470`, `1414:39772`;
 * LNK 2026-12-04 "Yes, use Q3 2024"): a cover, a white card over it (avatar, name, About, Interests, socials), then
 * the tabs and the widgets in white rounded cards on an off-white canvas. Redlines: corner radius 16, container gaps
 * 16/20/24, no shadow but on hover. With no media yet, a performance tile sets the post's own words large on deep
 * green, as the Garden's Instagram spotlights did.
 */
.app .mobile-top.solo { padding: 0.25rem 0.25rem 0.75rem; }
.app .profile { position: relative; margin: 0 -0.5rem; }
.app .profile .cover {
  height: 14rem;
  border-radius: 1.5rem 1.5rem 0 0;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(69, 178, 107, 0.45), rgba(69, 178, 107, 0) 60%),
    radial-gradient(90% 120% at 0% 100%, rgba(15, 157, 88, 0.35), rgba(15, 157, 88, 0) 55%),
    linear-gradient(135deg, var(--gg-900), var(--gg-800));
}
.app .cover-word {
  position: absolute; left: 1.5rem; right: 1.5rem; bottom: -0.6rem;
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  overflow: hidden;
}
.app .cover-actions { position: absolute; top: 1.25rem; right: 1.25rem; display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }
.app .cover-actions .btn2 { height: 40px; padding: 0 1rem; border: 0; color: var(--gg-800); }
.app .pcard {
  position: relative;
  margin: -4.5rem 1rem 0;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(16, 40, 36, 0.06), 0 8px 24px rgba(16, 40, 36, 0.06);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 1.5rem;
  align-items: start;
}
.app .pid { display: grid; justify-items: center; gap: 0.5rem; }
.app .avatar.big { width: 7.5rem; outline: 5px solid #ffffff; box-shadow: 0 4px 16px rgba(16, 40, 36, 0.12); margin-top: -3.5rem; }
.app .avatar.sm { width: 2rem; outline: 0; }
.app .state {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--gg-300); border-radius: 8px;
  padding: 2px 8px;
  font-family: 'switzer', 'satoshi', sans-serif; font-size: 12px; font-weight: 500; color: var(--gg-800);
  white-space: nowrap;
}
.app .state::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--gg-800); }
.app .pnames { display: grid; gap: 0.35rem; align-content: start; padding-right: 1.5rem; border-right: 1px solid var(--line); min-height: 100%; }
.app .pnames h1 { font-size: 1.75rem; line-height: 2.1rem; font-weight: 700; letter-spacing: -0.01em; color: #111111; overflow-wrap: anywhere; }
.app .pnames .handle { color: var(--bg-500); font-family: 'switzer', 'satoshi', sans-serif; font-size: 14px; }
.app .badge {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--green-10); color: var(--green);
  border-radius: 999px; padding: 2px 10px 2px 6px;
  font-family: 'switzer', 'satoshi', sans-serif; font-size: 12px; font-weight: 600;
}
.app .counts { margin-top: 0.5rem; font-size: 14px; color: var(--gg-700); }
.app .counts b { color: #111111; font-weight: 700; font-size: 1rem; }
.app .beside { font-family: 'switzer', 'satoshi', sans-serif; font-size: 13px; color: var(--bg-500); }
.app .beside a { color: var(--green); font-weight: 600; text-decoration: none; }
.app .pabout { display: grid; gap: 0.5rem; align-content: start; }
.app .pabout h2 { font-size: 15px; font-weight: 500; color: #111111; }
.app .pabout h2 + p, .app .pabout p { font-family: 'switzer', 'satoshi', sans-serif; font-size: 14px; line-height: 22px; color: var(--bg-700); }
.app .pabout h2:not(:first-child) { margin-top: 0.5rem; }
.app .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.app .chip {
  background: var(--bg-100); border: 1px solid #f0f0f0; border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-family: 'switzer', 'satoshi', sans-serif; font-size: 13px; color: var(--bg-700);
  text-decoration: none;
}
.app .chip:hover { background: var(--green-10); color: var(--gg-800); }
.app .psocial { display: grid; grid-template-columns: repeat(1, 44px); gap: 0.5rem; padding-left: 1.5rem; border-left: 1px solid var(--line); }
.app .soc {
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  display: grid; place-items: center; color: #c13584; text-decoration: none;
}
.app .soc:hover { box-shadow: var(--island); }
.app .mine { margin: 1rem 0.5rem 0; padding: 0.75rem 1rem; border-radius: 12px; background: var(--green-10); color: var(--gg-800); font-size: 14px; }
.app .mine a { font-weight: 700; }

.app .pbody { margin: 1.5rem -0.5rem 0; padding: 1.25rem; background: #fafafa; border-radius: 1.5rem; display: grid; gap: 1rem; }
.app .ptabs { display: flex; gap: 1.5rem; padding: 0 0.25rem; overflow-x: auto; }
.app .ptabs a { padding: 0.5rem 0 0.35rem; border-bottom: 2px solid transparent; color: var(--bg-500); text-decoration: none; font-size: 15px; white-space: nowrap; }
.app .ptabs a[aria-current='page'] { color: #111111; border-bottom-color: #111111; font-weight: 500; }
.app .ptabs a:hover { color: #111111; }
.app .widget { background: #ffffff; border-radius: 1rem; padding: 1rem; display: grid; gap: 1rem; align-content: start; }
.app .wh {
  display: flex; align-items: center; gap: 6px;
  font-family: 'switzer', 'satoshi', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--bg-700);
}
.app .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; }
.app .stat { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; display: grid; gap: 0.75rem; }
.app .sl { font-size: 15px; color: var(--bg-700); }
.app .sv { font-size: 1.75rem; line-height: 1; font-weight: 500; color: #111111; letter-spacing: -0.01em; }

.app .tiles { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app .tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  padding: 1rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.75rem;
  color: #ffffff;
  background:
    radial-gradient(110% 70% at 100% 0%, rgba(69, 178, 107, 0.35), rgba(69, 178, 107, 0) 60%),
    linear-gradient(160deg, var(--gg-800), var(--gg-900));
  transition: transform 200ms, box-shadow 200ms;
}
.app .tile.photos {
  background:
    radial-gradient(110% 70% at 0% 0%, rgba(223, 249, 236, 0.18), rgba(223, 249, 236, 0) 60%),
    linear-gradient(160deg, var(--gg-700), var(--gg-900));
}
.app .tile:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16, 40, 36, 0.25); }
.app .tile .tk { display: flex; align-items: center; gap: 6px; font-family: 'switzer', 'satoshi', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.app .tile .yr { margin-left: auto; font-weight: 500; color: rgba(255, 255, 255, 0.55); }
.app .tile .th {
  align-self: end;
  font-size: 1.35rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em;
  color: #ffffff; text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
  padding-bottom: 0.6rem;
  background: linear-gradient(var(--green-50), var(--green-50)) left bottom / 2.5rem 3px no-repeat;
}
.app .tile a.th::after { content: ''; position: absolute; inset: 0; }
.app .tile .tf { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; font-family: 'switzer', 'satoshi', sans-serif; font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.app .tile .tf a { color: #ffffff; font-weight: 600; text-decoration: none; }
.app .tile .tf a:hover { text-decoration: underline; }
.app .tiles.big .tile { aspect-ratio: 1 / 1; }
.app .toolbar { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.app .widget .more { margin-top: 0; gap: 0.5rem; }
.app .pair { display: grid; gap: 1rem; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.app .pair > :only-child { grid-column: 1 / -1; }
.app .story .prose { display: grid; gap: 0.75rem; font-family: 'switzer', 'satoshi', sans-serif; font-size: 15px; line-height: 24px; color: #1f2933; }
.app .story h3 { margin: 0; font-family: 'satoshi', sans-serif; font-size: 1.35rem; line-height: 1.3; color: #111111; }
.app .story .dek { font-size: 1.05rem; color: var(--gg-700); }
.app .beside-list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.app .beside-list li { display: grid; grid-template-columns: 1rem 2rem minmax(0, 1fr); align-items: center; gap: 0.5rem; font-size: 14px; }
.app .beside-list .rank { color: var(--bg-500); font-size: 13px; }
.app .beside-list a { color: #111111; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.app .beside-list a:hover { text-decoration: underline; }
.app .beside-list .n { grid-column: 3; font-size: 12px; color: var(--bg-500); margin-top: -0.6rem; }
.app .rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.app .rows li { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 1rem; font-size: 14px; }
.app .faint { color: var(--bg-500); }
.app .widget .empty { margin: 2rem 0; }

.app .claim {
  margin: 1.5rem -0.5rem 0;
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--green-10), #f3fbf6);
  border: 1px solid #cdeedb;
  display: grid; gap: 0.75rem; justify-items: start;
}
.app .claim h2 { font-size: 1.35rem; line-height: 1.3; font-weight: 700; color: var(--gg-900); }
.app .claim p { font-family: 'switzer', 'satoshi', sans-serif; font-size: 15px; line-height: 23px; color: var(--gg-700); max-width: 44rem; }
.app .claim .fine { font-size: 13px; color: var(--gg-500); }
.app .btn-green {
  display: inline-flex; align-items: center; height: 44px; padding: 0 1.25rem;
  border: 0; border-radius: 11px; cursor: pointer; text-decoration: none;
  background: var(--green); color: #ffffff; font: inherit; font-weight: 700; font-size: 15px;
  box-shadow: 0 3px 10px rgba(15, 157, 88, 0.3);
}
.app .btn-green:hover { background: #0c8a4d; }
.app .copy { margin: 1.25rem 0.25rem 0; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; font-size: 14px; color: var(--bg-700); }
.app .copy .btn2 { height: 36px; padding: 0 0.9rem; }

@media (max-width: 1024px) {
  .app .profile { margin: 1rem -0.5rem 0; }
  .app .pcard { grid-template-columns: auto minmax(0, 1fr); }
  .app .pnames { border-right: 0; padding-right: 0; }
  .app .pabout { grid-column: 1 / -1; }
  .app .psocial { grid-column: 1 / -1; grid-template-columns: repeat(auto-fill, 44px); padding-left: 0; border-left: 0; }
  .app .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app .pair { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .app .profile .cover { height: 10rem; border-radius: 1.25rem 1.25rem 0 0; }
  .app .cover-actions { top: 0.75rem; right: 0.75rem; }
  .app .cover-actions .btn2 { height: 36px; font-size: 13px; padding: 0 0.75rem; }
  .app .pcard { margin: -2.5rem 0.5rem 0; padding: 1rem; grid-template-columns: 1fr; gap: 1rem; }
  .app .pid { justify-items: start; grid-auto-flow: column; align-items: end; justify-content: start; gap: 0.75rem; }
  .app .avatar.big { width: 5.5rem; margin-top: -3rem; }
  .app .pnames h1 { font-size: 1.5rem; line-height: 1.9rem; }
  .app .pbody { padding: 0.75rem; border-radius: 1.25rem; }
  .app .tiles, .app .tiles.big { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .app .tile { padding: 0.75rem; border-radius: 12px; }
  .app .tile .th { font-size: 1rem; -webkit-line-clamp: 5; }
  .app .tile .tf .ig { display: none; }
  .app .stats { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .app .stat { padding: 0.75rem; }
  .app .sv { font-size: 1.4rem; }
}
/* the tiles take turns through the Garden's deep tones, so a grid of words still reads as a wall of work */
.app .tiles > .tile:nth-child(4n + 2) { background: radial-gradient(110% 70% at 100% 0%, rgba(149, 220, 135, 0.3), rgba(149, 220, 135, 0) 60%), linear-gradient(160deg, #2f6b27, #15301a); }
.app .tiles > .tile:nth-child(4n + 3) { background: radial-gradient(110% 70% at 0% 0%, rgba(173, 185, 197, 0.25), rgba(173, 185, 197, 0) 60%), linear-gradient(160deg, #1d334b, #091f37); }
.app .tiles > .tile:nth-child(4n + 4) { background: radial-gradient(110% 70% at 100% 100%, rgba(15, 157, 88, 0.45), rgba(15, 157, 88, 0) 60%), linear-gradient(160deg, #1b1f1c, #0b0d0c); }
.app .tiles.big > .tile:only-child { grid-column: span 2; aspect-ratio: 2 / 1; }
@media (max-width: 640px) { .app .tiles.big > .tile:only-child { aspect-ratio: 4 / 3; } }
@media (max-width: 640px) {
  .app .cover-actions .btn2:first-child { display: none; }
  .app .pcard { gap: 0.75rem; }
  .app .pabout { gap: 0.4rem; }
  .app .psocial { grid-column: 1 / -1; }
  .app .soc { width: 38px; height: 38px; }
  .app .chip { padding: 0.3rem 0.6rem; font-size: 12px; }
}

/* Pictures (migration 0005): a tile, a card and the cover show the work itself when the Garden holds it. A tile with
   a picture shows the picture alone, as an Instagram grid does: the post's own words are often set in the picture, and
   words laid over them fight. The caption stays the tile's link (read aloud, and on the post page); a shade keeps the
   date and the count readable. */
.app .tile.has-pic { isolation: isolate; background: #0b0d0c; }
.app .tile .tp { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms; }
.app .tile.has-pic::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0.6) 100%);
}
.app .tile.has-pic:hover .tp { transform: scale(1.03); }
.app .tile.has-pic .th { opacity: 0; }
.app .tile.has-pic:focus-within { outline: 3px solid var(--green-50); outline-offset: 3px; }
.app .tile .nb { padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); color: #ffffff; letter-spacing: 0.02em; }
.app .profile .cover.has-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.app .profile .cover.has-pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 30, 20, 0.15), rgba(4, 30, 20, 0.55)); }
.app .profile .cover.has-pic .cover-word { display: none; }
.app .post .media.pic { position: relative; padding: 0; overflow: hidden; aspect-ratio: 4 / 5; background: #0b0d0c; }
.app .post .media.pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.app .post .media.pic span { position: absolute; left: 0.75rem; bottom: 0.65rem; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); color: #ffffff; }

/* A post, inside the application: the work on the left, its words and people beside it (templates/performance.html). */
.app .crumb { margin: 1.5rem 0 0.75rem; font-family: 'switzer', 'satoshi', sans-serif; font-size: 14px; }
.app .crumb a { color: var(--gg-700); font-weight: 600; text-decoration: none; }
.app .crumb a:hover { text-decoration: underline; }
.app .pv {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start;
  background: #ffffff; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 1px 3px rgba(16, 40, 36, 0.08);
}
.app .pv-media { position: relative; background: #0b0d0c; }
.app .pv-media figure { margin: 0; position: relative; }
.app .pv-media img, .app .pv-media video { display: block; width: 100%; height: auto; }
.app .pv-media.many .pv-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.app .pv-media.many .pv-track::-webkit-scrollbar { display: none; }
.app .pv-media.many figure { scroll-snap-align: start; scroll-snap-stop: always; }
.app .pv-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 999px;
  display: grid; place-items: center; cursor: pointer; color: var(--bg-900);
  background: rgba(255, 255, 255, 0.92); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); transition: opacity 0.15s;
}
.app .pv-nav[hidden], .app .pv-dots[hidden] { display: none; }
.app .pv-nav.prev { left: 0.75rem; }
.app .pv-nav.next { right: 0.75rem; }
.app .pv-nav:disabled { opacity: 0; pointer-events: none; }
.app .pv-nav:focus-visible { outline: 3px solid var(--green-50); outline-offset: 2px; }
.app .pv-dots { position: absolute; left: 0; right: 0; bottom: 0.75rem; margin: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.app .pv-dots span { width: 6px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.5); transition: background 0.15s, transform 0.15s; }
.app .pv-dots span.on { background: #ffffff; transform: scale(1.25); }
.app .pv-media figcaption {
  position: absolute; top: 0.75rem; right: 0.75rem; padding: 2px 9px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.55); color: #ffffff; font-family: 'switzer', 'satoshi', sans-serif; font-size: 12px; font-weight: 600;
}
.app .pv-media.tile-words {
  aspect-ratio: 4 / 5; display: flex; align-items: flex-end; padding: 2rem;
  background:
    radial-gradient(110% 70% at 100% 0%, rgba(69, 178, 107, 0.35), rgba(69, 178, 107, 0) 60%),
    linear-gradient(160deg, var(--gg-800), var(--gg-900));
}
.app .pv-media.tile-words p {
  margin: 0; padding-bottom: 0.9rem; color: #ffffff; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em;
  background: linear-gradient(var(--green-50), var(--green-50)) left bottom / 3rem 4px no-repeat;
}
.app .pv-side { padding: 1.5rem; display: grid; gap: 1rem; align-content: start; min-width: 0; }
.app .pv-who { display: flex; align-items: center; gap: 0.75rem; }
.app .pv-who .avatar { width: 40px; height: 40px; flex: none; }
.app .pv-who .avatar.garden img { background: #ffffff; }
.app .pv-who p { margin: 0; display: grid; gap: 2px; }
.app .pv-names { font-weight: 700; color: var(--bg-900); }
.app .pv-names a { color: inherit; text-decoration: none; }
.app .pv-names a:hover { text-decoration: underline; }
.app .pv-meta { font-family: 'switzer', 'satoshi', sans-serif; font-size: 13px; color: var(--gg-500); }
.app .pv h1 { margin: 0; font-size: 1.4rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--bg-900); overflow-wrap: anywhere; }
.app .pv-caption { white-space: pre-line; overflow-wrap: anywhere; font-family: 'switzer', 'satoshi', sans-serif; font-size: 15px; line-height: 24px; color: #1f2933; }
.app .pv-actions { margin: 0; display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.app .pv-credits { display: grid; gap: 0.5rem; }
.app .pv-credits .rows li a { font-weight: 600; color: var(--gg-800); }
.app .pv-credits .rows li span { color: var(--gg-500); font-size: 13px; }
.app .pv .fine { margin: 0; font-size: 13px; color: var(--gg-500); }
@media (max-width: 1024px) {
  .app .pv { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .app .crumb { margin: 1rem 0.75rem 0.5rem; }
  .app .pv { border-radius: 1rem; }
  .app .pv-side { padding: 1rem; }
}
