:root {
  --bg-0: #f8fafc;
  --bg-1: #f1f5f9;
  --bg-2: #e2e8f0;
  --ink-0: #0f172a;
  --ink-1: #334155;
  --ink-2: #64748b;
  --sea-0: #0ea5e9;
  --sea-1: #38bdf8;
  --violet-0: #8b5cf6;
  --pink-0: #ec4899;
  --shell-0: #fffbeb;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.15);
  --surface-0: rgba(255, 255, 255, 0.85);
  --surface-1: rgba(255, 255, 255, 0.65);
  --surface-2: rgba(255, 255, 255, 0.45);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-strong: rgba(255, 255, 255, 0.95);
  --danger-bg: rgba(254, 226, 226, 0.9);
  --danger-ink: #9f1239;
  --ok-bg: rgba(209, 250, 229, 0.9);
  --ok-ink: #065f46;
  --focus: rgba(14, 165, 233, 0.3);
  --shadow-soft: 0 20px 40px -15px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-hairline: 0 0 0 1px rgba(255, 255, 255, 0.8) inset, 0 1px 1px rgba(255, 255, 255, 0.9) inset;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --space-1: clamp(0.5rem, 0.5rem + 0.2vw, 0.75rem);
  --space-2: clamp(1rem, 0.8rem + 0.5vw, 1.25rem);
  --space-3: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --space-4: clamp(2.5rem, 2rem + 1.5vw, 3.5rem);
  --space-5: clamp(4rem, 3rem + 2.5vw, 6rem);
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink-0);
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #eff6ff 100%);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
input,
textarea,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(139, 125, 255, 0.22);
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.orb {
  display: none;
}

.orb-a {
  width: 50vw;
  height: 50vw;
  top: -20vh;
  right: -10vw;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.15) 0, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
  filter: blur(60px);
}

.orb-b {
  width: 60vw;
  height: 60vw;
  bottom: -20vh;
  left: -20vw;
  background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.12) 0, rgba(236, 72, 153, 0.05) 50%, transparent 70%);
  filter: blur(80px);
}

.orb-c {
  width: 40vw;
  height: 40vw;
  top: 40%;
  left: 40%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 251, 235, 0.4) 0, rgba(56, 189, 248, 0.08) 50%, transparent 70%);
  filter: blur(60px);
}

.mesh {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 80%);
}

.float-sticker {
  position: absolute;
  width: var(--sticker-size, 160px);
  opacity: 0.04;
  filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.05));
  transform: translate3d(0, 0, 0) rotate(var(--sticker-tilt, 0deg));
  animation: sticker-drift 20s ease-in-out infinite;
}

.float-sticker-tail {
  --sticker-size: 240px;
  --sticker-tilt: -10deg;
  top: 14%;
  right: 4%;
}

.float-sticker-jelly {
  --sticker-size: 170px;
  --sticker-tilt: 7deg;
  top: 54%;
  left: 5%;
  animation-delay: -6s;
}

.float-sticker-bubbles {
  --sticker-size: 150px;
  --sticker-tilt: 9deg;
  right: 15%;
  bottom: 7%;
  animation-delay: -10s;
}

@keyframes sticker-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--sticker-tilt, 0deg));
  }

  50% {
    transform: translate3d(0, -12px, 0) rotate(calc(var(--sticker-tilt, 0deg) + 3deg));
  }
}

.app-topbar {
  width: min(var(--max-width), calc(100% - 2 * var(--space-3)));
  margin: 0 auto;
  padding: var(--space-2) 0 var(--space-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.app-brand img {
  width: clamp(150px, 15vw, 198px);
  display: block;
}

.app-user-chip,
.entity-person,
.member-row {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.app-user-chip {
  text-decoration: none;
  padding: 0.42rem 0.78rem 0.42rem 0.44rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-0);
  color: var(--ink-1);
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: var(--shadow-hairline), 0 10px 26px rgba(31, 86, 128, 0.08);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.app-shell {
  width: min(var(--max-width), calc(100% - 2 * var(--space-3)));
  margin: 0 auto var(--space-5);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}

.app-sidebar {
  position: sticky;
  top: var(--space-2);
  display: grid;
  gap: var(--space-2);
}

.app-nav,
.sidebar-actions,
.panel,
.post-card,
.entity-card,
.media-card,
.empty-state {
  background: linear-gradient(180deg, var(--surface-0), var(--surface-1));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hairline), var(--shadow-card);
  backdrop-filter: blur(20px) saturate(180%);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.post-card:hover,
.entity-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hairline), var(--shadow-card), 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

.app-nav {
  padding: 0.48rem;
  display: grid;
  gap: 0.18rem;
}

.app-nav-link {
  position: relative;
  padding: 0.75rem 0.85rem 0.75rem 1rem;
  border-radius: 0.75rem;
  color: var(--ink-1);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.app-nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--ink-0);
  opacity: 0;
  transition: opacity 200ms ease;
  z-index: -1;
}

.app-nav-link:hover {
  color: var(--ink-0);
  transform: translateX(4px);
}

.app-nav-link:hover::before {
  opacity: 0.04;
}

.app-nav-link.is-active {
  color: white;
  background: linear-gradient(135deg, var(--sea-0), var(--violet-0));
  box-shadow: 0 10px 20px -5px rgba(14, 165, 233, 0.3);
  font-weight: 700;
  transform: translateX(4px);
}

.sidebar-actions {
  padding: 0.65rem;
  display: grid;
  gap: 0.5rem;
}

.app-content {
  min-width: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--space-4);
  align-items: start;
}

.community-home {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.main-column,
.side-column,
.feed-list,
.simple-list,
.comment-list,
.message-list {
  display: grid;
  gap: var(--space-2);
}

.section-head {
  margin-bottom: var(--space-2);
}

.section-head h1,
.section-head h2,
.panel h1,
.panel h2,
.post-card h2,
.entity-card h2,
.media-card h2,
.auth-art h1,
.auth-panel h2 {
  font-family: Outfit, Inter, sans-serif;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-head h1 {
  max-width: 13ch;
  margin: 0.5rem 0 0.62rem;
  font-size: 3rem;
}

.section-head h2,
.panel h2 {
  margin: 0 0 0.35rem;
}

.section-head p,
.panel p,
.entity-card p,
.media-card p {
  color: var(--ink-1);
}

.section-head p {
  max-width: 68ch;
  margin-top: 0;
  font-size: 1.02rem;
}

.compact {
  margin-bottom: 1rem;
}

.compact h1,
.compact h2 {
  margin-top: 0;
}

.community-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.24fr) minmax(260px, 0.48fr);
  gap: var(--space-2);
  align-items: end;
  margin-bottom: var(--space-2);
}

.community-hero h1 {
  max-width: 14ch;
  margin: 0.5rem 0 0.62rem;
  font-family: Outfit, Inter, sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.community-hero p {
  max-width: 68ch;
  margin: 0;
  color: var(--ink-1);
  font-size: 1.125rem;
}

.community-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.community-metrics span {
  min-height: 76px;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink-1);
  box-shadow: var(--shadow-hairline);
}

.community-metrics strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--ink-0);
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.composer-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: var(--space-1);
}

.composer-head div {
  display: grid;
  gap: 0.12rem;
}

.composer-head small {
  color: var(--ink-2);
}

.social-composer textarea {
  min-height: 124px;
}

.feed-toolbar,
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-2);
}

.feed-toolbar {
  margin: 0.3rem 0 calc(var(--space-1) * -0.35);
}

.feed-toolbar h2,
.panel-heading h2 {
  margin: 0.35rem 0 0;
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

.community-panel {
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.community-panel > :not(.panel-sticker) {
  position: relative;
  z-index: 1;
}

.sticker-cluster {
  display: grid;
  align-items: center;
  justify-items: center;
  min-width: 0;
}

.hero-sticker-cluster {
  min-height: 146px;
  position: relative;
}

.section-sticker-cluster {
  grid-template-columns: repeat(2, 74px);
  justify-content: end;
  gap: 0.45rem;
}

.sticker {
  display: block;
  width: var(--sticker-width, 96px);
  filter: drop-shadow(0 12px 18px rgba(48, 104, 151, 0.18));
}

.sticker-tail {
  --sticker-width: 136px;
  transform: rotate(-10deg);
}

.sticker-shell {
  --sticker-width: 62px;
  position: absolute;
  right: 4%;
  bottom: 8%;
  transform: rotate(8deg);
}

.sticker-star {
  --sticker-width: 58px;
  position: absolute;
  left: 3%;
  top: 8%;
  transform: rotate(-12deg);
}

.sticker-jelly {
  --sticker-width: 86px;
  transform: rotate(6deg);
}

.sticker-bubbles {
  --sticker-width: 82px;
  transform: rotate(-8deg);
}

.panel-sticker {
  position: absolute;
  width: 74px;
  opacity: 0.1;
  pointer-events: none;
  filter: drop-shadow(0 10px 16px rgba(58, 111, 156, 0.14));
}

.panel-sticker-right {
  top: 0.75rem;
  right: -0.35rem;
  transform: rotate(10deg);
}

.panel-sticker-left {
  left: -0.2rem;
  bottom: -0.35rem;
  transform: rotate(-10deg);
}

.compact-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.mini-profile,
.mini-resource {
  display: grid;
  gap: 0.65rem;
  padding: 0.72rem;
  border: 1px solid rgba(80, 129, 171, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.52);
}

.mini-profile {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.mini-resource {
  color: var(--ink-0);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.mini-resource:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

.mini-resource small {
  color: var(--ink-2);
  font-weight: 800;
}

.panel-link {
  justify-self: start;
  margin-top: 0.85rem;
}

.panel-link-inline {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  white-space: nowrap;
  line-height: 1;
}

.filter-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}

.filter-summary p {
  margin: 0.25rem 0 0;
}

.row-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-2);
}

.eyebrow {
  display: inline-block;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  color: var(--ink-1);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
}

.panel,
.post-card,
.empty-state {
  padding: clamp(1rem, 0.92rem + 0.36vw, 1.35rem);
}

.narrow {
  max-width: 760px;
}

.compose-panel,
.chat-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(243, 251, 255, 0.82));
  border-color: rgba(47, 101, 151, 0.24);
}

.btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, var(--sea-0), var(--sea-1));
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25), 0 1px 1px rgba(255, 255, 255, 0.4) inset;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-height: 40px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(14, 165, 233, 0.3), 0 1px 1px rgba(255, 255, 255, 0.5) inset;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
}

.btn-sm {
  min-height: 32px;
  padding: 0.42rem 0.72rem;
  font-size: 0.84rem;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink-0);
  border-color: var(--line);
  box-shadow: none;
}

.btn-subtle {
  background: var(--surface-2);
  color: #845f89;
  border-color: rgba(216, 154, 205, 0.5);
  box-shadow: none;
}

.btn-block {
  width: 100%;
}

form.button_to {
  margin: 0;
  display: inline;
}

.stack-form,
.search-row,
.inline-compose {
  display: grid;
  gap: 0.85rem;
}

.stack-form > .btn {
  justify-self: start;
}

.search-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.search-row.multi {
  grid-template-columns: 1.2fr 0.8fr 0.8fr auto;
}

.inline-compose {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.compact-compose {
  margin-top: var(--space-2);
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink-1);
  font-size: 0.9rem;
  font-weight: 800;
}

input:not([type="checkbox"]):not([type="submit"]):not([type="button"]),
textarea,
select {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: var(--surface-0);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--ink-0);
  min-width: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) inset;
  transition: all 200ms ease;
  font-family: Inter, sans-serif;
}

input[type="file"] {
  color: var(--ink-2);
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  margin-right: 0.8rem;
  border: 1px solid rgba(58, 111, 156, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink-1);
  padding: 0.42rem 0.72rem;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

input:not([type="checkbox"]):not([type="submit"]):not([type="button"]):focus,
textarea:focus,
select:focus {
  outline: none;
  background: white;
  border-color: var(--sea-1);
  box-shadow: 0 0 0 4px var(--focus), 0 1px 2px rgba(15, 23, 42, 0.05) inset;
}

input::placeholder,
textarea::placeholder {
  color: rgba(90, 123, 160, 0.68);
}

textarea {
  resize: vertical;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.flash {
  margin: 0 0 var(--space-2);
  padding: 0.72rem 0.95rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
}

.flash ul {
  margin: 0.5rem 0 0;
}

.flash-notice {
  color: var(--ok-ink);
  background: var(--ok-bg);
  border: 1px solid rgba(65, 145, 104, 0.36);
}

.flash-alert {
  color: var(--danger-ink);
  background: var(--danger-bg);
  border: 1px solid rgba(213, 91, 135, 0.42);
}

.avatar {
  --avatar-size: 44px;
  width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(23, 77, 120, 0.14);
}

.avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(140deg, var(--sea-0), var(--violet-0), var(--pink-0));
}

.entity-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: var(--space-1);
}

.entity-person {
  color: var(--ink-0);
  text-decoration: none;
}

.entity-person span {
  display: grid;
  gap: 0.08rem;
}

.entity-person strong {
  line-height: 1.15;
}

.entity-person small,
.muted,
.list-row small,
.message small,
.comment small {
  color: var(--ink-2);
}

.post-body-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.post-card {
  position: relative;
  overflow: hidden;
}

.post-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--sea-0), var(--violet-0), var(--pink-0));
  opacity: 0.76;
}

.post-caption p {
  margin: 0 0 0.85rem;
  color: #1a3957;
  font-size: 1rem;
  line-height: 1.55;
}

.post-media,
.cover-img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.post-media {
  max-height: 560px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--glass-strong);
}

.tag-row,
.action-row,
.stat-strip,
.auth-links,
.pager {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-row {
  margin-top: 0.8rem;
}

.tag-row span,
.soft-link,
.meta-pill,
.stat-strip span {
  padding: 0.31rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  color: var(--ink-1);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
}

.meta-pill {
  cursor: default;
}

.notification-summary-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--space-2);
}

.notification-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.notification-stat-row span {
  min-width: 82px;
  padding: 0.66rem 0.82rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.notification-stat-row strong,
.notification-stat-row small {
  display: block;
}

.notification-stat-row strong {
  color: var(--ink-0);
  font-size: 1.35rem;
  line-height: 1;
}

.notification-stat-row small {
  margin-top: 0.24rem;
  color: var(--ink-2);
  font-size: 0.74rem;
  font-weight: 800;
}

.notification-feed {
  display: grid;
  gap: 0.7rem;
}

.notification-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.82rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-0);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(91, 91, 184, 0.08);
}

.notification-item:hover {
  border-color: rgba(137, 112, 255, 0.38);
  box-shadow: 0 16px 32px rgba(91, 91, 184, 0.12);
}

.notification-item span {
  min-width: 0;
}

.notification-item strong,
.notification-item small {
  display: block;
}

.notification-item small {
  margin-top: 0.16rem;
  color: var(--ink-2);
}

.notification-item .app-icon-art {
  width: 34px;
  height: 34px;
}

.action-row {
  margin-top: var(--space-1);
  padding-top: var(--space-1);
  border-top: 1px solid rgba(80, 129, 171, 0.14);
}

.post-stat {
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 800;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: var(--space-2);
}

.compact-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: var(--space-3);
}

.entity-card,
.media-card {
  padding: var(--space-2);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.entity-card:hover,
.media-card:hover,
.post-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hairline), 0 18px 42px rgba(23, 77, 120, 0.14);
  transform: translateY(-1px);
}

.entity-card h2,
.media-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.topic-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}

.topic-card h2 {
  margin: 0;
  font-size: 1.25rem;
}

.topic-card p {
  margin: 0;
  flex: 1;
}

.topic-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  margin: -0.35rem 0 0;
  overflow: hidden;
}

.topic-icon-badge .app-icon {
  width: 104px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(75, 121, 191, 0.18));
  transform: translateY(8px);
}

.profile-card {
  display: grid;
  align-content: start;
  gap: 0.32rem;
}

.profile-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.72rem;
}

.pod-strip,
.pod-directory {
  display: grid;
  gap: var(--space-2);
}

.pod-strip {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.pod-chip-card,
.pod-list-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hairline), var(--shadow-card);
  backdrop-filter: blur(14px);
}

.pod-chip-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.72rem;
}

.pod-chip-card h2,
.pod-list-card h2 {
  margin: 0;
  font-family: Sora, Manrope, sans-serif;
  font-size: 1.08rem;
  line-height: 1.15;
}

.pod-chip-card a,
.pod-list-card a {
  text-decoration: none;
}

.pod-chip-card p {
  margin: 0.25rem 0 0;
  color: var(--ink-2);
  font-weight: 800;
}

.pod-list-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: var(--space-2);
  align-items: center;
  padding: 0.85rem;
}

.pod-list-main p {
  max-width: 68ch;
  margin: 0.42rem 0 0;
  color: var(--ink-1);
}

.pod-list-actions {
  display: grid;
  gap: 0.5rem;
  justify-items: end;
}

.pod-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.pod-thumb .cover-img {
  min-height: 0;
  height: 100%;
}

.entity-card a,
.media-card a {
  text-decoration: none;
}

.media-card {
  display: grid;
  grid-template-rows: 184px auto;
  overflow: hidden;
  padding: 0;
}

.media-card > div {
  padding: var(--space-2);
}

.cover-img {
  height: 100%;
  min-height: 184px;
}

.cover-img-soft {
  filter: saturate(0.9);
}

.cover-img-sticker {
  object-fit: contain;
  padding: 1.15rem;
  background:
    radial-gradient(circle at 70% 20%, rgba(246, 140, 218, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(232, 251, 255, 0.88), rgba(255, 248, 239, 0.7));
}

.app-frame {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  background:
    linear-gradient(90deg, rgba(227, 250, 255, 0.72) 0 282px, rgba(255, 255, 255, 0.82) 282px),
    radial-gradient(circle at 9% 86%, rgba(105, 206, 255, 0.34), transparent 21%),
    radial-gradient(circle at 14% 10%, rgba(246, 140, 218, 0.16), transparent 24%);
}

.app-frame .app-sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 1.75rem 1.1rem 1.45rem;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 1.45rem;
  overflow: hidden;
  border-right: 1px solid rgba(139, 125, 255, 0.16);
  background:
    radial-gradient(circle at 78% 71%, rgba(255, 255, 255, 0.64), transparent 9%),
    radial-gradient(circle at 82% 79%, rgba(139, 125, 255, 0.2), transparent 16%),
    linear-gradient(180deg, rgba(232, 251, 255, 0.88), rgba(244, 237, 255, 0.78) 56%, rgba(133, 211, 255, 0.44));
}

.app-frame .app-sidebar::before {
  content: "";
  position: absolute;
  inset: auto -28px -18px -18px;
  height: 170px;
  pointer-events: none;
  opacity: 0.76;
  background:
    url("/assets/deco-starfish-2763b1bd.svg") right 22px bottom 12px / 84px auto no-repeat,
    url("/assets/deco-bubbles-f0b9e072.svg") left 22px bottom 38px / 96px auto no-repeat,
    linear-gradient(170deg, transparent 20%, rgba(105, 206, 255, 0.28) 58%, rgba(139, 125, 255, 0.28));
  mask-image: linear-gradient(transparent, black 28%);
}

.app-frame .app-brand {
  display: block;
  justify-self: start;
  position: relative;
  z-index: 1;
}

.app-frame .app-brand img {
  width: min(220px, 88%);
  filter: drop-shadow(0 14px 18px rgba(83, 93, 188, 0.14));
}

.app-frame .app-nav {
  position: relative;
  z-index: 1;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.app-frame .app-nav-link {
  min-height: 50px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.72rem;
  padding: 0.45rem 0.74rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #171072;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.app-frame .app-nav-link::before {
  display: none;
}

.app-frame .app-nav-link:hover,
.app-frame .app-nav-link.is-active {
  color: #3b28f0;
  background:
    radial-gradient(circle at 85% 50%, rgba(255, 255, 255, 0.92), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(245, 222, 255, 0.78));
  border-color: rgba(160, 126, 255, 0.34);
  box-shadow: var(--shadow-hairline), 0 12px 28px rgba(115, 94, 213, 0.16);
  transform: translateX(2px);
}

.app-icon {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
}

.app-icon-art {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 5px 7px rgba(91, 91, 184, 0.18));
}

.nav-badge,
.icon-button > span:not(.sr-only) {
  min-width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(145deg, #ff6ab3, #f44892);
  color: white;
  font-size: 0.74rem;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(244, 72, 146, 0.22);
}

.sidebar-promo {
  align-self: end;
  position: relative;
  z-index: 1;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(160, 126, 255, 0.28);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 255, 255, 0.88), transparent 20%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(231, 250, 255, 0.58) 48%, rgba(246, 226, 255, 0.76));
  box-shadow: var(--shadow-hairline), 0 18px 38px rgba(115, 94, 213, 0.13);
}

.sidebar-promo-art {
  position: absolute;
  right: -0.5rem;
  bottom: -0.4rem;
  width: 118px;
  opacity: 0.4;
  pointer-events: none;
}

.sidebar-promo strong,
.sidebar-promo p,
.sidebar-promo .btn {
  position: relative;
  z-index: 1;
}

.sidebar-promo strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #2417b5;
  font-family: Sora, Manrope, sans-serif;
  font-size: 1.05rem;
}

.sidebar-promo p {
  max-width: 13rem;
  margin: 0 0 0.9rem;
  color: #33428b;
  font-weight: 700;
}

.sidebar-footer {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
  text-shadow: 0 1px 8px rgba(35, 63, 143, 0.18);
}

.sidebar-footer small {
  font-weight: 700;
}

.app-main {
  min-width: 0;
  padding: 1rem 1.5rem 2.5rem;
}

.app-frame .app-topbar {
  width: min(100%, 1280px);
  min-height: 58px;
  margin: 0 auto 1rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.global-search {
  width: min(460px, 100%);
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.72rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(139, 125, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-hairline), 0 12px 28px rgba(104, 106, 180, 0.08);
}

.global-search .app-icon-art {
  width: 28px;
  height: 28px;
}

.global-search input:not([type="checkbox"]):not([type="submit"]):not([type="button"]) {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #171072;
  font-weight: 800;
}

.global-search input:focus {
  box-shadow: none !important;
}

.app-frame .topbar-actions {
  flex-wrap: nowrap;
}

.icon-button {
  position: relative;
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(139, 125, 255, 0.18);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.82);
  color: #3021a0;
  text-decoration: none;
  box-shadow: var(--shadow-hairline), 0 10px 24px rgba(89, 92, 170, 0.1);
}

.icon-button .app-icon-art {
  width: 32px;
  height: 32px;
}

.icon-button.has-badge > span:not(.sr-only) {
  position: absolute;
  top: -0.42rem;
  right: -0.38rem;
}

.topbar-button-form {
  display: inline-flex;
  margin: 0;
}

.logout-button {
  padding: 0;
}

.app-frame .app-user-chip {
  padding: 0.34rem 0.74rem 0.34rem 0.38rem;
  border-color: rgba(139, 125, 255, 0.18);
  background: rgba(255, 255, 255, 0.9);
}

.app-frame .app-content {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.mobile-brand-row,
.mobile-tabbar {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stream-page {
  gap: 1rem;
  align-items: start;
}

.community-home {
  grid-template-columns: minmax(0, 640px) minmax(270px, 300px);
  justify-content: center;
}

.stream-composer {
  position: relative;
  overflow: hidden;
  padding: 0.9rem;
  border-color: rgba(160, 126, 255, 0.32);
  background:
    radial-gradient(circle at 92% 12%, rgba(246, 140, 218, 0.18), transparent 22%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.93), rgba(241, 250, 255, 0.88));
  box-shadow: var(--shadow-hairline), 0 18px 44px rgba(116, 86, 214, 0.14);
}

.composer-sticker {
  position: absolute;
  right: 1.1rem;
  top: 0.7rem;
  width: 58px;
  opacity: 0.42;
  pointer-events: none;
}

.composer-head {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.72rem;
}

.composer-head strong {
  display: block;
  color: #171072;
  font-family: Sora, Manrope, sans-serif;
  font-size: 0.96rem;
}

.composer-head small {
  display: block;
  color: #6170ab;
  font-weight: 750;
  font-size: 0.82rem;
}

.social-composer textarea {
  min-height: 76px;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
}

.composer-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  padding-top: 0.2rem;
}

.composer-tool {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.58rem;
  border: 1px solid rgba(139, 125, 255, 0.18);
  border-radius: 999px;
  color: #3021a0;
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 850;
  cursor: pointer;
}

.composer-tool .app-icon-art {
  width: 25px;
  height: 25px;
}

.composer-tool input[type="file"] {
  width: 1px;
  min-height: 0;
  padding: 0;
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.composer-tool.is-active,
.composer-tool:hover,
.composer-tool:focus-visible {
  border-color: rgba(143, 104, 255, 0.44);
  background: rgba(246, 242, 255, 0.92);
  box-shadow: var(--shadow-hairline), 0 10px 24px rgba(112, 91, 210, 0.12);
}

.composer-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.composer-panel {
  display: grid;
  gap: 0.35rem;
  padding: 0.62rem;
  border: 1px solid rgba(139, 125, 255, 0.18);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-hairline);
}

.composer-panel[hidden] {
  display: none;
}

.composer-panel-wide {
  grid-column: 1 / -1;
}

.composer-panel label {
  color: #3021a0;
  font-size: 0.72rem;
  font-weight: 900;
}

.composer-panel input,
.composer-panel select {
  width: 100%;
  min-height: 36px;
  padding: 0.45rem 0.62rem;
  border: 1px solid rgba(90, 120, 165, 0.22);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.9);
  color: #10294a;
  font: inherit;
  font-size: 0.82rem;
}

.composer-poll-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.detail-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.pod-edit-panel {
  display: grid;
  gap: 1rem;
}

.current-cover-preview {
  max-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(139, 125, 255, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-hairline);
}

.current-cover-preview .cover-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.stream-filters {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.filter-pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.85rem;
  border: 1px solid rgba(139, 125, 255, 0.18);
  border-radius: 999px;
  color: #3021a0;
  background: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 850;
  box-shadow: var(--shadow-hairline), 0 10px 22px rgba(89, 92, 170, 0.08);
}

.filter-pill.is-active {
  color: white;
  border-color: rgba(105, 206, 255, 0.38);
  background: linear-gradient(135deg, #58b8ff, #9568ff 78%);
  box-shadow: 0 14px 30px rgba(106, 96, 222, 0.24);
}

.filter-pill .app-icon-art,
.filter-settings .app-icon-art {
  width: 25px;
  height: 25px;
}

.filter-settings {
  margin-left: auto;
  border-radius: 999px;
}

.social-post {
  overflow: hidden;
  border-color: rgba(139, 125, 255, 0.15);
  box-shadow: var(--shadow-hairline), 0 18px 42px rgba(45, 55, 120, 0.08);
}

.post-card.reveal {
  opacity: 1;
  transform: none;
}

.social-post .post-body-link {
  display: grid;
  gap: 0.8rem;
}

.social-post .post-media {
  border-radius: 0.95rem;
}

.social-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.36rem 0.7rem;
  border: 0;
  border-radius: 999px;
  color: #3c3a95;
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.social-action:hover,
.social-action.is-active {
  color: #2116bf;
  background: rgba(245, 239, 255, 0.78);
}

.social-action .app-icon-art {
  width: 26px;
  height: 26px;
}

.social-action small {
  min-width: 1.25rem;
  color: #6170ab;
  font-size: 0.76rem;
  font-weight: 900;
}

.post-action-label {
  line-height: 1;
}

.social-directory {
  display: grid;
  gap: 1rem;
}

.directory-hero {
  min-height: 86px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(160, 126, 255, 0.24);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.96), transparent 22%),
    linear-gradient(135deg, rgba(232, 251, 255, 0.82), rgba(249, 235, 255, 0.82));
  box-shadow: var(--shadow-hairline), 0 16px 36px rgba(91, 91, 184, 0.11);
}

.directory-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30px;
  opacity: 0.48;
  background: url("/assets/icon-wave-divider-53226e2a.png") right 8% bottom -22px / 160px auto no-repeat;
}

.directory-hero h1 {
  margin: 0;
  color: #171072;
  font-size: 1.55rem;
  line-height: 1.1;
}

.directory-hero p {
  margin: 0.3rem 0 0;
  max-width: 48rem;
  color: #5262a5;
  font-weight: 750;
}

.directory-hero-art {
  position: absolute;
  right: 5.8rem;
  top: 50%;
  width: 156px;
  opacity: 0.42;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-action .app-icon-art {
  width: 26px;
  height: 26px;
}

.directory-layout,
.discover-layout,
.spots-layout {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.pods-layout {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(230px, 280px);
}

.discover-layout,
.spots-layout {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
}

.directory-filter-panel,
.directory-main-panel,
.spot-grid-panel,
.people-grid-panel,
.directory-filter-bar {
  padding: 1rem;
  border: 1px solid rgba(139, 125, 255, 0.15);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-hairline), 0 16px 38px rgba(45, 55, 120, 0.07);
}

.spot-grid-panel {
  display: grid;
  gap: 1rem;
}

.directory-filter-panel {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 1rem;
}

.directory-search {
  min-height: 44px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(139, 125, 255, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.directory-search .app-icon-art {
  width: 25px;
  height: 25px;
}

.directory-search input[type="search"] {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 800;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.62rem;
  border: 1px solid rgba(139, 125, 255, 0.16);
  border-radius: 999px;
  color: #3c3a95;
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: none;
}

.chip.is-active {
  color: white;
  border-color: rgba(105, 206, 255, 0.36);
  background: linear-gradient(135deg, #62c4ff, #9568ff);
}

.filter-summary.compact {
  padding: 0.85rem;
  border: 1px solid rgba(139, 125, 255, 0.16);
  border-radius: 0.9rem;
  background: rgba(245, 239, 255, 0.58);
}

.filter-summary.compact p {
  margin: 0.2rem 0 0;
}

.side-list-panel,
.directory-section {
  display: grid;
  gap: 0.8rem;
}

.mini-resource.with-icon {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
}

.mini-resource-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(91, 91, 184, 0.15));
}

.mini-resource.with-icon span {
  display: grid;
  gap: 0.12rem;
}

.mini-resource em,
.mini-profile em {
  color: #4d4ea4;
  font-style: normal;
  font-weight: 900;
}

.full-width-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.full-width-button .app-icon-art {
  width: 24px;
  height: 24px;
}

.pod-feature-card {
  overflow: hidden;
  border: 1px solid rgba(139, 125, 255, 0.15);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.92);
}

.pod-feature-cover {
  min-height: 150px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.9), transparent 18%),
    linear-gradient(135deg, rgba(105, 206, 255, 0.28), rgba(246, 140, 218, 0.2));
}

.pod-feature-cover .cover-img {
  width: 100%;
  min-height: 150px;
  object-fit: cover;
}

.pod-feature-cover .cover-img-sticker,
.spot-card-media .cover-img-sticker {
  object-fit: contain;
  padding: 1.4rem;
}

.pod-feature-icon {
  position: absolute;
  left: 1rem;
  bottom: -34px;
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 999px;
  filter: drop-shadow(0 16px 20px rgba(91, 91, 184, 0.22));
}

.pod-feature-copy {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.55rem 1rem 1rem;
}

.pod-feature-copy h2,
.directory-section h2,
.people-grid-panel h2,
.spot-grid-panel h2 {
  margin: 0;
}

.pod-feature-copy p {
  margin: 0.35rem 0 0.7rem;
}

.pod-feature-actions {
  flex: 0 0 auto;
}

.pod-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
}

.pod-chip-card {
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 76px;
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(250, 252, 255, 0.88);
}

.pod-chip-icon,
.pod-list-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(91, 91, 184, 0.15));
}

.pod-directory {
  display: grid;
  gap: 0.72rem;
}

.pod-list-card {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  padding: 0.78rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.pod-list-card h2 {
  font-size: 1rem;
}

.pod-list-card p {
  margin: 0.2rem 0 0.5rem;
}

.pod-create-card {
  overflow: hidden;
  position: relative;
  min-height: 210px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(145deg, rgba(90, 189, 255, 0.74), rgba(152, 107, 255, 0.56)),
    rgba(255, 255, 255, 0.9);
}

.pod-create-card h2,
.pod-create-card p {
  position: relative;
  z-index: 1;
  color: white;
}

.pod-create-card p {
  margin: 0.25rem 0 0.9rem;
  font-weight: 750;
}

.panel-wide-art {
  position: absolute;
  inset: auto -34px -34px auto;
  width: 190px;
  opacity: 0.5;
}

.directory-filter-bar {
  display: grid;
  gap: 0.75rem;
}

.spot-filter-form,
.discover-filter-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0.75rem;
  align-items: end;
}

.discover-filter-form {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}

.spot-filter-form label,
.discover-filter-form label {
  display: grid;
  gap: 0.35rem;
  color: #3c3a95;
  font-size: 0.78rem;
  font-weight: 900;
}

.discover-filter-form select,
.spot-filter-form input,
.discover-filter-form input {
  min-height: 44px;
  border-radius: 999px;
}

.select-shell {
  position: relative;
  display: grid;
  align-items: center;
}

.discover-filter-form .select-shell .app-icon-art {
  position: absolute;
  left: 0.8rem;
  z-index: 1;
  width: 27px;
  height: 27px;
  pointer-events: none;
  filter: drop-shadow(0 8px 10px rgba(91, 91, 184, 0.16));
}

.select-shell::after {
  content: "";
  position: absolute;
  right: 1rem;
  width: 0.48rem;
  height: 0.48rem;
  border-right: 2px solid #3c3a95;
  border-bottom: 2px solid #3c3a95;
  pointer-events: none;
  transform: translateY(-0.15rem) rotate(45deg);
}

.spot-filter-form select,
.discover-filter-form select {
  appearance: none;
  -webkit-appearance: none;
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(139, 125, 255, 0.22);
  box-shadow:
    0 16px 28px -22px rgba(58, 111, 156, 0.5),
    0 1px 2px rgba(255, 255, 255, 0.92) inset;
  color: var(--ink-0);
  cursor: pointer;
  font-weight: 850;
  padding-right: 2.7rem;
  text-overflow: ellipsis;
}

.discover-filter-form .select-shell select {
  padding-left: 3.1rem;
}

.spot-filter-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, #3c3a95 50%),
    linear-gradient(135deg, #3c3a95 50%, transparent 50%),
    linear-gradient(135deg, rgba(139, 125, 255, 0.22), rgba(14, 165, 233, 0.14));
  background-position:
    calc(100% - 21px) 50%,
    calc(100% - 15px) 50%,
    calc(100% - 38px) 50%;
  background-repeat: no-repeat;
  background-size:
    6px 6px,
    6px 6px,
    1px 24px;
}

.spot-filter-form select:hover,
.discover-filter-form select:hover {
  background-color: white;
  border-color: rgba(14, 165, 233, 0.42);
  box-shadow:
    0 18px 32px -20px rgba(14, 165, 233, 0.46),
    0 1px 2px rgba(255, 255, 255, 0.95) inset;
}

.spot-filter-form select:focus,
.discover-filter-form select:focus {
  border-color: var(--sea-1);
  box-shadow:
    0 0 0 4px var(--focus),
    0 18px 32px -20px rgba(14, 165, 233, 0.46),
    0 1px 2px rgba(255, 255, 255, 0.95) inset;
}

.clear-filter-link {
  justify-self: center;
}

.spot-card-grid,
.people-card-grid {
  display: grid;
  gap: 0.9rem;
}

.spot-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.spot-card-grid:empty {
  display: none;
}

.spot-grid-panel > .empty-state {
  min-height: clamp(320px, 42vw, 520px);
  align-content: center;
  padding: clamp(2.4rem, 4vw, 4.2rem) 1.5rem;
}

.messages-hero {
  margin-bottom: 1rem;
}

.message-search-panel,
.inbox-panel,
.profile-saved-panel,
.profile-pods-panel {
  display: grid;
  gap: 1rem;
}

.inbox-panel > .empty-state,
.profile-saved-panel > .empty-state,
.profile-pods-panel > .empty-state {
  min-height: 220px;
  align-content: center;
  padding-block: 2.2rem;
}

.profile-saved-panel .empty-icon,
.profile-pods-panel .empty-icon {
  width: 78px;
  height: 78px;
}

.spot-card {
  overflow: hidden;
  border: 1px solid rgba(139, 125, 255, 0.15);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(45, 55, 120, 0.07);
}

.spot-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(232, 251, 255, 0.9), rgba(246, 226, 255, 0.7));
}

.spot-card-media .cover-img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.spot-card-media .cover-img-sticker {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.92), transparent 18%),
    linear-gradient(135deg, rgba(232, 251, 255, 0.88), rgba(249, 235, 255, 0.78));
}

.spot-card-icon {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(35, 44, 120, 0.2));
}

.spot-card-copy {
  padding: 0.85rem;
}

.spot-card-copy h2 {
  margin: 0;
  font-size: 1rem;
}

.spot-card-copy p {
  margin: 0.35rem 0 0.7rem;
}

.spot-mini {
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

.badge-row {
  display: grid;
  gap: 0.55rem;
}

.badge-row span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #3c3a95;
  font-weight: 850;
}

.badge-row .app-icon-art {
  width: 32px;
  height: 32px;
}

.people-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.profile-discovery-card {
  overflow: hidden;
  border: 1px solid rgba(139, 125, 255, 0.15);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 28px rgba(45, 55, 120, 0.07);
}

.profile-card-cover {
  min-height: 132px;
  position: relative;
  display: grid;
  place-items: center;
  text-decoration: none;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.9), transparent 18%),
    linear-gradient(135deg, rgba(105, 206, 255, 0.32), rgba(246, 140, 218, 0.26));
}

.profile-card-cover .avatar {
  position: relative;
  z-index: 1;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 24px rgba(55, 63, 153, 0.18);
}

.profile-badge-art {
  position: absolute;
  inset: auto 0.45rem 0.35rem auto;
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.82;
}

.profile-card-body {
  padding: 0.9rem;
}

.profile-card-body h2 {
  font-size: 1rem;
}

.profile-card-body p,
.profile-card-body small {
  display: block;
  margin: 0.18rem 0 0;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.7rem 0;
}

.profile-tags span {
  color: #3b28f0;
  font-size: 0.78rem;
  font-weight: 850;
}

.sort-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #3c3a95;
  font-size: 0.84rem;
  font-weight: 900;
}

.sort-label .app-icon-art {
  width: 25px;
  height: 25px;
}

.detail-hero,
.profile-hero {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-3);
}

.profile-hero {
  position: relative;
  grid-template-columns: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-color: rgba(160, 126, 255, 0.2);
  background:
    radial-gradient(circle at 92% 18%, rgba(246, 140, 218, 0.13), transparent 24%),
    radial-gradient(circle at 4% 84%, rgba(105, 206, 255, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(243, 251, 255, 0.84));
}

.profile-hero::after {
  content: "";
  position: absolute;
  right: 1.8rem;
  bottom: -1.6rem;
  width: 132px;
  height: 132px;
  opacity: 0.18;
  pointer-events: none;
  background: url("/assets/icon-pearl-bubbles-f896389d.png") center / contain no-repeat;
}

.profile-hero > * {
  position: relative;
  z-index: 1;
}

.detail-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.profile-actions {
  display: grid;
  gap: 0.55rem;
}

.simple-list {
  gap: 0;
}

.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  color: var(--ink-0);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 160ms ease, padding-left 160ms ease;
}

a.list-row:hover {
  color: #246ba3;
  padding-left: 0.2rem;
}

.list-row:last-child {
  border-bottom: 0;
}

.list-row.rich span:first-child {
  display: grid;
}

.comment,
.message {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.84rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
}

.message.is-own {
  background: rgba(78, 200, 244, 0.16);
}

.comment p,
.message p {
  margin: 0.25rem 0 0;
}

.thread-body {
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
}

.safety-note {
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--shell-0);
  border: 1px solid rgba(216, 154, 205, 0.36);
}

.empty-state {
  text-align: center;
  padding: 2rem;
  display: grid;
  justify-items: center;
  gap: 0.72rem;
}

.empty-icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 14px 18px rgba(91, 91, 184, 0.16));
}

.empty-state h2 {
  margin: 0.2rem 0 0;
  color: #171072;
}

.empty-state p {
  max-width: 34rem;
  margin: 0;
  color: #5262a5;
  font-weight: 750;
}

.pager {
  justify-content: center;
  margin-top: var(--space-2);
}

.pager-label {
  color: var(--ink-2);
  font-weight: 800;
}

.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 16%, rgba(105, 206, 255, 0.36), transparent 28rem),
    radial-gradient(circle at 82% 14%, rgba(246, 140, 218, 0.24), transparent 28rem),
    linear-gradient(135deg, #f8fcff 0%, #e8f8ff 48%, #f7f3ff 100%);
}

.auth-body .site-bg {
  display: none;
}

.auth-wrap {
  width: min(1040px, calc(100% - 2 * var(--space-3)));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(1.4rem, 3.2vw, 3.2rem) 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(390px, 0.72fr);
  gap: clamp(1.35rem, 3vw, 3.25rem);
  align-items: center;
}

.auth-art {
  position: relative;
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.25rem);
  align-content: center;
  padding: clamp(0.6rem, 1.6vw, 1.2rem);
}

.auth-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 2.4rem);
  border: 1px solid rgba(139, 125, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 255, 0.88)),
    rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.82) inset,
    0 28px 80px -40px rgba(47, 101, 151, 0.48);
  backdrop-filter: blur(22px) saturate(170%);
}

.auth-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #62c4ff, #9568ff, #f68cda);
}

.auth-brand-mark {
  display: flex;
  justify-content: center;
}

.auth-logo {
  width: min(340px, 76%);
  filter: drop-shadow(0 20px 26px rgba(75, 121, 191, 0.12));
}

.auth-brand-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.95rem;
  align-items: center;
  max-width: 560px;
  min-height: 118px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(139, 125, 255, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 93% 14%, rgba(246, 140, 218, 0.2), transparent 9rem),
    radial-gradient(circle at 10% 100%, rgba(105, 206, 255, 0.22), transparent 10rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(239, 250, 255, 0.76));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    0 24px 58px -42px rgba(35, 44, 120, 0.48);
}

.auth-brand-card::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.55rem;
  height: 18px;
  background: url("/assets/icon-wave-divider-53226e2a.png") center / contain no-repeat;
  opacity: 0.38;
  pointer-events: none;
}

.auth-brand-icon {
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(91, 91, 184, 0.18));
}

.auth-brand-card strong,
.auth-brand-card span {
  position: relative;
  z-index: 1;
  display: block;
}

.auth-brand-card strong {
  color: #15126f;
  font-size: 1.02rem;
  line-height: 1.2;
  font-weight: 950;
}

.auth-brand-card span {
  margin-top: 0.22rem;
  max-width: 26rem;
  color: #526690;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 750;
}

.auth-brand-bubbles {
  position: absolute;
  right: -0.9rem;
  top: -1.05rem;
  width: 104px;
  opacity: 0.7;
  transform: rotate(9deg);
  filter: drop-shadow(0 16px 20px rgba(91, 91, 184, 0.14));
}

.auth-art-copy {
  max-width: 560px;
}

.auth-art-copy h1 {
  max-width: 12ch;
  margin: 0;
  font-size: 4rem;
  line-height: 1;
}

.auth-art-copy p {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: #425778;
  font-size: 1.08rem;
  font-weight: 650;
}

.auth-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.auth-feature-row span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  gap: 0.42rem;
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(139, 125, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #34318f;
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 12px 28px -24px rgba(47, 101, 151, 0.48);
}

.auth-feature-row .app-icon-art {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 8px 10px rgba(91, 91, 184, 0.14));
}

.auth-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.95rem;
  align-items: center;
  margin-bottom: 1.35rem;
}

.auth-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  box-shadow: 0 18px 30px -20px rgba(76, 80, 170, 0.6);
}

.auth-card-head h2 {
  margin: 0;
  color: #12173b;
  font-size: 2.55rem;
}

.auth-card-head p {
  margin: 0.45rem 0 0;
  color: #506791;
  font-size: 1rem;
  font-weight: 650;
}

.auth-field {
  gap: 0.46rem;
  color: #34318f;
  font-size: 0.82rem;
}

.auth-input-shell {
  position: relative;
  display: grid;
  align-items: center;
}

.auth-input-shell .app-icon-art {
  position: absolute;
  left: 0.85rem;
  z-index: 1;
  width: 28px;
  height: 28px;
  pointer-events: none;
  filter: drop-shadow(0 8px 10px rgba(91, 91, 184, 0.14));
}

.auth-input-shell input:not([type="checkbox"]) {
  min-height: 54px;
  padding-left: 4rem;
  border-color: rgba(139, 125, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 750;
  box-shadow:
    0 18px 32px -28px rgba(47, 101, 151, 0.42),
    0 1px 2px rgba(255, 255, 255, 0.95) inset;
}

.auth-input-shell input:not([type="checkbox"]):focus {
  background: white;
  border-color: var(--sea-1);
  box-shadow:
    0 0 0 4px var(--focus),
    0 18px 32px -28px rgba(47, 101, 151, 0.42);
}

.auth-form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin: 0.1rem 0 0.2rem;
}

.auth-form-options a {
  color: #34318f;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.auth-panel .btn-block {
  justify-self: stretch;
  min-height: 52px;
  font-size: 1rem;
  font-weight: 900;
  background: linear-gradient(135deg, #54bdff, #8c62f4);
  box-shadow: 0 18px 34px -22px rgba(91, 91, 184, 0.8), 0 1px 1px rgba(255, 255, 255, 0.48) inset;
}

.auth-signup-card {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
  padding: 0.85rem;
  border: 1px solid rgba(139, 125, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(232, 249, 255, 0.72), rgba(252, 240, 255, 0.64));
  color: #506791;
  font-weight: 800;
}

.auth-signup-card a {
  color: #302d9c;
  font-weight: 950;
  text-decoration: none;
}

.art-panel {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 239, 0.88));
  border-color: rgba(216, 154, 205, 0.36);
}

.art-panel h2 {
  color: #664d86;
}

.art-panel .btn {
  margin-top: 0.35rem;
}

.auth-links {
  margin-top: var(--space-2);
  justify-content: space-between;
}

.auth-links a {
  color: var(--ink-1);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .reveal,
  .app-nav-link,
  .entity-card,
  .media-card,
  .post-card,
  .list-row,
  .float-sticker {
    transition: none;
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1041px) {
  :root {
    font-size: 90%;
  }

  .app-frame {
    grid-template-columns: 254px minmax(0, 1fr);
    background:
      linear-gradient(90deg, rgba(227, 250, 255, 0.72) 0 254px, rgba(255, 255, 255, 0.82) 254px),
      radial-gradient(circle at 9% 86%, rgba(105, 206, 255, 0.34), transparent 21%),
      radial-gradient(circle at 14% 10%, rgba(246, 140, 218, 0.16), transparent 24%);
  }

  .app-frame .app-brand img {
    width: min(198px, 88%);
  }

  .app-frame .app-nav-link {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    min-height: 45px;
  }

  .app-icon-art {
    width: 31px;
    height: 31px;
  }

  .app-frame .app-topbar {
    width: min(100%, 960px);
    min-height: 52px;
    margin-bottom: 0.9rem;
  }

  .app-frame .app-content {
    width: min(100%, 1180px);
  }

  .global-search {
    width: min(414px, 100%);
    min-height: 43px;
  }

  .global-search .app-icon-art {
    width: 25px;
    height: 25px;
  }

  .icon-button {
    width: 41px;
    height: 41px;
    border-radius: 0.8rem;
  }

  .icon-button .app-icon-art {
    width: 29px;
    height: 29px;
  }
}

@media (max-width: 1040px) {
  .app-frame,
  .app-shell,
  .content-grid,
  .community-home,
  .community-hero,
  .auth-wrap,
  .detail-hero,
  .profile-hero,
  .pods-layout,
  .discover-layout,
  .spots-layout {
    grid-template-columns: 1fr;
  }

  .app-frame .app-sidebar {
    position: relative;
    min-height: auto;
    grid-template-rows: auto auto;
    padding: 1rem;
  }

  .app-frame .app-brand img {
    width: 210px;
  }

  .app-frame .app-nav {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }

  .sidebar-promo,
  .sidebar-footer {
    display: none;
  }

  .directory-filter-panel {
    position: static;
  }

  .directory-right-rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
  }

  .app-sidebar {
    position: static;
  }

  .app-nav {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .side-column {
    order: 0;
  }

  .section-head h1 {
    font-size: 2.45rem;
  }

  .community-hero h1 {
    font-size: 2.45rem;
  }

  .hero-sticker-cluster {
    display: none;
  }

  .auth-wrap {
    width: min(760px, calc(100% - 2rem));
    align-content: start;
    padding: 1.4rem 0 2.4rem;
    gap: 1rem;
  }

  .auth-art {
    min-height: auto;
    padding: 0;
  }

  .auth-logo {
    width: min(260px, 70vw);
  }

  .auth-art-copy {
    text-align: center;
    justify-self: center;
  }

  .auth-art-copy h1 {
    max-width: 14ch;
    margin-inline: auto;
    font-size: 3rem;
  }

  .auth-art-copy p {
    margin-top: 0.72rem;
  }

  .auth-feature-row {
    justify-content: center;
  }

  .auth-brand-card {
    justify-self: center;
    width: min(100%, 520px);
  }
}

@media (max-width: 720px) {
  body.app-body {
    padding-bottom: 5.75rem;
  }

  .app-frame {
    display: block;
    background:
      radial-gradient(circle at 16% 7%, rgba(105, 206, 255, 0.22), transparent 26%),
      radial-gradient(circle at 88% 18%, rgba(246, 140, 218, 0.16), transparent 28%),
      linear-gradient(180deg, rgba(232, 251, 255, 0.9), rgba(255, 255, 255, 0.95) 46%, rgba(236, 249, 255, 0.92));
  }

  .app-main {
    padding: 0.85rem;
  }

  .app-frame .app-sidebar {
    display: none;
  }

  .mobile-brand-row {
    display: flex;
    justify-content: center;
    padding: 0.35rem 0 0.6rem;
  }

  .mobile-brand img {
    width: 138px;
    display: block;
    filter: drop-shadow(0 10px 16px rgba(83, 93, 188, 0.14));
  }

  .mobile-tabbar {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    z-index: 50;
    min-height: 64px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.2rem;
    padding: 0.42rem;
    border: 1px solid rgba(139, 125, 255, 0.22);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-hairline), 0 18px 44px rgba(45, 55, 120, 0.18);
    backdrop-filter: blur(18px);
  }

  .mobile-tab-link {
    position: relative;
    min-width: 0;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 0.1rem;
    border-radius: 1rem;
    color: #3c3a95;
    text-decoration: none;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1.05;
  }

  .mobile-tab-link.is-active {
    color: #2116bf;
    background: linear-gradient(135deg, rgba(232, 251, 255, 0.9), rgba(245, 222, 255, 0.9));
    box-shadow: inset 0 0 0 1px rgba(160, 126, 255, 0.18);
  }

  .mobile-tab-icon {
    position: relative;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
  }

  .mobile-tab-icon .app-icon-art {
    width: 30px;
    height: 30px;
  }

  .mobile-tab-badge {
    position: absolute;
    top: 0.2rem;
    right: 0.48rem;
    min-width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(145deg, #ff6ab3, #f44892);
    color: white;
    font-size: 0.58rem;
    font-weight: 900;
  }

  .app-frame .app-topbar {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 0.8rem;
  }

  .global-search {
    width: 100%;
  }

  .app-frame .topbar-actions {
    width: 100%;
    justify-content: center;
    gap: 0.72rem;
  }

  .topbar-secondary,
  .app-frame .app-user-chip {
    display: none;
  }

  .app-frame .app-user-chip span {
    display: none;
  }

  .app-shell,
  .app-topbar {
    width: min(100% - 2rem, var(--max-width));
  }

  .app-topbar {
    align-items: center;
    flex-wrap: wrap;
    padding-top: 1rem;
  }

  .app-user-chip {
    max-width: 100%;
  }

  .float-sticker {
    display: none;
  }

  .auth-wrap {
    width: min(100% - 1.4rem, 460px);
    padding: 1rem 0 1.3rem;
  }

  .auth-art {
    gap: 0.7rem;
  }

  .auth-brand-card {
    min-height: auto;
    padding: 0.82rem 0.9rem;
    border-radius: 22px;
  }

  .auth-brand-icon {
    width: 58px;
    height: 58px;
  }

  .auth-brand-card strong {
    font-size: 0.92rem;
  }

  .auth-brand-card span {
    font-size: 0.82rem;
  }

  .auth-brand-bubbles {
    display: none;
  }

  .auth-art-copy h1 {
    font-size: 2.2rem;
  }

  .auth-art-copy p {
    display: none;
  }

  .auth-feature-row {
    display: none;
  }

  .auth-panel {
    padding: 1.1rem;
    border-radius: 22px;
  }

  .auth-card-head {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.6rem;
  }

  .auth-card-icon {
    width: 56px;
    height: 56px;
  }

  .auth-card-head h2 {
    font-size: 2rem;
  }

  .auth-form-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    width: 100%;
    justify-content: center;
    gap: 0.72rem;
  }

  .app-sidebar {
    gap: 0.75rem;
  }

  .app-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    gap: 0.35rem;
    padding: 0.45rem;
  }

  .app-nav-link {
    padding: 0.62rem 0.76rem 0.62rem 0.95rem;
    font-size: 0.9rem;
  }

  .sidebar-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sidebar-actions .btn {
    min-width: 0;
    padding-inline: 0.5rem;
  }

  .search-row,
  .search-row.multi,
  .inline-compose,
  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .pod-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .pod-search .btn {
    padding-inline: 0.82rem;
  }

  .row-head,
  .entity-head,
  .feed-toolbar,
  .panel-heading,
  .filter-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .notification-summary-panel {
    grid-template-columns: 1fr;
  }

  .notification-summary-panel .btn {
    justify-self: stretch;
    white-space: normal;
  }

  .notification-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .notification-stat-row span {
    min-width: 0;
    padding-inline: 0.5rem;
  }

  .notification-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .notification-item .app-icon-art {
    grid-column: 2;
    justify-self: end;
  }

  .section-sticker-cluster {
    display: none;
  }

  .section-head h1 {
    font-size: 2rem;
  }

  .community-hero {
    gap: var(--space-1);
  }

  .community-hero h1 {
    font-size: 2rem;
  }

  .community-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-metrics span {
    min-height: 68px;
    padding: 0.72rem;
  }

  .mini-profile {
    grid-template-columns: 1fr;
  }

  .pod-list-card,
  .pod-chip-card {
    grid-template-columns: 1fr;
  }

  .pod-thumb {
    max-height: 170px;
  }

  .pod-list-actions {
    justify-items: stretch;
  }

  .panel,
  .post-card,
  .entity-card,
  .media-card,
  .empty-state {
    border-radius: 0.9rem;
  }

  .directory-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .directory-hero-art {
    right: -1rem;
    top: 1rem;
    width: 110px;
    transform: none;
  }

  .spot-filter-form,
  .discover-filter-form {
    grid-template-columns: 1fr;
  }

  .pod-feature-copy {
    flex-direction: column;
  }

  .pod-list-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .pod-list-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .composer-actions,
  .stream-filters {
    gap: 0.45rem;
  }

  .composer-panels,
  .composer-poll-options {
    grid-template-columns: 1fr;
  }

  .composer-tool {
    font-size: 0.74rem;
  }

  .composer-head {
    padding-right: 2.9rem;
  }

  .stream-composer {
    padding: 0.8rem;
  }

  .composer-sticker {
    width: 42px;
    right: 0.75rem;
    top: 0.9rem;
    opacity: 0.2;
  }

  .social-action {
    min-height: 42px;
    padding-inline: 0.46rem;
    font-size: 0.78rem;
  }

  .social-action .app-icon-art {
    width: 24px;
    height: 24px;
  }

  .social-action small {
    font-size: 0.7rem;
  }
}

.admin-topbar {
  width: min(var(--max-width), calc(100% - 2 * var(--space-3)));
  margin: 0 auto;
  padding: var(--space-2) 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.admin-logo {
  width: 170px;
  display: block;
}

.admin-topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-topbar a {
  color: var(--ink-1);
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.72rem;
  font-weight: 800;
  text-decoration: none;
}

.admin-container {
  width: min(var(--max-width), calc(100% - 2 * var(--space-3)));
  margin: 0 auto var(--space-5);
}

.admin-container h1,
.admin-container h2,
.admin-container h3 {
  font-family: Sora, Manrope, sans-serif;
}

.admin-container .card,
.admin-container .grid.card {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  margin-bottom: var(--space-2);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  overflow-x: auto;
}

.admin-container .grid,
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
}

.metric {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
}

.metric .value {
  font-family: Sora, Manrope, sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

th,
td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 0.68rem 0.7rem;
  vertical-align: top;
  font-size: 0.9rem;
}

th {
  color: var(--ink-1);
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.actions,
.header-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.header-row {
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

form.inline {
  display: inline;
}

.admin-container .btn.warn,
.btn.warn {
  background: var(--danger-bg);
  color: var(--danger-ink);
  border-color: rgba(213, 91, 135, 0.42);
  box-shadow: none;
}
